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() ?>
@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
<iframe style="pointer-events:none;" src=""></iframe>
EXAMPLE Google Maps iFrame:
-----------------------------
<iframe style="pointer-events:none; border:0;" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3540.087495492481!2d153.02746689999998!3d-27.466535299999965!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6b915a1d2f662eb3%3A0x4f3c5ce2c1aafa48!2sAdelaide+St%2C+Brisbane+QLD+4000!5e0!3m2!1sen!2sau!4v1412077371383" width="600" height="300" frameborder="0"</iframe>