Find all files under current directory & open them in split vim windows:
find . -name '*.rb' -exec vim -O {} +
| module.exports = { | |
| plugins: [ | |
| { | |
| resolve: `gatsby-source-graphql`, | |
| options: { | |
| typeName: `GraphCMS`, | |
| fieldName: `gcms`, | |
| url: `https://api-eu-central-1.graphcms.com/v2/ckjp80jbpftcp01z10zldgn49/master` | |
| } | |
| } |
| // make each key a different field on sites table | |
| { | |
| global_sections: [ | |
| { | |
| type: 'header' | |
| } | |
| ], | |
| colors: { | |
| text: { |
| // flatten an array of arbitrarily nested arrays of integers | |
| // into a flat array of integers. | |
| // e.g. [[1,2,[3]],4] -> [1,2,3,4] | |
| // | |
| // could be extended to check for objects, etc. but spec says to only | |
| // expect integers. | |
| const flattenIntegers = (array, flattenedArray = []) => { | |
| array.forEach(element => { | |
| if (Array.isArray(element)) { |
| find . -type f -name '*.rb' -exec sed -i '' s/flash/flash.now/ {} + |
| Find adb (e.g. /Applications/android/sdk/platform-tools) | |
| adb root | |
| adb remount | |
| adb push /etc/hosts /system/etc | |
| Now you should be able to use local domain aliases in the simulator. |
Find all files under current directory & open them in split vim windows:
find . -name '*.rb' -exec vim -O {} +
| ######################### | |
| # .gitignore file for Xcode4 / OS X Source projects | |
| # | |
| # Version 2.0 | |
| # For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| # | |
| # 2013 updates: | |
| # - fixed the broken "save personal Schemes" | |
| # | |
| # NB: if you are storing "built" products, this WILL NOT WORK, |