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
#!/bin/bash | |
# Note that there's no libdrm because this lib cause errors | |
sudo apt update -y && sudo apt upgrade -y | |
sudo apt-get -y install \ | |
autoconf \ | |
automake \ | |
build-essential \ |
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
local cURL = require "cURL" | |
-- caching functions to get faster loop experience | |
local str_gmatch = string.gmatch | |
local str_find = string.find | |
function string:split(sep) | |
local i = 1 | |
local t = {} | |
for token in str_gmatch(self, "[^" .. sep .. "]+") do |