Made on a whim for a fellow codepen users birthday.
A Pen by Mark Thomes on CodePen.
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
#!/bin/bash | |
# | |
# Example of how to parse short/long options with 'getopt' | |
# | |
OPTS=`getopt -o vhns: --long verbose,dry-run,help,stack-size: -n 'parse-options' -- "$@"` | |
if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi | |
echo "$OPTS" |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta http-equiv="refresh" content="0;URL=../new-page.htm" /> | |
<title>Redirect to... title of new-page</title> | |
</head> | |
<body> | |
<h1>Re-directing...</h1> | |
<p>You are being re-directed, if nothing happens, please <a href="../new-page.htm">follow this link</a></p> |
Made on a whim for a fellow codepen users birthday.
A Pen by Mark Thomes on CodePen.
# alias radio='function __radio(){ r=`grep -v "#" radios_nacionales.txt | grep -m 1 -i $1 | cut -d" " -f1`; cvlc $r; }; __radio' | |
# podria utilizarse mplayer en vez de vlc | |
AMs Nacionales | |
http://200.68.81.65:8000/am530 Radio Madre 530 | |
http://wmserver3.aginet.com.ar:19043 Radio Colonia 550 | |
http://195.154.182.222:26016/;stream/1 Radio Argentina 570 | |
http://7359.live.streamtheworld.com/CONTINENTAL.mp3 Continental 590 | |
http://181.119.20.132:8234/stream Rivadavia 630 |
<?php | |
if (isset($_GET['seek'])) { | |
$seek = $_GET['seek']; | |
$lines = []; | |
$handle = fopen('error_log', 'rb'); | |
if ($seek > 0) { | |
fseek($handle, $seek); | |
} |
You can use this script to bypass the bans on Telegram API by different hosts. Simply send the request to this script instead of the Telegram Bot API after deploying it as a web app and allowing anonymous access.
It accepts bot GET and POST requests with the following params
name | type | Description |
---|
version: '3' | |
services: | |
devbox: | |
build: | |
context: ./ | |
dockerfile: DevBox.DockerFile | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: |
version: '3.6' | |
services: | |
db: | |
image: mysql:latest | |
command: --default-authentication-plugin=mysql_native_password | |
environment: | |
MYSQL_ROOT_PASSWORD: e9w86036f78sd9 | |
volumes: | |
- "./database:/var/lib/mysql" | |
db_pma: |
<?php | |
$connect = mysqli_connect("localhost", "root", "", "auto_refresh"); | |
if(isset($_POST["submit"])) | |
{ | |
if(!empty($_POST["search"])) | |
{ | |
$query = str_replace(" ", "+", $_POST["search"]); | |
header("location:index.php?search=" . $query); | |
} | |
} |