ASCIIDoctor Split heading across multiple line

splitit (1)

Sometimes when using ASCIIDoctor to do some documentation it would be nice to split the heading across multiple lines.  If you type one continuous line of text you take your chances where the splitting will occur.  Using a special sequence can help you control the splitting.

The example above shows three distinct lines in the header

  1. State of Micigan (Misspelled)
  2. Departmental Work Intake Process (DWIP)
  3. Design Document.

The ASCIIDoctor header code for the heading is

= State of Micigan Departmental Work Intake Process (DWIP) Design Documentation

This will result in ASCIIDoctor determining where the split will happen.

By using the special control sequence, shown below,  you can add breaks where you want them

pass:q[<br>]

This control sequence allows a “pass”through of an HTML sequence ”
” to ASCIIDoctor

To get the format shown in the example change the header line to

= State of Micigan pass:q[<br>]Departmental Work Intake Process (DWIP)  pass:q[<br>]Design Documentation

PDF View of multiple line header

Still not formatted exactly how I want it but if I move the “Line Break” control sequences around I can it just right.


HTML View of multiple line header

Justinmind’s New Release: CSS view, multi-target events and online comments on scenarios

justinmind-new-release-header-7-8.png

What’s New

New major features in version 7.8.0

  • New palette to see the CSS code of UI elements.
  • Events can now be targeting more than one element in the same action.
  • Events can also be targeting elements in templates.
  • Comments can now be placed and replied in Scenarios from the online service.
  • New tooltips in color dropdowns showing the hexadecimal color selected.
  • Now you can paste hexadecimal colors with the hashtag included in color inputs.
  • New button in image properties to save the image to your computer.
  • And also several bugfixes, including:
    • Fixed ‘Too many sign-ins’ bug related to account activations.
    • Fixed simulation issues in iOS prototypes that prevented click events from being executed.
    • Dynamic panel hierarchy can now be modified in the Outline tab.
    • Fixed a bug related to images displayed in Set Value events.
    • Problem related to reverting delete actions on screens has been fixed.
    • Fixed issue with JIRA and TFS plugins where issue types were always converted to ‘task’ – they now remain as in source.
    • Fixed style of iOS checkboxes in simulation.
    • Fixed crash related to fonts and styles when not available.
    • Fixed HiDPi issue with drop downs.
    • Fixed copy and paste issue when clipboard was empty.
    • Fixed issue with datagrids’ pagination when datagrids were nested.
    • The drag and drop of links between components in your scenarios has been improved.
    • Upon exporting documentation to MS Word, the order will reflect that of the Screen’s panel, instead of alphabetical order.

 

 

via: https://www.justinmind.com/blog/wireframe-tool-prototyper-7-8-0/

 

GMH 016 Postbag JST Connectors, Steampunk Vinyl

GMH-016 Postbag JST Connectors, Steampunk Vinyl Fabric

10Pairs 10cm Long JST SM 2Pins Plug Male to Female Wire Connector

https://www.aliexpress.com/item/10Pairs-10cm-Long-JST-SM-2Pins-Plug-Male-to-Female-Wire-Connector/32614677770.html

Faux Leather Buffalo Brown Print Fabric By The Yard

100% Vinyl, Heavyweight Fabric: 10-11.9 oz/yd²
This fabric is 54” wide. Order 3 yards (Qty=3), the fabric will measure 54” x 108”. Order 1 yard (Qty=1), the fabric will measure 54” x 36”. Fabric is sold by the yard and cut to order.

https://www.amazon.com/gp/product/B00JLPQJXC/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

Faux Leather Caprice Black Fabric By The Yard

100% Vinyl, Heavyweight Fabric: 10-11.9 oz/yd²
This fabric is 54” wide. Order 3 yards (Qty=3), the fabric will measure 54” x 108”. Order 1 yard (Qty=1), the fabric will measure 54” x 36”. Fabric is sold by the yard and cut to order.

https://www.amazon.com/gp/product/B004JK7VRC/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

 

GMH-015 Postbag Platic Box, NodeMCU HUZZAH feather board, TV-B-Gone Kit

Adafruit HUZZAH ESP8266 Breakout
https://www.adafruit.com/products/2471

Add the Internet to your next project with an adorable, bite-sized WiFi microcontroller, at a price you like! The ESP8266 processor from Espressif is an 80 MHz microcontroller with a full WiFi front-end (both as client and access point) and TCP/IP stack with DNS support as well. While this chip has been very popular, it’s also been very difficult to use. Most of the low-cost modules are not breadboard friendly, don’t have an onboard 500mA 3.3V regulator or level shifting, and aren’t CE or FCC emitter certified….UNTIL NOW!

Each module comes pre-loaded with NodeMCU’s Lua interpreter (NodeMCU 0.9.5 build 20150318 / Lua 5.1.4 to be specific), you can run commands, and ‘save’ Lua programs directly to the module’s Flash using a USB-Serial converter cable. But, if you’d like, you can skip Lua and go direct to using the Arduino IDE. Once you download the ESP8266 core, you can treat it just like a microcontroller+WiFi board, no other processors needed!
Adafruit TV BeGone TV-B-Gone Kit – Universal v1.2
https://www.adafruit.com/products/73

When we were putting together the TV-B-Gone kit, we started imagining a dystopian future, filled with televisions, where this kit would be super useful and we’d be a hero for having one. And while maybe that’s dramatic, the TV-B-Gone is perfect for playing pranks on your friends during the Super Bowl or getting some peace and quiet during dinner.
Feather Stacking Headers – 12-pin and 16-pin female headers
https://www.adafruit.com/products/2830

These two Female Stacking Headers alone are, well, lonely. But pair them with any of our Feather boards and you’re in business!
What do they do? They stack. Put the headers through your Feather and then you can not only plug them into a solderless breadboard, but you could attach circuitry on top as well

 

GMH-014 Postbag – Buttons, LoRa, USB Soldering Iron, UNO & Display

GMH-014 Postbag – Buttons, LoRa, USB Soldering Iron, UNO & Display

This video is a postbag of buttons, LoRa transceivers, USB soldering iron and an UNO with Display.  Please excuse the length and editing, this is my first attempt at a postbag with more items than should be covered in a single video. I will split up large postbags in the future into multiple videos.

UXCELL JST Connectors

No longer available from the vendor I bought the last of them from them, here is an alternative link.
https://www.aliexpress.com/item/10Pai…

MCX Male to BNC Female Adapter pigtail adapter

https://www.aliexpress.com/item/MCX-M…

Tactile square push buttons 12mm x 12mm with various color caps

https://www.aliexpress.com/item/UXCEL…

LoRa Radio Modules 915 MHz 100mW RF wireless

https://www.aliexpress.com/item/New-2…

Keyestudio UNO R3 development board

https://www.aliexpress.com/item/2016-…

Keyestudio display shield 20 char by 4 lines White on blue

https://www.aliexpress.com/item/Free-…

Andreas Spiess, the guy with the Swiss accent.

#120 LoRa / LoRaWAN World Record Attempt. Will I succeed?

USB Soldering Iron 5VDC 8 watts

Page no longer available, alternative link

https://www.aliexpress.com/item/5V-8W-Mini-Portable-USB-Electric-Powered-Soldering-Iron-Pen-Tip-Touch-Switc-High-quality-Hot/32777451598.html

Julian Letts review on the soldering iron.

 

 

 

GMH-013 Project Build Electronics Instrument Case

GMH-013 Project Build electronic test instruments case. Please excuse the audio I am testing out a Blue Yeti and I had the gain up too much, better than the first time when I didn’t have the damn thing plugged in. One of the design elements of my lab is that it needs to be portable. This carry case, which is an unused camera case, includes my test instruments which right now are kinda basic.This was a lazy Sunday build using exercise mats as the foam for the custom cutouts.

TIP: Use a really sharp knife and change the blades, the exercise foam really dulls them quickly.

Shout out to Julian Lett for inspiration and humor.

Julian Lett

GMH TD-V26 Radio postbag, Cute little radios

GMH-008 LED Tester

Microsoft Wireless keyboard and integrated trackpad

Amazon link

Contents of the Instruments Case
————————————-
– DS0112a – Touchscreen oscilloscope, with recording function
– DDS and HS Function signal generator
– Peakmeter PM18C Multimeter with power sensor, true RMS
– Innova 3320 Auto Ranging Multimeter
– TD-V26 Audio testing, audio generation, audio amplifier
(Not shown in parts image, but reviewed in a previous GMH video)

– TD-V26 FM Radio with audio out
– Electronic component identifier and tester
– Led tester, reviewed in a previous video

– Microsoft wireless keyboard with integrated touchpad
– Portable lab power supply (Home Built) 1v to 25v 3a
(Project Build video in the works)
– Portable soldering fume extruder (Home built)
(Shown in parts but removed for final kit to conserve space)
-DISko USB Oscilloscope and 16 channel logic analyzer
(To be replaced with newer technology)
– USB Volt/Amp/Watt meter
– DT-1130 Electromagnetic radiation detector
(Not in parts image)
(Reviewed in upcoming video)
– USB Power bank
– Various multimeter, power, signal and testing cables and jumpers

Any suggestions and feedback are appreciated.

Give a Geek a hand and (Subscribe) to my channel. Thanks.

Visit my blog at http://GeekMustHave.com for more articles and neat technology stuff

 

10 Best Practices for Writing Node.js REST APIs

10-best-practices-for-writing-node-js-rest-apis.png

In this article they cover best practices for writing Node.js REST APIs, including topics like naming your routes, authentication, black-box testing & using proper cache headers for these resources. One of the most popular use-cases for Node.js is to write RESTful APIs using it. Still, while we help our customers to find issues in their applications with Trace, our Node.js monitoring tool we constantly experience that developers have a lot of problems with REST APIs.

 

 

 

 

MERN the new JavaScript stack

mern.png

TherModern Application Stack – Part 1: Introducing The MEAN Stack introduced the technologies making up the MEAN (MongoDB, Express, Angular, Node.js) and MERN (MongoDB, Express, React, Node.js) Stacks, why you might want to use them, and how to combine them to build your web application (or your native mobile or desktop app). The remainder of…

via The Modern Application Stack – Part 5: Using ReactJS, ES6, and JSX to Build a UI (the Rise of MERN) — DZone Web Dev Zone

There has been some discontent when the migration from Angular 1/1.5 to Angular 2.o actually became a rewrite.  I switched to React after seeing some very convincing presentations and talking with some somewhat rabid developers. I am also looking at Vue as a replacement for the Angular / React part of the full stack.  I wonder how long it will be before we see the MEVN stack being discussed.