An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", |
| { | |
| "Logging": { | |
| "LogLevel": { | |
| "Default": "Information", | |
| "Microsoft.AspNetCore": "Warning" | |
| } | |
| }, | |
| "AllowedHosts": "*", | |
| "Kestrel": { | |
| "Endpoints": { |
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| <img src="file:///\\.\globalroot\device\condrv\kernelconnect"> |
A network bridge allows us to have a virtual router that we can plug multiple network interfaces into. The IP address is assigned to the bridge rather than the individual network interface.
Create the bridge device, br0 :
| using System; | |
| using System.Collections.Generic; | |
| namespace DesignPatterns.Factory.RealWorld | |
| { | |
| /// <summary> | |
| /// MainApp startup class for Real-World | |
| /// Factory Method Design Pattern. | |
| /// </summary> | |
| class MainApp |
| var versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location); |
| document.getElementById("inputfield").addEventListener("keydown", function() { var key = event.keyCode || event.charCode; if(key == 32) { | |
| var wordContainer = document.getElementById("row1"); | |
| var descendents = wordContainer.getElementsByTagName('*'); | |
| var characterCount = 0; | |
| for(var i = 0; i < descendents.length; i++) | |
| { | |
| var element = descendents[i]; |
| #include "stm32f10x.h" | |
| #include "stm32f10x_conf.h" | |
| int main(void) | |
| { | |
| GPIO_InitTypeDef GPIO_InitStructure; | |
| USART_InitTypeDef USART_InitStructure; | |
| uint16_t rxbuf[64]; | |
| int rxbuf_pos = 0; |