This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
(function() { | |
angular.module('app.services').service('platformService', [ | |
function() { | |
var IONIC_APP_ID = 'xxx00xxx'; | |
this.isIonicWebView = function() { | |
return window.location.href.indexOf('com.ionic.viewapp') > -1 || window.location.href.indexOf(IONIC_APP_ID) > -1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ipModule = (function() { | |
// Private stuff | |
var my = {}; | |
var options = { | |
hostname: 'jsonip.com' | |
}; | |
// Get the external IP address of this server using the JSON IP server | |
my.getIP = function(cb) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
IlMerges an assembly with its dependencies. Depends on nuget being installed in the PATH. | |
.PARAMETER targetProject | |
The name of the project to be ilmerged | |
.PARAMETER outputAssembly | |
The name of the ilmerged assembly when it is created |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript==// | |
// @name Brewing Company Site Auto Age Gate | |
// @namespace https://gist.github.com/2045030 | |
// @description Automatically bypass brewing company website age gates | |
// @include http://*newbelgium.com* | |
// @include http://*stonebrew.com* | |
// @include http://*boulevard.com* | |
// @include http://*sierranevada.com* | |
// @include http://*samueladams.com* | |
// @include http://*lagunitas.com* |