Skip to content

Instantly share code, notes, and snippets.

View dhbaird's full-sized avatar

David Baird dhbaird

View GitHub Profile
commit 990656e40e9a8648c4b59b7ec5d0a32c68785033 (HEAD -> feature/rdynamic)
Author: David Baird <dhbaird@gmail.com>
Date: Thu Jun 1 13:29:10 2023 -0400
Add rdynamic to link flags and implement :shell: URI
diff --git a/Makefile.in b/Makefile.in
index 61cb3ef0e..c7a233f82 100644
--- a/Makefile.in
+++ b/Makefile.in
# (c) David Baird <dhbaird@gmail.com> 2020-12-20
# Licensed under the MIT No Attribution License:
# https://opensource.org/licenses/MIT-0
# Credit is appreciated, but not required, if you find this useful.
# Thanks!
#
# After disappointment with lack of in-place binary patching
# tools (no luck with xdelta, rdiff), I created this. This can
# help apply updated flash images more quickly than rewriting
# the entire image.
function usage(cmd)
{
return `Usage: ${cmd} [OPTIONS]
OPTIONS
--help Print help.
--server SERVER Name of server to connect to.
EXAMPLES:
Getting help:
# -*- mode: ruby -*-
# vi: set ft=ruby :
# WARNING:
# THIS SCRIPT DOESN'T WORK.
# wget https://releases.hashicorp.com/vagrant/2.1.2/vagrant_2.1.2_x86_64.deb
# dpkg -i vagrant_2.1.2_x86_64.deb
# vagrant plugin install vagrant-hostmanager
@dhbaird
dhbaird / metarepo.md
Last active July 25, 2018 19:17
Meta repo acceptance
@dhbaird
dhbaird / yay.yml
Last active February 5, 2018 14:15
- name: yay
hosts: tofu
tasks:
- shell: |
pct create {{ vmid }} {{ ostemplate }} --storage {{ storage }}
args:
creates: /rpool/data/subvol-{{ vmid }}-disk-1
- file: path=/root/staging state=directory
- copy:
src: /etc/pve/lxc/{{ vmid }}.conf
@dhbaird
dhbaird / Makefile
Created June 21, 2017 13:18
Clang demo
#llvm-config-3.6 --cxxflags
CXXFLAGS += -I/usr/include/llvm-3.6
CXXFLAGS += -I/usr/include/clang/3.6/include
CXXFLAGS += -std=gnu++11
CXXFLAGS += -I/usr/lib/llvm-3.6/include
#CXXFLAGS += -DNDEBUG
CXXFLAGS += -D_GNU_SOURCE
CXXFLAGS += -D__STDC_CONSTANT_MACROS
import sys
import json
import yaml
import jinja2
import os
def transform(x):
return x
def main(templateFilename, data):
==> hello0_bootstrapastbuilder.h <==
#ifndef HELLO0_BOOTSTRAPASTBUILDER_H
#define HELLO0_BOOTSTRAPASTBUILDER_H
namespace hello0 {
class BootstrapAstBuilder {
public:
private:
};
11 ['libmono-system-security4.0-cil', 'libmono-system4.0-cil', 'libmono-system-configuration4.0-cil', 'libmono-system-xml4.0-cil', 'libmono-corlib4.5-cil', 'mono-r
untime', 'mono-runtime-sgen', 'mono-runtime-common', 'mono-gac', 'mono-4.0-gac', 'libmono-security4.0-cil']
6 ['libgtk-3-0', 'libgtk-3-common', 'adwaita-icon-theme', 'ubuntu-mono', 'humanity-icon-theme', 'libgtk-3-bin']
5 ['libmono-system-web2.0-cil', 'libmono-system-runtime2.0-cil', 'libmono-system-data-linq2.0-cil', 'libmono2.0-cil', 'libmono-wcf3.0a-cil']
3 ['ubuntu-release-upgrader-gtk', 'update-manager', 'update-notifier']
3 ['nova-compute-libvirt', 'nova-compute', 'nova-compute-kvm']
3 ['libverto1', 'libverto-glib1', 'libverto-libevent1']
3 ['libmono-system2.0-cil', 'libmono-security2.0-cil', 'libmono-posix2.0-cil']
3 ['libmono-system-web4.0-cil', 'libmono-system-web-services4.0-cil', 'libmono-web4.0-cil']
3 ['libebook-1.2-16', 'libedata-book-1.2-25', 'evolution-data-server']