Skip to content

Instantly share code, notes, and snippets.

View isbkch's full-sized avatar
👋

iLyas Bakouch isbkch

👋
View GitHub Profile
@isbkch
isbkch / pre-commit
Created July 5, 2023 15:53 — forked from athiththan11/pre-commit
Git Pre Commit Hook for FIXME TODO
#!/bin/sh
# An hook script to verify changes to be committed do not contain
# any 'FIXME:' comments. Called by "git commit" with no arguments.
#
# The hook should exit with non-zero status after issuing an appropriate
# message if it stops the commit.
#
# To bypass this hook, use the "--no-verify" parameter when committing.
@isbkch
isbkch / serverless.yml
Created July 18, 2020 23:02
A serverless.yml file configuring a AWS ElastiCache redis instance that is accessible by all AWS Lambda functions deployed by this serverless function.
service: my-service
provider:
name: aws
runtime: nodejs12.x
stage: ${opt:stage, 'dev'}
environment:
REDIS_HOST:
"Fn::GetAtt": [ElasticCacheCluster, RedisEndpoint.Address]
functions:
@isbkch
isbkch / ProofOfExistence.sol
Created March 15, 2018 18:36 — forked from ageyev/ProofOfExistence.sol
This smartcontract is used to store documents text on the Ethereum blockchain and to get the document by document's hash (sha256).
/*
This smartcontract is used to store documents text on the Ethereum blockchain
and to get the document by document's hash (sha256).
*/
contract ProofOfExistence{
/* ---- Public variables: */
string public created;
@isbkch
isbkch / 0_reuse_code.js
Created January 21, 2014 21:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console