Skip to content

Instantly share code, notes, and snippets.

View in03's full-sized avatar
💭
Working on new projects!✨

Caleb Trevatt in03

💭
Working on new projects!✨
View GitHub Profile
@mattdy
mattdy / .traefik-cloudflare-tunnel
Last active May 9, 2024 12:11
Traefik on Docker Swarm accessed via Cloudflare Tunnel
Please see https://mattdyson.org/blog/2024/02/using-traefik-with-cloudflare-tunnels for a detailed write-up of this configuration
@orhun
orhun / docker-compose.yml
Last active May 10, 2024 06:20
Set up `softserve` to mirror repositories from GitHub
version: "3.6"
services:
soft-serve:
image: charmcli/soft-serve:latest
container_name: soft-serve
restart: unless-stopped
ports:
- 23231:23231
- 23232:23232
- 23233:23233
@vrtmrz
vrtmrz / deploy_couchdb_to_flyio_v2_with_swap.ipynb
Last active February 7, 2024 10:19
deploy_couchdb_to_flyio_v2_with_swap.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@serjflint
serjflint / trio_lru_cache.py
Created July 31, 2020 18:00
This gist is 100% port of Python built-in function functools.lru_cache for trio
import threading
import weakref
from collections import namedtuple
from functools import update_wrapper
import trio
# Idea of using weakref, trio.Lock and thread-local storage is given by Nathaniel J. Smith <njs@pobox.com>
@kuntalchandra
kuntalchandra / client.py
Last active March 11, 2021 12:21
Python socket programming: server-client design.
import socket
import sys
def main():
soc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
host = "127.0.0.1"
port = 8888
try:
soc.connect((host, port))
@akaleeroy
akaleeroy / Currently-Opened-Folders.md
Last active April 2, 2024 03:55
Easy Access to Currently Opened Folders

Easy Access to Currently Opened Folders

Windows Enhancement Productivity

Enhance Open... or Save As... dialogs with a quick way to navigate to currently opened folders.

Easy Access to Currently Opened Folders - Demo

This is an AutoHotkey script that gives common file selection dialogs an extra feature: middle-clicking invokes a menu of currently opened folders. Say you want to save or upload something to/from a folder you've got open in Windows Explorer. The dialog box pops up with the last folder (from another project) or My Documents, and now you have to manually navigate to the folder you want, or copy-paste its path from the open Explorer window. I wanted to get to the active locations quicker. Recent Items wasn't exactly helping, so I made this by forking FavoriteFolders.ahk by Savage. Tested

@btgoodwin
btgoodwin / fcpxml_parse
Last active October 21, 2022 17:26
Final Cut Pro X FCPXML Parser
#!/usr/bin/python
'''
Author: Thomas Goodwin
Company: Geon Technologies, LLC, 2014
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
@jamespenguin
jamespenguin / speaker_beep.py
Created August 31, 2011 21:19
Speaker beeping fun in Python.
#!/usr/bin/env python
#
# Internal Speaker Beeping Module for Windows
#
import time
import winsound
###
# Notes Config
###