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
| // following along https://medium.com/@luijar/kliesli-compositions-in-javascript-7e1a7218f0c4 | |
| const R = require('ramda') | |
| const Maybe = require('ramda-fantasy').Maybe | |
| // parse JSON string into object | |
| // parse :: String -> Object | Null | |
| function parse(s) { | |
| try { | |
| return JSON.parse(s) | |
| } catch (e) { |
| const path = require('path'); | |
| const webpack = require('webpack'); | |
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| const PreloadWebpackPlugin = require('preload-webpack-plugin'); | |
| const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin'); | |
| const StyleExtHtmlWebpackPlugin = require('style-ext-html-webpack-plugin'); | |
| const CompressionPlugin = require('compression-webpack-plugin'); | |
| const autoprefixer = require('autoprefixer'); |
| const path = require('path'); | |
| const webpack = require('webpack'); | |
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
| const PreloadWebpackPlugin = require('preload-webpack-plugin'); | |
| const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin'); | |
| const StyleExtHtmlWebpackPlugin = require('style-ext-html-webpack-plugin'); | |
| const CompressionPlugin = require('compression-webpack-plugin'); | |
| const autoprefixer = require('autoprefixer'); |
| import Firebase from 'firebase'; | |
| const firebaseUrl = 'https://spatially.firebaseio.com/clients'; | |
| const timeOffsetUrl = 'https://spatially.firebaseio.com/.info/serverTimeOffset'; | |
| let ref = new Firebase(firebaseUrl); | |
| let timeRef = new Firebase(timeOffsetUrl); | |
| let cachedUid; | |
| export default ({dispatch, getState}) => next => action => { | |
| // The first action rehydrates, so now we've probably got the uid now |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
| import StartApp | |
| import Http | |
| import Markdown | |
| import Html exposing (Html, div, button, text) | |
| import Html.Events exposing (onClick) | |
| import Task exposing (Task) | |
| import Effects exposing (Effects) | |
| -- the URL of the README.md that we desire | |
| readmeUrl : String |
| var spawn = require('child_process').spawn; | |
| var Stream = require('stream'); | |
| /** | |
| * crops and resizes images to our desired size | |
| * @param {Stream} streamIn in stream containing the raw image | |
| * @return {Stream} | |
| */ | |
| exports.cropImage = function(streamIn){ |
| package net.fkasoft.wowzamod; | |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.text.SimpleDateFormat; | |
| import java.util.Date; | |
| import java.util.concurrent.CountDownLatch; | |
| import java.util.concurrent.Executors; | |
| import java.util.concurrent.ScheduledExecutorService; |