Skip to content

Instantly share code, notes, and snippets.

View cleiton-tavares's full-sized avatar
:shipit:
Rocket Science

Cleiton Tavares cleiton-tavares

:shipit:
Rocket Science
View GitHub Profile
xmrig.exe -o us-west.minexmr.com:443 -u 84M5HUkoPkhciKqN5ZkpRh5WtnjNXdaFSZatnm73JEHRCxUVrVZ4aQs2RjqQr5oMbxJsBPbzrjyT3NpVuCqzRhdRKfgPNr4 -k --tls --rig-id rtx
add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
apt install exfat-fuse exfat-utils htop
apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev
git clone https://github.com/xmrig/xmrig.git xrmig
cd xrmig
mkdir build
cd build
cmake ..
make
git rm -r --cached .
git add .
git commit -m "Removing all files in .gitignore"
package com.bluedental.tests;
import java.util.regex.Pattern;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
(function() {
'use strict';
/**
* Created by Cleiton on 16/08/2015.
*/
cloud.factory('utils', function ( $rootScope, $ionicPopup, URI, ENV) {
var _alert = function(data){
return $ionicPopup.alert({
title: data.title,
@cleiton-tavares
cleiton-tavares / gist:4cb8a4ee1c2546b1d4ae
Created May 26, 2015 22:42
Factory to calculate discount
meuAPP.factory("finacial", function ($http, $rootScope, $filter) {
var _discount = function (price, purchaseDiscount){
var value = (price - (price*(purchaseDiscount/100));
var total = filter('currency')(value) "R$ ");
return total
}
return {
discount : _discount