convert sample-avatar.jpeg -resize 250x250^ -gravity center -crop 250x250+0+0 result.jpg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\]$ " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// `npm install robotjs` before running | |
let robot = require("robotjs"); | |
let curTime; | |
let tym; | |
let inMinutes; | |
robot.setMouseDelay(2); | |
let screenSize = robot.getScreenSize(); | |
let height = (screenSize.height / 2) - 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parserOptions": { | |
"ecmaVersion": 6 | |
}, | |
"extends": "google", | |
"rules": { | |
"require-jsdoc": [ | |
"off" | |
], | |
"max-len": ["warn"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Semantic Starter</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"> | |
</head> | |
<body> | |
<div class="ui container"> | |
<div class="ui stackable grid"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"added_words": | |
[ | |
"Techno", | |
"Cubet", | |
"Arduino" | |
], | |
"auto_format_on_save": true, | |
"binary_file_patterns": | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parserOptions": { | |
"ecmaVersion": 6 | |
}, | |
"extends": "google", | |
"rules": { | |
"require-jsdoc": [ | |
"off" | |
], | |
"max-len": ["off"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function alertEveryone(fullName) { | |
let myName = `Mighty ${fullName}`; | |
for (let i = 0; i < length; i++) { | |
console.log(`${myName} is coming..`) | |
} | |
} | |
alertEveryone("Octocat"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let people = [ | |
["Arun Prabhakaran", | |
"Abhilash Pillai", | |
"Vishnu Agikumar", | |
"Lovegin John", | |
"Akhilesh PV", | |
"Bibin Binny Mathew ", | |
"Amal Babu"], | |
["Akhil Xavier", |
OlderNewer