Skip to content

Instantly share code, notes, and snippets.

View confususs's full-sized avatar

Ard Timmerman confususs

  • Groningen, The Netherlands
View GitHub Profile
@r-k-b
r-k-b / _use nixpkgs cypress binary before npms broken copy.md
Last active September 3, 2024 10:14
how to use NixOS's Cypress instead of npm's Cypress

Should help with avoiding errors like:

No version of Cypress is installed in: /home/rkb/.cache/Cypress/6.2.1/Cypress

Please reinstall Cypress by running: cypress install

----------

Cypress executable not found at: /home/rkb/.cache/Cypress/6.2.1/Cypress/Cypress
@TheDrHax
TheDrHax / Dockerfile
Last active April 3, 2017 13:51
Dockerfile for telegram-cli
FROM ubuntu:latest
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y git libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make
RUN git clone --recursive https://github.com/vysheng/tg.git && \
cd /tg && \
./configure && \
make -j5
@jaapz
jaapz / gist:7822021
Last active December 30, 2015 11:19
class Compri(object):
# De plek waarop de naam van het veld in deze lijst staat komt overeen met de plek waarop het in het 'parts' text staat. Dus
# slotactie staat op positie 0 in parts, perstijd1 op positie 1 in parts, etc.
_name_to_number_map = ['slotactie', 'perstijd1', 'tijdstemp1', ...]
def __init__(self, parts):
self.fill_with_parts_data(parts)
def fill_with_parts_data(self, parts):
""" Fills fields on this class with the data in parts.