Skip to content

Instantly share code, notes, and snippets.

@icaliman
icaliman / multiple_ssh_setting.md
Created October 4, 2022 17:34 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

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"
@icaliman
icaliman / install_nodejs_and_git_centos.sh
Last active August 26, 2015 19:26
Install Node.js and Git on CentOS
#!/bin/bash
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.26.0/install.sh | bash
source ~/.bash_profile
nvm install stable
nvm use stable
nvm alias default stable
@icaliman
icaliman / install_nodejs_and_git_ubuntu.sh
Last active November 30, 2016 11:08
Install Node.js and Git on Ubuntu
!/bin/bash
sudo apt-get update
sudo apt-get install build-essential libssl-dev -y
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.26.0/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 0.12
nvm use 0.12
nvm alias default 0.12
@icaliman
icaliman / install_ffmpeg_centos.sh
Created March 28, 2015 14:55
Install latest ffmpeg on Centos with libmp3lame enabled
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Centos
# Inspired from https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
# Get the dependencies:
sudo yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel
mkdir ~/ffmpeg_sources
@icaliman
icaliman / install_ffmpeg_ubuntu.sh
Last active May 12, 2019 04:06
Install latest ffmpeg on ubuntu 12.04 or 14.04 with libmp3lame enabled
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update
@icaliman
icaliman / gist:c517c374745aef5ed628
Created May 12, 2014 13:22
KineticJS@v5.1.0 Custom Clip Region
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok