Skip to content

Instantly share code, notes, and snippets.

@frozenfoxx
frozenfoxx / LinkWardenExportjson2htmlconverter.py
Created February 1, 2025 22:54 — forked from arnavpraneet/LinkWardenExportjson2htmlconverter.py
A simple convertor in Python to take the backup.json file that is supplied by LinkWarden on clicking export or through the migration API and convert it into the Netscape bookmark HTML format which is supported by most other major bookmarking, read-it-later and link-saving applications (LinkDing, LinkAce, Briefkasten, Pocket, Readwise, Omnivore e…
import json
import logging
from datetime import datetime
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(message)s')
def date_to_timestamp(date_str):
try:
dt = datetime.fromisoformat(date_str.replace('Z', '+00:00'))
return int(dt.timestamp())
@frozenfoxx
frozenfoxx / UnityHttpListener.cs
Created October 5, 2020 22:42 — forked from amimaro/UnityHttpListener.cs
Listen for Http Requests with Unity
using UnityEngine;
using UnityEngine.Networking;
using System;
using System.IO;
using System.Net;
using System.Threading;
public class UnityHttpListener : MonoBehaviour
{
@frozenfoxx
frozenfoxx / github-api.py
Created July 20, 2016 16:57 — forked from tianchaijz/github-api.py
A python script to clone a specified github user's repos, gists.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import time
import json
import logging
import requests
import multiprocessing.dummy
@frozenfoxx
frozenfoxx / Vagrantfile-puppet-ubuntu-multi
Last active October 15, 2019 23:32 — forked from Sharpie/Vagrantfile
A simple Vagrantfile for spinning up a master-agent pair.
Vagrant.require_version ">= 1.5.0"
require 'vagrant-hosts'
require 'vagrant-auto_network'
Vagrant.configure('2') do |config|
config.vm.define :puppetmaster do |node|
# An index of pre-built boxes can be found at:
#
# https://vagrantcloud.com/puppetlabs