This file contains hidden or 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
#!/usr/bin/env ruby -w | |
#------------------------------------------------------------------------------ | |
# requires | |
#------------------------------------------------------------------------------ | |
require 'RMagick' | |
require 'prime' | |
#------------------------------------------------------------------------------ |
This file contains hidden or 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
#!/usr/bin/env ruby -w | |
#------------------------------------------------------------------------------ | |
# requires | |
#------------------------------------------------------------------------------ | |
require 'open-uri' | |
#------------------------------------------------------------------------------ | |
# Problem #1 |
This file contains hidden or 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
#!/usr/bin/env ruby -w | |
#------------------------------------------------------------------------------ | |
# requires | |
#------------------------------------------------------------------------------ | |
require 'json' | |
require 'openssl' | |
require 'socket' | |
require 'yaml' |
This file contains hidden or 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
source 'http://rubygems.org' | |
gem 'activerecord' | |
gem 'fastercsv' | |
gem 'sqlite3' |
This file contains hidden or 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
#------------------------------------------------------------------------------ | |
# filmscribeCutList.py - avid filmscribe cutlist (.ctl) parser | |
#------------------------------------------------------------------------------ | |
import collections | |
import itertools | |
import logging | |
import os | |
import os.path | |
import re |
This file contains hidden or 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
#------------------------------------------------------------------------------ | |
# mp3.py - MPEG-1 / MPEG-2 Audio Layer III (.mp3) parser | |
#------------------------------------------------------------------------------ | |
import collections | |
import itertools | |
import os.path | |
import struct | |
#------------------------------------------------------------------------------ |
This file contains hidden or 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
#!/bin/tcsh | |
# validate command-line args | |
if ($# != 2) then | |
echo "Example usage: $0 ssh.codeisart.com 22" | |
exit 1 | |
endif | |
# set script variables | |
set remotehost = $1 |
This file contains hidden or 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
#!/usr/bin/env python | |
# | |
# Curbside Programming Challenge | |
# by Moiz Merchant | |
# | |
#------------------------------------------------------------------------------ | |
# imports | |
#------------------------------------------------------------------------------ |
This file contains hidden or 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
#EXTM3U | |
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1500000,RESOLUTION=640x960 | |
http://res.cloudinary.com/talenthouse/video/upload/ac_aac,af_44100,br_1500000,c_limit,h_640,vc_h264:main:3.1,w_960/v1455843532/user-469666/profile/lxiyurogzyy2qen16zde.m3u8 | |
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=600000,RESOLUTION=320x480 | |
http://res.cloudinary.com/talenthouse/video/upload/ac_aac,af_44100,br_600000,c_limit,h_320,vc_h264:baseline:3.0,w_480/v1455843532/user-469666/profile/lxiyurogzyy2qen16zde.m3u8 | |
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=4000000,RESOLUTION=720x1280 | |
http://res.cloudinary.com/talenthouse/video/upload/ac_aac,af_44100,br_4000000,c_limit,h_720,vc_h264:high:4.0,w_1280/v1455843532/user-469666/profile/lxiyurogzyy2qen16zde.m3u8 |
This file contains hidden or 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
# Vertices: 8 | |
# Points: 0 | |
# Lines: 0 | |
# Faces: 6 | |
# Materials: 1 | |
o 1 | |
# Vertex list |
OlderNewer