Skip to content

Instantly share code, notes, and snippets.

View astrit's full-sized avatar
:octocat:
cascading style sheets

astrit astrit

:octocat:
cascading style sheets
View GitHub Profile
@astrit
astrit / color-mix-theming-card.markdown
Created May 12, 2023 02:24
color-mix theming card
@astrit
astrit / setupOSX.sh
Created September 27, 2022 23:21 — forked from peterramsing/setupOSX.sh
This is a bash script to setup Mac OS X defaults on a new mac.
#!/bin/bash
#
# Set up OSX preferences
#
# Inspired by: https://github.com/mathiasbynens/dotfiles/blob/master/.osx
###########################################
# CONFIG
HOSTNAME="machiavellia"
TIMEZONE="America/Chicago" # 'systemsetup -listtimezones'
@astrit
astrit / aws.md
Created October 26, 2020 13:53 — forked from ajmalafif/aws.md
[aws] - AWS Powered WordPress (Bedrock)
@astrit
astrit / breadcrumbs.php
Created September 23, 2018 04:25 — forked from arlando/breadcrumbs.php
breadcrumbs in php
<?php
/**
* [$baseurl description]
* holds the url for site...
* @var string
*/
$baseurl = "http://.../"
/**
@astrit
astrit / Stylefile.yml
Created August 3, 2018 08:53
Customizations for sites.google.com via StyleURL.
---
version: 1.0
domains:
- sites.google.com
url_patterns:
- sites.google.com/*
timestamp: '2018-08-03T08:53:17Z'
id: _ebC
redirect_url: https://sites.google.com/mikgroup.ch/buchhaltung/2-details/2-2-bank-details
shared_via: StyleURL - (https://www.styleurl.app) import and export CSS changes from
@astrit
astrit / Gistson.php
Created July 27, 2018 23:02 — forked from phatduckk/Gistson.php
Embed a Gist in Wordpress
<?php
/*
Plugin Name: Gistson - Embedded Gist WP Plugin
Plugin URI: http://arin.me/blog/tag/gistson
Description: Use a shortcode [gist id="12345"] to embed A Gist from http://gist.github.com into your blog
Version: 0.1
Author: Arin Sarkissian
Author URI: http://arin.me
Copyright 2009 Arin Sarkissian
<? gist() ?>
<?php
function themename_customize_register($wp_customize){
$wp_customize->add_section('themename_color_scheme', array(
'title' => __('Color Scheme', 'themename'),
'priority' => 120,
));
// =============================
@astrit
astrit / 0_reuse_code.js
Last active August 29, 2015 14:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console