Skip to content

Instantly share code, notes, and snippets.

View motiejus's full-sized avatar

Motiejus Jakštys motiejus

View GitHub Profile
@motiejus
motiejus / calc.c
Created September 19, 2013 10:55
/*
* Byte calculator. Sums bytes of a given file and displays to screen.
*
* Compile:
* gcc calc.c -o calc -O2
*
*/
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
@motiejus
motiejus / fosdem2014.md
Last active August 29, 2015 13:55
Fosdem 2014

FOSDEM2014

  1. Wanted to get to kdbus, couldn't
  2. Galera Cluster IRL
  3. Sailfish intro
  4. Sailfish round table
  5. Debian Contributors
  6. Sailfish dinner
@motiejus
motiejus / day1.rst
Last active August 29, 2015 13:57
Kalifornija 2014

1 diena, San Franciskas

Išskridome iš Schiphol 10:05, atskridome apie 12:40 vietos laiku. Valandą užtruko stovėjimas eilėje prie vizų.

https://lh6.googleusercontent.com/-c9z-CyYGCSI/UxbDl9xPDFI/AAAAAAAADV0/v_cueTQD1k0/w1304-h873-no/DSC06552.JPG

Taksi iš oro uosto į viešbutį važiavome apie 40 minučių. Taksistas pasitaikė įdomus žmogus, pravažinėjęs Nyderlandus kiaurai dviračiu (kompanijoje buvęs

.. image: t1.jpg
.. image: t1.jpg
@motiejus
motiejus / t1.jpg
Last active August 29, 2015 13:57
t1.rst
t1.jpg
@motiejus
motiejus / 2months.rst
Last active August 29, 2015 13:57
My take on Jolla after two months

My take on Jolla after two months of use

Before purchasing Jolla I gave `some reasons`_ why I am purchasing a new phone and an explanation what I expect from it.

Because I have an Android tablet, I did not need an Android phone and I was OK to experiment. Many of the typical phone features like maps, twitter, offline wikipedia are on tablet which I always have with me; therefore phone does not have that many requirements.

@motiejus
motiejus / safe.rst
Last active August 29, 2015 14:01
Safe by default

Safe by default

This post documents my envisioned state of digital asset storage and maintenance. Most of the stuff is already implemented, so this page is a reminder for me what the final state should be.

Inspired by `musings from Colin Percival`_.

Archive and backup all personal stuff

@motiejus
motiejus / f1.md
Last active August 29, 2015 14:05
piqi showcase

A sample resource:

.resource [
  .url [
    .string.gamelist
    .string.favouritesGet
    .binding.siteid
    .binding.uid
 ]
@motiejus
motiejus / graphite.txt
Created November 18, 2014 23:12
graphite server on CoreOS (userdata script)
#!/bin/bash
# Begin graphite.service
set -euo pipefail
cat > /etc/systemd/system/graphite.service <<EOF
[Unit]
Description=graphite server
After=docker.service
Requires=docker.service
[Service]