Build software that helps people.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"videoId": "WruNXhtEbdM", | |
"startPosition": "000113", | |
"url": "WruNXhtEbdM?start=000113", | |
"location": [ | |
40.758, | |
-73.9855 | |
] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assumes a file named gam-archive2.sh exists in the same folder | |
# along with a file named emails.txt that includes one email prefix per line of the people you want to delete | |
# e.g. something like this - no # symbols | |
# noah | |
# mike | |
# | |
# read the | |
emails = File.read("emails.txt").lines.map(&:chomp) | |
puts "#{emails.length} emails found in emails.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://static.grumpycoder.net/pixel/reports/node_coverage/lcov-report/node/src/server.js.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Noah Pryor</title> | |
<script> | |
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre><code id="content" class="language-liquid"> | |
</code></pre> | |
aa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string, re | |
from collections import OrderedDict | |
from calibre import strftime | |
from calibre.web.feeds.recipes import BasicNewsRecipe | |
from calibre.ebooks.BeautifulSoup import BeautifulSoup | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Check for integer columns that should be migrated to bigint" | |
task bigint_check: :environment do | |
ActiveRecord::Base.connection.tables.each do |table_name| | |
ActiveRecord::Base.connection.columns(table_name).each do |column| | |
if column.sql_type == "integer" | |
puts "Warning: #{table_name}.#{column.name} is of type integer rather than bigint" | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Comedian @model { | |
id: ID! @unique | |
slug: String! @unique | |
name: String! | |
website: String | |
url: String | |
imageUrl: String | |
stubsiteId: Int @unique | |
ticketmasterId: String @unique | |
shows: [Show!]! |
I hereby claim:
- I am noahpryor on github.
- I am noahpryor (https://keybase.io/noahpryor) on keybase.
- I have a public key whose fingerprint is 5F1E 3AFC 89B0 C3DE 290B 633B 21A5 01F0 3C35 26DB
To claim this, I am signing this object:
NewerOlder