Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Abhimanyu Sharma abhimanyu003

🏠
Working from home
Block or report user

Report or block abhimanyu003

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
@abhimanyu003
abhimanyu003 / install.sh
Created Jul 2, 2017 — forked from slider23/install.sh
VPS install bash script for Ubuntu 16.04
View install.sh
# =================== YOUR DATA ========================
SERVER_NAME="some-server-name"
SERVER_IP="111.111.11.11"
USER="someuser"
SUDO_PASSWORD="secret-password-one"
MYSQL_ROOT_PASSWORD="secret-password-two"
@abhimanyu003
abhimanyu003 / freetds_install_ubuntu_14.md
Created May 6, 2017 — forked from ghalusa/freetds_install_ubuntu_14.md
Installing and Configuring FreeTDS on Ubuntu 14.04.4 LTS and Establish a Connection via PHP PDO
View freetds_install_ubuntu_14.md

Installing and Configuring FreeTDS on Ubuntu 14.04.4 LTS and Establish a Connection via PHP PDO


Install

sudo apt-get install -y unixodbc unixodbc-dev unixodbc-bin libodbc1 odbcinst1debian2 tdsodbc php5-odbc
@abhimanyu003
abhimanyu003 / input.conf
Created Feb 7, 2016
MPV Keyboard Shortcut to match VLC
View input.conf
## MPV Keyboard Shortcut to match VLC
## Path: /etc/mpv
## ==================
UP ignore # ignore keybinds for
DOWN ignore # directional keys
LEFT seek -10
RIGHT seek 10
SPACE cycle pause # toggle pause
@abhimanyu003
abhimanyu003 / wifi.bat
Last active Jan 25, 2019
Turns your Laptop/PC into a WiFi hotspot. Make sure to "Run as Admin"
View wifi.bat
@echo off
title Wifi Hotspot
echo What You What To Do ?
echo 1 to create wifi
echo 2 to stop wifi
echo 3 show details
set /p input=
if %input%==1 goto 1
if %input%==2 goto 2
View fibonacci-sequence.php
<?php
function fib($n)
{
if ($n < 2)
return $n;
else
return fib($n - 1) + fib($n - 2);
}
?>
You can’t perform that action at this time.