- 天语功能机
- 振华MTK山寨机
- 多普达 696
- HTC G1
- HTC G6
- iPhone 4
- HTC G18
- HTC G23 (One X)
- iPhone 5s
- iPhone 6
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
| # My ISP-provided fiber optical modem broadcasts a line of a poem every ten seconds. Here's the tcpdump of the complete poem. | |
| # The optical modem is made by Shanghai Nokia-Bell Co.,Ltd and its model number is G-140W-UD. It's provided by my ISP, China Unicom in Shenzhen. | |
| $ tcpdump -i vlan10 ether proto 0x8300 | |
| 15:59:00.720301 00:00:00:00:00:12 (oui Ethernet) > Broadcast, ethertype Unknown (0x8300), length 72: | |
| 0x0000: 0000 0000 e4ea 8386 d93c 5468 6520 6461 .........<The.da | |
| 0x0010: 7920 4920 6c6f 7374 206d 7920 7665 7279 y.I.lost.my.very | |
| 0x0020: 2066 6972 7374 2074 6f6f 7468 2c00 0000 .first.tooth,... | |
| 0x0030: 0000 0000 0000 0000 0000 .......... | |
| 15:59:10.740778 00:00:00:00:00:12 (oui Ethernet) > Broadcast, ethertype Unknown (0x8300), length 72: |
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
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <rss xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"> | |
| <channel> | |
| <title>Creative Engineering</title> | |
| <googleplay:author>Rody Davis, Norbert Kozsir</googleplay:author> | |
| <rawvoice:rating>TV-G</rawvoice:rating> | |
| <rawvoice:location>San Francisco, California</rawvoice:location> | |
| <rawvoice:frequency>Weekly</rawvoice:frequency> | |
| <author>Rody Davis, Norbert Kozsir</author> | |
| <itunes:author>Rody Davis, Norbert Kozsir</itunes:author> |
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
| from __future__ import print_function | |
| import base64 | |
| import os | |
| import select | |
| import sys | |
| # tmux requires unrecognized OSC sequences to be wrapped with DCS tmux; | |
| # <sequence> ST, and for all ESCs in <sequence> to be replaced with ESC ESC. It |
Prerequisite: dnf install golang
- Create user
gethwithuseradd - As user
gethfast sync the blockchain,geth --fast --cache 1024 - Manually run
geth --rpcas user geth and watch to see that the blockchain continues to sync properly - Install the
geth.servicefile (also in this gist) in/usr/lib/systemd/system/ - Make a symlink from
/etc/systemd/system/multi-user.target.wants/geth.serviceto/usr/lib/systemd/system/geth.service systemctl enable gethfollowed bysystemctl start geth
- CoffeeScript Unfancy JavaScript
- CoffeeScript II: The Wrath of Khan Rewrite of the CS compiler
- Coco A CoffeeScript dialect that aims to be more radical and practical, also acts as a test bed for features that get imported in CoffeeScript.
- LiveScript is a fork of Coco that is much more compatible with CoffeeScript, more functional, and with more features.
- IcedCoffeeScript A CoffeeScript dialect that adds support for
awaitanddeferkeywords which simplify async control flow.
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
| package bm | |
| import ( | |
| "testing" | |
| ) | |
| var mb = map[string]bool{ | |
| "alpha": true, | |
| "beta": true, | |
| "gamma": true, |
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
| # -*- coding: utf-8 -*- | |
| __author__ = 'klb3713' | |
| import threading, time, httplib | |
| HOST = "127.0.0.1"; #主机地址 例如192.168.1.101 | |
| PORT = 8001 #端口 | |
| URI = "/api/huohuaId2Url" #相对地址,加参数防止缓存,否则可能会返回304 | |
| TOTAL = 0 #总数 | |
| SUCC = 0 #响应成功数 | |
| FAIL = 0 #响应失败数 |
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
| # -- coding: utf-8 -- | |
| from win32api import * | |
| from win32gui import * | |
| import win32con | |
| import sys, os | |
| import struct | |
| import time | |
| class WindowsBalloonTip: |
NewerOlder