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
| >gem list locale | |
| *** LOCAL GEMS *** | |
| locale (2.0.5) | |
| locale_rails (2.0.5, 2.0.4) |
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
| fujihara-oos-MacBook-Air:~ daipresents$ java -version | |
| java version "1.6.0_22" | |
| Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) | |
| Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) |
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
| define(HIGHLIGHT_DIR, SKIN_DIR . 'dp.SyntaxHighlighter/Scripts/'); |
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 | |
| include('xml.php'); | |
| $RSS_HOST = 'http://daipresents.com/rss.xml'; | |
| $xml_data = file_get_contents($RSS_HOST); | |
| //$xml = mb_convert_encoding(file_get_contents($RSS_HOST), 'UTF-8′, 'auto'); | |
| $data = XML_unserialize($xml_data); | |
| echo "<ul>"; | |
| foreach($data['rss']['channel']['item'] as $entry){ | |
| echo '<li><a href="' . $entry['link'] . '">' . $entry['title'] . '</a>(' . $entry['pubDate'] . ')</li>'; | |
| } |
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
| <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "web | |
| logic810-web-jar.dtd"> | |
| <weblogic-web-app> | |
| <jsp-descriptor> | |
| <jsp-param> | |
| <param-name>precompile</param-name> | |
| <param-value>true</param-value> | |
| </jsp-param> | |
| </jsp-descriptor> | |
| </weblogic-web-app> |
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
| add_filter( 'amp_post_template_metadata', 'xyz_amp_modify_json_metadata', 10, 2 ); | |
| function xyz_amp_modify_json_metadata( $metadata, $post ) { | |
| $metadata['@type'] = 'NewsArticle'; | |
| $metadata['publisher']['logo'] = array( | |
| '@type' => 'ImageObject', | |
| 'url' => 'http://daipresents.com/wp-content/uploads/2016/05/header.201502.jpg', | |
| 'height' => 60, | |
| 'width' => 298, |
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
| ALTER TABLE ...; | |
| DROP TABLE ...; | |
| -- other DDL changes | |
| INSERT INTO CHANGELOG (16, '0016_customer_info.sql', GETDATE(), USER); |
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
| onclick="ga('send', 'event', 'amazon item link', 'click', 'image');" |
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
| <script type="text/javascript">// <![CDATA[ | |
| var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-4256542-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); | |
| // ]]></script> |
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
| package com.example; | |
| public class Greeter { | |
| public String greetingFor(String firstName) { | |
| return String.format("Hello %s!", firstName); | |
| } | |
| } |