Skip to content

Instantly share code, notes, and snippets.

@MarkDBlackwell
MarkDBlackwell / elm-0.19.1-i386.md
Last active April 28, 2020 19:49 — forked from rlefevre/elm-0.19.1-i386.md
Elm 0.19.1 Linux 32bit unofficial binaries (Debian 10 Buster i386)

Unofficial Elm for Debian 10 Buster i386

Built with 32bit patches from https://github.com/dmy/elm-raspberry-pi.

Please do not report issues at the official Elm projects. You can comment here in the gist, note however that this is not a project that I intend to support in the future.

Install

curl -L https://gist.github.com/rlefevre/8fcf368d9951137e9e810c06c111bba1/raw/52c66eb0e01737e28f1f67f20790212b8ca6fd88/elm-i386-20200424.tar.gz | sudo tar zxC /usr/local/bin
@MarkDBlackwell
MarkDBlackwell / powerpc-mega-make-stderr
Created December 14, 2017 02:09
powerpc-mega-make-stderr
In file included from gui/SettingsDialog.cpp:15:0:
gui/QMegaMessageBox.h:9:48: warning: unused parameter ‘parent’ [-Wunused-parameter]
explicit QMegaMessageBox(QWidget *parent = 0) {};
^
gui/SettingsDialog.cpp: In member function ‘int SettingsDialog::saveSettings()’:
gui/SettingsDialog.cpp:1575:59: warning: statement has no effect [-Wunused-value]
QT_TR_NOOP("Do you want to restart MEGAsync now?");
^
gui/RecentFile.cpp: In member function ‘void RecentFile::on_pArrow_clicked()’:
gui/RecentFile.cpp:209:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
@MarkDBlackwell
MarkDBlackwell / powerpc-mega-make-stdout
Created December 14, 2017 02:06
powerpc-mega-make-stdout
cd MEGASync/ && make -f Makefile
make[1]: Entering directory '/home/mark/develop/MEGAsync/src/MEGASync'
g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_DISABLE_DEPRECATED_BEFORE=0x000000 -DHAVE_LIBUV -DUSE_SQLITE -DUSE_CRYPTOPP -DUSE_QT -DMEGA_QT_LOGGING -DENABLE_SYNC -DENABLE_CHAT -DNDEBUG -DUSE_DBUS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -Igui -Igui/linux -I/home/mark/develop/MEGAsync/src/MEGASync/mega/bindings/qt/../..//bindings/qt/3rdparty/include/libuv -Imega/include -Imega/bindings/qt -Imega/bindings/qt/3rdparty/include -Imega/include/mega/posix -Icontrol -Iplatform -Igoogle_breakpad -Iqtlockedfile -I. -I. -I. -o SettingsDialog.o gui/SettingsDialog.cpp
g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -DQT_WEBKI
@MarkDBlackwell
MarkDBlackwell / live-lunch-reverse-order.txt
Created April 29, 2016 17:47
Live Lunch concerts, in reverse order
2016
April 29 – Sierra Hull
April 15 – Thao & The Get Down Stay Down
April 1 – Rogue Wave
March 4 – Nada Surf
@MarkDBlackwell
MarkDBlackwell / . lilypond-git-source-proposed-tree.md
Last active August 29, 2015 14:27
LilyPond Git - source - proposed tree

Attached is a proposed, cleaner directory tree for LilyPond, wherein:

  • Above each set of sibling {natural language} directories, a new directory, 'lang/' is added to contain them;
  • All necessary source files not under our direct control (i.e., occasionally imported from other repositories) fall under top-level directory, 'vendor/';
  • All (relatively seldomly) regenerated files, which (for whatever reason) we must keep and maintain in the repository sources, fall under top-level directory, 'generated/';
  • Child files of {natural language} directories are segregated, at their great-grandparent level, based on their filename extension;
  • English is parallel to other languages;
  • Files bearing differing filename extensions are separated, cleanly;
  • For each set of sibling files, new directories are added, each to contain only those files bearing each filename extension;
  • 'lang/' and {natural language} directories now fall under filename extension directories;
@MarkDBlackwell
MarkDBlackwell / . lilypond-build-symlink-analysis.md
Last active August 29, 2015 14:27
LilyPond build - symlink analysis
@MarkDBlackwell
MarkDBlackwell / . lilypond-git-source-analysis.md
Last active August 29, 2015 14:27
LilyPond Git - source analysis

Attached are various counts of all the files and file (basename) extensions in LilyPond's Git repository.

No build (make, etc.) commands were run. I analyzed this repository snapshot:

commit e6e59e19a164f0d3af53b0bde3798940de162d66
Date:   Thu Jul 30 20:39:22 2015 +0200
@MarkDBlackwell
MarkDBlackwell / atomic-win-xp-conftest.c
Created March 2, 2014 07:16
gem 'atomic' conftest.c, gcc version and specs.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
>cd C:\Documents and Settings\Mark\Desktop\atomic
>C:\progra\ruby-installer-devkit\2.0-32-bit\devkitvars.bat
Adding the DevKit to PATH...
>set path
Path=C:\progra\ruby-installer-devkit\2.0-32-bit\bin;C:\progra\ruby-installer-dev
@MarkDBlackwell
MarkDBlackwell / atomic-win-xp-command-line-output.txt
Created March 2, 2014 01:25
gem 'atomic' compile on Windows XP 32-bit command line output
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
>gcc -v
'gcc' is not recognized as an internal or external command,
operable program or batch file.
>set path
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\progra\ruby\m\20
0\p451\bin
@MarkDBlackwell
MarkDBlackwell / mail-attachment-hash
Created December 10, 2013 20:13
Mail::AttachmentsList#[]= with hash clobbers hash
require 'base64'
require 'mail'
mail = Mail.new
mail.text_part = Mail::Part.new{body 'body'}
mail.html_part = Mail::Part.new do
body '<html>body</html>'
content_type 'text/html; charset=UTF-8'
end
mail[:from] = 'from@from'