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
<html> | |
<head> | |
<title>Abc def</title> | |
</head> | |
<body> | |
<form action="abc.php" method="POST"> | |
<input type="text" name="prvni" /><br /> | |
<input type="text" name="druha" value="predvyplneno" /><br /> | |
<input type="submit" value="odeslat" /> | |
</form> |
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
(echo "<style>a {display: block}</style>" ; find devfest -type d | while read line ; do ( cd $line ; echo "<h1>Directory: $line</h1>" ; ls | while read file ; do echo "<a href='$line/$(echo $file | sed 's/%/%25/g')'>$file</a>" ; done ) done) > devfest.html |
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
include $(TOPDIR)/rules.mk | |
PKG_NAME:=wireshark | |
PKG_RELEASE:=1 | |
PKG_VERSION:=2.6.6 | |
# https://www.wireshark.org/download/src/all-versions/wireshark-2.6.6.tar.xz | |
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz | |
PKG_SOURCE_URL:=https://www.wireshark.org/download/src/all-versions/ | |
PKG_MD5SUM:=b30ba5b9b48ed2ff91c0ce357d33b46b |
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
function! SwitchToBufferNum(num) | |
let buffers = map(filter(copy(getbufinfo()), 'v:val.listed'), 'v:val.bufnr') | |
execute "buffer " . buffers[a:num] | |
endfunction | |
map <C-F1> :call SwitchToBufferNum(0)<CR> | |
map <C-F2> :call SwitchToBufferNum(1)<CR> | |
map <C-F3> :call SwitchToBufferNum(2)<CR> | |
map <C-F4> :call SwitchToBufferNum(3)<CR> |
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
#!/bin/bash | |
export XDEBUG_REMOTE_HOST="" | |
export DOCO=$(which docker-compose) | |
function docker-compose() { | |
if [ -z ${GIT_DIR+X} ] ; then | |
$DOCO "$@" | |
return $? | |
fi |