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
sotsugov / data.json
Last active June 18, 2023 16:18
data.json
{
"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 (https://keybase.io/sotsugov) on keybase.
  • I have a public key ASDoZaoav8mc4ExE4j_1CyqfPBG94n3f36yjD2Z2l6dYxQo

To claim this, I am signing this object:

["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","VGB","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","HKG","MAC","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","ANT","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PA
@sotsugov
sotsugov / dmg_output.lua
Last active February 25, 2019 11:45
Calculate damage output
-- generating uniform random numbers before using them
math.randomseed(os.time())
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
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 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/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
sotsugov / HOWTO.md
Created September 28, 2017 18:43 — forked from cvan/HOWTO.md
How to serve a custom HTTPS domain on GitHub Pages with CloudFlare: *FREE*, secure and performant by default

Instructions

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
sotsugov / git-feature-workflow.md
Created May 3, 2017 09:15 — forked from blackfalcon/git-feature-workflow.md
Git basics - a general workflow

There are many Git workflows out there, I heavily suggest also reading the atlassian.com [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 (https://keybase.io/sotsugov) on keybase.
  • I have a public key ASCWNZTKE4Txsbm0SSHJLSXUrL0pS0vR6RLx8x7HGIBJlQo

To claim this, I am signing this object: