- 博客(81)
- 收藏
- 关注
转载 【转载】遇到一个不合格的实习生,怎么办?
版权声明:本文原创首发于公众号「NoBug」,不要给自己的人生设限 https://blog.youkuaiyun.com/XiaoY_yan/article/details/83587181这两天真的太忙了,一直在写代码。昨天连续写了八个多小时,晚上到家,差点吐了。今天有意起身休息,但下班的时候,还是感觉头晕,估计是用脑过度。记得前几年,几次通宵加班,第二天下午去上班,接着干通宵。而现在,我已经...
2018-11-08 21:21:38
1013
原创 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"
2012-10-15 15:21:49
164
原创 Linux Tips
-- How to config ip in LinuxFollow the instruction while editing the file '/etc/network/interfaces' iface eth0 inet staticaddress 192.168.184.111gateway 192.168.184.11netmask 255.255.25...
2012-10-15 06:43:58
139
原创 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 ...
2011-12-31 16:44:11
117
原创 JavaScript String trim
// Removes leading whitespacesfunction LTrim( value ) { var re = /\s*((\S+\s*)*)/; return value.replace(re, "$1");}// Removes ending whitespacesfunction RTrim( value ) { var re = /(...
2011-12-17 10:24:01
122
原创 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 yo...
2011-12-13 18:53:56
175
原创 cygwin for e-texteditor
install cygwin for ete Selecting PackagesThe default selected packages are pretty much ok, but in addition to that the following packages are commonly needed be E's bundles:PythonP...
2011-08-17 11:03:55
110
原创 list all column info
select column_name,data_type, table_name from information_schema.columnswhere table_name in (select Name from sysobjects where xtype='u' and status>=0)
2011-08-04 16:11:22
124
原创 Flex Ant Compile Out of Memory
-Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m
2011-07-18 08:25:00
118
原创 Config Remark
1. version control 2. out of memory-Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m
2011-06-19 15:06:53
126
原创 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:15
142
原创 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,loc...
2011-05-15 14:14:46
113
原创 Chrome Temp files Location
"X:\Chrome_HOME\Chrome.exe" --disk-cache-dir="X:\temp\TMP" --disk-cache-size=150000000
2011-05-10 22:58:46
197
原创 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:15
124
原创 Using mxmlc, compc compiler
About the application compiler options Flex Compiler Command-Line Options
2011-04-06 13:16:56
128
原创 Flex Optimization
Flex application optimization Using the Flash Player Cache for the Flex framework
2011-04-06 12:44:01
69
原创 AIR Utils
MarkMan 马克鳗 是一款方便高效的标注工具,极大节省设计师在设计稿上添加和修改标注的时间,让设计更有爱。as3termWith this terminal app you can compile and execute simple snippets of AS3 code. focusbooster ...
2011-04-02 12:42:36
113
原创 SecurityError #2060 安全沙箱冲突
进入如下目录, 如果没有请自行创建: C:\Documents and Settings\{CURRENT_USER_NAME}\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust 编辑文件如下文件, 将项目的bin文件夹路径添加到其中, 如果没有此文件请自行创建: TrustFiles.t...
2011-01-30 13:54:10
247
原创 获取Flash当前所在域主域名
public function fetchDomainRootURL() : String{ var domainRootURL : String = null; // if pure as3 project, fetch complete URL just remove 'parent' var completeURL : String = this.parent.stage.l...
2010-09-03 09:02:30
161
原创 IE associate Fix
注册动态链接库for %%i in (c:\windows\system32\*.dll) do regsvr32.exe /s %%i 重新注册一遍IE的所有组件"%ProgramFiles%\Internet Explorer\iexplore.exe" /rereg
2010-08-11 09:33:56
97
原创 hide column by index in JTable
/** * * @param columnIndex */private void hideColumnByIndex(JTable table, int columnIndex) { TableColumnModel tcm = table.getColumnModel(); TableColumn tc = tcm.getColumn(columnIndex); ...
2010-08-09 13:26:13
109
原创 查看当前本机浏览器FlashPlayer版本
Flash Player Detail 也可自编程序识别, 此处附上关键API Capabilities.isDebugger;Capabilities.playerType;Capabilities.version; 另附上离线版
2010-08-02 09:08:25
174
原创 Hide Copyright in Google Map
/** * http://blog.duncanhall.net/2010/03/google-maps-flash-api-selectable-copyright-text/ */ private function hideGoogleMapCopyrightHack(_map : Object) : void{ var container : DisplayObje...
2010-06-23 14:49:06
144
原创 Get Object or Associative array's length
If you need to find the length of an object, and I mean the number of children of the specified object, use the following function/method:public static function getLength(o:Object):uint{ var ...
2010-06-13 15:49:45
87
Replace NULL To Expect Value
SELECT COALESCE(FIELD, expectValue) FROM t Equals SELECT CASE FIELD WHEN IS NULL THEN expectValue ELSE FIELD END FROM t
2010-04-15 17:31:38
104
Fetch Random N Amount Data
SELECT columns FROM table ORDER BY rand() LIMIT N
2010-04-15 17:17:25
113
Calculate Days Between Two Date
计算 2 个日期间相差的天数 /** * Calculate Days between two Date * @param isOrderless DEFAULT true * @param dateEarlier date * @param dateLater another date * @return */public static int get...
2010-04-01 13:34:04
297
Remote Method Invocation
The key to understanding RMI is to remember that interfaces define behavior and classes define implementation.
2010-03-15 11:33:01
112
原创 Spring Proxool destory-method
由于 org.logicalcobwebs.proxool.ProxoolDataSource 默认没有 destroy-method 在服务器关闭时, 可在 spring xml 配置文件中添加一个 dataSourceFacade <bean id="dataSourceFacade" class="org.logicalcobwebs.proxool.Proxool...
2010-02-26 17:58:16
116
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人