After install run
# start statsd
# start graphite
statsd is on 8125 port
graphite is on http://127.0.0.1:8080/
| <?xml version="1.0" encoding="utf-8"?> | |
| <ym:ymaps xmlns:ym="http://maps.yandex.ru/ymaps/1.x"><Representation xmlns="http://maps.yandex.ru/representation/1.x" xmlns:gml="http://www.opengis.net/gml"><View><boundedBy xmlns="http://www.opengis.net/gml"><Envelope><lowerCorner>30.22437 45.024992</lowerCorner><upperCorner>82.935971 60.008409</upperCorner></Envelope></boundedBy></View><Style gml:id="userobject"><iconStyle><template>#placemark</template></iconStyle><balloonContentStyle><template>#balloon</template></balloonContentStyle></Style><Template gml:id="placemark"><text><img src="http://api-maps.yandex.ru/i/0.3/micro/pm$[metaDataProperty.AnyMetaData.icon]s.png" width="28" heigh="29"/><font style="font-weight:bold;position:relative;z-index:4;top:-29px;display:block;width:22px;text-align:center" color="$[metaDataProperty.AnyMetaData.color]">$[metaDataProperty.AnyMetaData.number]</font></text></Template><Template gml:id="balloon"><text><div style="max-width:400px;*width:400px;"><strong |
| /* | |
| * CVE-2012-2122 checker | |
| * | |
| * You may get differing results with/without -m32 | |
| * | |
| * Joshua J. Drake | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> |
| # Example: | |
| # {% youtube http://www.youtube.com/watch?v=Awf45u6zrP0 %} | |
| require 'cgi' | |
| require 'uri' | |
| module Jekyll | |
| class Youtube < Liquid::Tag | |
| @width = 640 | |
| @height = 390 |
| <!DOCTYPE html> | |
| <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
| <!--[if lt IE 7 ]><html class="ie6" lang="en"> <![endif]--> | |
| <!--[if IE 7 ]><html class="ie7" lang="en"> <![endif]--> | |
| <!--[if IE 8 ]><html class="ie8" lang="en"> <![endif]--> | |
| <!--[if (gte IE 9)|!(IE)]><!--> | |
| <html lang="en"> <!--<![endif]--> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
| % ls | |
| foot.c foot.h foot.o toe.c toe.o | |
| % rm * .o | |
| rm: .o: No such file or directory | |
| % ls | |
| % |
After install run
# start statsd
# start graphite
statsd is on 8125 port
graphite is on http://127.0.0.1:8080/
| #!/bin/bash | |
| set -o errexit | |
| echo "Removing exited docker containers..." | |
| docker ps -a -f status=exited -q | xargs -r docker rm -v | |
| echo "Removing dangling images..." | |
| docker images --no-trunc -q -f dangling=true | xargs -r docker rmi |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "os/exec" | |
| "strings" | |
| "time" |
| <?php | |
| namespace Laravel\Dusk { | |
| class Browser | |
| { | |
| use Concerns\InteractsWithAuthentication, | |
| Concerns\InteractsWithCookies, | |
| Concerns\InteractsWithElements, | |
| Concerns\InteractsWithJavascript, |
Since it was rejected as pull request: laravel/framework#20985
Ok, then I've found this: https://github.com/spatie/laravel-collection-macros (eachCons)