I hereby claim:
- I am senko on github.
- I am senko_boost (https://keybase.io/senko_boost) on keybase.
- I have a public key ASAeEgK4it3B4MVJTgPeAhTTI2qYmvtWVXne7x3ZHmHNJgo
To claim this, I am signing this object:
#!/usr/bin/env python | |
# | |
# Written in 2013. by Senko Rasic <senko.rasic@dobarkod.hr> | |
# This code is Public Domain. You may use it as you like. | |
__all__ = ['updated'] | |
def updated(dct, *others): |
#!/bin/bash | |
# | |
# Initialize new virtual server using LXC and set up networking and HTTP proxy | |
# | |
# Written by: Deni Bertovic <deni.bertovic@dobarkod.hr> | |
# | |
# Released into Public Domain. You may use, modify and distribute it as you | |
# see fit. | |
# | |
# This script will: |
#!/bin/bash -e | |
# | |
# Easy VirtualBox VM handling from the command line | |
BASE_TEMPLATE="<uid-of-template-vm>" | |
function show_help() { | |
echo "Usage: $0 [cmd]" | |
echo "Valid commands:" | |
echo " list List available virtual machines" |
#!/usr/bin/env python | |
""" | |
Parse phone and email records out of vCard file and store them in a CSV. | |
Copyright (C) 2012 Senko Rasic <senko.rasic@dobarkod.hr> | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to |
#!/usr/bin/env python | |
# | |
# When triggered via a HTTP request, execute a command. | |
# | |
# Written by Senko Rasic <senko.rasic@goodcode.io> | |
# Released into Public Domain. Use it as you like. | |
# | |
# Usage: python trigger.py <host> <port> <key> <command>... | |
# | |
# HTTP GET and POST requests are supported. If you need more verbs or need |
#!/usr/bin/env python | |
# | |
# Backs up all issues (open and closed) from a specified repository, together with their comments | |
# Uses GitHub API v3 and requires a valid API token | |
# | |
# Installation: | |
# python3 -m venv /path/to/virtualenv | |
# source /path/to/virtualenv/bin/activate | |
# pip install requests |
To anyone who asks why we're rewriting AWW backend in anything other than nodejs, here's an example. This is an output log from an automated server provisioning script that in theory should automatically install AWW. In practice, I have to fudge it every few months because the node packages keep breaking. This is even though we've pinned all our dependencies to an exact version. | |
Damn them all to hell. | |
^ | |
/home/aww/.node-gyp/0.12.15/include/node/node.h:273:1: note: in expansion of macro ‘NODE_DEPRECATED’ | |
NODE_DEPRECATED("Use FatalException(isolate, ...)", | |
^ | |
/home/aww/.node-gyp/0.12.15/include/node/node.h: In function ‘v8::Local<v8::Value> node::Encode(const void*, size_t, node::encoding)’: | |
/home/aww/.node-gyp/0.12.15/include/node/node.h:287:62: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const void*, size_t, node::encoding)’ is deprecated (declared at /home/aww/.node-gyp/0.12.15/include/node/node.h:278): Use FatalException(isolate, ...) [-Wdeprecated-declarations] |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# | |
# Calculate top list of programming languages based on HN stories/comments/points | |
# More info: https://blog.senko.net/relative-popularity-of-programming-languages-on-hacker-news | |
from datetime import datetime, timedelta | |
from json import dump, load | |
from os.path import join, exists | |
from tempfile import gettempdir | |
from typing import Optional |
#!/bin/bash | |
if test -z "$2"; then | |
echo "Usage: $0 <app_id> <command ...>" | |
exit 1 | |
fi | |
app_id="$1" | |
shift |