Skip to content

Instantly share code, notes, and snippets.

View markdillon's full-sized avatar

Mark Dillon markdillon

  • Backlight
  • New York, NY
View GitHub Profile
@markdillon
markdillon / index.html
Created July 31, 2018 17:30
Pure-CSS Netflix Show Carousel
<div class="contain">
<h1>Pure CSS Netflix Video Carousel</h1>
<p>
Inspired by <a href="https://twitter.com/Eli_White">Eli White's</a> article <a href="http://eng.wealthfront.com/2015/06/implementing-netflix-redesign.html">Performant CSS Animations: Netflix Case Study</a>, his <a href="https://codepen.io/TheSavior/pen/LVeYBp">example pen</a>, and <a href="http://matthewjamestaylor.com/">Matt Taylor's</a> <a href="https://codepen.io/mattjamestaylor/pen/dodYPr">CSS-only version.</a>
</p>
<div class="row">
<div class="row__inner">
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 13 columns, instead of 2 in line 8.
Number,Label,Source,Receiving Numbers,Target Numbers,Renewal Date,Visitors,Calls,Minutes,Active,Type,Last Call,Purchased Date
+19178096133,Dennis Miller Associates,Website,(212) 684-0070,12126840070,2017-02-23,0,10,2,true,true,2016-12-09 07:29:19 PM,2015-06-23
+13102376931,Harbinger,Website,(310) 858-6884,13108586884,2017-02-23,0,9,8,true,true,2016-10-26 07:18:37 PM,2015-06-23
+18188774684,ADG Lighting,Website,(818) 597-9494,+18185979494,2017-02-24,0,26,30,true,true,2016-11-18 09:57:36 PM,2015-06-24
+16466814143,Aguirre Design,Website,(646) 265-7820,+16462657820,2017-02-24,0,8,13,true,true,2016-12-12 07:58:41 PM,2015-06-24
+19175254562,Alfonso Marina,Website,(888) 489-3839,+18884893839,2017-02-24,0,37,64,true,true,2017-01-05 12:24:59 AM,2015-06-24
+19175216267,Alpha Workshops,Website,(212) 594-7320,12125947320,2017-02-24,0,5,5,true,true,2016-12-21 02:12:17 PM,2015-06-24
+14159677203,Anyon Design,Website,(415) 829-2758,+14158292758,2017-02-24,0,4,10,true,true,2016-03-21 05:36:07 PM,2015-06-24
+14044918447,ADAC
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
FJD-0000-624B,"Sherrill Canet Collection. Shown in Polished Brass Cone Legs. COM: 9 Yards / 54"" Plain. Custom Sizes and Leg Options Available Upon Request."
FJD-0005-169B,"Sherrill Canet Collection. Shown in Polished Brass Block Legs. COM: 17 Yards / 54"" Plain. Custom Sizes and Leg Options Available Upon Request. "
FJD-0003-0924,"Sherrill Canet Collection. Shown in Espresso Tapered Wood Legs. COM: 8 Yards / 54"" Plain. Custom Sizes and Leg Options Available. "
FJD-0008-051B,"Sherrill Canet Collection. Shown in Polished Brass Cone Legs. COM: 17 Yards / 54"" Plain. Custom Sizes and Leg Options Available Upon Request. "
FMT-0000-0008,Sherrill Canet Collection. Antique Brass Frame with Upholstered Seat Cushion. Custom Sizes and Finishes Available Upon Request.
FCF-0000-0659,Sherrill Canet Collection. Hammered Iron Base with Upholstered Seat Cushion. Finish Shown: Burnished Iron. Custom Sizes and Finish Options Available Upon Request.
FJD-0504-TB24,"Sherrill Canet Collection. COM: 7 Yards / 54""
func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCell! {
let cell: UITableViewCell = tableView.dequeueReusableCellWithIdentifier(kCellIdentifier) as UITableViewCell
var rowData: NSDictionary = self.tableData[indexPath.row] as NSDictionary
// Add a check to make sure this exists
let cellText: String? = rowData["trackName"] as? String
cell.textLabel.text = cellText
cell.imageView.image = UIImage(named: "Blank52")
@markdillon
markdillon / freeswitch.rb
Created February 27, 2012 11:48 — forked from lxfontes/freeswitch.rb
Homebrew formula for installing FreeSWITCH that I wrote tonight. Unsure of best way to automatically "test" FreeSWITCH. Thoughts?
require 'formula'
class Freeswitch < Formula
url 'http://files.freeswitch.org/freeswitch-snapshot.tar.gz'
homepage ''
md5 '786a1e1acf1c59d4d814bf717a426779'
version 'flite'
depends_on 'cmake'
depends_on 'jpeg'
@markdillon
markdillon / twiml.xml
Created February 1, 2012 06:44
twiml
<Response>
<Dial>540-712-0350</Dial>
</Response>
@markdillon
markdillon / CleanOSXInstall.txt
Created September 19, 2011 03:49
Steps for setting up a new Mac
- Set up keyboard
- Focus all controls
- Map caps lock to ctrl
- Map ctrl + z to "Zoom"
- Map cmd + opt + right arrow to "Select Next Tab"
- Map cmd + opt + left arrow to "Select Previous Tab"
- Run Software Update
- Repeat software updates until no updates left to install
- Set up mobileme
- Wait for mobileme to sync
@markdillon
markdillon / python26.rb
Created May 13, 2011 22:37 — forked from lxneng/gist:743034
brew install python2.6
require 'formula'
<<-COMMENTS
Versions
--------
This formula is currently tracking version 2.6.x.
Python 3.x is available as a separate formula:
brew install python3