Skip to content

Instantly share code, notes, and snippets.

@jordigg
jordigg / devise.ca.yml
Last active January 20, 2021 11:47 — forked from carlesjove/devise.ca.yml
Updated to 3.2
# Devise 3.2
ca:
devise:
confirmations:
confirmed: "El teu compte ha estat confirmat correctament. Si us plau, inicia la sessió."
send_instructions: 'En breu rebràs un correu electrònic amb instruccions sobre com confirmar el teu compte.'
send_paranoid_instructions: "Si la teva adreça electrònica existeix a la base de dades, rebràs un correu electrònic amb instruccions sobre com confirmar el teu compte."
failure:
already_authenticated: 'Ja estàs identificat.'
@jordigg
jordigg / devise.es.yml
Created February 5, 2015 00:15 — forked from Theby/devise.es.yml
Updated to 3.2
# Traducciones adicionales en https://github.com/plataformatec/devise/wiki/I18n
es:
devise:
confirmations:
confirmed: "Tu cuenta ya ha sido confirmada."
send_instructions: "Recibirás un correo electrónico en unos minutos con instrucciones sobre cómo restablecer tu contraseña."
send_paranoid_instructions: "Si tu correo electrónico existe en nuestra base de datos recibirás un correo electrónico en unos minutos con instrucciones sobre cómo reiniciar tu contraseña."
failure:
already_authenticated: "Ya estás identificado."
@jordigg
jordigg / devise.es.yml
Created February 5, 2015 01:38 — forked from Theby/devise.es.yml
Updated to 3.2.4
# Traducciones adicionales en https://github.com/plataformatec/devise/wiki/I18n
es:
devise:
confirmations:
confirmed: "Su cuenta ha sido confirmada."
send_instructions: "Recibira un correo electrónico en unos minutos con instrucciones sobre cómo restablecer su contraseña."
send_paranoid_instructions: "Si su correo electrónico existe en nuestra base de datos recibirás un correo electrónico en unos minutos con instrucciones sobre cómo reiniciar su contraseña."
failure:
already_authenticated: "Ya ha sido identificado."
@jordigg
jordigg / ubuntu_bootstrap.sh
Last active February 21, 2017 15:01
Puppet agent bootstrap for Debian based systems (Debian, Ubuntu)
#!/usr/bin/env bash
#
# This bootstraps Puppet on Debian based systems
#
# To install latest version run as --> PUPPET_COLLECTION=pc1 ROLE=role TYPE=type ./ubuntu_bootstrap.sh
# role and type variables are custom_facts with the same name
# role can be: engineering, teamcityagent, puppetserver, puppetdb... or empty.
# type can be server or workstation. Defaults to workstation if not defined.
set -e
@jordigg
jordigg / setpath.sh
Last active February 9, 2016 10:24
Script to add paths to the system wide environment $PATH
#!/usr/bin/env bash
#
# This script adds a path to the env $PATH
#
# Run as --> ./setpath.sh yourpath
#
set -e
SET_PATH=$1
@jordigg
jordigg / windows_bootstrap.ps1
Last active February 16, 2021 07:42
Puppet Boostrap for Windows
.SYNOPSIS
Installs Puppet on this machine.
.DESCRIPTION
Downloads and installs the PuppetLabs Puppet MSI package.
This script requires administrative privileges.
You can run this script from an old-style cmd.exe prompt using the
following:
powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -Command "& '.\windows.ps1' -Role Engineering -Type desktop"
.PARAMETER MsiUrl
This is the URL to the Puppet MSI file you want to install. This defaults
@jordigg
jordigg / mac_bootstrap.sh
Last active July 4, 2017 11:00
Bootstrap script for Mac via Puppet
#!/usr/bin/env bash
#
# This bootstraps Puppet on Mac OS X 10.12
#
# Optional environmental variables:
# - PUPPET_PACKAGE_URL: The URL to the Puppet package to install.
#
# Optional parameters
# - ROLE: Defines the role of the agent on a custom fact
#
@jordigg
jordigg / pi-dashboards.md
Last active August 29, 2023 12:54
Setup dasboards using raspberryPi, chromium and VNC server for remote support
@jordigg
jordigg / jordigg.gpg
Last active June 23, 2016 16:22
GPG Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFbsDIsBCACZru6ou9G+nGM0kaqX/Z/CtMbD7YD+F2CqbuQiz/ZG6zR/w46E
I5Uf83sotIg/TBP1tKdVm8fH4GpPuCHhZoRxjS7pPKkAL+0p+xuzfr9IJ2zqUHbj
XpdRTRHJ7DgbLjSHEuhOA++pN+cUlcFxKMJ3yrQ/ECdEBgWo62hYVa7YQ1uV919w
essYIwGWfs3Qdj5zuq1enh35lRiZi+dnVNGG5PKAlxwNUnGQy+l+KPc7ng7ypkEs
vNPKBirbb6kTGs70WVSQegdNjInoNYu/nK1YV0vsEV92WM4jQrKx5QhF716/RUKw
90OcyKcHDjiRe0xTQ2h3M0+NKKHMbuDe5ljvABEBAAG0IkpvcmRpIEdhcmNpYSA8
am9yZGlAaW1wcm9iYWJsZS5pbz6JAT4EEwECACgFAlbsDIsCGwMFCQWjmoAGCwkI
BwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJED5bM3WkoDviOU8IAIeC5q3wUh71hQ7Z
@jordigg
jordigg / VS2015_AdminDeployment.xml
Created June 29, 2016 12:38
VS2015 Admin Deployment XML file for VS2015 with C++
<?xml version="1.0" encoding="utf-8"?>
<AdminDeploymentCustomizations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment">
<BundleCustomizations TargetDir="C:\Program Files (x86)\Microsoft Visual Studio 14.0" NoCacheOnlyMode="default" NoWeb="default" NoRefresh="default" SuppressRefreshPrompt="default" Feed="default" />
<SelectableItemCustomizations>
<SelectableItemCustomization Id="TypeScriptV6" Selected="yes" FriendlyName="TypeScript 1.7.6.0 for Visual Studio 2015 Update 1" />
<SelectableItemCustomization Id="VSUV1" Hidden="no" Selected="yes" FriendlyName="Visual Studio 2015 Update 1" />
<SelectableItemCustomization Id="VSUV1PreReqV1" Selected="yes" FriendlyName="Visual Studio 2015 Update 1 Prerequisite" />
<SelectableItemCustomization Id="MicroUpdateV1.2" Selected="yes" FriendlyName="Update for Microsoft Visual Studio 2015 (KB3110221)" />
<SelectableItemCustomization Id="WebTo