Popis dvou způsobů, jak sdílet adresáře mezi Windows a docker containery. První (jak se ukázalo, pro mě nepoužitelný) pomocí Samby, druhý pomocí sdílených složek VirtualBoxu.
Podle https://github.com/boot2docker/boot2docker#folder-sharing
Popis dvou způsobů, jak sdílet adresáře mezi Windows a docker containery. První (jak se ukázalo, pro mě nepoužitelný) pomocí Samby, druhý pomocí sdílených složek VirtualBoxu.
Podle https://github.com/boot2docker/boot2docker#folder-sharing
V Excelu pomocí Alt+F11
otevřít Microsoft Visual Basic for Applications, zde vytvořit nový modul (Insert a Module) a vložit kód požadované funkce (v tomto případě funkce, která zjistí úroveň odsazení textu):
Function indent(r As Range) As Integer
indent = r.IndentLevel
End Function
Po přepnutí zpět do Excelu je dostupná jako jakákoliv jiná funkce: =indent(A1)
.
# Ignore everything | |
* | |
# But not these files... | |
!.gitignore | |
!Default (Windows).sublime-keymap | |
!Preferences.sublime-settings | |
!Package Control.sublime-settings | |
!PHP.sublime-settings | |
!phpfmt.sublime-settings |
docker images -q --filter "dangling=true" |xargs docker rmi
Based on
set @table_schema = 'zhf'; | |
-- ### Find missing foreign keys ### | |
-- select all columns ending with 'Id' (are supoused to be FK) which don't have key starting with 'FK_' | |
select c.table_schema, c.table_name, c.column_name, c.column_type | |
from information_schema.columns c | |
left join information_schema.key_column_usage k on ( | |
c.table_schema = k.table_schema and | |
c.table_name = k.table_name and | |
c.column_name = k.column_name and |
<?php | |
// https://3v4l.org/ZoCO0 | |
class X | |
{ | |
static $y = 0; | |
static $z = 0; | |
public static function test() |
git clone --bare [email protected]:vhenzl/dotfiles.git $HOME/.dotfiles | |
function dotfiles { | |
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@ | |
} | |
mkdir -p .dotfiles-backup | |
dotfiles checkout | |
if [ $? = 0 ]; then | |
echo "Checked out dotfiles."; | |
else | |
echo "Backing up pre-existing dot files."; |
<?php declare(strict_types=1); | |
namespace GraphQL\Benchmarks; | |
function identity($value, $key = null) | |
{ | |
return $value; | |
} |