This file contains 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
-- iTunesの曲を指定時間ずつ再生(レーティング考慮) | |
-- see: | |
-- http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1081882590 (base script) | |
-- https://discussions.apple.com/thread/2274705 (fade) | |
-- 標準の再生時間(秒) | |
property zapTime : 30 | |
-- レーティングを考慮するか(trueの場合下記のratingToAdditionalTimeにもとづいて時間を追加) | |
property ratingAdditionalTimeEnable : true |
This file contains 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
function main() { | |
// 現在のドキュメント | |
var doc = app.activeDocument; | |
// 保存先フォルダの選択 | |
var folder = Folder.selectDialog("保存先フォルダの選択"); | |
if (folder == null) { | |
return; | |
} | |
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<configSections> | |
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> | |
</configSections> | |
<startup> | |
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | |
</startup> |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Windows.Forms; | |
namespace WindowsFormsApplication1 | |
{ | |
/// <summary> | |
/// ボタン押下の操作をフィルタリングするクラスです。 | |
/// </summary> |
This file contains 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.listener; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import android.os.Bundle; | |
import android.app.Activity; | |
import android.view.View; | |
import android.view.View.OnClickListener; | |
import android.widget.Toast; |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Runtime.InteropServices; | |
using System.IO; | |
namespace LocaleInfo | |
{ | |
class Program |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.Xml.Linq; | |
using System.Xml.XPath; | |
using System.Diagnostics; | |
namespace webloc |
This file contains 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 | |
eval('echo 1;'); // ok | |
eval('<?php echo 2; ?>'); // parse error | |
eval('?><?php echo 3;'); // ok | |
eval('?><?php echo 4; ?>'); // ok | |
?> |
This file contains 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 | |
// cURL リソースを作成します | |
$ch1 = curl_init(); | |
$ch2 = curl_init(); | |
// URL およびその他適切なオプションを設定します。 | |
// (※ URLはCURLOPT_URLでなくても curl_init($url) に入れてもいい) | |
curl_setopt($ch1, CURLOPT_URL, "http://lxr.php.net/"); |
This file contains 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 echo "hello work"; ?> |
NewerOlder