- 清臺汽車修配廠:竹東鎮中興路一段173號
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Unit(nn.Module): | |
def __init__(self,in_channels,out_channels): | |
super(Unit,self).__init__() | |
self.conv = nn.Conv2d(in_channels=in_channels,kernel_size=3,out_channels=out_channels,stride=1,padding=1) | |
self.bn = nn.BatchNorm2d(num_features=out_channels) | |
self.relu = nn.ReLU() | |
def forward(self,input): |

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# 1. create a EC2 instance with public IP | |
# 2. create a A RR in route53 pointing your.domain.com to the public IP | |
# 3. make sure HTTP/HTTPS ports(80 443) are public to all in security group of this EC2 instance | |
# 4. make sure docker daemon is running in this EC2 instance | |
# 5. run this script ! | |
# 6. keys/cert will be generated under /root/letsencrypt/etc/live/ | |
mkdir -p /root/letsencrypt/log /root/letsencrypt/lib /root/letsencrypt/etc |
Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.
To pass AWS certification, you should have:
- Sound knowledge about most of the AWS services ( EC2, VPC, RDS, Cloudfront, S3, Route53 etc,)
- Hands on experience with AWS services.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To the extent possible under law, Chen-Pan Liao has waived all | |
# copyright and related or neighboring rights to PTT-R_Language_Praising.R. | |
# This work is published from: Taiwan. | |
Sys.setlocale(locale = "C") # for windows user | |
library("RCurl") | |
library("XML") |
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TL;DR - It was proving to be more buildsystem than I needed, | |
and I had found that there were other buildsystems that met my needs | |
that I felt were lighter and more nimble. It's still a fine product | |
that I continue to recommend to this day, I just no longer see it as | |
"The One True Way". | |
========================= | |
1: Bamboo was consuming a significant amount of system resources, |
NewerOlder