(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
set rtp+=$HOME/.vim/bundle/vundle | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
"""""""""""""""""" | |
"" LOW LEVEL SETUP | |
"""""""""""""""""" | |
filetype on | |
filetype indent on |
package main | |
import ( | |
"fmt" | |
"math/cmplx" | |
) | |
func Cbrt(x complex128) complex128 { | |
z := complex128(2) | |
s := complex128(0) |
base64ToBinary = (uri) -> | |
raw = window.atob(uri) | |
rawLength = raw.length | |
array = new Uint8Array(new ArrayBuffer(rawLength)) | |
for i in [0...rawLength] | |
array[i] = raw.charCodeAt i | |
return array |
.vertical-align { | |
position: relative; | |
top: 50%; | |
-webkit-transform: translateY(-50%); | |
-ms-transform: translateY(-50%); | |
transform: translateY(-50%); | |
} |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, font, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
dl, dt, dd, ul, li, | |
form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td { | |
margin: 0; | |
padding: 0; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>HTML5 Starter</title> | |
<link rel="stylesheet" href="" type="text/css" /> | |
<!--[if lt IE 9]> | |
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
</head> |
// centering the images inside. | |
CGSize boundsSize = self.view.bounds.size; | |
CGRect frameToCenter = imageView.frame; | |
// center horizontally | |
if (frameToCenter.size.width < boundsSize.width) | |
frameToCenter.origin.x = (boundsSize.width - frameToCenter.size.width) / 2; | |
else | |
frameToCenter.origin.x = 0; | |
(function () { | |
/** | |
* Constructor of LoggedIn SVG | |
* object. Inherits its properties from | |
* caq.raphael.Main object. | |
* @return {caq.raphael.LoggedIn} Main paper to work on. | |
*/ | |
caq.raphael.LoggedIn = function() { | |
// start inheritance from the Main class. |
Enumeration keys = session.getAttributeNames(); | |
while (keys.hasMoreElements()) | |
{ | |
String key = (String)keys.nextElement(); | |
out.println(key + ": " + session.getValue(key) + "<br>"); | |
} |