This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# skip the startup message | |
startup_message off | |
# encoding | |
defutf8 on | |
# go to home dir | |
# chdir | |
# Automatically detach on hangup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Posts h1 { | |
font-size: 180%; | |
font-weight: bold; | |
color: #000; | |
/* border-bottom: 5px solid #000; */ | |
margin-bottom: 10px; | |
text-align: center; | |
} | |
#Posts h2 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub Application_ItemSend(ByVal Item As Object, _ | |
Cancel As Boolean) | |
Dim objRecip As Recipient | |
Dim strMsg As String | |
Dim res As Integer | |
Dim strBcc As String | |
On Error Resume Next | |
' #### USER OPTIONS #### | |
' address for Bcc -- must be SMTP address or resolvable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RS Hash Function | |
unsigned int | |
RSHash (char *str) | |
{ | |
unsigned int b = 378551; | |
unsigned int a = 63689; | |
unsigned int hash = 0; | |
while (*str) | |
{ | |
hash = hash * a + (*str++); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @(#)RedisEnvGenerator.cpp | |
// Time-stamp: <Qian Julian 2012-01-26 21:25:50> | |
// Copyright 2011 | |
// Version: $Id: RedisEnvGenerator.cpp,v 0.0 2011/12/26 09:44:44 jqian Exp $ | |
#include <zlib.h> | |
#include <assert.h> | |
#include "RedisEnvGenerator.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
hacked for openwrt, from http://chnroutes.googlecode.com/files/chnroutes.py | |
""" | |
import re | |
import urllib2 | |
import sys | |
import argparse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @(#)test_crc32.cpp | |
* Time-stamp: < 2011-12-26 11:30:17> | |
* Copyright 2011 | |
* Version: $Id: test_crc32.c,v 0.0 2011/12/26 03:25:28 jqian Exp $ | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <zlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -*- mode: c++ -*- | |
// @(#) test_secondary_db.cpp Time-stamp: <Julian Qian 2013-03-23 22:16:12> | |
// Copyright 2013 Julian Qian | |
// Author: Julian Qian <[email protected]> | |
// Version: $Id: test_secondary_db.cpp,v 0.1 2013-03-23 21:31:19 jqian Exp $ | |
// | |
// test multiple secondary index of berkeley db | |
// g++ -o test_secondary_db test_secondary_db.cpp -g -O2 -Wall -Wextra -ldb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -*- mode: c++ -*- | |
// @(#) test_bdb.cpp Time-stamp: <Julian Qian 2013-05-07 11:37:26> | |
// Copyright 2013 Julian Qian | |
// Author: Julian Qian <[email protected]> | |
// Version: $Id: test_bdb.cpp,v 0.1 2013-05-02 20:58:38 jqian Exp $ | |
// | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <map> | |
#include <boost/asio.hpp> | |
#include <boost/date_time/posix_time/posix_time.hpp> | |
#include <boost/shared_ptr.hpp> | |
#include <boost/bind.hpp> | |
enum { N = 10 }; |
OlderNewer