Skip to content

Instantly share code, notes, and snippets.

@johnLate
johnLate / gist:9ea390dfa59a4641cfc8ff20263ce14b
Created May 7, 2024 20:21
sccache issue #2122 steps to reproduce
/tmp/scc$ ls -1
foobar.cpp
sccache-dist-v0.7.1-x86_64-unknown-linux-musl.tar.gz
sccache-dist-v0.7.2-x86_64-unknown-linux-musl.tar.gz
sccache-dist-v0.8.0-x86_64-unknown-linux-musl.tar.gz
sccache-v0.7.1-x86_64-unknown-linux-musl.tar.gz
sccache-v0.7.2-x86_64-unknown-linux-musl.tar.gz
sccache-v0.8.0-x86_64-unknown-linux-musl.tar.gz
sccache.conf
scheduler.conf
@johnLate
johnLate / fail2.json
Created April 14, 2016 20:27
Packer file with misspelled variable name ssh_pw vs. ssh_ps
{
"variables": {
"ssh_user": "x",
"ssh_pw": "y"
},
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "Debian_64",
"vm_name": "bug-test-ssh",
"iso_urls": [
@johnLate
johnLate / README
Created April 14, 2016 17:06
packer bug virtualbox builder iso_url symlink
./symlink_debian-8.4.0-amd64-netinst.iso links to ./debian-8.4.0-amd64-netinst (without .iso)
file is from http://ftp.debian.de/debian-cd/8.4.0/amd64/iso-cd/debian-8.4.0-amd64-netinst.iso
@johnLate
johnLate / wiki.py
Last active August 29, 2015 14:18
#!/usr/bin/python3
# based on http://www.reddit.com/r/programming/comments/31fuae/i_made_a_command_line_tool_to_pull_summaries_from/cq1fnq9
from urllib import request, parse
import json
import sys
if len(sys.argv) < 2:
print('Usage: {} <subject>'.format(sys.argv[0]))
sys.exit(1)