Skip to content

Instantly share code, notes, and snippets.

View kkHAIKE's full-sized avatar
💀
dying

kkHAIKE

💀
dying
  • shanghai,china
View GitHub Profile
// @(#)root/reflex:$Id$
// Author: Stefan Roiser 2004
// Copyright CERN, CH-1211 Geneva 23, 2004-2010, All rights reserved.
//
// Permission to use, copy, modify, and distribute this software for any
// purpose is hereby granted without fee, provided that this copyright and
// permissions notice appear in all copies and derivatives.
//
// This software is provided "as is" without express or implied warranty.
# find_symbol_in_header_namespace(
# HEADER_OUT NAMESPACE_OUT
# "CODE" SNIPPET_IN
# "HEADERS" HEADERS_IN
# "NAMESPACES" NAMESPACES_IN
# "SUMMARY" SUMMARY_IN)
#
# Search for a header file that will allow ${SNIPPET_IN} to compile.
# Each header in the HEADERS_IN list is considered. If found, then
# attempts will be made to compile SNIPPET_IN after including that header.
@kkHAIKE
kkHAIKE / myrsa.go
Created April 8, 2018 03:40
golang rsa private key encrypt and public key decrypt
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"encoding/hex"
"encoding/pem"
"errors"
"fmt"
@kkHAIKE
kkHAIKE / dorcel.py
Created March 28, 2018 05:46
download dorcel handsoff free movie
import urllib2
import json
import subprocess
import StringIO
movies = json.loads(urllib2.urlopen("http://dorcel-handsoff.com/json/movies.json").read())
haved = ["2446", "1122", "2902", "2557", "2342",
"1187", "1300", "1660", "1972", "2062", "2142", "2195"]