Skip to content

Instantly share code, notes, and snippets.

@Zren
Zren / WireShark-HTTP.py
Last active Aug 29, 2015
Wireshark: Log HTTP
View WireShark-HTTP.py
import subprocess
#Filter
wireshark_filter = "http"
#Command
wireshark_cmd = [
r"C:\Program Files\Wireshark\wireshark.exe",
"-k", # Start monitoring immediately
"-i", r"\Device\NPF_{5F5BB5A9-231F-4233-9685-DD91DB350762}", # (Wireless Network Connection) from `wireshark.exe -D`
View gist:c950a03671e15eb0b98f

GreasyFork

Install

Linux

sudo apt-get ruby libmysqlclient-dev libsqlite3-dev mysql-server-5.6
gem install bundler
sudo gem install therubyracer
sudo gem install libv8
View scripts.js
// Model: https://github.com/OpenUserJs/OpenUserJS.org/blob/master/models/script.js
// Generator: http://www.json-generator.com/
// Template:
[
'{{repeat(100)}}',
{
id: '{{index()}}',
guid: '{{guid()}}',
name: '{{company()}}',
View gist:97f4e4a1da9f82aef3b3
OpenUserJS.org@0.1.3 c:\Users\Admin\Code\Git\OpenUserJS.org
├── async@0.8.0
├─┬ aws-sdk@2.0.0-rc.15
│ ├── aws-sdk-apis@2.0.8
│ ├─┬ xml2js@0.2.4
│ │ └── sax@0.6.0
│ └── xmlbuilder@0.4.2
├─┬ connect-mongo@0.4.1
│ └─┬ mongodb@1.3.23
│ ├── bson@0.2.5
@Zren
Zren / quassel-build.bat
Last active Aug 29, 2015
Quassel Build Script
View quassel-build.bat
@rem @echo off
@rem ---------
@rem Variables
@rem ---------
@rem Input/Ouput Root Directories
set "source_dir=C:\Users\Admin\Code\Git\quassel"
set "build_dir=C:\Users\Admin\Code\Git\quassel\build"
View main.coffee
module.exports =
###
=== Commands
###
onStuffCommand: ->
console.log 'stuff'
###
=== PackageManager Hooks
@Zren
Zren / Ionic Scrollbar.md
Last active Aug 29, 2015
Ionic ScrollBar
View Ionic Scrollbar.md

Bugs:

  • When scrolled to the bottom, after infinite loads more content, the scrollbar should jump to it's new spot. Instead, it will stay where the cursor/finger is, causing another inifinite load.
@Zren
Zren / Dolphin.ahk
Last active Aug 29, 2015
Dolphin AutoHotKey Script
View Dolphin.ahk
; Dolphin Hotkeys
;
; FEATURES:
; * Bind L2 on a Dualshock controller to Tab, which
; will unthrottle the frame rate. Aka Turbo key.
; * Autosave every minute to Save Slots 4-8.
; * Manually save with the Dualshock select button.
SetTimer, AutoSaveTicker, 60000
View gist:0407376c6a4ab2c36153
var devtools = atom.getCurrentWindow().getDevToolsWebContents();
var f = function() {
WebInspector.inspectorView._tabbedPane.selectTab('timeline');
};
var fString = f.toString();
fString = fString.substring(fString.indexOf('{') + 1, fString.lastIndexOf('}'));
devtools.executeJavaScript(fString);