Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
server { | |
listen 80; | |
server_name example.com www.example.com; | |
if ($http_x_forwarded_proto = "http") { | |
return 301 https://$server_name$request_uri; | |
} | |
... directives to generate a response | |
} |
Getting started:
Related tutorials:
Source: http://forum.lowyat.net/index.php?showtopic=355950&view=findpost&p=11151482
A few forumers asked me questions regarding reading of MyKad surface information. The answer is there is no encryption; it is just about knowing what (APDU) command to send.
There will be 5 APDU commands that I'll introduce. I name them as:
name: "GoogleNet" | |
input: "data" | |
input_dim: 10 | |
input_dim: 3 | |
input_dim: 224 | |
input_dim: 224 | |
# hierarchy 1 | |
# conv -> relu -> pool -> lrn |
#!/usr/bin/env bash | |
# | |
# Get the value of a tag for a running EC2 instance. | |
# | |
# This can be useful within bootstrapping scripts ("user-data"). | |
# | |
# Note the EC3 instance needs to have an IAM role that lets it read tags. The policy | |
# JSON for this looks like: | |
# | |
# { |
#!/bin/bash | |
AWS_DEFAULT_REGION="ap-northeast-1" | |
AWS_ACCESS_KEY_ID="YOUR ACCESS KEY HERE" | |
AWS_SECRET_ACCESS_KEY="YOUR SECRET ACCESS KEY HERE" | |
INSTANCE_ID_URL="http://169.254.169.254/latest/meta-data/instance-id" | |
INSTANCE_ID=$(curl -s ${INSTANCE_ID_URL}) | |
SERVER_STATUS_URL="http://localhost/php-fpm-status" |
Retrieve hosted zones with aws route53 list-hosted-zones
then enter the zone Id below:
aws route53 list-resource-record-sets --hosted-zone-id "/hostedzone/xxxxxxxxxxx" | \
jq -r '.ResourceRecordSets[] | [.Name, .Type, (.ResourceRecords[]? | .Value), .AliasTarget.DNSName?] | @tsv'
Install-Module posh-git -Scope CurrentUser | |
Install-Module oh-my-posh -Scope CurrentUser | |
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck | |
Then run "notepad $PROFILE" and add these lines to the end: | |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Set-Theme Paradox |