Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Luciano Fiandesio luciano-fiandesio

🏠
Working from home
View GitHub Profile
View gist:b03f938b212c474412cc0a49b86490c6
{
"events": [
{
"uid": null,
"event": null,
"status": "ACTIVE",
"program": "ur1Edk5Oe2n",
"programStage": "jdRD35YwbRH",
"enrollment": null,
"enrollmentStatus": null,
View student.json
{
"student": {
"id": 1,
"firstName": "Nikolos",
"lastName": "Schulze",
"middleName": null,
"dateOfBirth": "2004-08-13",
"countryOfBirth": "Zimbabwe",
"cityOfBirth": "Victoria Falls",
"gender": "m",
View keybase.md

Keybase proof

I hereby claim:

  • I am luciano-fiandesio on github.
  • I am lucianof (https://keybase.io/lucianof) on keybase.
  • I have a public key ASBpu2IpGWWLlWrlnDHiF0iAswkC3YeVQtj5sC3yFVBxsgo

To claim this, I am signing this object:

@luciano-fiandesio
luciano-fiandesio / cut.sh
Last active Oct 4, 2019
cut from line to line #utility #commandline
View cut.sh
sed -n '71524,73549p' somelog.log > extracted.log
@luciano-fiandesio
luciano-fiandesio / show_postgres_config_file.sh
Created Oct 3, 2019
Show Postgres config file location #postgres
View show_postgres_config_file.sh
psql -U postgres -c 'SHOW config_file'
View 7zip compress max compression.txt
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on file.7z file.txt
@luciano-fiandesio
luciano-fiandesio / Hard_reset_a_ branch.sh
Last active Oct 3, 2019
[Hard reset a branch] #git
View Hard_reset_a_ branch.sh
git reset --hard <branch-name>
# Will reset current branch to master
git reset --hard master