花落无声

Saturday, December 25, 2021

2021 MacBook M1 monterey mariadb slow

›
When run Django test, I found the migration test step is rather slow, which is is about 20X more time it spend vs on my PC。  solved by insta...
Friday, May 15, 2015

two things you need to do when using corelocation on 8.0+

›
firstly. add NSLocationWhenInUseUsageDescription to info.plst. secondly. use this code to get authorization     if ([[[ UIDevice ...
Wednesday, May 13, 2015

make tableview cell unselectable

›
- ( NSIndexPath *)tableView:( UITableView *)tv willSelectRowAtIndexPath:( NSIndexPath *)path {    // NSLog(@"here");    ...
Sunday, May 03, 2015

eclipse auto wrap

›
  http://ahtik.com/eclipse-update
Saturday, May 02, 2015

IOS email validation

›
  http://blog.logichigh.com/2010/09/02/validating-an-e-mail-address/ -( BOOL ) NSStringIsValidEmail :( NSString *) checkString ...

IOS programatically jump to another view

›
1st, create a segue between your current view and the view you want to jump to. e.g, ViewMe and ViewLogin. Set the set identity of the segue...
Friday, May 01, 2015

programatic set uitableview row height

›
- ( CGFloat )tableView:( UITableView *)tableView heightForRowAtIndexPath:( NSIndexPath *)indexPath {          if ([ Utils IsUserLo...
Saturday, November 19, 2011

simple way to enable mod_deflate in httpd server

›
http://httpd.apache.org/docs/2.0/mod/mod_deflate.html Compress everything except images <Location /> # Insert filter SetOutputFilter...
›
Home
View web version

About Me

紫气东来
View my complete profile
Powered by Blogger.