#Adding an existing project to GitHub using the command line
Simple steps to add existing project to Github.
In Terminal, change the current working directory to your local project.
##2. Initialize the local directory as a Git repository.
git init
| import AWS from 'aws-sdk' | |
| import Buffer from 'buffer' | |
| AWS.config.setPromisesDependency(require('bluebird')) | |
| ;(async () => { | |
| const spaces = new AWS.S3({ | |
| // {region}.digitaloceanspaces.com ex: nyc3.digitaloceanspaces.com |
| // we have an array of objects, we want to remove one object using only the id property | |
| const apps = [{id:34,name:'My App',another:'thing'},{id:37,name:'My New App',another:'things'}]; | |
| // get index of object with id of 37 | |
| const removeIndex = apps.findIndex( item => item.id === 37 ); | |
| // remove object | |
| apps.splice( removeIndex, 1 ); | |
| [ | |
| { | |
| "value": -12, | |
| "text": "(GMT -12:00) Eniwetok, Kwajalein" | |
| }, | |
| { | |
| "value": -11, | |
| "text": "(GMT -11:00) Midway Island, Samoa" | |
| }, | |
| { |
| // Copyright 2015 - Optmyzr Inc. | |
| // All rights reserved | |
| // For an Enhanced Script version of this script which works at the MCC level and is easier to modify, visit www.optmyzr.com | |
| function main() { | |
| var SETTINGS = new Object(); | |
| // --- CHANGE THESE SETTINGS |
| import React from 'react'; | |
| let lastScrollY = 0; | |
| let ticking = false; | |
| class App extends React.Component { | |
| componentDidMount() { | |
| window.addEventListener('scroll', this.handleScroll, true); | |
| } |
| #Pulled from Chromium at: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/devtools/front_end/toolbox/OverridesUI.js&q=WebInspector.OverridesUI._phones%20file:OverridesUI.js&sq=package:chromium&type=cs&l=310 | |
| #Phones | |
| Define_phones = [ | |
| {deviceName: "Apple iPhone 3GS", width: 320, height: 480, deviceScaleFactor: 1, userAgent: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5", touch: true, mobile: true}, | |
| {deviceName: "Apple iPhone 4", width: 320, height: 480, deviceScaleFactor: 2, userAgent: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5", touch: true, mobile: true}, | |
| {deviceName: "Apple iPhone 5", width: 320, height: 568, deviceScaleFactor: 2, userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Versi |
| var pdf = new jsPDF(); | |
| pdf.text(0, 0, 'Hello World!'); | |
| var pdfBase64 = pdf.output('datauristring'); | |
| window.plugin.email.open({ | |
| to: ['to@email.com'], | |
| subject: 'New PDF!', | |
| body: 'Hi there, here is that new PDF you wanted!', | |
| isHTML: false, | |
| attachments: [pdfBase64] |
| <http://sailortalk.podOmatic.com/rss2.xml> | |
| HTTP://www.knient.com/CAL/CAL-Podcast/CAL-Podcast.xml | |
| Http://feeds.feedburner.com/fridgeandhbomb | |
| Http://feeds.feedburner.com/wfodicks | |
| Http://ravenc-taouf.podomatic.com/rss2.xml | |
| Http://www.calvaryonline.org/podcasts/podcast.xml | |
| Http://www.changkhui.com/XML/teemateepai.xml | |
| httP://dtfreunde.podcaster.de/Deutsches_Theater.rss | |
| http://-myantioch.sermon.tv/rss/main |