Skip to content

Instantly share code, notes, and snippets.

View alvarezgarcia's full-sized avatar

Sebastián Tomás Alvarez alvarezgarcia

  • Buenos Aires, Argentina
View GitHub Profile
JSONObject fromDirection = new JSONObject ();
fromDirection.AddField("x", Vector3.up.x);
fromDirection.AddField("y", Vector3.up.y);
fromDirection.AddField("z", Vector3.up.z);
JSONObject position = new JSONObject ();
position.AddField("x", contact.point.x);
position.AddField("y", contact.point.y);
position.AddField("z", contact.point.z);
JSONObject fromDirection = new JSONObject ();
fromDirection.AddField("x", Vector3.up.x);
fromDirection.AddField("y", Vector3.up.y);
fromDirection.AddField("z", Vector3.up.z);
JSONObject position = new JSONObject ();
position.AddField("x", contact.point.x);
position.AddField("y", contact.point.y);
position.AddField("z", contact.point.z);
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian/jessie64"
config.vm.network "private_network", ip: "192.168.50.101"
end
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile para Inventory
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian/jessie64"
[
{
"nombre": "Sebastian Alvarez",
"pais": "Guatemala",
"ciudad": "Ocotolepeque",
"instrumentosRelacionados": [
{
"nombreInstrumento: "fichaPfo"
"campo1": "valor1",
"campo2": "valor2@
{
"response_type":"ephemeral",
"replace_original":true,
"attachments":[
{
"pretext":"\n*Open tasks:*\n",
"text":"✅ *<http://sinople.dev.com:9000/task/5df2fb4a528464beb09585fc67f5a272?ref=task_id|TL1Z>:* Task 5",
"attachment_type":"default",
"mrkdwn_in":[
"text",
{
"nombre" : "Luis",
"apellido" : "Alvarez",
"codigo" : "DFR719_1518994397860",
"dni" : "34213741",
"email" : "prueba@fmail.com",
"patente" : "DFR719",
"telefono" : "41756852",
"extra" : {
"textoRayaduras" : "",
{
"actions": [
{
"id": "1",
"name": "select_directmessage_participant",
"text": "Select a user...",
"type": "select",
"data_source": "users",
"confirm": {
"text": "Are you sure? This action is not reversable",
{
"actions": [
{
"id": "1",
"name": "select_directmessage_participant",
"text": "Select a user...",
"type": "select",
"data_source": "users",
"confirm": {
"text": "Are you sure? This action is not reversable",
@alvarezgarcia
alvarezgarcia / dollar.sh
Last active March 28, 2019 14:11
Simple dollar value scrapper
watch -n 60 "curl -s http://www.bna.com.ar/Personas | pup 'div#billetes tbody tr td:nth-of-type(3), div.legal:nth-of-type(1) json{}' | jq '.[0,3].text'"