Skip to content

Instantly share code, notes, and snippets.

View igolden's full-sized avatar
🎯
Focusing

Ian Golden igolden

🎯
Focusing
View GitHub Profile
autoload -U zgitinit
zgitinit
prompt_grb_help () {
cat <<'EOF'
prompt grb
EOF
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
#
# @igolden 2021
AT_SYMBOL="@"
IN_SYMBOL=""
ON_SYMBOL=""
SYMBOL="$"
USER_COLOR="%F{178}"
DEVICE_COLOR="%F{039}"
DIR_COLOR="%F{220}"
BRANCH_COLOR="%F{001}"
{
"name": "",
"version": "",
"description": "",
"main": [
""
],
"dependencies": {
""
},
title:
desc:
keywords:
assets:
dirname: assets
baseurl: /assets/
sources:
- _assets/javascripts
{
"name": "blue-leaf",
"version": "1.2.3",
"description": "Physics-like animations for pretty particles",
"main": [
"js/motion.js",
"sass/motion.scss"
],
"dependencies": {
"get-size": "~1.2.2",
{
"name": "scoot-cli",
"version": "0.0.0",
"homepage": "https://github.com/igolden/scoot-cli",
"authors": [
"Ian Golden <ian@iangolden.com>"
],
"license": "MIT",
"ignore": [
"**/.*",
{
"name": "scoot-cli",
"version": "0.0.0",
"homepage": "https://github.com/igolden/scoot-cli",
"authors": [
"Ian Golden <ian@iangolden.com>"
],
"license": "MIT",
"ignore": [
"**/.*",
/** @jsx React.DOM */
var SVGComponent = React.createClass({
render: function() {
return this.transferPropsTo(
<svg>{this.props.children}</svg>
);
}
});
<!-- smooth scroll -->
<script>
$(function() {
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({