IT and beyond

Mount via systemd of a directory on RAM

This configuration will allow to install on a Debian-based system a fast server for client libraries. Key technologies used are: tmpfs to serve files from volatile memory git / mercurial from github / bitbucket to get files from a public or private repository systemd units to mount tmpfs and sync nginx to serve files to …

Continue reading

To delete git files uploaded accidentally to GitHub (or any other public repository) do these steps: Download as suggested by GitHub git clone –mirror GIT_REPOSITORY_URL cd path/to/cloned/repository Download BFG java -jar /path/to/download/dir/bfg-VERSION.jar –delete-files filename.ext Run the command specified by BFG (usually git reflog expire –expire=now –all && git gc –prune=now –aggressive) git push If …

Continue reading