Skip to content

Instantly share code, notes, and snippets.

View redrambles's full-sized avatar
:octocat:
Tinkering

Ann Cascarano redrambles

:octocat:
Tinkering
View GitHub Profile
@redrambles
redrambles / quotes.js
Last active May 24, 2023 15:58
Quotes for the Quotivation App
[
{
"id": 1,
"author": "Maya Angelou",
"text": "I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made them feel.",
"categories": ["Empathy"]
},
{
"id": 2,
"author": "Sheryl Sandberg",
ability
able
about
above
accept
according
account
across
action
activity
[
{
"name": "Rui",
"registered": "no"
},
{
"name": "Jonathan",
"registered": "yes"
},
{
@redrambles
redrambles / search.php
Created May 30, 2019 23:56
Generic Search results template for Skillcrushstarter Theme (103)
<?php
/**
* The template for displaying search results
*
* @package WordPress
* @subpackage Skillcrush_Starter
* @since Skillcrush Starter 2.0
*/
get_header(); ?>
<nav id="navigation" class="container">
<div class="left"><?php next_posts_link('&larr; <span>Older Posts</span>'); ?></div>
<div class="pagination">
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
echo 'Page '.$paged.' of '.$wp_query->max_num_pages;
?>
</div>
<div class="right"><?php previous_posts_link('<span>Newer Posts</span> &rarr;'); ?></div>
</nav>
@redrambles
redrambles / django_deploy.md
Created March 22, 2019 02:09 — forked from bradtraversy/django_deploy.md
Django Deployment - Digital Ocean

Django Deployment to Ubuntu 18.04

In this guide I will go through all the steps to create a VPS, secure it and deploy a Django application. This is a summarized document from this digital ocean doc

Any commands with "$" at the beginning run on your local machine and any "#" run when logged into the server

Create A Digital Ocean Droplet

Use this link and get $10 free. Just select the $5 plan unless this a production app.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<title>JS Bin</title>
</head>
<body>
<button id="lolcatButton">Show me the LOLCat!</button>

Keybase proof

I hereby claim:

  • I am redrambles on github.
  • I am redrambles (https://keybase.io/redrambles) on keybase.
  • I have a public key ASCcG3yht1nxfE4AxaaOcXBmu9NVGkj19f_isUL878JJXgo

To claim this, I am signing this object:

@redrambles
redrambles / index.html
Last active August 25, 2017 00:28
JS BinRandom Background Color Changer// source https://jsbin.com/dacuyoc
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Random Background Color Changer">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body id="body">
@redrambles
redrambles / functions.php
Created May 6, 2017 20:24
Add title description
function skillcrushstarter_setup() {
// Post thumbnails support
add_theme_support('post-thumbnails');
// Register Menus
register_nav_menus ( array (
'primary-menu' => __( 'Primary Menu', 'skillcrushstarter' ),
'secondary' => __( 'Secondary Menu', 'skillcrushstarter' ),
) );