Skip to content

Instantly share code, notes, and snippets.

View jaimeiniesta's full-sized avatar

Jaime Iniesta jaimeiniesta

View GitHub Profile
<!DOCTYPE HTML>
<html dir="LTR" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SimShack - Payware Add-ons for FSX, MSFS, X-Plane & P3D</title>
<link rel="shortcut icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link rel="stylesheet" type="text/css" href="/simshack-responsive-v2.5.5.css?v=102">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<link rel="preconnect dns-prefetch" href="https://www.google-analytics.com" crossorigin>
@jaimeiniesta
jaimeiniesta / settings.jsonc
Created May 12, 2020 10:36 — forked from thbar/settings.jsonc
Current minimalistic VSCode setup (à la atom/textmate)
// My settings for VS Code - inspired by https://gist.github.com/thbar/cfeb158fb6fc52a0fed1df3c84048ffc
{
"window.zoomLevel": 2,
"editor.formatOnSave": true,
"editor.defaultFormatter": "JakeBecker.elixir-ls",
"terminal.integrated.shell.osx": "/bin/bash",
// path at top of editor is very noisy
"breadcrumbs.enabled": false,
@jaimeiniesta
jaimeiniesta / settings.jsonc
Created May 12, 2020 10:36 — forked from thbar/settings.jsonc
Current minimalistic VSCode setup (à la atom/textmate)
{
// NOTE: these settings work well for me
// using Ruby, Elixir and Assembly languages.
//
// I would probably do something different if
// I worked more with other languages at the moment
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"workbench.startupEditor": "newUntitledFile",
@jaimeiniesta
jaimeiniesta / phx-1.4-upgrade.md
Last active November 19, 2018 17:32 — forked from chrismccord/phx-1.4-upgrade.md
Phoenix 1.3.x to 1.4.0 Upgrade Guides

Phoenix 1.4 ships with exciting new features, most notably with HTTP2 support, improved development experience with faster compile times, new error pages, and local SSL certificate generation. Additionally, our channel layer internals received an overhaul, provided better structure and extensibility. We also shipped a new and improved Presence javascript API, as well as Elixir formatter integration for our routing and test DSLs.

This release requires few user-facing changes and should be a fast upgrade for those on Phoenix 1.3.x.

Install the new phx.new project generator

The mix phx.new archive can now be installed via hex, for a simpler, versioned installation experience.

To grab the new archive, simply run:

Afghanistan
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antarctica
Antigua and Barbuda
Argentina
@jaimeiniesta
jaimeiniesta / README.md
Created March 23, 2017 10:18
AVRO vs JSON benchmark

AVRO vs JSON benchmark

Run on a Rails 4.2.7.1 app, with Ruby 2.2.6.p396

$ bundle exec rake benchmarks:avro_vs_json

Rehearsal ------------------------------------------
avro:   13.940000   0.000000  13.940000 ( 13.958903)
json: 5.420000 0.000000 5.420000 ( 5.427391)
@jaimeiniesta
jaimeiniesta / index.js
Last active April 18, 2018 21:37
Google Cloud Functions for AccessLint
/**
* HTTP Cloud Function.
*
* @param {Object} req Cloud Function request context.
* @param {Object} res Cloud Function response context.
*/
exports.accessLintJson = function accessLintJson (req, res) {
var url = req.param("url");
var exec = require('child_process').exec;
@jaimeiniesta
jaimeiniesta / order.avsc
Last active March 12, 2017 16:32
avro_turf issue 54 - ruby 2.2.6, rails 4.2.7.1
{
"name": "order",
"type": "record",
"fields": [
{
"name": { "type": "string" }
}
]
}
@jaimeiniesta
jaimeiniesta / exercise.erl
Last active March 6, 2017 09:37
Failed erlang example
-module(exercise).
-export([howManyEqual/2, howManyEqual/3]).
howManyEqual(X,X) ->
2;
howManyEqual(_X,_Y) ->
0.