Skip to content

Instantly share code, notes, and snippets.

View jkonowitch's full-sized avatar

Jeffrey Konowitch jkonowitch

View GitHub Profile
@jkonowitch
jkonowitch / urlgrep
Created March 11, 2024 17:05 — forked from zmwangx/urlgrep
Python script to extract URLs from HTML documents.
#!/usr/bin/env python3
"""Extract URLs from HTML documents."""
import argparse
import re
import sys
import urllib.parse
import bs4
$ ubuntu-bug zsys
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Jul 23 12:55:43 2020
Dependencies:
 adduser 3.118ubuntu2
echo ""
echo "If you haven't already, please sign up for a github account"
#read to capture user input, saved as a variable as the third argument here
read -p "First Name: " fname
read -p "Last Name: " lname
read -p "Github Username (CASE SENSITIVE AND DON'T CHANGE THIS LATER): " github_name
read -p "Github Email: " github_email
read -s -p "Github Password: " github_password
{
"NY" : {
"nickname": "The Empire State",
"motto": "Excelsior",
"capital": "Albany"
},
"CA" : {
"nickname": "The Golden State",
"motto": "Eureka",
"capital": "Sacramento"
{
"nickname": "The Empire State",
"motto": "Excelsior",
"capital": "Albany"
}
@jkonowitch
jkonowitch / pokemon.json
Last active August 29, 2015 14:10 — forked from shri/pokemon.json
[
{
"name":"Bulbasaur",
"attack":49,
"defense":49,
"type":"grass",
"moves":[
"tackle",
"vine whip"
],
ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'
#################################### spec/models/episode_spec.rb
require 'spec_helper'
# here is the original description idea before refactoring;
# it works, but can be done in a somewhat cleaner and more Rails-y way below
#
# describe "the show begins" do
#
# context "the episode starts" do # FYI, context _is_an_alias_ for describe! they work the same!
  1. After you've signed up for a GitHub account please follow the instructions in this article to get your ssh-keys setup: https://help.github.com/articles/generating-ssh-keys

  2. Make sure you've got ~/dev and ~/dev/wdi folders set up. (Use mkdir in the terminal to do this!)

  3. cd into your ~/dev/wdi folder and run:

  • git clone https://github.com/ga-students/WDI_NYC_Array
  1. Go to the GAInstallFest app repository and follow the instructions to get setup. (I will send the API keys you need in the email)

  2. We have 1:1s starting this week. See the schedule

@jkonowitch
jkonowitch / gist:6664557
Created September 22, 2013 22:41
sublime-prefs
{
"color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",
"font_face": "Inconsolata",
"font_size": 18.0,
"tab_size": 2,
"translate_tabs_to_spaces": true
}