Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Enhanced-PDF Extension for Roam Research
// @author hungriesthippo <https://github.com/hungriesthippo> & CCC <https://github.com/c3founder>
// @require -
// @version 0.9
// @match https://*.roamresearch.com
// @description Handle PDF Highlights.
// MAIN OUTPUT MODES:
// 1) cousin
// Highlights are added as the cousin block.
@HaiNguyen007
HaiNguyen007 / gist:974bf0b5e584a872653441026aa0e18e
Created November 20, 2020 20:26
Sample from The Man Who Was Thursday
Sample from The Man Who Was Thursday
G. K. Chesterton
Ngày 19 tháng 11 năm 2020 Content
The suburb of Saffron Park lay on the sunset side of London
Ngày 19 tháng 11 năm 2020 Content
was built of a bright brick throughout; its sky-line was fantastic, and even its ground plan was wild. It
Ngày 19 tháng 11 năm 2020 Content
the outburst of a speculative builder, faintly tinged with art, who called its architecture sometimes Elizabethan and sometimes Queen Anne, apparently under the impression that the two sovereigns were identical. It
@HaiNguyen007
HaiNguyen007 / gist:e8e5a9e121169920c60aedc9d3832b6e
Created January 4, 2020 04:47 — forked from shriphani/gist:8675874
Racket code for the little schemer
#lang racket
;; Code for the little schemer
(define (atom? x)
(and (not (pair? x))
(not (null? x))))
(define (lat? l)
(cond ((null? l) #t)
@HaiNguyen007
HaiNguyen007 / client-only-test.json
Created December 10, 2019 23:09 — forked from jocopa3/client-only-test.json
Debug command files from 0.15.90.0
{
"aigoals": {
"versions": [
{
"description": "Enables | Disables Drawing AI Goals",
"permission": "any",
"overloads": {
"default": {
"input": {
@HaiNguyen007
HaiNguyen007 / client-only.json
Created December 10, 2019 23:04 — forked from jocopa3/client-only.json
Command files from MCPE/Win10 1.0.3
{
"closewebsocket": {
"versions": [
{
"description": "commands.closewebsocket.description",
"permission": "any",
"is_hidden": true,
"overloads": {
"default": {
@HaiNguyen007
HaiNguyen007 / MCPE_1.1.0.1_Ids.txt
Created December 10, 2019 22:59 — forked from jocopa3/MCPE_1.1.0.1_Ids.txt
List of all Blocks/Items/Entity Id's in MCPE/Win10 1.1.0.1 and EDU Edition
For advanced users, a syntax highlighter for sublime text and
textmate which makes reading the list easier can be found here:
https://gist.github.com/jocopa3/e4a35921e4f978572e7f45360d231f37
============ Blocks ============
All blocks as found in the 1.1.0.0 Block::initBlocks function.
Block names are the same names used in the /give command.
Name Id Data
{
"body": {
"input": {
"message": "Hello World"
},
"origin": {
"type": "player"
},
"name": "say",
"version": 1,
// To subscribe to an event, pass this JSON text to the client through the WebSocket:
{
"body": {
"eventName": "NameOfEvent" // Replace with an event name listed below
},
"header": {
"requestId": "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx", // UUID
"messagePurpose": "subscribe",
"version": 1, // Protocol version (currently 1 as-of 1.0.2)
@HaiNguyen007
HaiNguyen007 / CommandRequest.js
Created December 10, 2019 22:44 — forked from jocopa3/CommandRequest.js
MCPE/Win10 WebSocket JSON Messages
// For more information about available commands, look at the commands/standard.json file in the game's assets.
{
"body": {
"input": {}, // Command inputs go here
"origin": {
"type": "player" // Where the command originates from
},
"name": "name-of-command", // Command name goes here (i.e. for /say, enter "say")
"version": 1,
@HaiNguyen007
HaiNguyen007 / README.md
Created July 25, 2019 03:28 — forked from miguelmota/README.md
Multiple accounts with Mutt E-Mail Client (gmail example)

How to set up multiple accounts with Mutt E-mail Client

Thanks to this article by Christoph Berg

Instructions

Directories and files

~/