wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
sudo apt update -y
sudo apt install gdebi -y
sudo gdebi teamviewer_amd64.deb
sudo teamviewer passwd PASSWORD_TO_BE_CHANGED
sudo teamviewer daemon enable
teamviewer info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en" prefix="op: http://media.facebook.com/op#"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <!-- URL of the web version of this article --> | |
| <!-- TODO: Change the domain to match the domain of your website --> | |
| <link rel="canonical" href="http://example.com/article.html"> | |
| <meta property="op:markup_version" content="v1.0"> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm /usr/local/bin/subl; | |
| sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // CONFIG //////////////// | |
| var initialBetAmount = 1; | |
| var mode = 'martingale'; // can be 'martingale' or 'anti-martingale' (WAT? https://en.wikipedia.org/wiki/Martingale_(betting_system) ) | |
| var betColor = 'red'; // can be 'red' or 'black' | |
| ////////////////////////// | |
| function tick(){var a=getStatus();if(a!==lastStatus&&"unknown"!==a){switch(a){case"waiting":bet();break;case"rolled":rolled()}lastStatus=a,printInfo()}}function checkBalance(){return getBalance()<currentBetAmount?(console.warn("BANKRUPT! Not enough balance for next bet, aborting."),clearInterval(refreshIntervalId),!1):!0}function printInfo(){var a=" \nStatus: "+lastStatus+"\nRolls played: "+currentRollNumber+"\nInitial bet amount: "+initialBetAmount+"\nCurrent bet amount: "+currentBetAmount+"\nLast roll result: "+(null===wonLastRoll()?"-":wonLastRoll()?"won":"lost");console.log(a)}function rolled(){return"anti-martingale"===mode?void antiMartingale():(martingale(),void currentRollNumber++)}function antiMartingale(){currentBetAmount=wonLastRoll() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/marten-cz/casperjs-deb -- | |
| sudo add-apt-repository ppa:martin.malek/testing && sudo apt-get update && sudo apt-get install casperjs | |
| tep 1: Installing PhantomJS | |
| - Download the latest source | |
| wget http://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-x86_64.tar.bz2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $before = "1462871236"; // time from mysql | |
| $now = time(); | |
| $diff = $now - $before; | |
| if( 1 > $diff ){ | |
| exit('Target Event Already Passed (or is passing this very instant)'); | |
| } else { | |
| $w = $diff / 86400 / 7; | |
| $d = $diff / 86400 % 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?PHP | |
| /** | |
| * Spintax - A helper class to process Spintax strings. | |
| * @name Spintax | |
| * @author Jason Davis - https://www.codedevelopr.com/ | |
| * Tutorial: https://www.codedevelopr.com/articles/php-spintax-class/ | |
| */ | |
| class Spintax | |
| { | |
| public function process($text) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |