Skip to content

Instantly share code, notes, and snippets.

View camilosampedro's full-sized avatar
🗼

Camilo Sampedro camilosampedro

🗼
  • Tokyo, Japan
  • 17:56 (UTC -05:00)
View GitHub Profile
@camilosampedro
camilosampedro / resume.json
Last active February 15, 2024 14:44
resume.json
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Camilo A. Sampedro",
"label": "Experienced Risk Engineer and Backend Developer specializing in functional programming",
"image": "http://camilosampedro.github.io/img/8657866.png",
"email": "sampedro1903@gmail.com",
"url": "http://camilosampedro.github.io/",
"summary": "I'm a software developer with experience in Scala, Java, Golang, and JavaScript. I've worked with a pseudo-SCRUM methodology, handling both backend and frontend projects. I'm skilled in software testing and debugging, and I'm well-versed in a variety of software development tools and frameworks",
"location": {
{
"workbench.settings.useSplitJSON": true,
"window.zoomLevel": 1,
"editor.fontLigatures": true,
"editor.fontFamily": "Fira Code Regular, Liga Hack, Consolas, monospace",
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "Comment",
"scope": [
// https://stackoverflow.com/a/33755463/4474204
// https://stackoverflow.com/a/33755463/4474204
var fs = require("fs");
var parse = require("csv-parse");
var async = require("async");
var AWS = require("aws-sdk");
var csv_filename = "data.csv";
rs = fs.createReadStream(csv_filename);
@camilosampedro
camilosampedro / .vimrc
Created October 19, 2018 02:31
VIM config
execute pathogen#infect()
syntax on
filetype plugin indent on
let g:terraform_align=1
set number
highlight LineNr term=bold cterm=NONE ctermfg=129 ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE
set numberwidth=1
set backspace=indent,eol,start
set clipboard=unnamed
"set paste
@camilosampedro
camilosampedro / .i3status.conf
Created August 16, 2018 00:56
I3 configuration file
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
@camilosampedro
camilosampedro / Read a CSV.scala
Created August 15, 2018 20:08
Read CSV Scala
#!/bin/sh
exec scala "$0" "$@"
!#
/*
This script creates a SQL output with a format:
INSERT INTO table (columns, ...)
VALUES
(values, ...),
#!/usr/bin/php -q
<?php
set_time_limit(30);
$param_error_log = '/tmp/notas.log';
$param_debug_on = 1;
require('phpagi.php');
require('yandex.php');
require("definiciones.inc");
$agi = new AGI();
#!/usr/bin/php -q
<?php
set_time_limit(30);
$param_error_log = '/tmp/notas.log';
$param_debug_on = 1;
require('phpagi.php');
require("definiciones.inc");
$agi = new AGI();
$agi->answer();
sleep(1);
@camilosampedro
camilosampedro / Install Aton prerequisites.sh
Last active November 7, 2016 18:52
Installs Java 8, Activator and MySQL on Ubuntu 16.04 LTS
#!/bin/bash
# Variables
activator_version="1.3.12"
mysql_password="atonmysqldb"
# Install java
echo " => Installing Java 8"
echo " ==> Adding webupd8team/java repository"
sudo add-apt-repository ppa:webupd8team/java
echo " ==> Updating with the added repository"
@camilosampedro
camilosampedro / FileMatcher.scala
Last active February 24, 2016 18:12
Scala simple examples
object FileMatcher {
private def filesHere = (new java.io.File(".")).listFiles
private def filesMatching(matcher: String => Boolean) =
for (file <- filesHere; if matcher(file.getName))
yield file
def filesEnding(query: String) =
filesMatching(_.endsWith(query))