Skip to content

Instantly share code, notes, and snippets.

View joybh98's full-sized avatar
🏠
Working from home

Joy Bhalla joybh98

🏠
Working from home
View GitHub Profile
@joybh98
joybh98 / command.txt
Created May 11, 2020 09:13
Move/Copy first/last n files to subdirectory
# First n files
$ find . -maxdepth 1 -type f |head -n|xargs cp -t "$destdir"
# Last n files
$ find . -mindepth 1 -type f |head -n|xargs cp -t "$destdir"
@joybh98
joybh98 / .hyper.js
Last active June 8, 2019 04:57
.hyper.js Config File
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@joybh98
joybh98 / .hyper.js
Created May 31, 2019 05:45
.hyper.js Content
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',