Skip to content

Instantly share code, notes, and snippets.

View omniscient's full-sized avatar

Francois Germain omniscient

View GitHub Profile
@omniscient
omniscient / boxstarter-win2012server.ps1
Last active April 14, 2016 03:01
Win2012 boxstarter script
######## Boxstarter script - based on https://gist.github.com/omniscient/dd373c05d9e5c76d193e
###############
#### notes ####
###############
### running remotely on VM fails on Configuring CredSSP settings
## check http://blogs.technet.com/b/heyscriptingguy/archive/2012/12/30/understanding-powershell-remote-management.aspx
### running locally on VM
@omniscient
omniscient / app.html
Created August 2, 2016 14:41 — forked from jdanyow/app.html
Aurelia capture binding command
<template>
<style>
.active {
border-color: blue;
}
</style>
<form blur.capture="currentFieldSet = null"
focus.capture="currentFieldSet = $event.target.closest('fieldset')">
<h1>Order Pizza:</h1>
@omniscient
omniscient / boxstarter-dev.ps1
Last active August 12, 2016 06:15
My dev box setup
######## Boxstarter script - based on https://gist.github.com/philchuang/20bbdacffbf9ecc8cc3a#file-phil-dev-vm-boxstarter-package-ps1 ########
###############
#### notes ####
###############
### running remotely on VM fails on Configuring CredSSP settings
## check http://blogs.technet.com/b/heyscriptingguy/archive/2012/12/30/understanding-powershell-remote-management.aspx
### running locally on VM
@omniscient
omniscient / karma.conf.js
Created April 10, 2017 19:34
Custom config for tape
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: "",
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ["requirejs"],
@omniscient
omniscient / clean-up-boot-partition-ubuntu.md
Created February 8, 2018 15:01 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r 
@omniscient
omniscient / program.cs
Created June 7, 2016 18:11
C# Citrix StoreFront WebAPI sample (Authentication, Application List, ICA File)
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using Newtonsoft.Json.Linq;
using RestSharp;
namespace ConsoleApplication3