Skip to content

Instantly share code, notes, and snippets.

View PuddingNL's full-sized avatar

Jeroen Bijl PuddingNL

View GitHub Profile
@PuddingNL
PuddingNL / hosts
Created June 4, 2018 10:56
Hosts File to Block Facebook from my Machine
127.0.0.1 api.ak.facebook.com
127.0.0.1 api.connect.facebook.com
127.0.0.1 api.facebook.com
127.0.0.1 app.facebook.com
127.0.0.1 apps.facebook.com
127.0.0.1 ar-ar.facebook.com
127.0.0.1 badge.facebook.com
127.0.0.1 blog.facebook.com
127.0.0.1 connect.facebook.com
127.0.0.1 connect.facebook.net
@PuddingNL
PuddingNL / default_html5
Created November 15, 2012 14:52 — forked from AvanKempen/default_html5
[HTML] HTML5 Starter Template
<!DOCTYPE html>
<html lang=en>
<head>
<title></title>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!--[if IE]>
<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen, projection" />
@PuddingNL
PuddingNL / hack.sh
Last active April 21, 2022 14:19 — forked from erikh/hack.sh
MAC: Terminal hacks
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@PuddingNL
PuddingNL / addWidget.php
Last active April 21, 2022 14:19 — forked from tiffyzsmile/addWidget.php
WordPress: Snippets
How to add a widget area to your theme.
<div id="sidebar">
<ul>
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar()) : ?>
<li><!-- stuff shown here in case no widgets active --></li>
<?php endif; ?>
</ul>
</div>