Skip to content

Instantly share code, notes, and snippets.

@oott123
oott123 / civitas_auto_read_notifications.user.js
Created March 26, 2014 15:19
civitas 通知自动已读
// ==UserScript==
// @id civitas_auto_read_notifications
// @name civitas 通知自动已读
// @version 1.0
// @namespace oott123_carn
// @author oott123
// @description
// @include http://civitas.soobb.com/Mine/Notifications/
// @run-at window-load
// ==/UserScript==
// ==UserScript==
// @id powerful-civitas
// @name 独间辅助 - c世界居民必备
// @version 1.0
// @namespace oott123_powerful_civitas
// @author oott123
// @description
// @include http://*.soobb.com/*
// @run-at document-end
// ==/UserScript==
@oott123
oott123 / nullrule.md
Last active August 29, 2015 14:03 — forked from dimpurr/nullrule.md
菊苣大触们请留我们一条生路暨渣渣人格尊严保护促进协会群规

(null) Rules

本群是一个菊苣们的技术闲聊群,聚集着一群和谐友爱齐心协力打击着吾等渣渣的菊苣们(误)。欢迎将觉得有意思的朋友也拉进来,但是务必保持小圈子的和谐友爱氛围,务必保持小圈子的和谐友爱氛围,因为很重要所以说两遍 ……

总之就是要保持聊天记录河蟹

  1. 尊重他人也尊重自己的智商。
  2. 鼓励讨论,不鼓励争论与辩论——即在主观问题上以驳倒对方为目的的发言。
  3. 考虑到纯文本的优越性,语音不被鼓励、尤其是可能令人反感的声音。
@oott123
oott123 / notepad_extend.css
Last active August 29, 2015 14:07
V2EX Notepad css
@media all and (max-width:730px) {
#Main {
width: 100%;
margin: 0;
}
.box {
box-shadow: none;
border-bottom: none;
}
@oott123
oott123 / google_chinese_webpage.user.js
Created November 15, 2014 13:10
google_chinese_webpage
// ==UserScript==
// @id google_chinese_webpage
// @name 谷歌显示“中文网页”链接
// @version 1.0
// @namespace google_chinese_webpage
// @author oott123
// @description
// @include https://www.google.*/search*
// @run-at document-end
// ==/UserScript==
@oott123
oott123 / pat.user.css
Created December 6, 2014 13:33
pat红绿对调.css
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("www.patest.cn") {
#body .submitRes-3,.caseRes-3{
color:green
}
#body .submitRes-4,.submitRes-5,.submitRes-6,.submitRes-7,.submitRes-8,.submitRes-9,.submitRes-10,.submitRes-11,.submitRes-12,.submitRes-13,.caseRes-4,.caseRes-5,.caseRes-6,.caseRes-7,.caseRes-8,.caseRes-9,.caseRes-10,.caseRes-11,.caseRes-12,.caseRes-13{
color:red
}
@oott123
oott123 / keybase.md
Created July 20, 2015 13:08
keybase.md

Keybase proof

I hereby claim:

  • I am oott123 on github.
  • I am oott123 (https://keybase.io/oott123) on keybase.
  • I have a public key whose fingerprint is 0C52 E1EC 0FD6 3009 3834 0B57 258E 0070 D61B 0D8D

To claim this, I am signing this object:

@oott123
oott123 / result.txt
Created July 25, 2015 04:20
Node.js Harmony
node --harmony test.js
p1 callback
p3 callback
this is p1
@oott123
oott123 / 解一元二次方程.cpp
Created October 25, 2012 14:19
解一元二次方程,可以连续解多次
#include "iostream.h"
#include "math.h"
int main(){
float a,b,c;
float x1,x2,deta;
bool conti;
conti=true;
while(conti){
cout<<"ax^2 + bx + c\n";
cout<<"Input a,b,c with Enter between them:\n";
以下是和MaxCDN客服的聊天记录。括号里头是我手动翻译的,不保证准确性。……
me: I have a problem with order your service. I got the error message said
"Our order form detected an error with your network. Please try again later"
btw, i'm from China. do you accept order from China?
(我:我在订购你们的服务的时候遇到了一点问题。我得到了一条错误信息(我们的
服务在你的网络检测到了一个错误,请稍后尝试。)另外,我是来自中国的。你们接
收来自中国的订单吗?)
Just a moment...
(请稍候)
Jamie M: Hi