Skip to content

Instantly share code, notes, and snippets.

View cemeng's full-sized avatar
💭
aw yis

Felix Tjandrawibawa cemeng

💭
aw yis
View GitHub Profile
@cemeng
cemeng / auth0.css
Last active August 13, 2019 03:41
Auth0 Lock CSS v11
/* Auht0 Injected CSS */
.auth0-lock html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */
}
@cemeng
cemeng / keybase.md
Created July 17, 2019 22:56
keybase

Keybase proof

I hereby claim:

  • I am cemeng on github.
  • I am cemeng (https://keybase.io/cemeng) on keybase.
  • I have a public key ASCNBCEK3rfAONHVtIyNcqOf6PHJu3oTwbfPfSmahiKnowo

To claim this, I am signing this object:

@cemeng
cemeng / mysql-install.sh
Last active May 28, 2019 07:53
Codeship Install MySQL 5.6
#!/bin/bash
# Install a custom MySQL 5.7 version - https://www.mysql.com
#
# To run this script on Codeship, add the following
# command to your project's setup commands:
# \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/mysql-5.7.sh | bash -s
#
# Add the following environment variables to your project configuration
# (otherwise the defaults below will be used).
# * MYSQL_VERSION
@cemeng
cemeng / mac-tips.md
Last active March 20, 2018 05:17
Mac tips
  • Use Spaces to organise stuffs - use control arrows to switch, use control up and drag stuff around
  • Know your dotfiles (.bash_profile).
    • I version controlled my dotfiles, I had to do this because I have 4 macs and I want to be able to have consistent dev environment on them.
    • Here is my example: https://github.com/cemeng/dotfiles/blob/master/bash_profile
    • So on my new laptop I just git clone the repo, create .bash_profile that sources the bash_profile on that repo
    • Another idea: maintain a list of packages that I brew install make it a script that I can run
  • Use a launcher app, I like AlfredApp (not mac specific) ** you can install “worfklows” such as weather, forecast, play spotify etc (clipboard) ** but you can use Spotlight too CMD + space -> useful for quick calculation
  • Take a screenshot - cmd-shift-4 I use this ALOT for JIRA. https://support.apple.com/en-au/HT204216
My Golang study note
@cemeng
cemeng / gist:50457ff73690809096af24282ff06eb0
Created December 18, 2017 05:12
AWS CloudFormation Webinar
CloudFormation is the blueprint of your cloud architecture / infrastructure.
IaC -> Infrastructure as Code
What system in AWS you can build using CloudFormation ? Mostly can - but some cannot.
Even for these you can use custom resource to do this.
Focus on automation
Preso by Gerardo Estaba - AWS solution architect
keyword: on premise
az - multiple data centres close to each other - to allow synchronous replication
global services -> cloudfront, route 53
other services are region based for example: S3, DynamoDB etc
don't wait too long to build - if you have 60% information - start build and iterate on it
lightsail -> easiest way to get started on aws, convinient, not a lot of control
@cemeng
cemeng / gist:1b78d37123bc29ddd5a4d8ea72e4d86b
Last active November 16, 2017 00:29
Build Best Practices and the Right Foundation for your First Production Workload
Get the correct people and roles
- small company one person w/ many hats
- need cloud skills - need to be leader
- need to be liasion between cloud vendor and business
Train these people
- there are classes offered by AWS - uhm okay
- holy grails - 5 AWS professional
- AWS Qwiklabs, youtube, acloudguru / udemy - even AWS people use these
- AWS Lunch & Learns -> find out about these
Recommended to look into these:
https://tour.golang.org/
https://golang.org/doc/effective_go.html
https://gobyexample.com
Perhaps read this first:
https://golang.org/doc/code.html