Skip to content

Instantly share code, notes, and snippets.

View nocnokneo's full-sized avatar

Taylor Braun-Jones nocnokneo

  • CytoTronics
  • Boston, MA
View GitHub Profile
@nocnokneo
nocnokneo / CMakeLists.txt
Last active October 8, 2020 15:19 — forked from gsauthof/xclipshow.cpp
Simplified, shortened version of http://unix.stackexchange.com/a/163115/1131, a clipboard dump tool
cmake_minimum_required(VERSION 3.0.0)
project(xclipshow)
find_package(Qt5Widgets)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_definitions(-std=c++11)
add_executable(xclipshow
xclipshow.cpp
)
@nocnokneo
nocnokneo / makeImage.sh
Last active February 27, 2021 15:52 — forked from bitboxer/makeImage.sh
#!/bin/bash
# A bash script to create a time machine disk image suitable for
# backups with OS X 10.6 (Snow Leopard)
# This script probably only works for me, so try it at your own peril!
# Use, distribute, and modify as you see fit but leave this header intact.
# (R) sunkid - September 5, 2009
#
# This will create a time machine ready disk image named with your
# computer's name with a maximum size of 600GB and copy it to
# /Volumes/backup. The image "file" (it's a directory, really) will