This file contains 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 python3 | |
# -*- coding: utf-8 -*- | |
import bs4 | |
import argparse | |
import re | |
import os | |
class VcxprojModifier: |
This file contains 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 python3 | |
# -*- coding: utf-8 -*- | |
# $File: cart.py | |
# $Date: Sun Aug 28 23:00:26 2016 +0800 | |
# $Author: jiakai <[email protected]> | |
import gym | |
import numpy as np | |
import operator |
This file contains 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> | |
auto second_f(auto a, auto b) { | |
return b; | |
} | |
int main() { | |
auto second_l = [](auto a, auto b) {return b;}; | |
std::cout << second_f(0u, -1) << std::endl; | |
std::cout << second_l(0u, -1) << std::endl; |
This file contains 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
#!/bin/bash -e | |
# $File: setup-ipv6.sh | |
# $Date: Fri Mar 07 13:00:05 2014 +0800 | |
# $Author: jiakai <[email protected]> | |
PREFIX='2402:f000:1:1501:200:5efe' | |
ADDR_LOCAL=$(ip r g 8.8.8.8 | grep src | awk '{print $7}') | |
ADDR_OUT=$(curl ifconfig.me) | |
ADDR_REMOTE='166.111.21.1' |