This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
<?php | |
/** | |
* Command building and execution | |
* | |
* Most methods implement a "fluent interface" for easy method call chaining. | |
* | |
* @see http://pollinimini.net/blog/php-command-runner/ | |
* @author Iván -DrSlump- Montes <[email protected]> | |
* @license BSD |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
Prerequisites:
Software components used:
Leanstack.io list of cloud services
Analytics
#!/bin/bash | |
# -------------------------------- | |
# Totally Simple Web Server (TSWS) | |
# -------------------------------- | |
# | |
# (c) 2015 Dave Fletcher | |
# All Rights Reserved | |
# | |
# This is free and unencumbered software released into the public domain. |
#!/usr/bin/env sh | |
# serve.sh | |
# Modular version: https://gist.github.com/alganet/a22a1373dcee7c175d1e | |
# Expansion on zsh | |
command -v setopt 2>&1 >/dev/null && setopt SH_WORD_SPLIT | |
# POSIX on bash | |
export POSIXLY_CORRECT=1 | |
# Lists files and folders as HTML |
Using WebSockets, React and Reflux together can be a beautiful thing, but the intial setup can be a bit of a pain. The below examples attempt to offer one (arguably enjoyable) way to use these tools together.
This trifect works well if you think of things like so:
this.state
in react should instead live within stores. Stores can listen to other stores as well as to events being fired.import Debug | |
import Graphics.Input as Input | |
import Html | |
import Html (..) | |
import Html.Attributes (..) | |
import Html.Events (..) | |
import Html.Tags (..) | |
import Http | |
import Window |