Skip to content

Instantly share code, notes, and snippets.

View sotsugov's full-sized avatar
I may be slow to respond.

Igor sotsugov

I may be slow to respond.
View GitHub Profile
sotsugov / data.json
Last active June 18, 2023 16:18
"SOO0048LUX99203553712079": {
"profile": {
"ava": "/images/af.jpeg",
"id": "SOO0.048:LUX:9,920,355,371:2079",
"fou": 17
"stats": [
{ "short": "ST", "value": 4 },
{ "short": "PE", "value": 4 },

Keybase proof

I hereby claim:

  • I am sotsugov on github.
  • I am sotsugov ( on keybase.
  • I have a public key ASDoZaoav8mc4ExE4j_1CyqfPBG94n3f36yjD2Z2l6dYxQo

To claim this, I am signing this object:

sotsugov / dmg_output.lua
Last active February 25, 2019 11:45
Calculate damage output
-- generating uniform random numbers before using them
math.random(); math.random(); math.random()
dRoll = 0
function onload(save_state)
if save_state != '' then
local sav = JSON.decode(save_state)
"background-color": "#1B172C",
"badge-color": "#AC7EA8",
"bold-color": "#FFFFFF",
"comment": "",
"cursor-background-color": "#000000",
"cursor-foreground-color": "#FFFFFF",
"foreground-color": "#CBE3E7",
"highlight-background-color": "#000000",
"highlight-foreground-color": "#FFFFFF",
# To Completely Block Facebook
# Add these entries below to your hosts file
# Your hosts file Location:
# Linux, Unix and Mac OS X -> /etc/hosts
# Windows XP, Vista and Windows 7 -> C:\WINDOWS\system32\drivers\etc\hosts
# Windows 2000 -> C:\WINNT\system32\drivers\etc\hosts
# Windows 98/ME -> C:\WINDOWS\hosts
sotsugov / spacy_intro.ipynb
Created February 21, 2018 14:20 — forked from aparrish/spacy_intro.ipynb
NLP Concepts with spaCy. Code examples released under CC0, other text released under CC BY 4.0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
sotsugov /
Created September 28, 2017 18:43 — forked from cvan/
How to serve a custom HTTPS domain on GitHub Pages with CloudFlare: *FREE*, secure and performant by default


CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control and E-Tag headers, etc.), minification, etc.

  1. Make sure you have registered a domain name.
  2. Sign up for CloudFlare and create an account for your domain.
  3. In your domain registrar's admin panel, point the nameservers to CloudFlare's (refer to this awesome list of links for instructions for various registrars).
  4. From the CloudFlare settings for that domain, enable HTTPS/SSL and set up a Page Rule to force HTTPS redirects. (If you want to get fancy, you can also enable automatic minification for text-based assets [HTML/CSS/JS/SVG/etc.], which is a pretty cool feature if you don't want already have a build step for minification.)
  5. If you
sotsugov /
Created May 3, 2017 09:15 — forked from blackfalcon/
Git basics - a general workflow

There are many Git workflows out there, I heavily suggest also reading the [Git Workflow][article] article as there is more detail then presented here.

The two prevailing workflows are [Gitflow][gitflow] and [feature branches][feature]. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited.

When using Bash in the command line, it leaves a bit to be desired when it comes to awareness of state. I would suggest following these instructions on [setting up GIT Bash autocompletion][git-auto].

Basic branching

When working with a centralized workflow the concepts are simple, master represented the official history and is always deployable. With each now scope of work, aka feature, the developer is to create a new branch. For clarity, make sure to use descriptive names like transaction-fail-message or github-oauth for your branches.

Keybase proof

I hereby claim:

  • I am sotsugov on github.
  • I am sotsugov ( on keybase.
  • I have a public key ASCWNZTKE4Txsbm0SSHJLSXUrL0pS0vR6RLx8x7HGIBJlQo

To claim this, I am signing this object: