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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] | |
"DisallowShaking"=dword:00000001 |
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
<NotepadPlus> | |
<UserLang name="BrightScript-Obsidian" ext="brs"> | |
<Settings> | |
<Global caseIgnored="yes" /> | |
<TreatAsSymbol comment="no" commentLine="no" /> | |
<Prefix words1="no" words2="no" words3="no" words4="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Delimiters">"00"00</Keywords> | |
<Keywords name="Folder+"></Keywords> |
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
# This code is free software; you can redistribute it and/or modify it under | |
# the terms of the new BSD License. | |
# | |
# Copyright (c) 2010, Sebastian Staudt | |
# A nano configuration file to enable syntax highlighting of some Git specific | |
# files with the GNU nano text editor (http://www.nano-editor.org) | |
# | |
# Save this file to a directory of your choice and add it to your nanorc using | |
# include ${PATH_TO_THE_FILE}/git.nanorc |
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
import os.path | |
from urllib.request import urlopen | |
import requests | |
from tqdm import tqdm | |
def download_from_url(url, dst): | |
""" | |
@param: url to download file | |
@param: dst place to put the 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
#!/bin/bash | |
OLDCOMMIT=$1 | |
OUTDIR="__UPDATES__" | |
DELETED="" | |
FILES=`git diff --name-only $OLDCOMMIT` | |
rm --force --recursive "$OUTDIR" |
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 formDataToQueryString(formData) { | |
var queryParams = []; | |
for(var pair of formData.entries()) { | |
queryParams.push(encodeURIComponent(pair[0]) + "=" + encodeURIComponent(pair[1])); | |
} | |
return queryParams.join('&'); | |
} |
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
/** | |
* Retrieve URL Parameters <http://stackoverflow.com/a/1099670> | |
* @param {string} [qs=window.location.search] - Query string | |
* @returns {object} | |
* | |
* @example | |
* var query = getQueryParams(document.location.search); | |
* alert(query.foo); | |
*/ | |
function getQueryParams(qs) { |
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/env python3 | |
# Automatic Mouse Clicker | |
# For use with the game [**Crush Crush**](http://store.steampowered.com/app/459820/) | |
# Hold down CTRL+SHIFT to save mouse position | |
# Hold down ALT to move mouse and rapidly send a mouse click events | |
# (Linux Only: requires programs `xinput` and `xdotool`) | |
import re | |
import subprocess |
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/sh | |
sudo apt-get install --yes docker.io | |
sudo usermod -aG docker $USER | |
su - $USER |
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 | |
## variables ## | |
NUM=0 | |
PRE="" | |
X="" | |
Y="" | |
RES="" | |
QAL="" | |
REV="" |
NewerOlder