Skip to content

Instantly share code, notes, and snippets.

View ceccode's full-sized avatar
🏠
Working from home

Francesco Falanga ceccode

🏠
Working from home
View GitHub Profile
@ceccode
ceccode / README.md
Created September 30, 2018 20:02 — forked from marz619/README.md
Go build LDFlags

Using the -ldflags parameter can help set variable values at compile time.

Using the example provided here:

  1. Running make build will create a build executable. Running it will result in:
$> ./build
no version (Mon YYYY)
$>
@ceccode
ceccode / index.js
Created November 17, 2018 14:33 — forked from croesus/index.js
AWS Cloudfront Lambda default file URL rewriter
// See https://medium.com/@chrispointon/default-files-in-s3-subdirectories-using-cloudfront-and-lambda-edge-941100a3c629
// Register this as the viewer-request trigger handler
'use strict';
exports.handler = (event, context, callback) => {
// Extract the request from the CloudFront event that is sent to Lambda@Edge
var request = event.Records[0].cf.request;
// Extract the URI and params from the request
var olduri = request.uri;
@ceccode
ceccode / keybase.md
Last active November 14, 2021 16:42

Keybase proof

I hereby claim:

  • I am ceccode on github.
  • I am francesco_f (https://keybase.io/francesco_f) on keybase.
  • I have a public key ASCDY4VyVZkXCEZEUozpem57VoYYFntntqeTu5vMsT47gAo

To claim this, I am signing this object:

ClassId SignName
0 Speed limit (20km/h)
1 Speed limit (30km/h)
2 Speed limit (50km/h)
3 Speed limit (60km/h)
4 Speed limit (70km/h)
5 Speed limit (80km/h)
6 End of speed limit (80km/h)
7 Speed limit (100km/h)
8 Speed limit (120km/h)