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
// Requires prototype.js | |
function edit(action, obj) { | |
Element.hide(obj); | |
var textarea ='<div id="' + obj.id + '_editor"><input type="text" id="' + obj.id + '_edit" name="' + obj.id + '" value="' + obj.innerHTML + '" size="40">'; | |
var button = '<input id="' + obj.id + '_save" type="button" value="SAVE" /> <input id="' + obj.id + '_cancel" type="button" value="CANCEL" /></div>'; |
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
#display { | |
.landscape{ } | |
.portrait{ } | |
} |
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> | |
<html> | |
<head> | |
<title></title> | |
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> | |
<link href="http://vioms.ru/stylesheets/960/reset.css?1288335257" media="screen" rel="stylesheet" type="text/css" /> | |
<link href="http://vioms.ru/stylesheets/960/text.css?1288335257" media="screen" rel="stylesheet" type="text/css" /> | |
<link href="http://vioms.ru/stylesheets/960/960.css?1288335256" media="screen" rel="stylesheet" type="text/css" /> | |
<link href="/stylesheets/formtastic.css?1288515628" media="screen" rel="stylesheet" type="text/css" /> |
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
/* Cross-browser implementation of the "display: inline-block" CSS property. */ | |
/* See http://www.w3.org/TR/CSS21/visuren.html#propdef-display for details. */ | |
/* Tested on IE 6 & 7, FF 1.5 & 2.0, Safari 2 & 3, Webkit, and Opera 9. */ | |
/* Gecko hack; Pre-FF3 Gecko uses -moz-inline-box instead of inline-block. */ | |
html>body .goog-inline-block { | |
display: -moz-inline-box; /* This is ignored by FF3 and later*/ | |
display: inline-block; /* This is ignored by pre-FF3 Gecko */ | |
} | |
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
# Get Current | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install libjpeg-progs libjpeg62 libjpeg62-dev libsdl1.2-dev php5-dev build-essential unzip | |
#Install Ruby on Rails, subversion & ncurses | |
sudo apt-get install subversion ruby libcurses-ruby | |
#New codec and secure tmp folders |
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
<!-- | |
Copyright 2010 Google Inc. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
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 mricron | |
sudo npm install jade | |
sudo npm install less | |
sudo npm install jade | |
sudo npm install express | |
express /tmp/xapp1 && cd /tmp/xapp1 | |
sudo npm install -g express | |
express /tmp/xapp1 && cd /tmp/xapp1 | |
sudo npm install -d | |
node app.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 addHeadScript (url, type, title, id) { | |
if (!url) return; | |
head = document.getElementsByTagName('head')[0]; | |
script = document.createElement('script'); | |
script.src = url; | |
script.type = (type) ? type : 'text/javascript'; | |
script.title = title; | |
script.id = (id) ? id : title.replace(\\s+\, '-'); | |
head.appendChild(script); | |
return script; |
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
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
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
/* -------------------------------------------------------------- | |
grid.css | |
* Sets up an easy-to-use grid of 24 columns. | |
By default, the grid is 950px wide, with 24 columns | |
spanning 30px, and a 10px margin between columns. | |
-------------------------------------------------------------- */ |