Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
import React from "react"; | |
import { render } from "react-dom"; | |
const ParentComponent = React.createClass({ | |
getDefaultProps: function() { | |
console.log("ParentComponent - getDefaultProps"); | |
}, | |
getInitialState: function() { | |
console.log("ParentComponent - getInitialState"); | |
return { text: "" }; |
// @flow | |
import { | |
FLUSH, | |
PAUSE, | |
PERSIST, | |
PURGE, | |
REHYDRATE, | |
DEFAULT_VERSION | |
} from 'redux-persist' |
import Foundation | |
func fibonacci (until n: Int) -> [Int] { | |
var num1 = 0 | |
var num2 = 1 | |
var fibonacciNumber = [Int]() | |
for _ in 0...n { | |
let temp = num1 | |
num1 = num1 + num2 | |
num2 = temp |
// | |
// AppDelegate.swift | |
// ReactNativeSwift | |
// | |
// Created by Gabriel Lai on 26/8/18. | |
// Copyright © 2018 Facebook. All rights reserved. | |
// | |
import UIKit |
// | |
// AppDelegate.swift | |
// ReactNativeSwift | |
// | |
// Created by Gabriel Lai on 26/8/18. | |
// Copyright © 2018 Facebook. All rights reserved. | |
// | |
import UIKit |
// | |
// Use this file to import your target's public headers that you would like to expose to Swift. | |
// | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> |
// | |
// main.swift | |
// ReactNativeSwift | |
// | |
// Created by Gabriel Lai on 25/8/18. | |
// Copyright © 2018 Facebook. All rights reserved. | |
// | |
import UIKit |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
// | |
// Use this file to import your target's public headers that you would like to expose to Swift. | |
// | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> | |
#import <CodePush/CodePush.h> |
// | |
// AppDelegate.swift | |
// ReactNativeSwift | |
// | |
// Created by Gabriel Lai on 26/8/18. | |
// Copyright © 2018 Facebook. All rights reserved. | |
// | |
import UIKit |