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
| # editor for bundler | |
| export BUNDLER_EDITOR=atom | |
| export EDITOR=atom | |
| # git completion | |
| source ~/.git-completion.bash | |
| # original PS1 | |
| # export PS1='\h:\W \u\$ ' |
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
| namespace :db do | |
| desc 'Drops all tables in the database' | |
| task drop_all_tables: :environment do | |
| fail 'Only allowed in test environment' unless Rails.env.test? | |
| connection = ActiveRecord::Base.connection | |
| case connection.adapter_name | |
| # SQL Server via TinyTDS | |
| when 'SQLServer' |
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
| (function() { | |
| 'use strict'; | |
| function ready(fn) { | |
| if (document.readyState != 'loading') { | |
| fn(); | |
| } else { | |
| document.addEventListener('DOMContentLoaded', fn); | |
| } | |
| } |
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
| touch ~/.android/repositories.cfg | |
| brew cask install caskroom/versions/java8 | |
| brew cask install android-sdk | |
| brew cask install intel-haxm | |
| export ANDROID_SDK_ROOT="/usr/local/share/android-sdk" | |
| sdkmanager "platform-tools" "platforms;android-28" "extras;intel;Hardware_Accelerated_Execution_Manager" "build-tools;28.0.0" "system-images;android-28;google_apis;x86" "emulator" | |
| avdmanager create avd -n test -k "system-images;android-28;google_apis;x86" | |
| /usr/local/share/android-sdk/tools/emulator -avd test |
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
| {"lastUpload":"2019-01-24T08:07:43.531Z","extensionVersion":"v3.2.4"} |
OlderNewer