Skip to content

Instantly share code, notes, and snippets.

View VickiLanger's full-sized avatar
🛠️
Building things

Vicki VickiLanger

🛠️
Building things
View GitHub Profile
@VickiLanger
VickiLanger / books_simple_crud.rb
Created May 23, 2022 15:31
Basic crud ops example with book ratings
books = {
"The 57 Bus": 5.0,
"Under The Udala Trees": 4.5,
"Last Night At The Telegaph Club": 5.0,
}
puts "What do you wanna do? type:"
puts "`add` to add a book"
puts "`view` to see all books"
puts "`update` to update a book"
{
"meta": {
"theme": "kendall"
},
"basics": {
"name": "Vicki Langer",
"label": "Python / Ruby Programmer",
"picture": "",
"email": "vicki_langer@hotmail.com",
"phone": "(607) 761-8108",
@VickiLanger
VickiLanger / contact form
Created April 13, 2019 01:00
contact form
<!-- Start Contact Form -->
<section class="contact-form-area">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6">
<div class="section-title text-center">
<h2 class="text-white">Keep in Touch</h2>
<p class="text-white">Most people who work in an office environment, buy computer products, or have a computer at home have had the “fun” experience of dealing </p>
</div>
</div>
@VickiLanger
VickiLanger / 4 step process
Created April 13, 2019 00:46
4 step process w/ icons and arrows
<div class="main-wrapper"> <!-Process for User looking for data-->
<div class="working-process-area">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6">
<div class="section-title text-center">
<h2>So, how does it work?</h2>
<p>What a good question. Here's how it works.</p> <!--this looked just fine with 2 lines of text-->
</div>
@VickiLanger
VickiLanger / "Text and Image Alternating Left and Right Side"
Created April 12, 2019 20:14
"Text and Image Alternating Left and Right Side"
<link href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<style>
.spacer {
height: 100px;
}
@VickiLanger
VickiLanger / embed-open-bugs
Created April 12, 2019 19:21
Embed GitHub open bugs listing
var urlToGetAllOpenBugs = "https://api.github.com/repos/jquery/jquery/issues?state=open&labels=bug";
$(document).ready(function () {
$.getJSON(urlToGetAllOpenBugs, function (allIssues) {
$("div").append("found " + allIssues.length + " issues</br>");
$.each(allIssues, function (i, issue) {
$("div")
.append("<b>" + issue.number + " - " + issue.title + "</b></br>")
.append("created at: " + issue.created_at + "</br>")
.append(issue.body + "</br></br></br>");