Skip to content

Instantly share code, notes, and snippets.

View valentinvichnal's full-sized avatar

Valentin Vichnal valentinvichnal

View GitHub Profile
@prologic
prologic / LearnGoIn5mins.md
Last active August 12, 2025 02:24
Learn Go in ~5mins
@oliveratgithub
oliveratgithub / emojis.json
Last active October 17, 2025 07:04
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z
@rileylark
rileylark / Getting Deepstream.io set up on kubernetes.md
Created December 1, 2016 19:09
Quick Deepstream.io cluster creation, using redis as a cache & nginx as a gateway, on kubernetes

I made a set of helm charts to quickly establish a deepstream system on a kubernetes cluster.

To set up your own deepstream cluster:

helm repo add peardeck-test-charts https://peardeck.github.io/test-charts/
helm fetch peardeck-test-charts/deepstream-nginx-redis
helm install deepstream-nginx-redis-1.0.0.tgz 
@tiagofernandez
tiagofernandez / ddos_attackers.sh
Last active May 30, 2022 19:22
Attempts to block DDoS attacks.
#! /bin/bash
SEARCHED=$1
if [ -z $SEARCHED ]; then
SEARCHED=/api/flights/fares
fi
echo "Protecting $SEARCHED"
echo "Reading:"
@AysadKozanoglu
AysadKozanoglu / nginx-rate_limit_flood_protect.conf
Last active February 28, 2020 16:52
request flood protection rate limiting nginx
# To enable rate limiting simply add the following line to the top-level of your config file:
# 1 request / second
limit_req_zone $binary_remote_addr zone=login:10m rate=1r/s;
# Then apply it to a location by adding a rate limiting burst to your server block:
location /account/login/ {
# apply rate limiting
limit_req zone=login burst=5;
'use strict';
import {Actions} from "react-native-router-flux";
// var Sinch = require('./Sinch-javascript/sinch-rtc')
import Camera from 'react-native-camera';
var GiftedMessenger = require('react-native-gifted-messenger');
var GiftedSpinner = require('react-native-gifted-spinner');
var React = require('react-native');
const timer = require('react-native-timer');
var {
AppRegistry,
@enil
enil / unfold-fib.ex
Created July 19, 2016 11:22
Implementing a fibonacci stream with Stream.unfold
Stream.unfold({0, 1}, fn {x, y} -> {x, {y, x + y}} end)
defmodule Ebid do
import Plug.Conn
def init(options) do
# initialize options
options
end
def call(conn, _opts) do
@csabapalfi
csabapalfi / appstore.md
Last active August 30, 2018 03:25
How to survive the App Store

via https://www.reddit.com/r/startups/comments/4f74dv/quit_my_full_time_corporate_job_built_an_ios_game/

Getting featured by Apple Do's and Dont's

The Ugly

Publishers are not created equal. It's something I learned very quickly when trying to understand the App Store feature mechanics. If you are Warner Brothers, SquareEnix, Kim Kardashian, King, etc, you get a red carpet to getting featured. You can release whatever trash or shoddy port you want, and you'll get featured. So you have two options, accept this and play by the rules I'm about to lay out, or don't participate.

A List of Do's and Dont's

Here's the list of tips. You really need to do all these things. It's how you show Apple that they can take you seriously as a game developer.

Do: App Preview Video

@igortik
igortik / nginx_common.conf
Last active June 30, 2017 18:42
Nginx example with DDoS mitigation example (503 error trick)
server {
# ...
# files starting with .dot
#
location ~ /\. {
deny all;