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 / 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

ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby
@sshilko
sshilko / php-fpm-cli
Last active August 29, 2015 14:09 — forked from muhqu/php-fpm-cli
#!/bin/bash
#
# The MIT License (MIT)
#
# Copyright (c) 2014 Mathias Leppich <mleppich@muhqu.de>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
You appear to be advocating a new:
[ ] cloud-hosted [ ] locally installable [ ] web-based [ ] browser-based [ ] language-agnostic
[ ] language-specific IDE. Your IDE will not succeed. Here is why it will not succeed.
You appear to believe that:
[ ] Syntax highlighting is what makes programming difficult
[ ] Garbage collection is free
[ ] Computers have infinite memory
[ ] Nobody really needs:
#! /usr/bin/env python
import fileinput
import argparse
from operator import itemgetter
parser = argparse.ArgumentParser()
parser.add_argument('--target-mb', action = 'store', dest = 'target_mb', default = 61000, type = int)
parser.add_argument('vmtouch_output_file', action = 'store', nargs = '+')
args = parser.parse_args()