Skip to content

Instantly share code, notes, and snippets.

View edheltzel's full-sized avatar
🇺🇸
Just your average run-of-the-mill kinda guy

Mr edheltzel

🇺🇸
Just your average run-of-the-mill kinda guy
View GitHub Profile
@edheltzel
edheltzel / custom-css-reset.css
Created December 4, 2021 11:00
joshwcomeau.com CSS reset
/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
box-sizing: border-box;
}
* {
margin: 0;
}
@edheltzel
edheltzel / untrack_files_already_added_to_git.md
Last active October 31, 2019 23:36
Untrack files already added to git repo

Step 1 - Commit all changes

Make sure all changes are commited including the .gitignore

Step 2 - Remove everything from the repo

To clear the repo, use: git rm -r --cached .

  • rm is the remove command
  • -r will allow recursive removal
@edheltzel
edheltzel / style.css
Created May 16, 2018 15:19
Position footer of a page at the bottom of a page regardless of height of content. credit CSSTricks https://css-tricks.com/snippets/css/fixed-footer/
#footer {
position:fixed;
left:0px;
bottom:0px;
height:30px;
width:100%;
background:#999;
}
/* IE 6 */
"postcssSorting.config": {
"order": [
"custom-properties",
"dollar-variables",
"at-rules",
"declarations",
{
"type": "at-rule",
"name": "media"
},
@edheltzel
edheltzel / slacktheme.md
Last active March 24, 2017 13:48
Seti UX color scheme for Slack

#0d1011,#182531,#182531,#8367c8,#1c1f26,#63828a,#03FA69,#FC4349

Slack Settings

@edheltzel
edheltzel / class-edit-entry-render.php
Created March 8, 2017 13:51
LDHT GravityView permissions - includes/extension/edit-entry/class-edit-entry-render.php
<?php
/**
* GravityView Edit Entry - render frontend
*
* @package GravityView
* @license GPL2+
* @author Katz Web Services, Inc.
* @link http://gravityview.co
* @copyright Copyright 2014, Katz Web Services, Inc.
*/
gem install jekyll
Successfully installed jekyll-3.4.0
1 gem installed
Sites/epluno
❯ npm run gulp serve
> epluno@1.0.0 gulp /Users/ed/Sites/epluno
> gulp "serve"
@edheltzel
edheltzel / cloudSettings
Last active September 3, 2020 01:08
Visual Studio Code Sync Settings GIST
{"lastUpload":"2020-09-03T01:08:39.942Z","extensionVersion":"v3.4.3"}
@edheltzel
edheltzel / .htaccess
Created December 26, 2016 23:12
default .htaccess for WordPress - using this for something different.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
@edheltzel
edheltzel / osx-for-hackers.sh
Created October 26, 2016 12:23 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx