Skip to content

Instantly share code, notes, and snippets.

@Zren
Zren / WireShark-HTTP.py
Last active August 29, 2015 13:56
Wireshark: Log HTTP
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`

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
// 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()}}',
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 / gist:44ed2c81e67cd9c36f79
Last active August 29, 2015 14:04
Zren's Atom Setup
@Zren
Zren / quassel-build.bat
Last active August 29, 2015 14:06
Quassel Build Script
@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"
module.exports =
###
=== Commands
###
onStuffCommand: ->
console.log 'stuff'
###
=== PackageManager Hooks
@Zren
Zren / Ionic Scrollbar.md
Last active August 29, 2015 14:06
Ionic ScrollBar

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 August 29, 2015 14:07
Dolphin AutoHotKey Script
; 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
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);