SSH into Root
$ ssh [email protected]
Change Root Password
| " Specify a directory for plugins | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
| Plug 'scrooloose/nerdtree' | |
| "Plug 'tsony-tsonev/nerdtree-git-plugin' | |
| Plug 'Xuyuanp/nerdtree-git-plugin' | |
| Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
| Plug 'ryanoasis/vim-devicons' | |
| Plug 'airblade/vim-gitgutter' |
| http://cronus.allowed.org works for me, 2018.1.6 |
| #!/usr/bin/env python3 | |
| import subprocess | |
| from selenium import webdriver | |
| some_site = 'http://www.google.com' | |
| chromedriver_path = '/usr/lib/chromium-browser/chromedriver' | |
| # Block until Chromium finishes launching and self-terminates | |
| subprocess.run(['chromium-browser', '--headless', '--disable-gpu', '--dump-dom', 'about:blank']) |
SSH into Root
$ ssh [email protected]
Change Root Password
| # Path to your oh-my-zsh configuration. | |
| ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="custom" | |
| # Example aliases |
| #!/usr/bin/python | |
| # This script prevents screen saver get activated by moving mouse periodically. | |
| # EAO-09.2012 | |
| import win32api, time | |
| print "Die screensaver !" | |
| dif=1 | |
| exc=False | |
| while True: | |
| try: |
| #!/usr/bin/python | |
| # This script prevents screen saver get activated by moving mouse periodically. | |
| # EAO-09.2012 | |
| import win32api, time | |
| print "Die screensaver !" | |
| dif=1 | |
| exc=False | |
| while True: | |
| try: |
| # Add the "https://github.com/jwt/ruby-jwt" gem to your "Gemfile" | |
| gem 'jwt' |
##Install MongoDB on macOS Sierra
This procedure explains how to install MongoDB using Homebrew on macOS Sierra 10.12.
Official MongoDB install documentation: here
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"| $paginador = 6; | |
| $contador_interno = 1; | |
| $total_tickets = 18; | |
| $cada = ceil($total_tickets/$paginador); | |
| $total_pagina = $cada * 5; | |
| for($contador = 1; $contador<=$cada; $contador++){ | |
| for($contador_interno = $contador; $contador_interno<=$total_pagina+$contador; $contador_interno += $cada){ | |
| if($contador_interno<=$total_tickets){ | |
| echo $contador_interno.' '; |