Skip to content

Instantly share code, notes, and snippets.

Surfing the open source wave

Dominik Schilling ocean90

Surfing the open source wave
View GitHub Profile
ocean90 / box-shadow.html
Last active Sep 22, 2022
CSS3 Box Shadow, only top/right/bottom/left and all
View box-shadow.html
<!DOCTYPE html>
<title>Box Shadow</title>
.box {
height: 150px;
width: 300px;
margin: 20px;
ocean90 / auto-embeds-disabler.php
Created Sep 27, 2012
WordPress Plugin: Auto-embeds Disabler
View auto-embeds-disabler.php
* Plugin Name: Auto-embeds Disabler
* Version: 0.1
* Description: Disables the auto-embeds function in WordPress 3.5
* Author: Dominik Schilling
* Author URI:
* Plugin URI:
ocean90 / archive.php
Created Sep 15, 2011
WordPress: Check if taxonomy is assigned to a post type
View archive.php
if ( ds_is_taxonomy_assigned_to_post_type( 'schnipsel' ) )
echo '<h3>Schnipsel Archiv</h3>';
echo '<h3>Archiv</h3>';
ocean90 / phpcs.yml
Last active Oct 30, 2021
GitHub Action for running PHP_CodeSniffer on pull requests with annotations
View phpcs.yml
name: PHP_CodeSniffer
on: pull_request
runs-on: ubuntu-latest
- name: Checkout
uses: actions/checkout@v2
View block-supports.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
ocean90 / fbcbfwss.php
Last active Jun 8, 2021
WordPress Plugin: Filename-based cache busting for scripts/styles.
View fbcbfwss.php
* Plugin Name: Filename-based cache busting
* Version: 0.3
* Description: Filename-based cache busting for WordPress scripts/styles.
* Author: Dominik Schilling
* Author URI:
* Plugin URI:
* License: GPLv2 or later
ocean90 / _assh
Last active Dec 11, 2020
zsh completion for assh
View _assh
#compdef assh
# assh autocompletion for oh-my-zsh
# Requires: assh installed
# Author: Dominik Schilling (@ocean90)
# Install:
# Copy the file to ~/.oh-my-zsh/plugins/assh/_assh and add assh to the plugins list in your ~/.zshrc file.
# Resources:
ocean90 / functions.php
Created Sep 15, 2011
WordPress: Change pagination_base
View functions.php
* Setzt die Seitenbasis für die Permalinkgenerierung auf /seite/ (Standard: /page/).
* @author Dominik Schilling
* @license GPLv2
* @link
* @version 0.1
ocean90 / all-in-one.php
Created Jan 8, 2012
Gist to WordPress
View all-in-one.php
* Hook into the backend and load scripts and
* init metabox.
function ds_gist2wordpress_admin() {
add_action( 'wp_ajax_gist', 'ds_gistify' );
add_action( 'admin_print_scripts-post.php', 'ds_gist_js' );
add_action( 'admin_print_scripts-post-new.php', 'ds_gist_js' );
View custom-gallery-setting.js