Skip to content

Instantly share code, notes, and snippets.

View zacharyblank's full-sized avatar

Zach Blank zacharyblank

  • Hurry
  • Portland
View GitHub Profile
This file has been truncated, but you can view the full file.
[
{
"photo": "6b5aae4b-4c1d-487c-90d5-a636adc00956",
"business_name": "Susie Q Skin",
"contact_firstname": "Susan Badger",
"summary": "Natural skincare and tattoo aftercare",
"location": "{\"formatted_address\":\"Portland, Oregon 97222, United States\",\"placeID\":\"postcode.7752108143982160\",\"place_URL\":\"https://maps.google.com/?q=Portland+Oregon 97222+United States\",\"lat\":45.43,\"lng\":-122.58}",
"industry": ",Lifestyle & Personal Care",
"phone": "503-522-1709",
pip install -g autonomous-ship
.-.
/ /
/ |
|\ ._ ,-"" `.
| |,,_/ 7 ;
`;= ,=( , /
|`q q ` | \_,|
.=; <> _ ; / ,/'/ |
';|\,j_ \;=\ ,/ `-'
`--'_|\ )
~ (ruby 1.9.3p327) 💥 sudo pip install virtualenvwrapper
Password:
Downloading/unpacking virtualenvwrapper
Downloading virtualenvwrapper-4.6.0.tar.gz (89kB): 89kB downloaded
Running setup.py egg_info for package virtualenvwrapper
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
@zacharyblank
zacharyblank / timer.js
Created July 24, 2015 22:16
Angular Timer Directive
var timerDirective = function ($interval)
{
template: '<div>Seconds Elapsed: {{seconds}}</div>',
link: function($scope, element, attrs, controller) {
element.on('$destroy', function() {
$interval.cancel(controller.timerPromise);
});
},
controller: function ($scope){
$scope.seconds = 0;
this.get = function(data) {
var deferred = $q.defer();
resource.get(data, function(response) {
if (typeof response.data == 'object') {
deferred.resolve(new Venue(response.data));
} else {
deferred.reject();
}
}, function() {
@zacharyblank
zacharyblank / gist:3bd004a2f5c619a0441a
Created December 10, 2014 14:17
Email with domain regex
/^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@example\.com$/i
description "Public node server"
author "Zachary Blank"
start on started mountall
stop on shutdown
# Automatically Respawn:
respawn
respawn limit 99 5
server {
listen 80;
server_name public.dev;
location / {
proxy_pass http://127.0.0.1:8020;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
@zacharyblank
zacharyblank / Vagrantfile
Created December 2, 2014 15:50
Basic Vagrant
Vagrant.configure("2") do |config|
config.vm.box = "trusty64"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-i386-vagrant-disk1.box"
config.vm.network :private_network, ip: "198.18.0.114"
config.vm.synced_folder "./web", "/vagrant/web", owner: "www-data", group: "www-data", mount_options: ["dmode=775,fmode=664"]
end