Skip to content

Instantly share code, notes, and snippets.

@JohannesDeml
JohannesDeml / README.md
Last active November 28, 2025 09:43
Batch convert images with inkscape on windows

Batch convert svg|pdf|eps|emf|wmf|ai|ps|cdr to eps|pdf|png|jpg|tiff|svg|ps|emf|wmf

Screenshot Batch converter for Windows using Inkscape with the command line
InkscapeBatchConvert is an easy to use solution to quickly convert all files of a folder to another type without the need to open Inkscape. The program uses Windows Batch scripting and will only work on Windows.
Tested with Inkscape 1.0.x - 1.3.x ✅ (The last version that supports Inkscape 0.9.x can be found here)

Usage

  1. Download _InkscapeBatchConvert.bat
  2. Put it in the folder where you have files you wish to convert (will also scan on all subfolders for files of input type).
  3. Then double click the file to start it.
@JohannesDeml
JohannesDeml / WifiInformation.bat
Created June 3, 2016 22:18
Windows get information about all saved wifis on a computer including their passwords (Which is otherwise kind of hard with Windows 10)
netsh wlan show profiles
set /p wifiName=For which wifi do you want to know the password?
netsh wlan show profile name="%wifiName%" key=clear
pause
@lopspower
lopspower / README.md
Last active December 15, 2025 00:48
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@illusionfield
illusionfield / bookmarklet-syntax.js
Last active May 24, 2025 14:53
Translate Bookmarklets
/**
* Web browsers use URIs for the href attribute of the <a> tag and for bookmarks. The URI scheme, such as http:, file:, or ftp:, specifies the protocol and the format for the rest of the string.
* Browsers also implement a prefix javascript: that to a parser is just like any other URI.
* Internally, the browser sees that the specified protocol is javascript, treats the rest of the string as a JavaScript application which is then executed, and uses the resulting string as the new page.
*
* The executing script has access to the current page, which it may inspect and change.
* If the script returns an undefined type (rather than, for example, a string), the browser will not load a new page, with the result that the script simply runs against the current page content.
* This permits changes such as in-place font size and color changes without a page reload.
*/
@protrolium
protrolium / ffmpeg.md
Last active December 1, 2025 21:36
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@Egyiastic
Egyiastic / IDM Reset.bat
Last active November 27, 2024 17:23
Reset Internet Download Manager
@Echo Off
Title IDM Trial Reset by http://arabia-geeks.blogspot.com/ & Color 57
@Echo Resetting your IDM License Brought to you by http://arabia-geeks.blogspot.com/
@Echo.
@Echo.
Pause
TASKKILL /F /IM IDMan.exe
@ECHO.
@echo Off HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC} [7] >permdel.txt
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright 2013 The Finest Artist
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0