Skip to content

Instantly share code, notes, and snippets.

View abhimanyu003's full-sized avatar
🏠
Running Remotely 🏃‍♂️

Abhimanyu Sharma abhimanyu003

🏠
Running Remotely 🏃‍♂️
View GitHub Profile
@abhimanyu003
abhimanyu003 / input.conf
Created February 7, 2016 01:15
MPV Keyboard Shortcut to match VLC
## 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 / fibonacci-sequence.php
Created June 15, 2013 19:27
Fibonacci sequence
<?php
function fib($n)
{
if ($n < 2)
return $n;
else
return fib($n - 1) + fib($n - 2);
}
?>
@abhimanyu003
abhimanyu003 / wifi.bat
Last active January 25, 2019 07:54
Turns your Laptop/PC into a WiFi hotspot. Make sure to "Run as Admin"
@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
@abhimanyu003
abhimanyu003 / freetds_install_ubuntu_14.md
Created May 6, 2017 14:22 — 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

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