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:
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Created: 2010/12/05 | |
// Updated: 2018/09/12 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
// |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
# Download desktop-resolution wallpapers from http://psiupuxa.com/ | |
# into the current directory. | |
require 'nokogiri' | |
require 'open-uri' | |
require 'openssl' | |
require 'uri' | |
# Disable SSL verification. Ruby SSL cert bundle isn't installed on Windows by default. | |
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE |
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>dw</Title> | |
<Shortcut>dw</Shortcut> | |
<Description>Code snippet for Debug.WriteLine</Description> | |
<Author>Chris Schmich</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> |
sudo echo 192.168.1.42 webserver >> /etc/hosts | |
sudo cat >> ~/.ssh/config <<EOF | |
Host webserver 192.168.1.42 | |
User user1 | |
Hostname webserver | |
IdentityFile ~/.ssh/id_rsa | |
EOF | |
cat ~/.ssh/id_rsa.pub | (ssh user@webserver "mkdir -p .ssh && cat >> ~/.ssh/authorized_keys") | |
git init project | |
cd project |
REM In admin prompt | |
REM Ensure web server/application is listening on all interfaces (0.0.0.0) | |
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=80 connectaddress=10.0.75.2 connectport=80 | |
netsh advfirewall firewall add rule name="App" dir=in action=allow protocol=TCP localport=80 remoteport=80 | |
netsh interface portproxy show v4tov4 | |
netsh advfirewall firewall show rule "App" | |
netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=80 | |
netsh advfirewall firewall del rule name="App" |