Skip to content

Instantly share code, notes, and snippets.

View dogancelik's full-sized avatar

Doğan Çelik dogancelik

View GitHub Profile
@dogancelik
dogancelik / unpin_onedrive.reg
Created June 10, 2021 21:43
Remove OneDrive from Explorer Navigation Pane #Windows
Windows Registry Editor Version 5.00
; 32-bit
[HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
@="OneDrive"
"System.IsPinnedToNameSpaceTree"=dword:00000000
; 64-bit
@dogancelik
dogancelik / startup.py
Created February 9, 2021 22:58 — forked from patstew/startup.py
notepad++ startup.py
from Npp import *
def indent_auto_detect(arg):
for i in range(editor.getLineCount()):
pos = editor.positionFromLine(i)
indent = editor.getLineIndentPosition(i)-pos
if indent > 0:
if ord('\t') == editor.getCharAt(pos):
console.write("Indentation: Tabs\n")
editor.setUseTabs(True)
@dogancelik
dogancelik / README.md
Last active April 6, 2023 02:41
Download all tarballs of an NPM package #npm

Download all tarballs of an NPM package

I will list the methods you can download npm tarballs.

curl + jq + wget

curl -s https://registry.npmjs.org/del | jq -r .versions[].dist.tarball | wget -i -
@dogancelik
dogancelik / Git Bash Here Extended.reg
Last active November 5, 2020 01:28
Show Shell menus when Shift key is pressed #Windows
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell]
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\shell\git_shell]
"Extended"=""
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\git_shell]
"Extended"=""
@dogancelik
dogancelik / README.md
Last active February 21, 2021 23:48
ImgOps CLI Upload from Clipboard #Windows

ImgOps CLI Upload from Clipboard

with NirCmd

Run imgops_clip.bat without any arguments and it will upload the image from the clipboard to ImgOps and open the URL in your default web browser. If you run imgops_clip.bat with argument copy_url, it will copy the URL to the clipboard.

⚠ It requires NirCmd nircmdc.exe to be in PATH.

@dogancelik
dogancelik / README.md
Last active July 16, 2021 00:35
Like or unlike currently playing song in Spotify #Windows #AutoHotkey

Modified GollyJer's script to allow to save or unsave currently playing Spotify song.

Save SpotifyHeartOn as SpotifyHeartOn.png

Save SpotifyHeartOff as SpotifyHeartOff.png

Put the images in same folder as the script.

@dogancelik
dogancelik / adobe_kill.bat
Last active June 1, 2023 07:04
Kill Adobe background processes #Windows
taskkill /F /IM "AdobeUpdateService.exe"
taskkill /F /IM "AGSService.exe"
taskkill /F /IM "armsvc.exe"
taskkill /F /IM "CoreSync.exe"
taskkill /F /IM "Adobe Desktop Process.exe"
taskkill /F /IM "Adobe Installer.exe"
taskkill /F /IM "AdobeIPCBroker.exe"
taskkill /F /IM "CCXProcess.exe"
@dogancelik
dogancelik / download.bat
Last active November 5, 2020 00:57
Wallhaven download wallpapers by ID #Windows
@echo off
rem Pass text file as argument (text file is a list of IDs)
rem This script will not work after Wallhaven switches to version beta
for /f %%a in (%1) do wget "https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-%%~a.jpg" "https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-%%~a.png"
@dogancelik
dogancelik / ad-servers.md
Last active February 28, 2019 19:14
My dnscrypt-proxy Settings

These are the ad servers I encountered:

5qg9ibt1a6.com, svjat0rx99.com, tricsdqejmu.com, haterrotontjo.info, atinhenfortwa.info, 20sodinver20.pw, vinfdv6b4j.com

IP addresses for these domains:

198.134.112.242, 216.21.13.15, 104.18.36.114, 172.64.192.12, 78.140.165.25, 198.134.112.241
@dogancelik
dogancelik / node-update.bat
Last active November 5, 2020 01:38
Basic version management for #Node.js #Windows
@echo off
cd /D %~dp0
wget -O node4.exe https://nodejs.org/download/release/latest-v4.x/win-x64/node.exe
wget -O node5.exe https://nodejs.org/download/release/latest-v5.x/win-x64/node.exe
wget -O node6.exe https://nodejs.org/download/release/latest-v6.x/win-x64/node.exe
wget -O node7.exe https://nodejs.org/download/release/latest-v7.x/win-x64/node.exe
wget -O node8.exe https://nodejs.org/download/release/latest-v8.x/win-x64/node.exe
wget -O node9.exe https://nodejs.org/download/release/latest-v9.x/win-x64/node.exe
wget -O node10.exe https://nodejs.org/download/release/latest-v10.x/win-x64/node.exe