Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

extension

A collection of 3 posts
Fix Jenkins Ignored Plugin "Check Now"
browser

Fix Jenkins Ignored Plugin "Check Now"

TL;DR: Check if a browser extension is blocking your request when you click Check Now While playing more with jenkins, I've encountered an error while requesting Check Now for plugin updates: it seemed that my request got ignored. I've tried different URLs (with and without
Mar 13, 2018 1 min read
Change the File Extension in Typescript - Using Path
change

Change the File Extension in Typescript - Using Path

Following from my previous post, I've updated the function to use only the path module. Now, the code looks like: export function changeExtension(filepath: string, extension: string): string { let dir: string = path.dirname(filepath) let ext: string = path.extname(filepath) let root: string = path.basename(filepath, ext) ext
Apr 28, 2017 1 min read
Change the File Extension in Typescript (or Javascript)
change

Change the File Extension in Typescript (or Javascript)

TL;DR: You need to get the root name (without the extension) and append the new extension. Then, it only depends on how tolerant you are. The other day I figured I needed a function to change the file extension (from a .jpg to a .nfo). Since I haven'
Apr 18, 2017 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost