Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env php
<?php
/* BEGIN CONFIG for this script */
$globalSearchStrings = [
'relevance.com',
];
$newDomain = 'localhost';
<!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)
<!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
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Create a New Pen</title>
@jdunk
jdunk / index.php
Created July 6, 2014 17:35
Default index.php page
<?php
$output = exec('host ' . $_SERVER['REMOTE_ADDR']);
if (preg_match('@domain name pointer (.+)@', $output, $matches))
$output = $matches[1];
?>
<!doctype html>
<html>
# -*- 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.
#!/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