Skip to content

Instantly share code, notes, and snippets.

View espdev's full-sized avatar
😐

espdev

😐
View GitHub Profile
@aliesbelik
aliesbelik / benchmarking-tools.md
Last active April 2, 2025 00:58
Benchmarking & load testing tools

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");
@zmts
zmts / tokens.md
Last active April 19, 2025 14:46
ΠŸΡ€ΠΎ Ρ‚ΠΎΠΊΠ΅Π½Ρ‹, JSON Web Tokens (JWT), Π°ΡƒΡ‚Π΅Π½Ρ‚ΠΈΡ„ΠΈΠΊΠ°Ρ†ΠΈΡŽ ΠΈ Π°Π²Ρ‚ΠΎΡ€ΠΈΠ·Π°Ρ†ΠΈΡŽ. Token-Based Authentication

ΠŸΡ€ΠΎ Ρ‚ΠΎΠΊΠ΅Π½Ρ‹, JSON Web Tokens (JWT), Π°ΡƒΡ‚Π΅Π½Ρ‚ΠΈΡ„ΠΈΠΊΠ°Ρ†ΠΈΡŽ ΠΈ Π°Π²Ρ‚ΠΎΡ€ΠΈΠ·Π°Ρ†ΠΈΡŽ. Token-Based Authentication

Last major update: 25.08.2020

  • Π§Ρ‚ΠΎ Ρ‚Π°ΠΊΠΎΠ΅ авторизация/аутСнтификация
  • Π“Π΄Π΅ Ρ…Ρ€Π°Π½ΠΈΡ‚ΡŒ Ρ‚ΠΎΠΊΠ΅Π½Ρ‹
  • Как ΡΡ‚Π°Π²ΠΈΡ‚ΡŒ ΠΊΡƒΠΊΠΈ ?
  • ΠŸΡ€ΠΎΡ†Π΅ΡΡ Π»ΠΎΠ³ΠΈΠ½Π°
  • ΠŸΡ€ΠΎΡ†Π΅ΡΡ Ρ€Π΅Ρ„Ρ€Π΅Ρˆ Ρ‚ΠΎΠΊΠ΅Π½ΠΎΠ²
  • ΠšΡ€Π°ΠΆΠ° Ρ‚ΠΎΠΊΠ΅Π½ΠΎΠ²/ΠœΠ΅Ρ…Π°Π½ΠΈΠ·ΠΌ контроля Ρ‚ΠΎΠΊΠ΅Π½ΠΎΠ²
@amgorb
amgorb / redis-client-ouput-buffer-limit
Created February 20, 2017 16:19
redis replication scheduled to be closed ASAP for overcoming of output buffer limits.
If you redis initial replication fails with error like
"5101:M 20 Feb 18:14:29.130 # Client id=4500196 addr=71.459.815.760:43872 fd=533 name= age=127 idle=127 flags=S db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=13997 oll=1227 omem=192281275 events=rw cmd=psync scheduled to be closed ASAP for overcoming of output buffer limits.
means that slave buffer is not enough and you should increase it (at master!) with command like
redis-cli config set client-output-buffer-limit "slave 836870912 836870912 0"
more info: https://redis.io/topics/clients
@lukas-h
lukas-h / license-badges.md
Last active April 14, 2025 17:15
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@espdev
espdev / .inputrc
Last active April 8, 2020 13:38
The bash inputrc config for convenient autocompletion
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e\e": kill-whole-line
set colored-stats On
set completion-ignore-case On
set completion-prefix-display-length 3
set mark-symlinked-directories On
set show-all-if-ambiguous On
set show-all-if-unmodified On
@mabdrabo
mabdrabo / sound_recorder.py
Created January 28, 2014 23:05
Simple script to record sound from the microphone, dependencies: easy_install pyaudio
import pyaudio
import wave
FORMAT = pyaudio.paInt16
CHANNELS = 2
RATE = 44100
CHUNK = 1024
RECORD_SECONDS = 5
WAVE_OUTPUT_FILENAME = "file.wav"
@rxaviers
rxaviers / gist:7360908
Last active April 18, 2025 20:59
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@grenade
grenade / 01-generate-ed25519-ssh-key.sh
Last active April 11, 2025 19:59
generate ed25519 ssh and gpg/pgp keys and set file permissions for ssh keys and config
#!/bin/bash
mkdir -p ~/.ssh
# generate new personal ed25519 ssh keys
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>"
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_robtn -C "rob thijssen <[email protected]>"
# generate new host cert authority (host_ca) ed25519 ssh key
# used for signing host keys and creating host certs
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"