Skip to content

Instantly share code, notes, and snippets.

@Jmos
Jmos / test.php
Created October 5, 2019 16:15
Atk table color by dependent value
<?php
require '../vendor/autoload.php';
use atk4\ui\App;
$app = new App();
$app->initLayout('Centered');
@Jmos
Jmos / set_7_usb_boot.cmd
Created September 12, 2016 21:37 — forked from AlexanderPavlenko/set_7_usb_boot.cmd
usbbootfix.bat doesn't help by itself since SP1, but may be involved, so run it before set_7_usb_boot.cmd
@echo off
setlocal EnableExtensions EnableDelayedExpansion
pushd %~dp0
rem set_7_usb_boot.cmd v0.02
rem created by cdob
echo prepare offline windows 7 registry, set USB boot drivers &echo.
set System_Root=\Windows
if not %1.==. set System_Root=%1
#!/bin/bash
# This script
# - creates a user (named below)
# - sets up a union (aufs) filesystem on top of the users immutable home
# - creates a cleanup script (/usr/local/bin/cleanup.sh) that empties the aufs
# layer on login/logout/boot
# - replaces the lightdm config
# - replaces rc.local to run the script
#