Skip to content

Instantly share code, notes, and snippets.

View hackur's full-sized avatar

Jeremy Sarda hackur

  • Las Vegas, NV
  • 07:05 (UTC -07:00)
View GitHub Profile
@hackur
hackur / wallaby.js
Created August 26, 2016 08:51 — forked from ArtemGovorov/wallaby.js
Wallaby.js config for ng-cli generated project. The config file needs to be in the project root. Works faster with Electron runner: https://wallabyjs.com/docs/integration/electron.html
module.exports = function (wallaby) {
const compilerOptions = require('./src/tsconfig.json').compilerOptions;
compilerOptions.noEmitOnError = false;
return {
files: [
{pattern: 'node_modules/es6-shim/es6-shim.js', instrument: false},
{pattern: 'node_modules/systemjs/dist/system-polyfills.js', instrument: false},
{pattern: 'node_modules/reflect-metadata/Reflect.js', instrument: false},
@hackur
hackur / demo.base.js
Created August 26, 2016 01:08 — forked from billdwhite/demo.base.js
d3 Multi Flow Container Demo
d3.demo = {};
d3.demo.currentScale = 1;
d3.demo.app = function() {
"use strict";
var width = 600,
height = 900,
margin = {top: 0, right: 0, bottom: 0, left: 0},
base = null,
@hackur
hackur / README.md
Created May 18, 2016 18:08 — forked from denji/README.md
Remove WebStorm; PhpStorm; PyCharm; RubyMine; AppCode; CLion, IntelliJ; 0xDBE10 settings and CLI-Links from Mac OSX

Quick uninstall JetBrains settings:

curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s
@hackur
hackur / osx-10.11-setup.md
Created May 2, 2016 23:58 — forked from kevinelliott/osx-10.11-setup.md
Mac OS X 10.11 El Capitan Setup

Mac OS X 10.11 El Capitan

Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

<html>
<head>
<title>Guess the Number!</title>
</head>
<body>
<script type="text/javascript">
var secretNumber = parseInt(Math.random() * 100, 10) + 1;