Skip to content

Instantly share code, notes, and snippets.

View jimmystridh's full-sized avatar
👾

Jimmy Stridh jimmystridh

👾
View GitHub Profile
@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');

Checkout a new working branch

 git checkout -b <branchname>

Make Changes

 git add
 git commit -m "description of changes"

Sync with remote

@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"
@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 / 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 / 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 / README.md
Last active August 28, 2024 13:06
Förslag på Förbättrad Deploymentprocess för AiA Content sync och SpcsGPT

Förbättrad Deploymentprocess för AiA och SpcsGPT

Introduktion

Förslag på hur förbättra och automatisera deploymentprocessen mellan våra två projekt, AiA och SpcsGPT.

Vad har vi ändrat?

  1. AiA-projektet:
    • Vi har lagt till en ny workflow, release-and-trigger.yml, som automatiskt skapar en GitHub-release för varje ny version av AiA.
  • Den nya workflowen triggar även en deployment i SpcsGPT-projektet.