Skip to content

Instantly share code, notes, and snippets.

View cheapwebmonkey's full-sized avatar
🏳️‍🌈
she/they. bi. INTJ. literal genius. I break things. #civictech #opendata

Margeaux Spring cheapwebmonkey

🏳️‍🌈
she/they. bi. INTJ. literal genius. I break things. #civictech #opendata
View GitHub Profile
@cheapwebmonkey
cheapwebmonkey / flickity.init.js
Created June 25, 2020 12:53 — forked from dominicgan/flickity.init.js
Initialize flickity
var slider = document.querySelector('#slider');
imagesLoaded(slider, function() {
// load flickity only when images have all loaded
var flkty = new Flickity( slider, {
cellAlign: 'left',
contain: true,
prevNextButtons: false,
pageDots: false,
autoPlay: 2000,
wrapAround: true,
@cheapwebmonkey
cheapwebmonkey / foreach-modal.php
Created June 21, 2020 14:57 — forked from neilgee/foreach-modal.php
Bootstrap ACF Foreach & While Loop of Modals
<?php
$modals = array( 'modal1', 'modal2', 'modal3', 'modal4' );// Set the array
$i = 1; // Set the increment variable
foreach( $modals as $modal ):
?>
<!-- Button to Open the Modal -->
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal-<?php echo $i; // Displaying the increment ?>">

Keybase proof

I hereby claim:

  • I am cheapwebmonkey on github.
  • I am margeaux (https://keybase.io/margeaux) on keybase.
  • I have a public key ASAIm6IDHpwmxle7ndWr3_HXHxtacBptcWGlMFiDEBtbfwo

To claim this, I am signing this object:

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key

Keybase proof

I hereby claim:

  • I am cheapwebmonkey on github.
  • I am margeaux (https://keybase.io/margeaux) on keybase.
  • I have a public key ASDgJxhGRKpvLYj8TDwDUm4P6sX981SWaPKhR-L4jKL1awo

To claim this, I am signing this object:

@cheapwebmonkey
cheapwebmonkey / gist:614ca15ff18babc507155c2bca73b838
Created March 30, 2017 23:40 — forked from joho/gist:3735740
PostgreSQL 9.2 upgrade steps
Steps to install and run PostgreSQL 9.2 using Homebrew (Mac OS X)
(if you aren't using version 9.1.5, change line 6 with the correct version)
1. launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
2. mv /usr/local/var/postgres /usr/local/var/postgres91
3. brew update
4. brew upgrade postgresql
5. initdb /usr/local/var/postgres -E utf8
6. pg_upgrade -b /usr/local/Cellar/postgresql/9.1.5/bin -B /usr/local/Cellar/postgresql/9.2.0/bin -d /usr/local/var/postgres91 -D /usr/local/var/postgres
7. cp /usr/local/Cellar/postgresql/9.2.0/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
@cheapwebmonkey
cheapwebmonkey / gitignore basic
Created December 27, 2016 22:03
gitignore- codekit and mac
# Folder view configuration files
.DS_Store
js/.DS_Store
js/vendor/.DS_Store
Desktop.ini
# Thumbnail cache files
._*
Thumbs.db
@cheapwebmonkey
cheapwebmonkey / LICENSE
Created November 28, 2016 20:45 — forked from donnierayjones/LICENSE
Render Bootstrap as "small" layout when printing
Copyright (C) 2016 Donnie Ray Jones
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
@cheapwebmonkey
cheapwebmonkey / Contract Killer 3.md
Created August 26, 2016 20:48
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post