Just a set of tools for Drupal Dev
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
-- number of seconds before rebooting the machine, use -1 to disable | |
local timeToReboot = 300 | |
--time in seconds between updates | |
local sleepTime = 1 | |
-- what level to enchant items at | |
local enchantAtLevel = 30 |
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
config.json | |
reading-image.png |
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
class Game | |
constructor: ()-> | |
draw: ()-> | |
update: ()-> | |
run: (()=> | |
skipTicks = 1000/@fps | |
maxFrameSkip = 10 |
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
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> |
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
class nexter | |
constructor: (values, howMany, @el)-> | |
@setValues.apply this, arguments | |
@render() | |
tpl: (data)-> | |
out = '' | |
out += '<ul class="nexter">' | |
out += '<li>' + value + '</li>' for value in data.values |
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($, doc){ | |
$('#flou1,#flou2,#flou3,#flou4').hide(); | |
$('#kling').click(function() { | |
$('#appz,#vid,#spiele').toggle(); | |
$('#flou2,#flou3,#flou4').toggle(); | |
}); | |
$('#appz').click(function() { | |
$('#kling,#vid,#spiele').toggle(); | |
$('#flou1,#flou3,#flou4').toggle(); |
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
//Require Underscore.js http://underscorejs.org/ | |
/* | |
Large part of this should be done using only CSS, I don't have | |
the power to impose it. | |
*/ | |
var runned = false, refreshSizeRuntime = function(){ | |
strict; | |
if(runned){ |
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
Show hidden characters
{ | |
"auto_complete_commit_on_tab": true, | |
"color_scheme": "Packages/JavaScriptNext - ES6 Syntax/JavaScriptNext.tmTheme", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"fallback_encoding": "UTF-8", | |
"font_face": "Monaco", | |
"font_size": 9, | |
"highlight_line": true, | |
"ignored_packages": |
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 AjaxPolling = function(url, data, interval, settings){ | |
//Optionnal parameters filling. | |
if(typeof settings === 'undefined'){ settings = {};} | |
if(typeof interval === 'undefined'){ interval = null;} | |
//Setting Object attributes. | |
this.url = url; | |
this.settings = $.extend(true, | |
{}, settings, AjaxPolling.prototype._defaultSettings |