Skip to content

Instantly share code, notes, and snippets.

View ashut0shk's full-sized avatar
🎯
!coding || !procrastinating

Ashutosh Kumar ashut0shk

🎯
!coding || !procrastinating
View GitHub Profile
<!doctype html>
<html>
<head>
<title>SSH Client</title>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.5/socket.io.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<style>
body {
margin: 0;
padding: 0;
#!/bin/bash
# Installs the XCode command line tools if you don't have them
xcode-select --install
# Installs brew if you don't have it
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Makes your account the owner of /usr/local, which is preferred on single user Macs
sudo chown -R `whoami` /usr/local
# Installs all the dependencies for building libtorrent and rtorrent
brew install automake libtool boost curl lzlib libsigc++ openssl pkg-config xmlrpc-c
# Uninstall libtorrent-rasterbar if you already have it
@ashut0shk
ashut0shk / mac-apps.md
Created July 17, 2017 07:55 — forked from erikreagan/mac-apps.md
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik

@ashut0shk
ashut0shk / github-oauth2-client.php
Created December 8, 2016 09:56 — forked from DBasic/github-oauth2-client.php
[php] github oauth2 authorization
<?php
define('OAUTH2_CLIENT_ID', '');
define('OAUTH2_CLIENT_SECRET', '');
$authorizeURL = 'https://github.com/login/oauth/authorize';
$tokenURL = 'https://github.com/login/oauth/access_token';
$apiURLBase = 'https://api.github.com/';
session_start();
@ashut0shk
ashut0shk / sublime_text_3
Created December 8, 2016 09:55 — forked from DBasic/sublime_text_3
[ST3] Guides, configs, keys
Sublime Text 3
/*=================================================================
= Сделать текстовым редактором по умолчанию =
=================================================================*/
/* LINUX */
First, make sure that /usr/share/applications/sublime_text.desktop exists: