Skip to content

Instantly share code, notes, and snippets.

Avatar
🐦
fly like a bird ...

Kcko

🐦
fly like a bird ...
View GitHub Profile
View component.vue
<template>
<component-to-re-render :key="reloadMe" />
</template>
<script>
export default {
data() {
return {
reloadMe: 0,
}
View demo-my-solution.css
/* https://jsbin.com/bofitujaho/2/edit?html,css,output */
* {
box-sizing: border-box;
}
div {
display: flex;
View index.css
.row {
display: grid;
grid-template: 1fr / 1fr;
border: 1px solid gray;
padding: 2rem;
background: #f3f3f3;
margin-bottom: 2rem;
}
.row>* {
View dia.php
<?php
if (preg_match('/[áčďéěíňóřšűőťúůýž]+/iu', $string)) {
// obsahuje diakritiku
}
View event.js
const e = new Event('change')
const element = document.querySelector('#' + this.fakeFileId)
element.dispatchEvent(e)
View dataTypes.php
<?php
/**
* TEST DATOVYCH TYPU
*/
call_user_func(function() {
// krabice
$krabiceActiveRow = $this->connection->table('eshop_item')->where('id', 1467)->fetch();
View button.css
.button
{
position: relative;
z-index: 1;
overflow: hidden;
width: 200px;
height: 50px;
background: transparent;
border: 2px solid red;
border-radius: 0.325rem;
View at-root-example.scss
// Sass
.Component {
.title {
color: black;
.is-active#{&} {
color: blue;
}
}
}
View dummy-data-sql.sql
-- dokumenty, regiony, klient, konkretni klient
SET @clientId = 10809;
INSERT INTO
bc_stats (bc_document_id, bc_region_id, bc_client_id)
SELECT
id,
bc_region_id,