Skip to content

Instantly share code, notes, and snippets.

您好:
在貴網站 http://resources.publicense.moe.edu.tw/dict_reviseddict_download.html 提供的 dict_revised_2015_20160523 文字資料庫下載檔裡,
其中的 dict_revised_2015_20160523_1.xls 檔案裡:
第 1913 行的「字詞號」應為「溚」,卻誤植為「搭」。
第 37388 行的「字詞號」應為「蠭」,卻誤植為「舚」。
其中的 dict_revised_2015_20160523_3.xls 檔案裡:
字詞號 引號不對稱之定義
勞累,困乏的樣子。如:「精疲力盡」。《紅樓夢.第一九回》:「且說榮《管子.小匡》:「故使天下諸侯以疲馬犬羊為幣。」
2.肅重、莊嚴。《淮南子.兵略》:「湫漻如秋,典凝如冬。」《新唐書.卷一二四.宋璟傳》:「璟風度凝遠,人莫涯其量。
3.容納。如:「還坐得下嗎?」、「情人眼裡容不下一粒沙子。
2.如流星般疾速。《三國志.卷五八.吳書.陸遜傳》:「舳艫千里,星奔電邁,俄然行至。」晉.潘岳〈世祖武帝皇帝誄〉:「羽檄星馳,鉦鼓日戒。
2.害怕、退避。如:「退縮」、「畏縮」。《國語.越語下》:「贏縮轉化,後將悔之。
1.相逢、不期而會。如:「巧遇」。《書經.胤征》:「入自北門,乃遇汝鳩、汝方。《史記.卷八.高祖本紀》:「還至栗,遇剛武侯,奪其軍。」
八專 術數用語。陰陽家以丁未、己未、庚申、甲寅、癸丑五天為八專日,因為是八支中的專日,故稱為「八專日」。清.允祿《協紀辦方.卷五.八專》:「曾門經曰:『八專日忌出軍、嫁娶。丁未、己未、庚申、甲寅、癸丑也。』《醒世姻緣傳.第二一回》:「可可的那十六日是個上好吉日:煞貢、八專、明堂、黃道、天貴、鳳輦,都在這一日裡邊,正正的一個剃頭的日子。」
包班制 由一位老師負責教授一個班級的所有課程。如:「在迷你小學中,因為老師、學生都少,不得不採包班制。
幫兒 鞋幫子。指鞋子的四周圍和面子。如:「他把鞋底做好,安了青布面的幫兒,就算完成了。」《兒女英雄傳》第三七回:「腳下那雙皂靴底兒上的泥,只管膩抹了個漆黑,幫兒上倒是白臉兒扯光的一層塵土。
package main
import (
"fmt"
"io/ioutil"
"log"
"os"
"regexp"
)
package main
import "fmt"
// chars is a map for characters indexed by number of strokes.
var chars = map[int][]string{
6: {"向", "宇", "安"},
7: {"均", "言", "彤"},
8: {"弦", "尚", "亞", "孟"},
10: {"容", "軒", "宸", "庭"},
@wuman
wuman / nexus_6_android_m_logcat
Created June 6, 2015 03:11
adb logcat output on Nexus 6 and Android M Preview
06-06 11:10:37.490 2830 3273 D WifiHAL : Stopping GScan
06-06 11:10:37.490 2830 3273 D WifiHAL : Stopping scan
06-06 11:10:37.492 2830 3273 D wifi : Initialized common fields 60000, 25, 100, 10
06-06 11:10:37.492 2830 3273 D wifi : bucket[0] = 4:3:60000:0
06-06 11:10:37.492 2830 3273 D WifiHAL : Starting GScan, halHandle = 0xaf11a640
06-06 11:10:37.492 2830 3273 D WifiHAL : GSCAN start
06-06 11:10:37.492 2830 3273 I WifiHAL : bucket 0: period 60000 band 3 report 0
06-06 11:10:37.492 2830 3273 D WifiHAL : ....starting scan
@wuman
wuman / dagger2.diff
Created January 19, 2015 09:24
Dagger2 example fix
diff --git a/compiler/pom.xml b/compiler/pom.xml
index 8c67461..26b612c 100644
--- a/compiler/pom.xml
+++ b/compiler/pom.xml
@@ -57,7 +57,6 @@
<dependency>
<groupId>com.google.auto.value</groupId>
<artifactId>auto-value</artifactId>
- <version>1.0-SNAPSHOT</version>
<optional>true</optional>
@wuman
wuman / gist:0648395f7c6866f6ca55
Created June 17, 2014 02:48
robolectric deckard-gradle espresso proguard error
WARNING: Dependency commons-logging:commons-logging:1.1.1 is ignored for debugTest as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
WARNING: Dependency org.apache.httpcomponents:httpclient:4.0.3 is ignored for debugTest as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
Deprecated dynamic property: "destinationDir" on "task ':testDebugClasses'", value: "/home/david/projects/r...".
:clean
:preBuild
:compileDebugNdk
:preDebugBuild
@wuman
wuman / gist:6f5d651769d742136e2c
Created May 28, 2014 09:54
Proguard error running connectedAndroidTest on deckard-gradle
WARNING: Dependency commons-logging:commons-logging:1.1.1 is ignored for debugTest as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
WARNING: Dependency org.apache.httpcomponents:httpclient:4.0.3 is ignored for debugTest as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
Deprecated dynamic property: "destinationDir" on "task ':testDebugClasses'", value: "/home/david/projects/r...".
:clean
:preBuild
:compileDebugNdk
:preDebugBuild
diff -r 61664b8425f3 protoc-gen-go/descriptor/descriptor.pb.go
--- a/protoc-gen-go/descriptor/descriptor.pb.go Fri Oct 11 10:08:35 2013 +1100
+++ b/protoc-gen-go/descriptor/descriptor.pb.go Sat Nov 23 23:39:44 2013 +0800
@@ -682,7 +682,8 @@
OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"`
// Sets the Go package where structs generated from this .proto will be
// placed. There is no default.
- GoPackage *string `protobuf:"bytes,11,opt,name=go_package" json:"go_package,omitempty"`
+ GoPackage *string `protobuf:"bytes,11,opt,name=go_package" json:"go_package,omitempty"`
+ GoImportPath *string `protobuf:"bytes,12,opt,name=go_import_path" json:"go_import_path,omitempty"`
@wuman
wuman / protobuf.patch
Created November 25, 2013 07:28
Patch to protobuf for goprotobuf issue #32 (https://code.google.com/p/goprotobuf/issues/detail?id=32).
Index: src/google/protobuf/descriptor.proto
===================================================================
--- src/google/protobuf/descriptor.proto (revision 505)
+++ src/google/protobuf/descriptor.proto (working copy)
@@ -281,6 +281,8 @@
// placed. There is no default.
optional string go_package = 11;
+ // Sets the Go import path of structs generated from this .proto file.
+ optional string go_import_path = 12;