Skip to content

Instantly share code, notes, and snippets.

View jbfink's full-sized avatar
💭
we have statuses now? is this AOL?

John Fink jbfink

💭
we have statuses now? is this AOL?
View GitHub Profile
@sloanlance
sloanlance / jq_jsonl_conversion.md
Last active May 3, 2024 10:26
jq: JSONL ↔︎ JSON conversion

jq: JSONL ↔︎ JSON conversion

Prerequisites

  • jqhttps://jqlang.github.io/jq/ — "like sed for JSON data"

    There are several options available for installing jq. I prefer to use Homebrew: brew install jq

  1. JSONL → JSON

@mreidsma
mreidsma / 1.Sabbatical_Proposal.markdown
Last active March 11, 2018 00:44
Stablizers of Trust: A critical study of the algorithms behind library discovery systems (2018 Sabbatical Proposal)

Sabbatical Leave Request

You must address the following criteria in your Sabbatical Leave Request. Type on this form, save as a PDF document, and upload in the electronic sabbatical leave request system under the proposal section. The proposal shall not exceed ten (10) pages, excluding references and other supporting documents.

1. Descriptive Title for the Project

Stabilizers of Trust: A critical study of the algorithms behind library discovery systems

2. Goals and Objectives

@shawngraham
shawngraham / neuraltalk.md
Last active August 26, 2016 00:28
notes on running neuraltalk

what I'm aiming for

  • got several thousand pics scraped from instagram, using variation of 'bone' for keyword. Which is fine, as far as it goes, but the language of the tags and the content of the images is not 1:1; lots of cruft. Also, interesting to see how language of the tags differs from the content of the images. Want to automatically caption the images so I can search 'em more effectively, also, explore the disconnect.

what i needed

  • updated docker on my machine
  • run docker quickstart terminal to spin up a vm
  • docker pull beevaenriqueotero/docker-neuraltalk2
  • docker run -i -t beevaenriqueotero/docker-neuraltalk2 /bin/bash puts me into the container. This is dockerized version of https://github.com/karpathy/neuraltalk2. There are other dockerized versions, but that's the one I got to work.

getting it up and running

@Michael0x2a
Michael0x2a / minimal-template.tex
Last active March 14, 2024 06:32
Minimal LaTeX template
\documentclass{article}
% General document formatting
\usepackage[margin=0.7in]{geometry}
\usepackage[parfill]{parskip}
\usepackage[utf8]{inputenc}
% Related to math
\usepackage{amsmath,amssymb,amsfonts,amsthm}
\begin{document}
@mreidsma
mreidsma / algorithmicbias.md
Last active June 1, 2016 16:01
Draft blog post on potential gender biases in algorithms used by commercial library search tools

Algorithmic Gender Bias in Discovery Systems

This is a working draft of a possible future blog post

At GVSU, we used the Summon discovery service to provide search across most of our resources. One of Summon 2.0's features is the "Topic Explorer," a sidebar that provides general reference information when a search is done. The Topic Explorer shows short excerpts from Reference Sources, including Wikipedia, when a search meets certain criteria. From the Summon Press Release announcing Summon 2.0 in 2013:

Developed by analyzing global Summon usage data and leveraging commercial and open access reference content, as well as librarian expertise, this new feature helps users get started (presearch) with the research process and allows librarians to help users when and where they need it most.

The Topic Explorer returns different reference articles about the superhero "batman," for instance, depend

@jcoreyes
jcoreyes / readme.md
Last active January 21, 2018 10:41
Image Captioning LSTM
@skeskali
skeskali / weather.rb
Created June 5, 2015 15:44
Skillcrush 104 Ruby Blueprint - Create a Weather App.
require 'yahoo_weatherman'
# get current location from user
def getLocation
puts "What is your location? Please enter city or postal code."
location = gets.chomp
end
# get current location from Yahoo Weatherman gem by looking it up
@mblair
mblair / rethinkdb.md
Last active September 2, 2015 22:25
An Operator's Look at RethinkDB

An Operator's Look at RethinkDB

Matt Blair - @mattyblair - Flipboard

The Getting Started Experience

  • It's in Homebrew and just runs (relative to, say, HBase): awesome!
  • Having packages for popular Linux distros (I use Ubuntu personally and at work): awesome!
  • Serving the GPG key over HTTP: not so awesome :-/
  • apt-get -y install rethinkdb
  • It didn't start by default- great! I hate when services do this. I then looked at the start script to see how it knew (usually daemons use /etc/default/blah, but it has custom logic to see if there's anything in /etc/rethinkdb/instances.d, which is cool).
@copystar
copystar / gist:d4914786e306856e4fc5
Last active June 1, 2016 16:02
House of 1000 Blank White Twitter Cards

"1000 Blank White Cards is a party game played with cards in which the deck is created as part of the game... Since any game rules are contained on the cards (rather than existing as all-encompassing rules or in a rule book), 1000 Blank White Cards can be considered a sort of nomic. It can be played by any number of players and provides the opportunity for card creation and gameplay outside the scope of a single sitting. Creating new cards during the game, dealing with previous cards' effects, is allowed, and rule modification is encouraged as an integral part of gameplay.

https://en.wikipedia.org/wiki/1000_Blank_White_Cards

To play this game, you reply to this account: https://twitter.com/1000WhiteCards

I will keep track of the rules... here:

Rule 1. TEXT MUST BE IN ALL CAPS
Rule 2. EVERY TENTH CARD MUST CONTAIN A TAUTOLOGY
Rule 3. 5PTS IF YOU REWORK AN OBLIQUE STRATEGY. IT IS SIMPLY A MATTER OF REWORK

@vaab
vaab / docker-update
Last active November 18, 2022 12:16
docker-update
#!/bin/bash
## Updates an existing image with given script coming from stdin.
##
exname=$(basename $0)
usage="$exname DOCKER_IMAGE
Update image with stdin instruction.