Skip to content

Instantly share code, notes, and snippets.

View jdorfman's full-sized avatar

Justin Dorfman jdorfman

View GitHub Profile
jdorfman@air:~/github/jdorfman/fontfamous.github.io$ http-server -o
Starting up http-server, serving ./
Available on:
http:127.0.0.1:8080
http:192.168.43.29:8080
Hit CTRL-C to stop the server
[Sat, 05 Mar 2016 19:43:56 GMT] "GET /" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36"
[Sat, 05 Mar 2016 19:43:56 GMT] "GET /stylesheets/normalize.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36"
[Sat, 05 Mar 2016 19:43:56 GMT] "GET /stylesheets/github-light.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36"
[Sat, 05 Mar 2016 19:43:56 GMT] "GET /stylesheets/stylesheet.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36"
$ curl -I https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/fonts/fontawesome-webfont.svg
HTTP/1.1 200 OK
Date: Tue, 24 Nov 2015 15:18:17 GMT
Content-Type: image/svg+xml
Content-Length: 365616
Connection: keep-alive
Last-Modified: Mon, 23 Nov 2015 18:25:42 GMT
ETag: "f775f9cca88e21d45bebe185b27c0e5b"
Server: NetDNA-cache/2.2
Expires: Fri, 18 Nov 2016 15:18:17 GMT

Keybase proof

I hereby claim:

  • I am jdorfman on github.
  • I am jdorfman (https://keybase.io/jdorfman) on keybase.
  • I have a public key whose fingerprint is B201 D628 F130 2A5E 3815 B7CE BB28 B310 B9F9 0A33

To claim this, I am signing this object:


                      |H|a|p|p|y| |4|t|h| |B|i|r|t|h|d|a|y|
                    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                    |B|o|o|t|s|t|r|a|p|!|  <3   |M|a|x|C|D|N|


    https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha/css/bootstrap.min.css
    https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha/js/bootstrap.min.js
$ curl -I https://localbitcoins.com
HTTP/1.1 200 OK
Server: cloudflare-nginx
Date: Mon, 02 Jun 2014 17:48:23 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: __cfduid=d32b93728338081c546f4d5970553c6e11401731283939; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.localbitcoins.com; HttpOnly
X-Content-Type-Options: nosniff
Content-Language: en
@jdorfman
jdorfman / gist:9896843
Created March 31, 2014 16:57
bootstrapcdn-cloc
~/github/bootstrap$ cloc bootstrap-cdn/
3369 text files.
2254 unique files.
2476 files ignored.
http://cloc.sourceforge.net v 1.60 T=24.97 s (66.2 files/s, 19531.6 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
Javascript 1218 42456 44388 204958
https://oss.maxcdn.com/libs/ionic/0.9.09/css/ionic.css
https://oss.maxcdn.com/libs/ionic/0.9.09/fonts/ionicons.eot
https://oss.maxcdn.com/libs/ionic/0.9.09/fonts/ionicons.svg
https://oss.maxcdn.com/libs/ionic/0.9.09/fonts/ionicons.ttf
https://oss.maxcdn.com/libs/ionic/0.9.09/fonts/ionicons.woff
https://oss.maxcdn.com/libs/ionic/0.9.09/js/ionic-angular.js
https://oss.maxcdn.com/libs/ionic/0.9.09/js/ionic.js
https://oss.maxcdn.com/libs/ionic/0.9.09/css/themes/ionic-ios7.css
location /fonts/ {
valid_referers *.example.com;
if ($invalid_referer) {
return 403;
}
<script type="text/javascript" src="//www.hellobar.com/hellobar.js"></script>
<script type="text/javascript">
new HelloBar(34009,110807);
</script>