Skip to content

Instantly share code, notes, and snippets.

View dineshsprabu's full-sized avatar

Dineshprabu S dineshsprabu

  • Bangalore, India.
View GitHub Profile
@dineshsprabu
dineshsprabu / minergate_cli.md
Last active December 29, 2017 16:30 — forked from balinux/gist:af5465cc4078f2022844be6509b21fff
Minergate-cli ubuntu installation

Run this command to install MG-CLI:

sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb

start miner (4 cores for BCN) use this command:

minergate-cli -user <YOUR@EMAIL.com> -bcn 4
@dineshsprabu
dineshsprabu / configuring_pjax.txt
Last active April 25, 2017 05:45 — forked from livando/pjax
[RAILs] Pjax implementation in Rails
1) add gem
2) create vendor directory, and download script
3) configure application.rb
4) write js that points the trigger to the displayer
5) ensure the trigger has the correct jquery selector
6) ensure the displayer has the correct jquery selector
1) add gem
gem 'rack-pjax'
@dineshsprabu
dineshsprabu / perform_action_when_element_available.js
Created July 28, 2016 06:36 — forked from dineshprabu-freshdesk/perform_action_when_element_available.js
[JQUERY] Perform an action only when element is Available
jQuery('element').livequery(function(){
//element available now.
});