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
services: | |
firefox: | |
image: jlesage/firefox | |
environment: | |
- DISPLAY=host.docker.internal:0.0 | |
- XAUTHORITY=/root/.Xauthority | |
volumes: | |
- /tmp/.X11-unix:/tmp/.X11-unix | |
- $HOME/.Xauthority:/root/.Xauthority | |
restart: unless-stopped |
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
# ~/.conan2/profiles/default | |
[settings] | |
arch=armv8 | |
build_type=Debug | |
compiler=clang | |
compiler.cppstd=gnu17 | |
compiler.libcxx=libc++ | |
compiler.version=17 | |
os=Macos |
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 | |
import re | |
import functools | |
import itertools | |
from pathlib import Path | |
import click | |
from jinja2 import Environment, BaseLoader, Template | |
try: |
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
zfs create tank/apps/gphotos | |
iocage create --release 11.2-RELEASE --name "gphotos" \ | |
boot="on" \ | |
vnet="on" \ | |
defaultrouter="192.168.1.1" \ | |
ip4_addr="vnet0|192.168.1.40/24" | |
iocage exec gphotos "mkdir -p /usr/local/etc/pkg/repos" | |
iocage exec gphotos "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf" |
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
wget freevps.us/downloads/bench.sh -O - -o /dev/null | bash |
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
TEMPLATE = app | |
CONFIG -= console | |
CONFIG -= app_bundle | |
CONFIG -= qt | |
CONFIG -= windows | |
SDL2_PATH = D:\Workspace\SDL2 | |
LIBS += -L $${SDL2_PATH}\lib -lSDL2 -lSDL2main -lSDL2_image | |
INCLUDEPATH += $${SDL2_PATH}\include |
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
#include <QtDebug> | |
#include <QImage> | |
#include <QString> | |
#include <QBitArray> | |
#include <QByteArray> | |
#include <QFile> | |
#include <QCommandLineParser> | |
namespace { | |
enum { headerSize = 32 }; |
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
background yes | |
use_xft yes | |
xftfont Sans:size=8 | |
xftalpha 1 | |
update_interval 1.0 | |
total_run_times 0 | |
own_window yes | |
own_window_transparent yes | |
own_window_type desktop | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
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
# minute hour day of month month day of week command | |
# 0-59 0-23 1-31 1-12 0-7 (0/7 is Sun) | |
30 18 * * * root /opt/vc/bin/tvservice -p ; /opt/vc/bin/tvservice -o | |
30 8 * * 1-5 root /opt/vc/bin/tvservice -p ; sudo chvt 6; sudo chvt 7 |
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
cat *.cpp *.h | cpp -fpreprocessed | sed 's/[_a-zA-Z0-9][_a-zA-Z0-9]*/x/g' | wc -c |
NewerOlder