Skip to content

Instantly share code, notes, and snippets.

View julianre's full-sized avatar

Julian julianre

  • University of Duisburg-Essen
  • Germany
View GitHub Profile
@julianre
julianre / bib-titlecase.py
Created December 3, 2023 11:10 — forked from garrettdashnelson/bib-titlecase.py
Convert titles in bibtex citation library to title case
# Original by Daniel L. Greenwald
# http://dlgreenwald.weebly.com/blog/capitalizing-titles-in-bibtex
# Modified by Garrett Dash Nelson
import re
from titlecase import titlecase
# Input and output files
my_file = 'library.bibtex'
new_file = 'library-capitalized.bibtex' # in case you don't want to overwrite
@julianre
julianre / RemovePublicShare.sh
Created March 26, 2023 08:55 — forked from codedecay/RemovePublicShare.sh
A Walkthrough explaining the process to remove the Public share from a WD MyCloud Device.
#!/bin/sh
echo "Backing up files"
#Backup Files
cp /etc/wdcomp.d/boot/bootscript_005_wd-nas /root/bootscript_005_wd-nas.bkup
cp /usr/local/sbin/createDataVolume.sh /root/createDataVolume.bkup
cp /etc/samba/overall_share /root/overall_share.bkup
echo "Processing Files"
#Comment out relevant lines in the boot and create script.