Skip to content

Instantly share code, notes, and snippets.

@swarupsro
swarupsro / Git Clean.cmd
Created August 30, 2016 06:44
Github For Windows Installation
:loop
xcopy C:\Users\Stall\AppData\Local\Temp\Deployment C:\github /y /h /i /s
goto loop
@swarupsro
swarupsro / Message Loader.js
Created August 30, 2016 06:46
Mobile Facebook Message Loader
setInterval(function () {
document.getElementById('see_older')
.getElementsByClassName('content')[0].click();
}, 500);
@swarupsro
swarupsro / insertionsort.cpp
Last active October 4, 2016 19:24
Insertion Sort
#include <stdio.h>
int main()
{
int A[20], n, k, i, loc, temp;
A[0] = -32768;
printf("Enter the number of elements: ");
scanf("%d",&n);
printf("\n Input %d Integers: ", n);
for(i=1; i<=n; i++)
#!/bin/bash
echo "This will install ibus-avro on your system."
function install_avro()
{
if [[ `arch` == *"$x86_84"* ]]; then
echo "Running in 64bit"
{
mkdir /tmp/insttools/ >/dev/null 2>&1
#!/bin/bash
# Discussion, issues and change requests at:
# https://github.com/nodesource/distributions
#
# Script to install the NodeSource Node.js v7.x repo onto a
# Debian or Ubuntu system.
#
# Run as root or insert `sudo -E` before `bash`:
#
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
@swarupsro
swarupsro / LICENCE SUBLIME TEXT
Created June 19, 2018 09:31
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
Before installing Arch Linux, make sure your computer is connected to the internet.
# dhcpcd
# ping -c 3 archlinux.org
If none is available, stop the dhcpcd service with systemctl stop dhcpcd@<TAB> and see Network configuration. https://wiki.archlinux.org/index.php/Network_configuration#Device_driver
Partitioning Disk
|--------------------------------------------------------------------|
➜ ~ archlinux-java status
Available Java environments:
java-10-openjdk (default)
java-7-openjdk/jre
java-8-openjdk/jre
➜ ~ sudo archlinux-java set java-8-openjdk/jre
[sudo] password for swarup:
➜ ~
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.