###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
<?php | |
/** | |
* Funzioni per file e directory | |
* Version: 4.15.04.28-01:02 | |
* Author: Sir Xiradorn | |
* xiradorn.it - 2015 | |
*/ | |
/**** // Funzione di uso // ****/ |
{********************************************************************************** | |
** ** | |
** Sir Xiradorn PAL Script for Meaclub Radio ** | |
** Gestione Automatica delle playlist che si ripetono per ogni 3 ore ** | |
** Aggiunta funzioni di ripulitura e alcune funzione di controllo ancora in beta ** | |
** Versione: 2.06.00 ** | |
** ** | |
***********************************************************************************} | |
// Inizializzazione del Loop |
<?php | |
/* X-Meta Img Auto Recog */ | |
$xir_meta_img = '/(?<xir_img_link>(?:<img (?(?=id)(?<xir_id>id="xir_(?:.*?)")) src="(?<xir_src>(?:(?:(?:http:|https:|)\/\/).*?)(?:\.jpg|\.jpeg|\.png|\.svg|\.gif))" \/>))/'; | |
/* X-Meta Img Auto Recog - Powered */ | |
$xir_meta_img_nospecial = '/(?<xir_img_link>(?:<img (?(?=id)(?<xir_id>id="xir_(?:.*?)")) src="(?<xir_src>(?:(?:(?:http:|https:|)(?:\/\/)(?:[a-zA-Z0-9\.\-\/\%\_\~]+)))(?:\.jpg|\.jpeg|\.png|\.svg|\.gif))" \/>))/'; | |
/* X-Phpbb Seo Auto Recog */ | |
$phpbb_seo_link = '/(?<link>(?:https:|http:)(?:\/\/)(?:[a-zA-Z0-9\.\-\/\%\_\~]+)(?:\.html)(?(?=\#)(?:[\#p]{2}[0-9]+)))/'; | |
/* X-Beautify Link Recog */ | |
$phpbb_seo_shorter_link = '/(?<link>(?:https:|http:)(?:\/\/'.str_replace('/','\/',$forum_path).'/)(?<linkpart>[a-zA-Z0-9\.\-\/\%\_\~]+)(?<ext>\.html))(?(?=\#)(?:[\#p]{2}[0-9]+))/'; | |
?> |
div.container | |
input(type="submit", value="testo") | |
input.green(type="submit", value="testo") | |
input.yellow(type="submit", value="testo") | |
input.limegreen(type="submit", value="testo") | |
input.orangered(type="submit", value="testo") | |
input.gold(type="submit", value="testo") | |
input.crimson(type="submit", value="testo") | |
input.blue(type="submit", value="testo") | |
input.firebrick(type="submit", value="testo") |
###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
Vagrant.configure(2) do |config| | |
config.vm.boot_timeout = 1000 | |
config.vm.graceful_halt_timeout = 200 | |
config.vm.box = "ubuntu/trusty32" | |
config.vm.box_url = "https://atlas.hashicorp.com/ubuntu/boxes/trusty32" | |
config.vm.hostname = "darklab" | |
config.vm.network :forwarded_port, guest: 80, host: 9000, auto_correct: true |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style>html,body{width:100%;height:100%;position:relative;background:#eee;text-align:center;margin:0;padding:0;}#demo{background:crimson;width:200px;margin:0 auto;text-align:center;height:200px;display:block;position:absolute;top:50%;left:50%;margin:-100px 0 0 -100px;vertical-align:middle;}#tastoAutoNasconde{display:inline-block;border:1px solid grey;padding:6px 16px;border-radius:6px;text-decoration:none;margin:0 auto;text-align:center;color:grey;cursor:pointer;background:black;overflow:hidden;}#demo span{padding:45% 0;height:10%;display:block;}</style> | |
</head> | |
<body> | |
<h3>Il box riapparirà tra <span id="countDown">4</span> secondi</h3> |
/** | |
* Global Href Remover except links into container | |
* @author Sir Xiradorn <http://xiradorn.it> | |
*/ | |
(function(){ | |
// config | |
var config = { | |
id : 'fmenu', | |
colorTxt : 'gray', | |
cursor : 'not-allowed' |
.container | |
.row | |
.col-2.text-center.bg-secondary-dark-darkgreen Testo | |
.col-2.bg-primary-normale-red Testo | |
.row | |
.col-2.text-center.bg-primary-dark-darkred Testo | |
.col-2.text-right.bg-secondary-normale-green Testo | |
.row | |
.col-2.text-center.bg-third-normale-purple Testo | |
.col-2.text-center.bg-third-dark-violet Testo |