Skip to content

Instantly share code, notes, and snippets.

View latheesan-k's full-sized avatar

Latheesan Kanesamoorthy latheesan-k

  • Tokhun.io & DripDropz.io
  • United Kingdom
  • X @LatheesanK
View GitHub Profile
Welcome to my test project site
These are my project policy ids:
1. yszflhp0l3is3vtnzj5v6siqpy17zi4stcp2ji2pst7jje4bnmompj81
2. cybvqqvcml0m1e6pw4rv53d3l1li7fc37esby7rmk3ya9v5359km0cso
3. 582cc440b143476a063b61944ab76435917414f926d27e69b72f84e3
[
{
"metrics": {
"saturation": 2.3453485576818607,
"non_myopic_member_rewards": {
"quantity": 121682991,
"unit": "lovelace"
},
"produced_blocks": {
"quantity": 121,
@latheesan-k
latheesan-k / gist:3490cb6ab522ca87f535
Created December 1, 2014 19:40
Parse git logs into array in PHP
<?php
// Change To Repo Directory
chdir("/full/path/to/repo");
// Load Last 10 Git Logs
$git_history = [];
$git_logs = [];
exec("git log -10", $git_logs);