This file contains hidden or 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
<body> | |
<!--Título--> | |
<h1>Tabs with CSS3 & HTML5 only</h1> | |
<!--Contenedor--> | |
<div id="container"> | |
<!--Pestaña 1 activa por defecto--> | |
<input id="tab-1" type="radio" name="tab-group" checked="checked" /> | |
<label for="tab-1">Tab 1</label> | |
<!--Pestaña 2 inactiva por defecto--> | |
<input id="tab-2" type="radio" name="tab-group" /> |
This file contains hidden or 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> | |
<form class="form"> | |
<div class="form__cover"></div> | |
<div class="form__loader"> | |
<div class="spinner active"> | |
<svg class="spinner__circular" viewBox="25 25 50 50"> | |
<circle class="spinner__path" cx="50" cy="50" r="20" fill="none" stroke-width="4" stroke-miterlimit="10"></circle> | |
</svg> | |
</div> | |
</div> |
This file contains hidden or 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="support-grid"></div> | |
<div class="band"> | |
<div class="item-1"> | |
<a href="https://design.tutsplus.com/articles/international-artist-feature-malaysia--cms-26852" class="card"> | |
<div class="thumb" style="background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/210284/flex-1.jpg);"></div> | |
<article> | |
<h1>International Artist Feature: Malaysia</h1> | |
<span>Mary Winkler</span> | |
</article> |
This file contains hidden or 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 | |
class Vcode{ | |
//成员属性 | |
private $width; | |
private $height; | |
private $type; | |
private $length; | |
private $img; | |
private $code; | |
private $fontSize; |
This file contains hidden or 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 | |
$w = 80; //设置图片宽和高 | |
$h = 26; | |
$str = Array(); //用来存储随机码 | |
$string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";//随机挑选其中4个字符,也可以选择更多,注意循环的时候加上,宽度适当调整 | |
for ($i = 0; $i < 4; $i++) { | |
$str[$i] = $string[rand(0, 35)]; | |
$vcode .= $str[$i]; | |
} | |
session_start(); //启用超全局变量session |
This file contains hidden or 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 | |
/** | |
* Created by PhpStorm. | |
* User: mac | |
* Date: 2018/1/9 | |
* Time: 21:14 | |
*/ | |
class Upload | |
{ |
This file contains hidden or 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 | |
/** | |
* Created by PhpStorm. | |
* User: mac | |
* Date: 2018/1/12 | |
* Time: 17:11 | |
*/ | |
class Person | |
{ |
This file contains hidden or 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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains hidden or 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
.modal-bg { | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background-color: rgba(0, 0, 0, 0.78); | |
} | |
.modal { |