I hereby claim:
- I am kokakiwi on github.
- I am kokakiwi (https://keybase.io/kokakiwi) on keybase.
- I have a public key whose fingerprint is 9B75 CDF2 0FC5 FDFF 600C 3000 68F1 12F2 F5FE 5014
To claim this, I am signing this object:
int binand(int a, int b) | |
{ | |
return a & b; | |
} | |
int logand(int a, int b) | |
{ | |
return a && b; | |
} |
I hereby claim:
To claim this, I am signing this object:
#![feature(phase)] | |
#[phase(syntax)] | |
extern crate regex_macros; | |
extern crate regex; | |
#[cfg(use_macro)] | |
fn is_match(s: &str) -> bool { | |
let re = regex!(r"hell[ao]?"); | |
re.is_match(s) |
macro_rules! llvm_int_type( | |
($size:ident) => ( | |
pub fn concat_idents!(LLVM, $size, TypeInContext)(C: LLVMContextRef) -> LLVMTypeRef; | |
) | |
) | |
extern "C" { | |
llvm_int_type!(Int1) | |
} |
https://github.com/interagent/http-api-design | |
http://blog.octo.com/designer-une-api-rest/ | |
http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api | |
https://restful-api-design.readthedocs.org/en/latest/ |
Case ca[] = new Case[9]; | |
for(int i = 0; i < ca.length; i++) | |
{ | |
Case c = new Case(); // T'initialise comme tu veux ici ;) | |
ca[i] = c; | |
pan.add(ca[i]); | |
} |
package com.kokakiwi.tests.jni; | |
public class KiwiLibTest | |
{ | |
native int test(); | |
static | |
{ | |
System.loadLibrary("kiwilib"); | |
} |
#!/bin/bash | |
wget http://checkip.dyndns.org/ -q -O - | | |
grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>' |
#!/bin/bash | |
# Init user vars | |
ARCH_DEV="/dev/sda10" | |
# Init variables | |
ARCH_MINI= | |
ARCH_SYS= | |
ARCHI=$(uname -m) |
#!/bin/bash | |
ARCH_MINI="$HOME/tmp_arch" | |
ARCH_SYS="$ARCH_MINI/mnt" | |
ARCHI=$(uname -m) | |
sudo mount /dev/sda10 "$ARCH_SYS" | |
cat | sudo tee "$ARCH_SYS/etc/fstab" <<EOF | |
tmpfs /tmp tmpfs nodev,nosuid 0 0 |