Skip to content

Instantly share code, notes, and snippets.

View hofmannsven's full-sized avatar
🦖
Beast Mode

Sven hofmannsven

🦖
Beast Mode
View GitHub Profile
@hofmannsven
hofmannsven / README.md
Last active December 20, 2022 21:14
Show/Hide hidden system files on macOS
@hofmannsven
hofmannsven / README.md
Last active June 6, 2023 18:01
Add WordPress admin menu pages with another Dashicon. (Note: This will require at least WordPress 3.8)
@hofmannsven
hofmannsven / README.md
Last active April 3, 2018 23:51
Using a dynamic admin body class within WordPress to distinguish between light or dark admin interface.
@hofmannsven
hofmannsven / README.md
Last active April 1, 2025 06:51
Git CLI Cheatsheet
@hofmannsven
hofmannsven / README.md
Last active October 22, 2023 12:32
This is my global Git/Bash userprofile. All files are named with a dot at the beginning (e.g. ~/.bash_profile, ~/.git-completion.bash, ~/.git-prompt.sh, ~/.gitconfig, ~/.gitignore_global)
@hofmannsven
hofmannsven / README.md
Last active December 23, 2015 02:48
Hide elements only if the user has JavaScript enabled (e.g. great for a JavaScript animation)

Progressive Enhancement

Hide elementes only if JavaScript is enabled.

@hofmannsven
hofmannsven / README.md
Last active October 30, 2022 16:31
Virtual Hosts with MAMP on OS X

Virtual Hosts

Update the hosts file in /etc/hosts to maintain multiple domains/hostnames on a local machine for 127.0.0.1 and setup a VirtualHost container in /Applications/MAMP/conf/apache/extra/httpd-vhost.conf via /Applications/MAMP/conf/apache/httpd.conf for a name-based virtual host.

Only suitable for MAMP users under OS X Lion, OS X Mountain Lion, and OS X Mavericks on Apache-Port 80 and MySQL-Port 3306.

@hofmannsven
hofmannsven / README.md
Last active May 15, 2019 06:41
How to create a Post Like System for WordPress.
@hofmannsven
hofmannsven / README.md
Last active November 18, 2020 12:11
How to create SVGs with layers for the web.
@hofmannsven
hofmannsven / README.md
Last active June 25, 2024 11:53
Bookmarklets for Mobile Safari: Debugging within iOS devices (iPad, iPhone and iPod Touch).