Skip to content

Instantly share code, notes, and snippets.

View ntr-808's full-sized avatar

Nathan Rashleigh ntr-808

View GitHub Profile

Keybase proof

I hereby claim:

  • I am margh on github.
  • I am margh (https://keybase.io/margh) on keybase.
  • I have a public key whose fingerprint is 35B6 573E 8C71 4DB1 0D1C 1692 872A 9917 90D6 56C9

To claim this, I am signing this object:

Problem in browsers (safari + chrome):
socket.io.js Failed to load resource: the server responded with a status of 404 (Not Found)
browserify.js:349 ReferenceError: Can't find variable: io
#-------------------SERVER------------------------
connect = require 'connect'
browserify = require 'browserify'
socket_io = require 'socket.io'
port = 1984
# Webclient.ViewManager
# Usage:
# chatView: new Webclient.ViewManager.view('ChatView') @model
# rotateNotice: Webclient.ViewManager.el('ClientRotateNotice')
ChatViewDesktop = require './ChatViewDesktop'
ChatViewMobile = require './ChatViewMobile'
@ntr-808
ntr-808 / noAds.md
Created November 25, 2013 02:49
Quick Circumvention of MLG Adblock Detection
  1. Open Adblock prefs
  2. Customize
  3. Click edit next to "Manually enter your filters"
  4. Add http://pagefair.com/static/adblock_detection/* and click save
  5. Enjoy

Seems to block the chat as well -shrug-

@ntr-808
ntr-808 / gist:8034091
Last active December 31, 2015 19:29
Best of 2013
Top Albums of 2013
1. Darkside - Psychic
2. National - Trouble Will Find Me
3. Daughter - If You Leave
4. Jon Hopkins - Immunity
5. Violent Soho - Hungry Ghost
6. Washed Out - Paracosm
7. Bonobo - The North Borders
8. AlunaGeorge - Body Music
@ntr-808
ntr-808 / haiku.coffee
Last active December 5, 2016 23:55
coffeeHaiku
make a new Haiku
try to do it in one go
will it still compile?

Keybase proof

I hereby claim:

  • I am margh on github.
  • I am ntr (https://keybase.io/ntr) on keybase.
  • I have a public key ASDpY7N4v-AN6eO1K5OTuQedcL1Tg81DecctG2geUDDcdwo

To claim this, I am signing this object:

version: '3.3'
services:
drone-server:
image: drone/drone:0.8
ports:
- 8000:8000
- 9000
volumes:
- /var/lib/drone:/var/lib/drone/
minikube mount -v10 /home/ntr/eg/app/:/opt/app
Found binary path at /usr/local/bin/docker-machine-driver-kvm2
Launching plugin server for driver kvm2
Plugin server listening at address 127.0.0.1:35539
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .DriverName
Mounting /home/ntr/eg/app/ into /opt/app on the minikube VM
extern crate failure;
#[macro_use]
extern crate serde_derive;
extern crate serde_cbor;
#[macro_use]
extern crate yew;
use failure::Error;
use yew::prelude::*;
use yew::services::Task;