Skip to content

Instantly share code, notes, and snippets.

View cooljith91112's full-sized avatar
💬
Making a Retro Game

Indrajith K L cooljith91112

💬
Making a Retro Game
View GitHub Profile
@cooljith91112
cooljith91112 / flutter_cheatsheet.md
Created December 27, 2018 13:06 — forked from vmwsree/flutter_cheatsheet.md
Cheat Sheet For Flutter

Container to be full width

constraints: BoxConstraints.expand() so the child a column can have expanded

Outlined Text Box

TextField(
  controller: _usernameController,
  decoration: InputDecoration(
@cooljith91112
cooljith91112 / zsh-on-windows.md
Created September 24, 2018 04:33 — forked from aviaryan/zsh-on-windows.md
Installing zsh and oh-my-zsh on Windows
  1. Install zsh from cygwin
  2. Install oh-my-zsh from https://github.com/robbyrussell/oh-my-zsh . Follow the manual instructions
  3. To make zsh default on ConEmu, create a task with C:\cygwin64\bin\mintty.exe /usr/bin/zsh - . Make it the defaut shell.
  4. To start a zsh shell on demand, add this batch script to your path or start menu or wherever.
start C:\cygwin64\bin\mintty.exe /usr/bin/zsh -
@cooljith91112
cooljith91112 / gist:756ea3efa0ea931a647117feacb43154
Created August 13, 2018 05:47 — forked from danielestevez/gist:2044589
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}
@cooljith91112
cooljith91112 / generate_excel_report.js
Created July 20, 2018 10:04
Dirty Code to Generate Excel Report of Git changed files and other stuffs
const Git = require('nodegit');
let shouldProceed = true;
let dataArray = [];
const authorEmail = "mymail@oalsdsdsdsd.com";
const lastCommitSHA = 'sdfsdfs'; // hardcoded latest git commit ID
const commitTillSHA = 'sdfsfdsfsdf'; // hardcoded commit id till we want the report for
Git.Repository.open('/home/myname/Documents/projects/mygitrepo') // your local repository path
.then((repository) => {
set title 'Line'
set xlabel 'x'
set ylabel 'y'
set grid
set key below center horizontal noreverse enhanced autotitle box dashtype solid
set tics out nomirror
set border 3 front linetype black linewidth 1.0 dashtype solid

Keybase proof

I hereby claim:

  • I am cooljith91112 on github.
  • I am klias (https://keybase.io/klias) on keybase.
  • I have a public key ASDXk-d8F5fxHTnmsy4rXzrGYEQENBjYc4sIWqAQMdV_IQo

To claim this, I am signing this object: