- wget -qO- https://get.docker.com/ | sh
- sudo docker run ubuntu:14.04
- sudo docker images
extern crate sysfs_gpio; | |
use sysfs_gpio::{Direction,Pin}; | |
use std::time::Duration; | |
use std::thread::sleep; | |
fn main() { | |
let data_pin = Pin::new(18); // SER #14 | |
let latch_pin = Pin::new(23); // RCLK #12 | |
let clock_pin = Pin::new(24); // SRCLK #11 |
#!/usr/bin/env rackup | |
#\ -E deployment | |
use Rack::ContentLength | |
app = Rack::Directory.new Dir.pwd | |
run app |
import psycopg2 as pg | |
from io import BytesIO | |
from collections import defaultdict | |
from contextlib import contextmanager | |
from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT, ISOLATION_LEVEL_READ_COMMITTED | |
READ_COMMIT = ISOLATION_LEVEL_READ_COMMITTED | |
AUTO_COMMIT = ISOLATION_LEVEL_AUTOCOMMIT |
/* eslint-disable global-require */ | |
/* eslint-env node */ | |
const validEnv = ["development", "test", "production"] | |
const currentEnv = process.env.NODE_ENV || "unknown" | |
const isDevelopmentEnv = currentEnv === "development" | |
const isProductionEnv = currentEnv === "production" | |
const isTestEnv = currentEnv === "test" | |
if (!validEnv.includes(currentEnv)) { |
var sheetId = "15x3asddawIXE"; | |
var sheetName = "20adsasd-4"; | |
var token = 'adasdasd'; | |
var telegramToken = 'asdasdasd'; | |
var book = SpreadsheetApp.openById(sheetId); | |
var sheet = book.getSheetByName(sheetName); | |
var sheetLog = book.getSheetByName("log"); |
Crystal 0.9.1 with Kemal
require "kemal"
ws "/" do |socket|
socket.on_message do |message|
end
Devengo is a startup focused on a simple but ambitious mission: make finance a fairer place. Founded by well-known fintech players Fernando Cabello-Astolfi and Alberto Molpeceres our first product is an innovative social benefit that allows workers to collect their earned wages in real-time. Your money, when you need it.
Economists identify¹ three main challenges any person and household must face to reach a sustainable level of financial wellness: having sufficient and stable income, maintaining an economic-financial balance that limits problems of overindebtedness and avoiding severe poverty.
The last two challenges are the most pressing ones as they have an immediate effect on the material living conditions of the population and they compound over time sinking the households' economies further and further.
In Spain al
class Consumer | |
def takes_args(a, b, c) | |
p "#{a} #{b} #{c}" | |
end | |
def takes_keys(a:, b:, c:) | |
p "#{a} #{b} #{c}" | |
end | |
end |
#!/usr/bin/env ruby | |
# Extracted from traceroute gem + checking the presence of views as well | |
require_relative './config/environment.rb' | |
class Traceroute | |
def initialize(app) | |
@app = app | |
end |