iOS7/iMessage-style chat balloons in HTML/CSS with no extra elements.
Forked from Matt Powell's Pen iOS7-style chat balloons.
A Pen by Captain Anonymous on CodePen.
<script> | |
$(document).ready(function() { | |
$("#sbmt").click(function() { | |
var re = /\/ignore\s(.*?)\s/g; | |
var m; | |
var shoutmsgvalue=$("#shoutmsg").val(); | |
while ((m = re.exec(shoutmsgvalue)) != null) { | |
if (m.index === re.lastIndex) { | |
re.lastIndex++; | |
} |
iOS7/iMessage-style chat balloons in HTML/CSS with no extra elements.
Forked from Matt Powell's Pen iOS7-style chat balloons.
A Pen by Captain Anonymous on CodePen.
/** | |
* iMessage-style loader | |
*/ | |
@keyframes fade { | |
to { background: rgba(0,0,0,.1); } | |
} | |
.progress, | |
.progress:before, |
Forked from Ross Martin's Pen Ionic Elastichat.
Forked from Ross Martin's Pen Ionic Elastichat.
A Pen by thebigsmileXD on CodePen.
Error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 8192 bytes) | |
File: /src/pocketmine/utils/Config | |
Line: 132 | |
Type: E_ERROR | |
Code: | |
[123] $extension = explode(".", basename($this->file)); | |
[124] $extension = strtolower(trim(array_pop($extension))); | |
[125] if(isset(Config::$formats[$extension])){ | |
[126] $this->type = Config::$formats[$extension]; |
$colorconstant = TextFormat::RED; | |
list($r, $g, $b) = str_split(ltrim(str_replace('>', '', str_replace('<span style=color:#', '', TextFormat::toHTML(colorconstant))), '#')); | |
$color = new Color(...array_map('hexdec', [$r . $r, $g . $g, $b . $b])); |
private function registerUIs(){ | |
$ui = new SimpleForm($this->getDescription()->getPrefix() . TextFormat::DARK_PURPLE . ' Commands', 'These are all ' . $this->getDescription()->getPrefix() . ' commands:'); | |
$namespace = __NAMESPACE__. '\subcommand\\'; | |
print $namespace; | |
foreach (\get_declared_classes() as $class){ | |
if (strpos($class, $namespace) === 0){ | |
$c = substr($class, strlen($namespace)); | |
$c = str_replace('SubCommand', '', $c); | |
if (strlen($c) > 0){ |
Usage: | |
single: | |
minecraft://?argument=value | |
or multiple: | |
minecraft://?argument=value&argument2=value2 | |
/** @var \mysqli $db */ | |
private $db; | |
/** @var array */ | |
private $settings; | |
private $tablename = ""; | |
private $fieldarray = []; | |
public function __construct($settings = []){ |
/* ==UserStyle== | |
@name Poggit Dark | |
@version 1.0.6 | |
@description Dark theme for Poggit, a GitHub application for managing PocketMine-family plugins, and website for sharing plugins | |
@namespace XenialDan | |
@author XenialDan | |
@homepageURL https://gist.github.com/thebigsmileXD/ed07c6bd4285614d2c5654c9dce76bf2 | |
@supportURL https://gist.github.com/thebigsmileXD/ed07c6bd4285614d2c5654c9dce76bf2 | |
@updateURL https://raw.githubusercontent.com/StylishThemes/StackOverflow-Dark/master/stackoverflow-dark.user.css | |
==/UserStyle== */ |