MOVE TO HERE
首先确定已经安装完成 docker,如果没有安装可以使用以下脚本快速安装并配置:
UPSTART | |
sudo vi /etc/init/<reponame>.conf | |
add inside: | |
description "<reponame>" | |
author "name" | |
env PROGRAM_NAME="<reponame>" |
# Edit ~/.bash_profile | |
export GOPATH=/Users/username/go | |
export PATH=$GOPATH/bin:$PATH | |
# Reload profile : source ~/.bash_profile |
const fs = require('fs'); | |
const path = require('path'); | |
const args = process.argv.slice(2); | |
const dir = args[0]; | |
const match = RegExp(args[1], 'g'); | |
const replace = args[2]; | |
const files = fs.readdirSync(dir); | |
files | |
.filter(file => { |
function Get-WindowsKey { | |
## function to retrieve the Windows Product Key from any PC | |
## by Jakob Bindslet ([email protected]) | |
param ($targets = ".") | |
$hklm = 2147483650 | |
$regPath = "Software\Microsoft\Windows NT\CurrentVersion" | |
$regValue = "DigitalProductId4" | |
Foreach ($target in $targets) { | |
$productKey = $null | |
$win32os = $null |
package main | |
import ( | |
"fmt" | |
"io" | |
"net" | |
) | |
func main() { | |
ln, err := net.Listen("tcp", ":8080") |
首先确定已经安装完成 docker,如果没有安装可以使用以下脚本快速安装并配置:
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"encoding/hex" | |
"fmt" | |
) |
Tested on macOS:
program
field with the build output, in this example it's hello
. Full launch.json
looks like:{
"version": "0.2.0",