aws iam create-account-alias --profile default --account-alias your-alias-name-for-account
aws-nuke -c nuke-config.yml --profile default
aws-nuke -c nuke-config.yml --profile default --no-dry-run
Angular Source Code
This file contains 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
import React from 'react'; | |
import {NavLink, Link} from 'react-router-dom'; | |
import {withRouter} from 'react-router-dom'; | |
import {connect} from 'react-redux'; | |
// first argument always props for functional comp | |
// props are immutable | |
function Header(props) { | |
This file contains 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
// Cart.tsx | |
import React from 'react'; | |
import { CartDataItem } from '../models/CartItem'; | |
import CartList from './CartList'; | |
import CartSummary from './CartSummary'; | |
interface CartProps { | |
} |
This file contains 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
@charset "UTF-8"; | |
/** | |
* 1. Set default font family to sans-serif. | |
* 2. Prevent iOS text size adjust after orientation change, without disabling | |
* user zoom. | |
*/ | |
html { | |
font-family: sans-serif; | |
/* 1 */ | |
-ms-text-size-adjust: 100%; |
This file contains 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
load('api_timer.js'); | |
load('api_uart.js'); | |
load('api_sys.js'); | |
load('api_gpio.js'); | |
let receiveBuffer = { | |
rxAcc: '' | |
}; |
This file contains 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
import React, { Component, PropTypes } from 'react' | |
import { | |
CameraRoll, | |
Image, | |
ScrollView, | |
StyleSheet, | |
TouchableHighlight, | |
View, | |
} from 'react-native'; |
This file contains 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() { | |
var childProcess = require("child_process"); | |
var oldSpawn = childProcess.spawn; | |
function mySpawn() { | |
console.log('spawn called'); | |
console.log(arguments); | |
var result = oldSpawn.apply(this, arguments); | |
return result; | |
} | |
childProcess.spawn = mySpawn; |
NewerOlder