Skip to content

Instantly share code, notes, and snippets.

Jingqin Lynn quietlynn

Block or report user

Report or block quietlynn

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
@quietlynn
quietlynn / js_index.md
Last active Oct 17, 2017
JavaScript交流记录索引
View js_index.md
@quietlynn
quietlynn / js07.md
Created Aug 12, 2014
JavaScript 第七次记录整理
View js07.md

任务的各种模式

同步模式

  • 简介:控制流停留在某个函数调用内,任务完成后返回
  • 结果:通过函数返回值传递任务的执行结果
  • 错误:通过抛出异常或者特殊返回值来表明任务失败

例子:

@quietlynn
quietlynn / mc_chat.sh
Created Jul 6, 2014
Inputting chat message in Minecraft (probably with IM)
View mc_chat.sh
#!/bin/bash
# Dependencies:
# * xdotool
# * xclip
# * kdialog or zenity
# * perl (only if "sleep 0.3" (float) is not accepted)
# Usage:
# Bind this script to a keyboard shortcut and then press it in Minecraft.
# Configuration:
View config.yml
# If you need help with this config, view the SignShop Quick Reference PDF located in the SignShop folder
# You can also visit our Bukkit page at tiny.cc/SignShop
# There are a few basic options to modify how SignShop acts globally
# You can edit anything in this config and use "/signshop reload" to reload the config while the server is running
View js01.md
@quietlynn
quietlynn / GClef_Tanabata.svg
Created Aug 11, 2013
For my Google+ profile photo. Based on Debian SpaceFun Theme (Copyright GPLv2 by Valessio S Brito, https://wiki.debian.org/DebianArt/Themes/SpaceFun ) Licensed under GPLv2.
View GClef_Tanabata.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@quietlynn
quietlynn / gplus.keyboard.user.js
Created Aug 14, 2012
Google+ Keyboard Shortcuts
View gplus.keyboard.user.js
/*
Google+ Keyboard Shortcuts
Copyright (C) 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
@quietlynn
quietlynn / gplus.quick_mention.user.js
Created Jul 1, 2012
Google+ Quick Mention => Mention G+ users quickly.
View gplus.quick_mention.user.js
/*
Google+ Quick Mention => Mention G+ users quickly.
Copyright (C) 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
@quietlynn
quietlynn / gplus_max_stream_w_right.user.css
Created May 29, 2012
Maximized Stream Style with Right Column for Google+
View gplus_max_stream_w_right.user.css
/*
To the extent possible under law, 林静琴 <https://github.com/quietlynn> has waived all copyright and related or neighboring rights to Maximized Stream Style with Right Column for Google+. This work is published from: United States.
http://creativecommons.org/publicdomain/zero/1.0/
*/
/* == 增大横向有效面积 == */
/* 右侧边栏固定位置、固定宽度 */
.hxa {
position: fixed !important;
@quietlynn
quietlynn / gplus_wide_stream_w_right.user.css
Created May 13, 2012
Wide Stream Style with Right Column for Google+
View gplus_wide_stream_w_right.user.css
/*
To the extent possible under law, 林静琴 <https://github.com/quietlynn> has waived all copyright and related or neighboring rights to Wide Stream Style for Google+. This work is published from: United States.
http://creativecommons.org/publicdomain/zero/1.0/
*/
/* 右侧边栏固定位置、固定宽度 */
.ksa {
position: fixed !important;
margin-left: -286px !important;
width: 266px !important;
You can’t perform that action at this time.