- Libre Office (https://www.libreoffice.org/, LGPL)
- NeoOffice (http://www.neooffice.org/neojava/en/index.php, GPL)
- Calligra (http://www.calligra.org/, GPL y LGPL)
- Banshee (http://banshee.fm/, MIT)
- Amarok (http://amarok.kde.org/, GPLv2)
var s=document.createElement('script'); | |
s.setAttribute('src','http://jquery.com/src/jquery-latest.js'); | |
document.getElementsByTagName('body')[0].appendChild(s); | |
jQuery('input[value=100]').attr('checked', 'checked'); |
<?php | |
class Users extends CI_Model { | |
function add($options=array()) { | |
// required values | |
if (!$this->_required(array('email'), $options)) return false; | |
// default values | |
$options = $this->_default(array('status'=>'active'), $options); | |
// qualification (make sure that we're not allowing the site to insert data that it shouldn't) |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>Title</title> | |
<link rel="stylesheet" type="text/css" href="reset.css" /> | |
</head> | |
<body> | |
<div id="root"></div> |
I hereby claim:
To claim this, I am signing this object:
function isMobile() { | |
return navigator.userAgent.toLowerCase().indexOf("mobile") >= 0; | |
} |
function hasSingleElements(arr) { | |
if (arr.length > 0) { | |
var r = []; | |
for (var i = 0; i < arr.length; i++) { | |
var e = r.indexOf(arr[i]); | |
if (e > -1) { | |
r.splice(e, 1); | |
} else { | |
r.push(arr[i]); | |
} |
letters = "acdegilmnoprstuw" | |
hash = (s) -> | |
h = 7 | |
for l in s | |
h = (h * 37 + letters.indexOf(l)) | |
h | |
rhash = (h) -> | |
return rhash((h - (h % 37)) / 37) + letters[h % 37] if h > letters.length |
# https://github.com/henrikpersson/rsub | |
# http://chen.do/blog/2013/09/16/editing-files-on-a-remote-server-with-sublime-text-2/ | |
# http://www.lleess.com/2013/05/how-to-edit-remote-files-with-sublime.html | |
# http://leon.radley.se/2012/03/sublime-text-2-rsub/ | |
$ ssh -R 52698:127.0.0.1:52698 [email protected] | |
================================================================================= | |
~/.ssh/config |