Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View lloydwatkin's full-sized avatar

Lloyd Watkin lloydwatkin

View GitHub Profile
@lloydwatkin
lloydwatkin / gist:9931047
Created April 2, 2014 09:42
firefox-profile issue
1) Posts > Replies > Create > Referenced Should show a reply button in every post:
Uncaught Error: amdefine with no module ID cannot be called more than once per file.
at runFactory (/Users/lloyd/Dropbox/code/bummer/bummer.io/node_modules/amdefine/amdefine.js:159:23)
at define (/Users/lloyd/Dropbox/code/bummer/bummer.io/node_modules/amdefine/amdefine.js:275:13)
at Object.<anonymous> (/Users/lloyd/Dropbox/code/bummer/bummer.io/node_modules/firefox-profile/node_modules/archiver/node_modules/lodash/dist/lodash.js:6766:5)
at Object.<anonymous> (/Users/lloyd/Dropbox/code/bummer/bummer.io/node_modules/firefox-profile/node_modules/archiver/node_modules/lodash/dist/lodash.js:6785:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<script type="text/javascript"
src="https://code.jquery.com/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="https://xmpp-ftw.jit.su/scripts/primus.js"></script>
</head>
<body>
<div id="container">
@lloydwatkin
lloydwatkin / tea.sh
Created May 2, 2014 09:53
Making tea
#!/usr/local/bin/node
function Mug() {
};
Mug.prototype.drink = {};
Mug.prototype.TEA_COLD_TIME = 6000;
Mug.prototype.TEABAG_BREW_TIME = 2000;
Mug.prototype.on = function(call, event) {
@lloydwatkin
lloydwatkin / gist:8a95a6ee0426e49b91a7
Created June 10, 2014 09:47
Prosody component error
Jun 10 09:22:46 mod_component error Traceback[component]: /usr/lib/prosody/core/loggingmanager.lua:262: bad argument #3 to 'format' (string expected, got nil)
stack traceback:
[C]: in function 'format'
/usr/lib/prosody/core/loggingmanager.lua:262: in function '?'
/usr/lib/prosody/util/logger.lua:48: in function </usr/lib/prosody/util/logger.lua:46>
(tail call): ?
/usr/lib/prosody/core/stanza_router.lua:39: in function 'handle_unhandled_stanza'
/usr/lib/prosody/core/stanza_router.lua:149: in function </usr/lib/prosody/core/stanza_router.lua:55>
(tail call): ?
[C]: in function 'xpcall'
@lloydwatkin
lloydwatkin / gist:fe55b04e14a54f656681
Last active August 29, 2015 14:03
xmpp-ftw-demo issues on demo
xmpp-ftw-demo lloyd$ jitsu -v
0.13.18
xmpp-ftw-demo lloyd$ jitsu logs
info: Welcome to Nodejitsu lloydwatkin
info: jitsu v0.13.18, node v0.10.26
info: It worked if it ends with Nodejitsu ok
info: Executing command logs app
info: Attempting to load logs for /Users/lloyd/Dropbox/code/xmpp-ftw/xmpp-ftw-demo/package.json
info: Listing logs for xmpp-ftw-demo
[07/01 12:00:34 GMT+0100][out] 10.112.36.49 - - [Tue, 01 Jul 2014 11:00:34 GMT] "GET /manual/extensions/buddycloud/ HTTP/1.1" 200 24349 "https://xmpp-ftw.jit.su/demo/" "Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0"
@lloydwatkin
lloydwatkin / gist:81cb57ef11a9cf11f287
Created July 3, 2014 15:43
Prosody password change error
Jul 03 15:43:09 mod_c2s error Traceback[c2s]: /usr/lib/prosody/modules/mod_register.lua:118: attempt to index a nil value
stack traceback:
/usr/lib/prosody/modules/mod_register.lua:118: in function </usr/lib/prosody/modules/mod_register.lua:85>
(tail call): ?
/usr/lib/prosody/util/events.lua:67: in function </usr/lib/prosody/util/events.lua:63>
(tail call): ?
/usr/lib/prosody/modules/mod_iq.lua:70: in function '?'
/usr/lib/prosody/util/events.lua:67: in function 'fire_event'
/usr/lib/prosody/core/stanza_router.lua:184: in function 'core_post_stanza'
/usr/lib/prosody/core/stanza_router.lua:132: in function </usr/lib/prosody/core/stanza_router.lua:55>
BUILD FAILED
/home/lloyd/.local/lib/android/sdk/tools/ant/build.xml:962: The following error occurred while executing this line:
/home/lloyd/.local/lib/android/sdk/tools/ant/build.xml:973: The following error occurred while executing this line:
/home/lloyd/.local/lib/android/sdk/tools/ant/build.xml:312: com.android.sdklib.build.ApkCreationException: Failed to add /home/lloyd/Dropbox/code/location/go/app/platforms/android/ant-build/HelloCordova.ap_
at com.android.sdklib.build.ApkBuilder.addZipFile(ApkBuilder.java:547)
at com.android.sdklib.build.ApkBuilder.init(ApkBuilder.java:453)
at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:394)
at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:334)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
Verifying that +lloydwatkin is my Bitcoin username. You can send me #bitcoin here: https://onename.io/lloydwatkin
@lloydwatkin
lloydwatkin / gist:53e7b03118790a2ad6f7
Last active August 29, 2015 14:05
nodejs v0.10.31 segfault dump
lloyd$ lldb -- node
Current executable set to 'node' (x86_64).
(lldb) run /Users/lloyd/.nvm/v0.10.31/bin/npm test
Process 6393 launched: '/Users/lloyd/.nvm/v0.10.31/bin/node' (x86_64)
> project@0.5.0 test /Users/lloyd/code/project
> massah test
debugger listening on port 5858
@lloydwatkin
lloydwatkin / gist:d7a20b2bd4f75dc2eb0d
Created August 20, 2014 12:22
nodejs v0.10.31-debug segfault 11
lloyd$ node -v
v0.10.31
lloyd$ which npm
/Users/lloyd/.nvm/v0.10.31/bin/npm
lloyd$ lldb -- node
Current executable set to 'node' (x86_64).
(lldb) run /Users/lloyd/.nvm/v0.10.31/bin/npm test
Process 86648 launched: '/Users/lloyd/.nvm/v0.10.31/bin/node' (x86_64)
> project@0.5.0 test /Users/lloyd/code/project