and some code
if (true) {
}
and ... thats it!
#ajaxBusy { | |
display:none; | |
position: fixed; | |
z-index:999999; | |
height:99%; | |
width:99%; | |
background: url(../img/loading-icon-trans.gif) no-repeat 50% 50%; | |
} |
// Basic XMPP bot example for HipChat using node.js | |
// To use: | |
// 1. Set config variables | |
// 2. Run `node hipchat_bot.js` | |
// 3. Send a message like "!weather 94085" in the room with the bot | |
var request = require('request'); // github.com/mikeal/request | |
var sys = require('sys'); | |
var util = require('util'); |
/* Tune gmail chat pop-up. Press pop-out | |
* Shift + Ctrl + J and Ctrl + V this code to console | |
*/ | |
var output = document.getElementsByClassName("nH ko")[0].style; | |
var input = document.getElementsByClassName("nH")[24].style; | |
var fStyle = function (style) { | |
style.color = "#61E722"; | |
style.backgroundColor = "black"; |
/* | |
Ext.JS 3 simple grid resizer | |
@number - number. please pay attention that index starts from 0 | |
@width - number. | |
TODO more specific selector | |
*/ | |
function resizeColumn(number, width) { | |
var column = document.querySelectorAll('.x-grid3-td-' + number); | |
for (var i = 0; i < column.length; i++) { |
/** | |
* Get an array containing the text nodes within a DOM node. | |
* | |
* From http://stackoverflow.com/a/4399718/843621 | |
* | |
* For example get all text nodes from <body> | |
* | |
* var body = document.getElementsByTagName('body')[0]; | |
* | |
* getTextNodesIn(body); |
!!! | |
%html{lang: "en"} | |
%head | |
%meta{charset: "utf-8"}/ | |
%title Hello World from HTML by Koding | |
%meta{content: "width=device-width,initial-scale=1", name: "viewport"}/ | |
%link{href: "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800", rel: "stylesheet", type: "text/css"}/ | |
%body.php | |
#container | |
#main.hellobox{role: "main"} |
h1 { | |
color: red; | |
} |
#!/usr/bin/python | |
# # # # # # # # # # # # # # # # # # # # | |
# # | |
# Script was made by Dennis # | |
# http://stefansundin.com/blog/452 # | |
# http://pastebin.com/8cw9LHFg # | |
# # | |
# # # # # # # # # # # # # # # # # # # # | |