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 -*- | |
# ported from: https://github.com/xobs/debian-installer/blob/master/doc/devel/partman-auto-recipe.txt#L303 | |
# size in megabytes | |
free_space = 500*1024 | |
recipe = [ | |
# efi | |
{ 'min': 512, |
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/sh | |
# | |
# Read-only Root-FS for Raspian | |
# | |
# Modified 2016 by Stefan Bonfert to make it compatible with Raspbian | |
# Jessie (vanilla). | |
# | |
# Modified 2015 by Pascal Rosin to work on raspian-ua-netinst with | |
# overlayfs integrated in Linux Kernel >= 3.18. | |
# |
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
<?php | |
// Description: Dumb uploader for flameshot software fork. | |
// https://github.com/seamus-45/flameshot/tree/custom-upload-hosting | |
// Settings | |
$config = [ | |
'max_upload_size' => 16*1024*1024, | |
'upload_path' => './files', | |
'shorten_url' => true, | |
'base_url' => sprintf('http://%s/files/', $_SERVER['SERVER_NAME']), |
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/sh | |
# | |
# Read-only Root-FS for Raspian | |
# | |
# Modified 2016 by Stefan Bonfert to make it compatible with Raspbian | |
# Jessie (vanilla). | |
# | |
# Modified 2015 by Pascal Rosin to work on raspian-ua-netinst with | |
# overlayfs integrated in Linux Kernel >= 3.18. | |
# |
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
utf8 = require 'utf8' | |
lib = require 'lib' | |
widget = { | |
plugin = 'mpd', | |
opts = { | |
hostname = '/home/seamus-45/.mpd/socket', | |
events = {'player', 'mixer', 'options'} | |
}, | |
cb = function(t) |
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 | |
# usage | |
if [[ $# -lt 1 ]]; | |
then | |
echo -e "Show USE difference from binary & source package\n" | |
echo "Usage: $0 category/pkg" | |
exit 1 | |
fi |