Skip to content

Instantly share code, notes, and snippets.

@larek
larek / Module.php
Last active August 14, 2020 11:09
Update modules/admin/Module.php file
<?php
namespace app\modules\admin;
use yii\filters\AccessControl;
/**
* admin module definition class
*/
class Module extends \yii\base\Module
{
<style type="text/css">
/* ==========*
* HTML TAGS *
* ==========*/
html, body {
background: #FFFFFF;
@larek
larek / index.html
Last active March 24, 2017 16:40
Simple jquery post request
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script>
<script>
$(document).ready(function(){
// Click on the button