ITeye博客

In me the tiger sniffs the rose.

ieniac · 共 80 篇文章

Sublime Text 2 Custom Layout

1. Edit Sublime Text 2\Data\Packages\Default\Main.sublime-menu 2. add { "caption" : "3p_1:2", "command": "set_layout", "args": { "cols": [0.0, 0.5, 1.0], "rows": [0.0, 0.5, 1.0], "cells": [ [0, 0, 1, 2], [1, 0, 2, 1], [1, 1, 2, 2] ] } }

2012-10-15 15:21 · Tips · Editor · 评论(0)

Linux Tips

-- How to config ip in Linux Follow the instruction while editing the file '/etc/network/interfaces' iface eth0 inet static address 192.168.184.111 gateway 192.168.184.11 netmask 255.255.255.0 -- Adjust time in Linux sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime sudo ntpdate 129.7.1.66

2012-10-15 06:43 · Tips · Linux · 评论(0)

Java / Word / Excel / Pdf

A JAva-COM Bridge Apache POI

2012-02-06 13:06 · 评论(0)

Change FireBug DEFAULT font-family

1. Search *firebug*.xpi in Firefox HOME, and then unzip; 2. Replace font-family: monospace in *.css with font-family: "THE FONT-FAMILY WHICH YOU LIKE", monospace just for me font-family: "YaHei Consolas Hybrid", "Courier New", "Lucida Console", monospace 3. update these files to *firebug*.xpi 4. re…

2011-12-31 16:44 · Tips · 评论(0)

JavaScript String trim

// Removes leading whitespaces function LTrim( value ) { var re = /\s*((\S+\s*)*)/; return value.replace(re, "$1"); } // Removes ending whitespaces function RTrim( value ) { var re = /((\s*\S+)*)\s*/; return value.replace(re, "$1"); } // Removes leading and ending whitespaces function trim( value )…

2011-12-17 10:24 · JavaScript · 评论(0)

Change Chrome default temporary folder location

FROM Nomad_CF Using the fallowing is a horrible idea, if you only want to relocate your chrome temp files [BAD] --user-data-dir="Z:\chromeTemp" [/BAD] Using the above will make you a NEW full chrome profile with a new temp dir under "Z:\chromeTemp". In stead use [/GOOD] --disk-cache-dir="Z:\ChromeT…

2011-12-13 18:53 · Share · 评论(0)

cygwin for e-texteditor

install cygwin for ete Selecting Packages The default selected packages are pretty much ok, but in addition to that the following packages are commonly needed be E's bundles: Python Perl Ruby Wget Curl Tidy

2011-08-17 11:03 · Tips · 评论(0)

list all column info

select column_name,data_type, table_name from information_schema.columns where table_name in (select Name from sysobjects where xtype='u' and status>=0)

2011-08-04 16:11 · Sql Server · 评论(0)

CMD 乱码

CHCP 936 // 中国 CHCP 437 // 美国

2011-07-26 17:44 · 评论(0)

Flex Ant Compile Out of Memory

-Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m

2011-07-18 08:25 · Java · 评论(0)

Config Remark

1. version control 2. out of memory -Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m

2011-06-19 15:06 · Tips · 评论(0)

RSL Remark

1. Flex Library Project (rsl) 编译完成后自动Extract library.swf -directory=true -output=../bin/ 2. Link RSL by Default 3. RSL configuration in Flash Builder 4.

2011-06-13 15:19 · Flex · 评论(0)

Max window when webpage load

resizeTo(screen.availWidth+8,screen.availHeight+8,moveTo(-4,-4)) 更为彻底 <script> function omiga_window() { window.open("main.html","","fullscreen=1,menubar=0,toolbar=0,directories=0,location=0,status=0,scrollbars=0"); } </script> <body onload="omiga_window();" onblur="self.close();" scroll="no" /> 最终…

2011-05-15 14:14 · 评论(0)

Chrome Temp files Location

"X:\Chrome_HOME\Chrome.exe" --disk-cache-dir="X:\temp\TMP" --disk-cache-size=150000000

2011-05-10 22:58 · Share · 评论(0)

Reset window 7 files permission

http://lallousx86.wordpress.com/2009/06/14/resetting-ntfs-files-security-and-permission-in-windows-7/

2011-05-10 21:15 · Share · 评论(0)