(Numbers in {} refer to 2.0mm-pitch - vs. 2.54mm elsewhere)
- Roundness: 1000 µ
- Width: 1500 {1200} µ
| <html> | |
| <head> | |
| <title>Test</title> | |
| <link rel="stylesheet" media="all" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/themes/start/jquery-ui.css"></link> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script> | |
| <script src="jquery.myplugin.js"></script> | |
| <script> | |
| $(document).ready(function(){ | |
| //call plugin |
| To get an idea of the ideal number of bcrypt "rounds" to use for highest security without requiring | |
| excessive CPU time, I wrote a little PHP script to hash a 9-character password with every possible | |
| number of rounds (from 4 to 31), timing how long it takes to perform each hash. | |
| This test was performed on an Intel Core i5-2500 CPU @ 3.3 GHz, running Windows 7 64-bit and | |
| PHP 5.4.0 (x86; VC9; CLI). The machine was being used for general development work at the same | |
| time, but the script was only single-threaded and the development work wasn't particularly heavy, | |
| so the times should be fairly accurate. | |
| RESULTS (times in seconds): |
| // Disable panning around the page on touchscreen devices (as this is totally incompatible with ScrollPath) | |
| $(document).one('touchstart', function(){ | |
| $(document).on('touchmove', function(ev){ | |
| ev.preventDefault(); | |
| }); | |
| // Also hide the scrollbar | |
| $('.sp-scroll-bar').hide(); | |
| }); |
| javascript:var u; try { u=document.querySelector("link[rel=canonical]").href; } catch (e) {} if(u){ if(prompt("Canonical URL: - Press OK to navigate", u)) { window.location=u; } else { /* Chrome goes silly if I don't do something here */ u=null; } } else { prompt("No canonical URL found. Displaying current URL:", window.location.href); } |
| <?php | |
| // Definining these four classes is actually optional; the code functions fine | |
| // without them, but IDEs obviously bitch about undefined classes. | |
| // All have final-private constructors to prevent them ever being instantiated | |
| // (or we could pass *actual objects* of these types to our type-hinted | |
| // functions, where we'd have code that expected a string suddenly finding | |
| // itself dealing with an object! | |
| class string { final private function __construct(){} } | |
| class boolean { final private function __construct(){} } |
| <?php | |
| /** | |
| * Fixes PHP's $argv array (or, rather, a list of filenames that is assumed to | |
| * come from $argv) to expand glob strings on Windows, where the cmd.exe shell | |
| * doesn't expand globs before passing arguments to called commands/programs. | |
| * | |
| * @link https://gist.github.com/aziraphale/edf8a1b1ad049f4e08ee | |
| * @param array $argv | |
| * @return array |
| <?php | |
| /** | |
| * Fixes PHP's $argv array (or, rather, a list of filenames that is assumed to | |
| * come from $argv) to expand glob strings on Windows, where the cmd.exe shell | |
| * doesn't expand globs before passing arguments to called commands/programs. | |
| * | |
| * @link https://gist.github.com/aziraphale/edf8a1b1ad049f4e08ee | |
| * @param array $argv | |
| * @return array |
| <!-- Google Inbox displayed a "Confirm Subscription" link button immediately below the subject line, both when the | |
| email was opened and when it was closed. Clicking the button would confirm the subscription without the browser | |
| visibly opening the confirmation link. --> | |
| <span itemscope itemtype="http://schema.org/EmailMessage"> | |
| <span itemprop="description" content="We need to confirm your email address."></span> | |
| <span itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction"> | |
| <meta itemprop="name" content="Confirm Subscription"> | |
| <span itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler"> | |
| <meta itemprop="url" content="https://carloop.us6.list-manage.com/subscribe/smartmail-confirm?u=...&id=...&e=...&inline=true"> |
| gamma_min_endstop nc # Normally 1.28. Change to nc to prevent conflict, | |
| ## Z-Probe (BL Touch) | |
| # See http://forum.smoothieware.org/forum/t-1760423/bltouch-support#post-2712545 | |
| # And http://smoothieware.org/zprobe#bltouch-or-servo-retractable-touch-probe | |
| zprobe.enable true # set to true to enable a zprobe | |
| zprobe.probe_pin 1.28 # pin probe is attached to if NC remove the ! | |
| zprobe.slow_feedrate 5 # mm/sec probe feed rate | |
| zprobe.fast_feedrate 100 # move feedrate mm/sec | |
| zprobe.probe_height 5 # how much above bed to start probe |