Skip to content

Instantly share code, notes, and snippets.

Download CMake from: https://cmake.org/download/

wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz

Compile from source and install

tar zxvf cmake-3.*
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml.Linq;
namespace qqpet
@ShengRang
ShengRang / coroutine scheduler
Created August 10, 2016 07:41
coroutine scheduler
#!/usr/bin/env python
# encoding: utf-8
from functools import wraps, partial
from collections import deque
from select import select
import socket
class YieldEvent(object):
@ShengRang
ShengRang / surge.conf
Created October 5, 2015 08:06 — forked from janlay/README.md
Yet another config for Surge.app
# This config file was created for myself (@janlay). You may want to add or remove some rules to make efficient use of the Internet.
[General]
# warning, notify, info, verbose
loglevel = notify
[Proxy]
# http, https, socks5
Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://server/custom.module