I hereby claim:
- I am tapickell on github.
- I am tapickell (https://keybase.io/tapickell) on keybase.
- I have a public key ASDI0a69v6TibVa93SrCEwmOT7VIPDyqEu9sPr8Wj6js8go
To claim this, I am signing this object:
$(function(){ // on dom ready | |
$('#cy').cytoscape({ | |
layout: { | |
name: 'cose', | |
padding: 10 | |
}, | |
style: cytoscape.stylesheet() | |
.selector('node') |
require 'net/http' | |
require 'json' | |
def request | |
Net::HTTP.get(URI('http://socialclub.rockstargames.com/games/gtav/ps4/bawsaq')) | |
uri = URI('http://socialclub.rockstargames.com/games/gtav/ajax/stockdetail') | |
http = Net::HTTP.new(uri.host, uri.port) | |
req = Net::HTTP::Get.new(uri) |
var fs = require('fs'); | |
var gulp = require('gulp'); | |
var runWintersmith = require('run-wintersmith'); | |
var s3 = require("gulp-s3"); | |
var options = { headers: {'Cache-Control': 'public'} } | |
gulp.task('default', function() { | |
console.log('`gulp deploy` to deploy') | |
}); |
require "rails_helper" | |
RSpec.describe 'Sandi Meter Results' do | |
before :all do | |
results = %x{ sandi_meter } | |
@classes,@methods,@parameters,@controllers = results.scan(/(...)[%]/).flatten.map{ |s| s.to_i } | |
end | |
it '100% of classes are under 100 lines' do | |
expect(@classes).to eq(100) |
#!/bin/bash | |
# | |
# DROPKICK.SH | |
# | |
# Detect and Disconnect the DropCam and Withings devices some people are using to | |
# spy on guests in their home, especially in AirBnB rentals. Based on Glasshole.sh: | |
# | |
# http://julianoliver.com/output/log_2014-05-30_20-52 | |
# | |
# This script was named by Adam Harvey (http://ahprojects.com), who also |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# relaunch with sudo if we aren't root | |
if [[ $EUID -ne 0 ]]; then | |
echo "$0: relaunching as sudo $0 $1 $USER" | |
sudo "$0" $1 $USER | |
exit $? | |
fi | |
real_user=$USER |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
defmodule A do | |
def err(_, <<length, data :: binary>>) do | |
case {length, data} do | |
{0, _} -> data | |
{4, <<rest :: binary>>} -> rest | |
end | |
end | |
end | |
<<0>> = A.err(0, <<0>>) |
-- Standard awesome library | |
local gears = require("gears") | |
local awful = require("awful") | |
require("awful.autofocus") | |
-- Widget and layout libraries | |
local wibox = require("wibox") | |
local vicious = require("vicious") | |
local redflat = require("redflat") | |
-- Theme handling library |