Skip to content

Instantly share code, notes, and snippets.

View wassim's full-sized avatar
🔥
Busy building products

Wassim wassim

🔥
Busy building products
View GitHub Profile
@egstad
egstad / wp-rss-hooks.md
Last active July 1, 2017 08:30
Wordpress RSS Hooks

rss2_ns - allows to add new namespaces inside the root XML element;

rss2_head - allows to add to add tags in the feed header;

the_content_feed - allows to modify the content of each Post displayed in the Feed;

rss2_item - allows to add new sub-elements to each (Post) element;

@johnbillion
johnbillion / gist:4fa3c4228a8bb53cc71d
Last active February 18, 2025 13:06
WordPress Flow
INITIALISATION
==============
load wp-config.php
set up default constants
load wp-content/advanced-cache.php if it exists
load wp-content/db.php if it exists
connect to mysql, select db
load object cache (object-cache.php if it exists, or wp-include/cache.php if not)
load wp-content/sunrise.php if it exists (multisite only)
@matthewmueller
matthewmueller / osx-for-hackers.sh
Last active February 20, 2025 09:37
OSX for Hackers (Mavericks/Yosemite)
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #