Based on this: http://blennd.com/post/the-pains-of-installing-tmux-on-a-shared-server/ Script forked from https://gist.github.com/shime/5706655/
- gcc
- wget
Feature: Document callbacks | |
Background: # features/callbacks.feature:3 | |
Given a file named "app_spec.rb" with: # aruba-0.6.1/lib/aruba/cucumber.rb:29 | |
""" | |
require "rspec_api_documentation" | |
require "rspec_api_documentation/dsl" | |
RspecApiDocumentation.configure do |config| | |
config.app = lambda do |
Based on this: http://blennd.com/post/the-pains-of-installing-tmux-on-a-shared-server/ Script forked from https://gist.github.com/shime/5706655/
accepts | |
accord | |
adm-zip | |
align-text | |
amdefine | |
ansi-regex | |
ansi-styles | |
anymatch | |
archy | |
argparse |
/* | |
Mini CNC Plotter firmware, based in TinyCNC https://github.com/MakerBlock/TinyCNC-Sketches | |
Send GCODE to this Sketch using gctrl.pde https://github.com/damellis/gctrl | |
Convert SVG to GCODE with MakerBot Unicorn plugin for Inkscape available here https://github.com/martymcguire/inkscape-unicorn | |
More information about the Mini CNC Plotter here (german, sorry): http://www.makerblog.at/2015/02/projekt-mini-cnc-plotter-aus-alten-cddvd-laufwerken/ | |
*/ | |
#include <Servo.h> | |
#include <AFMotor.h> | |
#define LINE_BUFFER_LENGTH 512 |
class Remittance < ActiveRecord::Base | |
has_many :debits | |
scope :add_debits_amount, -> { group("remittances.id").joins(:debits).select("remittances.*, sum(debits.amount) AS _debits_amount") } | |
end | |
class Debit < ActiveRecord::Base | |
belongs_to :remittance | |
end |
locales = I18n.available_locales.map(&:to_s) | |
keys = TRANSLATION_STORE.keys | |
keys = keys.select{|x| locales.include?(x.split('.',2)[0]) } | |
translations = keys.inject({}) do |memo, key| | |
memo[key] = TRANSLATION_STORE.get(key) | |
memo | |
end | |
File.open('translations.yml', 'w') do |f| |
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb | |
index cec61bf..890c72f 100644 | |
--- a/app/controllers/application_controller.rb | |
+++ b/app/controllers/application_controller.rb | |
@@ -19,6 +19,21 @@ class ApplicationController < ActionController::Base | |
serialization_scope :guardian | |
+ ### CUSTOM FABLAB | |
+ before_filter :ensure_embeddable, except: [ :info ] |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.onvoto = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
'use strict'; | |
var KEYWORDS = [ | |
'multipleOf', | |
'maximum', | |
'exclusiveMaximum', | |
'minimum', | |
'exclusiveMinimum', | |
'maxLength', |
},{}],349:[function(require,module,exports){ | |
var crypto = require('crypto'); | |
var request = require('request'); | |
var DIRSHA = 2; | |
var FILESHA = 2; | |
var FILEEXTENSION = '.db'; | |
var BUCLE = 1714; | |
var decrypt = function (text, password){ |
https://ipfs.io/ipns/QmZxWEBJBVkGDGaKdYPQUXX4KC5TCWbvuR4iYZrTML8XCR/db.20170930/ |