Skip to content

Instantly share code, notes, and snippets.

@jaybobo
jaybobo / issue_response.csv
Last active April 30, 2023 22:21
github issue json response
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 3.
[
{
"id": 1,
"node_id": "MDU6SXNzdWUx",
"url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
"repository_url": "https://api.github.com/repos/octocat/Hello-World",
"labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}",
"comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
"events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events",
"html_url": "https://github.com/octocat/Hello-World/issues/1347",

API workthough

  1. Open a browser

    # start an instance of firefox with selenium-webdriver
    driver = Selenium::WebDriver.for :firefox
    # :chrome -> chrome
    # :ie     -> iexplore
    
@jaybobo
jaybobo / kibana-querying.md
Last active March 2, 2022 15:51
Using Kibana (Lucene query string syntax)

#Kibana gh The lucene query type uses LUCENE query string syntax to find matching documents or events within Elasticsearch.

Examples
status field contains active
status:active

title field contains quick or brown
title:(quick brown)

Cheat Sheet: Simple Authentication in Rails 5 with has_secure_password

The goal of this cheatsheet is to make it easy to add hand-rolled authentication to any rails app in a series of layers.

First the simplest/core layers, then optional layers depending on which features/functionality you want.

Specs
AUTHOR Ira Herman
LANGUAGE/STACK Ruby on Rails Version 4 or 5
@jaybobo
jaybobo / owasp-challenge.md
Last active November 9, 2019 16:41
Pair Columbus: Return of the H@ck0rz

Return of the H@ck0rz

The goal today is to learn more about the web and web application security.

  • Search for clues. Use the OWASP Top 10 guide to identify what to look for.
  • Try everything!
  • Having a hard time? Take a look at the Hints & Solutions link below.
  • Do NOT dump any tables please!
  • Please reset any changed administrators personal passwords back so others may still continue.

App

@jaybobo
jaybobo / learningvue.md
Last active July 13, 2019 04:34
learning vue.js

Wifi

  • CoverMyMeds-Guest
  • pass: askjay

Beginner: Work on one of these drills

We have a number of Nodeschool.io workshopppers at our disposal:

Intermediate: Build This

We're going to build a client-side only todo app like the following:

@jaybobo
jaybobo / maps.md
Last active April 13, 2019 15:50
Learn how to use Google Maps
@jaybobo
jaybobo / open-source-2018.md
Last active April 14, 2018 15:09
April 14th: Open Source Challenges
@jaybobo
jaybobo / curriculum.md
Last active February 3, 2018 03:08
SQL & Databases 101

Here's the curriculum for the course. It's a good idea to bring a laptop to our biweekly sessions.

SQL & Databases Curriculum

  1. SQL basics
  2. Getting Help
  3. Using documentation
  4. Create a github.com account
    • Learn to use git
    • Put your files on your github page
  5. Connecting to databases & using SQLite