Skip to content

Instantly share code, notes, and snippets.

options {
// tell named where to find zone files
directory "/var/named";
// these answer DNS queries outside of the bonjour.example.com. zone.
// insert address(es) of your normal DNS servers or caches here.
// On Mac OS X, you can find the address(es) via the "scutil --dns" command.
forwarders { 1.2.3.4; 5.6.7.8; };
};
$TTL 3600 ; One hour default TTL
; Replace li392-103. below with your machine's hostname
@ IN SOA li392-103. unused-email (
1 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
60 ; minimum (1 minute)
➜ ~ telnet reddit.com 80
Trying 96.17.69.9...
Connected to reddit.com.
Escape character is '^]'.
GET / HTTP/1.1
host: reddit.com
HTTP/1.1 302 Moved Temporarily
Server: AkamaiGHost
Content-Length: 0
➜ ~ telnet reddit.com 80
Trying 96.17.69.9...
Connected to reddit.com.
Escape character is '^]'.
GET / HTTP/1.1
host: reddit.com
HTTP/1.1 302 Moved Temporarily
Server: AkamaiGHost
Content-Length: 0
@Jarred-Sumner
Jarred-Sumner / gist:bad48868c020181c9f4c
Last active August 29, 2015 14:14
Emails of all student groups at UCLA
["info@4cornersucla.org","krisbcorn@g.ucla.edu","tsaunder@saonet.ucla.edu","uclaacademyhealth@gmail.com","Claytonchan@ucla.edu","kodysnow@ucla.edu","students.accessucla@gmail.com","uclaachievementscholars@gmail.com","ychen315@g.ucla.edu","AFEatUCLA@gmail.com","info@actiiitheatreensemble.com","yasmeen.elfarra@gmail.com","activeminds.uclachapter@gmail.com","abcbruins@gmail.com","calvinyglee@gmail.com","adelante.ucla.lbsa@gmail.com","adcc.ucla@gmail.com","solesaces@gmail.com","bsc@mednet.ucla.edu","africanactivists@gmail.com","diasporawriting@gmail.com","afrikanartsensemble@gmail.com","aepucla@gmail.com","afrikanmenscollective@gmail.com","asuchairperson@gmail.com","awcucla@gmail.com","ucla.afya@gmail.com","agapebruins@gmail.com","ahlulbaytucla@gmail.com","aidsambassadors@gmail.com","clindstrom@registrar.ucla.edu","alephjournal@ucla.edu","theodorekee@gmail.com","bruindialogue@gmail.com","uclaagingclub@gmail.com","alpfa.ucla@gmail.com","axoucla@gmail.com","rushaxebg@gmail.com","uclaalphadeltachi@gmail.com","adpibr
@Jarred-Sumner
Jarred-Sumner / gist:6d99510da102a5e114de
Last active August 29, 2015 14:15
Schools by EDU domain (originally taken from http://pastebin.com/LND21t5F)
---
aamu.edu: Alabama A&M University
ab.edu: Alderson Broaddus University
acu.edu: Abilene Christian University
adelphi.edu: Adelphi University
aic.edu: American International College
alaska.edu: University of Alaska System
alasu.edu: Alabama State University
albany.edu: University at Albany
albion.edu: Albion College
@Jarred-Sumner
Jarred-Sumner / comcast.js
Last active September 7, 2022 01:30
Comcast injects this into webpages to show copyright notices
// Comcast Cable Communications, LLC Proprietary. Copyright 2014.
// Intended use is to display browser notifications for critical and time sensitive events.
var _ComcastAlert = (function(){
return {
SYS_URL: '/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do'
, dragObj: {zIndex: 999999}
, browser: null
, comcastCheck: 1
, comcastTimer: null
, xmlhttp: null
ffmpeg -f concat -safe 0 -i files.txt -c copy -f mov output.mov
ffmpeg version 3.2.1 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 8.0.0 (clang-800.0.38)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libass --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-openssl --disable-lzma --enable-nonfree --enable-vda
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
@Jarred-Sumner
Jarred-Sumner / Stylefile.yml
Created July 10, 2018 03:00
Customizations for github.com via StyleURL.
---
:version: 1.0
:domains:
- github.com
:timestamp: '2018-07-10T03:00:46Z'
:id: UIQR
:redirect_url: https://github.com/rails/rails/issues/29992
:shared_via: StyleURL – import and export CSS changes from Chrome Inspector to a Gist
you can share (like this one!)
@Jarred-Sumner
Jarred-Sumner / Stylefile.yml
Created July 10, 2018 03:01
Customizations for github.com via StyleURL.
---
:version: 1.0
:domains:
- github.com
:timestamp: '2018-07-10T03:01:12Z'
:id: Ge7y
:redirect_url: https://github.com/rails/rails/issues/29992
:shared_via: StyleURL – import and export CSS changes from Chrome Inspector to a Gist
you can share (like this one!)