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 | |
function specificity($selector) { | |
// Pseudo classes | |
$classes = array(":link", ":visited", ":hover", ":active", ":focus", ":target", ":lang", ":enabled", | |
":disabled", ":checked", ":indeterminate", ":root", ":nth-child", ":nth-last-child", | |
":nth-of-type", ":nth-last-of-type", ":first-child", ":last-child", ":first-of-type", | |
":last-of-type", ":only-child", ":only-of-type", ":empty", ":contains", ":not"); |
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 | |
#require_once APPPATH . 'classes/helpers/autoload.php'; | |
error_reporting(E_ALL); | |
use ju1ius\Html\EmailPreflight; | |
class Inliner { | |
public function inline($html_path) { |
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 | |
class zipfile { | |
var $datasec = array(); | |
var $ctrl_dir = array(); | |
var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00"; | |
var $old_offset = 0; | |
function add_string($data, $name) { |
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 | |
class zipfile { | |
var $datasec = array(); | |
var $ctrl_dir = array(); | |
var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00"; | |
var $old_offset = 0; | |
function add_string($data, $name) { |
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
class zipfile { | |
var $datasec = array(); | |
var $ctrl_dir = array(); | |
var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00"; | |
var $old_offset = 0; | |
function add_string($data, $name) { | |
$unc_len = strlen($data); | |
$crc = crc32($data); |
NewerOlder