Skip to content

Instantly share code, notes, and snippets.

@Darkle
Darkle / gist:a84a9a126ac6bd3eff635355ac54548f
Created January 1, 2023 03:53 — forked from koakh/gist:fbbc37cde630bedcf57acfd4d6a6956b
SurrealDB : How to use signin and signup (server + client nodesjs)

As a developer you have complete control over the signup and signin functionality...

$ surreal sql --conn http://localhost:8000 --user root --pass root --ns test --db test
-- optional : this is the default see --ns test --db test start server flags
-- USE NS test DB test;
@Darkle
Darkle / index.html
Created December 3, 2022 11:14 — forked from AngelMunoz/index.html
Implement SSE with F# and Saturn
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
@Darkle
Darkle / winterm-callout.ahk
Last active January 13, 2020 05:32 — forked from wizcas/winterm-callout.ahk
AHK Script for Calling Out Windows Terminal
; The path to the Windows Terminal exe file.
WtPath = "%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe"
^space::ToggleTerminal()
ShowAndPositionTerminal()
{
ScreenX := GetScreenLeft()
ScreenY := GetScreenBottom()
ScreenWidth := GetScreenWidth()
@Darkle
Darkle / DI.m3u
Created October 15, 2017 09:36 — forked from RDCH106/DI.m3u
Digitally Imported premium streams
#EXTM3U
#EXTINF:-1,Digitally Imported - Ambient
http://pub1.diforfree.org:8000/di_ambient_hi
#EXTINF:-1,Digitally Imported - Big Room House
http://pub1.diforfree.org:8000/di_bigroomhouse_hi
#EXTINF:-1,Digitally Imported - Breaks
http://pub1.diforfree.org:8000/di_breaks_hi
@Darkle
Darkle / gist:6390129674561f702a34aa3bfe3387e3
Last active June 9, 2020 08:32
Sublime Text 3 - Useful Shortcuts

My Sublime Text Shortcuts (PC)

Full documentation.

Editing

Ctrl+↑ move line (or selection) up
Ctrl+Shift+L select line (repeat to select next lines)
Ctrl+D select word (repeat select others occurrences in context for multiple editing)
Ctrl+Alt+D Find all instances of word under cursor
@Darkle
Darkle / index.html
Last active December 18, 2015 05:46 — forked from nolanlawson/index.html
PouchDB Quick Search demo
<html>
<head>
<style>
#display{
max-width: 900px;
overflow: scroll;
}
</style>
</head>
<body>