http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
phpMyAdmin
| Type | Protocol | Port Range | Destination |
|---|---|---|---|
| SSH | TCP | 22 | 0.0.0.0/0 |
| @-webkit-keyframes pulsate-outer-ring { | |
| 0%, 80%, 100% { | |
| transform: none; | |
| -moz-transform: none; | |
| -webkit-transform: none; | |
| opacity: 0; | |
| } | |
| 25%,30% { | |
| opacity: 1; |
| /* | |
| Get Factorial for specified argument to the function | |
| TODO: | |
| check whether the Num is positive, if not; | |
| use another method. | |
| */ | |
| function getFactorial(myNum) { | |
| var factorial = 1; | |
| for(var i=parseInt(myNum); i>0; --i) { | |
| factorial *= i; |
| /* | |
| *Below Function can find character Locations: | |
| * firstCharacter, lastCharacter, at any Index position | |
| * index Numbers in String | |
| */ | |
| String.prototype.charLocation = function(pos) { | |
| if(pos === 'first' || pos === "f" || pos === "F") { | |
| return this.charAt(0); | |
| } |
http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
phpMyAdmin
| Type | Protocol | Port Range | Destination |
|---|---|---|---|
| SSH | TCP | 22 | 0.0.0.0/0 |
| <?php | |
| class BlogController extends Controller | |
| { | |
| /** | |
| * Posts | |
| * | |
| * @return void | |
| */ | |
| public function showPosts() |
| <script id="jsbin-source-javascript" type="text/javascript"> | |
| /* jshint esnext: true */ | |
| let integerArr = [1, 7, 3, 4]; | |
| const get_products_of_all_ints_except_at_index = (arr) => { | |
| let result = []; | |
| arr.forEach((crr1, index1) => { | |
| let newVal = 1; | |
| arr.forEach((crr2, index2) => { |
| <script id="jsbin-source-javascript" type="text/javascript"> | |
| /* jshint esversion: 6 */ | |
| let windowSize = 200; | |
| const resize_dimension_aspect_ratio = (w, h) => { | |
| let newValues = []; | |
| let aspectRatio = 0; | |
| if (w > h) { | |
| aspectRatio = Math.round((h / w) * windowSize); |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| var Index = React.createClass({ | |
| getInitialState: function () { | |
| return { | |
| lastPress: 0 | |
| } | |
| }, | |
| onPress: function () { | |
| var delta = new Date().getTime() - this.state.lastPress; |
| import React, { Component, PropTypes } from "react"; | |
| class SocketProvider extends Component { | |
| constructor(props, context) { | |
| super(props, context); | |
| this.socket = context.socket; | |
| } | |
| render() { | |
| return ( |