Skip to content

Instantly share code, notes, and snippets.

View Avesha-2016's full-sized avatar

Людмила Avesha-2016

View GitHub Profile
@Sachinart
Sachinart / file.php
Last active February 15, 2017 10:20
These codes may help you to make a text (or HTML, CSS, XML or any textual document) content to download in a desired format online. It is very helpful when you want to create a file with desired format on your mobile.
<html>
<head>
</head>
<body>
<form action="fileDload.php" method="POST">
<table>
<tr>
<td><textarea name="textarea" cols=50 rows=10 placeholder="Enter your content here"></textarea></td>
<td><tr><td><input type="text" name="ext" placeholder="Type Extension here"/></td></tr><tr><td><input type="submit" value="Download" "></td></tr></td>
<input type="text" name="filename" placeholder="Enter file name"/>
@matsubo
matsubo / 404.html
Last active May 10, 2021 06:44
make Ruby on Rails error page fancy!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>The page you were looking for doesn't exist (404)</title>
<!-- Latest compiled and minified CSS -->