Skip to content

Instantly share code, notes, and snippets.

@Thlb
Thlb / export-vba-components.bas.vb
Last active July 15, 2026 13:51
Extract all vba modules and save to external file
' Export all vba components in external files in order to be able to git them
'
' How does it work :
' 1 - Export all vba components in temporary folder (pathTmp)
' 2 - Compare each files exported in temporary folder (pathTmp) with the files exported previously (path)
' -> if file in pathTemp = path --> no modification in the module since last export --> no action
' -> if file in pathTemp != path --> module modified --> old version of module in "path" is replaced by new version of "pathTmp"
'
#!/bin/bash
################################
# OS X Install ISO Creater #
# #
# Author: shela #
################################
#######################################
# Declarations
@Thlb
Thlb / create-iso.sh
Created November 28, 2016 08:42 — forked from julianxhokaxhiu/create-iso.sh
Simple bash script to create a Bootable ISO from macOS Sierra Install Image from Mac App Store
#!/bin/bash
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
# Enjoy!
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
@Thlb
Thlb / teamspeak3
Created November 2, 2016 11:30
Teamspeak 3 Deamon
#!/bin/bash
### BEGIN INIT INFO
# Provides: teamspeak3
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop/Restart Teamspeak 3 server
# Description:
### END INIT INFO