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
#region Local Configuration Manager | |
[DSCLocalConfigurationManager()] | |
configuration LCMConfig | |
{ | |
Node localhost | |
{ | |
Settings | |
{ | |
ConfigurationMode = 'ApplyAndAutoCorrect' | |
# Check for updates once a day |
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
{ nixpkgs ? import <nixpkgs> {} | |
, version ? "0.1" | |
, proxy ? "http://10.183.23.58:3128" | |
}: | |
with nixpkgs; | |
let | |
elixir = beam.packages.erlangR21.elixir_1_7; | |
nodejs = nodejs-10_x; |
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
-- Just add this to the end of the control.lua file in the save file and then replay the file | |
-- This sequence is adjusted for https://www.speedrun.com/Factorio/run/mr87xlgy | |
script.on_nth_tick(300, function(event) | |
if event.tick < 90000 then | |
game.take_screenshot{ | |
surface = game.surfaces[1], | |
position = {-88,-9}, | |
resolution = {1920,1080}, | |
zoom = 0.2, |
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
WAYLAND_PROTOCOLS=/usr/share/wayland-protocols | |
# wayland-scanner is a tool which generates C headers and rigging for Wayland | |
# protocols, which are specified in XML. wlroots requires you to rig these up | |
# to your build system yourself and provide them in the include path. | |
xdg-shell-protocol.h: | |
wayland-scanner server-header \ | |
$(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@ | |
xdg-shell-protocol.c: xdg-shell-protocol.h |
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
cwebp -pass 10 -mt -alpha_filter best -alpha_cleanup -m 6 -lossless | |
What do all these arguments do? | |
-pass 10 Determines the number of passes that will be performed on the image, maximum 10. More = longer processing time, but potentially smaller images. Yum. | |
-mt Use multi-threading | |
-alpha_filter best "predictive filtering for alpha plane", tries to optimize the alpha channel. Options are none, fast, and best. | |
-m 6 Determines compression method. 0=fast, 6=slowest | |
-lossless Makes this WebP lossless. Image produced will be 100% identical once decompressed. |
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
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
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
May the Force be with You | |
A Tulpa Creation Guide | |
by Methos | |
Twitter: @GGMethos | |
ggmethos@autistici.org | |
v2.8.1 | |
Last Edit: 28-Sep-2017 | |
The following work falls under the Creative Commons Attribution 4.0 International (CC BY 4.0) License. The official terms of the license can be seen here: |