Skip to content

Instantly share code, notes, and snippets.

@brettle
brettle / nodeWithTest
Created June 8, 2016 07:32
NodeJs recipe exposing test server on 9001
FROM codenvy/node
EXPOSE 9001
@brettle
brettle / Creating a bootable usb stick containing a direct install of Ubuntu 14.04 from Fedora 23.md
Last active September 26, 2017 05:53
Creating a bootable usb stick containing a direct install of Ubuntu 14.04 from Fedora 23

Instructions

  1. Download the Ubuntu 14.04 Live Desktop (64-bit) iso.
  2. Enable virtualization in the BIOS.
  3. sudo dnf install qemu-kvm
  4. Install the UEFI bios images.
  5. As root, boot the ISO in a virtual machine:
isopath=/path/to/ubuntu-14.04.3-desktop-amd64.iso
stickdev=/dev/sdX # Make sure this is set to the device for your usb stick
qemu-kvm -drive file=$stickdev,format=raw -m 2048 -pflash /usr/share/edk2.git/ovmf-x64/OVMF-pure-efi.fd -cdrom $isopath

Getting FRCSim working on Fedora 22

These are my notes (as best I can remember) on getting FIRST Robotics Competition FRCSim simulator working on Fedora 22/23 in hopes of being able to build robot code and run it on the simulator.

Current Status

Gazebo plugins and gazebo_msgs build. Can run a simulation but joystick controls are messed up.

How To

Desktop Control System for Linux

A system for controlling what can be done within a desktop session, to be used as a parental control system for example.

Goals

  • Not just internet filtering (e.g. DansGuardian) but also control over which local applications can be run
  • Require root access to disable or reconfigure. (Not yet achieved)
  • As simple as possible to set up and maintain

Using Atom on Fedora 21

This guide walks you through the steps of building and launching the Atom text editor on Fedora 21.

Building Atom

  1. Install prerequisite packages

@brettle
brettle / godot.wiki-readability.patch
Created April 6, 2014 14:51
Godot.wiki readability fixes
diff --git a/GDScript.md b/GDScript.md
index eed5107..07a6d77 100644
--- a/GDScript.md
+++ b/GDScript.md
@@ -1,6 +1,6 @@
# Introduction
-GDScript is a high level, dynamically typed programming language used to create content. It uses a syntax that is very similar to the Python language (blocks are indent-based) and its goal is to be very optimal and tightly integrated with the engine, allowing great flexibility for content creation and integration.
+GDScript is a high level, dynamically typed programming language used to create content. It uses a syntax that is very similar to the Python language (blocks are indent-based) and its goal is to be very efficient and tightly integrated with the engine, allowing great flexibility in content creation and integration.
@brettle
brettle / 3ds-to-dlna-vob.sh
Created January 20, 2012 23:35
Shell script to convert a Nintendo 3DS AVI file to an over-under DLNA-compliant NTSC MPEG-2 program stream (VOB) for viewing on some 3D TVs
#!/bin/sh
# Copyright (c) 2012 by Dean Brettle
# Licensed under the GPLv3.
# To use:
# chmod +x 3ds-to-dlna-vob.sh
# 3ds-to-dlna-vob.sh yourfile.avi
# The horizontal offset between the left and right videos of an object that
# should appear on the surface of the screen when viewed in 3D.
delta=70