Skip to content

Instantly share code, notes, and snippets.

Avatar

Vadim Peretokin vadi2

View GitHub Profile
@vadi2
vadi2 / Mudlet TODO.md
Last active Apr 15, 2021
Vadim's Mudlet TODO
View Mudlet TODO.md

Short term:

  • Check Qt 5.15.1 - still has emoji issues?
  • file emoji bug in Qt 5.15.2 (see QTBUG-92822)
  • put libhunspell fix as a separate PR (5161)
  • narrow down what causes bad font rendering in 5.14.2 (did not, but latest commit worked fine)
  • as well as bad getFont() results in 5.14.2 (same as above)
  • does bad getFont() happen in 5.15.2?
  • map load - if map file is json, load it as json
  • 4.11 write full post
We couldn’t find that file to show.
@vadi2
vadi2 / purge-luaossl.sh
Created Oct 12, 2019
Purge luaossl Luarocks install
View purge-luaossl.sh
# In case your luaossl rock installation in LuaRocks gets corrupted and you can't remove it due to missing files, do the following:
sudo mkdir -p /usr/local/share/lua/5.1/openssl/x509
sudo mkdir -p /usr/local/share/lua/5.1/openssl/ocsp
sudo mkdir -p /usr/local/share/lua/5.1/openssl/ssl
sudo mkdir -p /usr/local/lib/lua/5.1
sudo touch /usr/local/share/lua/5.1/openssl/x509.lua
sudo touch /usr/local/share/lua/5.1/openssl/pkcs12.lua
sudo touch /usr/local/share/lua/5.1/openssl/pubkey.lua
sudo touch /usr/local/share/lua/5.1/openssl/des.lua
View Smiley to Emoji mapping.lua
{
[":)"] = "☺️",
[":("] = "🙁",
[":c"] = "☹️",
[":O"] = "😮",
[":*"] = "😗",
[";D"] = "😉",
[";)"] = "😉",
[":P"] = "😛",
[":/"] = "😕",
View keybase.md

Keybase proof

I hereby claim:

  • I am vadi2 on github.
  • I am vadimp (https://keybase.io/vadimp) on keybase.
  • I have a public key ASD0RPbn-JorK9Kf7ptXl4E54kAJLt-V7AkLMpDqYZwHXQo

To claim this, I am signing this object:

@vadi2
vadi2 / gist:28c0a469aa3022a99f872f8765e85221
Last active Jun 13, 2017
How to make a oneliner install for a Mudlet package
View gist:df131203a5601160cd13eda8062fb3f8
<!DOCTYPE html>
<html>
<body>
<p>
<input value="20" />
<button>Fibonacci</button>
</p>
<p class="result"></p>
View brew install yajl fails
compiles-Mac-Pro:~ compile$ brew install yajl
==> Installing dependencies for yajl: cmake
==> Installing yajl dependency: cmake
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.11.2.mountain_lion.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cmake-2.8.11.2.mountain_lion.bottle.tar.gz
🍺 /usr/local/Cellar/cmake/2.8.11.2: 694 files, 34M
==> Installing yajl
==> Downloading https://github.com/lloyd/yajl/archive/2.0.4.tar.gz
######################################################################## 100.0%
We couldn’t find that file to show.