Skip to content

Instantly share code, notes, and snippets.

View tarla's full-sized avatar

João Tarla tarla

  • Huspy
  • Madrid, Spain
  • 03:56 (UTC +01:00)
  • LinkedIn in/joaotarla
View GitHub Profile
@tarla
tarla / app.js
Created June 23, 2017 10:38 — forked from RickWong/app.js
React without Webpack
const App = ({name}) => {
return (
<h1>Hello {name}</h1>
);
};
ReactDOM.render(<App name="World" />, document.getElementById("App"));
@tarla
tarla / nginx.conf.erb
Last active February 9, 2018 00:17
nginx config file for Heroku nginx buildpack
daemon off;
#Heroku dynos have at least 4 cores.
worker_processes <%= ENV['NGINX_WORKERS'] || 4 %>;
events {
use epoll;
accept_mutex on;
worker_connections 1024;
}
@tarla
tarla / geoffgarside.zsh-theme
Last active January 3, 2022 09:20
Custom zsh theme with M1/x86 label
# CUSTOM geoffgarside theme
# .oh-my-zsh/themes/geoffgarside.zsh-theme
declare -A archs
archs=(
["arm64"]="$bg_bold[cyan]%}%{$fg_bold[white]%}m1%{$reset_color%}"
["x86_64"]="$bg_bold[yellow]%}%{$fg_bold[white]%}x86%{$reset_color%}"
)
arch=$(uname -m)
label=$archs[$arch]
@tarla
tarla / build.gradle
Created September 1, 2022 06:46
micronaut minimal build
plugins {
id 'io.micronaut.library' version '3.5.1'
}
version "0.1"
group "com.example"
repositories {
mavenCentral()
}
@tarla
tarla / keychron_k3_pro_ansi_white_double_option_no_del.layout.json
Created July 16, 2023 20:17
keychron mapping (double options without delete)
{
"name": "Keychron K3 Pro ANSI White",
"vendorProductId": 875823667,
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
"layers": [
[
"KC_ESC",
"KC_BRID",
"KC_BRIU",
"CUSTOM(4)",
{
"name": "Keychron K3 Pro ANSI White",
"vendorProductId": 875823667,
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
"layers": [
[
"KC_ESC",
"KC_BRID",
"KC_BRIU",
"CUSTOM(4)",