Skip to content

Instantly share code, notes, and snippets.

View jimmystridh's full-sized avatar
👾

Jimmy Stridh jimmystridh

👾
View GitHub Profile
@jimmystridh
jimmystridh / web.config
Created July 23, 2016 10:17
Azure react hosting
<?xml version="1.0" encoding="utf-8"?>
<!--
This configuration file is required if iisnode is used to run node processes behind
IIS or IIS Express. For more information, visit:
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config
-->
<configuration>
<system.webServer>
@jimmystridh
jimmystridh / VS2015_as_admin.reg
Last active October 27, 2015 10:45
Set Visual Studio 2015 to always open as administrator
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\devenv.exe"="^ RUNASADMIN"
@jimmystridh
jimmystridh / dropbox2yt.user.js
Created March 19, 2014 14:06
UserScript to fetch the embed link from a Dropbox share link, and embed in youtrack
// ==UserScript==
// @name YouTrack Dropbox Embed
// @namespace http://visit.com/
// @version 0.1
// @description inserts an image from a dropbox url
// @match https://youtrack.internal.visit.com/*
// @copyright 2012+, Jimmy
// ==/UserScript==
(function(){
@jimmystridh
jimmystridh / VS2013_as_admin.reg
Created November 11, 2013 09:12
Set Visual Studio 2013 to always open as administrator
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\devenv.exe"="^ RUNASADMIN HIGHDPIAWARE WIN8RTM"

Checkout a new working branch

 git checkout -b <branchname>

Make Changes

 git add
 git commit -m "description of changes"

Sync with remote

@jimmystridh
jimmystridh / hipchat_bot.js
Created October 27, 2011 23:11 — forked from powdahound/hipchat_bot.js
Basic XMPP bot example for HipChat using node.js
// Basic XMPP bot example for HipChat using node.js
// To use:
// 1. Set config variables
// 2. Run `node hipchat_bot.js`
// 3. Send a message like "!weather 94085" in the room with the bot
var request = require('request'); // github.com/mikeal/request
var sys = require('sys');
var util = require('util');