Skip to content

Instantly share code, notes, and snippets.

View jansanchez's full-sized avatar

Jan Sanchez jansanchez

View GitHub Profile
@jansanchez
jansanchez / gist:ce5b0ca1c5e538f4b266
Last active February 28, 2024 00:27
How to install NVIDIA video drivers in Elementary OS
@jansanchez
jansanchez / gist:6198533
Created August 10, 2013 01:03
/etc/samba/smb.conf
# edit smb.conf file
# sudo vim /etc/samba/smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
@jansanchez
jansanchez / gist:7896421
Last active August 12, 2023 19:59
Install wine in linux

Install wine in linux

Type in your terminal

sudo apt-get install wine
sudo apt-get install winetricks
@jansanchez
jansanchez / gist:7893091
Last active June 10, 2021 06:56
MySQL lower case table names sensitive in linux

MySQL lower case table names sensitive in linux

Type in your terminal

sudo vim /etc/mysql/my.cnf

Edit the file adding the entry lower_case_table_names=1 just under the group definition: [mysqld]

@jansanchez
jansanchez / gist:6694824
Created September 25, 2013 03:23
How do I store an array of objects in a cookie with jQuery $.cookie()?
/*
Cookies can only store strings. Therefore, you need to convert your array of objects into a JSON string.
If you have the JSON library, you can simply use JSON.stringify(people) and store that in the cookie,
then use $.parseJSON(people) to un-stringify it.
In the end, your code would look like:
*/
var people = [
{ 'name' : 'Abel', 'age' : 1 },
{ 'name' : 'Bella', 'age' : 2 },
@jansanchez
jansanchez / gist:7702069
Created November 29, 2013 05:56
Run a php server from terminal

Run a php server from terminal

type in your terminal

php -f index.php -S localhost:8080
@jansanchez
jansanchez / gist:1a70189c11634fe28cd8
Last active October 28, 2019 16:28
iOS Developer(Desarrollador iOS)

iOS Developer(Desarrollador iOS)

####Estamos en busca de un Desarrollador iOS que tenga:###

  • Experiencia mínima: Medio año desarrollando y dando soporte a aplicaciones iOS.
  • Experiencia desarrollando con Objective C, Cocoa Touch, Xcode.
  • Comprensión de arquitecturas orientadas a servicios (REST, JSON, API/Web Services).
  • Criterio profesional y Sentido de la responsabilidad.
  • Habilidad para identificar, investigar, resolver y recomendar soluciones.
@jansanchez
jansanchez / ios.md
Last active February 14, 2019 21:14

iOS Developer(Desarrollador iOS)

Estamos en busca de un Desarrollador iOS que tenga:

  • Experiencia mínima: Medio año desarrollando y dando soporte a aplicaciones iOS.
  • Experiencia desarrollando con Swift, Cocoa Touch, Xcode.
  • Comprensión de arquitecturas orientadas a servicios (REST, JSON, API/Web Services).
  • Criterio profesional y sentido de la responsabilidad.
  • Habilidad para identificar, investigar, resolver y recomendar soluciones.
@jansanchez
jansanchez / gist:10146556
Last active October 5, 2018 14:26
How to Install Vagrant in Debian Linux 64 bits

How to Install Vagrant in Debian Linux 64 bits

First, we install Virtualbox

sudo apt-get install virtualbox

Then, we install Vagrant

@jansanchez
jansanchez / android-developer.md
Last active September 17, 2018 19:54
Android Developer - Orbis Ventures SAC

Android Developer(Desarrollador Android)

Estamos en busca de un Desarrollador Android que tenga:

  • Experiencia mínima: Un año desarrollando y dando soporte a aplicaciones Android.
  • Experiencia desarrollando con Java, conocimiento del SDK de Android.
  • Comprensión de arquitecturas orientadas a servicios (REST, JSON, API/Web Services, GraphQL).
  • Experiencia desarrollando con Android Studio.
  • Criterio profesional y Sentido de la responsabilidad.
  • Habilidad para identificar, investigar, resolver y recomendar soluciones.