Skip to content

Instantly share code, notes, and snippets.

View fjpalacios's full-sized avatar
🎧
I'm wired in

Javi Palacios fjpalacios

🎧
I'm wired in
View GitHub Profile
@fjpalacios
fjpalacios / arch-i3gaps-install.md
Last active November 20, 2023 21:09
Arch + i3-gaps Install Guide
View arch-i3gaps-install.md

Arch + i3-gaps Install Guide

First set up your keyboard layout. For example, in Spanish:

   # loadkeys es

For a list of all acceptable keymaps:

   # localectl list-keymaps
@fjpalacios
fjpalacios / keybase.md
Created July 15, 2017 17:05
keybase.io
View keybase.md

Keybase proof

I hereby claim:

  • I am fjpalacios on github.
  • I am fjpalacios (https://keybase.io/fjpalacios) on keybase.
  • I have a public key whose fingerprint is 3EA3 0175 46AD 3078 5EDE 2964 E242 A60C 65A5 8C24

To claim this, I am signing this object:

@fjpalacios
fjpalacios / db.class.php
Created July 8, 2017 11:52
Class for BDD connection using PDO (PHP)
View db.class.php
/*
config.php
define("DB_HOST", "localhost");
define("DB_USER", "USER");
define("DB_PASS", "PASSWORD");
define("DB_NAME", "DBNAME");
*/
class Database {
private $host = DB_HOST;