Skip to content

Instantly share code, notes, and snippets.

View michalbe's full-sized avatar

Michał Budzyński michalbe

View GitHub Profile
<!DOCTYPE HTML>
<html>
<head>
<style>
div {
background-color: #f0f;
width: 300px;
height: 300px;
}
</style>
2
<script src="bm.js"></script>
<script>
var mb = messageBroadcaster;
mb.on('elo', function(data){
document.body.innerHTML += data;
});
</script>
#!/bin/bash
mainBranch=$(git rev-parse --abbrev-ref HEAD);
repoName=$(basename $(git rev-parse --show-toplevel));
commitPrefix=$(echo '['$(echo $repoName | tr '[:lower:]' '[:upper:]')']');
#echo $mainBranch;
#echo $tempBranch;
if [[ $repoName == "tv" ]]; then
[appmaker] sudo npm install 14:42:29 ☁ master ☀
Password:
npm WARN package.json moniker@0.1.2 No repository field.
npm http GET https://registry.npmjs.org/jsdom
npm http 304 https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/nwmatcher
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/cssom
@michalbe
michalbe / gist:1446647
Created December 8, 2011 10:22 — forked from caillou/gist:1446583
Translation for relativeDate of moment.js
{
de : {
today: "heute um %time",
tomorrow: 'morgen um %time',
next: '%weekday um %time',
yesterday: 'gestern um %time',
last: 'letzten %weekday um %time'
},
en: {
today: 'Today at %time',
@michalbe
michalbe / gameengines.md
Created May 5, 2011 11:33 — forked from bebraw/gameengines.md
List of JS game engines

HTML5 / Javascript Game Engines

Name Latest Release Size (KB) License Type Unit Tests Docs Repository Notes
Akihabara 1.3 GPL2/MIT Classic Repro github Intended for making classic arcade-style games in JS+HTML5
Aves Commercial Obsolete. Company bought by Zynga. E3 2010 Aves Engine Prototype "Suburban World"
bdge github Badly Design Game Engine, an HTML5 Javascript game engine Demo.
Canvex FPS An experimental browser-based FPS game engine in the HTML tag. Created in 2006
[C
@michalbe
michalbe / gameengines.md
Created May 5, 2011 10:49 — forked from bebraw/gameengines.md
List of JS game engines

HTML5 / Javascript Game Engines

Name Latest Release Size (KB) License Type Unit Tests Docs Repository Notes
Akihabara 1.3 GPL2/MIT Classic Repro github Intended for making classic arcade-style games in JS+HTML5
Aves Commercial Obsolete. Company bought by Zynga. E3 2010 Aves Engine Prototype "Suburban World"
bdge github Badly Design Game Engine, an HTML5 Javascript game engine Demo.
Canvex FPS An experimental browser-based FPS game engine in the HTML tag. Created in 2006
[C