When using Lua-based plugins for Neovim, you may need to install some packages
with luarocks. To use these packages, the environment variables LUA_PATH
and
LUA_CPATH
needs to contain the luarocks directories. Problem is, Neovim uses
LuaJIT which is a Lua 5.1 implementation; however, you may already have your
environment setup for a different Lua version, for example the current last
version 5.4. To resolve this problem, this gist patches the Lua paths in the
startup configuration instead of relying on the environment variables as is
default in Neovim.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S csi -s | |
; This is a quick and dirty Chicken 5 script | |
; to help auto format dune config files | |
; It is incomplete since I did not want to take | |
; time to handle all stanza cases but it should be a decent | |
; base for a more complete script. | |
; | |
; Distributed under CC-0/Public domain with no guaranty. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Original post http://www.willdonnelly.net/blog/runtime-scheme-detection/ | |
;;; This is an updated version as of May 2020 | |
;;; I updated signatures for most of Scheme and dropped Ikarus (dead project) | |
;;; I also added chibi-scheme, chez-scheme and replaced mzscheme by racket | |
;;; DETECT | |
;;; A set of functions to allow an interpreted Scheme | |
;;; program to determine the implementation it is | |
;;; running under. | |
;; DETECT:SIGNATURE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reverse URL parameters | |
DOMAIN=example | |
SUB_DOMAIN=helloandroid | |
# Name | |
SHORT_PROGNAME=helloandroid | |
# SDK path for version 29.0.2 | |
SDK_PATH=/opt/android-sdk | |
BUILD_TOOLS_PATH=$(SDK_PATH)/build-tools/29.0.2 | |
AAPT=$(BUILD_TOOLS_PATH)/aapt |