Skip to content

Instantly share code, notes, and snippets.

View bganicky's full-sized avatar

Bohdan Ganicky bganicky

  • Freelance
  • Prague, Czech republic
View GitHub Profile
@bganicky
bganicky / blog.json
Created January 26, 2022 19:25
blog.json
"metas": {
"title": "Blog de Mutumutu | La prévoyance des indépendants qui récompense un mode de vie sain",
"description": "> Suivez les aventures du lancement de la prévoyance Mutumutu\n> Apprenez à comprendre votre assurance\n> Profitez de conseils dédiés aux indépendants \n> Découvrez nos astuces pour vivre plus sainement !",
"keywords": "indépendants, tns, freelance, blog, assurance, comptabilite, finances, mutumutu, sport",
"indexed": true,
"ogTitle": "Blog de Mutumutu | La prévoyance des indépendants qui récompense un mode de vie sain",
"ogDescription": "Suivez les aventures de Mutumutu, apprenez à comprendre votre assurance et découvrez nos astuces !",
"ogImage": { "url": "/uploads/profimedia_0295157481_1_8b23b20d8e.jpg" }
}
@bganicky
bganicky / kauzy.json
Created August 29, 2019 10:47
kauzy.json
[
{
"name": "Rezidenční projekt Jeseniova 38",
"description": "Novostavba bytového domu na místě bývalých studií a zázemí Českého rozhlasu. Stavba\nmá mít 8 podlaží se 181 byty a 227 parkovacími místy.",
"url": "http://zizkovnezastavis.cz/kauzy/rezidencni-projekt-jeseniova-38/",
"latDms": "50°05'09.0\"N",
"lngDms": "14°27'35.2\"E"
},
{
"name": "Rezidenční park Na Vackově, 5. etapa",
@bganicky
bganicky / program-2018.json
Created June 17, 2018 19:59
Volební program Strany zelených - ZO Praha 3 pro komunální volby 2018
[
{
"issue": "Bydlení a nakládání s nebytovými prostory",
"items": [
{
"id": 1,
"text": "Dokončíme rekonstrukce volných obecních bytů a zajistíme jejich přidělení v rámci podporovaného bydlení."
},
{
"id": 2,
const getRandomInt = max => Math.floor(Math.random() * Math.floor(max))
const candidates = ['drahos', 'horacek', 'hilser', 'fischer']
const myVote = candidates[getRandomInt(candidates.length)]
console.log(myVote)
@bganicky
bganicky / mySelect.js
Created December 13, 2010 12:38
Ukazka struktury jQuery pluginu.
/*
* Cely plugin je zabaleny do anonymni funkce, ktera se hned
* pusti. Vsechen kod uvnitr bezi tim padem ve svem scope.
* Navic se ubezpecujeme, aby "$" vzdy bylo jQuery.
*/
(function($) {
/*
* Zde mame prostor pro definici privatnich funkci ci promennych.
* Kod uvedeny zde probehne jen jednou(!) pri samotnem nacteni
* skriptu. Proto je zde vhodne definovat pomocne funkce, ktere
var FancyLogin = {};
/*
* First things first.
* 1. take the login block and put it where it belongs
* 2. initialize the overlay
* 3. call function which handles behavior
*
*/
FancyLogin.init = function () {