init() ... ^1000
$(document).ready(function () {
$('img.svg').each(function () {
var $img = jQuery(this);
var imgID = $img.attr('id');
var imgClass = $img.attr('class');
var imgURL = $img.attr('src');
jQuery.get(imgURL, function (data) {
var $svg = jQuery(data).find('svg');
if (typeof imgID !== 'undefined') {
$svg = $svg.attr('id', imgID);
}
if (typeof imgClass !== 'undefined') {
$svg = $svg.attr('class', imgClass + ' replaced-svg');
}
$svg = $svg.removeAttr('xmlns:a');
$img.replaceWith($svg);
}, 'xml');
});
});
$(window).load(function () {
var c = document.getElementById("useya-the-matrix");
var letters = "USEYA";
var color = "#ff642b";
var font_size = 16;
if (c != null) {
var ctx = c.getContext("2d");
c.height = window.innerHeight;
c.width = window.innerWidth;
letters = letters.split("");
var columns = c.width / font_size;
var drops = [];
for (var x = 0; x < columns; x++) drops[x] = 1;
function draw() {
ctx.fillStyle = "rgba(0, 0, 0, 0.05)";
ctx.fillRect(0, 0, c.width, c.height);
ctx.fillStyle = color;
ctx.font = font_size + "px arial";
for (var i = 0; i < drops.length; i++) {
var text = letters[Math.floor(Math.random() * letters.length)];
ctx.fillText(text, i * font_size, drops[i] * font_size);
if (drops[i] * font_size > c.height && Math.random() > 0.975) drops[i] = 0;
drops[i]++;
}
}
setInterval(draw, 66);
}
});
^1000
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('email')->unique();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('users');
}
}
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class AdministratorController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('authenticate');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('index', compact('data'));
}
public function softwareQuestions () {
return $customer->hasMany('App\Question');
}
public function answers () {
return $useya->hasAll('App\Answers');
}
}
^1500
.fade-in {
animation-name: fadein;
animation-duration: 2s;
animation-fill-mode: forwards;
opacity: 0;
}
.typed-cursor {
opacity: 1;
-webkit-animation: blink 0.7s infinite;
-moz-animation: blink 0.7s infinite;
animation: blink 0.7s infinite;
}
@keyframes blink {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.nav-top i {
border-left: 1px solid #ff642b;
border-top: 1px solid #ff642b;
-ms-transform: rotate(45deg);
-ms-transform-origin: 0% 100%;
-webkit-transform: rotate(45deg);
-webkit-transform-origin: 0% 100%;
transform: rotate(45deg);
transform-origin: 0% 70%;
}
.btn-square {
border: 3px solid #fff;
letter-spacing: 5px;
padding: 25px;
max-width: 100%;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.btn-square:hover {
color: #ffffff;
border-color: #ff642b;
background-color: #ff642b;
}
::-webkit-scrollbar {
width: 2px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
background: #ff642b;
}