Skip to content

Instantly share code, notes, and snippets.

View PolBaladas's full-sized avatar
💭
Changing how humans interact with technology at batou.xyz

Pol Baladas Luna PolBaladas

💭
Changing how humans interact with technology at batou.xyz
View GitHub Profile
@PolBaladas
PolBaladas / fermat-std.js
Last active October 18, 2022 19:45
fermat-std.js
var const FERMAT_STD = String.raw`
@macro "place" "placeThis"
@macro "right of" "rightOf"
@macro "right" "rightOf"
@macro "below" "belowOf"
@macro "below of" "belowOf"
@macro "width of" "widthOf"
@macro "width" "widthOf"
@macro "height of" "heightOf"
@macro "height" "heightOf"
@PolBaladas
PolBaladas / arbor-stdlib.ar
Created October 12, 2022 23:16
arbor-stdlib
@macro "place" "placeThis"
@macro "right of" "rightOf"
@macro "below" "belowOf"
@macro "below of" "belowOf"
@PolBaladas
PolBaladas / p1.cc
Last active September 13, 2017 09:14 — forked from jordi-petit/p1.cc
AP1 2017-09-12
// Hello world
#include <iostream>
using namespace std;
int main() {
cout << "Bon dia a tothom" << endl;
}

Keybase proof

I hereby claim:

  • I am PolBaladas on github.
  • I am polbaladas (https://keybase.io/polbaladas) on keybase.
  • I have a public key whose fingerprint is 58CF 19AF B0C5 37B7 D69E 4A23 C6E9 F098 37DE B74A

To claim this, I am signing this object:

@PolBaladas
PolBaladas / GCI-Task-LoginPage.md
Last active August 27, 2023 05:06
Creating a Login Page with Python Flask and SQLite 3 DB.

Login page using Python, Flask and sqlite3 DB

How-to guide

(Task for GCI 2015-16) Year: 2015-16 This guide will show how to create a simple login page with Flask (a python microframework) and a sqlite3 database.

1. Database Schema and Models

As we are creating a simple user login app we need to store 2 basic values in the database: the username and the password. In order to build the database we need to define a schema: