Skip to content

Instantly share code, notes, and snippets.

View fhunter's full-sized avatar

Nikolaj Zamotaev fhunter

View GitHub Profile
@mikeemoo
mikeemoo / hatching.py
Created January 11, 2025 20:04
line hatching -> svg & gcode
import cv2
import numpy as np
import cairo
import time
import serial # Import serial first
import serial.tools.list_ports # Then import list_ports
from tqdm import tqdm
import matplotlib.pyplot as plt # Add this import at the top
pens = {
@NuclearLighthouseStudios
NuclearLighthouseStudios / plate.scad
Created October 18, 2021 15:36
3D Printed Printing Plate Generator Script
file = "card-front.svg";
width = 54.68620;
height = 85.29320;
feature_height = 1.4;
plate_thickness = 0.6;
union()
{
minkowski()
@jarbro
jarbro / symantec-vip-access-totp.md
Last active April 2, 2025 07:13
Generate Symantec VIP Access Token as TOTP

Generate Symantec VIP Access Token as OTP

Recently I came across a web service that required two-factor authentication using the Symantec VIP Access App. I already manage all of my OTP tokens in a different app (If you are on iOS I highly recommend using OTP Auth by Roland Moers.) and did not want to have to use yet another app to generate the TOTP.

There is a way to generate a Symantec VIP Access compatible token very easily if you have access to an environment which can run Python PIP. I happen to have Ubuntu Windows Subsystem Linux running on my machine. (If you are running Windows 10 and don't have this you should really check it out.) Let's get started...

hello

Instructions

Here we install python3-pip and qrencode so we can generate our secret, I

@jimfoltz
jimfoltz / tw5-server.rb
Last active February 15, 2025 17:03
A local server for TiddlyWiki5 that allows saving wiki.
require 'webrick'
require 'fileutils'
BIND_ADDRESS = "127.0.0.1"
PORT = 8080
BACKUP_DIR = 'bak'
if ARGV.length != 0
root = ARGV.first.gsub('\\', '/')
@Guest007
Guest007 / set_ff.md
Last active March 5, 2025 06:14
Настройка Firefox

I. СОЗДАНИЕ НОВОГО ПРОФИЛЯ

Используйте менеджер профилей, чтобы создать новый профиль Firefox.

LINUX:

В терминале (консоли) Linux исполните команду от обычного пользователя:

firefox -P