Skip to content

Instantly share code, notes, and snippets.

// 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 / DarkSolarized.qss
Last active August 28, 2022 14:22
Dark Solarized - Quassel Theme (qss)
/**
** ______ _ _____ _ _ _
** | _ \ | | / ___| | | (_) | |
** | | | |__ _ _ __| | __ \ `--. ___ | | __ _ _ __ _ _______ __| |
** | | | / _` | '__| |/ / `--. \/ _ \| |/ _` | '__| |_ / _ \/ _` |
** | |/ / (_| | | | < /\__/ / (_) | | (_| | | | |/ / __/ (_| |
** |___/ \__,_|_| |_|\_\ \____/ \___/|_|\__,_|_| |_/___\___|\__,_|
**
** Quassel Theme
**
@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 / gist:beaafd64f395e23f4604
Last active April 29, 2017 18:26
Ionic Scroll onMouseWheel
app.directive 'mouseWheelScroll', ($timeout) ->
return {
restrict: 'A'
# require: '^$ionicScroll'
link: ($scope, $element, $attrs) ->
scrollCtrl = $element.controller('$ionicScroll')
console.log scrollCtrl
unless scrollCtrl
return console.error('mouseWheelScroll must be attached to a $ionicScroll controller.')
@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);