Usage: lps [keyword]
Then it asks you to copy or show password:
- if you want to copy, write that number before name of entry
- if you want show the password,
show [number]
(ors [number]
, ors[number]
)
<?php | |
require 'Nette/loader.php'; | |
require 'stringFluent.php'; | |
$string = string("ahoj já jsem petr")->capitalize(); | |
echo $string."\n"; | |
echo $string->webalize(); |
/** | |
* Live Form Validation for Nette 2.0 | |
* | |
* @author Radek Ježdík, MartyIX, David Grudl, Martin Sadový | |
*/ | |
var LiveForm = { | |
options: { | |
controlErrorClass: 'form-control-error', | |
errorMessageClass: 'form-error-message', | |
validMessageClass: 'form-valid-message', |
<?php | |
// Happy birthday Tom | |
class Tom extends Person{ | |
public function runBirthday(){ | |
$this->age++; | |
if($this->age == 18){ | |
$this->acl->allow('doing own decisions'); |
<?php | |
function utf8ToLocalEncoding($s) { | |
if (substr(PHP_OS, 0, 3) === 'WIN') { | |
$tmp = explode(".", setlocale(LC_CTYPE, 0)); | |
if (isset($tmp[1]) && is_numeric($tmp[1])) | |
$s = @iconv("UTF-8", "cp" . $tmp[1] . "//TRANSLIT", $s); | |
} | |
return $s; | |
} |
Remove this registr: | |
HKLM\Software\Classes\ChromeHTML\open\command\DelegateExecute | |
HKLM\Software\Classes\Chrome |
<?php | |
/** | |
* @see api: https://github.com/bahbka/pebble-my-data/blob/master/README.md | |
* @author Martin Sadový | |
*/ | |
class Pebble | |
{ | |
/** | |
* Font |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: blebeacon | |
# Required-Start: $bluetooth | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# X-Interactive: true | |
# Short-Description: Start/stop Bluetooth iBeacon | |
### END INIT INFO |
#!/bin/sh | |
# pacman -Sy easy-rsa | |
# EasyRSA 3.0 + http://www.stj.me/2016/02/17/openvpn-ddwrt.html | |
# run as ROOT! | |
echo "set_var EASYRSA_DN \"org\"" >> vars | |
CLIENT_OUT_DIR="/home/sodae/keys-openvpn/" |
package cz.sodae.utils | |
import java.nio.file.* | |
import java.nio.file.attribute.BasicFileAttributes | |
import java.util.concurrent.ConcurrentHashMap | |
interface RecursiveWatchServiceListener { | |
fun onCreate(path: Path) | |
fun onModify(path: Path) |