-
Проекты начатые, но незавершенные проекты
-
Проекты, которые нужно начать реализовывать
-
Проекты – другие организации
Обслуживание, сообщество, добровольческая деятельность, духовные организации
-
Обязательства/обещания другим людям
This file contains 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
import https from 'node:https' | |
import fetch from 'node-fetch' | |
const agent = new https.Agent({ keepAlive: true }) | |
const toMb = x => `${(x / 1024 / 1024).toFixed(2)} Mb` | |
async function start () { | |
const s = process.memoryUsage() |
This file contains 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 | |
git fetch --all --prune && git branch -r --merged | grep -v master | sed 's/origin\//:/' | xargs -n 1 git push origin |
This file contains 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
// For those who search | |
var compile_csv_search = function(string, column) { | |
var lines = string.split('\n').map(function(l){ return l.split(','); }), hash = {}; | |
for (var i = 1, j = lines.length - 1; i <= j; i++) { | |
var result = {}; for(var j = 0; j < lines[0].length; j++) { result[lines[0][j]] = lines[i][j]; } | |
hash[lines[i][lines[0].indexOf(column)]] = result; | |
}; | |
return function(name) { return hash[name]; } |
This file contains 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 | |
for branch in `git branch -r | grep -v HEAD | grep -v master`; do | |
echo ${branch##*/} $branch | |
done | |
echo "Fetching..." | |
git fetch --all | |
echo "Pulling..." | |
git pull -v | |
echo "Results: Branches" | |
git branch -a |