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
| .DS_Store | |
| Thumbs.db | |
| .idea/ | |
| *.iml |
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 | |
| /** | |
| * 画像のURLのサイズ違いのURLを取得する | |
| * | |
| * @param string $url 画像のURL | |
| * @param string $size 画像のサイズ (thumbnail, medium, large or full) | |
| */ | |
| function get_attachment_image_src($url, $size) { | |
| $image = wp_get_attachment_image_src(get_attachment_id($url), $size); |
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
| DD_belatedPNG?.fixPng imgElem |
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
| getMousePoint: (e)-> | |
| e = e.touches?[0] or e | |
| x: e.pageX | |
| y: e.pageY |
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
| var bmd:BitmapData = new BitmapData(video.width, video.height, true, 0); | |
| bmd.draw(video, video.transform.matrix); |
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
| $scroller = $('#scroller') | |
| $children = $scroller.find('*') | |
| childWidth = $($children[0]).width() | |
| numChildren = $children.length | |
| scrollerWidth = childWidth * numChildren | |
| #autoslide | |
| fixPos = (delta)-> | |
| left = parseFloat($scroller.css('left')) | |
| if delta > 0 and left <= -scrollerWidth |
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
| private function _onLinkClicked(e:MouseEvent):void { | |
| navigateToURL(new URLRequest('http://example.com'), e.ctrlKey ? '_blank' : '_self'); | |
| } |
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
| <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no"> |
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
| unless window.mn? then window.mn = {} | |
| unless window.mn.dsk? then window.mn.dsk = {} | |
| unless window.mn.dsk.css3 then window.mn.dsk.css3 = {} | |
| exports = window.mn.dsk.css3 | |
| exports.Easing = Easing = | |
| linear : 'linear' | |
| ease : 'ease' | |
| easeIn : 'ease-in' |
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
| server { | |
| listen 80 default_server; | |
| server_name _; | |
| return 444; | |
| } |