Skip to content

Instantly share code, notes, and snippets.

View jareguo's full-sized avatar
:octocat:

Jare Guo jareguo

:octocat:
View GitHub Profile
@r0nn
r0nn / atom-shell-harmony-switch
Last active August 29, 2015 14:01
Start atom-shell with `--harmony` switch
app.on('ready', function() {
app.commandLine.appendSwitch("js-flags", "--harmony");
// Create the browser window, load main page etc
// ...
});
@adam-p
adam-p / Local PR test and merge.md
Last active August 3, 2024 16:45
Testing a pull request, then merging locally; and avoiding TOCTOU

It's not immediately obvious how to pull down the code for a PR and test it locally. But it's pretty easy. (This assumes you have a remote for the main repo named upstream.)

Getting the PR code

  1. Make note of the PR number. For example, Rod's latest is PR #37: Psiphon-Labs/psiphon-tunnel-core#37

  2. Fetch the PR's pseudo-branch (or bookmark or rev pointer whatever the word is), and give it a local branch name. Here we'll name it pr37:

$ git fetch upstream pull/37/head:pr37
@xavierskip
xavierskip / meta.html
Last active October 24, 2020 14:49
对于国内双核浏览器强制使用Webkit内核渲染页面
<meta name="renderer" content="webkit">
//360 6.X 以上可识别
<meta name="force-rendering" content="webkit">
//其他双核可识别
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
//对于没有自带 IE7 内核的浏览器 强制使用用户已安装的最高版本浏览器渲染, 有Chrome框架的优先使用
@bkaradzic
bkaradzic / yelp-programmers.md
Last active November 2, 2023 03:43
Phenomenon of Yelp Programmers

Phenomenon of Yelp Programmers

Other day on Twitter I ran into some retweets about "10x programmers" by some people who are not known for their coding, but rather complaining on Twitter. Since I followed them before I know partially their work history, or more like their brief stints, at different well known game tech companies.

This made me think about recent phenomenon of programmers who seem to be working on games with existing codebases their whole career, without significant contribution to any of those code bases, but who are very vocal and opinionated about things in those code bases.

Some traits of Yelp programmers are:

  • Brief stints at different game companies.
@junlas
junlas / DomAudioGroup.js
Last active March 2, 2018 05:23
Dom Audio 以及 Web Audio 在微信网页上的播放管理工具类(自动播放,不需要点击播放)
import WeixinAudio from "../weixin/WeixinAudio";
import WeixinUtils from "../weixin/WeixinUtils";
export default class DomAudioGroup {
_audioUrl = null;
_endCallback = null;
_domAudio = null;
## USD 格式 特色
@emilianavt
emilianavt / BestVTuberSoftware.md
Last active November 18, 2024 21:34
Best VTuber Software

Best VTuber software

This is a list of the most commonly used and relevant vtubing software. The "best" will always be subjective and depend on your specific requirements. Overall, the information in this list is as accurate as I could figure it out, but there might be errors or some details might become out of date. If you find anything that needs to be corrected, please let me know. You can also note it in a comment.

Additional explanations:

  • iPhone means that an iPhone is basically required
  • iFacialMocap support means that tracking data can be received from the iFacialMocap iPhone app
  • VMC protocol means that the application can send and/or receive tracking data from other VMC protocol capable applications, allowing the combination of multiple tracking methods (e.g. VSeeFace receiving VR tracking from Virtual Motion Capture and iPhone/ARKit face tracking from Waidayo)
  • Tobii means that the Tobii eye tracker is supported