Skip to content

Instantly share code, notes, and snippets.

View pramanikshreya's full-sized avatar
🐱
Focusing

Shreya Pramanik pramanikshreya

🐱
Focusing
View GitHub Profile
@soham2008xyz
soham2008xyz / git-aliases.sh
Last active May 19, 2017 15:32
Shorthand aliases for common Git commands
#!/usr/bin/env bash
alias gi="git init"
alias grao="git remote add origin"
alias grso="git remote set-url origin"
alias gpom="git push origin master"
alias gpum="git push -u origin master"
alias gl="git log"
alias glo="git log --pretty --oneline"
alias gs="git status"
@soham2008xyz
soham2008xyz / .editorconfig
Created December 19, 2015 12:37
EditorConfig file for HTML/CSS/JS
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
@sepehr
sepehr / in_arrayi.php
Created August 27, 2013 09:12
PHP: Case-insensitive in_array()
<?php
/**
* Case-insensitive in_array() wrapper.
*
* @param mixed $needle Value to seek.
* @param array $haystack Array to seek in.
*
* @return bool
*/
.fc {
direction: ltr;
text-align: left; }
.fc table {
border-collapse: collapse;
border-spacing: 0; }
.fc .btn {
line-height: 1.2em; }
html .fc {