Skip to content

Instantly share code, notes, and snippets.

View sotsugov's full-sized avatar

igor sotsugov

View GitHub Profile
@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/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
############################################
# 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
#
{
"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",
@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)
["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 / ghostty.config
Last active December 16, 2025 11:18
configs (ghostty, code, sublime)
keybind = ctrl+x=new_split:right
keybind = ctrl+z=close_surface
theme = "tokyonight"
background = #090909
font-family = "Berkeley Mono"
font-thicken
copy-on-select = clipboard
cursor-style = block

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: