-
[AWS Security: Bastion Host, NAT instances and VPC Peering(http://cloudacademy.com/blog/aws-bastion-host-nat-instances-vpc-peering-security/) -- The what & why stuff
-
Securely connect to Linux instances running in a private Amazon VPC -- AWS Specific
-
Using an SSH Bastion Host -- Simple
-
Controlling Network Access to EC2 Instances Using a Bastion Server
Access modifier Class Package Subclass Any Class private Y N N N [no specifier] Y Y N N protected Y Y Y N public Y Y Y Y
I hereby claim:
- I am v1shwa on github.
- I am v1shwa (https://keybase.io/v1shwa) on keybase.
- I have a public key whose fingerprint is 8EB4 0D20 3DBB A582 FD59 6269 5603 1371 358A 520A
To claim this, I am signing this object:
[ | |
{ | |
"Name": "Afghanistan", | |
"Code": "AF" | |
}, | |
{ | |
"Name": "Åland Islands", | |
"Code": "AX" | |
}, | |
{ |
I have always struggled with getting all the various share buttons from Facebook, Twitter, Google Plus, Pinterest, etc to align correctly and to not look like a tacky explosion of buttons. Seeing a number of sites rolling their own share buttons with counts, for example The Next Web I decided to look into the various APIs on how to simply return the share count.
If you want to roll up all of these into a single jQuery plugin check out Sharrre
Many of these API calls and methods are undocumented, so anticipate that they will change in the future. Also, if you are planning on rolling these out across a site I would recommend creating a simple endpoint that periodically caches results from all of the APIs so that you are not overloading the services will requests.
A warning occurred (42 apples) | |
An error occurred |
<?php | |
$InvoiceService = new QuickBooks_IPP_Service_Invoice(); | |
$Invoice = new QuickBooks_IPP_Object_Invoice(); | |
$Invoice->setDocNumber('st-100002'); // doc number (optional) | |
$Invoice->setTxnDate('2016-02-12'); | |
$Invoice->setCustomerRef( 1 ); // customer Id | |
// Create a New line |
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Excel To Array | |
|-------------------------------------------------------------------------- | |
| Helper function to convert excel sheet to key value array | |
| Input: path to excel file, set wether excel first row are headers | |
| Dependencies: PHPExcel.php include needed | |
*/ | |
function excelToArray($filePath, $header=true){ |
# Steps for installing PECL oAuth package on ubuntu | |
apt-get update | |
apt-get install libpcre3 libpcre3-dev php5-dev | |
pecl install -Z oauth |