I hereby claim:
- I am hgebhardt on github.
- I am hgebhardt (https://keybase.io/hgebhardt) on keybase.
- I have a public key whose fingerprint is C8DF 6890 83AC 02D4 1711 3E39 7F06 3992 D7D6 A711
To claim this, I am signing this object:
| require 'google/apis/identitytoolkit_v3' | |
| require 'googleauth' | |
| require 'json' | |
| # Creates user accounts with email and password | |
| class FirebaseAccountManager | |
| # Konstanten ruhig in die Klassen ziehen, wenn die einen direkten Bezug haben | |
| SCOPE = [ | |
| 'https://www.googleapis.com/auth/firebase', | |
| 'https://www.googleapis.com/auth/identitytoolkit', |
| settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList().then(function(val){ | |
| val.others.forEach(function(engine) { | |
| console.log(engine.displayName); | |
| settings.SearchEnginesBrowserProxyImpl.prototype.removeSearchEngine(engine.modelIndex); | |
| }); | |
| }); |
| #! /bin/sed -f | |
| # remove configuration settings | |
| /^SET /d | |
| # remove comments | |
| /^--/d | |
| # remove sequence values | |
| /^SELECT pg_catalog.setval/d |
I hereby claim:
To claim this, I am signing this object:
| namespace :db do | |
| desc 'Truncate all tables of the database' | |
| task :truncate => :environment do | |
| ActiveRecord::Base.establish_connection | |
| tables = ActiveRecord::Base.connection.tables-["schema_migrations"] | |
| ActiveRecord::Base.connection.execute("TRUNCATE #{tables.join(', ')} RESTART IDENTITY") | |
| end | |
| end |
| #!/bin/bash | |
| # | |
| # => $ sudo apt-get install -y --force-yes curl; sudo su - -c "bash < <(curl -sL http://is.gd/..........)" | |
| # | |
| # Deploy Fat Free CRM (rails3 branch) to a freshly installed Ubuntu machine. | |
| # -------------------------------------------------------------------------- | |
| # | |
| # Steps: | |
| # | |
| # *) Install required packages (git, postgresql, etc.) |