Skip to content

Instantly share code, notes, and snippets.

View softmonkeyjapan's full-sized avatar
🏠
Working from home

Loïc KARTONO softmonkeyjapan

🏠
Working from home
View GitHub Profile
# Based on http://fearby.com/article/update-openssl-on-a-digital-ocean-vm/
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ wget ftp://ftp.openssl.org/source/openssl-1.0.2h.tar.gz
$ tar -xvzf openssl-1.0.2h.tar.gz
$ cd openssl-1.0.2h
$ ./config --prefix=/usr/
$ make depend
class CategoriesController < ApplicationController
include Behaveable::ResourceFinder
include Behaveable::RouteExtractor
# Response type.
respond_to :json
# Get categories.
#
# GET (/:categorizable/:categorizable_id)/categories(.:format)
(function () {
'use strict';
angular
.module('lk-active-resource', [
'ngResource',
'platanus.inflector'
])
.provider('ARSettings', function () {
this.apiUrl = undefined;