Put a Dockerfile in the root of your project
docker build -t myproject .
The dot at the end tells Docker to look for the Dockerfile in the current directory
From Ubuntu repos: | |
* topicons | |
* gamemode | |
* bluetooth-quick-connect | |
* show-ip | |
Manually installed: | |
* Bluetooth battery indicator |
# Firejail profile for RPCS3 | |
# Description: PS3 emulator | |
# This file is overwritten after every install/update | |
# Persistent local customizations | |
include rpcs3.local | |
# Persistent global definitions | |
include globals.local # might be a problem | |
noblacklist ${HOME}/.config/rpcs3 | |
noblacklist ${HOME}/.cache/rpcs3 |
#!/bin/bash | |
# Put this in /etc/cron.d/ | |
# Install using `crontab -e` and add the following line | |
# */20 * * * * export DISPLAY=:0 && /etc/cron.d/takeabreak | |
if [[ $(date +"%H") -gt 18 ]]; then | |
echo End of work day. Not going to pop up. | |
exit 0 | |
fi |
I've recently returned to the world of software development for a research role, and as expected, I've been handed a big codebase to get to grips with.
To save time I often reach out to graphing tools to get an understanding of how the source code is really structured. There are plenty of complex tools but I just use Doxygen with Graphviz. Unfortunately, even that's not a terribly useable tool, so I'm writing down the steps I use here.
Go into your project and run:
Download the latest Zephyr SDK from here: https://github.com/zephyrproject-rtos/sdk-ng/releases/
Then follow these steps:
pip3 install west
west init zephyrproject
cd zephyrproject
#!/usr/bin/env bash | |
# Program to mute the microphone while you are typing away on your loud keyboard. | |
# Inspired by the Unclack app for macOS | |
# This program is written by github.com/adrianlshaw and licensed under GPLv2 | |
# To install as a background daemon, run "./unclack-linux install" | |
# Does not require sudo, but does assume you have systemd and pulseaudio | |
SERVICEFILE=" | |
[Unit] | |
Description=unclack-linux |
I hereby claim:
To claim this, I am signing this object:
Google Galaxy Nexus (GSM)
After spending hours trying to put PostmarketOS on my old phone I decided to write up some instructions to help someone save themselves some time.
Enter the bootloader by holding both volume buttons and the power button at the same time. You'll see a picture of an Android robot who is ready for surgery. Plug the phone into a PC with a USB cable.
Make sure your bootloader is unlocked by typing: