Skip to content

Instantly share code, notes, and snippets.

@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
{
"color_scheme": "Packages/Color Scheme - Default/Pastels on Dark.tmTheme",
"font_face": "Consolas",
"font_size": 11
}
`system_profiler | grep "r (system)"`.sub(" Serial Number (system): ", "").strip
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
class Feed < ActiveRecord::Base
attr_accessible :name, :url, :etag, :last_modified
has_many :statuses, :order => "publication_date DESC"
def self.update_each!
all.each { |feed| feed.update_from_url! }
end
def self.update_or_parse_from_url!(url)
if @@feed = Feed.find_by_url(url)
class Status < ActiveRecord::Base
belongs_to :feed
attr_accessible :description, :publication_date, :title
attr_protected :feed_id
def self.update_or_create_with_entry(entry, feed_id)
if entry.present?
if @@status = Status.find_by_publication_date(entry.published.to_datetime)
@@status.update_status!(entry)
else
class FeedController < ApplicationController
def index
@feeds = Feed.last_day
if @feeds.blank?
@feeds = Feed.last_week
end
end
def show
@feed = Feed.find(params[:id])
Sep 9 00:00:07 (none) named[26423]: client 74.207.242.5#46860 (ili392-103.dns.friendsend.co): query (cache) 'ili392-103.dns.friendsend.co/SOA/IN' denied
Sep 9 00:00:07 (none) named[26423]: client 74.207.242.5#13157 (ili392-103.dns.friendsend.co): query (cache) 'ili392-103.dns.friendsend.co/SOA/IN' denied
Sep 9 00:00:07 (none) named[26423]: client 74.207.242.5#62963 (ili392-103.dns.friendsend.co): query (cache) 'ili392-103.dns.friendsend.co/SOA/IN' denied
Sep 9 00:00:07 (none) named[26423]: client 74.207.242.5#18782 (ili392-103.dns.friendsend.co): query (cache) 'ili392-103.dns.friendsend.co/SOA/IN' denied
Sep 9 00:00:08 (none) named[26423]: client 74.207.241.5#13531 (dns.friendsend.co): query (cache) 'dns.friendsend.co/SOA/IN' denied
Sep 9 00:00:08 (none) named[26423]: client 74.207.241.5#18805 (dns.friendsend.co): query (cache) 'dns.friendsend.co/SOA/IN' denied
Sep 9 00:00:08 (none) named[26423]: client 74.207.241.5#8896 (dns.friendsend.co): query (cache) 'dns.friendsend.co/SOA/IN' denied
Sep 9 00:00:
//
// Include keys file
//
include "/etc/rndc.key";
// Declares control channels to be used by the rndc utility.
//
// It is recommended that 127.0.0.1 be the only address used.
// This also allows non-privileged users on the local host to manage
// your name server.