Skip to content

Instantly share code, notes, and snippets.

View rjfranco's full-sized avatar
🙂
Either working or playing video games

Ramiro Jr. Franco rjfranco

🙂
Either working or playing video games
View GitHub Profile
@rjfranco
rjfranco / add_numbers.rb
Last active July 18, 2019 17:27
Sample ruby add and test
def add(n, n2)
n + n2
end
@rjfranco
rjfranco / keybase.md
Created October 3, 2018 22:02
keybase.md

Keybase proof

I hereby claim:

  • I am rjfranco on github.
  • I am ramiro (https://keybase.io/ramiro) on keybase.
  • I have a public key ASDIjUug8cc5LXJbQzN9wDNk83l1XiFq__lzf1dWD0I9DQo

To claim this, I am signing this object:

@rjfranco
rjfranco / anime-movie-classics.md
Last active November 11, 2020 06:28
Anime Movie Classics

Anime Movie Classics

This is a list of films I plan to watch this year, hoping to have movie nights over at my place. Figured I'd put the list somewhere shareable so I can seek contributions easily. The checkboxes are meant to indicate if they have been watched as part of the event, some entries are being added as already watched however because although we don't plan to watch them, they definitely should count as an anime movie classic.

Various or Uknown Directors

  • Devilman
  • Memories
  • Neo-Tokyo

Satoshi Kon

@rjfranco
rjfranco / controllers.application.js
Created August 10, 2017 18:22
Sample Default Array
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@rjfranco
rjfranco / scroll-watch-function.js
Created December 19, 2016 04:21
Function to watch for scroll position and apply class
// Depends on JQ
window.addEventListener('scroll', function(e){
var distanceY = window.pageYOffset || document.documentElement.scrollTop,
transitionPoint = 500,
$header = $(".fixed-header");
if (distanceY > transitionPoint) {
$header.addClass("smaller");
} else {
$header.removeClass("smaller");
}
@rjfranco
rjfranco / error.json
Last active November 3, 2016 19:48
Error Adding Custom Food on Eat This Much
{
"error_message": "Sorry, this request could not be processed. Please try again later."
}
{% for object in mycollection %}
{% for thingy in object.collection %}
Should be able to get {{object.name}} and {{thingy.name}}, right?
{% endfor %}
{% endfor %}
@rjfranco
rjfranco / clam-av-setup.md
Last active March 9, 2016 00:14
Setup instructions for daemonized ClamAV on OSX

Setting up ClamAV on OSX

  • brew install clamav
  • freshclam -v
  • Copy or download plist to ~/Library/LaunchAgents/com.user.clamav.plist
  • Restart or clamd
  • 🖖

Keybase proof

I hereby claim:

  • I am rjfranco on github.
  • I am ramiro (https://keybase.io/ramiro) on keybase.
  • I have a public key whose fingerprint is 3FDE 5DEA 0D36 8A02 E553 3CF3 9FEA 287B 2273 BAA9

To claim this, I am signing this object:

@rjfranco
rjfranco / freebsd-nginx-init-script
Last active February 5, 2016 10:55
WIP: attempting to write an init script for nginx on freebsd 10.2
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemon
# PROVIDE: nginx
#
# chkconfig: - 85 15
# description: NGINX is an HTTP(S) server, HTTP(S) reverse \
# proxy and IMAP/POP3 proxy server
# processname: nginx
# config: /opt/nginx/conf/nginx.conf