This file contains hidden or 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
| .tetrad-pattern { | |
| background-image: -webkit-linear-gradient(rgba(0,0,0,0.03) 2px,transparent 2px), -webkit-linear-gradient(0,rgba(0,0,0,0.03) 2px,transparent 2px), -webkit-linear-gradient(rgba(0,0,0,0.03) 1px,transparent 1px), -webkit-linear-gradient(0,rgba(0,0,0,0.03) 1px,transparent 1px); | |
| background-size: 80px 80px, 80px 80px, 5px 5px, 5px 5px; | |
| background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px; | |
| } |
This file contains hidden or 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 | |
| $orenru = 'http://www.oren.ru/rss/'; | |
| $ural56 = 'http://www.ural56.ru/news/news-rss.php'; | |
| $oreninform = 'http://oreninform.ru/rss/'; | |
| $ru56 = 'http://56.ru/text/rss.xml'; | |
| $xml = $orenru; | |
| $rss = simplexml_load_file($xml); | |
| echo '<div class="orenburg-rss-stream"><ul>'; |
This file contains hidden or 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
| 0 0 * * * /some/path/to/a/file.php > $HOME/`date +\%Y\%m\%d\%H\%M\%S`-cron.log 2>&1 | |
| jbzoo items:items-import -vvv >> /home/vsem/logs/cron-jbzoo/`date +\%Y-\%m-\%d_\%H-\%M-\%S`-cron.log 2>&1 | |
| * * * * * /usr/local/bin/php -c /etc/php.ini ~/cli/jbzoo/vendor/jbzoo/console/bin/jbzoo items:items-import -vvv >> /home/vsem/logs/cron-jbzoo/`date +\%Y-\%m-\%d_\%H-\%M-\%S`-cron.log 2>&1 |
This file contains hidden or 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
| if [ -f ~/.bashrc ]; then . ~/.bashrc; fi |
This file contains hidden or 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
| array_multisort($totalall, $datear, $FB_value_urlar, $fbcountar, $vkcountar, $okcountar, $FB_value_titles, SORT_DESC, SORT_NUMERIC); | |
| $globalsoc = [$totalall, $datear, $FB_value_urlar, $fbcountar, $vkcountar, $okcountar, $FB_value_titles]; | |
| array_multisort($globalsoc[0], SORT_DESC, SORT_NUMERIC, $globalsoc[1], SORT_STRING, SORT_DESC, $globalsoc[2], SORT_NUMERIC, SORT_DESC, $globalsoc[3], SORT_NUMERIC, SORT_DESC, $globalsoc[4], SORT_NUMERIC, SORT_DESC, $globalsoc[5], SORT_NUMERIC, SORT_DESC, $globalsoc[6], SORT_STRING, SORT_DESC); |
This file contains hidden or 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
| $options = array( | |
| 'http'=>array( | |
| 'method'=>"GET", | |
| 'header'=>"Accept-language: en\r\n" . | |
| "Cookie: foo=bar\r\n" . | |
| "User-Agent: Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.102011-10-16 20:23:10\r\n" // i.e. An iPad | |
| ) | |
| ); | |
| $context = stream_context_create($options); |
This file contains hidden or 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
| alias rm='rm -i' | |
| alias cp='cp -i' | |
| alias mv='mv -i' | |
| alias ll='ls -l' | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc | |
| fi | |
| PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]' |
This file contains hidden or 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
| $data = $this->app->data->create($element->data()); | |
| $value = $data->find("0.value"); |
This file contains hidden or 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
| // init lightbox | |
| if (!empty($rel)) { | |
| $rel = 'data-lightbox="' . $rel .'"'; | |
| $this->app->document->addScript('assets:js/lightbox.js'); | |
| $this->app->document->addStylesheet('assets:css/lightbox.css'); | |
| $this->app->document->addScriptDeclaration("jQuery(function($) { $('[data-lightbox]').lightbox(); });"); | |
| } | |
| $simpletext = str_replace('http://','',$this->get('value', '')); |
This file contains hidden or 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
| @import 'https://fonts.googleapis.com/css?family=Open+Sans:400,300'; | |
| на | |
| @import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400&subset=latin,cyrillic"); |