Skip to content

Instantly share code, notes, and snippets.

@Mangetsu
Mangetsu / aes_128_ecb_pkcs5.php
Created November 10, 2020 15:17 — forked from parsibox/aes_128_ecb_pkcs5.php
php AES128/ECB/PKCS7 padding / AES128/ECB/PKCS5
<?php
/**
* AES for PHP AES/ECB/PKCS5Padding
* @author kevin(email: askyiwang@gmail.com, qq: 841694874)
* @date 2016年10月25日22:27:21
* @charset utf-8
*/
class Security {
private $key = null;
@Mangetsu
Mangetsu / select2-cascade.js
Created July 28, 2017 09:51 — forked from ajaxray/ select2-cascade.js
Making Select2 (4.x) list boxes cascading / dependent. Options of a select2 list box will be loaded/refreshed by ajax based on selection of another select2 list box.
/**
* A Javascript module to loadeding/refreshing options of a select2 list box using ajax based on selection of another select2 list box.
*
* @url : https://gist.github.com/ajaxray/187e7c9a00666a7ffff52a8a69b8bf31
* @auther : Anis Uddin Ahmad <anis.programmer@gmail.com>
*
* Live demo - https://codepen.io/ajaxray/full/oBPbQe/
* w: http://ajaxray.com | t: @ajaxray
*/
var Select2Cascade = ( function(window, $) {
cmd /c %SYSTEMDRIVE%\Users\%USERNAME%\.babun\cygwin\bin\dash.exe -c '/usr/bin/rebaseall -v'
.shake {
display: inline-block;
-webkit-transform-origin: center center;
-ms-transform-origin: center center;
transform-origin: center center;
}
.shake:hover {
-webkit-animation: shake-opacity 100ms infinite ease-in-out;
-ms-animation: shake-opacity 100ms infinite ease-in-out;
animation: shake-opacity 100ms infinite ease-in-out;