I hereby claim:
- I am daaku on github.
- I am daaku (https://keybase.io/daaku) on keybase.
- I have a public key ASCwmzydf6qNg1NvPJrMNonv2ETZpQf-Fl3w736NdxMPzAo
To claim this, I am signing this object:
package main | |
import ( | |
"sync" | |
"sync/atomic" | |
) | |
type ShardedConcurrentSlice[T any] struct { | |
datas [][]T | |
mu []sync.Mutex |
I hereby claim:
To claim this, I am signing this object:
use aho_corasick::AhoCorasick; | |
use anyhow::Result; | |
use crossbeam_channel::{bounded, Receiver, Sender}; | |
use crossbeam_utils::thread; | |
use itertools::Itertools; | |
use memmap::Mmap; | |
use std::convert::TryInto; | |
use std::fs::File; | |
use std::str::from_utf8; |
#!/usr/bin/env bash | |
set -euo pipefail | |
shopt -s dotglob nullglob | |
trap 'echo "${0} line ${LINENO} Status: ${?}"' ERR |
<?php | |
/** | |
* A simple Facebook PHP example. | |
* | |
* - This is not a "Facebook SDK". | |
* - This example uses Curl, Hash, JSON, Session extensions. | |
* - This does not use the JavaScript SDK, nor the cookie set by it. | |
* - This works with Canvas, Page Tabs with IFrames, the Registration Plugin | |
* and with any other flow which uses the signed_request. |
/** | |
* Prints out the number of seconds since the last user input. | |
* | |
* gcc -framework Cocoa -o idle-seconds idle-seconds.m | |
*/ | |
#import <Foundation/Foundation.h> | |
extern double CGSSecondsSinceLastInputEvent(unsigned long eventType); | |