Skip to content

Instantly share code, notes, and snippets.

View helloanoop's full-sized avatar

Anoop M D helloanoop

View GitHub Profile
@helloanoop
helloanoop / git-plumbing.md
Last active October 25, 2020 16:23
Git Plumbing Commands

Git plumbing Commands

Check Object Type

git cat-file -t 47ef

Pretty Print Object Content

git cat-file -p 47ef
@helloanoop
helloanoop / Slush & Poppies ST Theme
Created December 17, 2019 19:38
Slush & Poppies ST Theme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>William D. Neumann</string>
<key>name</key>
<string>Slush &amp; Poppies</string>
<key>settings</key>
<array>
@helloanoop
helloanoop / database.php
Last active January 1, 2019 18:34
InMemoryDB php class psuedo code
<?php
class Database
{
/**
* Storage
* @var array
*/
protected $database = array();
@helloanoop
helloanoop / .sublime-keymap
Last active September 19, 2018 17:12
ST3 Key Bindings
[
{ "keys": ["ctrl+left"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["ctrl+right"], "command": "move_to", "args": {"to": "eol", "extend": false} }
]
@helloanoop
helloanoop / Preferences.sublime-settings
Last active December 10, 2019 19:27
Subime Settings as on 5 Sep 2018
{
"color_scheme": "Packages/Babel/Next.tmTheme",
"draw_indent_guides": false,
"folder_exclude_patterns":
[
"**/node_modules",
"**/bower_components",
"**/.git",
".sass-cache",
"public"
@helloanoop
helloanoop / .bashrc
Created September 5, 2018 20:13
Better Command Line Prompt
# https://coderwall.com/p/pn8f0g/show-your-git-status-and-branch-in-color-at-the-command-prompt
COLOR_RED="\033[0;31m"
COLOR_YELLOW="\033[0;33m"
COLOR_GREEN="\033[0;32m"
COLOR_OCHRE="\033[38;5;95m"
COLOR_BLUE="\033[0;34m"
COLOR_WHITE="\033[0;37m"
COLOR_RESET="\033[0m"
@helloanoop
helloanoop / .npmrc
Created July 24, 2018 09:36
NPM Proxy Settings for Oracle
http_proxy=http://www-proxy.us.oracle.com:80
https_proxy=https://www-proxy.us.oracle.com:443
proxy=http://www-proxy.us.oracle.com:80
strict-ssl=false
registry=http://registry.npmjs.org
@helloanoop
helloanoop / .bashrc
Created June 5, 2018 09:53
Bashrc Aliases
alias gs='git status';
alias gd='git diff';
alias gpm='git push origin master';
alias b='npm run build';
alias t='npm test';
alias sd='npm run start.dev';
alias vscode='/home/anoop/.local/share/umake/ide/visual-studio-code/bin/code';
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+left",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+right",
"command": "workbench.action.terminal.focus",
@helloanoop
helloanoop / gist:930aa2b73c104ce38f79dbdba60bd971
Created February 23, 2018 10:49
OJET Table with Serverside data
<link rel="stylesheet" href="../node_modules/@oracle/oraclejet/dist/css/alta/oj-alta-min.css"/>
<script type="text/javascript" src="../node_modules/requirejs/require.js"></script>
<script type="text/javascript" src="main.js"></script>
<oj-table data="[[datasource]]"
columns='[[columns]]'
row-renderer='[[oj.KnockoutTemplateUtils.getRenderer("row_tmpl", true)]]'>
</oj-table>