Skip to content

Instantly share code, notes, and snippets.

View raks437's full-sized avatar

Rakesh Sharma raks437

  • Amsterdam, Netherlands
  • 14:21 (UTC +02:00)
  • X @raks437
View GitHub Profile
@raks437
raks437 / node.gitignore
Last active November 29, 2018 02:30
Node/JavaScript .gitignore file
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
@echo off
doskey ls=dir $* /w
doskey la=dir /a $*
doskey ll=dir /n $*
doskey lla=dir /n /a $*
doskey rm=del $*
doskey cp=copy $*
doskey mv=move $*
doskey cat=type $*
doskey man=help $*
@raks437
raks437 / Gruntfile.js
Last active August 29, 2015 14:27 — forked from markgoodyear/01-gulpfile.js
Comparison between gulp and Grunt. See http://markgoodyear.com/2014/01/getting-started-with-gulp/ for a write-up.
/*!
* Grunt
* $ npm install grunt-contrib-uglify grunt-autoprefixer grunt-contrib-cssmin grunt-contrib-imagemin grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat grunt-contrib-clean grunt-contrib-jshint grunt-notify --save-dev
*/
module.exports = function(grunt) {
grunt.initConfig({
// Sass

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@raks437
raks437 / rename.sh
Last active August 29, 2015 14:24
Rename Multiple Files using Linux or Bash shell
for file in aro_tty-mIF-*_opt;
do
mv -i "${file}" "${file/-mIF-/-mImpFRA-}";
done
@raks437
raks437 / keybase.md
Last active April 1, 2021 18:46
Prove my identity and publish my public gpg keys

Keybase proof

I hereby claim:

  • I am raks437 on github.
  • I am raks437 (https://keybase.io/raks437) on keybase.
  • I have a public key ASDQJ7a0CJ-05JunoMFhScr_YKojqj7anF52VXgR7hbXrQo

To claim this, I am signing this object:

<form id="contact" name="contact" method="post">
<fieldset>
<label for="name" id="name">Name<span class="required">*</span></label>
<input type="text" name="name" id="name" size="30" value="" required/>
<label for="email" id="email">Email<span class="required">*</span></label>
<input type="text" name="email" id="email" size="30" value="" required/>
<label for="phone" id="phone">Phone</label>
<input type="text" name="phone" id="phone" size="30" value="" />
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh