Skip to content

Instantly share code, notes, and snippets.

@junxy
junxy / GIF-Screencast-OSX.md
Last active August 29, 2015 14:05 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@junxy
junxy / HtmlHelpers.cs
Last active August 29, 2015 13:56 — forked from ChrisWay/HtmlHelpers.cs
bootstrap nav active link setting asp.net mvc htmlhelper ref: http://chrisondotnet.com/2012/08/setting-active-link-twitter-bootstrap-navbar-aspnet-mvc/
using System.Web.Mvc;
using System.Web.Mvc.Html;
using System.Linq;
namespace Web.Extensions
{
public static class HtmlHelpers
{
public static MvcHtmlString MenuLink(this HtmlHelper htmlHelper, string linkText, string actionName,
string controllerName, bool onlyMatchCt = false, string[] relatedCts = null)
@junxy
junxy / mono.rb
Last active January 4, 2016 09:09 — forked from pallih/mono.rb
brew install mono 3.2.6
# http://www.mono-project.com/Compiling_Mono_on_OSX
# Version 3.2.6
require 'formula'
class Mono < Formula
url 'http://download.mono-project.com/sources/mono/mono-3.2.6.tar.bz2'
sha1 '27a08194f21ab853c669f42a1435e3a6fc326b8b'
#url 'http://download.mono-project.com/sources/mono/mono-2.10.9.tar.bz2'
#sha1 '1a6e8c5a0c3d88d87982259aa04402e028a283de'