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
if freetype-config --cflags | |
then pkg-config --cflags freetype2 | |
if freetype-config --libs | |
then pkg-config --libs freetype2 | |
if freetype-config --ftversion | |
then apt-cache show libfreetype6 | grep -e 'Version:*' | sed 's/Version: //' | sed 's/-[0-9]//' |
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
if not minetest.get_modpath("mesecons_noteblock") then | |
minetest.log("error","mesecons_noteblock is not installed - digilines noteblock will not be available!") | |
return | |
end | |
local validnbsounds = dofile(minetest.get_modpath(minetest.get_current_modname())..DIR_DELIM.."nbsounds.lua") | |
minetest.register_node("digistuff:noteblock", { | |
description = "Digilines Noteblock", | |
groups = {cracky=3}, | |
on_construct = function(pos) |
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/dash | |
# [Gedit Tool] | |
# Name=Run Lua / Love2D | |
# Languages=lua | |
# Shortcut=F5 | |
# Input=nothing | |
# Output=output-panel | |
# Applicability=local | |
# Save-files=document |
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
-- modification of String split by luk3yx | |
-- https://gitlab.com/snippets/1756106 | |
string.split = function(str, chr) | |
local s, e = str:find(chr) | |
local r = {} | |
local i = 1 | |
while s do | |
r[#r + 1] = str:sub(i, s - 1) | |
i = e |
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
sudo apt update | |
sudo apt remove libirrlicht-dev | |
sudo apt install libglfw3-dev libgles2-mesa-dev mesa-common-dev mlocate notify-osd | |
## not needed, but tried: | |
## sudo apt install libglu1-mesa-dev freeglut3-dev libcogl-dev | |
git clone --recursive --depth 1 -b ogl-es https://github.com/zaki/irrlicht.git irrlicht-gles | |
cd irrlicht-gles/source/Irrlicht |
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 | |
## sudo apt update && sudo apt install sqlite3 | |
## if you're on the Default-channel | |
cd ~/.mozilla/firefox/**.default/ | |
sqlite3 places.sqlite "delete from moz_historyvisits where visit_date < strftime('%s', 'now', '-7 days') * 1000000;" | |
sqlite3 places.sqlite "delete from moz_places where url like '%duckduckgo%'; vacuum;" |
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
https://git.io/fjDe4 |
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
https://git.io/fjDec |
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
##========================================================= | |
## @Doyousketch2 AGPL-3 Jun 17, 2019 | |
## https://www.gnu.org/licenses/agpl-3.0.en.html | |
# | |
# sudo apt install translate-shell | |
##========================================================= | |
## header | |
__module_name__ = 'Translate' | |
__module_version__ = '1.5' |
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 python3 | |
# -*- coding: utf-8 -*- | |
##========================================================= | |
## taskbar_tint.py Mar 2019 | |
## | |
## Eli Innis @Doyousketch2 Doyousketch2 @ yahoo.com | |
## | |
## GNU GPLv3 gnu.org/licenses/gpl-3.0.html |