Skip to content

Instantly share code, notes, and snippets.

View Luckyboys's full-sized avatar
☂️
落雨啦,收衫啊~

Luckyboys Luckyboys

☂️
落雨啦,收衫啊~
View GitHub Profile
@suapapa
suapapa / record.go
Created April 19, 2020 08:20
raw audio recording with portaudio and golang
package main
import (
"encoding/binary"
"fmt"
"os"
"os/signal"
"time"
"github.com/gordonklaus/portaudio"
@sergeyhush
sergeyhush / jenkins-create-node.sh
Last active September 19, 2022 11:38
Jenkins create new node
#!/bin/bash
JENKINS_URL=$1
NODE_NAME=$2
NODE_SLAVE_HOME='/home/build/slave'
EXECUTORS=1
SSH_PORT=22
CRED_ID=$3
LABELS=build
USERID=${USER}