`
文章列表
SQL where 条件顺序对性能的影响有哪些 http://blog.sina.com.cn/s/blog_4586764e0100mdif.html   Where子句中条件的顺序对性能没有影响(不管是CBO还是RBO优化器模式),注意,额外说一下,这里只是说条件的顺序,不包含表的顺序。在RBO优化器模式下,表应按结果记录数从大到小的顺序从左到右来排列,因为表间连接时,最右边的表会被放到嵌套循环的最外层。最外层的循环次数越少,效率越高。    
http://developer.android.com/tools/help/adb.html#move adb install <path_to_apk>  
  //将要读的文件文件放在resources/xml/目录下, resources设置成source folder public String getContent(String modelFileName) { InputStream fileStream = getClass().getClassLoader().getResourceAsStream("xml/" + modelFileName); Scanner s = new Scanner(fileStream).useDelimiter("\\A&q ...
Theoretically, I don't think this method will return repeated UUIDs, even from different devices.Let's check the documentation of android: http://developer.android.com/reference/java/util/UUID.html. It says "Generates a variant 2, version 4 (randomly generated number) UUID as per RFC 4122.&quo ...
  python -m SimpleHTTPServer
  Just add the following to the activity in AndroidManifest.xml   <activity android:name=".view.cohort.FormTemplateWizardActivity" android:label="Download Form Templates" android:configChanges="orientation|screenSize"/>    http://developer.android.com/guide/ ...
1. check out the deployer https://github.com/mosabua/maven-android-sdk-deployer 2. cd maven-android-sdk-deployer/extras/compatibility-v7-gridlayout 3. mvn install   add the following into the pom.xml <dependency> <groupId>android.support</groupId> ...

fish config.fish

vi ~/.config/fish/config.fish

Android resources

  Android Asset Studio: http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html   Inspired UI: http://android.inspired-ui.com/   Android cheatsheet for graphic designers http://petrnohejl.github.io/Android-Cheatsheet-For-Graphic-Designers/#dimension-units

git install skip tests

    博客分类:
  • SCM
mvn clean install -DskipTests

Default shell

How do I make fish my default shell? Edit /etc/shells as root, and add the line (if missing): /usr/local/bin/fish Then run: chsh -s /usr/local/bin/fish   To change back to bashchsh -s /bin/bash
stackoverflow.com/questions/135688/setting-environment-variables-in-os-x   Bruno is right on track. I've done extensive research and if you want to set variables that are available in all GUI apps, your only option is /etc/launchd.conf Please note that environment.plist does not work for appli ...
The 30 CSS Selectors you Must Memorize   So you learned the base id, class, and descendant selectors – and then called it a day? If so, you’re missing out on an enormous level of flexibility. While many of the selectors mentioned in this article are part of the CSS3 spec, and are, consequently, on ...
git reset --hard HEAD~1   The ending number represents the number of commits to remove.
hg out git config --global alias.out "log origin/master..master" use "git out"     hg in git config --global alias.in "log master..origin/master" use "git in"
Global site tag (gtag.js) - Google Analytics