See comments in the files for explanation. This works flawlessly for me on MediaTemple + Git(Hub).
- SSH into your MediaTemple server.
- Put your public key into ~/.ssh/authorized_keys2 with mode 0600
| <?php defined('SYSPATH') or die('No direct access allowed.'); | |
| /** | |
| * Ajax Template Controller template | |
| * | |
| * @package Templates | |
| * @author Sergei Gladkovskiy <[email protected]> | |
| */ | |
| abstract class Controller_Ajax_Template extends Controller { |
| #!/usr/bin/env python2 | |
| """ | |
| Other Repositories of python-ping | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| * https://github.com/l4m3rx/python-ping supports Python2 and Python3 | |
| * https://bitbucket.org/delroth/python-ping |
| <?php | |
| // SETUP: | |
| // 1. Customize all the settings (stripe api key, email settings, email text) | |
| // 2. Put this code somewhere where it's accessible by a URL on your server. | |
| // 3. Add the URL of that location to the settings at https://manage.stripe.com/#account/webhooks | |
| // 4. Have fun! | |
| // set your secret key: remember to change this to your live secret key in production | |
| // see your keys here https://manage.stripe.com/account |
| #import <Foundation/Foundation.h> | |
| @interface UIImage (Extensions) | |
| + (UIImage*)blankImage:(CGSize)_size; | |
| + (UIImage*)blankImage:(CGSize)_size withColor:(UIColor*)_color; | |
| @end |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
| Copyright [2012] [Gianluca Tessarolo] | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, |
| package models; | |
| import java.util.Date; | |
| import javax.persistence.Column; | |
| import javax.persistence.GeneratedValue; | |
| import javax.persistence.Id; | |
| import javax.persistence.MappedSuperclass; | |
| import javax.persistence.PrePersist; | |
| import javax.persistence.PreUpdate; |
| ######################### | |
| # .gitignore file for Xcode4 and Xcode5 Source projects | |
| # | |
| # Apple bugs, waiting for Apple to fix/respond: | |
| # | |
| # 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
| # | |
| # Version 2.6 | |
| # For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| # |
| import java.util.HashMap; | |
| import java.util.LinkedHashMap; | |
| import java.util.Map; | |
| import android.os.SystemClock; | |
| public class TimeExpiringLruCache<K, V> { | |
| private final LinkedHashMap<K, V> map; | |
| private final HashMap<K, Long> validityTime; |