I hereby claim:
- I am kellegous on github.
- I am kellegous (https://keybase.io/kellegous) on keybase.
- I have a public key whose fingerprint is 69DE 7C0F 04BC F5AF 7910 D435 687C F7D0 355A 0EC9
To claim this, I am signing this object:
chrome.debugger.attach({tabId: 1}, "1.0", function() { | |
if (chrome.runtime.lastError) { | |
console.error(chrome.runtime.lastError); | |
return; | |
} | |
chrome.debugger.sendCommand({tabId:1}, | |
"Timeline.start", | |
{ maxCallStackDepth: 5}, | |
function(res) { |
var Cache = function(n) { | |
this.items = {}; | |
this.n = n; | |
}; | |
Cache.prototype.set = function(id, item) { | |
var items = this.items, | |
n = this.n; | |
items[id] = { |
package util | |
import ( | |
"sort" | |
) | |
type sorter struct { | |
n int | |
less func(i, j int) bool | |
swap func(i, j int) |
I hereby claim:
To claim this, I am signing this object:
public class Hello { | |
public static void main(String[] args) throws IOException { | |
System.in.read(); | |
System.out.println("Hello World"); | |
} | |
} |
Call graph: | |
2487 Thread_1114147 DispatchQueue_1: com.apple.main-thread (serial) | |
+ 2487 start (in java) + 52 [0x10eee3ed4] | |
+ 2487 main (in java) + 101 [0x10eeea699] | |
+ 2487 JLI_Launch (in java) + 1952 [0x10eee467c] | |
+ 2487 CreateExecutionEnvironment (in java) + 871 [0x10eee86db] | |
+ 2487 CFRunLoopRunSpecific (in CoreFoundation) + 309 [0x7fff86f8af25] | |
+ 2487 __CFRunLoopRun (in CoreFoundation) + 1161 [0x7fff86f8b5e9] | |
+ 2487 __CFRunLoopServiceMachPort (in CoreFoundation) + 181 [0x7fff86f8bfc5] | |
+ 2487 mach_msg (in libsystem_kernel.dylib) + 64 [0x7fff914e4d18] |
import java.io.IOException; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import org.eclipse.jetty.server.Request; | |
import org.eclipse.jetty.server.Server; | |
import org.eclipse.jetty.server.handler.AbstractHandler; |
<?php | |
function chooseAmongTheseValues() { | |
foreach (func_get_args() as $arg) { | |
if (is_callable($arg)) { | |
$value = $arg(); | |
if ($value) { | |
return $value; | |
} | |
} else if ($arg) { |
#include <unistd.h> | |
int main() { | |
const char msg[] = "Hello World\n"; | |
const size_t len = sizeof(msg); | |
write(STDOUT_FILENO, msg, len); | |
return 0; | |
} |
// gcc -Wall -nostdlib -o hello hello.c | |
void _start() { | |
const char msg[] = "Hello World\n"; | |
const unsigned long len = sizeof(msg); | |
asm volatile | |
( | |
// write(STDOUT_FILENO, msg, len) | |
"mov $1, %%rdi\n\t" // stdout is 1 | |
"mov %0, %%rsi\n\t" // addr of msg | |
"mov %1, %%rdx\n\t" // len of msg |