Skip to content

Instantly share code, notes, and snippets.

View namreg's full-sized avatar

Igor German namreg

View GitHub Profile
@namreg
namreg / VortexRace3ForMac.md
Created April 19, 2021 09:07 — forked from arogulin/VortexRace3ForMac.md
How to setup Vortex Race 3 keyboard for Mac and move Fn key to Home

How to setup Vortex Race 3 for Mac with latest (on 2020-01-05) firmare V1.02.05.

For better understanding we will use the following naming convention:

  [ L1 ][ L2 ][ L3 ][ Space ][ R1 ][ R2 ][ R3 ]
  1. Reset everything by pressing L3+R1 for 5 seconds. Left LED will blink white color while you're holding the keys. Release them after it stopeed blinking.
  2. Get into one of the programmable layers (R2+RShift) – I like red, the super bright laser LED is the least super annoying in red.
  3. Put the keyboard in Windows Mode (Pn+W), it's the least problematic one.
@namreg
namreg / README-Template.md
Created April 16, 2019 05:44 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@namreg
namreg / memory_layout.md
Created April 10, 2019 16:04 — forked from CMCDragonkai/memory_layout.md
Linux: Understanding the Memory Layout of Linux Executables

Understanding the Memory Layout of Linux Executables

Required tools for playing around with memory:

  • hexdump
  • objdump
  • readelf
  • xxd
  • gcore
@namreg
namreg / find.go
Created February 20, 2019 07:27 — forked from YuriyNasretdinov/find.go
package main
import (
"flag"
"log"
"os"
"syscall"
"unsafe"
"path/filepath"
"bufio"

Keybase proof

I hereby claim:

  • I am namreg on github.
  • I am namreg (https://keybase.io/namreg) on keybase.
  • I have a public key ASBYlpvwsUmr-0JGYwr9C5Mg2C9VI-RZJd4_eOTuHI-Ctgo

To claim this, I am signing this object:

@namreg
namreg / index.md
Created September 8, 2018 09:00 — forked from bojand/index.md
gRPC with Load Balancer or Proxy or on AWS

Just documenting docs, articles, and discussion related to gRPC and load balancing.

https://github.com/grpc/grpc/blob/master/doc/load-balancing.md

Seems gRPC prefers thin client-side load balancing where a client gets a list of connected clients and a load balancing policy from a "load balancer" and then performs client-side load balancing based on the information. However, this could be useful for traditional load banaling approaches in clound deployments.

https://groups.google.com/forum/#!topic/grpc-io/8s7UHY_Q1po

gRPC "works" in AWS. That is, you can run gRPC services on EC2 nodes and have them connect to other nodes, and everything is fine. If you are using AWS for easy access to hardware then all is fine. What doesn't work is ELB (aka CLB), and ALBs. Neither of these support HTTP/2 (h2c) in a way that gRPC needs.

@namreg
namreg / settings.json
Created July 25, 2017 05:12 — forked from campoy/settings.json
My vscode settings
{
"window.zoomLevel": 0,
"go.lintOnSave": "package",
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": false,
"workbench.iconTheme": "vs-seti",
"go.addTags": {
"tags": "json",
"options": "json=omitempty",
"promptForTags": true,
@namreg
namreg / test.ipynb
Created January 30, 2017 08:31
Test IPython
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@namreg
namreg / hexlet.slack.log
Last active April 18, 2016 07:27
почему дефолты в БД зло, Continuos Delivery
kirill.mokevnin [8:19 PM]
тут в соседнем чате спросили почему дефолты в базе зло, но по скольку это касается не только руби, предлагаю обсудить
kirill.mokevnin [8:19 PM]
тут
kirill.mokevnin [8:20 PM]
Кто согласен не согласен?
ivanlemeshev [8:21 PM]
@namreg
namreg / hexlet.slack.log
Created August 13, 2015 10:12
про функциональный подход и стейты.
sumyuga [7:57 PM] вот такой вопрос меня последние два дня волнует:
а пишут ли веб в функциональном стиле? читал что Lisp используют для веба и даже в продакшене он себя хорошо чувствует.
просто на мой взгляд это скорее эзотерика, хотя с приходом reactjs может многое изменится, кто что думает?
kirill.mokevnin [8:05 PM]
В функциональном стиле пишут функции, а не веб
когда в любом языке программирования вы используете функцию map, вы пишите этот кусочек программы в функциональном стиле
sumyuga [8:06 PM]
ну в общем вы меня поняли )) да, есть же clojure, совсем забыл ))