Skip to content

Instantly share code, notes, and snippets.

View bduisenov's full-sized avatar

Babur bduisenov

  • Munich
View GitHub Profile
#!/bin/bash
anybarNotify () {
(echo -n "$1" | nc -u -c -w 1 localhost 1738) &
}
if pgrep AnyBar > /dev/null; then
echo "skip starting anybar"
else
echo "starting anybar"
@bduisenov
bduisenov / docker-compose.yml
Created January 29, 2018 08:32
Run in docker with memlimit
version: "2.1"
services:
inspector:
image: swift:4.0.2
working_dir: /app
command: .build/debug/Run
ports:
- "8080:8080"
@bduisenov
bduisenov / package.json
Created February 21, 2018 15:46
parceljs
{
"scripts": {
"start": "parcel src/assets/index.html",
"build": "NODE_ENV=production parcel build src/ts/index.ts --no-cache"
},
"devDependencies": {
"@types/clipboard": "^1.5.36",
"@types/codemirror": "0.0.38",
"@types/mithril": "^1.1.12",
"@types/quill": "0.0.29",