env GOOS=target-OS GOARCH=target-architecture go build package-import-path
# Example
env GOOS=darwin GOARCH=amd64 go build
env GOOS=darwin GOARCH=amd64 go build main.go
env GOOS=darwin GOARCH=amd64 go build github.com/zoo/york/foo/bar
if (typeof registerPaint === 'function') { | |
class DotGridWorket { | |
static get inputProperties() { | |
return ['--dot-size', '--dot-spacing', '--dot-color']; | |
} | |
parseProps(props) { | |
const dotSize = props.get('--dot-size'); | |
const dotSpacing = props.get('--dot-spacing'); | |
const dotColor = props.get('--dot-color'); |
{ | |
"basics": { | |
"name": "Socheat Sok", | |
"label": "Senior Software Developer", | |
"picture": "https://avatars.githubusercontent.com/u/4363857?v=4", | |
"email": "[email protected]", | |
"website": "https://socheat.dev", | |
"summary": "I'm a Full-Stack Software Developer. I got my bachelor degree on Management Information System at SETEC Institute. I was previously working at Open Institute, my work focused on inproving User Experience and optimizing website performance using new standard of frontend development by switching the existing code base of using jQuery to using modern JavaScript libraries such as VueJS and Webpack. I also work with the backend team to improve performance of the backend service as well by using standard Eloquent and ORM for handling database transaction instead of using raw SQL queries.", | |
"location": { | |
"address": "292 St", |
var fs = require('fs') | |
var gradientString = require('gradient-string') | |
var out = gradientString([ | |
{ color: '#42d392', pos: 0 }, | |
{ color: '#42d392', pos: 0.1 }, | |
{ color: '#647eff', pos: 1 } | |
])('Vue.js - The Progressive JavaScript Framework') | |
var data = out.replace(/\x1B/g, '\\x1B') |
#!/bin/bash | |
OS=linux | |
ARCH=x64 | |
RUNNER_VERSION=2.287.1 | |
mkdir ${HOME}/actions-runner | |
echo "[Info] Downloading GitHub Action Runner" | |
curl -o actions-runner-${OS}-${ARCH}-${RUNNER_VERSION}.tar.gz \ |
I recently had the following problem:
We didn't want to open the MySQL port to the network, but it's possible to SSH from the Jenkins machine to the MySQL machine. So, basically you would do something like
ssh -L 3306:localhost:3306 remotehost
# Move the directory to the second line | |
# format = "$all$directory$character" | |
# Disable the blank line at the start of the prompt | |
add_newline = true | |
# Timeout for commands executed by starship | |
command_timeout = 2500 | |
# [env_var.ITERM_PROFILE] |
In the modern era, software is commonly delivered as a service: called web apps, or software-as-a-service. The twelve-factor app is a methodology for building software-as-a-service apps that: