Skip to content

Instantly share code, notes, and snippets.

Vadim Peretokin vadi2

Block or report user

Report or block vadi2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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%
View 0001-Fixes-cinsertText.patch
From 37070795da2f653f3d012b10cce4d4b97a36a82d Mon Sep 17 00:00:00 2001
From: Andrea Piccinelli <frasten@gmail.com>
Date: Tue, 12 Jul 2011 14:02:38 +0200
Subject: [PATCH] Fixes cinsertText().
Signed-off-by: Andrea Piccinelli <frasten@gmail.com>
---
src/mudlet-lua/lua/GUIUtils.lua | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
You can’t perform that action at this time.