Skip to content

Instantly share code, notes, and snippets.

View sshilko's full-sized avatar

Sergei sshilko

View GitHub Profile
{
"meta": {
"theme": "elegant"
},
"basics":{
"name":"Sergei Shilko",
"label": "Creativity is intelligence having fun - Albert Einstein",
"url": "https://sshilko.com",
"picture":"https://sshilko.com/shilko_avatar.jpg",
"email":"contact@sshilko.com",
@sshilko
sshilko / aws-ec2-redis-cli.md
Created September 1, 2020 09:09 — forked from todgru/aws-ec2-redis-cli.md
AWS redis-cli on EC2
@sshilko
sshilko / advantages.md
Created July 27, 2020 21:05 — forked from OpenNingia/advantages.md
[D&D 5E] Summary of situations causing advantage or disadvantage

[5E] Summary of situations causing advantage or disadvantage.

5th Edition

In another topic someone was wondering about the new advantage/disadvantage mechanic, and under which situations it comes into effect. Because basic rules don't include a dedicated list (understandable, as it's usually a side effect of a very wide variety of actions or situations) I wrote a summary with the information from the different instances where advantage or disadvantage are mentioned in the basic rules, just in case anyone else is curious. I separated it by context:


RACES

@sshilko
sshilko / advantages.md
Created July 27, 2020 21:05 — forked from OpenNingia/advantages.md
[D&D 5E] Summary of situations causing advantage or disadvantage

[5E] Summary of situations causing advantage or disadvantage.

5th Edition

In another topic someone was wondering about the new advantage/disadvantage mechanic, and under which situations it comes into effect. Because basic rules don't include a dedicated list (understandable, as it's usually a side effect of a very wide variety of actions or situations) I wrote a summary with the information from the different instances where advantage or disadvantage are mentioned in the basic rules, just in case anyone else is curious. I separated it by context:


RACES

@sshilko
sshilko / cloudflared-daemon.sh
Created January 17, 2020 05:24
init-v cloudflared for xbian or other distros
#!/bin/sh
nohup /usr/local/bin/cloudflared proxy-dns --port 5053 --upstream https://doh.cleanbrowsing.org/doh/family-filter/ > /dev/null 2>&1 & echo $! > /var/run/cloudflared.pid
@sshilko
sshilko / intel-ssd-8mb-bug.md
Created August 9, 2019 14:06
Intel SSD 8mb bug Fix

Intel SSD 8mb bug Fix

How To Fix Intel SSD 8MB bug Using Linux Terminal

Persian Article is Available On Academia.edu

Also You Can Read This Article In My Blog sirvan.me

@sshilko
sshilko / gist:b1a675ad2bf364ccb92b0db47191d923
Created October 30, 2018 16:35
FATAL: failed to create rotation thread
FROM alpine:3.7 as builder
RUN apk add --no-cache \
git \
cmake \
make \
g++ \
bison \
flex \
mariadb-dev \
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
<?php
error_reporting(E_ALL);
send_message('127.0.0.1','8000', getmypid() . ' Message to send...');
function send_message($ipServer,$portServer,$message)
{
$fp = stream_socket_client("tcp://$ipServer:$portServer", $errno, $errstr);
stream_set_blocking($fp, false);
if (1) {
while(1) {
@sshilko
sshilko / autoload_psr0_lazy.php
Last active January 14, 2016 20:00
autoload_psr0_lazy
<?php
/**
* PSR-0 Autoloader
* http://www.php-fig.org/psr/psr-0/
* works PHP5 & PHP7
* @sshilko
*/
function autoload_psr0($className)
{
$oname = $className;