Share Google Android API Key in Eclipse with other team members Basically, default debug keystore is stored in /Users/{NAME}/.android/debug_keystore 1. Set SVN Repository and Checkout to the computer, which contains the file “debug.keystore” 2. In Eclipse, File->Preference->Android->Build. 3. Set “Custom debug keystore” to “debug.keystore” file in SVN Checkout Directory Then, do not need to change…
Year: 2010
Using the Android SDK on a Mac, Eclipse is really slow. How can I speed it up?
Original Article: http://stackoverflow.com/questions/2787055/using-the-android-sdk-on-a-mac-eclipse-is-really-slow-how-can-i-speed-it-up I’m using Eclipse + the Android SDK on a Mac running Snow Leopard to develop Android apps. Thing is, Eclipse is really slow – like, it “beach balls” for a few seconds when changing tabs. Is there anything I can do to improve it’s performance? The solution: change the Java version used…
error: “The connection to adb is down, and a severe error has occured”
Original Article: http://stackoverflow.com/questions/4072706/the-connection-to-adb-is-down-and-a-severe-error-has-occured error: “The connection to adb is down, and a severe error has occured” Try below steps: 1> Close the Eclipse if running 2> Go to the Android SDK tools directory in Command Prompt 3> type adb kill-server 4> then type adb start-server 5> No error message is thrown while starting ADB server, then…
legacy cell layout warning??
legacy cell layout warning?? http://stackoverflow.com/questions/3297270/problem-in-table-view WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath: in <DisclosureButtonController: 0x5f3b0b0>. Please remove your implementation of this method and set the cell properties accessoryType and/or editingAccessoryType to move to the new cell layout behavior. This method will no longer be called in a future release. ANSWER: The…
In Xcode, Add > New File > Cocoa Touch Classes > UITableViewCell ???
In Xcode, Add > New File > Cocoa Touch Classes > UITableViewCell ??? The book said, select Add> New File > Cocoa Touch Classes > UITableViewCell in Xcode and you cannot find it? The book is based on old version of XCode. You can find Add > New File > Cocoa Touch Classes > Objective-C…
UITableViewCell setText deprecated
UITableViewCell setText deprecated UITableViewCell *cell = … … cell.text = … to cell.textLabel.text = @”test”;
jQuery UI – Operation Aborted
Reference: Why do I receive an “Operation aborted” error message when I visit a Web page in Internet Explorer? – http://support.microsoft.com/kb/927917#more_information When use jQuery code, the Internet Explorer 7.0 in Windows Vista causes “Operation aborted” error. To resolve this problem, jQuery code must be wrapped by $(document).ready(function() {});
A script to change all tables and fields to the utf-8-bin collation in MYSQL
A script to change all tables and fields to the utf-8-bin collation in MYSQL (This article is from http://stackoverflow.com/questions/105572/a-script-to-change-all-tables-and-fields-to-the-utf-8-bin-collation-in-mysql) <?php set_time_limit(0); function MysqlError() { if (mysql_errno()) { echo “<b>Mysql Error: ” . mysql_error() . “</b>\n”; } } $username = “root”; $password = “”; $db = “database”; $host = “localhost”; $target_charset = “utf8”; $target_collate =…
How to Integrate WordPress and bbPress
Original Article: http://www.wpmods.com/integrate-wordpress-bbpress It’s easy to forget about bbPress, Automattics neglected son. bbPress development seems to be way down on their list. You only need to look at the design and content of the bbPress home page compared to other Automattic projects such as WordPress.com, WordPress.org,Akismet or Gravatar; to see that bbPress isn’t a priority for them. Which I think is a…
How to install Memcache for xampp
Original Article: http://techgurulive.com/2009/09/01/how-to-install-memcache-for-xampp/ Go to your xampp install directory ->apache/bin, there you should have php.ini file find this line: Code: ;extension=php_memcache.dll and replace it with: Code: extension=php_memcache.dll now download memcached-1.2.6.tar.gz from here Code: http://code.jellycan.com/memcached/ Now you have to install memcache as a standalone service: a)Unzip and copy the binaries to your desired directory (eg….
Setup a Memcached-Enabled MAMP Sandbox Environment
ORIGINAL ARTICLE: http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment ARTICLE BY NATE HAUGJANUARY 25, 2008 – 11:16AM Memcached is a service that allows entire database tables to be stored in memory, drastically speeding up queries to those tables and alleviating database load. In Drupal, the Memcached module allows you to store all cache tables in memory. This article will guide you through installing memcache on…
SVN Error – Not a working copy
I got into a similar situation (svn: ‘papers’ is not a working copy directory) a different way, so I thought I’d post my battle story (simplified): (This article is from http://stackoverflow.com/questions/374313/svn-error-not-a-working-copy) $ svn add papers svn: Can’t create directory ‘papers/.svn’: Permission denied Oops! fix permissions… then: $ svn add papers svn: warning: ‘papers’ is already…
I can’t add a directory because Subversion says it’s “already under version control”.
The directory you’re trying to add already contains a .svn subdirectory, but it’s from a different repository than the directory to which you’re trying to add it. This probably happened because you used your operating system’s “copy” command to copy one working copy into the current one. The quick and dirty solution is to delete…
Subversion Server on Mac OS X Leopard Server
Subversion and Mac OS X Server image (This article is from http://brockwoolf.com/blog/subversion-server-on-mac-os-x-leopard-server) Nayan Hajratwala over at Agile Shrugged managed to write a really great article describing how he got Subversion repos running on Mac OS X Server. I got mine working on Mac OS X 10.5.8 but had to make a few different changes…
Setting Up A VPN Server On OSX 10.6
Setting Up A VPN Server On OSX 10.6 MAY 31, 2010 BY ANDREW MILNE (This article is from http://blog.theilluminatedengineer.com/?p=136) I’ve recently setup a VPN server on my OSX box so that I can connect my iPhone and iPad to my home network securely. This lets me use tools like Air Video (to stream my video collection to my…
Enable VPN server in OS X for remote access via iPhone, Windows, and OS X clients
Enable VPN server in OS X for remote access via iPhone, Windows, and OS X clients (This article is from http://tinyapps.org/docs/os_x_vpn_server.html) This guide outlines how to enable the built-in VPN service (vpnd) in client versions of OS X, as Apple has neglected to mention (let alone explain) the possibility under non-server editions of OS X….
I’m managing a website in my repository. How can I make the live site automatically update after eve
I’m managing a website in my repository. How can I make the live site automatically update after every commit? (This article is from http://subversion.apache.org/faq.html#website-auto-update) This is done all the time, and is easily accomplished by adding a post-commit hook script to your repository. Read about hook scripts in Chapter 5 of the book. The basic…
Subversion on OS X Leopard Server by Nayan Hajratwala
I’ve found various links to Subversion setup on OS X Server, but most of them leverage a lot of manual file editing rather than using the built-in features of OS X Server. Additionally, they didn’t discuss integrating OS X OpenDirectory. (This article is from http://agileshrugged.com/blog/?p=14) That said, here is how I got my subversion repository up and…
[Javascript] Iframe dynamic resize for all browsers
Iframe dynamic resize for all browsers [code] <script type=”text/javascript”> $(document).ready(function() { var i = setInterval(function(start){ resize_ifrm(); }, 20, new Date); $(“#tabs”).tabs(); }); function resize_ifrm(){ $(‘#ifrm_report’, parent.document.body).height($(‘#ifrm_report’, parent.document.body).contents().find(‘body’).height() + 30) } </script> [/code]
Browser CSS Differences (IE6 IE7 Firefox)
Typically the 3 major browsers used are Firefox, IE6 and IE7. Perhaps you thought they would behave the behave the same when rendering CSS in the browser window? If only life were that simple. (This article is from http://neilkilbride.blogspot.com/2008/01/browser-css-differences-ie6-ie7-firefox.html) Although Firefox and IE7 and more similar than ever in rendering CSS, IE6 has always had…
TCPDF-CodeIgniter Integration with TCPDF Examples
TCPDF- CodeIgniter Integration http://codeigniter.com/wiki/TCPDF-CodeIgniter_Integration/ TCPDF Examples http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf_examples – Multicell – http://www.tecnick.com/pagefiles/tcpdf/example_005.phps – http://www.tecnick.com/pagefiles/tcpdf/example_005.pdf
Subversion With Mac OS X Tutorial
Subversion is a version control system that allows you to work with other people on a project and switch back easily to every version ever made. It can be used for all kinds of projects like application source code, web sites, even images or just simple text documents. Once you have it all set up…
[CSS] TARGETING IE7 USING CSS
IE7 is still in beta but with things apparently being layout complete, this hack may stick around until final launch. It’s a variation on the underscore hack. (This code snippet is from http://snook.ca/archives/html_and_css/targetting_ie7) Here’s a quick example: [code] p{ border:1px solid green; /* works in all */ *border:1px solid red; /* targets IE6 and 7…
[메뉴얼] 구글 캘린더 사용하기
구글 계정에 먼저 로그인을 하시기 바랍니다. 로그인을 하시면, 일정을 추가할 수 있는 달력이 출력됩니다. 일정 추가 구글 캘린더의 왼쪽 위에 있는 “Create Event” 링크를 클릭하시기 바랍니다. 당신의 일정의 날짜, 시작 시간, 종료 시간, 위치를 입력하시기 바랍니다. 만약 다수의 달력을 이용한다면, 달력 드랍다운 메뉴에서 해당 이벤트가 속할 달력을 선택할 수 있습니다. 만약 당신의 일정을 통지 받고…
Inserting iPhone Tab Bar Icons Using XCode
Firstly you will need to add the icons to your project. Right click the resources folder under the main project icons and select Add > Existing Files… (This is article from http://www.glyfx.com/guide_iphone.html) In Xcode find the folder labeled “NIB Files” and expand it to see it’s contents. Double click on the .xib file that contains the…