Skip to content

Instantly share code, notes, and snippets.

View camilosampedro's full-sized avatar
🗼

Camilo Sampedro camilosampedro

🗼
  • Tokyo, Japan
  • 20:08 (UTC -05:00)
View GitHub Profile
#!/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);
#!/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();
@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, ...),
@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 / .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
// 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);
{
"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": [
@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": {