Název | telefon | web | co |
---|---|---|---|
Hestia, o.s. | 224872075 | http://www.hest.cz/cz/co-delame/darcovsky-program-etela | osobní, osobní asistence, pomůcky, léčebné výlohy |
Nadace Charty 77 - Konto Bariéry | 224230216 224225092 224214452 | www.bariery.cz | osobní, motorové vozidlo, osobní asistence, pomůcky, léčebné výlohy |
Nadace Dagmar a Václava Havlových VIZE 97 | 234097811 | www.vize.cz | osobní, pomůcky, léčebné výlohy |
Nadace Dětský mozek | 603258852 326303770 | www.detskymozek.cz | osobní, osobní asistence, pomůcky |
Nadace KB, a.s. - Jistota | www.nadacejistota.cz | osobní, pomůcky |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* other actions on e-mail toolbar */ | |
#otherActionsButton { display: none !important; } | |
/* remove padding around e-mail stuffbar */ | |
#expandedHeaderRows { padding-top: 0px !important; } | |
/* folder view switch */ | |
#folderPaneHeader { display: none !important; } | |
toolbarbutton { font-size: 9pt !important; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cms.models import CMSPlugin | |
loop_again = True | |
while loop_again: | |
loop_again = False | |
lang_map = {} | |
for p in CMSPlugin.objects.all(): | |
lang_map[p.id] = p.language | |
if p.parent_id is None: | |
continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db.models.fields.files import ImageField, ImageFileDescriptor | |
class ExifFileDescriptor(ImageFileDescriptor): | |
""" Image field descriptor that updates Exif fields on set """ | |
def __set__(self, instance, value): | |
previous_file = instance.__dict__.get(self.field.name) | |
super(ExifFileDescriptor, self).__set__(instance, value) | |
if previous_file is not None: | |
self.field.update_exif_fields(instance, force=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
body { background: #ddd; font-family: sans-serif; } | |
iframe#page { width: 100%; height: 93%; margin: 0; padding:0; border: none; border-bottom: solid #aaa 1px; background: white; } | |
html, body { height:100%; margin:0; padding:0; overflow: hidden; } | |
#indicator { position:fixed; bottom:10px; left:10px; font-size: 5mm; text-align: center; background-color: black; color: white; padding: .65em 1em; border-radius: .3em; } | |
.desc { font-size: 50%; color: #aaa; white-space: pre-wrap; } | |
#directs { position:fixed; bottom:10px; right:10px; padding: 0 .5em 0 0; text-align: center; font-size: 5mm; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import datetime | |
import pywikibot | |
import time | |
import sys | |
import re | |
import logging | |
logger = logging.getLogger("pywiki") |
- dataframe from records:
pd.DataFrame.from_records([['A', 4], ['B', 2]], columns=['g', 'legs'], index=['g'])
- (un)pickle:
orders.to_pickle('saved.pkl'); pd.read_pickle('saved.pkl')
- filter data frame per (part of) index:
frame.loc[580]
- timestamp:
pd.Timestamp('2017-05-01')
- random sample:
frame.sample(n=20, random_state=42)
- columns list:
list(frame.columns)
- rename columns:
frame.rename({'from': 'to'})
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
class PredtimModelAdmin1(admin.ModelAdmin): | |
def predim_get_formfield1(self, db_field, request, obj, **kwargs): | |
return buhvico_1 | |
def get_form(self, request, obj=None, change=False, **kwargs): | |
... | |
defaults = { | |
'form': form, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer