Skip to content

Instantly share code, notes, and snippets.

✨ Kathryn Gonzalez ✨ ryngonzalez

  • DoorDash
  • San Francisco, CA
Block or report user

Report or block ryngonzalez

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
View showAfterEvent directive
.directive 'showAfterEvent', ['$timeout', ($timeout)->
return {
link: (scope, element, attrs) ->
eventName = attrs.showAfterEvent
element.css 'opacity', 0
element.bind eventName, (e) ->
ryngonzalez / database.yml
Created Jul 18, 2011 — forked from amw/database.yml
Standard rails database.yml with additional definition of live database
View database.yml
adapter: mysql2 # must =~ /mysql/
database: adamDb # required
username: your_user
password: keep_secret
ssh_user: # optional, use if live system user differs from your dev user
host: # required, can be IP
adapter: mysql2 # must =~ /mysql/
View import-csv.rake
namespace :db do
desc "load data from csv"
task :load_csv_data => :environment do
require 'fastercsv'
FasterCSV.foreach("importdata/tarife.csv", :headers => true, :col_sep => ',') do |row|
:name => row['Anbieter_Name']
:hotline => row['Hotline'],
:email => row['Email']
You can’t perform that action at this time.