- nylas/N1 💌 An extensible desktop mail app built on the modern web.
- black-screen/black-screen A terminal emulator for the 21st century.
- shockone/black-screen A terminal emulator for the 21st century.
- ptmt/react-native-macos React Native for macOS
- docker/kitematic Visual Docker Container Management on Mac & Windows
- kitematic/kitematic Visual Docker Container Management on Mac & Windows
- davezuko/wirk-starter Get started with React, Redux, and React-Router!
- TelescopeJS/Telescope 🔭 An open-source social news app built with Meteor & React
- coryhouse/react-slingshot React + Redux starter kit / boile
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
| // Copyright 2018 Google LLC. | |
| // SPDX-License-Identifier: Apache-2.0 | |
| const { google } = require("googleapis"); | |
| const { Storage } = require("@google-cloud/storage"); | |
| exports.csv2sheet = async (data, context) => { | |
| var fileName = data.name; | |
| // basic check that this is a *.csv file, etc... | |
| if (!fileName.endsWith(".csv")) { |
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
| <!-- using semantic ui to display flags --> | |
| <div class="field"> | |
| <label>Country</label> | |
| <div class="ui fluid search selection dropdown"> | |
| <input type="hidden" name="country" value=""> | |
| <i class="dropdown icon"></i> | |
| <div class="default text">Select Country</div> | |
| <div class="menu"> | |
| <div class="item" data-value="64"><i class="nz flag"></i>New Zealand (+64)</div> | |
| <div class="item" data-value="61"><i class="au flag"></i>Australia (+61)</div> |
- Change your database RDS instance security group to allow your machine to access it.
- Add your ip to the security group to acces the instance via Postgres.
- Make a copy of the database using pg_dump
$ pg_dump -h <public dns> -U <my username> -f <name of dump file .sql> <name of my database>- you will be asked for postgressql password.
- a dump file(.sql) will be created
- Restore that dump file to your local database.
- but you might need to drop the database and create it first
$ psql -U <postgresql username> -d <database name> -f <dump file that you want to restore>
- the database is restored
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
| // transform cropper dataURI output to a Blob which Dropzone accepts | |
| function dataURItoBlob(dataURI) { | |
| var byteString = atob(dataURI.split(',')[1]); | |
| var ab = new ArrayBuffer(byteString.length); | |
| var ia = new Uint8Array(ab); | |
| for (var i = 0; i < byteString.length; i++) { | |
| ia[i] = byteString.charCodeAt(i); | |
| } | |
| return new Blob([ab], { type: 'image/jpeg' }); | |
| } |
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
| group :development, :test do | |
| gem 'capistrano', '~> 3.2.1' | |
| gem 'capistrano-ext', '~> 1.2.1' | |
| gem 'capistrano-rails', '~> 1.1.2' | |
| gem 'rvm1-capistrano3', require: false | |
| gem 'capistrano-file-permissions', '~> 0.1.0' | |
| end |
by alexander white ©
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
| # This is a list of matchers that we use in our RSpec tests at Causes. | |
| # *** CAPYBARA MATCHERS *** | |
| # | |
| # To check for content on a page, don't use `include`, use `have_content`: | |
| response.body.should have_content 'A header' | |
| # As opposed to `include`, this Capybara matcher will only look for content | |
| # (ignoring tags and meta-info etc). And the error message is slightly easier to |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
NewerOlder