- Recipes
- Anonymous GET access
- Anonymous GET access - match HTTP referrer
- Full access for specific IAM user/role
- GET/PUT/DELETE access to specific path within a bucket
- Restricted LIST & PUT/DELETE access to specific path within a bucket
- Full access (and S3 console) for specific IAM users
- Bucket and object delete deny
- CloudTrail log receive
[ | |
{ | |
"sheet": "1. Tata Kelola dan Pengendalian", | |
"data": [ | |
{ | |
"__EMPTY": "No.", | |
"Kertas Kerja Tata Kelola dan Pengendalian": "MATERI", | |
"__EMPTY_1": "JAWABAN" | |
}, | |
{ |
'use strict'; | |
const express = require('express'); | |
const app = express(); | |
const multer = require('multer'); | |
const multerS3 = require('multer-s3'); | |
const AWS = require('aws-sdk'); | |
const s3 = new AWS.S3({ | |
accessKeyId: 'access-key-id', |
SELECT | |
p.id as "Pool Id", | |
p.status, | |
p.province_id, | |
CASE | |
WHEN province_id = 11 THEN "Aceh" | |
WHEN province_id = 12 THEN "Sumatera Utara" | |
WHEN province_id = 13 THEN "Sumatera Barat" | |
WHEN province_id = 14 THEN "Riau" | |
WHEN province_id = 15 THEN "Jambi" |
Template that will create the following:
- API Gateway endpoint:
- A single root method, accepting
POST
requests only with Lambda proxy integration to a function.
- A single root method, accepting
- In-line Lambda function echoing back requesting users IP address to API Gateway requests:
- IAM role for Lambda allowing CloudWatch logs access.
- Permissions for Lambda that allow API Gateway endpoint to successfully invoke function.
- CloudWatch logs group for Lambda, with 90 day log retention.
After standing up the template, you should be able to curl a POST
request to the URL listed as the apiGatewayInvokeURL
output value.
["0-mail.com","0815.ru","0clickemail.com","10minutemail.com","20minutemail.com","2prong.com","30minutemail.com","3d-painting.com","4warding.com","4warding.net","4warding.org","60minutemail.com","amilegit.com","anonbox.net","anonymbox.com","antispam.de","beefmilk.com","binkmail.com","bio-muesli.net","bobmail.info","bofthew.com","brefmail.com","bsnow.net","bugmenot.com","bumpymail.com","cosmorph.com","courrieltemporaire.com","cubiclink.com","curryworld.de","cust.in","dacoolest.com","dandikmail.com","dayrep.com","deadaddress.com","despam.it","devnullmail.com","discardmail.com","discardmail.de","disposemail.com","dispostable.com","dodgeit.com","dodgit.com","dodgit.org","donemail.ru","dontreg.com","dontsendmespam.de","dump-email.info","dumpyemail.com","e4ward.com","email60.com","emailigo.de","emailinfive.com","emailmiser.com","emailsensei.com","emailtemporario.com.br","emailwarden.com","emailx.at.hm","fakeinbox.com","fakeinformation.com","fastacura.com","filzmail.com","fizmail.com","fr33mail.info","get1mail.com"," |
Linux - create "Default (Linux).sublime-mousemap" in ~/.config/sublime-text-3/Packages/User | |
Mac - create "Default (OSX).sublime-mousemap" in ~/Library/Application Support/Sublime Text 3/Packages/User | |
Win - create "Default (Windows).sublime-mousemap" in %appdata%\Sublime Text 3\Packages\User | |
[ | |
{ | |
"button": "button1", | |
"count": 1, | |
"modifiers": ["ctrl"], | |
"press_command": "drag_select", |
jQuery.validator.addMethod("phoneno", function(phone_number, element) { | |
phone_number = phone_number.replace(/\s+/g, ""); | |
return this.optional(element) || phone_number.length > 9 && | |
phone_number.match(/^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/); | |
}, "<br />Please specify a valid phone number"); |
Version Number might change!! The versions of all softwares mentioned here, including Cassandra will change as newer versions are launched.
Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:
#MongoDB 3.2.x Replica Sets on AWS EC2 A MongoDB replica set provides a mechanism to allow for a reliable database services. The basic replica set consists of three servers, a primary, a secondary and an arbitrator. The primary and secondary both hold a copy of the data. The arbitrator is normally a low spec server which just monitors the other servers and help with the failover process. In production, there can be more than three servers.
To setup mongo as a replica set on Amazon Web Services EC2 you need to first setup a security group with ssh on port 22 and mongodb on port 27017. You then need to create three servers. Select Ubuntu 14.04 LTS x64 and a micro (or bigger depending on your database size, ideally you should have enough memory to match your database size) instance for the primary and secondary and a nano instance for the arbitrator.
##Adjust the File System on each Server The operating system by default will update the last access time on a file. In a high data throughput database application