Destination | Last date |
---|---|
Амстердам | 24-OCT |
Лондон | 31-DEC |
Париж | 24-OCT |
Брюссель | 24-OCT |
Гельсінкі | 23-OCT |
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
<?php | |
/** | |
* Class ServiceLocator | |
* | |
* Simple service locator class | |
*/ | |
class ServiceLocator implements ServiceLocatorInterface | |
{ |
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
#!/usr/bin/env php | |
<?php | |
/* | |
* Run php ./music-mover.php ../path/to/bands/folder ../path/to/one/folder [-d|--debug] | |
* DEBUG MODE: echos moving way instead of moving files | |
*/ | |
function l($text) { | |
echo "{$text}\n"; |
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
/** | |
* Just run from console | |
* Url of timetable: http://www.flyuia.com/ua/information-and-services/destinations/timetable.html | |
*/ | |
var destinations = {}; | |
var origins = ['Київ']; | |
var excludeDestinations = [ | |
'Самара', 'Казань', 'Кишинів', 'Мінськ', 'Єреван', 'Москва (DME)', 'Калінінград', 'Санкт-Петербург', | |
'Запоріжжя', 'Одеса', 'Львів', 'Харків', |
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
#!/usr/bin/env bash | |
a=(`ls --format=single-column --color=no | awk '{gsub(/ /, "_"); print}'`) | |
for b in "${a[@]}" | |
do | |
c=`echo $b | awk -F'.' '{print $1" - "}'` | |
d=`echo $b | awk -F'_-_' '{print $2}' | awk -F'_\(' '{print $1}' | awk '{gsub(/_/, " "); print}'` | |
e=`echo $b | awk '{gsub(/_/, " "); print}'` |
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
# /etc/X11/xorg.conf.d/01-synaptics.conf | |
Section "InputClass" | |
Identifier "e440 top buttons" | |
MatchDriver "synaptics" | |
# right btn|middle btn | |
Option "SoftButtonAreas" "60% 0 0 0 40% 60% 0 0" | |
Option "HorizHysteresis" "30" | |
Option "VertHysteresis" "30" | |
Option "PalmDetect" "1" |
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
# /etc/X11/xorg.conf.d/01-synaptics.conf | |
Section "InputClass" | |
Identifier "t440 top buttons" | |
MatchDriver "synaptics" | |
# right btn|middle btn | |
Option "SoftButtonAreas" "60% 0 0 0 40% 60% 0 0" | |
Option "HorizHysteresis" "30" | |
Option "VertHysteresis" "30" | |
Option "PalmDetect" "1" |
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
#!/usr/bin/env php | |
<?php | |
/** | |
* Convert LinkChecker xml result to junit xml format for Bamboo | |
* Usage: | |
* 1) run LinkChecker | |
* linkchecker --ignore-url=\!mysite\.localhost http://mysite.localhost --complete > log.xml | |
* 2) run this script | |
* cat log.xml | ./linkchecker-to-junit.sh > result.xml |
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
webcheck --avoid-external --base-only --output=log http://localhost:8000/ -x /blog -f |
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
linklint -http -host localhost:8000 /@ -doc log_dir |