Skip to content

Instantly share code, notes, and snippets.

View ThatsJustCheesy's full-sized avatar

Ian Gregory ThatsJustCheesy

View GitHub Profile
@jeremyhoughton
jeremyhoughton / ExcelDataReaderExample.fsx
Created February 9, 2016 02:47
Example of Reading an Excel Workbook using ExcelDataReader
#r "../packages/ExcelDataReader/lib/net45/Excel.dll"
#r "../packages/SharpZipLib/lib/20/ICSharpCode.SharpZipLib.dll"
open Excel
open System.IO
open System.Data
open System.Xml
let extractData fileName sheetName =
use stream = File.Open(fileName, FileMode.Open, FileAccess.Read)
@rponte
rponte / get-latest-tag-on-git.sh
Last active December 9, 2024 00:27
Getting latest tag on git repository
# The command finds the most recent tag that is reachable from a commit.
# If the tag points to the commit, then only the tag is shown.
# Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object
# and the abbreviated object name of the most recent commit.
git describe
# With --abbrev set to 0, the command can be used to find the closest tagname without any suffix:
git describe --abbrev=0
# other examples
@madmax
madmax / gist:1474059
Created December 13, 2011 21:54
changing font in textmate 2
1. Open Bundle editor
2. Select Themes -> Themes -> your theme
3. add to settings
fontName = 'Monaco';
fontSize = '12px';
or what you want, enjoy :)