id: 0group: 126 (hardcode)
| javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |
| import io.swagger.v3.oas.annotations.Operation; | |
| import io.swagger.v3.oas.annotations.media.Content; | |
| import io.swagger.v3.oas.annotations.media.Schema; | |
| import io.swagger.v3.oas.annotations.responses.ApiResponse; | |
| import io.swagger.v3.oas.annotations.responses.ApiResponses; | |
| import io.swagger.v3.oas.annotations.tags.Tag; | |
| import lombok.RequiredArgsConstructor; | |
| import org.springframework.http.HttpStatus; | |
| import org.springframework.http.MediaType; | |
| import org.springframework.http.converter.HttpMessageNotReadableException; |
You can download whole courses from an array of tutorial sites with the CLI tool youtube-dl. In the example further down I'm using my Pluralsight account to get videos from a course at their site. Here is a list of all supported sites that you can download from with this tool
The flags you have to supply may vary depending on which site you make a request to.
You can get a free 3 month trial to Pluralsight by signing up for free to Visual Studio Dev Essentials
Kafka 0.11.0.0 (Confluent 3.3.0) added support to manipulate offsets for a consumer group via cli kafka-consumer-groups command.
- List the topics to which the group is subscribed
kafka-consumer-groups --bootstrap-server <kafkahost:port> --group <group_id> --describeNote the values under "CURRENT-OFFSET" and "LOG-END-OFFSET". "CURRENT-OFFSET" is the offset where this consumer group is currently at in each of the partitions.
- Reset the consumer offset for a topic (preview)
| [Unit] | |
| Description=consul agent | |
| Requires=network-online.target | |
| After=network-online.target | |
| [Service] | |
| EnvironmentFile=-/etc/sysconfig/consul | |
| Environment=GOMAXPROCS=2 | |
| Restart=on-failure | |
| ExecStart=/usr/local/sbin/consul agent $OPTIONS -config-dir=/etc/consul.d |
| #!/usr/bin/python | |
| # encoding: utf-8 | |
| # | |
| # Copyright (c) 2013 deanishe@deanishe.net. | |
| # | |
| # MIT Licence. See http://opensource.org/licenses/MIT | |
| # | |
| # Created on 2013-11-01 | |
| # |
| // ==UserScript== | |
| // @name jQuery For Chrome (A Cross Browser Example) | |
| // @namespace jQueryForChromeExample | |
| // @include * | |
| // @author Erik Vergobbi Vold | |
| // @description This userscript is meant to be an example on how to use jQuery in a userscript on Google Chrome. | |
| // ==/UserScript== | |
| // a function that loads jQuery and calls a callback function when jQuery has finished loading | |
| function addJQuery(callback) { |