Skip to content

Instantly share code, notes, and snippets.

@Wurzelmann
Wurzelmann / overleaf_no_docker.md
Last active May 16, 2025 09:58
overleaf without docker (Debian 12.6)

Installing Overleaf (Sharelatex) without Docker (2024-07-30)

Tested on Debian 12.6 I started with another guide (https://gist.github.com/gelim/a840a99d15cb765cb7b65105b72f00c4), but quickly realized, I wanted to go another route (no runit for example)

Following this guide, it is possible to deploy Overleaf without Docker, but there are no guarantuees it will work nor is there any support for this method by the great folds of Overleaf. This procedure was tested by me on various machines and I did not find any problems with it, all services are running,

@jinyu121
jinyu121 / NetAuth.py
Last active January 18, 2025 12:14
复旦大学网络自动认证脚本
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import argparse
import requests
import logging
import socket
@marnix
marnix / Remove-File-Eventually.ps1
Created November 20, 2013 15:47
PowerShell command to delete a file, if possible immediately, and if it is in use at the next boot.
param(
[parameter(Mandatory=$true)]
[string] $path
)
# the code below has been used from
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/10/19/weekend-scripter-use-powershell-and-pinvoke-to-remove-stubborn-files.aspx
# with inspiration from
# http://www.leeholmes.com/blog/2009/02/17/moving-and-deleting-really-locked-files-in-powershell/
# and error handling from