Skip to content

Instantly share code, notes, and snippets.

We're not flawless, we're a work in progress

Jakub Młokosiewicz hckr

We're not flawless, we're a work in progress
View GitHub Profile
zmilonas /
Last active Mar 15, 2021
Formułka do CV, resume, RODO GDPR Compliant resume formulae

Polski 🇵🇱

Wyrażam zgodę na przetwarzanie moich danych osobowych w celu rekrutacji zgodnie z art. 6 ust. 1 lit. a Rozporządzenia Parlamentu Europejskiego i Rady (UE) 2016/679 z dnia 27 kwietnia 2016 r. w sprawie ochrony osób fizycznych w związku z przetwarzaniem danych osobowych i w sprawie swobodnego przepływu takich danych oraz uchylenia dyrektywy 95/46/WE (ogólne rozporządzenie o ochronie danych)

English 🇪🇺

I hereby give consent for my personal data included in my application to be processed for the purposes of the recruitment process under the European Parliament's and Council of the European Union Regulation on the Protection of Natural Persons as of 27 April 2016, with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (Data Protection Directive)

james-brndwgn /
Last active May 20, 2020 — forked from iclanzan/
UI Component Name Ideas

UI component names

Interactive components

  • button
  • switch
  • toggle
  • slider
  • handle
  • tab
baumandm /
Last active Mar 16, 2021 — forked from dergachev/
OS X Screencast to Animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime and ffmpeg.

Forked from Updated to use a palette to improve quality and skip gifsicle.


To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

thom-nic / build.gradle
Last active Feb 12, 2021
find the largest classnames in Spring libraries. Also find FactoryFactories
View build.gradle
* Find the longest class names in Spring.
* Also find FactoryFactory classes.
* a goof-off project by @thom_nic
import java.util.jar.*
defaultTasks 'longest', 'factoryfactory'
mitchwongho / Docker
Last active Apr 19, 2021
Docker 'run' command to start an interactive BaSH session
View Docker
# Assuming an Ubuntu Docker image
$ docker run -it <image> /bin/bash
ErikHellman /
Created Jul 24, 2013
A very simple example of using multi-touch on Android to build a custom View for finger painting. This example uses the Path class from the package. Feel free to use this code as you wish for your own multi-touch apps.
public class PaintView extends View {
public static final int MAX_FINGERS = 5;
private Path[] mFingerPaths = new Path[MAX_FINGERS];
private Paint mFingerPaint;
private ArrayList<Path> mCompletedPaths;
private RectF mPathBounds = new RectF();
public PaintView(Context context) {
6174 / Random-string
Created Jul 23, 2013
Generate a random string in JavaScript In a short and fast way!
View Random-string
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
cobyism /
Last active Apr 16, 2021
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

THeK3nger /
Last active Apr 11, 2021
Python Wave Audio Loop
import os
import wave
import threading
import sys
# PyAudio Library
import pyaudio
class WavePlayerLoop(threading.Thread) :