I hereby claim:
- I am xixitalk on github.
- I am xixitalk (https://keybase.io/xixitalk) on keybase.
- I have a public key whose fingerprint is 81EA F423 F64F 7730 BF0E 182D 6DC8 72E5 A611 F93B
To claim this, I am signing this object:
#!/usr/bin/env python | |
import os | |
import re | |
import daemon | |
import asyncore | |
import smtpd | |
class SimpleRelayService(smtpd.PureProxy): | |
"""Handles processing mail for relay""" |
{"sig":"903b0b516fb252b1c42da91b083ef69f840cd2874de5e896662bbd8e9527fd9f633074a78c17a309ba1e1e464d23cf67d6185c5c2c1129c76cd851f7f9f4ea8f1","msghash":"098f9dec6bd669745a7da5cd8c437ac2b971fd1e9d5307d22192fc28afe94fb7"} |
I hereby claim:
To claim this, I am signing this object:
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <unistd.h> | |
#include <string.h> | |
static void Usage(const char *name) | |
{ | |
printf("%s NUMBER[SUFFIX]...\n\n", name); | |
printf("The sleep command pauses for an amount of time defined by NUMBER. NUMBER must be an integer. floating-point value is NOT support.\n"); |
#define STACK_FIND_SIZE 2048 //find from SP to SP+STACK_FIND_SIZE | |
void funcStackCheck(unsigned long *psp, unsigned long lr) | |
{ | |
if(psp && (*psp != lr)) | |
{ | |
assert(0); | |
} | |
} |
#define BEGIN_MAGIC 0x3a3a3a3a | |
#define END_MAGIC 0x5a5a5a5a | |
void *mymalloc(unsigned int size) | |
{ | |
char *ptr = (char *)malloc(size+12); | |
unsigned int *ptmp = NULL; | |
if(NULL == ptr) | |
return NULL; |
SINT32 txsem_count_init(Semaphore *ptxSem) | |
{ | |
UINT32 i = 0; | |
UINT32 semCount = 0; | |
UINT32 Count = 0; | |
semCount = GetSemaphoreCount(ptxSem); | |
Count = SEM_INIT_NUM - semCount; | |
if (Count > 0) |
[peername] | |
proto = nacltai | |
proto_publickey = LOCAL_PUBKEY | |
proto_privatekey = REMOTE_PRIKEY | |
local = tuntap | |
local_interface = tunnel | |
local_tunmode = 1 | |
peer = udp | |
peer_localaddr = REMOTE_IP | |
peer_localport = 8000 |
global | |
ulimit-n 51200 | |
defaults | |
log global | |
mode tcp | |
option dontlognull | |
balance roundrobin | |
option persist | |
timeout connect 10000 | |
timeout client 150000 |
# Title: base64 encode content | |
# Author: xixitalk http://xixitalk.github.io | |
# Description: base64 encode twice and decode at browser with javascript | |
# | |
# Syntax: | |
# {% base64_block %} | |
# This text will be encoded twice with base64 | |
# {% endbase64_block %} | |
# | |
# Output: |