This is a guideline on how to setup Pi Hole in ArchLinux.
For this, I used a Raspberry Pi 4b with 8gb ram, using aarch64 version of ArchLinux.
This can also be done using a Raspberry Pi Zero, though I haven't tested myself (yet).
References:
This is a guideline on how to setup Pi Hole in ArchLinux.
For this, I used a Raspberry Pi 4b with 8gb ram, using aarch64 version of ArchLinux.
This can also be done using a Raspberry Pi Zero, though I haven't tested myself (yet).
References:
@ECHO off | |
REM =========================================================================== | |
REM Sublime Text - Path and Right Click context menu | |
REM Felipe Guedes - https://github.com/TheZoc | |
REM https://gist.github.com/TheZoc/e3295df094801fa937596964499ac048 | |
REM --------------------------------------------------------------------------- | |
REM I've swapped my environment so many times recently, that I decided to write | |
REM this overengineered solution to add Sublime Text 3 to the right click menu | |
REM on Windows, and to add it to the current user PATH environment variable | |
REM allowing `subl.exe` to be easily usable from command line. |
This guide will use either a macOS or an ArchLinux base system, to prepare a microSD card with Arch Linux for Raspberry Pi.
If someone managed to do the initial setup using Windows, please let me know, so I can add to this guide.
This guide will be verbose at times for some simple tasks. This is intended to help people just starting out, so it's not confusing. If something confuses you, let me know and I'll try my best to answer it.
rem =============================================================== | |
rem Automatic python virutal environment setup for Windows | |
rem Felipe "Zoc" Silveira - Apr 2019 | |
rem --------------------------------------------------------------- | |
rem https://gist.github.com/TheZoc/fa690df3ec4cca7a992fe49b97c47cac | |
rem =============================================================== | |
@echo off | |
rem Check if we already have a venv folder. If so, stop and exit |
Q_PROPERTY($type$ $name$ READ $name:c$ WRITE Set$name:c$ NOTIFY $name$Changed) | |
$type$ $private_variable$_; | |
$type$ $name:c$() const { return $private_variable$_; } | |
void Set$name:c$(const $type$& $private_variable$) | |
{ | |
if ($private_variable$_ == $private_variable$) | |
return; | |
// I wrote those for a dialog in QML that needed to keep high contrast while the background color could be customized | |
// by the user. I"m keeping it here in case I need it in the future :) | |
/** | |
* Calculates the relative luminance of given color | |
* Reference: https://www.w3.org/TR/WCAG20/#relativeluminancedef | |
* | |
* @param {color} color Color to calculate the relative luminance. | |
* @return Luminance, as a real between 0 and 1 | |
*/ |
#!/usr/bin/python3 | |
# | |
# .crab file fixer | |
# This small script was created to help a friend who got attacked by a ransomware | |
# I hope this helps someone else out there :) | |
# | |
import os | |
from glob import glob |
I hereby claim:
To claim this, I am signing this object:
{"setting":{"duration":{"color":{"a":255,"r":255,"g":255,"b":255}},"border":{"sprite":"sprPP_ListGlowBase","color":{"a":255,"r":255,"g":255,"b":255},"enable":true},"auras":[{"behavior":"All","text":{"font":"CRB_Interface14_B","source":"1-Class Resource","position":"TC","align":"Center","anchor":"IB","input":"{v}"},"name":"Suit Power","triggers":[{"triggerType":"Attribute","border":{"color":{"a":255,"b":255,"g":255,"r":255}},"attributes":{"Class Resource":{"value":0,"enable":true,"percent":true,"operator":">="}},"unit":"Player","name":"Suit Power"}],"icon":{"enable":false},"bar":{"color_bg":{"a":0,"r":0,"g":0,"b":0},"color_fill":{"a":125,"r":207,"g":62,"b":244},"posY":36,"sprite_border":"border_medium","enable":true,"color_border":{"a":50,"r":0,"g":0,"b":0},"border_size":5,"posX":-200,"color_empty":{"a":50,"r":196,"g":62,"b":244},"invert":true,"source":"1-Class Resource"}},{"overlay":{"color":{"a":191.25,"r":255},"shape":"Solid","source":"1"},"duration":{"source":"2-1"},"stacks":{"posY":0,"posX":0},"interval": |
C:\gtk-build\github\gtk-win32>c:\Python27\python.exe .\build.py build --vs-ver 14 -p x64 gtk3 > gtk3-build-log.txt | |
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x64 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
cl ..\src\hb-blob.cc ..\src\hb-buffer-serialize.cc ..\src\hb-buffer.cc ..\src\hb-common.cc ..\src\hb-face.cc ..\src\hb-font.cc ..\src\hb-ot-tag.cc ..\src\hb-set.cc ..\src\hb-shape.cc ..\src\hb-shape-plan.cc ..\src\hb-shaper.cc ..\src\hb-unicode.cc ..\src\hb-warning.cc ..\src\hb-fallback-shape.cc ..\src\hb-ot-font.cc ..\src\hb-ot-layout.cc ..\src\hb-ot-map.cc ..\src\hb-ot-shape.cc ..\src\hb-ot-shape-complex-arabic.cc ..\src\hb-ot-shape-complex-default.cc ..\src\hb-ot-shape-complex-hangul.cc ..\src\hb-ot-shape-complex-hebrew.cc ..\src\hb-ot-shape-complex-indic.cc ..\src\hb-ot-shape-complex-indic-table.cc ..\src\hb-ot-shape-complex-myanmar.cc ..\src\hb-ot-shape-complex-thai.cc ..\src\hb-ot-shape-complex-tibetan.cc ..\src\hb-ot-shape-complex-use.cc ..\src\hb-ot-shape-complex |