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
#tabbrowser-tabs * { | |
margin: 0 !important; | |
padding: 0 !important; | |
border: 0 !important; | |
line-height: 14px !important; | |
} | |
#tabbrowser-tabs .tabbrowser-tab, | |
#tabbrowser-tabs .tabbrowser-tab * { | |
max-height: 14px !important; |
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
# -*- coding:utf-8 -*- | |
__author__="rubyu" | |
__date__ ="$2011/10/31 11:25:52$" | |
""" | |
This script provides Mock of TopologyBuilder which graphviz_format() | |
was implemented in. | |
A function graphviz_format() will output representation of builded | |
Topology in Dot Language. |
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
javascript:(function(){ | |
var s = getSelection().getRangeAt(0).cloneContents(); | |
var r = Array.prototype.slice.call(s.querySelectorAll('a')).map(function(a){ return '"' + a.href + '"'; }); | |
var t = document.createElement('textarea'); | |
t.value = r.join(',\n'); | |
t.style.position = 'absolute'; | |
t.style.width = '100%'; | |
t.style.height = '100%'; | |
t.style.border = 'none'; | |
t.style.padding = '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
@echo off | |
:: app_restart.bat | |
:: %1 path of application | |
tasklist | findstr %~nx1 | |
if errorlevel 0 taskkill /f /im %~nx1 | |
start "" %~f1 |
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 | |
for bench in \ | |
"bonnie++ -d /raid -q -x 1 -s 32G -u root | grep '^[0-9]\+'" \ | |
"dbench -D /raid 100 | grep '^Throughput' | sed -e 's/[^0-9]\+\([0-9.]\+\)[^0-9]\+\([0-9]\+\)[^0-9]\+\([0-9]\+\)[^0-9]\+\([0-9.]\+\).\+/\1,\2,\3,\4/'" | |
do | |
for sched in cfq deadline noop; do | |
for device in sda sdb sdc sdd sde sdf; do | |
echo $sched > /sys/block/${device}/queue/scheduler | |
done |
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
using System; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
namespace SoftAltTab |
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
Python path_to\fix_chainlp_epub.py "%1" "Fixed_%~nx1" |
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
Python path_to\merge_chainlp_epub.py "%1" "Merged_%~nx1" |
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
mkvmerge DTB-S1-D1.mkv -o DTB-S1-D1.mkv --split chapters:9,16,25,33 | |
mkvmerge DTB-S1-D2.mkv -o DTB-S1-D2.mkv --split chapters:9,17,25,33 | |
mkvmerge DTB-S1-D3.mkv -o DTB-S1-D3.mkv --split chapters:9,17,25 | |
mkvmerge DTB-S1-D4.mkv -o DTB-S1-D4.mkv --split chapters:9,17,25 | |
mkvmerge DTB-S1-D5.mkv -o DTB-S1-D5.mkv --split chapters:9,17,25 | |
mkvmerge DTB-S1-D6.mkv -o DTB-S1-D6.mkv --split chapters:9,16,24 | |
mkvmerge DTB-S2-D1.mkv -o DTB-S2-D1.mkv --split chapters:5,10,15,20,25 | |
mkvmerge DTB-S2-D2.mkv -o DTB-S2-D2.mkv --split chapters:5,10,15,20,25 | |
mkvmerge DTB-S2-D3.mkv -o DTB-S2-D3.mkv --split chapters:5,10,15 |
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
jpdfbookmarks_cli.exe gendai_eibunpou_kougi.pdf -a gendai_eibunpou_kougi.outline.txt -e UTF-8 -o gendai_eibunpou_kougi_outline.pdf |
OlderNewer