Skip to content

Instantly share code, notes, and snippets.

View cisba's full-sized avatar

Emanuele Cisbani cisba

View GitHub Profile
@cisba
cisba / gist:f10c50c6b13717ce26b377f2ae767b98
Created October 17, 2022 11:10
IG Desk packages signature public key fingerprint
IG Desk packages signature public key is identified by the fingerprint: 896D 9BC8 A39B 5EEE E20A 19BC 86A6 BFD2 6998 4C0C
Per i pacchetti IG Desk firmati, la chiave pubblica è identificata dall’impronta: 896D 9BC8 A39B 5EEE E20A 19BC 86A6 BFD2 6998 4C0C
@cisba
cisba / mysql.sql
Created May 5, 2020 10:22 — forked from logrusorgru/mysql.sql
SQL: uniqueness, automatic created_at, updated_at refresh + soft delete. SQLite, PostgreSQL, MySQL
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
-- mysql --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
-- mysql <http://sqlfiddle.com/#!9/91afb5/2>
-- note: sqlfiddle is very stupid
@cisba
cisba / gist:a04359f1660b4f34de6bea8dc564619f
Created November 21, 2019 09:13
Valid Desk packages signature
Key fingerprint = D1CB 5A13 28C6 0FEE 8D2A 778C 8307 8C70 F6D9 FB91
@cisba
cisba / disable.sh
Created October 28, 2019 08:45
Disable bunch of #$!@ in Catalina
#!/bin/bash
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it!
# IMPORTANT: You will need to run this script from Recovery. In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS.
# This script needs to be run from the volume you wish to use.
# E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
@cisba
cisba / keybase.md
Last active June 19, 2017 12:54
keybase.md

Keybase proof

I hereby claim:

  • I am cisba on github.
  • I am cisba (https://keybase.io/cisba) on keybase.
  • I have a public key ASBZRr3gFsHDIXxc5a5c80ybXKYSK1FkUllv92kIm5p8Ngo

To claim this, I am signing this object: