I hereby claim:
- I am grenouille220 on github.
- I am grenouille220 (https://keybase.io/grenouille220) on keybase.
- I have a public key ASDaCEUR3q1AuN29ObdGHEHgb7h8gLqF2CTKULJIsvIJDwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Barba.Dispatcher.on('newPageReady', function(currentStatus, oldStatus, container, newPageRawHTML) { | |
// html head parser borrowed from jquery pjax | |
var $newPageHead = $( '<head />' ).html( | |
$.parseHTML( | |
newPageRawHTML.match(/<head[^>]*>([\s\S.]*)<\/head>/i)[0] | |
, document | |
, true | |
) | |
); | |
var headTags = [ |
#!/bin/bash --ev | |
find . -name '*.scss' -exec cat {} > override.scss \; | |
perl -pi -e "s,.*?:.*\s\S,,g" override.scss | |
perl -pi -e "s,.*\@.*\n,,g" override.scss | |
<?xml version="1.0" encoding="UTF-8"?> | |
<kml> | |
<Folder> | |
<name>都道府県庁所在地 緯度経度データ</name> | |
<description>ソース:http://www.benricho.org/chimei/latlng_data.html</description> | |
<Placemark> | |
<name>1北海道</name> | |
<description>札幌市</description> | |
<updated>Thu, 09 Feb 12 04:18:49 +0000</updated> | |
<published>Thu, 09 Feb 12 04:18:49</published> |
<xsl:template name="foo_bar"> | |
<xsl:text disable-output-escaping="yes"><!DOCTYPE html></xsl:text> | |
</xsl:template> |
#!/bin/bash | |
################################################################################ | |
# Microsoft TrueType core fonts installation helper for Fedora Linux | |
# | |
# This script is installing the fonts without any untrustworthy 3rd-party RPMs | |
# or build-hazzle. I think it is useful because the MS core web fonts are not | |
# included in the main repositories (licensing issues). And (IMHO), it is a bit | |
# extreme to build a package on your own just to install a few fonts. This | |
# script is inspired by |
find . -name "._*" -exec rm -f {} \; |
function add_upload_mimes($mimes=array()) { | |
$mimes['kml']='application/vnd.google-earth.kml+xml'; | |
$mimes['kmz']='application/vnd.google-earth.kmz'; | |
return $mimes; | |
} | |
add_filter("upload_mimes","add_upload_mimes"); |
<?php | |
function get_holidays_this_month($year, $month){ | |
// 月初日 | |
$first_day = mktime(0, 0, 0, intval($month), 1, intval($year)); | |
// 月末日 | |
$last_day = strtotime('-1 day', mktime(0, 0, 0, intval($month) + 1, 1, intval($year))); | |
$api_key = 'YOUR API KEY HERE'; | |
$holidays_id = 'outid3el0qkcrsuf89fltf7a4qbacgt9@import.calendar.google.com'; // mozilla.org版 |
<video class="asvideo-ended" crossorigin="anonymous" itemscope="itemscope" itemtype="http://schema.org/VideoObject" preload="none" width="540" height="540" poster="http://store.storeimages.cdn-apple.com/8311/as-images.apple.com/is/image/AppleInc/aos/published/images/i/ph/iphone6s/web/iphone6s-web-360?wid=540&hei=540&fmt=png-alpha&qlt=95&.v=1441814332773"> | |
<source itemprop="contentUrl" src="http://store.storevideos.cdn-apple.com/v1/store.apple.com/media/video/iphone6s-web-360/iphone6s-web-360.mp4" type="video/mp4"> | |
<source itemprop="contentUrl" src="http://store.storevideos.cdn-apple.com/v1/store.apple.com/media/video/iphone6s-web-360/iphone6s-web-360.WebM" type="video/webm"> | |
<object width="540" height="540" data="http://store.storevideos.cdn-apple.com/v1/store.apple.com/media/video/iphone6s-web-360/iphone6s-web-360.mov" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=7,3,0,0"> | |
<param name="src" value="http:/ |