(/¯◡ ‿ ◡)/¯ ~ ┻━┻
-
-
Save suvozy/120afdde4d81733c7be4cd7427640479 to your computer and use it in GitHub Desktop.
- user
- page
- org
- channel
- blog
service + kind + x_actor_id
service | kind |
---|---|
user | |
page | |
flickr | user |
foursquare | user |
github | user |
org | |
user (g+,gmail) | |
channel (youtube) | |
blog (blogger) | |
user | |
user | |
org | |
microsoft | user |
vimeo | user |
tumblr | blog |
user |
- Flickr
- Foursquare
- GitHub
- Microsoft
- Vimeo
- Tumblr
- Soundcloud
- Behance
- 500px
- Dropbox
Web
Origin Domain Name rime.s3.amazonaws.com
#
Alternate Domain Names usercontent.rime.co
Name: | rime.co. |
---|---|
Type: | A - IPv4 address |
Alias: | Yes |
Alias Target: | -- CloudFront Distributions -- usercontent.rime.co (XXXXXXXXXX.cloudfront.net) |
Name | Type | Value |
---|---|---|
rime.co | A | ALIAS XXXXXXXXXX.cloudfront.net. |
https://material.io/icons/
http://schema.org/docs/full.html
- Status | CreativeWork / Message / EmailMessage
- Chat | Tumblr chat | CreativeWork / Conversation
- Answer | Tumblr Ask, Quora, StackOverflow (accepted/best answers) | CreativeWork / Comment / Answer
- Question | Quora, StackOverflow Questions | CreativeWork / Question
- CreativeWork / Article / BlogPosting
- CreativeWork / Blog
- CreativeWork / WebPage / CollectionPage / ImageGallery,VideoGallery
- CreativeWork / WebPage / QAPage
- CreativeWork / WebPage / SearchResultsPage
-
PCAX86YA697TUC
100 USD -
PC2UDBLJY6DCT0D
100 USD -
PC1WI1FIQ29H79Y
100 USD
-
66WRY-MV7QT-HGVQ
2000 INR -
AM4XV-WLGFX-CNM4
INR 2000* of free online advertising credit when you spend your first INR 500.
-
cjc28c
Save 28% Off Your Order -
cjc25ssl
Save 25% Off All SSL Certificates: -
FB2SSLX20
Save 20% Off SSL Certificates -
gdbbj1005
25% off your next order -
GDBBF1005
15% off your next order -
GDBBA1005
20% off your next order -
gdbba22
10% off your next order -
GDBBD1901
25% off your next purchase of $75 or more
- Create Key Pair
my-key-pair
- Use the chmod command to make sure your private key file isn't publicly viewable. For example, if the name of your private key file is
my-key-pair.pem
, use the following command:
chmod 400 /drag-n-drop/my-key-pair.pem
ssh -i key.pem ubuntu@PHPMYADMIN_SERVER_IP_1
mysqldump --host=mydbinstance.abcdefghijkl.us-east-1.rds.amazonaws.com --user=awsuser --password=mypassword mydb > db_backup.sql
ls -a -l
mv db_backup.sql /srv/www/phpmyadmin/current
cd /srv/www/phpmyadmin/current/
ls -a -l
URL http://PHPMYADMIN_SERVER_IP_1/db_backup.sql
wget http://PHPMYADMIN_SERVER_IP_1/db_backup.sql
mysql --host=mydbinstance.abcdefghijkl.us-east-1.rds.amazonaws.com --user=awsuser --password=mypassword mydb < db_backup.sql
- Collect broken links
- Embed url
- Auto Thumbnail (Images Cached, positioned, repetation removed [via giphy])
- Cross-post (canonical +
title
, match in a while) - Refresh
- Repost
- Cache
-
Real time(not required now!!!) - Title, description, body
- SEO (AMP, Schema, Social Tags)
- Analytics (Google analytics, events, tag manager)
- Collection
- Topics
- Search
- RSS (all, collection, topics)
- Random
- About (life events, institutions - school, work, places)
- Places
- Contact (Notification, Invite)
- Custom Domain
- PNG, JPG (logo, name, title)
- Guest users (wiki)
- Pantheon - Visualizations - MIT http://pantheon.media.mit.edu/
- oEmbed API
oembed.org
- Embedly http://embed.ly/
- IFramely https://iframely.com/
- Grabicon (Instant Favicons from Any Site) http://grabicon.com/
- Insights
seohero.in
- PageSpeed Insights - Google Developers https://developers.google.com/speed/pagespeed/insights/
- Twitter Cards — Twitter Developers https://cards-dev.twitter.com/validator
- Open Graph Debugger - Facebook Developers https://developers.facebook.com/tools/debug/
- Contacts API
- Avatar API
- Gravatar - Globally Recognized Avatars http://en.gravatar.com/
Social Plugin (Community Comments, Discussions)- Disqus https://disqus.com/
- Livefyre http://web.livefyre.com/
Analytics APIFile Selection - on website creation- FileStack (previouly FilePicker) https://www.filestack.com/
Content Management console (Social Media Management Dashboard)- Hootsuite https://hootsuite.com/
brew install gearman
nano /usr/local/etc/php/5.6/php.ini
# extension=gearman.so
To have launchd start gearman at login:
ln -sfv /usr/local/opt/gearman/*.plist ~/Library/LaunchAgents
Then to load gearman now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.gearman.plist
Or, if you don't want/need launchctl, you can just run:
gearmand -d
GitHub
OpsWorks-CreateDeployment
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "opsworks:CreateDeployment",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "opsworks:UpdateApp",
"Resource": "*"
}
]
}
https://github.com/suvozit/rime/settings/hooks
App | [[OpsWorks: App]] OpsWorks ID |
---|---|
Stack | [[OpsWorks: Stack]] OpsWorks ID |
Branch name | master |
GitHub api url | |
Aws access key | ABCDEFGHIJKLMNOPQRST |
Aws secret access key | ∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗ |
GitHub token |
- Active
<!doctype html>
_ .....Hit me I dare you......ya ya ya....
/ \
__/ \_
/_ - \ \ ,:',:`,:' ........Oh yeah, yes you...HA!
/ / / \ \ __||_||_||_||___
| | / | ____[""""""""""""""""]___
/ / \ \ \ " '''''''''''''''''''' \
~~^~^~HZ~~^~^~^~~^~^~^~~jgs~^~^~^^~^~^~^~^~^~^~^~~^~^~^~^~~^~^
_
/ \ ......See, I told you.....
__/ \_
/_ - \ \ ____ ..... Oh, heck...gulp..glub..
/ / / \ \ ,' ._| \
| | / | :__: : |
/ / \ \ --: : |\o
~~^~~^~~~~^^~^~^~^~^~^~~~^~~^~HZ~~^~^~~~^~^~^^~~~~^~^~^~~^^^~^^^
_____ _
| __ |_|_____ ___
| -| | | -_|
|__|__|_|_|_|_|___|
-- http://ascii.co.uk/art/titanic
Page rendered in 1.0226 seconds, 3.51MB size.
CodeIgniter Version 3.1.3.
Worker-Server
AmazonS3FullAccess
User Name | Group |
---|---|
GitHub.log-pixel |
|
log-pixel |
Worker-Server |
rime |
Worker-Server |
ses-smtp-user.20150101-123456 |
See [[GitHub#github-deploy]]
https://github.com/suvozit/log-pixel/blob/master/application/config/api_key.php#L32-L41
/*
|--------------------------------------------------------------------------
| AWS SDK
|
| http://aws.amazon.com/sdk-for-php/
|--------------------------------------------------------------------------
*/
$config['aws_account_id'] = '012345678901';
$config['aws_access_key'] = 'ABCDEFGHIJKLMNOPQRST';
$config['aws_secret_key'] = '∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗';
See [[SES#smtp-settings]]
$config['smtp_user'] = 'ABCDEFGHIJKLMNOPQRST';
$config['smtp_pass'] = '∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗';
https://iframely.com/docs/host
- Download latest itteco/iframely/releases
- Update
config.local.js.SAMPLE
toconfig.local.js
- Zip and upload
cd /Users/suvozit/Downloads/iframely-1.0.4
zip -r iframely-1.0.4.zip .
Application name: Iframely
Environment name: iframely
Domain: iframely.us-east-1.elasticbeanstalk.com
Description: Embeds codes for today's Internet
Platform: Node.js
Application code: https://s3.amazonaws.com/rime/iframely-1.0.4.zip
- [[Route 53]]
- [[EC2: Key Pairs]]
- [[RDS]]
- [[phpMyAdmin]]
- [[OpsWorks: Stack]]
- [[OpsWorks: App]]
- [[Certificate Manager]], [[Load Balancer]]
- [[OpsWorks: Layers and Instances]]
- [[S3]]
- [[SNS, SQS]]
- [[SES]]
- [[GitHub Deploy]]
- [[Export Import DB]]
- [[Installing Elasticsearch and Kibana]]
- [[CloudFront]]
- [[IAM]]
- [[Security Groups]]
- [[Iframely]]
s3://elasticmapreduce/bootstrap-actions/configure-daemons
s3://elasticmapreduce/bootstrap-actions/run-if
s3://elasticmapreduce/bootstrap-actions/download.sh
s3://elasticmapreduce/bootstrap-actions/download.sh
#!/bin/bash
set -e
wget -S -T 10 -t 5 http://elasticmapreduce.s3.amazonaws.com/bootstrap-actions/file.tar.gz
mkdir -p /home/hadoop/contents
tar -xzf file.tar.gz -C /home/hadoop/contents
s3://suvozit/emr-bootstrap-actions/elasticsearch/elasticsearch_install.rb
s3://suvozit/emr-bootstrap-actions/elasticsearch/kibananginx_install.rb
- https://blogs.aws.amazon.com/bigdata/post/Tx1E8WC98K4TB7T/Getting-Started-with-Elasticsearch-and-Kibana-on-Amazon-EMR
- https://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-plan-bootstrap.html#bootstrapCustom
- http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-bootstrap.html#CustombootstrapConsole
Load Balancer name: | PHP-LB |
---|---|
Create LB Inside: | My Default VPC Default |
Load Balancer Protocol | Load Balancer Port | Instance Protocol | Instance Port |
---|---|---|---|
HTTP | 80 | HTTP | 80 |
HTTPS | 443 | HTTP | 80 |
Assign a security group: Select an existing security group
Security Group ID | Name | Description |
---|---|---|
sg-XXXXXXXX | default | AWS-OpsWorks-LB-Server |
Choose an existing certificate from AWS Certificate Manager (ACM)
Ping Protocol | TCP |
---|---|
Ping Port | 80 |
Name: | rime.co. |
---|---|
Type: | A - IPv4 address |
Alias: | Yes |
Alias Target: | -- Elastic Load Balancers -- PHP-LB |
Name | Type | Value |
---|---|---|
rime.co | A | ALIAS dualstack.php-lb-XXXXXXXXXX.us-east-1.elb.amazonaws.com. |
https://help.github.com/articles/generating-ssh-keys/
id_rsa -----BEGIN RSA PRIVATE KEY-----
id_rsa.pub ssh-rsa
https://github.com/suvozit/rime/settings/keys
Title | AWS OpsWorks |
---|---|
key | ssh-rsa |
Name | rime |
---|---|
Type | PHP |
Document root | Default |
Repository type | Git |
---|---|
Repository URL | [email protected]:suvozit/rime |
Repository SSH key | Protected value -----BEGIN RSA PRIVATE KEY----- |
Branch/Revision | master |
-
-
Enable SSL | No Default |
---|
Layer type | PHP App Server |
---|---|
Elastic Load Balancer | PHP-LB ([[Load Balancer]]) |
Instance Shutdown Behavior | Wait Default |
Repository URL | https://github.com/RimeOfficial/opsworks-cookbooks |
---|---|
Setup | |
Configure | |
Deploy | composer::install , phpenv::php_env_vars , directory::default |
Undeploy | |
Shutdown |
Layer type | Custom |
---|---|
Name | PHP Worker Server |
Short Name | pws |
Repository URL | https://github.com/RimeOfficial/opsworks-cookbooks |
---|---|
Setup | mod_php5_apache2 |
Configure | php::configure |
Deploy | deploy::php , composer::install , phpenv::php_env_vars , directory::default , cronjobs::default |
Undeploy | deploy::php-undeploy |
Shutdown | apache2::stop |
Hostname | paro Default |
---|---|
Size | t2.micro |
Subnet | Default |
Scaling type | 24/7 Default |
Hostname | dev-d Default |
---|---|
Size | t2.medium |
Subnet | Default |
Scaling type | Load-based |
Hostname | chandramukhi Default |
---|---|
Size | t2.micro |
Subnet | Default |
Scaling type | 24/7 Default |
Name | Rime |
---|---|
Region | US East (N. Virginia) |
VPC | Default |
Default subnet | Default |
Default operating system | Ubuntu 14.04 LTS |
Default root device type | EBS backed |
Default SSH key | suvozit |
Chef version | 11.10 |
---|---|
Use custom Chef cookbooks | Yes |
Repository type | Git |
Repository URL | https://github.com/RimeOfficial/opsworks-cookbooks |
Repository SSH key | – |
Branch/Revision | master |
Manage Berkshelf | No |
Default root device type | EBS backed Default |
---|---|
IAM role | aws-opsworks-service-role Default |
IAM instance profile | aws-opsworks-ec2-role Default |
Hostname theme | Baked Goods |
OpsWorks Agent version | Auto-update Use latest version Default |
Custom JSON | blob/master/opsworks/custom.json |
Replace:
ci_email_smtp_user
,ci_email_smtp_pass
,db_hostname
aws_account_id
,aws_access_key
,aws_secret_key
Permissions:AmazonS3FullAccess
,AmazonSESFullAccess
,AmazonSQSFullAccess
Use OpsWorks security groups | Yes Default |
---|
Name | phpMyAdmin |
---|---|
Region | US East (N. Virginia) |
Default operating system | Ubuntu 14.04 LTS |
Default SSH key | suvozit |
Hostname theme | Greek Deities |
Layer type | PHP App Server |
---|
Name | phpMyAdmin |
---|---|
Repository URL | https://github.com/RimeOfficial/phpMyAdmin |
Branch/Revision | master |
Key | Value |
---|---|
host | mydbinstance.XXXXXXXXXXXX.us-east-1.rds.amazonaws.com |
blowfish | random_md5_hash |
http://instance.ip/phpmyadmin
Name | RDS |
---|---|
Group Name | rds-launch-wizard |
Description | Created from the RDS Management Console |
Type | Protocol | Port Range | Source |
---|---|---|---|
MYSQL/Aurora | TCP | 3306 | sg-XXXXXXXX (AWS-OpsWorks-PHP-App-Server) |
MYSQL/Aurora | TCP | 3306 | sg-XXXXXXXX (AWS-OpsWorks-Custom-Server) |
Type | Protocol | Port Range | Source |
---|---|---|---|
All traffic | All | All | 0.0.0.0/0 |
- feed =
list
= expecting all type - collection = concerntrated type or a single type
collection = concerntrated to a single type
collection =type
_list
[[actor#id]] + method + x_post_id
service | kind | post | contact | about |
---|---|---|---|---|
user | list | friends,likes | about |
|
page | list | likes | about |
|
Flickr | user | album_list | following | |
Foursquare | user | list | following | |
GitHub | user | list | following | |
org | list | |||
user (g+,gmail) | list | email,following | about |
|
channel (youtube) | list | following | ||
blog (blogger) | list | following | ||
user | list | following | ||
user | following | about |
||
org | about |
|||
Microsoft | user | |||
Vimeo | user | list | following | |
Tumblr | blog | list | ||
user | list | following |
- feed
- timeline
- channels type playlist.video, playlist.multimedia,
- album
instagram feed
twitter feed
facebook feed, about.achivements
google+ feed
youtube feed, collection
blogger feed
flickr feed, collection
vimeo feed, collection
feed = expecting all type (basic)
collection = concerntrated = a single type
Service | Post | type |
---|---|---|
tumblr | Photo | photo |
Text | article / status | |
Quote | status | |
Audio | audio / status | |
Video | video / status | |
Chat | status | |
Question | status | |
Link | status |
- Education Experience
- Work Experience
- Milestones
Service | Post | About |
---|---|---|
facebook:user | videos, albums, status messages | Education Experience, Work Experience |
facebook:page | videos, albums, status messages | Milestones |
flickr:user | albums | |
foursquare:user | checkins | |
github:user | repos, gists | |
github:org | repos | |
google:user | photos, poll, status messages | organizations |
google:channel | videos, playlists | |
google:blog | articles | |
instgram:user | photos | |
linkedin:user | Education Experience, Work Experience | |
linkedin:user | Milestones | |
microsoft:user | contacts | |
vimeo:user | videos, playlists, channels | |
tumblr:blog | articles, photos, videos, sounds, status msgs, Asks | |
twitter:user | photos, videos, polls, status msgs |
wall post, organization, repost
looping, slow mo, 360, 3D
Parameter Group Family | mysql5.7 |
---|---|
Name | default |
Description | Default parameter group for MySQL 5.7 |
Parameter Group Family | mysql5.7 |
---|---|
Name | basic |
Description | default-copy |
Parameter | basic | default |
---|---|---|
slow_query_log | 1 | <engine-default> |
innodb_autoinc_lock_mode | 0 | <engine-default> |
DB Engine | mysql |
---|---|
License Model | General Public License |
DB Engine Version | 5.7.16 |
DB Instance Class | db.t2.micro |
Multi-AZ Deployment | No |
Storage Type | General Purpose (SSD) Default |
Allocated Storage* | 20 GB |
DB Instance Identifier* | mydbinstance |
---|---|
Master Username* | awsuser |
Master Password* | mypassword |
VPC* | Default VPC Default |
---|---|
Subnet Group | default Default |
Publicly Accessible | Yes Default |
Availability Zone | No Preference Default |
VPC Security Group(s) | Create new Security Group |
Database Name | mydb |
---|---|
Database Port | 3306 Default |
DB Parameter Group | basic |
Option Group | default:mysql-5-7 Default |
Default
Default
Update db_hostname
in ../blob/master/opsworks/custom.json#L9
Domain Name | Type | Record Set Count | Comment | Hosted Zone ID |
---|---|---|---|---|
rime.co. | Public | 14 | Connecting World's Information |
Name | Type | Value |
---|---|---|
rime.co. | NS | ns-1111.awsdns-11.co.uk. ns-2222.awsdns-22.org. ns-3333.awsdns-33.com. ns-4444.awsdns-44.net. Default |
# GoDaddy NS
NS-1111.AWSDNS-11.CO.UK
NS-2222.AWSDNS-22.ORG
NS-333.AWSDNS-33.COM
NS-444.AWSDNS-44.NET
Name | Type | Value |
---|---|---|
rime.co. | SOA | ns-1111.awsdns-11.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 Default |
Name | Type | Value |
---|---|---|
www.rime.co. | CNAME | rime.co |
Incoming mails
Name | Type | Value |
---|---|---|
rime.co. | MX | 0 smtp.asia.secureserver.net. 10 mailstore1.asia.secureserver.net. |
- [[Load-Balancer#route-53]]
- [[SES]]
- Development
suvozit
- Production
rime
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Allow Public Access to All Objects",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket/*"
}
]
}
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
</CORSRule>
</CORSConfiguration>
http://bucket.s3-us-east-1.amazonaws.com/object
http://s3-us-east-1.amazonaws.com/bucket/object
365x24x60x60 = 3,15,36,000 sec
defaults write ch.sudo.cyberduck s3.metadata.default \
"Cache-Control=public,max-age=31536000 Creator=Cyberduck"
ci_sessions
user
|
+---user_login
+---user_autologin
|
+---user_email
+---user_email_subscription
+---user_task_vars
|
+---people_graph = subscription
|
| oauth
| |
| +---oauth_cache
| |
| | actor
| | |
| +---+---oauth_actor
| | |
+---+---+---actor_user
+---+---+---actor_user_guest
| |
| +---actor_method
| |
| +---actor_about
| +---post
| +---post_tag
| +---contact_email
| +---contact_actor
|
+---promo_invite
+---promo_feedback
rds
[[RDS#security-group]]phpMyAdmin
https://gist.github.com/suvozit/8998731#security-group
AWS-OpsWorks-Default-Server
[[OpsWorks#php-app-server]], [[OpsWorks#php-worker-server]]AWS-OpsWorks-Custom-Server
[[OpsWorks#php-worker-server]]AWS-OpsWorks-PHP-App-Server
[[OpsWorks#php-app-server]]AWS-OpsWorks-LB-Server
[[Load Balancer#security-group]]
Domain: example.com
- Generate DKIM Settings
Name | Type | Value |
---|---|---|
_amazonses.example.com. | TXT | "XXXXX" |
XXXXX._domainkey.example.com. | CNAME | XXXXX.dkim.amazonses.com |
XXXXX._domainkey.example.com. | CNAME | XXXXX.dkim.amazonses.com |
XXXXX._domainkey.example.com. | CNAME | XXXXX.dkim.amazonses.com |
Email Address: [email protected]
- SNS Topic Configuration: notifications [[SNS, SQS]]
- Email Feedback Forwarding: Disable
Enable
Name | Type | Value |
---|---|---|
example.com. | TXT | "v=spf1 a mx include:amazonses.com ~all" |
Phone
040-49187600
18001210111