Skip to content

Instantly share code, notes, and snippets.

View jmcaffee's full-sized avatar

Jeff McAffee jmcaffee

View GitHub Profile
@jmcaffee
jmcaffee / FTBLib.md
Last active June 12, 2017 17:50 — forked from LatvianModder/FTBLib.md
FTB Mod Commands

Commands

  • /reload [client] - Reloads server and optionally client

  • /reload_client - Reloads client only

  • /ftb_mode set <mode> - Sets current mode

  • /ftb_mode get - Prints current mode

  • /ftb_mode list - Prints all available modes

  • /edit_config [group] [entry] [value] - Opens config Gui, if only 1st argument is given

@jmcaffee
jmcaffee / grape_api_sample.rb
Created May 16, 2012 21:47 — forked from yorzi/grape_api_sample.rb
a well documented ruby api based on GrapeAPI.
require 'grape'
module My
class API < Grape::API
prefix 'api'
## params key list
#################################################################################################################
# 1. login
# 2. sign