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
@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
@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
#!/usr/bin/php | |
<?php | |
# Ozmosis theme (un)packer. | |
# @cecekpawon: Sun Aug 6 19:26:08 2017 | |
# chmod +x script | |
function help ($str = "") { | |
$script = basename (__FILE__); |
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
#!/usr/bin/php | |
<?php | |
/* | |
--- | |
Naked Apple FirmwareUpdate.pkg | |
--- | |
- chmod+x.script. | |
- Place FirmwareUpdate.pkg & UEFIExtract into same directory as script. | |
- UEFIExtract: https://github.com/LongSoft/UEFITool/releases |
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
(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