I hereby claim:
- I am mpslanker on github.
- I am mslanker (https://keybase.io/mslanker) on keybase.
- I have a public key whose fingerprint is 71F6 7408 9C41 EFCA 27C0 16D8 40FC F41D F096 55A4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
// Style Settings (Sublime) | |
"theme" : "Material-Theme.sublime-theme", | |
"color_scheme" : "Packages/Material Theme/schemes/Material-Theme-OceanicNext.tmTheme", | |
"show_full_path" : true, | |
"show_minimap" : false, | |
"bold_folder_labels" : true, | |
"fade_fold_buttons" : false, | |
"wide_caret" : true, |
# This enable subl <file.ext> on mac os x for sublime text 3 | |
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl |
{ | |
"cmd": ["vcvars32.bat", "&", "cl", "/EHsc", "${file}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.cpp, source.c++", | |
// By default cl is not in your PATH, so add it to your path (preferably) | |
// or uncomment "path" and check that it has correct value | |
//"path": "path:/to/folder/where/cl.exe/located", | |
// this also will set path for vcvars32.bat | |
"shell": true, // Without this sublime has hard times to parse "&" in out command line |
Many of these rely on using nircmd.exe from from NirSoft as well. | |
Turn remote computer speaker to to low. | |
psexec -s \\computername -c -f nircmd.exe changesysvolume 2000 -u Administrator -p Password | |
Turn remote computer speaker to to max. | |
psexec -s \\computername -c -f nircmd.exe setsysvolume 65535 -u Administrator -p Password | |
Open CD-Rom tray of remote computer. | |
psexec -s \\computername -c -f nircmd.exe cdrom open d: -u Administrator -p Password |
var jq = document.createElement('script'); | |
// You can change the version number (2.1.0) to any version hosted via Google's Hosted Libraries. | |
// https://developers.google.com/speed/libraries/devguide#jquery | |
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"; | |
document.getElementsByTagName('head')[0].appendChild(jq); | |
// After running the above commands you can run the command below if necessary. | |
jQuery.noConflict(); |
#!/usr/bin/python | |
# Daniel De Marco - [email protected] - 2012-02-23 | |
# suds from https://fedorahosted.org/suds/ | |
import suds | |
import sys | |
def get_warr(svctag): |
# Use this command as a shortcut to launch powershell as a different user but still elevated if UAC is on. | |
# If you would like the shortcut to have the powershell logo, you can set it by changind the icon and point at: | |
# %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe | |
C:\Windows\System32\runas.exe /savecred /env /noprofile /user:[domain]\[username] "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -command \"start-process powershell -verb RunAs\"" |
*markdown-cheat-sheet.jax* Markdown カンニングペーパー | |
作者: Kyo Nagashima <[email protected]> | |
バージョン: 0.04 | |
説明: Markdown 記法のカンニングペーパーです。 | |
1. 記法の例 |markdown-cheat-sheet-examples| | |
1.1 段落 |markdown-cheat-sheet-paragraph| | |
1.2 改行 |markdown-cheat-sheet-linebreak| | |
1.3 テキストの強調 |markdown-cheat-sheet-emphasis| |
r = requests.get(file_url) | |
size = int(r.headers['Content-Length'].strip()) | |
self.bytes = 0 | |
widgets = [name, ": ", Bar(marker="|", left="[", right=" "), | |
Percentage(), " ", FileTransferSpeed(), "] ", | |
self, | |
" of {0}MB".format(str(round(size / 1024 / 1024, 2))[:4])] | |
pbar = ProgressBar(widgets=widgets, maxval=size).start() | |
file = [] | |
for buf in r.iter_content(1024): |