Skip to content

Instantly share code, notes, and snippets.

View adomenech73's full-sized avatar

Albert Doménech adomenech73

View GitHub Profile
@adomenech73
adomenech73 / ListadoAPI.md
Last active February 7, 2018 12:02
Listado APIs de desarollo

APIs de desarrollo

Google Maps

MAPS JavaScript API

Puede que no haya API más responsable para el crecimiento de APIs disponibles públicamente que Google Maps. geográfica de servicio del gigante de las búsquedas está ahora en millones de sitios web y se ha convertido en el estándar de facto para incrustar mapas de localización. Emparejar su ubicuidad con el aumento en el móvil y se convierte en una parte necesaria de la caja de herramientas de cualquier desarrollador.

Un caso de uso es básico lugares de trazado, como los resultados de búsqueda locales, como marcadores en un mapa. Usted también puede añadir rutas de varios puntos. Más uso avanzado crea interacciones entre el código frontend y el mapa - por ejemplo, haga clic en un resultado de búsqueda y resaltar el lugar en el mapa.

Keybase proof

I hereby claim:

  • I am adomenech73 on github.
  • I am adomenech (https://keybase.io/adomenech) on keybase.
  • I have a public key ASDQN9E4UJweNdcN3wM8OLmLR3zhwWFetGFsD8JBvez9Lgo

To claim this, I am signing this object:

@adomenech73
adomenech73 / ProvisioningMacbook.md
Created October 3, 2017 17:28
ProvisioningMacbook.md
# Creating ssh certs
ssh-keygen -b 4096 -t rsa
# Show hidden files on Finder
defaults write com.apple.finder AppleShowAllFiles YES
# Install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Python2
brew install python
# Install Python3

PINE64 custom images creation

I need to create custom @longsleep images for Pine64 because with the existing ones I've got no overlay network on docker installation, so I wanted to try on and build my own images with CONFIG_VXLAN kernel option enabled, to check the possibilites to make it work.

According to @atzoum pull request more scheduler options needs to be enabled and extra configuration mut be done to make it work properly. My problem was that I didn't find most of the options

Create Loongsleep kernel & boot image

First step will be to build Longsleep BSP kernel + u-boot image. All the process will be done on a x86

Compile Influxdb (ubuntu/aarch64)

Requisites

sudo apt-get install bison rubygems ruby-dev libffi-dev asciidoc rpm
sudo gem install fpm

Installing gvm

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
@adomenech73
adomenech73 / gist:af5213a1a19f0f43ca304f745eb7c38a
Last active September 20, 2016 17:01
set -x; nvm install 4.0.0 - nvm Issue #1237
```
+ nvm install 4.0.0
+ '[' 2 -lt 1 ']'
+ local GREP_OPTIONS
+ GREP_OPTIONS=
+ local VERSION
+ local ADDITIONAL_PARAMETERS
+ local ALIAS
+ case $1 in
+ local nobinary