git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
def hashfn(item): | |
h = hash(item) | |
return (1 << (h%64)) | (1 << (h/64%64)) | |
def mask(val): | |
return bin(hashfn(val))[2:] | |
class CountingBloom(object): | |
def __init__(self): | |
self.items = [0] * 64 |
""" | |
Example of setting up CORS with Bottle.py. | |
""" | |
from bottle import Bottle, request, response, run | |
app = Bottle() | |
@app.hook('after_request') | |
def enable_cors(): | |
""" |
vif_func<-function(in_frame,thresh=10,trace=T,wts=NULL,...){ | |
library(fmsb) | |
if(any(!'data.frame' %in% class(in_frame))) in_frame<-data.frame(in_frame) | |
if(is.null(wts)) | |
wts <- rep(1, ncol(in_frame)) | |
if(!is.null(wts)) | |
if(length(wts)!=ncol(in_frame)) stop('length of weights must equal number of variables') |
######################################################################### | |
# # | |
# Script to set or clear read-only flag of an NTFS volume. # | |
# # | |
# Usage: .\set-ntfs-ro.ps1 set "MY DISK LABEL" # | |
# .\set-ntfs-ro.ps1 clear "MY DISK LABEL" # | |
# # | |
# Author: Muhammed Demirbas, mmdemirbas at gmail dot com # | |
# Date : 2013-03-23 # | |
# # |
import unittest | |
from functools import partial | |
class MethodMissing: | |
def method_missing(self, name, *args, **kwargs): | |
'''please implement''' | |
raise NotImplementedError('please implement a "method_missing" method') | |
def __getattr__(self, name): | |
return partial(self.method_missing, name) |
I hereby claim:
To claim this, I am signing this object:
// Jahus, 2016-07-11 01:42 GMT+1 | |
// Fonction qui renvoie un dictionnaire composé des paramètres et de leurs valeurs | |
public Dictionary<string, string> GetURIParams(string strURI) | |
{ | |
Regex rx = new Regex("[?|&]([^=]+)=([^&]+)"); // Cherche tous les paramètres dans une URI | |
MatchCollection rxm = rx.Matches(strURI); // Effectue la recherche dans l'URI "MyInput" | |
Dictionary<string, string> Params = new Dictionary<string, string>(); // Crée un dictionnaire des paramètres |
Create a openVPN server on Google Cloud Platform to connect to your Google Cloud network using openVPN and/or to route your internet traffic through the VPN (Road Warrior Scenario)
Préparatifs
.m4a
de Soundhax (il dépend de la région de ta DS et du modèle) : http://soundhax.com/Installation
a. Dans le starter.zip, il y a un dossier
starter
; c'est le contenu de ce dossier qu'il faut copier vers la racine de la Carte SD ;