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
# Apache Rewrite Rules | |
<IfModule mod_rewrite.c> | |
Options +FollowSymLinks | |
RewriteEngine On | |
RewriteBase / | |
#RewriteLog /var/rewrite.log RewriteLogLevel 9 | |
# Redirect to URL without extension. (remove .php) | |
RewriteCond %{THE_REQUEST} ^[A-Z]+\s.+\.php\sHTTP/.+ | |
RewriteRule ^(.+)\.php $1 [R=301,L] |
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
sudo pacman -Syy | |
sudo pacman -S --noconfirm python2 wget git make gcc vim | |
sudo mv /usr/bin/python /usr/bin/python-BAK | |
sudo ln -s /usr/bin/python2 /usr/bin/python | |
source <(curl -s https://gist.githubusercontent.com/SgtPooki/7667376/raw/node-and-npm-in-30-seconds.sh) |
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
@echo off | |
REM loopNum defaults to 1, caps at 10. | |
REM see https://gist.github.com/SgtPooki/99e12f32a874aa7dd3b2 | |
SET loopNum=1 | |
If not "%~1"=="" ( | |
SET loopNum=%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
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt-get update | |
sudo apt-get install -y git curl python-software-properties libcurl3 libcurl3-gnutls libcurl4-openssl-dev | |
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
Show hidden characters
{ | |
// -------------------------------------------------------------------- | |
// JSHint Configuration, Strict Edition | |
// -------------------------------------------------------------------- | |
// | |
// This is a options template for [JSHint][1], using [JSHint example][2] | |
// and [Ory Band's example][3] as basis and setting config values to | |
// be most strict: | |
// | |
// * set all enforcing options to true |
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
[user] | |
name = Russell Dempsey | |
email = rdempsey@nerdery.com | |
[core] | |
autocrlf = false | |
editor = vim | |
[push] | |
default = current |
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
Update-ExecutionPolicy Unrestricted | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
Disable-InternetExplorerESC | |
Disable-UAC | |
Set-TaskbarSmall | |
### development | |
## languages |
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
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2015-02-20 18:12:53" build="140707"> | |
<value name="ColorTable00" type="dword" data="00222827"/> | |
<value name="ColorTable01" type="dword" data="009e5401"/> | |
<value name="ColorTable02" type="dword" data="0004aa74"/> | |
<value name="ColorTable03" type="dword" data="00a6831a"/> | |
<value name="ColorTable04" type="dword" data="003403a7"/> | |
<value name="ColorTable05" type="dword" data="009c5689"/> |
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 recursiveBezier = function recursiveBezier(pointArray, t) { | |
var P1; | |
var P2; | |
var inverse; | |
var length = pointArray.length; | |
if (length === 1) { | |
return pointArray[0]; | |
} else { | |
P1 = recursiveBezier(pointArray.slice(0,length-1), t) | |
P2 = recursiveBezier(pointArray.slice(1), t); |
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
(function() { | |
'use strict'; | |
var $toolTip = $('<div/>'); | |
$toolTip.addClass('customTooltip-rsd') | |
.css({ | |
position: 'absolute', | |
display: 'inline-block', | |
'font-size': '22px', | |
backgroundColor: '#000', | |
color: '#ffffff', |
OlderNewer