Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Zachary Minner 1forh

Block or report user

Report or block 1forh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View environment.prod.json
{
"production": true,
"daysBeforeToday": 3,
"apiBase": "",
"rackspace": {
"defaultMarkupFactor": 1.08
},
"freshBooks": {
"token": "",
"url": ""
@1forh
1forh / agent.json
Last active Nov 5, 2018
New fields for open house data
View agent.json
{
"company_information": {},
"custom_logo": null,
"email": "namratab@rmdfw.com",
"name": "NAMRATA BHATT",
"open_houses": [
{
"address": "4635 Copper Ridge Drive",
"bathrooms": "3",
"bathrooms_full": "0",
@1forh
1forh / instructions.md
Last active Jun 1, 2018
Autocomplete Git commands in terminal
View instructions.md
  1. Run in intermal: curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
  2. Run in terminal: code ~/.bash_profile
  3. Add to .bash_profile:
if [ -f ~/.git-completion.bash ]; then
  . ~/.git-completion.bash
fi
@1forh
1forh / structure.md
Last active Sep 16, 2017
Angular Application - Example Folder structure
View structure.md
app
  dashboard
    components
      dashboard-tile
        dashboard-tile.component.ts
    containers (views)
      dashboard
        dashboard.component.ts
    models
@1forh
1forh / map.css
Last active May 24, 2018
Counties on Google Map
View map.css
.map-wrapper {
width: 100%;
height: 400px;
}
View marietta-college-fb-tracking.html
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '838997806201490');
fbq('track', "PageView");
@1forh
1forh / gist:02d8572861bf80c98db601a1e8cc61bc
Created May 3, 2016 — forked from learncodeacademy/gist:5850f394342a5bfdbfa4
SSH Basics - Getting started with Linux Server Administration
View gist:02d8572861bf80c98db601a1e8cc61bc

###SSH into a remote machine###

ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1

exit: exit ###Install Something###

#If it's a new server, update apt-get first thing
@1forh
1forh / wtfisgoingon.css
Last active Mar 29, 2016
come on man...
View wtfisgoingon.css
* { cursor: progress !important; pointer-events: none !important; }
*::selection { background: none !important; }
@1forh
1forh / active-class.html
Created Mar 17, 2016
Move active class on menu item with Panini helper #ifpage
View active-class.html
<nav>
<ul>
<li {{#ifpage 'index'}}class="active"{{/ifpage}}><a href="index.html">Home</a></li>
<li {{#ifpage 'services'}}class="active"{{/ifpage}}><a href="services.html">Services</a></li>
<li {{#ifpage 'about-us'}}class="active"{{/ifpage}}><a href="about-us.html">About Us</a></li>
<li {{#ifpage 'contact-us'}}class="active"{{/ifpage}}><a href="contact-us.html">Contact Us</a></li>
</ul>
</nav>
@1forh
1forh / .editorconfig
Last active Jun 23, 2016
Standard .editorconfig file
View .editorconfig
# editorconfig.org
root = true
[*]
indent_style = tabs
indent_size = 1
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
You can’t perform that action at this time.