Merge branch 'master' into master

This commit is contained in:
996icu
2019-04-05 17:45:42 +08:00
committed by GitHub
10 changed files with 156 additions and 42 deletions

24
LICENSE_zh-Hant Normal file
View File

@@ -0,0 +1,24 @@
版權所有c<年份><版權持有人>
反996授權條款版本1.0
在符合下列條件的情況下,
特此免費向任何得到本授權作品的副本(包括源代碼、文件和/或相關內容,以下統稱為「授權作品」)的個
人和法人授權:被授權之個人或法人有權以任何目的處置授權作品,包括但不限於使用、複製,修改,衍生利
用、散布,發佈和再許可:
1. 個人或法人必須在授權作品的每個再散布或衍生副本上顯著標示以上版權聲明和本授權條款,不得自行修
改。
2. 個人或法人必須嚴格遵守與個人實際所在地或個人出生地或歸納國籍、或法人註冊地或經營地(以較嚴格
者為準)的司法管轄區所有適用的與勞動和就業相關法律、法規、規則和標準。如果該司法管轄區沒有此
類法律、法規、規章和標準或其法律、法規、規章和標準不可執行,則個人或法人必須遵守核心國際勞動
基準公約。
3. 個人或法人不得以任何方式誘導或強迫其全職或兼職員工或其獨立承包人以口頭或書面形式同意直接或間
接限制、削弱或放棄其所擁有的,受相關與勞動和就業有關的法律、法規、規則和標準保護的權利或補救
措施,無論該等書面或口頭協議是否被該司法管轄區的法律所承認,該等個人或法人也不得以任何方法限
制其僱員或獨立承包人向版權持有人或監督授權許可合規情況的有關當局報告或投訴上述違反授權條款的
行為的權利。
該授權作品是「按原樣」提供,不做任何明示或暗示的保證,包括但不限於對適銷性、特定用途適用性和非侵
權性的保證。在任何情況下,無論是在合約訴訟、侵權訴訟或其他訴訟中,版權持有人均不承擔因本軟體或本
軟體的使用或其他交易而產生、引起或與之相關的任何索賠、損害或其他責任。

View File

@@ -3,7 +3,7 @@
## The purpose
The 999.ICU project has many(now, the number is 3) license generator tools and it seems that the number of that will continue to grow. Thus I write this test tool to validate the functionality of the tools.
I hope the newly added tools must add test file and pass it.
I hope the newly added tools must add a test file and pass the tests.
## Usage
For example, if you would like to add a license generator tool written by `ruby`, you just need to copy the `test_go.rs` file and rename it as `test_ruby.rs`, and replace the parameter in `arg()` of the test function.

View File

@@ -1,19 +1,23 @@
pub mod test_go;
pub mod test_py;
pub mod test_rust;
use assert_cmd::prelude::*;
use dir_diff;
use std::process::Command;
use tempdir;
use tempdir::TempDir;
/// todo: The python test is to be finished.. I'm having lunch now!
#[test]
fn test_go_help() {
let path = "../gen_license/genlicense/__init_.py";
let mut cmd = Command::new("python");
cmd.arg("-h");
fn test_rust_help() {
/// todo: compile rust executive file
let path = "cargo";
let mut cmd = Command::new("run");
/// todo: add directory
cmd.dir("");
// assert_eq!(output, help);
let assert = cmd.assert();
assert.success().stdout(
/// todo: replace this
r#"gen-license-go is a 996.icu license generator implemented in Go,
this generator is developed to generate various open-source licenses including MIT, Apache, etc.
More importantly, the main purpose of this tool is to incorporate those aforesaid licenses into
@@ -34,20 +38,3 @@ Flags:
Use "gen-license-go [command] --help" for more information about a command."#,
);
}
#[test]
fn test_go_create_license_mit() {
let tmp_dir = TempDir::new("foo").expect("create temp dir failed");
let path = if cfg!(targe_os = "windows") {
"../gen-license-go/bin/windows/gen-license-go.exe"
} else if cfg!(target_os = "linux") {
"../gen-license-go/bin/linux/gen-license-go"
} else {
"../gen-license-go/bin/osx/gen-license-go"
};
let mut cmd = Command::new(&path);
cmd.arg("gen").arg("mit").arg("--996icu").args("en-us");
assert!(
!dir_diff::is_different(&tmp_dir.path(), "../../gen-license-go/licenses/mit.txt").unwrap()
);
}

View File

@@ -1,3 +0,0 @@
fn main() {
println!("Hello, world!");
}

View File

@@ -0,0 +1,76 @@
use assert_cmd::prelude::*;
use dir_diff;
use std::process::Command;
use tempdir;
use tempdir::TempDir;
#[test]
fn test_go_help() {
let path = "../gen_license/genlicense/__init_.py";
let mut cmd = Command::new("python");
cmd.arg("-h");
// assert_eq!(output, help);
let assert = cmd.assert();
assert.success().stdout(
r#"gen-license-go is a 996.icu license generator implemented in Go,
this generator is developed to generate various open-source licenses including MIT, Apache, etc.
More importantly, the main purpose of this tool is to incorporate those aforesaid licenses into
a brand new license: 996.icu, defined by this repository.
Usage:
gen-license-go [flags]
gen-license-go [command]
Available Commands:
gen gen is a 996.icu license generator-command.
help Help about any command
Flags:
-h, --help help for gen-license-go
-l, --list list all licenses (default true)
Use "gen-license-go [command] --help" for more information about a command."#,
);
}
#[test]
fn test_py_create_license_mit() {
let tmp_dir = TempDir::new("foo").expect("create temp dir failed");
let path = "../gen_license/genlicense/__init_.py";
let mut cmd = Command::new("python");
cmd.arg("gen").arg("mit").arg("--996icu").args("en-us");
assert!(
!dir_diff::is_different(&tmp_dir.path(), "../../gen-license-go/licenses/mit.txt").unwrap()
);
}
#[test]
fn test_py_create_license_mit() {
let tmp_dir = TempDir::new("foo").expect("create temp dir failed");
let path = "../gen_license/genlicense/__init_.py";
let mut cmd = Command::new("python");
cmd.arg("gen").arg("mit").arg("--996icu").args("en-us");
assert!(
!dir_diff::is_different(&tmp_dir.path(), "../../gen-license-go/licenses/mit.txt").unwrap()
);
}
#[test]
fn test_py_create_license_epl() {
let tmp_dir = TempDir::new("foo").expect("create temp dir failed");
let path = "../gen_license/genlicense/__init_.py";
let mut cmd = Command::new("python");
cmd.arg("gen").arg("epl").arg("--996icu").args("en-us");
assert!(
!dir_diff::is_different(&tmp_dir.path(), "../../gen-license/licenses/epl-2.txt").unwrap()
);
}
#[test]
fn test_py_create_license_gpl() {
let tmp_dir = TempDir::new("foo").expect("create temp dir failed");
let path = "../gen_license/genlicense/__init_.py";
let mut cmd = Command::new("python");
cmd.arg("gen").arg("gpl").arg("--996icu").args("en-us");
assert!(
!dir_diff::is_different(&tmp_dir.path(), "../../gen-license/licenses/gpl.txt").unwrap()
);
}

View File

@@ -63,7 +63,6 @@ Projects under Anti 996ICU License. Thanks for your support!
| <img src="https://github.com/EdgeTranslate/EdgeTranslate/raw/master/static/icon/icon48.png" width="60"> | [Edge Translate](https://github.com/EdgeTranslate/EdgeTranslate) | [GitHub](https://github.com/EdgeTranslate) / [Chrome Web Store](https://chrome.google.com/webstore/detail/bocbaocobfecmglnmeaeppambideimao) / [Firefox Add-ons](https://addons.mozilla.org/firefox/addon/edge_translate) | 一款支持多种浏览器的网页翻译插件 |
| <img src="https://github.com/ame017/AMEGetterMaker/blob/master/intro/introduce.png?raw=true" width="60"> | [AMEGetterMaker](https://github.com/ame017/AMEGetterMaker) | [Github-AMEGetterMaker](https://github.com/ame017/AMEGetterMaker) | (Xcode)一个无需resign的Xcode懒加载生成器 |
| <img src="https://raw.githubusercontent.com/ame017/AMECategoryMaker/master/Display/ACM-introduce.png" width="60"> | [AMECategoryMaker](https://github.com/ame017/AMECategoryMaker) | [Github-AMECategoryMaker](https://github.com/ame017/AMECategoryMaker) | (Xcode)一个无需resign的Xcode category生成器 |
| <img src="https://hikyuu.org/images/hikyuu_logo.png" width="60"> | [Hikyuu](https://github.com/fasiondog/hikyuu) | [Github](https://github.com/fasiondog/hikyuu) | Hikyuu Quant Framework是一款基于C++/Python的高性能开源量化交易研究框架用于策略分析及回测 |
| <img src="https://github.com/nonoroazoro/vscode-syncing/blob/master/resources/logo.png?raw=true" width="60"> | [vscode-syncing](https://github.com/nonoroazoro/vscode-syncing) | [Syncing - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=nonoroazoro.syncing) | Syncing 是一个 VSCode 扩展,它能在多台设备之间同步您的所有 VSCode 配置。 |
| <img src="https://raw.githubusercontent.com/zhangyu0310/MyPicture/master/Bounce.png" width="60"> | [Bounce](https://github.com/zhangyu0310/bounce) | [Bounce](https://zhangyu0310.github.io/bounce/) | A C++11 network library in Linux. |
| - | [Swoole IDE helper](https://github.com/wudi/swoole-ide-helper) | [Github](https://github.com/wudi/swoole-ide-helper) | Auto completion, trigger suggest and view docs for Swoole in editor. |

View File

@@ -42,7 +42,7 @@
|北京|[京东](https://www.jd.com)|2019年3月|995|[京东回应995工作制不会强制要求 但要全情投入](http://tech.163.com/19/0312/13/EA2QGIOK00097U7R.html)<br>[刘强东内部邮件称要淘汰或协商解决掉“三种人”](https://i.loli.net/2019/04/02/5ca2e8727f213.jpg)|
|北京|[58同城](https://www.58.com)|2016年9月|996|[58同城实行全员996工作制 被指意图逼员工主动辞职](http://finance.cnr.cn/gs/20160901/t20160901_523105136.shtml)|
|南京|[苏宁](http://www.suning.com)|2019年3月|996|[如何评价今年苏宁正式实行996工作制?](https://www.zhihu.com/question/314152843/answer/613149536)|
|北京|[途家网](https://www.tujia.com)|2017年12月|897|[加班邮件、诉讼材料](https://iamybj.github.io/tujia/)|
|北京|[途家网](https://www.tujia.com)|2017年12月|897|[暴力裁员、996加班、发感冒冲剂、公司搭睡觉帐篷、诉讼材料](https://iamybj.github.io/tujia/)|
|杭州|[有赞](https://www.youzan.com)|2019年1月|996|[年会成了“鸿门宴”这家公司“强制996”被员工举报](http://www.linkshop.com.cn/web/archives/2019/418163.shtml)|
|北京|[字节跳动](https://bytedance.com)|2017年7月|加班|[看准网](https://www.kanzhun.com/gsr5622411tl56.html)、[搜狐](https://www.sohu.com/a/256795805_231667)|
|上海|[拼多多](https://www.pinduoduo.com//)|2019年2月|11116、两班倒|[996还不敷拼多多又玩两班倒员工大喊比富士康还狠](http://www.taobao92.com/thread-1313-1-1.html)|
@@ -79,6 +79,7 @@
|北京|[北京游奕互动软件有限公司](http://www.uegame.com/)|2016年3月|986|加班不给钱的那种,用这个来卡大家项目上线分红[打卡记录](img/yyhd.png)|
|天津|[长城汽车股份有限公司天津园区](http://www.gwm.com.cn/)|2019年3月28日|大小周|[招聘简章](http://www.hljsxy.org.cn/website/sites/common/readwNews.aspx?JpkId=1&id=13289)|
|嘉兴|[蓝鸽集团有限公司](http://www.chinalancoo.com)|2019年4月4日|每月仅加班需满50小时|[工资中的一半是要靠加班和绩效才能取得](https://tieba.baidu.com/f?kz=4421231059&mo_device=1&ssid=0&from=844b&uid=0&pu=usm@2,sz@320_1001,ta@iphone_2_7.0_24_67.0&bd_page_type=1&baiduid=16C9EAE1D7D54FAC1A178F5882C9EBD3&tj=h5_mobile_1_0_10_l4&referer=m.baidu.com?pn=0&)
|上海|[依图网络科技有限公司](http://www.yitutech.com/)|2019年4月5日|996|[知乎](https://www.zhihu.com/question/300132949/answer/606529193)|
更多不良公司(包括但不限于违法加班)请参见:
[程序员找工作黑名单](https://github.com/shengxinjing/programmer-job-blacklist)

56
externals/news.md vendored
View File

@@ -1,14 +1,44 @@
相关媒体报道,感谢媒体朋友们
===
# 相关媒体报道,感谢媒体朋友们
- 《人民网》:[“996工作制”是谁的如意算盘](http://opinion.people.com.cn/n1/2019/0402/c119388-31009768.html)
- 《南方日报》:[正视年轻人压力“爆棚”的危险](http://epaper.southcn.com/nfdaily/html/2019-04/03/content_7790850.htm)
- 《广州日报》[“996工作制”不可持续](http://gzdaily.dayoo.com/pc/html/2019-04/03/content_108225_594534.htm)
- 《经济日报-中国经济网》:[拒绝“996”工作制以人为本才能获得长远发展](http://views.ce.cn/view/ent/201904/03/t20190403_31794131.shtml)
- 《全天候科技》[996谁的ICU](https://awtmt.com/articles/3506048)
- 《差评》:[奥斯维辛没有新闻互联网也没有什么996。](https://mp.weixin.qq.com/s/ML_VnsWcQdUGCLYXOABlrw)
- 《好奇心日报》:[在代码仓库里反对“996”中国程序员抗议加班制度](https://www.qdaily.com/articles/62583.html)
- 《好奇心日报》:[996 惹怒程序员之后,他们的抗议引发了全球关注](https://www.qdaily.com/articles/62652.html)
- 《新华网》:[被“996”工作制围困的年轻人像是定好闹钟的机器](http://www.xinhuanet.com/2019-04/02/c_1124313774.htm)
- 《北京青年报》:[40家互联网公司陷“996”工作制风波](http://www.chinanews.com/sh/2019/04-05/8801021.shtml)
- 《深圳卫视》:[滚蛋吧“996”式加班](https://www.toutiao.com/a6675967261229974023)
## 中文媒体
### 大陆媒体
- 人民网[“996工作制”是谁的如意算盘?](http://opinion.people.com.cn/n1/2019/0402/c119388-31009768.html)
- 南方日报:[正视年轻人压力“爆棚”的危险](http://epaper.southcn.com/nfdaily/html/2019-04/03/content_7790850.htm)
- 广州日报[996工作制”不可持续](http://gzdaily.dayoo.com/pc/html/2019-04/03/content_108225_594534.htm)
- 经济日报(中国经济网):[拒绝“996”工作制以人为本才能获得长远发展](http://views.ce.cn/view/ent/201904/03/t20190403_31794131.shtml)
- 全天候科技:[996谁的ICU](https://awtmt.com/articles/3506048)
- 差评:[奥斯维辛没有新闻互联网也没有什么996。](https://mp.weixin.qq.com/s/ML_VnsWcQdUGCLYXOABlrw)
- 好奇心日报:[在代码仓库里反对“996”中国程序员抗议加班制度](https://www.qdaily.com/articles/62583.html)[Wayback Machine](https://web.archive.org/web/20190405021913/https://www.qdaily.com/articles/62583.html)
- 好奇心日报:[996 惹怒程序员之后,他们的抗议引发了全球关注](https://www.qdaily.com/articles/62652.html)[Wayback Machine](https://web.archive.org/web/20190405013618/https://www.qdaily.com/articles/62652.html)
- 新华网:[被“996”工作制围困的年轻人像是定好闹钟的机器](http://www.xinhuanet.com/2019-04/02/c_1124313774.htm)
- 北京青年报:[40家互联网公司陷“996”工作制风波](http://www.chinanews.com/sh/2019/04-05/8801021.shtml)
- 深圳卫视:[滚蛋吧“996”式加班](https://www.toutiao.com/a6675967261229974023)
- 电子工程专辑:[工作996生病ICU](https://www.eet-china.com/news/201904011154.html)
### 香港媒体
- PCM[【日日做到冇停手】國內程式員透過 Github 抗議 996 加班文化](https://www.pcmarket.com.hk/2019/04/03/%E5%9C%8B%E5%85%A7%E7%A8%8B%E5%BC%8F%E5%93%A1%E9%80%8F%E9%81%8Egithub%E6%8A%97%E8%AD%B0996%E5%8A%A0%E7%8F%AD%E6%96%87%E5%8C%96/)[Wayback Machine](https://web.archive.org/web/20190405045935/https://www.pcmarket.com.hk/2019/04/03/%E5%9C%8B%E5%85%A7%E7%A8%8B%E5%BC%8F%E5%93%A1%E9%80%8F%E9%81%8Egithub%E6%8A%97%E8%AD%B0996%E5%8A%A0%E7%8F%AD%E6%96%87%E5%8C%96/)
- 端传媒:[朝九晚九每週六天大陸程序員GitHub上抗議996血汗加班能否凱旋歸來](https://theinitium.com/roundtable/20190404-roundtable-zh-996icu/)
### 台湾媒体
- 联合新闻网:[工程師大串連在github上用程式碼抗議996血汗加班制](https://udn.com/news/story/7086/3728572)[Wayback Machine](https://web.archive.org/web/20190331140919/https://udn.com/news/story/7086/3728572)
### 非中国媒体
- BBC中文网[中国程序员GitHub上抗议“996”血汗加班走红网络](https://www.bbc.com/zhongwen/simp/chinese-news-47824716)
- 美国之音:[中国科技工作者在线抗议“996”工作制](https://www.voachinese.com/a/china-tech-labor-996-20190404/4862315.html)
- 多维新闻网:[“码农”线上串联维权 引中国官媒关注](http://news.dwnews.com/china/news/2019-04-03/60127095.html)
## 英文媒体
### 香港媒体
- 南华早报:[Developers lives matter Chinese software engineers use Github to protest against the countrys 996 work schedule](https://www.scmp.com/tech/start-ups/article/3003691/developers-lives-matter-chinese-software-engineers-use-github)
### 非中国媒体
- 《连线》杂志:[How github is helping overworked chinese programmers](https://www.wired.com/story/how-github-helping-overworked-chinese-programmers/)
- Vice[Chinese Workers Are Trying to Bake Fair Labor Practices Into Software](https://motherboard.vice.com/en_us/article/mbz84n/chinese-workers-are-trying-to-bake-fair-labor-practices-into-software)
- RADII Media[GitHub Protest Over Chinese Tech Companies' "996" Culture Goes Viral](https://radiichina.com/github-protest-chinese-tech-996/)
- Abacus[Follow Chinas “996” work hours and youll end up in an ICU, says Chinese developer](https://www.abacusnews.com/digital-life/follow-chinas-996-work-hours-and-youll-end-icu-says-chinese-developer/article/3003702)
- Abacus[Chinese browsers block protest against Chinas 996 overtime work culture](https://www.abacusnews.com/digital-life/chinese-browsers-block-protest-against-chinas-996-overtime-work-culture/article/3004543)
- The Irish Times[China tech worker protest against long working hours goes viral](https://www.irishtimes.com/business/technology/china-tech-worker-protest-against-long-working-hours-goes-viral-1.3848463)
- The Verge[Chinese developers use GitHub to protest long work hours](https://www.theverge.com/2019/4/2/18291035/chinese-developers-github-protest-long-work-hours)
- The Verge[Tencent and Xiaomi may be censoring a GitHub page for airing worker grievances](https://www.theverge.com/2019/4/3/18294030/tencent-xiaomi-china-censorship-browser-block-github-page-worker-grievances)
- 金融时报:[China tech worker protest against long working hours goes viral](https://www.ft.com/content/72754638-55d1-11e9-91f9-b6515a54c5b1)[存档](https://archive.is/IZqTj)
## 韩文媒体
- 한경닷컴:["잠도, 섹스도, 삶도 없다"…'996룰'에 반기든 中 스타트업 직원들](https://www.hankyung.com/article/201904053785i)
## 法文媒体
- ZDNet[996.ICU : Sur Github, les développeurs chinois donnent de la voix](https://www.zdnet.fr/actualites/996icu-sur-github-les-developpeurs-chinois-donnent-de-la-voix-39882985.htm)