Skip to content

Instantly share code, notes, and snippets.

🐦
fly like a bird ...

Kcko

🐦
fly like a bird ...
Block or report user

Report or block Kcko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .htaccess
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/storage/
#RewriteCond %{REQUEST_URI} !^/storage/images/(.*)/4[0-9]{4}
RewriteCond %{HTTP_HOST} !darkovapoukazka\.ambi\.cz$ [NC]
RewriteRule ^(.*)$ http://darkovapoukazka.ambi.cz/$1 [R=302,QSA,L]
View settings.json
"terminal.integrated.shell.windows": "cmd.exe",
"terminal.integrated.env.windows": {
"CMDER_ROOT": "C:\\Cmder"
},
"terminal.integrated.shellArgs.windows": [
"/k",
"%CMDER_ROOT%\\vendor\\bin\\vscode_init.cmd"
]
@Kcko
Kcko / FooForm.latte
Created Feb 11, 2020 — forked from medhi/FooForm.latte
Formulář jako komponenta s vlastní šablonou / Form as a component with its own template
View FooForm.latte
{form myForm}
<div class="form-group">
{label book class => 'control-label'/}
{input book class => form-control}
</div>
<div class="form-group">
{input send class => 'btn btn-primary'}
</div>
{/form}
View index.html
<img src="https://solarsystem.nasa.gov/system/basic_html_elements/11561_Sun.png" id="test">
<div id="vystup"></div>
View footer.latte
View remove-dia.js
(function ($) {
$.awDiacritics = function (str) {
var defaultDiacriticsRemovalap = [
{'base':'A', 'letters':'\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F'},
{'base':'AA','letters':'\uA732'},
{'base':'AE','letters':'\u00C6\u01FC\u01E2'},
{'base':'AO','letters':'\uA734'},
View aw-filters.js
/*!
* AW Eshop Filters
*
*
* @author Roman Janko <janko@andweb.cz>
* @since 30.01.2019 09:59:25
* @version 1.0.0
*
*/
View custom-select.js
// plugin example
(function($){
// custom select class
function CustomSelect(item, options) {
this.options = $.extend({
foo: 'bar'
}, options);
this.item = $(item);
this.init();
}
View rating.js
/*
* jQuery StarRatingSvg v1.2.0
*
* http://github.com/nashio/star-rating-svg
* Author: Ignacio Chavez
* hello@ignaciochavez.com
* Licensed under MIT
*/
;(function ( $, window, document, undefined ) {
View overlay.js
(function(window, $, undefined) {
if (typeof $ !== 'function') {
return console.error('AW Overlay: jQuery is missing, load it please');
}
var AWOverlay = function () {
var inner = {
self: this,
You can’t perform that action at this time.