Skip to content

Instantly share code, notes, and snippets.

🐢
Moving into a new environment...

Cheng Zhao zcbenz

🐢
Moving into a new environment...
Block or report user

Report or block zcbenz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View browser.html
<!DOCTYPE html>
<html>
<head>
<title>Split Pane</title>
<link rel="stylesheet" href="split-pane.css" />
<style>
html, body {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
height: 100%;
@zcbenz
zcbenz / block.txt
Last active Dec 10, 2019
My AdBlock List
View block.txt
[Adblock Plus 2.0]
||a.alimama.cn/
||ad.ad-stir.com/
||ad.atdmt.com/
||ad.maist.jp/
||adm.baidu.com/
||ads-a.juicyads.com/
||ads.exoclick.com/
||ads.pubmatic.com/
||ads-union.jd.com/
@zcbenz
zcbenz / standalone_module.md
Created Sep 7, 2017
Generate a standalone file for a Node module
View standalone_module.md
  1. Install browserify and uglify-js:
npm i -g browserify uglify-js
  1. Generate a standalone file for the module:
browserify --standalone ExportedName --node index.js > module.js
@zcbenz
zcbenz / index.html
Created Jul 16, 2015
crash-reporter-test
View index.html
<html>
<body>
<script type="text/javascript" charset="utf-8">
var crashRepoter = require('crash-reporter');
crashRepoter.start({
submitUrl: 'http://127.0.0.1:' + require('remote').process.port
});
process.crash();
</script>
</body>
@zcbenz
zcbenz / v8_snapshot.patch
Created Feb 6, 2014
Patch to expose V8's snapshot feature
View v8_snapshot.patch
Index: v8/include/v8.h
===================================================================
--- v8/include/v8.h (revision 17714)
+++ v8/include/v8.h (working copy)
@@ -4254,7 +4254,7 @@
* be performed.
*/
class V8_EXPORT AssertNoGCScope {
-#ifndef DEBUG
+#ifdef NDEBUG
@zcbenz
zcbenz / stackshot.sh
Created Jan 23, 2014
Generate stack trace of a running process on OS X
View stackshot.sh
# Written by Cheng Zhao(zcbenz@gmail.com).
# Published under Public Domain.
# Usage: stackshot.sh pid
# Path to stackshot tool.
STACKSHOT='/usr/libexec/stackshot'
# Path to symbolicated report.
TRACEFILE='/Library/Logs/stackshot-syms.log'
View index.php
<?php
$tel_no = $_GET['hm'];
$c = $_GET['c']?$_GET['c']:0;
$c++;
?>
<!DOCTYPE html>
<html>
<head>
<title>迷你轰炸台 - 短信炸弹 - BETA!</title>
<?php
View GitHub招聘经验.md

原文:https://github.com/blog/1269-the-github-hiring-experience

(文中所有的“我”都指原作者——译者注)

在GitHub工作很重要的一件事情就是总结经验,面试、招聘和入职的经验自然也在其中。而我最近刚刚经历了这整个流程,所以我想趁这一切在我脑子里还新鲜的时候,和大家分享一下。

第一次联系

我的故事从一封email开始。有一个晚上我一边喝啤酒一边在网上随便浏览文章,然后正巧看见了@kneath一些关于在GitHub工作的帖子。我以前就读过很多GitHubber写的文章,我对于他们处理商业、技术和生活其他方面的方式印象非常深刻。我不知道他们是否还在招人,但是过了一两天后我下定决心给Kyle发了一封email介绍我自己,然后我就开始直接和他在Skype上聊天,过程简单的让我震惊。

You can’t perform that action at this time.