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
序号 语料 | |
1 该团团长说:"我们 [希望] 每个选手都能有好成绩。" | |
2 但他却告诉记者:我们的 [希望] 在田径的短跑上。 | |
3 今天,我提名 [希望] 之子、阿肯色州州长比尔·克林顿为美国总统候选人。" | |
4 你们是承上启下,继往开来的一辈,是国之中坚、 [希望] 和未来。 | |
5 又加以各国在其租界内实施给与其本国货及本国商人的特惠条例,美国在事实上无论如何,均难与其他各国抗衡,恐最低 [希望] 的通商,亦不克顺利进行。 | |
6 在一八九九年美国政府,由国务总理约翰海的署名,关于中国门户开放问题,通谍与英、法、日、俄、德、意各国,其文字虽少有不同,但其内容则无异,为避免列强瓜分中国而将中国化为国际斗争场所计,所以门户开放,急如燃眉,故 [希望] 各国,对于美国所提议的三条,给以正式保障。 | |
7 对于这次会议的召开,广大干部和群众欢欣鼓舞,满怀 [希望] ,决心为加速我国农村社会主义革命和社会主义建设的步伐贡献自己的力量。 | |
8 他们 [希望] 党和政府继续带领人民将改革事业引向深入,同时也 [希望] 党和政府拿出切实措施,用社会主义思想牢固占领农村阵地,遏制个人主义和自私自利倾向的蔓延,抵制赌博迷信等等陈旧现象的泛滥,深入开展精神文明建设,净化社会风气,建设文明安定的社会生活环境。 | |
9 这是出于我们和中国共有的这样一种关心,就是 [希望] 建立一个有许多权力中心--即我们所谓的多样化,或者中国人经常说的非霸权--的世界。" |
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
// 要运行本程序,可以使用CsSC C# Script Host,参见:https://github.com/zhuth/CsSC | |
string alphabet = "喵呜唔嗷"; | |
if (args.Length > 1 && args[0] == "-d") { | |
char[] cs = args[1].ToCharArray(); | |
byte[] buf = new byte[cs.Length / 4]; | |
int i, i0 = -1, count = 0, r = 0; | |
foreach(char c in cs) { | |
i = alphabet.IndexOf(c); | |
if (i < 0) i = i0; |
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
#reference System.Drawing.dll; | |
#using System.Drawing; | |
foreach(string f in Directory.GetFiles(".", "*.jpg")) { | |
Bitmap d = (Bitmap)Image.FromFile(f); | |
d.Clone(new Rectangle(0, 0, d.Width / 2, d.Height), System.Drawing.Imaging.PixelFormat.Format32bppArgb).Save(f + "_0.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg); | |
d.Clone(new Rectangle(d.Width / 2, 0, d.Width / 2, d.Height), System.Drawing.Imaging.PixelFormat.Format32bppArgb).Save(f + "_1.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg); | |
} |
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
// ==UserScript== | |
// @name Douban Book Reference | |
// @namespace com.innovors.plugins.douban.bookref | |
// @version v0.1 | |
// @include http://book.douban.com/subject/* | |
// @include http://www.douban.com/isbn/* | |
// | |
// ==/UserScript== | |
// |
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
01-05-2014 08:00 PM2.5 35 99 Moderate | |
01-05-2014 07:00 PM2.5 37 105 Unhealthy for Sensitive Groups | |
01-05-2014 06:00 PM2.5 35 99 Moderate | |
01-05-2014 05:00 PM2.5 33 95 Moderate | |
01-05-2014 04:00 PM2.5 30 89 Moderate | |
01-05-2014 03:00 PM2.5 32 93 Moderate | |
01-05-2014 02:00 PM2.5 23 74 Moderate | |
01-05-2014 01:00 PM2.5 29 87 Moderate | |
01-05-2014 00:00 PM2.5 27 82 Moderate | |
01-04-2014 23:00 PM2.5 21 70 Moderate |
We can't make this file beautiful and searchable because it's too large.
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
2013-1-1 | |
TimeCST,TemperatureC,Dew PointC,Humidity,Sea Level PressurehPa,VisibilityKm,Wind Direction,Wind SpeedKm/h,Gust SpeedKm/h,Precipitationmm,Events,Conditions,WindDirDegrees,DateUTC | |
12:00 AM,0.0,-5.0,69,1023,-9999.0,SSW,10.8,-,N/A,,Clear,200,2012-12-31 16:00:00 | |
12:30 AM,0.0,-5.0,69,1023,-9999.0,SSW,10.8,-,N/A,,Clear,210,2012-12-31 16:30:00 | |
1:00 AM,0.0,-5.0,69,1023,-9999.0,SSW,7.2,-,N/A,,Clear,200,2012-12-31 17:00:00 | |
1:30 AM,0.0,-5.0,69,1023,-9999.0,SSW,7.2,-,N/A,,Clear,200,2012-12-31 17:30:00 | |
2:00 AM,0.0,-5.0,69,1023,-9999.0,SSW,3.6,-,N/A,,Clear,200,2012-12-31 18:00:00 | |
2:30 AM,0.0,-4.0,75,1023,-9999.0,SSW,7.2,-,N/A,,Clear,210,2012-12-31 18:30:00 | |
3:00 AM,0.0,-4.0,75,1023,-9999.0,SSW,7.2,-,N/A,,Clear,210,2012-12-31 19:00:00 | |
3:30 AM,0.0,-4.0,75,1023,-9999.0,SW,7.2,-,N/A,,Clear,220,2012-12-31 19:30:00 |
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 | |
x='' | |
for arg in "$@" | |
do | |
if [ ''$x = '' ]; then | |
x=' ' | |
else | |
x=$x' '$arg | |
fi | |
done |
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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; |
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/python | |
import os | |
from PIL import Image | |
fmt = '.tiff' | |
bias = 0 | |
p = './' | |
a = os.listdir(p) |
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 python | |
# -*- coding: utf-8 -*- | |
def multi_get_letter(str_input): | |
return_list = [] | |
for one_unicode in str_input: | |
return_list.append(single_get_first(one_unicode)) | |
return return_list | |
def single_get_first(unicode1): | |
#str1 = unicode1 |