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
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)
@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:

@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 / 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 / HyperLedger Fabric cheat sheet.md
Last active April 21, 2019 16:43
HyperLedger Fabric cheat sheet

HyperLedger Fabric cheat sheet

Install

mkdir ~/fabric-dev-servers && cd ~/fabric-dev-servers
curl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.tar.gz
tar -xvf fabric-dev-servers.tar.gz

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@ceccode
ceccode / web3-solc-contract-compile-deploy.js
Last active November 26, 2017 17:40 — forked from tomconte/web3-solc-contract-compile-deploy.js
Compiling and deploying an Ethereum Smart Contract, using solc and web3.
const fs = require('fs');
const solc = require('solc');
const Web3 = require('web3');
// Connect to local Ethereum node
const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
// Compile the source code
const input = fs.readFileSync('Token.sol');
const output = solc.compile(input.toString(), 1);
@ceccode
ceccode / # opencv - 2017-11-07_14-50-59.txt
Created November 7, 2017 14:17
opencv on macOS 10.12.6 - Homebrew build logs
Homebrew build logs for opencv on macOS 10.12.6
Build date: 2017-11-07 14:50:59
exists=`git show-ref refs/heads/<branch-name>`
if [ -n "$exists" ]; then
echo 'branch exists!'
fi
@ceccode
ceccode / README-Template.md
Created July 18, 2017 14:45 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites