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
CmdUtils.CreateCommand({ | |
names: ["gyotaku", "get gyotaku"], | |
description: "Get Web Gyotaku.", | |
icon: "http://megalodon.jp/favicon.ico", | |
homepage: "http://megalodon.jp/", | |
author: { name: "Yoshimov", email: "[email protected]"}, | |
preview: "Get Web Gyotaku", | |
execute: function(){ |
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
CmdUtils.CreateCommand({ | |
names: ["archive search", "get archive"], | |
description: "Search Internet Archive Wayback Machine.", | |
icon: "http://web.archive.org/favicon.ico", | |
homepage: "http://web.archive.org/", | |
author: { name: "Yoshimov", email: "[email protected]"}, | |
preview: "Search the current page archive.", | |
execute: function(){ |
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
CmdUtils.CreateCommand({ | |
name: "paste-quoted-text-and-url", | |
description: "Paste quoted text and url to current cursor position.", | |
icon: "http://yoshimov.com/favicon.ico", | |
homepage: "http://yoshimov.com", | |
author: { name: "Yoshimov", email: "[email protected]"}, | |
preview: "Paste quoted text and url to current corsor position", | |
execute: function(){ |
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
CmdUtils.CreateCommand({ | |
name: "java-ja", | |
description: "Search java 1.6 API", | |
help: "Simply type java and the classname and it will doa google search for API documentation on that class", | |
icon:"http://java.com/favicon.ico", | |
takes: {"class name": noun_arb_text}, | |
author: {name: "Yoshimov", email: "[email protected]"}, | |
homepage: "http://yoshimov.com", | |
preview: function(pblock, directObject) { | |
var searchTerm = directObject.text; |
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
// Send Wake On LAN Magic Packet | |
def int PORT = 9 | |
def cli = new CliBuilder() | |
cli.h(longOpt: 'help', 'usage information') | |
cli.i(argName: 'networkInterface', longOpt: 'interface', args: 1, required: true, 'MAC address of network interface(IPv4)') | |
cli.b(argName: 'broadcast', longOpt: 'broadcast', args: 1, required: true, 'Broadcast address') | |
def opt = cli.parse(args) |
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
#!/bin/bash | |
if [ -z `which mksquashfs` ]; then | |
sudo aptitude update | |
sudo aptitude install squashfs-tools | |
fi | |
sudo mount /cdrom -o remount,rw | |
EXCLUDES='.wh* cdrom etc home lost+found medoa rofs root tmp* var/backups var/cache var/crash var/log var/run var/spool var/tmp' | |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<deviceinfo version="0.2"> | |
<device> | |
<match key="input.x11_driver" string="synaptics"> | |
<merge key="input.x11_options.SHMConfig" type="string">True</merge> | |
</match> | |
</device> | |
</deviceinfo> |
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
#!/bin/bash | |
MEDIA=$1 | |
mkdir -p boot-cd/boot/grub | |
cp /usr/lib/grub/i386-pc/stage2_eltorito boot-cd/boot/grub | |
cp ${MEDIA}/boot/grub/menu.lst boot-cd/boot/grub | |
cp ${MEDIA}/boot/vmlinuz* boot-cd/boot | |
cp ${MEDIA}/boot/initrd.img* boot-cd/boot | |
OlderNewer