A Pen by Gary Rozanc on CodePen.
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] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
apc.rfc1867 = on |
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 | |
$rand = substr(md5(time()),0,4); | |
$question = $_POST['question']; | |
function getext($img){ | |
$name = strtolower($img); | |
$data = explode(".", $name); | |
$ext = count($data) -1; | |
return $data[$ext]; | |
} |
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 | |
# Updates links so ProFTPD insstall on Centos 7 | |
# Official Sentora Automated Installation Script | |
# ============================================= | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
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
[Fri Sep 13 23:30:42.797679 2019] [php7:error] [pid 1086] [client 000.000.000.000:55832] script '/etc/sentora/panel/elrekt.php' not found or unable to stat | |
[Fri Sep 13 23:43:01.645049 2019] [php7:error] [pid 1711] [client 000.000.000.000:16879] script '/etc/sentora/panel/App.php' not found or unable to stat | |
[Fri Sep 13 23:43:04.643484 2019] [php7:error] [pid 1085] [client 000.000.000.000:17275] script '/etc/sentora/panel/help.php' not found or unable to stat | |
[Fri Sep 13 23:43:05.160567 2019] [php7:error] [pid 1086] [client 000.000.000.000:17628] script '/etc/sentora/panel/java.php' not found or unable to stat | |
[Fri Sep 13 23:43:05.660614 2019] [php7:error] [pid 1083] [client 000.000.000.000:17807] script '/etc/sentora/panel/_query.php' not found or unable to stat | |
[Fri Sep 13 23:43:08.619414 2019] [php7:error] [pid 1332] [client 000.000.000.000:18039] script '/etc/sentora/panel/db_cts.php' not found or unable to stat | |
[Fri Sep 13 23:43:09.167845 2019] [php7:error] [pid 1480] [client 000.000.000.000:18375] script |
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
<main> | |
<article role="article"> | |
<h1>Introduction to web typography</h1> | |
<p class="character-count">Web typography refers to the use of fonts on the World Wide Web. When HTML was first created, font faces and styles were controlled exclusively by the settings of each Web browser. There was no mechanism for individual Web pages to control font display until Netscape introduced the <code><font></code> tag in 1995, which was then standardized in the HTML 2 specification. However, the font specified by the tag had to be installed on the user's computer or a fallback font, such as a browser's default sans-serif or monospace font, would be used. The first <i>Cascading Style Sheets</i> specification was published in <b>1996</b> and provided the same capabilities.</p> | |
<p>The CSS2 specification was released in 1998 and attempted to improve the font selection process by adding font matching, synthesis and download. These techniques did not gain much use, and were removed in the CSS2.1 specificati |
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
<div class="viewport"><span id="w"></span><span id="h"></span></div> | |
<div class="row"> | |
<div class="col-8"> | |
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/135363/LHCL-PRIM-WSTUFF-web-rez.jpg"> | |
</div> | |
<div class="col-4"> | |
<div class="col-12"> | |
<p id="characters">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p> | |
</div> |
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
/* The MIT License */ | |
.dropzone, | |
.dropzone *, | |
.dropzone-previews, | |
.dropzone-previews * { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; |
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
/* | |
* JavaScript MD5 | |
* https://github.com/blueimp/JavaScript-MD5 | |
* | |
* Copyright 2011, Sebastian Tschan | |
* https://blueimp.net | |
* | |
* Licensed under the MIT license: | |
* https://opensource.org/licenses/MIT | |
* |
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
"use strict"; | |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | |
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } | |
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superCl |
NewerOlder