Skip to content

Instantly share code, notes, and snippets.

@ElioLopez
ElioLopez / Grundstoff.md
Last active April 18, 2024 11:41 — forked from ShkurtiA/drugs_and_alcohol.md
Fahrschule, driving license germany, berlin

While driving on the motorway you overtake several vehicles. A vehicle approaches you from behind with indicators and headlights flashing. What should you do?

  • I brake briefly to prompt the vehicle behind to keep its distance
  • I continue driving until I can again pull into the right-hand lane
  • I turn on my hazard lights briefly to urge the vehicle behind to keep its distance

When must you switch on the hazard lights on your vehicle? If my vehicle

  • is being towed
  • experiences a breakdown at a place where the view is obscured
  • is briefly double-parked by me
@blessanm86
blessanm86 / translation.md
Last active May 24, 2023 10:01
Zalon Translation Journey

Zalon Translation Jounery

2016

  • Zalon was only serving German speaking countries.

  • So we were already supporting 3 locales Germany (de-DE), Austria (de-AT) and Switzerland (de-CH)

  • Internationalization work was already done for our tools and the master copy for the apps were externalized.

  • Translation were managed in a tool named Transfix

    Workflow

  • The team (Product, UX, Tech) worked together on designing features and then product and UX briefed the copywriter about the feature and shared the master copy.

@blessanm86
blessanm86 / german-driving-license.md
Last active May 3, 2024 15:15
Quick Ref Notes for German Driving License Test

This is unmaintained and was created for personal use. As I passed the exam I have no use to keep this up to date. Feel free to fork

What are the consequences for a person driving a motor vehicle under the influence of drugs (e.g. hashish, heroin, cocaine)?

[x] Confiscation of driving licence or driving ban
[x] Compulsory medical/psychological examination
[x] Fine and/or imprisonment

In which instances do you have to approach a pedestrian crossing with particular care?

@karpathy
karpathy / min-char-rnn.py
Last active May 17, 2024 08:44
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@pmolina
pmolina / antihero.md
Last active November 20, 2023 21:20
The Programming Antihero

The Programming Antihero

I was fresh out of college, still wet behind the ears, and about to enter the beta phase of my first professional game project -- a late-90s PC title. It had been an exciting rollercoaster ride, as projects often are. All the content was in and the game was looking good. There was one problem though: We were way over our memory budget.

Since most memory was taken up by models and textures, we worked with the artists to reduce the memory footprint of the game as much as possible. We scaled down images, decimated models, and compressed textures. Sometimes we did this with the support of the artists, and sometimes over their dead bodies.

We cut megabyte after megabyte, and after a few days of frantic activity, we reached a point where we felt there was nothing else we could do. Unless we cut some major content, there was no way we could free up any more memory. Exhausted, we evaluated our current memory usage. We were still 1.5 MB over the memory limit!

At this point one of the mos

@nk23x
nk23x / tinyproxy.conf
Last active April 23, 2019 21:15
tinyproxy.conf + tinyproxy_filter (work) using custom adblock filters
##
## tinyproxy.conf -- tinyproxy daemon configuration file
##
Port 3128
Timeout 15
LogFile "/var/log/tinyproxy.log"
LogLevel Info
@itavero
itavero / JAXBCollection.java
Last active March 14, 2023 10:03
Generic serializer / marshaller / unserializer / unmarshaller class to convert objects into strings and vice versa. Uses the JAXB lib. Personally used this class for converting messages received/sent to a queue (JMS).
/*
* Copyright (c) 2013, Arno Moonen <info@arnom.nl>
*
* 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 use, copy,
* modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
@pedrobachiega
pedrobachiega / index.markdown
Created August 8, 2012 21:34
Integrações RD Station - HTML puro

Integrações RD Station

HTML Puro

Para quem não tem conhecimento técnico, a integração via HTML Puro é a mais simples de integrar ao RD Station. Mas, infelizmente, ainda é preciso fazer algumas pequenas modificações no seu arquivo HTML.

Usando a API

Quatro coisas são necessárias editar/adicionar na sua página para a integração funcionar: