Skip to content

Instantly share code, notes, and snippets.

View vad710's full-sized avatar
🎯
Focusing

Vinny vad710

🎯
Focusing
View GitHub Profile
@vad710
vad710 / DefaultKeyBinding.dict
Created November 30, 2021 23:16
Keybindings to make Mac home/end work more like on PC. Put into the `~/Library/KeyBindings` directory then reboot.
{
"\UF729" = moveToBeginningOfParagraph:; // home
"\UF72B" = moveToEndOfParagraph:; // end
"$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home
"$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end
"^\UF729" = moveToBeginningOfDocument:; // ctrl-home
"^\UF72B" = moveToEndOfDocument:; // ctrl-end
"^$\UF729" = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home
"^$\UF72B" = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end
"^\UF702" = (moveWordLeft:); // ctrl-left
@vad710
vad710 / .hyper.js
Last active October 2, 2019 18:02
Sync settings for Hyper
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
opacity: 0.8,
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
@vad710
vad710 / AnchorTargetListener.cs
Last active March 12, 2022 16:49
Class that takes the content from a Vuforia Image target and puts it inside of a ground plane stage
using UnityEngine;
using Vuforia;
public class AnchorTargetListener : MonoBehaviour, ITrackableEventHandler
{
//The Goal of this class is to automatically Initiate a Ground Plane when the Image Target is detected
// Use this classs in combination with the PlaceContentFromImageTarget if you want to move the content
// of an image target onto the Ground Plane Stage
@vad710
vad710 / loader.js
Created October 22, 2015 15:11 — forked from cyu/loader.js
Load view/update functions from .js files and loads them to CouchDB.
/**
* Script to Load Views into Database
* Originaly from: http://blog.sourcebender.com/2010/07/28/loading-couchdb-views.html
*/
var fs = require('fs');
var http = require('http');
var path = require('path');
var console = require('sys');
var url = require('url');
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
@vad710
vad710 / InstallDevTools
Last active December 3, 2016 02:12
Chocolatey Packages for Dev Machine
START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/vad710/5bad508f9e33988e9dc9/raw/6a7537311434ed9bdf56c7597340f938cea234a5/Setup.ps1