Skip to content

Instantly share code, notes, and snippets.

@jkrajniak
jkrajniak / PRIVACY_POLICY.md
Created March 19, 2026 20:40
Privacy Policy — Quick Returns for IKEA

Privacy Policy — Quick Returns for IKEA

Last updated: March 18, 2026

Overview

Quick Returns for IKEA ("the App") is an open-source Android application that helps users scan IKEA product QR codes, build product lists, and streamline the IKEA return process. This privacy policy explains how the App handles your data.

Data Collection

package main
import (
"context"
"fmt"
"strings"
"time"
"github.com/pkg/errors"
@jkrajniak
jkrajniak / .gitignore
Created April 27, 2017 08:31
gitignore for overleaf
*
!*.pdf
!*.jpeg
!*.jpg
!*.png
!*.eps
!*.epsf
!*.epsi
!*.pgf
!*.tikz
@jkrajniak
jkrajniak / esmd_minimize_energy.py
Last active August 10, 2016 19:38
Espresso/pp minimize energy
#!/usr/bin/env python
import sys
import time
import espressomd
system = espressomd.System()
#gamma = 0.001, ftol=1.0, displa 0.001
system.minimize_energy.init(
@jkrajniak
jkrajniak / conf.gro
Created December 21, 2015 08:27
Example of butane configuration for votca
BUTANE_UA
16000
1BUT C1 1 3.993 1.000 4.335
1BUT C2 2 3.849 1.048 4.347
1BUT C3 3 3.842 1.184 4.282
1BUT C4 4 3.712 1.225 4.222
2BUT C1 5 13.166 4.707 3.523
2BUT C2 6 13.085 4.646 3.635
2BUT C3 7 13.085 4.740 3.761
2BUT C4 8 12.953 4.737 3.837
@jkrajniak
jkrajniak / topol.xml
Created November 22, 2015 08:52
Example of topology for butane molecule
<topology>
<h5md_particle_group name="atoms" />
<molecules>
<molecule name="BUT" nmols="4000" nbeads="4">
<bead name="C1" type="C" mass="15.035" q="0.0" />
<bead name="C2" type="C" mass="14.028" q="0.0" />
<bead name="C3" type="C" mass="14.028" q="0.0" />
<bead name="C4" type="C" mass="15.035" q="0.0" />
</molecule>
</molecules>
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
@jkrajniak
jkrajniak / kotnetlogin.py
Created April 27, 2014 09:58
netlogin script for the KotNET service
# Simple auto login program for network on Katholieke Universiteit Leuven
# Author: Jakub Krajniak <jkrajniak at gmail dot com>
# License: GPLv2
#
# Requirements:
# - Python >= 2.7
# - mechanize (http://wwwsearch.sourceforge.net/mechanize/)
import argparse
import mechanize
#!/bin/bash
#
# jkrajniak@gmail.com (Jakub Krajniak)
#
# Very simply script that allows to mount the sshfs filesystem
# based on the definition in $HOME/.sshfs
#
# .sshfs:
# <remote mount point> <optional options> <local mount point>
#