I once worked with a sysadmin who named all his servers after specialty coffees, but was terrible at spelling. So there were servers named espreso, esspreso, and espresso... Repeat for cappuccino, and latte.
Makes http fun again! Ain't no party like a httparty, because a httparty don't stop.
Install
gem install httparty
Requirements
Ruby 2.0.0 or higher
multi_xml
You like to party!
Examples
# Use the class methods to get down to business quicklyresponse=HTTParty.get('http://api.stackexchange.com/2.2/questions?site=stackoverflow')putsresponse.body,response.code,response.message,response.headers.inspect# Or wrap things up in your own classclassStackExchangeincludeHTTPartybase_uri'api.stackexchange.com'definitialize(service,page)@options={query: {site: service,page: page}}enddefquestionsself.class.get("/2.2/questions",@options)enddefusersself.class.get("/2.2/users",@options)endendstack_exchange=StackExchange.new("stackoverflow",1)putsstack_exchange.questionsputsstack_exchange.
I once had to support a small system written by the BA team...
They had discovered these cool things called VARIABLES... and decided to use them... their selected taxonomy was... first-names of all the people in the office.
Which made funny reading - it was amusing to see who was being multiplied by whom, who was fetched from the database, and who was destroyed by going out of scope!
Howβs it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK π¬π§
Education
10 plus years* active enterprise development experience and a Fine art degree π¨
Rockstar is a dynamically typed computer programming language, designed for creating programs that are also song lyrics. Rockstar is heavily influenced by the lyrical conventions of 1980s hard rock and power ballads.
But why?
Mainly because if we make Rockstar a real (and completely pointless) programming language, then recruiters and hiring managers won't be able to talk about 'rockstar developers' any more.
Also 'cos it's kinda fun and any language based on the idea of compiling Meatloaf lyrics has to be worth a look, right?
Plus we can make stickers. Who doesn't want a sticker on their laptop saying 'CERTIFIED ROCKSTAR DEVELOPER'?
The official reference implementation is Satriani - written in JavaScript, it runs in browsers and supports NodeJS for server-side and larger projects.
Rocky is a fully spec-compliant Rockstar implementation writtenβ¦
Top comments (4)
I once worked with a sysadmin who named all his servers after specialty coffees, but was terrible at spelling. So there were servers named
espreso
,esspreso
, andespresso
... Repeat for cappuccino, and latte.I sort of like that the popular HTTP client for Ruby is called HTTP "Party"
jnunemaker / httparty
π Makes http fun again!
httparty
Makes http fun again! Ain't no party like a httparty, because a httparty don't stop.
Install
Requirements
Examples
I do think that enhances my enjoyment typing it compared to if it were "HTTPClient" or something generic or boring.
I once had to support a small system written by the BA team...
They had discovered these cool things called VARIABLES... and decided to use them... their selected taxonomy was... first-names of all the people in the office.
Which made funny reading - it was amusing to see who was being multiplied by whom, who was fetched from the database, and who was destroyed by going out of scope!
:)
It has to be this, it's a bit of an in-joke about recruitment.
RockstarLang / rockstar
The Rockstar programming language specification
Rockstar
Rockstar is a dynamically typed computer programming language, designed for creating programs that are also song lyrics. Rockstar is heavily influenced by the lyrical conventions of 1980s hard rock and power ballads.
But why?
Mainly because if we make Rockstar a real (and completely pointless) programming language, then recruiters and hiring managers won't be able to talk about 'rockstar developers' any more.
Also 'cos it's kinda fun and any language based on the idea of compiling Meatloaf lyrics has to be worth a look, right?
Plus we can make stickers. Who doesn't want a sticker on their laptop saying 'CERTIFIED ROCKSTAR DEVELOPER'?
What's here?
Implementations
The official reference implementation is Satriani - written in JavaScript, it runs in browsers and supports NodeJS for server-side and larger projects.
Rocky is a fully spec-compliant Rockstar implementation writtenβ¦