This file contains hidden or 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
[CmdletBinding()] | |
param ( | |
[Parameter()] | |
[string] | |
$user = "mika76" | |
) | |
$URL = "https://api.github.com/users/$user/starred" | |
$PAGE = 0 |
This file contains hidden or 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
<table> | |
<thead> | |
<tr> | |
<th>Payment</th> | |
<th>Issue Date</th> | |
<th>Amount</th> | |
<th>Period</th> | |
</tr> | |
</thead> | |
<tbody> |
This file contains hidden or 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
$('body').click(function(event) { | |
var el, rfs; | |
if ($('body').hasClass('fullscreen')) { | |
el = document; | |
rfs = el.cancelFullScreen || el.webkitCancelFullScreen || el.mozCancelFullScreen; | |
$('body').removeClass('fullscreen'); | |
} else { | |
el = document.documentElement; | |
rfs = el.requestFullScreen || el.webkitRequestFullScreen || el.mozRequestFullScreen; |
This file contains hidden or 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
// Polyfill for rAF | |
window.requestAnimFrame = (function() { | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
function(callback) { | |
window.setTimeout(callback, 1000 / 60); | |
}; | |
})(); |
This file contains hidden or 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
(function() { | |
var throttle = function(type, name, obj) { | |
obj = obj || window; | |
var running = false; | |
var func = function() { | |
if (running) { return; } | |
running = true; | |
requestAnimationFrame(function() { | |
obj.dispatchEvent(new CustomEvent(name)); | |
running = false; |
This file contains hidden or 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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Serilog; | |
using Serilog.Core; | |
using Serilog.Events; | |
using Serilog.Formatting.Json; |
This file contains hidden or 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
# Set environment variables for Visual Studio Command Prompt | |
# Based on: http://stackoverflow.com/questions/2124753/how-i-can-use-powershell-with-the-visual-studio-2010-command-prompt | |
$version=14 | |
pushd "c:\Program Files (x86)\Microsoft Visual Studio ${version}.0\Common7\Tools" | |
cmd /c "vsvars32.bat&set" | | |
foreach { | |
if ($_ -match "=") { | |
$v = $_.split("=") | |
set-item -force -path "ENV:\$($v[0])" -value "$($v[1])" | |
} |
This file contains hidden or 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
--Created by Tanner Gower (triggdev) | |
local colormatrix = {} | |
local function getBackgroundColorMatrix(colors, pw, pt) | |
local matrix = {} | |
local t = 0 | |
local d = 0 | |
for i = 1, 3, 1 do |
This file contains hidden or 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
Perspective Virtual Camera System | |
Licensed under the MIT license, which basically means you can do anything you want with it. |
This file contains hidden or 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
return { | |
aliceblue = {0.94117647058824, 0.97254901960784, 1}, | |
antiquewhite = {0.98039215686275, 0.92156862745098, 0.84313725490196}, | |
aqua = {0, 1, 1}, | |
aquamarine = {0.49803921568627, 1, 0.83137254901961}, | |
azure = {0.94117647058824, 1, 1}, | |
beige = {0.96078431372549, 0.96078431372549, 0.86274509803922}, | |
bisque = {1, 0.89411764705882, 0.76862745098039}, | |
black = {0, 0, 0}, | |
blanchedalmond = {1, 0.92156862745098, 0.80392156862745}, |