Skip to content

Instantly share code, notes, and snippets.

pthread_mutex_lock(&m->messagesMutex);
m->messages.push(msg);
pthread_cond_signal(&m->messagesNotEmptyCV);
pthread_mutex_unlock(&m->messagesMutex);
--- skateboard-box.scad 2014-06-05 18:53:05.207198653 -0700
+++ - 2014-06-05 18:53:49.918846203 -0700
@@ -1,6 +1,7 @@
// All measurements are made in millimeters
$fs=2; // Sphere polygons
+fudge=0.01;
// Skateboard enclosure
difference() {
--- skateboard-box.scad 2014-06-05 18:58:02.873415019 -0700
+++ - 2014-06-05 18:58:08.203617555 -0700
@@ -55,11 +55,15 @@
module box (x, y, z, wallwidth)
{
- difference() {
- cube([x, y, z], center=true);
- translate([0, 0, wallwidth])
- cube([x-2*wallwidth, y-2*wallwidth, z], center=true);
#!/usr/bin/env python2
from __future__ import print_function
from telnetlib import Telnet
import json
import sys
import os
import re
HOST = 'localhost'
PORT = 17428
/*
* Copyright © 2009-2014 Kris Maglione <maglione.k@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
var name = $s('#details-top-right-inner').find('h1').text().trim();
origProd = name;
name = name.split("(")[0];
var nameS = name.split(" ");
if(nameS.length<7){
name = nameS.join("-");
}
else {
name = nameS[0] + "-" + nameS[1] + "-" + nameS[2] + "-" + nameS[3] + "-" + nameS[4] + "-" + nameS[5] + "-" + nameS[6];
}
Hello,
As part of recent ES6 compliance efforts, the semantics of the `let`
keyword have changed[1] in a non-backwards-compatible way which
affects one or more of your add-ons. In particular:
1) Variables may no longer be declared more than once in the same
scope using the `let` keyword, and may not be redeclared using the
`let` keyword if they have already been declared using `var`, or as
a function argument, within the same lexical scope.
[profile_0]
layer_height = .2
wall_thickness = 1.0
retraction_enable = True
solid_layer_thickness = 1.2
fill_density = 20
nozzle_size = 0.35
print_speed = 40
print_temperature = 0
print_temperature2 = 0
./chrome/content/the_components/reformat/reformat.js:113: _default('assignInnerHTML', function (_element, _html) { _element.innerHTML = _html; });
./chrome/content/the_components/reformat/reformat.js:754: $R.settings.assignInnerHTML(_body, _iframeBodyHTML);
./chrome/content/the_components/reformat/reformat.js:755: (function () { var _dummy = {}; _dummy.innerHTML = '<div>Previous line has a call to assignInnerHTML, which is an alias for innerHTML.</div>'; })();
./chrome/content/the_components/highlight/highlight.js:120: _default('assignInnerHTML', function (_element, _html) { _element.innerHTML = _html; });
./chrome/content/the_components/highlight/highlight.js:495: $H.settings.assignInnerHTML(_parents[i], _inner);
./chrome/content/the_components/highlight/highlight.js:496: (function () { var _dummy = {}; _dummy.innerHTML = '<div>Previous line has a call to assignInnerHTML, which is an alias for i
2014-11-05 16:50:41: range_map-inl.h:91: INFO: StoreRange failed, an existing range contains or extends higher than the new range: new 0x2b3f584f0000+0xf870, existing 0x2b3f584cf000+0x222130
2014-11-05 16:50:41: basic_code_modules.cc:70: ERROR: Module /usr/lib/libudev.so.1 could not be stored
2014-11-05 16:50:41: stackwalker.cc:125: INFO: Couldn't load symbols for: /home/kris/testing/ff36/libxul.so|A9340E3C3FE82AF73FFC6C975A0FDAF70
2014-11-05 16:50:41: basic_code_modules.cc:88: INFO: No module at 0x7fff15a31ea0
2014-11-05 16:50:41: basic_code_modules.cc:88: INFO: No module at 0x7fff15a31ea0
2014-11-05 16:50:41: basic_code_modules.cc:88: INFO: No module at 0x2b3f59954320
2014-11-05 16:50:41: basic_code_modules.cc:88: INFO: No module at 0x7fff15a324f0
2014-11-05 16:50:41: basic_code_modules.cc:88: INFO: No module at 0x2b3f73461f60
2014-11-05 16:50:41: basic_code_modules.cc:88: INFO: No module at 0x3
2014-11-05 16:50:41: basic_code_modules.cc:88: INFO: No module at 0x2b3f6f97f210