Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Discover gists

@peter-b
peter-b /PasswordDemo.livecodescript
Last activeJuly 18, 2025 17:28
HMAC-SHA-1 password storage using LiveCode
/* Compute a hash-based message authentication code
using the SHA-1 hash. This is broken; it should correctly
follow RFC 2104. */
private function hmacSha1 pKey, pMessage
return sha1digest(pKey & sha1digest(pKey & pMessage))
end hmacSha1
/* Constant time string comparison algorithm. This
prevents against timing attacks on the hashed password
comparison. */
@aamiaa
aamiaa /CompleteDiscordQuest.md
Last activeJuly 18, 2025 17:28
Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@mitsuhiko
mitsuhiko /README.md
CreatedMay 16, 2025 08:23
This is a vibecoded automator thing that talks a basic JSON protocol to query windows with the accessibility api
@evgenyneu
evgenyneu /setup_cursor_ubuntu.md
Last activeJuly 18, 2025 17:19
Install Cursor AI code editor on Ubuntu 24.04 LTS
  1. Use the Download button onwww.cursor.com web site. It will download theNAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd~/Downloadsmkdir -p~/Applicationsmv NAME.AppImage~/Applications/cursor.AppImage
@zcourts
zcourts /tmux cheat sheet
Last activeJuly 18, 2025 17:18
tmux cheat sheet image from DuckDuckGo UI
https://duckduckgo.com/?q=tmux+cheat+sheet&atb=v47-1_x&ia=cheatsheet&iax=1
@dcts
dcts /workbench.colorCustomizations.json
CreatedApril 14, 2020 16:51— forked fromjacklorusso/workbench.colorCustomizations.json
A list of all Visual Studio Code customizable colors, grouped by UI region. Copy and paste into User Settings (comments are allowed) to tweak an existing theme or work on your own.
"workbench.colorCustomizations": {
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast.
"contrastActiveBorder":"",
"contrastBorder":"",
// Base Colors
"focusBorder":"",
"foreground":"",
"widget.shadow":"",
"selection.background":"",
"descriptionForeground":"",
@grisha765
grisha765 /camera_ntfy.py
CreatedJuly 18, 2025 15:03
A script for automatically sending photos from a camera via FTP, created for cameras that send photos to an FTP server.
#!/usr/bin/env -S uv run --script
# /// script
# dependencies = ["httpx", "pyftpdlib"]
# ///
importos
importmimetypes
importtempfile
importlogging
logging.basicConfig(
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp