Skip to content

Instantly share code, notes, and snippets.

View joshyates1980's full-sized avatar

Josh Yates joshyates1980

View GitHub Profile
data:text/html,<script>fetch("http://127.0.0.1:8114", {method: "POST", headers:{"Content-Type": "application/json"}, body: '{"id":0,"jsonrpc":"2.0","method":"get_peers","params":[]}'}).then(response => response.json()).then(response => document.write(JSON.stringify(response)));</script>
@joshyates1980
joshyates1980 / gist:38192fc2c9df0b7aac6c6ea405ce1f61
Created September 27, 2023 15:29
CKB Node Probe (display node_id)
data:text/html,<script>fetch("http://127.0.0.1:8114", {method: "POST", headers:{"Content-Type": "application/json"}, body: '{"id":0,"jsonrpc":"2.0","method":"local_node_info","params":[]}'}).then(response => response.json()).then(response => document.write(JSON.stringify(response)));</script>
@joshyates1980
joshyates1980 / FontDemo.java
Created January 20, 2018 06:29
Introduction to Java Programming, 11th Edition (Chapter 14 - FontDemo)
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.*;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.scene.text.*;
import javafx.scene.control.*;
import javafx.stage.Stage;
public class FontDemo extends Application {
@joshyates1980
joshyates1980 / Email.aspx.vb
Last active July 29, 2016 15:43
Fill dataset with VB.Net and Oracle database
Imports System.Data
Imports System.IO
Imports System.Threading
Imports System.Net
Imports System.Net.Mail
Imports Project.EmailService
Imports Oracle.DataAccess.Client
Partial Class Email
Public Const Page_Name As String = "email.aspx"