Get a VPS that offers 2 or more IP addresses.
From the WHM cPanel, find the menu item Service Configuration, select Apache Configuration and then click on Reserved IPs Editor.
| // This is the Android version of the Tweetie-like pull to refresh table: | |
| // http://developer.appcelerator.com/blog/2010/05/how-to-create-a-tweetie-like-pull-to-refresh-table.html | |
| var win = Ti.UI.currentWindow; | |
| var alertDialog = Titanium.UI.createAlertDialog({ | |
| title: 'System Message', | |
| buttonNames: ['OK'] | |
| }); | |
| var scrollView = Ti.UI.createScrollView({ |
| license: gpl-3.0 |
| //////////////////////push_notifications.js/////////////////////// | |
| var apns = function(){ | |
| var pref = require('preferences').preferences; | |
| Titanium.Network.registerForPushNotifications({ | |
| types: [ | |
| Titanium.Network.NOTIFICATION_TYPE_BADGE, | |
| Titanium.Network.NOTIFICATION_TYPE_ALERT | |
| ], | |
| success:function(e) |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| Titanium.UI.setBackgroundColor('red'); | |
| // root | |
| var rootWin = Ti.UI.createWindow({ | |
| title: 'Root Win', | |
| backgroundColor: 'gray', | |
| tabBarHidden: true, | |
| navBarHidden: true | |
| }); |
| fix: | |
| /usr/libexec/git-core/git-rebase--interactive | |
| -git rev-list $merges_option --pretty=oneline --abbrev-commit\ | |
| +git rev-list $merges_option --pretty=">%h (%an <%ae>) %s"\ | |
| result: | |
| 1 pick 19f43c1 (Yuri Dyachenko <[email protected]>) add: gcrypt::noerr | |
| 2 pick 990a7e8 (Yuri Dyachenko <[email protected]>) add: gcrypt::throwif( err ) throw if err != noerr | |
| 3 pick cb03f3b (Yuri Dyachenko <[email protected]>) add: ext::move<T> move semantic |
| #!/bin/bash | |
| mkdir /tmp/curl-ca-bundle | |
| cd /tmp/curl-ca-bundle | |
| wget http://curl.haxx.se/download/curl-7.22.0.tar.bz2 | |
| tar xzf curl-7.22.0.tar.bz2 | |
| cd curl-7.22.0/lib/ | |
| ./mk-ca-bundle.pl | |
| if [ ! -d /usr/share/curl/ ]; then | |
| sudo mkdir -p /usr/share/curl/ | |
| else |