Skip to content

Instantly share code, notes, and snippets.

@quietlynn
quietlynn / config.yml
Last active August 29, 2015 14:02 — forked from phoenixlzx/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
@quietlynn
quietlynn / mc_chat.sh
Created July 6, 2014 15:50
Inputting chat message in Minecraft (probably with IM)
#!/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:
@quietlynn
quietlynn / js07.md
Created August 12, 2014 11:14
JavaScript 第七次记录整理

任务的各种模式

同步模式

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

例子:

@quietlynn
quietlynn / gplus.timetable.user.js
Created January 8, 2012 11:12
Google+ Timetable
/*
Google+ Timetable => Get links of one's recent posts.
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.censor.post.user.js
Created January 18, 2012 15:41
Google+ Post Censorship => Censor the words in your post.
/*
Google+ Post Censorship => Censor the words in your post.
Copyright (C) 2012 Jingqin Lynn
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@quietlynn
quietlynn / gplus.inline_media.user.js
Created January 27, 2012 11:54
Google+ Inline Media
/*
Google+ Inline Media => Reduce rich-media noise.
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_toolkit.user.js
Created January 28, 2012 12:52
[DEPRECATED] Google+ Toolkit
/*
Google+ Toolkit => Handle Google+ DOM more easily.
Copyright (C) 2012 Jingqin Lynn
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@quietlynn
quietlynn / gplus_fuu.user.js
Created January 28, 2012 12:52
[DEPRECATED] Google+ Fuu
/*
Google+ Fuu => Reply posts in one click.
Copyright (C) 2012 Jingqin Lynn
Includes Japansese translation of UI text.
Copyright (C) 2012 +Cless Jiang < https://plus.google.com/114649741876253367865 >
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
@quietlynn
quietlynn / gplus_conditional_fuu.user.js
Created March 23, 2012 14:57
Google+ Conditional Fuu
/*
Google+ Conditional Fuu => Automatically reply posts on certain conditions.
Copyright (C) 2012 Jingqin Lynn
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@quietlynn
quietlynn / gplus.i18n.user.js
Created April 10, 2012 16:09
Google+ i18n => Internationalization and localization on Google+
/*
Google+ i18n => Internationalization and localization on Google+
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