other gists
🔗 TS/JS utility functions
🔗 React utils
- Deep Object Dot Path - Type support for deep objects with dot notation.
| // once you have a one day plan: | |
| // 1. navigate to your vehicles page under 'Service Information' | |
| // 2. Leave 'Category 1' set to '[Category 1]' and click search | |
| // 3. Open your JS console | |
| // get all document titles | |
| titles = document.getElementsByClassName("title") | |
| documentIds = [] | |
| // extract each document id |
other gists
🔗 TS/JS utility functions
🔗 React utils
Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.
React.createClass, extending React.Component and also stateless functional components.renderOnError() in a comp| angular.module('mdChipDraggable', []) | |
| .directive('mdChipDraggable', function () { | |
| return { | |
| restrict: 'A', | |
| scope: {}, | |
| bindToController: true, | |
| controllerAs: 'vm', | |
| controller: ['$document', '$scope', '$element', '$timeout', | |
| function ($document, $scope, $element, $timeout) { | |
| var vm = this; |
Add the following chunk to your existing ISC dhcpd.conf file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup