Skip to content

Instantly share code, notes, and snippets.

View ariesy's full-sized avatar

Kun Zhu ariesy

  • Shenzhen,China
  • 19:22 (UTC +08:00)
View GitHub Profile
@datchley
datchley / react-redux-style-guide.md
Last active September 12, 2024 04:07
React + Redux Style Guide
@jonlabelle
jonlabelle / async_await_best_practices_cheatsheet.md
Last active September 18, 2024 06:14
C# Asynchronous Programming Guideline Cheat Sheet

Async Await Best Practices Cheat Sheet

Summary of Asynchronous Programming Guidelines

Name Description Exceptions
Avoid async void Prefer async Task methods over async void methods Event handlers
Async all the way Don't mix blocking and async code Console main method
Configure context Use ConfigureAwait(false) when you can Methods that require con­text
@RunnerRick
RunnerRick / .sails-and-passport.md
Last active December 3, 2023 05:01 — forked from theangryangel/AuthController.js
How To Integrate Sails and Passport
@ronanguilloux
ronanguilloux / silex
Created July 15, 2012 21:30
Raspberry Pi Silex on Nginx
server {
listen 80; ## listen for ipv4
server_name silex;
access_log /var/log/nginx/silex.access.log;
error_log /var/log/nginx/silex.error.log;
root /var/www/silex;
@ariesy
ariesy / 12306.user.js
Created January 10, 2012 12:29 — forked from xczdx/12306.user.js
12306 Auto Query => A javascript snippet to help you book ticket
/*
12306 Auto Query => A javascript snippet to help you book tickets online.
Copyright (C) 2011-2012 Jingqin Lynn
Includes jQuery
Copyright 2011, John Resig
Dual licensed under the MIT or GPL Version 2 licenses.
http://jquery.org/license
Includes Sizzle.js
@xczdx
xczdx / 12306.user.js
Created January 8, 2012 15:34 — forked from quietlynn/12306.user.js
12306 Auto Query => A javascript snippet to help you book ticket
/*
12306 Auto Query => A javascript snippet to help you book tickets online.
Copyright (C) 2011-2012 Jingqin Lynn
Includes jQuery
Copyright 2011, John Resig
Dual licensed under the MIT or GPL Version 2 licenses.
http://jquery.org/license
Includes Sizzle.js