This file contains hidden or 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 ENABLEEXTENSIONS | |
| @REM get local Path of script | |
| for /F %%I in ("%0") do set localDir=%%~dpI | |
| @REM Check for MSEC.dll in current directory, and in script directory | |
| if not exist .\msec.dll ( | |
| if not exist %localDir%\msec.dll ( | |
| echo. | |
| echo MSEC.dll not in current directory, please copy MSEC.dll locally and |
This file contains hidden or 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
| <canvas id="sakura"></canvas> | |
| <div class="btnbg"> | |
| </div> | |
| <!-- sakura shader --> | |
| <script id="sakura_point_vsh" type="x-shader/x_vertex"> | |
| uniform mat4 uProjection; | |
| uniform mat4 uModelview; | |
| uniform vec3 uResolution; | |
| uniform vec3 uOffset; |
This file contains hidden or 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 | |
| # | |
| # This is an easier-to-tweak version of Steffen Honig's i3lock | |
| # script. If it doesn't work, it's his fault ;) | |
| # | |
| TEMP_FILE=/tmp/lock.png | |
| TEMP_FILE_POST=/tmp/lock.modified.png | |
| BAR_BG_COLOR="orange" | |
| BAR_FONT_COLOR="white" | |
| BAR_FONT="Source-Code-Pro-Black" |
This file contains hidden or 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 | |
| kill -9 `ps auxc | grep "Little Snitch Daemon" | awk '{print $2}'`; | |
| echo "Killed Little Snitch Daemon" > /tmp/snitchkiller.log; | |
| date >> /tmp/snitchkiller.log; |
This file contains hidden or 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 is supposedly what CRIME by Juliano Rizzo and Thai Duong will do | |
| # Algorithm by Thomas Pornin, coding by xorninja, improved by @kkotowicz | |
| # http://security.blogoverflow.com/2012/09/how-can-you-protect-yourself-from-crime-beasts-successor/ | |
| import string | |
| import zlib | |
| import sys | |
| import random | |
| charset = string.letters + string.digits + "%/+=" |
This file contains hidden or 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
| console.logCopy = console.log.bind(console); | |
| console.log = function() | |
| { | |
| if (arguments.length) | |
| { | |
| var timestamp = '[' + Date.now() + '] '; | |
| this.logCopy(timestamp, arguments); | |
| } | |
| }; |
This file contains hidden or 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 python | |
| import sys | |
| import collections | |
| # Bag em | |
| cipher_file = open( sys.argv[ 1 ], 'rb') | |
| cipher_text = cipher_file.read() | |
| # remove all non alpha and whitespace and force uppercase |
This file contains hidden or 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
| var Globals = {}; | |
| function handleIE10TouchEvent(event) | |
| // Determines which input method is available | |
| // in IE10 - mouse, pen or a touch cap. device | |
| { | |
| switch (event.pointerType) | |
| // Refactor to if-then-else for a faster | |
| // and more compatible solution | |
| { |