Skip to content

Instantly share code, notes, and snippets.

Lloyd Hilaiel lloyd

Block or report user

Report or block lloyd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View conf-manipulate.sh
#!/usr/bin/env dash
# arguments
section='epel-debuginfo'
key='gpgcheck'
value='0'
state="absent"
file="./epel.repo"
separator="="
View i10n.txt
idealization
illumination
illustration
immoderation
immunization
imperfection
implantation
impregnation
inactivation
inauguration
View gist:55756
I think I git the gist of a gist.
no no, fork Dav!
View gist:59923
(an informal comparison of lzma compression times using easylzma, lzma utils, and lzip)
[lloydh@LloydBookPro test] $ lzma --version
LZMA command line tool 4.32.6
LZMA SDK 4.32
[lloydh@LloydBookPro test] $ lzip --version
Lzip 1.4
Copyright (C) 2009 Antonio Diaz Diaz.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
View gist:67785
/Users/lloydh/dev/BrowserPlus/platform/Core/I18n/src/FormatTime.cpp: In function ‘std::string bp::i18n::formatRelativeTime(const BPTime&, const BPTime&, const std::string&)’:
/Users/lloydh/dev/BrowserPlus/platform/Core/I18n/src/FormatTime.cpp:51: error: invalid initialization of reference of type ‘const std::wstring&’ from expression of type ‘const UChar*’
/Users/lloydh/dev/BrowserPlus/platform/Core/build/BPUtils/dist/include/BPUtils/bpstrutil.h:33: error: in passing argument 1 of ‘std::string bp::strutil::wideToUtf8(const std::wstring&)’
make[2]: *** [I18n/src/CMakeFiles/I18n_s.dir/FormatTime.cpp.o] Error 1
make[1]: *** [I18n/src/CMakeFiles/I18n_s.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
View foo.html
<html>
<head><title>Zip Uploads</title></head>
<body>
<p>Select one or more files for your first set to <em>ZIP</em> them before upload.</p>
<input id="sel" type="button" onclick="setButton(1)"value="Select Files...">
<input id="up" type="button" value="Upload File" disabled>
<p id="files">[<em>Select files above</em>]</p>
<p id="zip"></p>
View foo.html
<html>
<head><title>Zip Uploads</title></head>
<body>
<p>Select one or more files for your first set to <em>ZIP</em> them before upload.</p>
<input id="sel" type="button" onclick="setButton(1)"value="Select Files...">
<input id="up" type="button" value="Upload File" disabled>
<p id="files">[<em>Select files above</em>]</p>
<p id="zip"></p>
View db46 build failure
---> Computing dependencies for db46
---> Building db46
Error: Target org.macports.build returned: shell command " cd "/Users/lloyd/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix" && /usr/bin/make -j2 all " returned error 2
Command output: ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [db_archive] Error 1
make: *** Waiting for unfinished jobs....
ld warning: in ./.libs/libdb-4.6.dylib, file is not of required architecture
Undefined symbols:
"___os_id", referenced from:
View readline not built 64bit on snow leopard
[lloyd@lappro ~] $ sudo port install readline
...
[lloyd@lappro ~] $ file /opt/local/lib/libreadline.dylib
/opt/local/lib/libreadline.dylib: Mach-O dynamically linked shared library i386
View building db46 with debug output
[lloyd@lappro ~] $ sudo port -d install db46
Password:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0d1
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: Going to use alternate build prefix: /Users/lloyd/.macports
You can’t perform that action at this time.