This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
set key=HKCR\github-windows\Defaulticon | |
set newkey=HKCR\Directory\shell\yodgithubhere | |
set newkeybg=HKCR\Directory\background\shell\yodgithubhere | |
set str=GitHub.exe | |
set regtype=REG_SZ | |
set mylabel=Github here | |
set success=Keys successfully added | |
set error=Error key not found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// ==UserScript== | |
// @name PitchFolks | |
// @namespace http://blog.thrsh.net | |
// @author daYOda (THRSH) | |
// @description Pitchfork advanced ripper | |
// @version 1.0 | |
// @match http://pitchfork.com/advance/* | |
// @run-at document-start | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#@cecekpawon - thrsh.net | |
sudo kextunload /System/Library/Extensions/CUDA.kext | |
sudo rm -rf /usr/local/cuda | |
sudo rm -rf /System/Library/StartupItems/CUDA | |
sudo rm -rf /System/Library/Extensions/CUDA.kext | |
sudo rm -rf /Library/Preferences/com.nvidia.cuda* | |
sudo rm -rf /Library/PreferencePanes/CUDA\ Preferences.prefPane | |
sudo rm -rf /Library/LaunchAgents/com.nvidia.CUDASoftwareUpdate.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set /p Drive=Enter drive letter + colon (eg. E:) | |
if EXIST "%Drive%" ( | |
attrib -r -s -h /s /d "%Drive%\*.*" | |
set "Drive=" | |
echo "Done :)" | |
) else ( | |
echo "Error: Drive not exists!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Clear Cloudflare cache API | |
@cecekpawon - Fri Aug 14 10:16:39 2015 | |
*/ | |
class cloudflare_yod { | |
private $api = "https://www.cloudflare.com/api_json.html"; | |
private $params = array("tkn"=>"", "email"=>"", "z"=>""); | |
private $token; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple workaround change MAMP PRO default MySQL data path | |
# http://stackoverflow.com/questions/4745822/mac-os-x-mysql-custom-database-path-mamp-pro | |
# @cecekpawon - https://blog.thrsh.net | |
# Start: EDIT | |
# Default MAMP PRO MySQL data path | |
mamppath="/Library/Application Support/appsolute/MAMP PRO/db" | |
mampsql="${mamppath}/mysql" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// ==UserScript== | |
// @name highlight.js bundle | |
// @namespace http://blog.thrsh.net | |
// @author daYOda (THRSH) | |
// @description Save & load highlight.js download bundle | |
// @version 1.0 | |
// @require http://code.jquery.com/jquery-latest.js | |
// @grant none | |
// @match https://highlightjs.org/download* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# MTOC.NEW | |
# @cecekpawon Fri Dec 16 22:21:10 2016 | |
# thrsh.net | |
SRC=$HOME/Desktop/mtoc | |
gCctoolsVer="949.0.1" | |
uCctools="https://opensource.apple.com/tarballs/cctools/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
/* | |
insanelymac - not to destroy your eyes | |
@cecekpawon - Tue Feb 7 19:37:56 2017 | |
Requirement: | |
- Firefox + Stylish (https://addons.mozilla.org/en-US/firefox/addon/stylish/) | |
- Safari / Chrome (please convert to userscript) + Tampermonkey (https://tampermonkey.net/) | |
*/ | |
@-moz-document url-prefix('http://www.insanelymac.com/forum'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// ==UserScript== | |
// @name Youtube Darkmode | |
// @namespace https://github.com/cecekpawon | |
// @author cecekpawon (THRSH) | |
// @description Youtube Darkmode, thanks internet! | |
// @version 1.0 | |
// @grant none | |
// @match https://*.youtube.com/* | |
// @run-at document-start |
OlderNewer