Skip to content

Instantly share code, notes, and snippets.

Avatar
🌱
Growing indie hacker

Vincent Voyer vvo

🌱
Growing indie hacker
View GitHub Profile
View gist:22eb9b07baa45178ceedc58feb6db4dd
2020-01-09T10:25:40.0633699Z ##[section]Starting: Request a runner to run this job
2020-01-09T10:25:40.2395888Z Requesting a hosted runner in current repository's account/organization with labels: 'ubuntu-latest', require runner match: True
2020-01-09T10:25:40.2946255Z Labels matched hosted runners has been found, waiting for one of them get assigned for this job.
2020-01-09T10:25:40.3373017Z ##[section]Finishing: Request a runner to run this job
2020-01-09T10:25:47.7137594Z Current runner version: '2.163.1'
2020-01-09T10:25:47.7138909Z Prepare workflow directory
2020-01-09T10:25:47.7363087Z Prepare all required actions
2020-01-09T10:25:47.7388745Z Download action repository 'actions/checkout@v2'
2020-01-09T10:25:49.6391641Z Download action repository 'eregon/use-ruby-action@master'
2020-01-09T10:25:49.8696320Z Download action repository 'actions/cache@v1'
@vvo
vvo / test.yml
Last active Aug 21, 2020
Rails and PostgreSQL setup for GitHub actions (CI)
View test.yml
name: Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
# Similar to docker-compose.yml but not the same, 🤷‍♂️
services:
View async-workers.js
var workers = [
{name: 'worker1', fn: function(task, cb) {/* some async processing */}},
{name: 'worker2', fn: function(task, cb) {/* some async processing */ }}
];
var tasks = ['one']; // this will be filled with a first task and then filled with more tasks from the workers
// I want to distribute tasks to workers, each worker can process only one task at a time
// workers will add more tasks while processing
// in some situations tasks may be empty and all workers processing
View gist:c1bc1849e82b4377e354329026aff8b3
README:
# TITLE
Small description
# Example
[STILL IMAGE] USAGE VIDEO on youtube
@vvo
vvo / .profile
Last active Nov 7, 2017
spr command line
View .profile
#!/usr/bin/env bash
function spr() {
remoteOrigin=$(git remote get-url origin)
originGitHubUser=${remoteOrigin#git@github.com:*}
originGitHubUser=${originGitHubUser%%/*}
if [[ $1 == "--"* ]] # spr --branch
then
params=(${@:1})
View react-instantsearch 2.0.0-beta.19 release notes.md
View superscript locations
ʳᵉᵐᵒᵗᵉ
ᵖᵃʳⁱˢ
ˢᶠ
ⁿʸ
ᵒᶠᶠ