id
stringlengths 32
32
| text
stringlengths 0
895k
| name
stringlengths 0
33k
| domain
stringlengths 5
44
| bucket
stringclasses 19
values | answers
list |
---|---|---|---|---|---|
63a148dec3bed4b4f33cd64547560ba7 | <div class="sect4">
<h5 id="\_svnのコミット後フックスクリプトでrubyスクリプトが正常に呼び出されない">svnのコミット後フックスクリプトでrubyスクリプトが正常に呼び出されない</h5>
<div class="paragraph">
<p>私のルビースクリプトが正常に呼び出されていない可能性のある理由は何ですか?</p>
</div>
<div class="paragraph">
<p>コミット後スクリプトを次のように手動で実行する場合に注意してください。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>/var/svn/eweds/hooks/post-commit /var/svn/eweds 151</pre>
</div>
</div>
<div class="paragraph">
<p>正常に動作します。ポストコミットスクリプトでルビースリップが呼び出される方法は次のとおりです。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>ruby /home/pmind/public\_html/eweds/script/svn.rb "$repos" "$rev"</pre>
</div>
</div>
<div class="paragraph">
<p>だから私は実際にフックスクリプトを手動で呼び出すのはなぜか迷っていますが、ユーザーが実際にコミットするときに実際に実行されるとうまくいきません。</p>
</div>
<div class="paragraph">
<p>フックスクリプトが呼び出されていることを知っていることに注意してください。 しかし、私のルビースリップは正常に実行されていません。</p>
</div>
<div class="paragraph">
<p>また、svnはルートとして起動され、コミット後のスクリプトもルートであり、rubyスクリプトのアクセス許可は既に777に設定されていることに注意してください。</p>
</div>
</div>
| svnのコミット後フックスクリプトでrubyスクリプトが正常に呼び出されない | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>単に「ruby」ではなく、「ruby」インタープリターへのフルパスを指定します。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
51fc03ff84781ddf5c0ddfba13b0cb65 | <div class="sect4">
<h5 id="\_tortoisesvnまたはsvnはmercurialのようなバッチdiffを実行できますか">tortoisesvn(またはsvn)はmercurialのようなバッチdiffを実行できますか?</h5>
<div class="paragraph">
<p>mercurialとtortoisesvnを使用します。mercurialを使用すると、</p>
</div>
<div class="literalblock">
<div class="content">
<pre>hg vdiff</pre>
</div>
</div>
<div class="paragraph">
<p>プロジェクトツリーで変更された5つのファイルがあるとkdiff3が表示されるので、メニューバーに移動して[ディレクトリを展開]をクリックし、差分のあるファイルを確認して、それぞれをクリックします。</p>
</div>
<div class="paragraph">
<p>驚いたことに、tortoisesvnにはこの機能がないようです。 プロジェクトフォルダーを見て、tortoisesvnを右クリックすると、メニューバーに通常の「diff」アクションが表示されません。 「hg vdiff」のように動作させる方法はありますか?</p>
</div>
</div>
| tortoisesvn(またはsvn)はmercurialのようなバッチdiffを実行できますか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>コンテキストダイアログで[コミット]を選択してコミットダイアログを開き、ローカルで変更されたすべてのファイルのリストを取得できます。 次に、ファイルをダブルクリックすると、そのファイルに加えられた変更を確認できます。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>tortoisesvnメニューのアクションは「svn変更の確認」と呼ばれます。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
cf061c58fb0e3395be6620ed55aa5df2 | <div class="sect4">
<h5 id="\_ibmメインフレームでの新しい行の外観の制御">ibmメインフレームでの新しい行の外観の制御</h5>
<div class="paragraph">
<p>all,</p>
</div>
<div class="paragraph">
<p>そこで、c#からibm mvsメインフレームにテキストファイルをアップロードしています。 このファイルはc#ライブラリを使用してebcdicに変換され、メインフレームでデータを読み取ることができるのでうまく機能します。 問題は新しい行です。 テキストファイルには10行のデータがあり、メインフレーム環境で表示している間、すべてのデータが存在します。 ただし、テキストファイルの各新しい行を0d25(crlf)として変換するため、新しい行はありません。 このセグメントは..として表示されます。 画面上で。 +テキストファイルにあるように次の行にデータを実際に配置するために必要なため、16進数が0d25の2つのドットは必要ありません。 このファイルは、メインフレームで一度だけ可変ブロック長です。 mvsでアップロードされたファイルを表示しながら、テキストファイルと同じフォーマットを実現するにはどうすればよいですか?</p>
</div>
<div class="ulist">
<ul>
<li>
<p><em>example:text file view</em> *</p>
</li>
</ul>
</div>
<div class="paragraph">
<p>12345 + 23456 + 12346</p>
</div>
<div class="literalblock">
<div class="content">
<pre> +
* \_ibm mainframe view\_ *</pre>
</div>
</div>
<div class="paragraph">
<p>12345..23456..12346</p>
</div>
<div class="paragraph">
<p>またはブロック長に達した場合。</p>
</div>
<div class="paragraph">
<p>12345..2345 + 6..12346</p>
</div>
<div class="paragraph">
<p>ありがとう</p>
</div>
</div>
| ibmメインフレームでの新しい行の外観の制御 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>ftp転送プロセス以外でascii-ebcdic変換を実行している場合、バイナリモードで転送していると想定する必要があります(そうしないと、変換が\\_again\\_行われ、データが不良になります)。</p>\n</div>\n<div class=\"paragraph\">\n<p>その場合、行末の変換についてもあなた自身が責任を持っていると確信しています。 バイナリ転送は、行末を変換しようとしません。 ホストに送信する前に、目的の長さに行を埋め込み、行の末尾を完全に削除する必要があります。</p>\n</div>\n<div class=\"paragraph\">\n<p>例として、このファイルを転送する場合:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>12345\n67890</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p><code>literal site recfm = vb`を使用してバイナリモードで起動すると、次の結果が得られます(ispfエディターでは</code> hex on`で表示):</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>000001\n 3333300333330044444\n 12345da67890da00000\n--------------------------</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>cr / lfを含め、バイトがそのまま転送されたことがわかります。 ftpでasciiモードに切り替えて再度アップロードすると、次の結果が得られます。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>000001 12345\n fffff44444444\n 1234500000000\n--------------------\n000002 67890\n fffff44444444\n 6789000000000\n--------------------</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>ここでは、文字は右のebcdicコードポイントに変換され、行末はebcdicスペースでパディングにモーフィングされています。</p>\n</div>\n<div class=\"paragraph\">\n<p>あなたへの私の最初の質問は、「なぜftp以外で翻訳をしているのですか?」</p>\n</div>\n<div class=\"paragraph\">\n<p>ibmは、あらゆる種類の異なるエンコードを受け入れ、それらを正しいコードページに変換することを保証するために、かなりのお金を投資しています。 スタンドアロンのソリューションがすべての国際化されたバージョンのz / osおよびibm独自のソリューションで動作することはほとんどありません。</p>\n</div>\n<div class=\"paragraph\">\n<p>クライアントで\\_must\\_変換してバイナリモードで転送する場合は、クライアントに行末変換とパディングも行わせるか、rexxスクリプトなどで転送後にファイルを後処理する必要があります。</p>\n</div>\n<div class=\"paragraph\">\n<p>ターゲットデータセットのプロパティが「わからない」場合(pdsのメンバーに転送する場合など)、後者のオプションが唯一の実行可能なオプションです。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
317b87119d32db449da869fc57304e78 | <div class="sect4">
<h5 id="\_mysqlを再起動するとサイトが高速になるのはなぜですか">mysqlを再起動するとサイトが高速になるのはなぜですか?</h5>
<div class="paragraph">
<p>私のサイトは最近ドラッグを開始し、適切に調整されたインデックスで予想よりも非常に長い時間がかかっていました。 稼働日31日後にmysqlサーバーを再起動したところ、すべてのクエリが大幅に高速になり、サイト全体のレンダリングが3〜4倍高速になりました。</p>
</div>
<div class="paragraph">
<p>これがなぜ起こったのかについて、あなたに飛び出す何かがありますか? おそらくmy.cnfの不適切な設定ですか? 何を試して、その理由を特定し始めることができるかについてのアイデアはありますか?</p>
</div>
<div class="paragraph">
<p>ありがとう</p>
</div>
<div class="paragraph">
<p>更新されたメモ:16gbの専用dbボックスがあり、1週間ほどでmysqlがメモリの約71%で実行されます。</p>
</div>
</div>
| mysqlを再起動するとサイトが高速になるのはなぜですか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>「show processlist;」を実行してみてください。おそらく、何らかの理由で殺されなかった長続きするスレッドがあるかもしれません。</p>\n</div>\n<div class=\"paragraph\">\n<p>同様に、 `show session status like 'created%';`を実行して、mysqlが多くの一時テーブルに対して作成されていないかどうかを確認します。</p>\n</div>\n<div class=\"paragraph\">\n<p>サーバーを再起動すると、開いているすべての一時テーブルが自動的に閉じられ、スレッドが強制終了されるため、アプリケーションがより高速に実行される場合があります。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>クリア/収集されない一時テーブルがありますか?</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
8d308630e44c69e8f3c0d19b00f71cf0 | <div class="sect4">
<h5 id="\_tableadapter\_updateメソッドを使用してデータベースから削除するレコードを指定する">tableadapter.updateメソッドを使用してデータベースから削除するレコードを指定する</h5>
<div class="paragraph">
<p>私は今かなり長い間これをいじっていて、ますます面白くなってきています。 <a href="http://msdn.microsoft.com/en-us/library/ms233823(vs.80).aspx">msdnガイド</a>に従って、データグリッドから行を削除しました。 そして、それは\_any\_行で動作しますが、行を指定することはできません…​ 基本的に、 `currentindex`パラメーターを使用してランダムな行を削除できます。より具体的にしようとすると、変換エラーが発生します。</p>
</div>
<div class="paragraph">
<p>ナットシェルでは、「findbyid」(私のプライマリキー)は「object to long」エラーなどを与えます。 削除したい行を特定できません。</p>
</div>
<div class="literalblock">
<div class="content">
<pre> //int thisrow = radgridview1.currentindex.value;
// locate row for deletion
vsconnectordataset.testtablerow oldtesttablerow;
oldtesttablerow = vsconnectordataset.testtable.findbyid(
int64.parse(radgridview1.currentrow.cells["id"].value));
// delete the row from the dataset
oldtesttablerow.delete();
// delete from database
this.testtabletableadapter1.update(this.vsconnectordataset.testtable);
//datarow rowdel=vsconnectordataset.testtable.rows[thisrow];
//rowdel.delete();
//testtabletableadapter1.update(vsconnectordataset);</pre>
</div>
</div>
</div>
| tableadapter.updateメソッドを使用してデータベースから削除するレコードを指定する | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p><a href=\"http://msdn.microsoft.com/en-us/library/3b6b4bx3.aspx\" class=\"bare\">http://msdn.microsoft.com/en-us/library/3b6b4bx3.aspx</a> [<code>int64.parse</code>]は文字列のみを受け取ります。 おそらく試してみてください。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>long selrowval = (long)radgridview1.currentrow.cells[\"id\"].value;\noldtesttablerow = vsconnectordataset.testtable.findbyid(selrowval);</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>or</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>int64.parse(radgridview1.currentrow.cells[\"id\"].value.tostring());</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>`cell.value`がどのデータ型であるかは明確ではありません。 おそらく、明示的なキャストが役立つかもしれません。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>convert.toint64の方法を見つけたので、バインドされたdataset-tableadapter-databaseメソッドを使用して、削除した行をターゲットにできるようになりました。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>private void deletetoolstripbutton\\_click(object sender, eventargs e)\n{\n long thisrow = convert.toint64((radgridview1.currentrow.cells[\"id\"].value));\n dialogresult delentry = messagebox.show(\"do you want to delete the entry titled '\" + radgridview1.currentrow.cells[\"sparestitle\"].value + \"'?\", \"delete this entry?\", messageboxbuttons.okcancel, messageboxicon.question);\n switch (delentry)\n {\n case dialogresult.ok:\n // locate row for deletion\n vsconnectordataset.testtablerow oldtesttablerow;\n oldtesttablerow = vsconnectordataset.testtable.findbyid(thisrow);\n // delete the row from the dataset\n oldtesttablerow.delete();\n // delete from database\n this.testtabletableadapter1.update(this.vsconnectordataset.testtable);\n break;\n //\n // to do - give slected to another row; having just deleted our 'currentrow'\n //\n case dialogresult.cancel:\n break;\n }\n}</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
34cb93146afd53ae870516e033642c01 | <div class="ulist">
<ul>
<li>
<p>tabletoupdate <strong>と</strong> dates <strong>という2つのテーブルがあります。 * tabletoupdate *のendtimekey列を他のテーブル</strong> dates *から見て更新する必要があります。 これを行うには以下のsqlを実行しますが、完了するまでに時間がかかります。</p>
</li>
</ul>
</div>
<div class="paragraph">
<p>table * tabletoupdate *には6mレコードがあります。 table * dates *には5000レコードがあります。</p>
</div>
<div class="paragraph">
<p>どうすれば最適化できますか。</p>
</div>
<div class="paragraph">
<p>返信ありがとうございます。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>tabletoupdateを更新してendtimekey = date\_noをendtime = dateの日付から設定する</pre>
</div>
</div>
| sql更新を最適化する | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>潜在的に600万レコードを更新しています、これはいずれにしてもひどく速くなることはないでしょう。 ただし、実行計画を調べて、それが索引を使用しているかどうかを確認してください。</p>\n</div>\n<div class=\"paragraph\">\n<p>これをバッチで実行することもできます。一般的に、大量のレコードを更新する場合は高速です。 データベースへの負荷がほとんどない時間帯に更新を実行すると、潜在的なロックの問題が軽減されます。 暗黙的な変換をする必要がないように、2つのテーブル間でデータ型が同じであることを確認してください。</p>\n</div>\n<div class=\"paragraph\">\n<p>更新しているテーブルを見てください。何かトリガーはありますか? トリガーの作成方法によっては、これは多くのレコードの更新を著しく遅くする可能性があります(明るすぎない人がセットベースのコードを書く代わりにカーソルにカーソルまたはループを置くことを決めた場合)。</p>\n</div>\n<div class=\"paragraph\">\n<p>また、ここに私が追加するものがいくつかあります(私はそれが明示的に結合を表示するように変更しました)</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>tabletoupdateからendtimekey = date\\_noを設定します。t t.endtime = d.dateに日付dを結合します。endtimekey <> date\\_no</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>すでに一致したレコードを更新しても意味がありません。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>この大量のデータを使用すると、新しいテーブルを見たいときに、更新された値を含む結果セットを生成するselectクエリを作成するのが最善の方法です。 次に、テーブルを作成してinsert intoを使用するか、新しいテーブルを作成するためにintoを追加してselectを変更することによって、これらを新しいテーブルにselectします(おそらく 'newtabletoupdate')。</p>\n</div>\n<div class=\"paragraph\">\n<p>次にsp\\_renameを使用して、 'tabletoupdate’を 'oldtabletoupdate’に、 'newtabletoupdate’を 'tabletoupdate’にそれぞれ名前を変更してから、元のテーブルにあるとおりにインデックスを作成します。</p>\n</div>\n<div class=\"paragraph\">\n<p>私の経験では、これがこのような大きな変化を達成するための最も早い手段であることがわかりました。 hth</p>\n</div>\n<div class=\"paragraph\">\n<p>特別な考え…​ テーブルにクラスタードインデックスがある場合は、selectステートメントにorder byを追加して、クラスタードインデックスと同じ順序で新しいテーブルに挿入されるようにします。 これにより、インデックス作成が大幅にスピードアップします。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
6066057863ccfcd171825dba072731ba | <div class="sect4">
<h5 id="\_microsoft\_visual\_cexpress\_2008を使用してwcfアプリケーションを作成できますか">microsoft visual c#express 2008を使用してwcfアプリケーションを作成できますか?</h5>
<div class="paragraph">
<p>expressエディションでwcfアプリケーションを作成できるかどうか、およびvisual studioのフルエディションと比較してexpressエディションの*カット*ができるかどうかを知りたいです。</p>
</div>
</div>
| microsoft visual c#express 2008を使用してwcfアプリケーションを作成できますか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>うん、ここはエクスプレス版の機能を説明するリンクです:</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://blogs.msdn.com/danielfe/archive/2007/11/19/top-15-things-to-love-about-visual-studio-2008-express.aspx\" class=\"bare\">http://blogs.msdn.com/danielfe/archive/2007/11/19/top-15-things-to-love-about-visual-studio-2008-express.aspx</a></p>\n</div>\n<div class=\"paragraph\">\n<p><em><em>\\_ </em><em>\nすべてのvisual studio express editionsでは、windows communication foundation(wcf)のサポートだけでなく、webサービスからのデータも使用できます。 visual web developer expressは、wcfアプリケーションの作成もサポートしています。\n</em><em> </em>\\_</em></p>\n</div>\n<div class=\"paragraph\">\n<p>2010年もサポートされています。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p><a href=\"http://www.microsoft.com/downloads/details.aspx?familyid=727bcfb0-b575-47ab-9fd8-4ee067bb3a37&displaylang=en#filelist\" class=\"bare\">http://www.microsoft.com/downloads/details.aspx?familyid=727bcfb0-b575-47ab-9fd8-4ee067bb3a37&displaylang=en#filelist</a></p>\n</div>\n<div class=\"paragraph\">\n<p>これは2008年の機能チャートです。 express editionの機能が欠けているという点で2010年が大きく異なることはありません。</p>\n</div>\n<div class=\"paragraph\">\n<p>wcfは.netフレームワークの一部であるため、ide(visual studio)が便利なguiとプロジェクトテンプレートを提供していなくても、wcfを使用するアプリケーションを作成できると考えています。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
ac8bbecf2c22ff75dc6b719d375909bf | <div class="sect4">
<h5 id="\_16進文字列を動的なプリミティブ型に変換する">16進文字列を動的なプリミティブ型に変換する</h5>
<div class="paragraph">
<p>次のようなコードがあります。</p>
</div>
<div class="literalblock">
<div class="content">
<pre> string hexstring = "0x00000004";
type hextype = typeof(int32);
object o = convert.changetype(hexstring, hextype);</pre>
</div>
</div>
<div class="paragraph">
<p>convert.changetypeが16進値で機能しないため、実行されるとすぐに* system.formatexception *をスローします。</p>
</div>
<div class="paragraph">
<p>私の他の選択肢は、これらのいずれかを使用しています:</p>
</div>
<div class="ulist">
<ul>
<li>
<p>* int32 * .parse</p>
</li>
<li>
<p>convert。* toint32 *</p>
</li>
</ul>
</div>
<div class="paragraph">
<p>ただし、特定のタイプに適用されるため、* switch * / reflectionを使用して、適切なタイプの適切な機能を選択する必要があります。</p>
</div>
<div class="paragraph">
<p>私はこれらのオプションのいずれについても本当に興奮していません。 他にできることはありますか?</p>
</div>
</div>
| 16進文字列を動的なプリミティブ型に変換する | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>通常、16進数は整数にのみ使用されるため、http://msdn.microsoft.com/en-us/library/zkw23d3e.aspx [parse]文字列を最大整数型(int64)およびhttp:// msdnに変換できます。 .microsoft.com / en-us / library / dtb69x08.aspx [change]結果のタイプを目的のタイプに変更します。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>string hexstring = \"deadcafebabe0000\";\nlong hexvalue = long.parse(hexstring, numberstyles.allowhexspecifier);\n\ntype hextype = typeof(int32);\nobject o = convert.changetype(hexvalue, hextype);</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>(文字列をparseメソッドに渡す前に、 `0x`プレフィックスを取り除く必要があることに注意してください。)</p>\n</div>\n<div class=\"paragraph\">\n<p>'' '' '</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://msdn.microsoft.com/en-us/library/dtb69x08.aspx\">convert.changetype</a>は本質的に「if(type == …​)…​ else if(type == …​) `ステートメント。 すべての整数型をそれぞれのhttp://msdn.microsoft.com/en-us/library/zkw23d3e.aspx[parse]メソッドにマップする辞書を作成できます。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>var dict = new dictionary>\n{\n { typeof(byte), s => byte.parse(s, numberstyles.allowhexspecifier) },\n { typeof(sbyte), s => sbyte.parse(s, numberstyles.allowhexspecifier) },\n { typeof(short), s => short.parse(s, numberstyles.allowhexspecifier) },\n { typeof(ushort), s => ushort.parse(s, numberstyles.allowhexspecifier) },\n { typeof(int), s => int.parse(s, numberstyles.allowhexspecifier) },\n { typeof(uint), s => uint.parse(s, numberstyles.allowhexspecifier) },\n { typeof(long), s => long.parse(s, numberstyles.allowhexspecifier) },\n { typeof(ulong), s => ulong.parse(s, numberstyles.allowhexspecifier) },\n};\n\nstring hexstring = (-5).tostring(\"x\");\ntype hextype = typeof(int32);\nobject o = dict[hextype](hexstring);</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
c85202cb8b333c4f635e68d367d6fd87 | <div class="paragraph">
<p>私はphpが全く新しいので、基本的なdbサイトを開発するためにlarry ullman本を読んでいます。 "date"というテキストフィールドに日付を追加するのにyuiカレンダーポップアップ日付ピッカーを使いました。 入力される日付フォーマットは、例えば2009年5月7日木曜日です。</p>
</div>
<div class="paragraph">
<p>mysql dbに日付を入力して入力する方法はいくつかありますが、00 00 00 00 00 00のままです</p>
</div>
<div class="literalblock">
<div class="content">
<pre>//日付を確認します。 if(eregi( "^([0-9] {2})/([0-9] {2})/([0-9] {4})$"、$ \_post ['date']、)) ){$ p = escape\_data($ \_ post ['date']、); } else {$ p = false; '有効な日付を入力してください。'; }
// urlをurlsテーブルに追加します。 $ query = "insert into urls(url、タイトル、説明、日付)値( '$ u'、 '$ t'、 '$ d'、 '$ p')"; $ result = @mysql\_query($ query); //クエリを実行します。 $ uid = @mysql\_insert\_id(); // url idを取得します
if($ uid> 0){//新しいurlが追加されました。</pre>
</div>
</div>
<div class="paragraph">
<p>私は私がすべての関連情報を提供したと思いますが、これが役に立たないならば再び謝罪します、そしてあなたが必要とするかもしれない他の情報をあなたに提供するために最善を尽くします。 ありがとう - ショーン</p>
</div>
| テキストボックスの日付をmysqlのdatetime形式に変換する方法 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>あなたはおそらくmysqlがそのデータ型のためにそれを期待する方法で日付をフォーマットする必要があります、さもなければそれはそれを認識することができません。 正規表現または同様の方法を使用してコンポーネント部分を抽出し、それをmysql datetime型のフォーマットに従ってフォーマットすることができます。</p>\n</div>\n<div class=\"paragraph\">\n<p>編集:上記のフォーマットについてはhttp://dev.mysql.com/doc/refman/5.0/en/datetime.htmlを参照してください。 また、日付/時刻をunixタイムスタンプとして保存するほうが賢明かもしれません。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>日付ピッカーが渡している形式が「2009年5月7日木曜日」の場合、 <a href=\"http://www.php.net/strtotime\">strtotime()</a>と <a href=\"http://www.php.net/strtotime\"> date()</a>関数はmysqlに渡すための有効な日付をあなたに与えるために働くべきです:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>$ p = date( \"y-m-d h:i:s\"、strtotime( '2009年5月7日木曜日'));</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>データベースフィールドがdateの場合、おそらく \"y-m-d\"部分だけが必要です。 それがdatetimeの場合は、 \"h:i:s\"も必要です。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
4e2054aaec74a807a282e22cecffe246 | <div class="sect4">
<h5 id="\_cを使用してwinforms\_treeview\_selectednodeの外観を変更するにはどうすればよいですか">c#を使用してwinforms treeview selectednodeの外観を変更するにはどうすればよいですか?</h5>
<div class="paragraph">
<p>コードを使用してツリービューの選択されたノードを設定できますが、外観は変わりません。</p>
</div>
<div class="literalblock">
<div class="content">
<pre> treenode selectednode = treeview1.selectednode;
treenode newnode = new treenode("i am new");
selectednode.nodes.add(newnode);
treeview1.selectednode = newnode;</pre>
</div>
</div>
<div class="paragraph">
<p>マウスを使用してノードを選択すると、背景色と前景色が変わります。 コードを使用してノードを選択したときにも同じことが起こるようにします。 c#を使用してwinforms treeview selectednodeの外観を変更するにはどうすればよいですか? ありがとうございます。</p>
</div>
</div>
| c#を使用してwinforms treeview selectednodeの外観を変更するにはどうすればよいですか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p><a href=\"http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.hideselection.aspx\" class=\"bare\">http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.hideselection.aspx</a> [<code>hideselection</code>]を` false`に設定しましたか? 何らかの理由で、デフォルト値は「true」で、コントロールにフォーカスがない限りノードが選択されて表示されないようにします(もちろん、マウスを使用してノードを選択すると、ノードが選択されます)。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
3f08c532b0771d872f84f2cb2e14123c | <div class="paragraph">
<p>"awk:関数systimeが定義されていません。"</p>
</div>
<div class="paragraph">
<p>しかしsystimeは組み込みコマンドです</p>
</div>
| awkは以下のエラーを出す | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>solarisでは、 <code>/ usr / bin / awk`はデフォルトでは</code> / usr / bin / oawk`へのリンクです。これは <code>systime`を組み込み(あるいは7th edition awk上の他の多くの拡張)として認識しません。 。 `/ usr / bin / awk`を</code> / usr / bin / nawk`に再リンクするか、 <code>nawk`を直接使用するか、またはgnu awk(</code> gawk`)をインストールして使用してください。</p>\n</div>\n<div class=\"paragraph\">\n<p>hp-ux、aixのような他のunixシステムも同様の問題を抱えているかもしれません。 macos x(そして、推論によるとbsd)は、非gnu、非拡張バージョンの `awk`をインストールします(訂正してくれてありがとう、dmckee)。 linuxはそうではありません。それはメイン/唯一の `awk`としてgnu awkを使用します。 もちろん、gnu awkはこれらのどのシステムにも簡単にインストールできます。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>awkの「風味」の問題であるように思われます。</p>\n</div>\n<div class=\"paragraph\">\n<p>gawk(gnu awk)にはsystime()が含まれていますが、使用しているバージョンには含まれていないかもしれません。</p>\n</div>\n<div class=\"paragraph\">\n<p>systime呼び出しがawkスクリプト自体の中の時間差を追跡することを意図していない限り、awk systime()関数の欠如を回避するためのトリックは、このシステム変数の値をawkコマンドラインの変数として渡すことです。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
4cf971ef117ae062be747796847555f6 | <div class="sect4">
<h5 id="\_ie\_6および7の純粋なcssドロップダウンメニューの問題">ie 6および7の純粋なcssドロップダウンメニューの問題</h5>
<div class="paragraph">
<p>私はドロップダウン付きの純粋なcssメニューを持っています。ie8とffではうまく動作しますが、ie7とie6の互換モードは動作しません。</p>
</div>
<div class="paragraph">
<p>それはドロップダウンします-しかし、マウスが下のメインのウェブサイトバナー上に移動すると、そこに巨大な画像があり、ドロップメニューが消えます…​</p>
</div>
<div class="paragraph">
<p>ここにリンクをドロップしたくないので、おそらく私のプロフィールからサイトを見つけることができます。</p>
</div>
<div class="paragraph">
<p>しかし、ここにいくつかのコードがあります。 最初にメニュー。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>home
company
about us
going green
privacy policy
terms and conditions
products
domain registrations
php web hosting packages
email hosting packages
contact us
support
pre-sales questions
client area
register
login
client area
knowledgebase
help ticket system</pre>
</div>
</div>
<div class="paragraph">
<p>cssセカンドアップ</p>
</div>
<div class="literalblock">
<div class="content">
<pre>ul {
font-family:verdana, geneva, sans-serif, arial, helvetica, sans-serif;
font-size:11px;
font-weight:700;
list-style:none;
float:right;
margin:0;
padding:0;
}
ul li {
display:block;
position:relative;
float:left;
border-right:1px solid #ccc;
}
li ul {
display:none;
}
ul li a {
display:block;
text-decoration:none;
color:#c00;
border-top:1px solid #ededed;
background:#ededed;
margin-left:1px;
white-space:nowrap;
text-transform:uppercase;
padding:8px 15px;
}
ul li a:hover {
background:#c00;
color:#fff;
}
li:hover ul {
display:block;
position:absolute;
border-right:0;
}
li:hover li {
float:none;
font-size:11px;
border-right:0;
}
li:hover a {
background:#444;
color:#fff;
border-top:1px solid #555;
border-right:0;
text-align:left;
}
li:hover li a:hover {
background:#dedede;
color:#c00;
border-right:0;
}</pre>
</div>
</div>
<div class="paragraph">
<p>任意の助けをいただければ幸いです。 前もって感謝します。</p>
</div>
</div>
| ie 6および7の純粋なcssドロップダウンメニューの問題 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>純粋なcssメニューには、多くの問題があります。特にhttps://ux.stackexchange.com/questions/343/common-web-app-usability-gotchas/415#415[diagonal problem]です。 javascriptに切り替えることをお勧めします。これにより、ブラウザーの互換性の問題が解決し、メニューがより使いやすくなります。</p>\n</div>\n<div class=\"paragraph\">\n<p>jqueryを使用している場合、http://users.tpg.com.au/j\\_birch/plugins/superfish/ [superfish]をお勧めします。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>私の知る限り、ie6でメニューを使用するにはjavascriptを使用する必要があります。 あなたが見たいと思うかもしれないインスタントシフトに関する記事を書きました:</p>\n</div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"http://www.instantshift.com/2010/07/16/create-simple-dropdown-menu-using-jquery/\" class=\"bare\">http://www.instantshift.com/2010/07/16/create-simple-dropdown-menu-using-jquery/</a> [作成\njqueryを使用したシンプルなドロップダウンメニュー]</p>\n</li>\n</ul>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
6459b6feaa68153e84652df050a9e013 | <div class="sect4">
<h5 id="\_組み込みの正規表現クラスまたはパーサーhtmlファイルからタグ間のテキストを抽出する方法">組み込みの正規表現クラスまたはパーサー。htmlファイルからタグ間のテキストを抽出する方法</h5>
<div class="paragraph">
<p>c#.netアプリケーションにテーブルコンテンツとその他の情報があるhtmlファイルがあります。</p>
</div>
<div class="paragraph">
<p>一部の列のみのテーブルの内容を解析したいのですが、htmlのパーサーまたは.netの* <em>regex</em> <strong>の</strong> <em>replace</em> *メソッドを使用する必要がありますか?</p>
</div>
<div class="paragraph">
<p>そして、パーサーを使用する場合、パーサーの使用方法は? パーサーは、タグの間にある情報を抽出しますか? はいの場合、どのように使用しますか? パーサーは初めてなので、可能であれば例を示してください。</p>
</div>
<div class="ulist">
<ul>
<li>
<p><em>regex</em> <strong>クラスの</strong> <em>replace</em> *メソッドを使用する場合、そのメソッドで情報を抽出するファイル名を渡す方法は?</p>
</li>
<li>
<p><em>edit</em> *:htmlファイルのテーブルから情報を抽出したい。 そのために、htmlアジリティパーサーをどのように使用できますか? そのパーサーを使用するには、どのタイプのコードを作成する必要がありますか?</p>
</li>
</ul>
</div>
</div>
| 組み込みの正規表現クラスまたはパーサー。htmlファイルからタグ間のテキストを抽出する方法 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p><a href=\"https://stackoverflow.com/questions/2370092/how-to-use-html-parser-in-c-net-application\" class=\"bare\">https://stackoverflow.com/questions/2370092/how-to-use-html-parser-in-c-net-application</a> [ほぼ同一の質問]を尋ねて削除しました。 以前私が出した答えは次のとおりです。</p>\n</div>\n<div class=\"paragraph\">\n<p>'' '' '</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://www.codeplex.com/htmlagilitypack\">html agility pack</a>を試してください。</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://htmlagilitypack.codeplex.com/wikipage?title=examples\" class=\"bare\">http://htmlagilitypack.codeplex.com/wikipage?title=examples</a> [例]:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre> htmldocument doc = new htmldocument();\n doc.load(\"file.htm\");\n foreach(htmlnode link in doc.documentelement.selectnodes(\"//a[@href\"])\n {\n htmlattribute att = link[\"href\"];\n att.value = fixlink(att);\n }\n doc.save(\"file.htm\");</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>'' '' '</p>\n</div>\n<div class=\"paragraph\">\n<p>正規表現に関する追加の質問について:正規表現を使用してhtmlを解析しないでください。 堅牢なソリューションではありません。 上記のライブラリは、はるかに良い仕事をすることができます。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p><a href=\"http://www.codeplex.com/htmlagilitypack\" class=\"bare\">http://www.codeplex.com/htmlagilitypack</a> [htmlagilitypack] …​.</p>\n</div>\n<div class=\"paragraph\">\n<p>次回-前に答えを検索します。 これは確かに重複しています。</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"https://stackoverflow.com/questions/846994/how-to-use-html-agility-pack\" class=\"bare\">https://stackoverflow.com/questions/846994/how-to-use-html-agility-pack</a> [小さなチュートリアル]。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
2c750f8173dfee4973b1e514490e150d | <div class="sect4">
<h5 id="\_コンソールアプリケーションの信頼できるタイマー">コンソールアプリケーションの信頼できるタイマー</h5>
<div class="paragraph">
<p><a href="http://en.wikipedia.org/wiki/.net\_framework">.net</a>には、3種類のタイマーがあります(\_http://msdn.microsoft.com/ja-jp/magazine/cc164015.aspxを参照)。 .net frameworkクラスライブラリ内のタイマークラスの比較]])。 メインスレッドがビジーの場合に他のタイプがドリフトする可能性があるので、私はスレッドタイマーを選択しました。そして、これを信頼できるものにする必要があります。</p>
</div>
<div class="paragraph">
<p>このタイマーがタイマーの制御で機能する方法は別のスレッドに置かれるため、ビジーではないときに親スレッドで完了した作業の開始と共に常にティックすることができます。</p>
</div>
<div class="paragraph">
<p>コンソールアプリケーションでのこのタイマーの問題は、タイマーが別のスレッドで動作している間、メインスレッドがアプリケーションに対して何もしていないことが閉じることです。</p>
</div>
<div class="paragraph">
<p>「while true」ループを追加しようとしましたが、タイマーが切れるとメインスレッドはビジー状態になります。</p>
</div>
</div>
| コンソールアプリケーションの信頼できるタイマー | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>メインスレッドをブロックするために `console.readline()`のようなものを使うことができるので、他のバックグラウンドスレッド(タイマースレッドのような)はまだ動作します。 <a href=\"http://msdn.microsoft.com/ja-jp/library/system.threading.autoresetevent.aspx\">autoresetevent</a>を使用して実行をブロックすることもできます。その後、必要に応じてset()メソッドを呼び出すことができます。そのautoreseteventオブジェクトに対してメインスレッドを解放します。 また、timerオブジェクトへの参照が範囲外にならず、ガベージコレクトされていないことを確認してください。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p><a href=\"http://msdn.microsoft.com/ja-jp/library/system.threading.manualresetevent.aspx\">manualresetevent</a>を使用してメインスレッドをその処理の最後にブロックすることを検討し、その上で `reset()`を呼び出します。タイマーの処理が終了したら これを常時実行する必要がある場合は、これをコンソールアプリではなくサービスプロセスに移動することを検討してください。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
7717bc3d98f7a55f626d04224e6b6272 | <div class="paragraph">
<p>それはデスクトップを交換することが可能であるかどうか疑問に思う(すなわち。 wpfウィンドウ、フレーム、またはwpfとc#を使用して対話できるものがあるアイコン、壁紙) [デスクトップを表示]をクリックしたときに非表示にしたくない場合もあります。</p>
</div>
<div class="paragraph">
<p>私はいくつかのwin32 apiか何かを使う必要があるだろうと思いますか? 誰かが例を持っていますか、それとも誰かが私を正しい方向に向けることができますか?</p>
</div>
<div class="paragraph">
<p>ありがとう</p>
</div>
| デスクトップをwpfアプリケーションに置き換える | codeflow.site | 2020.10 | [
{
"text": "<div class=\"literalblock\">\n<div class=\"content\">\n<pre>http://learnwpf.com/posts/post.aspx?postid=e9cb689c-e6af-407a-b28c-d38f2f2f555c[wpfで枠なしウィンドウを作成する方法を教えてください。]</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>チェック</p>\n</div>\n<div class=\"olist arabic\">\n<ol class=\"arabic\">\n<li>\n<p><a href=\"http://www.codeproject.com/kb/wpf/3d-gadget-wpf.aspx\">wpfデスクトップ用3dガジェット</a></p>\n</li>\n</ol>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"literalblock\">\n<div class=\"content\">\n<pre>http://www.hanselman.com/babysmash/[baby smash!]をチェックしてください。これは、wpfアプリケーションです。 あなたもその情報源を手に入れることができると思います。</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
db15494e10f388de3e9c12e913f8fe72 | <div class="sect4">
<h5 id="\_netをサイレントまたは自動でインストールする方法はありますか">.netをサイレントまたは自動でインストールする方法はありますか?</h5>
<div class="paragraph">
<p>c#で記述されたデスクトップソフトウェアを複数のクライアントに販売していますが、大きな問題があります。.netインストールです。 このソフトウェアのユーザーはコンピューターに精通しておらず、通常、.netフレームワークのどのバージョンもインストールされておらず、多くの場合それを望んでいません。</p>
</div>
<div class="paragraph">
<p>私のサポートリクエストのほとんどすべてが、.netをインストールしていない人によるものです。 私は彼らにそれぞれフレームワークをインストールすることを思い出させなければなりません、そして、彼らのほとんどは彼らがそれをインストールしたくないので、彼らがそれに「キャンセル」を打つと言います。 多くの人は、混乱して対処したくないため、払い戻しを求めています。 彼らはそれが必要であることを理解しておらず、マイクロソフトに行ってダウンロードしたくないのです。 私は多くの時間とお金を失っています。</p>
</div>
<div class="paragraph">
<p>しかし、十分な背景、私の質問は:.netフレームワークを合法的にインストールして、サポートの連絡先の数を減らすことができますか? .netフレームワークがインストールされると言って何らかの免責条項を付けた場合、それは合法ですか? もちろん、自動的にインストールすることもできますが、ユーザーはそれをキャンセルしており、ソフトウェアが動作不能になることを認識していません。</p>
</div>
<div class="paragraph">
<p>おかしく聞こえますが、「。netのインストールが必要であることを伝えてください」などの明白な提案はすでに試されています。 巨大な赤いフォントで3回顧客にそれが必要であることを伝えますが、それでも彼らはそれを読みません。</p>
</div>
<div class="paragraph">
<p>助言がありますか? 私はc#を放棄して次の製品をjavaまたはdelphiで構築する準備ができています。それがこの問題が大きくなっていることです。</p>
</div>
</div>
| .netをサイレントまたは自動でインストールする方法はありますか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>以下の記事の「アプリケーションセットアップでの再配布可能パッケージのチェーン化」の説明を使用してください。 `/ q`スイッチは、ユーザーにプロンプトを表示せずにフレームワークのインストールを許可する必要があります。 これにより、ユーザーがフレームワークのインストールをキャンセルする問題を解決できます。</p>\n</div>\n<div class=\"paragraph\">\n<p><strong>アプリケーション開発者向け.net framework 3.5展開ガイド</strong> + <a href=\"http://msdn.microsoft.com/en-us/library/cc160716.aspx\" class=\"bare\">http://msdn.microsoft.com/en-us/library/cc160716.aspx</a></p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>もちろん、コマンドラインについて説明したブログ投稿があります。 インストーラーを使用してアプリケーションをデプロイする場合は、明らかに、robertが説明している推奨アプローチを使用することをお勧めします。 しかし、あなたがそれをたくさんのマシンにインストールしようとしているなら、これは助けになるかもしれません。</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://blogs.msdn.com/astebner/archive/2009/04/16/9553804.aspx\" class=\"bare\">http://blogs.msdn.com/astebner/archive/2009/04/16/9553804.aspx</a></p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
d2f7eb92e191ac9f17448326f64c5d44 | <div class="sect4">
<h5 id="\_phpで条件デザインとは別のデザインcssを処理する標準的な方法はありますか">phpで条件(デザイン)とは別のデザイン(css)を処理する標準的な方法はありますか?</h5>
<div class="paragraph">
<p>私はwebベースのアプリケーションで開発者と協力してきました。 私は主にhtmlとcssの経験があり、重い作業が終わったので、プログラムの設計要素の改善を始めたいと思っています(それは理想的な状況ではなく、完全な世界では、すべての設計要素は最初から考慮されていましたが、プロジェクトに取り組んでいる人は、それが常にそのようになるとは限らないことを知っています:-d)</p>
</div>
<div class="paragraph">
<p>広範なphp条件付きで作業するときに、cssと一般的なレイアウト構造を処理する「標準」の方法があるかどうか興味があります。 ページの1つの領域の例を次に示します。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>$print\_data .= 'my subscription: ';
if($period3=="1 m") {
$print\_data .= "$".$amount3." a month.
";
$print\_data .= "billing date: monthly on the " . date("js", $subscr\_effective\_date\_string) .".
modification options:
";
$print\_data .= '
';
}
elseif($period3=="6 m") {
$print\_data .= "$".$amount3." every 6 months.
";
$print\_data .= "billing date: every 6 months on " . date("m/d", $subscr\_effective\_date\_string) ." and " . date("m/d",$subscr\_effective\_date\_add\_6mo\_string) .".
modification options:
";
$print\_data .= '
';
}
elseif($period3=="1 y") {
$print\_data .= "$".$amount3." every year.
";
$print\_data .= "billing date: yearly on the " . date("m/d", $subscr\_effective\_date\_string) .".
modification options:";
$print\_data .= '
';
}
$print\_data .= '';</pre>
</div>
</div>
<div class="paragraph">
<p>要するに、上記の内容を「</p>
</div>
<div class="paragraph">
<p>そして、各条件を別々の ``にする</p>
</div>
<div class="paragraph">
<p>「</p>
</div>
<div class="paragraph">
<p>条件に応じて。</p>
</div>
<div class="paragraph">
<p>この種のことは、通常、すべてインラインで処理されますか?</p>
</div>
<div class="paragraph">
<p>ありがとうございます。 joel</p>
</div>
</div>
| phpで条件(デザイン)とは別のデザイン(css)を処理する標準的な方法はありますか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>uf、それはいです。 それが、ここ数年でweb開発がmodel-view-controller(mvc)アプローチに移行しているほとんどの理由です。 理想的には、プレゼンテーションマークアップ(上記のスープのhtmlタグ)が1つのファイルにあり、それを別のファイルに取り込むロジックがあります。 phpでこれを行う最も一般的な方法の1つは、http://www.smarty.net/ [smarty]テンプレートエンジンを使用することです。</p>\n</div>\n<div class=\"paragraph\">\n<p>その間、少なくとも上記のコードはクリーンアップする必要があります。$ amount3の値と請求入力ボタンに表示されるテキストを把握し、htmlを1か所で繰り返すのではなく、1か所で出力するだけです。ケース(そして、クリーンさと少しのセキュリティ強化のために文字列を詰め込むのではなく、http://us2.php.net/manual/en/function.sprintf.php [sprintf]を使用するとよいでしょう)。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
8511bd401c865d6f4ea8d38dfd3b83f7 | <div class="sect4">
<h5 id="\_sql\_datediffが機能しませんか">sql datediffが機能しませんか?</h5>
<div class="paragraph">
<p>単純なdatediffクエリを実行していますが、日数を正しく計算していないようです。または、何か間違ったことをしています。</p>
</div>
<div class="paragraph">
<p>走れば</p>
</div>
<div class="literalblock">
<div class="content">
<pre>print datediff(day, 2010-01-20, 2010-01-01)
return 19</pre>
</div>
</div>
<div class="paragraph">
<p>どちらが正しい。 最初の日付の月を2月(02)に変更すると、何か奇妙なことが起こります。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>print datediff(day, 2010-02-20, 2010-01-01)
return 20</pre>
</div>
</div>
<div class="paragraph">
<p>さて、48か何かにすべきではないでしょうか?</p>
</div>
<div class="paragraph">
<p>誰が私が間違っているのかを見ることができますか、これらの日付の間の日数が必要な場合、これは使用する正しい機能ではありませんか?</p>
</div>
<div class="paragraph">
<p>私は他から1つの日付を取得しようとしました:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>print (2010-02-20) - (2010-01-01)
return -20</pre>
</div>
</div>
<div class="paragraph">
<p>任意の助けは大歓迎です。</p>
</div>
<div class="paragraph">
<p>ありがとう</p>
</div>
</div>
| sql datediffが機能しませんか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>引用符がありません</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>print datediff(day, '2010-01-01', '2010-02-20')</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>あなたは20を得ています</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>2010 - 1 - 1 = 2008\n2010 - 2 - 20 = 1988\n\n2008 - 1988 = 20</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>この方法で実行する場合:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>select 2010-02-20, 2010-01-01</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>あなたが表示されます</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>1988 2008</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>ここに入力した結果または整数演算です。</p>\n</div>\n<div class=\"paragraph\">\n<p>日付定数を単一引用符で囲みます。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>select datediff(day, '2010-02-20', '2010-01-01')\n\n--\n-50</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
35766aadf8b0b08e03b8b93343deff1d | <div class="sect4">
<h5 id="\_htmlフォーム内の複数の送信ボタン">htmlフォーム内の複数の送信ボタン</h5>
<div class="paragraph">
<p>htmlフォームでウィザードを作成したとしましょう。 1つのボタンが戻り、そして1つが進みます。 enterキーを押すと、マークアップの最初に\_back\_ボタンが表示されるので、ボタンを使用してフォームを送信します。</p>
</div>
<div class="paragraph">
<p>例:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-snippet-code-html" data-lang="snippet-code-html"></code></pre>
</div>
</div>
<div class="paragraph">
<p>私がやりたいことは、ユーザーがenterを押したときにどのボタンを使ってフォームを送信するかを決めることです。 そうすると、enterキーを押すとウィザードは前のページではなく次のページに移動します。 これを行うには `tabindex`を使う必要がありますか?</p>
</div>
</div>
| htmlフォーム内の複数の送信ボタン | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>これが役に立つことを願っています。 右側のボタンをフロートさせるというトリックをやっているだけです。</p>\n</div>\n<div class=\"paragraph\">\n<p>このように、prevボタンはnextボタンの左側にありますが、nextはhtmlコードの最初に来ます。</p>\n</div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre class=\"highlight\"><code class=\"language-snippet-code-css\" data-lang=\"snippet-code-css\">.f {\n float: right;\n}\n.clr {\n clear: both;\n}</code></pre>\n</div>\n</div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre class=\"highlight\"><code class=\"language-snippet-code-html\" data-lang=\"snippet-code-html\"></code></pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>*編集:*他の提案よりも優れている点:javascriptが利用できない、アクセス可能、両方のボタンが `type =\" submit \"のまま</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>前のボタンの種類を次のようなボタンに変更することは可能でしょうか。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre></pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>これでnextボタンがデフォルトになるでしょう。それに加えてあなたのブラウザがそれを強調するように `default`属性を追加することもできます:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre></pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>お役に立てば幸いです。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
a0942f653ad079c83fbd1627f95755f2 | <div class="sect4">
<h5 id="\_rsa秘密鍵をrsacryptoserviceproviderにインポートするにはどうすればよいですか">rsa秘密鍵をrsacryptoserviceproviderにインポートするにはどうすればよいですか?</h5>
<div class="paragraph">
<p>win32 crypto apiで生成されたrsa公開/秘密キーペアを.netアプリケーションにインポートしようとしています。 キーペアを作成してエクスポートするコードは次のようになります。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>// abbreviated for clarity.
cryptacquirecontext(..., ms\_enhanced\_prov, ...);
// generate public/private key pair
cryptcreatehash(..., calg\_sha1, ...);
crypthashdata(hash, password, ...);
cryptderivekey(..., calg\_3des, hash, crypt\_exportable, ...);
cyrptexportkey(..., derivedkey, privatekeyblob, ...);</pre>
</div>
</div>
<div class="paragraph">
<p>基本的に、このコードは公開/秘密キーペアを暗号化されたblobとしてエクスポートしています。 sha-1ハッシュから派生したキーを使用した暗号化に3desアルゴリズムを使用します。</p>
</div>
<div class="paragraph">
<p>このキーを.netにインポートしようとすると、問題が発生します。 私はアプローチしようとしました:</p>
</div>
<div class="paragraph">
<p>(1)rsacyrptoserviceproviderオブジェクトを作成し、importcspblob()を呼び出します。 これにより、「bad data」というメッセージとともに例外がスローされます。プロバイダーオブジェクトには、ブロブがどのように暗号化されたかを知る方法がないため、これは驚くことではありません。 私が知る限り、これに使用するアルゴリズムとキーを伝える方法はまったくありません。</p>
</div>
<div class="paragraph">
<p>(2)passwordderivebytesクラスを使用して自分でblobを手動で復号化し、復号化されたblobをimportcsbblob()に渡します。 もう一度、例外が発生します。 今回は、メッセージは「プロバイダのバージョンが不良です」です。プロバイダーオブジェクトを作成するときに、プロバイダー名( "microsoft enhanced cryptographic provider v1.0")を手動で指定しようとしましたが、違いはありません。</p>
</div>
<div class="paragraph">
<p>これを機能させることが重要です。 何か案は?</p>
</div>
<div class="paragraph">
<p><strong>溶液</strong></p>
</div>
<div class="paragraph">
<p>c ++と.netの両方で暗号化されていない公開/秘密キーペアを生成した後、microsoft enhanced cryptographic providerが実際にキーペアの最初の8バイトを暗号化しないことを発見しました。 (これは、ループの.netラッパーをスローしていたバージョン情報である必要があります。).net復号化コードを変更して最初の8バイトをそのままにすると、すべて正常に動作します。</p>
</div>
<div class="paragraph">
<p>このソリューションは、暗号化プロバイダーの内部実装詳細に依存するため、あまり良くありません。 残念ながら、microsoftは復号化のアルゴリズムとキーを指定できるimportcspblobのバージョンを提供することを怠ったため、他の方法はないと思います。</p>
</div>
</div>
| rsa秘密鍵をrsacryptoserviceproviderにインポートするにはどうすればよいですか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>アプローチ2)では、復号化されたキーが暗号化前と同じであることを確認します。</p>\n</div>\n<div class=\"paragraph\">\n<p>「sha-1ハッシュから派生したキー」がpasswordderivebytesのキーと一致するとは思わない</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
f2e421890130158145df25e61e359567 | <div class="paragraph">
<p>eclipse用のgrailsプラグインを機能させることに成功した人はいますか? netbeansでgrailsプラグインはどうですか?</p>
</div>
| eclipseとnetbeans 6.1のgrailsプラグイン | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>netbeans 6.5 betaを使用している場合は、grails機能は有望ですが、まだバグがあります(マイナー)。 良いことは6.5 groovyにあり、grailsのサポートは標準です。プラグインをインストールする必要はありません。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>残念ながら、grails用のeclipseプラグインはあまり進歩していません。grailsの開発用に <a href=\"http://www.jetbrains.com/idea/\">intel idea</a>を使用し始めました。 /idea/features/groovy\\_grails.html[jetgroovy]プラグインは優れていて、良くなっています!</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
85458029df8c3661919b51328e2c4e1e | <div class="paragraph">
<p>c#のファイルやフォルダをすばやく圧縮または解凍する良い方法を知っている人はいますか? 大きなファイルを扱う必要があるかもしれません。</p>
</div>
| フォルダの圧縮/解凍 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"literalblock\">\n<div class=\"title\">net 2.0フレームワークの名前空間 <code>system.io.compression`はgzipとdeflateアルゴリズムをサポートします。 ファイルオブジェクトから取得できるバイトストリームを圧縮および解凍する2つの方法があります。 以下のメソッドで `defaultstream`の代わりに</code> gzipstream`を代用してそのアルゴリズムを使うことができます。 しかしながら、これは依然として異なるアルゴリズムで圧縮されたファイルを扱うという問題を残しています。</div>\n<div class=\"content\">\n<pre>public static byte[] compress(byte[] data)\n{\n memorystream output = new memorystream();\n\n gzipstream gzip = new gzipstream(output, compressionmode.compress, true);\n gzip.write(data, 0, data.length);\n gzip.close();\n\n return output.toarray();\n}\n\npublic static byte[] decompress(byte[] data)\n{\n memorystream input = new memorystream();\n input.write(data, 0, data.length);\n input.position = 0;\n\n gzipstream gzip = new gzipstream(input, compressionmode.decompress, true);\n\n memorystream output = new memorystream();\n\n byte[] buff = new byte[64];\n int read = -1;\n\n read = gzip.read(buff, 0, buff.length);\n\n while (read > 0)\n {\n output.write(buff, 0, read);\n read = gzip.read(buff, 0, buff.length);\n }\n\n gzip.close();\n\n return output.toarray();\n}</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>私はいつもsharpzip libraryを使ってきました。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>http://sharpdevelop.net/opensource/sharpziplib/download.aspx[こちらのリンク]</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
adbb612e12240cff5a55ba2f5c05525b | <div class="paragraph">
<p>私はc#開発者です。そして今、私はvisual basic.netで書かれたいくつかの大きな、すでに本番のプロジェクトに携わっています。</p>
</div>
<div class="paragraph">
<p>私はc#で書かずにvisual basic.netへの自動変換ツールを使わないように努力しています。 visual basic.net * quickly *で流暢に読み書きできるようにしたい。 私はvb.netを書いたり読んだりできますが、c#を書いたり読んだりするのはそれほど簡単ではありません。</p>
</div>
<div class="paragraph">
<p>同じ状況にあった人がそこでの経験を共有したり、いくつかの良いリソースを指し示したりすることができれば私は感謝するでしょう。</p>
</div>
| c#開発者のためのvisual basic.netリソース | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>ここにいくつかのクイックリンクがあります。 論理は同じです。 基本的には単なる構文です。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>http://ja.wikipedia.org/wiki/comparison\\_of\\_c\\_sharp\\_and\\_visual\\_basic\\_.net[c sharpとvisual basic .netの比較]</pre>\n</div>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>http://aspalliance.com/625[c#とvb.netの比較チートシート]</pre>\n</div>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>http://www.harding.edu/fmccown/vbnet\\_csharp\\_comparison.html[vb.netとc#の比較]</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"literalblock\">\n<div class=\"content\">\n<pre>http://www.harding.edu/fmccown/vbnet\\_csharp\\_comparison.html[これは、私が過去にそのような状況で使用した良いページです。 これは最新の正確さではありませんが、良い出発点になるはずです。</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
05b8b6d54dea0d2d803ef841f6050130 | <div class="paragraph">
<p>フォーラムで未読の投稿を含むリストを表示するための効率的な方法は何ですか? ユーザーを追跡し、訪問した各投稿を記録して新しいテーブルに登録することができます。</p>
</div>
<div class="paragraph">
<p>これはあまり効率的ではないと思います。 これを行うためのより効率的な方法は何ですか?</p>
</div>
| 未読トピックリストをmysqlで作成する方法 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>あなたが本当にこれをしたいならば、あなたは以下のようなテーブルを持つことができます</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>uservisit:user\\_id、topic\\_id、last\\_visited\\_at</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>ユーザーがトピックを開いたときに更新するテーブル。 次に、この表にidが含まれていないトピック、またはlast\\_visited\\_atより後に投稿が追加されているトピックを選択できます。 何かのようなもの:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>select * fromトピックwhere topic.id not in(select topic\\_id from uservisit where user\\_id = $ user\\_id)\n\n連合\n\nselect * fromから左へ結合uservisit on topic.id = uservisit.topic\\_id where user\\_id = $ user\\_id and uservisit.last\\_visited\\_at <topic.last\\_post\\_at</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>しかし、これに代えて、ユーザーが最後にサイトにアクセスしてから新しい投稿があるトピックのみをユーザーに提示することをお勧めします。 あなたがこれをするならば、あなたはまったくこのテーブルを必要としません、あなたは以下のようにトピックを問い合わせることができます:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>select * fromのトピックwhere topic.last\\_post\\_at> $ users\\_last\\_visit</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
f501dc4727fee0e0c25a83bee901e6d3 | <div class="sect4">
<h5 id="\_eclipse\_for\_javaでwebサービスのプロキシクラスを作成するにはどうすればよいですか">eclipse for javaでwebサービスの「プロキシ」クラスを作成するにはどうすればよいですか?</h5>
<div class="paragraph">
<p>私はこれを理解できません。私はかなり初心者のeclipseユーザーです。 私は貿易で.net / c#ガイで、暇なときにjavaで遊んでいます。</p>
</div>
<div class="paragraph">
<p>basichttpbindingでホストされている.net wcfサービスがあります。別の.netアプリケーションからこのサービスを正常に呼び出しています。visualstudio svcutilを使用してプロキシクラスを生成しました(サービス参照の追加を使用)。</p>
</div>
<div class="paragraph">
<p>eclipseを使用してjavaで同じ結果をどのように達成できるのか疑問に思っていますか? eclipseの最新バージョンをダウンロードしましたが、機能していないようです。</p>
</div>
</div>
| eclipse for javaでwebサービスの「プロキシ」クラスを作成するにはどうすればよいですか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>[ファイル]→ [新規]→ [その他]を確認します。 ダイアログで、[webサービスクライアント]を選択します。</p>\n</div>\n<div class=\"paragraph\">\n<p>このオプションが表示されない場合は、http://www.eclipse.org/webtools/ [web tools platform]プラグインが欠落している可能性があります。</p>\n</div>\n<div class=\"paragraph\">\n<p>チュートリアルhttp://px.pats.no/px/eclipse\\_tutorial.html[here]があり、プロセスを順を追って説明します(ただし、古いバージョンのeclipse)。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
fe1a49e2c6970a56ba2612abdb195795 | <div class="paragraph">
<p>私は私の転覆が私に電子メール(そして私の同僚)を毎コミットに送って欲しいと思います。 これには多くの解決策がありますが、私はsvn urlにワイルドカード/正規表現の一致を使用し、それを使用してさまざまな人々のグループに通知することを可能にするものを見つけられませんでした。</p>
</div>
<div class="paragraph">
<p>誰もがそれをやった?</p>
</div>
| subversionのeメール通知 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>例えばシェルスクリプトを使用する場合、コミット後フックスクリプトからより多くの詳細を得るためには `svnlook`を使用しなければなりません。 pythonを使用している <a href=\"http://subversion.tigris.org/tools\\_contrib.html#mailer\\_py\">this one</a>など、いくつかの例もtigris webサイトにあります。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>標準の <a href=\"https://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/mailer/mailer.py\">mailer.py</a>は `for\\_paths`設定の正規表現をサポートします。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
60f50eebe6d3240303c29c672a5cfe16 | <div class="paragraph">
<p>c#でwebブラウザコントロールにロードされたwebページを印刷したいです。
.net application.we have custom printer driver to print the bitmap
画像、今私たちの仕事は、印刷媒体のcssスタイルをwebbrowserコントロールに適用することによって、webページの印刷用バージョンを取得することです。</p>
</div>
<div class="paragraph">
<p>あなたはc#.netアプリケーションのhtmlウェブページのprinter friendlyバージョンを得るための方法/コードを知っていますか。</p>
</div>
<div class="paragraph">
<p>ありがとう、ramanand bhat。</p>
</div>
| 印刷メディアのcssスタイルを取得するc#のwebbrowserコントロールでwebページを適用 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>印刷スタイルシートをスタイルするときは、 ``</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
0709f8152e8e2abac9556c8f6a8b327d | <div class="paragraph">
<p>各フレームの色付きの長方形で構成される、通常のyoutubeビデオをオーバーレイ注釈付きで表示できるようにしたいです。 唯一の要件は、これがプログラムによって行われる必要があることです。</p>
</div>
<div class="paragraph">
<p>youtubeには現在注釈がありますが、手動で作成するにはフロントエンドを使用する必要があります。 それらを生成できるようにしたいです。 これを行う最良の方法は何ですか?</p>
</div>
<div class="paragraph">
<p>いくつかのアイデア:</p>
</div>
<div class="quoteblock">
<blockquote>
<div class="olist arabic">
<ol class="arabic">
<li>
<p>あなた自身のflashプレーヤーを作る(ew?)</p>
</li>
<li>
<p>どういうわけかyoutubeのflashプレーヤーを引き継いでください。 これは機能しますか?</p>
</li>
<li>
<p>リバースエンジニアリング ローカルファイルをめちゃくちゃにするか、アノテーションをダウンロードする試みをリダイレクトします。 (greasemonkeyを使う? firefoxのプラグイン?)<em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em><em></em></em><em><em></em></em></p>
</li>
</ol>
</div>
<div class="paragraph">
<p>数えられないアイデア:</p>
</div>
<div class="paragraph">
<p><em><em></em><em></em></em><em><em></em><em>\_ビデオをダウンロード</em><em></em></em><em><em></em><em></em></em>\_</p>
</div>
</blockquote>
</div>
| プログラムによるyoutubeビデオへの注釈付け | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>youtubeはhttp://code.google.com/apis/youtube/flash\\_api\\_reference.html [actionscript api]を提供しています。</p>\n</div>\n<div class=\"paragraph\">\n<p>これを使用すると、apiを使用してビデオをflashにロードしてから、flashアプリケーションにビデオの上のレイヤーに注釈を作成させることができます。</p>\n</div>\n<div class=\"paragraph\">\n<p>あるいは、flashで何かを作成したくない場合は、youtubeのjavascript apiを使用して、webページ上のyoutubeプレーヤーの上にhtml divを描画できます。 プレーヤを埋め込んでparamsリストに `wmode =\" transparent \"`を含めることを忘れないでください。</p>\n</div>\n<div class=\"paragraph\">\n<p>youtubeの例を使用してください。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre> var params = { allowscriptaccess: \"always\" };\n var atts = { id: \"myytplayer\", wmode: \"transparent\" };\n swfobject.embedswf(\"http://www.youtube.com/v/video\\_id&enablejsapi=1&playerapiid=ytplayer\",\n \"ytapiplayer\", \"425\", \"356\", \"8\", null, null, params, atts);</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>そして、あなたはcss / dhtmlを使ってyoutubeの映画の上にあなたの注釈を描くことができるはずです。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>joe berkovitzさんは「reviewtube」と呼ばれるサンプルアプリケーションを作成しました。 これらのキャプションは一般にアクセス可能になり、サイトへの訪問者はキャプション付きのビデオのセットを閲覧することができます。 それをyoutubeの「字幕落書きの壁」と考えてください。</p>\n</div>\n<div class=\"paragraph\">\n<p>このアプリは、flexアプリケーションを構築するためのmvcsフレームワーク/アプローチを説明するための例です。</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://www.joeberkovitz.com/blog/reviewtube/\" class=\"bare\">http://www.joeberkovitz.com/blog/reviewtube/</a></p>\n</div>\n<div class=\"paragraph\">\n<p>これが色付きの長方形やその他のことに役立つかどうかはわかりませんが、開始するのに適切な場所です。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
b3fb64c6ce04a4337624ee2ae9487ab4 | <div class="sect4">
<h5 id="\_プログラムによるwcf構成をapp\_configに変換するにはどうすればよいですか">プログラムによるwcf構成をapp.configに変換するにはどうすればよいですか</h5>
<div class="paragraph">
<p>ハードコードされた構成を持つ自己ホスト型wcfサーバーがあります。 いくつかの新しい構成機能(ポートの変更、sslの追加)を実装しようとするまで、サーバーは正常に機能しました。新しい構成設定は機能しませんでした(urrr …​. )そして、コードのどこに問題があるのかを見つけるのは難しいと思います。</p>
</div>
<div class="paragraph">
<p>wcfオブジェクトを宣言するコードを掘り下げる代わりに、別のアプローチを考えました。</p>
</div>
<div class="paragraph">
<p>すべての構成が読み込まれた後に、ハードコードされたwcf構成(全体)をテキストファイルのようなapp.configにダンプする方法はありますか? これにより、設定全体を簡単にグローバルに表示できます..</p>
</div>
<div class="paragraph">
<p>うーん .. ところで、逆方向への翻訳を行う方法を知っている人はいますか? コードの構成。</p>
</div>
<div class="paragraph">
<p>どんなアドバイスも歓迎します!</p>
</div>
<div class="paragraph">
<p>ofer</p>
</div>
</div>
| プログラムによるwcf構成をapp.configに変換するにはどうすればよいですか | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>あなたはあなたのc#/ vbコードをどこかに自動的にダンプし、構成を構成ファイルxmlスキーマ(およびその逆)に変換する自動方法を見つけるとは思わないが、あなたが私の個人的な意見を聞いた場合、コードに構成をハードコーディングする強力な理由がある場合(そうする場合でも、私はそれを再考します)、コードからwcf構成を移動する必要があります。 構成はコードの責任ではありません。 これは構成です。つまり、「構成」を変更する必要がある場合、新しいビルドは必要ありません。</p>\n</div>\n<div class=\"paragraph\">\n<p>コードでは、サービス消費ロジックに集中する必要があり、バックエンドエンジンに設定を任せて処理します。 サービスの調整、最大/最小バッファサイズ、maxitemsinobjectgraphクォータなどの設定を調整する必要がある場合があることに注意してください。 ハードコーディングされている場合、新しい展開を意味します。 構成ファイルまたは他のリポジトリにある場合、簡単な構成変更を意味します。</p>\n</div>\n<div class=\"paragraph\">\n<p>構成ファイルにすべての構成がある場合、環境から環境(dev、dit、qa、uat、pre-prod、production)にコードを移動するときに、必要に応じて環境間で異なる設定を行うことができます(ポートがあるため)使用した番号は既に使用されているか、ファイアウォールでブロックされています)。 リリース管理チームは、構成ファイルで適切に構成します。</p>\n</div>\n<div class=\"paragraph\">\n<p>サービス構成をより詳細に制御したい場合は、サービス用のファクトリサービスを作成することを検討してください。すべての構成を一元化された場所(データベース、xmlファイルなど)から取得し、コードをその場で構成します。飛ぶ。</p>\n</div>\n<div class=\"paragraph\">\n<p>私はそれが役立つことを願っています…​</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
d3bf17c047b65b4ce2fd6df41f11e59e | <div class="paragraph">
<p>私はsqlに慣れていませんが、どのようにして他の変数の値に応じてある変数の値を自動的に設定することができますか。 私は食べ物テーブルに価格があり、注文テーブルには特定の食べ物の注文数に応じて価格の合計値を変更したいと思います。</p>
</div>
| sqlテーブル内の別の変数の値に応じて、ある変数の値を自動的に設定します。 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>2つのアプローチが考えられます。 1つ目は、orderレコードがすでにデータベースに挿入されており、単にその合計価格を更新したい場合です。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>更新注文セットtotalprice = numberofitems *(食品から選択価格where food.foodid = order.foodid)</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>あるいは、注文をデータベーステーブルに挿入するときに、食品の価格を取得できます。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre> - 与えられた:@foodidと@numberofitemsはこれに渡されました - パラメータとしてのストアドプロシージャdeclare @price decimal(10、2) - またはあなたの価格が以下のように定義されているものは何でも\n\nselect @price =食品からの価格where foodid = @foodid\n\n次の順序で挿入(foodid、numberofitems、totalprice)値(@foodid、@numberofitems、@numberofitems * @price)</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
e0f0fb5f4f4271925c2f373f7657c416 | <div class="paragraph">
<p>ウィキペディアによると、以下はとてもエレガントなbash fork bombです。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>:(){ :|:& };:</pre>
</div>
</div>
<div class="paragraph">
<p>それはどのように機能しますか?</p>
</div>
| このbashフォーク爆弾はどのように機能しますか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>分解すると、3つの大きな部分があります。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>:() # defines a function, \":\". it takes no arguments.\n{... ; #関数の本体\n: # invoke the function \":\" that was just defined.</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>本体の内部では、関数は2回呼び出され、パイプラインはバックグラウンドになります。プロセスに対する連続した呼び出しごとに、さらに \":\"が呼び出されます。 これは急速にシステムリソースの爆発的な消費につながり、物事を停止させます。</p>\n</div>\n<div class=\"paragraph\">\n<p>これを1回呼び出すと、無限に再帰するだけでは十分ではないことに注意してください。これは、元のプロセスでスタックオーバーフローを引き起こすだけなので、面倒ですが対処することができます。</p>\n</div>\n<div class=\"paragraph\">\n<p>より人間に優しいバージョンはこのようになります。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>kablammo(){#宣言宣言カブラモ ; kablammo#機能定義の終了。関数を呼び出します。</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>*編集:*下記のウィリアムのコメントは私が上で言ったことのより良い言い回しだったので、私はその提案を取り入れるように編集しました。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>短い答え:</p>\n</div>\n<div class=\"paragraph\">\n<p>コロン( \":\")は関数になるので、あなたはその関数にパイプで接続された関数を実行してそれをバックグラウンドに置く。 再帰が成立します。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
34b6617c0a481f1f537b20235f70b67d | <div class="paragraph">
<p>インストールされているjreのリストは空です。「追加」をクリックしたときに表示されるオプションは、実行環境の説明、標準1.1.x vm、標準vmだけです。</p>
</div>
<div class="paragraph">
<p>macosのデフォルトjreには選択肢がなく、標準vmを選択すると、通常の「標準vmはmacosではサポートされません」という結果になります。</p>
</div>
<div class="paragraph">
<p>eclipse galileo、mac os x 10.5.8。</p>
</div>
<div class="paragraph">
<p>どんな提案でも大歓迎</p>
</div>
| eclipse - mac os default jreが見つかりません | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>私はちょうど同じ問題を抱えていたし、私はそれを修正することができました。 pdtをeclipse classicで動作させることができなかったので、私はeclipse for php(pdt)をインストールしました。 それから、新しいインストールではjavaファイルが実行されないことがわかりました。 しかし、簡単な解決策があります。</p>\n</div>\n<div class=\"paragraph\">\n<p>[ヘルプ] - > [新しいソフトウェアをインストール]をクリックします。</p>\n</div>\n<div class=\"paragraph\">\n<p>選択してください:</p>\n</div>\n<div class=\"paragraph\">\n<p>ガリレオ - <a href=\"http://download.eclipse.org/releases/galileo\" class=\"bare\">http://download.eclipse.org/releases/galileo</a></p>\n</div>\n<div class=\"paragraph\">\n<p>programming languagesの下で、以下を選択します。</p>\n</div>\n<div class=\"paragraph\">\n<p>eclipse java開発ツール3.5.1.r351\\_v20090810-0600-7r88feofi0wto6az-1qfrhm37chj</p>\n</div>\n<div class=\"paragraph\">\n<p>インストールすればjreが見つかります。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p> 1)joshuaの答えに従ってください: \"help→ install new software …​\" 選択:galileo - <a href=\"http://download.eclipse.org/releases/galileo\" class=\"bare\">http://download.eclipse.org/releases/galileo</a> [プログラミング言語]の下で選択:eclipse java development tools 3.5.x …​ \"</p>\n</div>\n<div class=\"paragraph\">\n<p> 2)次にeclipse - >設定 - > java - >インストール済みjreの順に選択します。</p>\n</div>\n<div class=\"paragraph\">\n<p> 3)[追加]をクリックします。</p>\n</div>\n<div class=\"paragraph\">\n<p> 4) 'installed jre types’の下に、以前に欠けていた \"macos x vm\"が見えるはずです。 これを選択して[次へ]をクリックしてください。</p>\n</div>\n<div class=\"paragraph\">\n<p> 5)jreホームフィールドの横にある[参照]ボタンをクリックすると、ダイアログボックスに「jreインストールのルートディレクトリを選択してください」と表示されます。</p>\n</div>\n<div class=\"paragraph\">\n<p> 6)/system/library/frameworks/javavm.framework/versions/1.5.0/homeにアクセスします。</p>\n</div>\n<div class=\"paragraph\">\n<p>{空} 7)[開く]をクリックします。</p>\n</div>\n<div class=\"paragraph\">\n<p> 8)jreの名前フィールドに「jvm 1.5」と入力します。</p>\n</div>\n<div class=\"paragraph\">\n<p> 9)そこからあなたはちょうどfinishをクリックしてあなたのjreを利用可能にすることができるはずです。</p>\n</div>\n<div class=\"paragraph\">\n<p>私はこれを使って、google app engineプロジェクトをビルド中にjreが見つからないというエラーを修正しました。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
fb9fce3cea68c0696657346c24b8423f | <div class="paragraph">
<p>aptanaの自動\_plugins manager\_を通じて現在入手可能な* subclipse(1.2.4)*のバージョンは、subversionの最新バージョンでは動作しません。</p>
</div>
<div class="paragraph">
<p>subclipseのwebサイトで、eclipse用の1.4.2があることがわかりました。 そこで、私のアップデートマネージャに <a href="http://subclipse.tigris.org/update\_1.4.x">新しいリモートアップデートサイト</a>を追加しました。 インストールしようとすると、* mylyn 3.0.0 <strong>が必要だと言われました。 それで私はmylyn 3.0.0を見つけ、私のアップデートマネージャに <a href="http://download.eclipse.org/tools/mylyn/update/e3.3">別の新しいリモートアップデートサイト</a>を追加しました。 それから私がそれをインストールしようとしたとき、それは私が</strong> org.eclipse.ui 3.3.0 *または同等のものが必要であると私に言った。</p>
</div>
<div class="paragraph">
<p>aptanaの設定の詳細を見ると、eclipse 3.2.2に対して構築されているようです。</p>
</div>
<div class="paragraph">
<p>誰かが3.3.0にビルドされているeclipse aptanaのバージョンをアップグレードする方法があるかどうか知っていますか? それとも、subclipseを最新バージョンのsubversionで動作させる方法が他にあるかどうか。</p>
</div>
<div class="paragraph">
<p>これは必ずしも「プログラミング」の問題ではないことは知っていますが、プログラミングの経験との関連性が高いので問題ないと思います。</p>
</div>
| aptanaのsubclipseを最新リリースのsubversionと連動させる | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>subclipseはmylynを必要としませんが、更新サイトにはmylynとsubclipseを統合するプラグインが含まれています。 これはmylynを使う人々を対象としています。 あなたの場合は、更新ダイアログでmylynの選択を解除するだけです。</p>\n</div>\n<div class=\"paragraph\">\n<p>subclipseにはsubversion 1.5とそれに対応するバージョンのjavahlネイティブライブラリも必要です。 私は、人々がjavahlを理解し、それをどのように取得するかを助けるためにfaqの始めを書きました。 参照してください:http://desktop-eclipse.open.collab.net/wiki/javahl</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>私はeclipse europaでうまくいったときにeclipse ganymedeのjavahlに問題がありました。 aptanaがどのように違うのかはわかりませんが、javahlをアップグレードするか、subclipse構成内のpure-java svnkit実装に切り替えてみてください。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
100b98646e405e7723182bddd72c4957 | <div class="sect4">
<h5 id="\_ruby\_on\_railsの12時間の時間とタイムゾーンを持つtime\_select">ruby on railsの12時間の時間とタイムゾーンを持つtime\_select</h5>
<div class="paragraph">
<p>rails 2.3.8アプリのユーザーから時間とタイムゾーンをキャプチャする必要がありますが、選択を作成して解析するためのクリーンなソリューションを考えることができませんでした。</p>
</div>
<div class="paragraph">
<p>理想的には、次のドロップダウンメニューがあります。</p>
</div>
<div class="ulist">
<ul>
<li>
<p>時間(1-12)</p>
</li>
<li>
<p>分(0-59)</p>
</li>
<li>
<p>午前午後</p>
</li>
<li>
<p>タイムゾーン</p>
</li>
</ul>
</div>
<div class="paragraph">
<p>私が探しているものを達成する宝石/プラグインはありますか? データベースに時間とタイムゾーンの両方を保存する必要がありますか? ストレージの最適な戦略は何ですか?</p>
</div>
<div class="paragraph">
<p>最終的にはこれらの値をutcで吐き出す必要がありますが、ユーザーは戻って正しいタイムゾーンで時刻を確認できるはずです。</p>
</div>
</div>
| ruby on railsの12時間の時間とタイムゾーンを持つtime\_select | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>適切な方法でタイムゾーンの選択を取得できます。</p>\n</div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"http://apidock.com/rails/actionview/helpers/formoptionshelper/time\\_zone\\_options\\_for\\_select\">time\\_zone\\_options\\_for\\_select</a></p>\n</li>\n<li>\n<p><a href=\"http://apidock.com/rails/actionview/helpers/formoptionshelper/time\\_zone\\_select\">time\\_zone\\_select</a></p>\n</li>\n</ul>\n</div>\n<div class=\"paragraph\">\n<p>同様に、日付にはhttp://apidock.com/rails/actionview/helpers/datehelper/date\\_select[date\\_select]があります。</p>\n</div>\n<div class=\"paragraph\">\n<p><strong>ストレージ:</strong></p>\n</div>\n<div class=\"paragraph\">\n<p>タイムゾーンがユーザーに固有で変更されない場合は、タイムゾーンをユーザーレコードに保存し、current\\_userを読み込むときに設定します。 railsはutcとの間で時刻を変換し、常にデータベースにutcを保存し、そのデフォルトのタイムゾーンに自動的に変換します(夏時間を含む!)。 最も簡単な方法。</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://apidock.com/rails/activesupport/coreextensions/time/zones/classmethods/use\\_zone\">use\\_zone(zone)</a>を使用すると、ブロックのデフォルトゾーンをオーバーライドできるため、フォーム値を受け入れてその関数で設定できます。そのブロックに値を設定します。</p>\n</div>\n<div class=\"paragraph\">\n<p>更新:私はいくつかのhttp://databasically.com/2010/10/22/what-time-is-it-or-handling-timezones-in-rails/[rails timezone examples]をブログエントリとして作成しました。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>私は個人的にjqueryを使用して表示のみを変更しました。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre> ampm = [\"12 am\",\"01 am\",\"02 am\",\"03 am\",\"04 am\",\"05 am\",\"06 am\",\"07 am\",\"08 am\",\"09 am\",\"10 am\",\"11 am\",\"12 pm\",\"01 pm\",\"12 pm\",\"01 pm\",\"02 pm\",\"01 pm\",\"02 pm\",\"03 pm\",\"04 pm\",\"05 pm\",\"06 pm\",\"07 pm\",\"08 pm\",\"09 pm\",\"10 pm\",\"11 pm\"]\n j(\"#game\\_start\\_time\\_4i option\").each(function(index,value){\n j(value).html(ampm[index]);\n });</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>レール:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre><%= datetime\\_select('game', 'start\\_time') %></pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
2114b656d8b452287050d25385378ee4 | <div class="sect4">
<h5 id="\_フリーハンドの描画を含める必要があるwinformsアプリ">フリーハンドの描画を含める必要があるwinformsアプリ</h5>
<div class="paragraph">
<p>いくつかの単純なフォームを必要とする顧客がいます(おそらく、それらのための単純なwinformsアプリを作成することになるでしょう)が、入力フィールドといくつかのフリーハンド描画の組み合わせをキャプチャする必要があります。 私たちを心配させるのはフリーハンドの絵です。</p>
</div>
<div class="paragraph">
<p>スタイラス付きのタブレットpcを使用します。 顧客はoffice 2007を実行しています。</p>
</div>
<div class="paragraph">
<p>このプロジェクトはシンプルに保つ必要があります。 onenote要素をwinformsに埋め込むことを考えていました(これも可能ですか?)。</p>
</div>
<div class="paragraph">
<p>onenoteを使用しなかったことは認めざるを得ませんが、それは「フリーハンドキャプチャを行う種類」であるという漠然とした考えを持っているため、ここで言及します。 uiが他のものにドロップアウトすることを望まないため、埋め込みが優先されます。 おもう。</p>
</div>
<div class="paragraph">
<p>または、他の無料または低コストの代替品。 助言がありますか?</p>
</div>
</div>
| フリーハンドの描画を含める必要があるwinformsアプリ | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>microsoft inkを調べることをお勧めします。 tablet pcで動作し、まさにあなたが望むもののように聞こえます。</p>\n</div>\n<div class=\"paragraph\">\n<p>これはまともな入門チュートリアルで、すぐにコードを開始します。</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://msdn.microsoft.com/en-us/library/ms811392.aspx\" class=\"bare\">http://msdn.microsoft.com/en-us/library/ms811392.aspx</a></p>\n</div>\n<div class=\"paragraph\">\n<p>また、wpfへの素晴らしい統合もあるため、wpfコントロールを作成してink機能を管理し、wpf inkコンポーネントをwinformに埋め込むことを検討することもできます(winformsルートに進みたい場合)。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
0c9dd28e960b71ee26dc6863fed02146 | <div class="paragraph">
<p>sql server service brokerのメッセージキューにメッセージを書き込むストアドプロシージャがあります。 問題が発生してメッセージがメッセージキューに格納されない場合は、ストアドプロシージャからエラーメッセージを返す必要があります。 私が見ている問題は、sql server service brokerが無効になっていても(キューにメッセージを書き込むことができないことをテストしようとしている方法です)キュー上のメッセージ</p>
</div>
<div class="paragraph">
<p>sql server brokerメッセージキューへのメッセージの書き込みに失敗したかどうかを検出する方法を知っている人はいますか</p>
</div>
| sql serverサービスブローカーのエラー処理 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>service brokerはメッセージをターゲットキューに入れません。 代わりにデータベース送信キュー( <a href=\"http://msdn.microsoft.com/en-us/library/ms190336.aspx\"><code>sys.transmission\\_queue</code></a>)に入れられます。 sendがコミットされた後、メッセージはバックグラウンドトランスミッタによってピックアップされ、ルーティングは解決され、メッセージはその宛先に配信されます。</p>\n</div>\n<div class=\"paragraph\">\n<p>宛先が同じインスタンス内にある場合は、sendステートメント自体の実行中にショートカット配信パスが試行されます。この場合、メッセージは宛先キューに直接配置されます。 エンキューが失敗すると、メッセージは返送されて通常の配信パスに配置されます。 sys.trasnmission\\_queuに入れてください。 <code>sys.transmission\\_queue`に詰まっているメッセージは、そのメッセージが配送できなかった理由を説明する</code> transmission\\_status`を持ちます。 システムは自動的にこれらのメッセージを再試行します。</p>\n</div>\n<div class=\"paragraph\">\n<p>sendがエラーを返すことができるのは、メッセージが\\_sent\\_になることができないときだけです。 これは、閉じた会話で <code>send`を実行しようとした場合や、メッセージを</code> sys.transmission\\_queue`に受け入れられないようにするブローカ以外のエラー(データベースの読み取り専用、ログフル、メモリ不足など)がある場合です。</p>\n</div>\n<div class=\"paragraph\">\n<p>ローカル配信が非同期で疎結合である場合でも、このようなマッキングの動作は意図的であり、宛先キューがローカルの場合と宛先キューがリモートの場合は同じ動作をすることでアプリケーションを支援するように設計されています。</p>\n</div>\n<div class=\"paragraph\">\n<p>service brokerでエラーを処理する方法は、応答について自分のキューを確認することです。 目的地サービスがあなたのメッセージを積極的に拒絶するならば(すなわち。 アクセスが拒否された、またはxml形式が不正であった、またはサービス契約違反が発生した場合、エラーで会話が終了し、エラーメッセージが自分のキューに返されます。 メッセージを単純に配信できない場合は、メッセージが期限切れになるまで送信キューに留まり、その後会話はエラーで終了し、再びエラーメッセージが自分のキューに入れられます。 `begin conversation`で指定された有効期限が切れるとメッセージはタイムアウトします。</p>\n</div>\n<div class=\"paragraph\">\n<p>そのため、ブローカーを無効にしても、メッセージは受け入れられますが配信されません。 それは変換キューに入れられます。 データベースでブローカーを有効にするとすぐに、そのメッセージがピックアップされて配信されます。 この振る舞いは、配信の信頼性が主な関心事である場合には、アプリケーション作成をはるかに簡単にします。 目的地が利用できないとしても、アプリは単にメッセージ\\_will\\_がそこに到着することを知っているだけで送信します。 メッセージの配信に数時間、数日、または数週間かかる場合でも、サービスのメンテナンスのために停止されます。 配信のタイミングにも関係するアプリケーションの場合は、会話の有効期間を指定する必要があります。 システムはこの有効期間内にメッセージを配信しようとするか、あきらめます。 あきらめた場合は、エラーメッセージ(会話タイムアウトエラー)をエンキューすることによって送信者に通知します。</p>\n</div>\n<div class=\"paragraph\">\n<p>またアプリケーションは応答を待つべきではありません。 彼らは <code>send</code>、` commit`そして続けるべきであり、\\_イベントドリブン\\_です。 ターゲットが応答を送り返したとき、または基盤となるインフラストラクチャがエラーを通知したとき、アプリケーションは自身のキューにメッセージを取得し、そのメッセージに\\_反応するはずです。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
5e18d02e54ccf4e2f5ef5bbb0fd94aba | <div class="sect4">
<h5 id="\_flexからjavaアプレットを呼び出す">flexからjavaアプレットを呼び出す</h5>
<div class="paragraph">
<p>私はflexアプリケーションに取り組んでおり、flexからjavaアプレットを開く必要があります(例: ボタンをクリックする。 特に、アプリケーション、アプレットとして、またはwebページに統合できる特定のイメージングプログラムであるimagejを開きます。 flexから呼び出す方法はありますか? flexから別のjavaファイルの単一の関数を呼び出す方法を説明するチュートリアルをいくつか見ましたが、それが私が探しているものかどうかはわかりません。 答えてくれてありがとう</p>
</div>
<div class="paragraph">
<p>ダビデ</p>
</div>
</div>
| flexからjavaアプレットを呼び出す | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>より良い方法があるかどうかはわかりませんが、それをしていた場合は、javaアプレットをロードするjavascript関数を記述し( `document.write(\" \")`と同じくらい簡単かもしれません)、使用しますflexのhttp://livedocs.adobe.com/flex/3/langref/flash/external/externalinterface.html[externalinterface]は、そのjavascriptを呼び出します。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>アプレットでパブリックメソッドを公開します。これはフレックスが呼び出します。 次の方法でアプレットをロードできます。 これは、javaメソッドを呼び出してjavaから値を取得するためのサンプルプログラムです。必要に応じて変更を行うことができます。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre></pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>上記のhtmlファイル(すべてを説明しているわけではありません)で、アプレットがダウンロードされ、使用できる状態になります。 フレックスアプリのボタンをクリックすると、次のようになります。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>var returnedstringfrom java:string=externalinterface.call(\"document.myapplet.functioninjava\",stringparam);</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>注:myappletは、上記のオブジェクト宣言の名前です。functioninjavaは、javaクラスcom.my.applet.myappletのパブリック関数です。 パラメータを受け取り、文字列パラメータを返します。 javaプログラムは次のようになります。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>package com.my.applet;\n\npublic class myapplet{\n//other methods..\n\npublic string functioninjava(string stringpm){\n\n// your implementation\nreturn \"somestring\";\n}\n}</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>ハッピーコーディング</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
e20c3ee89137ad53d9d28ce5df961b22 | <div class="sect4">
<h5 id="\_10進数を倍精度に変換しますか">10進数を倍精度に変換しますか?</h5>
<div class="paragraph">
<p>トラックバーを使用してフォームの不透明度を変更したいです。</p>
</div>
<div class="paragraph">
<p>これは私のコードです:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>decimal trans = trackbar1.value / 5000;
this.opacity = trans;</pre>
</div>
</div>
<div class="paragraph">
<p>アプリケーションをビルドすると、次のエラーが発生します。</p>
</div>
<div class="paragraph">
<p><em><em>\_ </em><em>
型 '' decimal'`を ’double'`に暗黙的に変換することはできません。
</em><em> </em>\_</em></p>
</div>
<div class="paragraph">
<p>私は <code>trans`と</code> double`を使ってみましたが、それからコントロールは機能しません。 このコードは過去のvb.netプロジェクトで問題なく動作しました。</p>
</div>
</div>
| 10進数を倍精度に変換しますか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>このように明示的にdoubleにキャストする必要はありません。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>double trans = (double) trackbar1.value / 5000.0;</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>定数を <code>5000.0</code>(または` 5000d`)として識別するだけで十分です。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>double trans = trackbar1.value / 5000.0;\ndouble trans = trackbar1.value / 5000d;</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>一般的な質問 \"decimal vs double?\"に対するより一般的な答え:精度を維持するための通貨計算では* decimal <strong>、小さな違いの影響を受けない科学計算では</strong> double *。 doubleはcpu固有の型であるため(内部表現は\\_base 2\\_に格納されます)、doubleを使用した計算はdecimal(内部的には\\_base 10\\_で表現されます)よりも優れたパフォーマンスを発揮します。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
84b558f93e43e904ebe2da193dbe4cf6 | <div class="paragraph">
<p>javaでtis-620(拡張asciiタイ文字コードページ)文字列をutf-8文字列に変換する方法を教えてください。</p>
</div>
| javaでtis-620文字列をutf-8文字列に変換する方法は? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"literalblock\">\n<div class=\"content\">\n<pre>import java.nio.bytebuffer import java.nio.charbuffer</pre>\n</div>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre></pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>public static bytebuffer tobytebuffer(string content、string encode){charset charset = charset.forname(encode);} bytebuffer bb = charset.encode(content); bbを返します。 }</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>エンコード引数として「utf-8」を渡します</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"literalblock\">\n<div class=\"content\">\n<pre>private byte [] converttis620toutf8(byte [] encoded){try {string thestring = new string(encoded、 \"tis620\"); thestring.getbytes( \"utf-8\")を返します。 catch(unsupportedencodingexception uee){/ *うまくいきませんでした* /}}\n\n...\n\nbyte [] utf8 = converttis620toutf8(tis620);</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>また、tis620エンコーディングをサポートするためにクラスパスにcharsets.jarを配置する必要があるかもしれません。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
260f7143846b3b8ffd221c8c85a117b7 | <div class="sect4">
<h5 id="\_asp\_netサイトマップ">asp.netサイトマップ</h5>
<div class="paragraph">
<p>sqlベースのasp.netサイトマッププロバイダを作成した経験がある人はいますか?</p>
</div>
<div class="paragraph">
<p>私のデフォルトのxmlファイル `web.sitemap`は私のmenuと* sitemappath *コントロールで正しく動作していますが、私のサイトのユーザーが動的にページを作成したり修正したりする方法が必要になります。</p>
</div>
<div class="paragraph">
<p>私はページ閲覧許可を標準の「asp.net」会員制にも結び付ける必要があります。</p>
</div>
</div>
| asp.netサイトマップ | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>msdnマガジンのjeff prosiseバージョンはかなりうまく機能しますが、いくつかの欠点があります。</p>\n</div>\n<div class=\"paragraph\">\n<p>`addnode`はあなたのメニュー上の外部サイトへのリンク(www.google.comなど)でおかしくなります。</p>\n</div>\n<div class=\"paragraph\">\n<p>これが `buildsitemap()`での私の修正です:</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>sitemapnode node = getsitemapnodefromreader(reader);\nstring url = node.url;\nif (url.contains(\":\"))\n{\n string garbage = guid.newguid().tostring(); // sitemapnode needs unique urls\n node.url = \"~/dummy\\_\" + garbage + \".aspx\";\n addnode(node, \\_root);\n node.url = url;\n}\nelse\n{\n addnode(node, \\_root);\n}</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p><code>sqldependency`キャッシュはクールですが、メニューが読み込まれるたびに(依存関係が変更されたかどうかを確認するために)dbにアクセスしたくない場合や、メニューが頻繁に変更されない場合は、代わりに `httpruntime.cache</code>?</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>public override sitemapnode rootnode\n{\n get\n {\n sitemapnode temp = (sitemapnode)httpruntime.cache[\"somekeyname\"];\n if (temp == null)\n {\n temp = buildsitemap();\n httpruntime.cache.insert(\"somekeyname\", temp, null, datetime.now.addhours(1), cache.noslidingexpiration);\n }\n return temp;\n }\n}</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
da6a0353a689f79337d890de95510ef1 | <div class="paragraph">
<p>新しい日、新しい問題:-)</p>
</div>
<div class="paragraph">
<p>コード:クライアント側:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>void abw\_closed(オブジェクトセンダ、eventargs e){dbserviceclient sc = new dbserviceclient(); abw =(addblobwindow)送信者。 fi =((addblobwindow)sender).fi; if((bool)((addblobwindow)sender).dialogresult){blob = new blob(); binblob = new binary(); binaryblob = new byte [fi.length];
int n = fi.openread()。read(binaryblob、0、convert.toint32(fi.length));
binblob.bytes = binaryblob; blob.content = binblob; blob.signature = abw.tbsignature.text; blob.size =(int)fi.length;
sc.saveblobcompleted = new eventhandler(sc\_saveblobcompleted); sc.saveblobasync(blob); }}</pre>
</div>
</div>
<div class="paragraph">
<p>サーバー側サービスコード:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>[operationcontract]
public void saveblob(blob blob){try {richtekstmodeldatacontext dc = new richtekstmodeldatacontext();} dc.blobs.insertonsubmit(blob); dc.submitchanges(); catch(exception ex){文字列s = ex.message;} }}</pre>
</div>
</div>
<div class="paragraph">
<p>問題:3mbよりも小さいcontentフィールドでblobを保存しようとすると、それは完全に動作しますが、blobが3 mbを超えると、refernece.csファイルで "not found"例外(--→ error line)が発生します</p>
</div>
<div class="literalblock">
<div class="content">
<pre>public void endsaveblob(system.iasyncresult result){object [] \_args = new object [0];</pre>
</div>
</div>
<div class="paragraph">
<p>---→ base.endinvoke( "saveblob"、\_args、result); }</p>
</div>
<div class="paragraph">
<p>修正方法がわかりません。 web.configで適切なバッファサイズを設定しましたが、それでも動作しません。</p>
</div>
<div class="paragraph">
<p>手伝ってくれてありがとう。</p>
</div>
| linq-to-sql経由で3mbを超える画像を挿入する | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>ok。 私は解決策を見つけました:</p>\n</div>\n<div class=\"paragraph\">\n<p>ソリューションへのリンク:</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://silverlight.net/forums/p/18162/61547.aspx\" class=\"bare\">http://silverlight.net/forums/p/18162/61547.aspx</a></p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
6396537ffa09643ca0b0be439dc8ad25 | <div class="sect4">
<h5 id="\_cssを使用してhtmlイメージをオーバーライドする方法">cssを使用してhtmlイメージをオーバーライドする方法</h5>
<div class="paragraph">
<p>私は現在のコードを持っています:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>#content img[src="/img/test.gif"] {
background-image:url(dark-img.png) !important;
}</pre>
</div>
</div>
<div class="paragraph">
<p>私の理解では、 `!important;`は既存の値をオーバーライドしますか?</p>
</div>
<div class="paragraph">
<p>なぜ現在のhtmlイメージがそこで上書きされないのですか? 背景がhtml画像の「背後」に表示されます。</p>
</div>
<div class="paragraph">
<p>html画像の*前に*欲しいのですが、これはcssまたはjsを使用して可能ですか?</p>
</div>
<div class="paragraph">
<p>編集:その価値のために、サイトの既存のスタイルを変更するユーザースクリプトを作成します。 そのため、htmlイメージに直接アクセスすることはできません。</p>
</div>
</div>
| cssを使用してhtmlイメージをオーバーライドする方法 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>画像の置き換えにjavascriptは必要ありません! cssセレクターで画像を識別できる限り、cssを使用してトリックを行うことができます。</p>\n</div>\n<div class=\"paragraph\">\n<p>こちらのソリューションをご覧くださいhttp://www.audenaerde.org/csstricks.html#imagereplacecss</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>`background-image`プロパティは、画像に適用される場合、(ドラムロール…​ )画像の背景画像。 それは常に画像の背後にあります。</p>\n</div>\n<div class=\"paragraph\">\n<p>画像を画像の\\_front\\_に表示する場合、2つの画像、または最初の画像を覆う背景画像を持つ別のコンテナを使用する必要があります。</p>\n</div>\n<div class=\"paragraph\">\n<p>ところで、オーバーライドするために `!important`に依存するのは悪い習慣です。 また、1)要素のスタイル属性の宣言をオーバーライドできないため、2)マークアップと現在のcssに基づいて機能する場合にのみ機能するため、無効になる可能性があります。 あなたの場合、すべてのhuffingとpuffing、および `!important`宣言は、イメージにそれができないことをさせません。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
239aa24a7a2fbc09f25e223f6a8c9b63 | <div class="sect4">
<h5 id="\_phpが準備したpostgresクエリが次のエラーで失敗するパラメータ\_1のデータ型を特定できませんでした">phpが準備したpostgresクエリが次のエラーで失敗する:「パラメータ$ 1のデータ型を特定できませんでした」</h5>
<div class="paragraph">
<p>現在、準備されたステートメントを使用してpostgresデータベースにクエリを実装する必要があります。 私の現在のコードはこのようになります:</p>
</div>
<div class="literalblock">
<div class="content">
<pre> $arrfilter = array("", "");
$result = $db->prepare("select\_music", "select * from tblmusik where lm\_titel like '%" . "$1" . "%' and lm\_text like '%" . "$2" . "%');</pre>
</div>
</div>
<div class="paragraph">
<p>(db→ prepare()はpg\_prepare()を実行するだけです)</p>
</div>
<div class="paragraph">
<p>次に、このクエリを実行します。</p>
</div>
<div class="literalblock">
<div class="content">
<pre> if (isset($data['lm\_titel'])) {
$arrfilter[0] = $data['lm\_titel'];
}
if (isset($data['lm\_text'])) {
$arrfilter[1] = $data['lm\_text'];
}
$result = $db->execute("select\_music", $arrfilter);</pre>
</div>
</div>
<div class="paragraph">
<p>しかし、私は次のエラーを受け取ります:</p>
</div>
<div class="paragraph">
<p>警告:pg\_prepare():クエリに失敗しました:エラー:110行目の/home/freevma/htdocs/freevma/global/cls/db.phpのパラメーター$ 1のデータ型を特定できませんでした</p>
</div>
<div class="paragraph">
<p>これを実行させていただき、ありがとうございました!</p>
</div>
<div class="paragraph">
<p>brot</p>
</div>
</div>
| phpが準備したpostgresクエリが次のエラーで失敗する:「パラメータ$ 1のデータ型を特定できませんでした」 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>`$ arrfilter [0] = '%'を試してください。 $ data ['lm\\_titel']。 '%'; `</p>\n</div>\n<div class=\"paragraph\">\n<p>データベースでは、そのようにパラメーターをマージすることはできません(dbの連結演算子を使用しない限り)。 ’%' || $ 1 || '%'`も合法でなければなりません。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
96790847450c177fcc3f37c0fb87029c | <div class="paragraph">
<p>で説明されているより良いリファクタリングサポートを利用することを期待して、galileoリリース(eclipse 3.5 / cdt 5.1)をインストールしました。</p>
</div>
<div class="paragraph">
<p><a href="https://stackoverflow.com/questions/130913/what-is-the-state-of-c-refactor-support-in-eclipse【eclipseでのcリファクタリングのサポート状況は?" class="bare">https://stackoverflow.com/questions/130913/what-is-the-state-of-c-refactor-support-in-eclipse【eclipseでのcリファクタリングのサポート状況は?</a></p>
</div>
<div class="paragraph">
<p>しかしながら、私は全ての言及されたリファクタリングオプションがリストされているのを見ません。 リファクタリングに関するプラグインが表示されません</p>
</div>
<div class="paragraph">
<p><a href="http://download.eclipse.org/tools/cdt/releases/galileo" class="bare">http://download.eclipse.org/tools/cdt/releases/galileo</a></p>
</div>
<div class="paragraph">
<p>リファクタリングサイトから直接プラグインを追加しようとすると、古い依存関係のためhttp://ifs.hsr.ch/cdtrefactoring/updatesite/に失敗するため、最新リリースには最新のリファクタリング機能が必要です。</p>
</div>
<div class="paragraph">
<p>これで正しいですか?</p>
</div>
<div class="paragraph">
<p>eclipse cdtで他人はどのようにリファクタリングしますか? 人々は他のツールやプラグインを使っていますか?</p>
</div>
| eclipse cdtでのcのリファクタリング | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>cdt 6.0をインストールする必要があります。 しかし、私が思うに、あなたがリンクした質問で言及されたオプションはまだメインラインの準備ができていないということです。</p>\n</div>\n<div class=\"paragraph\">\n<p>私のcdtは名前の変更、変数/定数/関数の抽出、メソッドの非表示を提供しています。</p>\n</div>\n<div class=\"paragraph\">\n<p>それらのうち、私は定期的にrenameを使うだけです、他はまだ終わっていないようです。</p>\n</div>\n<div class=\"paragraph\">\n<p>c用のそのようなツールの問題の1つは、その言語が他の言語(テンプレート、マクロなどを考える)よりもはるかに複雑であることです。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
d4572b7b03c0f50246c115e89faa3efd | <div class="paragraph">
<p>phpでフラットファイルデータベース構造を作成する際のベストプラクティスは何ですか?</p>
</div>
<div class="paragraph">
<p>私がそこで見ている、より成熟したphpフラットファイルフレームワークの多くは、sqlのようなクエリ構文を実装しようとしています。これは、ほとんどの場合私の目的では終わりです。</p>
</div>
<div class="paragraph">
<p>小さなコードオーバーヘッドで優れたパフォーマンスと機能を得るための優雅なトリックはありますか?</p>
</div>
| フラットファイルデータベース | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>さて、フラットデータベースの性質は何ですか。 彼らは大きいですか小さいですか。 それはそれらの配列を持つ単純な配列ですか? 単純なものであれば、userprofilesはそのように構築されていると言えます。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>$ user = array( \"name\" => \"dubayou\"、 \"age\" => 20、 \"webサイト\" => array( \"dubayou.com\"、 \"willwharton.com\"、 \"codecream.com\")、 \"and\\_one\" => \"more\");</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>そのユーザーの\\_db record\\_を保存または更新します。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>$ dir = \"../userdata/\"; //サーバーが到達できる範囲よりも下に配置するようにしてください。 file\\_put\\_contents($ dir。$ user ['name']、serialize($ user));</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>ユーザーの\\_record\\_をロードします。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>関数</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>しかし、この実装も、アプリケーションと必要なデータベースの性質によって異なります。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>あなたは <a href=\"http://www.sqlite.org/\">sqlite</a>を検討するかもしれません。 フラットファイルとほぼ同じくらい簡単ですが、クエリ用のsqlエンジンが用意されています。 それも <a href=\"http://ca3.php.net/sqlite\">phpでうまく動きます</a>。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
8ffc1e620148a09b7fe838330ea13bc5 | <div class="paragraph">
<p>当社のプロダクションプラットフォームテクノロジは、php、ms sql sever、およびiisです。</p>
</div>
<div class="paragraph">
<p>phpは、現在の12:00 gmt / utcのタイムゾーン 'pacific / auckland’に設定されています。</p>
</div>
<div class="paragraph">
<p>sql serverから日付を取得すると、それらの日付は常に12時間遅れています。 sql serverは、サーバー自体のタイムゾーンがpacific / aucklandでも、gmtの日付としてそれらを格納して提供しています。</p>
</div>
<div class="paragraph">
<p>あなたがタイムゾーンを設定するのに使用できるところに隠されたsp関数がありますか? これがタイムゾーンに関連していない場合は、私に教えてください。</p>
</div>
| sql serverの日付が常に12時間ずれている | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>あなたはそれが間違っているsql serverであることを確認するためにsql server management studioを開き、 \"select getdate()\"とタイプすることができますか?</p>\n</div>\n<div class=\"paragraph\">\n<p>日付を取得するためにgetdate()または他のsql関数を使用していますか?</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>文が正確で一般的なものであれば、次のように日時列を持つ表に行を挿入するだけでこれを再現できます。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>create table offby12(isthisoff datetimeがnullではない)go\n\noffby12(isthisoff)値に挿入する( '2009-06-28')\n\nselect isthisoff from offby12</pre>\n</div>\n</div>\n<div class=\"paragraph\">\n<p>正しければ、日付の時刻部分は00:00にはなりません。</p>\n</div>\n<div class=\"paragraph\">\n<p>あなたが正しくないなら、これはもっと複雑なものに違いない。 その場合は、データがどのようにsql serverに取り込まれるのかを述べたいと思うかもしれません。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
4d015ce0c8db753049974eb7b72e0029 | <div class="sect4">
<h5 id="\_enumerable\_groupbyにlinq\_expressionを作成するための支援が必要">enumerable.groupbyにlinq.expressionを作成するための支援が必要</h5>
<div class="paragraph">
<p>私は最終的にenumerable型の一連のgroupbyメソッドを呼び出すexpressionツリーを生成しようとしています。</p>
</div>
<div class="paragraph">
<p>簡略化した形で、私はこのようなことを試みています:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>ienumerable list = new list{new data{name = "a", age=10},
new data{name = "a", age=12},
new data{name = "b", age=20},
new data{name="c", age=15}};
expression data = expression.parameter(typeof(ienumerable), "data");
expression arg = expression.parameter(typeof(data), "arg");
expression nameproperty = expression.propertyorfield(arg, "name");
expression group = expression.call(typeof(enumerable), "groupby", new type[] { typeof(data), typeof(string) }, data, nameproperty);</pre>
</div>
</div>
<div class="paragraph">
<p>最後にexpression.callを呼び出すと、「タイプ 'system.linq.enumerable’にメソッド 'groupby’は指定された引数と互換性がありません。」という例外がスローされます。</p>
</div>
<div class="paragraph">
<p>私は同じようなことを `enumerable.orderby`と同じようにうまくやっていますし、困惑しています。</p>
</div>
<div class="paragraph">
<p>任意の助けは大歓迎です。</p>
</div>
</div>
| enumerable.groupbyにlinq.expressionを作成するための支援が必要 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>2番目のタイプとしてラムダを渡す必要はありませんか。 そのようです。</p>\n</div>\n<div class=\"literalblock\">\n<div class=\"content\">\n<pre>public void test(){ienumerable list =新しいリスト{新しいデータ{名前= \"a\"、年齢= 10}、新しいデータ{名前= \"a\"、年齢= 12}、新しいデータ{名前= \"b\"、年齢= 20}、新しいデータ{名前= \"c\"、年齢= 15}}。\n\nvar data = expression.parameter(typeof(ienumerable)、 \"data\"); var arg = expression.parameter(typeof(data)、 \"arg\"); var nameproperty = expression.propertyorfield(arg、 \"name\"); var lambda = expression.lambda>(nameproperty、arg);\n\nvar expression = expression.call(typeof(enumerable)、 \"groupby\"、new type [] {typeof(データ)、typeof(文字列)}、data、λ);\n\n// expected = {data.groupby(arg => arg.name)}}</pre>\n</div>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
f75824513061e728602b991cfaa1a441 | <div class="sect4">
<h5 id="\_macのopengl\_arb関数">macのopengl arb関数</h5>
<div class="paragraph">
<p>macアプリケーションでglcurrentpalettematrixarbを使用したい。 openglライブラリーはglewライブラリーとglutをインポートし、glewinit()関数呼び出しは成功しました。 glweightpointerarb関数は呼び出すことができますが、私のアプリケーションはglcurrentpalettematrixarbでクラッシュしました。 理由は、関数ポインター値がヌルポインターエラーであるためです。</p>
</div>
<div class="paragraph">
<p>拡張文字列は、glgetstringによってgl\_arb\_materix\_paletteを取得しません。 私のマシンの仕様はmacbookpro、グラフィックチップはnvidia geforce gt 330mです。</p>
</div>
<div class="paragraph">
<p>iphoneシミュレーターはマトリックスパレット(gl\_oes\_matrix\_palette)を使用できるにもかかわらず、マトリックスパレットはmacアプリケーションでは使用できません。 why?</p>
</div>
</div>
| macのopengl arb関数 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>マトリックスパレット拡張は広くサポートされておらず、シェーダーでは廃止されていると見なすことができます。 iphoneにはこの拡張機能があります。これは、appleがopengles1の実装に備えた機能の1つであったためです。 nvidiaはしませんでした。 拡張機能とは、オプションでサポートされることを意味します。 すべてのビデオカードが特定の拡張機能をサポートすると想定することはできません。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "",
"name": "",
"is_accepted": false
}
] |
259de8ca59880c09768dc7ce83e91050 | <div class="sect4">
<h5 id="\_javaプロジェクトからすべての文字列を抽出する">javaプロジェクトからすべての文字列を抽出する</h5>
<div class="paragraph">
<p>私は、すべての文字列リテラルを解析して抽出し、古いjava定数を再生するようにそれらをファイルに入れる必要がある、かなり多数のソースファイルを持っています。 例えば:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>label l = new label("cat");</pre>
</div>
</div>
<div class="paragraph">
<p>になるでしょう:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>label l = new label(constants.cat);</pre>
</div>
</div>
<div class="paragraph">
<p>そして `constants.java`では、以下のようになります。</p>
</div>
<div class="literalblock">
<div class="content">
<pre>public final static string cat = "cat";</pre>
</div>
</div>
<div class="paragraph">
<p><strong>プロパティテキストファイルで文字列を外部化したくない</strong> 1つの理由は、一貫性とコードの読みやすさのためです。 もう一つは、私たちのクライアントコードが `gwt`を使っていることです。これはjavaプロパティテキストファイルメカニズムをサポートしていません。</p>
</div>
<div class="paragraph">
<p>私はある種のパーサを書くことができました(たぶんant replaceタスクを使って)。 しかし、私は `ide`がすでにこの種のことを自動的にやるのかと思いました。</p>
</div>
</div>
| javaプロジェクトからすべての文字列を抽出する | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>eclipseはこれを自動的に行います。 ファイルを右クリックして[source]を選択し、次に[externalize strings]を選択します。</p>\n</div>\n<div class=\"paragraph\">\n<p>これはあなたが要求したこと(constants.javaファイル内の文字列をstringsとして持つこと)を正確には実行しませんが、使用される方法は確かに非常に強力です。 ロケールに応じて動的にロードできるプロパティファイルにそれらを移動します。 あなたが提案するように別々のjavaソースファイルにそれらを持つことはあなたがあなたのアプリケーションにすべての言語を一度に持っていることを意味するか、ロケールによって異なるアプリケーションを出荷するでしょう。</p>\n</div>\n<div class=\"paragraph\">\n<p>基本的なものでも英語と日本語で出荷する必要があるアプリケーションには、これを使用します。当社のより複雑なアプリケーションは12の言語で出荷されます。\n:-).</p>\n</div>\n<div class=\"paragraph\">\n<p>javaファイルでそれらを望むなら、既に述べた欠点にもかかわらず、自由形式のjavaソースから文字列を抽出して抽出するよりも、プロパティファイルをjavaソースファイルに変形するプログラムを書く方がはるかに簡単です。</p>\n</div>\n<div class=\"paragraph\">\n<p>その後、実行時にそれらをロードするのではなく、(別のクラスの)組み込み文字列を使用するようにaccessorクラスを変更するだけです。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>peter kelleyの回答を完成させるために、eclipse ideに* ast *ソリューションを検討することができます。</p>\n</div>\n<div class=\"paragraph\">\n<p>あなたはそれからあなたのソースコードを解析してあなたが望むことをするastプログラムを書くかもしれません。</p>\n</div>\n<div class=\"paragraph\">\n<p>完全な例は、この <a href=\"http://www.eclipse.org/articles/article.php?file=article-javacodemanipulation\\_ast/index.html\">eclipseのコーナー記事</a>にあります。詳細は、http://help.eclipseにもあります。 .org / help33 / index.jsp?topic = / org.eclipse.jdt.doc.isv / reference / api / org / eclipse / jdt / core / dom / astparser.html [eclipseヘルプ]。 そして、いくつかの例が <a href=\"http://www.eclipse.org/articles/article-automatingdslembeddings/#implementation\\_in\\_place\">eclipseでのドメイン固有言語の埋め込みの自動化</a>のセクション5のリスト5にあります。 jdt *]、https://github.com/search?q=%22org.eclipse.jdt.core.dom.astvisitor%22と並んで</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
ba4b673ecf8d728409c2f4a22c018fbe | <div class="sect4">
<h5 id="\_asp\_netサーバーコントロールを関数に渡すにはどうすればよいですか">asp.netサーバーコントロールを関数に渡すにはどうすればよいですか?</h5>
<div class="paragraph">
<p>私は別のファイルにクラスを持っています(簡単にするために多くを取り除きました)</p>
</div>
<div class="literalblock">
<div class="content">
<pre>public class navigation
{
// adds to menu
public static void addmenutolist(listview parent)
{
parent.items.add(newitem);
}
}</pre>
</div>
</div>
<div class="paragraph">
<p>親が私の.netページのコントロールである場合:</p>
</div>
<div class="literalblock">
<div class="content">
<pre></pre>
</div>
</div>
<div class="paragraph">
<p>アクセスできるようにコントロールを関数に渡すにはどうすればよいですか?</p>
</div>
<div class="literalblock">
<div class="content">
<pre>navigation.addmenutolist(parent);</pre>
</div>
</div>
<div class="paragraph">
<p>これはうまくいかないようです。 私はそれについて間違っていますか?</p>
</div>
</div>
| asp.netサーバーコントロールを関数に渡すにはどうすればよいですか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>メソッドは <code>listview`を受け入れ、オブジェクトは</code> listbox`型です。 おそらく「機能していない」ことは、この違いに起因しているのでしょうか?</p>\n</div>\n<div class=\"paragraph\">\n<p>一般に、コントロールを別のメソッドに渡すことには何の問題もありませんが、もちろん型は一致する必要があります。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>doh!</p>\n</div>\n<div class=\"paragraph\">\n<p>listviewではなくlistboxを渡すと、正常に動作します:)</p>\n</div>\n<div class=\"paragraph\">\n<p>みんなの時間を無駄にしてすみません。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
c5f9f9f79039fd52a0b61c236f28843e | <div class="sect4">
<h5 id="\_net都市別または経度と緯度別のタイムゾーンを取得">.net都市別または経度と緯度別のタイムゾーンを取得</h5>
<div class="paragraph">
<p>私は.netを使用しており、ipによってユーザーの都市をジオロケーションできます。</p>
</div>
<div class="paragraph">
<p>ユーザーのタイムゾーンを長く取得する簡単な方法はありますか。 そして緯度。 または都市名?</p>
</div>
<div class="paragraph">
<p>facebookがどのようにやっているのだろうか?</p>
</div>
<div class="paragraph">
<p>ありがとうございました</p>
</div>
</div>
| .net都市別または経度と緯度別のタイムゾーンを取得 | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>システムからタイムゾーンのリストを取得し、それを都市名と比較できます。</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://msdn.microsoft.com/en-us/library/bb397781.aspx\" class=\"bare\">http://msdn.microsoft.com/en-us/library/bb397781.aspx</a></p>\n</div>\n<div class=\"paragraph\">\n<p>これは壊れやすいです。</p>\n</div>\n<div class=\"paragraph\">\n<p>あるいは、使用できるwebサービスがいくつかあり、それをlong / latに渡し、タイムゾーンを提供しますが、これは、第3部のwebサービスにつながれていることを意味します。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>都市または経度と緯度でタイムゾーンを取得するために使用できるwebサービスがあります。</p>\n</div>\n<div class=\"paragraph\">\n<p><a href=\"http://www.earthtools.org/webservices.htm#timezone\" class=\"bare\">http://www.earthtools.org/webservices.htm#timezone</a></p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
334f6cefb0839bd471d8fec22bef037f | <div class="sect4">
<h5 id="\_mysqlテーブルを別々のデータベースに保持する計算上の理由はありますか">mysqlテーブルを別々のデータベースに保持する計算上の理由はありますか?</h5>
<div class="paragraph">
<p>プログラマーがさまざまなテーブルのセットをさまざまなデータベースにグループ化すると便利だと思います。 これを行うことの計算上の利点はありますか?</p>
</div>
</div>
| mysqlテーブルを別々のデータベースに保持する計算上の理由はありますか? | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>データベースが一種のネームスペースを提供することを除いて、mysqlテーブルを異なるデータベースに配置することから得られる利点や違いはありません。 つまり、異なるデータベースに同じ名前の2つのテーブルを作成できます。</p>\n</div>\n<div class=\"paragraph\">\n<p>それ以外の場合、データベースがmysql serverの同じインスタンスで管理されている限り、テーブル間の <code>join`および</code> foreign key`参照も含めて、テーブルが1つのデータベースにあるかのように何でもできます。</p>\n</div>\n<div class=\"paragraph\">\n<p>「https://stackoverflow.com/questions/696682/mysql-many-tables-or-many-databases[mysql:多くのテーブルまたは多くのデータベース?]」も参照してください。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>*いいえ、mysqlではありません。*ただし、さまざまなテーブルハンドラには、物理データの保存場所について異なるオプションがあります。 非常に高いパフォーマンスを得る必要がある場合(たとえば、異なるディスクに異なるデータを配置する場合)、これは有利です。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
b5eb1d92e068cdc622bc41fc5224acb7 | <div class="paragraph">
<p>mysqlデータベースに冗長列を含めることがベストプラクティスであることは疑問に思います。 データベースにuserテーブルがありますが、個々のユーザーに関する多くの統計を表示できるようにしたいので、これを考えています。 これらの統計には、ユーザーが別のモデルと対話した回数や、メッセージの数が含まれる場合があります。</p>
</div>
<div class="paragraph">
<p>それらを数えるために特定のオブジェクト(メッセージなど)のすべてのレコードを検索するのはパフォーマンスを損ないますか? それとも、メッセージが追加/削除されるたびに更新される、total\_messagesというユーザーテーブル内の冗長列を作成するほうがよいでしょうか。 おかげで、これはしばらく私を混乱させています。</p>
</div>
| mysqlで複数のテーブルを使用したり、railsアプリケーションで複数の列を使用したりする | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>短い答え:<strong>両方をする</strong></p>\n</div>\n<div class=\"paragraph\">\n<p>経験則として、その場で計算できるデータを作成および更新するのは好きではありません(例: カウント)。 したがって、パフォーマンスのボトルネックを見つけてそれに応じて調整するまで、これらの冗長な統計を追加することは控えます。</p>\n</div>\n<div class=\"paragraph\">\n<p>ユーザーアクティビティに基づいて遡及統計をいつでも追加できるので、絶対に必要な冗長性を追加するだけでアプリケーションを \"成長\"させることができます。</p>\n</div>\n<div class=\"paragraph\">\n<p>冗長データを追加するとパフォーマンスが向上する可能性がありますが、すべてのソリューションに適したサイズになることはなく、単純な要求でその場で計算できる使用値を常に計算および更新しようとすると、全体的なパフォーマンスが低下する可能性があります。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p>データベースに <a href=\"http://dev.mysql.com/doc/refman/5.0/en/views.html\">view</a>を作成して関連情報を入手してください。冗長な列を追加する代わりに、外の世界の列のように見えるが最適化可能なsqlコードを追加します。 また、sqlがビューを最適化するという事実により、データの検索が非常に高速になります。</p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
a9d6a1a94489d7457287e90ab1627144 | <div class="paragraph">
<p>ftp機能を使用してサーバーからファイルをアップロードおよびダウンロードする必要があるadobe air ajaxアプリの作成を始めました。 今何が起きているのかというと、これにはソケットを使用する必要があります。これは、混乱を招き、保守が困難な方法です。 それで、私は誰かがftpのためのジャバスクリプトライブラリか機能性を開発したかどうか疑問に思いましたか?</p>
</div>
<div class="paragraph">
<p>私はこれをサーバーサイドのスクリプトに頼りたくはありません。 flex用のftpライブラリがありますが、それほど多くのドキュメントと混同することはありません。</p>
</div>
<div class="paragraph">
<p>誰かが手伝ってくれる? ありがとう、</p>
</div>
<div class="paragraph">
<p>ガウラフ</p>
</div>
| adobe air ajax ftpライブラリ | codeflow.site | 2020.10 | [
{
"text": "<div class=\"paragraph\">\n<p>私は現在同じことを探しています。 今のところ私が見つけたのは <a href=\"http://www.enterprisedt.com/products/integralftp/overview.html\">integralftp</a>で、これはかなり包括的に見えます。 1つの開発者ライセンスに対して399ドルです。</p>\n</div>\n",
"name": "",
"is_accepted": true
},
{
"text": "<div class=\"paragraph\">\n<p><a href=\"http://maliboo.pl/projects/flexftp/\" class=\"bare\">http://maliboo.pl/projects/flexftp/</a></p>\n</div>\n",
"name": "",
"is_accepted": false
}
] |
938bd525e4c4c120bfb7d5db61fd665c | hi,
i am using insight - asset management. and i wrote the insight validator.
<https://documentation.mindville.com/insight/latest/validate-an-insight-custom-field-33466727.html>
i got this error message from validationinsightexception
{
rlabs - insight - attribute - 1111 = [errormessage{
i18… | could not show error message with insight validation | atlassian.com | 2021.39 | [
{
"text": "hi,\n\ni can solved my problem by this way - get the first error message\n\narraylist<collection<errormessage>> values = new arraylist<>(vie.geterrormap().values());\n\narraylist<errormessage> errormessages = new arraylist<>(values.get(0));\n\ndef errori18nkey = errormessages.get(0).geti18nkey();\n\ndef param = …",
"name": "",
"is_accepted": true
}
] |
8ead3d87b2c049d1e4a049828225b5a4 | hello,
we’re trying to download avatar images for our dashboard add-on. downloading works fine using basic auth but using atlassian connect auth (jwt) we get a 401 response. according to this document
<https://developer.atlassian.com/static/connect/docs/latest/scopes/jira-rest-scopes.html>
the /sec… | downloading avatar from rest api with atlasssian connect jwt authentication | atlassian.com | 2021.17 | [
{
"text": "hi tuomas,\n\nthe private lozenge on that path means that it’s not intended for public use. it exists and it will probably work fine, but it we may change it without the normal deprecation period. the api may be new, or maybe there are doubts about its usefulness, or it may be having a beta period in …",
"name": "",
"is_accepted": true
}
] |
1ce62cc1dcfb57cc6e3ace043913aa5a | i have a small plugin that i developed to freeze pull requests into repos. it is not used often, but when it is the company wanted a banner displayed on that repo, so there was no confusion. so i added a message here:
<web-panel name="frozen panel" key="repo-frozen-banner-panel" location="bitbuck… | banner only being shown for admins | atlassian.com | 2020.29 | [
{
"text": "this pointed me in the right direction, but still required me understanding quite a bit. after about 6 hours of fooling around i came up with this working code which is hard to do because understanding how to log is ridiculously hard.\n\npublic boolean shoulddisplay(map<string, object> context) {…",
"name": "",
"is_accepted": true
}
] |
23062090d56129522dbd97313b644042 | hi bitbucket cloud team!
i once had an app listed on the app marketplace in bitbucket cloud, but now it seems to be missing from the list. i’ve opened a devhelp ticket, unfortunately to no avail.
also, we’ve updated the logo on the atlassian marketplace. i know this is not automatically propagated… | getting listed on the app marketplace | atlassian.com | 2020.05 | [
{
"text": "hi [@remie](/u/remie),\n\nwe have received your ticket and are working on a resolution.\n\neric",
"name": "",
"is_accepted": true
}
] |
c48aa3f537e9180e32292f19b098df12 | hello.
i want to use github actions to set up a ci/cd pipeline for my jira plugin. i’ve lately managed to make unit tests run with maven surfire so i’ve tried adding a simple action that would run them, but it ends up throwing an error at build step:
[info] scanning for projects...
[info] download… | how to set up ci/cd for jira server plugin with github actions? | atlassian.com | 2020.16 | [
{
"text": "i would look into creating your own docker container for running github actions: <https://help.github.com/en/actions/building-actions/creating-a-docker-container-action>",
"name": "",
"is_accepted": true
}
] |
03b63c08f773ad3606e817fa1108d278 | hi,
i am building a rest api client in python for jira. i am trying to add a comment on an issue using an api call.
according to the documentation, the response from the api call would be 201 if the comment is added successfully.
it returns with 200 and shows existing comments but doesn’t add the… | rest api call to add a comment on issue returns 200 instead of 201 | atlassian.com | 2021.17 | [
{
"text": "[@david.pinn](/u/david.pinn) you were right. after a 302, it was sending a get and that’s why it returned 400 bad request. because get won’t have a payload.\n\ni got it working in curl. i had to add “–post302” to the command to avoid sending a get when it hits a 302.\n\nafter adding “–post302”, i got the curl command wo…",
"name": "",
"is_accepted": true
}
] |
3149b5296864e5514cc67afe83889e82 | i’m running atlas-run and my add-on compiles, but during the run i get the following error:
[info]
[info] --- maven-amps-plugin:6.3.21:validate-test-manifest (default-validate-test-manifest) @ gliffy-confluence-plugin ---
[info]
[info] --- maven-amps-plugin:6.3.21:test-jar (default-test-jar) @ gl… | getting error on `atlas-run` | atlassian.com | 2021.17 | [
{
"text": "hello [@bahador.nosrat](/u/bahador.nosrat),\n\nit seems you’re running atlassian sdk v8.0.x (you can verify this via atlas-version) but you’re still using amps v6.x. if you are, update your pom to use amps v8.0.0 then in your plugins, change “maven-confluence-plugin” to “confluence-maven-plugin” as mentioned in [https://ec…](https://ecosystem.atlassian.net/browse/atlassdk-147)",
"name": "",
"is_accepted": true
}
] |
8638225d4271ad2eb07c761bbb10a69a | we’ve tried this payload to the api documented here <https://developer.atlassian.com/cloud/confluence/rest/#api-content-post:>
{
body: {
view: {
"representation": "string",
"value": "some comment"
}
},
space: { key: "example" },
type: "comment",
… | anyone able to create comments using the content rest api | atlassian.com | 2020.10 | [
{
"text": "hi [@jbevan](/u/jbevan),\n\nseems like a gap in the documentation. i was able to create a comment by adding a container like this:\n\n{\n\n\"type\": \"comment\",\n\n\"space\": {\n\n\"key\": \"test2\"\n\n},\n\n\"body\": {\n\n\"storage\": {\n\n\"representation\": \"storage\",\n\n\"value\": \"<p>a new comment</p>\"\n\n}\n\n}…",
"name": "",
"is_accepted": true
}
] |
203e56147eadaca0725cf088616b3ad8 | i’m attempting to create a plugin that will load a javascript file in all jira, jira software, and jira service desk pages.
i’ve followed instructions at [https://developer.atlassian.com/jiradev/jira-platform/building-jira-add-ons/jira-plugins2-overview/jira-plugin-module-types/web-resource-plugin-m…](https://developer.atlassian.com/jiradev/jira-platform/building-jira-add-ons/jira-plugins2-overview/jira-plugin-module-types/web-resource-plugin-module) | can't seem to get web-resource for atl.general to load a javascript file? | atlassian.com | 2021.17 | [
{
"text": "try removing the leading slash (’/’) from the location. the [jira doco](https://developer.atlassian.com/jiradev/jira-platform/building-jira-add-ons/jira-plugins2-overview/downloadable-plugin-resources) says this (highlighting is mine):\n\n\"the location of a resource tells the plugin where the resource can be found in the jar file. (resources are loaded by java’s classpath resource loader.)\n\nthe full path to the file (without a l…",
"name": "",
"is_accepted": true
}
] |
24e95d7db451b3599e59659c5497a6b1 | hi,
we have some full functionality in our app which we don’t want to give in trial license but if they subscribe for our app then they have to wait for 30 days to get full functionality.
as i want to release partial facility in trial period only for 7 days.
how can i do this, please help in this… | can we publish our app for 7 days trial license instead of 30 days in cloud marketplace | atlassian.com | 2021.17 | [
{
"text": "i’m fairly certain that the 30 days trial is a feature of the marketplace itself and isn’t overridden by the vendor.\n\nit’s mentioned in these docs here <https://developer.atlassian.com/platform/marketplace/selling-on-marketplace/>",
"name": "",
"is_accepted": true
}
] |
6d04a231d060ffebbdbfb28e470d7aa5 | [[screenshot 2021-07-22 at 14.42.17]](https://aws1.discourse-cdn.com/atlassiandeveloper/original/3x/1/2/1217d7fe372cb25fac7827377e85ba8e5ac1423f.png "screenshot 2021-07-22 at 14.42.17")
is it possible as mentioned in [here](https://developer.atlassian.com/cloud/jira/platform/navigation/) about new navigation in jira, how can i get my app listed right within the dropdown options of “apps” menu using in forge custom ui?
i don’t see any modules for this in jira except jira:projectpage which shows on the left ha… | app listed in “apps” menu in forge custom ui | atlassian.com | 2021.43 | [
{
"text": "i do not think that you can have an app show up in the popular apps section. however, there is a connect module that allows an app to show up under the apps dropdown:\n\n[[image]](https://aws1.discourse-cdn.com/atlassiandeveloper/original/3x/e/f/ef942fdad065dbd05efea3377c84182b72e6f287.png \"image\")\n\nthe module used to do this is from home container and using the generalpages module: [https://developer.atlassian.com/cloud…](https://developer.atlassian.com/cloud/jira/platform/home-container/)",
"name": "",
"is_accepted": true
}
] |
56b1f80b4821a5bdc70cd4f9c7006122 | how could i find the pull request that belongs to a given task? i’m listening to taskupdatedevent and need to identify the pull request that the task belongs to. i’m a bit lost as to what info in the taskanchor will get me to the pull request the task is associated with.
here are the task fields.
[… | associating task (anchor) with pull request | atlassian.com | 2021.17 | [
{
"text": "have you tried something like this?\n\noptional<pullrequest> pullrequest = event.gettask().getanchor().accept(comment ->\n\nofnullable(comment.getthread()\n\n.getcommentable()\n\n.accept(new abstractcommentablevisitor<pullrequest>() {\n\n@override\n\n…",
"name": "",
"is_accepted": true
}
] |
d946d5544dbf261ce09e9033af4cfa97 | when i’m making a rest call from my nodejs server it’s always making it with the addon user and not with the user logged. also, i’m trying to make rest calls with the httpclient.asuser('admin') to force if the user of the rest call is correct.
the request context that i’m sending to addon.httpclien… | jira cloud rest call made with addon user | atlassian.com | 2021.17 | [
{
"text": "recently i began to receive same errors when i test application on localhost via ngrok. but all works fine when same application is running on test server.\n\nupd: the problem was in computer clock’s late. the problem has gone after time synchronization.",
"name": "",
"is_accepted": true
}
] |
0b6b23f12e6d5a15daf630732de077a0 | when you create a new issue via the create dialog, you have the “create another” checkbox at the bottom of the dialog which allows you to create a new issue without closing the dialog. this function will clear out the summary and description fields but will keep the other customfields value the same… | how to reset a customfield value when "create another" option selected in create dialog? | atlassian.com | 2021.17 | [
{
"text": "just went through and looked at how it works. there’s a separate plugin called quickedit (look in the dependencysources folder in the jira source). it doesn’t look like it really handles the behavior you’re looking for.\n\nfrom my scanning of the code - it takes the fieldvalues that are submitted and …",
"name": "",
"is_accepted": true
}
] |
650d0c50463b1da5a0255170d903ce5f | soon a users timezone may be hidden from apps with the gdpr changes rolling out.
with this change dates would default to utc in my app, jenkins integration for jira, which i think is not ideal.
i’ve been looking to getting the timezone of the jira cloud but the [application-properties-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-api-3-application-properties-get) api seems… | jira cloud instance timezone and complete dateformat | atlassian.com | 2021.17 | [
{
"text": "hi [@markrekveld](/u/markrekveld) - there may be other ways of doing this, but one way off the top of my head is the serverinfo method – <https://yourinstance.atlassian.net/rest/api/2/serverinfo>\n\nreturns something like this:\n\n{\n\nbaseurl: \"https://yourinstance.atlassian.net\",\n\ndeploymenttype: \"cloud\",\n\nservertime: …",
"name": "",
"is_accepted": true
}
] |
fac5991e3c251bdb1204e2e253b00515 | hi,
in the config.json file there’s a production section for store, which points to a postgres database.
// you won't want to use the memory store in production, or your install
// registrations will be forgotten any time your app restarts. here
// we tell atlassian-connect-express to use the pos… | running confluence cloud addon atlassian-connect-express - postgresql database schema | atlassian.com | 2020.05 | [
{
"text": "hi [@joao.correia](/u/joao.correia),\n\nthe database\\_url variable looks like this (for postgres):\n\npostgres://username:password@hostname:port/databasename\n\nace will create a table called addonsettings when you first execute it, so you don’t need to do anything but create the database and credentials.\n\nanother hint: you …",
"name": "",
"is_accepted": true
}
] |
cfd317befa670f800a7aeec95c5c725a | the hook i’m developing needs to enable and to configure “bitbucket server webhook to jenkins” hook according to detected changes in pom.xml file in the repository.
seems repositoryhookservice can be used to retrieve existing settings of “bitbucket server webhook to jenkins”. however the settings c… | is there a way to create new and update existing settings of a hook? | atlassian.com | 2021.17 | [
{
"text": "ups… i found it. repositoryhookservice#createsettingsbuilder() can be used to get an instance of settingsbuilder",
"name": "",
"is_accepted": true
}
] |
d2c775cb107318f181c092332fda7f28 | how do i get my jira add-on to cloud? | how do i get my jira add-on to cloud? | atlassian.com | 2021.17 | [
{
"text": "you can read all about developing add-ons for jira cloud in the [atlassian connect development guide](https://developer.atlassian.com/static/connect/docs/latest/guides/introduction.html).",
"name": "",
"is_accepted": true
}
] |
558663587fe3ba6b8033d863711d426a | at java.lang.thread.run(thread.java:745)
[info] [talledlocalcontainer] caused by: org.h2.jdbc.jdbcsqlexception: value too long for column “info varchar(255)”: “stringdecode(’{”“issuetype”":""\u4efb\u52a1"","“summary”":"“this is your first task”","“project”":"“jjj”","“assignee”":"“admin”"… (756)"; s… | how to define the field length via active object, let the field varchar length more than 255 | atlassian.com | 2020.34 | [
{
"text": "try to use @stringlength annotation",
"name": "",
"is_accepted": true
}
] |
81ac5bf20f71e18fb7bc9c996cb912f3 | hello,
today i’ve stumbled upon something interesting:
doing a rest call at get /1/organizations/:id&fields=all with two different tokens of admin users of the same organization returns different data response.
in the first case the organization is returned with idboards: [] where on the second i… | get /1/organiations/:id returns different data for the same org with different tokens | atlassian.com | 2021.04 | [
{
"text": "[image] borisfilipov:\n\nmay be the second user created a board hidden on organization level for other organization admins? :thinking:\n\nyes, i think the second user created a private board in the organization.",
"name": "",
"is_accepted": true
}
] |
ba74267f95fbac1ca847f310368a0d1a | i just started a bitbucket server instance atlas-run-standalone --product bitbucket and i’m looking into developing an app that uses the rest api.
the problem i’m facing now is that when going to the rest api browser nothing is showed there.
[http://localhost:7990/bitbucket/plugins/servlet/restbrow…](http://localhost:7990/bitbucket/plugins/servlet/restbrowser) | bitbucket server rest api browser not working from atlas-run-standalone | atlassian.com | 2021.17 | [
{
"text": "hi [@danielanechitoaie](/u/danielanechitoaie) – so, i don’t know why the default rest api browser version (3.1.3) from atlas-run-standalone that’s installed isn’t working properly; however, i do have a fix.\n\n[download](https://marketplace.atlassian.com/apps/1211542/atlassian-rest-api-browser?hosting=server&tab=versions) the latest version (3.2.2 as of this post) from the marketplace\n\ngo to [mange add-ons](http://localhost:7990/bitbucket/plugins/servlet/upm?source=side_nav_manage_addons)\n\nuninstall rest api b…",
"name": "",
"is_accepted": true
}
] |
1d72bfb57eb9349a9333bc278f0edc6a | hi,
my atlassian-connect dev environment stopped working today with the error
failed to register with host <https://admin:[email protected]> (401)
add-on not registered; no compatible hosts detected.
all i can think of is that logging in with user:password is no longer supported, but… | credentials.json deprecated? | atlassian.com | 2021.17 | [
{
"text": "you need to use a api token in place of password. you can generate an api token in you atlassian account settings for the username (which by they way should be your email).",
"name": "",
"is_accepted": true
}
] |
e99032606660f6e39bf49d1c679a654c | i want to build student and teachers team collaboration platform on atlassian for app contest.
here are my 5 questions:
1.) which platform do i leverage. for building students/teachers collaborationis. it jira cloud, confluence cloud or bucket cloud?.
2.) can i use bootstraps in the app developm… | the best platform for my app | atlassian.com | 2020.34 | [
{
"text": "1.) which platform do i leverage. for building students/teachers collaborationis. it jira cloud, confluence cloud or bucket cloud?.\n\nthat really depends on what you’re trying to do. i would look at what atlassian data you’re trying to look at as well as where the customer is at. you mention collab…",
"name": "",
"is_accepted": true
}
] |
3a50401cc027ddabe473d9621eb33084 | hi all,
we’re trying to prepare for jira server 7.10.
does anybody know which aui version bundled in jira?
i cannot find any clue in developers documents.
<https://developer.atlassian.com/server/jira/platform/preparing-for-jira-7-10/>
[https://developer.atlassian.com/server/jira/platform/jira-soft…](https://developer.atlassian.com/server/jira/platform/jira-software-eap-7-10-release-notes/) | which aui version does jira 7.10 use? | atlassian.com | 2021.17 | [
{
"text": "according to [the latest document](https://bitbucket.org/atlassian/aui-adg/wiki/versions/product-version-matrix), jira 7.10 uses aui 7.8.0.",
"name": "",
"is_accepted": true
}
] |
7dc960dd6a4fde90e935b89a2d506933 | jira cloud app does not accept my server app key its more than 67 characters.
atlassian cloud developers please help me? | jira cloud app does not accept my server app key | atlassian.com | 2021.17 | [
{
"text": "thank you ian. sounds atlassian should put this key length restriction for server and datacenter apps as well. :slight\\_smile:\n\nany ways, i release as new app with short key.",
"name": "",
"is_accepted": true
}
] |
45631f78562a2856d0a3c4ee2c2a97fa | hi experts,
i am calling rest api “<https://something.com/empemployment?xxxxx>” form jira plugin using jquery. but i am getting error"no ‘access-control-allow-origin’ header is present on the requested resource" in browser. if i disable security of browser then my api is working. kindly help me how t… | no 'access-control-allow-origin' header is present on the requested resource | atlassian.com | 2021.17 | [
{
"text": "hi all,\n\nit got resolved this problem. now i am calling this rest service form http client(from server side java code) instead of calling from jquery(from client side code javascript). its is working fine without any error.\n\nthanks to all.",
"name": "",
"is_accepted": true
}
] |
4c7711366e33878f5d301b163321ffe8 | i am wondering if there is a way to call ajs.macrobrowser.setmacrojsoverride() outside of a plugin? for example, calling ajs.macrobrowser.setmacrojsoverride(“my-macro”, {opener: …}) from the customhtml page or adding it to one of the pages in the layouts section?
i know i can call this within a pl… | is there a to call similar to ajs.macrobrowser.setmacrojsoverride() that can be made outside a plugin? | atlassian.com | 2019.43 | [
{
"text": "i call it from custom html within confluence. in my instance, i am customizing the options the bob swift sql macro presents to users. \n<script>\n ajs.toinit(function(){\n ajs.bind(\"init.rte\", function() {\n ajs.macrobrowser.setmacrojsoverride('sql', {\n \"fields\": {\n \"string\": function(param, op…",
"name": "",
"is_accepted": true
}
] |
214f9158c206ca78ee966585dc132699 | i am building a macro that needs to display the title and links to all the pages in the current space. i already have access to the current space object. how do i obtain a list of the pages from it?
thanks! | how do i get a list of pages in a given space? | atlassian.com | 2021.17 | [
{
"text": "pagemanager.getpages?\n\ncheers,\n\nanne",
"name": "",
"is_accepted": true
}
] |
0a4d561586ecc1005de75cd0063c551b | hey there,
currently, i’m working on a plugin that is integrated into the jira ui named version manager.
the problem is, that the web-section which opens the plugin page is shown to any project-admin instead of “real” admins only.
if a project admin user clicks on the plugin-section, he is asked … | web-section is shown to any project admin instead to admin only | atlassian.com | 2020.05 | [
{
"text": "i couldn’t get the conditions to work as i wanted… that’s why i found a workaround:\n\ni integrated the section into “add-ons” because only admins can navigate there anyway.\n\natlassian.plugin.xml\n\n...\n\n<web-section key=\"version\\_manager\\_section\"\n\nname=\"version\\_manager\\_section\"\n\nlocation=\"admi…",
"name": "",
"is_accepted": true
}
] |
a530f34806d9d8da4e31fed1900160a0 | i am looking for a location to load a template above the top notification bar(system.top.navigation.bar) in atlassian connect addon. basically a location which will be available across all the pages in jira. | is there any location defined that can be made available across all the pages in jira? | atlassian.com | 2021.17 | [
{
"text": "hi [@sanjeev.pande](/u/sanjeev.pande), there’s an existing feature request to track this here: <https://ecosystem.atlassian.net/browse/acjira-1310>\n\nremember that as the new jira cloud ui rolls out, the “top notification bar” will become a sidebar (and the behavior will change somewhat).",
"name": "",
"is_accepted": true
}
] |
8da9e9d1e94227c715ac77769b168997 | i’m trying to write an add-on using c#, i’ve been able to retrieve oauth id, share secret and client id. but, when i’m trying to get oauth-access-token, atlassian connect always return my token has been expired.
this is my code to generate jwt token:
private double converttounixtimestamp(datetime … | jira connect oauth token always return token expired | atlassian.com | 2021.17 | [
{
"text": "i believe the iat and exp values are expressed in terms of (integer) number of seconds from the start of the epoch. i think your now and exp values will be double values, right?",
"name": "",
"is_accepted": true
}
] |
737abf87275ff3953fbbf2a3ee5c5d38 | hello experts,
i am getting error undefined after selecting a user. i followed this [tutorial](https://bitbucket.org/atlassian_tutorial/connect-select2-user-picker/src/master/) to create a custom user picker. does this work in 2020?
[image]
thanks | does the select2-user-picker is still usable in 2020? | atlassian.com | 2020.05 | [
{
"text": "self solved: yes it works in 2020 as well. there was an error from my end in the formatselection: function.\n\nthanks",
"name": "",
"is_accepted": true
}
] |
3b5769455b9dbe03d646b5da3beb7be8 | hey together,
so i’m in the process of developing a plugin to enhance some of our custom workflows.
this includes designing some more advanced user forms.
i’m able to get that working basically, however i stumbled upon two things:
first, is there a possibility to use ecma 6 with jira server?
an… | react with jira server? | atlassian.com | 2021.21 | [
{
"text": "hi [@schollemarcus](/u/schollemarcus) i feel like this talk from atlascamp might be related to your questions\n\n<https://www.atlassian.com/atlascamp/2017/archives/build-addons/server-add-ons-for-front-end-developers>\n\ntake a watch and let us know if it helped you out.\n\nthanks,\n\nralph",
"name": "",
"is_accepted": true
}
] |
e2354eda55cef9d0a65d8268a02cda81 | hello,
sorry for this basic question. i really searched but didn’t find any straight forward example.
i have a login/pass to our jira cloud instance. now i want to play a little bit with restapi using postman.
i get of course for almost every get calls: “you are not authenticated. authentication … | login to jira cloud using postman | atlassian.com | 2020.10 | [
{
"text": "hi [@marekceizel](/u/marekceizel),\n\na connect or oauth 2 app would be better for your situation.\n\nif you decide to build a connect app (and list it in atlassian marketplace) you’ll need the act\\_as\\_user scope in order to do actions on behalf of a user.\n\noauth 2.0 is always on behalf of the user who authorized, so you’…",
"name": "",
"is_accepted": true
}
] |
a1ec5cbca04a965eb85877f35c37e044 | hi,
we are atlassian partners and had developed addons on the market place (sap/jira connectors) which are currently only available on server and data centre.
we would like to make them available on the cloud but do not have the technical expertise. can you advise on how we can get support from at… | jira addon cloud development support | atlassian.com | 2021.39 | [
{
"text": "[@amgadnurein](/u/amgadnurein),\n\nthanks for building for the atlassian marketplace and welcome to the atlassian developer community.\n\nas a product-focused company, atlassian does not provide the kind of service offerings to hire out technical expertise. instead, we rely on a network of [solution partners](https://partnerdirectory.atlassian.com/) for contract …",
"name": "",
"is_accepted": true
}
] |
95b94f2ce0de235a22a8c14a2c59320c | hi folks,
when you navigate to a page in confluence and view its information (i.e. click on the three dots and then on “page information”) you can see which other pages/content link to it, called “incoming links”.
is this info something that is also available via the rest apis? i’ve over the conte… | access to incoming links via rest api? | atlassian.com | 2021.17 | [
{
"text": "hi [@tgriffo](/u/tgriffo),\n\nwelcome to the community!\n\nafaik, there’s no way to get these information through the rest api. i tried expanding several fields but wasn’t able to get the information.\n\ncheers,\n\nanne",
"name": "",
"is_accepted": true
}
] |
a852aa7ce7e7f8a4d04a18d9cdcc81ac | hey all, i am trying to create a scheduled job that runs an action that requires a user being logged in. from what i can tell the jobrunner runs as a null user and i am having difficulty finding the correct method to impersonate a user to be used while running the command.
does anyone have an examp… | confluence scheduled job impersonate user/admin | atlassian.com | 2021.17 | [
{
"text": "useraccessor useraccessor = componentlocator.getcomponent(useraccessor.class);\n\n// as anonymous\n\nauthenticateduserimpersonator.request\\_agnostic.asanonymoususer(() -> {\n\n// do stuff\n\n});\n\n// as admin\n\nconfluenceuser adminuser = useraccessor.getuserbyname(\"admin\");\n\nsystem.out.println(\"adminuser is \"…",
"name": "",
"is_accepted": true
}
] |
852a1d2f0e2443962853d245164e5685 | all of the ids in the docs show ^[0-9a-fa-f]{32}$. from what i can tell, the ids are all 24 chars long, not 32. | pattern for ids is wrong | atlassian.com | 2020.29 | [
{
"text": "good catch. i’ll update it to 24!",
"name": "",
"is_accepted": true
}
] |
8b95ed912d75f8a37e62b9eafc9ecf78 | hi forge team,
thank you for bringing this platform to the world. i built two macros with almost the same functionality. ace-based one requires 30 files and has 28 dependencies. forge-based requires 4 files and 4 dependencies. there are just stats, but you really put out of the table all hidden tri… | forge inline macro | atlassian.com | 2021.10 | [
{
"text": "hey [@szn](/u/szn)!\n\nthanks so much for the lovely feedback—warmed my heart to know we’re getting it right for you :slight\\_smile:\n\nthere aren’t concrete plans for an inline macro right now, but the team that look into new modules have heard this request before. i’ll pass it onto them as additional feedback.\n\nh…",
"name": "",
"is_accepted": true
}
] |
a950d9a232244e14f623aeb9c7220792 | i went through this link <https://developer.atlassian.com/cloud/jira/platform/user-impersonation-for-connect-apps/> about user impersonation and try to use it for creating project in jira. i am getting the jwt bearer token. but when i am trying to post the data getting below error
can not instantiate… | 400 error in creating project using user impersonation in atlassian connect | atlassian.com | 2021.17 | [
{
"text": "i found the solution to my problem. my post request was like this\n\nrequest.post({\n\nurl: '<baseurl>/rest/api/2/project',\n\njson: true\n\nheaders: {\n\n\"authorization\": \"bearer \" + access\\_token,\n\n\"accept\": \"application/json\",\n\n\"c…",
"name": "",
"is_accepted": true
}
] |
a459e04867f38013ee5e43deda407248 | there was a question asked a while ago, but with no helpful answer.
[image]
[get space page hierarchy using the rest api](https://community.atlassian.com/t5/confluence-questions/get-space-page-hierarchy-using-the-rest-api/qaq-p/351963)
we are looking into using the rest api to create backups for all the content on our confluence cloud page. we would like this content to match the structure within confl… | get space page hierarchy using the rest api | atlassian.com | 2020.16 | [
{
"text": "one more thing can you try this:\n\n/rest/api/content/1310767/child/page?expand=children.page",
"name": "",
"is_accepted": true
}
] |
ed1dafa46e9c3d68e0ed44e6a437ae36 | if i am inserting my macro with the “plus” sign and choosing it from the macro browser, the editor overlay for that macro opens up.
but when i am using the slash command “/” and choose the same macro there, not editor pops up. i have to double click the placeholder to get to the editor.
is there s… | insert macro: editor not shown when using shortcut slash command "/" | atlassian.com | 2021.17 | [
{
"text": "hi [@umang.savaliya](/u/umang.savaliya) ,\n\ni’ve observed this difference in behaviour also so i’ve created <https://jira.atlassian.com/browse/confcloud-71904> for the confluence team to address.\n\nregards,\n\ndugald",
"name": "",
"is_accepted": true
}
] |
0c726e055f107887fcea531ca3a00d94 | is there a way to control the number of lines you can expand at a time in bitbucket data center on a pull request diff? i see there is a pullrequest.diff.context.expand.size property but setting that value doesn’t seem to apply.
[[image]](https://aws1.discourse-cdn.com/atlassiandeveloper/original/3x/7/3/73be26508a1cd5f7405e6d4b1f663733f8b34aec.png "image") | pullrequest.diff.context.expand.size does not seem to work | atlassian.com | 2021.25 | [
{
"text": "hi [@joelloeshelle](/u/joelloeshelle),\n\nin bitbucket data center versions from 7.0 to 7.11 (included), it was not possible to configure the amount of context lines that would get expanded in the pull request diff views. however, starting from bitbucket data center 7.12, it is now possible to do so, and the default beha…",
"name": "",
"is_accepted": true
}
] |
5438a11b7ad5b57859e0c8861c003f46 | hi, i have a customer that is having a problem adding an attachment in a service desk project. i am trying to replicate this but there jira instance (7.4.2) behaves differently than mine (they provided a video) (also 7.4.2)
if they try to create a new comment and then click on the attachments icon… | show attachments dialog | atlassian.com | 2021.17 | [
{
"text": "had to go back to an earlier version of jira to get this to appear. for earlier version it doesn’t appear for all file types (pdf makes it appear but gif doesn’t)",
"name": "",
"is_accepted": true
}
] |
21c02e1254ec2b7b2808466451cb9736 | i’m trying to find a space by title, using cql, with type = 'space' and title ~ 'word'. but:
in cql, type = 'space' isn’t a correct value ([<https://developer.atlassian.com/server/confluence/cql-field-reference/#type>](<https://see> doc)), the only accepted values are page, blogpost, comment, attachme… | search for space by title, using cql? | atlassian.com | 2021.39 | [
{
"text": "thank you for the suggestion, but i have a space named “team” and the cql space.title ~ \"team\" doesn’t return any result through the java api. it does return something through the confluence search.\n\nfound the answer! one needs to call .search() and not .searchcontent():\n\ncqlsearchservice.search(\n\n…",
"name": "",
"is_accepted": true
}
] |
f5863476ee0493ecadfe9b63ac6b79b2 | hi folks,
i’m trying to create “user property” in jira cloud instance but i’m not able to… should i enable the option somewhere or there is no option to create at all? please let me know. tia! [[capture]](https://aws1.discourse-cdn.com/atlassiandeveloper/original/3x/a/0/a031c8a53d35f98f3987c9126d5e2525d827f6af.jpeg "capture") | not able to create the "user property" in jira cloud instance | atlassian.com | 2021.17 | [
{
"text": "not sure about creating new user property through any user interface. it’s possible using rest api call. refer below link.\n\n<https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-user-properties-propertykey-put>",
"name": "",
"is_accepted": true
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.