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
import Model_pb2 as M | |
# model_pb2 could be the compiled source | |
from google.protobuf.descriptor_pb2 import FileDescriptorProto | |
f = FileDescriptorProto() | |
f.MergeFromString(M.DESCRIPTOR.serialized_pb) | |
print f |
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
import Telebot from 'telebot' | |
import axios from 'axios' | |
import cheerio from 'cheerio' | |
const token = 'IWONTTELL:IWONTTELL', | |
bot = new Telebot({token, polling : {}}) | |
bot.on('/poll', ({text, from, chat}) => { |
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
URL https://www.zhihu.com/people/plantvsbird/followers | |
<input type="hidden" name="_xsrf" value="87aaa16de8fd26f58bf4f9ca38d947f4"> | |
POST https://www.zhihu.com/node/ProfileFollowersListV2 | |
method:next | |
params:{"offset":20,"order_by":"created","hash_id":"9d62c47e2e6db82938c7bac0909b5e5b"} | |
_xsrf:87aaa16de8fd26f58bf4f9ca38d947f4 | |
upsert fan profile |
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
import numpy as np | |
import matplotlib.pyplot as plt | |
from mpl_toolkits.mplot3d import Axes3D | |
import mpl_toolkits.mplot3d as mp3d | |
from matplotlib import cm | |
from matplotlib.ticker import LinearLocator, FormatStrFormatter | |
import matplotlib.tri as mtri | |
steps = 90 | |
x = np.linspace(10,100,steps) |
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
# type this on any ews | |
lastlog | cut -d' ' -f1 | sed -e 's/$/@illinois.edu/g' |
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
(def def) | |
(print print) | |
(println println) | |
() |
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
/*------------------------get Twitter Ids on page --------------------- | |
| Find twitter IDs of people on page(intended for blocking multiple | |
users) bookmarklet inspired by @mariotaku 's wtb | |
| Author: Hong Lin <[email protected]> | |
License: MIT | |
| See comments below for usage thx. |
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
[General] | |
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
dns-server = 8.8.8.8, 8.8.4.4 | |
loglevel = notify | |
[Proxy] | |
Proxy = http,proxy1.joyvm.info,34567 | |
[Rule] |
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 "pitches.h" | |
const int LMAX = 230; | |
const int RMAX = 255; | |
const int L = 11; | |
const int R = 10; | |
int sensorValue = 0; | |
int Trig_pin = 9; | |
int Echo_pin = A2; | |
bool lock = false; |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Stellar.js - iOS Demo</title> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width,maximum-scale=1.0" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | |
<style type="text/css"> |