Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Alan Costa alancapc

🎯
Focusing
Block or report user

Report or block alancapc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@alancapc
alancapc / scopes.txt
Last active Aug 29, 2015 — forked from iambibhas/scopes.txt
Sublime Text 2: Snippet scopes
View scopes.txt
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
CoffeeScript: source.coffee
@davidzchen
davidzchen / sample-google.c
Last active Aug 31, 2019
Sample C code using the Google C++ style guide
View sample-google.c
// Sample file using the Google C++ coding standard.
//
// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
//
// General rules:
// - Indents are two spaces. No tabs should be used anywhere.
// - Each line must be at most 80 characters long.
// - Comments can be // or /* but // is most commonly used.
// - File names should be lower_case.c or lower-case.c
//
@pid
pid / keystroke-toggle-linenumbers-settings.json
Created Oct 21, 2013
Sublime Text keystroke toggle line numbers show/hide
View keystroke-toggle-linenumbers-settings.json
{
"keys": ["ctrl+alt+l"],
"command": "toggle_setting",
"args": {
"setting": "line_numbers"
}
@PierreMage
PierreMage / PowerShell-profile.ps1
Last active Sep 16, 2019
Make your Windows command line better with doskey
View PowerShell-profile.ps1
# http://technet.microsoft.com/en-us/library/ee692685.aspx
# F7 = history
# Alt+F7 = history -c
# F8 = Ctrl+R
Set-Location C:
# Easier navigation
Set-Alias o start
function oo {start .}
@steve-jansen
steve-jansen / Startup.Cmd.cmd
Created Mar 8, 2013
A Command Prompt auto-run script to injet DOSKEY macros into the shell from a text file, change the initial working directory to a SUBST'd drive letter, update the PATH to include SysInternal utilities, and log all Command Prompt launches to a history file
View Startup.Cmd.cmd
:: Name: Startup.Cmd.cmd
:: Purpose: Initializes a Windows command prompt shell
:: Author: stevejansen_github@mac.com
:: Revision: April 2012
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
:: self-install this script, but, don't force an overwrite if an auto run script is already configured
IF /I "%~1"=="/install" (
You can’t perform that action at this time.