AWS query-instance_method docs
export AWS_ACCESS_KEY_ID=‘XXXX’
export AWS_SECRET_ACCESS_KEY=‘XXXX’
# ENV['AWS_ACCESS_KEY_ID']
# ENV['AWS_SECRET_ACCESS_KEY']
AWS query-instance_method docs
export AWS_ACCESS_KEY_ID=‘XXXX’
export AWS_SECRET_ACCESS_KEY=‘XXXX’
# ENV['AWS_ACCESS_KEY_ID']
# ENV['AWS_SECRET_ACCESS_KEY']
package com.acdroid.widget.webview; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.webkit.WebView; | |
import java.io.BufferedReader; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.lang.reflect.Method; |
package com.acdroid.util.version; | |
import android.os.Build; | |
/** | |
* Util class to check if the current device is running some of the awesome Android versions. | |
* | |
* Created by Marcos Trujillo (─‿‿─) on 3/02/14. | |
*/ | |
public class SupportVersion { |
#import <Foundation/Foundation.h> | |
@interface MySingleton : NSObject | |
+(instancetype) sharedInstance; | |
// clue for improper use (produces compile time error) | |
+(instancetype) alloc __attribute__((unavailable("alloc not available, call sharedInstance instead"))); | |
-(instancetype) init __attribute__((unavailable("init not available, call sharedInstance instead"))); | |
+(instancetype) new __attribute__((unavailable("new not available, call sharedInstance instead"))); |
{ | |
"IAB1": "Arts & Entertainment", | |
"IAB1-1": "Books & Literature", | |
"IAB1-2": "Celebrity Fan/Gossip", | |
"IAB1-3": "Fine Art", | |
"IAB1-4": "Humor", | |
"IAB1-5": "Movies", | |
"IAB1-6": "Music", | |
"IAB1-7": "Television", | |
"IAB2": "Automotive", |
#!/usr/bin/env ruby | |
# | |
file_location = File.dirname(__FILE__) | |
$:.unshift(File.join(file_location, 'aws-sdk-for-ruby', 'lib')) | |
require 'yaml' | |
require 'aws-sdk' | |
require 'Date' | |
aws_config_file = File.join(File.dirname(__FILE__), 'aws_config.yml') |
package ##_USE_YOUR_PACKAGE_HERE#; | |
/* | |
* Copyright (C) 2008 The Android Open Source Project | |
* | |
* 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 | |
* |
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install build-essential curl git | |
git clone git://github.com/creationix/nvm ~/nvm | |
. ~/nvm/nvm.sh | |
nvm install v0.8.1 |