Skip to content

Instantly share code, notes, and snippets.

View afelicioni's full-sized avatar
👔
Focused on @aws ☁️

Alessio Felicioni afelicioni

👔
Focused on @aws ☁️
View GitHub Profile
yum localinstall https://www.linuxglobal.com/static/blog/pdftk-2.02-1.el7.x86_64.rpm
yum localinstall https://www.linuxglobal.com/static/blog/pdftk-2.02-1.el7.i686.rpm
@afelicioni
afelicioni / gist:86d47f00e33872ff32cd10c76e4437b5
Created March 6, 2020 09:23
cognito user pool trigger with lambda alias (ex. for CustomMessage)
aws cognito-idp update-user-pool --user-pool-id aws_region_id --lambda-config CustomMessage=arn:aws:lambda:aws_region:aws_id:function:function_name:alias
@afelicioni
afelicioni / gist:ce4e85bf18cd95bbf07603a92372e75c
Created January 8, 2020 08:46
libre office character left padding in string
=DESTRA("00000000000"&D1;11)
{
"responses":[
{
"ref":"eventAddComment",
"value":{
"errors":[
{
"code":"post_error",
"message":"Over daily limit of 20"
}
@afelicioni
afelicioni / file.js
Created July 11, 2019 10:09
leaflet center corners
https://github.com/Leaflet/Leaflet/pull/5554
@afelicioni
afelicioni / table.md
Last active June 1, 2019 15:52
CSS common weight name mapping
Value Common weight name
100 Thin (Hairline)
200 Extra Light (Ultra Light)
300 Light
400 Normal
500 Medium
600 Semi Bold (Demi Bold)
700 Bold
800 Extra Bold (Ultra Bold)
https://itunes.apple.com/gb/app/macos-sierra/id1127487414?mt=12
@afelicioni
afelicioni / gist:b22606bebab35f41b04588d9c0d09a6e
Created September 4, 2018 16:17
sourcetree password ask loop
git config credential.helper store
git pull
DELIMITER $$
DROP FUNCTION IF EXISTS `HTML_UnEncode`$$
CREATE FUNCTION `HTML_UnEncode`(X TEXT) RETURNS TEXT CHARSET latin1 DETERMINISTIC
BEGIN
DECLARE TextString TEXT;
SET TextString = X ;
#quotation mark
IF INSTR( X , '"' )