Skip to content

Instantly share code, notes, and snippets.

Premkumar Subramanian forevergenin

Block or report user

Report or block forevergenin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@forevergenin
forevergenin / add_users_and_group.sh
Created Mar 28, 2017
Automate adding multiple users and add them to single group on linux system
View add_users_and_group.sh
#/bin/bash
groupadd developer
_USERS='admin '
for _USER in ${_USERS}
do
useradd ${_USER} -mN -G developer
done
@forevergenin
forevergenin / yum-rpm-repo-update-sed.sh
Created Mar 28, 2017
Sed Script to update Yum Repo Data
View yum-rpm-repo-update-sed.sh
#!/usr/bin/env sed -f
#grep ^metalink /etc/yum.repos.d/*
#grep ^mirrorlist /etc/yum.repos.d/*
#grep ^#base /etc/yum.repos.d/*
#grep ^base /etc/yum.repos.d/*
#grep ^base /etc/yum.repos.d/* | uniq -u
s/^metalink/#metalink/g
s/^mirrorlist/#mirrorlist/g
@forevergenin
forevergenin / xterm-256color.svg
Created Sep 29, 2016 — forked from jasonm23/xterm-256color.svg
Xterm 256color mode color chart, organised into sections.
View xterm-256color.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View keybase.md

Keybase proof

I hereby claim:

  • I am forevergenin on github.
  • I am forevergenin (https://keybase.io/forevergenin) on keybase.
  • I have a public key ASCoDfExM-f_mjVz1TCJMFvcTZl96X7TetDbCuTBffSiowo

To claim this, I am signing this object:

@forevergenin
forevergenin / config.log
Created May 24, 2015
rtorrent homebrew installation failure log with gcc v5.1.0 on OS X 10.10.3 - config.log
View config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by rtorrent configure 0.9.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/rtorrent/0.9.4_1
## --------- ##
## Platform. ##
@forevergenin
forevergenin / 02.make.cc
Created May 24, 2015
rtorrent homebrew installation failure log with gcc v5.1.0 on OS X 10.10.3 - 02.make.cc
View 02.make.cc
g++-5 called with: -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -DNDEBUG -D_THREAD_SAFE -I/usr/local/Cellar/libtorrent/0.13.4/include -c -o curl_get.o curl_get.cc
superenv removed: -g -O2
superenv added: -pipe -w -Os -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/apache2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
superenv executed: gcc-5 -pipe -w -Os -DHAVE_CONFIG_H -I. -I../.. -I./.. -DNDEBUG
@forevergenin
forevergenin / 02.make
Created May 24, 2015
rtorrent homebrew installation failure log with gcc v5.1.0 on OS X 10.10.3 - 02.make
View 02.make
2015-05-24 16:15:12 +0530
make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in src
Making all in core
g++-5 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -DNDEBUG -D_THREAD_SAFE -I/usr/local/Cellar/libtorrent/0.13.4/include -c -o curl_get.o curl_get.cc
@forevergenin
forevergenin / 01.configure.cc
Created May 24, 2015
rtorrent homebrew installation failure log with gcc v5.1.0 on OS X 10.10.3 - 01.configure.cc
View 01.configure.cc
g++-5 called with: --version
superenv added: -pipe -Os -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/apache2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -L/usr/local/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
sup
@forevergenin
forevergenin / 01.configure
Last active Aug 29, 2015
rtorrent homebrew installation failure log with gcc v5.1.0 on OS X 10.10.3 - 01.configure
View 01.configure
2015-05-24 16:15:01 +0530
./configure
--disable-debug
--disable-dependency-tracking
--prefix=/usr/local/Cellar/rtorrent/0.9.4_1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/private/tmp/rtorrent20150524-78978-1ecjv1i/rtorrent-0.9.4/missing: Unknown `--is-lightweight' option
You can’t perform that action at this time.