Skip to content

Instantly share code, notes, and snippets.

Valentin Funk Kamshak

Block or report user

Report or block Kamshak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
peak-load /
Created Aug 5, 2018 — forked from mill1000/
Headless A2DP Audio Streaming on Raspbian Stretch


This gist will show how to setup Raspbian Stretch as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.


A quick search will turn up a plethora of tutorials on setting up A2DP on the Raspberry Pi. However, I felt this gist was necessary because this solution is:

  • Automatic & Headless - Once setup, the system is entirely automatic. No user iteration is required to pair, connect or start playback. Therefore the Raspberry Pi can be run headless.
  • Simple - This solution has few dependencies, readily available packages and minimal configuration.
  • Up to date - As of December 2017. Written for Raspbian Stretch & Bluez 5.43


iamchriswick /
Last active Oct 23, 2019
Even tech giants like Google admit they can’t find a solution to the hiring problem.

Interesting Startups in The Recruiting & Hiring Space

Finding people who want to work for your startup should be easy.

Companies like Google, Facebook, and Twitter have transformed the general perception of joining a startup in recent years. What was once seen as a risky move is now seen as a promising opportunity by recent graduates and veteran workers alike.

"Startups are no longer niche; they have gone mainstream."

–Daniel Gulati, co-author of Passion & Purpose

alekseykulikov /
Last active Jan 21, 2020
Principles we use to write CSS for modern browsers

Recently CSS has got a lot of negativity. But I would like to defend it and show, that with good naming convention CSS works pretty well.

My 3 developers team has just developed React.js application with 7668 lines of CSS (and just 2 !important). During one year of development we had 0 issues with CSS. No refactoring typos, no style leaks, no performance problems, possibly, it is the most stable part of our application.

Here are main principles we use to write CSS for modern (IE11+) browsers:

pylover /
Last active Jan 21, 2020
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3.5
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5.
Workaround for bug:
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
btroncone /
Last active Jan 23, 2020
A Comprehensive Introduction to @ngrx/store - Companion to Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

SpainTrain /
Created Oct 9, 2015
bash script to check for release directive and bump, tag, and publish to npm
set -ex
git config --global ""
git config --global "CI"
git config --global push.default simple
LAST_COMMIT_MSG="$(git log -1 --pretty=%B)"
SEMVER_BUMP_TYPE="$(echo ${LAST_COMMIT_MSG} | sed -n 's/^.*[rR]elease v+\([a-z]\+\).*$/\1/p')"
jaceklaskowski /
Last active Jan 13, 2020
Choosing a deployment tool - ansible vs puppet vs chef vs salt


  • no upfront installation/agents on remote/slave machines - ssh should be enough
  • application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
  • configuration templating
  • environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
  • deployment process run from Jenkins


Vestride /
Last active Jan 24, 2020
Encoding video for the web

Encoding Video


Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
derekseymour / freshdesk_sso.js
Last active Apr 29, 2019
Freshdesk Single Sign On URL - Node.js
View freshdesk_sso.js
var crypto = require('crypto');
* Generates and returns a Freshdesk Single Sign On URL
* {@link Gist}
* @author Derek Seymour <>
* @param {String} name - The name of the user logging in.
* @param {String} email - A valid email address to associate with the user.
You can’t perform that action at this time.