This file contains 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
#!/usr/bin/env php | |
<?php | |
/* BEGIN CONFIG for this script */ | |
$globalSearchStrings = [ | |
'relevance.com', | |
]; | |
$newDomain = 'localhost'; |
This file contains 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> | |
<!-- saved from url=(0030)http://output.jsbin.com/erajer --> | |
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<script type="text/javascript" async="" src="./Unicode Show Me_files/linkid.js"></script><script async="" src="./Unicode Show Me_files/analytics.js"></script><script class="jsbin" src="./Unicode Show Me_files/jquery.min.js"></script> | |
<!-- | |
Created using JS Bin | |
http://jsbin.com | |
Copyright (c) 2017 by anonymous (http://jsbin.com/erajer/16/edit) |
This file contains 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> | |
<head> | |
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<!-- | |
Created using JS Bin | |
http://jsbin.com |
This file contains 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 > | |
<head> | |
<meta charset="UTF-8"> | |
<title>Create a New Pen</title> | |
This file contains 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 | |
$output = exec('host ' . $_SERVER['REMOTE_ADDR']); | |
if (preg_match('@domain name pointer (.+)@', $output, $matches)) | |
$output = $matches[1]; | |
?> | |
<!doctype html> | |
<html> |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
This file contains 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
#!/usr/bin/env bash | |
echo '>>>> Fixing root .profile' | |
sed -i 's/^mesg n$/tty -s \&\& mesg n/g' /root/.profile | |
echo '>>>> Setting up "admin" group' | |
! grep -i '^admin:' /etc/group &>/dev/null && groupadd admin &>/dev/null | |
echo '>>>> Updating packages list' | |
#apt-get update |