- easy.js - Asynchronous A* pathfinding API written in Javascript: http://www.easystarjs.com/
- AStar path finding algorithm tutorial: http://www.policyalmanac.org/games/aStarTutorial.htm
- Greensock GSAP (Animation Platform): http://www.greensock.com/gsap-js/
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
angular.module('services', []) | |
.factory('State', function ($rootScope) { | |
'use strict'; | |
var state; | |
var broadcast = function (state) { | |
$rootScope.$broadcast('State.Update', state); | |
}; | |
var update = function (newState) { |
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
/* | |
* See it in action here: http://jsfiddle.net/seydoggy/6s92p51a/ | |
*/ | |
.panel-table { | |
display:table; | |
} | |
.panel-table > .panel-heading { | |
display: table-header-group; | |
background: transparent; | |
} |
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
/* | |
* To see in action, go to http://jsfiddle.net/seydoggy/9jv5e8d1/ | |
*/ | |
.panel-horizontal { | |
display:table; | |
width:100%; | |
} | |
.panel-horizontal > .panel-heading, .panel.panel-horizontal > .panel-body, .panel.panel-horizontal > .panel-footer { | |
display:table-cell; | |
} |
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
.CFUserTextEncoding | |
.DS_Store | |
.Trash | |
.__tmp_go.sh | |
.android | |
.bash_history | |
.bash_profile | |
.bashrc | |
.be-completion.sh | |
.bower |
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
var fullscreenTargets = (function (launchElement, exitElement) { | |
launchElement.on('click', function(event) { | |
event.preventDefault(); | |
if(document.documentElement.requestFullscreen) { | |
document.documentElement.requestFullscreen(); | |
} else if(document.documentElement.mozRequestFullScreen) { | |
document.documentElement.mozRequestFullScreen(); | |
} else if(document.documentElement.webkitRequestFullscreen) { | |
document.documentElement.webkitRequestFullscreen(); | |
} else if(document.documentElement.msRequestFullscreen) { |
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
START "XAMPP Control" C:\xampp\xampp-control.exe | |
START "Foot Sizer Service" C:\Users\pc\Documents\fgl_footsizer_csharp\FootSizerService\bin\Release\FootSizerService.exe | |
START "Firefox" firefox.exe |
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
Gleaned from [krzysztofantczak](https://github.com/krzysztofantczak) in [this thread](https://github.com/yeoman/yeoman/issues/994). I'm just storing it here to play with later. | |
For people who want to use this combination right now, i've created a simple solution which i'm using: | |
1. sails new foo-project; | |
2. cd foo-project; | |
3. yo webapp (for example, note that you will have a conflict between sails and yo package.json, You can remove the sails one, and just add sails dependency into package.json from yeoman) | |
4. npm install && bower install | |
5. change your target dist directory into 'public' instead of '.tmp' | |
6. curl http://pastebin.com/raw.php?i=LrphmN9D > proxy.js |
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 firstUnique (str) { | |
var hash = {}; | |
for (var i = 0; i < str.length; i++) { | |
hash[str[i]] = hash[str[i]] + 1 || 1; | |
} | |
for (var i = 0; i < str.length; i++) { | |
if (hash[str[i]] === 1) { | |
return str[i]; | |
} | |
} |
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
sudo apt-get install liblua5.1-dev | |
sudo mkdir /usr/include/lua5.1/include/ | |
sudo cp /usr/include/lua5.1/* /usr/include/lua5.1/include/ | |
sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/local/lib/liblua.so | |
hg clone https://code.google.com/p/vim/ | |
cd vim | |
./configure --with-features=huge \ | |
--enable-perlinterp \ | |
--enable-rubyinterp \ | |
--enable-pythoninterp=yes \ |