Skip to content

Instantly share code, notes, and snippets.

View tig's full-sized avatar

Tig tig

View GitHub Profile
@tig
tig / visual-style.json
Last active January 10, 2023 03:15
VisualStyle schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"ColorSchemes": {
"description": "A list of ColorSchemes. Each ColorScheme specifies a set of Attributes (Foreground & Background).",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/ColorScheme"
}
@tig
tig / kill.ps1
Last active September 27, 2020 16:46
OCGV command to kill process in PowerShell
gps | ocgv -OutputMode Single | Stop-Process -Id {$_.Id}
@tig
tig / F7History.ps1
Last active April 16, 2024 16:07
Use F7 as "Show Command History" in Powershell
# See https://github.com/gui-cs/F7Hisoty which replaces this
@tig
tig / cloudSettings
Last active November 19, 2020 13:17
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-11-19T13:17:35.971Z","extensionVersion":"v3.4.3"}
@tig
tig / keybase.md
Created March 28, 2019 05:51
keybase.md

Keybase proof

I hereby claim:

  • I am tig on github.
  • I am ckindel (https://keybase.io/ckindel) on keybase.
  • I have a public key ASBuSPUUuLZ_Wj124tflbI10VQ4BTU4m-d1GRp0eIkcYCQo

To claim this, I am signing this object:

@tig
tig / gist:4193759
Created December 3, 2012 09:06
wp8 pivot prob
<phone:PhoneApplicationPage
x:Class="Premise.View.Cameras"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
@tig
tig / gist:4193590
Created December 3, 2012 08:14
wp8 app crash
// App exits on call to client.UploadStringAsync
// The ClientUploadStringCompleted handler is never called.
public event EventHandler<LoginCompletedEventArgs> LoginCompleted;
public void OnLoginCompleted(LoginCompletedEventArgs e)
{
var handler = LoginCompleted;
if (handler != null) handler(this, e);
}
@tig
tig / itsybits.c
Created August 27, 2012 19:36
ItsyBitsy window support module (itsybits)
/////////////////////////////////////////////////////////////////////////
//
// Project: ItsyBitsy window support module
// Module: itsybits.c
//
//
// ItsyBitsy is a support module that allows you to create windows
// that look and act very much like a popup window witha system
// menu and caption bar, except everything is scaled to about 2/3
// scale.
@tig
tig / amelia.lessc.css
Created June 22, 2012 00:47
Amelia Bootswatch from lessc
@import url('https://fonts.googleapis.com/css?family=Lobster');
@import url('https://fonts.googleapis.com/css?family=Cabin:400,700');
/*!
* Bootstrap v2.0.4
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
@tig
tig / amelia.dotless.css
Created June 22, 2012 00:46
Amelia Bootswatch generated with dotless
/*!
* Bootstrap v2.0.4
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/