Skip to content

Instantly share code, notes, and snippets.

View stungeye's full-sized avatar

Kyle Geske stungeye

View GitHub Profile
@stungeye
stungeye / crypto_news.json
Created December 18, 2017 04:42
News Site RSS Feeds
[
{
"url": "http://money.cnn.com",
"rss": "http://rss.cnn.com/rss/money_topstories.rss"
},
{
"url": "http://thehill.com",
"rss": "http://thehill.com/rss/syndicator/19110"
},
{
@stungeye
stungeye / rubocop.md
Last active April 4, 2024 23:21
Installing and Running Rubocop

Installing Rubocop

Install Rubocop by adding it to your Gemfile:

gem 'rubocop'
gem 'rubocop-rails'

And running:

bundle install

@stungeye
stungeye / movies.csv
Created September 28, 2020 19:48
Cleaned Up IMDB Dataset for Top 100 Movies
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 12 columns, instead of 10. in line 2.
imdb_title_id,original_title,year,genre,duration,director,writer,production_company,actors,description,avg_vote,votes
tt0111161,The Shawshank Redemption,1994,Drama,142,Frank Darabont,"Stephen King, Frank Darabont",Castle Rock Entertainment,"Tim Robbins, Morgan Freeman, Bob Gunton, William Sadler, Clancy Brown, Gil Bellows, Mark Rolston, James Whitmore, Jeffrey DeMunn, Larry Brandenburg, Neil Giuntoli, Brian Libby, David Proval, Joseph Ragno, Jude Ciccolella","Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.",9.3,2278845
tt0068646,The Godfather,1972,"Crime, Drama",175,Francis Ford Coppola,"Mario Puzo, Francis Ford Coppola",Paramount Pictures,"Marlon Brando, Al Pacino, James Caan, Richard S. Castellano, Robert Duvall, Sterling Hayden, John Marley, Richard Conte, Al Lettieri, Diane Keaton, Abe Vigoda, Talia Shire, Gianni Russo, John Cazale, Rudy Bond",The aging patriarch of an organized crime dynasty transfers control of his clandestine empire
@stungeye
stungeye / instructions.md
Last active March 5, 2024 08:40
Rails with Vue JS

Installing Yarn

You may need to install yarn (Javascript package manager) before you can create Rails apps that involve Javascript frontends.

For the WSL run the following commands:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
@stungeye
stungeye / data_sources.md
Last active February 27, 2024 21:09
Potential Data Source for the Intro to Rails Project

Data From CSV versus API

In class (and in challenge U5) we covered CSV datasets. You can also gather data from JSON APIs or even from Web Scraping. I've got a video you can watch to learn about those techniques: JSON API Consumption And Web Scraping

List of Public APIs

Website: github.com/toddmotto/public-apis

A big list of categorized public APIs that you could pull data from. Easiest to pick one where the "Auth" property is set to "No" because then you won't need to sign up for an API key. However, signing up for an API key usually isn't very difficult.

@stungeye
stungeye / blackAndWhiteP1File.ppm
Last active January 7, 2024 18:01
PPM Image File Examples
P1
# PBM Black & White Example
24 7
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0
0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0
0 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 1 0
0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0
0 1 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
@stungeye
stungeye / index.php
Last active May 1, 2023 09:08
Number Guessing Game
<?php
require('number_game_functions.php');
$message_for_user = "I've picked a random number between " .
RANDOM_NUMBER_MINIMUM . " and " .
RANDOM_NUMBER_MAXIMUM . ". Can you guess it?";
$user_has_guessed_correctly = user_guessed_correctly();
if (user_submitted_a_guess()) {
@stungeye
stungeye / ViveOpenXRGame_2.log
Created April 17, 2023 17:31
ViveOpenXRGame UE5.1 Crash Log with Vive Cosmos Elite (OpenXR)
Log file open, 04/17/23 12:22:26
LogWindows: Failed to load 'aqProf.dll' (GetLastError=0)
LogWindows: File 'aqProf.dll' does not exist
LogProfilingDebugging: Loading WinPixEventRuntime.dll for PIX profiling (from ../../../Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64).
LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=0)
LogWindows: File 'VtuneApi.dll' does not exist
LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=0)
LogWindows: File 'VtuneApi32e.dll' does not exist
LogWindows: Started CrashReportClient (pid=24412)
LogWindows: Custom abort handler registered for crash reporting.
@stungeye
stungeye / FirstVR_2.log
Created April 17, 2023 17:27
Unreal Engine UE5.1 VR Template Crash Log with Vive Cosmos Elite (OpenXR)
Log file open, 04/17/23 11:52:31
LogWindows: Failed to load 'aqProf.dll' (GetLastError=0)
LogWindows: File 'aqProf.dll' does not exist
LogProfilingDebugging: Loading WinPixEventRuntime.dll for PIX profiling (from ../../../Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64).
LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=0)
LogWindows: File 'VtuneApi.dll' does not exist
LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=0)
LogWindows: File 'VtuneApi32e.dll' does not exist
LogWindows: Started CrashReportClient (pid=27956)
LogWindows: Custom abort handler registered for crash reporting.
@stungeye
stungeye / .gitignore
Created March 6, 2023 23:06
My Latest .gitignore file for Unreal Engine
# Visual Studio 2015 user specific files
.vs/
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers