Daily task gamification

English
简体中文


This is not an app, it is a method that struck my mind and that I just began to use. Maybe someone is already planning in this way.

  1. Stick a sticky note on the wall, list things need to be done tomorrow. Assign some points to everything. These points are given by importance/difficulty/time needed. At the end of sticky note, write down ” / your sum” (For example, the sum of first day of mine is /18pts)
  2. Strike through the line when you have done that thing. At the end of the day, sum up your points (mine is 4/18pts, pity myself) and fill the blank spot. Then put another sticky note on the wall and list the things to be done the next day. If anything is on today’s list but not done today, increase its value by 1pt
  3. If the first day of yours is 18pts then when your to-do value reaches 100pts your life fails.
    If you ask me when you can win… Well, life is like Tetris, isn’t it?

 


这不是一个App… 这是窝想到的一种游戏化日程安排并打算开始使用的方法——不过也不知道是不是已经有人在这样做了呢……

  1. 在墙上贴一个便利贴,列出接下来的一天要做的事情,给每个事情一些pts,以重要程度、难易程度和/或时间消耗为依据。并写下 /25pts(就当第一天加起来是25pts)
  2. 在每件事情完成的时候,划掉那件事。在一天完成的时候,结算当天完成的pts 如4/18pts(可恶),然后在列出接下来的一天要做的事情,这一次如果明天也有该日未完成的事情,则该事情的pts比前一天增加1
  3. 嗯,假设第一天的上限是18pts那么如果在某一天上限达到了100pts就说明窝的人生已经失败了……
    那么,到什么时候才算赢呢?……毕竟人生是像俄罗斯方块一样的东西吧。

XBOX Controller to mouse

English
中文

OtakuController

OtakuController is a Small program mapping Xbox One Controller or Xbox 360 Controller to mouse operations.
You will need XNA Framework 4.0 Redistribution (http://www.microsoft.com/en-us/download/details.aspx?id=20914) to run
or XNA Game Studio 4.0 refresh (https://msxna.codeplex.com/releases/view/117230) to build this.

1. Connect a Xbox One or Xbox 360 controller.
2. Keep this open, you can minimize it.
3. Have fun:
Moving LS as moving pointer.
Moving RS as scrolling.
A or RT for left button.
B or LT for right button.
Y or RS for middle button.
Note: You can’t use this on applications that requires administrator previledge unless you run this as an administrator as well.

Have fun.

1.0: OtakuController 1.0
GitHub: https://github.com/WindyDarian/OtakuController


大概需要 XNA Framework 4.0 Redistribution (http://www.microsoft.com/en-us/download/details.aspx?id=20914) 和.NET Framework 4.5来运行

总的来说这就是用手柄模拟鼠标,把Xbox 360或者Xbox One手柄映射成鼠标操作的工具
运行放那不管就好了。
要在管理员权限的程序上起作用,它也必须以管理员权限运行才行。
操作方法:
左摇杆=移动
右摇杆上下=滚轮
A和RT左键
B和LT右键
Y和RS按下是中键

于是终于可以躺着玩Gal了液!

1.0: OtakuController 1.0
GitHub: https://github.com/WindyDarian/OtakuController

Rewrite – Kagari Theme (Chrome theme)

English
简体中文

English

Created a fan chrome theme of Rewrite, the character of Kagari.

Click here to install the Chrome theme.

rewrite kagari chrome theme

Here is the manifest.json

{
"description": "A fan theme of Japanese game character Kagari of Rewrite.",
"manifest_version": 2,
"version": "1.0",
"name": "Rewrite - Kagari Theme",
"theme": {
"colors": {
"frame": [ 0, 0, 0 ],
"toolbar": [38, 39, 41],
"tab_text": [240, 240, 240 ],
"tab_background_text": [238, 238, 238],
"bookmark_text": [235, 109, 225],
"ntp_background" : [0, 0, 0],
"ntp_link": [ 235, 109, 225 ],
"ntp_link_underline": [ 235, 109, 225 ],
"ntp_header": [ 110, 155, 54 ],
"ntp_section": [83,83,83],
"ntp_section_text": [ 240, 240, 240 ],
"ntp_text": [ 241, 239, 240 ],
"ntp_section_link": [235, 109, 225],
"ntp_section_link_underline": [235, 109, 225],
"button_background": [110, 155, 54],
"control_background": [235, 109, 225]
},
"images": {
"theme_button_background": "images/theme_button_background.png",
"theme_frame": "images/background.png",
"theme_frame_inactive": "images/background.png",
"theme_frame_incognito": "images/background.png",
"theme_frame_incognito_inactive": "images/background.png",
"theme_tab_background": "images/theme_tab_background.png",
"theme_tab_background_incognito": "images/theme_tab_background.png",
"theme_tab_background_v": "images/theme_tab_background.png",
"theme_toolbar": "images/theme_toolbar.png",
"theme_ntp_background": "images/background_nohead.png"
},
"tints": {
"buttons": [ -0, 0, 1 ]
},
"properties" : {
"ntp_background_alignment": "left top"
},
"icons": {
"128": "icon.png"
}

}

}

theme_ntp_background and theme_frame are exactly the same image, the different is i cropped out the top 100px of theme_ntp_background, for Chrome don’t support transparent background on the start page, I have to use this trick to create a transparent illusion.

中文

不知道为什么就做了一个Rewrite小篝的Chrome主题。

点这里安装

rewrite kagari chrome theme

manifest.json

{
"description": "A fan theme of Japanese game character Kagari of Rewrite.",
"manifest_version": 2,
"version": "1.0",
"name": "Rewrite - Kagari Theme",
"theme": {
"colors": {
"frame": [ 0, 0, 0 ],
"toolbar": [38, 39, 41],
"tab_text": [240, 240, 240 ],
"tab_background_text": [238, 238, 238],
"bookmark_text": [235, 109, 225],
"ntp_background" : [0, 0, 0],
"ntp_link": [ 235, 109, 225 ],
"ntp_link_underline": [ 235, 109, 225 ],
"ntp_header": [ 110, 155, 54 ],
"ntp_section": [83,83,83],
"ntp_section_text": [ 240, 240, 240 ],
"ntp_text": [ 241, 239, 240 ],
"ntp_section_link": [235, 109, 225],
"ntp_section_link_underline": [235, 109, 225],
"button_background": [110, 155, 54],
"control_background": [235, 109, 225]
},
"images": {
"theme_button_background": "images/theme_button_background.png",
"theme_frame": "images/background.png",
"theme_frame_inactive": "images/background.png",
"theme_frame_incognito": "images/background.png",
"theme_frame_incognito_inactive": "images/background.png",
"theme_tab_background": "images/theme_tab_background.png",
"theme_tab_background_incognito": "images/theme_tab_background.png",
"theme_tab_background_v": "images/theme_tab_background.png",
"theme_toolbar": "images/theme_toolbar.png",
"theme_ntp_background": "images/background_nohead.png"
},
"tints": {
"buttons": [ -0, 0, 1 ]
},
"properties" : {
"ntp_background_alignment": "left top"
},
"icons": {
"128": "icon.png"
}

}

}

theme_ntp_background 和 theme_frame 完全是同一张图, 虽然窝砍掉了theme_ntp_background上面的100像素,因为Chrome起始页不支持透明背景所以只能用这种方法勒。

Fix Google Authorship’s ‘Warning: Missing required field “updated”‘ with WordPress Twenty Fourteen theme

1.Open Twenty Fourteen’s inc/template-tags.php
2.find function twentyfourteen_posted_on():

	// Set up and print post meta information.
	printf( ' ',
		esc_url( get_permalink() ),
		esc_attr( get_the_date( 'c' ) ),
		esc_html( get_the_date() ),
		esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
		get_the_author()
	);

3.add a “updated” class to the time:

	// Set up and print post meta information.
	printf( ' ',
		esc_url( get_permalink() ),
		esc_attr( get_the_date( 'c' ) ),
		esc_html( get_the_date() ),
		esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
		get_the_author()
	);

4.check again with Google Structured Data Testing Tool, should be no more ‘Warning: Missing required field “updated”s.

Thanks to Daniel Marquard’s post at http://www.technosultants.com/blog/warning-missing-required-field-updated-wordpress