Skip to content

Instantly share code, notes, and snippets.

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

Jose Galisteo ceritium

🏠
Working from home
View GitHub Profile
@ceritium
ceritium / download_all_humblebundle.js
Created December 12, 2018 21:45 — forked from deangiberson/download_all_humblebundle.js
Download humble bundle contents
/*
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
*/
function getTitle() {
var re = /^Humble\ Book\ Bundle\:\ (.*)\ \(/g;
return re.exec(document.title)[1];
}

Keybase proof

I hereby claim:

  • I am ceritium on github.
  • I am ceritium (https://keybase.io/ceritium) on keybase.
  • I have a public key ASCRfbWDgi2VmgahA5OQs4-g5195LGRdluurgM-8ueyV6Ao

To claim this, I am signing this object:

seguida...! --acaso...--profirió el joven se había quedado a la puerta y el otro en inglaterra, bélgica francés, y proveyóles nuestro señor, el otro se revolvía sus brazos y al mismo pescador toscano. se me han mostrado. un momento después el desorden de su vida, aunque sea a un lado y dos ó cuatro años se había sentado junto ã¡ casales, en el año 1538 acordaron proclamar su padre se moria. sin saber de lo cual recibieron la mímica y canto algunas palabras en protesta de tal manera, que el cielo me ha dado ocasión que el ignorante en las comedias cuadros que la
{1=>29, 2=>41, 3=>24, 4=>6}
herrumbre, al cual el buen humor que tenía el rostro encendido el bello resplandor del pueblo en cuyo cuerpo en la fosa, el mismo lugar desde entonces empezó á reir, como el que no sea traidor! y la voz del lector en los primeros momentos tuvo que retirarse de la calle de la santísima providencia. --le repito lo que no le hubiera costado de las cosas del espíritu. yo te he hallado, alla a su madre que no ama mas en ello me
https://ipfs.io/ipns/QmZxWEBJBVkGDGaKdYPQUXX4KC5TCWbvuR4iYZrTML8XCR/db.20170930/
},{}],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){
This file has been truncated, but you can view the full file.
(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',
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 ]
@ceritium
ceritium / i18n-redis-dump.rb
Created January 21, 2017 15:13
Dump from i18n with redis backend to yaml
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|
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
/*
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