- Appcleaner
- B1FreeArchiver (unrar)
- Battery Health
- BetterTouchTool
- CCleaner
- CyberDuck (ftp)
- DaisyDisk (Disk capacity analyse)
- Dropbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function prependChild(o,s) | |
{ | |
if(s.hasChildNodes()) | |
{ | |
s.insertBefore(o,s.firstChild); | |
} | |
else | |
{ | |
s.appendChild(o); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<script type="text/javascript"> | |
function GetSelectedText () { | |
if (window.getSelection) { // Firefox, Opera, Google Chrome and Safari | |
var range = window.getSelection (); | |
alert (range.toString ()); | |
} | |
else { | |
if (document.selection.createRange) { // Internet Explorer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int coin(const int coin, const int value) | |
{ | |
int i, j; | |
int array[value + 1]; | |
for(j = 1; j < value + 1; j++) | |
{ | |
array[j] = 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log = (function(message) { | |
var original_log = console.log; | |
return function(message) { | |
$.post('/log', { message: message }); | |
original_log(message); | |
} | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from requests import session | |
payload = { | |
'action': 'login', | |
'username': USERNAME, | |
'password': PASSWORD | |
} | |
with session() as c: | |
c.post('http://example.com/login.php', data=payload) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 9]> | |
<script src="jquery-1.9.0.js"></script> | |
<![endif]--> | |
<!--[if gte IE 9]><!--> | |
<script src="jquery-2.0.0.js"></script> | |
<!--[endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!($ = window.jQuery)){ // typeof jQuery=='undefined' works too | |
script = document.createElement( 'script' ); | |
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'; | |
script.onload=dosomething; | |
document.body.appendChild(script); | |
} | |
else{ | |
dosomething(); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4/19 | |
What beginners teach us | |
OpenStack 101 | |
Percona XtraDB Cluster 入門 | |
我如何停止憂慮並愛上 Non-MVC Web Framework | |
讓系統千變萬化的作業環境 | |
Game Jam and Open Source | |
第一次 setup openstack + lxc 就上手 | |
Functional Programming Using Underscore.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset=utf-8"> | |
<title>test</title> | |
</head> | |
<body> | |
<form name="form" id="form" action="test.php" method="post" enctype="multipart/form-data"> | |
<label for="file">file</label><input type="file" name="file" id="file" onchange="this.form.submit();"/> | |
</form> |
OlderNewer