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 = {
@alexishida
alexishida / configs-nginx-log-goaccess.txt
Created September 6, 2019 16:59
GoAccess NCSA Combined Log Format with Virtual Host NGINX
# NCSA Combined Log Format with Virtual Host
# nginx.conf
# https://goaccess.io/man#interactive-keys
log_format vcombined '$host:$server_port '
'$remote_addr $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"';
@jarbro
jarbro / symantec-vip-access-totp.md
Last active November 27, 2025 10:29
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 July 4, 2025 12:46
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 November 24, 2025 15:45
Настройка Firefox

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

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

LINUX:

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

firefox -P