Skip to content

Instantly share code, notes, and snippets.

View sarahbohr's full-sized avatar

Sarah Bohr sarahbohr

  • Actively looking for employment
  • Denver, Colorado
View GitHub Profile
@sarahbohr
sarahbohr / index.html
Created January 12, 2018 21:43
Navigation Effects
<!-- By Dominik Biedebach @domobch -->
<link href='https://fonts.googleapis.com/css?family=Roboto:500,900,100,300,700,400' rel='stylesheet' type='text/css'>
<section style="background: #3498db; color: #fff;">
<h1>Beautiful navigation hover effects</h1>
<p class="center">Scroll down to see some effects in action</p>
<p class="center"><small>please use a latest webkit browser like Chrome or Opera. Thank you.</small></p>
</section>
<section style="background: #e74c3c; color: #fff;">
<h2>Underline Stroke</h2>
@sarahbohr
sarahbohr / index.html
Created January 12, 2018 22:28
Velocity.js fullscreen flexbox overlay navigation
<section class="home">
<div class="open-overlay">
<span class="bar-top"></span>
<span class="bar-middle"></span>
<span class="bar-bottom"></span>
</div>
</section>
<div class="overlay-navigation">
<nav role="navigation">
@sarahbohr
sarahbohr / header-resize-on-scroll-simple-page-layout.markdown
Created January 16, 2018 23:03
Header Resize on Scroll Simple Page Layout
@sarahbohr
sarahbohr / index.html
Last active February 19, 2018 00:54
Shrinking Header
<head>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<header>
<h1>Lets shrink ;)</h1>
</header>
@sarahbohr
sarahbohr / git-deploy-to-sftp-guide.md
Last active January 31, 2023 16:01 — forked from jasenmichael/git-deploy-to-sftp-guide.md
use git to deploy via sftp

use git to deploy via sftp

this method can be used to push your project to a service like GoDaddy, HostGator, or BlueHost that is running git.

  • create a remote repository on your server

    • ssh into the server

    • cd into the directory

@sarahbohr
sarahbohr / aws-public-policy
Last active March 21, 2018 19:20
AWS Public Bucket Policy Code
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YOUR_SITEURL_HERE/*"
}
from flask import Flask
from flask_restful import Api, Resource, reqparse
app = Flask(__name__)
api = Api(app)
users = [
{
"name": "Nicholas",
"age": 42,
@sarahbohr
sarahbohr / linebreak.md
Last active April 30, 2018 20:48
Line breaks in markdown
Hello\
World

Hello
World


@sarahbohr
sarahbohr / aws-cli-deploy
Created May 4, 2018 17:42
Deploy a static site on AWS with awscli
brew install python
brew install pip
sudo pip install awscli
aws configure
AWS Access Key ID [None]: XXXXXXXXXXXXX
AWS Secret Access Key [None]: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
Default region name [None]:
Default output format [None]:
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master