Skip to content

Instantly share code, notes, and snippets.

View adelevie's full-sized avatar

Alan deLevie adelevie

View GitHub Profile
### Keybase proof
I hereby claim:
* I am adelevie on github.
* I am adelevie (https://keybase.io/adelevie) on keybase.
* I have a public key ASAWiVCpiWVcnyRlxiHEQOgWRveydKoWI2oHaWJXhPQEtAo
To claim this, I am signing this object:
{
"auctions": [
{
"bids": [
{
"amount": 987,
"auction_id": 38,
"bidder_id": 184,
"created_at": "2016-11-17T00:41:43+00:00",
"id": 407,
alias curl='docker run --rm appropriate/curl'
alias jq='docker run -i pinterb/jq:0.0.15'
alias python='docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp python:3 python'
alias ruby='docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp ruby:2.1 ruby'
curl 'https://api.github.com/repos/stedolan/jq/commits' | jq '.'
python -c "print('hello from python')"
ruby -e "puts 'hello from ruby'"
@adelevie
adelevie / rc
Created September 26, 2016 14:21
➜ ruby-throwaway fake-ruby
irb(main):001:0> puts "hello"
hello
=> nil
irb(main):002:0> exit
➜ ruby-throwaway fake-ruby ruby --version
ruby 2.1.10p492 (2016-04-01 revision 54464) [x86_64-linux]
➜ ruby-throwaway touch hello.rb
➜ ruby-throwaway echo puts "hello" >> hello.rb
➜ ruby-throwaway fake-ruby ruby hello.rb
#!/usr/bin/env bash
# Contributed by @quinkennedy (https://gist.github.com/quinkennedy/fc78c2bb1d6b1e27c174)
{ # this ensures the entire script is downloaded #
openframe_has() {
type "$1" > /dev/null 2>&1
}
if [ -z "$OPENFRAME_DIR" ]; then
OPENFRAME_DIR="$HOME/.openframe"
{
"sam_data": {
"registration": {
"govtBusinessPoc": {
"lastName": "YOUTZY",
"fax": "7032277477",
"address": {
"zip": "22033",
"countryCode": "USA",
"line1": "12601 FAIR LAKES CIRCLE",
[
{
"id": "134564",
"issue": "Equipment",
"issue_type": "Phone",
"ticket_created": "2015-02-16T20:12:29.000"
},
{
"city": "Dandridge",
"id": "206902",
#### 50 domains
1: node example.js 16.04s user 4.24s system 4% cpu 6:56.03 total
2: node example.js 12.61s user 3.53s system 7% cpu 3:25.09 total
4: node example.js 20.01s user 4.65s system 16% cpu 2:29.10 total
6: node example.js 15.78s user 3.68s system 22% cpu 1:27.41 total
8: lots of truffler errors
[
{
"code": "WCAG2AA.Principle2.Guideline2_4.2_4_2.H25.2",
"context": "<title>18F Digital Services Delivery<\/title>",
"message": "Check that the title element describes the document.",
"selector": "html > head > title",
"type": "notice",
"typeCode": 3
},
{