Skip to content

Instantly share code, notes, and snippets.

@Patronics
Patronics / simpleDarkMode.css
Created October 6, 2021 07:18
a simple stylesheet to set in your browser to force some webpages into a dark theme.
body{
/*Specifically avoids pure white and black to enable slight legibility
if the background color is overriden but the text is not, or vice versa.
*/
background-color:#111111 !important;
color:#eeeeee !important;
}
@Patronics
Patronics / watchTimeMachineLog.sh
Last active October 23, 2022 08:15
Watch detailed Time Machine progress logs
#for watching the logs from an Apple Time Machine backup on MacOS
#the log will update with new progress every 5 minutes
#or get historical records by specifying a durarion of time to look back
RED="$(tput setaf 1)"
YELLOW="$(tput setaf 3)"
CYAN="$(tput setaf 6)"
WHITE="$(tput setaf 7)"
@Patronics
Patronics / ctestoutput.log
Created March 17, 2018 05:49
The error message I get from running ctest for Slic3r
UpdateCTestConfiguration from :/home/pi/Slic3r/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/pi/Slic3r/build/DartConfiguration.tcl
Test project /home/pi/Slic3r/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: xs
@Patronics
Patronics / Build.log
Created March 14, 2018 18:58
This is the error message log from make
[ 1%] Built target polypartition
[ 7%] Built target admesh
[ 8%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/PlaceholderParser.cpp.o
/home/pi/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp: In constructor ‘Slic3r::client::macro_processor<Iterator>::macro_processor()’:
/home/pi/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:863:79: error: ‘copy’ is not a member of ‘Slic3r::qi’
auto kw = spirit::repository::qi::distinct(qi::copy(alnum | '_'));
^
/home/pi/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:863:79: note: suggested alternatives:
In file included from /usr/include/c++/4.9/deque:64:0,
from /usr/include/c++/4.9/queue:60,