This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lens_assy_v1 rotate -70 around Y | |
pin_v1: rotate +90 around X; scale 96% | |
specula: rotate +90 around Y | |
t-mounting: rotate 180 around X | |
body_nut_v1: scale 104% | |
others: rotate -90 around X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.3.3/platform.js"></script> | |
<link rel="import" href="messages.html"/> | |
</head> | |
<body> | |
<h2>title</h2> | |
<script> | |
alert("document "+document); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright 2009 - 2013, Cake Development Corporation (http://cakedc.com) | |
* | |
* Licensed under The MIT License | |
* Redistributions of files must retain the above copyright notice. | |
* | |
* @copyright Copyright 2009 - 2013, Cake Development Corporation (http://cakedc.com) | |
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> M503 | |
SENDING:M503 | |
echo:Steps per unit: | |
echo: M92 X80.00 Y80.00 Z4000.00 E152.00 | |
echo:Maximum feedrates (mm/s): | |
echo: M203 X1000.00 Y1000.00 Z2.80 E25.00 | |
echo:Maximum Acceleration (mm/s2): | |
echo: M201 X3000 Y3000 Z100 E10000 | |
echo:Accelerations: P=printing, R=retract and T=travel | |
echo: M204 P1000.00 R3000.00 T1000.00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
orangey@orangey:~/workspace/Stethoscope/source_files/stethoscope_head$ ruby sthoscope_head.rb | |
workspace/Stethoscope/source_files/stethoscope_head/lib/assemblies/upper_harness_assembly.rb:6:in `show': uninitialized constant UpperHarnessAssembly::BigTube (NameError) | |
from /var/lib/gems/2.3.0/gems/crystalscad-0.6.4/lib/crystalscad/CrystalScad.rb:631:in `block in save_all' | |
from /var/lib/gems/2.3.0/gems/crystalscad-0.6.4/lib/crystalscad/CrystalScad.rb:626:in `each' | |
from /var/lib/gems/2.3.0/gems/crystalscad-0.6.4/lib/crystalscad/CrystalScad.rb:626:in `save_all' | |
from /var/lib/gems/2.3.0/gems/crystalscad-0.6.4/lib/crystalscad/CrystalScad.rb:607:in `block in save!' | |
from /var/lib/gems/2.3.0/gems/crystalscad-0.6.4/lib/crystalscad/CrystalScad.rb:607:in `map' | |
from /var/lib/gems/2.3.0/gems/crystalscad-0.6.4/lib/crystalscad/CrystalScad.rb:607:in `save!' | |
from stethoscope_head.rb:18:in `<main>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: replyto-individual plugin | |
# about: A plugin that allows exposure of the sender's email address for functionality | |
# similar to GNU/Mailman's Reply_Goes_To_List = Poster | |
# version: 0.0.1 | |
# authors: Tarek Loubani <[email protected]> | |
# license: aGPLv3 | |
PLUGIN_NAME ||= "replyto-individual".freeze | |
require 'email/message_builder.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$HttpSocket = new HttpSocket(); | |
// Set data | |
$data = array( | |
'username' => 'username', | |
'password' => 'password' | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Set username and password | |
$username = 'NAME'; | |
$password = 'PASSWORD'; | |
# Drupal Bootstrap code | |
define('DRUPAL_ROOT', '/var/aegir/platforms/drupal_7'); | |
require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; | |
# My attempt at injecting variables for multisite stuff to fit aegir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function icsView() { | |
$masterSet = array(); | |
if (strlen(strstr($this->request->referer(), 'wizard'))>0) { | |
$this->set('id', $this->request->params['named']['id']); | |
$this->render('ics_link'); | |
} | |
if (isset($this->request->data['Shift'][0]['id'])) { | |
$this->request->params['named']['id'] = $this->request->data['Shift'][0]['id']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function testIcsViewId() { | |
$Shifts = $this->generate('Shifts', array( | |
'methods' => array( | |
'iCal' | |
) | |
)); | |
App::uses('View', 'View'); | |
App::uses('iCalHelper', 'View/Helper'); | |
$View = new View(); |
NewerOlder