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:
#!/usr/bin/env ruby | |
# rubycocoa | |
require 'osx/cocoa' | |
include OSX | |
OSX.require_framework 'ScriptingBridge' | |
class GraffleConverter | |
def initialize | |
@graffle = SBApplication.applicationWithBundleIdentifier_("com.omnigroup.OmniGraffle") |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
#!/usr/bin/env bash | |
echo ">>> Starting Install Script" | |
# Update | |
sudo apt-get update | |
# Install MySQL without prompt | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root' | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root' |
/* ======================================================================== | |
* Bootstrap: scrollspy.js v3.1.1 | |
* http://getbootstrap.com/javascript/#scrollspy | |
* ======================================================================== | |
* Copyright 2011-2014 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
* ======================================================================== */ | |
+function ($) { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
var detectInjection = function(knownHostsArray) { | |
var requests = window.performance.getEntriesByType("resource"); | |
var unknownHosts = []; | |
var knownHosts = {}; | |
var foundHosts = {}; | |
for (var knownHost in knownHostsArray) { | |
knownHosts[knownHostsArray[knownHost]] = true; | |
} |
http://forked.yannick.io/ |
<script> | |
// Based on code from https://stackoverflow.com/questions/59629947/how-do-i-load-an-external-js-library-in-svelte-sapper | |
import { onMount, createEventDispatcher } from "svelte"; | |
const dispatch = createEventDispatcher(); | |
export let src; | |
export let libraryDetectionObject; | |
let script; | |
onMount(() => { |