Skip to content

Instantly share code, notes, and snippets.

Charlie Hield stursby

  • Minneapolis, MN
Block or report user

Report or block stursby

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@stursby
stursby / README.md
Last active Mar 10, 2019
Vue + Firebase + Auth Demo
View README.md

Vue + Firebase + Auth Demo

A simple App using Vue.js & Firebase with Auth.

See the DEMO.

@stursby
stursby / fonts.css
Created Jul 12, 2016
System font stack
View fonts.css
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@stursby
stursby / one-liner.md
Last active May 19, 2016
linux web permissions
View one-liner.md

Apache

sudo chown -R www-data:www-data /var/www/html/

nginx

sudo chown -R www-data:www-data /usr/share/nginx/html/
@stursby
stursby / tip.md
Last active May 12, 2016
Dynamic shebang
View tip.md
#!/usr/bin/env <language>

Example

#!/usr/bin/env python
@stursby
stursby / info.md
Last active Dec 22, 2015
Raspberry Pi boot SMS IP address script
View info.md

Raspberry Pi boot SMS IP address script

Set environment variables

Open .bashrc

sudo nano ~/.bashrc
@stursby
stursby / LOC.md
Created Dec 4, 2015
Count number LOC (line of code)
View LOC.md
find . -name "*.js" | xargs cat | wc -l

(via Slideshare).

@stursby
stursby / README.md
Last active Sep 23, 2015
Deploy Meteor to Heroku
View README.md

Create remote staging branch with custom name "my-app-name". This will become my-app-name.herokuapp.com

heroku create my-app-name --remote staging

Add the Meteor build pack Meteor Buildpack Horse

heroku buildpacks:set https://github.com/AdmitHub/meteor-buildpack-horse.git
@stursby
stursby / selectors.md
Created Mar 17, 2015
Weird selectors
View selectors.md
  • :-webkit-autofill remove autofill input yellow background Demo
@stursby
stursby / README.md
Created Mar 8, 2015
fightbulc/moment incorrect month format demo
View README.md
  1. Create a folder & cd into that folder.
  2. Install Composer or curl -sS https://getcomposer.org/installer | php
  3. Install packages php composer.phar install
  4. Run the app php app.php

Sample Output

2015-03-08T15:14:53-0500 // correct
Sunday, 08th April 2015 / 15:14 (America/Chicago) // wrong month
Sunday, 08th March 2015 / 15:14 (America/Chicago) // correct month
View Console.md

Getting the following Console error:

http://api.soundcloud.com/resolve.json?callback=angular.callbacks._0&client_id=0d33361983f16d2527b01fbf6408b7d7&url=soundcloudURL

I'm guessing it's because the directive is running before the Firebase call retuns the URL... so how do I reload the plangular directive? Or defer loading the directive until I have the SoundClour URL because the URL will be different for each room.

You can’t perform that action at this time.