I hereby claim:
- I am nickel715 on github.
- I am nickel715 (https://keybase.io/nickel715) on keybase.
- I have a public key ASCKuMD23F9FALILCKmy0uaCGrkHVL76UXCNVboD96FTKwo
To claim this, I am signing this object:
<?php | |
$path = 'Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db'; | |
try { | |
$dbh = new PDO('sqlite:'.$path, null, null, array(PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_OBJ)); | |
} catch (PDOException $e) { | |
echo "Error!: " . $e->getMessage() . PHP_EOL; | |
die(); | |
} |
<?php | |
class Base { | |
function __construct() { | |
$this->foo(); | |
} | |
private function foo() { | |
echo 'foo'; | |
} |
shh woof aka FizzBuzz | |
shh woof was created by Nicolas Hohm <nickel7152@gmail.com> | |
trained | |
such woof much insh | |
rly insh % 3 is 0 and insh % 5 is 0 | |
console dose loge with 'wow' | |
but rly insh % 3 is 0 |
var a=document.getElementsByClassName('answer')[0];a.getElementsByClassName('vote-up-off')[0].click(); | |
var b=document.getElementsByClassName('question')[0];b.getElementsByClassName('vote-up-off')[0].click(); |
$array = [ | |
'foo' => null, | |
'bar' => '', | |
]; | |
var_dump(isset($array['foo'])); // false | |
var_dump(empty($array['foo'])); // true | |
var_dump(array_key_exists('foo', $array)); // true | |
var_dump($array['foo'] === NULL); // true | |
var_dump($array['foo'] == NULL); // true |
$ cat test | |
sdf | |
asdf | |
sdf | |
ert | |
aert | |
fgh | |
$ grep -v '^a' test > withoutA | |
$ cat withoutA | |
sdf |
--- a/tasks/build.js | |
+++ b/tasks/build.js | |
@@ -82,7 +82,7 @@ module.exports = function(grunt) { | |
mainConfigFile: "app.js", | |
include: "../app", | |
wrap: true, | |
- optimize: "uglify", | |
+ optimize: "none", | |
out: "build/app.js" | |
} |
javascript:(function(){ | |
var a=document.getElementsByClassName('answer')[0]; | |
a.getElementsByClassName('vote-up-off')[0].click(); | |
var b=document.getElementsByClassName('question')[0]; | |
b.getElementsByClassName('vote-up-off')[0].click(); | |
}()); |
document.addEventListener('copy', function(e) { | |
e.clipboardData.setData('text/plain', 'Foo'); | |
e.preventDefault(); | |
}) |
I hereby claim:
To claim this, I am signing this object: