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:
%macro assertEquals(expected, actual, message); | |
%if &expected ne &actual %then %do; | |
%put ERROR: Failed asserting that &actual is equal to &expected - &message; | |
%end; | |
%mend; | |
* Asserts that the value returned by the query in actual is equals to the expectation; | |
%macro assertSqlEquals(expected, query, message); | |
proc sql noprint; | |
&query; |
{ | |
"name": "nickel715/empty", | |
"description": "", | |
"license": "MIT", | |
"authors": [ | |
{ "name": "Nicolas Hohm" } | |
], | |
"autoload": { | |
"files": ["empty.php"] | |
} |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
#include<stdio.h> | |
int main(int argc, char *argv[]) { | |
printf("Start reading...\n"); | |
FILE *fp = fopen(argv[1], "r"); | |
int res = 0, buff = 0, ffs = 0, pos = 0; | |
while (fread(&buff, sizeof(int), 1, fp) == 1) { | |
ffs = __builtin_ffs(buff); |
I hereby claim:
To claim this, I am signing this object:
document.addEventListener('copy', function(e) { | |
e.clipboardData.setData('text/plain', 'Foo'); | |
e.preventDefault(); | |
}) |
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(); | |
}()); |
--- 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" | |
} |
$ cat test | |
sdf | |
asdf | |
sdf | |
ert | |
aert | |
fgh | |
$ grep -v '^a' test > withoutA | |
$ cat withoutA | |
sdf |
$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 |