text
stringlengths
2
1.04M
meta
dict
require 'forwardable' class Cask::URL FAKE_USER_AGENT = 'Chrome/32.0.1000.00' attr_reader :uri, :cookies, :referer extend Forwardable def_delegators :uri, :path, :scheme, :to_s def initialize(uri, options={}) @uri = Cask::UnderscoreSupportingURI.parse(uri) @user_agent = options[:user_agent] @cookies = options[:cookies] @referer = options[:referer] end def user_agent if @user_agent == :fake FAKE_USER_AGENT else @user_agent end end end
{ "content_hash": "129e379062a9c6c18a2528518e575834", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 58, "avg_line_length": 20.48, "alnum_prop": 0.6328125, "repo_name": "chrisopedia/homebrew-cask", "id": "447d02a06c3b0fc9325922f3470705b062febe16", "size": "512", "binary": false, "copies": "3", "ref": "refs/heads/master", "path": "lib/cask/url.rb", "mode": "33188", "license": "bsd-2-clause", "language": [ { "name": "Ruby", "bytes": "434642" }, { "name": "Shell", "bytes": "31805" } ], "symlink_target": "" }
package com.leiot.test; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.widget.TextView; import android.widget.EditText; import android.widget.Button; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.RadioGroup.OnCheckedChangeListener; import android.widget.SeekBar; import android.widget.SeekBar.OnSeekBarChangeListener; public class MainActivity extends Activity implements OnCheckedChangeListener, OnSeekBarChangeListener { public static final String TAG = MainActivity.class.getSimpleName(); TVDeviceShadow mIot; IOTReceiver mIotReceiver = null; private static RadioGroup mSignalSelectRG = null; private static RadioButton mSignalMM = null; private static RadioButton mSignalHDMI1 = null; private static RadioButton mSignalHDMI2 = null; private static RadioButton mSignalHDMI3 = null; private static RadioButton mSignalDigital = null; private static RadioButton mSignalAnalog = null; private static RadioButton mSignalAV = null; private static TextView mVolumeSwitch = null; private static SeekBar mBrightnessSB = null; @Override public void onCreate(Bundle savedInstanceState) {//{{{ super.onCreate(savedInstanceState); setContentView(R.layout.main); initView(); mIotReceiver = new IOTReceiver(); IntentFilter filter = new IntentFilter(); filter.addAction(Constants.IOT_ACTION_PRO_SIGNAL); filter.addAction(Constants.IOT_ACTION_PRO_BRIGHTNESS); filter.addAction(Constants.IOT_CMD_VOLUME_SWITCH); filter.addAction(Constants.IOT_CMD_CHANNEL_SWITCH); filter.addAction(Constants.IOT_CMD_APP_START); filter.addAction(Constants.IOT_CMD_VIDEO_SEARCH); filter.addAction(Constants.IOT_CMD_TEXT_PUSH); filter.addAction(Constants.IOT_CMD_VIDEO_PLAY); registerReceiver(mIotReceiver, filter); mIot = TVDeviceShadow.getInstance(this); new Thread(new Runnable() { @Override public void run() { int ret = 0; do { ret = mIot.iotConnService(60000); Log.i(TAG, "iotConnService ret = " + ret); } while (ret != 0); } }).start(); }//}}} private void initView() {//{{{ mSignalSelectRG = (RadioGroup)findViewById(R.id.input_sex_rg); mSignalMM = (RadioButton)findViewById(R.id.input_mm); mSignalHDMI1 = (RadioButton)findViewById(R.id.input_hdmi1); mSignalHDMI2 = (RadioButton)findViewById(R.id.input_hdmi2); mSignalHDMI3 = (RadioButton)findViewById(R.id.input_hdmi3); mSignalDigital = (RadioButton)findViewById(R.id.input_digital); mSignalAnalog = (RadioButton)findViewById(R.id.input_analog); mSignalAV = (RadioButton)findViewById(R.id.input_av); mBrightnessSB = (SeekBar)findViewById(R.id.brightness_sb); mVolumeSwitch = (TextView)findViewById(R.id.volume_switch_tv); mSignalSelectRG.setOnCheckedChangeListener(this); mBrightnessSB.setOnSeekBarChangeListener(this); }//}}} private class IOTReceiver extends BroadcastReceiver {//{{{ @Override public void onReceive(Context context, Intent intent) { String action = intent.getAction(); Log.i(TAG, "Action IOT: " + action); String val = (String)intent.getStringExtra("value"); if (action.equals(Constants.IOT_ACTION_PRO_SIGNAL)) { if (val.equals("0")) { mSignalSelectRG.check(R.id.input_mm); } else if (val.equals("1")) { mSignalSelectRG.check(R.id.input_hdmi1); } else if (val.equals("2")) { mSignalSelectRG.check(R.id.input_hdmi2); } else if (val.equals("3")) { mSignalSelectRG.check(R.id.input_hdmi3); } else if (val.equals("4")) { mSignalSelectRG.check(R.id.input_digital); } else if (val.equals("5")) { mSignalSelectRG.check(R.id.input_analog); } else if (val.equals("6")) { mSignalSelectRG.check(R.id.input_av); } } else if (action.equals(Constants.IOT_ACTION_PRO_BRIGHTNESS)) { mBrightnessSB.setProgress(Integer.parseInt(val)); } else if (action.equals(Constants.IOT_CMD_VOLUME_SWITCH)) { mVolumeSwitch.setText(val); } } }//}}} public void onCheckedChanged(RadioGroup rg, int checkedId) {//{{{ String val = "0"; switch (checkedId) { case R.id.input_mm: val = "0"; break; case R.id.input_hdmi1: val = "1"; break; case R.id.input_hdmi2: val = "2"; break; case R.id.input_hdmi3: val = "3"; break; case R.id.input_digital: val = "4"; break; case R.id.input_analog: val = "5"; break; case R.id.input_av: val = "6"; break; } mIot.updatePropertyFromUI(Constants.IOT_PRO_SIGNAL, val, true); }//}}} public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {//{{{ mIot.updatePropertyFromUI(Constants.IOT_PRO_BRIGHTNESS, String.valueOf(progress), false); }//}}} public void onStartTrackingTouch(SeekBar seekBar) {//{{{ }//}}} public void onStopTrackingTouch(SeekBar seekBar) {//{{{ }//}}} }
{ "content_hash": "bdd2fc7d167c41b8460ffb2956066c8b", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 97, "avg_line_length": 38.91447368421053, "alnum_prop": 0.6069315300084531, "repo_name": "qrsforever/workspace", "id": "2ee35fb730f074b6b4e29e1b2623e44c7477e05f", "size": "5915", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "android/test/leiot/src/com/leiot/test/MainActivity.java", "mode": "33188", "license": "mit", "language": [ { "name": "Batchfile", "bytes": "208" }, { "name": "C", "bytes": "591303" }, { "name": "C++", "bytes": "98511" }, { "name": "CLIPS", "bytes": "52178" }, { "name": "HTML", "bytes": "1780" }, { "name": "HiveQL", "bytes": "13" }, { "name": "Java", "bytes": "381448" }, { "name": "Jupyter Notebook", "bytes": "3148168" }, { "name": "Makefile", "bytes": "108609" }, { "name": "Python", "bytes": "991124" }, { "name": "R", "bytes": "22072" }, { "name": "Ruby", "bytes": "7046" }, { "name": "Shell", "bytes": "119856" }, { "name": "TSQL", "bytes": "5817" } ], "symlink_target": "" }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Shilling</source> <translation>&amp;О Shilling</translation> </message> <message> <location line="+39"/> <source>&lt;b&gt;Shilling&lt;/b&gt; version</source> <translation>&lt;b&gt;Shilling&lt;/b&gt; версия</translation> </message> <message> <location line="+57"/> <source> This is experimental software. Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard.</source> <translation> Это экспериментальная программа. Распространяется на правах лицензии MIT/X11, см. файл license.txt или http://www.opensource.org/licenses/mit-license.php. Этот продукт включает ПО, разработанное OpenSSL Project для использования в OpenSSL Toolkit (http://www.openssl.org/) и криптографическое ПО, написанное Eric Young (eay@cryptsoft.com) и ПО для работы с UPnP, написанное Thomas Bernard.</translation> </message> <message> <location filename="../aboutdialog.cpp" line="+14"/> <source>Copyright</source> <translation>Все права защищены</translation> </message> <message> <location line="+0"/> <source>The Shilling developers</source> <translation>Разработчики Shilling</translation> </message> </context> <context> <name>AddressBookPage</name> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>Address Book</source> <translation>&amp;Адресная книга</translation> </message> <message> <location line="+19"/> <source>Double-click to edit address or label</source> <translation>Для того, чтобы изменить адрес или метку, дважды кликните по изменяемому объекту</translation> </message> <message> <location line="+27"/> <source>Create a new address</source> <translation>Создать новый адрес</translation> </message> <message> <location line="+14"/> <source>Copy the currently selected address to the system clipboard</source> <translation>Копировать текущий выделенный адрес в буфер обмена</translation> </message> <message> <location line="-11"/> <source>&amp;New Address</source> <translation>&amp;Новый адрес</translation> </message> <message> <location filename="../addressbookpage.cpp" line="+63"/> <source>These are your Shilling addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you.</source> <translation>Это Ваши адреса для получения платежей. Вы можете дать разные адреса отправителям, чтобы отслеживать, кто именно вам платит.</translation> </message> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>&amp;Copy Address</source> <translation>&amp;Копировать адрес</translation> </message> <message> <location line="+11"/> <source>Show &amp;QR Code</source> <translation>Показать &amp;QR код</translation> </message> <message> <location line="+11"/> <source>Sign a message to prove you own a Shilling address</source> <translation>Подписать сообщение, чтобы доказать владение адресом Shilling</translation> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation>&amp;Подписать сообщение</translation> </message> <message> <location line="+25"/> <source>Delete the currently selected address from the list</source> <translation>Удалить выбранный адрес из списка</translation> </message> <message> <location line="+27"/> <source>Export the data in the current tab to a file</source> <translation>Экспортировать данные из вкладки в файл</translation> </message> <message> <location line="+3"/> <source>&amp;Export</source> <translation>&amp;Экспорт</translation> </message> <message> <location line="-44"/> <source>Verify a message to ensure it was signed with a specified Shilling address</source> <translation>Проверить сообщение, чтобы убедиться, что оно было подписано указанным адресом Shilling</translation> </message> <message> <location line="+3"/> <source>&amp;Verify Message</source> <translation>&amp;Проверить сообщение</translation> </message> <message> <location line="+14"/> <source>&amp;Delete</source> <translation>&amp;Удалить</translation> </message> <message> <location filename="../addressbookpage.cpp" line="-5"/> <source>These are your Shilling addresses for sending payments. Always check the amount and the receiving address before sending coins.</source> <translation>Ваши адреса для получения средств. Совет: проверьте сумму и адрес назначения перед переводом.</translation> </message> <message> <location line="+13"/> <source>Copy &amp;Label</source> <translation>Копировать &amp;метку</translation> </message> <message> <location line="+1"/> <source>&amp;Edit</source> <translation>&amp;Правка</translation> </message> <message> <location line="+1"/> <source>Send &amp;Coins</source> <translation>&amp;Отправить монеты</translation> </message> <message> <location line="+260"/> <source>Export Address Book Data</source> <translation>Экспортировать адресную книгу</translation> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>Текст, разделённый запятыми (*.csv)</translation> </message> <message> <location line="+13"/> <source>Error exporting</source> <translation>Ошибка экспорта</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>Невозможно записать в файл %1.</translation> </message> </context> <context> <name>AddressTableModel</name> <message> <location filename="../addresstablemodel.cpp" line="+144"/> <source>Label</source> <translation>Метка</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>Адрес</translation> </message> <message> <location line="+36"/> <source>(no label)</source> <translation>[нет метки]</translation> </message> </context> <context> <name>AskPassphraseDialog</name> <message> <location filename="../forms/askpassphrasedialog.ui" line="+26"/> <source>Passphrase Dialog</source> <translation>Диалог ввода пароля</translation> </message> <message> <location line="+21"/> <source>Enter passphrase</source> <translation>Введите пароль</translation> </message> <message> <location line="+14"/> <source>New passphrase</source> <translation>Новый пароль</translation> </message> <message> <location line="+14"/> <source>Repeat new passphrase</source> <translation>Повторите новый пароль</translation> </message> <message> <location filename="../askpassphrasedialog.cpp" line="+33"/> <source>Enter the new passphrase to the wallet.&lt;br/&gt;Please use a passphrase of &lt;b&gt;10 or more random characters&lt;/b&gt;, or &lt;b&gt;eight or more words&lt;/b&gt;.</source> <translation>Введите новый пароль для бумажника. &lt;br/&gt; Пожалуйста, используйте фразы из &lt;b&gt;10 или более случайных символов,&lt;/b&gt; или &lt;b&gt;восьми и более слов.&lt;/b&gt;</translation> </message> <message> <location line="+1"/> <source>Encrypt wallet</source> <translation>Зашифровать бумажник</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to unlock the wallet.</source> <translation>Для выполнения операции требуется пароль вашего бумажника.</translation> </message> <message> <location line="+5"/> <source>Unlock wallet</source> <translation>Разблокировать бумажник</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to decrypt the wallet.</source> <translation>Для выполнения операции требуется пароль вашего бумажника.</translation> </message> <message> <location line="+5"/> <source>Decrypt wallet</source> <translation>Расшифровать бумажник</translation> </message> <message> <location line="+3"/> <source>Change passphrase</source> <translation>Сменить пароль</translation> </message> <message> <location line="+1"/> <source>Enter the old and new passphrase to the wallet.</source> <translation>Введите старый и новый пароль для бумажника.</translation> </message> <message> <location line="+46"/> <source>Confirm wallet encryption</source> <translation>Подтвердите шифрование бумажника</translation> </message> <message> <location line="+1"/> <source>Warning: If you encrypt your wallet and lose your passphrase, you will &lt;b&gt;LOSE ALL OF YOUR SHILLINGS&lt;/b&gt;!</source> <translation>Внимание: если вы зашифруете бумажник и потеряете пароль, вы &lt;b&gt;ПОТЕРЯЕТЕ ВСЕ ВАШИ БИТКОИНЫ&lt;/b&gt;!</translation> </message> <message> <location line="+0"/> <source>Are you sure you wish to encrypt your wallet?</source> <translation>Вы уверены, что хотите зашифровать ваш бумажник?</translation> </message> <message> <location line="+15"/> <source>IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet.</source> <translation>ВАЖНО: все предыдущие резервные копии вашего кошелька должны быть заменены новым зашифрованным файлом. В целях безопасности предыдущие резервные копии нешифрованного кошелька станут бесполезны, как только вы начнёте использовать новый шифрованный кошелёк.</translation> </message> <message> <location line="+100"/> <location line="+24"/> <source>Warning: The Caps Lock key is on!</source> <translation>Внимание: Caps Lock включен!</translation> </message> <message> <location line="-130"/> <location line="+58"/> <source>Wallet encrypted</source> <translation>Бумажник зашифрован</translation> </message> <message> <location line="-56"/> <source>Shilling will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your shillings from being stolen by malware infecting your computer.</source> <translation>Сейчас программа закроется для завершения процесса шифрования. Помните, что шифрование вашего бумажника не может полностью защитить ваши биткоины от кражи с помощью инфицирования вашего компьютера вредоносным ПО.</translation> </message> <message> <location line="+13"/> <location line="+7"/> <location line="+42"/> <location line="+6"/> <source>Wallet encryption failed</source> <translation>Не удалось зашифровать бумажник</translation> </message> <message> <location line="-54"/> <source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source> <translation>Шифрование бумажника не удалось из-за внутренней ошибки. Ваш бумажник не был зашифрован.</translation> </message> <message> <location line="+7"/> <location line="+48"/> <source>The supplied passphrases do not match.</source> <translation>Введённые пароли не совпадают.</translation> </message> <message> <location line="-37"/> <source>Wallet unlock failed</source> <translation>Разблокировка бумажника не удалась</translation> </message> <message> <location line="+1"/> <location line="+11"/> <location line="+19"/> <source>The passphrase entered for the wallet decryption was incorrect.</source> <translation>Указанный пароль не подходит.</translation> </message> <message> <location line="-20"/> <source>Wallet decryption failed</source> <translation>Расшифрование бумажника не удалось</translation> </message> <message> <location line="+14"/> <source>Wallet passphrase was successfully changed.</source> <translation>Пароль бумажника успешно изменён.</translation> </message> </context> <context> <name>ShillingGUI</name> <message> <location filename="../shillinggui.cpp" line="+233"/> <source>Sign &amp;message...</source> <translation>&amp;Подписать сообщение...</translation> </message> <message> <location line="+280"/> <source>Synchronizing with network...</source> <translation>Синхронизация с сетью...</translation> </message> <message> <location line="-349"/> <source>&amp;Overview</source> <translation>О&amp;бзор</translation> </message> <message> <location line="+1"/> <source>Show general overview of wallet</source> <translation>Показать общий обзор действий с бумажником</translation> </message> <message> <location line="+20"/> <source>&amp;Transactions</source> <translation>&amp;Транзакции</translation> </message> <message> <location line="+1"/> <source>Browse transaction history</source> <translation>Показать историю транзакций</translation> </message> <message> <location line="+7"/> <source>Edit the list of stored addresses and labels</source> <translation>Изменить список сохранённых адресов и меток к ним</translation> </message> <message> <location line="-14"/> <source>Show the list of addresses for receiving payments</source> <translation>Показать список адресов для получения платежей</translation> </message> <message> <location line="+31"/> <source>E&amp;xit</source> <translation>В&amp;ыход</translation> </message> <message> <location line="+1"/> <source>Quit application</source> <translation>Закрыть приложение</translation> </message> <message> <location line="+4"/> <source>Show information about Shilling</source> <translation>Показать информацию о Shilling&apos;е</translation> </message> <message> <location line="+2"/> <source>About &amp;Qt</source> <translation>О &amp;Qt</translation> </message> <message> <location line="+1"/> <source>Show information about Qt</source> <translation>Показать информацию о Qt</translation> </message> <message> <location line="+2"/> <source>&amp;Options...</source> <translation>Оп&amp;ции...</translation> </message> <message> <location line="+6"/> <source>&amp;Encrypt Wallet...</source> <translation>&amp;Зашифровать бумажник...</translation> </message> <message> <location line="+3"/> <source>&amp;Backup Wallet...</source> <translation>&amp;Сделать резервную копию бумажника...</translation> </message> <message> <location line="+2"/> <source>&amp;Change Passphrase...</source> <translation>&amp;Изменить пароль...</translation> </message> <message> <location line="+285"/> <source>Importing blocks from disk...</source> <translation>Импортируются блоки с диска...</translation> </message> <message> <location line="+3"/> <source>Reindexing blocks on disk...</source> <translation>Идёт переиндексация блоков на диске...</translation> </message> <message> <location line="-347"/> <source>Send coins to a Shilling address</source> <translation>Отправить монеты на указанный адрес Shilling</translation> </message> <message> <location line="+49"/> <source>Modify configuration options for Shilling</source> <translation>Изменить параметры конфигурации Shilling</translation> </message> <message> <location line="+9"/> <source>Backup wallet to another location</source> <translation>Сделать резервную копию бумажника в другом месте</translation> </message> <message> <location line="+2"/> <source>Change the passphrase used for wallet encryption</source> <translation>Изменить пароль шифрования бумажника</translation> </message> <message> <location line="+6"/> <source>&amp;Debug window</source> <translation>&amp;Окно отладки</translation> </message> <message> <location line="+1"/> <source>Open debugging and diagnostic console</source> <translation>Открыть консоль отладки и диагностики</translation> </message> <message> <location line="-4"/> <source>&amp;Verify message...</source> <translation>&amp;Проверить сообщение...</translation> </message> <message> <location line="-165"/> <location line="+530"/> <source>Shilling</source> <translation>Биткоин</translation> </message> <message> <location line="-530"/> <source>Wallet</source> <translation>Бумажник</translation> </message> <message> <location line="+101"/> <source>&amp;Send</source> <translation>&amp;Отправить</translation> </message> <message> <location line="+7"/> <source>&amp;Receive</source> <translation>&amp;Получить</translation> </message> <message> <location line="+14"/> <source>&amp;Addresses</source> <translation>&amp;Адреса</translation> </message> <message> <location line="+22"/> <source>&amp;About Shilling</source> <translation>&amp;О Shilling</translation> </message> <message> <location line="+9"/> <source>&amp;Show / Hide</source> <translation>&amp;Показать / Скрыть</translation> </message> <message> <location line="+1"/> <source>Show or hide the main Window</source> <translation>Показать или скрыть главное окно</translation> </message> <message> <location line="+3"/> <source>Encrypt the private keys that belong to your wallet</source> <translation>Зашифровать приватные ключи, принадлежащие вашему бумажнику</translation> </message> <message> <location line="+7"/> <source>Sign messages with your Shilling addresses to prove you own them</source> <translation>Подписать сообщения вашим адресом Shilling, чтобы доказать, что вы им владеете</translation> </message> <message> <location line="+2"/> <source>Verify messages to ensure they were signed with specified Shilling addresses</source> <translation>Проверить сообщения, чтобы удостовериться, что они были подписаны определённым адресом Shilling</translation> </message> <message> <location line="+28"/> <source>&amp;File</source> <translation>&amp;Файл</translation> </message> <message> <location line="+7"/> <source>&amp;Settings</source> <translation>&amp;Настройки</translation> </message> <message> <location line="+6"/> <source>&amp;Help</source> <translation>&amp;Помощь</translation> </message> <message> <location line="+9"/> <source>Tabs toolbar</source> <translation>Панель вкладок</translation> </message> <message> <location line="+17"/> <location line="+10"/> <source>[testnet]</source> <translation>[тестовая сеть]</translation> </message> <message> <location line="+47"/> <source>Shilling client</source> <translation>Shilling клиент</translation> </message> <message numerus="yes"> <location line="+141"/> <source>%n active connection(s) to Shilling network</source> <translation><numerusform>%n активное соединение с сетью</numerusform><numerusform>%n активных соединений с сетью</numerusform><numerusform>%n активных соединений с сетью</numerusform></translation> </message> <message> <location line="+22"/> <source>No block source available...</source> <translation>Источник блоков недоступен...</translation> </message> <message> <location line="+12"/> <source>Processed %1 of %2 (estimated) blocks of transaction history.</source> <translation>Обработано %1 из %2 (примерно) блоков истории транзакций.</translation> </message> <message> <location line="+4"/> <source>Processed %1 blocks of transaction history.</source> <translation>Обработано %1 блоков истории транзакций.</translation> </message> <message numerus="yes"> <location line="+20"/> <source>%n hour(s)</source> <translation><numerusform>%n час</numerusform><numerusform>%n часа</numerusform><numerusform>%n часов</numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n day(s)</source> <translation><numerusform>%n день</numerusform><numerusform>%n дня</numerusform><numerusform>%n дней</numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n week(s)</source> <translation><numerusform>%n неделя</numerusform><numerusform>%n недели</numerusform><numerusform>%n недель</numerusform></translation> </message> <message> <location line="+4"/> <source>%1 behind</source> <translation>%1 позади</translation> </message> <message> <location line="+14"/> <source>Last received block was generated %1 ago.</source> <translation>Последний полученный блок был сгенерирован %1 назад.</translation> </message> <message> <location line="+2"/> <source>Transactions after this will not yet be visible.</source> <translation>Транзакции после этой пока не будут видны.</translation> </message> <message> <location line="+22"/> <source>Error</source> <translation>Ошибка</translation> </message> <message> <location line="+3"/> <source>Warning</source> <translation>Внимание</translation> </message> <message> <location line="+3"/> <source>Information</source> <translation>Информация</translation> </message> <message> <location line="+70"/> <source>This transaction is over the size limit. You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee?</source> <translation>Транзакция превышает максимальный размер. Вы можете провести её, заплатив комиссию %1, которая достанется узлам, обрабатывающим эту транзакцию, и поможет работе сети. Вы действительно хотите заплатить комиссию?</translation> </message> <message> <location line="-140"/> <source>Up to date</source> <translation>Синхронизировано</translation> </message> <message> <location line="+31"/> <source>Catching up...</source> <translation>Синхронизируется...</translation> </message> <message> <location line="+113"/> <source>Confirm transaction fee</source> <translation>Подтвердите комиссию</translation> </message> <message> <location line="+8"/> <source>Sent transaction</source> <translation>Исходящая транзакция</translation> </message> <message> <location line="+0"/> <source>Incoming transaction</source> <translation>Входящая транзакция</translation> </message> <message> <location line="+1"/> <source>Date: %1 Amount: %2 Type: %3 Address: %4 </source> <translation>Дата: %1 Количество: %2 Тип: %3 Адрес: %4 </translation> </message> <message> <location line="+33"/> <location line="+23"/> <source>URI handling</source> <translation>Обработка URI</translation> </message> <message> <location line="-23"/> <location line="+23"/> <source>URI can not be parsed! This can be caused by an invalid Shilling address or malformed URI parameters.</source> <translation>Не удалось обработать URI! Это может быть связано с неверным адресом Shilling или неправильными параметрами URI.</translation> </message> <message> <location line="+17"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source> <translation>Бумажник &lt;b&gt;зашифрован&lt;/b&gt; и в настоящее время &lt;b&gt;разблокирован&lt;/b&gt;</translation> </message> <message> <location line="+8"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source> <translation>Бумажник &lt;b&gt;зашифрован&lt;/b&gt; и в настоящее время &lt;b&gt;заблокирован&lt;/b&gt;</translation> </message> <message> <location filename="../shilling.cpp" line="+111"/> <source>A fatal error occurred. Shilling can no longer continue safely and will quit.</source> <translation>Произошла неисправимая ошибка. Shilling не может безопасно продолжать работу и будет закрыт.</translation> </message> </context> <context> <name>ClientModel</name> <message> <location filename="../clientmodel.cpp" line="+104"/> <source>Network Alert</source> <translation>Сетевая Тревога</translation> </message> </context> <context> <name>EditAddressDialog</name> <message> <location filename="../forms/editaddressdialog.ui" line="+14"/> <source>Edit Address</source> <translation>Изменить адрес</translation> </message> <message> <location line="+11"/> <source>&amp;Label</source> <translation>&amp;Метка</translation> </message> <message> <location line="+10"/> <source>The label associated with this address book entry</source> <translation>Метка, связанная с данной записью</translation> </message> <message> <location line="+7"/> <source>&amp;Address</source> <translation>&amp;Адрес</translation> </message> <message> <location line="+10"/> <source>The address associated with this address book entry. This can only be modified for sending addresses.</source> <translation>Адрес, связанный с данной записью.</translation> </message> <message> <location filename="../editaddressdialog.cpp" line="+21"/> <source>New receiving address</source> <translation>Новый адрес для получения</translation> </message> <message> <location line="+4"/> <source>New sending address</source> <translation>Новый адрес для отправки</translation> </message> <message> <location line="+3"/> <source>Edit receiving address</source> <translation>Изменение адреса для получения</translation> </message> <message> <location line="+4"/> <source>Edit sending address</source> <translation>Изменение адреса для отправки</translation> </message> <message> <location line="+76"/> <source>The entered address &quot;%1&quot; is already in the address book.</source> <translation>Введённый адрес «%1» уже находится в адресной книге.</translation> </message> <message> <location line="-5"/> <source>The entered address &quot;%1&quot; is not a valid Shilling address.</source> <translation>Введённый адрес &quot;%1&quot; не является правильным Shilling-адресом.</translation> </message> <message> <location line="+10"/> <source>Could not unlock wallet.</source> <translation>Не удается разблокировать бумажник.</translation> </message> <message> <location line="+5"/> <source>New key generation failed.</source> <translation>Генерация нового ключа не удалась.</translation> </message> </context> <context> <name>GUIUtil::HelpMessageBox</name> <message> <location filename="../guiutil.cpp" line="+424"/> <location line="+12"/> <source>Shilling-Qt</source> <translation>Shilling-Qt</translation> </message> <message> <location line="-12"/> <source>version</source> <translation>версия</translation> </message> <message> <location line="+2"/> <source>Usage:</source> <translation>Использование:</translation> </message> <message> <location line="+1"/> <source>command-line options</source> <translation>параметры командной строки</translation> </message> <message> <location line="+4"/> <source>UI options</source> <translation>Опции интерфейса</translation> </message> <message> <location line="+1"/> <source>Set language, for example &quot;de_DE&quot; (default: system locale)</source> <translation>Выберите язык, например &quot;de_DE&quot; (по умолчанию: как в системе)</translation> </message> <message> <location line="+1"/> <source>Start minimized</source> <translation>Запускать свёрнутым</translation> </message> <message> <location line="+1"/> <source>Show splash screen on startup (default: 1)</source> <translation>Показывать сплэш при запуске (по умолчанию: 1)</translation> </message> </context> <context> <name>OptionsDialog</name> <message> <location filename="../forms/optionsdialog.ui" line="+14"/> <source>Options</source> <translation>Опции</translation> </message> <message> <location line="+16"/> <source>&amp;Main</source> <translation>&amp;Главная</translation> </message> <message> <location line="+6"/> <source>Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB.</source> <translation>Необязательная комиссия за каждый КБ транзакции, которая ускоряет обработку Ваших транзакций. Большинство транзакций занимают 1КБ.</translation> </message> <message> <location line="+15"/> <source>Pay transaction &amp;fee</source> <translation>Заплатить ко&amp;миссию</translation> </message> <message> <location line="+31"/> <source>Automatically start Shilling after logging in to the system.</source> <translation>Автоматически запускать Shilling после входа в систему</translation> </message> <message> <location line="+3"/> <source>&amp;Start Shilling on system login</source> <translation>&amp;Запускать Shilling при входе в систему</translation> </message> <message> <location line="+35"/> <source>Reset all client options to default.</source> <translation>Сбросить все опции клиента на значения по умолчанию.</translation> </message> <message> <location line="+3"/> <source>&amp;Reset Options</source> <translation>&amp;Сбросить опции</translation> </message> <message> <location line="+13"/> <source>&amp;Network</source> <translation>&amp;Сеть</translation> </message> <message> <location line="+6"/> <source>Automatically open the Shilling client port on the router. This only works when your router supports UPnP and it is enabled.</source> <translation>Автоматически открыть порт для Shilling-клиента на роутере. Работает только если Ваш роутер поддерживает UPnP, и данная функция включена.</translation> </message> <message> <location line="+3"/> <source>Map port using &amp;UPnP</source> <translation>Пробросить порт через &amp;UPnP</translation> </message> <message> <location line="+7"/> <source>Connect to the Shilling network through a SOCKS proxy (e.g. when connecting through Tor).</source> <translation>Подключаться к сети Shilling через прокси SOCKS (например, при подключении через Tor).</translation> </message> <message> <location line="+3"/> <source>&amp;Connect through SOCKS proxy:</source> <translation>&amp;Подключаться через SOCKS прокси:</translation> </message> <message> <location line="+9"/> <source>Proxy &amp;IP:</source> <translation>&amp;IP Прокси: </translation> </message> <message> <location line="+19"/> <source>IP address of the proxy (e.g. 127.0.0.1)</source> <translation>IP-адрес прокси (например 127.0.0.1)</translation> </message> <message> <location line="+7"/> <source>&amp;Port:</source> <translation>По&amp;рт: </translation> </message> <message> <location line="+19"/> <source>Port of the proxy (e.g. 9050)</source> <translation>Порт прокси-сервера (например, 9050)</translation> </message> <message> <location line="+7"/> <source>SOCKS &amp;Version:</source> <translation>&amp;Версия SOCKS:</translation> </message> <message> <location line="+13"/> <source>SOCKS version of the proxy (e.g. 5)</source> <translation>Версия SOCKS-прокси (например, 5)</translation> </message> <message> <location line="+36"/> <source>&amp;Window</source> <translation>&amp;Окно</translation> </message> <message> <location line="+6"/> <source>Show only a tray icon after minimizing the window.</source> <translation>Показывать только иконку в системном лотке после сворачивания окна.</translation> </message> <message> <location line="+3"/> <source>&amp;Minimize to the tray instead of the taskbar</source> <translation>&amp;Cворачивать в системный лоток вместо панели задач</translation> </message> <message> <location line="+7"/> <source>Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu.</source> <translation>Сворачивать вместо закрытия. Если данная опция будет выбрана — приложение закроется только после выбора соответствующего пункта в меню.</translation> </message> <message> <location line="+3"/> <source>M&amp;inimize on close</source> <translation>С&amp;ворачивать при закрытии</translation> </message> <message> <location line="+21"/> <source>&amp;Display</source> <translation>О&amp;тображение</translation> </message> <message> <location line="+8"/> <source>User Interface &amp;language:</source> <translation>&amp;Язык интерфейса:</translation> </message> <message> <location line="+13"/> <source>The user interface language can be set here. This setting will take effect after restarting Shilling.</source> <translation>Здесь можно выбрать язык интерфейса. Настройки вступят в силу после перезапуска Shilling.</translation> </message> <message> <location line="+11"/> <source>&amp;Unit to show amounts in:</source> <translation>&amp;Отображать суммы в единицах: </translation> </message> <message> <location line="+13"/> <source>Choose the default subdivision unit to show in the interface and when sending coins.</source> <translation>Выберите единицу измерения монет при отображении и отправке.</translation> </message> <message> <location line="+9"/> <source>Whether to show Shilling addresses in the transaction list or not.</source> <translation>Показывать ли адреса Shilling в списке транзакций.</translation> </message> <message> <location line="+3"/> <source>&amp;Display addresses in transaction list</source> <translation>&amp;Показывать адреса в списке транзакций</translation> </message> <message> <location line="+71"/> <source>&amp;OK</source> <translation>О&amp;К</translation> </message> <message> <location line="+7"/> <source>&amp;Cancel</source> <translation>&amp;Отмена</translation> </message> <message> <location line="+10"/> <source>&amp;Apply</source> <translation>&amp;Применить</translation> </message> <message> <location filename="../optionsdialog.cpp" line="+53"/> <source>default</source> <translation>по умолчанию</translation> </message> <message> <location line="+130"/> <source>Confirm options reset</source> <translation>Подтвердите сброс опций</translation> </message> <message> <location line="+1"/> <source>Some settings may require a client restart to take effect.</source> <translation>Некоторые настройки могут потребовать перезапуск клиента, чтобы вступить в силу.</translation> </message> <message> <location line="+0"/> <source>Do you want to proceed?</source> <translation>Желаете продолжить?</translation> </message> <message> <location line="+42"/> <location line="+9"/> <source>Warning</source> <translation>Внимание</translation> </message> <message> <location line="-9"/> <location line="+9"/> <source>This setting will take effect after restarting Shilling.</source> <translation>Эта настройка вступит в силу после перезапуска Shilling</translation> </message> <message> <location line="+29"/> <source>The supplied proxy address is invalid.</source> <translation>Адрес прокси неверен.</translation> </message> </context> <context> <name>OverviewPage</name> <message> <location filename="../forms/overviewpage.ui" line="+14"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location line="+50"/> <location line="+166"/> <source>The displayed information may be out of date. Your wallet automatically synchronizes with the Shilling network after a connection is established, but this process has not completed yet.</source> <translation>Отображаемая информация может быть устаревшей. Ваш бумажник автоматически синхронизируется с сетью Shilling после подключения, но этот процесс пока не завершён.</translation> </message> <message> <location line="-124"/> <source>Balance:</source> <translation>Баланс:</translation> </message> <message> <location line="+29"/> <source>Unconfirmed:</source> <translation>Не подтверждено:</translation> </message> <message> <location line="-78"/> <source>Wallet</source> <translation>Бумажник</translation> </message> <message> <location line="+107"/> <source>Immature:</source> <translation>Незрелые:</translation> </message> <message> <location line="+13"/> <source>Mined balance that has not yet matured</source> <translation>Баланс добытых монет, который ещё не созрел</translation> </message> <message> <location line="+46"/> <source>&lt;b&gt;Recent transactions&lt;/b&gt;</source> <translation>&lt;b&gt;Последние транзакции&lt;/b&gt;</translation> </message> <message> <location line="-101"/> <source>Your current balance</source> <translation>Ваш текущий баланс</translation> </message> <message> <location line="+29"/> <source>Total of transactions that have yet to be confirmed, and do not yet count toward the current balance</source> <translation>Общая сумма всех транзакций, которые до сих пор не подтверждены, и до сих пор не учитываются в текущем балансе</translation> </message> <message> <location filename="../overviewpage.cpp" line="+116"/> <location line="+1"/> <source>out of sync</source> <translation>не синхронизировано</translation> </message> </context> <context> <name>PaymentServer</name> <message> <location filename="../paymentserver.cpp" line="+107"/> <source>Cannot start shilling: click-to-pay handler</source> <translation>Не удаётся запустить shilling: обработчик click-to-pay</translation> </message> </context> <context> <name>QRCodeDialog</name> <message> <location filename="../forms/qrcodedialog.ui" line="+14"/> <source>QR Code Dialog</source> <translation>Диалог QR-кода</translation> </message> <message> <location line="+59"/> <source>Request Payment</source> <translation>Запросить платёж</translation> </message> <message> <location line="+56"/> <source>Amount:</source> <translation>Количество:</translation> </message> <message> <location line="-44"/> <source>Label:</source> <translation>Метка:</translation> </message> <message> <location line="+19"/> <source>Message:</source> <translation>Сообщение:</translation> </message> <message> <location line="+71"/> <source>&amp;Save As...</source> <translation>&amp;Сохранить как...</translation> </message> <message> <location filename="../qrcodedialog.cpp" line="+62"/> <source>Error encoding URI into QR Code.</source> <translation>Ошибка кодирования URI в QR-код</translation> </message> <message> <location line="+40"/> <source>The entered amount is invalid, please check.</source> <translation>Введено неверное количество, проверьте ещё раз.</translation> </message> <message> <location line="+23"/> <source>Resulting URI too long, try to reduce the text for label / message.</source> <translation>Получившийся URI слишком длинный, попробуйте сократить текст метки / сообщения.</translation> </message> <message> <location line="+25"/> <source>Save QR Code</source> <translation>Сохранить QR-код</translation> </message> <message> <location line="+0"/> <source>PNG Images (*.png)</source> <translation>PNG Изображения (*.png)</translation> </message> </context> <context> <name>RPCConsole</name> <message> <location filename="../forms/rpcconsole.ui" line="+46"/> <source>Client name</source> <translation>Имя клиента</translation> </message> <message> <location line="+10"/> <location line="+23"/> <location line="+26"/> <location line="+23"/> <location line="+23"/> <location line="+36"/> <location line="+53"/> <location line="+23"/> <location line="+23"/> <location filename="../rpcconsole.cpp" line="+339"/> <source>N/A</source> <translation>Н/Д</translation> </message> <message> <location line="-217"/> <source>Client version</source> <translation>Версия клиента</translation> </message> <message> <location line="-45"/> <source>&amp;Information</source> <translation>&amp;Информация</translation> </message> <message> <location line="+68"/> <source>Using OpenSSL version</source> <translation>Используется версия OpenSSL</translation> </message> <message> <location line="+49"/> <source>Startup time</source> <translation>Время запуска</translation> </message> <message> <location line="+29"/> <source>Network</source> <translation>Сеть</translation> </message> <message> <location line="+7"/> <source>Number of connections</source> <translation>Число подключений</translation> </message> <message> <location line="+23"/> <source>On testnet</source> <translation>В тестовой сети</translation> </message> <message> <location line="+23"/> <source>Block chain</source> <translation>Цепь блоков</translation> </message> <message> <location line="+7"/> <source>Current number of blocks</source> <translation>Текущее число блоков</translation> </message> <message> <location line="+23"/> <source>Estimated total blocks</source> <translation>Расчётное число блоков</translation> </message> <message> <location line="+23"/> <source>Last block time</source> <translation>Время последнего блока</translation> </message> <message> <location line="+52"/> <source>&amp;Open</source> <translation>&amp;Открыть</translation> </message> <message> <location line="+16"/> <source>Command-line options</source> <translation>Параметры командной строки</translation> </message> <message> <location line="+7"/> <source>Show the Shilling-Qt help message to get a list with possible Shilling command-line options.</source> <translation>Показать помощь по Shilling-Qt, чтобы получить список доступных параметров командной строки.</translation> </message> <message> <location line="+3"/> <source>&amp;Show</source> <translation>&amp;Показать</translation> </message> <message> <location line="+24"/> <source>&amp;Console</source> <translation>Консоль</translation> </message> <message> <location line="-260"/> <source>Build date</source> <translation>Дата сборки</translation> </message> <message> <location line="-104"/> <source>Shilling - Debug window</source> <translation>Shilling - Окно отладки</translation> </message> <message> <location line="+25"/> <source>Shilling Core</source> <translation>Ядро Shilling</translation> </message> <message> <location line="+279"/> <source>Debug log file</source> <translation>Отладочный лог-файл</translation> </message> <message> <location line="+7"/> <source>Open the Shilling debug log file from the current data directory. This can take a few seconds for large log files.</source> <translation>Открыть отладочный лог-файл Shilling из текущего каталога данных. Это может занять несколько секунд для больших лог-файлов.</translation> </message> <message> <location line="+102"/> <source>Clear console</source> <translation>Очистить консоль</translation> </message> <message> <location filename="../rpcconsole.cpp" line="-30"/> <source>Welcome to the Shilling RPC console.</source> <translation>Добро пожаловать в RPC-консоль Shilling.</translation> </message> <message> <location line="+1"/> <source>Use up and down arrows to navigate history, and &lt;b&gt;Ctrl-L&lt;/b&gt; to clear screen.</source> <translation>Используйте стрелки вверх и вниз для просмотра истории и &lt;b&gt;Ctrl-L&lt;/b&gt; для очистки экрана.</translation> </message> <message> <location line="+1"/> <source>Type &lt;b&gt;help&lt;/b&gt; for an overview of available commands.</source> <translation>Напишите &lt;b&gt;help&lt;/b&gt; для просмотра доступных команд.</translation> </message> </context> <context> <name>SendCoinsDialog</name> <message> <location filename="../forms/sendcoinsdialog.ui" line="+14"/> <location filename="../sendcoinsdialog.cpp" line="+124"/> <location line="+5"/> <location line="+5"/> <location line="+5"/> <location line="+6"/> <location line="+5"/> <location line="+5"/> <source>Send Coins</source> <translation>Отправка</translation> </message> <message> <location line="+50"/> <source>Send to multiple recipients at once</source> <translation>Отправить нескольким получателям одновременно</translation> </message> <message> <location line="+3"/> <source>Add &amp;Recipient</source> <translation>&amp;Добавить получателя</translation> </message> <message> <location line="+20"/> <source>Remove all transaction fields</source> <translation>Удалить все поля транзакции</translation> </message> <message> <location line="+3"/> <source>Clear &amp;All</source> <translation>Очистить &amp;всё</translation> </message> <message> <location line="+22"/> <source>Balance:</source> <translation>Баланс:</translation> </message> <message> <location line="+10"/> <source>123.456 SHI</source> <translation>123.456 SHI</translation> </message> <message> <location line="+31"/> <source>Confirm the send action</source> <translation>Подтвердить отправку</translation> </message> <message> <location line="+3"/> <source>S&amp;end</source> <translation>&amp;Отправить</translation> </message> <message> <location filename="../sendcoinsdialog.cpp" line="-59"/> <source>&lt;b&gt;%1&lt;/b&gt; to %2 (%3)</source> <translation>&lt;b&gt;%1&lt;/b&gt; адресату %2 (%3)</translation> </message> <message> <location line="+5"/> <source>Confirm send coins</source> <translation>Подтвердите отправку монет</translation> </message> <message> <location line="+1"/> <source>Are you sure you want to send %1?</source> <translation>Вы уверены, что хотите отправить %1?</translation> </message> <message> <location line="+0"/> <source> and </source> <translation> и </translation> </message> <message> <location line="+23"/> <source>The recipient address is not valid, please recheck.</source> <translation>Адрес получателя неверный, пожалуйста, перепроверьте.</translation> </message> <message> <location line="+5"/> <source>The amount to pay must be larger than 0.</source> <translation>Количество монет для отправки должно быть больше 0.</translation> </message> <message> <location line="+5"/> <source>The amount exceeds your balance.</source> <translation>Количество отправляемых монет превышает Ваш баланс</translation> </message> <message> <location line="+5"/> <source>The total exceeds your balance when the %1 transaction fee is included.</source> <translation>Сумма превысит Ваш баланс, если комиссия в размере %1 будет добавлена к транзакции</translation> </message> <message> <location line="+6"/> <source>Duplicate address found, can only send to each address once per send operation.</source> <translation>Обнаружен дублирующийся адрес. Отправка на один и тот же адрес возможна только один раз за одну операцию отправки</translation> </message> <message> <location line="+5"/> <source>Error: Transaction creation failed!</source> <translation>Ошибка: не удалось создать транзакцию!</translation> </message> <message> <location line="+5"/> <source>Error: The transaction was rejected. This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source> <translation>Ошибка: В транзакции отказано. Такое может произойти, если некоторые монеты уже были потрачены, например, если Вы используете одну копию файла wallet.dat, а монеты были потрачены из другой копии, но не были отмечены как потраченные в этой.</translation> </message> </context> <context> <name>SendCoinsEntry</name> <message> <location filename="../forms/sendcoinsentry.ui" line="+14"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location line="+15"/> <source>A&amp;mount:</source> <translation>Ко&amp;личество:</translation> </message> <message> <location line="+13"/> <source>Pay &amp;To:</source> <translation>Полу&amp;чатель:</translation> </message> <message> <location line="+34"/> <source>The address to send the payment to (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Адрес, на который будет выслан платёж (например 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</translation> </message> <message> <location line="+60"/> <location filename="../sendcoinsentry.cpp" line="+26"/> <source>Enter a label for this address to add it to your address book</source> <translation>Введите метку для данного адреса (для добавления в адресную книгу)</translation> </message> <message> <location line="-78"/> <source>&amp;Label:</source> <translation>&amp;Метка:</translation> </message> <message> <location line="+28"/> <source>Choose address from address book</source> <translation>Выберите адрес из адресной книги</translation> </message> <message> <location line="+10"/> <source>Alt+A</source> <translation>Alt+A</translation> </message> <message> <location line="+7"/> <source>Paste address from clipboard</source> <translation>Вставить адрес из буфера обмена</translation> </message> <message> <location line="+10"/> <source>Alt+P</source> <translation>Alt+P</translation> </message> <message> <location line="+7"/> <source>Remove this recipient</source> <translation>Удалить этого получателя</translation> </message> <message> <location filename="../sendcoinsentry.cpp" line="+1"/> <source>Enter a Shilling address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Введите Shilling-адрес (например 1LA5FtQhnnWnkK6zjFfutR7Stiit4wKd63)</translation> </message> </context> <context> <name>SignVerifyMessageDialog</name> <message> <location filename="../forms/signverifymessagedialog.ui" line="+14"/> <source>Signatures - Sign / Verify a Message</source> <translation>Подписи - подписать/проверить сообщение</translation> </message> <message> <location line="+13"/> <source>&amp;Sign Message</source> <translation>&amp;Подписать сообщение</translation> </message> <message> <location line="+6"/> <source>You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</source> <translation>Вы можете подписывать сообщения своими адресами, чтобы доказать владение ими. Будьте осторожны, не подписывайте что-то неопределённое, так как фишинговые атаки могут обманным путём заставить вас подписать нежелательные сообщения. Подписывайте только те сообщения, с которыми вы согласны вплоть до мелочей.</translation> </message> <message> <location line="+18"/> <source>The address to sign the message with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Адрес, которым вы хотите подписать сообщение (напр. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</translation> </message> <message> <location line="+10"/> <location line="+213"/> <source>Choose an address from the address book</source> <translation>Выберите адрес из адресной книги</translation> </message> <message> <location line="-203"/> <location line="+213"/> <source>Alt+A</source> <translation>Alt+A</translation> </message> <message> <location line="-203"/> <source>Paste address from clipboard</source> <translation>Вставить адрес из буфера обмена</translation> </message> <message> <location line="+10"/> <source>Alt+P</source> <translation>Alt+P</translation> </message> <message> <location line="+12"/> <source>Enter the message you want to sign here</source> <translation>Введите сообщение для подписи</translation> </message> <message> <location line="+7"/> <source>Signature</source> <translation>Подпись</translation> </message> <message> <location line="+27"/> <source>Copy the current signature to the system clipboard</source> <translation>Скопировать текущую подпись в системный буфер обмена</translation> </message> <message> <location line="+21"/> <source>Sign the message to prove you own this Shilling address</source> <translation>Подписать сообщение, чтобы доказать владение адресом Shilling</translation> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation>Подписать &amp;Сообщение</translation> </message> <message> <location line="+14"/> <source>Reset all sign message fields</source> <translation>Сбросить значения всех полей подписывания сообщений</translation> </message> <message> <location line="+3"/> <location line="+146"/> <source>Clear &amp;All</source> <translation>Очистить &amp;всё</translation> </message> <message> <location line="-87"/> <source>&amp;Verify Message</source> <translation>&amp;Проверить сообщение</translation> </message> <message> <location line="+6"/> <source>Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.</source> <translation>Введите ниже адрес для подписи, сообщение (убедитесь, что переводы строк, пробелы, табы и т.п. в точности скопированы) и подпись, чтобы проверить сообщение. Убедитесь, что не скопировали лишнего в подпись, по сравнению с самим подписываемым сообщением, чтобы не стать жертвой атаки &quot;man-in-the-middle&quot;.</translation> </message> <message> <location line="+21"/> <source>The address the message was signed with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Адрес, которым было подписано сообщение (напр. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</translation> </message> <message> <location line="+40"/> <source>Verify the message to ensure it was signed with the specified Shilling address</source> <translation>Проверить сообщение, чтобы убедиться, что оно было подписано указанным адресом Shilling</translation> </message> <message> <location line="+3"/> <source>Verify &amp;Message</source> <translation>Проверить &amp;Сообщение</translation> </message> <message> <location line="+14"/> <source>Reset all verify message fields</source> <translation>Сбросить все поля проверки сообщения</translation> </message> <message> <location filename="../signverifymessagedialog.cpp" line="+27"/> <location line="+3"/> <source>Enter a Shilling address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Введите адрес Shilling (напр. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</translation> </message> <message> <location line="-2"/> <source>Click &quot;Sign Message&quot; to generate signature</source> <translation>Нажмите &quot;Подписать сообщение&quot; для создания подписи</translation> </message> <message> <location line="+3"/> <source>Enter Shilling signature</source> <translation>Введите подпись Shilling</translation> </message> <message> <location line="+82"/> <location line="+81"/> <source>The entered address is invalid.</source> <translation>Введённый адрес неверен</translation> </message> <message> <location line="-81"/> <location line="+8"/> <location line="+73"/> <location line="+8"/> <source>Please check the address and try again.</source> <translation>Пожалуйста, проверьте адрес и попробуйте ещё раз.</translation> </message> <message> <location line="-81"/> <location line="+81"/> <source>The entered address does not refer to a key.</source> <translation>Введённый адрес не связан с ключом</translation> </message> <message> <location line="-73"/> <source>Wallet unlock was cancelled.</source> <translation>Разблокировка бумажника была отменена.</translation> </message> <message> <location line="+8"/> <source>Private key for the entered address is not available.</source> <translation>Для введённого адреса недоступен закрытый ключ</translation> </message> <message> <location line="+12"/> <source>Message signing failed.</source> <translation>Не удалось подписать сообщение</translation> </message> <message> <location line="+5"/> <source>Message signed.</source> <translation>Сообщение подписано</translation> </message> <message> <location line="+59"/> <source>The signature could not be decoded.</source> <translation>Подпись не может быть раскодирована.</translation> </message> <message> <location line="+0"/> <location line="+13"/> <source>Please check the signature and try again.</source> <translation>Пожалуйста, проверьте подпись и попробуйте ещё раз.</translation> </message> <message> <location line="+0"/> <source>The signature did not match the message digest.</source> <translation>Подпись не соответствует отпечатку сообщения.</translation> </message> <message> <location line="+7"/> <source>Message verification failed.</source> <translation>Проверка сообщения не удалась.</translation> </message> <message> <location line="+5"/> <source>Message verified.</source> <translation>Сообщение проверено.</translation> </message> </context> <context> <name>SplashScreen</name> <message> <location filename="../splashscreen.cpp" line="+22"/> <source>The Shilling developers</source> <translation>Разработчики Shilling</translation> </message> <message> <location line="+1"/> <source>[testnet]</source> <translation>[тестовая сеть]</translation> </message> </context> <context> <name>TransactionDesc</name> <message> <location filename="../transactiondesc.cpp" line="+20"/> <source>Open until %1</source> <translation>Открыто до %1</translation> </message> <message> <location line="+6"/> <source>%1/offline</source> <translation>%1/отключен</translation> </message> <message> <location line="+2"/> <source>%1/unconfirmed</source> <translation>%1/не подтверждено</translation> </message> <message> <location line="+2"/> <source>%1 confirmations</source> <translation>%1 подтверждений</translation> </message> <message> <location line="+18"/> <source>Status</source> <translation>Статус</translation> </message> <message numerus="yes"> <location line="+7"/> <source>, broadcast through %n node(s)</source> <translation><numerusform>, разослано через %n узел</numerusform><numerusform>, разослано через %n узла</numerusform><numerusform>, разослано через %n узлов</numerusform></translation> </message> <message> <location line="+4"/> <source>Date</source> <translation>Дата</translation> </message> <message> <location line="+7"/> <source>Source</source> <translation>Источник</translation> </message> <message> <location line="+0"/> <source>Generated</source> <translation>Сгенерированно</translation> </message> <message> <location line="+5"/> <location line="+17"/> <source>From</source> <translation>От</translation> </message> <message> <location line="+1"/> <location line="+22"/> <location line="+58"/> <source>To</source> <translation>Для</translation> </message> <message> <location line="-77"/> <location line="+2"/> <source>own address</source> <translation>свой адрес</translation> </message> <message> <location line="-2"/> <source>label</source> <translation>метка</translation> </message> <message> <location line="+37"/> <location line="+12"/> <location line="+45"/> <location line="+17"/> <location line="+30"/> <source>Credit</source> <translation>Кредит</translation> </message> <message numerus="yes"> <location line="-102"/> <source>matures in %n more block(s)</source> <translation><numerusform>будет доступно через %n блок</numerusform><numerusform>будет доступно через %n блока</numerusform><numerusform>будет доступно через %n блоков</numerusform></translation> </message> <message> <location line="+2"/> <source>not accepted</source> <translation>не принято</translation> </message> <message> <location line="+44"/> <location line="+8"/> <location line="+15"/> <location line="+30"/> <source>Debit</source> <translation>Дебет</translation> </message> <message> <location line="-39"/> <source>Transaction fee</source> <translation>Комиссия</translation> </message> <message> <location line="+16"/> <source>Net amount</source> <translation>Чистая сумма</translation> </message> <message> <location line="+6"/> <source>Message</source> <translation>Сообщение</translation> </message> <message> <location line="+2"/> <source>Comment</source> <translation>Комментарий:</translation> </message> <message> <location line="+2"/> <source>Transaction ID</source> <translation>ID транзакции</translation> </message> <message> <location line="+3"/> <source>Generated coins must mature 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to &quot;not accepted&quot; and it won&apos;t be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source> <translation>Сгенерированные монеты должны подождать 120 блоков, прежде чем они могут быть потрачены. Когда Вы сгенерировали этот блок, он был отправлен в сеть для добавления в цепочку блоков. Если данная процедура не удастся, статус изменится на «не подтверждено», и монеты будут недействительны. Это иногда происходит в случае, если другой узел сгенерирует блок на несколько секунд раньше вас.</translation> </message> <message> <location line="+7"/> <source>Debug information</source> <translation>Отладочная информация</translation> </message> <message> <location line="+8"/> <source>Transaction</source> <translation>Транзакция</translation> </message> <message> <location line="+3"/> <source>Inputs</source> <translation>Входы</translation> </message> <message> <location line="+23"/> <source>Amount</source> <translation>Количество</translation> </message> <message> <location line="+1"/> <source>true</source> <translation>истина</translation> </message> <message> <location line="+0"/> <source>false</source> <translation>ложь</translation> </message> <message> <location line="-209"/> <source>, has not been successfully broadcast yet</source> <translation>, ещё не было успешно разослано</translation> </message> <message numerus="yes"> <location line="-35"/> <source>Open for %n more block(s)</source> <translation><numerusform>Открыто для ещё %n блока</numerusform><numerusform>Открыто для ещё %n блоков</numerusform><numerusform>Открыто для ещё %n блоков</numerusform></translation> </message> <message> <location line="+70"/> <source>unknown</source> <translation>неизвестно</translation> </message> </context> <context> <name>TransactionDescDialog</name> <message> <location filename="../forms/transactiondescdialog.ui" line="+14"/> <source>Transaction details</source> <translation>Детали транзакции</translation> </message> <message> <location line="+6"/> <source>This pane shows a detailed description of the transaction</source> <translation>Данный диалог показывает детализированную статистику по выбранной транзакции</translation> </message> </context> <context> <name>TransactionTableModel</name> <message> <location filename="../transactiontablemodel.cpp" line="+225"/> <source>Date</source> <translation>Дата</translation> </message> <message> <location line="+0"/> <source>Type</source> <translation>Тип</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>Адрес</translation> </message> <message> <location line="+0"/> <source>Amount</source> <translation>Количество</translation> </message> <message numerus="yes"> <location line="+57"/> <source>Open for %n more block(s)</source> <translation><numerusform>Открыто для ещё %n блока</numerusform><numerusform>Открыто для ещё %n блоков</numerusform><numerusform>Открыто для ещё %n блоков</numerusform></translation> </message> <message> <location line="+3"/> <source>Open until %1</source> <translation>Открыто до %1</translation> </message> <message> <location line="+3"/> <source>Offline (%1 confirmations)</source> <translation>Оффлайн (%1 подтверждений)</translation> </message> <message> <location line="+3"/> <source>Unconfirmed (%1 of %2 confirmations)</source> <translation>Не подтверждено (%1 из %2 подтверждений)</translation> </message> <message> <location line="+3"/> <source>Confirmed (%1 confirmations)</source> <translation>Подтверждено (%1 подтверждений)</translation> </message> <message numerus="yes"> <location line="+8"/> <source>Mined balance will be available when it matures in %n more block(s)</source> <translation><numerusform>Добытыми монетами можно будет воспользоваться через %n блок</numerusform><numerusform>Добытыми монетами можно будет воспользоваться через %n блока</numerusform><numerusform>Добытыми монетами можно будет воспользоваться через %n блоков</numerusform></translation> </message> <message> <location line="+5"/> <source>This block was not received by any other nodes and will probably not be accepted!</source> <translation>Этот блок не был получен другими узлами и, возможно, не будет принят!</translation> </message> <message> <location line="+3"/> <source>Generated but not accepted</source> <translation>Сгенерированно, но не подтверждено</translation> </message> <message> <location line="+43"/> <source>Received with</source> <translation>Получено</translation> </message> <message> <location line="+2"/> <source>Received from</source> <translation>Получено от</translation> </message> <message> <location line="+3"/> <source>Sent to</source> <translation>Отправлено</translation> </message> <message> <location line="+2"/> <source>Payment to yourself</source> <translation>Отправлено себе</translation> </message> <message> <location line="+2"/> <source>Mined</source> <translation>Добыто</translation> </message> <message> <location line="+38"/> <source>(n/a)</source> <translation>[не доступно]</translation> </message> <message> <location line="+199"/> <source>Transaction status. Hover over this field to show number of confirmations.</source> <translation>Статус транзакции. Подведите курсор к нужному полю для того, чтобы увидеть количество подтверждений.</translation> </message> <message> <location line="+2"/> <source>Date and time that the transaction was received.</source> <translation>Дата и время, когда транзакция была получена.</translation> </message> <message> <location line="+2"/> <source>Type of transaction.</source> <translation>Тип транзакции.</translation> </message> <message> <location line="+2"/> <source>Destination address of transaction.</source> <translation>Адрес назначения транзакции.</translation> </message> <message> <location line="+2"/> <source>Amount removed from or added to balance.</source> <translation>Сумма, добавленная, или снятая с баланса.</translation> </message> </context> <context> <name>TransactionView</name> <message> <location filename="../transactionview.cpp" line="+52"/> <location line="+16"/> <source>All</source> <translation>Все</translation> </message> <message> <location line="-15"/> <source>Today</source> <translation>Сегодня</translation> </message> <message> <location line="+1"/> <source>This week</source> <translation>На этой неделе</translation> </message> <message> <location line="+1"/> <source>This month</source> <translation>В этом месяце</translation> </message> <message> <location line="+1"/> <source>Last month</source> <translation>За последний месяц</translation> </message> <message> <location line="+1"/> <source>This year</source> <translation>В этом году</translation> </message> <message> <location line="+1"/> <source>Range...</source> <translation>Промежуток...</translation> </message> <message> <location line="+11"/> <source>Received with</source> <translation>Получено на</translation> </message> <message> <location line="+2"/> <source>Sent to</source> <translation>Отправлено на</translation> </message> <message> <location line="+2"/> <source>To yourself</source> <translation>Отправленные себе</translation> </message> <message> <location line="+1"/> <source>Mined</source> <translation>Добытые</translation> </message> <message> <location line="+1"/> <source>Other</source> <translation>Другое</translation> </message> <message> <location line="+7"/> <source>Enter address or label to search</source> <translation>Введите адрес или метку для поиска</translation> </message> <message> <location line="+7"/> <source>Min amount</source> <translation>Мин. сумма</translation> </message> <message> <location line="+34"/> <source>Copy address</source> <translation>Копировать адрес</translation> </message> <message> <location line="+1"/> <source>Copy label</source> <translation>Копировать метку</translation> </message> <message> <location line="+1"/> <source>Copy amount</source> <translation>Скопировать сумму</translation> </message> <message> <location line="+1"/> <source>Copy transaction ID</source> <translation>Скопировать ID транзакции</translation> </message> <message> <location line="+1"/> <source>Edit label</source> <translation>Изменить метку</translation> </message> <message> <location line="+1"/> <source>Show transaction details</source> <translation>Показать подробности транзакции</translation> </message> <message> <location line="+139"/> <source>Export Transaction Data</source> <translation>Экспортировать данные транзакций</translation> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>Текст, разделённый запятыми (*.csv)</translation> </message> <message> <location line="+8"/> <source>Confirmed</source> <translation>Подтверждено</translation> </message> <message> <location line="+1"/> <source>Date</source> <translation>Дата</translation> </message> <message> <location line="+1"/> <source>Type</source> <translation>Тип</translation> </message> <message> <location line="+1"/> <source>Label</source> <translation>Метка</translation> </message> <message> <location line="+1"/> <source>Address</source> <translation>Адрес</translation> </message> <message> <location line="+1"/> <source>Amount</source> <translation>Количество</translation> </message> <message> <location line="+1"/> <source>ID</source> <translation>ID</translation> </message> <message> <location line="+4"/> <source>Error exporting</source> <translation>Ошибка экспорта</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>Невозможно записать в файл %1.</translation> </message> <message> <location line="+100"/> <source>Range:</source> <translation>Промежуток от:</translation> </message> <message> <location line="+8"/> <source>to</source> <translation>до</translation> </message> </context> <context> <name>WalletModel</name> <message> <location filename="../walletmodel.cpp" line="+193"/> <source>Send Coins</source> <translation>Отправка</translation> </message> </context> <context> <name>WalletView</name> <message> <location filename="../walletview.cpp" line="+42"/> <source>&amp;Export</source> <translation>&amp;Экспорт</translation> </message> <message> <location line="+1"/> <source>Export the data in the current tab to a file</source> <translation>Экспортировать данные из вкладки в файл</translation> </message> <message> <location line="+193"/> <source>Backup Wallet</source> <translation>Сделать резервную копию бумажника</translation> </message> <message> <location line="+0"/> <source>Wallet Data (*.dat)</source> <translation>Данные бумажника (*.dat)</translation> </message> <message> <location line="+3"/> <source>Backup Failed</source> <translation>Резервное копирование не удалось</translation> </message> <message> <location line="+0"/> <source>There was an error trying to save the wallet data to the new location.</source> <translation>При попытке сохранения данных бумажника в новое место произошла ошибка.</translation> </message> <message> <location line="+4"/> <source>Backup Successful</source> <translation>Резервное копирование успешно завершено</translation> </message> <message> <location line="+0"/> <source>The wallet data was successfully saved to the new location.</source> <translation>Данные бумажника успешно сохранены в новое место.</translation> </message> </context> <context> <name>shilling-core</name> <message> <location filename="../shillingstrings.cpp" line="+94"/> <source>Shilling version</source> <translation>Версия</translation> </message> <message> <location line="+102"/> <source>Usage:</source> <translation>Использование:</translation> </message> <message> <location line="-29"/> <source>Send command to -server or shillingd</source> <translation>Отправить команду на -server или shillingd</translation> </message> <message> <location line="-23"/> <source>List commands</source> <translation>Список команд </translation> </message> <message> <location line="-12"/> <source>Get help for a command</source> <translation>Получить помощь по команде</translation> </message> <message> <location line="+24"/> <source>Options:</source> <translation>Опции:</translation> </message> <message> <location line="+24"/> <source>Specify configuration file (default: shilling.conf)</source> <translation>Указать конфигурационный файл (по умолчанию: shilling.conf)</translation> </message> <message> <location line="+3"/> <source>Specify pid file (default: shillingd.pid)</source> <translation>Задать pid-файл (по умолчанию: shilling.pid)</translation> </message> <message> <location line="-1"/> <source>Specify data directory</source> <translation>Задать каталог данных</translation> </message> <message> <location line="-9"/> <source>Set database cache size in megabytes (default: 25)</source> <translation>Установить размер кэша базы данных в мегабайтах (по умолчанию: 25)</translation> </message> <message> <location line="-28"/> <source>Listen for connections on &lt;port&gt; (default: 8334 or testnet: 18334)</source> <translation>Принимать входящие подключения на &lt;port&gt; (по умолчанию: 8334 или 18334 в тестовой сети)</translation> </message> <message> <location line="+5"/> <source>Maintain at most &lt;n&gt; connections to peers (default: 125)</source> <translation>Поддерживать не более &lt;n&gt; подключений к узлам (по умолчанию: 125)</translation> </message> <message> <location line="-48"/> <source>Connect to a node to retrieve peer addresses, and disconnect</source> <translation>Подключиться к узлу, чтобы получить список адресов других участников и отключиться</translation> </message> <message> <location line="+82"/> <source>Specify your own public address</source> <translation>Укажите ваш собственный публичный адрес</translation> </message> <message> <location line="+3"/> <source>Threshold for disconnecting misbehaving peers (default: 100)</source> <translation>Порог для отключения неправильно ведущих себя узлов (по умолчанию: 100)</translation> </message> <message> <location line="-134"/> <source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source> <translation>Число секунд блокирования неправильно ведущих себя узлов (по умолчанию: 86400)</translation> </message> <message> <location line="-29"/> <source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source> <translation>Произошла ошибка при открытии RPC-порта %u для прослушивания на IPv4: %s</translation> </message> <message> <location line="+27"/> <source>Listen for JSON-RPC connections on &lt;port&gt; (default: 8332 or testnet: 18332)</source> <translation>Прослушивать подключения JSON-RPC на &lt;порту&gt; (по умолчанию: 8332 или для testnet: 18332)</translation> </message> <message> <location line="+37"/> <source>Accept command line and JSON-RPC commands</source> <translation>Принимать командную строку и команды JSON-RPC</translation> </message> <message> <location line="+76"/> <source>Run in the background as a daemon and accept commands</source> <translation>Запускаться в фоне как демон и принимать команды</translation> </message> <message> <location line="+37"/> <source>Use the test network</source> <translation>Использовать тестовую сеть</translation> </message> <message> <location line="-112"/> <source>Accept connections from outside (default: 1 if no -proxy or -connect)</source> <translation>Принимать подключения извне (по умолчанию: 1, если не используется -proxy или -connect)</translation> </message> <message> <location line="-80"/> <source>%s, you must set a rpcpassword in the configuration file: %s It is recommended you use the following random password: rpcuser=shillingrpc rpcpassword=%s (you do not need to remember this password) The username and password MUST NOT be the same. If the file does not exist, create it with owner-readable-only file permissions. It is also recommended to set alertnotify so you are notified of problems; for example: alertnotify=echo %%s | mail -s &quot;Shilling Alert&quot; admin@foo.com </source> <translation>%s, вы должны установить опцию rpcpassword в конфигурационном файле: %s Рекомендуется использовать следующий случайный пароль: rpcuser=shillingrpc rpcpassword=%s (вам не нужно запоминать этот пароль) Имя и пароль ДОЛЖНЫ различаться. Если файл не существует, создайте его и установите права доступа только для владельца, только для чтения. Также рекомендуется включить alertnotify для оповещения о проблемах; Например: alertnotify=echo %%s | mail -s &quot;Shilling Alert&quot; admin@foo.com </translation> </message> <message> <location line="+17"/> <source>An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s</source> <translation>Произошла ошибка при открытии на прослушивание IPv6 RCP-порта %u, возвращаемся к IPv4: %s</translation> </message> <message> <location line="+3"/> <source>Bind to given address and always listen on it. Use [host]:port notation for IPv6</source> <translation>Привязаться к указанному адресу и всегда прослушивать только его. Используйте [хост]:порт для IPv6</translation> </message> <message> <location line="+3"/> <source>Cannot obtain a lock on data directory %s. Shilling is probably already running.</source> <translation>Не удаётся установить блокировку на каталог данных %s. Возможно, Shilling уже работает.</translation> </message> <message> <location line="+3"/> <source>Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source> <translation>Ошибка: транзакция была отклонена! Это могло произойти в случае, если некоторые монеты в вашем бумажнике уже были потрачены, например, если вы используете копию wallet.dat, и монеты были использованы в копии, но не отмечены как потраченные здесь.</translation> </message> <message> <location line="+4"/> <source>Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds!</source> <translation>Ошибка: эта транзакция требует комиссию как минимум %s из-за суммы, сложности или использования недавно полученных средств!</translation> </message> <message> <location line="+3"/> <source>Execute command when a relevant alert is received (%s in cmd is replaced by message)</source> <translation>Выполнить команду, когда приходит сообщение о тревоге (%s в команде заменяется на сообщение)</translation> </message> <message> <location line="+3"/> <source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source> <translation>Выполнить команду, когда меняется транзакция в бумажнике (%s в команде заменяется на TxID)</translation> </message> <message> <location line="+11"/> <source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source> <translation>Максимальный размер высокоприоритетных/низкокомиссионных транзакций в байтах (по умолчанию: 27000)</translation> </message> <message> <location line="+6"/> <source>This is a pre-release test build - use at your own risk - do not use for mining or merchant applications</source> <translation>Это пре-релизная тестовая сборка - используйте на свой страх и риск - не используйте для добычи или торговых приложений</translation> </message> <message> <location line="+5"/> <source>Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.</source> <translation>Внимание: установлено очень большое значение -paytxfee. Это комиссия, которую вы заплатите при проведении транзакции.</translation> </message> <message> <location line="+3"/> <source>Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.</source> <translation>Внимание: отображаемые транзакции могут быть некорректны! Вам или другим узлам, возможно, следует обновиться.</translation> </message> <message> <location line="+3"/> <source>Warning: Please check that your computer&apos;s date and time are correct! If your clock is wrong Shilling will not work properly.</source> <translation>Внимание: убедитесь, что дата и время на Вашем компьютере выставлены верно. Если Ваши часы идут неправильно, Shilling будет работать некорректно.</translation> </message> <message> <location line="+3"/> <source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source> <translation>Внимание: ошибка чтения wallet.dat! Все ключи прочитаны верно, но данные транзакций или записи адресной книги могут отсутствовать или быть неправильными.</translation> </message> <message> <location line="+3"/> <source>Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup.</source> <translation>Внимание: wallet.dat повреждён, данные спасены! Оригинальный wallet.dat сохранён как wallet.{timestamp}.bak в %s; если ваш баланс или транзакции некорректны, вы должны восстановить файл из резервной копии.</translation> </message> <message> <location line="+14"/> <source>Attempt to recover private keys from a corrupt wallet.dat</source> <translation>Попытаться восстановить приватные ключи из повреждённого wallet.dat</translation> </message> <message> <location line="+2"/> <source>Block creation options:</source> <translation>Параметры создания блоков:</translation> </message> <message> <location line="+5"/> <source>Connect only to the specified node(s)</source> <translation>Подключаться только к указанному узлу(ам)</translation> </message> <message> <location line="+3"/> <source>Corrupted block database detected</source> <translation>БД блоков повреждена</translation> </message> <message> <location line="+1"/> <source>Discover own IP address (default: 1 when listening and no -externalip)</source> <translation>Определить свой IP (по умолчанию: 1 при прослушивании и если не используется -externalip)</translation> </message> <message> <location line="+1"/> <source>Do you want to rebuild the block database now?</source> <translation>Пересобрать БД блоков прямо сейчас?</translation> </message> <message> <location line="+2"/> <source>Error initializing block database</source> <translation>Ошибка инициализации БД блоков</translation> </message> <message> <location line="+1"/> <source>Error initializing wallet database environment %s!</source> <translation>Ошибка инициализации окружения БД бумажника %s!</translation> </message> <message> <location line="+1"/> <source>Error loading block database</source> <translation>Ошибка чтения базы данных блоков</translation> </message> <message> <location line="+4"/> <source>Error opening block database</source> <translation>Не удалось открыть БД блоков</translation> </message> <message> <location line="+2"/> <source>Error: Disk space is low!</source> <translation>Ошибка: мало места на диске!</translation> </message> <message> <location line="+1"/> <source>Error: Wallet locked, unable to create transaction!</source> <translation>Ошибка: бумажник заблокирован, невозможно создать транзакцию!</translation> </message> <message> <location line="+1"/> <source>Error: system error: </source> <translation>Ошибка: системная ошибка:</translation> </message> <message> <location line="+1"/> <source>Failed to listen on any port. Use -listen=0 if you want this.</source> <translation>Не удалось начать прослушивание на порту. Используйте -listen=0 если вас это устраивает.</translation> </message> <message> <location line="+1"/> <source>Failed to read block info</source> <translation>Не удалось прочитать информацию блока</translation> </message> <message> <location line="+1"/> <source>Failed to read block</source> <translation>Не удалось прочитать блок</translation> </message> <message> <location line="+1"/> <source>Failed to sync block index</source> <translation>Не удалось синхронизировать индекс блоков</translation> </message> <message> <location line="+1"/> <source>Failed to write block index</source> <translation>Не удалось записать индекс блоков</translation> </message> <message> <location line="+1"/> <source>Failed to write block info</source> <translation>Не удалось записать информацию блока</translation> </message> <message> <location line="+1"/> <source>Failed to write block</source> <translation>Не удалось записать блок</translation> </message> <message> <location line="+1"/> <source>Failed to write file info</source> <translation>Не удалось записать информацию файла</translation> </message> <message> <location line="+1"/> <source>Failed to write to coin database</source> <translation>Не удалось записать БД монет</translation> </message> <message> <location line="+1"/> <source>Failed to write transaction index</source> <translation>Не удалось записать индекс транзакций</translation> </message> <message> <location line="+1"/> <source>Failed to write undo data</source> <translation>Не удалось записать данные для отмены</translation> </message> <message> <location line="+2"/> <source>Find peers using DNS lookup (default: 1 unless -connect)</source> <translation>Искать узлы с помощью DNS (по умолчанию: 1, если не указан -connect)</translation> </message> <message> <location line="+1"/> <source>Generate coins (default: 0)</source> <translation>Включить добычу монет (по умолчанию: 0)</translation> </message> <message> <location line="+2"/> <source>How many blocks to check at startup (default: 288, 0 = all)</source> <translation>Сколько блоков проверять при запуске (по умолчанию: 288, 0 = все)</translation> </message> <message> <location line="+1"/> <source>How thorough the block verification is (0-4, default: 3)</source> <translation>Насколько тщательно проверять блок (0-4, по умолчанию: 3)</translation> </message> <message> <location line="+19"/> <source>Not enough file descriptors available.</source> <translation>Недостаточно файловых дескрипторов.</translation> </message> <message> <location line="+8"/> <source>Rebuild block chain index from current blk000??.dat files</source> <translation>Перестроить индекс цепи блоков из текущих файлов blk000??.dat</translation> </message> <message> <location line="+16"/> <source>Set the number of threads to service RPC calls (default: 4)</source> <translation>Задать число потоков выполнения(по умолчанию: 4)</translation> </message> <message> <location line="+26"/> <source>Verifying blocks...</source> <translation>Проверка блоков...</translation> </message> <message> <location line="+1"/> <source>Verifying wallet...</source> <translation>Проверка бумажника...</translation> </message> <message> <location line="-69"/> <source>Imports blocks from external blk000??.dat file</source> <translation>Импортировать блоки из внешнего файла blk000??.dat</translation> </message> <message> <location line="-76"/> <source>Set the number of script verification threads (up to 16, 0 = auto, &lt;0 = leave that many cores free, default: 0)</source> <translation>Задать число потоков проверки скрипта (вплоть до 16, 0=авто, &lt;0 = оставить столько ядер свободными, по умолчанию: 0)</translation> </message> <message> <location line="+77"/> <source>Information</source> <translation>Информация</translation> </message> <message> <location line="+3"/> <source>Invalid -tor address: &apos;%s&apos;</source> <translation>Неверный адрес -tor: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Invalid amount for -minrelaytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation>Неверное количество в параметре -minrelaytxfee=&lt;кол-во&gt;: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Invalid amount for -mintxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation>Неверное количество в параметре -mintxfee=&lt;кол-во&gt;: &apos;%s&apos;</translation> </message> <message> <location line="+8"/> <source>Maintain a full transaction index (default: 0)</source> <translation>Держать полный индекс транзакций (по умолчанию: 0)</translation> </message> <message> <location line="+2"/> <source>Maximum per-connection receive buffer, &lt;n&gt;*1000 bytes (default: 5000)</source> <translation>Максимальный размер буфера приёма на соединение, &lt;n&gt;*1000 байт (по умолчанию: 5000)</translation> </message> <message> <location line="+1"/> <source>Maximum per-connection send buffer, &lt;n&gt;*1000 bytes (default: 1000)</source> <translation>Максимальный размер буфера отправки на соединение, &lt;n&gt;*1000 байт (по умолчанию: 1000)</translation> </message> <message> <location line="+2"/> <source>Only accept block chain matching built-in checkpoints (default: 1)</source> <translation>Принимать цепь блоков, только если она соответствует встроенным контрольным точкам (по умолчанию: 1)</translation> </message> <message> <location line="+1"/> <source>Only connect to nodes in network &lt;net&gt; (IPv4, IPv6 or Tor)</source> <translation>Подключаться только к узлам из сети &lt;net&gt; (IPv4, IPv6 или Tor)</translation> </message> <message> <location line="+2"/> <source>Output extra debugging information. Implies all other -debug* options</source> <translation>Выводить больше отладочной информации. Включает все остальные опции -debug*</translation> </message> <message> <location line="+1"/> <source>Output extra network debugging information</source> <translation>Выводить дополнительную сетевую отладочную информацию</translation> </message> <message> <location line="+2"/> <source>Prepend debug output with timestamp</source> <translation>Дописывать отметки времени к отладочному выводу</translation> </message> <message> <location line="+5"/> <source>SSL options: (see the Shilling Wiki for SSL setup instructions)</source> <translation> Параметры SSL: (см. Shilling Wiki для инструкций по настройке SSL)</translation> </message> <message> <location line="+1"/> <source>Select the version of socks proxy to use (4-5, default: 5)</source> <translation>Выбрать версию SOCKS-прокси (4-5, по умолчанию: 5)</translation> </message> <message> <location line="+3"/> <source>Send trace/debug info to console instead of debug.log file</source> <translation>Выводить информацию трассировки/отладки на консоль вместо файла debug.log</translation> </message> <message> <location line="+1"/> <source>Send trace/debug info to debugger</source> <translation>Отправлять информацию трассировки/отладки в отладчик</translation> </message> <message> <location line="+5"/> <source>Set maximum block size in bytes (default: 250000)</source> <translation>Максимальный размер блока в байтах (по умолчанию: 250000)</translation> </message> <message> <location line="+1"/> <source>Set minimum block size in bytes (default: 0)</source> <translation>Минимальный размер блока в байтах (по умолчанию: 0)</translation> </message> <message> <location line="+2"/> <source>Shrink debug.log file on client startup (default: 1 when no -debug)</source> <translation>Сжимать файл debug.log при запуске клиента (по умолчанию: 1, если нет -debug)</translation> </message> <message> <location line="+1"/> <source>Signing transaction failed</source> <translation>Не удалось подписать транзакцию</translation> </message> <message> <location line="+2"/> <source>Specify connection timeout in milliseconds (default: 5000)</source> <translation>Таймаут соединения в миллисекундах (по умолчанию: 5000)</translation> </message> <message> <location line="+4"/> <source>System error: </source> <translation>Системная ошибка:</translation> </message> <message> <location line="+4"/> <source>Transaction amount too small</source> <translation>Объём транзакции слишком мал</translation> </message> <message> <location line="+1"/> <source>Transaction amounts must be positive</source> <translation>Объём транзакции должен быть положителен</translation> </message> <message> <location line="+1"/> <source>Transaction too large</source> <translation>Транзакция слишком большая</translation> </message> <message> <location line="+7"/> <source>Use UPnP to map the listening port (default: 0)</source> <translation>Использовать UPnP для проброса порта (по умолчанию: 0)</translation> </message> <message> <location line="+1"/> <source>Use UPnP to map the listening port (default: 1 when listening)</source> <translation>Использовать UPnP для проброса порта (по умолчанию: 1, если используется прослушивание)</translation> </message> <message> <location line="+1"/> <source>Use proxy to reach tor hidden services (default: same as -proxy)</source> <translation>Использовать прокси для скрытых сервисов (по умолчанию: тот же, что и в -proxy)</translation> </message> <message> <location line="+2"/> <source>Username for JSON-RPC connections</source> <translation>Имя для подключений JSON-RPC</translation> </message> <message> <location line="+4"/> <source>Warning</source> <translation>Внимание</translation> </message> <message> <location line="+1"/> <source>Warning: This version is obsolete, upgrade required!</source> <translation>Внимание: эта версия устарела, требуется обновление!</translation> </message> <message> <location line="+1"/> <source>You need to rebuild the databases using -reindex to change -txindex</source> <translation>Вам необходимо пересобрать базы данных с помощью -reindex, чтобы изменить -txindex</translation> </message> <message> <location line="+1"/> <source>wallet.dat corrupt, salvage failed</source> <translation>wallet.dat повреждён, спасение данных не удалось</translation> </message> <message> <location line="-50"/> <source>Password for JSON-RPC connections</source> <translation>Пароль для подключений JSON-RPC</translation> </message> <message> <location line="-67"/> <source>Allow JSON-RPC connections from specified IP address</source> <translation>Разрешить подключения JSON-RPC с указанного IP</translation> </message> <message> <location line="+76"/> <source>Send commands to node running on &lt;ip&gt; (default: 127.0.0.1)</source> <translation>Посылать команды узлу, запущенному на &lt;ip&gt; (по умолчанию: 127.0.0.1)</translation> </message> <message> <location line="-120"/> <source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source> <translation>Выполнить команду, когда появляется новый блок (%s в команде заменяется на хэш блока)</translation> </message> <message> <location line="+147"/> <source>Upgrade wallet to latest format</source> <translation>Обновить бумажник до последнего формата</translation> </message> <message> <location line="-21"/> <source>Set key pool size to &lt;n&gt; (default: 100)</source> <translation>Установить размер запаса ключей в &lt;n&gt; (по умолчанию: 100)</translation> </message> <message> <location line="-12"/> <source>Rescan the block chain for missing wallet transactions</source> <translation>Перепроверить цепь блоков на предмет отсутствующих в бумажнике транзакций</translation> </message> <message> <location line="+35"/> <source>Use OpenSSL (https) for JSON-RPC connections</source> <translation>Использовать OpenSSL (https) для подключений JSON-RPC</translation> </message> <message> <location line="-26"/> <source>Server certificate file (default: server.cert)</source> <translation>Файл серверного сертификата (по умолчанию: server.cert)</translation> </message> <message> <location line="+1"/> <source>Server private key (default: server.pem)</source> <translation>Приватный ключ сервера (по умолчанию: server.pem)</translation> </message> <message> <location line="-151"/> <source>Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</source> <translation>Разрешённые алгоритмы (по умолчанию: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</translation> </message> <message> <location line="+165"/> <source>This help message</source> <translation>Эта справка</translation> </message> <message> <location line="+6"/> <source>Unable to bind to %s on this computer (bind returned error %d, %s)</source> <translation>Невозможно привязаться к %s на этом компьютере (bind вернул ошибку %d, %s)</translation> </message> <message> <location line="-91"/> <source>Connect through socks proxy</source> <translation>Подключаться через socks прокси</translation> </message> <message> <location line="-10"/> <source>Allow DNS lookups for -addnode, -seednode and -connect</source> <translation>Разрешить поиск в DNS для -addnode, -seednode и -connect</translation> </message> <message> <location line="+55"/> <source>Loading addresses...</source> <translation>Загрузка адресов...</translation> </message> <message> <location line="-35"/> <source>Error loading wallet.dat: Wallet corrupted</source> <translation>Ошибка загрузки wallet.dat: Бумажник поврежден</translation> </message> <message> <location line="+1"/> <source>Error loading wallet.dat: Wallet requires newer version of Shilling</source> <translation>Ошибка загрузки wallet.dat: бумажник требует более новую версию Shilling</translation> </message> <message> <location line="+93"/> <source>Wallet needed to be rewritten: restart Shilling to complete</source> <translation>Необходимо перезаписать бумажник, перезапустите Shilling для завершения операции.</translation> </message> <message> <location line="-95"/> <source>Error loading wallet.dat</source> <translation>Ошибка при загрузке wallet.dat</translation> </message> <message> <location line="+28"/> <source>Invalid -proxy address: &apos;%s&apos;</source> <translation>Неверный адрес -proxy: &apos;%s&apos;</translation> </message> <message> <location line="+56"/> <source>Unknown network specified in -onlynet: &apos;%s&apos;</source> <translation>В параметре -onlynet указана неизвестная сеть: &apos;%s&apos;</translation> </message> <message> <location line="-1"/> <source>Unknown -socks proxy version requested: %i</source> <translation>В параметре -socks запрошена неизвестная версия: %i</translation> </message> <message> <location line="-96"/> <source>Cannot resolve -bind address: &apos;%s&apos;</source> <translation>Не удаётся разрешить адрес в параметре -bind: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Cannot resolve -externalip address: &apos;%s&apos;</source> <translation>Не удаётся разрешить адрес в параметре -externalip: &apos;%s&apos;</translation> </message> <message> <location line="+44"/> <source>Invalid amount for -paytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation>Неверное количество в параметре -paytxfee=&lt;кол-во&gt;: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Invalid amount</source> <translation>Неверное количество</translation> </message> <message> <location line="-6"/> <source>Insufficient funds</source> <translation>Недостаточно монет</translation> </message> <message> <location line="+10"/> <source>Loading block index...</source> <translation>Загрузка индекса блоков...</translation> </message> <message> <location line="-57"/> <source>Add a node to connect to and attempt to keep the connection open</source> <translation>Добавить узел для подключения и пытаться поддерживать соединение открытым</translation> </message> <message> <location line="-25"/> <source>Unable to bind to %s on this computer. Shilling is probably already running.</source> <translation>Невозможно привязаться к %s на этом компьютере. Возможно, Shilling уже работает.</translation> </message> <message> <location line="+64"/> <source>Fee per KB to add to transactions you send</source> <translation>Комиссия на килобайт, добавляемая к вашим транзакциям</translation> </message> <message> <location line="+19"/> <source>Loading wallet...</source> <translation>Загрузка бумажника...</translation> </message> <message> <location line="-52"/> <source>Cannot downgrade wallet</source> <translation>Не удаётся понизить версию бумажника</translation> </message> <message> <location line="+3"/> <source>Cannot write default address</source> <translation>Не удаётся записать адрес по умолчанию</translation> </message> <message> <location line="+64"/> <source>Rescanning...</source> <translation>Сканирование...</translation> </message> <message> <location line="-57"/> <source>Done loading</source> <translation>Загрузка завершена</translation> </message> <message> <location line="+82"/> <source>To use the %s option</source> <translation>Чтобы использовать опцию %s</translation> </message> <message> <location line="-74"/> <source>Error</source> <translation>Ошибка</translation> </message> <message> <location line="-31"/> <source>You must set rpcpassword=&lt;password&gt; in the configuration file: %s If the file does not exist, create it with owner-readable-only file permissions.</source> <translation>Вы должны установить rpcpassword=&lt;password&gt; в конфигурационном файле: %s Если файл не существует, создайте его и установите права доступа только для владельца.</translation> </message> </context> </TS>
{ "content_hash": "8bd7c4b1bfefa201d6dfa6e64a3534b5", "timestamp": "", "source": "github", "line_count": 2940, "max_line_length": 417, "avg_line_length": 39.903401360544215, "alnum_prop": 0.6365031197790583, "repo_name": "shillingcoins/source", "id": "931648329f7d89b36e2433c460503bb79cba90e9", "size": "134940", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/qt/locale/shilling_ru.ts", "mode": "33188", "license": "mit", "language": [], "symlink_target": "" }
class AddDefaultStatusForEvents < ActiveRecord::Migration[5.1] def change reversible do |dir| dir.up { execute "UPDATE events SET status = 'active' WHERE status IS NULL" } end change_column :events, :status, :string, null: false, default: 'active' end end
{ "content_hash": "53ccac2afb783c7baf1cfbd1a43fb180", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 83, "avg_line_length": 31, "alnum_prop": 0.6953405017921147, "repo_name": "neinteractiveliterature/intercode", "id": "4396367df7fec07ab3f0932506aa8d26a036bc19", "size": "279", "binary": false, "copies": "1", "ref": "refs/heads/main", "path": "db/migrate/20171014183340_add_default_status_for_events.rb", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "1616" }, { "name": "Dockerfile", "bytes": "2534" }, { "name": "HTML", "bytes": "26576" }, { "name": "JavaScript", "bytes": "41769" }, { "name": "Liquid", "bytes": "211563" }, { "name": "PLpgSQL", "bytes": "156320" }, { "name": "Procfile", "bytes": "298" }, { "name": "Ruby", "bytes": "1545558" }, { "name": "SCSS", "bytes": "22363" }, { "name": "Shell", "bytes": "6896" }, { "name": "TypeScript", "bytes": "2941901" } ], "symlink_target": "" }
<form name="saveMiembro" > <input id="id_miembro" ng-model="formData.id_miembro" type='hidden' > <div class="panel panel-default"> <div class="table-responsive"> <table class="table table-striped"> <tbody> <tr><td><label for="id_nombrePuesto">Cargo:</label></td><td> {{formData.nombre}}</td></tr> <tr><td><label for="id_proyecto">Grupo:</label></td><td> {{formData.proyecto}}</td></tr> <tr><td><label for="id_proyecto">Clave:</label></td><td> {{formData.clave}}</td></tr> <tr><td><label for="id_proyecto">Descripcion:</label></td><td> {{formData.descripcion}}</td></tr> <tr><td><label for="id_proyecto">Observaciones:</label></td><td> {{formData.observaciones}}</td></tr> <tr><td><label for="id_proyecto">Responde a:</label></td><td> {{formData.responde_a}}</td></tr> </tbody> </table> </div> </div> <div class="form-group"> <label for="nombre_empleado">Nombre</label> <input type="text" ng-model="formData.nombre_empleado" name="nombre_empleado" class="form-control" placeholder="Empleado" readonly/> <div ng-show="saveMiembro.$submitted || saveMiembro.nombre_empleado.$touched"> <div ng-show="saveMiembro.nombre_empleado.$error.required">Este es un campo requerido.</div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button> <button type="submit" class="btn btn-default" ng-click="submitFormDelete()">Remover personal</button> </div> </form>
{ "content_hash": "3f3b8ac8984629fbf67baf09a5b30910", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 141, "avg_line_length": 49.18181818181818, "alnum_prop": 0.6081330868761553, "repo_name": "LuisEGR/hova-dir", "id": "9bcaed6ed625f55bf65465d02fa7c516706d8ed7", "size": "1623", "binary": false, "copies": "1", "ref": "refs/heads/development", "path": "views/directorio/puestos/form_deleteMiembroVacante.php", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "6983" }, { "name": "HTML", "bytes": "17156" }, { "name": "JavaScript", "bytes": "31180" }, { "name": "PHP", "bytes": "154302" } ], "symlink_target": "" }
layout: product title: Synnamon preview: screen: /synnamon/screen.png video: /synnamon/landing.mp4 --- # Synnamon Multilingual thesaurus app! Interactive Word Cloud interface for convenient and efficient display of synonyms. Sift through various synonyms and associated words by clicking on the cloud. One of the best apps visually for language and vocabulary learning! Single app for languages in English, Chinese (Traditional and Simplified), French (including Canadian French - Quebec), Norwegian, Swedish, Italian, Thai, Spanish, Russian, Portuguese, Greek! Global Thesaurus! Features: - All-in-one comprehensive Thesaurus in over 12 languages!! - Visual Word-cloud for quick access to correlated and connecting words - Export and sharing of the Word Cloud - Pan and rotate the Word Cloud to see affiliated words - Vocabulary and language learning with multi-lingual availability - Word Search History for displaying associated searched words - save, send to friends and use for social media (Tweet it!) - Unique algorithm for determine key synonyms in various languages - Toggle between languages with more to come! - Unlimited searches and with no ads Brought to you by the creators of: Translationary - Top International Translation and Pro Dictionary: Foreign Verbs + Nouns Top 5 in Thailand and Malaysia Top 10 in Turkey and Kyrgyzstan Top 100 in Russia, India, Indonesia, Sweden, Mexico, France, China, Netherlands, Macau Giraffe Gaffe Featured app in 2013 ==================================== **Follow us on Twitter @onefatgiraffe** **Visit us on the web at www.onefatgiraffe.com** [![Download on the App Store](https://devimages-cdn.apple.com/app-store/marketing/guidelines/images/badge-download-on-the-app-store.svg)](https://itunes.apple.com/us/app/synnamon-word-cloud-thesaurus/id1156731332?ls=1&mt=8)
{ "content_hash": "6f810677b6d8d34367e7d781ab6c0c2d", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 465, "avg_line_length": 48.3421052631579, "alnum_prop": 0.7740881872618399, "repo_name": "onefatgiraffe/onefatgiraffe.github.io", "id": "09893f6b517562a0927f171dc776c1667ad33f72", "size": "1841", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "synnamon/index.md", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "19220" }, { "name": "HTML", "bytes": "366269" }, { "name": "JavaScript", "bytes": "79284" }, { "name": "Less", "bytes": "186063" }, { "name": "Ruby", "bytes": "83" } ], "symlink_target": "" }
<PackageItem xmlns:tcm="http://www.tridion.com/ContentManager/5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.sdltridion.com/ContentManager/ImportExport/Package/2013"> <Data> <tcm:Data> <tcm:Title>Page with a published MM Component</tcm:Title> <tcm:FileName>page_with_mm_component</tcm:FileName> <tcm:PageTemplate IsInherited="false" xlink:type="simple" xlink:title="Simple Test Page View [Test:SimpleTestPage]" xlink:href="/webdav/401%20Automated%20Test%20Parent/Building%20Blocks/Modules/Test/Simple%20Test%20Page%20View%20%5BTest%3ASimpleTestPage%5D.tptcmp" /> <tcm:ComponentPresentations> <tcm:ComponentPresentation> <tcm:Component xlink:type="simple" xlink:title="Company Report 2013" xlink:href="/webdav/401%20Automated%20Test%20Parent/Building%20Blocks/Content/Downloads/Company%20Report%202013.pdf" /> <tcm:ComponentTemplate xlink:type="simple" xlink:title="Download" xlink:href="/webdav/401%20Automated%20Test%20Parent/Building%20Blocks/Modules/Core/Editor/Templates/Download.tctcmp" /> <tcm:Conditions /> </tcm:ComponentPresentation> </tcm:ComponentPresentations> <tcm:MetadataSchema xlink:type="simple" xlink:title="" xlink:href="tcm:0-0-0" /> <tcm:Metadata /> <tcm:RegionSchema xlink:type="simple" xlink:title="" xlink:href="tcm:0-0-0" /> <tcm:Regions /> </tcm:Data> </Data> <Dependencies> <Dependency dependencyType="Publication" itemUrl="/webdav/401%20Automated%20Test%20Parent" linkName="LocationInfo/ContextRepository" /> <Dependency dependencyType="OrganizationalItemStructureGroup" itemUrl="/webdav/401%20Automated%20Test%20Parent/Home" linkName="LocationInfo/OrganizationalItem" /> <Dependency dependencyType="ComponentPresentationComponent" itemUrl="/webdav/401%20Automated%20Test%20Parent/Building%20Blocks/Content/Downloads/Company%20Report%202013.pdf" linkName="ComponentPresentations[0]/Component" /> <Dependency dependencyType="ComponentPresentationComponentTemplate" itemUrl="/webdav/401%20Automated%20Test%20Parent/Building%20Blocks/Modules/Core/Editor/Templates/Download.tctcmp" linkName="ComponentPresentations[0]/ComponentTemplate" /> <Dependency dependencyType="PageTemplate" itemUrl="/webdav/401%20Automated%20Test%20Parent/Building%20Blocks/Modules/Test/Simple%20Test%20Page%20View%20%5BTest%3ASimpleTestPage%5D.tptcmp" linkName="PageTemplate" /> </Dependencies> </PackageItem>
{ "content_hash": "ca2548e401980f16c83072cfdc9b54f2", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 273, "avg_line_length": 91.25925925925925, "alnum_prop": 0.7650162337662337, "repo_name": "sdl/dxa-modules", "id": "cd5d344d4701257f166bf185ad624cd6866186d8", "size": "2464", "binary": false, "copies": "1", "ref": "refs/heads/develop", "path": "installation/Test/cms/sites9/content/Pages/6-791-64.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "C#", "bytes": "281770" }, { "name": "CSS", "bytes": "120104" }, { "name": "Groovy", "bytes": "3792" }, { "name": "HTML", "bytes": "130538" }, { "name": "Java", "bytes": "811421" }, { "name": "JavaScript", "bytes": "297201" }, { "name": "PowerShell", "bytes": "34268" }, { "name": "TypeScript", "bytes": "938000" } ], "symlink_target": "" }
using content::BrowserContext; using content::DownloadManager; using download::DownloadItem; using DownloadVector = DownloadManager::DownloadVector; namespace { // Max URL length to be sent to the download page. const int kMaxURLLength = 2 * 1024 * 1024; // Returns a string constant to be used as the |danger_type| value in // CreateDownloadData(). This can be the empty string, if the danger type is not // relevant for the UI. const char* GetDangerTypeString(download::DownloadDangerType danger_type) { switch (danger_type) { case download::DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE: return "DANGEROUS_FILE"; case download::DOWNLOAD_DANGER_TYPE_DANGEROUS_URL: return "DANGEROUS_URL"; case download::DOWNLOAD_DANGER_TYPE_DANGEROUS_CONTENT: return "DANGEROUS_CONTENT"; case download::DOWNLOAD_DANGER_TYPE_UNCOMMON_CONTENT: return "UNCOMMON_CONTENT"; case download::DOWNLOAD_DANGER_TYPE_DANGEROUS_HOST: return "DANGEROUS_HOST"; case download::DOWNLOAD_DANGER_TYPE_POTENTIALLY_UNWANTED: return "POTENTIALLY_UNWANTED"; case download::DOWNLOAD_DANGER_TYPE_ASYNC_SCANNING: return "ASYNC_SCANNING"; case download::DOWNLOAD_DANGER_TYPE_BLOCKED_PASSWORD_PROTECTED: return "BLOCKED_PASSWORD_PROTECTED"; case download::DOWNLOAD_DANGER_TYPE_BLOCKED_TOO_LARGE: return "BLOCKED_TOO_LARGE"; case download::DOWNLOAD_DANGER_TYPE_SENSITIVE_CONTENT_WARNING: return "SENSITIVE_CONTENT_WARNING"; case download::DOWNLOAD_DANGER_TYPE_SENSITIVE_CONTENT_BLOCK: return "SENSITIVE_CONTENT_BLOCK"; case download::DOWNLOAD_DANGER_TYPE_DEEP_SCANNED_SAFE: return "DEEP_SCANNED_SAFE"; case download::DOWNLOAD_DANGER_TYPE_DEEP_SCANNED_OPENED_DANGEROUS: return "DEEP_SCANNED_OPENED_DANGEROUS"; case download::DOWNLOAD_DANGER_TYPE_BLOCKED_UNSUPPORTED_FILETYPE: return "BLOCKED_UNSUPPORTED_FILE_TYPE"; case download::DOWNLOAD_DANGER_TYPE_DANGEROUS_ACCOUNT_COMPROMISE: return base::FeatureList::IsEnabled( safe_browsing::kSafeBrowsingCTDownloadWarning) ? "DANGEROUS_ACCOUNT_COMPROMISE" : "DANGEROUS_CONTENT"; case download::DOWNLOAD_DANGER_TYPE_PROMPT_FOR_SCANNING: case download::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS: case download::DOWNLOAD_DANGER_TYPE_MAYBE_DANGEROUS_CONTENT: case download::DOWNLOAD_DANGER_TYPE_USER_VALIDATED: case download::DOWNLOAD_DANGER_TYPE_ALLOWLISTED_BY_POLICY: case download::DOWNLOAD_DANGER_TYPE_MAX: break; } // Don't return a danger type string if it is NOT_DANGEROUS, // MAYBE_DANGEROUS_CONTENT, or USER_VALIDATED, or ALLOWLISTED_BY_POLICY. return ""; } // TODO(dbeam): if useful elsewhere, move to base/i18n/time_formatting.h? std::string TimeFormatLongDate(const base::Time& time) { std::unique_ptr<icu::DateFormat> formatter( icu::DateFormat::createDateInstance(icu::DateFormat::kLong)); icu::UnicodeString date_string; formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string); return base::UTF16ToUTF8(base::i18n::UnicodeStringToString16(date_string)); } } // namespace DownloadsListTracker::DownloadsListTracker( DownloadManager* download_manager, mojo::PendingRemote<downloads::mojom::Page> page) : main_notifier_(download_manager, this), page_(std::move(page)), should_show_(base::BindRepeating(&DownloadsListTracker::ShouldShow, base::Unretained(this))) { Init(); } DownloadsListTracker::~DownloadsListTracker() {} void DownloadsListTracker::Reset() { if (sending_updates_) page_->ClearAll(); sent_to_page_ = 0u; } bool DownloadsListTracker::SetSearchTerms( const std::vector<std::string>& search_terms) { std::vector<std::u16string> new_terms; new_terms.resize(search_terms.size()); for (const auto& t : search_terms) new_terms.push_back(base::UTF8ToUTF16(t)); if (new_terms == search_terms_) return false; search_terms_.swap(new_terms); RebuildSortedItems(); return true; } void DownloadsListTracker::StartAndSendChunk() { sending_updates_ = true; CHECK_LE(sent_to_page_, sorted_items_.size()); auto it = sorted_items_.begin(); std::advance(it, sent_to_page_); std::vector<downloads::mojom::DataPtr> list; while (it != sorted_items_.end() && list.size() < chunk_size_) { list.push_back(CreateDownloadData(*it)); ++it; } size_t list_size = list.size(); page_->InsertItems(static_cast<int>(sent_to_page_), std::move(list)); sent_to_page_ += list_size; } void DownloadsListTracker::Stop() { sending_updates_ = false; } DownloadManager* DownloadsListTracker::GetMainNotifierManager() const { return main_notifier_.GetManager(); } DownloadManager* DownloadsListTracker::GetOriginalNotifierManager() const { return original_notifier_ ? original_notifier_->GetManager() : nullptr; } void DownloadsListTracker::OnDownloadCreated(DownloadManager* manager, DownloadItem* download_item) { DCHECK_EQ(0u, sorted_items_.count(download_item)); if (should_show_.Run(*download_item)) InsertItem(sorted_items_.insert(download_item).first); } void DownloadsListTracker::OnDownloadUpdated(DownloadManager* manager, DownloadItem* download_item) { auto current_position = sorted_items_.find(download_item); bool is_showing = current_position != sorted_items_.end(); bool should_show = should_show_.Run(*download_item); if (!is_showing && should_show) InsertItem(sorted_items_.insert(download_item).first); else if (is_showing && !should_show) RemoveItem(current_position); else if (is_showing) UpdateItem(current_position); } void DownloadsListTracker::OnDownloadRemoved(DownloadManager* manager, DownloadItem* download_item) { auto current_position = sorted_items_.find(download_item); if (current_position != sorted_items_.end()) RemoveItem(current_position); } DownloadsListTracker::DownloadsListTracker( DownloadManager* download_manager, mojo::PendingRemote<downloads::mojom::Page> page, base::RepeatingCallback<bool(const DownloadItem&)> should_show) : main_notifier_(download_manager, this), page_(std::move(page)), should_show_(std::move(should_show)) { DCHECK(page_); Init(); } downloads::mojom::DataPtr DownloadsListTracker::CreateDownloadData( download::DownloadItem* download_item) const { // TODO(asanka): Move towards using download_model here for getting status and // progress. The difference currently only matters to Drive downloads and // those don't show up on the downloads page, but should. DownloadItemModel download_model(download_item); auto file_value = downloads::mojom::Data::New(); file_value->started = static_cast<int>(download_item->GetStartTime().ToTimeT()); file_value->since_string = base::UTF16ToUTF8( ui::TimeFormat::RelativeDate(download_item->GetStartTime(), NULL)); file_value->date_string = TimeFormatLongDate(download_item->GetStartTime()); file_value->id = base::NumberToString(download_item->GetId()); base::FilePath download_path(download_item->GetTargetFilePath()); file_value->file_path = download_path.AsUTF8Unsafe(); file_value->file_url = net::FilePathToFileURL(download_path).spec(); extensions::DownloadedByExtension* by_ext = extensions::DownloadedByExtension::Get(download_item); std::string by_ext_id; std::string by_ext_name; if (by_ext) { by_ext_id = by_ext->id(); // TODO(dbeam): why doesn't DownloadsByExtension::name() return a string16? by_ext_name = by_ext->name(); // Lookup the extension's current name() in case the user changed their // language. This won't work if the extension was uninstalled, so the name // might be the wrong language. auto* profile = Profile::FromBrowserContext( content::DownloadItemUtils::GetBrowserContext(download_item)); auto* registry = extensions::ExtensionRegistry::Get(profile); const extensions::Extension* extension = registry->GetExtensionById( by_ext->id(), extensions::ExtensionRegistry::EVERYTHING); if (extension) by_ext_name = extension->name(); } file_value->by_ext_id = by_ext_id; file_value->by_ext_name = by_ext_name; // Keep file names as LTR. TODO(dbeam): why? std::u16string file_name = download_item->GetFileNameToReportUser().LossyDisplayName(); file_name = base::i18n::GetDisplayStringInLTRDirectionality(file_name); file_value->file_name = base::UTF16ToUTF8(file_name); file_value->url = download_item->GetURL().spec(); // If URL is too long, truncate it. if (file_value->url.size() > kMaxURLLength) file_value->url.resize(kMaxURLLength); file_value->total = static_cast<int>(download_item->GetTotalBytes()); file_value->file_externally_removed = download_item->GetFileExternallyRemoved(); file_value->resume = download_item->CanResume(); file_value->otr = IsIncognito(*download_item); const char* danger_type = GetDangerTypeString(download_item->GetDangerType()); std::u16string last_reason_text; // -2 is invalid, -1 means indeterminate, and 0-100 are in-progress. int percent = -2; std::u16string progress_status_text; bool retry = false; const char* state = nullptr; switch (download_item->GetState()) { case download::DownloadItem::IN_PROGRESS: { if (download_item->IsDangerous()) { state = "DANGEROUS"; } else if (download_item->ShouldShowIncognitoWarning()) { state = "INCOGNITO_WARNING"; } else if (download_item->IsMixedContent()) { state = "MIXED_CONTENT"; } else if (download_item->GetDangerType() == download::DOWNLOAD_DANGER_TYPE_ASYNC_SCANNING) { state = "ASYNC_SCANNING"; } else if (download_item->IsPaused()) { state = "PAUSED"; } else { state = "IN_PROGRESS"; } progress_status_text = download_model.GetTabProgressStatusText(); percent = download_item->PercentComplete(); break; } case download::DownloadItem::INTERRUPTED: state = "INTERRUPTED"; progress_status_text = download_model.GetTabProgressStatusText(); if (download_item->CanResume()) percent = download_item->PercentComplete(); // TODO(https://crbug.com/609255): GetHistoryPageStatusText() is using // GetStatusText() as a temporary measure until the layout is fixed to // accommodate the longer string. Should update it to simply use // GetInterruptDescription(). last_reason_text = download_model.GetHistoryPageStatusText(); if (download::DOWNLOAD_INTERRUPT_REASON_CRASH == download_item->GetLastReason() && !download_item->CanResume()) { retry = true; } break; case download::DownloadItem::CANCELLED: state = "CANCELLED"; retry = true; break; case download::DownloadItem::COMPLETE: DCHECK(!download_item->IsDangerous()); state = "COMPLETE"; break; case download::DownloadItem::MAX_DOWNLOAD_STATE: NOTREACHED(); } DCHECK(state); file_value->danger_type = danger_type; file_value->is_dangerous = download_item->IsDangerous(); file_value->is_mixed_content = download_item->IsMixedContent(); file_value->should_show_incognito_warning = download_item->ShouldShowIncognitoWarning(); file_value->last_reason_text = base::UTF16ToUTF8(last_reason_text); file_value->percent = percent; file_value->progress_status_text = base::UTF16ToUTF8(progress_status_text); file_value->show_in_folder_text = base::UTF16ToUTF8(download_model.GetShowInFolderText()); file_value->retry = retry; file_value->state = state; return file_value; } bool DownloadsListTracker::IsIncognito(const DownloadItem& item) const { return GetOriginalNotifierManager() && GetMainNotifierManager() && GetMainNotifierManager()->GetDownload(item.GetId()) == &item; } const DownloadItem* DownloadsListTracker::GetItemForTesting( size_t index) const { if (index >= sorted_items_.size()) return nullptr; auto it = sorted_items_.begin(); std::advance(it, index); return *it; } void DownloadsListTracker::SetChunkSizeForTesting(size_t chunk_size) { CHECK_EQ(0u, sent_to_page_); chunk_size_ = chunk_size; } bool DownloadsListTracker::ShouldShow(const DownloadItem& item) const { return !download_crx_util::IsTrustedExtensionDownload( Profile::FromBrowserContext( GetMainNotifierManager()->GetBrowserContext()), item) && !item.IsTemporary() && !item.IsTransient() && !item.GetFileNameToReportUser().empty() && !item.GetTargetFilePath().empty() && !item.GetURL().is_empty() && DownloadItemModel(const_cast<DownloadItem*>(&item)) .ShouldShowInShelf() && DownloadQuery::MatchesQuery(search_terms_, item); } bool DownloadsListTracker::StartTimeComparator::operator()( const download::DownloadItem* a, const download::DownloadItem* b) const { return a->GetStartTime() > b->GetStartTime(); } void DownloadsListTracker::Init() { Profile* profile = Profile::FromBrowserContext( GetMainNotifierManager()->GetBrowserContext()); if (profile->IsOffTheRecord()) { Profile* original_profile = profile->GetOriginalProfile(); original_notifier_ = std::make_unique<download::AllDownloadItemNotifier>( original_profile->GetDownloadManager(), this); } RebuildSortedItems(); } void DownloadsListTracker::RebuildSortedItems() { DownloadVector all_items, visible_items; GetMainNotifierManager()->GetAllDownloads(&all_items); if (GetOriginalNotifierManager()) GetOriginalNotifierManager()->GetAllDownloads(&all_items); DownloadQuery query; query.AddFilter(should_show_); query.Search(all_items.begin(), all_items.end(), &visible_items); SortedSet sorted_items(visible_items.begin(), visible_items.end()); sorted_items_.swap(sorted_items); } void DownloadsListTracker::InsertItem(const SortedSet::iterator& insert) { if (!sending_updates_) return; size_t index = GetIndex(insert); if (index >= chunk_size_ && index >= sent_to_page_) return; std::vector<downloads::mojom::DataPtr> list; list.push_back(CreateDownloadData(*insert)); page_->InsertItems(static_cast<int>(index), std::move(list)); sent_to_page_++; } void DownloadsListTracker::UpdateItem(const SortedSet::iterator& update) { if (!sending_updates_ || GetIndex(update) >= sent_to_page_) return; page_->UpdateItem(static_cast<int>(GetIndex(update)), CreateDownloadData(*update)); } size_t DownloadsListTracker::GetIndex(const SortedSet::iterator& item) const { // TODO(dbeam): this could be log(N) if |item| was random access. return std::distance(sorted_items_.begin(), item); } void DownloadsListTracker::RemoveItem(const SortedSet::iterator& remove) { if (sending_updates_) { size_t index = GetIndex(remove); if (index < sent_to_page_) { page_->RemoveItem(static_cast<int>(index)); sent_to_page_--; } } sorted_items_.erase(remove); }
{ "content_hash": "f4025fcb052a035a284df23131922188", "timestamp": "", "source": "github", "line_count": 426, "max_line_length": 80, "avg_line_length": 35.847417840375584, "alnum_prop": 0.6932093510575601, "repo_name": "ric2b/Vivaldi-browser", "id": "682cd15be12695b93bec6937e3e25d616a40d177", "size": "16835", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "chromium/chrome/browser/ui/webui/downloads/downloads_list_tracker.cc", "mode": "33188", "license": "bsd-3-clause", "language": [], "symlink_target": "" }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Role; use Session; use Form; use Hash; use Auth; use Yajra\DataTables\DataTables; class RoleController extends Controller { public $messages = [ 'display_name.required' => 'Devi inserire un nome per il nuovo ruolo', 'description.required' => 'Devi inserire una descrizione per il ruolo', 'name.unique' => 'Nome non valido, esiste già!' ]; public function __construct(){ $this->middleware('permission:edit-permission'); } public function index(){ return view('role.index'); } public function create(){ return view('role.create'); } public function delete($id_role){ $role = Role::find($id_role); if($role != null){ $role->delete(); } Session::flash('flash_message', 'Ruolo eliminato correttamente!'); return redirect()->route('role.index'); } public function store(Request $request){ $input = $request->all(); $request->merge(['name' => camel_case($input['display_name'])]); $this->validate($request, [ 'name' => 'unique:roles', 'display_name' => 'required', 'description' => 'required', ], $this->messages); $role = new Role(); $role->name = camel_case($input['display_name']); $role->display_name = $input['display_name']; $role->description = $input['description']; $role->id_oratorio = Session::get('session_oratorio'); $role->save(); Session::flash('flash_message', 'Ruolo creato!'); return redirect()->route('role.index'); } public function updatePermission(Request $request){ $input = $request->all(); $roles_id = array(); //tengo traccia dei ruoli elaborati, per elaborazione successiva foreach($input['permesso'] as $key => $value){ array_push($roles_id, $key); $role = Role::find($key); $role->perms()->sync($value); } //tolgo tutti i permessi ai ruoli che non compaiono nella lista precedente. //Bug dovuto al form: se non metto alcuna spunta ai permessi, non mi arriva nemmeno il ruolo. foreach(Role::whereNotIn('id', $roles_id)->where('id_oratorio', Session::get('session_oratorio'))->get() as $role_without_perms){ $role_without_perms->perms()->sync([]); } Session::flash('flash_message', 'Permessi aggiornati!'); return redirect()->route('role.index'); } }
{ "content_hash": "b2d85d82212d3fb4df32079ffa21f2ed", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 133, "avg_line_length": 29.530864197530864, "alnum_prop": 0.6308528428093646, "repo_name": "cent89/segresta", "id": "8bf97eab685319084230b562e9c0cb656f205eaa", "size": "2393", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "app/Http/Controllers/RoleController.php", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "619319" }, { "name": "HTML", "bytes": "422957" }, { "name": "JavaScript", "bytes": "2991714" }, { "name": "PHP", "bytes": "543036" }, { "name": "TSQL", "bytes": "467500" }, { "name": "Vue", "bytes": "559" } ], "symlink_target": "" }
<?php namespace Vipa\JournalBundle\Command; use Doctrine\ORM\EntityManager; use Vipa\JournalBundle\Entity\Article; use Vipa\JournalBundle\Entity\ArticleTypes; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; use Symfony\Component\DependencyInjection\ContainerInterface; use Doctrine\Common\Collections\Collection; use Vipa\JournalBundle\Entity\Journal; /** * Class ArticleLanguageNormalizeCommand * @package Vipa\JournalBundle\Command */ class ArticleLanguageNormalizeCommand extends ContainerAwareCommand { /** * @var EntityManager */ private $em; /** * @var SymfonyStyle */ private $io; /** * @var ContainerInterface */ private $container; /** * */ protected function configure() { $this ->setName('vipa:normalize:article:language') ->setDescription('Normalize article language.') ; } /** * @param InputInterface $input * @param OutputInterface $output */ protected function initialize(InputInterface $input, OutputInterface $output) { $this->io = new SymfonyStyle($input, $output); $this->container = $this->getContainer(); $this->em = $this->container->get('doctrine')->getManager(); } /** * @param InputInterface $input * @param OutputInterface $output * * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { $articles = $this->em->getRepository(Article::class)->findBy(['language' => null]); $this->io->title($this->getDescription()); $this->io->progressStart(count($articles)); $counter = 1; foreach($articles as $article){ $article->setLanguage($article->getJournal()->getMandatoryLang()); $this->em->persist($article); $this->io->progressAdvance(1); $counter = $counter+1; if($counter%50 == 0){ $this->em->flush(); } } $this->em->flush(); } }
{ "content_hash": "f28b088c68209186070276f9d8f308f1", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 91, "avg_line_length": 27.3855421686747, "alnum_prop": 0.6198856137263529, "repo_name": "okulbilisim/ojs", "id": "96bdd74d33b44c3f8122e2a1939da1e3c822feb3", "size": "2273", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "src/Vipa/JournalBundle/Command/ArticleLanguageNormalizeCommand.php", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "54818" }, { "name": "HTML", "bytes": "756165" }, { "name": "JavaScript", "bytes": "214119" }, { "name": "PHP", "bytes": "2263335" }, { "name": "XSLT", "bytes": "30085" } ], "symlink_target": "" }
/*! * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=e94253ab960dd954b0bd) * Config saved to config.json and https://gist.github.com/e94253ab960dd954b0bd */ /*! * Bootstrap v3.3.6 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background-color: transparent; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1 { font-size: 2em; margin: 0.67em 0; } mark { background: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 1em 40px; } hr { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } input[type="search"] { -webkit-appearance: textfield; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { border: 0; padding: 0; } textarea { overflow: auto; } optgroup { font-weight: bold; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ @media print { *, *:before, *:after { background: transparent !important; color: #000 !important; -webkit-box-shadow: none !important; box-shadow: none !important; text-shadow: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } a[href^="#"]:after, a[href^="javascript:"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } .navbar { display: none; } .btn > .caret, .dropup > .btn > .caret { border-top-color: #000 !important; } .label { border: 1px solid #000; } .table { border-collapse: collapse !important; } .table td, .table th { background-color: #fff !important; } .table-bordered th, .table-bordered td { border: 1px solid #ddd !important; } } @font-face { font-family: 'Glyphicons Halflings'; src: url('../fonts/glyphicons-halflings-regular.eot'); src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); } .glyphicon { position: relative; top: 1px; display: inline-block; font-family: 'Glyphicons Halflings'; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .glyphicon-asterisk:before { content: "\002a"; } .glyphicon-plus:before { content: "\002b"; } .glyphicon-euro:before, .glyphicon-eur:before { content: "\20ac"; } .glyphicon-minus:before { content: "\2212"; } .glyphicon-cloud:before { content: "\2601"; } .glyphicon-envelope:before { content: "\2709"; } .glyphicon-pencil:before { content: "\270f"; } .glyphicon-glass:before { content: "\e001"; } .glyphicon-music:before { content: "\e002"; } .glyphicon-search:before { content: "\e003"; } .glyphicon-heart:before { content: "\e005"; } .glyphicon-star:before { content: "\e006"; } .glyphicon-star-empty:before { content: "\e007"; } .glyphicon-user:before { content: "\e008"; } .glyphicon-film:before { content: "\e009"; } .glyphicon-th-large:before { content: "\e010"; } .glyphicon-th:before { content: "\e011"; } .glyphicon-th-list:before { content: "\e012"; } .glyphicon-ok:before { content: "\e013"; } .glyphicon-remove:before { content: "\e014"; } .glyphicon-zoom-in:before { content: "\e015"; } .glyphicon-zoom-out:before { content: "\e016"; } .glyphicon-off:before { content: "\e017"; } .glyphicon-signal:before { content: "\e018"; } .glyphicon-cog:before { content: "\e019"; } .glyphicon-trash:before { content: "\e020"; } .glyphicon-home:before { content: "\e021"; } .glyphicon-file:before { content: "\e022"; } .glyphicon-time:before { content: "\e023"; } .glyphicon-road:before { content: "\e024"; } .glyphicon-download-alt:before { content: "\e025"; } .glyphicon-download:before { content: "\e026"; } .glyphicon-upload:before { content: "\e027"; } .glyphicon-inbox:before { content: "\e028"; } .glyphicon-play-circle:before { content: "\e029"; } .glyphicon-repeat:before { content: "\e030"; } .glyphicon-refresh:before { content: "\e031"; } .glyphicon-list-alt:before { content: "\e032"; } .glyphicon-lock:before { content: "\e033"; } .glyphicon-flag:before { content: "\e034"; } .glyphicon-headphones:before { content: "\e035"; } .glyphicon-volume-off:before { content: "\e036"; } .glyphicon-volume-down:before { content: "\e037"; } .glyphicon-volume-up:before { content: "\e038"; } .glyphicon-qrcode:before { content: "\e039"; } .glyphicon-barcode:before { content: "\e040"; } .glyphicon-tag:before { content: "\e041"; } .glyphicon-tags:before { content: "\e042"; } .glyphicon-book:before { content: "\e043"; } .glyphicon-bookmark:before { content: "\e044"; } .glyphicon-print:before { content: "\e045"; } .glyphicon-camera:before { content: "\e046"; } .glyphicon-font:before { content: "\e047"; } .glyphicon-bold:before { content: "\e048"; } .glyphicon-italic:before { content: "\e049"; } .glyphicon-text-height:before { content: "\e050"; } .glyphicon-text-width:before { content: "\e051"; } .glyphicon-align-left:before { content: "\e052"; } .glyphicon-align-center:before { content: "\e053"; } .glyphicon-align-right:before { content: "\e054"; } .glyphicon-align-justify:before { content: "\e055"; } .glyphicon-list:before { content: "\e056"; } .glyphicon-indent-left:before { content: "\e057"; } .glyphicon-indent-right:before { content: "\e058"; } .glyphicon-facetime-video:before { content: "\e059"; } .glyphicon-picture:before { content: "\e060"; } .glyphicon-map-marker:before { content: "\e062"; } .glyphicon-adjust:before { content: "\e063"; } .glyphicon-tint:before { content: "\e064"; } .glyphicon-edit:before { content: "\e065"; } .glyphicon-share:before { content: "\e066"; } .glyphicon-check:before { content: "\e067"; } .glyphicon-move:before { content: "\e068"; } .glyphicon-step-backward:before { content: "\e069"; } .glyphicon-fast-backward:before { content: "\e070"; } .glyphicon-backward:before { content: "\e071"; } .glyphicon-play:before { content: "\e072"; } .glyphicon-pause:before { content: "\e073"; } .glyphicon-stop:before { content: "\e074"; } .glyphicon-forward:before { content: "\e075"; } .glyphicon-fast-forward:before { content: "\e076"; } .glyphicon-step-forward:before { content: "\e077"; } .glyphicon-eject:before { content: "\e078"; } .glyphicon-chevron-left:before { content: "\e079"; } .glyphicon-chevron-right:before { content: "\e080"; } .glyphicon-plus-sign:before { content: "\e081"; } .glyphicon-minus-sign:before { content: "\e082"; } .glyphicon-remove-sign:before { content: "\e083"; } .glyphicon-ok-sign:before { content: "\e084"; } .glyphicon-question-sign:before { content: "\e085"; } .glyphicon-info-sign:before { content: "\e086"; } .glyphicon-screenshot:before { content: "\e087"; } .glyphicon-remove-circle:before { content: "\e088"; } .glyphicon-ok-circle:before { content: "\e089"; } .glyphicon-ban-circle:before { content: "\e090"; } .glyphicon-arrow-left:before { content: "\e091"; } .glyphicon-arrow-right:before { content: "\e092"; } .glyphicon-arrow-up:before { content: "\e093"; } .glyphicon-arrow-down:before { content: "\e094"; } .glyphicon-share-alt:before { content: "\e095"; } .glyphicon-resize-full:before { content: "\e096"; } .glyphicon-resize-small:before { content: "\e097"; } .glyphicon-exclamation-sign:before { content: "\e101"; } .glyphicon-gift:before { content: "\e102"; } .glyphicon-leaf:before { content: "\e103"; } .glyphicon-fire:before { content: "\e104"; } .glyphicon-eye-open:before { content: "\e105"; } .glyphicon-eye-close:before { content: "\e106"; } .glyphicon-warning-sign:before { content: "\e107"; } .glyphicon-plane:before { content: "\e108"; } .glyphicon-calendar:before { content: "\e109"; } .glyphicon-random:before { content: "\e110"; } .glyphicon-comment:before { content: "\e111"; } .glyphicon-magnet:before { content: "\e112"; } .glyphicon-chevron-up:before { content: "\e113"; } .glyphicon-chevron-down:before { content: "\e114"; } .glyphicon-retweet:before { content: "\e115"; } .glyphicon-shopping-cart:before { content: "\e116"; } .glyphicon-folder-close:before { content: "\e117"; } .glyphicon-folder-open:before { content: "\e118"; } .glyphicon-resize-vertical:before { content: "\e119"; } .glyphicon-resize-horizontal:before { content: "\e120"; } .glyphicon-hdd:before { content: "\e121"; } .glyphicon-bullhorn:before { content: "\e122"; } .glyphicon-bell:before { content: "\e123"; } .glyphicon-certificate:before { content: "\e124"; } .glyphicon-thumbs-up:before { content: "\e125"; } .glyphicon-thumbs-down:before { content: "\e126"; } .glyphicon-hand-right:before { content: "\e127"; } .glyphicon-hand-left:before { content: "\e128"; } .glyphicon-hand-up:before { content: "\e129"; } .glyphicon-hand-down:before { content: "\e130"; } .glyphicon-circle-arrow-right:before { content: "\e131"; } .glyphicon-circle-arrow-left:before { content: "\e132"; } .glyphicon-circle-arrow-up:before { content: "\e133"; } .glyphicon-circle-arrow-down:before { content: "\e134"; } .glyphicon-globe:before { content: "\e135"; } .glyphicon-wrench:before { content: "\e136"; } .glyphicon-tasks:before { content: "\e137"; } .glyphicon-filter:before { content: "\e138"; } .glyphicon-briefcase:before { content: "\e139"; } .glyphicon-fullscreen:before { content: "\e140"; } .glyphicon-dashboard:before { content: "\e141"; } .glyphicon-paperclip:before { content: "\e142"; } .glyphicon-heart-empty:before { content: "\e143"; } .glyphicon-link:before { content: "\e144"; } .glyphicon-phone:before { content: "\e145"; } .glyphicon-pushpin:before { content: "\e146"; } .glyphicon-usd:before { content: "\e148"; } .glyphicon-gbp:before { content: "\e149"; } .glyphicon-sort:before { content: "\e150"; } .glyphicon-sort-by-alphabet:before { content: "\e151"; } .glyphicon-sort-by-alphabet-alt:before { content: "\e152"; } .glyphicon-sort-by-order:before { content: "\e153"; } .glyphicon-sort-by-order-alt:before { content: "\e154"; } .glyphicon-sort-by-attributes:before { content: "\e155"; } .glyphicon-sort-by-attributes-alt:before { content: "\e156"; } .glyphicon-unchecked:before { content: "\e157"; } .glyphicon-expand:before { content: "\e158"; } .glyphicon-collapse-down:before { content: "\e159"; } .glyphicon-collapse-up:before { content: "\e160"; } .glyphicon-log-in:before { content: "\e161"; } .glyphicon-flash:before { content: "\e162"; } .glyphicon-log-out:before { content: "\e163"; } .glyphicon-new-window:before { content: "\e164"; } .glyphicon-record:before { content: "\e165"; } .glyphicon-save:before { content: "\e166"; } .glyphicon-open:before { content: "\e167"; } .glyphicon-saved:before { content: "\e168"; } .glyphicon-import:before { content: "\e169"; } .glyphicon-export:before { content: "\e170"; } .glyphicon-send:before { content: "\e171"; } .glyphicon-floppy-disk:before { content: "\e172"; } .glyphicon-floppy-saved:before { content: "\e173"; } .glyphicon-floppy-remove:before { content: "\e174"; } .glyphicon-floppy-save:before { content: "\e175"; } .glyphicon-floppy-open:before { content: "\e176"; } .glyphicon-credit-card:before { content: "\e177"; } .glyphicon-transfer:before { content: "\e178"; } .glyphicon-cutlery:before { content: "\e179"; } .glyphicon-header:before { content: "\e180"; } .glyphicon-compressed:before { content: "\e181"; } .glyphicon-earphone:before { content: "\e182"; } .glyphicon-phone-alt:before { content: "\e183"; } .glyphicon-tower:before { content: "\e184"; } .glyphicon-stats:before { content: "\e185"; } .glyphicon-sd-video:before { content: "\e186"; } .glyphicon-hd-video:before { content: "\e187"; } .glyphicon-subtitles:before { content: "\e188"; } .glyphicon-sound-stereo:before { content: "\e189"; } .glyphicon-sound-dolby:before { content: "\e190"; } .glyphicon-sound-5-1:before { content: "\e191"; } .glyphicon-sound-6-1:before { content: "\e192"; } .glyphicon-sound-7-1:before { content: "\e193"; } .glyphicon-copyright-mark:before { content: "\e194"; } .glyphicon-registration-mark:before { content: "\e195"; } .glyphicon-cloud-download:before { content: "\e197"; } .glyphicon-cloud-upload:before { content: "\e198"; } .glyphicon-tree-conifer:before { content: "\e199"; } .glyphicon-tree-deciduous:before { content: "\e200"; } .glyphicon-cd:before { content: "\e201"; } .glyphicon-save-file:before { content: "\e202"; } .glyphicon-open-file:before { content: "\e203"; } .glyphicon-level-up:before { content: "\e204"; } .glyphicon-copy:before { content: "\e205"; } .glyphicon-paste:before { content: "\e206"; } .glyphicon-alert:before { content: "\e209"; } .glyphicon-equalizer:before { content: "\e210"; } .glyphicon-king:before { content: "\e211"; } .glyphicon-queen:before { content: "\e212"; } .glyphicon-pawn:before { content: "\e213"; } .glyphicon-bishop:before { content: "\e214"; } .glyphicon-knight:before { content: "\e215"; } .glyphicon-baby-formula:before { content: "\e216"; } .glyphicon-tent:before { content: "\26fa"; } .glyphicon-blackboard:before { content: "\e218"; } .glyphicon-bed:before { content: "\e219"; } .glyphicon-apple:before { content: "\f8ff"; } .glyphicon-erase:before { content: "\e221"; } .glyphicon-hourglass:before { content: "\231b"; } .glyphicon-lamp:before { content: "\e223"; } .glyphicon-duplicate:before { content: "\e224"; } .glyphicon-piggy-bank:before { content: "\e225"; } .glyphicon-scissors:before { content: "\e226"; } .glyphicon-bitcoin:before { content: "\e227"; } .glyphicon-btc:before { content: "\e227"; } .glyphicon-xbt:before { content: "\e227"; } .glyphicon-yen:before { content: "\00a5"; } .glyphicon-jpy:before { content: "\00a5"; } .glyphicon-ruble:before { content: "\20bd"; } .glyphicon-rub:before { content: "\20bd"; } .glyphicon-scale:before { content: "\e230"; } .glyphicon-ice-lolly:before { content: "\e231"; } .glyphicon-ice-lolly-tasted:before { content: "\e232"; } .glyphicon-education:before { content: "\e233"; } .glyphicon-option-horizontal:before { content: "\e234"; } .glyphicon-option-vertical:before { content: "\e235"; } .glyphicon-menu-hamburger:before { content: "\e236"; } .glyphicon-modal-window:before { content: "\e237"; } .glyphicon-oil:before { content: "\e238"; } .glyphicon-grain:before { content: "\e239"; } .glyphicon-sunglasses:before { content: "\e240"; } .glyphicon-text-size:before { content: "\e241"; } .glyphicon-text-color:before { content: "\e242"; } .glyphicon-text-background:before { content: "\e243"; } .glyphicon-object-align-top:before { content: "\e244"; } .glyphicon-object-align-bottom:before { content: "\e245"; } .glyphicon-object-align-horizontal:before { content: "\e246"; } .glyphicon-object-align-left:before { content: "\e247"; } .glyphicon-object-align-vertical:before { content: "\e248"; } .glyphicon-object-align-right:before { content: "\e249"; } .glyphicon-triangle-right:before { content: "\e250"; } .glyphicon-triangle-left:before { content: "\e251"; } .glyphicon-triangle-bottom:before { content: "\e252"; } .glyphicon-triangle-top:before { content: "\e253"; } .glyphicon-console:before { content: "\e254"; } .glyphicon-superscript:before { content: "\e255"; } .glyphicon-subscript:before { content: "\e256"; } .glyphicon-menu-left:before { content: "\e257"; } .glyphicon-menu-right:before { content: "\e258"; } .glyphicon-menu-down:before { content: "\e259"; } .glyphicon-menu-up:before { content: "\e260"; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html { font-size: 10px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.42857143; color: #333333; background-color: #ffffff; } input, button, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; } a { color: #337ab7; text-decoration: none; } a:hover, a:focus { color: #23527c; text-decoration: underline; } a:focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } figure { margin: 0; } img { vertical-align: middle; } .img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img { display: block; max-width: 100%; height: auto; } .img-rounded { border-radius: 0px; } .img-thumbnail { padding: 4px; line-height: 1.42857143; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 0px; -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; display: inline-block; max-width: 100%; height: auto; } .img-circle { border-radius: 50%; } hr { margin-top: 20px; margin-bottom: 20px; border: 0; border-top: 1px solid #eeeeee; } .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .sr-only-focusable:active, .sr-only-focusable:focus { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; } [role="button"] { cursor: pointer; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { font-weight: normal; line-height: 1; color: #777777; } h1, .h1, h2, .h2, h3, .h3 { margin-top: 20px; margin-bottom: 10px; } h1 small, .h1 small, h2 small, .h2 small, h3 small, .h3 small, h1 .small, .h1 .small, h2 .small, .h2 .small, h3 .small, .h3 .small { font-size: 65%; } h4, .h4, h5, .h5, h6, .h6 { margin-top: 10px; margin-bottom: 10px; } h4 small, .h4 small, h5 small, .h5 small, h6 small, .h6 small, h4 .small, .h4 .small, h5 .small, .h5 .small, h6 .small, .h6 .small { font-size: 75%; } h1, .h1 { font-size: 36px; } h2, .h2 { font-size: 30px; } h3, .h3 { font-size: 24px; } h4, .h4 { font-size: 18px; } h5, .h5 { font-size: 14px; } h6, .h6 { font-size: 12px; } p { margin: 0 0 10px; } .lead { margin-bottom: 20px; font-size: 16px; font-weight: 300; line-height: 1.4; } @media (min-width: 768px) { .lead { font-size: 21px; } } small, .small { font-size: 85%; } mark, .mark { background-color: #fcf8e3; padding: .2em; } .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .text-justify { text-align: justify; } .text-nowrap { white-space: nowrap; } .text-lowercase { text-transform: lowercase; } .text-uppercase { text-transform: uppercase; } .text-capitalize { text-transform: capitalize; } .text-muted { color: #777777; } .text-primary { color: #337ab7; } a.text-primary:hover, a.text-primary:focus { color: #286090; } .text-success { color: #3c763d; } a.text-success:hover, a.text-success:focus { color: #2b542c; } .text-info { color: #31708f; } a.text-info:hover, a.text-info:focus { color: #245269; } .text-warning { color: #8a6d3b; } a.text-warning:hover, a.text-warning:focus { color: #66512c; } .text-danger { color: #a94442; } a.text-danger:hover, a.text-danger:focus { color: #843534; } .bg-primary { color: #fff; background-color: #337ab7; } a.bg-primary:hover, a.bg-primary:focus { background-color: #286090; } .bg-success { background-color: #dff0d8; } a.bg-success:hover, a.bg-success:focus { background-color: #c1e2b3; } .bg-info { background-color: #d9edf7; } a.bg-info:hover, a.bg-info:focus { background-color: #afd9ee; } .bg-warning { background-color: #fcf8e3; } a.bg-warning:hover, a.bg-warning:focus { background-color: #f7ecb5; } .bg-danger { background-color: #f2dede; } a.bg-danger:hover, a.bg-danger:focus { background-color: #e4b9b9; } .page-header { padding-bottom: 9px; margin: 40px 0 20px; border-bottom: 1px solid #eeeeee; } ul, ol { margin-top: 0; margin-bottom: 10px; } ul ul, ol ul, ul ol, ol ol { margin-bottom: 0; } .list-unstyled { padding-left: 0; list-style: none; } .list-inline { padding-left: 0; list-style: none; margin-left: -5px; } .list-inline > li { display: inline-block; padding-left: 5px; padding-right: 5px; } dl { margin-top: 0; margin-bottom: 20px; } dt, dd { line-height: 1.42857143; } dt { font-weight: bold; } dd { margin-left: 0; } @media (min-width: 768px) { .dl-horizontal dt { float: left; width: 160px; clear: left; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dl-horizontal dd { margin-left: 180px; } } abbr[title], abbr[data-original-title] { cursor: help; border-bottom: 1px dotted #777777; } .initialism { font-size: 90%; text-transform: uppercase; } blockquote { padding: 10px 20px; margin: 0 0 20px; font-size: 17.5px; border-left: 5px solid #eeeeee; } blockquote p:last-child, blockquote ul:last-child, blockquote ol:last-child { margin-bottom: 0; } blockquote footer, blockquote small, blockquote .small { display: block; font-size: 80%; line-height: 1.42857143; color: #777777; } blockquote footer:before, blockquote small:before, blockquote .small:before { content: '\2014 \00A0'; } .blockquote-reverse, blockquote.pull-right { padding-right: 15px; padding-left: 0; border-right: 5px solid #eeeeee; border-left: 0; text-align: right; } .blockquote-reverse footer:before, blockquote.pull-right footer:before, .blockquote-reverse small:before, blockquote.pull-right small:before, .blockquote-reverse .small:before, blockquote.pull-right .small:before { content: ''; } .blockquote-reverse footer:after, blockquote.pull-right footer:after, .blockquote-reverse small:after, blockquote.pull-right small:after, .blockquote-reverse .small:after, blockquote.pull-right .small:after { content: '\00A0 \2014'; } address { margin-bottom: 20px; font-style: normal; line-height: 1.42857143; } code, kbd, pre, samp { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } code { padding: 2px 4px; font-size: 90%; color: #c7254e; background-color: #f9f2f4; border-radius: 0px; } kbd { padding: 2px 4px; font-size: 90%; color: #ffffff; background-color: #333333; border-radius: 0px; -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); } kbd kbd { padding: 0; font-size: 100%; font-weight: bold; -webkit-box-shadow: none; box-shadow: none; } pre { display: block; padding: 9.5px; margin: 0 0 10px; font-size: 13px; line-height: 1.42857143; word-break: break-all; word-wrap: break-word; color: #333333; background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 0px; } pre code { padding: 0; font-size: inherit; color: inherit; white-space: pre-wrap; background-color: transparent; border-radius: 0; } .pre-scrollable { max-height: 340px; overflow-y: scroll; } .container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } @media (min-width: 768px) { .container { width: 750px; } } @media (min-width: 992px) { .container { width: 970px; } } @media (min-width: 1200px) { .container { width: 1170px; } } .container-fluid { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } .row { margin-left: -15px; margin-right: -15px; } .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; } .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { float: left; } .col-xs-12 { width: 100%; } .col-xs-11 { width: 91.66666667%; } .col-xs-10 { width: 83.33333333%; } .col-xs-9 { width: 75%; } .col-xs-8 { width: 66.66666667%; } .col-xs-7 { width: 58.33333333%; } .col-xs-6 { width: 50%; } .col-xs-5 { width: 41.66666667%; } .col-xs-4 { width: 33.33333333%; } .col-xs-3 { width: 25%; } .col-xs-2 { width: 16.66666667%; } .col-xs-1 { width: 8.33333333%; } .col-xs-pull-12 { right: 100%; } .col-xs-pull-11 { right: 91.66666667%; } .col-xs-pull-10 { right: 83.33333333%; } .col-xs-pull-9 { right: 75%; } .col-xs-pull-8 { right: 66.66666667%; } .col-xs-pull-7 { right: 58.33333333%; } .col-xs-pull-6 { right: 50%; } .col-xs-pull-5 { right: 41.66666667%; } .col-xs-pull-4 { right: 33.33333333%; } .col-xs-pull-3 { right: 25%; } .col-xs-pull-2 { right: 16.66666667%; } .col-xs-pull-1 { right: 8.33333333%; } .col-xs-pull-0 { right: auto; } .col-xs-push-12 { left: 100%; } .col-xs-push-11 { left: 91.66666667%; } .col-xs-push-10 { left: 83.33333333%; } .col-xs-push-9 { left: 75%; } .col-xs-push-8 { left: 66.66666667%; } .col-xs-push-7 { left: 58.33333333%; } .col-xs-push-6 { left: 50%; } .col-xs-push-5 { left: 41.66666667%; } .col-xs-push-4 { left: 33.33333333%; } .col-xs-push-3 { left: 25%; } .col-xs-push-2 { left: 16.66666667%; } .col-xs-push-1 { left: 8.33333333%; } .col-xs-push-0 { left: auto; } .col-xs-offset-12 { margin-left: 100%; } .col-xs-offset-11 { margin-left: 91.66666667%; } .col-xs-offset-10 { margin-left: 83.33333333%; } .col-xs-offset-9 { margin-left: 75%; } .col-xs-offset-8 { margin-left: 66.66666667%; } .col-xs-offset-7 { margin-left: 58.33333333%; } .col-xs-offset-6 { margin-left: 50%; } .col-xs-offset-5 { margin-left: 41.66666667%; } .col-xs-offset-4 { margin-left: 33.33333333%; } .col-xs-offset-3 { margin-left: 25%; } .col-xs-offset-2 { margin-left: 16.66666667%; } .col-xs-offset-1 { margin-left: 8.33333333%; } .col-xs-offset-0 { margin-left: 0%; } @media (min-width: 768px) { .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { float: left; } .col-sm-12 { width: 100%; } .col-sm-11 { width: 91.66666667%; } .col-sm-10 { width: 83.33333333%; } .col-sm-9 { width: 75%; } .col-sm-8 { width: 66.66666667%; } .col-sm-7 { width: 58.33333333%; } .col-sm-6 { width: 50%; } .col-sm-5 { width: 41.66666667%; } .col-sm-4 { width: 33.33333333%; } .col-sm-3 { width: 25%; } .col-sm-2 { width: 16.66666667%; } .col-sm-1 { width: 8.33333333%; } .col-sm-pull-12 { right: 100%; } .col-sm-pull-11 { right: 91.66666667%; } .col-sm-pull-10 { right: 83.33333333%; } .col-sm-pull-9 { right: 75%; } .col-sm-pull-8 { right: 66.66666667%; } .col-sm-pull-7 { right: 58.33333333%; } .col-sm-pull-6 { right: 50%; } .col-sm-pull-5 { right: 41.66666667%; } .col-sm-pull-4 { right: 33.33333333%; } .col-sm-pull-3 { right: 25%; } .col-sm-pull-2 { right: 16.66666667%; } .col-sm-pull-1 { right: 8.33333333%; } .col-sm-pull-0 { right: auto; } .col-sm-push-12 { left: 100%; } .col-sm-push-11 { left: 91.66666667%; } .col-sm-push-10 { left: 83.33333333%; } .col-sm-push-9 { left: 75%; } .col-sm-push-8 { left: 66.66666667%; } .col-sm-push-7 { left: 58.33333333%; } .col-sm-push-6 { left: 50%; } .col-sm-push-5 { left: 41.66666667%; } .col-sm-push-4 { left: 33.33333333%; } .col-sm-push-3 { left: 25%; } .col-sm-push-2 { left: 16.66666667%; } .col-sm-push-1 { left: 8.33333333%; } .col-sm-push-0 { left: auto; } .col-sm-offset-12 { margin-left: 100%; } .col-sm-offset-11 { margin-left: 91.66666667%; } .col-sm-offset-10 { margin-left: 83.33333333%; } .col-sm-offset-9 { margin-left: 75%; } .col-sm-offset-8 { margin-left: 66.66666667%; } .col-sm-offset-7 { margin-left: 58.33333333%; } .col-sm-offset-6 { margin-left: 50%; } .col-sm-offset-5 { margin-left: 41.66666667%; } .col-sm-offset-4 { margin-left: 33.33333333%; } .col-sm-offset-3 { margin-left: 25%; } .col-sm-offset-2 { margin-left: 16.66666667%; } .col-sm-offset-1 { margin-left: 8.33333333%; } .col-sm-offset-0 { margin-left: 0%; } } @media (min-width: 992px) { .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { float: left; } .col-md-12 { width: 100%; } .col-md-11 { width: 91.66666667%; } .col-md-10 { width: 83.33333333%; } .col-md-9 { width: 75%; } .col-md-8 { width: 66.66666667%; } .col-md-7 { width: 58.33333333%; } .col-md-6 { width: 50%; } .col-md-5 { width: 41.66666667%; } .col-md-4 { width: 33.33333333%; } .col-md-3 { width: 25%; } .col-md-2 { width: 16.66666667%; } .col-md-1 { width: 8.33333333%; } .col-md-pull-12 { right: 100%; } .col-md-pull-11 { right: 91.66666667%; } .col-md-pull-10 { right: 83.33333333%; } .col-md-pull-9 { right: 75%; } .col-md-pull-8 { right: 66.66666667%; } .col-md-pull-7 { right: 58.33333333%; } .col-md-pull-6 { right: 50%; } .col-md-pull-5 { right: 41.66666667%; } .col-md-pull-4 { right: 33.33333333%; } .col-md-pull-3 { right: 25%; } .col-md-pull-2 { right: 16.66666667%; } .col-md-pull-1 { right: 8.33333333%; } .col-md-pull-0 { right: auto; } .col-md-push-12 { left: 100%; } .col-md-push-11 { left: 91.66666667%; } .col-md-push-10 { left: 83.33333333%; } .col-md-push-9 { left: 75%; } .col-md-push-8 { left: 66.66666667%; } .col-md-push-7 { left: 58.33333333%; } .col-md-push-6 { left: 50%; } .col-md-push-5 { left: 41.66666667%; } .col-md-push-4 { left: 33.33333333%; } .col-md-push-3 { left: 25%; } .col-md-push-2 { left: 16.66666667%; } .col-md-push-1 { left: 8.33333333%; } .col-md-push-0 { left: auto; } .col-md-offset-12 { margin-left: 100%; } .col-md-offset-11 { margin-left: 91.66666667%; } .col-md-offset-10 { margin-left: 83.33333333%; } .col-md-offset-9 { margin-left: 75%; } .col-md-offset-8 { margin-left: 66.66666667%; } .col-md-offset-7 { margin-left: 58.33333333%; } .col-md-offset-6 { margin-left: 50%; } .col-md-offset-5 { margin-left: 41.66666667%; } .col-md-offset-4 { margin-left: 33.33333333%; } .col-md-offset-3 { margin-left: 25%; } .col-md-offset-2 { margin-left: 16.66666667%; } .col-md-offset-1 { margin-left: 8.33333333%; } .col-md-offset-0 { margin-left: 0%; } } @media (min-width: 1200px) { .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { float: left; } .col-lg-12 { width: 100%; } .col-lg-11 { width: 91.66666667%; } .col-lg-10 { width: 83.33333333%; } .col-lg-9 { width: 75%; } .col-lg-8 { width: 66.66666667%; } .col-lg-7 { width: 58.33333333%; } .col-lg-6 { width: 50%; } .col-lg-5 { width: 41.66666667%; } .col-lg-4 { width: 33.33333333%; } .col-lg-3 { width: 25%; } .col-lg-2 { width: 16.66666667%; } .col-lg-1 { width: 8.33333333%; } .col-lg-pull-12 { right: 100%; } .col-lg-pull-11 { right: 91.66666667%; } .col-lg-pull-10 { right: 83.33333333%; } .col-lg-pull-9 { right: 75%; } .col-lg-pull-8 { right: 66.66666667%; } .col-lg-pull-7 { right: 58.33333333%; } .col-lg-pull-6 { right: 50%; } .col-lg-pull-5 { right: 41.66666667%; } .col-lg-pull-4 { right: 33.33333333%; } .col-lg-pull-3 { right: 25%; } .col-lg-pull-2 { right: 16.66666667%; } .col-lg-pull-1 { right: 8.33333333%; } .col-lg-pull-0 { right: auto; } .col-lg-push-12 { left: 100%; } .col-lg-push-11 { left: 91.66666667%; } .col-lg-push-10 { left: 83.33333333%; } .col-lg-push-9 { left: 75%; } .col-lg-push-8 { left: 66.66666667%; } .col-lg-push-7 { left: 58.33333333%; } .col-lg-push-6 { left: 50%; } .col-lg-push-5 { left: 41.66666667%; } .col-lg-push-4 { left: 33.33333333%; } .col-lg-push-3 { left: 25%; } .col-lg-push-2 { left: 16.66666667%; } .col-lg-push-1 { left: 8.33333333%; } .col-lg-push-0 { left: auto; } .col-lg-offset-12 { margin-left: 100%; } .col-lg-offset-11 { margin-left: 91.66666667%; } .col-lg-offset-10 { margin-left: 83.33333333%; } .col-lg-offset-9 { margin-left: 75%; } .col-lg-offset-8 { margin-left: 66.66666667%; } .col-lg-offset-7 { margin-left: 58.33333333%; } .col-lg-offset-6 { margin-left: 50%; } .col-lg-offset-5 { margin-left: 41.66666667%; } .col-lg-offset-4 { margin-left: 33.33333333%; } .col-lg-offset-3 { margin-left: 25%; } .col-lg-offset-2 { margin-left: 16.66666667%; } .col-lg-offset-1 { margin-left: 8.33333333%; } .col-lg-offset-0 { margin-left: 0%; } } table { background-color: transparent; } caption { padding-top: 8px; padding-bottom: 8px; color: #777777; text-align: left; } th { text-align: left; } .table { width: 100%; max-width: 100%; margin-bottom: 20px; } .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { padding: 8px; line-height: 1.42857143; vertical-align: top; border-top: 1px solid #dddddd; } .table > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid #dddddd; } .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td { border-top: 0; } .table > tbody + tbody { border-top: 2px solid #dddddd; } .table .table { background-color: #ffffff; } .table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td { padding: 5px; } .table-bordered { border: 1px solid #dddddd; } .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td { border: 1px solid #dddddd; } .table-bordered > thead > tr > th, .table-bordered > thead > tr > td { border-bottom-width: 2px; } .table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9; } .table-hover > tbody > tr:hover { background-color: #f5f5f5; } table col[class*="col-"] { position: static; float: none; display: table-column; } table td[class*="col-"], table th[class*="col-"] { position: static; float: none; display: table-cell; } .table > thead > tr > td.active, .table > tbody > tr > td.active, .table > tfoot > tr > td.active, .table > thead > tr > th.active, .table > tbody > tr > th.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > tbody > tr.active > td, .table > tfoot > tr.active > td, .table > thead > tr.active > th, .table > tbody > tr.active > th, .table > tfoot > tr.active > th { background-color: #f5f5f5; } .table-hover > tbody > tr > td.active:hover, .table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr.active:hover > th { background-color: #e8e8e8; } .table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th { background-color: #dff0d8; } .table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr.success:hover > th { background-color: #d0e9c6; } .table > thead > tr > td.info, .table > tbody > tr > td.info, .table > tfoot > tr > td.info, .table > thead > tr > th.info, .table > tbody > tr > th.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > tbody > tr.info > td, .table > tfoot > tr.info > td, .table > thead > tr.info > th, .table > tbody > tr.info > th, .table > tfoot > tr.info > th { background-color: #d9edf7; } .table-hover > tbody > tr > td.info:hover, .table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr.info:hover > th { background-color: #c4e3f3; } .table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th { background-color: #fcf8e3; } .table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr.warning:hover > th { background-color: #faf2cc; } .table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th { background-color: #f2dede; } .table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr.danger:hover > th { background-color: #ebcccc; } .table-responsive { overflow-x: auto; min-height: 0.01%; } @media screen and (max-width: 767px) { .table-responsive { width: 100%; margin-bottom: 15px; overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; border: 1px solid #dddddd; } .table-responsive > .table { margin-bottom: 0; } .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td { white-space: nowrap; } .table-responsive > .table-bordered { border: 0; } .table-responsive > .table-bordered > thead > tr > th:first-child, .table-responsive > .table-bordered > tbody > tr > th:first-child, .table-responsive > .table-bordered > tfoot > tr > th:first-child, .table-responsive > .table-bordered > thead > tr > td:first-child, .table-responsive > .table-bordered > tbody > tr > td:first-child, .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; } .table-responsive > .table-bordered > thead > tr > th:last-child, .table-responsive > .table-bordered > tbody > tr > th:last-child, .table-responsive > .table-bordered > tfoot > tr > th:last-child, .table-responsive > .table-bordered > thead > tr > td:last-child, .table-responsive > .table-bordered > tbody > tr > td:last-child, .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; } .table-responsive > .table-bordered > tbody > tr:last-child > th, .table-responsive > .table-bordered > tfoot > tr:last-child > th, .table-responsive > .table-bordered > tbody > tr:last-child > td, .table-responsive > .table-bordered > tfoot > tr:last-child > td { border-bottom: 0; } } fieldset { padding: 0; margin: 0; border: 0; min-width: 0; } legend { display: block; width: 100%; padding: 0; margin-bottom: 20px; font-size: 21px; line-height: inherit; color: #333333; border: 0; border-bottom: 1px solid #e5e5e5; } label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: bold; } input[type="search"] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } input[type="radio"], input[type="checkbox"] { margin: 4px 0 0; margin-top: 1px \9; line-height: normal; } input[type="file"] { display: block; } input[type="range"] { display: block; width: 100%; } select[multiple], select[size] { height: auto; } input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } output { display: block; padding-top: 7px; font-size: 14px; line-height: 1.42857143; color: #555555; } .form-control { display: block; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; color: #555555; background-color: #ffffff; background-image: none; border: 1px solid #cccccc; border-radius: 0px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; } .form-control:focus { border-color: #66afe9; outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); } .form-control::-moz-placeholder { color: #999999; opacity: 1; } .form-control:-ms-input-placeholder { color: #999999; } .form-control::-webkit-input-placeholder { color: #999999; } .form-control::-ms-expand { border: 0; background-color: transparent; } .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { background-color: #eeeeee; opacity: 1; } .form-control[disabled], fieldset[disabled] .form-control { cursor: not-allowed; } textarea.form-control { height: auto; } input[type="search"] { -webkit-appearance: none; } @media screen and (-webkit-min-device-pixel-ratio: 0) { input[type="date"].form-control, input[type="time"].form-control, input[type="datetime-local"].form-control, input[type="month"].form-control { line-height: 34px; } input[type="date"].input-sm, input[type="time"].input-sm, input[type="datetime-local"].input-sm, input[type="month"].input-sm, .input-group-sm input[type="date"], .input-group-sm input[type="time"], .input-group-sm input[type="datetime-local"], .input-group-sm input[type="month"] { line-height: 30px; } input[type="date"].input-lg, input[type="time"].input-lg, input[type="datetime-local"].input-lg, input[type="month"].input-lg, .input-group-lg input[type="date"], .input-group-lg input[type="time"], .input-group-lg input[type="datetime-local"], .input-group-lg input[type="month"] { line-height: 46px; } } .form-group { margin-bottom: 15px; } .radio, .checkbox { position: relative; display: block; margin-top: 10px; margin-bottom: 10px; } .radio label, .checkbox label { min-height: 20px; padding-left: 20px; margin-bottom: 0; font-weight: normal; cursor: pointer; } .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] { position: absolute; margin-left: -20px; margin-top: 4px \9; } .radio + .radio, .checkbox + .checkbox { margin-top: -5px; } .radio-inline, .checkbox-inline { position: relative; display: inline-block; padding-left: 20px; margin-bottom: 0; vertical-align: middle; font-weight: normal; cursor: pointer; } .radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline { margin-top: 0; margin-left: 10px; } input[type="radio"][disabled], input[type="checkbox"][disabled], input[type="radio"].disabled, input[type="checkbox"].disabled, fieldset[disabled] input[type="radio"], fieldset[disabled] input[type="checkbox"] { cursor: not-allowed; } .radio-inline.disabled, .checkbox-inline.disabled, fieldset[disabled] .radio-inline, fieldset[disabled] .checkbox-inline { cursor: not-allowed; } .radio.disabled label, .checkbox.disabled label, fieldset[disabled] .radio label, fieldset[disabled] .checkbox label { cursor: not-allowed; } .form-control-static { padding-top: 7px; padding-bottom: 7px; margin-bottom: 0; min-height: 34px; } .form-control-static.input-lg, .form-control-static.input-sm { padding-left: 0; padding-right: 0; } .input-sm { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 0px; } select.input-sm { height: 30px; line-height: 30px; } textarea.input-sm, select[multiple].input-sm { height: auto; } .form-group-sm .form-control { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 0px; } .form-group-sm select.form-control { height: 30px; line-height: 30px; } .form-group-sm textarea.form-control, .form-group-sm select[multiple].form-control { height: auto; } .form-group-sm .form-control-static { height: 30px; min-height: 32px; padding: 6px 10px; font-size: 12px; line-height: 1.5; } .input-lg { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 0px; } select.input-lg { height: 46px; line-height: 46px; } textarea.input-lg, select[multiple].input-lg { height: auto; } .form-group-lg .form-control { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 0px; } .form-group-lg select.form-control { height: 46px; line-height: 46px; } .form-group-lg textarea.form-control, .form-group-lg select[multiple].form-control { height: auto; } .form-group-lg .form-control-static { height: 46px; min-height: 38px; padding: 11px 16px; font-size: 18px; line-height: 1.3333333; } .has-feedback { position: relative; } .has-feedback .form-control { padding-right: 42.5px; } .form-control-feedback { position: absolute; top: 0; right: 0; z-index: 2; display: block; width: 34px; height: 34px; line-height: 34px; text-align: center; pointer-events: none; } .input-lg + .form-control-feedback, .input-group-lg + .form-control-feedback, .form-group-lg .form-control + .form-control-feedback { width: 46px; height: 46px; line-height: 46px; } .input-sm + .form-control-feedback, .input-group-sm + .form-control-feedback, .form-group-sm .form-control + .form-control-feedback { width: 30px; height: 30px; line-height: 30px; } .has-success .help-block, .has-success .control-label, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline, .has-success.radio label, .has-success.checkbox label, .has-success.radio-inline label, .has-success.checkbox-inline label { color: #3c763d; } .has-success .form-control { border-color: #3c763d; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-success .form-control:focus { border-color: #2b542c; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; } .has-success .input-group-addon { color: #3c763d; border-color: #3c763d; background-color: #dff0d8; } .has-success .form-control-feedback { color: #3c763d; } .has-warning .help-block, .has-warning .control-label, .has-warning .radio, .has-warning .checkbox, .has-warning .radio-inline, .has-warning .checkbox-inline, .has-warning.radio label, .has-warning.checkbox label, .has-warning.radio-inline label, .has-warning.checkbox-inline label { color: #8a6d3b; } .has-warning .form-control { border-color: #8a6d3b; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-warning .form-control:focus { border-color: #66512c; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; } .has-warning .input-group-addon { color: #8a6d3b; border-color: #8a6d3b; background-color: #fcf8e3; } .has-warning .form-control-feedback { color: #8a6d3b; } .has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label { color: #a94442; } .has-error .form-control { border-color: #a94442; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-error .form-control:focus { border-color: #843534; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; } .has-error .input-group-addon { color: #a94442; border-color: #a94442; background-color: #f2dede; } .has-error .form-control-feedback { color: #a94442; } .has-feedback label ~ .form-control-feedback { top: 25px; } .has-feedback label.sr-only ~ .form-control-feedback { top: 0; } .help-block { display: block; margin-top: 5px; margin-bottom: 10px; color: #737373; } @media (min-width: 768px) { .form-inline .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; } .form-inline .form-control { display: inline-block; width: auto; vertical-align: middle; } .form-inline .form-control-static { display: inline-block; } .form-inline .input-group { display: inline-table; vertical-align: middle; } .form-inline .input-group .input-group-addon, .form-inline .input-group .input-group-btn, .form-inline .input-group .form-control { width: auto; } .form-inline .input-group > .form-control { width: 100%; } .form-inline .control-label { margin-bottom: 0; vertical-align: middle; } .form-inline .radio, .form-inline .checkbox { display: inline-block; margin-top: 0; margin-bottom: 0; vertical-align: middle; } .form-inline .radio label, .form-inline .checkbox label { padding-left: 0; } .form-inline .radio input[type="radio"], .form-inline .checkbox input[type="checkbox"] { position: relative; margin-left: 0; } .form-inline .has-feedback .form-control-feedback { top: 0; } } .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline { margin-top: 0; margin-bottom: 0; padding-top: 7px; } .form-horizontal .radio, .form-horizontal .checkbox { min-height: 27px; } .form-horizontal .form-group { margin-left: -15px; margin-right: -15px; } @media (min-width: 768px) { .form-horizontal .control-label { text-align: right; margin-bottom: 0; padding-top: 7px; } } .form-horizontal .has-feedback .form-control-feedback { right: 15px; } @media (min-width: 768px) { .form-horizontal .form-group-lg .control-label { padding-top: 11px; font-size: 18px; } } @media (min-width: 768px) { .form-horizontal .form-group-sm .control-label { padding-top: 6px; font-size: 12px; } } .btn { display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; border-radius: 0px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } .btn:hover, .btn:focus, .btn.focus { color: #333333; text-decoration: none; } .btn:active, .btn.active { outline: 0; background-image: none; -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } .btn.disabled, .btn[disabled], fieldset[disabled] .btn { cursor: not-allowed; opacity: 0.65; filter: alpha(opacity=65); -webkit-box-shadow: none; box-shadow: none; } a.btn.disabled, fieldset[disabled] a.btn { pointer-events: none; } .btn-default { color: #333333; background-color: #ffffff; border-color: #cccccc; } .btn-default:focus, .btn-default.focus { color: #333333; background-color: #e6e6e6; border-color: #8c8c8c; } .btn-default:hover { color: #333333; background-color: #e6e6e6; border-color: #adadad; } .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { color: #333333; background-color: #e6e6e6; border-color: #adadad; } .btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover, .btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus { color: #333333; background-color: #d4d4d4; border-color: #8c8c8c; } .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { background-image: none; } .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled.focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default.focus { background-color: #ffffff; border-color: #cccccc; } .btn-default .badge { color: #ffffff; background-color: #333333; } .btn-primary { color: #ffffff; background-color: #337ab7; border-color: #2e6da4; } .btn-primary:focus, .btn-primary.focus { color: #ffffff; background-color: #286090; border-color: #122b40; } .btn-primary:hover { color: #ffffff; background-color: #286090; border-color: #204d74; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { color: #ffffff; background-color: #286090; border-color: #204d74; } .btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus { color: #ffffff; background-color: #204d74; border-color: #122b40; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { background-image: none; } .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus { background-color: #337ab7; border-color: #2e6da4; } .btn-primary .badge { color: #337ab7; background-color: #ffffff; } .btn-success { color: #ffffff; background-color: #5cb85c; border-color: #4cae4c; } .btn-success:focus, .btn-success.focus { color: #ffffff; background-color: #449d44; border-color: #255625; } .btn-success:hover { color: #ffffff; background-color: #449d44; border-color: #398439; } .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { color: #ffffff; background-color: #449d44; border-color: #398439; } .btn-success:active:hover, .btn-success.active:hover, .open > .dropdown-toggle.btn-success:hover, .btn-success:active:focus, .btn-success.active:focus, .open > .dropdown-toggle.btn-success:focus, .btn-success:active.focus, .btn-success.active.focus, .open > .dropdown-toggle.btn-success.focus { color: #ffffff; background-color: #398439; border-color: #255625; } .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { background-image: none; } .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled.focus, .btn-success[disabled].focus, fieldset[disabled] .btn-success.focus { background-color: #5cb85c; border-color: #4cae4c; } .btn-success .badge { color: #5cb85c; background-color: #ffffff; } .btn-info { color: #ffffff; background-color: #5bc0de; border-color: #46b8da; } .btn-info:focus, .btn-info.focus { color: #ffffff; background-color: #31b0d5; border-color: #1b6d85; } .btn-info:hover { color: #ffffff; background-color: #31b0d5; border-color: #269abc; } .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { color: #ffffff; background-color: #31b0d5; border-color: #269abc; } .btn-info:active:hover, .btn-info.active:hover, .open > .dropdown-toggle.btn-info:hover, .btn-info:active:focus, .btn-info.active:focus, .open > .dropdown-toggle.btn-info:focus, .btn-info:active.focus, .btn-info.active.focus, .open > .dropdown-toggle.btn-info.focus { color: #ffffff; background-color: #269abc; border-color: #1b6d85; } .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { background-image: none; } .btn-info.disabled:hover, .btn-info[disabled]:hover, fieldset[disabled] .btn-info:hover, .btn-info.disabled:focus, .btn-info[disabled]:focus, fieldset[disabled] .btn-info:focus, .btn-info.disabled.focus, .btn-info[disabled].focus, fieldset[disabled] .btn-info.focus { background-color: #5bc0de; border-color: #46b8da; } .btn-info .badge { color: #5bc0de; background-color: #ffffff; } .btn-warning { color: #ffffff; background-color: #f0ad4e; border-color: #eea236; } .btn-warning:focus, .btn-warning.focus { color: #ffffff; background-color: #ec971f; border-color: #985f0d; } .btn-warning:hover { color: #ffffff; background-color: #ec971f; border-color: #d58512; } .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { color: #ffffff; background-color: #ec971f; border-color: #d58512; } .btn-warning:active:hover, .btn-warning.active:hover, .open > .dropdown-toggle.btn-warning:hover, .btn-warning:active:focus, .btn-warning.active:focus, .open > .dropdown-toggle.btn-warning:focus, .btn-warning:active.focus, .btn-warning.active.focus, .open > .dropdown-toggle.btn-warning.focus { color: #ffffff; background-color: #d58512; border-color: #985f0d; } .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { background-image: none; } .btn-warning.disabled:hover, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning:hover, .btn-warning.disabled:focus, .btn-warning[disabled]:focus, fieldset[disabled] .btn-warning:focus, .btn-warning.disabled.focus, .btn-warning[disabled].focus, fieldset[disabled] .btn-warning.focus { background-color: #f0ad4e; border-color: #eea236; } .btn-warning .badge { color: #f0ad4e; background-color: #ffffff; } .btn-danger { color: #ffffff; background-color: #d9534f; border-color: #d43f3a; } .btn-danger:focus, .btn-danger.focus { color: #ffffff; background-color: #c9302c; border-color: #761c19; } .btn-danger:hover { color: #ffffff; background-color: #c9302c; border-color: #ac2925; } .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { color: #ffffff; background-color: #c9302c; border-color: #ac2925; } .btn-danger:active:hover, .btn-danger.active:hover, .open > .dropdown-toggle.btn-danger:hover, .btn-danger:active:focus, .btn-danger.active:focus, .open > .dropdown-toggle.btn-danger:focus, .btn-danger:active.focus, .btn-danger.active.focus, .open > .dropdown-toggle.btn-danger.focus { color: #ffffff; background-color: #ac2925; border-color: #761c19; } .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { background-image: none; } .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled.focus, .btn-danger[disabled].focus, fieldset[disabled] .btn-danger.focus { background-color: #d9534f; border-color: #d43f3a; } .btn-danger .badge { color: #d9534f; background-color: #ffffff; } .btn-link { color: #337ab7; font-weight: normal; border-radius: 0; } .btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link { background-color: transparent; -webkit-box-shadow: none; box-shadow: none; } .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { border-color: transparent; } .btn-link:hover, .btn-link:focus { color: #23527c; text-decoration: underline; background-color: transparent; } .btn-link[disabled]:hover, fieldset[disabled] .btn-link:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:focus { color: #777777; text-decoration: none; } .btn-lg, .btn-group-lg > .btn { padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 0px; } .btn-sm, .btn-group-sm > .btn { padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 0px; } .btn-xs, .btn-group-xs > .btn { padding: 1px 5px; font-size: 12px; line-height: 1.5; border-radius: 0px; } .btn-block { display: block; width: 100%; } .btn-block + .btn-block { margin-top: 5px; } input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { width: 100%; } .fade { opacity: 0; -webkit-transition: opacity 0.15s linear; -o-transition: opacity 0.15s linear; transition: opacity 0.15s linear; } .fade.in { opacity: 1; } .collapse { display: none; } .collapse.in { display: block; } tr.collapse.in { display: table-row; } tbody.collapse.in { display: table-row-group; } .collapsing { position: relative; height: 0; overflow: hidden; -webkit-transition-property: height, visibility; -o-transition-property: height, visibility; transition-property: height, visibility; -webkit-transition-duration: 0.35s; -o-transition-duration: 0.35s; transition-duration: 0.35s; -webkit-transition-timing-function: ease; -o-transition-timing-function: ease; transition-timing-function: ease; } .caret { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; border-top: 4px dashed; border-top: 4px solid \9; border-right: 4px solid transparent; border-left: 4px solid transparent; } .dropup, .dropdown { position: relative; } .dropdown-toggle:focus { outline: 0; } .dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; float: left; min-width: 160px; padding: 5px 0; margin: 2px 0 0; list-style: none; font-size: 14px; text-align: left; background-color: #ffffff; border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 0px; -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); -webkit-background-clip: padding-box; background-clip: padding-box; } .dropdown-menu.pull-right { right: 0; left: auto; } .dropdown-menu .divider { height: 1px; margin: 9px 0; overflow: hidden; background-color: #e5e5e5; } .dropdown-menu > li > a { display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.42857143; color: #333333; white-space: nowrap; } .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { text-decoration: none; color: #262626; background-color: #f5f5f5; } .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { color: #ffffff; text-decoration: none; outline: 0; background-color: #337ab7; } .dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { color: #777777; } .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { text-decoration: none; background-color: transparent; background-image: none; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); cursor: not-allowed; } .open > .dropdown-menu { display: block; } .open > a { outline: 0; } .dropdown-menu-right { left: auto; right: 0; } .dropdown-menu-left { left: 0; right: auto; } .dropdown-header { display: block; padding: 3px 20px; font-size: 12px; line-height: 1.42857143; color: #777777; white-space: nowrap; } .dropdown-backdrop { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 990; } .pull-right > .dropdown-menu { right: 0; left: auto; } .dropup .caret, .navbar-fixed-bottom .dropdown .caret { border-top: 0; border-bottom: 4px dashed; border-bottom: 4px solid \9; content: ""; } .dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu { top: auto; bottom: 100%; margin-bottom: 2px; } @media (min-width: 768px) { .navbar-right .dropdown-menu { left: auto; right: 0; } .navbar-right .dropdown-menu-left { left: 0; right: auto; } } .btn-group, .btn-group-vertical { position: relative; display: inline-block; vertical-align: middle; } .btn-group > .btn, .btn-group-vertical > .btn { position: relative; float: left; } .btn-group > .btn:hover, .btn-group-vertical > .btn:hover, .btn-group > .btn:focus, .btn-group-vertical > .btn:focus, .btn-group > .btn:active, .btn-group-vertical > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn.active { z-index: 2; } .btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group { margin-left: -1px; } .btn-toolbar { margin-left: -5px; } .btn-toolbar .btn, .btn-toolbar .btn-group, .btn-toolbar .input-group { float: left; } .btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group { margin-left: 5px; } .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { border-radius: 0; } .btn-group > .btn:first-child { margin-left: 0; } .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { border-bottom-right-radius: 0; border-top-right-radius: 0; } .btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) { border-bottom-left-radius: 0; border-top-left-radius: 0; } .btn-group > .btn-group { float: left; } .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0; } .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-bottom-right-radius: 0; border-top-right-radius: 0; } .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { border-bottom-left-radius: 0; border-top-left-radius: 0; } .btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { outline: 0; } .btn-group > .btn + .dropdown-toggle { padding-left: 8px; padding-right: 8px; } .btn-group > .btn-lg + .dropdown-toggle { padding-left: 12px; padding-right: 12px; } .btn-group.open .dropdown-toggle { -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } .btn-group.open .dropdown-toggle.btn-link { -webkit-box-shadow: none; box-shadow: none; } .btn .caret { margin-left: 0; } .btn-lg .caret { border-width: 5px 5px 0; border-bottom-width: 0; } .dropup .btn-lg .caret { border-width: 0 5px 5px; } .btn-group-vertical > .btn, .btn-group-vertical > .btn-group, .btn-group-vertical > .btn-group > .btn { display: block; float: none; width: 100%; max-width: 100%; } .btn-group-vertical > .btn-group > .btn { float: none; } .btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group { margin-top: -1px; margin-left: 0; } .btn-group-vertical > .btn:not(:first-child):not(:last-child) { border-radius: 0; } .btn-group-vertical > .btn:first-child:not(:last-child) { border-top-right-radius: 0px; border-top-left-radius: 0px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn:last-child:not(:first-child) { border-top-right-radius: 0; border-top-left-radius: 0; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; } .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0; } .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } .btn-group-justified { display: table; width: 100%; table-layout: fixed; border-collapse: separate; } .btn-group-justified > .btn, .btn-group-justified > .btn-group { float: none; display: table-cell; width: 1%; } .btn-group-justified > .btn-group .btn { width: 100%; } .btn-group-justified > .btn-group .dropdown-menu { left: auto; } [data-toggle="buttons"] > .btn input[type="radio"], [data-toggle="buttons"] > .btn-group > .btn input[type="radio"], [data-toggle="buttons"] > .btn input[type="checkbox"], [data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; } .input-group { position: relative; display: table; border-collapse: separate; } .input-group[class*="col-"] { float: none; padding-left: 0; padding-right: 0; } .input-group .form-control { position: relative; z-index: 2; float: left; width: 100%; margin-bottom: 0; } .input-group .form-control:focus { z-index: 3; } .input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 0px; } select.input-group-lg > .form-control, select.input-group-lg > .input-group-addon, select.input-group-lg > .input-group-btn > .btn { height: 46px; line-height: 46px; } textarea.input-group-lg > .form-control, textarea.input-group-lg > .input-group-addon, textarea.input-group-lg > .input-group-btn > .btn, select[multiple].input-group-lg > .form-control, select[multiple].input-group-lg > .input-group-addon, select[multiple].input-group-lg > .input-group-btn > .btn { height: auto; } .input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 0px; } select.input-group-sm > .form-control, select.input-group-sm > .input-group-addon, select.input-group-sm > .input-group-btn > .btn { height: 30px; line-height: 30px; } textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group-addon, textarea.input-group-sm > .input-group-btn > .btn, select[multiple].input-group-sm > .form-control, select[multiple].input-group-sm > .input-group-addon, select[multiple].input-group-sm > .input-group-btn > .btn { height: auto; } .input-group-addon, .input-group-btn, .input-group .form-control { display: table-cell; } .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) { border-radius: 0; } .input-group-addon, .input-group-btn { width: 1%; white-space: nowrap; vertical-align: middle; } .input-group-addon { padding: 6px 12px; font-size: 14px; font-weight: normal; line-height: 1; color: #555555; text-align: center; background-color: #eeeeee; border: 1px solid #cccccc; border-radius: 0px; } .input-group-addon.input-sm { padding: 5px 10px; font-size: 12px; border-radius: 0px; } .input-group-addon.input-lg { padding: 10px 16px; font-size: 18px; border-radius: 0px; } .input-group-addon input[type="radio"], .input-group-addon input[type="checkbox"] { margin-top: 0; } .input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { border-bottom-right-radius: 0; border-top-right-radius: 0; } .input-group-addon:first-child { border-right: 0; } .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { border-bottom-left-radius: 0; border-top-left-radius: 0; } .input-group-addon:last-child { border-left: 0; } .input-group-btn { position: relative; font-size: 0; white-space: nowrap; } .input-group-btn > .btn { position: relative; } .input-group-btn > .btn + .btn { margin-left: -1px; } .input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active { z-index: 2; } .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group { margin-right: -1px; } .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group { z-index: 2; margin-left: -1px; } .nav { margin-bottom: 0; padding-left: 0; list-style: none; } .nav > li { position: relative; display: block; } .nav > li > a { position: relative; display: block; padding: 10px 15px; } .nav > li > a:hover, .nav > li > a:focus { text-decoration: none; background-color: #eeeeee; } .nav > li.disabled > a { color: #777777; } .nav > li.disabled > a:hover, .nav > li.disabled > a:focus { color: #777777; text-decoration: none; background-color: transparent; cursor: not-allowed; } .nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color: #eeeeee; border-color: #337ab7; } .nav .nav-divider { height: 1px; margin: 9px 0; overflow: hidden; background-color: #e5e5e5; } .nav > li > a > img { max-width: none; } .nav-tabs { border-bottom: 1px solid #dddddd; } .nav-tabs > li { float: left; margin-bottom: -1px; } .nav-tabs > li > a { margin-right: 2px; line-height: 1.42857143; border: 1px solid transparent; border-radius: 0px 0px 0 0; } .nav-tabs > li > a:hover { border-color: #eeeeee #eeeeee #dddddd; } .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: #555555; background-color: #ffffff; border: 1px solid #dddddd; border-bottom-color: transparent; cursor: default; } .nav-tabs.nav-justified { width: 100%; border-bottom: 0; } .nav-tabs.nav-justified > li { float: none; } .nav-tabs.nav-justified > li > a { text-align: center; margin-bottom: 5px; } .nav-tabs.nav-justified > .dropdown .dropdown-menu { top: auto; left: auto; } @media (min-width: 768px) { .nav-tabs.nav-justified > li { display: table-cell; width: 1%; } .nav-tabs.nav-justified > li > a { margin-bottom: 0; } } .nav-tabs.nav-justified > li > a { margin-right: 0; border-radius: 0px; } .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus { border: 1px solid #dddddd; } @media (min-width: 768px) { .nav-tabs.nav-justified > li > a { border-bottom: 1px solid #dddddd; border-radius: 0px 0px 0 0; } .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus { border-bottom-color: #ffffff; } } .nav-pills > li { float: left; } .nav-pills > li > a { border-radius: 0px; } .nav-pills > li + li { margin-left: 2px; } .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { color: #ffffff; background-color: #337ab7; } .nav-stacked > li { float: none; } .nav-stacked > li + li { margin-top: 2px; margin-left: 0; } .nav-justified { width: 100%; } .nav-justified > li { float: none; } .nav-justified > li > a { text-align: center; margin-bottom: 5px; } .nav-justified > .dropdown .dropdown-menu { top: auto; left: auto; } @media (min-width: 768px) { .nav-justified > li { display: table-cell; width: 1%; } .nav-justified > li > a { margin-bottom: 0; } } .nav-tabs-justified { border-bottom: 0; } .nav-tabs-justified > li > a { margin-right: 0; border-radius: 0px; } .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus { border: 1px solid #dddddd; } @media (min-width: 768px) { .nav-tabs-justified > li > a { border-bottom: 1px solid #dddddd; border-radius: 0px 0px 0 0; } .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus { border-bottom-color: #ffffff; } } .tab-content > .tab-pane { display: none; } .tab-content > .active { display: block; } .nav-tabs .dropdown-menu { margin-top: -1px; border-top-right-radius: 0; border-top-left-radius: 0; } .navbar { position: relative; min-height: 50px; margin-bottom: 20px; border: 1px solid transparent; } @media (min-width: 768px) { .navbar { border-radius: 0px; } } @media (min-width: 768px) { .navbar-header { float: left; } } .navbar-collapse { overflow-x: visible; padding-right: 15px; padding-left: 15px; border-top: 1px solid transparent; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); -webkit-overflow-scrolling: touch; } .navbar-collapse.in { overflow-y: auto; } @media (min-width: 768px) { .navbar-collapse { width: auto; border-top: 0; -webkit-box-shadow: none; box-shadow: none; } .navbar-collapse.collapse { display: block !important; height: auto !important; padding-bottom: 0; overflow: visible !important; } .navbar-collapse.in { overflow-y: visible; } .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { padding-left: 0; padding-right: 0; } } .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { max-height: 340px; } @media (max-device-width: 480px) and (orientation: landscape) { .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { max-height: 200px; } } .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse { margin-right: -15px; margin-left: -15px; } @media (min-width: 768px) { .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse { margin-right: 0; margin-left: 0; } } .navbar-static-top { z-index: 1000; border-width: 0 0 1px; } @media (min-width: 768px) { .navbar-static-top { border-radius: 0; } } .navbar-fixed-top, .navbar-fixed-bottom { position: fixed; right: 0; left: 0; z-index: 1030; } @media (min-width: 768px) { .navbar-fixed-top, .navbar-fixed-bottom { border-radius: 0; } } .navbar-fixed-top { top: 0; border-width: 0 0 1px; } .navbar-fixed-bottom { bottom: 0; margin-bottom: 0; border-width: 1px 0 0; } .navbar-brand { float: left; padding: 15px 15px; font-size: 18px; line-height: 20px; height: 50px; } .navbar-brand:hover, .navbar-brand:focus { text-decoration: none; } .navbar-brand > img { display: block; } @media (min-width: 768px) { .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { margin-left: -15px; } } .navbar-toggle { position: relative; float: right; margin-right: 15px; padding: 9px 10px; margin-top: 8px; margin-bottom: 8px; background-color: transparent; background-image: none; border: 1px solid transparent; border-radius: 0px; } .navbar-toggle:focus { outline: 0; } .navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; border-radius: 1px; } .navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; } @media (min-width: 768px) { .navbar-toggle { display: none; } } .navbar-nav { margin: 7.5px -15px; } .navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 20px; } @media (max-width: 767px) { .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; margin-top: 0; background-color: transparent; border: 0; -webkit-box-shadow: none; box-shadow: none; } .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header { padding: 5px 15px 5px 25px; } .navbar-nav .open .dropdown-menu > li > a { line-height: 20px; } .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus { background-image: none; } } @media (min-width: 768px) { .navbar-nav { float: left; margin: 0; } .navbar-nav > li { float: left; } .navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; } } .navbar-form { margin-left: -15px; margin-right: -15px; padding: 10px 15px; border-top: 1px solid transparent; border-bottom: 1px solid transparent; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); margin-top: 8px; margin-bottom: 8px; } @media (min-width: 768px) { .navbar-form .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; } .navbar-form .form-control { display: inline-block; width: auto; vertical-align: middle; } .navbar-form .form-control-static { display: inline-block; } .navbar-form .input-group { display: inline-table; vertical-align: middle; } .navbar-form .input-group .input-group-addon, .navbar-form .input-group .input-group-btn, .navbar-form .input-group .form-control { width: auto; } .navbar-form .input-group > .form-control { width: 100%; } .navbar-form .control-label { margin-bottom: 0; vertical-align: middle; } .navbar-form .radio, .navbar-form .checkbox { display: inline-block; margin-top: 0; margin-bottom: 0; vertical-align: middle; } .navbar-form .radio label, .navbar-form .checkbox label { padding-left: 0; } .navbar-form .radio input[type="radio"], .navbar-form .checkbox input[type="checkbox"] { position: relative; margin-left: 0; } .navbar-form .has-feedback .form-control-feedback { top: 0; } } @media (max-width: 767px) { .navbar-form .form-group { margin-bottom: 5px; } .navbar-form .form-group:last-child { margin-bottom: 0; } } @media (min-width: 768px) { .navbar-form { width: auto; border: 0; margin-left: 0; margin-right: 0; padding-top: 0; padding-bottom: 0; -webkit-box-shadow: none; box-shadow: none; } } .navbar-nav > li > .dropdown-menu { margin-top: 0; border-top-right-radius: 0; border-top-left-radius: 0; } .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { margin-bottom: 0; border-top-right-radius: 0px; border-top-left-radius: 0px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .navbar-btn { margin-top: 8px; margin-bottom: 8px; } .navbar-btn.btn-sm { margin-top: 10px; margin-bottom: 10px; } .navbar-btn.btn-xs { margin-top: 14px; margin-bottom: 14px; } .navbar-text { margin-top: 15px; margin-bottom: 15px; } @media (min-width: 768px) { .navbar-text { float: left; margin-left: 15px; margin-right: 15px; } } @media (min-width: 768px) { .navbar-left { float: left !important; } .navbar-right { float: right !important; margin-right: -15px; } .navbar-right ~ .navbar-right { margin-right: 0; } } .navbar-default { background-color: #f8f8f8; border-color: #e7e7e7; } .navbar-default .navbar-brand { color: #777777; } .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #5e5e5e; background-color: transparent; } .navbar-default .navbar-text { color: #777777; } .navbar-default .navbar-nav > li > a { color: #777777; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #333333; background-color: transparent; } .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { color: #555555; background-color: #e7e7e7; } .navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus { color: #cccccc; background-color: transparent; } .navbar-default .navbar-toggle { border-color: #dddddd; } .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: #dddddd; } .navbar-default .navbar-toggle .icon-bar { background-color: #888888; } .navbar-default .navbar-collapse, .navbar-default .navbar-form { border-color: #e7e7e7; } .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { background-color: #e7e7e7; color: #555555; } @media (max-width: 767px) { .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #777777; } .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { color: #333333; background-color: transparent; } .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { color: #555555; background-color: #e7e7e7; } .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #cccccc; background-color: transparent; } } .navbar-default .navbar-link { color: #777777; } .navbar-default .navbar-link:hover { color: #333333; } .navbar-default .btn-link { color: #777777; } .navbar-default .btn-link:hover, .navbar-default .btn-link:focus { color: #333333; } .navbar-default .btn-link[disabled]:hover, fieldset[disabled] .navbar-default .btn-link:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:focus { color: #cccccc; } .navbar-inverse { background-color: #222222; border-color: #080808; } .navbar-inverse .navbar-brand { color: #9d9d9d; } .navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus { color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-text { color: #9d9d9d; } .navbar-inverse .navbar-nav > li > a { color: #9d9d9d; } .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { color: #ffffff; background-color: #080808; } .navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus { color: #444444; background-color: transparent; } .navbar-inverse .navbar-toggle { border-color: #333333; } .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { background-color: #333333; } .navbar-inverse .navbar-toggle .icon-bar { background-color: #ffffff; } .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { border-color: #101010; } .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { background-color: #080808; color: #ffffff; } @media (max-width: 767px) { .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { border-color: #080808; } .navbar-inverse .navbar-nav .open .dropdown-menu .divider { background-color: #080808; } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { color: #9d9d9d; } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { color: #ffffff; background-color: #080808; } .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #444444; background-color: transparent; } } .navbar-inverse .navbar-link { color: #9d9d9d; } .navbar-inverse .navbar-link:hover { color: #ffffff; } .navbar-inverse .btn-link { color: #9d9d9d; } .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus { color: #ffffff; } .navbar-inverse .btn-link[disabled]:hover, fieldset[disabled] .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link[disabled]:focus, fieldset[disabled] .navbar-inverse .btn-link:focus { color: #444444; } .breadcrumb { padding: 8px 15px; margin-bottom: 20px; list-style: none; background-color: #f5f5f5; border-radius: 0px; } .breadcrumb > li { display: inline-block; } .breadcrumb > li + li:before { content: "/\00a0"; padding: 0 5px; color: #cccccc; } .breadcrumb > .active { color: #777777; } .pagination { display: inline-block; padding-left: 0; margin: 20px 0; border-radius: 0px; } .pagination > li { display: inline; } .pagination > li > a, .pagination > li > span { position: relative; float: left; padding: 6px 12px; line-height: 1.42857143; text-decoration: none; color: #337ab7; background-color: #ffffff; border: 1px solid #dddddd; margin-left: -1px; } .pagination > li:first-child > a, .pagination > li:first-child > span { margin-left: 0; border-bottom-left-radius: 0px; border-top-left-radius: 0px; } .pagination > li:last-child > a, .pagination > li:last-child > span { border-bottom-right-radius: 0px; border-top-right-radius: 0px; } .pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus { z-index: 2; color: #23527c; background-color: #eeeeee; border-color: #dddddd; } .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus { z-index: 3; color: #ffffff; background-color: #337ab7; border-color: #337ab7; cursor: default; } .pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus { color: #777777; background-color: #ffffff; border-color: #dddddd; cursor: not-allowed; } .pagination-lg > li > a, .pagination-lg > li > span { padding: 10px 16px; font-size: 18px; line-height: 1.3333333; } .pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span { border-bottom-left-radius: 0px; border-top-left-radius: 0px; } .pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span { border-bottom-right-radius: 0px; border-top-right-radius: 0px; } .pagination-sm > li > a, .pagination-sm > li > span { padding: 5px 10px; font-size: 12px; line-height: 1.5; } .pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span { border-bottom-left-radius: 0px; border-top-left-radius: 0px; } .pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span { border-bottom-right-radius: 0px; border-top-right-radius: 0px; } .pager { padding-left: 0; margin: 20px 0; list-style: none; text-align: center; } .pager li { display: inline; } .pager li > a, .pager li > span { display: inline-block; padding: 5px 14px; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 15px; } .pager li > a:hover, .pager li > a:focus { text-decoration: none; background-color: #eeeeee; } .pager .next > a, .pager .next > span { float: right; } .pager .previous > a, .pager .previous > span { float: left; } .pager .disabled > a, .pager .disabled > a:hover, .pager .disabled > a:focus, .pager .disabled > span { color: #777777; background-color: #ffffff; cursor: not-allowed; } .label { display: inline; padding: .2em .6em .3em; font-size: 75%; font-weight: bold; line-height: 1; color: #ffffff; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .25em; } a.label:hover, a.label:focus { color: #ffffff; text-decoration: none; cursor: pointer; } .label:empty { display: none; } .btn .label { position: relative; top: -1px; } .label-default { background-color: #777777; } .label-default[href]:hover, .label-default[href]:focus { background-color: #5e5e5e; } .label-primary { background-color: #337ab7; } .label-primary[href]:hover, .label-primary[href]:focus { background-color: #286090; } .label-success { background-color: #5cb85c; } .label-success[href]:hover, .label-success[href]:focus { background-color: #449d44; } .label-info { background-color: #5bc0de; } .label-info[href]:hover, .label-info[href]:focus { background-color: #31b0d5; } .label-warning { background-color: #f0ad4e; } .label-warning[href]:hover, .label-warning[href]:focus { background-color: #ec971f; } .label-danger { background-color: #d9534f; } .label-danger[href]:hover, .label-danger[href]:focus { background-color: #c9302c; } .badge { display: inline-block; min-width: 10px; padding: 3px 7px; font-size: 12px; font-weight: bold; color: #ffffff; line-height: 1; vertical-align: middle; white-space: nowrap; text-align: center; background-color: #777777; border-radius: 10px; } .badge:empty { display: none; } .btn .badge { position: relative; top: -1px; } .btn-xs .badge, .btn-group-xs > .btn .badge { top: 0; padding: 1px 5px; } a.badge:hover, a.badge:focus { color: #ffffff; text-decoration: none; cursor: pointer; } .list-group-item.active > .badge, .nav-pills > .active > a > .badge { color: #337ab7; background-color: #ffffff; } .list-group-item > .badge { float: right; } .list-group-item > .badge + .badge { margin-right: 5px; } .nav-pills > li > a > .badge { margin-left: 3px; } .jumbotron { padding-top: 30px; padding-bottom: 30px; margin-bottom: 30px; color: inherit; background-color: #eeeeee; } .jumbotron h1, .jumbotron .h1 { color: inherit; } .jumbotron p { margin-bottom: 15px; font-size: 21px; font-weight: 200; } .jumbotron > hr { border-top-color: #d5d5d5; } .container .jumbotron, .container-fluid .jumbotron { border-radius: 0px; padding-left: 15px; padding-right: 15px; } .jumbotron .container { max-width: 100%; } @media screen and (min-width: 768px) { .jumbotron { padding-top: 48px; padding-bottom: 48px; } .container .jumbotron, .container-fluid .jumbotron { padding-left: 60px; padding-right: 60px; } .jumbotron h1, .jumbotron .h1 { font-size: 63px; } } .thumbnail { display: block; padding: 4px; margin-bottom: 20px; line-height: 1.42857143; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 0px; -webkit-transition: border 0.2s ease-in-out; -o-transition: border 0.2s ease-in-out; transition: border 0.2s ease-in-out; } .thumbnail > img, .thumbnail a > img { margin-left: auto; margin-right: auto; } a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active { border-color: #337ab7; } .thumbnail .caption { padding: 9px; color: #333333; } .alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 0px; } .alert h4 { margin-top: 0; color: inherit; } .alert .alert-link { font-weight: bold; } .alert > p, .alert > ul { margin-bottom: 0; } .alert > p + p { margin-top: 5px; } .alert-dismissable, .alert-dismissible { padding-right: 35px; } .alert-dismissable .close, .alert-dismissible .close { position: relative; top: -2px; right: -21px; color: inherit; } .alert-success { background-color: #dff0d8; border-color: #d6e9c6; color: #3c763d; } .alert-success hr { border-top-color: #c9e2b3; } .alert-success .alert-link { color: #2b542c; } .alert-info { background-color: #d9edf7; border-color: #bce8f1; color: #31708f; } .alert-info hr { border-top-color: #a6e1ec; } .alert-info .alert-link { color: #245269; } .alert-warning { background-color: #fcf8e3; border-color: #faebcc; color: #8a6d3b; } .alert-warning hr { border-top-color: #f7e1b5; } .alert-warning .alert-link { color: #66512c; } .alert-danger { background-color: #f2dede; border-color: #ebccd1; color: #a94442; } .alert-danger hr { border-top-color: #e4b9c0; } .alert-danger .alert-link { color: #843534; } @-webkit-keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } @-o-keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } @keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } .progress { overflow: hidden; height: 20px; margin-bottom: 20px; background-color: #f5f5f5; border-radius: 0px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); } .progress-bar { float: left; width: 0%; height: 100%; font-size: 12px; line-height: 20px; color: #ffffff; text-align: center; background-color: #337ab7; -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); -webkit-transition: width 0.6s ease; -o-transition: width 0.6s ease; transition: width 0.6s ease; } .progress-striped .progress-bar, .progress-bar-striped { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -webkit-background-size: 40px 40px; background-size: 40px 40px; } .progress.active .progress-bar, .progress-bar.active { -webkit-animation: progress-bar-stripes 2s linear infinite; -o-animation: progress-bar-stripes 2s linear infinite; animation: progress-bar-stripes 2s linear infinite; } .progress-bar-success { background-color: #5cb85c; } .progress-striped .progress-bar-success { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-info { background-color: #5bc0de; } .progress-striped .progress-bar-info { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-warning { background-color: #f0ad4e; } .progress-striped .progress-bar-warning { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-danger { background-color: #d9534f; } .progress-striped .progress-bar-danger { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .media { margin-top: 15px; } .media:first-child { margin-top: 0; } .media, .media-body { zoom: 1; overflow: hidden; } .media-body { width: 10000px; } .media-object { display: block; } .media-object.img-thumbnail { max-width: none; } .media-right, .media > .pull-right { padding-left: 10px; } .media-left, .media > .pull-left { padding-right: 10px; } .media-left, .media-right, .media-body { display: table-cell; vertical-align: top; } .media-middle { vertical-align: middle; } .media-bottom { vertical-align: bottom; } .media-heading { margin-top: 0; margin-bottom: 5px; } .media-list { padding-left: 0; list-style: none; } .list-group { margin-bottom: 20px; padding-left: 0; } .list-group-item { position: relative; display: block; padding: 10px 15px; margin-bottom: -1px; background-color: #ffffff; border: 1px solid #dddddd; } .list-group-item:first-child { border-top-right-radius: 0px; border-top-left-radius: 0px; } .list-group-item:last-child { margin-bottom: 0; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; } a.list-group-item, button.list-group-item { color: #555555; } a.list-group-item .list-group-item-heading, button.list-group-item .list-group-item-heading { color: #333333; } a.list-group-item:hover, button.list-group-item:hover, a.list-group-item:focus, button.list-group-item:focus { text-decoration: none; color: #555555; background-color: #f5f5f5; } button.list-group-item { width: 100%; text-align: left; } .list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus { background-color: #eeeeee; color: #777777; cursor: not-allowed; } .list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading { color: inherit; } .list-group-item.disabled .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text { color: #777777; } .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus { z-index: 2; color: #ffffff; background-color: #337ab7; border-color: #337ab7; } .list-group-item.active .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading, .list-group-item.active:focus .list-group-item-heading, .list-group-item.active .list-group-item-heading > small, .list-group-item.active:hover .list-group-item-heading > small, .list-group-item.active:focus .list-group-item-heading > small, .list-group-item.active .list-group-item-heading > .small, .list-group-item.active:hover .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading > .small { color: inherit; } .list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text { color: #c7ddef; } .list-group-item-success { color: #3c763d; background-color: #dff0d8; } a.list-group-item-success, button.list-group-item-success { color: #3c763d; } a.list-group-item-success .list-group-item-heading, button.list-group-item-success .list-group-item-heading { color: inherit; } a.list-group-item-success:hover, button.list-group-item-success:hover, a.list-group-item-success:focus, button.list-group-item-success:focus { color: #3c763d; background-color: #d0e9c6; } a.list-group-item-success.active, button.list-group-item-success.active, a.list-group-item-success.active:hover, button.list-group-item-success.active:hover, a.list-group-item-success.active:focus, button.list-group-item-success.active:focus { color: #fff; background-color: #3c763d; border-color: #3c763d; } .list-group-item-info { color: #31708f; background-color: #d9edf7; } a.list-group-item-info, button.list-group-item-info { color: #31708f; } a.list-group-item-info .list-group-item-heading, button.list-group-item-info .list-group-item-heading { color: inherit; } a.list-group-item-info:hover, button.list-group-item-info:hover, a.list-group-item-info:focus, button.list-group-item-info:focus { color: #31708f; background-color: #c4e3f3; } a.list-group-item-info.active, button.list-group-item-info.active, a.list-group-item-info.active:hover, button.list-group-item-info.active:hover, a.list-group-item-info.active:focus, button.list-group-item-info.active:focus { color: #fff; background-color: #31708f; border-color: #31708f; } .list-group-item-warning { color: #8a6d3b; background-color: #fcf8e3; } a.list-group-item-warning, button.list-group-item-warning { color: #8a6d3b; } a.list-group-item-warning .list-group-item-heading, button.list-group-item-warning .list-group-item-heading { color: inherit; } a.list-group-item-warning:hover, button.list-group-item-warning:hover, a.list-group-item-warning:focus, button.list-group-item-warning:focus { color: #8a6d3b; background-color: #faf2cc; } a.list-group-item-warning.active, button.list-group-item-warning.active, a.list-group-item-warning.active:hover, button.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus, button.list-group-item-warning.active:focus { color: #fff; background-color: #8a6d3b; border-color: #8a6d3b; } .list-group-item-danger { color: #a94442; background-color: #f2dede; } a.list-group-item-danger, button.list-group-item-danger { color: #a94442; } a.list-group-item-danger .list-group-item-heading, button.list-group-item-danger .list-group-item-heading { color: inherit; } a.list-group-item-danger:hover, button.list-group-item-danger:hover, a.list-group-item-danger:focus, button.list-group-item-danger:focus { color: #a94442; background-color: #ebcccc; } a.list-group-item-danger.active, button.list-group-item-danger.active, a.list-group-item-danger.active:hover, button.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus, button.list-group-item-danger.active:focus { color: #fff; background-color: #a94442; border-color: #a94442; } .list-group-item-heading { margin-top: 0; margin-bottom: 5px; } .list-group-item-text { margin-bottom: 0; line-height: 1.3; } .panel { margin-bottom: 20px; background-color: #ffffff; border: 1px solid transparent; border-radius: 0px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); } .panel-body { padding: 15px; } .panel-heading { padding: 10px 15px; border-bottom: 1px solid transparent; border-top-right-radius: -1px; border-top-left-radius: -1px; } .panel-heading > .dropdown .dropdown-toggle { color: inherit; } .panel-title { margin-top: 0; margin-bottom: 0; font-size: 16px; color: inherit; } .panel-title > a, .panel-title > small, .panel-title > .small, .panel-title > small > a, .panel-title > .small > a { color: inherit; } .panel-footer { padding: 10px 15px; background-color: #f5f5f5; border-top: 1px solid #dddddd; border-bottom-right-radius: -1px; border-bottom-left-radius: -1px; } .panel > .list-group, .panel > .panel-collapse > .list-group { margin-bottom: 0; } .panel > .list-group .list-group-item, .panel > .panel-collapse > .list-group .list-group-item { border-width: 1px 0; border-radius: 0; } .panel > .list-group:first-child .list-group-item:first-child, .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { border-top: 0; border-top-right-radius: -1px; border-top-left-radius: -1px; } .panel > .list-group:last-child .list-group-item:last-child, .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { border-bottom: 0; border-bottom-right-radius: -1px; border-bottom-left-radius: -1px; } .panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } .panel-heading + .list-group .list-group-item:first-child { border-top-width: 0; } .list-group + .panel-footer { border-top-width: 0; } .panel > .table, .panel > .table-responsive > .table, .panel > .panel-collapse > .table { margin-bottom: 0; } .panel > .table caption, .panel > .table-responsive > .table caption, .panel > .panel-collapse > .table caption { padding-left: 15px; padding-right: 15px; } .panel > .table:first-child, .panel > .table-responsive:first-child > .table:first-child { border-top-right-radius: -1px; border-top-left-radius: -1px; } .panel > .table:first-child > thead:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { border-top-left-radius: -1px; border-top-right-radius: -1px; } .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { border-top-left-radius: -1px; } .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { border-top-right-radius: -1px; } .panel > .table:last-child, .panel > .table-responsive:last-child > .table:last-child { border-bottom-right-radius: -1px; border-bottom-left-radius: -1px; } .panel > .table:last-child > tbody:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { border-bottom-left-radius: -1px; border-bottom-right-radius: -1px; } .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { border-bottom-left-radius: -1px; } .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { border-bottom-right-radius: -1px; } .panel > .panel-body + .table, .panel > .panel-body + .table-responsive, .panel > .table + .panel-body, .panel > .table-responsive + .panel-body { border-top: 1px solid #dddddd; } .panel > .table > tbody:first-child > tr:first-child th, .panel > .table > tbody:first-child > tr:first-child td { border-top: 0; } .panel > .table-bordered, .panel > .table-responsive > .table-bordered { border: 0; } .panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; } .panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; } .panel > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { border-bottom: 0; } .panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { border-bottom: 0; } .panel > .table-responsive { border: 0; margin-bottom: 0; } .panel-group { margin-bottom: 20px; } .panel-group .panel { margin-bottom: 0; border-radius: 0px; } .panel-group .panel + .panel { margin-top: 5px; } .panel-group .panel-heading { border-bottom: 0; } .panel-group .panel-heading + .panel-collapse > .panel-body, .panel-group .panel-heading + .panel-collapse > .list-group { border-top: 1px solid #dddddd; } .panel-group .panel-footer { border-top: 0; } .panel-group .panel-footer + .panel-collapse .panel-body { border-bottom: 1px solid #dddddd; } .panel-default { border-color: #dddddd; } .panel-default > .panel-heading { color: #333333; background-color: #f5f5f5; border-color: #dddddd; } .panel-default > .panel-heading + .panel-collapse > .panel-body { border-top-color: #dddddd; } .panel-default > .panel-heading .badge { color: #f5f5f5; background-color: #333333; } .panel-default > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #dddddd; } .panel-primary { border-color: #337ab7; } .panel-primary > .panel-heading { color: #ffffff; background-color: #337ab7; border-color: #337ab7; } .panel-primary > .panel-heading + .panel-collapse > .panel-body { border-top-color: #337ab7; } .panel-primary > .panel-heading .badge { color: #337ab7; background-color: #ffffff; } .panel-primary > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #337ab7; } .panel-success { border-color: #d6e9c6; } .panel-success > .panel-heading { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; } .panel-success > .panel-heading + .panel-collapse > .panel-body { border-top-color: #d6e9c6; } .panel-success > .panel-heading .badge { color: #dff0d8; background-color: #3c763d; } .panel-success > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #d6e9c6; } .panel-info { border-color: #bce8f1; } .panel-info > .panel-heading { color: #31708f; background-color: #d9edf7; border-color: #bce8f1; } .panel-info > .panel-heading + .panel-collapse > .panel-body { border-top-color: #bce8f1; } .panel-info > .panel-heading .badge { color: #d9edf7; background-color: #31708f; } .panel-info > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #bce8f1; } .panel-warning { border-color: #faebcc; } .panel-warning > .panel-heading { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; } .panel-warning > .panel-heading + .panel-collapse > .panel-body { border-top-color: #faebcc; } .panel-warning > .panel-heading .badge { color: #fcf8e3; background-color: #8a6d3b; } .panel-warning > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #faebcc; } .panel-danger { border-color: #ebccd1; } .panel-danger > .panel-heading { color: #a94442; background-color: #f2dede; border-color: #ebccd1; } .panel-danger > .panel-heading + .panel-collapse > .panel-body { border-top-color: #ebccd1; } .panel-danger > .panel-heading .badge { color: #f2dede; background-color: #a94442; } .panel-danger > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #ebccd1; } .embed-responsive { position: relative; display: block; height: 0; padding: 0; overflow: hidden; } .embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video { position: absolute; top: 0; left: 0; bottom: 0; height: 100%; width: 100%; border: 0; } .embed-responsive-16by9 { padding-bottom: 56.25%; } .embed-responsive-4by3 { padding-bottom: 75%; } .well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; border-radius: 0px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); } .well blockquote { border-color: #ddd; border-color: rgba(0, 0, 0, 0.15); } .well-lg { padding: 24px; border-radius: 0px; } .well-sm { padding: 9px; border-radius: 0px; } .close { float: right; font-size: 21px; font-weight: bold; line-height: 1; color: #000000; text-shadow: 0 1px 0 #ffffff; opacity: 0.2; filter: alpha(opacity=20); } .close:hover, .close:focus { color: #000000; text-decoration: none; cursor: pointer; opacity: 0.5; filter: alpha(opacity=50); } button.close { padding: 0; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; } .modal-open { overflow: hidden; } .modal { display: none; overflow: hidden; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; -webkit-overflow-scrolling: touch; outline: 0; } .modal.fade .modal-dialog { -webkit-transform: translate(0, -25%); -ms-transform: translate(0, -25%); -o-transform: translate(0, -25%); transform: translate(0, -25%); -webkit-transition: -webkit-transform 0.3s ease-out; -o-transition: -o-transform 0.3s ease-out; transition: transform 0.3s ease-out; } .modal.in .modal-dialog { -webkit-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); transform: translate(0, 0); } .modal-open .modal { overflow-x: hidden; overflow-y: auto; } .modal-dialog { position: relative; width: auto; margin: 10px; } .modal-content { position: relative; background-color: #ffffff; border: 1px solid #999999; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0px; -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); -webkit-background-clip: padding-box; background-clip: padding-box; outline: 0; } .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000000; } .modal-backdrop.fade { opacity: 0; filter: alpha(opacity=0); } .modal-backdrop.in { opacity: 0.5; filter: alpha(opacity=50); } .modal-header { padding: 15px; border-bottom: 1px solid #e5e5e5; } .modal-header .close { margin-top: -2px; } .modal-title { margin: 0; line-height: 1.42857143; } .modal-body { position: relative; padding: 15px; } .modal-footer { padding: 15px; text-align: right; border-top: 1px solid #e5e5e5; } .modal-footer .btn + .btn { margin-left: 5px; margin-bottom: 0; } .modal-footer .btn-group .btn + .btn { margin-left: -1px; } .modal-footer .btn-block + .btn-block { margin-left: 0; } .modal-scrollbar-measure { position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll; } @media (min-width: 768px) { .modal-dialog { width: 600px; margin: 30px auto; } .modal-content { -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); } .modal-sm { width: 300px; } } @media (min-width: 992px) { .modal-lg { width: 900px; } } .tooltip { position: absolute; z-index: 1070; display: block; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; font-weight: normal; letter-spacing: normal; line-break: auto; line-height: 1.42857143; text-align: left; text-align: start; text-decoration: none; text-shadow: none; text-transform: none; white-space: normal; word-break: normal; word-spacing: normal; word-wrap: normal; font-size: 12px; opacity: 0; filter: alpha(opacity=0); } .tooltip.in { opacity: 0.9; filter: alpha(opacity=90); } .tooltip.top { margin-top: -3px; padding: 5px 0; } .tooltip.right { margin-left: 3px; padding: 0 5px; } .tooltip.bottom { margin-top: 3px; padding: 5px 0; } .tooltip.left { margin-left: -3px; padding: 0 5px; } .tooltip-inner { max-width: 200px; padding: 3px 8px; color: #ffffff; text-align: center; background-color: #000000; border-radius: 0px; } .tooltip-arrow { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; } .tooltip.top .tooltip-arrow { bottom: 0; left: 50%; margin-left: -5px; border-width: 5px 5px 0; border-top-color: #000000; } .tooltip.top-left .tooltip-arrow { bottom: 0; right: 5px; margin-bottom: -5px; border-width: 5px 5px 0; border-top-color: #000000; } .tooltip.top-right .tooltip-arrow { bottom: 0; left: 5px; margin-bottom: -5px; border-width: 5px 5px 0; border-top-color: #000000; } .tooltip.right .tooltip-arrow { top: 50%; left: 0; margin-top: -5px; border-width: 5px 5px 5px 0; border-right-color: #000000; } .tooltip.left .tooltip-arrow { top: 50%; right: 0; margin-top: -5px; border-width: 5px 0 5px 5px; border-left-color: #000000; } .tooltip.bottom .tooltip-arrow { top: 0; left: 50%; margin-left: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; } .tooltip.bottom-left .tooltip-arrow { top: 0; right: 5px; margin-top: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; } .tooltip.bottom-right .tooltip-arrow { top: 0; left: 5px; margin-top: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; } .popover { position: absolute; top: 0; left: 0; z-index: 1060; display: none; max-width: 276px; padding: 1px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; font-weight: normal; letter-spacing: normal; line-break: auto; line-height: 1.42857143; text-align: left; text-align: start; text-decoration: none; text-shadow: none; text-transform: none; white-space: normal; word-break: normal; word-spacing: normal; word-wrap: normal; font-size: 14px; background-color: #ffffff; -webkit-background-clip: padding-box; background-clip: padding-box; border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0px; -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); } .popover.top { margin-top: -10px; } .popover.right { margin-left: 10px; } .popover.bottom { margin-top: 10px; } .popover.left { margin-left: -10px; } .popover-title { margin: 0; padding: 8px 14px; font-size: 14px; background-color: #f7f7f7; border-bottom: 1px solid #ebebeb; border-radius: -1px -1px 0 0; } .popover-content { padding: 9px 14px; } .popover > .arrow, .popover > .arrow:after { position: absolute; display: block; width: 0; height: 0; border-color: transparent; border-style: solid; } .popover > .arrow { border-width: 11px; } .popover > .arrow:after { border-width: 10px; content: ""; } .popover.top > .arrow { left: 50%; margin-left: -11px; border-bottom-width: 0; border-top-color: #999999; border-top-color: rgba(0, 0, 0, 0.25); bottom: -11px; } .popover.top > .arrow:after { content: " "; bottom: 1px; margin-left: -10px; border-bottom-width: 0; border-top-color: #ffffff; } .popover.right > .arrow { top: 50%; left: -11px; margin-top: -11px; border-left-width: 0; border-right-color: #999999; border-right-color: rgba(0, 0, 0, 0.25); } .popover.right > .arrow:after { content: " "; left: 1px; bottom: -10px; border-left-width: 0; border-right-color: #ffffff; } .popover.bottom > .arrow { left: 50%; margin-left: -11px; border-top-width: 0; border-bottom-color: #999999; border-bottom-color: rgba(0, 0, 0, 0.25); top: -11px; } .popover.bottom > .arrow:after { content: " "; top: 1px; margin-left: -10px; border-top-width: 0; border-bottom-color: #ffffff; } .popover.left > .arrow { top: 50%; right: -11px; margin-top: -11px; border-right-width: 0; border-left-color: #999999; border-left-color: rgba(0, 0, 0, 0.25); } .popover.left > .arrow:after { content: " "; right: 1px; border-right-width: 0; border-left-color: #ffffff; bottom: -10px; } .carousel { position: relative; } .carousel-inner { position: relative; overflow: hidden; width: 100%; } .carousel-inner > .item { display: none; position: relative; -webkit-transition: 0.6s ease-in-out left; -o-transition: 0.6s ease-in-out left; transition: 0.6s ease-in-out left; } .carousel-inner > .item > img, .carousel-inner > .item > a > img { line-height: 1; } @media all and (transform-3d), (-webkit-transform-3d) { .carousel-inner > .item { -webkit-transition: -webkit-transform 0.6s ease-in-out; -o-transition: -o-transform 0.6s ease-in-out; transition: transform 0.6s ease-in-out; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-perspective: 1000px; perspective: 1000px; } .carousel-inner > .item.next, .carousel-inner > .item.active.right { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); left: 0; } .carousel-inner > .item.prev, .carousel-inner > .item.active.left { -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); left: 0; } .carousel-inner > .item.next.left, .carousel-inner > .item.prev.right, .carousel-inner > .item.active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); left: 0; } } .carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev { display: block; } .carousel-inner > .active { left: 0; } .carousel-inner > .next, .carousel-inner > .prev { position: absolute; top: 0; width: 100%; } .carousel-inner > .next { left: 100%; } .carousel-inner > .prev { left: -100%; } .carousel-inner > .next.left, .carousel-inner > .prev.right { left: 0; } .carousel-inner > .active.left { left: -100%; } .carousel-inner > .active.right { left: 100%; } .carousel-control { position: absolute; top: 0; left: 0; bottom: 0; width: 15%; opacity: 0.5; filter: alpha(opacity=50); font-size: 20px; color: #ffffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); background-color: rgba(0, 0, 0, 0); } .carousel-control.left { background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001))); background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); } .carousel-control.right { left: auto; right: 0; background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5))); background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); } .carousel-control:hover, .carousel-control:focus { outline: 0; color: #ffffff; text-decoration: none; opacity: 0.9; filter: alpha(opacity=90); } .carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right { position: absolute; top: 50%; margin-top: -10px; z-index: 5; display: inline-block; } .carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left { left: 50%; margin-left: -10px; } .carousel-control .icon-next, .carousel-control .glyphicon-chevron-right { right: 50%; margin-right: -10px; } .carousel-control .icon-prev, .carousel-control .icon-next { width: 20px; height: 20px; line-height: 1; font-family: serif; } .carousel-control .icon-prev:before { content: '\2039'; } .carousel-control .icon-next:before { content: '\203a'; } .carousel-indicators { position: absolute; bottom: 10px; left: 50%; z-index: 15; width: 60%; margin-left: -30%; padding-left: 0; list-style: none; text-align: center; } .carousel-indicators li { display: inline-block; width: 10px; height: 10px; margin: 1px; text-indent: -999px; border: 1px solid #ffffff; border-radius: 10px; cursor: pointer; background-color: #000 \9; background-color: rgba(0, 0, 0, 0); } .carousel-indicators .active { margin: 0; width: 12px; height: 12px; background-color: #ffffff; } .carousel-caption { position: absolute; left: 15%; right: 15%; bottom: 20px; z-index: 10; padding-top: 20px; padding-bottom: 20px; color: #ffffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } .carousel-caption .btn { text-shadow: none; } @media screen and (min-width: 768px) { .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next { width: 30px; height: 30px; margin-top: -10px; font-size: 30px; } .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev { margin-left: -10px; } .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next { margin-right: -10px; } .carousel-caption { left: 20%; right: 20%; padding-bottom: 30px; } .carousel-indicators { bottom: 20px; } } .clearfix:before, .clearfix:after, .dl-horizontal dd:before, .dl-horizontal dd:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-header:before, .modal-header:after, .modal-footer:before, .modal-footer:after { content: " "; display: table; } .clearfix:after, .dl-horizontal dd:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .panel-body:after, .modal-header:after, .modal-footer:after { clear: both; } .center-block { display: block; margin-left: auto; margin-right: auto; } .pull-right { float: right !important; } .pull-left { float: left !important; } .hide { display: none !important; } .show { display: block !important; } .invisible { visibility: hidden; } .text-hide { font: 0/0 a; color: transparent; text-shadow: none; background-color: transparent; border: 0; } .hidden { display: none !important; } .affix { position: fixed; } @-ms-viewport { width: device-width; } .visible-xs, .visible-sm, .visible-md, .visible-lg { display: none !important; } .visible-xs-block, .visible-xs-inline, .visible-xs-inline-block, .visible-sm-block, .visible-sm-inline, .visible-sm-inline-block, .visible-md-block, .visible-md-inline, .visible-md-inline-block, .visible-lg-block, .visible-lg-inline, .visible-lg-inline-block { display: none !important; } @media (max-width: 767px) { .visible-xs { display: block !important; } table.visible-xs { display: table !important; } tr.visible-xs { display: table-row !important; } th.visible-xs, td.visible-xs { display: table-cell !important; } } @media (max-width: 767px) { .visible-xs-block { display: block !important; } } @media (max-width: 767px) { .visible-xs-inline { display: inline !important; } } @media (max-width: 767px) { .visible-xs-inline-block { display: inline-block !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm { display: block !important; } table.visible-sm { display: table !important; } tr.visible-sm { display: table-row !important; } th.visible-sm, td.visible-sm { display: table-cell !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-block { display: block !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-inline { display: inline !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-inline-block { display: inline-block !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md { display: block !important; } table.visible-md { display: table !important; } tr.visible-md { display: table-row !important; } th.visible-md, td.visible-md { display: table-cell !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-block { display: block !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-inline { display: inline !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-inline-block { display: inline-block !important; } } @media (min-width: 1200px) { .visible-lg { display: block !important; } table.visible-lg { display: table !important; } tr.visible-lg { display: table-row !important; } th.visible-lg, td.visible-lg { display: table-cell !important; } } @media (min-width: 1200px) { .visible-lg-block { display: block !important; } } @media (min-width: 1200px) { .visible-lg-inline { display: inline !important; } } @media (min-width: 1200px) { .visible-lg-inline-block { display: inline-block !important; } } @media (max-width: 767px) { .hidden-xs { display: none !important; } } @media (min-width: 768px) and (max-width: 991px) { .hidden-sm { display: none !important; } } @media (min-width: 992px) and (max-width: 1199px) { .hidden-md { display: none !important; } } @media (min-width: 1200px) { .hidden-lg { display: none !important; } } .visible-print { display: none !important; } @media print { .visible-print { display: block !important; } table.visible-print { display: table !important; } tr.visible-print { display: table-row !important; } th.visible-print, td.visible-print { display: table-cell !important; } } .visible-print-block { display: none !important; } @media print { .visible-print-block { display: block !important; } } .visible-print-inline { display: none !important; } @media print { .visible-print-inline { display: inline !important; } } .visible-print-inline-block { display: none !important; } @media print { .visible-print-inline-block { display: inline-block !important; } } @media print { .hidden-print { display: none !important; } }
{ "content_hash": "add1f6d1e980ffb9a81bfe8acdf5fc00", "timestamp": "", "source": "github", "line_count": 6758, "max_line_length": 540, "avg_line_length": 21.6757916543356, "alnum_prop": 0.6573847151585487, "repo_name": "frascata/webfra", "id": "e06cd1d5fccb7b546ed8549f3f5be2d55cbe7c86", "size": "146653", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "vivaifrappi/static/vivaifrappi/css/bootstrap.css", "mode": "33261", "license": "mit", "language": [ { "name": "CSS", "bytes": "99351" }, { "name": "HTML", "bytes": "156728" }, { "name": "JavaScript", "bytes": "22712" }, { "name": "Python", "bytes": "27038" } ], "symlink_target": "" }
namespace FluentMigrator.Builders.Alter.Column { /// <summary> /// Interface to specify the column modification options /// </summary> public interface IAlterColumnOptionSyntax : IColumnOptionSyntax<IAlterColumnOptionSyntax, IAlterColumnOptionOrForeignKeyCascadeSyntax> { } }
{ "content_hash": "402753cfe1121a77e4f08cef55f9d414", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 138, "avg_line_length": 33.333333333333336, "alnum_prop": 0.7566666666666667, "repo_name": "eloekset/fluentmigrator", "id": "b021d5efdeed3c990ee6f4942bbc4d0728536bfa", "size": "956", "binary": false, "copies": "7", "ref": "refs/heads/master", "path": "src/FluentMigrator.Abstractions/Builders/Alter/Column/IAlterColumnOptionSyntax.cs", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "C#", "bytes": "4431367" }, { "name": "Rich Text Format", "bytes": "154299" }, { "name": "Shell", "bytes": "325" } ], "symlink_target": "" }
package org.ovirt.engine.core.bll; import java.util.HashMap; import java.util.Map; import org.ovirt.engine.core.common.businessentities.storage.DiskImage; import org.ovirt.engine.core.common.queries.IdsQueryParameters; import org.ovirt.engine.core.compat.Guid; public class GetAncestorImagesByImagesIdsQuery<P extends IdsQueryParameters> extends QueriesCommandBase<P> { public GetAncestorImagesByImagesIdsQuery(P parameters) { super(parameters); } @Override protected void executeQueryCommand() { Map<Guid, DiskImage> imagesAncestors = new HashMap<>(); for (Guid id : getParameters().getIds()) { DiskImage ancestor = getDbFacade().getDiskImageDao().getAncestor( id, getUserID(), getParameters().isFiltered()); imagesAncestors.put(id, ancestor); } getQueryReturnValue().setReturnValue(imagesAncestors); } }
{ "content_hash": "8ab2801371abf98bf7191c7d8f910307", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 77, "avg_line_length": 34.18518518518518, "alnum_prop": 0.7053087757313109, "repo_name": "walteryang47/ovirt-engine", "id": "adcf0b5b685cd9daf0f45299c732658c2d01d852", "size": "923", "binary": false, "copies": "5", "ref": "refs/heads/eayunos-4.2", "path": "backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetAncestorImagesByImagesIdsQuery.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "68312" }, { "name": "HTML", "bytes": "16218" }, { "name": "Java", "bytes": "35067647" }, { "name": "JavaScript", "bytes": "69948" }, { "name": "Makefile", "bytes": "24723" }, { "name": "PLSQL", "bytes": "533" }, { "name": "PLpgSQL", "bytes": "796728" }, { "name": "Python", "bytes": "970860" }, { "name": "Roff", "bytes": "10764" }, { "name": "Shell", "bytes": "163853" }, { "name": "XSLT", "bytes": "54683" } ], "symlink_target": "" }
<?xml version='1.0' encoding='UTF-8'?> <?artifactRepository version='1.1.0'?> <artifacts size='2'> <artifact classifier='osgi.bundle' id='hu.bme.mit.inf.TreatEngine' version='0.0.1.201404232140'> <properties size='5'> <property name='artifact.size' value='41306'/> <property name='download.size' value='41306'/> <property name='maven-groupId' value='hu.bme.mit.inf.TreatEngine'/> <property name='maven-artifactId' value='hu.bme.mit.inf.TreatEngine'/> <property name='maven-version' value='0.0.1-SNAPSHOT'/> </properties> </artifact> <artifact classifier='osgi.bundle' id='hu.bme.mit.inf.TreatEngine.source' version='0.0.1.201404232140'> <properties size='6'> <property name='artifact.size' value='27606'/> <property name='download.size' value='27606'/> <property name='maven-groupId' value='hu.bme.mit.inf.TreatEngine'/> <property name='maven-artifactId' value='hu.bme.mit.inf.TreatEngine'/> <property name='maven-version' value='0.0.1-SNAPSHOT'/> <property name='maven-classifier' value='sources'/> </properties> </artifact> </artifacts>
{ "content_hash": "2b577c6ac66d9a42b7e226a86e742bed", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 105, "avg_line_length": 49.08695652173913, "alnum_prop": 0.6731620903454384, "repo_name": "Rudolfking/TreatLookaheadMatcher", "id": "cad3a7ddfb8212c168f25ac0fe6b3db9ecf45dfd", "size": "1129", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "hu.bme.mit.inf.TreatEngine/target/p2artifacts.xml", "mode": "33188", "license": "mit", "language": [ { "name": "Java", "bytes": "243948" } ], "symlink_target": "" }
import { Component, ChangeDetectorRef, ViewChild, OnInit } from '@angular/core'; import { ChatIOService } from '@services/utils/socket.io.service'; import { GlobalService } from '@services/global.service'; import { OnlineUserService } from '@services/data.service'; import { ActivatedRoute } from '@angular/router'; import { NavController } from '@ionic/angular'; @Component({ selector: 'page-friendinfo', templateUrl: 'friendinfo.html', styleUrls: ['friendinfo.scss'], }) export class FriendInfoPage implements OnInit { friendid; friendName = ''; headImg; userid; bio = ''; location = ''; isFriend = false; showToolbar = false; headerImgSize = '100%'; headerImgUrl = ''; transition = false; constructor( private ref: ChangeDetectorRef, private chatIO: ChatIOService, private global: GlobalService, private userservice: OnlineUserService, private navCtrl: NavController, private actrouter: ActivatedRoute, ) { this.userid = this.global.userinfo._id; this.actrouter.queryParams.subscribe((queryParams) => { if (queryParams && queryParams['userid']) { this.friendid = queryParams['userid']; this.friendName = queryParams['friendname']; this.headImg = queryParams['headImg']; } this.loadUserInfo(this.friendid); if (this.friendid && !this.friendName) { this.isFriend = false; } else { this.isFriend = true; } }); } ngOnInit() { this.headerImgUrl = 'assets/tomatobang.jpg'; } loadUserInfo(friendid) { this.userservice.getUserByID(friendid).subscribe(data => { this.friendName = data.displayName || data.username; this.bio = data.bio; this.location = data.location ? data.location : '未知'; }); } /** * 查看番茄钟 */ toFriendTomatoes() { this.navCtrl.navigateForward(['tabs/friend/friendtomato'], { queryParams: { friendid: this.friendid, friendName: this.friendName, headImg: this.headImg } }); } /** * 请求添加好友 */ reqAddFriend() { if (this.friendid && this.userid !== this.friendid) { this.chatIO.send_friend_request(this.userid, this.friendid); this.chatIO.requestAddFriendSuccess().subscribe(data => { console.log('friendinfo: requestAddFriendSuccess', data); }); } } /** * 跳转至聊天页 */ toChatPage() { this.navCtrl.navigateForward(['tabs/friend/message/chat'], { queryParams: { toUserId: this.friendid, toUserName: this.friendName, friendHeadImg: this.headImg } }); } onScroll($event: any) { // 只对苹果有效 const scrollTop = $event.scrollTop; this.showToolbar = scrollTop >= 120; if (scrollTop < 0) { this.transition = false; this.headerImgSize = `${Math.abs(scrollTop) / 2 + 100}%`; } else { this.transition = true; this.headerImgSize = '100%'; } this.ref.detectChanges(); } toMore() { alert('coming soon~'); } }
{ "content_hash": "b20e841ca83956b261f1f71f53ee2640", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 80, "avg_line_length": 25.116666666666667, "alnum_prop": 0.6277372262773723, "repo_name": "tomatobang/tomato-ionic", "id": "aa466bd617e3ac2973d7a456f671fb16a3683957", "size": "3064", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/app/pages/friend/friendinfo/friendinfo.ts", "mode": "33188", "license": "mit", "language": [ { "name": "HTML", "bytes": "87412" }, { "name": "JavaScript", "bytes": "3203" }, { "name": "Ruby", "bytes": "2378" }, { "name": "SCSS", "bytes": "84758" }, { "name": "Shell", "bytes": "2519" }, { "name": "TypeScript", "bytes": "450224" } ], "symlink_target": "" }
<?php return [ /** * Debug on or off? */ 'debug' => true, /** * Enable log? */ 'log' => false, /** * The path for whatsapp data like media, pictures, etc.. * The path must be writable for webserver */ 'data-storage' => storage_path() . '/whatsapi', // Max contacts to broadcast messages 'broadcast-limit' => 20, 'listen-events' => true, 'listen-type' => 'echo', // Default account to use for sending messages 'default' => 'default', /** * These are fake credentials below. Don't even bother trying to use them. */ 'accounts' => array( 'default' => array( 'nickname' => 'Itnovado', 'number' => '5219512132132', 'password' => '==87Vf4plh+lvOAvoURjBoKDKwciw=' ), /* 'another' => array( 'nickname' => '', 'number' => '', 'password' => '' ), 'yetanother' => array( 'nickname' => '', 'number' => '', 'password' => '' ) */ ), /** * This is a list of all current events. Uncomment the ones you wish to listen to. */ 'events-to-listen' => [ 'onClose', 'onCodeRegister', 'onCodeRegisterFailed', 'onCodeRequest', 'onCodeRequestFailed', 'onCodeRequestFailedTooRecent', 'onConnect', 'onConnectError', 'onCredentialsBad', 'onCredentialsGood', 'onDisconnect', 'onDissectPhone', 'onDissectPhoneFailed', 'onGetAudio', 'onGetBroadcastLists', 'onGetError', 'onGetExtendAccount', 'onGetGroupMessage', 'onGetGroupParticipants', 'onGetGroups', 'onGetGroupsInfo', 'onGetGroupsSubject', 'onGetImage', 'onGetGroupImage', 'onGetLocation', 'onGetMessage', 'onGetNormalizedJid', 'onGetPrivacyBlockedList', 'onGetProfilePicture', 'onGetReceipt', 'onGetServerProperties', 'onGetServicePricing', 'onGetStatus', 'onGetSyncResult', 'onGetVideo', 'onGetGroupVideo', 'onGetGroupV2Info', 'public', 'onGetvCard', 'onGroupCreate', 'onGroupisCreated', 'onGroupsChatCreate', 'onGroupsChatEnd', 'onGroupsParticipantsAdd', 'onGroupsParticipantsRemove', 'onLoginFailed', 'onLoginSuccess', 'onMediaMessageSent', 'onMediaUploadFailed', 'onMessageComposing', 'onMessagePaused', 'onMessageReceivedClient', 'onMessageReceivedServer', 'onPaidAccount', 'onPaymentRecieved', 'onPing', 'onPresenceAvailable', 'onPresenceUnavailable', 'onProfilePictureChanged', 'onProfilePictureDeleted', 'onSendMessage', 'onSendMessageReceived', 'onSendPong', 'onSendPresence', 'onSendStatusUpdate', 'onStreamError', 'onUploadFile', 'onUploadFileFailed', ], ];
{ "content_hash": "dc2539f63a8c7931624dbc8faf75dfb0", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 86, "avg_line_length": 25.253968253968253, "alnum_prop": 0.5216844751728472, "repo_name": "xaamin/whatsapi", "id": "ed24e5414965bc9d2fe7d260426e4d9a00bb1a92", "size": "3182", "binary": false, "copies": "3", "ref": "refs/heads/master", "path": "src/Config/config.php", "mode": "33261", "license": "mit", "language": [ { "name": "PHP", "bytes": "87850" } ], "symlink_target": "" }
<form name="signupForm" novalidate button-form ng-submit="signupForm.$valid && signupController.signup($event)"> <md-input-container class="md-block"> <label>ID</label> <md-icon>person_add</md-icon> <input required name="id" ng-model="signupController.user.id"> <div ng-messages="signupForm.id.$error"> <div ng-message="required">This is required.</div> </div> </md-input-container> <md-input-container class="md-block"> <label>Name</label> <md-icon>person</md-icon> <input required name="name" ng-model="signupController.user.name"> <div ng-messages="signupForm.name.$error"> <div ng-message="required">This is required.</div> </div> </md-input-container> <md-input-container class="md-block"> <label>E-mail</label> <md-icon>email</md-icon> <input required maxlength="100" minlength="10" name="email" ng-model="signupController.user.email" ng-pattern="/^.+@.+\..+$/"> <div ng-messages="signupForm.email.$error" role="alert"> <div ng-message-exp="['required', 'minlength', 'maxlength', 'pattern']"> Your email must be between 10 and 100 characters long and look like an e-mail address. </div> </div> </md-input-container> <md-input-container class="md-block"> <label>Password</label> <md-icon>vpn_key</md-icon> <input required type="password" name="password" ng-model="signupController.user.password"> <div ng-messages="signupForm.password.$error"> <div ng-message="required">This is required.</div> </div> </md-input-container> <md-input-container class="md-block"> <label>Confirm Password</label> <md-icon>vpn_key</md-icon> <input required type="password" name="confirmPassword" ng-model="signupController.user.confirmPassword"> <div ng-messages="signupForm.confirmPassword.$error"> <div ng-message="required">This is required.</div> </div> </md-input-container> <section layout="row" layout-sm="column" layout-align="center center" layout-wrap> <md-button type="submit" class="md-raised md-primary">SIGN UP</md-button> </section> </form>
{ "content_hash": "97946195fa0565f64b51208516b31234", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 129, "avg_line_length": 44.191489361702125, "alnum_prop": 0.6846413095811267, "repo_name": "googlecodelabs/cloud-lamp-migration", "id": "ed9feb01948c2ea1d05fc4f9d714c1e60ebda6eb", "size": "2077", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "web/templates/pages/signup.html", "mode": "33261", "license": "apache-2.0", "language": [ { "name": "ApacheConf", "bytes": "266" }, { "name": "HTML", "bytes": "36959" }, { "name": "PHP", "bytes": "47998" } ], "symlink_target": "" }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace KeepOnDroning.Api.ServiceDomain { public class ServiceCoordinate { public float Lat { get; set; } public float Lng { get; set; } } }
{ "content_hash": "47c573eb9e4fb3c80555c732394710cd", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 41, "avg_line_length": 21.76923076923077, "alnum_prop": 0.657243816254417, "repo_name": "rootdevelop/semm", "id": "3c1f2917e1ce81c7407576eec00d5cb28faa4723", "size": "285", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "KeepOnDroning.Api/src/KeepOnDroning.Api/ServiceDomain/ServiceCoordinate.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "161011" }, { "name": "HTML", "bytes": "8392" } ], "symlink_target": "" }
package com.orangesignal.csv.manager; import static org.hamcrest.core.IsInstanceOf.instanceOf; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import org.junit.Test; /** * {@link CsvManagerFactory} クラスの単体テストです。 * * @author Koji Sugisawa */ public class CsvManagerFactoryTest { @Test public void testNewCsvManager() { final CsvManager csvManager = CsvManagerFactory.newCsvManager(); assertNotNull(csvManager); assertThat(csvManager, instanceOf(CsvBeanManager.class)); } }
{ "content_hash": "ac595f65987b1890214899d1da79859c", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 66, "avg_line_length": 22.2, "alnum_prop": 0.745945945945946, "repo_name": "Koichi-Kobayashi/orangesignal-csv", "id": "00904ec2dc2af8b4346f845ff40ce2cd5fbbf270", "size": "1208", "binary": false, "copies": "3", "ref": "refs/heads/master", "path": "src/test/java/com/orangesignal/csv/manager/CsvManagerFactoryTest.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "2393812" } ], "symlink_target": "" }
package com.tle.web.sections.ajax.handler; import com.tle.web.sections.SectionInfo; import com.tle.web.sections.SectionTree; import com.tle.web.sections.SectionsRuntimeException; import com.tle.web.sections.ajax.AjaxRenderContext; import com.tle.web.sections.convert.Conversion; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.Collection; import java.util.HashMap; import java.util.Map; public class AnnotatedAjaxMethodScanner { public static class EventData { String name; Method eventMethod; AjaxMethod annotation; int numParams; } public static class FactoryData { String name; Field factoryField; } private final Map<String, EventData> handlerMethods = new HashMap<String, EventData>(); private final Map<String, FactoryData> factories = new HashMap<String, FactoryData>(); private Conversion conversion; public AnnotatedAjaxMethodScanner( Class<?> clazz, AjaxMethodHandler ajaxScanner, Conversion conversion) { this.conversion = conversion; Method[] methods = clazz.getDeclaredMethods(); for (Method method : methods) { AjaxMethod annotation = method.getAnnotation(AjaxMethod.class); if (annotation != null) { EventData handlerData = new EventData(); Class<?>[] params = method.getParameterTypes(); Class<?> firstParam = params[0]; if (firstParam != SectionInfo.class && firstParam != AjaxRenderContext.class) { throw new SectionsRuntimeException( "Ajax Event handler methods must start with SectionInfo or AjaxRenderContext parameter"); //$NON-NLS-1$ } handlerData.numParams = params.length - 1; handlerData.eventMethod = method; handlerData.annotation = annotation; String name = annotation.name(); if (name.isEmpty()) { name = method.getName(); } handlerData.name = name; handlerMethods.put(handlerData.name, handlerData); } } Field[] fields = clazz.getDeclaredFields(); for (Field field : fields) { AjaxFactory annotation = field.getAnnotation(AjaxFactory.class); if (annotation != null) { String name = annotation.name(); FactoryData factoryData = new FactoryData(); factoryData.factoryField = field; factoryData.name = name; field.setAccessible(true); factories.put(name, factoryData); } } Class<?> parentClazz = clazz.getSuperclass(); if (parentClazz != null) { AnnotatedAjaxMethodScanner scanner = ajaxScanner.getForClass(parentClazz); // check for overridden handler methods for (Map.Entry<String, EventData> entry : scanner.handlerMethods.entrySet()) { EventData data = entry.getValue(); Method eventMethod = data.eventMethod; try { Method method = clazz.getMethod(eventMethod.getName(), eventMethod.getParameterTypes()); EventData newdata = new EventData(); newdata.annotation = data.annotation; newdata.eventMethod = method; newdata.name = data.name; newdata.numParams = data.numParams; data = newdata; } catch (NoSuchMethodException nsme) { // nout } handlerMethods.put(entry.getKey(), data); } factories.putAll(scanner.factories); } } public Collection<AjaxGeneratorImpl> registerAjaxFactories( Object section, String id, SectionTree tree) { Map<String, AjaxGeneratorImpl> generators = new HashMap<String, AjaxGeneratorImpl>(); for (FactoryData factoryData : factories.values()) { AjaxGeneratorImpl generator = new AjaxGeneratorImpl(id); generators.put(factoryData.name, generator); try { factoryData.factoryField.set(section, generator); } catch (Exception e) { throw new RuntimeException(e); } } for (EventData data : handlerMethods.values()) { AjaxMethod annotation = data.annotation; AjaxEventCreator mgen = new AjaxEventCreator( id + '.' + data.name, id, data.eventMethod, annotation.priority(), conversion); AjaxGeneratorImpl generator = generators.get(annotation.factoryName()); if (generator == null) { throw new SectionsRuntimeException( "No @AjaxFactory's registered for class: " + section.getClass()); // $NON-NLS-1$ } generator.addEventCreator(data.name, mgen); } return generators.values(); } }
{ "content_hash": "1a87d6f1cba6e815b4c2ded0cf8a7357", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 117, "avg_line_length": 37.17355371900826, "alnum_prop": 0.6700755891507336, "repo_name": "equella/Equella", "id": "30367e42fc287842bc8a16d4cc986ce6c54d28f9", "size": "5301", "binary": false, "copies": "1", "ref": "refs/heads/develop", "path": "Source/Plugins/Core/com.equella.core/src/com/tle/web/sections/ajax/handler/AnnotatedAjaxMethodScanner.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Awk", "bytes": "402" }, { "name": "Batchfile", "bytes": "38432" }, { "name": "CSS", "bytes": "648823" }, { "name": "Dockerfile", "bytes": "2055" }, { "name": "FreeMarker", "bytes": "370046" }, { "name": "HTML", "bytes": "865667" }, { "name": "Java", "bytes": "27081020" }, { "name": "JavaScript", "bytes": "1673995" }, { "name": "PHP", "bytes": "821" }, { "name": "PLpgSQL", "bytes": "1363" }, { "name": "PureScript", "bytes": "307610" }, { "name": "Python", "bytes": "79871" }, { "name": "Scala", "bytes": "765981" }, { "name": "Shell", "bytes": "64170" }, { "name": "TypeScript", "bytes": "146564" }, { "name": "XSLT", "bytes": "510113" } ], "symlink_target": "" }
<?php $assets = $this->app->assets; $url = $this->app->url; ?> <!-- Start HomePage Slider --> <section id="home"> <!-- Carousel --> <div id="main-slide" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#main-slide" data-slide-to="0" class="active"></li> <li data-target="#main-slide" data-slide-to="1"></li> <li data-target="#main-slide" data-slide-to="2"></li> </ol><!--/ Indicators end--> <!-- Carousel inner --> <div class="carousel-inner"> <div class="item active"> <img class="img-responsive" src="<?php echo $assets->images('slider/bg1.jpg') ?>" alt="slider"> <div class="slider-content"> <div class="col-md-12 text-center"> <h2 class="animated2"> <span>Welcome to <strong>Margo</strong></span> </h2> <h3 class="animated3"> <span>The ultimate aim of your business</span> </h3> <p class="animated4"><a href="#" class="slider btn btn-system btn-large">Check Now</a></p> </div> </div> </div><!--/ Carousel item end --> <div class="item"> <img class="img-responsive" src="<?php echo $assets->images('slider/bg2.jpg') ?>" alt="slider"> <div class="slider-content"> <div class="col-md-12 text-center"> <h2 class="animated4"> <span><strong>Margo</strong> for the highest</span> </h2> <h3 class="animated5"> <span>The Key of your Success</span> </h3> <p class="animated6"><a href="#" class="slider btn btn-system btn-large">Buy Now</a></p> </div> </div> </div><!--/ Carousel item end --> <div class="item"> <img class="img-responsive" src="<?php echo $assets->images('slider/bg3.jpg') ?>" alt="slider"> <div class="slider-content"> <div class="col-md-12 text-center"> <h2 class="animated7 white"> <span>The way of <strong>Success</strong></span> </h2> <h3 class="animated8 white"> <span>Why you are waiting</span> </h3> <div class=""> <a class="animated4 slider btn btn-system btn-large btn-min-block" href="#">Get Now</a><a class="animated4 slider btn btn-default btn-min-block" href="#">Live Demo</a> </div> </div> </div> </div><!--/ Carousel item end --> </div><!-- Carousel inner end--> <!-- Controls --> <a class="left carousel-control" href="#main-slide" data-slide="prev"> <span><i class="fa fa-angle-left"></i></span> </a> <a class="right carousel-control" href="#main-slide" data-slide="next"> <span><i class="fa fa-angle-right"></i></span> </a> </div><!-- /carousel --> </section> <!-- End HomePage Slider --> <!-- Start Content --> <div id="content"> <div class="container"> <!-- Start Services Icons --> <div class="row"> <!-- Start Service Icon 1 --> <div class="col-md-3 col-sm-6 service-box service-center"> <div class="service-icon"> <i class="fa fa-heart icon-large"></i> </div> <div class="service-content"> <h4>High Quality Theme</h4> <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Lorem ipsum dolor.</p> </div> </div> <!-- End Service Icon 1 --> <!-- Start Service Icon 2 --> <div class="col-md-3 col-sm-6 service-box service-center"> <div class="service-icon"> <i class="fa fa-magic icon-large"></i> </div> <div class="service-content"> <h4>Retina Display Ready</h4> <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Lorem ipsum dolor.</p> </div> </div> <!-- End Service Icon 2 --> <!-- Start Service Icon 3 --> <div class="col-md-3 col-sm-6 service-box service-center"> <div class="service-icon"> <i class="fa fa-pencil icon-large"></i> </div> <div class="service-content"> <h4>Clean Modern Code</h4> <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Lorem ipsum dolor.</p> </div> </div> <!-- End Service Icon 3 --> <!-- Start Service Icon 4 --> <div class="col-md-3 col-sm-6 service-box service-center"> <div class="service-icon"> <i class="fa fa-rocket icon-large"></i> </div> <div class="service-content"> <h4>Fast & Light Theme</h4> <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Lorem ipsum dolor.</p> </div> </div> <!-- End Service Icon 3 --> </div> <!-- End Services Icons --> <!-- Divider --> <div class="hr5" style="margin-top:25px; margin-bottom:45px;"></div> <div class="row"> <!-- Start Big Heading --> <div class="big-title text-center"> <h1>The Most <span class="accent-color">Flexible</span> & <span class="accent-color">Easy</span> To Use Theme.</h1> <p class="title-desc">Lorem Ipsum is simply dummy text of the typesetting industry.</p> </div> <!-- End Big Heading --> <!-- Divider --> <div class="hr1" style="margin-top:20px; margin-bottom:20px;"></div> <!-- Start Service Icon 1 --> <div class="col-md-4 service-box service-icon-left"> <div class="service-icon"> <i class="fa fa-magic icon-mini-effect icon-effect-3 gray-icon"></i> </div> <div class="service-content"> <h4>High Quality Theme</h4> <p>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia dolores.</p> </div> </div> <!-- End Service Icon 1 --> <!-- Start Service Icon 1 --> <div class="col-md-4 service-box service-icon-left"> <div class="service-icon"> <i class="fa fa-magic icon-mini-effect icon-effect-3 gray-icon"></i> </div> <div class="service-content"> <h4>High Quality Theme</h4> <p>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia dolores.</p> </div> </div> <!-- End Service Icon 1 --> <!-- Start Service Icon 1 --> <div class="col-md-4 service-box service-icon-left"> <div class="service-icon"> <i class="fa fa-magic icon-mini-effect icon-effect-3 gray-icon"></i> </div> <div class="service-content"> <h4>High Quality Theme</h4> <p>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia dolores.</p> </div> </div> <!-- End Service Icon 1 --> <!-- Start Service Icon 2 --> <div class="col-md-4 service-box service-icon-left"> <div class="service-icon"> <i class="fa fa-rocket icon-mini-effect icon-effect-6 gray-icon"></i> </div> <div class="service-content"> <h4>Fast & Light Theme</h4> <p>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia dolores.</p> </div> </div> <!-- End Service Icon 2 --> <!-- Start Service Icon 3 --> <div class="col-md-4 service-box service-icon-left"> <div class="service-icon"> <i class="fa fa-eye icon-mini-effect icon-effect-5 gray-icon"></i> </div> <div class="service-content"> <h4>Retina Display Ready</h4> <p>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia dolores.</p> </div> </div> <!-- End Service Icon 3 --> <!-- Start Service Icon 4 --> <div class="col-md-4 service-box service-icon-left"> <div class="service-icon"> <i class="fa fa-pencil icon-mini-effect icon-effect-4 gray-icon"></i> </div> <div class="service-content"> <h4>Clean Modern Code</h4> <p>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia dolores.</p> </div> </div> <!-- End Service Icon 4 --> </div> <!-- Divider --> <div class="hr5" style="margin-top:50px; margin-bottom:55px;"></div> <div class="row"> <div class="col-md-3"> <!-- Start Big Heading --> <div class="big-title"> <h1>Our <span class="accent-color">Team</span></h1> <p class="title-desc">We Make Your Smile</p> </div> <!-- End Big Heading --> <!-- Some Text --> <p>Lorem ipsum dolor sit amet, consectetur adi elit, sed do eiusmod tempor incididunt.</p> <!-- Divider --> <div class="hr1" style="margin-bottom:10px;"></div> <!-- Some Text --> <p>Lorem ipsum dolor sit amet, consectetur adi elit, sed do eiusmod tempor incididunt enim labore et dolore magna aliqua. Ut enim nisi minim veniam, quis nostrud exercitation do ullamco laboris nisi ut aliquip ex commodo.</p> </div> <!-- Start Memebr 1 --> <div class="col-md-3 col-sm-6 col-xs-12"> <div class="team-member"> <!-- Memebr Photo, Name & Position --> <div class="member-photo"> <img alt="" src="<?php echo $assets->images('team/face_1.png') ?>" /> <div class="member-name">John Doe <span>Developer</span></div> </div> <!-- Memebr Words --> <div class="member-info"> <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore fugiat.</p> </div> <!-- Memebr Social Links --> <div class="member-socail"> <a class="twitter" href="#"><i class="fa fa-twitter"></i></a> <a class="gplus" href="#"><i class="fa fa-google-plus"></i></a> <a class="linkedin" href="#"><i class="fa fa-linkedin"></i></a> <a class="flickr" href="#"><i class="fa fa-flickr"></i></a> <a class="mail" href="#"><i class="fa fa-envelope"></i></a> </div> </div> </div> <!-- End Memebr 1 --> <!-- Start Memebr 2 --> <div class="col-md-3 col-sm-6 col-xs-12"> <div class="team-member"> <!-- Memebr Photo, Name & Position --> <div class="member-photo"> <img alt="" src="<?php echo $assets->images('team/face_2.png') ?>" /> <div class="member-name">Silly Sally <span>Developer</span></div> </div> <!-- Memebr Words --> <div class="member-info"> <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore fugiat.</p> </div> <!-- Memebr Social Links --> <div class="member-socail"> <a class="twitter" href="#"><i class="fa fa-twitter"></i></a> <a class="gplus" href="#"><i class="fa fa-google-plus"></i></a> <a class="linkedin" href="#"><i class="fa fa-linkedin"></i></a> <a class="flickr" href="#"><i class="fa fa-flickr"></i></a> <a class="mail" href="#"><i class="fa fa-envelope"></i></a> </div> </div> </div> <!-- End Memebr 2 --> <!-- Start Memebr 3 --> <div class="col-md-3 col-sm-6 col-xs-12"> <div class="team-member"> <!-- Memebr Photo, Name & Position --> <div class="member-photo"> <img alt="" src="<?php echo $assets->images('team/face_3.png') ?>" /> <div class="member-name">Chris John <span>Developer</span></div> </div> <!-- Memebr Words --> <div class="member-info"> <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore fugiat.</p> </div> <!-- Memebr Social Links --> <div class="member-socail"> <a class="twitter" href="#"><i class="fa fa-twitter"></i></a> <a class="gplus" href="#"><i class="fa fa-google-plus"></i></a> <a class="linkedin" href="#"><i class="fa fa-linkedin"></i></a> <a class="flickr" href="#"><i class="fa fa-flickr"></i></a> <a class="mail" href="#"><i class="fa fa-envelope"></i></a> </div> </div> </div> <!-- End Memebr 3 --> </div> <!-- Divider --> <div class="hr5" style="margin-top:55px; margin-bottom:55px;"></div> <div class="row"> <div class="col-md-3"> <!-- Start Big Heading --> <div class="big-title"> <h1>Our <span class="accent-color">Clients</span></h1> <p class="title-desc">Partners We Work With</p> </div> <!-- End Big Heading --> </div> <div class="col-md-9"> <!--Start Clients Carousel--> <div class="our-clients"> <div class="clients-carousel custom-carousel touch-carousel navigation-2" data-appeared-items="4" data-navigation="true"> <!-- Client 1 --> <div class="client-item item"> <a href="#"><img src="<?php echo $assets->images('c1.png') ?>" alt="" /></a> </div> <!-- Client 2 --> <div class="client-item item"> <a href="#"><img src="<?php echo $assets->images('c2.png') ?>" alt="" /></a> </div> <!-- Client 3 --> <div class="client-item item"> <a href="#"><img src="<?php echo $assets->images('c3.png') ?>" alt="" /></a> </div> <!-- Client 4 --> <div class="client-item item"> <a href="#"><img src="<?php echo $assets->images('c4.png') ?>" alt="" /></a> </div> <!-- Client 5 --> <div class="client-item item"> <a href="#"><img src="<?php echo $assets->images('c5.png') ?>" alt="" /></a> </div> <!-- Client 6 --> <div class="client-item item"> <a href="#"><img src="<?php echo $assets->images('c6.png') ?>" alt="" /></a> </div> <!-- Client 7 --> <div class="client-item item"> <a href="#"><img src="<?php echo $assets->images('c7.png') ?>" alt="" /></a> </div> <!-- Client 8 --> <div class="client-item item"> <a href="#"><img src="<?php echo $assets->images('c8.png') ?>" alt="" /></a> </div> </div> </div> <!--End Clients Carousel--> </div> </div> </div> </div> <!-- End Content -->
{ "content_hash": "0679f2d6b2c8b562178a7ff749523105", "timestamp": "", "source": "github", "line_count": 390, "max_line_length": 231, "avg_line_length": 36.80769230769231, "alnum_prop": 0.5390456287008011, "repo_name": "kecik-framework/skeleton", "id": "b14a80e402e8f37c5b5eab32bbee131c25eb1aab", "size": "14355", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "protected/views/margo/index5.php", "mode": "33188", "license": "mit", "language": [ { "name": "ApacheConf", "bytes": "788" }, { "name": "CSS", "bytes": "932306" }, { "name": "HTML", "bytes": "25205" }, { "name": "JavaScript", "bytes": "3763006" }, { "name": "PHP", "bytes": "1366331" } ], "symlink_target": "" }
using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using RefactoringEssentials.CSharp.Diagnostics; namespace RefactoringEssentials.Samples.CSharp { // PLEASE UNCOMMENT THIS LINE TO REGISTER CODE FIX IN IDE. //[ExportCodeFixProvider(LanguageNames.CSharp), System.Composition.Shared] public class SampleCodeFixProvider : CodeFixProvider { // A CodeFixProvider is a complement of an analyzer providing a fix for the // potential code issue. To link to the correct analyzer its diagnostic ID must // be returned by the overridden FixableDiagnosticIds property. public override ImmutableArray<string> FixableDiagnosticIds { get { return ImmutableArray.Create(CSharpDiagnosticIDs.SampleAnalyzerID); } } // Overriding GetFixAllProvider() is optional, but can be used to // allow to apply the fix to all occurrences of this code issue // in document, project or whole solution. public override FixAllProvider GetFixAllProvider() { return WellKnownFixAllProviders.BatchFixer; } public async override Task RegisterCodeFixesAsync(CodeFixContext context) { // Get some initial variables needed later var document = context.Document; var cancellationToken = context.CancellationToken; var span = context.Span; var diagnostics = context.Diagnostics; var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false); // This is an instance of Diagnostic instance created by corresponding analyzer var diagnostic = diagnostics.First(); // Get the node which has been marked by analyzer. // In this example that must have been the class name identifier (see SampleAnalyzer.cs). // But since the identifier is a SyntaxToken, FindNode() returns the innermost SyntaxNode, which is the ClassDeclarationSyntax. var node = root.FindNode(context.Span) as ClassDeclarationSyntax; if (node == null) return; // New name does not contain the "C" prefix (just cut it) string newName = node.Identifier.ValueText.Substring(1); context.RegisterCodeFix(CodeActionFactory.Create(node.Span, diagnostic.Severity, "Sample code fix: Remove 'C' prefix", token => { // Applying a fix means replacing parts of syntax tree with our new elements. // Note: Every call to any .With...() method creates a completely new syntax tree object, // which is not part of current document anymore! Finally we create a completely new document // based on a new syntax tree containing the result of our refactoring. // In our sample we replace the class declaration with a new class declaration containing the new name. // Note: Always try to preserve formatting when replacing nodes: Copy leading and trailing trivia from original node to the new one. var newRoot = root.ReplaceNode(node, node.WithIdentifier( SyntaxFactory.Identifier(newName).WithLeadingTrivia(node.Identifier.LeadingTrivia).WithTrailingTrivia(node.Identifier.TrailingTrivia))); return Task.FromResult(document.WithSyntaxRoot(newRoot)); }), diagnostic); } } }
{ "content_hash": "98020f4f87dac966262d85b1df201d76", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 156, "avg_line_length": 50.16438356164384, "alnum_prop": 0.678590933915893, "repo_name": "SSkovboiSS/RefactoringEssentials", "id": "d194a3bcd1dc578fb3b6da14ac3f5e6081c85043", "size": "3662", "binary": false, "copies": "3", "ref": "refs/heads/master", "path": "RefactoringEssentials/Samples/CSharp/SampleCodeFixProvider.cs", "mode": "33188", "license": "mit", "language": [ { "name": "ASP", "bytes": "102" }, { "name": "Batchfile", "bytes": "754" }, { "name": "C#", "bytes": "4896265" }, { "name": "CSS", "bytes": "1267" }, { "name": "HTML", "bytes": "57295" }, { "name": "PowerShell", "bytes": "995" }, { "name": "Visual Basic", "bytes": "8195" } ], "symlink_target": "" }
#import <CoreData/NSMappedObjectStore.h> // Not exported @interface NSMemoryObjectStore : NSMappedObjectStore { } + (id)metadataForPersistentStoreWithURL:(id)arg1 error:(id *)arg2; + (_Bool)setMetadata:(id)arg1 forPersistentStoreWithURL:(id)arg2 error:(id *)arg3; - (void)_preflightCrossCheck; - (id)_archivedData; - (id)type; - (void)saveDocumentToPath:(id)arg1; - (id)initWithPersistentStoreCoordinator:(id)arg1 configurationName:(id)arg2 URL:(id)arg3 options:(id)arg4; @end
{ "content_hash": "ffe2376d4084bbed99b4e7bc351f0fce", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 107, "avg_line_length": 25.42105263157895, "alnum_prop": 0.7619047619047619, "repo_name": "matthewsot/CocoaSharp", "id": "172e2d3a83cf0813de06bda68aa8cd8fc1840564", "size": "623", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "Headers/Frameworks/CoreData/NSMemoryObjectStore.h", "mode": "33188", "license": "mit", "language": [ { "name": "C", "bytes": "259784" }, { "name": "C#", "bytes": "2789005" }, { "name": "C++", "bytes": "252504" }, { "name": "Objective-C", "bytes": "24301417" }, { "name": "Smalltalk", "bytes": "167909" } ], "symlink_target": "" }
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Can. J. Bot. 31: 674 (1953) #### Original name Farinaria stellariae Sowerby, 1803 ### Remarks null
{ "content_hash": "c43ec93e8a05d655436f517fbff5424a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 14.307692307692308, "alnum_prop": 0.6989247311827957, "repo_name": "mdoering/backbone", "id": "e697129353501daf50beae9c7e15399ec30798ce", "size": "266", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "life/Fungi/Basidiomycota/Microbotryomycetes/Microbotryales/Microbotryaceae/Microbotryum/Microbotryum stellariae/ Syn. Ustilago violacea stellariae/README.md", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
package core.module.codec; public class FailedResponse extends InboundMessage { protected int parameterId; protected String failedReason; public FailedResponse(int parameterId, java.lang.String failedReason) { this.parameterId = parameterId; this.failedReason = failedReason; } public int getParameterId() { return this.parameterId; } public String getFailedReason() { return this.failedReason; } public String toString() { return super.toString() + "[parameterId=0x" + Integer.toHexString(parameterId) + ",failedReason=" + failedReason + "]"; } }
{ "content_hash": "7b3f40714c2bd2bf49d0846e9bf47bb3", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 127, "avg_line_length": 25.4, "alnum_prop": 0.6771653543307087, "repo_name": "ericlink/adms-server", "id": "e05ab9801cfd779a1ffe56627e64d7e935ac9813", "size": "806", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "application/app/core/module/codec/FailedResponse.java", "mode": "33188", "license": "mit", "language": [ { "name": "Batchfile", "bytes": "408" }, { "name": "C", "bytes": "152256" }, { "name": "CSS", "bytes": "97486" }, { "name": "HTML", "bytes": "553901" }, { "name": "Java", "bytes": "3086962" }, { "name": "JavaScript", "bytes": "736134" }, { "name": "Python", "bytes": "15750302" }, { "name": "SQLPL", "bytes": "10111" }, { "name": "Scala", "bytes": "1432" }, { "name": "Shell", "bytes": "1369" } ], "symlink_target": "" }
using UnityEngine; using System.Collections; // Simple script to keep an object within the user's play area. // If the play area is configured, the object attempts to stay within its initial distance, // but clamped to be within the play area. // If the play area is not configured, the object is left alone. // A shipping title might use similar logic to keep critical interactive objects within // the player's playable area. public class BoundsLockedObject : MonoBehaviour { Vector3 m_initialOffset; public OVRCameraRig m_playerOrigin; public GuardianBoundaryEnforcer m_enforcer; private Bounds? m_bounds = null; void Start() { m_enforcer.TrackingChanged += RefreshDisplay; m_initialOffset = gameObject.transform.position - m_playerOrigin.transform.position; Renderer renderer = gameObject.GetComponent<Renderer>(); if(renderer != null) { m_bounds = renderer.bounds; } RefreshDisplay(); } void RefreshDisplay() { bool configured = OVRManager.boundary.GetConfigured(); if (configured) { Vector3[] boundaryPoints = OVRManager.boundary.GetGeometry(OVRBoundary.BoundaryType.PlayArea); float xMin = 10000.0f; float zMin = 10000.0f; float xMax = -10000.0f; float zMax = -10000.0f; for (int i = 0; i < boundaryPoints.Length; ++i) { // Transforming the points to deal with the case where GuardianBoundaryDemoSettings.AllowRecenterYaw = false. // The boundary points will be returned in the new tracking space, but we want to ignore the new orientation // and instead use our nicely axis-aligned original play area. // If AllowRecenterYaw = true, trackingSpace will simply be the identity, so this is fine. boundaryPoints[i] = m_enforcer.OrientToOriginalForward * boundaryPoints[i]; xMin = Mathf.Min(xMin, boundaryPoints[i].x); zMin = Mathf.Min(zMin, boundaryPoints[i].z); xMax = Mathf.Max(xMax, boundaryPoints[i].x); zMax = Mathf.Max(zMax, boundaryPoints[i].z); } if(m_bounds != null) { float halfWidth = ((Bounds)m_bounds).size.x * 0.5f; float halfLength = ((Bounds)m_bounds).size.z * 0.5f; xMin += halfWidth; xMax -= halfWidth; zMin += halfLength; zMax -= halfLength; } // Now we can easily constrain the object's position to be within the play area. Vector3 newPos = m_initialOffset; newPos.x = Mathf.Max(Mathf.Min(xMax, m_initialOffset.x), xMin); newPos.z = Mathf.Max(Mathf.Min(zMax, m_initialOffset.z), zMin); newPos.y = gameObject.transform.position.y; if (m_enforcer.m_AllowRecenter) { newPos = Quaternion.Inverse(m_enforcer.OrientToOriginalForward) * newPos; } gameObject.transform.position = newPos; } } }
{ "content_hash": "1b4d4e15e7dd6d64ed293ec4ba2b25ed", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 125, "avg_line_length": 41.05263157894737, "alnum_prop": 0.6125, "repo_name": "davidezordan/MixedRealitySamples", "id": "11ca4f3faaddff48bb4af1e9a1156720998f057e", "size": "3120", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "Oculus Demo/Assets/Oculus/SampleFramework/Core/GuardianBoundarySystem/BoundsLockedObject.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "17515940" }, { "name": "GLSL", "bytes": "37630" }, { "name": "HLSL", "bytes": "102589" }, { "name": "JavaScript", "bytes": "43789" }, { "name": "Mathematica", "bytes": "46437" }, { "name": "ShaderLab", "bytes": "586118" }, { "name": "Smalltalk", "bytes": "6" } ], "symlink_target": "" }
XTOOLS_NAMESPACE_BEGIN void SessionMessageRouter::RegisterHandler(const MessageHandlerProxyPtr& handler) { m_handlerMap[handler->GetMessageType()] = handler; } bool SessionMessageRouter::CallHandler(const JSONMessagePtr& message, const NetworkConnectionPtr& connection) const { try { std::string messageType = message->GetStringValue(kSessionMessageTypeKey); auto handler = m_handlerMap.find(messageType); if (handler != m_handlerMap.end()) { handler->second->HandleMessage(message, connection); } else { LogWarning("Received a session message for which there is no handler registered"); return false; } } catch (web::json::json_exception e) { LogError("Bad JSON message received: %s", e.what()); return false; } return true; } XTOOLS_NAMESPACE_END
{ "content_hash": "b08ba9fd1aadba3786a8609e736d1b43", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 115, "avg_line_length": 22.62857142857143, "alnum_prop": 0.7386363636363636, "repo_name": "andymule/HoloToolkit", "id": "468436acd88b19d835cc11d3c4b9ea7281ce88d8", "size": "1190", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "Sharing/Src/Source/Common/Private/SessionMessageRouter.cpp", "mode": "33188", "license": "mit", "language": [ { "name": "ActionScript", "bytes": "255087" }, { "name": "Assembly", "bytes": "67903" }, { "name": "Awk", "bytes": "4270" }, { "name": "Batchfile", "bytes": "53542" }, { "name": "C", "bytes": "19560233" }, { "name": "C#", "bytes": "1096489" }, { "name": "C++", "bytes": "13585951" }, { "name": "CMake", "bytes": "257428" }, { "name": "CSS", "bytes": "37186" }, { "name": "DIGITAL Command Language", "bytes": "232950" }, { "name": "Groff", "bytes": "1011633" }, { "name": "HLSL", "bytes": "809" }, { "name": "HTML", "bytes": "18970147" }, { "name": "Inno Setup", "bytes": "4186" }, { "name": "Java", "bytes": "24137" }, { "name": "JavaScript", "bytes": "4750" }, { "name": "M4", "bytes": "584628" }, { "name": "Makefile", "bytes": "3004872" }, { "name": "Matlab", "bytes": "2076" }, { "name": "Module Management System", "bytes": "13606" }, { "name": "OCaml", "bytes": "13032" }, { "name": "Objective-C", "bytes": "621792" }, { "name": "Objective-C++", "bytes": "13782" }, { "name": "PAWN", "bytes": "3443" }, { "name": "PHP", "bytes": "10450" }, { "name": "Perl", "bytes": "439175" }, { "name": "Perl 6", "bytes": "8552" }, { "name": "Python", "bytes": "50251" }, { "name": "Ruby", "bytes": "234" }, { "name": "SAS", "bytes": "14110" }, { "name": "Scheme", "bytes": "9578" }, { "name": "Shell", "bytes": "1520712" }, { "name": "Smalltalk", "bytes": "1252" }, { "name": "Visual Basic", "bytes": "11291" }, { "name": "XSLT", "bytes": "24635" } ], "symlink_target": "" }
<?xml version='1.0' encoding='utf-8'?><!-- ============================================================================================ House of Commons - Canada - - - - - - - - - - - - - - - - - - - - - - - - - The data contained in this document is provided in a standard XML format. Once imported into a spreadsheet or database tool of your choice, the data can be filtered and sorted to create customized reports. Please refer to the instructions within the tool of your choice to find out how to import external data. For information about the disclaimer of liability: http://www2.parl.gc.ca/HouseChamberBusiness/ChamberDisclaimer.aspx?Language=E ============================================================================================ --> <Vote schemaVersion="1.0"> <Context> <Para>That the Bill be now read a third time and do pass.</Para> </Context> <Sponsor>Mr. Nicholson (Minister of Justice)</Sponsor> <Decision>Agreed To</Decision> <RelatedBill number="C-37"> <Title>An Act to amend the Criminal Code</Title> </RelatedBill> <Participant> <Name>Mr. Peter Penashue</Name> <FirstName>Peter</FirstName> <LastName>Penashue</LastName> <Constituency>Labrador</Constituency> <Province code="NL">Newfoundland and Labrador</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Lisa Raitt</Name> <FirstName>Lisa</FirstName> <LastName>Raitt</LastName> <Constituency>Halton</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Denis Lebel</Name> <FirstName>Denis</FirstName> <LastName>Lebel</LastName> <Constituency>Roberval—Lac-Saint-Jean</Constituency> <Province code="QC">Québec</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Rona Ambrose</Name> <FirstName>Rona</FirstName> <LastName>Ambrose</LastName> <Constituency>Edmonton—Spruce Grove</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Vic Toews</Name> <FirstName>Vic</FirstName> <LastName>Toews</LastName> <Constituency>Provencher</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rob Nicholson</Name> <FirstName>Rob</FirstName> <LastName>Nicholson</LastName> <Constituency>Niagara Falls</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Peter MacKay</Name> <FirstName>Peter</FirstName> <LastName>MacKay</LastName> <Constituency>Central Nova</Constituency> <Province code="NS">Nova Scotia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Peter Van Loan</Name> <FirstName>Peter</FirstName> <LastName>Van Loan</LastName> <Constituency>York—Simcoe</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Stephen Harper</Name> <FirstName>Stephen</FirstName> <LastName>Harper</LastName> <Constituency>Calgary Southwest</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Christian Paradis</Name> <FirstName>Christian</FirstName> <LastName>Paradis</LastName> <Constituency>Mégantic—L'Érable</Constituency> <Province code="QC">Québec</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jim Flaherty</Name> <FirstName>Jim</FirstName> <LastName>Flaherty</LastName> <Constituency>Whitby—Oshawa</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Tony Clement</Name> <FirstName>Tony</FirstName> <LastName>Clement</LastName> <Constituency>Parry Sound—Muskoka</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Diane Finley</Name> <FirstName>Diane</FirstName> <LastName>Finley</LastName> <Constituency>Haldimand—Norfolk</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Gerry Ritz</Name> <FirstName>Gerry</FirstName> <LastName>Ritz</LastName> <Constituency>Battlefords—Lloydminster</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jason Kenney</Name> <FirstName>Jason</FirstName> <LastName>Kenney</LastName> <Constituency>Calgary Southeast</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. James Moore</Name> <FirstName>James</FirstName> <LastName>Moore</LastName> <Constituency>Port Moody—Westwood—Port Coquitlam</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Leona Aglukkaq</Name> <FirstName>Leona</FirstName> <LastName>Aglukkaq</LastName> <Constituency>Nunavut</Constituency> <Province code="NU">Nunavut</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. John Duncan</Name> <FirstName>John</FirstName> <LastName>Duncan</LastName> <Constituency>Vancouver Island North</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Gail Shea</Name> <FirstName>Gail</FirstName> <LastName>Shea</LastName> <Constituency>Egmont</Constituency> <Province code="PE">Prince Edward Island</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ed Fast</Name> <FirstName>Ed</FirstName> <LastName>Fast</LastName> <Constituency>Abbotsford</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Joe Oliver</Name> <FirstName>Joe</FirstName> <LastName>Oliver</LastName> <Constituency>Eglinton—Lawrence</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bernard Valcourt</Name> <FirstName>Bernard</FirstName> <LastName>Valcourt</LastName> <Constituency>Madawaska—Restigouche</Constituency> <Province code="NB">New Brunswick</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Leon Benoit</Name> <FirstName>Leon</FirstName> <LastName>Benoit</LastName> <Constituency>Vegreville—Wainwright</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Garry Breitkreuz</Name> <FirstName>Garry</FirstName> <LastName>Breitkreuz</LastName> <Constituency>Yorkton—Melville</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rob Merrifield</Name> <FirstName>Rob</FirstName> <LastName>Merrifield</LastName> <Constituency>Yellowhead</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rob Moore</Name> <FirstName>Rob</FirstName> <LastName>Moore</LastName> <Constituency>Fundy Royal</Constituency> <Province code="NB">New Brunswick</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rob Anders</Name> <FirstName>Rob</FirstName> <LastName>Anders</LastName> <Constituency>Calgary West</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Randy Kamp</Name> <FirstName>Randy</FirstName> <LastName>Kamp</LastName> <Constituency>Pitt Meadows—Maple Ridge—Mission</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Pierre Poilievre</Name> <FirstName>Pierre</FirstName> <LastName>Poilievre</LastName> <Constituency>Nepean—Carleton</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mike Lake</Name> <FirstName>Mike</FirstName> <LastName>Lake</LastName> <Constituency>Edmonton—Mill Woods—Beaumont</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Deepak Obhrai</Name> <FirstName>Deepak</FirstName> <LastName>Obhrai</LastName> <Constituency>Calgary East</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rick Dykstra</Name> <FirstName>Rick</FirstName> <LastName>Dykstra</LastName> <Constituency>St. Catharines</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Maxime Bernier</Name> <FirstName>Maxime</FirstName> <LastName>Bernier</LastName> <Constituency>Beauce</Constituency> <Province code="QC">Québec</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bal Gosal</Name> <FirstName>Bal</FirstName> <LastName>Gosal</LastName> <Constituency>Bramalea—Gore—Malton</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Gary Goodyear</Name> <FirstName>Gary</FirstName> <LastName>Goodyear</LastName> <Constituency>Cambridge</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Gordon O'Connor</Name> <FirstName>Gordon</FirstName> <LastName>O'Connor</LastName> <Constituency>Carleton—Mississippi Mills</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Lynne Yelich</Name> <FirstName>Lynne</FirstName> <LastName>Yelich</LastName> <Constituency>Blackstrap</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Alice Wong</Name> <FirstName>Alice</FirstName> <LastName>Wong</LastName> <Constituency>Richmond</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Diane Ablonczy</Name> <FirstName>Diane</FirstName> <LastName>Ablonczy</LastName> <Constituency>Calgary—Nose Hill</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ted Menzies</Name> <FirstName>Ted</FirstName> <LastName>Menzies</LastName> <Constituency>Macleod</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Tim Uppal</Name> <FirstName>Tim</FirstName> <LastName>Uppal</LastName> <Constituency>Edmonton—Sherwood Park</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Paul Calandra</Name> <FirstName>Paul </FirstName> <LastName>Calandra</LastName> <Constituency>Oak Ridges—Markham</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. David Anderson</Name> <FirstName>David</FirstName> <LastName>Anderson</LastName> <Constituency>Cypress Hills—Grasslands</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jacques Gourde</Name> <FirstName>Jacques</FirstName> <LastName>Gourde</LastName> <Constituency>Lotbinière—Chutes-de-la-Chaudière</Constituency> <Province code="QC">Québec</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Colin Carrie</Name> <FirstName>Colin</FirstName> <LastName>Carrie</LastName> <Constituency>Oshawa</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Gerald Keddy</Name> <FirstName>Gerald</FirstName> <LastName>Keddy</LastName> <Constituency>South Shore—St. Margaret's</Constituency> <Province code="NS">Nova Scotia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Scott Reid</Name> <FirstName>Scott</FirstName> <LastName>Reid</LastName> <Constituency>Lanark—Frontenac—Lennox and Addington</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Cheryl Gallant</Name> <FirstName>Cheryl</FirstName> <LastName>Gallant</LastName> <Constituency>Renfrew—Nipissing—Pembroke</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. James Lunney</Name> <FirstName>James</FirstName> <LastName>Lunney</LastName> <Constituency>Nanaimo—Alberni</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. James Rajotte</Name> <FirstName>James</FirstName> <LastName>Rajotte</LastName> <Constituency>Edmonton—Leduc</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Kevin Sorenson</Name> <FirstName>Kevin</FirstName> <LastName>Sorenson</LastName> <Constituency>Crowfoot</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Gary Schellenberger</Name> <FirstName>Gary</FirstName> <LastName>Schellenberger</LastName> <Constituency>Perth—Wellington</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dean Allison</Name> <FirstName>Dean</FirstName> <LastName>Allison</LastName> <Constituency>Niagara West—Glanbrook</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. James Bezan</Name> <FirstName>James</FirstName> <LastName>Bezan</LastName> <Constituency>Selkirk—Interlake</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Gordon Brown</Name> <FirstName>Gordon</FirstName> <LastName>Brown</LastName> <Constituency>Leeds—Grenville</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Michael Chong</Name> <FirstName>Michael</FirstName> <LastName>Chong</LastName> <Constituency>Wellington—Halton Hills</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Nina Grewal</Name> <FirstName>Nina</FirstName> <LastName>Grewal</LastName> <Constituency>Fleetwood—Port Kells</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Chris Alexander</Name> <FirstName>Chris</FirstName> <LastName>Alexander</LastName> <Constituency>Ajax—Pickering</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Michelle Rempel</Name> <FirstName>Michelle</FirstName> <LastName>Rempel</LastName> <Constituency>Calgary Centre-North</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Robert Goguen</Name> <FirstName>Robert</FirstName> <LastName>Goguen</LastName> <Constituency>Moncton—Riverview—Dieppe</Constituency> <Province code="NB">New Brunswick</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Kerry-Lynne D. Findlay</Name> <FirstName>Kerry-Lynne D.</FirstName> <LastName>Findlay</LastName> <Constituency>Delta—Richmond East</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dean Del Mastro</Name> <FirstName>Dean</FirstName> <LastName>Del Mastro</LastName> <Constituency>Peterborough</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Pierre Lemieux</Name> <FirstName>Pierre</FirstName> <LastName>Lemieux</LastName> <Constituency>Glengarry—Prescott—Russell</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Tom Lukiwski</Name> <FirstName>Tom</FirstName> <LastName>Lukiwski</LastName> <Constituency>Regina—Lumsden—Lake Centre</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Susan Truppe</Name> <FirstName>Susan</FirstName> <LastName>Truppe</LastName> <Constituency>London North Centre</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Candice Bergen</Name> <FirstName>Candice</FirstName> <LastName>Bergen</LastName> <Constituency>Portage—Lisgar</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Eve Adams</Name> <FirstName>Eve</FirstName> <LastName>Adams</LastName> <Constituency>Mississauga—Brampton South</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Shelly Glover</Name> <FirstName>Shelly</FirstName> <LastName>Glover</LastName> <Constituency>Saint Boniface</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Kellie Leitch</Name> <FirstName>Kellie</FirstName> <LastName>Leitch</LastName> <Constituency>Simcoe—Grey</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Chungsen Leung</Name> <FirstName>Chungsen</FirstName> <LastName>Leung</LastName> <Constituency>Willowdale</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Andrew Saxton</Name> <FirstName>Andrew</FirstName> <LastName>Saxton</LastName> <Constituency>North Vancouver</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bob Dechert</Name> <FirstName>Bob</FirstName> <LastName>Dechert</LastName> <Constituency>Mississauga—Erindale</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Lois Brown</Name> <FirstName>Lois</FirstName> <LastName>Brown</LastName> <Constituency>Newmarket—Aurora</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Cathy McLeod</Name> <FirstName>Cathy</FirstName> <LastName>McLeod</LastName> <Constituency>Kamloops—Thompson—Cariboo</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Russ Hiebert</Name> <FirstName>Russ</FirstName> <LastName>Hiebert</LastName> <Constituency>South Surrey—White Rock—Cloverdale</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Brian Jean</Name> <FirstName>Brian</FirstName> <LastName>Jean</LastName> <Constituency>Fort McMurray—Athabasca</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ed Komarnicki</Name> <FirstName>Ed</FirstName> <LastName>Komarnicki</LastName> <Constituency>Souris—Moose Mountain</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Daryl Kramp</Name> <FirstName>Daryl</FirstName> <LastName>Kramp</LastName> <Constituency>Prince Edward—Hastings</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Guy Lauzon</Name> <FirstName>Guy</FirstName> <LastName>Lauzon</LastName> <Constituency>Stormont—Dundas—South Glengarry</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dave MacKenzie</Name> <FirstName>Dave</FirstName> <LastName>MacKenzie</LastName> <Constituency>Oxford</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Larry Miller</Name> <FirstName>Larry</FirstName> <LastName>Miller</LastName> <Constituency>Bruce—Grey—Owen Sound</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Joe Preston</Name> <FirstName>Joe</FirstName> <LastName>Preston</LastName> <Constituency>Elgin—Middlesex—London</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Joy Smith</Name> <FirstName>Joy</FirstName> <LastName>Smith</LastName> <Constituency>Kildonan—St. Paul</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. David Tilson</Name> <FirstName>David</FirstName> <LastName>Tilson</LastName> <Constituency>Dufferin—Caledon</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Brad Trost</Name> <FirstName>Brad</FirstName> <LastName>Trost</LastName> <Constituency>Saskatoon—Humboldt</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Merv Tweed</Name> <FirstName>Merv</FirstName> <LastName>Tweed</LastName> <Constituency>Brandon—Souris</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mark Warawa</Name> <FirstName>Mark</FirstName> <LastName>Warawa</LastName> <Constituency>Langley</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jeff Watson</Name> <FirstName>Jeff</FirstName> <LastName>Watson</LastName> <Constituency>Essex</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mike Allen</Name> <FirstName>Mike</FirstName> <LastName>Allen</LastName> <Constituency>Tobique—Mactaquac</Constituency> <Province code="NB">New Brunswick</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Patrick Brown</Name> <FirstName>Patrick</FirstName> <LastName>Brown</LastName> <Constituency>Barrie</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rod Bruinooge</Name> <FirstName>Rod</FirstName> <LastName>Bruinooge</LastName> <Constituency>Winnipeg South</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Blaine Calkins</Name> <FirstName>Blaine</FirstName> <LastName>Calkins</LastName> <Constituency>Wetaskiwin</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ron Cannan</Name> <FirstName>Ron</FirstName> <LastName>Cannan</LastName> <Constituency>Kelowna—Lake Country</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Harold Albrecht</Name> <FirstName>Harold</FirstName> <LastName>Albrecht</LastName> <Constituency>Kitchener—Conestoga</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Patricia Davidson</Name> <FirstName>Patricia</FirstName> <LastName>Davidson</LastName> <Constituency>Sarnia—Lambton</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Royal Galipeau</Name> <FirstName>Royal</FirstName> <LastName>Galipeau</LastName> <Constituency>Ottawa—Orléans</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Colin Mayes</Name> <FirstName>Colin</FirstName> <LastName>Mayes</LastName> <Constituency>Okanagan—Shuswap</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rick Norlock</Name> <FirstName>Rick</FirstName> <LastName>Norlock</LastName> <Constituency>Northumberland—Quinte West</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bev Shipley</Name> <FirstName>Bev</FirstName> <LastName>Shipley</LastName> <Constituency>Lambton—Kent—Middlesex</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Brian Storseth</Name> <FirstName>Brian</FirstName> <LastName>Storseth</LastName> <Constituency>Westlock—St. Paul</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. David Sweet</Name> <FirstName>David</FirstName> <LastName>Sweet</LastName> <Constituency>Ancaster—Dundas—Flamborough—Westdale</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dave Van Kesteren</Name> <FirstName>Dave</FirstName> <LastName>Van Kesteren</LastName> <Constituency>Chatham-Kent—Essex</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mike Wallace</Name> <FirstName>Mike</FirstName> <LastName>Wallace</LastName> <Constituency>Burlington</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Chris Warkentin</Name> <FirstName>Chris</FirstName> <LastName>Warkentin</LastName> <Constituency>Peace River</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rob Clarke</Name> <FirstName>Rob</FirstName> <LastName>Clarke</LastName> <Constituency>Desnethé—Missinippi—Churchill River</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Kelly Block</Name> <FirstName>Kelly</FirstName> <LastName>Block</LastName> <Constituency>Saskatoon—Rosetown—Biggar</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ray Boughen</Name> <FirstName>Ray</FirstName> <LastName>Boughen</LastName> <Constituency>Palliser</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Peter Braid</Name> <FirstName>Peter</FirstName> <LastName>Braid</LastName> <Constituency>Kitchener—Waterloo</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Earl Dreeshen</Name> <FirstName>Earl</FirstName> <LastName>Dreeshen</LastName> <Constituency>Red Deer</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Randy Hoback</Name> <FirstName>Randy</FirstName> <LastName>Hoback</LastName> <Constituency>Prince Albert</Constituency> <Province code="SK">Saskatchewan</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ed Holder</Name> <FirstName>Ed</FirstName> <LastName>Holder</LastName> <Constituency>London West</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Greg Kerr</Name> <FirstName>Greg</FirstName> <LastName>Kerr</LastName> <Constituency>West Nova</Constituency> <Province code="NS">Nova Scotia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ben Lobb</Name> <FirstName>Ben</FirstName> <LastName>Lobb</LastName> <Constituency>Huron—Bruce</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Phil McColeman</Name> <FirstName>Phil</FirstName> <LastName>McColeman</LastName> <Constituency>Brant</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Tilly O'Neill Gordon</Name> <FirstName>Tilly</FirstName> <LastName>O'Neill Gordon</LastName> <Constituency>Miramichi</Constituency> <Province code="NB">New Brunswick</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. LaVar Payne</Name> <FirstName>LaVar</FirstName> <LastName>Payne</LastName> <Constituency>Medicine Hat</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Blake Richards</Name> <FirstName>Blake</FirstName> <LastName>Richards</LastName> <Constituency>Wild Rose</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Devinder Shory</Name> <FirstName>Devinder</FirstName> <LastName>Shory</LastName> <Constituency>Calgary Northeast</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. John Weston</Name> <FirstName>John</FirstName> <LastName>Weston</LastName> <Constituency>West Vancouver—Sunshine Coast—Sea to Sky Country</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rodney Weston</Name> <FirstName>Rodney</FirstName> <LastName>Weston</LastName> <Constituency>Saint John</Constituency> <Province code="NB">New Brunswick</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Stephen Woodworth</Name> <FirstName>Stephen</FirstName> <LastName>Woodworth</LastName> <Constituency>Kitchener Centre</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Terence Young</Name> <FirstName>Terence</FirstName> <LastName>Young</LastName> <Constituency>Oakville</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Scott Armstrong</Name> <FirstName>Scott</FirstName> <LastName>Armstrong</LastName> <Constituency>Cumberland—Colchester—Musquodoboit Valley</Constituency> <Province code="NS">Nova Scotia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Robert Sopuck</Name> <FirstName>Robert</FirstName> <LastName>Sopuck</LastName> <Constituency>Dauphin—Swan River—Marquette</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Richard Harris</Name> <FirstName>Richard</FirstName> <LastName>Harris</LastName> <Constituency>Cariboo—Prince George</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mark Adler</Name> <FirstName>Mark</FirstName> <LastName>Adler</LastName> <Constituency>York Centre</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dan Albas</Name> <FirstName>Dan</FirstName> <LastName>Albas</LastName> <Constituency>Okanagan—Coquihalla</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Stella Ambler</Name> <FirstName>Stella</FirstName> <LastName>Ambler</LastName> <Constituency>Mississauga South</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jay Aspin</Name> <FirstName>Jay</FirstName> <LastName>Aspin</LastName> <Constituency>Nipissing—Timiskaming</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Joyce Bateman</Name> <FirstName>Joyce</FirstName> <LastName>Bateman</LastName> <Constituency>Winnipeg South Centre</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Brad Butt</Name> <FirstName>Brad</FirstName> <LastName>Butt</LastName> <Constituency>Mississauga—Streetsville</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. John Carmichael</Name> <FirstName>John</FirstName> <LastName>Carmichael</LastName> <Constituency>Don Valley West</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Corneliu Chisu</Name> <FirstName>Corneliu</FirstName> <LastName>Chisu</LastName> <Constituency>Pickering—Scarborough East</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Joe Daniel</Name> <FirstName>Joe</FirstName> <LastName>Daniel</LastName> <Constituency>Don Valley East</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Parm Gill</Name> <FirstName>Parm</FirstName> <LastName>Gill</LastName> <Constituency>Brampton—Springdale</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bryan Hayes</Name> <FirstName>Bryan</FirstName> <LastName>Hayes</LastName> <Constituency>Sault Ste. Marie</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jim Hillyer</Name> <FirstName>Jim</FirstName> <LastName>Hillyer</LastName> <Constituency>Lethbridge</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Roxanne James</Name> <FirstName>Roxanne</FirstName> <LastName>James</LastName> <Constituency>Scarborough Centre</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ryan Leef</Name> <FirstName>Ryan</FirstName> <LastName>Leef</LastName> <Constituency>Yukon</Constituency> <Province code="YT">Yukon</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Costas Menegakis</Name> <FirstName>Costas</FirstName> <LastName>Menegakis</LastName> <Constituency>Richmond Hill</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Lawrence Toet</Name> <FirstName>Lawrence</FirstName> <LastName>Toet</LastName> <Constituency>Elmwood—Transcona</Constituency> <Province code="MB">Manitoba</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. David Wilks</Name> <FirstName>David</FirstName> <LastName>Wilks</LastName> <Constituency>Kootenay—Columbia</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Brent Rathgeber</Name> <FirstName>Brent</FirstName> <LastName>Rathgeber</LastName> <Constituency>Edmonton—St. Albert</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Wai Young</Name> <FirstName>Wai</FirstName> <LastName>Young</LastName> <Constituency>Vancouver South</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Malcolm Allen</Name> <FirstName>Malcolm</FirstName> <LastName>Allen</LastName> <Constituency>Welland</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Pat Martin</Name> <FirstName>Pat</FirstName> <LastName>Martin</LastName> <Constituency>Winnipeg Centre</Constituency> <Province code="MB">Manitoba</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Yvon Godin</Name> <FirstName>Yvon</FirstName> <LastName>Godin</LastName> <Constituency>Acadie—Bathurst</Constituency> <Province code="NB">New Brunswick</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Olivia Chow</Name> <FirstName>Olivia</FirstName> <LastName>Chow</LastName> <Constituency>Trinity—Spadina</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Paul Dewar</Name> <FirstName>Paul</FirstName> <LastName>Dewar</LastName> <Constituency>Ottawa Centre</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jack Harris</Name> <FirstName>Jack</FirstName> <LastName>Harris</LastName> <Constituency>St. John's East</Constituency> <Province code="NL">Newfoundland and Labrador</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Françoise Boivin</Name> <FirstName>Françoise</FirstName> <LastName>Boivin</LastName> <Constituency>Gatineau</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Megan Leslie</Name> <FirstName>Megan</FirstName> <LastName>Leslie</LastName> <Constituency>Halifax</Constituency> <Province code="NS">Nova Scotia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Nathan Cullen</Name> <FirstName>Nathan</FirstName> <LastName>Cullen</LastName> <Constituency>Skeena—Bulkley Valley</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Thomas Mulcair</Name> <FirstName>Thomas</FirstName> <LastName>Mulcair</LastName> <Constituency>Outremont</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Libby Davies</Name> <FirstName>Libby</FirstName> <LastName>Davies</LastName> <Constituency>Vancouver East</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. David Christopherson</Name> <FirstName>David</FirstName> <LastName>Christopherson</LastName> <Constituency>Hamilton Centre</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Peggy Nash</Name> <FirstName>Peggy</FirstName> <LastName>Nash</LastName> <Constituency>Parkdale—High Park</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Peter Julian</Name> <FirstName>Peter</FirstName> <LastName>Julian</LastName> <Constituency>Burnaby—New Westminster</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Jean Crowder</Name> <FirstName>Jean</FirstName> <LastName>Crowder</LastName> <Constituency>Nanaimo—Cowichan</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Don Davies</Name> <FirstName>Don</FirstName> <LastName>Davies</LastName> <Constituency>Vancouver Kingsway</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Irene Mathyssen</Name> <FirstName>Irene</FirstName> <LastName>Mathyssen</LastName> <Constituency>London—Fanshawe</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Linda Duncan</Name> <FirstName>Linda</FirstName> <LastName>Duncan</LastName> <Constituency>Edmonton—Strathcona</Constituency> <Province code="AB">Alberta</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Manon Perreault</Name> <FirstName>Manon</FirstName> <LastName>Perreault</LastName> <Constituency>Montcalm</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Anne-Marie Day</Name> <FirstName>Anne-Marie</FirstName> <LastName>Day</LastName> <Constituency>Charlesbourg—Haute-Saint-Charles</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Lawrence MacAulay</Name> <FirstName>Lawrence</FirstName> <LastName>MacAulay</LastName> <Constituency>Cardigan</Constituency> <Province code="PE">Prince Edward Island</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bob Rae</Name> <FirstName>Bob</FirstName> <LastName>Rae</LastName> <Constituency>Toronto Centre</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dominic LeBlanc</Name> <FirstName>Dominic</FirstName> <LastName>LeBlanc</LastName> <Constituency>Beauséjour</Constituency> <Province code="NB">New Brunswick</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Wayne Easter</Name> <FirstName>Wayne</FirstName> <LastName>Easter</LastName> <Constituency>Malpeque</Constituency> <Province code="PE">Prince Edward Island</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Geoff Regan</Name> <FirstName>Geoff</FirstName> <LastName>Regan</LastName> <Constituency>Halifax West</Constituency> <Province code="NS">Nova Scotia</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mauril Bélanger</Name> <FirstName>Mauril</FirstName> <LastName>Bélanger</LastName> <Constituency>Ottawa—Vanier</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Wladyslaw Lizon</Name> <FirstName>Wladyslaw</FirstName> <LastName>Lizon</LastName> <Constituency>Mississauga East—Cooksville</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ted Opitz</Name> <FirstName>Ted</FirstName> <LastName>Opitz</LastName> <Constituency>Etobicoke Centre</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Paulina Ayala</Name> <FirstName>Paulina</FirstName> <LastName>Ayala</LastName> <Constituency>Honoré-Mercier</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dennis Bevington</Name> <FirstName>Dennis</FirstName> <LastName>Bevington</LastName> <Constituency>Northwest Territories</Constituency> <Province code="NT">Northwest Territories</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Christine Moore</Name> <FirstName>Christine</FirstName> <LastName>Moore</LastName> <Constituency>Abitibi—Témiscamingue</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Brian Masse</Name> <FirstName>Brian</FirstName> <LastName>Masse</LastName> <Constituency>Windsor West</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Fin Donnelly</Name> <FirstName>Fin</FirstName> <LastName>Donnelly</LastName> <Constituency>New Westminster—Coquitlam</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Jinny Jogindera Sims</Name> <FirstName>Jinny Jogindera</FirstName> <LastName>Sims</LastName> <Constituency>Newton—North Delta</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Hélène LeBlanc</Name> <FirstName>Hélène</FirstName> <LastName>LeBlanc</LastName> <Constituency>LaSalle—Émard</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Matthew Kellway</Name> <FirstName>Matthew</FirstName> <LastName>Kellway</LastName> <Constituency>Beaches—East York</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Ruth Ellen Brosseau</Name> <FirstName>Ruth Ellen</FirstName> <LastName>Brosseau</LastName> <Constituency>Berthier—Maskinongé</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Chris Charlton</Name> <FirstName>Chris</FirstName> <LastName>Charlton</LastName> <Constituency>Hamilton Mountain</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Nycole Turmel</Name> <FirstName>Nycole</FirstName> <LastName>Turmel</LastName> <Constituency>Hull—Aylmer</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Sadia Groguhé</Name> <FirstName>Sadia</FirstName> <LastName>Groguhé</LastName> <Constituency>Saint-Lambert</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Robert Chisholm</Name> <FirstName>Robert</FirstName> <LastName>Chisholm</LastName> <Constituency>Dartmouth—Cole Harbour</Constituency> <Province code="NS">Nova Scotia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Alexandre Boulerice</Name> <FirstName>Alexandre</FirstName> <LastName>Boulerice</LastName> <Constituency>Rosemont—La Petite-Patrie</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Charlie Angus</Name> <FirstName>Charlie</FirstName> <LastName>Angus</LastName> <Constituency>Timmins—James Bay</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Wayne Marston</Name> <FirstName>Wayne</FirstName> <LastName>Marston</LastName> <Constituency>Hamilton East—Stoney Creek</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Marie-Claude Morin</Name> <FirstName>Marie-Claude</FirstName> <LastName>Morin</LastName> <Constituency>Saint-Hyacinthe—Bagot</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Matthew Dubé</Name> <FirstName>Matthew</FirstName> <LastName>Dubé</LastName> <Constituency>Chambly—Borduas</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Hélène Laverdière</Name> <FirstName>Hélène</FirstName> <LastName>Laverdière</LastName> <Constituency>Laurier—Sainte-Marie</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Craig Scott</Name> <FirstName>Craig</FirstName> <LastName>Scott</LastName> <Constituency>Toronto—Danforth</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Gerry Byrne</Name> <FirstName>Gerry</FirstName> <LastName>Byrne</LastName> <Constituency>Humber—St. Barbe—Baie Verte</Constituency> <Province code="NL">Newfoundland and Labrador</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Massimo Pacetti</Name> <FirstName>Massimo</FirstName> <LastName>Pacetti</LastName> <Constituency>Saint-Léonard—Saint-Michel</Constituency> <Province code="QC">Québec</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Judy Foote</Name> <FirstName>Judy</FirstName> <LastName>Foote</LastName> <Constituency>Random—Burin—St. George's</Constituency> <Province code="NL">Newfoundland and Labrador</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Kevin Lamoureux</Name> <FirstName>Kevin</FirstName> <LastName>Lamoureux</LastName> <Constituency>Winnipeg North</Constituency> <Province code="MB">Manitoba</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Stéphane Dion</Name> <FirstName>Stéphane</FirstName> <LastName>Dion</LastName> <Constituency>Saint-Laurent—Cartierville</Constituency> <Province code="QC">Québec</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Carolyn Bennett</Name> <FirstName>Carolyn</FirstName> <LastName>Bennett</LastName> <Constituency>St. Paul's</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Denis Coderre</Name> <FirstName>Denis</FirstName> <LastName>Coderre</LastName> <Constituency>Bourassa</Constituency> <Province code="QC">Québec</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Scott Brison</Name> <FirstName>Scott</FirstName> <LastName>Brison</LastName> <Constituency>Kings—Hants</Constituency> <Province code="NS">Nova Scotia</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mark Strahl</Name> <FirstName>Mark</FirstName> <LastName>Strahl</LastName> <Constituency>Chilliwack—Fraser Canyon</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bernard Trottier</Name> <FirstName>Bernard</FirstName> <LastName>Trottier</LastName> <Constituency>Etobicoke—Lakeshore</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. John Williamson</Name> <FirstName>John</FirstName> <LastName>Williamson</LastName> <Constituency>New Brunswick Southwest</Constituency> <Province code="NB">New Brunswick</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Annick Papillon</Name> <FirstName>Annick</FirstName> <LastName>Papillon</LastName> <Constituency>Québec</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Tarik Brahmi</Name> <FirstName>Tarik</FirstName> <LastName>Brahmi</LastName> <Constituency>Saint-Jean</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Andrew Cash</Name> <FirstName>Andrew</FirstName> <LastName>Cash</LastName> <Constituency>Davenport</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Kennedy Stewart</Name> <FirstName>Kennedy</FirstName> <LastName>Stewart</LastName> <Constituency>Burnaby—Douglas</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Randall Garrison</Name> <FirstName>Randall</FirstName> <LastName>Garrison</LastName> <Constituency>Esquimalt—Juan de Fuca</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mathieu Ravignat</Name> <FirstName>Mathieu</FirstName> <LastName>Ravignat</LastName> <Constituency>Pontiac</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Lysane Blanchette-Lamothe</Name> <FirstName>Lysane</FirstName> <LastName>Blanchette-Lamothe</LastName> <Constituency>Pierrefonds—Dollard</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Robert Aubin</Name> <FirstName>Robert</FirstName> <LastName>Aubin</LastName> <Constituency>Trois-Rivières</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dan Harris</Name> <FirstName>Dan</FirstName> <LastName>Harris</LastName> <Constituency>Scarborough Southwest</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Philip Toone</Name> <FirstName>Philip</FirstName> <LastName>Toone</LastName> <Constituency>Gaspésie—Îles-de-la-Madeleine</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Niki Ashton</Name> <FirstName>Niki</FirstName> <LastName>Ashton</LastName> <Constituency>Churchill</Constituency> <Province code="MB">Manitoba</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Guy Caron</Name> <FirstName>Guy</FirstName> <LastName>Caron</LastName> <Constituency>Rimouski-Neigette—Témiscouata—Les Basques</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Ève Péclet</Name> <FirstName>Ève</FirstName> <LastName>Péclet</LastName> <Constituency>La Pointe-de-l'Île</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Claude Gravelle</Name> <FirstName>Claude</FirstName> <LastName>Gravelle</LastName> <Constituency>Nickel Belt</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. John Rafferty</Name> <FirstName>John</FirstName> <LastName>Rafferty</LastName> <Constituency>Thunder Bay—Rainy River</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Hoang Mai</Name> <FirstName>Hoang</FirstName> <LastName>Mai</LastName> <Constituency>Brossard—La Prairie</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Glenn Thibeault</Name> <FirstName>Glenn</FirstName> <LastName>Thibeault</LastName> <Constituency>Sudbury</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jean-François Larose</Name> <FirstName>Jean-François</FirstName> <LastName>Larose</LastName> <Constituency>Repentigny</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jim Karygiannis</Name> <FirstName>Jim</FirstName> <LastName>Karygiannis</LastName> <Constituency>Scarborough—Agincourt</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Irwin Cotler</Name> <FirstName>Irwin</FirstName> <LastName>Cotler</LastName> <Constituency>Mount Royal</Constituency> <Province code="QC">Québec</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. John McKay</Name> <FirstName>John</FirstName> <LastName>McKay</LastName> <Constituency>Scarborough—Guildwood</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Rodger Cuzner</Name> <FirstName>Rodger</FirstName> <LastName>Cuzner</LastName> <Constituency>Cape Breton—Canso</Constituency> <Province code="NS">Nova Scotia</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mark Eyking</Name> <FirstName>Mark</FirstName> <LastName>Eyking</LastName> <Constituency>Sydney—Victoria</Constituency> <Province code="NS">Nova Scotia</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. John McCallum</Name> <FirstName>John</FirstName> <LastName>McCallum</LastName> <Constituency>Markham—Unionville</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. David McGuinty</Name> <FirstName>David</FirstName> <LastName>McGuinty</LastName> <Constituency>Ottawa South</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Erin O'Toole</Name> <FirstName>Erin</FirstName> <LastName>O'Toole</LastName> <Constituency>Durham</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Joan Crockatt</Name> <FirstName>Joan</FirstName> <LastName>Crockatt</LastName> <Constituency>Calgary Centre</Constituency> <Province code="AB">Alberta</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bob Zimmer</Name> <FirstName>Bob</FirstName> <LastName>Zimmer</LastName> <Constituency>Prince George—Peace River</Constituency> <Province code="BC">British Columbia</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Alain Giguère</Name> <FirstName>Alain</FirstName> <LastName>Giguère</LastName> <Constituency>Marc-Aurèle-Fortin</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Raymond Côté</Name> <FirstName>Raymond</FirstName> <LastName>Côté</LastName> <Constituency>Beauport—Limoilou</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. François Lapointe</Name> <FirstName>François</FirstName> <LastName>Lapointe</LastName> <Constituency>Montmagny—L'Islet—Kamouraska—Rivière-du-Loup</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Sana Hassainia</Name> <FirstName>Sana</FirstName> <LastName>Hassainia</LastName> <Constituency>Verchères—Les Patriotes</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Rosane Doré Lefebvre</Name> <FirstName>Rosane</FirstName> <LastName>Doré Lefebvre</LastName> <Constituency>Alfred-Pellan</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Laurin Liu</Name> <FirstName>Laurin</FirstName> <LastName>Liu</LastName> <Constituency>Rivière-des-Mille-Îles</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jasbir Sandhu</Name> <FirstName>Jasbir</FirstName> <LastName>Sandhu</LastName> <Constituency>Surrey North</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Djaouida Sellah</Name> <FirstName>Djaouida</FirstName> <LastName>Sellah</LastName> <Constituency>Saint-Bruno—Saint-Hubert</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Anne Minh-Thu Quach</Name> <FirstName>Anne Minh-Thu</FirstName> <LastName>Quach</LastName> <Constituency>Beauharnois—Salaberry</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jamie Nicholls</Name> <FirstName>Jamie</FirstName> <LastName>Nicholls</LastName> <Constituency>Vaudreuil-Soulanges</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Rathika Sitsabaiesan</Name> <FirstName>Rathika</FirstName> <LastName>Sitsabaiesan</LastName> <Constituency>Scarborough—Rouge River</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Pierre Nantel</Name> <FirstName>Pierre</FirstName> <LastName>Nantel</LastName> <Constituency>Longueuil—Pierre-Boucher</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Alexandrine Latendresse</Name> <FirstName>Alexandrine</FirstName> <LastName>Latendresse</LastName> <Constituency>Louis-Saint-Laurent</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jean Rousseau</Name> <FirstName>Jean</FirstName> <LastName>Rousseau</LastName> <Constituency>Compton—Stanstead</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Tyrone Benskin</Name> <FirstName>Tyrone</FirstName> <LastName>Benskin</LastName> <Constituency>Jeanne-Le Ber</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Mike Sullivan</Name> <FirstName>Mike</FirstName> <LastName>Sullivan</LastName> <Constituency>York South—Weston</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Denis Blanchette</Name> <FirstName>Denis</FirstName> <LastName>Blanchette</LastName> <Constituency>Louis-Hébert</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Élaine Michaud</Name> <FirstName>Élaine</FirstName> <LastName>Michaud</LastName> <Constituency>Portneuf—Jacques-Cartier</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. François Choquette</Name> <FirstName>François</FirstName> <LastName>Choquette</LastName> <Constituency>Drummond</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Francis Scarpaleggia</Name> <FirstName>Francis</FirstName> <LastName>Scarpaleggia</LastName> <Constituency>Lac-Saint-Louis</Constituency> <Province code="QC">Québec</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Scott Simms</Name> <FirstName>Scott</FirstName> <LastName>Simms</LastName> <Constituency>Bonavista—Gander—Grand Falls—Windsor</Constituency> <Province code="NL">Newfoundland and Labrador</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Scott Andrews</Name> <FirstName>Scott</FirstName> <LastName>Andrews</LastName> <Constituency>Avalon</Constituency> <Province code="NL">Newfoundland and Labrador</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Kirsty Duncan</Name> <FirstName>Kirsty</FirstName> <LastName>Duncan</LastName> <Constituency>Etobicoke North</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Frank Valeriote</Name> <FirstName>Frank</FirstName> <LastName>Valeriote</LastName> <Constituency>Guelph</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ted Hsu</Name> <FirstName>Ted</FirstName> <LastName>Hsu</LastName> <Constituency>Kingston and the Islands</Constituency> <Province code="ON">Ontario</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bruce Stanton</Name> <FirstName>Bruce</FirstName> <LastName>Stanton</LastName> <Constituency>Simcoe North</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Barry Devolin</Name> <FirstName>Barry</FirstName> <LastName>Devolin</LastName> <Constituency>Haliburton—Kawartha Lakes—Brock</Constituency> <Province code="ON">Ontario</Province> <Party>Conservative</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Joe Comartin</Name> <FirstName>Joe</FirstName> <LastName>Comartin</LastName> <Constituency>Windsor—Tecumseh</Constituency> <Province code="ON">Ontario</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Alex Atamanenko</Name> <FirstName>Alex</FirstName> <LastName>Atamanenko</LastName> <Constituency>British Columbia Southern Interior</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Pierre Jacob</Name> <FirstName>Pierre</FirstName> <LastName>Jacob</LastName> <Constituency>Brome—Missisquoi</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. José Nunez-Melo</Name> <FirstName>José</FirstName> <LastName>Nunez-Melo</LastName> <Constituency>Laval</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jonathan Tremblay</Name> <FirstName>Jonathan</FirstName> <LastName>Tremblay</LastName> <Constituency>Montmorency—Charlevoix—Haute-Côte-Nord</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Peter Stoffer</Name> <FirstName>Peter</FirstName> <LastName>Stoffer</LastName> <Constituency>Sackville—Eastern Shore</Constituency> <Province code="NS">Nova Scotia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Sylvain Chicoine</Name> <FirstName>Sylvain</FirstName> <LastName>Chicoine</LastName> <Constituency>Châteauguay—Saint-Constant</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Pierre Dionne Labelle</Name> <FirstName>Pierre</FirstName> <LastName>Dionne Labelle</LastName> <Constituency>Rivière-du-Nord</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Ryan Cleary</Name> <FirstName>Ryan</FirstName> <LastName>Cleary</LastName> <Constituency>St. John's South—Mount Pearl</Constituency> <Province code="NL">Newfoundland and Labrador</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Dany Morin</Name> <FirstName>Dany</FirstName> <LastName>Morin</LastName> <Constituency>Chicoutimi—Le Fjord</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Mylène Freeman</Name> <FirstName>Mylène</FirstName> <LastName>Freeman</LastName> <Constituency>Argenteuil—Papineau—Mirabel</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Charmaine Borg</Name> <FirstName>Charmaine</FirstName> <LastName>Borg</LastName> <Constituency>Terrebonne—Blainville</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Marc-André Morin</Name> <FirstName>Marc-André</FirstName> <LastName>Morin</LastName> <Constituency>Laurentides—Labelle</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Claude Patry</Name> <FirstName>Claude</FirstName> <LastName>Patry</LastName> <Constituency>Jonquière—Alma</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. François Pilon</Name> <FirstName>François</FirstName> <LastName>Pilon</LastName> <Constituency>Laval—Les Îles</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Francine Raynault</Name> <FirstName>Francine</FirstName> <LastName>Raynault</LastName> <Constituency>Joliette</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Réjean Genest</Name> <FirstName>Réjean</FirstName> <LastName>Genest</LastName> <Constituency>Shefford</Constituency> <Province code="QC">Québec</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Murray Rankin</Name> <FirstName>Murray</FirstName> <LastName>Rankin</LastName> <Constituency>Victoria</Constituency> <Province code="BC">British Columbia</Province> <Party>NDP</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Sean Casey</Name> <FirstName>Sean</FirstName> <LastName>Casey</LastName> <Constituency>Charlottetown</Constituency> <Province code="PE">Prince Edward Island</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Lise St-Denis</Name> <FirstName>Lise</FirstName> <LastName>St-Denis</LastName> <Constituency>Saint-Maurice—Champlain</Constituency> <Province code="QC">Québec</Province> <Party>Liberal</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Louis Plamondon</Name> <FirstName>Louis</FirstName> <LastName>Plamondon</LastName> <Constituency>Bas-Richelieu—Nicolet—Bécancour</Constituency> <Province code="QC">Québec</Province> <Party>Bloc Québécois</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. André Bellavance</Name> <FirstName>André</FirstName> <LastName>Bellavance</LastName> <Constituency>Richmond—Arthabaska</Constituency> <Province code="QC">Québec</Province> <Party>Bloc Québécois</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mrs. Maria Mourani</Name> <FirstName>Maria</FirstName> <LastName>Mourani</LastName> <Constituency>Ahuntsic</Constituency> <Province code="QC">Québec</Province> <Party>Bloc Québécois</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Jean-François Fortin</Name> <FirstName>Jean-François</FirstName> <LastName>Fortin</LastName> <Constituency>Haute-Gaspésie—La Mitis—Matane—Matapédia</Constituency> <Province code="QC">Québec</Province> <Party>Bloc Québécois</Party> <RecordedVote> <Yea>1</Yea> <Nay>0</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Mr. Bruce Hyer</Name> <FirstName>Bruce</FirstName> <LastName>Hyer</LastName> <Constituency>Thunder Bay—Superior North</Constituency> <Province code="ON">Ontario</Province> <Party>Independent</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> <Participant> <Name>Ms. Elizabeth May</Name> <FirstName>Elizabeth</FirstName> <LastName>May</LastName> <Constituency>Saanich—Gulf Islands</Constituency> <Province code="BC">British Columbia</Province> <Party>Green Party</Party> <RecordedVote> <Yea>0</Yea> <Nay>1</Nay> <Paired>0</Paired> </RecordedVote> </Participant> </Vote>
{ "content_hash": "24e23099d87a4b6d52ca8f396b7ed2a1", "timestamp": "", "source": "github", "line_count": 3718, "max_line_length": 114, "avg_line_length": 28.892953200645508, "alnum_prop": 0.6142575215966637, "repo_name": "tomclegg/whovoted", "id": "d3641439e54f5023b937cbc175edad73267c3fca", "size": "107973", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "data-import/data/vote-41-1-594.xml", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "1576" }, { "name": "HTML", "bytes": "629" }, { "name": "JavaScript", "bytes": "18948" }, { "name": "Ruby", "bytes": "3433" } ], "symlink_target": "" }
 #include <aws/wisdom/model/Document.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace ConnectWisdomService { namespace Model { Document::Document() : m_contentReferenceHasBeenSet(false), m_excerptHasBeenSet(false), m_titleHasBeenSet(false) { } Document::Document(JsonView jsonValue) : m_contentReferenceHasBeenSet(false), m_excerptHasBeenSet(false), m_titleHasBeenSet(false) { *this = jsonValue; } Document& Document::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("contentReference")) { m_contentReference = jsonValue.GetObject("contentReference"); m_contentReferenceHasBeenSet = true; } if(jsonValue.ValueExists("excerpt")) { m_excerpt = jsonValue.GetObject("excerpt"); m_excerptHasBeenSet = true; } if(jsonValue.ValueExists("title")) { m_title = jsonValue.GetObject("title"); m_titleHasBeenSet = true; } return *this; } JsonValue Document::Jsonize() const { JsonValue payload; if(m_contentReferenceHasBeenSet) { payload.WithObject("contentReference", m_contentReference.Jsonize()); } if(m_excerptHasBeenSet) { payload.WithObject("excerpt", m_excerpt.Jsonize()); } if(m_titleHasBeenSet) { payload.WithObject("title", m_title.Jsonize()); } return payload; } } // namespace Model } // namespace ConnectWisdomService } // namespace Aws
{ "content_hash": "36d63763de2da381a8af756989379e21", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 72, "avg_line_length": 17.22093023255814, "alnum_prop": 0.7029034436191762, "repo_name": "cedral/aws-sdk-cpp", "id": "3ff1824e428bd30fe129dd9e1c4c8dd7a5763169", "size": "1600", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "aws-cpp-sdk-wisdom/source/model/Document.cpp", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "C", "bytes": "294220" }, { "name": "C++", "bytes": "428637022" }, { "name": "CMake", "bytes": "862025" }, { "name": "Dockerfile", "bytes": "11688" }, { "name": "HTML", "bytes": "7904" }, { "name": "Java", "bytes": "352201" }, { "name": "Python", "bytes": "106761" }, { "name": "Shell", "bytes": "10891" } ], "symlink_target": "" }
""" Tests for Docker container wrapper for Luigi. Requires: - docker: ``pip install docker`` Written and maintained by Andrea Pierleoni (@apierleoni). Contributions by Eliseo Papa (@elipapa) """ import tempfile from helpers import unittest from tempfile import NamedTemporaryFile import luigi import logging from luigi.contrib.docker_runner import DockerTask import pytest logger = logging.getLogger('luigi-interface') try: import docker from docker.errors import ContainerError, ImageNotFound client = docker.from_env() client.version() except ImportError: raise unittest.SkipTest('Unable to load docker module') except Exception: raise unittest.SkipTest('Unable to connect to docker daemon') tempfile.tempdir = '/tmp' # set it explicitely to make it work out of the box in mac os local_file = NamedTemporaryFile() local_file.write(b'this is a test file\n') local_file.flush() class SuccessJob(DockerTask): image = "busybox:latest" name = "SuccessJob" class FailJobImageNotFound(DockerTask): image = "image-does-not-exists" name = "FailJobImageNotFound" class FailJobContainer(DockerTask): image = "busybox" name = "FailJobContainer" command = 'cat this-file-does-not-exist' class WriteToTmpDir(DockerTask): image = "busybox" name = "WriteToTmpDir" container_tmp_dir = '/tmp/luigi-test' command = 'test -d /tmp/luigi-test' # command = 'test -d $LUIGI_TMP_DIR'# && echo ok >$LUIGI_TMP_DIR/test' class MountLocalFileAsVolume(DockerTask): image = "busybox" name = "MountLocalFileAsVolume" # volumes= {'/tmp/local_file_test': {'bind': local_file.name, 'mode': 'rw'}} binds = [local_file.name + ':/tmp/local_file_test'] command = 'test -f /tmp/local_file_test' class MountLocalFileAsVolumeWithParam(DockerTask): dummyopt = luigi.Parameter() image = "busybox" name = "MountLocalFileAsVolumeWithParam" binds = [local_file.name + ':/tmp/local_file_test'] command = 'test -f /tmp/local_file_test' class MountLocalFileAsVolumeWithParamRedefProperties(DockerTask): dummyopt = luigi.Parameter() image = "busybox" name = "MountLocalFileAsVolumeWithParamRedef" @property def binds(self): return [local_file.name + ':/tmp/local_file_test' + self.dummyopt] @property def command(self): return 'test -f /tmp/local_file_test' + self.dummyopt def complete(self): return True class MultipleDockerTask(luigi.WrapperTask): '''because the volumes property is defined as a list, spinning multiple containers led to conflict in the volume binds definition, with multiple host directories pointing to the same container directory''' def requires(self): return [MountLocalFileAsVolumeWithParam(dummyopt=opt) for opt in ['one', 'two', 'three']] class MultipleDockerTaskRedefProperties(luigi.WrapperTask): def requires(self): return [MountLocalFileAsVolumeWithParamRedefProperties(dummyopt=opt) for opt in ['one', 'two', 'three']] @pytest.mark.contrib class TestDockerTask(unittest.TestCase): # def tearDown(self): # local_file.close() def test_success_job(self): success = SuccessJob() luigi.build([success], local_scheduler=True) self.assertTrue(success) def test_temp_dir_creation(self): writedir = WriteToTmpDir() writedir.run() def test_local_file_mount(self): localfile = MountLocalFileAsVolume() localfile.run() def test_fail_job_image_not_found(self): fail = FailJobImageNotFound() self.assertRaises(ImageNotFound, fail.run) def test_fail_job_container(self): fail = FailJobContainer() self.assertRaises(ContainerError, fail.run) def test_multiple_jobs(self): worked = MultipleDockerTask() luigi.build([worked], local_scheduler=True) self.assertTrue(worked) def test_multiple_jobs2(self): worked = MultipleDockerTaskRedefProperties() luigi.build([worked], local_scheduler=True) self.assertTrue(worked)
{ "content_hash": "350cbab77cc7ef1d1715830a095c8f72", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 88, "avg_line_length": 28.13605442176871, "alnum_prop": 0.6922147001934236, "repo_name": "jamesmcm/luigi", "id": "22982a9dc1166779b81b474be41057b050f5865e", "size": "4738", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "test/contrib/docker_runner_test.py", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "5051" }, { "name": "HTML", "bytes": "39409" }, { "name": "JavaScript", "bytes": "166869" }, { "name": "Python", "bytes": "1823554" }, { "name": "Shell", "bytes": "2627" } ], "symlink_target": "" }
<div class="modal-header"> <div>{{ data.response.trancode }}</div> <label ng-style="{'font-size': 'x-large'}" ng-class="{'approved': data.response.status == 'Approved', 'declined': data.response.status != 'Approved'}"> {{ data.response.status }} </label> </div> <div class="modal-body" style=""> <img ng-hide="data.response.status != null" class="img-responsive center-block" src="img/processing.gif" /> <div ng-hide="data.response.message == 'Approved'">{{ data.response.message }}</div> <div ng-hide="data.response.amount == null">Amount: {{ data.response.amount }}</div> <div ng-hide="data.response.balance == null">Balance: {{ data.response.balance }}</div> <div ng-hide="data.response.points == null">Points: {{ data.response.points }}</div> <div ng-hide="data.response.account == null">Account: {{ data.response.identifier || data.response.account }}</div> </div> <div class="modal-footer"> <button ng-disabled="data.response.status == null" type="button" class="btn btn-default" ng-click="ok()">OK</button> </div>
{ "content_hash": "e53f2c4a1c85b0c302dd8190a5e360cf", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 155, "avg_line_length": 62.705882352941174, "alnum_prop": 0.6557223264540337, "repo_name": "GalaxyPay/GalaxyPayTerminal", "id": "4e3fe05635e4dd601659429b4fcce39959f0afa8", "size": "1068", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "ng-terminal/response.html", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "1141" }, { "name": "HTML", "bytes": "6683" }, { "name": "JavaScript", "bytes": "3577" } ], "symlink_target": "" }
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Boln Soc. argent. Bot. 28(1-4): 215 (1992) #### Original name Fibulostilbum phylaciicola Seifert & Bandoni, 1992 ### Remarks null
{ "content_hash": "8e26397c55c15d3a291e2a624096c203", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 50, "avg_line_length": 16.76923076923077, "alnum_prop": 0.7110091743119266, "repo_name": "mdoering/backbone", "id": "863c9c9bc486f5178acb1eae9a91677f0d6d44ac", "size": "292", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "life/Fungi/Basidiomycota/Agaricostilbomycetes/Agaricostilbales/Chionosphaeraceae/Fibulostilbum/Fibulostilbum phylaciicola/README.md", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
<html> <head> <title>User agent detail - VOTO VT888_TD/Linux/3.4.39 Android/4.3 Release/08.15.2013 Browser/AppleWebkit534.30 Mobile Safari/534.30 MicroMessenger/5.4.0.66_r807534.480 NetType/WIFI</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> </head> <body> <div class="container"> <div class="section"> <h1 class="header center orange-text">User agent detail</h1> <div class="row center"> <h5 class="header light"> VOTO VT888_TD/Linux/3.4.39 Android/4.3 Release/08.15.2013 Browser/AppleWebkit534.30 Mobile Safari/534.30 MicroMessenger/5.4.0.66_r807534.480 NetType/WIFI </h5> </div> </div> <div class="section"> <table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Source result (test suite)</th></tr><tr><td>piwik/device-detector<br /><small>/Tests/fixtures/smartphone-4.yml</small></td><td>WeChat 5.4.0.66.r807534.480</td><td>Android 4.3</td><td> </td><td style="border-left: 1px solid #555">Voto</td><td>VT888</td><td>smartphone</td><td></td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td></td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-test">Detail</a> <!-- Modal Structure --> <div id="modal-test" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Testsuite result detail</h4> <p><pre><code class="php">Array ( [user_agent] => VOTO VT888_TD/Linux/3.4.39 Android/4.3 Release/08.15.2013 Browser/AppleWebkit534.30 Mobile Safari/534.30 MicroMessenger/5.4.0.66_r807534.480 NetType/WIFI [os] => Array ( [name] => Android [short_name] => AND [version] => 4.3 [platform] => ) [client] => Array ( [type] => mobile app [name] => WeChat [version] => 5.4.0.66.r807534.480 ) [device] => Array ( [type] => smartphone [brand] => V1 [model] => VT888 ) [os_family] => Android [browser_family] => Unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapPhp<br /><small>6012</small></td><td>Android 4.0</td><td>WebKit </td><td>Android 4.3</td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.015</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-215ac98d-ccf8-4615-916e-5a819d6a59c9">Detail</a> <!-- Modal Structure --> <div id="modal-215ac98d-ccf8-4615-916e-5a819d6a59c9" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapPhp result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^.*linux.*android.4\.3.* release.* browser.applewebkit.*$/ [browser_name_pattern] => *linux*android?4.3* release* browser?applewebkit* [parent] => Android Browser 4.0 [comment] => Android Browser 4.0 [browser] => Android [browser_type] => Browser [browser_bits] => 32 [browser_maker] => Google Inc [browser_modus] => unknown [version] => 4.0 [majorver] => 4 [minorver] => 0 [platform] => Android [platform_version] => 4.3 [platform_description] => Android OS [platform_bits] => 32 [platform_maker] => Google Inc [alpha] => [beta] => [win16] => [win32] => [win64] => [frames] => 1 [iframes] => 1 [tables] => 1 [cookies] => 1 [backgroundsounds] => [javascript] => 1 [vbscript] => [javaapplets] => 1 [activexcontrols] => [ismobiledevice] => 1 [istablet] => [issyndicationreader] => [crawler] => [cssversion] => 3 [aolversion] => 0 [device_name] => general Mobile Phone [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => touchscreen [device_code_name] => general Mobile Phone [device_brand_name] => unknown [renderingengine_name] => WebKit [renderingengine_version] => unknown [renderingengine_description] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3. [renderingengine_maker] => Apple Inc ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>DonatjUAParser<br /><small>v0.5.0</small></td><td>Safari 534.30</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-f1436016-fdf1-4aea-b4be-1d7c99ab0661">Detail</a> <!-- Modal Structure --> <div id="modal-f1436016-fdf1-4aea-b4be-1d7c99ab0661" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>DonatjUAParser result detail</h4> <p><pre><code class="php">Array ( [platform] => [browser] => Safari [version] => 534.30 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>NeutrinoApiCom<br /><small></small></td><td>WeChat 5.4.0.66</td><td><i class="material-icons">close</i></td><td>Android 4.3</td><td style="border-left: 1px solid #555">VOTO</td><td>VT888</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.26803</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-9b0fa449-ec1b-40c8-8b1c-9486eb3b9cbc">Detail</a> <!-- Modal Structure --> <div id="modal-9b0fa449-ec1b-40c8-8b1c-9486eb3b9cbc" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>NeutrinoApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [mobile_screen_height] => 0 [is_mobile] => 1 [type] => mobile-browser [mobile_brand] => VOTO [mobile_model] => VT888 [version] => 5.4.0.66 [is_android] => 1 [browser_name] => WeChat [operating_system_family] => Android [operating_system_version] => 4.3 [is_ios] => [producer] => VOTO [operating_system] => Android 4.3 [mobile_screen_width] => 0 [mobile_browser] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>PiwikDeviceDetector<br /><small>3.5.2</small></td><td>WeChat 5.4</td><td> </td><td>Android 4.3</td><td style="border-left: 1px solid #555">Voto</td><td>VT888</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.018</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-21638055-738d-46ba-a1b1-f5114bc26475">Detail</a> <!-- Modal Structure --> <div id="modal-21638055-738d-46ba-a1b1-f5114bc26475" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>PiwikDeviceDetector result detail</h4> <p><pre><code class="php">Array ( [client] => Array ( [type] => mobile app [name] => WeChat [version] => 5.4 ) [operatingSystem] => Array ( [name] => Android [short_name] => AND [version] => 4.3 [platform] => ) [device] => Array ( [brand] => V1 [brandName] => Voto [model] => VT888 [device] => 1 [deviceName] => smartphone ) [bot] => [extra] => Array ( [isBot] => [isBrowser] => [isFeedReader] => [isMobileApp] => 1 [isPIM] => [isLibrary] => [isMediaPlayer] => [isCamera] => [isCarBrowser] => [isConsole] => [isFeaturePhone] => [isPhablet] => [isPortableMediaPlayer] => [isSmartDisplay] => [isSmartphone] => 1 [isTablet] => [isTV] => [isDesktop] => [isMobile] => 1 [isTouchEnabled] => ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>SinergiBrowserDetector<br /><small>6.0.0</small></td><td>Navigator </td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5415e7f2-ef7b-434c-abe0-b71ba9f6707c">Detail</a> <!-- Modal Structure --> <div id="modal-5415e7f2-ef7b-434c-abe0-b71ba9f6707c" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>SinergiBrowserDetector result detail</h4> <p><pre><code class="php">Array ( [browser] => Sinergi\BrowserDetector\Browser Object ( [userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => VOTO VT888_TD/Linux/3.4.39 Android/4.3 Release/08.15.2013 Browser/AppleWebkit534.30 Mobile Safari/534.30 MicroMessenger/5.4.0.66_r807534.480 NetType/WIFI ) [name:Sinergi\BrowserDetector\Browser:private] => Navigator [version:Sinergi\BrowserDetector\Browser:private] => unknown [isRobot:Sinergi\BrowserDetector\Browser:private] => [isChromeFrame:Sinergi\BrowserDetector\Browser:private] => ) [operatingSystem] => Sinergi\BrowserDetector\Os Object ( [name:Sinergi\BrowserDetector\Os:private] => Android [version:Sinergi\BrowserDetector\Os:private] => unknown [isMobile:Sinergi\BrowserDetector\Os:private] => 1 [userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => VOTO VT888_TD/Linux/3.4.39 Android/4.3 Release/08.15.2013 Browser/AppleWebkit534.30 Mobile Safari/534.30 MicroMessenger/5.4.0.66_r807534.480 NetType/WIFI ) ) [device] => Sinergi\BrowserDetector\Device Object ( [name:Sinergi\BrowserDetector\Device:private] => unknown [userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => VOTO VT888_TD/Linux/3.4.39 Android/4.3 Release/08.15.2013 Browser/AppleWebkit534.30 Mobile Safari/534.30 MicroMessenger/5.4.0.66_r807534.480 NetType/WIFI ) ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UAParser<br /><small>v3.4.5</small></td><td>Safari </td><td><i class="material-icons">close</i></td><td>Android 4.3</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-346c1a98-5fd3-454f-b6c8-350f2f505d8b">Detail</a> <!-- Modal Structure --> <div id="modal-346c1a98-5fd3-454f-b6c8-350f2f505d8b" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">UAParser\Result\Client Object ( [ua] => UAParser\Result\UserAgent Object ( [major] => [minor] => [patch] => [family] => Safari ) [os] => UAParser\Result\OperatingSystem Object ( [major] => 4 [minor] => 3 [patch] => [patchMinor] => [family] => Android ) [device] => UAParser\Result\Device Object ( [brand] => Generic [model] => Smartphone [family] => Generic Smartphone ) [originalUserAgent] => VOTO VT888_TD/Linux/3.4.39 Android/4.3 Release/08.15.2013 Browser/AppleWebkit534.30 Mobile Safari/534.30 MicroMessenger/5.4.0.66_r807534.480 NetType/WIFI ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentStringCom<br /><small></small></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 4.3</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.047</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-9cdd8b45-a2eb-406b-bd27-7e48af38ffd4">Detail</a> <!-- Modal Structure --> <div id="modal-9cdd8b45-a2eb-406b-bd27-7e48af38ffd4" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UserAgentStringCom result detail</h4> <p><pre><code class="php">stdClass Object ( [agent_type] => Browser [agent_name] => Android Webkit Browser [agent_version] => -- [os_type] => Android [os_name] => Android [os_versionName] => [os_versionNumber] => 4.3 [os_producer] => [os_producerURL] => [linux_distibution] => Null [agent_language] => [agent_languageTag] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small></td><td> </td><td>WebKit </td><td>Android </td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.41304</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-9795f66f-7271-430e-973a-a5c0e14dc35a">Detail</a> <!-- Modal Structure --> <div id="modal-9795f66f-7271-430e-973a-a5c0e14dc35a" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhatIsMyBrowserCom result detail</h4> <p><pre><code class="php">stdClass Object ( [operating_system_name] => Android [simple_sub_description_string] => [simple_browser_string] => Unknown browser on Android [browser_version] => [extra_info] => Array ( ) [operating_platform] => [extra_info_table] => Array ( ) [layout_engine_name] => WebKit [detected_addons] => Array ( ) [operating_system_flavour_code] => [hardware_architecture] => [operating_system_flavour] => [operating_system_frameworks] => Array ( ) [browser_name_code] => unknown-browser [operating_system_version] => [simple_operating_platform_string] => [is_abusive] => [layout_engine_version] => [browser_capabilities] => Array ( ) [operating_platform_vendor_name] => [operating_system] => Android [operating_system_version_full] => [operating_platform_code] => [browser_name] => Unknown browser [operating_system_name_code] => android [user_agent] => VOTO VT888_TD/Linux/3.4.39 Android/4.3 Release/08.15.2013 Browser/AppleWebkit534.30 Mobile Safari/534.30 MicroMessenger/5.4.0.66_r807534.480 NetType/WIFI [browser_version_full] => [browser] => Unknown browser ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhichBrowser<br /><small>2.0.10</small></td><td>WeChat 5.4.0.66</td><td>Webkit 534.30</td><td>Android 4.3</td><td style="border-left: 1px solid #555">VOTO</td><td>VT888</td><td>mobile:smart</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.05</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-342c8d32-4765-40a8-8a5c-af3a38d19ae4">Detail</a> <!-- Modal Structure --> <div id="modal-342c8d32-4765-40a8-8a5c-af3a38d19ae4" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhichBrowser result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [name] => WeChat [version] => 5.4.0.66 [type] => app:chat ) [engine] => Array ( [name] => Webkit [version] => 534.30 ) [os] => Array ( [name] => Android [version] => 4.3 ) [device] => Array ( [type] => mobile [subtype] => smart [manufacturer] => VOTO [model] => VT888 ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Woothee<br /><small>v1.2.0</small></td><td>Safari </td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-3f285ff5-314b-4db4-9948-54572e92e7b6">Detail</a> <!-- Modal Structure --> <div id="modal-3f285ff5-314b-4db4-9948-54572e92e7b6" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Woothee result detail</h4> <p><pre><code class="php">Array ( [name] => Safari [vendor] => Apple [version] => UNKNOWN [category] => smartphone [os] => Android [os_version] => UNKNOWN ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Wurfl<br /><small>1.6.4</small></td><td>Android Webkit 4.3</td><td><i class="material-icons">close</i></td><td>Android 4.3</td><td style="border-left: 1px solid #555"></td><td></td><td>Smartphone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.041</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-1a1aee36-7ce7-4111-a391-8e2c501f1532">Detail</a> <!-- Modal Structure --> <div id="modal-1a1aee36-7ce7-4111-a391-8e2c501f1532" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Wurfl result detail</h4> <p><pre><code class="php">Array ( [virtual] => Array ( [is_android] => true [is_ios] => false [is_windows_phone] => false [is_app] => false [is_full_desktop] => false [is_largescreen] => false [is_mobile] => true [is_robot] => false [is_smartphone] => true [is_touchscreen] => true [is_wml_preferred] => false [is_xhtmlmp_preferred] => false [is_html_preferred] => true [advertised_device_os] => Android [advertised_device_os_version] => 4.3 [advertised_browser] => Android Webkit [advertised_browser_version] => 4.3 [complete_device_name] => Generic Android 4.3 [form_factor] => Smartphone [is_phone] => true [is_app_webview] => true ) [all] => Array ( [brand_name] => Generic [model_name] => Android 4.3 [unique] => true [ununiqueness_handler] => [is_wireless_device] => true [device_claims_web_support] => true [has_qwerty_keyboard] => true [can_skip_aligned_link_row] => true [uaprof] => [uaprof2] => [uaprof3] => [nokia_series] => 0 [nokia_edition] => 0 [device_os] => Android [mobile_browser] => Android Webkit [mobile_browser_version] => [device_os_version] => 4.3 [pointing_method] => touchscreen [release_date] => 2013_july [marketing_name] => [model_extra_info] => [nokia_feature_pack] => 0 [can_assign_phone_number] => true [is_tablet] => false [manufacturer_name] => [is_bot] => false [is_google_glass] => false [proportional_font] => false [built_in_back_button_support] => false [card_title_support] => true [softkey_support] => false [table_support] => true [numbered_menus] => false [menu_with_select_element_recommended] => false [menu_with_list_of_links_recommended] => true [icons_on_menu_items_support] => false [break_list_of_links_with_br_element_recommended] => true [access_key_support] => false [wrap_mode_support] => false [times_square_mode_support] => false [deck_prefetch_support] => false [elective_forms_recommended] => true [wizards_recommended] => false [image_as_link_support] => false [insert_br_element_after_widget_recommended] => false [wml_can_display_images_and_text_on_same_line] => false [wml_displays_image_in_center] => false [opwv_wml_extensions_support] => false [wml_make_phone_call_string] => wtai://wp/mc; [chtml_display_accesskey] => false [emoji] => false [chtml_can_display_images_and_text_on_same_line] => false [chtml_displays_image_in_center] => false [imode_region] => none [chtml_make_phone_call_string] => tel: [chtml_table_support] => false [xhtml_honors_bgcolor] => true [xhtml_supports_forms_in_table] => true [xhtml_support_wml2_namespace] => false [xhtml_autoexpand_select] => false [xhtml_select_as_dropdown] => false [xhtml_select_as_radiobutton] => false [xhtml_select_as_popup] => false [xhtml_display_accesskey] => false [xhtml_supports_invisible_text] => false [xhtml_supports_inline_input] => false [xhtml_supports_monospace_font] => false [xhtml_supports_table_for_layout] => true [xhtml_supports_css_cell_table_coloring] => true [xhtml_format_as_css_property] => false [xhtml_format_as_attribute] => false [xhtml_nowrap_mode] => false [xhtml_marquee_as_css_property] => false [xhtml_readable_background_color1] => #FFFFFF [xhtml_readable_background_color2] => #FFFFFF [xhtml_allows_disabled_form_elements] => true [xhtml_document_title_support] => true [xhtml_preferred_charset] => iso-8859-1 [opwv_xhtml_extensions_support] => false [xhtml_make_phone_call_string] => tel: [xhtmlmp_preferred_mime_type] => text/html [xhtml_table_support] => true [xhtml_send_sms_string] => sms: [xhtml_send_mms_string] => mms: [xhtml_file_upload] => supported [cookie_support] => true [accept_third_party_cookie] => true [xhtml_supports_iframe] => full [xhtml_avoid_accesskeys] => true [xhtml_can_embed_video] => none [ajax_support_javascript] => true [ajax_manipulate_css] => true [ajax_support_getelementbyid] => true [ajax_support_inner_html] => true [ajax_xhr_type] => standard [ajax_manipulate_dom] => true [ajax_support_events] => true [ajax_support_event_listener] => true [ajax_preferred_geoloc_api] => w3c_api [xhtml_support_level] => 4 [preferred_markup] => html_web_4_0 [wml_1_1] => false [wml_1_2] => false [wml_1_3] => false [html_wi_w3_xhtmlbasic] => true [html_wi_oma_xhtmlmp_1_0] => true [html_wi_imode_html_1] => false [html_wi_imode_html_2] => false [html_wi_imode_html_3] => false [html_wi_imode_html_4] => false [html_wi_imode_html_5] => false [html_wi_imode_htmlx_1] => false [html_wi_imode_htmlx_1_1] => false [html_wi_imode_compact_generic] => false [html_web_3_2] => true [html_web_4_0] => true [voicexml] => false [multipart_support] => false [total_cache_disable_support] => false [time_to_live_support] => false [resolution_width] => 320 [resolution_height] => 480 [columns] => 60 [max_image_width] => 320 [max_image_height] => 480 [rows] => 40 [physical_screen_width] => 34 [physical_screen_height] => 50 [dual_orientation] => true [density_class] => 1.0 [wbmp] => true [bmp] => false [epoc_bmp] => false [gif_animated] => false [jpg] => true [png] => true [tiff] => false [transparent_png_alpha] => true [transparent_png_index] => true [svgt_1_1] => true [svgt_1_1_plus] => false [greyscale] => false [gif] => true [colors] => 65536 [webp_lossy_support] => true [webp_lossless_support] => true [post_method_support] => true [basic_authentication_support] => true [empty_option_value_support] => true [emptyok] => false [nokia_voice_call] => false [wta_voice_call] => false [wta_phonebook] => false [wta_misc] => false [wta_pdc] => false [https_support] => true [phone_id_provided] => false [max_data_rate] => 3600 [wifi] => true [sdio] => false [vpn] => false [has_cellular_radio] => true [max_deck_size] => 2000000 [max_url_length_in_requests] => 256 [max_url_length_homepage] => 0 [max_url_length_bookmark] => 0 [max_url_length_cached_page] => 0 [max_no_of_connection_settings] => 0 [max_no_of_bookmarks] => 0 [max_length_of_username] => 0 [max_length_of_password] => 0 [max_object_size] => 0 [downloadfun_support] => false [directdownload_support] => true [inline_support] => false [oma_support] => true [ringtone] => false [ringtone_3gpp] => false [ringtone_midi_monophonic] => false [ringtone_midi_polyphonic] => false [ringtone_imelody] => false [ringtone_digiplug] => false [ringtone_compactmidi] => false [ringtone_mmf] => false [ringtone_rmf] => false [ringtone_xmf] => false [ringtone_amr] => false [ringtone_awb] => false [ringtone_aac] => false [ringtone_wav] => false [ringtone_mp3] => false [ringtone_spmidi] => false [ringtone_qcelp] => false [ringtone_voices] => 1 [ringtone_df_size_limit] => 0 [ringtone_directdownload_size_limit] => 0 [ringtone_inline_size_limit] => 0 [ringtone_oma_size_limit] => 0 [wallpaper] => false [wallpaper_max_width] => 0 [wallpaper_max_height] => 0 [wallpaper_preferred_width] => 0 [wallpaper_preferred_height] => 0 [wallpaper_resize] => none [wallpaper_wbmp] => false [wallpaper_bmp] => false [wallpaper_gif] => false [wallpaper_jpg] => false [wallpaper_png] => false [wallpaper_tiff] => false [wallpaper_greyscale] => false [wallpaper_colors] => 2 [wallpaper_df_size_limit] => 0 [wallpaper_directdownload_size_limit] => 0 [wallpaper_inline_size_limit] => 0 [wallpaper_oma_size_limit] => 0 [screensaver] => false [screensaver_max_width] => 0 [screensaver_max_height] => 0 [screensaver_preferred_width] => 0 [screensaver_preferred_height] => 0 [screensaver_resize] => none [screensaver_wbmp] => false [screensaver_bmp] => false [screensaver_gif] => false [screensaver_jpg] => false [screensaver_png] => false [screensaver_greyscale] => false [screensaver_colors] => 2 [screensaver_df_size_limit] => 0 [screensaver_directdownload_size_limit] => 0 [screensaver_inline_size_limit] => 0 [screensaver_oma_size_limit] => 0 [picture] => false [picture_max_width] => 0 [picture_max_height] => 0 [picture_preferred_width] => 0 [picture_preferred_height] => 0 [picture_resize] => none [picture_wbmp] => false [picture_bmp] => false [picture_gif] => false [picture_jpg] => false [picture_png] => false [picture_greyscale] => false [picture_colors] => 2 [picture_df_size_limit] => 0 [picture_directdownload_size_limit] => 0 [picture_inline_size_limit] => 0 [picture_oma_size_limit] => 0 [video] => false [oma_v_1_0_forwardlock] => false [oma_v_1_0_combined_delivery] => false [oma_v_1_0_separate_delivery] => false [streaming_video] => true [streaming_3gpp] => true [streaming_mp4] => true [streaming_mov] => false [streaming_video_size_limit] => 0 [streaming_real_media] => none [streaming_flv] => false [streaming_3g2] => false [streaming_vcodec_h263_0] => 10 [streaming_vcodec_h263_3] => -1 [streaming_vcodec_mpeg4_sp] => 2 [streaming_vcodec_mpeg4_asp] => -1 [streaming_vcodec_h264_bp] => 3.0 [streaming_acodec_amr] => nb [streaming_acodec_aac] => lc [streaming_wmv] => none [streaming_preferred_protocol] => rtsp [streaming_preferred_http_protocol] => apple_live_streaming [wap_push_support] => false [connectionless_service_indication] => false [connectionless_service_load] => false [connectionless_cache_operation] => false [connectionoriented_unconfirmed_service_indication] => false [connectionoriented_unconfirmed_service_load] => false [connectionoriented_unconfirmed_cache_operation] => false [connectionoriented_confirmed_service_indication] => false [connectionoriented_confirmed_service_load] => false [connectionoriented_confirmed_cache_operation] => false [utf8_support] => true [ascii_support] => false [iso8859_support] => false [expiration_date] => false [j2me_cldc_1_0] => false [j2me_cldc_1_1] => false [j2me_midp_1_0] => false [j2me_midp_2_0] => false [doja_1_0] => false [doja_1_5] => false [doja_2_0] => false [doja_2_1] => false [doja_2_2] => false [doja_3_0] => false [doja_3_5] => false [doja_4_0] => false [j2me_jtwi] => false [j2me_mmapi_1_0] => false [j2me_mmapi_1_1] => false [j2me_wmapi_1_0] => false [j2me_wmapi_1_1] => false [j2me_wmapi_2_0] => false [j2me_btapi] => false [j2me_3dapi] => false [j2me_locapi] => false [j2me_nokia_ui] => false [j2me_motorola_lwt] => false [j2me_siemens_color_game] => false [j2me_siemens_extension] => false [j2me_heap_size] => 0 [j2me_max_jar_size] => 0 [j2me_storage_size] => 0 [j2me_max_record_store_size] => 0 [j2me_screen_width] => 0 [j2me_screen_height] => 0 [j2me_canvas_width] => 0 [j2me_canvas_height] => 0 [j2me_bits_per_pixel] => 0 [j2me_audio_capture_enabled] => false [j2me_video_capture_enabled] => false [j2me_photo_capture_enabled] => false [j2me_capture_image_formats] => none [j2me_http] => false [j2me_https] => false [j2me_socket] => false [j2me_udp] => false [j2me_serial] => false [j2me_gif] => false [j2me_gif89a] => false [j2me_jpg] => false [j2me_png] => false [j2me_bmp] => false [j2me_bmp3] => false [j2me_wbmp] => false [j2me_midi] => false [j2me_wav] => false [j2me_amr] => false [j2me_mp3] => false [j2me_mp4] => false [j2me_imelody] => false [j2me_rmf] => false [j2me_au] => false [j2me_aac] => false [j2me_realaudio] => false [j2me_xmf] => false [j2me_wma] => false [j2me_3gpp] => false [j2me_h263] => false [j2me_svgt] => false [j2me_mpeg4] => false [j2me_realvideo] => false [j2me_real8] => false [j2me_realmedia] => false [j2me_left_softkey_code] => 0 [j2me_right_softkey_code] => 0 [j2me_middle_softkey_code] => 0 [j2me_select_key_code] => 0 [j2me_return_key_code] => 0 [j2me_clear_key_code] => 0 [j2me_datefield_no_accepts_null_date] => false [j2me_datefield_broken] => false [receiver] => false [sender] => false [mms_max_size] => 0 [mms_max_height] => 0 [mms_max_width] => 0 [built_in_recorder] => false [built_in_camera] => true [mms_jpeg_baseline] => false [mms_jpeg_progressive] => false [mms_gif_static] => false [mms_gif_animated] => false [mms_png] => false [mms_bmp] => false [mms_wbmp] => false [mms_amr] => false [mms_wav] => false [mms_midi_monophonic] => false [mms_midi_polyphonic] => false [mms_midi_polyphonic_voices] => 0 [mms_spmidi] => false [mms_mmf] => false [mms_mp3] => false [mms_evrc] => false [mms_qcelp] => false [mms_ota_bitmap] => false [mms_nokia_wallpaper] => false [mms_nokia_operatorlogo] => false [mms_nokia_3dscreensaver] => false [mms_nokia_ringingtone] => false [mms_rmf] => false [mms_xmf] => false [mms_symbian_install] => false [mms_jar] => false [mms_jad] => false [mms_vcard] => false [mms_vcalendar] => false [mms_wml] => false [mms_wbxml] => false [mms_wmlc] => false [mms_video] => false [mms_mp4] => false [mms_3gpp] => false [mms_3gpp2] => false [mms_max_frame_rate] => 0 [nokiaring] => false [picturemessage] => false [operatorlogo] => false [largeoperatorlogo] => false [callericon] => false [nokiavcard] => false [nokiavcal] => false [sckl_ringtone] => false [sckl_operatorlogo] => false [sckl_groupgraphic] => false [sckl_vcard] => false [sckl_vcalendar] => false [text_imelody] => false [ems] => false [ems_variablesizedpictures] => false [ems_imelody] => false [ems_odi] => false [ems_upi] => false [ems_version] => 0 [siemens_ota] => false [siemens_logo_width] => 101 [siemens_logo_height] => 29 [siemens_screensaver_width] => 101 [siemens_screensaver_height] => 50 [gprtf] => false [sagem_v1] => false [sagem_v2] => false [panasonic] => false [sms_enabled] => true [wav] => false [mmf] => false [smf] => false [mld] => false [midi_monophonic] => false [midi_polyphonic] => false [sp_midi] => false [rmf] => false [xmf] => false [compactmidi] => false [digiplug] => false [nokia_ringtone] => false [imelody] => false [au] => false [amr] => false [awb] => false [aac] => true [mp3] => true [voices] => 1 [qcelp] => false [evrc] => false [flash_lite_version] => [fl_wallpaper] => false [fl_screensaver] => false [fl_standalone] => false [fl_browser] => false [fl_sub_lcd] => false [full_flash_support] => false [css_supports_width_as_percentage] => true [css_border_image] => webkit [css_rounded_corners] => webkit [css_gradient] => none [css_spriting] => true [css_gradient_linear] => none [is_transcoder] => false [transcoder_ua_header] => user-agent [rss_support] => false [pdf_support] => true [progressive_download] => true [playback_vcodec_h263_0] => 10 [playback_vcodec_h263_3] => -1 [playback_vcodec_mpeg4_sp] => 0 [playback_vcodec_mpeg4_asp] => -1 [playback_vcodec_h264_bp] => 3.0 [playback_real_media] => none [playback_3gpp] => true [playback_3g2] => false [playback_mp4] => true [playback_mov] => false [playback_acodec_amr] => nb [playback_acodec_aac] => none [playback_df_size_limit] => 0 [playback_directdownload_size_limit] => 0 [playback_inline_size_limit] => 0 [playback_oma_size_limit] => 0 [playback_acodec_qcelp] => false [playback_wmv] => none [hinted_progressive_download] => true [html_preferred_dtd] => html4 [viewport_supported] => true [viewport_width] => device_width_token [viewport_userscalable] => no [viewport_initial_scale] => [viewport_maximum_scale] => [viewport_minimum_scale] => [mobileoptimized] => false [handheldfriendly] => false [canvas_support] => full [image_inlining] => true [is_smarttv] => false [is_console] => false [nfc_support] => false [ux_full_desktop] => false [jqm_grade] => A [is_sencha_touch_ok] => false [controlcap_is_smartphone] => default [controlcap_is_ios] => default [controlcap_is_android] => default [controlcap_is_robot] => default [controlcap_is_app] => default [controlcap_advertised_device_os] => default [controlcap_advertised_device_os_version] => default [controlcap_advertised_browser] => default [controlcap_advertised_browser_version] => default [controlcap_is_windows_phone] => default [controlcap_is_full_desktop] => default [controlcap_is_largescreen] => default [controlcap_is_mobile] => default [controlcap_is_touchscreen] => default [controlcap_is_wml_preferred] => default [controlcap_is_xhtmlmp_preferred] => default [controlcap_is_html_preferred] => default [controlcap_form_factor] => default [controlcap_complete_device_name] => default ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr></table> </div> <div class="section"> <h1 class="header center orange-text">About this comparison</h1> <div class="row center"> <h5 class="header light"> The primary goal of this project is simple<br /> I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br /> <br /> The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br /> <br /> You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</a><br /> <br /> The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a> </h5> </div> </div> <div class="card"> <div class="card-content"> Comparison created <i>2016-02-13 13:27:31</i> | by <a href="https://github.com/ThaDafinser">ThaDafinser</a> </div> </div> </div> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.1.1/list.min.js"></script> <script> $(document).ready(function(){ // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered $('.modal-trigger').leanModal(); }); </script> </body> </html>
{ "content_hash": "48051c6615d37376dad0544ee4136008", "timestamp": "", "source": "github", "line_count": 1142, "max_line_length": 775, "avg_line_length": 40.81873905429072, "alnum_prop": 0.5374664807465408, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "d6b3fd6dd809343cd4febc821857f46786d7e632", "size": "46616", "binary": false, "copies": "1", "ref": "refs/heads/gh-pages", "path": "v4/user-agent-detail/21/f9/21f98905-adb2-48e6-820a-deaedcffa0be.html", "mode": "33188", "license": "mit", "language": [ { "name": "HTML", "bytes": "2060859160" } ], "symlink_target": "" }
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "40d14b07ee1862183c08f78b7b3de440", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "5f6054c2a5693f4af58d526e47f3608a1a591813", "size": "193", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Cotoneaster/Cotoneaster purpurascens/README.md", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
<?php namespace Czim\PxlCms\Models; use Czim\PxlCms\Helpers\Paths; use Lookitsatravis\Listify\Listify; use Watson\Rememberable\Rememberable; /** * Can use Listify out of the box because images uses 'position' column * * @property string $file * @property string $caption * @property string $extension * @property integer $language_id * @property \Carbon\Carbon $uploaded * @property-read string $url * @property-read string $localPath * @property-read array $resizes */ class Image extends CmsModel { use Listify, Rememberable; protected $table = 'cms_m_images'; public $timestamps = false; /** * List of resizes for the image (if loaded through a model's magic property) * * @var array */ public $resizes = []; protected $fillable = [ 'file', 'caption', 'extension', ]; protected $dates = [ 'uploaded', ]; protected $hidden = [ 'field_id', 'entry_id', ]; protected $appends = [ 'url', 'resizes', ]; /** * @param array $attributes */ public function __construct(array $attributes = []) { parent::__construct($attributes); $this->initListify(); } /* * Accessors / Mutators for Appends */ public function getUrlAttribute() { return Paths::images($this->file); } public function setUrlAttribute() { return null; } public function getLocalPathAttribute() { return Paths::uploadsInternal($this->file); } public function setLocalPathAttribute() { return null; } public function getResizesAttribute() { return $this->resizes; } }
{ "content_hash": "211e1ff1342721df999329d123ce5aa4", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 81, "avg_line_length": 18.6875, "alnum_prop": 0.572463768115942, "repo_name": "czim/laravel-pxlcms", "id": "2670dae5f34a7da13a4d51be8c3d08b29717a852", "size": "1794", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/Models/Image.php", "mode": "33188", "license": "mit", "language": [ { "name": "PHP", "bytes": "346039" } ], "symlink_target": "" }
// // AWSSAMLSignInProvider.h // AWSMobileHubHelper // // Copyright 2016 Amazon.com, Inc. or its affiliates (Amazon). All Rights Reserved. // // Code generated by AWS Mobile Hub. Amazon gives unlimited permission to // copy, distribute and modify it. // #import "AWSSignInProvider.h" NS_ASSUME_NONNULL_BEGIN /** * Any class over-riding the `AWSSAMLSignInProvider` class for implemeting `SAML` as a sign-in provider, * should also adopt the `AWSSAMLSignInProviderInstance` protocol. */ @protocol AWSSAMLSignInProviderInstance /** * The shared instance of the class implementing `SAML` as a sign-in provider. * * @return the shared instance of the class implementing `SAML` as a sign-in provider. */ + (id<AWSSignInProvider>)sharedInstance; @end @interface AWSSAMLSignInProvider : NSObject <AWSSignInProvider> #pragma mark - Initializer /* The only initializer for AWSSAMLSignInProvider. This initializer has to be used by the class over-riding AWSSAMLSignInProvider. @param uniqueIdentifier The unique identifier string for the SAML Sign In Provider @param identityProviderName The identifier provider name for SAML provider (the Identity Provider ARN for SAML) @return instance of AWSSAMLSignInProvider */ - (instancetype)initWithIdentifier:(NSString *)uniqueIdentifier identityProviderName:(NSString *)identityProviderName; #pragma mark - Mandatory Override Methods // The user is expected to over the methods in this pragma mark /** * This method will be called when `loginWithSignInProvider` is invoked from `AWSIdentityManager`. * Developer is expected to call `setResult` on `taskCompletionSource` with the SAML login token on a successful login, * or `setError` when the login is cancelled or encounters an error. * * The token internally is stored in the keychain store, and a flag is set in `NSUserDefaults` indicating the user is logged in using this `SAML` sign-in provider. * * ** Objective-C *** * - (void)handleLoginWithTaskCompletionSource:(AWSTaskCompletionSource<NSString *> *)taskCompletionSource { * // handle login logic * if(loginSuccessful) { * [taskCompletionSource setResult:@"SuccessfullyGeneratedToken"]; * } else { * [taskCompletionSource setError:error]; * } * } * * ** Swift ** * func handleLogicWithTaskCompletionSource(taskCompletionSource: AWSTaskCompletionSource<String>) { * if(loginSuccessful) { * taskCompletionSource.setResult("SuccessfullyGeneratedToken") * } else { * taskCompletionSource.setError(error) * } * } * * @param taskCompletionSource the `AWSTaskCompletionSource` object which is used to call `setResult` or `setError` */ - (void)handleLoginWithTaskCompletionSource:(AWSTaskCompletionSource<NSString *> *)taskCompletionSource; /** * This method is called whenver the cognito credentials are refreshed or when app is loaded from background state / closed state. * The previous saved token can be fetched using `fetchStoredToken`, and if it is valid the same can be returned without refreshing. * * @return an instance of `AWSTask`. `task.result` should contain the valid token in case of successful token fetch, or `task.error` should be set */ - (AWSTask<NSString *>*)fetchLatestToken; #pragma mark - Optional Override Methods /** * Passes parameters used to launch the application to the current identity provider. * It can be used to complete the user sign-in call flow, which uses a browser to * get information from the user, directly. The current sign-in provider will be set to nil if * the sign-in provider is not registered using `registerAWSSignInProvider:forKey` method of * `AWSSignInProviderFactory` class. * * @param application application * @param launchOptions options used to launch the application * @return true if this call handled the operation */ - (BOOL)interceptApplication:(UIApplication *)application didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; /** * Passes parameters used to launch the application to the current identity provider. * It can be used to complete the user sign-in call flow, which uses a browser to * get information from the user, directly. The developer should store a reference to * the `taskCompletionSource` instance provided by the `handleLoginWithTaskCompletionSouce` * method to set the result with successfully retrieved token. * * @param application application * @param url url used to open the application * @param sourceApplication source application * @param annotation annotation * @return true if this call handled the operation */ - (BOOL)interceptApplication:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(nullable NSString *)sourceApplication annotation:(id)annotation; #pragma mark - Instance Methods /** * Sets the userName value of the signed-in user into a persistent store. * Should be called on a successful login to set the user name which is used by `AWSIdentityManager`. * * @param userName the user name of the signed-in user */ - (void)setUserName:(NSString *)userName; /** * Sets the imageURL value of the signed-in user into a persistent store. * Should be called on a successful login to set the user name which is used by `AWSIdentityManager`. * * @param imageURL the image URL for a picture of the signed-in user */ - (void)setImageURL:(NSURL *)imageURL; /** * Can be used to store a reference of teh view controller from which `loginWithSignInProvider` is invoked by `AWSIdentityManager` * * @param signInViewController the signInViewController object whose reference needs to be stored */ - (void)setViewControllerForSignIn:(UIViewController *)signInViewController; /** * This method returns the view controller whose reference was stored using `setViewControllerForSignIn` * * @return the stored view controller if set, else `nil` */ - (UIViewController *)getViewControllerForSignIn; /** * Returns the token stored in keychain as-is (without refreshing) * * @return the token if available in keychain, else `nil` */ - (NSString *)fetchStoredToken; /** * Determines if the user is logged in based on the token available in keychain and if the login flag is set internally. * * @return `YES` if the user is logged in using `SAML` sign-in provider instance */ - (BOOL)isLoggedIn; @end NS_ASSUME_NONNULL_END
{ "content_hash": "a7a52451ea841768bba8cc94b1a206e8", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 164, "avg_line_length": 38.790419161676645, "alnum_prop": 0.7459092312442112, "repo_name": "jtbales/Face-To-Name", "id": "5598e2c3494ff185144486b2f415afccc35e4d7c", "size": "6478", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "Face-To-Name/Frameworks/AmazonAws/AWSMobileHubHelper.framework/Headers/AWSSAMLSignInProvider.h", "mode": "33261", "license": "mit", "language": [ { "name": "C++", "bytes": "5407" }, { "name": "Objective-C", "bytes": "1688126" }, { "name": "Shell", "bytes": "3302" }, { "name": "Swift", "bytes": "99455" } ], "symlink_target": "" }
""" Generic Node baseclass for all workers that run on hosts """ import inspect import os import sys import time from eventlet import event from eventlet import greenthread from eventlet import greenpool from sqlalchemy.exc import OperationalError from nova import context from nova import db from nova import exception from nova import log as logging from nova import flags from nova import rpc from nova import utils from nova import version FLAGS = flags.FLAGS flags.DEFINE_integer('report_interval', 10, 'seconds between nodes reporting state to datastore', lower_bound=1) flags.DEFINE_integer('periodic_interval', 60, 'seconds between running periodic tasks', lower_bound=1) flags.DEFINE_string('pidfile', None, 'pidfile to use for this service') flags.DEFINE_flag(flags.HelpFlag()) flags.DEFINE_flag(flags.HelpshortFlag()) flags.DEFINE_flag(flags.HelpXMLFlag()) class Service(object): """Base class for workers that run on hosts.""" def __init__(self, host, binary, topic, manager, report_interval=None, periodic_interval=None, *args, **kwargs): self.host = host self.binary = binary self.topic = topic self.manager_class_name = manager self.report_interval = report_interval self.periodic_interval = periodic_interval super(Service, self).__init__(*args, **kwargs) self.saved_args, self.saved_kwargs = args, kwargs self.timers = [] def start(self): manager_class = utils.import_class(self.manager_class_name) self.manager = manager_class(host=self.host, *self.saved_args, **self.saved_kwargs) self.manager.init_host() self.model_disconnected = False ctxt = context.get_admin_context() try: service_ref = db.service_get_by_args(ctxt, self.host, self.binary) self.service_id = service_ref['id'] except exception.NotFound: self._create_service_ref(ctxt) conn1 = rpc.Connection.instance(new=True) conn2 = rpc.Connection.instance(new=True) if self.report_interval: consumer_all = rpc.AdapterConsumer( connection=conn1, topic=self.topic, proxy=self) consumer_node = rpc.AdapterConsumer( connection=conn2, topic='%s.%s' % (self.topic, self.host), proxy=self) self.timers.append(consumer_all.attach_to_eventlet()) self.timers.append(consumer_node.attach_to_eventlet()) pulse = utils.LoopingCall(self.report_state) pulse.start(interval=self.report_interval, now=False) self.timers.append(pulse) if self.periodic_interval: periodic = utils.LoopingCall(self.periodic_tasks) periodic.start(interval=self.periodic_interval, now=False) self.timers.append(periodic) def _create_service_ref(self, context): zone = FLAGS.node_availability_zone service_ref = db.service_create(context, {'host': self.host, 'binary': self.binary, 'topic': self.topic, 'report_count': 0, 'availability_zone': zone}) self.service_id = service_ref['id'] def __getattr__(self, key): manager = self.__dict__.get('manager', None) return getattr(manager, key) @classmethod def create(cls, host=None, binary=None, topic=None, manager=None, report_interval=None, periodic_interval=None): """Instantiates class and passes back application object. Args: host, defaults to FLAGS.host binary, defaults to basename of executable topic, defaults to bin_name - "nova-" part manager, defaults to FLAGS.<topic>_manager report_interval, defaults to FLAGS.report_interval periodic_interval, defaults to FLAGS.periodic_interval """ if not host: host = FLAGS.host if not binary: binary = os.path.basename(inspect.stack()[-1][1]) if not topic: topic = binary.rpartition("nova-")[2] if not manager: manager = FLAGS.get('%s_manager' % topic, None) if not report_interval: report_interval = FLAGS.report_interval if not periodic_interval: periodic_interval = FLAGS.periodic_interval vcs_string = version.version_string_with_vcs() logging.audit(_("Starting %(topic)s node (version %(vcs_string)s)") % locals()) service_obj = cls(host, binary, topic, manager, report_interval, periodic_interval) return service_obj def kill(self): """Destroy the service object in the datastore""" self.stop() try: db.service_destroy(context.get_admin_context(), self.service_id) except exception.NotFound: logging.warn(_("Service killed that has no database entry")) def stop(self): for x in self.timers: try: x.stop() except Exception: pass self.timers = [] def periodic_tasks(self): """Tasks to be run at a periodic interval""" self.manager.periodic_tasks(context.get_admin_context()) def report_state(self): """Update the state of this service in the datastore.""" ctxt = context.get_admin_context() try: try: service_ref = db.service_get(ctxt, self.service_id) except exception.NotFound: logging.debug(_("The service database object disappeared, " "Recreating it.")) self._create_service_ref(ctxt) service_ref = db.service_get(ctxt, self.service_id) db.service_update(ctxt, self.service_id, {'report_count': service_ref['report_count'] + 1}) # TODO(termie): make this pattern be more elegant. if getattr(self, "model_disconnected", False): self.model_disconnected = False logging.error(_("Recovered model server connection!")) # TODO(vish): this should probably only catch connection errors except Exception: # pylint: disable-msg=W0702 if not getattr(self, "model_disconnected", False): self.model_disconnected = True logging.exception(_("model server went away")) def serve(*services): FLAGS(sys.argv) logging.basicConfig() if not services: services = [Service.create()] name = '_'.join(x.binary for x in services) logging.debug(_("Serving %s"), name) logging.debug(_("Full set of FLAGS:")) for flag in FLAGS: flag_get = FLAGS.get(flag, None) logging.debug("%(flag)s : %(flag_get)s" % locals()) for x in services: x.start() def wait(): while True: greenthread.sleep(5)
{ "content_hash": "fba761c4a343ccfa785239cacc3492be", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 79, "avg_line_length": 34.706422018348626, "alnum_prop": 0.5622521808088818, "repo_name": "anotherjesse/nova", "id": "59648adf239911bba00b3f466da513de9f79b1d8", "size": "8343", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "nova/service.py", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "JavaScript", "bytes": "47238" }, { "name": "Python", "bytes": "1445578" }, { "name": "Shell", "bytes": "37610" } ], "symlink_target": "" }
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2017 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and // to permit persons to whom the Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all copies or substantial portions // of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED // TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF // CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. #endregion using System; using System.Data; using System.Web.UI; using System.Web.UI.WebControls; using DotNetNuke.Security.Permissions; namespace DotNetNuke.UI.WebControls.Internal { class PermissionTriStateTemplate : ITemplate { private readonly PermissionInfo _permission; public PermissionTriStateTemplate(PermissionInfo permission) { _permission = permission; } public void InstantiateIn(Control container) { var triState = new PermissionTriState(); triState.DataBinding += BindToTriState; container.Controls.Add(triState); } public void BindToTriState(object sender, EventArgs e) { var triState = (PermissionTriState) sender; var dataRowView = ((DataRowView) ((DataGridItem)triState.NamingContainer).DataItem); triState.Value = dataRowView[_permission.PermissionName].ToString(); triState.Locked = !bool.Parse(dataRowView[_permission.PermissionName + "_Enabled"].ToString()); triState.SupportsDenyMode = SupportDenyMode; triState.IsFullControl = IsFullControl; triState.IsView = IsView; triState.PermissionKey = _permission.PermissionKey; } public bool IsFullControl { get; set; } public bool IsView { get; set; } public bool SupportDenyMode { get; set; } } }
{ "content_hash": "e2b57598c3deb25e5f2ef7446f255da4", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 116, "avg_line_length": 41.84126984126984, "alnum_prop": 0.701062215477997, "repo_name": "SCullman/Dnn.Platform", "id": "459b4151b81b139e0df21cc81aef6f4fb20b050c", "size": "2639", "binary": false, "copies": "3", "ref": "refs/heads/development", "path": "DNN Platform/Library/UI/WebControls/DataGrids/PermissionTriStateTemplate.cs", "mode": "33188", "license": "mit", "language": [ { "name": "ASP", "bytes": "576721" }, { "name": "Batchfile", "bytes": "2674" }, { "name": "C#", "bytes": "20263180" }, { "name": "CSS", "bytes": "913772" }, { "name": "HTML", "bytes": "468183" }, { "name": "JavaScript", "bytes": "3821539" }, { "name": "Smalltalk", "bytes": "2410" }, { "name": "Visual Basic", "bytes": "139321" }, { "name": "XSLT", "bytes": "10488" } ], "symlink_target": "" }
#!/usr/bin/env node 'use strict'; // Do this as the first thing so that any code reading it knows the right env. process.env.BABEL_ENV = 'production'; process.env.NODE_ENV = 'production'; // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future, promise rejections that are not handled will // terminate the Node.js process with a non-zero exit code. process.on('unhandledRejection', err => { throw err; }); // Ensure environment variables are read. require('../../../etc/webpack/env'); const path = require('path'); const chalk = require('react-dev-utils/chalk'); const webpack = require('webpack'); const configFactory = require('../../../etc/webpack/config'); const paths = require('../../../etc/webpack/paths'); const checkRequiredFiles = require('react-dev-utils/checkRequiredFiles'); const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages'); const printHostingInstructions = require('react-dev-utils/printHostingInstructions'); const printBuildError = require('react-dev-utils/printBuildError'); const isInteractive = process.stdout.isTTY; // Warn and crash if required files are missing if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) { process.exit(1); } // Generate configuration const config = configFactory('production'); // We require that you explicitly set browsers and do not fall back to // browserslist defaults. const { checkBrowsers } = require('react-dev-utils/browsersHelper'); checkBrowsers(paths.appPath, isInteractive) .then(() => { return build(); }) .then( ({ stats, warnings }) => { if (warnings.length) { console.log(chalk.yellow('Compiled with warnings.\n')); console.log(warnings.join('\n\n')); console.log( '\nSearch for the ' + chalk.underline(chalk.yellow('keywords')) + ' to learn more about each warning.' ); console.log( 'To ignore, add ' + chalk.cyan('// eslint-disable-next-line') + ' to the line before.\n' ); } else { console.log(chalk.green('Compiled successfully.\n')); } const appPackage = require(paths.appPackageJson); const publicUrl = paths.publicUrl; const publicPath = config.output.publicPath; const buildFolder = path.relative(process.cwd(), paths.appBuild); printHostingInstructions( appPackage, publicUrl, publicPath, buildFolder, ); }, err => { console.log(chalk.red('Failed to compile.\n')); printBuildError(err); process.exit(1); } ) .catch(err => { if (err && err.message) { console.log(err.message); } process.exit(1); }); // Create the production build and print the deployment instructions. function build() { // We used to support resolving modules according to `NODE_PATH`. // This now has been deprecated in favor of jsconfig/tsconfig.json // This lets you use absolute paths in imports inside large monorepos: if (process.env.NODE_PATH) { console.log( chalk.yellow( 'Setting NODE_PATH to resolve modules absolutely has been deprecated in favor of setting baseUrl in jsconfig.json (or tsconfig.json if you are using TypeScript) and will be removed in a future major release of create-react-app.' ) ); console.log(); } console.log('Creating an optimized production build...'); const compiler = webpack(config); return new Promise((resolve, reject) => { compiler.run((err, stats) => { let messages; if (err) { if (!err.message) { return reject(err); } messages = formatWebpackMessages({ errors: [err.message], warnings: [], }); } else { messages = formatWebpackMessages( stats.toJson({ all: false, warnings: true, errors: true }) ); } if (messages.errors.length) { // Only keep the first error. Others are often indicative // of the same problem, but confuse the reader with noise. if (messages.errors.length > 1) { messages.errors.length = 1; } return reject(new Error(messages.errors.join('\n\n'))); } if ( process.env.CI && (typeof process.env.CI !== 'string' || process.env.CI.toLowerCase() !== 'false') && messages.warnings.length ) { console.log( chalk.yellow( '\nTreating warnings as errors because process.env.CI = true.\n' + 'Most CI servers set it automatically.\n' ) ); return reject(new Error(messages.warnings.join('\n\n'))); } return resolve({ stats, warnings: messages.warnings, }); }); }); }
{ "content_hash": "eea6560626d76bcf13c098df3d715f00", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 232, "avg_line_length": 29.38562091503268, "alnum_prop": 0.6730427046263345, "repo_name": "stdlib-js/www", "id": "578917cfcb6a5e745d57288ac755192848a7cca6", "size": "5620", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "tools/scripts/api-docs/app.js", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "190538" }, { "name": "HTML", "bytes": "158086013" }, { "name": "Io", "bytes": "14873" }, { "name": "JavaScript", "bytes": "5395746994" }, { "name": "Makefile", "bytes": "40479" }, { "name": "Shell", "bytes": "9744" } ], "symlink_target": "" }
require 'uri' require 'open-uri' require 'digest/hmac' require 'rexml/document' Creator = Struct.new(:name, :role) class Creator def to_s "#{name}(#{role})" end end class Amazon # config として与えられた key, secret, assoc_tag を指定して初期化する def initialize(config) @key = config["key"] @secret = config["secret"] @assoc_tag = config["assoc_tag"] end # 指定された ISBN の本の情報を取得する def lookup_books(isbn_list) max_request_isbn_count = 10 isbn_list.each_slice(max_request_isbn_count) do |isbns| uri = signed_uri(@key, @secret, Service: "AWSECommerceService", Version: "2010-11-01", Operation: "ItemLookup", IdType: "ISBN", ResponseGroup: "Small,Images", ItemId: isbns.join(','), SearchIndex: "Books", AssociateTag: @assoc_tag) open(uri) do |result| xml = result.read doc = REXML::Document.new(xml) index = 0 doc.elements.each("/ItemLookupResponse/Items/Item") do |item| info = { isbn: isbns[index] } [:author, :manufacturer, :title].each do |attr| info[attr] = get_text_if_exists(item, "ItemAttributes/#{attr.capitalize}") end creators = [] item.elements.each("ItemAttributes/Creator") do |creator| name = creator.text && creator.text.gsub("\t", " ") role = creator.attributes['Role'] creators.push(Creator.new(name, role)) end info[:creators] = creators info[:image_uri] = get_text_if_exists(item, "LargeImage/URL") yield info index += 1 end end end self end def lookup_book(isbn) result = nil lookup_books([isbn]) {|info| result = info} result[:isbn] = isbn if result result end def get_text_if_exists(item, selector) e = item.elements[selector] e && e.text && e.text.gsub("\t", " ") end # Amazon API 用に URI escape を行う def escape(str) URI.escape(str, /[^A-Za-z0-9\-_.~]/) end # 署名された URI を返す def signed_uri(access_key, secret_key, params) request_uri = '/onca/xml' endpoint = 'ecs.amazonaws.jp' params[:AWSAccessKeyId] = access_key params[:Timestamp] = Time.now.utc.strftime('%Y-%m-%dT%H:%M:%SZ') canonical = params.map{|k, v| "#{k}=#{escape(v)}"}.sort.join('&') str = "GET\n" + endpoint + "\n" + request_uri + "\n" + canonical sig = escape(Digest::HMAC.base64digest(str, secret_key, Digest::SHA256)) "http://#{endpoint}#{request_uri}?#{canonical}&Signature=#{sig}" end end
{ "content_hash": "d4ea851753a80327cf65930e9d39fb5e", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 86, "avg_line_length": 29.011111111111113, "alnum_prop": 0.5779394867866717, "repo_name": "nojima/bookinfo", "id": "3d1056c91af1ce3f368e089f6e7bac010195d991", "size": "2739", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "lib/amazon.rb", "mode": "33188", "license": "mit", "language": [ { "name": "Ruby", "bytes": "5106" } ], "symlink_target": "" }
@interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
{ "content_hash": "23d559cde335ce02fee356d062fa9657", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 60, "avg_line_length": 23.2, "alnum_prop": 0.7931034482758621, "repo_name": "azu/CoreDataPassing", "id": "8452b03565d06e5ad012e0da1b0d8e0cdd3b7d8b", "size": "275", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "CoreDataPassing/AppDelegate.h", "mode": "33188", "license": "mit", "language": [ { "name": "Objective-C", "bytes": "25694" } ], "symlink_target": "" }
<?xml version="1.0" encoding="UTF-8"?> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> <id>mod</id> <formats> <format>zip</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <outputDirectory/> <directory>${mods.directory}/${module.name}</directory> <includes> <include>**</include> </includes> </fileSet> </fileSets> </assembly>
{ "content_hash": "e4dcf3a1ad6f1bcfe12b929c6fa8053c", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 147, "avg_line_length": 33.40909090909091, "alnum_prop": 0.6054421768707483, "repo_name": "ialexandrakis/vertx-mod-smpp-client", "id": "cc89271b20b02e207d4f16a7098743a573be8f41", "size": "735", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/main/assembly/mod.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "27015" } ], "symlink_target": "" }
#include <Core/IEPlugin/ObjToField_Plugin.h> #include <Core/IEPlugin/G3DToField_Plugin.h> #include <Core/IEPlugin/NrrdField_Plugin.h> #include <Core/IEPlugin/MatlabFiles_Plugin.h> #include <Core/IEPlugin/SimpleTextFileToMatrix_Plugin.h> #include <Core/IEPlugin/EcgsimFileToMatrix_Plugin.h> #include <Core/IEPlugin/EcgsimFileToTriSurf_Plugin.h> #include <Core/IEPlugin/PointCloudField_Plugin.h> #include <Core/IEPlugin/IgbFileToMatrix_Plugin.h> #include <Core/IEPlugin/CurveField_Plugin.h> #include <Core/IEPlugin/TriSurfField_Plugin.h> #include <Core/IEPlugin/TetVolField_Plugin.h> #include <Core/IEPlugin/CARPMesh_Plugin.h> #include <Core/IEPlugin/CARPFiber_Plugin.h> #include <Core/ImportExport/Field/FieldIEPlugin.h> #include <Core/ImportExport/Matrix/MatrixIEPlugin.h> #include <Core/IEPlugin/IEPluginInit.h> using namespace SCIRun; using namespace SCIRun::Core::Logging; void IEPluginManager::Initialize() { static FieldIEPluginLegacyAdapter ObjToField_plugin("ObjToField", "*.obj", "", ObjToField_reader, FieldToObj_writer); //static FieldIEPluginLegacyAdapter G3DToField_plugin("IV3D", "*.g3d", "", nullptr, FieldToG3D_writer); static FieldIEPluginLegacyAdapter NrrdToField_plugin("NrrdFile","*.nhdr *.nrrd", "*.nrrd", NrrdToField_reader, FieldToNrrd_writer); static FieldIEPluginLegacyAdapter NodalNrrdToField_plugin("NrrdFile[DataOnNodes]","*.nhdr *.nrrd", "", Nodal_NrrdToField_reader, nullptr); static FieldIEPluginLegacyAdapter ModalNrrdToField_plugin("NrrdFile[DataOnElements]","*.nhdr *.nrrd", "", Modal_NrrdToField_reader, nullptr); static FieldIEPluginLegacyAdapter IPNodalNrrdToField_plugin("NrrdFile[DataOnNodes,InvertParity]","*.nhdr *.nrrd", "", IPNodal_NrrdToField_reader, nullptr); static FieldIEPluginLegacyAdapter IPModalNrrdToField_plugin("NrrdFile[DataOnElements,InvertParity]","*.nhdr *.nrrd", "", IPModal_NrrdToField_reader, nullptr); static FieldIEPluginLegacyAdapter MatlabField_plugin("Matlab Field", "*.mat", "*.mat", MatlabField_reader, MatlabField_writer); static MatrixIEPluginLegacyAdapter MatlabMatrix_plugin("Matlab Matrix","*.mat", "*.mat", MatlabMatrix_reader, MatlabMatrix_writer); //TODO //static NrrdIEPluginLegacyAdapter MatlabNrrd_plugin("Matlab Matrix",".mat", "*.mat",MatlabNrrd_reader,MatlabNrrd_writer); static MatrixIEPluginLegacyAdapter SimpleTextFileMatrix_plugin("SimpleTextFile","*.*", "",SimpleTextFileMatrix_reader,SimpleTextFileMatrix_writer); static FieldIEPluginLegacyAdapter PointCloudField_plugin("PointCloudField", "*.pts *.pos *.txt", "", TextToPointCloudField_reader, PointCloudFieldToText_writer); static FieldIEPluginLegacyAdapter CurveField_plugin("CurveField", "*.pts *.pos *.edge", "", TextToCurveField_reader, CurveFieldToTextBaseIndexZero_writer); static MatrixIEPluginLegacyAdapter EcgsimFileMatrix_plugin("ECGSimFile", "", "", EcgsimFileMatrix_reader, EcgsimFileMatrix_writer); static MatrixIEPluginLegacyAdapter EcgsimFileBinaryMatrix_plugin("ECGSimFileBinary", "", "", EcgsimBinaryFileMatrix_reader, nullptr); static MatrixIEPluginLegacyAdapter IgbFileMatrix_plugin("IGBFile", "*.igb", "*.igb", IgbFileMatrix_reader, nullptr); static FieldIEPluginLegacyAdapter TriSurfField_plugin("TriSurfField", "*.fac *.tri *.pts *.pos", "", TextToTriSurfField_reader, TriSurfFieldToTextBaseIndexZero_writer); static FieldIEPluginLegacyAdapter TriSurfFieldBaseIndexOne_plugin("TriSurfField[BaseIndex 1]", "*.fac *.pts", "", nullptr, TriSurfFieldToTextBaseIndexOne_writer); static FieldIEPluginLegacyAdapter CVRTI_FacPtsFileToTriSurf_plugin("CVRTI_FacPtsFileToTriSurf", "*.fac *.tri *.pts *.pos", "", TextToTriSurfField_reader, TriSurfFieldToTextBaseIndexZero_writer); static FieldIEPluginLegacyAdapter TriSurfFieldToM_plugin("TriSurfFieldToM", "*.m", "", MToTriSurfField_reader, TriSurfFieldToM_writer); static FieldIEPluginLegacyAdapter TriSurfFieldVtk_plugin("TriSurfFieldToVtk", "*.vtk", "", nullptr, TriSurfFieldToVtk_writer); static FieldIEPluginLegacyAdapter VtkFromTriSurfField_plugin("VtkToTriSurfField", "*.vtk", "", VtkToTriSurfField_reader, nullptr); static FieldIEPluginLegacyAdapter TriSurfFieldToExotxt_plugin("TriSurfFieldToExotxt", "*.ex2", "", nullptr, TriSurfFieldToExotxt_writer); static FieldIEPluginLegacyAdapter TriSurfFieldToExotxtBaseIndexOne_plugin("TriSurfFieldToExotxt[BaseIndex 1]", "*.ex2", "", nullptr, TriSurfFieldToExotxtBaseIndexOne_writer); static FieldIEPluginLegacyAdapter EcgsimFileTriSurfField_plugin("EcgsimFileToTriSurf", "*.tri", "", EcgsimFileToTriSurf_reader, nullptr); static FieldIEPluginLegacyAdapter TetVolField_plugin("TetVolField","*.elem *.tet *.pts *.pos", "", TextToTetVolField_reader, TetVolFieldToTextBaseIndexZero_writer); static FieldIEPluginLegacyAdapter CARPMesh_plugin("CARPMesh","*.elem *.pts *.lon", "", CARPMesh_reader, CARPMesh_writer); static FieldIEPluginLegacyAdapter CARPFiber_plugin("CARPFiber","*.lon", "", nullptr, CARPFiber_writer); static FieldIEPluginLegacyAdapter TetVolFieldBaseIndexOne_plugin("TetVolField[BaseIndex 1]", "*.tet *.pts", "", nullptr, TetVolFieldToTextBaseIndexOne_writer); static FieldIEPluginLegacyAdapter JHU_elemsPtsFileToTetVol_plugin("JHUFileToTetVol","*.elem *.tet *.pts *.pos", "", TextToTetVolField_reader, nullptr); static FieldIEPluginLegacyAdapter TetVolFieldVtk_plugin("TetVolFieldToVtk", "*.vtk", "", nullptr, TetVolFieldToVtk_writer); static FieldIEPluginLegacyAdapter TriSurfFieldSTLASCII_plugin("TriSurfFieldSTL[ASCII]", "*.stl", "", TriSurfFieldSTLASCII_reader, TriSurfFieldSTLASCII_writer); static FieldIEPluginLegacyAdapter TriSurfFieldSTLBinary_plugin("TriSurfFieldSTL[Binary]", "*.stl", "", TriSurfFieldSTLBinary_reader, TriSurfFieldSTLBinary_writer); }
{ "content_hash": "de03cee6dd5d64f3578cbc158532ff8c", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 196, "avg_line_length": 80.4225352112676, "alnum_prop": 0.7950963222416813, "repo_name": "jessdtate/SCIRun", "id": "6bdf202be6d3c27e196acfb3aab7fefa47a87969", "size": "6960", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "src/Core/IEPlugin/IEPluginInit.cc", "mode": "33188", "license": "mit", "language": [ { "name": "C", "bytes": "13240423" }, { "name": "C++", "bytes": "30143287" }, { "name": "CMake", "bytes": "779366" }, { "name": "CSS", "bytes": "5578" }, { "name": "Cuda", "bytes": "131738" }, { "name": "DIGITAL Command Language", "bytes": "8092" }, { "name": "Fortran", "bytes": "1326303" }, { "name": "GLSL", "bytes": "58737" }, { "name": "HTML", "bytes": "29427" }, { "name": "JavaScript", "bytes": "36777" }, { "name": "M4", "bytes": "85976" }, { "name": "Makefile", "bytes": "637928" }, { "name": "Mercury", "bytes": "347" }, { "name": "Objective-C", "bytes": "113603" }, { "name": "Perl", "bytes": "7210" }, { "name": "Perl 6", "bytes": "2651" }, { "name": "Python", "bytes": "429910" }, { "name": "Roff", "bytes": "2817" }, { "name": "Shell", "bytes": "1228236" }, { "name": "XSLT", "bytes": "14273" } ], "symlink_target": "" }
package income import ( "context" "fmt" model "go-common/app/job/main/growup/model/income" "go-common/library/log" ) const ( _insertUpChargeSQL = "INSERT INTO %s (mid,inc_charge,total_charge,date) VALUES %s ON DUPLICATE KEY UPDATE inc_charge=VALUES(inc_charge),total_charge=VALUES(total_charge)" _upChargeSQL = "SELECT id,mid,inc_charge,total_charge,date FROM %s WHERE date=? AND id > ? ORDER BY id LIMIT ?" ) // GetUpCharges get up charges func (d *Dao) GetUpCharges(c context.Context, table string, date string, offset, limit int64) (last int64, charges map[int64]*model.UpCharge, err error) { rows, err := d.db.Query(c, fmt.Sprintf(_upChargeSQL, table), date, offset, limit) if err != nil { log.Error("d.db.Query GetUpCharges error(%v)", err) return } charges = make(map[int64]*model.UpCharge) defer rows.Close() for rows.Next() { c := &model.UpCharge{} err = rows.Scan(&last, &c.MID, &c.IncCharge, &c.TotalCharge, &c.Date) if err != nil { log.Error("rows scan error(%v)", err) return } charges[c.MID] = c } return } // InsertUpCharge batch insert up charge func (d *Dao) InsertUpCharge(c context.Context, table string, values string) (rows int64, err error) { res, err := d.db.Exec(c, fmt.Sprintf(_insertUpChargeSQL, table, values)) if err != nil { log.Error("d.db.Exec InsertUpCharge error(%v)", err) return } return res.RowsAffected() }
{ "content_hash": "329aa55aeadc8212da15974a5574a439", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 171, "avg_line_length": 30.369565217391305, "alnum_prop": 0.6893342877594846, "repo_name": "LQJJ/demo", "id": "c696bc57c7b92dfad742e5191929d9c881f26e30", "size": "1397", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "126-go-common-master/app/job/main/growup/dao/income/up_charge.go", "mode": "33261", "license": "apache-2.0", "language": [ { "name": "C", "bytes": "5910716" }, { "name": "C++", "bytes": "113072" }, { "name": "CSS", "bytes": "10791" }, { "name": "Dockerfile", "bytes": "934" }, { "name": "Go", "bytes": "40121403" }, { "name": "Groovy", "bytes": "347" }, { "name": "HTML", "bytes": "359263" }, { "name": "JavaScript", "bytes": "545384" }, { "name": "Makefile", "bytes": "6671" }, { "name": "Mathematica", "bytes": "14565" }, { "name": "Objective-C", "bytes": "14900720" }, { "name": "Objective-C++", "bytes": "20070" }, { "name": "PureBasic", "bytes": "4152" }, { "name": "Python", "bytes": "4490569" }, { "name": "Ruby", "bytes": "44850" }, { "name": "Shell", "bytes": "33251" }, { "name": "Swift", "bytes": "463286" }, { "name": "TSQL", "bytes": "108861" } ], "symlink_target": "" }
testng-listeners ================ testng listeners
{ "content_hash": "a118499bec416ff49d2800b9edf168bf", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 16, "avg_line_length": 13, "alnum_prop": 0.5769230769230769, "repo_name": "cnishina/test-services", "id": "8b7327f5e4adc21e552e9459daa0bea2b9f71df0", "size": "52", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "testng-listeners/README.md", "mode": "33188", "license": "mit", "language": [ { "name": "Java", "bytes": "51838" } ], "symlink_target": "" }
class AddIndexToDataObjectsInfoItems < EOL::DataMigration def self.up execute("create index info_item_id on data_objects_info_items(info_item_id)") end def self.down remove_index :data_objects_info_items, :name => 'info_item_id' end end
{ "content_hash": "db0c756c9eb787847c9fa84a42462982", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 81, "avg_line_length": 28.22222222222222, "alnum_prop": 0.7283464566929134, "repo_name": "EOL/capstone_eol", "id": "841e0a098b99dfc8f57992384d406e3444cfed16", "size": "254", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "db/migrate/20100610165216_add_index_to_data_objects_info_items.rb", "mode": "33188", "license": "mit", "language": [ { "name": "ASP", "bytes": "64000" }, { "name": "ActionScript", "bytes": "3299" }, { "name": "ColdFusion", "bytes": "169639" }, { "name": "JavaScript", "bytes": "2279025" }, { "name": "PHP", "bytes": "67590" }, { "name": "Perl", "bytes": "38659" }, { "name": "Python", "bytes": "47611" }, { "name": "Ruby", "bytes": "2155989" }, { "name": "Shell", "bytes": "2762" } ], "symlink_target": "" }
#include <platform/iomap.h> #include <platform/irqs.h> #include <platform/interrupts.h> #include <platform/timer.h> #include <kernel/event.h> #include <target.h> #include <string.h> #include <stdlib.h> #include <bits.h> #include <debug.h> #include <sdhci.h> /* * Function: sdhci reset * Arg : Host structure & mask to write to reset register * Return : None * Flow: : Reset the host controller */ void sdhci_reset(struct sdhci_host *host, uint8_t mask) { uint32_t reg; uint32_t timeout = SDHCI_RESET_MAX_TIMEOUT; REG_WRITE8(host, mask, SDHCI_RESET_REG); /* Wait for the reset to complete */ do { reg = REG_READ8(host, SDHCI_RESET_REG); reg &= mask; if (!reg) break; if (!timeout) { dprintf(CRITICAL, "Error: sdhci reset failed for: %x\n", mask); break; } timeout--; mdelay(1); } while(1); } /* * Function: sdhci error status enable * Arg : Host structure * Return : None * Flow: : Enable command error status */ static void sdhci_error_status_enable(struct sdhci_host *host) { /* Enable all interrupt status */ REG_WRITE16(host, SDHCI_NRML_INT_STS_EN, SDHCI_NRML_INT_STS_EN_REG); REG_WRITE16(host, SDHCI_ERR_INT_STS_EN, SDHCI_ERR_INT_STS_EN_REG); /* Enable all interrupt signal */ REG_WRITE16(host, SDHCI_NRML_INT_SIG_EN, SDHCI_NRML_INT_SIG_EN_REG); REG_WRITE16(host, SDHCI_ERR_INT_SIG_EN, SDHCI_ERR_INT_SIG_EN_REG); } /* * Function: sdhci clock supply * Arg : Host structure * Return : 0 on Success, 1 on Failure * Flow: : 1. Calculate the clock divider * 2. Set the clock divider * 3. Check if clock stable * 4. Enable Clock */ uint32_t sdhci_clk_supply(struct sdhci_host *host, uint32_t clk) { uint32_t div = 0; uint32_t freq = 0; uint16_t clk_val = 0; if (clk >= host->caps.base_clk_rate) goto clk_ctrl; /* As per the sd spec div should be a multiplier of 2 */ for (div = 2; div < SDHCI_CLK_MAX_DIV; div += 2) { freq = host->caps.base_clk_rate / div; if (freq <= clk) break; } div >>= 1; clk_ctrl: /* As per the sdhci spec 3.0, bits 6-7 of the clock * control registers will be mapped to bit 8-9, to * support a 10 bit divider value. * This is needed when the divider value overflows * the 8 bit range. */ clk_val = ((div & SDHCI_SDCLK_FREQ_MASK) << SDHCI_SDCLK_FREQ_SEL); clk_val |= ((div & SDHC_SDCLK_UP_BIT_MASK) >> SDHCI_SDCLK_FREQ_SEL) << SDHCI_SDCLK_UP_BIT_SEL; clk_val |= SDHCI_INT_CLK_EN; REG_WRITE16(host, clk_val, SDHCI_CLK_CTRL_REG); /* Check for clock stable */ while (!(REG_READ16(host, SDHCI_CLK_CTRL_REG) & SDHCI_CLK_STABLE)); /* Now clock is stable, enable it */ clk_val = REG_READ16(host, SDHCI_CLK_CTRL_REG); clk_val |= SDHCI_CLK_EN; REG_WRITE16(host, clk_val, SDHCI_CLK_CTRL_REG); host->cur_clk_rate = clk; return 0; } /* * Function: sdhci stop sdcc clock * Arg : Host structure * Return : 0 on Success, 1 on Failure * Flow: : 1. Stop the clock */ static uint32_t sdhci_stop_sdcc_clk(struct sdhci_host *host) { uint32_t reg; reg = REG_READ32(host, SDHCI_PRESENT_STATE_REG); if (reg & (SDHCI_CMD_ACT | SDHCI_DAT_ACT)) { dprintf(CRITICAL, "Error: SDCC command & data line are active\n"); return 1; } REG_WRITE16(host, SDHCI_CLK_DIS, SDHCI_CLK_CTRL_REG); return 0; } /* * Function: sdhci change frequency * Arg : Host structure & clock value * Return : 0 on Success, 1 on Failure * Flow: : 1. Stop the clock * 2. Star the clock with new frequency */ static uint32_t sdhci_change_freq_clk(struct sdhci_host *host, uint32_t clk) { if (sdhci_stop_sdcc_clk(host)) { dprintf(CRITICAL, "Error: Card is busy, cannot change frequency\n"); return 1; } if (sdhci_clk_supply(host, clk)) { dprintf(CRITICAL, "Error: cannot change frequency\n"); return 1; } return 0; } /* * Function: sdhci set bus power * Arg : Host structure * Return : None * Flow: : 1. Set the voltage * 2. Set the sd power control register */ static void sdhci_set_bus_power_on(struct sdhci_host *host) { uint8_t voltage; voltage = host->caps.voltage; voltage <<= SDHCI_BUS_VOL_SEL; REG_WRITE8(host, voltage, SDHCI_PWR_CTRL_REG); voltage |= SDHCI_BUS_PWR_EN; REG_WRITE8(host, voltage, SDHCI_PWR_CTRL_REG); } /* * Function: sdhci set SDR mode * Arg : Host structure, UHS mode * Return : None * Flow: : 1. Disable the clock * 2. Enable UHS mode * 3. Enable the clock * Details : SDR50/SDR104 mode is nothing but HS200 * mode SDCC spec refers to it as SDR mode * & emmc spec refers as HS200 mode. */ void sdhci_set_uhs_mode(struct sdhci_host *host, uint32_t mode) { uint16_t clk; uint16_t ctrl = 0; uint32_t clk_val = 0; /* Disable the clock */ clk = REG_READ16(host, SDHCI_CLK_CTRL_REG); clk &= ~SDHCI_CLK_EN; REG_WRITE16(host, clk, SDHCI_CLK_CTRL_REG); ctrl = REG_READ16(host, SDHCI_HOST_CTRL2_REG); ctrl &= ~SDHCI_UHS_MODE_MASK; /* Enable SDR50/SDR104/DDR50 mode */ switch (mode) { case SDHCI_SDR104_MODE: ctrl |= SDHCI_SDR104_MODE_EN; clk_val = SDHCI_CLK_200MHZ; break; case SDHCI_SDR50_MODE: ctrl |= SDHCI_SDR50_MODE_EN; clk_val = SDHCI_CLK_100MHZ; break; case SDHCI_DDR50_MODE: ctrl |= SDHCI_DDR50_MODE_EN; clk_val = SDHCI_CLK_50MHZ; break; case SDHCI_SDR25_MODE: ctrl |= SDHCI_SDR25_MODE_EN; clk_val = SDHCI_CLK_50MHZ; break; case SDHCI_SDR12_MODE_EN: ctrl |= SDHCI_SDR12_MODE_EN; clk_val = SDHCI_CLK_25MHZ; break; default: dprintf(CRITICAL, "Error: Invalid UHS mode: %x\n", mode); ASSERT(0); }; REG_WRITE16(host, ctrl, SDHCI_HOST_CTRL2_REG); /* * SDHC spec does not have matching UHS mode * So we use Vendor specific registers to enable * HS400 mode */ sdhci_msm_set_mci_clk(host); /* Run the clock back */ sdhci_clk_supply(host, clk_val); } /* * Function: sdhci set adma mode * Arg : Host structure * Return : None * Flow: : Set adma mode */ static void sdhci_set_adma_mode(struct sdhci_host *host) { /* Select 32 Bit ADMA2 type */ REG_WRITE8(host, SDHCI_ADMA_32BIT, SDHCI_HOST_CTRL1_REG); } /* * Function: sdhci set bus width * Arg : Host & width * Return : 0 on Sucess, 1 on Failure * Flow: : Set the bus width for controller */ uint8_t sdhci_set_bus_width(struct sdhci_host *host, uint16_t width) { uint16_t reg = 0; reg = REG_READ8(host, SDHCI_HOST_CTRL1_REG); switch(width) { case DATA_BUS_WIDTH_8BIT: width = SDHCI_BUS_WITDH_8BIT; break; case DATA_BUS_WIDTH_4BIT: width = SDHCI_BUS_WITDH_4BIT; break; case DATA_BUS_WIDTH_1BIT: width = SDHCI_BUS_WITDH_1BIT; break; default: dprintf(CRITICAL, "Bus width is invalid: %u\n", width); return 1; } REG_WRITE8(host, (reg | width), SDHCI_HOST_CTRL1_REG); return 0; } /* * Function: sdhci command err status * Arg : Host structure * Return : 0 on Sucess, 1 on Failure * Flow: : Look for error status */ static uint8_t sdhci_cmd_err_status(struct sdhci_host *host) { uint32_t err; err = REG_READ16(host, SDHCI_ERR_INT_STS_REG); if (err & SDHCI_CMD_TIMEOUT_MASK) { dprintf(CRITICAL, "Error: Command timeout error\n"); return 1; } else if (err & SDHCI_CMD_CRC_MASK) { dprintf(CRITICAL, "Error: Command CRC error\n"); return 1; } else if (err & SDHCI_CMD_END_BIT_MASK) { dprintf(CRITICAL, "Error: CMD end bit error\n"); return 1; } else if (err & SDHCI_CMD_IDX_MASK) { dprintf(CRITICAL, "Error: Command Index error\n"); return 1; } else if (err & SDHCI_DAT_TIMEOUT_MASK) { dprintf(CRITICAL, "Error: DATA time out error\n"); return 1; } else if (err & SDHCI_DAT_CRC_MASK) { dprintf(CRITICAL, "Error: DATA CRC error\n"); return 1; } else if (err & SDHCI_DAT_END_BIT_MASK) { dprintf(CRITICAL, "Error: DATA end bit error\n"); return 1; } else if (err & SDHCI_CUR_LIM_MASK) { dprintf(CRITICAL, "Error: Current limit error\n"); return 1; } else if (err & SDHCI_AUTO_CMD12_MASK) { dprintf(CRITICAL, "Error: Auto CMD12 error\n"); return 1; } else if (err & SDHCI_ADMA_MASK) { dprintf(CRITICAL, "Error: ADMA error\n"); return 1; } return 0; } /* * Function: sdhci command complete * Arg : Host & command structure * Return : 0 on Sucess, 1 on Failure * Flow: : 1. Check for command complete * 2. Check for transfer complete * 3. Get the command response * 4. Check for errors */ static uint8_t sdhci_cmd_complete(struct sdhci_host *host, struct mmc_command *cmd) { uint8_t i; uint8_t ret = 0; uint8_t need_reset = 0; uint32_t retry = 0; uint32_t int_status; uint32_t trans_complete = 0; uint32_t err_status; do { int_status = REG_READ16(host, SDHCI_NRML_INT_STS_REG); int_status &= SDHCI_INT_STS_CMD_COMPLETE; if (int_status == SDHCI_INT_STS_CMD_COMPLETE) break; retry++; udelay(500); if (retry == SDHCI_MAX_CMD_RETRY) { dprintf(CRITICAL, "Error: Command never completed\n"); ret = 1; goto err; } } while(1); /* Command is complete, clear the interrupt bit */ REG_WRITE16(host, SDHCI_INT_STS_CMD_COMPLETE, SDHCI_NRML_INT_STS_REG); /* Copy the command response, * The valid bits for R2 response are 0-119, & but the actual response * is stored in bits 8-128. We need to move 8 bits of MSB of each * response to register 8 bits of LSB of next response register. * As: * MSB 8 bits of RESP0 --> LSB 8 bits of RESP1 * MSB 8 bits of RESP1 --> LSB 8 bits of RESP2 * MSB 8 bits of RESP2 --> LSB 8 bits of RESP3 */ if (cmd->resp_type == SDHCI_CMD_RESP_R2) { for (i = 0; i < 4; i++) { cmd->resp[i] = REG_READ32(host, SDHCI_RESP_REG + (i * 4)); cmd->resp[i] <<= SDHCI_RESP_LSHIFT; if (i != 0) cmd->resp[i] |= (REG_READ32(host, SDHCI_RESP_REG + ((i-1) * 4)) >> SDHCI_RESP_RSHIFT); } } else cmd->resp[0] = REG_READ32(host, SDHCI_RESP_REG); retry = 0; /* * Clear the transfer complete interrupt */ if (cmd->data_present || cmd->resp_type == SDHCI_CMD_RESP_R1B) { do { int_status = REG_READ16(host, SDHCI_NRML_INT_STS_REG); int_status &= SDHCI_INT_STS_TRANS_COMPLETE; if (int_status & SDHCI_INT_STS_TRANS_COMPLETE) { trans_complete = 1; break; } /* * If we are in tuning then we need to wait until Data timeout , Data end * or Data CRC error */ if (host->tuning_in_progress) { err_status = REG_READ16(host, SDHCI_ERR_INT_STS_REG); if ((err_status & SDHCI_DAT_TIMEOUT_MASK) || (err_status & SDHCI_DAT_CRC_MASK)) { sdhci_reset(host, (SOFT_RESET_CMD | SOFT_RESET_DATA)); return 0; } } retry++; udelay(1000); if (retry == SDHCI_MAX_TRANS_RETRY) { dprintf(CRITICAL, "Error: Transfer never completed\n"); ret = 1; goto err; } } while(1); /* Transfer is complete, clear the interrupt bit */ REG_WRITE16(host, SDHCI_INT_STS_TRANS_COMPLETE, SDHCI_NRML_INT_STS_REG); } err: /* Look for errors */ int_status = REG_READ16(host, SDHCI_NRML_INT_STS_REG); if (int_status & SDHCI_ERR_INT_STAT_MASK) { /* * As per SDHC spec transfer complete has higher priority than data timeout * If both transfer complete & data timeout are set then we should ignore * data timeout error. * --------------------------------------------------------------------------- * | Transfer complete | Data timeout error | Meaning of the Status | * |--------------------------------------------------------------------------| * | 0 | 0 | Interrupted by another factor | * |--------------------------------------------------------------------------| * | 0 | 1 | Time out occured during transfer| * |--------------------------------------------------------------------------| * | 1 | Don't Care | Command execution complete | * -------------------------------------------------------------------------- */ if ((REG_READ16(host, SDHCI_ERR_INT_STS_REG) & SDHCI_DAT_TIMEOUT_MASK) && trans_complete) { ret = 0; } else if (sdhci_cmd_err_status(host)) { dprintf(CRITICAL, "Error: Command completed with errors\n"); ret = 1; } /* Reset Command & Dat lines on error */ need_reset = 1; } /* Reset data & command line */ if (cmd->data_present || need_reset) sdhci_reset(host, (SOFT_RESET_CMD | SOFT_RESET_DATA)); return ret; } /* * Function: sdhci prep desc table * Arg : Pointer data & length * Return : Pointer to desc table * Flow: : Prepare the adma table as per the sd spec v 3.0 */ static struct desc_entry *sdhci_prep_desc_table(void *data, uint32_t len) { struct desc_entry *sg_list; uint32_t sg_len = 0; uint32_t remain = 0; uint32_t i; uint32_t table_len = 0; if (len <= SDHCI_ADMA_DESC_LINE_SZ) { /* Allocate only one descriptor */ sg_list = (struct desc_entry *) memalign(lcm(4, CACHE_LINE), ROUNDUP(sizeof(struct desc_entry), CACHE_LINE)); if (!sg_list) { dprintf(CRITICAL, "Error allocating memory\n"); ASSERT(0); } sg_list[0].addr = (uint32_t)data; sg_list[0].len = (len < SDHCI_ADMA_DESC_LINE_SZ) ? len : (SDHCI_ADMA_DESC_LINE_SZ & 0xffff); sg_list[0].tran_att = SDHCI_ADMA_TRANS_VALID | SDHCI_ADMA_TRANS_DATA | SDHCI_ADMA_TRANS_END; arch_clean_invalidate_cache_range((addr_t)sg_list, sizeof(struct desc_entry)); } else { /* Calculate the number of entries in desc table */ sg_len = len / SDHCI_ADMA_DESC_LINE_SZ; remain = len - (sg_len * SDHCI_ADMA_DESC_LINE_SZ); /* Allocate sg_len + 1 entries if there are remaining bytes at the end */ if (remain) sg_len++; table_len = (sg_len * sizeof(struct desc_entry)); sg_list = (struct desc_entry *) memalign(lcm(4, CACHE_LINE), ROUNDUP(table_len, CACHE_LINE)); if (!sg_list) { dprintf(CRITICAL, "Error allocating memory\n"); ASSERT(0); } memset((void *) sg_list, 0, table_len); /* * Prepare sglist in the format: * ___________________________________________________ * |Transfer Len | Transfer ATTR | Data Address | * | (16 bit) | (16 bit) | (32 bit) | * |_____________|_______________|_____________________| */ for (i = 0; i < (sg_len - 1); i++) { sg_list[i].addr = (uint32_t)data; /* * Length attribute is 16 bit value & max transfer size for one * descriptor line is 65536 bytes, As per SD Spec3.0 'len = 0' * implies 65536 bytes. Truncate the length to limit to 16 bit * range. */ sg_list[i].len = (SDHCI_ADMA_DESC_LINE_SZ & 0xffff); sg_list[i].tran_att = SDHCI_ADMA_TRANS_VALID | SDHCI_ADMA_TRANS_DATA; data += SDHCI_ADMA_DESC_LINE_SZ; len -= SDHCI_ADMA_DESC_LINE_SZ; } /* Fill the last entry of the table with Valid & End * attributes */ sg_list[sg_len - 1].addr = (uint32_t)data; sg_list[sg_len - 1].len = (len < SDHCI_ADMA_DESC_LINE_SZ) ? len : (SDHCI_ADMA_DESC_LINE_SZ & 0xffff); sg_list[sg_len - 1].tran_att = SDHCI_ADMA_TRANS_VALID | SDHCI_ADMA_TRANS_DATA | SDHCI_ADMA_TRANS_END; } arch_clean_invalidate_cache_range((addr_t)sg_list, table_len); return sg_list; } /* * Function: sdhci adma transfer * Arg : Host structure & command stucture * Return : Pointer to desc table * Flow : 1. Prepare descriptor table * 2. Write adma register * 3. Write block size & block count register */ static struct desc_entry *sdhci_adma_transfer(struct sdhci_host *host, struct mmc_command *cmd) { uint32_t num_blks = 0; uint32_t sz; void *data; struct desc_entry *adma_addr; num_blks = cmd->data.num_blocks; data = cmd->data.data_ptr; /* * Some commands send data on DAT lines which is less * than SDHCI_MMC_BLK_SZ, in that case trying to read * more than the data sent by the card results in data * CRC errors. To avoid such errors allow data to pass * the required block size, if the block size is not * passed use the default value */ if (cmd->data.blk_sz) sz = num_blks * cmd->data.blk_sz; else sz = num_blks * SDHCI_MMC_BLK_SZ; /* Prepare adma descriptor table */ adma_addr = sdhci_prep_desc_table(data, sz); /* Write adma address to adma register */ REG_WRITE32(host, (uint32_t) adma_addr, SDHCI_ADM_ADDR_REG); /* Write the block size */ if (cmd->data.blk_sz) REG_WRITE16(host, cmd->data.blk_sz, SDHCI_BLKSZ_REG); else REG_WRITE16(host, SDHCI_MMC_BLK_SZ, SDHCI_BLKSZ_REG); /* * Set block count in block count register */ REG_WRITE16(host, num_blks, SDHCI_BLK_CNT_REG); return adma_addr; } /* * Function: sdhci send command * Arg : Host structure & command stucture * Return : 0 on Success, 1 on Failure * Flow: : 1. Prepare the command register * 2. If data is present, prepare adma table * 3. Run the command * 4. Check for command results & take action */ uint32_t sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) { uint8_t retry = 0; uint32_t resp_type = 0; uint16_t trans_mode = 0; uint16_t present_state; uint32_t flags; struct desc_entry *sg_list = NULL; if (cmd->data_present) ASSERT(cmd->data.data_ptr); /* * Assert if the data buffer is not aligned to cache * line size for read operations. * For write operations this function assumes that * the cache is already flushed by the caller. As * the data buffer we receive for write operation * may not be aligned to cache boundary due to * certain image formats like sparse image. */ if (cmd->trans_mode == SDHCI_READ_MODE) ASSERT(IS_CACHE_LINE_ALIGNED(cmd->data.data_ptr)); do { present_state = REG_READ32(host, SDHCI_PRESENT_STATE_REG); /* check if CMD & DAT lines are free */ present_state &= SDHCI_STATE_CMD_DAT_MASK; if (!present_state) break; udelay(1000); retry++; if (retry == 10) { dprintf(CRITICAL, "Error: CMD or DAT lines were never freed\n"); return 1; } } while(1); switch(cmd->resp_type) { case SDHCI_CMD_RESP_R1: case SDHCI_CMD_RESP_R3: case SDHCI_CMD_RESP_R6: case SDHCI_CMD_RESP_R7: /* Response of length 48 have 32 bits * of response data stored in RESP0[0:31] */ resp_type = SDHCI_CMD_RESP_48; break; case SDHCI_CMD_RESP_R2: /* Response of length 136 have 120 bits * of response data stored in RESP0[0:119] */ resp_type = SDHCI_CMD_RESP_136; break; case SDHCI_CMD_RESP_R1B: /* Response of length 48 have 32 bits * of response data stored in RESP0[0:31] * & set CARD_BUSY status if card is busy */ resp_type = SDHCI_CMD_RESP_48_BUSY; break; case SDHCI_CMD_RESP_NONE: resp_type = SDHCI_CMD_RESP_NONE; break; default: dprintf(CRITICAL, "Invalid response type for the command\n"); return 1; }; flags = (resp_type << SDHCI_CMD_RESP_TYPE_SEL_BIT); flags |= (cmd->data_present << SDHCI_CMD_DATA_PRESENT_BIT); flags |= (cmd->cmd_type << SDHCI_CMD_CMD_TYPE_BIT); /* Set the timeout value */ REG_WRITE8(host, SDHCI_CMD_TIMEOUT, SDHCI_TIMEOUT_REG); /* Check if data needs to be processed */ if (cmd->data_present) sg_list = sdhci_adma_transfer(host, cmd); /* Write the argument 1 */ REG_WRITE32(host, cmd->argument, SDHCI_ARGUMENT_REG); /* Set the Transfer mode */ if (cmd->data_present) { /* Enable DMA */ trans_mode |= SDHCI_DMA_EN; if (cmd->trans_mode == SDHCI_MMC_READ) trans_mode |= SDHCI_READ_MODE; /* Enable auto cmd23 or cmd12 for multi block transfer * based on what command card supports */ if (cmd->data.num_blocks > 1) { if (cmd->cmd23_support) { trans_mode |= SDHCI_TRANS_MULTI | SDHCI_AUTO_CMD23_EN | SDHCI_BLK_CNT_EN; REG_WRITE32(host, cmd->data.num_blocks, SDHCI_ARG2_REG); } else trans_mode |= SDHCI_TRANS_MULTI | SDHCI_AUTO_CMD12_EN | SDHCI_BLK_CNT_EN; } } /* Write to transfer mode register */ REG_WRITE16(host, trans_mode, SDHCI_TRANS_MODE_REG); /* Write the command register */ REG_WRITE16(host, SDHCI_PREP_CMD(cmd->cmd_index, flags), SDHCI_CMD_REG); /* Command complete sequence */ if (sdhci_cmd_complete(host, cmd)) return 1; /* Invalidate the cache only for read operations */ if (cmd->trans_mode == SDHCI_MMC_READ) arch_invalidate_cache_range((addr_t)cmd->data.data_ptr, (cmd->data.num_blocks * SDHCI_MMC_BLK_SZ)); /* Free the scatter/gather list */ if (sg_list) free(sg_list); return 0; } /* * Function: sdhci init * Arg : Host structure * Return : None * Flow: : 1. Reset the controller * 2. Read the capabilities register & populate the host * controller capabilities for use by other functions * 3. Enable the power control * 4. Set initial bus width * 5. Set Adma mode * 6. Enable the error status */ void sdhci_init(struct sdhci_host *host) { uint32_t caps[2]; /* Read the capabilities register & store the info */ caps[0] = REG_READ32(host, SDHCI_CAPS_REG1); caps[1] = REG_READ32(host, SDHCI_CAPS_REG2); host->caps.base_clk_rate = (caps[0] & SDHCI_CLK_RATE_MASK) >> SDHCI_CLK_RATE_BIT; host->caps.base_clk_rate *= 1000000; /* Get the max block length for mmc */ host->caps.max_blk_len = (caps[0] & SDHCI_BLK_LEN_MASK) >> SDHCI_BLK_LEN_BIT; /* 8 bit Bus width */ if (caps[0] & SDHCI_8BIT_WIDTH_MASK) host->caps.bus_width_8bit = 1; /* Adma support */ if (caps[0] & SDHCI_BLK_ADMA_MASK) host->caps.adma_support = 1; /* Supported voltage */ if (caps[0] & SDHCI_3_3_VOL_MASK) host->caps.voltage = SDHCI_VOL_3_3; else if (caps[0] & SDHCI_3_0_VOL_MASK) host->caps.voltage = SDHCI_VOL_3_0; else if (caps[0] & SDHCI_1_8_VOL_MASK) host->caps.voltage = SDHCI_VOL_1_8; /* DDR mode support */ host->caps.ddr_support = (caps[1] & SDHCI_DDR50_MODE_MASK) ? 1 : 0; /* SDR50 mode support */ host->caps.sdr50_support = (caps[1] & SDHCI_SDR50_MODE_MASK) ? 1 : 0; /* SDR104 mode support */ host->caps.sdr104_support = (caps[1] & SDHCI_SDR104_MODE_MASK) ? 1 : 0; /* Set bus power on */ sdhci_set_bus_power_on(host); /* Wait for power interrupt to be handled */ event_wait(host->sdhc_event); /* Set bus width */ sdhci_set_bus_width(host, SDHCI_BUS_WITDH_1BIT); /* Set Adma mode */ sdhci_set_adma_mode(host); /* * Enable error status */ sdhci_error_status_enable(host); }
{ "content_hash": "0ed1b472cb1c0ae68d27dcd6b0455647", "timestamp": "", "source": "github", "line_count": 829, "max_line_length": 111, "avg_line_length": 26.803377563329313, "alnum_prop": 0.6247524752475248, "repo_name": "detule/lk-g2-spr", "id": "6fba466de1537532a571275ac70be601492acaf2", "size": "23809", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "platform/msm_shared/sdhci.c", "mode": "33188", "license": "mit", "language": [ { "name": "Assembly", "bytes": "553783" }, { "name": "C", "bytes": "15693972" }, { "name": "C++", "bytes": "323835" }, { "name": "Objective-C", "bytes": "5411" }, { "name": "Perl", "bytes": "905503" }, { "name": "Python", "bytes": "10626" }, { "name": "Shell", "bytes": "21307" }, { "name": "eC", "bytes": "3710" } ], "symlink_target": "" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Risky Jobs - Search</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <img src="riskyjobs_title.gif" alt="Risky Jobs" /> <img src="riskyjobs_fireman.jpg" alt="Risky Jobs" style="float:right" /> <h3>Risky Jobs - Search</h3> <form method="get" action="search.php"> <label for="usersearch">Find your risky job:</label><br /> <input type="text" id="usersearch" name="usersearch" /><br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html>
{ "content_hash": "5ec6e3d595934262531f25c2e4a92b4d", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 74, "avg_line_length": 41.94736842105263, "alnum_prop": 0.657465495608532, "repo_name": "inest-us/php", "id": "2c5265d323a517aaf442d3b03ca0cc5d5506d30c", "size": "797", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "php102/ch09/initial/riskyjobs/search.html", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "81450" }, { "name": "HTML", "bytes": "281565" }, { "name": "Hack", "bytes": "6775" }, { "name": "JavaScript", "bytes": "4121" }, { "name": "PHP", "bytes": "53600" }, { "name": "TSQL", "bytes": "309" } ], "symlink_target": "" }
<!DOCTPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Rummy</title> <link href="css/bootstrap.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> </head> <body> <div class="container"></div> <script src="js/jquery-1.10.2.min.js"></script> <script src="js/base64-binary.js"></script> <script src="js/bert.js"></script> <script src="js/bullet.js"></script> <script src="js/jacket.js"></script> <script src="js/Math.uuid.js"></script> <script src="js/q.min.js"></script> <script src="js/rummy.js"></script> </body> </html>
{ "content_hash": "71189698af3a7e779106e8dcfbe732e7", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 74, "avg_line_length": 28.807692307692307, "alnum_prop": 0.6141522029372497, "repo_name": "studzien/rummy", "id": "4eb8aa70e2414557e420b7110a96133a942da999", "size": "749", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "priv/static/index2.html", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "1481" }, { "name": "Erlang", "bytes": "31157" }, { "name": "JavaScript", "bytes": "92032" } ], "symlink_target": "" }
<!-- Modified form of basic binding that specifies the type of items in the collection of string values as simple elements. --> <binding> <mapping name="customer" class="simple.Customer3"> <structure name="name" field="name"> <value name="first-name" field="firstName"/> <value name="last-name" field="lastName"/> </structure> <value name="street1" field="street1"/> <value name="city" field="city"/> <value name="state" field="state"/> <value name="zip" field="zip"/> <value name="phone" field="phone"/> <structure usage="optional" field="referral"/> <collection field="orderIds"> <value name="order" type="java.lang.String"/> </collection> </mapping> </binding>
{ "content_hash": "c26871a96c52df1d3ef881918a64c66a", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 75, "avg_line_length": 36.4, "alnum_prop": 0.6497252747252747, "repo_name": "vkorbut/jibx", "id": "d1a47d01fe6d5f8fe1408bc9e65abf54cfcf3f62", "size": "728", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "jibx/build/test/simple/binding3a.xml", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "Java", "bytes": "5565541" } ], "symlink_target": "" }
using System; namespace ExcelDataReader.Core.BinaryFormat { /// <summary> /// Helper class for parsing the BIFF8 Shared String Table (SST) /// </summary> internal class XlsSSTReader { public XlsSSTReader(XlsBiffSST sst, XlsBiffStream biffStream) { Sst = sst; BiffStream = biffStream; CurrentRecord = Sst; CurrentRecordOffset = 4 + 8; // +4 skips BIFF header, +8 skips SST header } private XlsBiffSST Sst { get; } private XlsBiffStream BiffStream { get; } private XlsBiffRecord CurrentRecord { get; set; } /// <summary> /// Gets or sets the offset into the current record's byte content. May point at the end when the current record has been parsed entirely. /// </summary> private int CurrentRecordOffset { get; set; } /// <summary> /// Reads an SST string potentially spanning multiple records /// </summary> /// <returns>The string</returns> public IXlsString ReadString() { EnsureRecord(); var header = new XlsSSTStringHeader(CurrentRecord.Bytes, (uint)(CurrentRecord.Offset + CurrentRecordOffset)); Advance((int)header.HeadSize); var remainingCharacters = (int)header.CharacterCount; const int XlsUnicodeStringHeaderSize = 3; byte[] result = new byte[XlsUnicodeStringHeaderSize + remainingCharacters * 2]; result[0] = (byte)(remainingCharacters & 0x00FF); result[1] = (byte)((remainingCharacters & 0xFF00) >> 8); result[2] = 1; // IsMultiByte = true var resultOffset = XlsUnicodeStringHeaderSize; bool isMultiByte = header.IsMultiByte; while (remainingCharacters > 0) { if (EnsureRecord()) { // Continue records for string data start with a multibyte header var b = ReadByte(); isMultiByte = b != 0; } var bytesPerCharacter = isMultiByte ? 2 : 1; var maxRecordCharacters = (CurrentRecord.Size - CurrentRecordOffset) / bytesPerCharacter; var readCharacters = Math.Min(maxRecordCharacters, remainingCharacters); ReadUnicodeBytes(result, resultOffset, readCharacters, isMultiByte); resultOffset += readCharacters * 2; // The result is always multibyte remainingCharacters -= readCharacters; } // Skip formatting runs and phonetic/extended data. Can also span // multiple Continue records Advance((int)header.TailSize); return new XlsUnicodeString(result, 0); } private void ReadUnicodeBytes(byte[] dest, int offset, int characterCount, bool isMultiByte) { if (CurrentRecordOffset >= CurrentRecord.Size) { throw new InvalidOperationException("SST read position out of range"); } if (characterCount == 0) { throw new InvalidOperationException("Bad SST format"); } if (isMultiByte) { Array.Copy(CurrentRecord.Bytes, CurrentRecord.Offset + CurrentRecordOffset, dest, offset, characterCount * 2); CurrentRecordOffset += characterCount * 2; } else { for (int i = 0; i < characterCount; i++) { dest[offset + i * 2] = CurrentRecord.Bytes[CurrentRecord.Offset + CurrentRecordOffset + i]; dest[offset + i * 2 + 1] = 0; } CurrentRecordOffset += characterCount; } } private byte ReadByte() { if (CurrentRecordOffset >= CurrentRecord.Size) { throw new InvalidOperationException("SST read position out of range"); } var result = CurrentRecord.Bytes[CurrentRecord.Offset + CurrentRecordOffset]; CurrentRecordOffset++; return result; } /// <summary> /// If the read position is exactly at the end of a record: /// Read the next continue record and update the read position. /// </summary> private bool EnsureRecord() { if (CurrentRecordOffset == CurrentRecord.Size) { CurrentRecord = BiffStream.Read(); if (CurrentRecord == null || CurrentRecord.Id != BIFFRECORDTYPE.CONTINUE) { throw new InvalidOperationException("Bad SST format"); } CurrentRecordOffset = 4; // +4 skips BIFF header return true; } return false; } /// <summary> /// Advances the read position a number of bytes, potentially spanning /// multiple records. /// NOTE: If the new read position ends on a record boundary, /// the next record will not be read, and the read position will point /// at the end of the record! Must call EnsureRecord() as needed /// to read the next continue record and reset the read position. /// </summary> /// <param name="bytes">Number of bytes to skip</param> private void Advance(int bytes) { var size = CurrentRecord.Size; while (CurrentRecordOffset + bytes > size) { bytes = Math.Min((CurrentRecordOffset + bytes) - size, bytes); CurrentRecordOffset = CurrentRecord.Size; EnsureRecord(); size = CurrentRecord.Size; } CurrentRecordOffset += bytes; } } }
{ "content_hash": "2becb192de522fbad6d531d2ca41d955", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 146, "avg_line_length": 35.78181818181818, "alnum_prop": 0.5538617886178862, "repo_name": "appel1/ExcelDataReader", "id": "27cbdcf19ef90f640f23a38244c7d32d6f40f800", "size": "5906", "binary": false, "copies": "2", "ref": "refs/heads/develop", "path": "src/ExcelDataReader/Core/BinaryFormat/XlsSSTReader.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "592488" } ], "symlink_target": "" }
namespace Microsoft.Azure.Management.Redis.Fluent { using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; /// <summary> /// LinkedServerOperations operations. /// </summary> public partial interface ILinkedServerOperations { /// <summary> /// Adds a linked server to the Redis cache (requires Premium SKU). /// </summary> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='name'> /// The name of the Redis cache. /// </param> /// <param name='linkedServerName'> /// The name of the linked server that is being added to the Redis /// cache. /// </param> /// <param name='parameters'> /// Parameters supplied to the Create Linked server operation. /// </param> /// <param name='customHeaders'> /// The headers that will be added to request. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> /// Thrown when unable to deserialize the response /// </exception> /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> Task<AzureOperationResponse<RedisLinkedServerWithPropertiesInner>> CreateWithHttpMessagesAsync(string resourceGroupName, string name, string linkedServerName, RedisLinkedServerCreateParametersInner parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Deletes the linked server from a redis cache (requires Premium /// SKU). /// </summary> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='name'> /// The name of the redis cache. /// </param> /// <param name='linkedServerName'> /// The name of the linked server that is being added to the Redis /// cache. /// </param> /// <param name='customHeaders'> /// The headers that will be added to request. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string name, string linkedServerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets the detailed information about a linked server of a redis /// cache (requires Premium SKU). /// </summary> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='name'> /// The name of the redis cache. /// </param> /// <param name='linkedServerName'> /// The name of the linked server. /// </param> /// <param name='customHeaders'> /// The headers that will be added to request. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> /// Thrown when unable to deserialize the response /// </exception> /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> Task<AzureOperationResponse<RedisLinkedServerWithPropertiesInner>> GetWithHttpMessagesAsync(string resourceGroupName, string name, string linkedServerName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets the list of linked servers associated with this redis cache /// (requires Premium SKU). /// </summary> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='name'> /// The name of the redis cache. /// </param> /// <param name='customHeaders'> /// The headers that will be added to request. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> /// Thrown when unable to deserialize the response /// </exception> /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> Task<AzureOperationResponse<IPage<RedisLinkedServerWithPropertiesInner>>> ListWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Adds a linked server to the Redis cache (requires Premium SKU). /// </summary> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='name'> /// The name of the Redis cache. /// </param> /// <param name='linkedServerName'> /// The name of the linked server that is being added to the Redis /// cache. /// </param> /// <param name='parameters'> /// Parameters supplied to the Create Linked server operation. /// </param> /// <param name='customHeaders'> /// The headers that will be added to request. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> /// Thrown when unable to deserialize the response /// </exception> /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> Task<AzureOperationResponse<RedisLinkedServerWithPropertiesInner>> BeginCreateWithHttpMessagesAsync(string resourceGroupName, string name, string linkedServerName, RedisLinkedServerCreateParametersInner parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// <summary> /// Gets the list of linked servers associated with this redis cache /// (requires Premium SKU). /// </summary> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> /// <param name='customHeaders'> /// The headers that will be added to request. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> /// <exception cref="Microsoft.Rest.Azure.CloudException"> /// Thrown when the operation returned an invalid status code /// </exception> /// <exception cref="Microsoft.Rest.SerializationException"> /// Thrown when unable to deserialize the response /// </exception> /// <exception cref="Microsoft.Rest.ValidationException"> /// Thrown when a required parameter is null /// </exception> Task<AzureOperationResponse<IPage<RedisLinkedServerWithPropertiesInner>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } }
{ "content_hash": "2700e564ef788e08b84d37584563a630", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 344, "avg_line_length": 48.005376344086024, "alnum_prop": 0.6210101915108075, "repo_name": "hovsepm/azure-libraries-for-net", "id": "ba68d3d468b1587346441b27411f2ccf9d2f74e6", "size": "9194", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/ResourceManagement/RedisCache/Generated/ILinkedServerOperations.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "44919727" }, { "name": "Dockerfile", "bytes": "1339" }, { "name": "JavaScript", "bytes": "5392" }, { "name": "PowerShell", "bytes": "10183" }, { "name": "Python", "bytes": "1530" }, { "name": "Shell", "bytes": "10552" } ], "symlink_target": "" }
require 'indigo/jquery/ui/rails/version' module Indigo module Jquery module Ui module Rails class Engine < ::Rails::Engine; end end end end end
{ "content_hash": "e5595908dab2ae3461556796b7abc02b", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 43, "avg_line_length": 16.09090909090909, "alnum_prop": 0.6384180790960452, "repo_name": "crgee/indigo-jquery-ui-rails", "id": "763680ff9833c91d1ec906d27749d2ca8c1ea1b9", "size": "177", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "lib/indigo/jquery/ui/rails.rb", "mode": "33188", "license": "mit", "language": [ { "name": "Ruby", "bytes": "1030" } ], "symlink_target": "" }
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "c51b0de33b1f97ec458d3730e62fd7ec", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "4458916e6fad9720a1e11c57298095ce9f3b3115", "size": "188", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "life/Plantae/Magnoliophyta/Liliopsida/Pandanales/Pandanaceae/Pandanus/Pandanus furcatus/ Syn. Rykia furcata/README.md", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
SELECT USER FROM HU.ECCO; -- RERUN if USER value does not match preceding AUTHORIZATION comment -- date_time print -- NOTE Direct support for SQLCODE or SQLSTATE is not required -- NOTE in Interactive Direct SQL, as defined in FIPS 127-2. -- NOTE ********************* instead *************************** -- NOTE If a statement raises an exception condition, -- NOTE then the system shall display a message indicating that -- NOTE the statement failed, giving a textual description -- NOTE of the failure. -- NOTE If a statement raises a completion condition that is a -- NOTE "warning" or "no data", then the system shall display -- NOTE a message indicating that the statement completed, -- NOTE giving a textual description of the "warning" or "no data." -- TEST:0516 SQLSTATE 23000: integrity constraint violation! INSERT INTO EMP VALUES (41,'Tom','China Architecture', 20,'Architecture',040553); -- PASS:0516 If ERROR, integrity constraint violation, 0 rows inserted? -- PASS:0516 OR RI ERROR, parent missing, 0 rows inserted? -- PASS:0516 OR SQLSTATE = 23000 OR SQLCODE < 0? DELETE FROM EMP WHERE ENO = 21; -- PASS:0516 If ERROR, integrity constraint violation, 0 rows deleted? -- PASS:0516 OR RI ERROR, children exist, 0 rows deleted? -- PASS:0516 OR SQLSTATE = 23000 OR SQLCODE < 0? UPDATE EMP SET ENAME = 'Thomas' WHERE ENO = 21; -- PASS:0516 If ERROR, integrity constraint violation, 0 rows updated? -- PASS:0516 OR RI ERROR, chldren exist, 0 rows updated? -- PASS:0516 OR SQLSTATE = 23000 OR SQLCODE < 0? -- setup DELETE FROM STAFF7; -- PRIMARY KEY (EMPNUM) INSERT INTO STAFF7 (EMPNUM) VALUES ('XXX'); -- PASS:0516 If 1 row inserted? INSERT INTO STAFF7 (EMPNUM) VALUES ('XXX'); -- PASS:0516 If ERROR, integrity constraint violation, 0 rows inserted? -- PASS:0516 OR ERROR, unique constraint, 0 rows inserted? -- PASS:0516 OR SQLSTATE = 23000 OR SQLCODE < 0? -- setup DELETE FROM PROJ3; -- UNIQUE (PNUM) INSERT INTO PROJ3 (PNUM) VALUES ('787'); INSERT INTO PROJ3 (PNUM) VALUES ('789'); -- PASS:0516 If 1 row inserted? UPDATE PROJ3 SET PNUM = '787' WHERE PNUM = '789'; -- PASS:0516 If ERROR, integrity constraint violation, 0 rows updated? -- PASS:0516 OR ERROR, unique constraint, 0 rows updated? -- PASS:0516 OR SQLSTATE = 23000 OR SQLCODE < 0? -- setup DELETE FROM STAFF11; INSERT INTO STAFF11 VALUES('E3','Susan',11,'Hawaii'); -- PASS:0516 If 1 row inserted? -- (CHECK GRADE NOT IN (5,22)) UPDATE STAFF11 SET GRADE = 5 WHERE EMPNUM = 'E3'; -- PASS:0516 If ERROR, integrity constraint violation, 0 rows updated? -- PASS:0516 OR ERROR, check constraint, 0 rows updated? -- PASS:0516 OR SQLSTATE = 23000 OR SQLCODE < 0? -- (CHECK NOT EMPNAME LIKE 'T%') UPDATE STAFF11 SET EMPNAME = 'Tom' WHERE EMPNUM = 'E3'; -- PASS:0516 If ERROR, integrity constraint violation, 0 rows updated? -- PASS:0516 OR ERROR, check constraint, 0 rows updated? -- PASS:0516 OR SQLSTATE = 23000 OR SQLCODE < 0? -- restore ROLLBACK WORK; -- END TEST >>> 0516 <<< END TEST -- *************************************************////END-OF-MODULE
{ "content_hash": "6d96e76b23769279af3e5aecf3ff2c2a", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 71, "avg_line_length": 34.052083333333336, "alnum_prop": 0.650351789538085, "repo_name": "balena/sqlp", "id": "5b61f9f0656ebc07c8880b60127503653d89544a", "size": "3396", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "tests/v6_pc_isql/cdr030.sql", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "PLpgSQL", "bytes": "2260" }, { "name": "Python", "bytes": "79716" }, { "name": "SQLPL", "bytes": "234155" } ], "symlink_target": "" }
define(["sample/dep_one", "sample/dep_three"], function () { });
{ "content_hash": "f77b6732c3ea1fa31bf0c976ce80c965", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 60, "avg_line_length": 32.5, "alnum_prop": 0.6153846153846154, "repo_name": "aguadev/aguadev", "id": "eb345bd9ec819e9ef88be93a5de1021f6b3d9043", "size": "65", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "html/dojo-1.8.3/dwb/src/test/resources/sample_module_libs/amd/cyclic_deps/dep_two.js", "mode": "33188", "license": "mit", "language": [ { "name": "ActionScript", "bytes": "63213" }, { "name": "Assembly", "bytes": "2811185" }, { "name": "Awk", "bytes": "1651" }, { "name": "C", "bytes": "17157035" }, { "name": "C++", "bytes": "16652335" }, { "name": "CSS", "bytes": "7295053" }, { "name": "D", "bytes": "38703" }, { "name": "Emacs Lisp", "bytes": "14719" }, { "name": "Java", "bytes": "664579" }, { "name": "JavaScript", "bytes": "74379284" }, { "name": "Lua", "bytes": "37481" }, { "name": "Objective-C", "bytes": "62279" }, { "name": "PHP", "bytes": "1497773" }, { "name": "Perl", "bytes": "13076601" }, { "name": "Puppet", "bytes": "4423" }, { "name": "Python", "bytes": "2466246" }, { "name": "R", "bytes": "2216" }, { "name": "Ruby", "bytes": "11167" }, { "name": "Scheme", "bytes": "14853" }, { "name": "Shell", "bytes": "327744" }, { "name": "TeX", "bytes": "4217" }, { "name": "XQuery", "bytes": "2397" }, { "name": "XSLT", "bytes": "255596" }, { "name": "eC", "bytes": "5079" } ], "symlink_target": "" }
package us.cyrien.minecordbot.reporters; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; import us.cyrien.mcutils.diagnosis.Diagnostics; import us.cyrien.mcutils.diagnosis.IReporter; import us.cyrien.minecordbot.Minecordbot; import us.cyrien.minecordbot.configuration.BotConfig; import java.io.File; public class CfgReporter implements IReporter { private String name; private int priority; public CfgReporter() { this.name = "Configuration Reporter"; this.priority = 5; } @Override public String getName() { return name; } @Override public int getPriority() { return priority; } @Override public String report() { StringBuilder sb = new StringBuilder(); File dataFolder = Minecordbot.getInstance().getDataFolder(); File[] files = dataFolder.listFiles() == null ? new File[]{} : dataFolder.listFiles(); for (File f : files) if (!f.isDirectory() && f.getName().contains("Config") && f.getPath().endsWith(".yml")) { FileConfiguration config = YamlConfiguration.loadConfiguration(f); if(config.getKeys(false).contains(BotConfig.Nodes.BOT_TOKEN.key())) config.set(BotConfig.Nodes.BOT_TOKEN.key(), "-- Token omitted for security --"); String s = config.saveToString().replaceAll("\\R", Diagnostics.LINE_SEPARATOR); sb.append("-").append(f.getName()).append("-").append(Diagnostics.LINE_SEPARATOR); sb.append(s).append(Diagnostics.LINE_SEPARATOR); } return sb.toString(); } }
{ "content_hash": "dda3ea43b2b5c388302178a95fa50cac", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 101, "avg_line_length": 35.208333333333336, "alnum_prop": 0.6502958579881657, "repo_name": "CyR1en/MineCordBot", "id": "6fd7e82bd0274e1d4e49028909502fcddeac0737", "size": "1690", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/main/java/us/cyrien/minecordbot/reporters/CfgReporter.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "72290" } ], "symlink_target": "" }
title: "Tokens" description: "Tokens are placeholders included in a check definition that the agent replaces with entity information before executing the check. You can use tokens to fine-tune check attributes (like alert thresholds) on a per-entity level while re-using check definitions. Read the reference doc to learn about tokens." weight: 10 version: "5.15" product: "Sensu Go" menu: sensu-go-5.15: parent: reference --- - [Sensu token specification](#sensu-token-specification) - [Examples](#examples) Tokens are placeholders included in a check definition that the agent replaces with entity information before executing the check. You can use tokens to fine-tune check attributes (like alert thresholds) on a per-entity level while re-using the check definition. ## How do tokens work? When a check is scheduled to be executed by an agent, it first goes through a token substitution step. The agent replaces any tokens with matching attributes from the entity definition, and then the check is executed. Invalid templates or unmatched tokens will return an error, which is logged and sent to the Sensu backend message transport. Checks with token matching errors will not be executed. Token substitution is supported for [check definition][7] `command` attributes and [hook][8] `command` attributes. Only [entity attributes][4] are available for substitution. Available attributes will always have [string values](#token-data-type-limitations), such as labels and annotations. ## Managing entity labels You can use token substitution with any defined [entity attributes][4], including custom labels. See the [entity reference][6] for information on managing entity labels for proxy entities and agent entities. ## Sensu token specification Sensu Go uses the [Go template][1] package to implement token substitution. Use double curly braces around the token and a dot before the attribute to be substituted: `{{ .system.hostname }}`. ### Token substitution syntax Tokens are invoked by wrapping references to entity attributes and labels with double curly braces, such as `{{ .name }}` to substitute an entity's name. Nested Sensu [entity attributes][3] can be accessed via dot notation (ex: `system.arch`). - `{{ .name }}` would be replaced with the [entity `name` attribute][3] - `{{ .labels.url }}` would be replaced with a custom label called `url` - `{{ .labels.disk_warning }}` would be replaced with a custom label called - `{{ index .labels "disk_warning" }}` would be replaced with a custom label called `disk_warning` - `{{ index .labels "cpu.threshold" }}` would be replaced with a custom label called `cpu.threshold` _**NOTE**: When an annotation or label name has a dot (e.g. `cpu.threshold`), the template index function syntax must be used to ensure correct processing because the dot notation is also used for object nesting._ ### Token substitution default values In the event that an attribute is not provided by the [entity][3], a token's default value will be substituted. Token default values are separated by a pipe character and the word `default` (`| default`), and can be used to provide a "fallback value" for entities that are missing a specified token attribute. - `{{.labels.url | default "https://sensu.io"}}` would be replaced with a custom label called `url`. If no such attribute called `url` is included in the entity definition, the default (or fallback) value of `https://sensu.io` will be used to substitute the token. ### Unmatched tokens If a token is unmatched during check preparation, the agent check handler will return an error, and the check will not be executed. Unmatched token errors will look similar to the following: {{< highlight shell >}} error: unmatched token: template: :1:22: executing "" at <.system.hostname>: map has no entry for key "System" {{< /highlight >}} Check config token errors will be logged by the agent, and sent to Sensu backend message transport as a check failure. ### Token data type limitations As part of the substitution process, Sensu converts all tokens to strings. This means that tokens cannot be used for bare integer values or to access individual list items. For example, token substitution **cannot** be used for specifying a check interval because the interval attribute requires an _integer_ value. Token substitution **can** be used for alerting thresholds because those values are included within the command _string_. ## Examples ### Token substitution for check thresholds In this example [hook][8] and [check configuration][5], the `check-disk-usage.go` command accepts `-w` (warning) and `-c` (critical) arguments to indicate the thresholds (as percentages) for creating warning or critical events. If no token substitutions are provided by an entity configuration, Sensu will use default values to create a warning event at 80% disk capacity (i.e. `{{ .labels.disk_warning | default 80 }}`), and a critical event at 90% capacity (i.e. `{{ .labels.disk_critical | default 90 }}`). Hook configuration: {{< language-toggle >}} {{< highlight yml >}} type: HookConfig api_version: core/v2 metadata: name: disk_usage_details namespace: default spec: command: du -h --max-depth=1 -c {{index .labels "disk_usage_root" | default "/"}} 2>/dev/null runtime_assets: null stdin: false timeout: 60 {{< /highlight >}} {{< highlight json >}} { "type": "HookConfig", "api_version": "core/v2", "metadata": { "name": "disk_usage_details", "namespace": "default" }, "spec": { "command": "du -h --max-depth=1 -c {{index .labels \"disk_usage_root\" | default \"/\"}} 2>/dev/null", "runtime_assets": null, "stdin": false, "timeout": 60 } } {{< /highlight >}} {{< /language-toggle >}} Check configuration: {{< language-toggle >}} {{< highlight yml >}} type: CheckConfig api_version: core/v2 metadata: name: check-disk-usage namespace: default spec: check_hooks: - non-zero: - disk_usage_details command: check-disk-usage.rb -w {{index .labels "disk_warning" | default 80}} -c {{.labels.disk_critical | default 90}} env_vars: null handlers: [] high_flap_threshold: 0 interval: 10 low_flap_threshold: 0 output_metric_format: "" output_metric_handlers: null proxy_entity_name: "" publish: true round_robin: false runtime_assets: null stdin: false subdue: null subscriptions: - staging timeout: 0 ttl: 0 {{< /highlight >}} {{< highlight json >}} { "type": "CheckConfig", "api_version": "core/v2", "metadata": { "name": "check-disk-usage", "namespace": "default" }, "spec": { "check_hooks": [ { "non-zero": [ "disk_usage_details" ] } ], "command": "check-disk-usage.rb -w {{index .labels \"disk_warning\" | default 80}} -c {{.labels.disk_critical | default 90}}", "env_vars": null, "handlers": [], "high_flap_threshold": 0, "interval": 10, "low_flap_threshold": 0, "output_metric_format": "", "output_metric_handlers": null, "proxy_entity_name": "", "publish": true, "round_robin": false, "runtime_assets": null, "stdin": false, "subdue": null, "subscriptions": [ "staging" ], "timeout": 0, "ttl": 0 } } {{< /highlight >}} {{< /language-toggle >}} The following example [entity][4] would provide the necessary attributes to override the `.labels.disk_warning` and `labels.disk_critical` tokens declared above. {{< language-toggle >}} {{< highlight yml >}} type: Entity api_version: core/v2 metadata: annotations: null labels: disk_critical: "90" disk_warning: "80" name: example-hostname namespace: default spec: deregister: false deregistration: {} entity_class: agent last_seen: 1542667231 redact: - password - passwd - pass - api_key - api_token - access_key - secret_key - private_key - secret subscriptions: - entity:example-hostname - staging system: arch: amd64 hostname: example-hostname network: interfaces: - addresses: - 127.0.0.1/8 - ::1/128 name: lo - addresses: - 10.0.2.15/24 - fe80::26a5:54ec:cf0d:9704/64 mac: 08:00:27:11:ad:d2 name: enp0s3 - addresses: - 172.28.128.3/24 - fe80::a00:27ff:febc:be60/64 mac: 08:00:27:bc:be:60 name: enp0s8 os: linux platform: centos platform_family: rhel platform_version: 7.4.1708 user: agent {{< /highlight >}} {{< highlight json >}} { "type": "Entity", "api_version": "core/v2", "metadata": { "name": "example-hostname", "namespace": "default", "labels": { "disk_warning": "80", "disk_critical": "90" }, "annotations": null }, "spec": { "entity_class": "agent", "system": { "hostname": "example-hostname", "os": "linux", "platform": "centos", "platform_family": "rhel", "platform_version": "7.4.1708", "network": { "interfaces": [ { "name": "lo", "addresses": [ "127.0.0.1/8", "::1/128" ] }, { "name": "enp0s3", "mac": "08:00:27:11:ad:d2", "addresses": [ "10.0.2.15/24", "fe80::26a5:54ec:cf0d:9704/64" ] }, { "name": "enp0s8", "mac": "08:00:27:bc:be:60", "addresses": [ "172.28.128.3/24", "fe80::a00:27ff:febc:be60/64" ] } ] }, "arch": "amd64" }, "subscriptions": [ "entity:example-hostname", "staging" ], "last_seen": 1542667231, "deregister": false, "deregistration": {}, "user": "agent", "redact": [ "password", "passwd", "pass", "api_key", "api_token", "access_key", "secret_key", "private_key", "secret" ] } }{{< /highlight >}} {{< /language-toggle >}} [1]: https://golang.org/pkg/text/template/ [2]: ../../../latest/reference/checks/#check-token-substitution [3]: ../entities/#entities-specification [4]: ../entities/ [5]: ../checks/ [6]: ../entities#managing-entity-labels [7]: ../checks/#check-commands [8]: ../hooks
{ "content_hash": "03fd7905fc5e499c0e4f931824422c9d", "timestamp": "", "source": "github", "line_count": 330, "max_line_length": 509, "avg_line_length": 31.333333333333332, "alnum_prop": 0.6490328820116054, "repo_name": "sensu/sensu-docs", "id": "4c37c11eef7670d697c0dbdc710447b6c816d2cf", "size": "10345", "binary": false, "copies": "1", "ref": "refs/heads/main", "path": "archived/sensu-go/5.15/reference/tokens.md", "mode": "33188", "license": "mit", "language": [ { "name": "HTML", "bytes": "123020" }, { "name": "JavaScript", "bytes": "61971" }, { "name": "Procfile", "bytes": "14" }, { "name": "Python", "bytes": "3764" }, { "name": "Ruby", "bytes": "4422" }, { "name": "SCSS", "bytes": "32403" }, { "name": "Shell", "bytes": "30924" } ], "symlink_target": "" }
package implementations.test; import java.io.File; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.Future; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.DataLine; import javax.sound.sampled.LineUnavailableException; import javax.sound.sampled.SourceDataLine; import javax.sound.sampled.UnsupportedAudioFileException; import commom.JCL_resultImpl; import implementations.collections.JCLHashMap; import implementations.dm_kernel.MessageImpl; import implementations.dm_kernel.MessageListTaskImpl; import implementations.dm_kernel.MessageMetadataImpl; import implementations.dm_kernel.MessageResultImpl; import implementations.dm_kernel.MessageSensorImpl; import implementations.dm_kernel.CPuser.JCL_CPFacadeImpl; import implementations.dm_kernel.IoTuser.JCL_IoTFacadeImpl; import implementations.dm_kernel.user.JCL_FacadeImpl; import implementations.util.JavaToProto; import implementations.util.ObjectWrap; import interfaces.kernel.JCL_CPfacade; import interfaces.kernel.JCL_IoTfacade; import interfaces.kernel.JCL_Sensor; import interfaces.kernel.JCL_facade; import interfaces.kernel.JCL_message_result; import interfaces.kernel.JCL_message_sensor; import interfaces.kernel.JCL_result; import interfaces.kernel.datatype.Device; import interfaces.kernel.datatype.Sensor; import io.protostuff.LinkedBuffer; import io.protostuff.ProtobufIOUtil; import io.protostuff.ProtostuffIOUtil; import io.protostuff.Schema; import io.protostuff.runtime.RuntimeSchema; //import sun.audio.AudioData; //import sun.audio.AudioDataStream; //import sun.audio.AudioPlayer; public class MainTest { public MainTest() { // TODO Auto-generated constructor stub // test1(); // test2(); // teste2(); // teste3(); // teste4(); // teste5(); teste13(); // test0(); // testGV(); // testGV0(); // putAllConc(); } public static void main(String[] args) { // TODO Auto-generated method stub new MainTest(); } public void putAllConc(){ JCL_facade jcl = JCL_FacadeImpl.getInstance(); jcl.register(PutAllconc.class, "PutAllconc"); Object[][] arg =new Object[8][1]; for(int cont=0;cont<8;cont++){ Object[] val = {new Integer(cont*20)}; arg[cont] = val; } List<Future<JCL_result>> ticket = jcl.executeAllCores("PutAllconc","execconc", arg); jcl.getAllResultBlocking(ticket); Map<Integer,Integer> jclMap = JCL_FacadeImpl.GetHashMap("testeMap"); System.out.println("Tamanho: "+jclMap.size()); int v = 0; for(Entry<Integer,Integer> pair:jclMap.entrySet()){ System.out.println("Key: "+pair.getKey()+" value: "+pair.getValue()); v++; } System.out.println("Final tamanho:"+v); // System.out.println("Interator:"); // for(java.util.Map.Entry<pacuSend, pacuSend> v:teste0.entrySet()){ // System.out.println("key:"+v.getKey()+" value:"+v.getValue()); // } } public void testGV0(){ JCL_facade jcl = JCL_FacadeImpl.getInstance(); JCL_result o = jcl.getValue("gv_inexistente"); System.out.println("retorno"); System.out.println(o.getCorrectResult()); System.out.println(o.getCorrectResult()==null); System.out.println("Final!!!"); } public void testGV(){ JCL_facade jcl = JCL_FacadeImpl.getInstance(); pacuSend paK = new pacuSend(10,"Andre key"); pacuSend paV = new pacuSend(10,"Andre value"); pacuSend paK1 = new pacuSend(10,"Andre key 1"); pacuSend paV1 = new pacuSend(10,"Andre value 1"); pacuSend paK2 = new pacuSend(10,"Andre key 2"); pacuSend paV2 = new pacuSend(10,"Andre value 2"); pacuSend paK3 = new pacuSend(10,"Andre key 3"); pacuSend paV3 = new pacuSend(10,"Andre value 3"); pacuSend paK4 = new pacuSend(10,"Andre key 4"); pacuSend paV4 = new pacuSend(10,"Andre value 4"); jcl.instantiateGlobalVar(paK, paV); jcl.instantiateGlobalVar(paK1, paV1); jcl.instantiateGlobalVar(paK2, paV2); jcl.instantiateGlobalVar(paK3, paV3); jcl.instantiateGlobalVar(paK4, paV4); System.out.println(jcl.getValue(paK).getCorrectResult()); System.out.println(((pacuSend)jcl.getValue(paK).getCorrectResult()).name); System.out.println(((pacuSend)jcl.getValue(paK1).getCorrectResult()).name); System.out.println(((pacuSend)jcl.getValue(paK2).getCorrectResult()).name); System.out.println(((pacuSend)jcl.getValue(paK3).getCorrectResult()).name); System.out.println(((pacuSend)jcl.getValue(paK4).getCorrectResult()).name); // JCL_facade test = JCL_FacadeImpl.getInstance(); // List<java.util.Map.Entry<String, String>> singleDevice = test.getDevices(); // String GlobalVar1 = new String(); // String GlobalVar2 = new String(); // File [] UserJar = {new File("./UserType.jar")}; // Integer [] userParams = {1,2}; // // System.out.println(test.instantiateGlobalVarOnDevice(singleDevice.get(0), "UserType", GlobalVar1, UserJar, userParams)); // System.out.println(test.instantiateGlobalVarAsy("UserType", "UserType",UserJar, userParams)); // System.out.println(test.instantiateGlobalVarOnDevice(singleDevice.get(0), GlobalVar2, "GlobalVar2")); Map<pacuSend, pacuSend> teste0 = new JCLHashMap<pacuSend, pacuSend>("Teste0"); teste0.put(paK, paV); teste0.put(paK1, paV1); System.out.println(teste0.get(paK).name); System.out.println(teste0.get(paK1).name); System.out.println("Interator:"); for(java.util.Map.Entry<pacuSend, pacuSend> v:teste0.entrySet()){ System.out.println("key:"+v.getKey()+" value:"+v.getValue()); } Map<Integer, Integer> teste = new JCLHashMap<Integer, Integer>("Teste"); teste.put(0, 1); teste.put(1, 10); teste.put(2, 9); teste.put(3, 6); teste.put(4, 12); teste.put(4, 4); System.out.println(teste.get(0)); System.out.println(teste.get(1)); for(java.util.Map.Entry<Integer, Integer> v:teste.entrySet()){ System.out.println("key:"+v.getKey()+" value:"+v.getValue()); } Map<pacuSend, pacuSend> teste1 = new HashMap<pacuSend, pacuSend>(); teste1.put(paK, paV); teste1.put(paK1, paV1); teste1.put(paK2, paV2); teste1.put(paK3, paV3); teste1.put(paK4, paV4); Map<pacuSend, pacuSend> teste2 = new JCLHashMap<pacuSend, pacuSend>("Teste1"); teste2.putAll(teste1); System.out.println("tamanho:"+teste2.size()); for(java.util.Map.Entry<pacuSend, pacuSend> v:teste2.entrySet()){ System.out.println("key 2:"+v.getKey().name+" value 2:"+v.getValue().name); } System.out.println("Fim"); } public void test0(){ String var=""; for(int cont =0;cont<400;cont++){ var = var+"F"; } pacuSend pa = new pacuSend(10,var); ObjectWrap objW = new ObjectWrap(pa); LinkedBuffer buffer = LinkedBuffer.allocate(1048576); Schema<pacuSend> sc1 = RuntimeSchema.getSchema(pacuSend.class); Schema<ObjectWrap> sobj = RuntimeSchema.getSchema(ObjectWrap.class); byte[] Out1 = ProtobufIOUtil.toByteArray(pa,sc1, buffer); byte[] Cname = pa.getClass().getName().getBytes(); // ByteBuffer Send = ByteBuffer.allocate(5+Cname.length+Out1.length); // Send.put((byte)34); // Send.put((byte)(Cname.length+Out1.length+3)); // Send.put((byte)-6); // Send.put((byte)7); // Send.put((byte)Cname.length); // Send.put(Cname); // Send.put(Out1); // // //// int value = Cname.length+Out1.length+3; // // Out1 = Send.array(); System.out.println("Tamanho:"+Out1.length); System.out.println(Arrays.toString(Out1)); System.out.println("FIM PRINT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); for(int i = 0; i<Out1.length;i++){ System.out.println(getByteBinaryString2(Out1[i])); System.out.println((char)Out1[i]); } // System.out.println(getByteBinaryString2(Out1[1])); // System.out.println(value); // System.out.println(Integer.toBinaryString(value)); // System.out.println((byte)(value)); // System.out.println((byte)(value >>> 8)); // System.out.println((byte)(value >>> 16)); // System.out.println((byte)(value >>> 24)); buffer.clear(); byte[] Out3 = ProtobufIOUtil.toByteArray(objW,sobj, buffer); System.out.println(Arrays.toString(Out3)); System.out.println("FIM PRINT 333 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); JCL_result jclr = new JCL_resultImpl(); jclr.setCorrectResult(pa); MessageResultImpl RESULT = new MessageResultImpl(); RESULT.setType(14); RESULT.setResult(jclr); buffer.clear(); Schema<MessageResultImpl> sc2 = RuntimeSchema.getSchema(MessageResultImpl.class); byte[] Out2 = ProtobufIOUtil.toByteArray(RESULT,sc2, buffer); System.out.println(Arrays.toString(Out2)); System.out.println("FIM PRINT 2222 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); // for(int i = 0; i<Out2.length;i++){ // System.out.println(Out2[i]); // System.out.println((char)Out2[i]); // } System.out.println(getByteBinaryString2(Out2[34])); System.out.println(getByteBinaryString2(Out2[35])); } public String getByteBinaryString2(byte b) { StringBuilder sb = new StringBuilder(); for (int i = 7; i >= 0; --i) { sb.append(b >>> i & 1); } return sb.toString(); } public void test1(){ MessageMetadataImpl msg1 = new MessageMetadataImpl(); msg1.setType(-1); Map<String,String> metadados = new HashMap<String, String>(); metadados.put("IP", "sfsdfdsfds"); metadados.put("PORT", "515"); msg1.setMetadados(metadados); LinkedBuffer buffer = LinkedBuffer.allocate(1048576); Schema<MessageMetadataImpl> sc1 = RuntimeSchema.getSchema(MessageMetadataImpl.class); byte[] Out1 = ProtobufIOUtil.toByteArray(msg1,sc1, buffer); System.out.println(Arrays.toString(Out1)); for(int i = 0; i<Out1.length;i++){ System.out.println(Out1[i]); System.out.println((char)Out1[i]); } buffer.clear(); MessageSensorImpl msg = new MessageSensorImpl(); int type = 27; // byte[] bytes = ByteBuffer.allocate(4).putInt(type).array(); msg.setType(type); msg.setDevice("Andre Luis B Almeid"); // msg.setValue(new Integer(10)); Schema<MessageSensorImpl> sc = RuntimeSchema.getSchema(MessageSensorImpl.class); // System.out.println(sc.messageFullName()); // System.out.println(sc.getFieldName(4)); byte[] Out = ProtobufIOUtil.toByteArray(msg,sc, buffer); System.out.println(Out.toString()); for(int i = 0; i<Out.length;i++){ System.out.println("dados:"+i); System.out.println((char)Out[i]); // System.out.println(getByteBinaryString(Out[i])); } // System.out.println("type:"+Out[1]); System.out.println(Arrays.toString(Out)); // System.out.println(Arrays.toString(bytes)); byte[] OutI = new byte[2]; OutI[0]= 8; OutI[1]= (byte)40; // OutI[2]= 3; // System.out.println(Arrays.toString(OutI)); MessageSensorImpl msgR = new MessageSensorImpl(); ProtobufIOUtil.mergeFrom(OutI, msgR, sc); // System.out.println("type:"+msgR.getType()); // String content = Generators.newProtoGenerator().generate(); // System.out.println(content); } public void test2(){ JavaToProto jpt = new JavaToProto(MessageSensorImpl.class); String protoFile = jpt.toString(); System.out.println(protoFile); } public String getByteBinaryString(byte b) { StringBuilder sb = new StringBuilder(); for (int i = 7; i >= 0; --i) { sb.append(b >>> i & 1); } return sb.toString(); } public void teste2(){ //RegistryListener listener; JCLHashMap<Integer, MessageSensorImpl> values = new JCLHashMap<Integer, MessageSensorImpl>("E4:90:7E:3F:61:B2515112_value"); for (int i = 1;i<values.size();i++){ // System.out.println(Arrays.toString((float[])values.get(i).getValue())); // AudioData audiodata = new AudioData((byte[])values.get(i).getValue()); // AudioDataStream audioStream = new AudioDataStream(audiodata); // // Play the sound // AudioPlayer.player.start(audioStream); } } public void teste3(){ byte a = 10; byte b = -50; int c = 50; int d = 16; byte cB = (byte) c; byte dB = (byte) d; int ai = a; int ab = b; System.out.println("valor a:"+cB+" valor b:"+dB); byte byt = -16; System.out.println(byt); byte byt2 = (byte)~byt; System.out.println(byt2); System.out.println(~byt2); System.out.println(Integer.toBinaryString(byt)); Short mac = null; if (mac == null) System.out.println("nulo 1"); mac = 2; if (mac==null) System.out.println("nulo 2"); mac = null; if (mac==null) System.out.println("nulo 3"); ByteBuffer msgRet = ByteBuffer.allocateDirect(2048); byte[] bbb= new byte[10]; bbb[0] = -1; bbb[1] = -2; bbb[2] = -3; bbb[3] = -4; bbb[4] = -5; bbb[5] = -6; bbb[6] = -7; bbb[7] = -8; bbb[8] = -9; bbb[9] = -10; msgRet.put(bbb); System.out.println(msgRet.position()); System.out.println(msgRet.limit()); msgRet.flip(); System.out.println(msgRet.position()); System.out.println(msgRet.limit()); System.out.println(msgRet.get(9)); msgRet.get(); System.out.println(msgRet.position()); System.out.println(msgRet.limit()); byte[] obj = new byte[(msgRet.limit()-msgRet.position())-1]; msgRet.get(obj); System.out.println(Arrays.toString(obj)); int m = 3; System.out.println((m == 0.0) ? 0 : m-1); byte firstNumber = 3; byte secondNumber = 20; final byte bothNumbers = (byte) ((firstNumber << 6) | secondNumber); // Retreive the original numbers byte firstNumber2 = (byte) ((bothNumbers >> 6) & (byte) 0x03); byte secondNumber2 = (byte) (bothNumbers & 0x3F); System.out.println(firstNumber2); System.out.println(secondNumber2); // byte lower = (byte) (firstNumber & 0x3F); // byte higher = (byte) (secondNumber >> 6) 0x03; // byte fina = (byte) (lower + (higher << 4)); } // public void teste4(){ // // // //Criar instancia do jclIoT // JCL_IoTfacade jclIoT = JCL_IoTFacadeImpl.getInstance(); // // //Chamar metodo Pacu // System.out.println(jclIoT.Pacu.getHosts()); // // //Listar todos os devices (Pcs) // List<Device> devidesL = jclIoT.getIoTDevices(); // // // for(Entry<String, String> d:devidesL){ // System.out.println("Key: "+d.getKey()+" Valor: "+d.getValue()); // } // // //Lista todos os sensing Devices // List<Entry<String, String>> devides = jclIoT.getSensingDevices(); // // // for (Entry<String, String> d:devides){ // System.out.println("Key: "+d.getKey()+" Valor: "+d.getValue()); // // //// System.out.println("restart:"+jclIoT.restart(d)); //// //// //// try { //// Thread.sleep(10000); //// } catch (InterruptedException e1) { //// // TODO Auto-generated catch block //// e1.printStackTrace(); //// } //// // // // // //Lista todos os sensores de um device // List<Entry<String, String>> se = jclIoT.getSensors(d); // System.out.println(se); // // for (Entry<String, String> s:se){ // // //Mostra o ultimo dado do divice d do sensor s // // if (!d.getValue().equals("SONY D5106")){ // jclIoT.getlastsensingdata(d, s).getValue().showData(); // // } // // System.out.println("Last"+jclIoT.getlastsensingdata(d, s).getValue()); // // //Mostra os 10 ultimo dado do divice d do sensor s // Map<Integer,JCL_Sensor> valores = jclIoT.getsensingdata(d,s); // for(JCL_Sensor ss:valores.values()){ // ss.showData(); // // System.out.println(ss); // } // // System.out.println("Get Sensor Now:"+jclIoT.getsensingdatanow(d, s, null)); // } // // try { // // System.out.println("standBy:"+jclIoT.standBy(d)); // Thread.sleep(5000); // System.out.println("turnOn:"+jclIoT.turnOn(d)); // Thread.sleep(5000); // System.out.println("restart:"+jclIoT.restart(d)); // Thread.sleep(10000); // // Map<String,String> meta = jclIoT.getMetadata(d); // System.out.println(meta); // meta.put("ENABLE_SENSOR","4;8"); // meta.put("SENSOR_ALIAS_4","Type_ligth"); // meta.put("SENSOR_SIZE_4","5"); // meta.put("SENSOR_SAMPLING_4","3"); // meta.put("SENSOR_ALIAS_8","Type_pro"); // meta.put("SENSOR_SIZE_8","5"); // meta.put("SENSOR_SAMPLING_8","3"); // System.out.println("Novo:"+meta); // System.out.println("Enable Meta:"+jclIoT.setMetadata(d, meta)); // Thread.sleep(10000); // System.out.println("Set Sensor1:"+jclIoT.setSensor(d,"Teste",0, 5, 2)); // System.out.println("Set Sensor2:"+jclIoT.setSensor(d,"Teste",4, 5, 10)); // System.out.println("Set Sensor3:"+jclIoT.setSensor(d,"Teste",8, 5, 15)); // System.out.println("Set Sensor4:"+jclIoT.setSensor(d,"Teste",14, 5, 15)); // // } catch (InterruptedException e) { // // TODO Auto-generated catch block // e.printStackTrace(); // } // } // // jclIoT.Pacu.destroy(); // } public void teste5(){ Long ini = System.nanoTime(); System.nanoTime(); System.out.println(System.nanoTime() - ini); } public void teste10(){ JCL_CPfacade jcl = JCL_CPFacadeImpl.getInstance(); System.out.println(jcl.getServerTime()); System.out.println(jcl.getServerMemory()); System.out.println(jcl.getServerCpuUsage()); List<Device> ds = jcl.PacuHPC.getDevices(); for(Device d:ds){ System.out.println(jcl.getDeviceTime(d)); System.out.println(jcl.getDeviceMemory(d)); System.out.println(jcl.getDeviceCpuUsage(d)); } jcl.PacuHPC.destroy(); } public void teste6(){ Long ini = System.nanoTime(); JCL_IoTfacade jclIoT = JCL_IoTFacadeImpl.getInstance(); List<Device> de = jclIoT.getIoTDevices(); Device ddd = de.get(0); System.out.println(ddd); List<Sensor> dd = jclIoT.getSensors(ddd); for(Sensor s:dd){ System.out.println(s); Map<Integer, JCL_Sensor> ds = jclIoT.getAllSensingData(ddd, s); for(Entry<Integer, JCL_Sensor> son:ds.entrySet()){ System.out.println("Mais Um"); son.getValue().showData(); } } } public void teste11(){ Long ini = System.nanoTime(); JCL_facade jcl = JCL_FacadeImpl.getInstance(); int var = 10; jcl.instantiateGlobalVar("Teste1",var); System.out.println(jcl.getValue("Teste1").getCorrectResult()); jcl.setValueUnlocking("Teste1",(((int)jcl.getValue("Teste1").getCorrectResult())+1)); System.out.println(jcl.getValue("Teste1").getCorrectResult()); jcl.destroy(); } public void teste12(){ File file = new File("target-file_JCL.wav"); if(file.exists()) { try { AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(file); AudioFormat audioFormat = audioInputStream.getFormat(); DataLine.Info info = new DataLine.Info(SourceDataLine.class, audioFormat); for (AudioFormat lineFormat : info.getFormats())System.out.println(lineFormat); SourceDataLine sourceLine = (SourceDataLine) AudioSystem.getLine(info); sourceLine.open(audioFormat); sourceLine.start(); int nBytesRead = 0; byte[] abData = new byte[128000]; while (nBytesRead != -1) { try { nBytesRead = audioInputStream.read(abData, 0, abData.length); } catch (IOException e) { e.printStackTrace(); } if (nBytesRead >= 0) { sourceLine.write(abData, 0, nBytesRead); } } sourceLine.drain(); sourceLine.close(); } catch (UnsupportedAudioFileException | IOException e) { e.printStackTrace(); } catch (LineUnavailableException e) { e.printStackTrace(); } } else { System.err.println("The selected file doesn't exist!"); } } void teste13(){ JCL_facade jcl = JCL_FacadeImpl.getInstance(); int var = 10; int var2 = 20; // jcl.instantiateGlobalVar("Teste11",var); // jcl.instantiateGlobalVar("Teste22",var2); // // System.out.println(jcl.getValue("Teste11").getCorrectResult()); // System.out.println(jcl.getValue("Teste22").getCorrectResult()); List<Entry<String, String>> h = jcl.getDevices(); System.out.println(h); // jcl.instantiateGlobalVarOnDevice(h.get(0),"Teste1",var); // jcl.instantiateGlobalVarOnDevice(h.get(1),"Teste2",var2); System.out.println(jcl.getValue("Teste1").getCorrectResult()); System.out.println(jcl.getValue("Teste2").getCorrectResult()); // jcl.setValueUnlocking("Teste1",(((int)jcl.getValue("Teste1").getCorrectResult())+1)); // System.out.println(jcl.getValue("Teste1").getCorrectResult()); jcl.destroy(); } }
{ "content_hash": "6a25fb469343eb967fd478a637b7a17f", "timestamp": "", "source": "github", "line_count": 681, "max_line_length": 126, "avg_line_length": 30.208516886930983, "alnum_prop": 0.6566206494264049, "repo_name": "AndreJCL/JCL", "id": "59ecd4107312e9aeb1052889363c562c0b59f4c6", "size": "20572", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/test/java/implementations/test/MainTest.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Assembly", "bytes": "29718" }, { "name": "Batchfile", "bytes": "352" }, { "name": "C", "bytes": "233412" }, { "name": "C++", "bytes": "407461" }, { "name": "CSS", "bytes": "26526" }, { "name": "HTML", "bytes": "2300" }, { "name": "Java", "bytes": "9174474" }, { "name": "JavaScript", "bytes": "3422" }, { "name": "Makefile", "bytes": "514" }, { "name": "Objective-C", "bytes": "4515" }, { "name": "Perl", "bytes": "3605" }, { "name": "Python", "bytes": "8346" }, { "name": "Shell", "bytes": "1097" } ], "symlink_target": "" }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.1.2; Cink Peax Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="../circle.css" rel="stylesheet"> </head> <body> <div class="container"> <div class="section"> <h1 class="header center orange-text">User agent detail</h1> <div class="row center"> <h5 class="header light"> Mozilla/5.0 (Linux; Android 4.1.2; Cink Peax Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36 </h5> </div> </div> <div class="section"> <table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Test suite</th></tr><tr><td>UAParser<br /><small>v0.5.0.2</small><br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">Wiko</td><td>Cink Peax</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59">Detail</a> <!-- Modal Structure --> <div id="modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">Array ( [user_agent_string] => Mozilla/5.0 (Linux; Android 4.1.2; Cink Peax Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36 [family] => Wiko Cink Peax [brand] => Wiko [model] => Cink Peax ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>Chrome 27.0</td><td>WebKit </td><td>Android 4.1</td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.018</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-47a9cd06-e213-4882-bc34-db6aed664223">Detail</a> <!-- Modal Structure --> <div id="modal-47a9cd06-e213-4882-bc34-db6aed664223" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapFull result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.4\.1.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/27\..*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android?4.1*) applewebkit/* (khtml* like gecko) chrome/27.*safari/* [parent] => Chrome 27.0 for Android [comment] => Chrome 27.0 [browser] => Chrome [browser_type] => Browser [browser_bits] => 32 [browser_maker] => Google Inc [browser_modus] => unknown [version] => 27.0 [majorver] => 27 [minorver] => 0 [platform] => Android [platform_version] => 4.1 [platform_description] => Android OS [platform_bits] => 32 [platform_maker] => Google Inc [alpha] => [beta] => [win16] => [win32] => [win64] => [frames] => 1 [iframes] => 1 [tables] => 1 [cookies] => 1 [backgroundsounds] => [javascript] => 1 [vbscript] => [javaapplets] => [activexcontrols] => [ismobiledevice] => 1 [istablet] => [issyndicationreader] => [crawler] => [isfake] => [isanonymized] => [ismodified] => [cssversion] => 3 [aolversion] => 0 [device_name] => general Mobile Phone [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => touchscreen [device_code_name] => general Mobile Phone [device_brand_name] => unknown [renderingengine_name] => WebKit [renderingengine_version] => unknown [renderingengine_description] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3. [renderingengine_maker] => Apple Inc ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td><td>Chrome </td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.008</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-42bb56ba-b834-47c5-bea0-c0270e9ab371">Detail</a> <!-- Modal Structure --> <div id="modal-42bb56ba-b834-47c5-bea0-c0270e9ab371" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapLite result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/.*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/*safari/* [parent] => Chrome Generic for Android [comment] => Chrome Generic [browser] => Chrome [browser_type] => unknown [browser_bits] => 0 [browser_maker] => unknown [browser_modus] => unknown [version] => 0.0 [majorver] => 0 [minorver] => 0 [platform] => Android [platform_version] => unknown [platform_description] => unknown [platform_bits] => 0 [platform_maker] => unknown [alpha] => false [beta] => false [win16] => false [win32] => false [win64] => false [frames] => false [iframes] => false [tables] => false [cookies] => false [backgroundsounds] => false [javascript] => false [vbscript] => false [javaapplets] => false [activexcontrols] => false [ismobiledevice] => 1 [istablet] => [issyndicationreader] => false [crawler] => false [isfake] => false [isanonymized] => false [ismodified] => false [cssversion] => 0 [aolversion] => 0 [device_name] => unknown [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => unknown [device_code_name] => unknown [device_brand_name] => unknown [renderingengine_name] => unknown [renderingengine_version] => unknown [renderingengine_description] => unknown [renderingengine_maker] => unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td><td>Chrome 27.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.026</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68">Detail</a> <!-- Modal Structure --> <div id="modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>BrowscapPhp result detail</h4> <p><pre><code class="php">stdClass Object ( [browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/27\..*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/27.*safari/* [parent] => Chrome 27.0 for Android [comment] => Chrome 27.0 [browser] => Chrome [browser_type] => unknown [browser_bits] => 0 [browser_maker] => Google Inc [browser_modus] => unknown [version] => 27.0 [majorver] => 27 [minorver] => 0 [platform] => Android [platform_version] => unknown [platform_description] => unknown [platform_bits] => 0 [platform_maker] => unknown [alpha] => false [beta] => false [win16] => false [win32] => false [win64] => false [frames] => false [iframes] => false [tables] => false [cookies] => false [backgroundsounds] => false [javascript] => false [vbscript] => false [javaapplets] => false [activexcontrols] => false [ismobiledevice] => 1 [istablet] => [issyndicationreader] => false [crawler] => [isfake] => false [isanonymized] => false [ismodified] => false [cssversion] => 0 [aolversion] => 0 [device_name] => unknown [device_maker] => unknown [device_type] => Mobile Phone [device_pointing_method] => touchscreen [device_code_name] => unknown [device_brand_name] => unknown [renderingengine_name] => unknown [renderingengine_version] => unknown [renderingengine_description] => unknown [renderingengine_maker] => unknown ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>Chrome 27.0.1453.90</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050">Detail</a> <!-- Modal Structure --> <div id="modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>DonatjUAParser result detail</h4> <p><pre><code class="php">Array ( [platform] => Android [browser] => Chrome [version] => 27.0.1453.90 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>JenssegersAgent<br /><small>v2.3.3</small><br /></td><td>Chrome 27.0.1453.90</td><td><i class="material-icons">close</i></td><td>AndroidOS 4.1.2</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51">Detail</a> <!-- Modal Structure --> <div id="modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>JenssegersAgent result detail</h4> <p><pre><code class="php">Array ( [browserName] => Chrome [browserVersion] => 27.0.1453.90 [osName] => AndroidOS [osVersion] => 4.1.2 [deviceModel] => Wiko [isMobile] => 1 [isRobot] => [botName] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>NeutrinoApiCom<br /><small></small><br /></td><td>Chrome Mobile 27.0.1453.90</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555">Wiko</td><td>Cink Peax</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.28902</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b">Detail</a> <!-- Modal Structure --> <div id="modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>NeutrinoApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [mobile_screen_height] => 480 [is_mobile] => 1 [type] => mobile-browser [mobile_brand] => Wiko [mobile_model] => Cink Peax [version] => 27.0.1453.90 [is_android] => 1 [browser_name] => Chrome Mobile [operating_system_family] => Android [operating_system_version] => 4.1.2 [is_ios] => [producer] => Google Inc. [operating_system] => Android 4.1.x Jelly Bean [mobile_screen_width] => 320 [mobile_browser] => Android Webkit ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td>Chrome Mobile 27.0</td><td>WebKit </td><td>Android 4.1</td><td style="border-left: 1px solid #555">Wiko</td><td>Cink Peax</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.004</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-4a941d34-a8d3-4914-9724-346f60ad7046">Detail</a> <!-- Modal Structure --> <div id="modal-4a941d34-a8d3-4914-9724-346f60ad7046" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>PiwikDeviceDetector result detail</h4> <p><pre><code class="php">Array ( [client] => Array ( [type] => browser [name] => Chrome Mobile [short_name] => CM [version] => 27.0 [engine] => WebKit ) [operatingSystem] => Array ( [name] => Android [short_name] => AND [version] => 4.1 [platform] => ) [device] => Array ( [brand] => WI [brandName] => Wiko [model] => Cink Peax [device] => 1 [deviceName] => smartphone ) [bot] => [extra] => Array ( [isBot] => [isBrowser] => 1 [isFeedReader] => [isMobileApp] => [isPIM] => [isLibrary] => [isMediaPlayer] => [isCamera] => [isCarBrowser] => [isConsole] => [isFeaturePhone] => [isPhablet] => [isPortableMediaPlayer] => [isSmartDisplay] => [isSmartphone] => 1 [isTablet] => [isTV] => [isDesktop] => [isMobile] => 1 [isTouchEnabled] => ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>SinergiBrowserDetector<br /><small>6.0.1</small><br /></td><td>Chrome 27.0.1453.90</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-ec1cd248-02b0-457e-8a9d-35bb99af008c">Detail</a> <!-- Modal Structure --> <div id="modal-ec1cd248-02b0-457e-8a9d-35bb99af008c" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>SinergiBrowserDetector result detail</h4> <p><pre><code class="php">Array ( [browser] => Sinergi\BrowserDetector\Browser Object ( [userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.1.2; Cink Peax Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36 ) [name:Sinergi\BrowserDetector\Browser:private] => Chrome [version:Sinergi\BrowserDetector\Browser:private] => 27.0.1453.90 [isRobot:Sinergi\BrowserDetector\Browser:private] => [isChromeFrame:Sinergi\BrowserDetector\Browser:private] => [isFacebookWebView:Sinergi\BrowserDetector\Browser:private] => [isCompatibilityMode:Sinergi\BrowserDetector\Browser:private] => ) [operatingSystem] => Sinergi\BrowserDetector\Os Object ( [name:Sinergi\BrowserDetector\Os:private] => Android [version:Sinergi\BrowserDetector\Os:private] => 4.1.2 [isMobile:Sinergi\BrowserDetector\Os:private] => 1 [userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.1.2; Cink Peax Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36 ) ) [device] => Sinergi\BrowserDetector\Device Object ( [name:Sinergi\BrowserDetector\Device:private] => unknown [userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.1.2; Cink Peax Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36 ) ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UAParser<br /><small>v3.4.5</small><br /></td><td>Chrome Mobile 27.0.1453</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555">Wiko</td><td>Cink Peax</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-3160e405-8a8f-46dd-8f47-5115f06462d2">Detail</a> <!-- Modal Structure --> <div id="modal-3160e405-8a8f-46dd-8f47-5115f06462d2" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UAParser result detail</h4> <p><pre><code class="php">UAParser\Result\Client Object ( [ua] => UAParser\Result\UserAgent Object ( [major] => 27 [minor] => 0 [patch] => 1453 [family] => Chrome Mobile ) [os] => UAParser\Result\OperatingSystem Object ( [major] => 4 [minor] => 1 [patch] => 2 [patchMinor] => [family] => Android ) [device] => UAParser\Result\Device Object ( [brand] => Wiko [model] => Cink Peax [family] => Wiko Cink Peax ) [originalUserAgent] => Mozilla/5.0 (Linux; Android 4.1.2; Cink Peax Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentApiCom<br /><small></small><br /></td><td>Chrome 27.0.1453.90</td><td>WebKit 537.36</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.15201</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6">Detail</a> <!-- Modal Structure --> <div id="modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UserAgentApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [platform_name] => Android [platform_version] => 4.1.2 [platform_type] => Mobile [browser_name] => Chrome [browser_version] => 27.0.1453.90 [engine_name] => WebKit [engine_version] => 537.36 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>UserAgentStringCom<br /><small></small><br /></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.067</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee">Detail</a> <!-- Modal Structure --> <div id="modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>UserAgentStringCom result detail</h4> <p><pre><code class="php">stdClass Object ( [agent_type] => Browser [agent_name] => Android Webkit Browser [agent_version] => -- [os_type] => Android [os_name] => Android [os_versionName] => [os_versionNumber] => 4.1.2 [os_producer] => [os_producerURL] => [linux_distibution] => Null [agent_language] => [agent_languageTag] => ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small><br /></td><td>Chrome 27.0.1453.90</td><td>WebKit 537.36</td><td>Android 4.1.2</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.23601</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c">Detail</a> <!-- Modal Structure --> <div id="modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhatIsMyBrowserCom result detail</h4> <p><pre><code class="php">stdClass Object ( [operating_system_name] => Android [simple_sub_description_string] => [simple_browser_string] => Chrome 27 on Android (Jelly Bean) [browser_version] => 27 [extra_info] => Array ( ) [operating_platform] => [extra_info_table] => stdClass Object ( [System Build] => JZO54K ) [layout_engine_name] => WebKit [detected_addons] => Array ( ) [operating_system_flavour_code] => [hardware_architecture] => [operating_system_flavour] => [operating_system_frameworks] => Array ( ) [browser_name_code] => chrome [operating_system_version] => Jelly Bean [simple_operating_platform_string] => [is_abusive] => [layout_engine_version] => 537.36 [browser_capabilities] => Array ( ) [operating_platform_vendor_name] => [operating_system] => Android (Jelly Bean) [operating_system_version_full] => 4.1.2 [operating_platform_code] => [browser_name] => Chrome [operating_system_name_code] => android [user_agent] => Mozilla/5.0 (Linux; Android 4.1.2; Cink Peax Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36 [browser_version_full] => 27.0.1453.90 [browser] => Chrome 27 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>WhichBrowser<br /><small>v2.0.18</small><br /></td><td>Chrome 27</td><td>Blink </td><td>Android 4.1.2</td><td style="border-left: 1px solid #555">Wiko</td><td>Cink Peax</td><td>mobile:smart</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-083a336f-5d73-4505-84f3-c5fc9bb78652">Detail</a> <!-- Modal Structure --> <div id="modal-083a336f-5d73-4505-84f3-c5fc9bb78652" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhichBrowser result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [name] => Chrome [version] => 27 [type] => browser ) [engine] => Array ( [name] => Blink ) [os] => Array ( [name] => Android [version] => 4.1.2 ) [device] => Array ( [type] => mobile [subtype] => smart [manufacturer] => Wiko [model] => Cink Peax ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Woothee<br /><small>v1.2.0</small><br /></td><td>Chrome 27.0.1453.90</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9">Detail</a> <!-- Modal Structure --> <div id="modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Woothee result detail</h4> <p><pre><code class="php">Array ( [name] => Chrome [vendor] => Google [version] => 27.0.1453.90 [category] => smartphone [os] => Android [os_version] => 4.1.2 ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Wurfl<br /><small>1.7.1.0</small><br /></td><td>Chrome 27.0.1453.90</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555"></td><td></td><td>Smartphone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.017</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50">Detail</a> <!-- Modal Structure --> <div id="modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Wurfl result detail</h4> <p><pre><code class="php">Array ( [virtual] => Array ( [is_android] => true [is_ios] => false [is_windows_phone] => false [is_app] => false [is_full_desktop] => false [is_largescreen] => false [is_mobile] => true [is_robot] => false [is_smartphone] => true [is_touchscreen] => true [is_wml_preferred] => false [is_xhtmlmp_preferred] => false [is_html_preferred] => true [advertised_device_os] => Android [advertised_device_os_version] => 4.1.2 [advertised_browser] => Chrome [advertised_browser_version] => 27.0.1453.90 [complete_device_name] => Generic Android 4.1 [device_name] => Generic Android 4.1 [form_factor] => Smartphone [is_phone] => true [is_app_webview] => false ) [all] => Array ( [brand_name] => Generic [model_name] => Android 4.1 [unique] => true [ununiqueness_handler] => [is_wireless_device] => true [device_claims_web_support] => true [has_qwerty_keyboard] => true [can_skip_aligned_link_row] => true [uaprof] => [uaprof2] => [uaprof3] => [nokia_series] => 0 [nokia_edition] => 0 [device_os] => Android [mobile_browser] => Android Webkit [mobile_browser_version] => [device_os_version] => 4.1 [pointing_method] => touchscreen [release_date] => 2012_july [marketing_name] => [model_extra_info] => [nokia_feature_pack] => 0 [can_assign_phone_number] => true [is_tablet] => false [manufacturer_name] => [is_bot] => false [is_google_glass] => false [proportional_font] => false [built_in_back_button_support] => false [card_title_support] => true [softkey_support] => false [table_support] => true [numbered_menus] => false [menu_with_select_element_recommended] => false [menu_with_list_of_links_recommended] => true [icons_on_menu_items_support] => false [break_list_of_links_with_br_element_recommended] => true [access_key_support] => false [wrap_mode_support] => false [times_square_mode_support] => false [deck_prefetch_support] => false [elective_forms_recommended] => true [wizards_recommended] => false [image_as_link_support] => false [insert_br_element_after_widget_recommended] => false [wml_can_display_images_and_text_on_same_line] => false [wml_displays_image_in_center] => false [opwv_wml_extensions_support] => false [wml_make_phone_call_string] => wtai://wp/mc; [chtml_display_accesskey] => false [emoji] => false [chtml_can_display_images_and_text_on_same_line] => false [chtml_displays_image_in_center] => false [imode_region] => none [chtml_make_phone_call_string] => tel: [chtml_table_support] => false [xhtml_honors_bgcolor] => true [xhtml_supports_forms_in_table] => true [xhtml_support_wml2_namespace] => false [xhtml_autoexpand_select] => false [xhtml_select_as_dropdown] => false [xhtml_select_as_radiobutton] => false [xhtml_select_as_popup] => false [xhtml_display_accesskey] => false [xhtml_supports_invisible_text] => false [xhtml_supports_inline_input] => false [xhtml_supports_monospace_font] => false [xhtml_supports_table_for_layout] => true [xhtml_supports_css_cell_table_coloring] => true [xhtml_format_as_css_property] => false [xhtml_format_as_attribute] => false [xhtml_nowrap_mode] => false [xhtml_marquee_as_css_property] => false [xhtml_readable_background_color1] => #FFFFFF [xhtml_readable_background_color2] => #FFFFFF [xhtml_allows_disabled_form_elements] => true [xhtml_document_title_support] => true [xhtml_preferred_charset] => iso-8859-1 [opwv_xhtml_extensions_support] => false [xhtml_make_phone_call_string] => tel: [xhtmlmp_preferred_mime_type] => text/html [xhtml_table_support] => true [xhtml_send_sms_string] => sms: [xhtml_send_mms_string] => mms: [xhtml_file_upload] => supported [cookie_support] => true [accept_third_party_cookie] => true [xhtml_supports_iframe] => full [xhtml_avoid_accesskeys] => true [xhtml_can_embed_video] => none [ajax_support_javascript] => true [ajax_manipulate_css] => true [ajax_support_getelementbyid] => true [ajax_support_inner_html] => true [ajax_xhr_type] => standard [ajax_manipulate_dom] => true [ajax_support_events] => true [ajax_support_event_listener] => true [ajax_preferred_geoloc_api] => w3c_api [xhtml_support_level] => 4 [preferred_markup] => html_web_4_0 [wml_1_1] => false [wml_1_2] => false [wml_1_3] => false [html_wi_w3_xhtmlbasic] => true [html_wi_oma_xhtmlmp_1_0] => true [html_wi_imode_html_1] => false [html_wi_imode_html_2] => false [html_wi_imode_html_3] => false [html_wi_imode_html_4] => false [html_wi_imode_html_5] => false [html_wi_imode_htmlx_1] => false [html_wi_imode_htmlx_1_1] => false [html_wi_imode_compact_generic] => false [html_web_3_2] => true [html_web_4_0] => true [voicexml] => false [multipart_support] => false [total_cache_disable_support] => false [time_to_live_support] => false [resolution_width] => 320 [resolution_height] => 480 [columns] => 60 [max_image_width] => 320 [max_image_height] => 480 [rows] => 40 [physical_screen_width] => 34 [physical_screen_height] => 50 [dual_orientation] => true [density_class] => 1.0 [wbmp] => true [bmp] => false [epoc_bmp] => false [gif_animated] => false [jpg] => true [png] => true [tiff] => false [transparent_png_alpha] => true [transparent_png_index] => true [svgt_1_1] => true [svgt_1_1_plus] => false [greyscale] => false [gif] => true [colors] => 65536 [webp_lossy_support] => true [webp_lossless_support] => true [post_method_support] => true [basic_authentication_support] => true [empty_option_value_support] => true [emptyok] => false [nokia_voice_call] => false [wta_voice_call] => false [wta_phonebook] => false [wta_misc] => false [wta_pdc] => false [https_support] => true [phone_id_provided] => false [max_data_rate] => 3600 [wifi] => true [sdio] => false [vpn] => false [has_cellular_radio] => true [max_deck_size] => 2000000 [max_url_length_in_requests] => 256 [max_url_length_homepage] => 0 [max_url_length_bookmark] => 0 [max_url_length_cached_page] => 0 [max_no_of_connection_settings] => 0 [max_no_of_bookmarks] => 0 [max_length_of_username] => 0 [max_length_of_password] => 0 [max_object_size] => 0 [downloadfun_support] => false [directdownload_support] => true [inline_support] => false [oma_support] => true [ringtone] => false [ringtone_3gpp] => false [ringtone_midi_monophonic] => false [ringtone_midi_polyphonic] => false [ringtone_imelody] => false [ringtone_digiplug] => false [ringtone_compactmidi] => false [ringtone_mmf] => false [ringtone_rmf] => false [ringtone_xmf] => false [ringtone_amr] => false [ringtone_awb] => false [ringtone_aac] => false [ringtone_wav] => false [ringtone_mp3] => false [ringtone_spmidi] => false [ringtone_qcelp] => false [ringtone_voices] => 1 [ringtone_df_size_limit] => 0 [ringtone_directdownload_size_limit] => 0 [ringtone_inline_size_limit] => 0 [ringtone_oma_size_limit] => 0 [wallpaper] => false [wallpaper_max_width] => 0 [wallpaper_max_height] => 0 [wallpaper_preferred_width] => 0 [wallpaper_preferred_height] => 0 [wallpaper_resize] => none [wallpaper_wbmp] => false [wallpaper_bmp] => false [wallpaper_gif] => false [wallpaper_jpg] => false [wallpaper_png] => false [wallpaper_tiff] => false [wallpaper_greyscale] => false [wallpaper_colors] => 2 [wallpaper_df_size_limit] => 0 [wallpaper_directdownload_size_limit] => 0 [wallpaper_inline_size_limit] => 0 [wallpaper_oma_size_limit] => 0 [screensaver] => false [screensaver_max_width] => 0 [screensaver_max_height] => 0 [screensaver_preferred_width] => 0 [screensaver_preferred_height] => 0 [screensaver_resize] => none [screensaver_wbmp] => false [screensaver_bmp] => false [screensaver_gif] => false [screensaver_jpg] => false [screensaver_png] => false [screensaver_greyscale] => false [screensaver_colors] => 2 [screensaver_df_size_limit] => 0 [screensaver_directdownload_size_limit] => 0 [screensaver_inline_size_limit] => 0 [screensaver_oma_size_limit] => 0 [picture] => false [picture_max_width] => 0 [picture_max_height] => 0 [picture_preferred_width] => 0 [picture_preferred_height] => 0 [picture_resize] => none [picture_wbmp] => false [picture_bmp] => false [picture_gif] => false [picture_jpg] => false [picture_png] => false [picture_greyscale] => false [picture_colors] => 2 [picture_df_size_limit] => 0 [picture_directdownload_size_limit] => 0 [picture_inline_size_limit] => 0 [picture_oma_size_limit] => 0 [video] => false [oma_v_1_0_forwardlock] => false [oma_v_1_0_combined_delivery] => false [oma_v_1_0_separate_delivery] => false [streaming_video] => true [streaming_3gpp] => true [streaming_mp4] => true [streaming_mov] => false [streaming_video_size_limit] => 0 [streaming_real_media] => none [streaming_flv] => false [streaming_3g2] => false [streaming_vcodec_h263_0] => 10 [streaming_vcodec_h263_3] => -1 [streaming_vcodec_mpeg4_sp] => 2 [streaming_vcodec_mpeg4_asp] => -1 [streaming_vcodec_h264_bp] => 3.0 [streaming_acodec_amr] => nb [streaming_acodec_aac] => lc [streaming_wmv] => none [streaming_preferred_protocol] => rtsp [streaming_preferred_http_protocol] => apple_live_streaming [wap_push_support] => false [connectionless_service_indication] => false [connectionless_service_load] => false [connectionless_cache_operation] => false [connectionoriented_unconfirmed_service_indication] => false [connectionoriented_unconfirmed_service_load] => false [connectionoriented_unconfirmed_cache_operation] => false [connectionoriented_confirmed_service_indication] => false [connectionoriented_confirmed_service_load] => false [connectionoriented_confirmed_cache_operation] => false [utf8_support] => true [ascii_support] => false [iso8859_support] => false [expiration_date] => false [j2me_cldc_1_0] => false [j2me_cldc_1_1] => false [j2me_midp_1_0] => false [j2me_midp_2_0] => false [doja_1_0] => false [doja_1_5] => false [doja_2_0] => false [doja_2_1] => false [doja_2_2] => false [doja_3_0] => false [doja_3_5] => false [doja_4_0] => false [j2me_jtwi] => false [j2me_mmapi_1_0] => false [j2me_mmapi_1_1] => false [j2me_wmapi_1_0] => false [j2me_wmapi_1_1] => false [j2me_wmapi_2_0] => false [j2me_btapi] => false [j2me_3dapi] => false [j2me_locapi] => false [j2me_nokia_ui] => false [j2me_motorola_lwt] => false [j2me_siemens_color_game] => false [j2me_siemens_extension] => false [j2me_heap_size] => 0 [j2me_max_jar_size] => 0 [j2me_storage_size] => 0 [j2me_max_record_store_size] => 0 [j2me_screen_width] => 0 [j2me_screen_height] => 0 [j2me_canvas_width] => 0 [j2me_canvas_height] => 0 [j2me_bits_per_pixel] => 0 [j2me_audio_capture_enabled] => false [j2me_video_capture_enabled] => false [j2me_photo_capture_enabled] => false [j2me_capture_image_formats] => none [j2me_http] => false [j2me_https] => false [j2me_socket] => false [j2me_udp] => false [j2me_serial] => false [j2me_gif] => false [j2me_gif89a] => false [j2me_jpg] => false [j2me_png] => false [j2me_bmp] => false [j2me_bmp3] => false [j2me_wbmp] => false [j2me_midi] => false [j2me_wav] => false [j2me_amr] => false [j2me_mp3] => false [j2me_mp4] => false [j2me_imelody] => false [j2me_rmf] => false [j2me_au] => false [j2me_aac] => false [j2me_realaudio] => false [j2me_xmf] => false [j2me_wma] => false [j2me_3gpp] => false [j2me_h263] => false [j2me_svgt] => false [j2me_mpeg4] => false [j2me_realvideo] => false [j2me_real8] => false [j2me_realmedia] => false [j2me_left_softkey_code] => 0 [j2me_right_softkey_code] => 0 [j2me_middle_softkey_code] => 0 [j2me_select_key_code] => 0 [j2me_return_key_code] => 0 [j2me_clear_key_code] => 0 [j2me_datefield_no_accepts_null_date] => false [j2me_datefield_broken] => false [receiver] => false [sender] => false [mms_max_size] => 0 [mms_max_height] => 0 [mms_max_width] => 0 [built_in_recorder] => false [built_in_camera] => true [mms_jpeg_baseline] => false [mms_jpeg_progressive] => false [mms_gif_static] => false [mms_gif_animated] => false [mms_png] => false [mms_bmp] => false [mms_wbmp] => false [mms_amr] => false [mms_wav] => false [mms_midi_monophonic] => false [mms_midi_polyphonic] => false [mms_midi_polyphonic_voices] => 0 [mms_spmidi] => false [mms_mmf] => false [mms_mp3] => false [mms_evrc] => false [mms_qcelp] => false [mms_ota_bitmap] => false [mms_nokia_wallpaper] => false [mms_nokia_operatorlogo] => false [mms_nokia_3dscreensaver] => false [mms_nokia_ringingtone] => false [mms_rmf] => false [mms_xmf] => false [mms_symbian_install] => false [mms_jar] => false [mms_jad] => false [mms_vcard] => false [mms_vcalendar] => false [mms_wml] => false [mms_wbxml] => false [mms_wmlc] => false [mms_video] => false [mms_mp4] => false [mms_3gpp] => false [mms_3gpp2] => false [mms_max_frame_rate] => 0 [nokiaring] => false [picturemessage] => false [operatorlogo] => false [largeoperatorlogo] => false [callericon] => false [nokiavcard] => false [nokiavcal] => false [sckl_ringtone] => false [sckl_operatorlogo] => false [sckl_groupgraphic] => false [sckl_vcard] => false [sckl_vcalendar] => false [text_imelody] => false [ems] => false [ems_variablesizedpictures] => false [ems_imelody] => false [ems_odi] => false [ems_upi] => false [ems_version] => 0 [siemens_ota] => false [siemens_logo_width] => 101 [siemens_logo_height] => 29 [siemens_screensaver_width] => 101 [siemens_screensaver_height] => 50 [gprtf] => false [sagem_v1] => false [sagem_v2] => false [panasonic] => false [sms_enabled] => true [wav] => false [mmf] => false [smf] => false [mld] => false [midi_monophonic] => false [midi_polyphonic] => false [sp_midi] => false [rmf] => false [xmf] => false [compactmidi] => false [digiplug] => false [nokia_ringtone] => false [imelody] => false [au] => false [amr] => false [awb] => false [aac] => true [mp3] => true [voices] => 1 [qcelp] => false [evrc] => false [flash_lite_version] => [fl_wallpaper] => false [fl_screensaver] => false [fl_standalone] => false [fl_browser] => false [fl_sub_lcd] => false [full_flash_support] => false [css_supports_width_as_percentage] => true [css_border_image] => webkit [css_rounded_corners] => webkit [css_gradient] => none [css_spriting] => true [css_gradient_linear] => none [is_transcoder] => false [transcoder_ua_header] => user-agent [rss_support] => false [pdf_support] => true [progressive_download] => true [playback_vcodec_h263_0] => 10 [playback_vcodec_h263_3] => -1 [playback_vcodec_mpeg4_sp] => 0 [playback_vcodec_mpeg4_asp] => -1 [playback_vcodec_h264_bp] => 3.0 [playback_real_media] => none [playback_3gpp] => true [playback_3g2] => false [playback_mp4] => true [playback_mov] => false [playback_acodec_amr] => nb [playback_acodec_aac] => none [playback_df_size_limit] => 0 [playback_directdownload_size_limit] => 0 [playback_inline_size_limit] => 0 [playback_oma_size_limit] => 0 [playback_acodec_qcelp] => false [playback_wmv] => none [hinted_progressive_download] => true [html_preferred_dtd] => html4 [viewport_supported] => true [viewport_width] => device_width_token [viewport_userscalable] => no [viewport_initial_scale] => [viewport_maximum_scale] => [viewport_minimum_scale] => [mobileoptimized] => false [handheldfriendly] => false [canvas_support] => full [image_inlining] => true [is_smarttv] => false [is_console] => false [nfc_support] => false [ux_full_desktop] => false [jqm_grade] => A [is_sencha_touch_ok] => false ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr><tr><td>Zsxsoft<br /><small>1.3</small><br /></td><td>Google Chrome 27.0.1453.90</td><td><i class="material-icons">close</i></td><td>Android 4.1.2</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5d43e024-b46c-44f6-8914-529b05569bc2">Detail</a> <!-- Modal Structure --> <div id="modal-5d43e024-b46c-44f6-8914-529b05569bc2" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Zsxsoft result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [link] => http://google.com/chrome/ [title] => Google Chrome 27.0.1453.90 [name] => Google Chrome [version] => 27.0.1453.90 [code] => chrome [image] => img/16/browser/chrome.png ) [os] => Array ( [link] => http://www.android.com/ [name] => Android [version] => 4.1.2 [code] => android [x64] => [title] => Android 4.1.2 [type] => os [dir] => os [image] => img/16/os/android.png ) [device] => Array ( [link] => [title] => [model] => [brand] => [code] => null [dir] => device [type] => device [image] => img/16/device/null.png ) [platform] => Array ( [link] => http://www.android.com/ [name] => Android [version] => 4.1.2 [code] => android [x64] => [title] => Android 4.1.2 [type] => os [dir] => os [image] => img/16/os/android.png ) ) </code></pre></p> </div> <div class="modal-footer"> <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a> </div> </div> </td></tr></table> </div> <div class="section"> <h1 class="header center orange-text">About this comparison</h1> <div class="row center"> <h5 class="header light"> The primary goal of this project is simple<br /> I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br /> <br /> The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br /> <br /> You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</a><br /> <br /> The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a> </h5> </div> </div> <div class="card"> <div class="card-content"> Comparison created <i>2016-05-10 08:04:33</i> | by <a href="https://github.com/ThaDafinser">ThaDafinser</a> </div> </div> </div> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script> <script> $(document).ready(function(){ // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered $('.modal-trigger').leanModal(); }); </script> </body> </html>
{ "content_hash": "75676da345597b4545b00baa36b884d3", "timestamp": "", "source": "github", "line_count": 1372, "max_line_length": 961, "avg_line_length": 41.13265306122449, "alnum_prop": 0.5469043484424283, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "e6457fc02100fc39dc47e951a07bdca1af52c5ec", "size": "56435", "binary": false, "copies": "1", "ref": "refs/heads/gh-pages", "path": "v5/user-agent-detail/a6/1d/a61defaa-8922-4bfd-8ef3-506607eb7027.html", "mode": "33188", "license": "mit", "language": [ { "name": "HTML", "bytes": "2060859160" } ], "symlink_target": "" }
FactoryGirl.define do factory :application, class: Doorkeeper::Application do sequence(:name) { |n| "Application #{n}" } redirect_uri 'https://app.com/callback' end end
{ "content_hash": "adec59af0cda2a54c413f840e2bb4c1c", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 57, "avg_line_length": 30, "alnum_prop": 0.7, "repo_name": "calfzhou/wine_bouncer", "id": "c75d04dffc9031bd40e6ee2f1409a9a031159efa", "size": "180", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "spec/factories/application.rb", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "683" }, { "name": "HTML", "bytes": "4883" }, { "name": "JavaScript", "bytes": "599" }, { "name": "Ruby", "bytes": "77112" } ], "symlink_target": "" }
package com.apollographql.apollo.cache.normalized; import com.apollographql.apollo.internal.cache.normalized.RecordWeigher; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import java.util.UUID; import javax.annotation.Nonnull; import javax.annotation.Nullable; import static com.apollographql.apollo.api.internal.Utils.checkNotNull; /** * A normalized entry that corresponds to a response object. Object fields are stored if they are a GraphQL Scalars. If * a field is a GraphQL Object a {@link CacheReference} will be stored instead. */ public final class Record { private static final int UNKNOWN_SIZE_ESTIMATE = -1; private final String key; private final Map<String, Object> fields; private volatile UUID mutationId; private volatile int sizeInBytes = UNKNOWN_SIZE_ESTIMATE; public static class Builder { private final Map<String, Object> fields; private final String key; private UUID mutationId; public Builder(String key, Map<String, Object> fields, UUID mutationId) { this.key = key; this.fields = new LinkedHashMap<>(fields); this.mutationId = mutationId; } public Builder addField(@Nonnull String key, @Nullable Object value) { fields.put(checkNotNull(key, "key == null"), value); return this; } public Builder addFields(@Nonnull Map<String, Object> fields) { checkNotNull(fields, "fields == null"); this.fields.putAll(fields); return this; } public String key() { return key; } public Builder mutationId(UUID mutationId) { this.mutationId = mutationId; return this; } public Record build() { return new Record(key, fields, mutationId); } } public static Builder builder(@Nonnull String key) { return new Builder(checkNotNull(key, "key == null"), new LinkedHashMap<String, Object>(), null); } public Builder toBuilder() { return new Builder(key(), this.fields, mutationId); } Record(String key, Map<String, Object> fields, UUID mutationId) { this.key = key; this.fields = fields; this.mutationId = mutationId; } public Object field(String fieldKey) { return fields.get(fieldKey); } public boolean hasField(String fieldKey) { return fields.containsKey(fieldKey); } public String key() { return key; } public UUID mutationId() { return mutationId; } public Record clone() { return toBuilder().build(); } /** * @param otherRecord The record to merge into this record. * @return A set of field keys which have changed, or were added. A field key incorporates any GraphQL arguments in * addition to the field name. */ public Set<String> mergeWith(Record otherRecord) { Set<String> changedKeys = new HashSet<>(); for (Map.Entry<String, Object> field : otherRecord.fields.entrySet()) { Object newFieldValue = field.getValue(); Object oldFieldValue = this.fields.get(field.getKey()); if ((oldFieldValue == null && newFieldValue != null) || (oldFieldValue != null && !oldFieldValue.equals(newFieldValue))) { this.fields.put(field.getKey(), newFieldValue); changedKeys.add(key() + "." + field.getKey()); adjustSizeEstimate(newFieldValue, oldFieldValue); } } mutationId = otherRecord.mutationId; return changedKeys; } /** * @return A map of fieldName to fieldValue. Where fieldValue is a GraphQL Scalar or {@link CacheReference} if it is a * GraphQL Object type. */ public Map<String, Object> fields() { return fields; } /** * @return An approximate number of bytes this Record takes up. */ public int sizeEstimateBytes() { if (sizeInBytes == UNKNOWN_SIZE_ESTIMATE) { sizeInBytes = RecordWeigher.calculateBytes(this); } return sizeInBytes; } private void adjustSizeEstimate(Object newFieldValue, Object oldFieldValue) { if (sizeInBytes != UNKNOWN_SIZE_ESTIMATE) { sizeInBytes += RecordWeigher.byteChange(newFieldValue, oldFieldValue); } } }
{ "content_hash": "5aa1c7cdfb0ae17a4c24e68d9a9b9c30", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 120, "avg_line_length": 28.706293706293707, "alnum_prop": 0.6862362971985384, "repo_name": "sav007/apollo-android", "id": "6e3a5d43637559533719e0b9bb5856c5b7ddaab8", "size": "4105", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "apollo-runtime/src/main/java/com/apollographql/apollo/cache/normalized/Record.java", "mode": "33188", "license": "mit", "language": [ { "name": "Groovy", "bytes": "44451" }, { "name": "Java", "bytes": "1306993" }, { "name": "Kotlin", "bytes": "130778" }, { "name": "Shell", "bytes": "2434" } ], "symlink_target": "" }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-character: 5 m 21 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.14.1 / mathcomp-character - 1.14.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> mathcomp-character <small> 1.14.0 <span class="label label-success">5 m 21 s 🏆</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-06-12 09:12:12 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-06-12 09:12:12 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-gmp 4 Virtual package relying on a GMP lib system installation coq 8.14.1 Formal proof management system dune 3.2.0 Fast, portable, and opinionated build system ocaml 4.09.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.09.1 Official release 4.09.1 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.3 A library manager for OCaml zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Mathematical Components &lt;mathcomp-dev@sympa.inria.fr&gt;&quot; homepage: &quot;https://math-comp.github.io/&quot; bug-reports: &quot;https://github.com/math-comp/math-comp/issues&quot; dev-repo: &quot;git+https://github.com/math-comp/math-comp.git&quot; license: &quot;CECILL-B&quot; build: [ make &quot;-C&quot; &quot;mathcomp/character&quot; &quot;-j&quot; &quot;%{jobs}%&quot; &quot;COQEXTRAFLAGS+=-native-compiler yes&quot; {coq-native:installed &amp; coq:version &lt; &quot;8.13~&quot; } ] install: [ make &quot;-C&quot; &quot;mathcomp/character&quot; &quot;install&quot; ] depends: [ &quot;coq-mathcomp-field&quot; { = version } ] tags: [ &quot;keyword:algebra&quot; &quot;keyword:character&quot; &quot;keyword:small scale reflection&quot; &quot;keyword:mathematical components&quot; &quot;keyword:odd order theorem&quot; &quot;logpath:mathcomp.character&quot; ] authors: [ &quot;Jeremy Avigad &lt;&gt;&quot; &quot;Andrea Asperti &lt;&gt;&quot; &quot;Stephane Le Roux &lt;&gt;&quot; &quot;Yves Bertot &lt;&gt;&quot; &quot;Laurence Rideau &lt;&gt;&quot; &quot;Enrico Tassi &lt;&gt;&quot; &quot;Ioana Pasca &lt;&gt;&quot; &quot;Georges Gonthier &lt;&gt;&quot; &quot;Sidi Ould Biha &lt;&gt;&quot; &quot;Cyril Cohen &lt;&gt;&quot; &quot;Francois Garillot &lt;&gt;&quot; &quot;Alexey Solovyev &lt;&gt;&quot; &quot;Russell O&#39;Connor &lt;&gt;&quot; &quot;Laurent Théry &lt;&gt;&quot; &quot;Assia Mahboubi &lt;&gt;&quot; ] synopsis: &quot;Mathematical Components Library on character theory&quot; description:&quot;&quot;&quot; This library contains definitions and theorems about group representations, characters and class functions. &quot;&quot;&quot; url { src: &quot;https://github.com/math-comp/math-comp/archive/mathcomp-1.14.0.tar.gz&quot; checksum: &quot;sha256=d259cc95a2f8f74c6aa5f3883858c9b79c6e87f769bde9a415115fa4876ebb31&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-mathcomp-character.1.14.0 coq.8.14.1</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-mathcomp-character.1.14.0 coq.8.14.1</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>21 m 53 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-mathcomp-character.1.14.0 coq.8.14.1</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>5 m 21 s</dd> </dl> <h2>Installation size</h2> <p>Total: 14 M</p> <ul> <li>3 M <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/mxrepresentation.vo</code></li> <li>2 M <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/mxrepresentation.glob</code></li> <li>1 M <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/character.vo</code></li> <li>1 M <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/character.glob</code></li> <li>1 M <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/classfun.vo</code></li> <li>876 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/classfun.glob</code></li> <li>701 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/inertia.glob</code></li> <li>673 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/inertia.vo</code></li> <li>456 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/integral_char.vo</code></li> <li>400 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/mxabelem.vo</code></li> <li>391 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/vcharacter.glob</code></li> <li>378 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/vcharacter.vo</code></li> <li>350 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/mxabelem.glob</code></li> <li>329 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/integral_char.glob</code></li> <li>239 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/mxrepresentation.v</code></li> <li>113 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/character.v</code></li> <li>96 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/classfun.v</code></li> <li>69 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/inertia.v</code></li> <li>43 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/mxabelem.v</code></li> <li>38 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/vcharacter.v</code></li> <li>35 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/integral_char.v</code></li> <li>23 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/all_character.vo</code></li> <li>1 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/all_character.glob</code></li> <li>1 K <code>../ocaml-base-compiler.4.09.1/lib/coq/user-contrib/mathcomp/character/all_character.v</code></li> </ul> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq-mathcomp-character.1.14.0</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
{ "content_hash": "02c97c1319b789d9fc59fa87b6f0b37e", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 554, "avg_line_length": 58.81005586592179, "alnum_prop": 0.5883917545359552, "repo_name": "coq-bench/coq-bench.github.io", "id": "fbf5035a20a9d751e2bee1c2690ce675b59ff5ad", "size": "10553", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "clean/Linux-x86_64-4.09.1-2.0.6/released/8.14.1/mathcomp-character/1.14.0.html", "mode": "33188", "license": "mit", "language": [], "symlink_target": "" }
(function () { 'use strict'; angular .module('tddWorkshop.data') .constant('dataConstants', dataConstants()); function dataConstants() { return { BASE_URL: '/api', BLEETS: 'bleets', USERS: 'users' }; } })();
{ "content_hash": "3403193c34fba3ab7ce5d74228552803", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 48, "avg_line_length": 15.875, "alnum_prop": 0.5433070866141733, "repo_name": "francesco-desensi/tdd-workshop-angular-js", "id": "22a03bc62a8e1525d9fab8efb63ef728729af79e", "size": "254", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/app/data/data.constants.js", "mode": "33188", "license": "mit", "language": [ { "name": "CSS", "bytes": "1477" }, { "name": "HTML", "bytes": "4278" }, { "name": "JavaScript", "bytes": "66039" } ], "symlink_target": "" }
<?php /* * <auto-generated> * This code was generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. * </auto-generated> */ namespace Mozu\Api\Urls\Commerce\Catalog\Admin\Attributedefinition; use Mozu\Api\MozuUrl; use Mozu\Api\UrlLocation; class AttributeUrl { /** * Get Resource Url for GetAttributes * @param string $filter A set of expressions that consist of a field, operator, and value and represent search parameter syntax when filtering results of a query. Valid operators include equals (eq), does not equal (ne), greater than (gt), less than (lt), greater than or equal to (ge), less than or equal to (le), starts with (sw), or contains (cont). For example - "filter=IsDisplayed+eq+true" * @param int $pageSize The number of results to display on each page when creating paged results from a query. The maximum value is 200. * @param string $responseFields Use this field to include those fields which are not included by default. * @param string $sortBy * @param int $startIndex * @return string Resource Url */ public static function getAttributesUrl($filter, $pageSize, $responseFields, $sortBy, $startIndex) { $url = "/api/commerce/catalog/admin/attributedefinition/attributes/?startIndex={startIndex}&pageSize={pageSize}&sortBy={sortBy}&filter={filter}&responseFields={responseFields}"; $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD,"GET", false) ; $url = $mozuUrl->formatUrl("filter", $filter); $url = $mozuUrl->formatUrl("pageSize", $pageSize); $url = $mozuUrl->formatUrl("responseFields", $responseFields); $url = $mozuUrl->formatUrl("sortBy", $sortBy); $url = $mozuUrl->formatUrl("startIndex", $startIndex); return $mozuUrl; } /** * Get Resource Url for GetAttribute * @param string $attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @param string $responseFields Use this field to include those fields which are not included by default. * @return string Resource Url */ public static function getAttributeUrl($attributeFQN, $responseFields) { $url = "/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}?responseFields={responseFields}"; $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD,"GET", false) ; $url = $mozuUrl->formatUrl("attributeFQN", $attributeFQN); $url = $mozuUrl->formatUrl("responseFields", $responseFields); return $mozuUrl; } /** * Get Resource Url for AddAttribute * @param string $responseFields Use this field to include those fields which are not included by default. * @return string Resource Url */ public static function addAttributeUrl($responseFields) { $url = "/api/commerce/catalog/admin/attributedefinition/attributes/?responseFields={responseFields}"; $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD,"POST", false) ; $url = $mozuUrl->formatUrl("responseFields", $responseFields); return $mozuUrl; } /** * Get Resource Url for UpdateAttribute * @param string $attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @param string $responseFields Use this field to include those fields which are not included by default. * @return string Resource Url */ public static function updateAttributeUrl($attributeFQN, $responseFields) { $url = "/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}?responseFields={responseFields}"; $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD,"PUT", false) ; $url = $mozuUrl->formatUrl("attributeFQN", $attributeFQN); $url = $mozuUrl->formatUrl("responseFields", $responseFields); return $mozuUrl; } /** * Get Resource Url for DeleteAttribute * @param string $attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @return string Resource Url */ public static function deleteAttributeUrl($attributeFQN) { $url = "/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}"; $mozuUrl = new MozuUrl($url, UrlLocation::TENANT_POD,"DELETE", false) ; $url = $mozuUrl->formatUrl("attributeFQN", $attributeFQN); return $mozuUrl; } } ?>
{ "content_hash": "bcda9842da88a0a69270e232bf74ae7b", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 397, "avg_line_length": 43.61, "alnum_prop": 0.7179545975693649, "repo_name": "Mozu/mozu-php-sdk", "id": "2bcc4044f70f704d6d2a94448c8da21f9c1422b7", "size": "4361", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/Urls/Commerce/Catalog/Admin/Attributedefinition/AttributeUrl.php", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "PHP", "bytes": "3510959" } ], "symlink_target": "" }
package worldline.com.foldablelayout.demo; import android.content.ContentProvider; import android.content.ContentValues; import android.content.res.AssetFileDescriptor; import android.content.res.AssetManager; import android.database.Cursor; import android.net.Uri; import android.os.CancellationSignal; import java.io.FileNotFoundException; import java.io.IOException; public class AssetProvider extends ContentProvider { @Override public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { AssetManager am = getContext().getAssets(); String file_name = "demo-pictures/" + uri.getLastPathSegment(); if (file_name == null) throw new FileNotFoundException(); AssetFileDescriptor afd = null; try { afd = am.openFd(file_name); } catch (IOException e) { e.printStackTrace(); } return afd; } @Override public String getType(Uri p1) { return null; } @Override public int delete(Uri p1, String p2, String[] p3) { return 0; } @Override public Cursor query(Uri p1, String[] p2, String p3, String[] p4, String p5) { return null; } @Override public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { return super.query(uri, projection, selection, selectionArgs, sortOrder, cancellationSignal); } @Override public Uri insert(Uri p1, ContentValues p2) { return null; } @Override public boolean onCreate() { return false; } @Override public int update(Uri p1, ContentValues p2, String p3, String[] p4) { return 0; } }
{ "content_hash": "9f59435d0bcb6adaf4b2508bb6ef5618", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 154, "avg_line_length": 26.441176470588236, "alnum_prop": 0.6668520578420467, "repo_name": "worldline/FoldableLayout", "id": "24676a4478422adcc5975580caf89b9ee2bb4984", "size": "2390", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "app/src/main/java/worldline/com/foldablelayout/demo/AssetProvider.java", "mode": "33261", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "29389" } ], "symlink_target": "" }
package com.consol.citrus.jms.endpoint; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.MessageConsumer; import javax.jms.Queue; import javax.jms.Session; import java.util.HashMap; import java.util.Map; import com.consol.citrus.exceptions.ActionTimeoutException; import com.consol.citrus.exceptions.CitrusRuntimeException; import com.consol.citrus.message.DefaultMessage; import com.consol.citrus.message.Message; import com.consol.citrus.testng.AbstractTestNGUnitTest; import org.mockito.Mockito; import org.springframework.jms.core.JmsTemplate; import org.testng.Assert; import org.testng.annotations.Test; import static org.mockito.Mockito.anyBoolean; import static org.mockito.Mockito.anyInt; import static org.mockito.Mockito.reset; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; /** * @author Christoph Deppisch */ public class JmsEndpointConsumerTest extends AbstractTestNGUnitTest { private ConnectionFactory connectionFactory = Mockito.mock(ConnectionFactory.class); private Connection connection = Mockito.mock(Connection.class); private Session session = Mockito.mock(Session.class); private Destination destination = Mockito.mock(Destination.class); private Queue destinationQueue = Mockito.mock(Queue.class); private MessageConsumer messageConsumer = Mockito.mock(MessageConsumer.class); private JmsTemplate jmsTemplate = Mockito.mock(JmsTemplate.class); @Test public void testReceiveMessageWithJmsTemplate() { JmsEndpoint endpoint = new JmsEndpoint(); endpoint.getEndpointConfiguration().setJmsTemplate(jmsTemplate); Map<String, Object> controlHeaders = new HashMap<String, Object>(); final Message controlMessage = new DefaultMessage("<TestRequest><Message>Hello World!</Message></TestRequest>"); reset(jmsTemplate, connectionFactory, destination); when(jmsTemplate.getDefaultDestination()).thenReturn(destination); when(jmsTemplate.receive(destination)).thenReturn(new TextMessageImpl(controlMessage.getPayload(String.class), controlHeaders)); Message receivedMessage = endpoint.createConsumer().receive(context); Assert.assertEquals(receivedMessage.getPayload(), controlMessage.getPayload()); verify(jmsTemplate).setReceiveTimeout(5000L); } @Test public void testWithDestination() throws JMSException { JmsEndpoint endpoint = new JmsEndpoint(); endpoint.getEndpointConfiguration().setConnectionFactory(connectionFactory); endpoint.getEndpointConfiguration().setDestination(destination); final Message controlMessage = new DefaultMessage("<TestRequest><Message>Hello World!</Message></TestRequest>"); Map<String, Object> headers = new HashMap<String, Object>(); reset(jmsTemplate, connectionFactory, destination, connection, session, messageConsumer); when(connectionFactory.createConnection()).thenReturn(connection); when(connection.createSession(anyBoolean(), anyInt())).thenReturn(session); when(session.getTransacted()).thenReturn(false); when(session.getAcknowledgeMode()).thenReturn(Session.AUTO_ACKNOWLEDGE); when(session.createConsumer(destination, null)).thenReturn(messageConsumer); when(messageConsumer.receive(5000L)).thenReturn(new TextMessageImpl("<TestRequest><Message>Hello World!</Message></TestRequest>", headers)); Message receivedMessage = endpoint.createConsumer().receive(context); Assert.assertEquals(receivedMessage.getPayload(), controlMessage.getPayload()); verify(connection).start(); } @Test public void testReceiveMessageWithDestinationName() throws JMSException { JmsEndpoint endpoint = new JmsEndpoint(); endpoint.getEndpointConfiguration().setConnectionFactory(connectionFactory); endpoint.getEndpointConfiguration().setDestinationName("myDestination"); final Message controlMessage = new DefaultMessage("<TestRequest><Message>Hello World!</Message></TestRequest>"); Map<String, Object> headers = new HashMap<String, Object>(); reset(jmsTemplate, connectionFactory, destination, connection, session, messageConsumer); when(connectionFactory.createConnection()).thenReturn(connection); when(connection.createSession(anyBoolean(), anyInt())).thenReturn(session); when(session.getTransacted()).thenReturn(false); when(session.getAcknowledgeMode()).thenReturn(Session.AUTO_ACKNOWLEDGE); when(session.createQueue("myDestination")).thenReturn(destinationQueue); when(session.createConsumer(destinationQueue, null)).thenReturn(messageConsumer); when(messageConsumer.receive(5000L)).thenReturn(new TextMessageImpl("<TestRequest><Message>Hello World!</Message></TestRequest>", headers)); Message receivedMessage = endpoint.createConsumer().receive(context); Assert.assertEquals(receivedMessage.getPayload(), controlMessage.getPayload()); verify(connection).start(); } @Test public void testReceiveMessageTimeout() throws JMSException { JmsEndpoint endpoint = new JmsEndpoint(); endpoint.getEndpointConfiguration().setConnectionFactory(connectionFactory); endpoint.getEndpointConfiguration().setDestination(destination); reset(jmsTemplate, connectionFactory, destination, connection, session, messageConsumer); when(connectionFactory.createConnection()).thenReturn(connection); when(connection.createSession(anyBoolean(), anyInt())).thenReturn(session); when(session.getTransacted()).thenReturn(false); when(session.getAcknowledgeMode()).thenReturn(Session.AUTO_ACKNOWLEDGE); when(session.createConsumer(destination, null)).thenReturn(messageConsumer); when(messageConsumer.receive(5000L)).thenReturn(null); try { endpoint.createConsumer().receive(context); Assert.fail("Missing " + CitrusRuntimeException.class + " because of receiving message timeout"); } catch(ActionTimeoutException e) { Assert.assertTrue(e.getMessage().startsWith("Action timeout after 5000 milliseconds. Failed to receive message on endpoint")); verify(connection).start(); } } @Test public void testWithCustomTimeout() throws JMSException { JmsEndpoint endpoint = new JmsEndpoint(); endpoint.getEndpointConfiguration().setConnectionFactory(connectionFactory); endpoint.getEndpointConfiguration().setDestination(destination); endpoint.getEndpointConfiguration().setTimeout(10000L); final Message controlMessage = new DefaultMessage("<TestRequest><Message>Hello World!</Message></TestRequest>"); Map<String, Object> headers = new HashMap<String, Object>(); reset(jmsTemplate, connectionFactory, destination, connection, session, messageConsumer); when(connectionFactory.createConnection()).thenReturn(connection); when(connection.createSession(anyBoolean(), anyInt())).thenReturn(session); when(session.getTransacted()).thenReturn(false); when(session.getAcknowledgeMode()).thenReturn(Session.AUTO_ACKNOWLEDGE); when(session.createConsumer(destination, null)).thenReturn(messageConsumer); when(messageConsumer.receive(10000L)).thenReturn(new TextMessageImpl("<TestRequest><Message>Hello World!</Message></TestRequest>", headers)); Message receivedMessage = endpoint.createConsumer().receive(context); Assert.assertEquals(receivedMessage.getPayload(), controlMessage.getPayload()); verify(connection).start(); } @Test public void testWithMessageHeaders() throws JMSException { JmsEndpoint endpoint = new JmsEndpoint(); endpoint.getEndpointConfiguration().setConnectionFactory(connectionFactory); endpoint.getEndpointConfiguration().setDestination(destination); Map<String, Object> controlHeaders = new HashMap<String, Object>(); controlHeaders.put("Operation", "sayHello"); final Message controlMessage = new DefaultMessage("<TestRequest><Message>Hello World!</Message></TestRequest>", controlHeaders); Map<String, Object> headers = new HashMap<String, Object>(); headers.put("Operation", "sayHello"); reset(jmsTemplate, connectionFactory, destination, connection, session, messageConsumer); when(connectionFactory.createConnection()).thenReturn(connection); when(connection.createSession(anyBoolean(), anyInt())).thenReturn(session); when(session.getTransacted()).thenReturn(false); when(session.getAcknowledgeMode()).thenReturn(Session.AUTO_ACKNOWLEDGE); when(session.createConsumer(destination, null)).thenReturn(messageConsumer); when(messageConsumer.receive(5000L)).thenReturn(new TextMessageImpl("<TestRequest><Message>Hello World!</Message></TestRequest>", headers)); Message receivedMessage = endpoint.createConsumer().receive(context); Assert.assertEquals(receivedMessage.getPayload(), controlMessage.getPayload()); Assert.assertNotNull(receivedMessage.getHeader("Operation")); Assert.assertTrue(receivedMessage.getHeader("Operation").equals("sayHello")); verify(connection).start(); } @Test public void testWithMessageSelector() throws JMSException { JmsEndpoint endpoint = new JmsEndpoint(); endpoint.getEndpointConfiguration().setConnectionFactory(connectionFactory); endpoint.getEndpointConfiguration().setDestination(destination); final Message controlMessage = new DefaultMessage("<TestRequest><Message>Hello World!</Message></TestRequest>"); Map<String, Object> headers = new HashMap<String, Object>(); reset(jmsTemplate, connectionFactory, destination, connection, session, messageConsumer); when(connectionFactory.createConnection()).thenReturn(connection); when(connection.createSession(anyBoolean(), anyInt())).thenReturn(session); when(session.getTransacted()).thenReturn(false); when(session.getAcknowledgeMode()).thenReturn(Session.AUTO_ACKNOWLEDGE); when(session.createConsumer(destination, "Operation = 'sayHello'")).thenReturn(messageConsumer); when(messageConsumer.receive(5000L)).thenReturn(new TextMessageImpl("<TestRequest><Message>Hello World!</Message></TestRequest>", headers)); Message receivedMessage = endpoint.createConsumer().receive("Operation = 'sayHello'", context); Assert.assertEquals(receivedMessage.getPayload(), controlMessage.getPayload()); verify(connection).start(); } @Test public void testWithMessageSelectorAndCustomTimeout() throws JMSException { JmsEndpoint endpoint = new JmsEndpoint(); endpoint.getEndpointConfiguration().setConnectionFactory(connectionFactory); endpoint.getEndpointConfiguration().setDestination(destination); endpoint.getEndpointConfiguration().setTimeout(10000L); final Message controlMessage = new DefaultMessage("<TestRequest><Message>Hello World!</Message></TestRequest>"); Map<String, Object> headers = new HashMap<String, Object>(); reset(jmsTemplate, connectionFactory, destination, connection, session, messageConsumer); when(connectionFactory.createConnection()).thenReturn(connection); when(connection.createSession(anyBoolean(), anyInt())).thenReturn(session); when(session.getTransacted()).thenReturn(false); when(session.getAcknowledgeMode()).thenReturn(Session.AUTO_ACKNOWLEDGE); when(session.createConsumer(destination, "Operation = 'sayHello'")).thenReturn(messageConsumer); when(messageConsumer.receive(10000L)).thenReturn(new TextMessageImpl("<TestRequest><Message>Hello World!</Message></TestRequest>", headers)); Message receivedMessage = endpoint.createConsumer().receive("Operation = 'sayHello'", context); Assert.assertEquals(receivedMessage.getPayload(), controlMessage.getPayload()); verify(connection).start(); } }
{ "content_hash": "9e478ca70bb5477f34e9355f95d2d708", "timestamp": "", "source": "github", "line_count": 261, "max_line_length": 149, "avg_line_length": 47.02681992337165, "alnum_prop": 0.7386345119765357, "repo_name": "christophd/citrus", "id": "ffb4a96c392ffb1ff04889a7acbc25ded6e43004", "size": "12893", "binary": false, "copies": "1", "ref": "refs/heads/main", "path": "endpoints/citrus-jms/src/test/java/com/consol/citrus/jms/endpoint/JmsEndpointConsumerTest.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Gherkin", "bytes": "6883" }, { "name": "Groovy", "bytes": "7959" }, { "name": "HTML", "bytes": "10058" }, { "name": "Java", "bytes": "9442882" }, { "name": "PLSQL", "bytes": "963" }, { "name": "XSLT", "bytes": "38517" } ], "symlink_target": "" }
using System; using System.Web; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using LibBusinessLayer; using LibDataLayer; namespace Presentation.page { public partial class PresentationPage : System.Web.UI.MasterPage { #region[Define] protected string _htmlFullName = string.Empty; protected string _htmlAvatarMain = string.Empty; protected string _ErrorMessages = string.Empty; protected string _ErrorPostMessageRequest = string.Empty; protected string _CountMessage = string.Empty; protected string _htmlLinkProfice = string.Empty; #endregion #region[Controller] protected void Page_Load(object sender, EventArgs e) { formSocialNetWork.Action = Request.RawUrl; if (Session["login"] == null && Session["UserName"] == null) { navRightLogin.Visible = false; nvaRightSigin.Visible = true; Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1)); Response.Cache.SetNoStore(); } else { if ((bool)Session["login"] == false) { navRightLogin.Visible = false; nvaRightSigin.Visible = true; Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1)); Response.Cache.SetNoStore(); } else { navRightLogin.Visible = true; nvaRightSigin.Visible = false; lbUserName.Text = Session["FullName"].ToString(); if (!IsPostBack) { GetMessage(); GetNewStatus(); } } } } protected void btnLogout_Click(object sender, EventArgs e) { var cookie = Request.Cookies["login"]; if (cookie != null) { Session["login"] = false; Session.RemoveAll(); Session.Abandon(); cookie.Expires = DateTime.Now.AddDays(-1); Response.Cookies.Add(cookie); Response.Redirect("/"); navRightLogin.Visible = false; nvaRightSigin.Visible = true; } else { Session["login"] = false; Session.RemoveAll(); Session.Abandon(); Response.Redirect(@"/"); navRightLogin.Visible = false; nvaRightSigin.Visible = true; } } protected void btnProfice_Click(object sender, EventArgs e) { if (Session["login"] != null && Session["FullName1"] != null) { Response.Redirect(@"/profice/" + Session["FullName1"]); } } protected void btnAboutTop_Click(object sender, EventArgs e) { if (Session["login"] != null && Session["FullName1"] != null) { Response.Redirect(@"/about-p/" + Session["FullName1"]); } } protected void btnSendMessageRequest_Click(object sender, EventArgs e) { if (String.IsNullOrEmpty(lbAccountIDRequest.Text)) { _ErrorPostMessageRequest = LibAlert.Alert.AlertError("Có lỗi xảy ra trong quá trình gửi tin nhắn !"); } else if (String.IsNullOrEmpty(txtMessageRquest.Value)) { _ErrorPostMessageRequest = LibAlert.Alert.AlertError("Vui lòng điền vào nội dung tin nhắn !"); } else { PostMessage(); } } protected void ListViewAll_ItemCommand(object sender, ListViewCommandEventArgs e) { var SenderId = ((HtmlInputHidden)e.Item.FindControl("hiddenId")).Value; if (e.CommandName == "_sendMessagePopup") { GetMessageEdit(int.Parse(SenderId)); GetMessage(); LibWindowUI.Window.OpenWindows(Page, GetType(), "#myModalSendMessageRequest"); } if (e.CommandName == "_delMessagePopup") { DeleteValue(int.Parse(SenderId)); } } protected void ListViewAll_ItemDataBound(object sender, ListViewItemEventArgs e) { if (e.Item.ItemType == ListViewItemType.DataItem) { var hiddenfalg = ((HtmlInputHidden)e.Item.FindControl("hiddenfalg")).Value; var iconNewMessage = ((HtmlImage)e.Item.FindControl("iconNewMessage")); if (hiddenfalg == "0") { iconNewMessage.Visible = false; } else { iconNewMessage.Visible = true; } } } protected void ListViewNewsStatus_ItemCommand(object sender, ListViewCommandEventArgs e) { var SenderId = ((HtmlInputHidden)e.Item.FindControl("hiddenId")).Value; if (e.CommandName == "_newStatusPopup") { GetDetail(int.Parse(SenderId)); LibWindowUI.Window.OpenWindows(Page, GetType(), "#myModalViewDetailNoImg"); } } protected void ListViewNewsStatus_ItemDataBound(object sender, ListViewItemEventArgs e) { } #endregion #region[Method] private void GetDetail(int Wall_ID) { var _clsGetWallDetail = new BllWall(); var _dtGetWallDetail = _clsGetWallDetail.GetViewAllDetail(Wall_ID); if (_dtGetWallDetail != null && _dtGetWallDetail.Rows.Count > 0) { lb_lst_Wall_ID_ViewDetailNoImg.Text = _dtGetWallDetail.Rows[0]["Wall_ID"].ToString(); _htmlLinkProfice = _dtGetWallDetail.Rows[0]["UserName"].ToString(); imgAvatarNoImg.Src = _dtGetWallDetail.Rows[0]["User_Image"].ToString(); lb_lst_UserName_ViewDetailNoImg.Text = _dtGetWallDetail.Rows[0]["FullName"].ToString(); lb_lst_datetime_NoImages.Text = String.Format("{0:dd-MM}", _dtGetWallDetail.Rows[0]["DateBegin"]) + " lúc " + String.Format("{0:hh:mm}", _dtGetWallDetail.Rows[0]["DateBegin"]); lb_lst_titile_ViewDetailNoImg.Text = _dtGetWallDetail.Rows[0]["Wall_Titile"].ToString(); lb_lst_content_ViewDetailNoImg.Text = _dtGetWallDetail.Rows[0]["Wall_Content"].ToString(); } } private void GetNewStatus() { if (Session["login"] != null && Session["AccountID"] != null) { var _clsGetNewStatus = new BllWall(); var _dtGetNewstatus = _clsGetNewStatus.GetStatusLike(int.Parse(Session["AccountID"].ToString())); if (_dtGetNewstatus != null && _dtGetNewstatus.Rows.Count > 0) { ListViewNewsStatus.DataSource = _dtGetNewstatus; ListViewNewsStatus.DataBind(); ListViewNewsStatus.Visible = true; ddlNewStatus.Visible = true; } else { ListViewNewsStatus.Visible = false; ddlNewStatus.Visible = false; } } } private void GetMessage() { var _clsGetMessage = new BllTweet(); if (Session["login"] != null && Session["UserName"] != null && Session["AccountID"] != null) { var _dtGetMessage = _clsGetMessage.GetTweetMessage(int.Parse(Session["AccountID"].ToString())); var _dtGetCountMessage = _clsGetMessage.GetTweetCountMessage(int.Parse(Session["AccountID"].ToString())); if (_dtGetMessage != null && _dtGetMessage.Rows.Count > 0 && _dtGetCountMessage != null && _dtGetCountMessage.Rows.Count > 0) { if (int.Parse(_dtGetCountMessage.Rows[0]["CountMessage"].ToString()) > 0) { _CountMessage = "( " + _dtGetCountMessage.Rows[0]["CountMessage"] + " )"; } ListViewAll.DataSource = _dtGetMessage; ListViewAll.DataBind(); ListViewAll.Visible = true; btnViewMessageAll.Visible = true; drmsg.Visible = true; } else { ListViewAll.Visible = false; btnViewMessageAll.Visible = false; drmsg.Visible = false; } } } private void GetMessageEdit(int TweetID) { var _clsGetMessageEdit = new BllTweet(); var _dtGetMessageEdit = _clsGetMessageEdit.GetTweetMessageEdit(TweetID); if (_dtGetMessageEdit != null && _dtGetMessageEdit.Rows.Count > 0) { lbAccountIDRequest.Text = _dtGetMessageEdit.Rows[0]["AccountID"].ToString(); lbFullNameMessageRequest.Text = _dtGetMessageEdit.Rows[0]["FullName"].ToString(); lbMsgSendMessageRequest.Text = _dtGetMessageEdit.Rows[0]["Message"].ToString(); } } private void PostMessage() { try { var obj = new DTOTweet { AccountID = int.Parse(Session["AccountID"].ToString()), AccountID2 = int.Parse(lbAccountIDRequest.Text), Message = txtMessageRquest.Value }; BllTweet.Insert(obj); _ErrorPostMessageRequest = LibAlert.Alert.AlertSucess("Bạn đã gửi tin nhắn thành công đến <b style='color:black'>" + lbFullNameMessageRequest.Text + "</b>"); } catch (Exception ex) { _ErrorPostMessageRequest = LibAlert.Alert.AlertError("Có lỗi xảy ra trong quá trình gửi tin nhắn <br/>" + ex.Message); } } private void DeleteValue(int TweetID) { try { var obj = new DTOTweet { TweetID = TweetID }; BllTweet.Delete(obj); GetMessage(); lbMsgShow.Text = LibAlert.Alert.AlertSucess("Xoá thành công tin nhắn !"); LibWindowUI.Window.OpenWindows(Page, GetType(), "#myModalMsgShow"); } catch (Exception ex) { lbMsgShow.Text = LibAlert.Alert.AlertError("Có lỗi xảy ra trong quá trình xoá <br/>" + ex.Message); } } #endregion } }
{ "content_hash": "e526a3c0457abe140b8204e387a4d3d9", "timestamp": "", "source": "github", "line_count": 264, "max_line_length": 181, "avg_line_length": 42.91287878787879, "alnum_prop": 0.5057816223850296, "repo_name": "chungthanhphuoc1990/SocialNetwork", "id": "57310244000a79fb754c8c28e8eb972a321c04f4", "size": "11389", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "SocialNetWork/Presentation/page/PresentationPage.Master.cs", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "ASP", "bytes": "97753" }, { "name": "C#", "bytes": "168513" }, { "name": "CSS", "bytes": "12967761" }, { "name": "HTML", "bytes": "2524152" }, { "name": "JavaScript", "bytes": "7969021" } ], "symlink_target": "" }
package com.google.api.ads.adwords.jaxws.v201406.cm; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for BulkMutateJobError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="BulkMutateJobError.Reason"> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"> * &lt;enumeration value="CAN_RETURN_RESULT_FOR_ONLY_COMPLETED_JOBS"/> * &lt;enumeration value="CAN_RETURN_RESULT_FOR_ONLY_ONE_JOB"/> * &lt;enumeration value="CANNOT_UPDATE_JOB_ONCE_ALL_REQUEST_PARTS_ARE_RECEIVED"/> * &lt;enumeration value="INVALID_SCOPING_ENTITY_TYPE"/> * &lt;enumeration value="MISSING_SCOPING_ENTITY_FOR_OPERATION_STREAM"/> * &lt;enumeration value="MORE_THAN_ONE_SCOPING_ENTITY_TYPE"/> * &lt;enumeration value="PAYLOAD_STORE_UNAVAILABLE"/> * &lt;enumeration value="REQUEST_PART_IS_OUT_OF_ORDER"/> * &lt;enumeration value="TOO_MANY_OPERATION_STREAMS_IN_REQUEST_PART"/> * &lt;enumeration value="TOO_MANY_OPERATIONS_IN_JOB"/> * &lt;enumeration value="TOO_MANY_OPERATIONS_IN_REQUEST_PART"/> * &lt;enumeration value="TOO_MANY_RESULTS_TO_STORE"/> * &lt;enumeration value="TOO_MANY_SCOPING_ENTITIES"/> * &lt;enumeration value="UNKNOWN"/> * &lt;enumeration value="LOST_RESULT"/> * &lt;enumeration value="UNPROCESSED_RESULT"/> * &lt;enumeration value="BATCH_FAILURE"/> * &lt;enumeration value="SERVICE_PROVIDED_NO_RESULT"/> * &lt;/restriction> * &lt;/simpleType> * </pre> * */ @XmlType(name = "BulkMutateJobError.Reason") @XmlEnum public enum BulkMutateJobErrorReason { /** * * The job selector must specify a job that has completed when a result * part is also requested to be returned. * * */ CAN_RETURN_RESULT_FOR_ONLY_COMPLETED_JOBS, /** * * The job selector must specify a single job when a result part is also * requested to be returned. * * */ CAN_RETURN_RESULT_FOR_ONLY_ONE_JOB, /** * * A bulk mutate job can be updated to add new request parts or to * set the number of request parts only until all request parts are * determined to have been received. * * */ CANNOT_UPDATE_JOB_ONCE_ALL_REQUEST_PARTS_ARE_RECEIVED, /** * * An operation stream in the bulk mutate request refers to an unknown or * unsupported type of scoping entity. * * */ INVALID_SCOPING_ENTITY_TYPE, /** * * An operation stream in the bulk mutate request does not specify a * scoping entity id. * * */ MISSING_SCOPING_ENTITY_FOR_OPERATION_STREAM, /** * * The operation streams in the bulk mutate request refer to more than one * type of scoping entity. * * */ MORE_THAN_ONE_SCOPING_ENTITY_TYPE, /** * * The request cannot be processed because the payload store (where the * request and response parts are saved) is temporarily unavailable. * * */ PAYLOAD_STORE_UNAVAILABLE, /** * * The request part is not the next one expected to be received. * * */ REQUEST_PART_IS_OUT_OF_ORDER, /** * * The number of operation streams in this request part exceeds the maximum * limit. * * */ TOO_MANY_OPERATION_STREAMS_IN_REQUEST_PART, /** * * The number of operations in this job exceeds the maximum limit. * * */ TOO_MANY_OPERATIONS_IN_JOB, /** * * The number of operations in this request part exceeds the maximum limit. * * */ TOO_MANY_OPERATIONS_IN_REQUEST_PART, /** * * The limit for the number of operation results to store in the bulk * mutate workflow system has been exceeded for this customer. * * */ TOO_MANY_RESULTS_TO_STORE, /** * * The operation streams in the bulk mutate request refer to more than the * allowed number of scoping entities. * * */ TOO_MANY_SCOPING_ENTITIES, /** * * <span class="constraint Rejected">Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version.</span> * * */ UNKNOWN, /** * * A specific operation has been applied but the result was lost. * This can be returned when getting the result of a completed job. * * */ LOST_RESULT, /** * * A specific operation was not applied because of job failure(s). * This can be returned when getting the result of a completed job. * * */ UNPROCESSED_RESULT, /** * * A specific operation was not applied because another operation in the same batch failed. * This can be returned when getting the result of a completed job with other failed operations. * * */ BATCH_FAILURE, /** * * The operation was applied, but we got fewer results than we expected. * This can be returned when getting the result of a completed job. * * */ SERVICE_PROVIDED_NO_RESULT; public String value() { return name(); } public static BulkMutateJobErrorReason fromValue(String v) { return valueOf(v); } }
{ "content_hash": "31b0e314d6fab35369c39d5d940fcf56", "timestamp": "", "source": "github", "line_count": 211, "max_line_length": 187, "avg_line_length": 29.777251184834125, "alnum_prop": 0.5393920101862167, "repo_name": "nafae/developer", "id": "ca394714cfad58b3b47a8ff02689ad0451209a91", "size": "6283", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/cm/BulkMutateJobErrorReason.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "127846798" }, { "name": "Perl", "bytes": "28418" } ], "symlink_target": "" }
<?xml version="1.0"?> <!-- Copyright 2008-2011 California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged. $Id$ --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>gov.nasa.jpl.edrn</groupId> <artifactId>ecas-curation</artifactId> <packaging>war</packaging> <version>0.1.4</version> <name>eCAS Curation Interface</name> <url>http://cancer.jpl.nasa.gov/ecas-curator/</url> <description>A web application for managing policy for products and files and metadata that have been ingested via the eCAS component. </description> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.oodt</groupId> <artifactId>cas-curator</artifactId> <version>0.2</version> <type>war</type> </dependency> <dependency> <groupId>gov.nasa.jpl.edrn</groupId> <artifactId>edrn-security</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>gov.nasa.jpl.edrn</groupId> <artifactId>ecas-backend</artifactId> <version>0.5.0-dev</version> </dependency> </dependencies> </project>
{ "content_hash": "263fb266cbc54291c636d28fe0e6c99f", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 98, "avg_line_length": 30.596153846153847, "alnum_prop": 0.6725329981143935, "repo_name": "EDRN/ecas-frontend-curation-webapp", "id": "5e6e7262533bee530939ce626cf0a8b0a442b2d3", "size": "1591", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "pom.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "1318" }, { "name": "Shell", "bytes": "1137" } ], "symlink_target": "" }
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace LocalLeet { public abstract class Heap<T> : IEnumerable<T> { private const int InitialCapacity = 0; private const int GrowFactor = 2; private const int MinGrow = 1; private int _capacity = InitialCapacity; private T[] _heap = new T[InitialCapacity]; private int _tail = 0; public int Count { get { return _tail; } } public int Capacity { get { return _capacity; } } protected Comparer<T> Comparer { get; private set; } protected abstract bool Dominates(T x, T y); protected Heap() : this(Comparer<T>.Default) { } protected Heap(Comparer<T> comparer) : this(Enumerable.Empty<T>(), comparer) { } protected Heap(IEnumerable<T> collection) : this(collection, Comparer<T>.Default) { } protected Heap(IEnumerable<T> collection, Comparer<T> comparer) { if (collection == null) throw new ArgumentNullException("collection"); if (comparer == null) throw new ArgumentNullException("comparer"); Comparer = comparer; foreach (var item in collection) { if (Count == Capacity) Grow(); _heap[_tail++] = item; } for (int i = Parent(_tail - 1); i >= 0; i--) BubbleDown(i); } public void Add(T item) { if (Count == Capacity) Grow(); _heap[_tail++] = item; BubbleUp(_tail - 1); } private void BubbleUp(int i) { if (i == 0 || Dominates(_heap[Parent(i)], _heap[i])) return; //correct domination (or root) Swap(i, Parent(i)); BubbleUp(Parent(i)); } public T GetDominating() { if (Count == 0) throw new InvalidOperationException("Heap is empty"); return _heap[0]; } public T ExtractDominating() { if (Count == 0) throw new InvalidOperationException("Heap is empty"); T ret = _heap[0]; _tail--; Swap(_tail, 0); BubbleDown(0); return ret; } private void BubbleDown(int i) { int dominatingNode = Dominating(i); if (dominatingNode == i) return; Swap(i, dominatingNode); BubbleDown(dominatingNode); } private int Dominating(int i) { int dominatingNode = i; dominatingNode = GetDominating(YoungChild(i), dominatingNode); dominatingNode = GetDominating(OldChild(i), dominatingNode); return dominatingNode; } private int GetDominating(int newNode, int dominatingNode) { if (newNode < _tail && !Dominates(_heap[dominatingNode], _heap[newNode])) return newNode; else return dominatingNode; } private void Swap(int i, int j) { T tmp = _heap[i]; _heap[i] = _heap[j]; _heap[j] = tmp; } private static int Parent(int i) { return (i + 1) / 2 - 1; } private static int YoungChild(int i) { return (i + 1) * 2 - 1; } private static int OldChild(int i) { return YoungChild(i) + 1; } private void Grow() { int newCapacity = _capacity * GrowFactor + MinGrow; var newHeap = new T[newCapacity]; Array.Copy(_heap, newHeap, _capacity); _heap = newHeap; _capacity = newCapacity; } public IEnumerator<T> GetEnumerator() { return _heap.Take(Count).GetEnumerator(); } IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); } } public class MaxHeap<T> : Heap<T> { public MaxHeap() : this(Comparer<T>.Default) { } public MaxHeap(Comparer<T> comparer) : base(comparer) { } public MaxHeap(IEnumerable<T> collection, Comparer<T> comparer) : base(collection, comparer) { } public MaxHeap(IEnumerable<T> collection) : base(collection) { } protected override bool Dominates(T x, T y) { return Comparer.Compare(x, y) >= 0; } } public class MinHeap<T> : Heap<T> { public MinHeap() : this(Comparer<T>.Default) { } public MinHeap(Comparer<T> comparer) : base(comparer) { } public MinHeap(IEnumerable<T> collection) : base(collection) { } public MinHeap(IEnumerable<T> collection, Comparer<T> comparer) : base(collection, comparer) { } protected override bool Dominates(T x, T y) { return Comparer.Compare(x, y) <= 0; } } }
{ "content_hash": "4028a4f3577489e92c73c38b31df21bf", "timestamp": "", "source": "github", "line_count": 215, "max_line_length": 85, "avg_line_length": 24.813953488372093, "alnum_prop": 0.49409559512652296, "repo_name": "txchen/localleet", "id": "0a67e2fe3e8aaf652d63a4ef157d436bc95ddfed", "size": "5335", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "csharp/Common/Heap.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "426249" } ], "symlink_target": "" }
* Now a drop-in replacement for `Rack::Deflater` # 0.0.1 * Initial version * Plays five minutes of the overture from *Die Fledermaus*
{ "content_hash": "485e89111281cf1e2721e50343a5c3e8", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 58, "avg_line_length": 22.666666666666668, "alnum_prop": 0.7279411764705882, "repo_name": "gabebw/rack-deflatermaus", "id": "8628f522fcf4b229a9b8eefcd0f0a57a776a94c1", "size": "145", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "NEWS.md", "mode": "33188", "license": "mit", "language": [ { "name": "Ruby", "bytes": "3449" } ], "symlink_target": "" }
using System; namespace ShawLib.TCP { public class ClientEventArgs : EventArgs { public TcpClient Client { get; private set; } public ClientEventArgs(TcpClient client) { Client = client; } } }
{ "content_hash": "a5e86ba8323a87adc2ba8ed92208265c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 53, "avg_line_length": 18, "alnum_prop": 0.5833333333333334, "repo_name": "Shawak/shawlib", "id": "a62640e478153f9bc3381b32f58eac56d7bcbb06", "size": "254", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/shawlib/TCP/ClientEventArgs.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "56356" } ], "symlink_target": "" }
import time from twisted.words.protocols import irc from twisted.internet import reactor, protocol from twisted.python import log import settings import loggers from events import * from elasticsearch import ESLogLine class LogBot(irc.IRCClient): nickname = settings.NICK[:16] ignorelist = [] _user_left_FP = None log_user = "af3aF&G@#*@#*(#@#*(@&&FHU#IU#HJAF#(@F@#J" def writeLog(self, user, channel, event, message=None): current_time = time.time() msg = (current_time, user, channel, event, self.factory.irc_host, message) for logger in self.loggers: logger.log(*msg) def connectionMade(self): irc.IRCClient.connectionMade(self) self.loggers = [ loggers.PyLogger(), loggers.BufferedMultiChannelFileLogger( self.factory.log_path, self.factory.channels), loggers.BufferedSearchLogger()] self.writeLog(self.log_user, None, CONNECT_EVENT) def connectionLost(self, reason): irc.IRCClient.connectionLost(self, reason) self.writeLog(self.log_user, None, DISCONNECT_EVENT) def signedOn(self): """Called when bot has succesfully signed on to server.""" self.setNick(self._attemptedNick) for channel_name in self.factory.channels: self.join(channel_name) def joined(self, channel): """This will get called when the bot joins the channel.""" self.writeLog(self.log_user, channel, JOIN_EVENT) def privmsg(self, user, channel, msg): """This will get called when the bot receives a message.""" user = user.split('!', 1)[0] self.writeLog(user, channel, MSG_EVENT, msg) self.handle_command(user, channel, msg) def userJoined(self, user, channel): """ When the user joins a channel, log the join """ self.writeLog(user, channel, JOIN_EVENT) # TODO: this is temporary if not self._user_is_self(user): last_exit_dict = self._get_user_last_exit_time(user, channel) last_exit_time = last_exit_dict.get(channel, None) self.msg(user, ( "The last time you left this channel was: %s. " "Please see the history since you left here: %s" % ( time.asctime(time.localtime(last_exit_time)), 'this is not ready yet'))) def userLeft(self, user, channel): """ When the user leaves a channel, log the leave """ self.writeLog(user, channel, LEAVE_EVENT) def _user_is_self(self, user): """ Is this user the bot? Currently there is no good way of determining what the server thinks the bot's username is (if it's truncated for instance). So right now, check it against the nick, and hope for the best. @param user: username @type user: C{str} @return: true if the user is the logbot, false otherwise """ return user == self.nickname def _get_user_last_exit_time(self, user, channel=None): """ When the user last exited this channel. This should probably go elsewhere. Also, async. @param user: the username of the user @type user: C{str} @param channel: the channel that we want to get the last exit time for. If not provided, will return the last exit times for all the all the channels that was recorded for that user @type channel: C{str} @return: C{dict} mapping channel names to exit times in seconds since the epoch """ results = {} return results # Commands def handle_command(self, user, channel, msg): reply_to = None # PM if channel == self.nickname: reply_to = user # Mentioned in channel if msg.startswith(self.nickname + ":"): msg = msg[len(self.nickname) + 1:] reply_to = channel if reply_to: msg = msg.strip() split = msg.split(None, 1) command = split[0] try: args = split[1] except IndexError: args = None # TODO: Plugin system and shit if command.lower() == 'help': if args == 'search': reply = 'search <lucene query> - searches for messages' elif args == 'ignore': reply = 'ignore <optional: nick> - ignores you, or a given nick' elif args == 'unignore': reply = 'unignore <optional: nick> - unignores you, or a given nick' elif args == 'stats': reply = 'stats - returns some stats' else: reply = 'commands: search, ignore, unignore' elif command.lower() == 'search': reply = self.do_search(args, channel, user) elif command.lower() == 'ignore': reply = self.do_ignore(args or user) elif command.lower() == 'unignore': reply = self.do_unignore(args or user) else: reply = 'logger and searchbot - try "help"' if reply: self.msg(reply_to, reply) def do_search(self, query, channel, user): try: results = list(ESLogLine.objects.filter(query)) except Exception as e: log.msg('ES Search Failed! - %s' % e) if 'SearchPhaseExecutionException' in str(e): return 'Invalid Query' else: return 'Something went wrong, please try again later' reply_to = channel if channel == self.nickname: reply_to = user # If small number of results, reply wherever if len(results) < 2: self.msg(reply_to, '%s results returned' % len(results)) for result in results: self.msg(reply_to, "[%s] <%s> %s" % (str(result.time), str(result.user), str(result.message))) # if a large amount of results, reply in a PM elif (len(results) >= 2) and (len(results) < 10): self.msg(reply_to, '%s results returned' % len(results)) for result in results: self.msg(user, "[%s] <%s> %s" % (str(result.time), str(result.user), str(result.message))) # if a *really* large amount of results, say no else: self.msg(reply_to, '%s results returned, narrow your search' % len(results)) def do_ignore(self, args): self.writeLog(args, None, IGNORE_EVENT) if args in self.ignorelist: return "%s is already ignored, I can't ignore %s any harder!" % (args, args) else: self.ignorelist.append(args) return "I'm now ignoring %s" % args def do_unignore(self, args): self.writeLog(args, None, UNIGNORE_EVENT) if args in self.ignorelist: self.ignorelist.remove(args) return "I'm paying attention to %s now" % args else: return "I already wasn't ignoring %s" % args def action(self, user, channel, msg): """This will get called when the bot sees someone do an action.""" #TODO: parse the acutal action out here user = user.split('!', 1)[0] self.writeLog(user, channel, msg, msg) # irc callbacks def irc_NICK(self, prefix, params): """Called when an IRC user changes their nickname.""" old_nick = prefix.split('!')[0] new_nick = params[0] self.writeLog(old_nick, None, NICK_EVENT, new_nick) def ctcpQuery_ACTION(self, user, channel, data): user = user.split('!', 1)[0] self.writeLog(user, channel, CTCPQUERY_EVENT, data) def alterCollidedNick(self, nickname): return settings.ALT_NICK class LogBotFactory(protocol.ClientFactory): def __init__(self): self.channels = settings.IRC_CHANNELS self.log_path = settings.LOG_FILE_PATH self.irc_host = settings.IRC_HOST def buildProtocol(self, addr): p = LogBot() p.factory = self return p def clientConnectionLost(self, connector, reason): print "connection failed:", reason connector.connect() def clientConnectionFailed(self, connector, reason): print "connection failed:", reason reactor.stop()
{ "content_hash": "bd8110c28c6c9f20c3c964d9572a8bef", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 88, "avg_line_length": 35.36585365853659, "alnum_prop": 0.5595402298850575, "repo_name": "racker/slogger", "id": "8fab93d3a2e2d4bcaf9334012e37b3723e661b94", "size": "9319", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "bot.py", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "JavaScript", "bytes": "47395" }, { "name": "Python", "bytes": "81316" } ], "symlink_target": "" }
#include <tinyxml2.h> #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> #include <list> #include <algorithm> #include <unistd.h> #include <map> #include <unordered_map> #include <vector> #include <string> #include <cstring> #include <ctime> #include "world.h" #include "channel.h" #include "player.h" #include "socket.h" #include "command.h" #include "component.h" #include "componentMeta.hpp" #include "ComponentFactory.h" #include "utils.h" #include "zone.h" #include "log.h" #include "option.h" #include "optionManager.h" #include "objectManager.h" #include "serializer.h" #include "event.h" #include "delayedEvent.h" #include "eventManager.h" #include "calloutManager.h" #include "com_gen.h" World* World::_ptr; World* World::GetPtr() { if (!World::_ptr) { World::_ptr = new World(); } return World::_ptr; } World::World() { _running = true; _chanid=1; _server = nullptr; _motd = nullptr; _banner = nullptr; _updates = 0; _totalUpdateTime = 0; _totalSleepTime = 0; _commands = 0; _commandElapsed = 0; //events events.RegisterEvent("LivingPulse"); events.RegisterEvent("WorldPulse"); events.RegisterEvent("PlayerConnect"); events.RegisterEvent("PlayerDisconnect"); events.RegisterEvent("PlayerCreated"); events.RegisterEvent("PlayerDeleted"); events.RegisterEvent("Shutdown"); events.RegisterEvent("Copyover"); events.RegisterEvent("ObjectLoaded"); events.RegisterEvent("ObjectDestroyed"); } World::~World() { if (_motd) { delete [] _motd; } if (_banner) { delete [] _banner; } for (auto cit: _channels) { delete cit.second; } for (auto cit: _state) { delete cit.second; } for (Zone* zone: _zones) { delete zone; } delete _server; } void World::InitializeServer() { _server=new Server(); } void World::Shutdown() { _pmanager.Shutdown(); SaveState(); events.CallEvent("Shutdown", NULL, static_cast<void*>(this)); _running = false; } void World::Copyover(Player* mobile) { std::list<Player*>* _users; int ruptime = (int)GetRealUptime(); FILE* copyover = NULL; char buff[16]; copyover=fopen(COPYOVER_FILE,"wb"); if (copyover==NULL) { mobile->Message(MSG_ERROR,"couldn't open the copyover file.\nCopyover will not continue."); return; } fprintf(copyover, "%d\n", ruptime); sockaddr_in* addr=NULL; //itterate through the players and write info to their copyover file: _users = _pmanager.GetPlayers(); for (auto person: *_users) { if (person->GetSocket()->GetConnectionType() != CON_Game) { person->Write("We're sorry, but we are currently rebooting; please come back again soon.\n"); person->GetSocket()->Kill(); continue; } addr=person->GetSocket()->GetAddr(); person->Save(); fprintf(copyover,"%d %s %hu %lu %s\n", person->GetSocket()->GetControl(), person->GetName().c_str(), addr->sin_port,(long int)addr->sin_addr.s_addr, person->GetSocket()->GetHost().c_str()); person->Write("Copyover initiated by "+mobile->GetName()+".\n"); } fprintf(copyover,"-1\n"); fclose(copyover); events.CallEvent("Copyover", NULL, static_cast<void*>(this)); snprintf(buff,16,"%d",_server->GetListener()); Update(); SaveState(); execl(BIN_FILE,BIN_FILE,"-c",buff,(char*)NULL); mobile->Write("Copyover failed!\n"); } Server* World::GetServer() const { return _server; } OlcManager* World::GetOlcManager() { return &_olcs; } ComponentFactory* World::GetComponentFactory() { return &_cfactory; } PlayerManager& World::GetPlayerManager() { return _pmanager; } OptionManager* World::GetOptionManager() { return &_options; } void World::GetChannelNames(std::list <std::string>* out) { for (auto it: _channels) { out->push_back(it.second->GetName()); } } bool World::ChannelExists(Channel* chan) { for (auto it: _channels) { if (it.second == chan) { return true; } } return false; } bool World::AddChannel(Channel* chan,bool command) { OptionMeta* opt = nullptr; if (!ChannelExists(chan)) { _channels[_chanid]=chan; opt = new OptionMeta(); opt->SetName(chan->GetName()); opt->SetHelp("Toggles the channel."); opt->SetToggle(true); opt->SetSection(OptionSection::Channel); opt->SetAccess(chan->GetAccess()); if (chan->GetName() == "newbie") { opt->SetValue(Variant(1)); } else { opt->SetValue(Variant(0)); } _options.AddOption(opt); if (command) { CMDChan* com = new CMDChan(); com->SetName(chan->GetName()); com->SetAccess(chan->GetAccess()); com->SetSubcmd(_chanid); if (chan->GetAlias() != "") { com->AddAlias(chan->GetAlias()); } commands.AddCommand(com); } _chanid++; return true; } return false; } Channel* World::FindChannel(int id) { if (!_channels.count(id)) { return NULL; } return _channels[id]; } Channel* World::FindChannel(const std::string &name) { //This method is a bit slower because we have to iterate through the mapping ourselves. for (auto it: _channels) { if ((it.second)->GetName()==name) { return (it.second); } } return NULL; } bool World::InitializeFiles() { struct stat fs; //holds file stats //load our banner: //retrieve size of file so we can create the buffer: if(stat(LOGIN_FILE, &fs)) { WriteLog(SeverityLevel::Fatal, "Could not stat login file."); return false; } _banner=new char[fs.st_size+1]; _banner[fs.st_size] = '\0'; //open and load the banner: FILE* banner_fd=fopen(LOGIN_FILE,"r"); if (!banner_fd) { WriteLog(SeverityLevel::Fatal, "Could not fopen banner file."); delete []_banner; _banner = NULL; return false; } if (fread(_banner,1, static_cast<size_t>(fs.st_size), banner_fd) != static_cast<size_t>(fs.st_size)) { WriteLog("SeverityLevel::Fatal, Error loading banner."); delete []_banner; _banner = NULL; fclose(banner_fd); return false; } fclose(banner_fd); //load our motd: //retrieve size of file so we can create the buffer: if (stat(MOTD_FILE, &fs)) { WriteLog(SeverityLevel::Fatal, "Could not stat MOTD file."); delete []_banner; _banner = NULL; return false; } _motd=new char[fs.st_size+1]; _motd[fs.st_size] = '\0'; FILE* motd_fd=fopen(MOTD_FILE,"r"); if (!motd_fd) { WriteLog(SeverityLevel::Fatal, "Could not fopen MOTD."); delete [] _banner; delete [] _motd; _motd = _banner = NULL; return false; } if (fread(_motd,1,static_cast<size_t>(fs.st_size), motd_fd) != static_cast<size_t>(fs.st_size)) { WriteLog(SeverityLevel::Fatal, "Error loading MOTD."); delete [] _motd; _banner = NULL; fclose(motd_fd); return false; } fclose(motd_fd); WriteLog("Files loaded successfully"); return true; } const char* World::GetBanner() const { return _banner; } const char* World::GetMotd() const { return _motd; } void World::UpdateZones() { for (auto zone: _zones) { zone->Update(); } } void World::Update() { timeval start, end; gettimeofday(&start, NULL); //checks for incoming connections or commands _server->PollSockets(); //flushes the output buffers of all sockets. _server->FlushSockets(); //update living objects: _pmanager.Update(); UpdateZones(); _objectManager.Update(); CalloutManager* callouts = CalloutManager::GetInstance(); callouts->Update(); _updates ++; gettimeofday(&end, NULL); _totalUpdateTime += ((end.tv_sec - start.tv_sec) * 1000000); _totalUpdateTime += (end.tv_usec - start.tv_usec); //sleep so that we don't kill our cpu _totalSleepTime += _server->Sleep(PULSES_PER_SECOND); } bool World::RegisterComponent(IComponentMeta* meta) { return _cfactory.RegisterComponent(meta->GetName(), meta); } Component* World::CreateComponent(const std::string &name) { return _cfactory.Create(name); } time_t World::GetRealUptime() const { return _ruptime; } void World::SetRealUptime(time_t tm) { _ruptime=tm; } time_t World::GetCopyoverUptime() const { return _cuptime; } void World::SetCopyoverUptime(time_t tm) { _cuptime=tm; } bool World::AddProperty(const std::string &name,void* ptr) { if (!_properties.count(name)) { _properties[name]=ptr; return true; } return false; } void* World::GetProperty(const std::string &name) { if (_properties.count(name)) { return _properties[name]; } return NULL; } bool World::RemoveProperty(const std::string &name) { if (_properties.count(name)) { _properties.erase(name); return true; } return false; } void World::ParseArguments(const std::string& args, int start, std::vector<std::string>& params) { int i = start; const char* line = args.c_str(); int len = strlen(line); // parse arguments for (; i < len; i++) { if (line[i] == ' ') continue; // is it a quoated argument if ((line[i] == '\'') || (line[i] == '"')) { char match = line[i]; i++; int arg_start = i; // loop until we reach the closing character for (; i < len; i++) { if (line[i] == match) { break; } } //push the quoted string. params.push_back(args.substr(arg_start, i - arg_start)); } //no quoted string, get the entire argument until we see a space. if (isprint(line[i])) { int arg_start = i; for (; i < len; i++) { if ((line[i] == ' ')) { break; } } params.push_back(args.substr(arg_start, i - arg_start)); } } } bool World::DoCommand(Player* mobile,std::string args) { timeval start, end; //measure execution time std::vector<Command*>* cptr = commands.GetPtr(); std::string cmd = ""; // the parsed command name const char *line = args.c_str(); // the command line int len = strlen(line); // get length of string int i = 0; // counter std::vector<std::string> params; // the parameters being passed to the command //std::list<Command*>* externals; //external commands //start measuring elapsed time. gettimeofday(&start, NULL); //handle special commands. if (args[0] == '\"' || args[0] == '\'') { cmd="say"; i = 1; //the arguments are just after the quote. } else if(args[0] == ':') { cmd="emote"; i=1; } else { // parse command name for (i = 0; i < len; i++) { if (line[i] == ' ') break; } // copy the command cmd = args.substr(0, i); } // are there any arguments to parse? if (i != len) { ParseArguments(args, i, params); } //locate and execute the command: //check the built-in commands first, then contents, then location. for (auto it: *cptr) { if ((it->GetName() == cmd)||(it->HasAlias(cmd, true))) { if (!mobile->HasAccess(it->GetAccess())) { return false; } //execute command. /*todo: add script command handling here.*/ it->Execute(it->GetName(), mobile, params, it->GetSubcmd()); gettimeofday(&end, NULL); _commandElapsed += ((end.tv_sec - start.tv_sec) * 1000000); _commandElapsed += (end.tv_usec-start.tv_usec); _commands ++; return true; } } //todo: check inventory and room commands here. /* location = (Room*)mobile->GetLocation(); if (location) { cptr = location->commands.GetPtr(); for (auto it: *cptr) { if ((it->GetName() == cmd)||(it->HasAlias(cmd, true))) { if (!mobile->HasAccess(it->GetAccess())) { return false; } it->Execute(it->GetName(), mobile, params, it->GetSubcmd()); gettimeofday(&end, NULL); _commandElapsed += ((end.tv_sec - start.tv_sec) * 1000000); _commandElapsed += (float)(end.tv_usec-start.tv_usec); _commands ++; return true; } } } */ return false; } bool World::AddZone(Zone* zone) { if (_zones.size()) { for (auto it:_zones) { if (it == zone) { return false; } } } _zones.push_back(zone); return true; } bool World::RemoveZone(Zone* zone) { std::vector<Zone*>::iterator it, itEnd; itEnd = _zones.end(); for (it = _zones.begin(); it != itEnd; ++it) { if (*it ==zone) { _zones.erase(it); return true; } } return false; } Zone* World::GetZone(const std::string &name) { for (auto it: _zones) { if (name==it->GetName()) { return it; } } return NULL; } bool World::GetZones(std::vector<Zone*> *zones) { std::copy(_zones.begin(), _zones.end(), std::back_inserter(*zones)); return true; } bool World::IsRunning() const { return _running; } void World::SetRunning(bool running) { _running = running; } bool World::PromptExists(char prompt) { return (_prompts.count(prompt)==0? false:true); } bool World::RegisterPrompt(char c, PROMPTCB callback) { if (PromptExists(c)) { return false; } _prompts[c] = callback; return true; } std::string World::BuildPrompt(const std::string &prompt, Player* mobile) { std::string::const_iterator it, itEnd; std::string ret; itEnd = prompt.end(); for (it = prompt.begin(); it != itEnd; ++it) { if ((*it) == '%' && ++it != itEnd) { if (PromptExists((*it))) { ret += (_prompts[(*it)])(mobile); } else { ret += '%'; ret+=(*it); } } else { ret += (*it); } } return ret; } bool World::AddState(const std::string &name, ISerializable* s) { if (StateExists(name)) { return false; } _state[name] = s; return true; } bool World::RemoveState(const std::string &name) { if (!StateExists(name)) { return false; } _state.erase(name); return true; } bool World::StateExists(const std::string &name) { return (_state.count(name)==1?true:false); } bool World::SaveState() { tinyxml2::XMLElement* element = nullptr; for (auto sit: _state) { tinyxml2::XMLDocument doc; doc.InsertEndChild(doc.NewDeclaration()); element = doc.NewElement("state"); element->SetAttribute("name", sit.first.c_str()); sit.second->Serialize(element); doc.InsertEndChild(element); doc.SaveFile((STATE_DIR+sit.first).c_str()); element = nullptr; } return true; } bool World::LoadState() { DIR* statedir = opendir(STATE_DIR); dirent* dir = NULL; //we need to open the directory for reading. if (!statedir) { return false; } while ((dir = readdir(statedir))) { if (dir->d_name[0] == '.') { continue; } tinyxml2::XMLDocument doc; std::string name; if (doc.LoadFile((std::string(STATE_DIR)+dir->d_name).c_str()) != tinyxml2::XML_NO_ERROR) { WriteLog(SeverityLevel::Warning, "Could not load"+std::string(dir->d_name)+" state file."); closedir(statedir); return false; } tinyxml2::XMLElement* root = doc.FirstChildElement("state")->ToElement(); name = root->Attribute("name"); if (!StateExists(name)) { WriteLog(SeverityLevel::Warning, "Could not find a matching registered state for "+name+" in the state register. This state will not be deserialized."); continue; } else { _state[name]->Deserialize(root); } } closedir(statedir); return true; } unsigned long long int World::GetUpdates() const { return _updates; } unsigned long long int World::GetUpdateTime() const { return _totalUpdateTime; } unsigned long long int World::GetSleepTime() const { return _totalSleepTime; } unsigned long long int World::GetCommands() const { return _commands; } unsigned long long int World::GetCommandTime() const { return _commandElapsed; } ObjectManager* World::GetObjectManager() { return &_objectManager; }
{ "content_hash": "95dd41b1a87d92eec74807fe42e65cf0", "timestamp": "", "source": "github", "line_count": 793, "max_line_length": 172, "avg_line_length": 24.639344262295083, "alnum_prop": 0.4955217769589027, "repo_name": "sorressean/Aspen", "id": "fffc21b75c4be772d9c32357a1c8455fbbbc5077", "size": "19539", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/world.cpp", "mode": "33188", "license": "mit", "language": [ { "name": "AMPL", "bytes": "452" }, { "name": "C", "bytes": "40045" }, { "name": "C++", "bytes": "2861649" }, { "name": "CMake", "bytes": "2680" }, { "name": "Makefile", "bytes": "1873" }, { "name": "Shell", "bytes": "504" } ], "symlink_target": "" }
<package> <name>rosserial_arduino</name> <version>0.7.1</version> <description> Libraries and examples for ROSserial usage on Arduino/AVR Platforms. </description> <author>Michael Ferguson</author> <author>Adam Stambler</author> <maintainer email="paul.bouchier@gmail.com">Paul Bouchier</maintainer> <maintainer email="mpurvis@clearpathrobotics.com">Mike Purvis</maintainer> <license>BSD</license> <url>http://ros.org/wiki/rosserial_arduino</url> <buildtool_depend>catkin</buildtool_depend> <build_depend>message_generation</build_depend> <run_depend>arduino-core</run_depend> <run_depend>rospy</run_depend> <run_depend>rosserial_msgs</run_depend> <run_depend>rosserial_client</run_depend> <run_depend>message_runtime</run_depend> </package>
{ "content_hash": "6b3ae77cf3420f6f192d045af1f90b39", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 76, "avg_line_length": 31.4, "alnum_prop": 0.7401273885350318, "repo_name": "CMUBOOST/BOOST_Stalker", "id": "81b68baa55117419f0a154db8586885203177778", "size": "785", "binary": false, "copies": "3", "ref": "refs/heads/master", "path": "rosserial/rosserial_arduino/package.xml", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "Arduino", "bytes": "2988" }, { "name": "C", "bytes": "109197" }, { "name": "C++", "bytes": "476049" }, { "name": "CMake", "bytes": "118700" }, { "name": "EmberScript", "bytes": "565" }, { "name": "Makefile", "bytes": "7360" }, { "name": "Processing", "bytes": "20189" }, { "name": "Python", "bytes": "176175" }, { "name": "Shell", "bytes": "68" } ], "symlink_target": "" }
``source`` ========== .. versionadded:: 1.15 The ``source`` function was added in Twig 1.15. .. versionadded:: 1.18.3 The ``ignore_missing`` flag was added in Twig 1.18.3. The ``source`` function returns the content of a template without rendering it: .. code-block:: jinja {{ source('template.html') }} {{ source(some_var) }} When you set the ``ignore_missing`` flag, Twig will return an empty string if the template does not exist: .. code-block:: jinja {{ source('template.html', ignore_missing = true) }} The function uses the same template loaders as the ones used to include templates. So, if you are using the filesystem loader, the templates are looked for in the paths defined by it. Arguments --------- * ``name``: The name of the template to read * ``ignore_missing``: Whether to ignore missing templates or not
{ "content_hash": "d44eba9e8781c525f0979d9f5835330a", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 79, "avg_line_length": 27.6875, "alnum_prop": 0.6580135440180587, "repo_name": "gustavokev/preescolar1", "id": "b3cbb7c5f5a2b89c1d55643a809ab167c96f19b9", "size": "886", "binary": false, "copies": "4", "ref": "refs/heads/master", "path": "vendor/twig/twig/doc/functions/source.rst", "mode": "33261", "license": "mit", "language": [ { "name": "ApacheConf", "bytes": "388" }, { "name": "CSS", "bytes": "32330" }, { "name": "HTML", "bytes": "8689942" }, { "name": "JavaScript", "bytes": "70482" }, { "name": "PHP", "bytes": "1931592" } ], "symlink_target": "" }
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class missing_page_error : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { this.Master.BodyClass = "mobile_support"; } }
{ "content_hash": "b5eec301f524d8583005179f0134331f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 60, "avg_line_length": 24.384615384615383, "alnum_prop": 0.6971608832807571, "repo_name": "caiters/Genie", "id": "704ddf0447105a3fa09845318613d2cc9a04643a", "size": "319", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "GenieSite/error-messages/404.aspx.cs", "mode": "33188", "license": "mit", "language": [ { "name": "ASP", "bytes": "249077" }, { "name": "C#", "bytes": "104898" }, { "name": "CSS", "bytes": "36771" }, { "name": "HTML", "bytes": "71205" }, { "name": "JavaScript", "bytes": "2917" } ], "symlink_target": "" }
namespace blink { class WebFormElement; class WebFrame; class WebNode; struct WebURLError; } namespace content { class RendererPpapiHost; class RenderFrame; class RenderFrameImpl; // Base class for objects that want to filter incoming IPCs, and also get // notified of changes to the frame. class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener, public IPC::Sender { public: // By default, observers will be deleted when the RenderFrame goes away. If // they want to outlive it, they can override this function. virtual void OnDestruct(); // Called when a Pepper plugin is created. virtual void DidCreatePepperPlugin(RendererPpapiHost* host) {} // Called when a load is explicitly stopped by the user or browser. virtual void OnStop() {} // Called when the RenderFrame visiblity is changed. virtual void WasHidden() {} virtual void WasShown() {} // These match the Blink API notifications virtual void DidCommitProvisionalLoad(bool is_new_navigation) {} virtual void DidStartProvisionalLoad() {} virtual void DidFailProvisionalLoad(const blink::WebURLError& error) {} virtual void DidFinishLoad() {} virtual void DidFinishDocumentLoad() {} virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context, int world_id) {} virtual void DidClearWindowObject() {} virtual void DidChangeName(const base::string16& name) {} virtual void DidChangeManifest() {} virtual void DidChangeScrollOffset() {} virtual void WillSendSubmitEvent(const blink::WebFormElement& form) {} virtual void WillSubmitForm(const blink::WebFormElement& form) {} // Called before FrameWillClose, when this frame has been detached from the // view, but has not been closed yet. This *will* be called when parent frames // are closing. NB: IPCs to the browser will fail silently by the time this // notification is sent. virtual void FrameDetached() {} // Called when the frame will soon be closed. This is the last opportunity to // send messages to the host (e.g., for clean-up, shutdown, etc.). This is // *not* called on child frames when parent frames are being closed. virtual void FrameWillClose() {} // Called when we receive a console message from Blink for which we requested // extra details (like the stack trace). |message| is the error message, // |source| is the Blink-reported source of the error (either external or // internal), and |stack_trace| is the stack trace of the error in a // human-readable format (each frame is formatted as // "\n at function_name (source:line_number:column_number)"). virtual void DetailedConsoleMessageAdded(const base::string16& message, const base::string16& source, const base::string16& stack_trace, int32 line_number, int32 severity_level) {} // Called when a compositor frame has committed. virtual void DidCommitCompositorFrame() {} // Called when the focused node has changed to |node|. virtual void FocusedNodeChanged(const blink::WebNode& node) {} // IPC::Listener implementation. bool OnMessageReceived(const IPC::Message& message) override; // IPC::Sender implementation. bool Send(IPC::Message* message) override; RenderFrame* render_frame() const; int routing_id() const { return routing_id_; } protected: explicit RenderFrameObserver(RenderFrame* render_frame); ~RenderFrameObserver() override; private: friend class RenderFrameImpl; // This is called by the RenderFrame when it's going away so that this object // can null out its pointer. void RenderFrameGone(); RenderFrame* render_frame_; // The routing ID of the associated RenderFrame. int routing_id_; DISALLOW_COPY_AND_ASSIGN(RenderFrameObserver); }; } // namespace content #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_
{ "content_hash": "ec72adba7fc5b488d29bab231a22af2c", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 80, "avg_line_length": 38.14150943396226, "alnum_prop": 0.6977491961414791, "repo_name": "CTSRD-SOAAP/chromium-42.0.2311.135", "id": "f2c429b5d971eeaf324d4717af698647ffc3909d", "size": "4553", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "content/public/renderer/render_frame_observer.h", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "AppleScript", "bytes": "8402" }, { "name": "Assembly", "bytes": "241154" }, { "name": "C", "bytes": "12370053" }, { "name": "C++", "bytes": "266788423" }, { "name": "CMake", "bytes": "27829" }, { "name": "CSS", "bytes": "813488" }, { "name": "Emacs Lisp", "bytes": "2360" }, { "name": "Go", "bytes": "13628" }, { "name": "Groff", "bytes": "5283" }, { "name": "HTML", "bytes": "20131029" }, { "name": "Java", "bytes": "8495790" }, { "name": "JavaScript", "bytes": "12980966" }, { "name": "LLVM", "bytes": "1169" }, { "name": "Logos", "bytes": "6893" }, { "name": "Lua", "bytes": "16189" }, { "name": "Makefile", "bytes": "208709" }, { "name": "Objective-C", "bytes": "1509363" }, { "name": "Objective-C++", "bytes": "7960581" }, { "name": "PLpgSQL", "bytes": "215882" }, { "name": "Perl", "bytes": "63937" }, { "name": "Protocol Buffer", "bytes": "432373" }, { "name": "Python", "bytes": "11147426" }, { "name": "Ragel in Ruby Host", "bytes": "104923" }, { "name": "Scheme", "bytes": "10604" }, { "name": "Shell", "bytes": "1207731" }, { "name": "Standard ML", "bytes": "4965" }, { "name": "VimL", "bytes": "4075" }, { "name": "nesC", "bytes": "18347" } ], "symlink_target": "" }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-analysis: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.8.1 / mathcomp-analysis - 0.3.13</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> mathcomp-analysis <small> 0.3.13 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-11-11 21:19:47 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-11-11 21:19:47 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-num base Num library distributed with the OCaml compiler base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.8.1 Formal proof management system num 0 The Num library for arbitrary-precision integer and rational arithmetic ocaml 4.05.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.05.0 Official 4.05.0 release ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.5 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Reynald Affeldt &lt;reynald.affeldt@aist.go.jp&gt;&quot; homepage: &quot;https://github.com/math-comp/analysis&quot; dev-repo: &quot;git+https://github.com/math-comp/analysis.git&quot; bug-reports: &quot;https://github.com/math-comp/analysis/issues&quot; license: &quot;CECILL-C&quot; synopsis: &quot;An analysis library for mathematical components&quot; description: &quot;&quot;&quot; This repository contains an experimental library for real analysis for the Coq proof-assistant and using the Mathematical Components library.&quot;&quot;&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] depends: [ &quot;coq&quot; { (&gt;= &quot;8.13&quot; &amp; &lt; &quot;8.16~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-ssreflect&quot; { (&gt;= &quot;1.12.0&quot; &amp; &lt; &quot;1.15~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-fingroup&quot; &quot;coq-mathcomp-algebra&quot; &quot;coq-mathcomp-solvable&quot; &quot;coq-mathcomp-field&quot; &quot;coq-mathcomp-finmap&quot; { (&gt;= &quot;1.5.1&quot; &amp; &lt; &quot;1.6~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-bigenough&quot; { (&gt;= &quot;1.0.0&quot;) } &quot;coq-hierarchy-builder&quot; { (&gt;= &quot;1.0.0&quot;) } ] tags: [ &quot;category:Mathematics/Real Calculus and Topology&quot; &quot;keyword:analysis&quot; &quot;keyword:topology&quot; &quot;keyword:real numbers&quot; &quot;date:2022-01-24&quot; &quot;logpath:mathcomp.analysis&quot; ] authors: [ &quot;Reynald Affeldt&quot; &quot;Yves Bertot&quot; &quot;Cyril Cohen&quot; &quot;Marie Kerjean&quot; &quot;Assia Mahboubi&quot; &quot;Damien Rouhling&quot; &quot;Pierre Roux&quot; &quot;Kazuhiko Sakaguchi&quot; &quot;Zachary Stone&quot; &quot;Pierre-Yves Strub&quot; &quot;Laurent Théry&quot; ] url { http: &quot;https://github.com/math-comp/analysis/archive/0.3.13.tar.gz&quot; checksum: &quot;sha512=3f508d94166dbf8a35924230fa1c6f2500c7206c77bd0dbd83cae3a9841d94f475706462a73042af573c2e9022b7cfa58856d263c51f94c35ef08650e2bae6d4&quot; }</pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-mathcomp-analysis.0.3.13 coq.8.8.1</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.8.1). The following dependencies couldn&#39;t be met: - coq-mathcomp-analysis -&gt; coq &gt;= dev -&gt; ocaml &gt;= 4.09.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;t be satisfied: - No available version of coq satisfies the constraints No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-mathcomp-analysis.0.3.13</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
{ "content_hash": "196b3c62016506a7881a1c97bbfa4d79", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 159, "avg_line_length": 42.036842105263155, "alnum_prop": 0.5636659571804182, "repo_name": "coq-bench/coq-bench.github.io", "id": "002eeef996277089c0dcaff34892cdb1ab04dbdd", "size": "8013", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "clean/Linux-x86_64-4.05.0-2.0.1/released/8.8.1/mathcomp-analysis/0.3.13.html", "mode": "33188", "license": "mit", "language": [], "symlink_target": "" }
<html><body> <h4>Windows 10 x64 (18362.113)</h4><br> <h2>_POWER_INFORMATION_LEVEL_INTERNAL</h2> <font face="arial"> PowerInternalAcpiInterfaceRegister = 0n0<br> PowerInternalS0LowPowerIdleInfo = 0n1<br> PowerInternalReapplyBrightnessSettings = 0n2<br> PowerInternalUserAbsencePrediction = 0n3<br> PowerInternalUserAbsencePredictionCapability = 0n4<br> PowerInternalPoProcessorLatencyHint = 0n5<br> PowerInternalStandbyNetworkRequest = 0n6<br> PowerInternalDirtyTransitionInformation = 0n7<br> PowerInternalSetBackgroundTaskState = 0n8<br> PowerInternalReservedDoNotUseEnum9 = 0n9<br> PowerInternalReservedDoNotUseEnum10 = 0n10<br> PowerInternalReservedDoNotUseEnum11 = 0n11<br> PowerInternalReservedDoNotUseEnum12 = 0n12<br> PowerInternalReservedDoNotUseEnum13 = 0n13<br> PowerInternalReservedDoNotUseEnum14 = 0n14<br> PowerInternalReservedDoNotUseEnum15 = 0n15<br> PowerInternalReservedDoNotUseEnum16 = 0n16<br> PowerInternalReservedDoNotUseEnum17 = 0n17<br> PowerInternalBootSessionStandbyActivationInformation = 0n18<br> PowerInternalSessionPowerState = 0n19<br> PowerInternalSessionTerminalInput = 0n20<br> PowerInternalSetWatchdog = 0n21<br> PowerInternalPhysicalPowerButtonPressInfoAtBoot = 0n22<br> PowerInternalExternalMonitorConnected = 0n23<br> PowerInternalHighPrecisionBrightnessSettings = 0n24<br> PowerInternalWinrtScreenToggle = 0n25<br> PowerInternalPpmQosDisable = 0n26<br> PowerInternalTransitionCheckpoint = 0n27<br> PowerInternalInputControllerState = 0n28<br> PowerInternalFirmwareResetReason = 0n29<br> PowerInternalPpmSchedulerQosSupport = 0n30<br> PowerInternalBootStatGet = 0n31<br> PowerInternalBootStatSet = 0n32<br> PowerInternalCallHasNotReturnedWatchdog = 0n33<br> PowerInternalBootStatCheckIntegrity = 0n34<br> PowerInternalBootStatRestoreDefaults = 0n35<br> PowerInternalHostEsStateUpdate = 0n36<br> PowerInternalGetPowerActionState = 0n37<br> PowerInternalBootStatUnlock = 0n38<br> PowerInternalWakeOnVoiceState = 0n39<br> PowerInternalDeepSleepBlock = 0n40<br> PowerInternalIsPoFxDevice = 0n41<br> PowerInternalPowerTransitionExtensionAtBoot = 0n42<br> PowerInternalProcessorBrandedFrequency = 0n43<br> PowerInternalTimeBrokerExpirationReason = 0n44<br> PowerInternalNotifyUserShutdownStatus = 0n45<br> PowerInternalPowerRequestTerminalCoreWindow = 0n46<br> PowerInternalProcessorIdleVeto = 0n47<br> PowerInternalPlatformIdleVeto = 0n48<br> PowerInternalIsLongPowerButtonBugcheckEnabled = 0n49<br> PowerInternalAutoChkCausedReboot = 0n50<br> PowerInternalSetWakeAlarmOverride = 0n51<br> PowerInternalDirectedFxAddTestDevice = 0n53<br> PowerInternalDirectedFxRemoveTestDevice = 0n54<br> PowerInternalDirectedFxSetMode = 0n56<br> PowerInternalRegisterPowerPlane = 0n57<br> PowerInternalSetDirectedDripsFlags = 0n58<br> PowerInternalClearDirectedDripsFlags = 0n59<br> PowerInternalRetrieveHiberFileResumeContext = 0n60<br> PowerInternalReadHiberFilePage = 0n61<br> PowerInformationInternalMaximum = 0n62<br> </font></body></html>
{ "content_hash": "720a762078a74e92cebbafcf7c6b6b7d", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 66, "avg_line_length": 48.33846153846154, "alnum_prop": 0.8112667091024824, "repo_name": "epikcraw/ggool", "id": "a4d738435fff1c70ee3f786d4b106fa240b4841f", "size": "3142", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "public/Windows 10 x64 (18362.113)/_POWER_INFORMATION_LEVEL_INTERNAL.html", "mode": "33188", "license": "mit", "language": [ { "name": "HTML", "bytes": "17631902" }, { "name": "JavaScript", "bytes": "552" } ], "symlink_target": "" }
<volume> <name>{{diskname}}</name> <capacity unit='GB'>{{disksize}}</capacity> <allocation unit='GB'>{{disksize}}</allocation> <target> <format type='raw'/> </target> </volume>
{ "content_hash": "d044aae6beeb95607ca1b9d337ba879b", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 63, "avg_line_length": 31.22222222222222, "alnum_prop": 0.41637010676156583, "repo_name": "Jumpscale/jumpscale_core8", "id": "9d55948abe01617390d1ecc6fbb085af9f91eb8c", "size": "281", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "lib/JumpScale/sal/kvm/templates/metadisk.xml", "mode": "33261", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "1113" }, { "name": "Cap'n Proto", "bytes": "9033" }, { "name": "Lua", "bytes": "12538" }, { "name": "Python", "bytes": "4343122" }, { "name": "Shell", "bytes": "7091" } ], "symlink_target": "" }
Episode ======= ### Prefix: epi ### Description Episodes are a set of quests that are linked by a storyline or area. ------------------------------------------------------------------------ `Function` is(oVariable) ------------- ### Description Checks whether the variable that is passed in is an Episode or not. ### Params - **oVariable** **(Variable)** - The variable that the function will check. This variable can be of any type. ### Return Value - **Boolean** - Whether the variable that was passed in is an Episode or not. ------------------------------------------------------------------------ `Method` \_\_eq(epiCompare) (Deprecated) ------------------------------- ### Description Determines if two Episodes are the same. ### Params - **epiCompare** **([Episode](../Classes/Episode.md))** - The episode being compared to this Episode. ### Return Value - **Boolean** - Whether the two Episodes are the same or not. ------------------------------------------------------------------------ `Method` \_\_gc() (Deprecated) --------------------- ### Description Manually calls the garbage collector on this Episode. ------------------------------------------------------------------------ `Method` EpisodeState\_Complete() (Deprecated) ------------------------------------- ------------------------------------------------------------------------ `Method` GetAllQuests(idQuestCategory) ----------------------------- ### Description Gets a list of all of the quests in the Episode that match the passed in category id and that have been unlocked by the player. ### Params - **idQuestCategory** **(Integer)** - The function will return all quests with this category. ### Return Value - **Array of [Quest](../Classes/Quest.md)** - An array of quests that have the same category as the one that was passed in and have been unlocked by the player. ------------------------------------------------------------------------ `Method` GetCategories() --------------- ### Description Gets a list of all of the QuestCategories that are used by quests in the Episode. ### Return Value - **Array of [QuestCategory](../Classes/QuestCategory.md)** - An array of QuestCategories that are used by quests in the Episode. ------------------------------------------------------------------------ `Method` GetConLevel() ------------- ### Description Gets the level that the player is expected to be in order to complete the Episode. ### Return Value - **Integer** - The level that the player is expected to be to complete the Episode. ------------------------------------------------------------------------ `Method` GetDesc() --------- ### Description Gets the description that should be shown for the Episode when it is incomplete. ### Return Value - **String** - The string that should be used as the Episode's description while it is incomplete. ------------------------------------------------------------------------ `Method` GetHub() -------- ------------------------------------------------------------------------ `Method` GetId() ------- ### Description Gets the Episode's id. ### Return Value - **Integer** - The Episode's id. ------------------------------------------------------------------------ `Method` GetProgress(idQuestCategory) ---------------------------- ### Description Gets information on the player's progress towards completing every quest of a specific category in this Episode. ### Params - **idQuestCategory** **(Integer)** - The function will get the Episode's progress for Quests whose category uses this id. ### Return Value - **Table** - A count of how many Quests the player has completed and how many the Episode has for the specified category. - **nTotal** **(Integer)** - The total number of Quests of the specified category that are in the Episode. - **nCompleted** **(Integer)** - The number of Quests of the specified category that the player has completed. ------------------------------------------------------------------------ `Method` GetQuest(idQuest) ----------------- ### Description Gets the Quest with the specified id if it is in this Episode. ### Params - **idQuest** **(Integer)** - The id of the Quest that the function will look for. ### Return Value - **[Quest](../Classes/Quest.md)** - The Quest whose id matches the one passed in. ------------------------------------------------------------------------ `Method` GetState() ---------- ### Description Gets the Episode's current state. ### Return Value - **Integer** - The Episode's current state. This value corresponds with the Episode.EpisodeState set of constants. ------------------------------------------------------------------------ `Method` GetSummary() ------------ ### Description Gets the description that should be shown for the Episode once it's complete. ### Return Value - **String** - The string that should be shown for the Episode's description once it's in the Completed state. ------------------------------------------------------------------------ `Method` GetTitle() ---------- ### Description Gets the Episode's title. ### Return Value - **String** - The Episode's title. ------------------------------------------------------------------------ `Method` GetTrackedQuests(idQuestCategory, bSortByDistance) -------------------------------------------------- ### Description Gets a list of tracked quests that have the specified QuestCategory and are part of the Episode. ### Params - **idQuestCategory** **(Integer)** - The id of the QuestCategory that the function will use to filter the results. - **bSortByDistance** **(Boolean)** - Whether the function should sort the results by distance, with the closest quests coming first in the list. ### Return Value - **Array of [Quest](../Classes/Quest.md)** - An array of Quests that are part of the Episode and have a QuestCategory whose id matches the one passed in. ------------------------------------------------------------------------ `Method` GetVisibleQuests(bShowCompleted, bShowOutLeveled, bSortByName, idQuestCategory) ------------------------------------------------------------------------------- ### Description Gets a list of Quests that are part of the Episode and match the filters that are flagged with the variables that are passed in ### Params - **bShowCompleted** **(Boolean)** - Whether completed quests should be added to the list or not. - **bShowOutLeveled** **(Boolean)** - Whether Quests whose con level are 10 below the player's effective level should be added to the list or not. - **bSortByName** **(Boolean)** - Whether the list should be sorted alphabetically by name or not. - **idQuestCategory** **(Integer)** - The Quests that are returned will be filtered by this QuestCategory id. ### Return Value - **Array of [Quest](../Classes/Quest.md)** - An array of Quests that has been filtered and possibly sorted by the variables that were passed into the function. ------------------------------------------------------------------------ `Method` GetZoneId() ----------- ### Description Gets the id number of the zone that the Episode takes place in. ### Return Value - **Integer** - The id number of the zone that the Episode is in. ------------------------------------------------------------------------ `Method` GetZoneName() ------------- ### Description Gets the name of the zone that the Episode is found in. ### Return Value - **String** - The name of the zone that the episode is in. ------------------------------------------------------------------------ `Method` IsRegionalStory() ----------------- ### Description Checks if the Episode is a Regional Story. Regional Stories are Episodes that take place in a specific region within a zone, but do not breadcrumb to other areas. ### Return Value - **Boolean** - Whether the Episode is a Regional Story or not. ------------------------------------------------------------------------ `Method` IsTaskOnly() ------------ ### Description Determines if the Episode only has Tasks. Tasks are Quests that are not part of any larger chain. ### Return Value - **Boolean** - Whether the Episode's Quests are all Tasks or not. ------------------------------------------------------------------------ `Method` IsWorldStory() -------------- ### Description Determines if the Episode is a World Story or not. World Stories are quest chains that span multiple zones. ### Return Value - **Boolean** - Whether the Episode is a World Story or not. ------------------------------------------------------------------------ `Method` IsZoneStory() ------------- ### Description Determines if the Episode is a Zone Story or not. Zone Stories are Episodes that span an entire zone. ### Return Value - **Boolean** - Whether the Episode is a Zone Story or not.
{ "content_hash": "0f1c33ea195d9a7542c2209ac1faa212", "timestamp": "", "source": "github", "line_count": 409, "max_line_length": 79, "avg_line_length": 23.141809290953546, "alnum_prop": 0.5082937136819863, "repo_name": "Hammster/wildstar-api-docs", "id": "e7b4b952f698a3079ea2a716ff18c05aeaf01497", "size": "9465", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "Classes/Episode.md", "mode": "33188", "license": "mit", "language": [], "symlink_target": "" }
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NodaTime.Annotations; using NodaTime.Utility; namespace NodaTime.Calendars { internal sealed class GregorianYearMonthDayCalculator : GJYearMonthDayCalculator { internal const int MinGregorianYear = -9998; internal const int MaxGregorianYear = 9999; // We precompute useful values for each month between these years, as we anticipate most // dates will be in this range. private const int FirstOptimizedYear = 1900; private const int LastOptimizedYear = 2100; private const int FirstOptimizedDay = -25567; private const int LastOptimizedDay = 47846; // The 0-based days-since-unix-epoch for the start of each month private static readonly int[] MonthStartDays = new int[(LastOptimizedYear + 1 - FirstOptimizedYear) * 12 + 1]; // The 1-based days-since-unix-epoch for the start of each year private static readonly int[] YearStartDays = new int[LastOptimizedYear + 1 - FirstOptimizedYear]; private const int DaysFrom0000To1970 = 719527; private const int AverageDaysPer10Years = 3652; // Ideally 365.2425 per year... static GregorianYearMonthDayCalculator() { // It's generally a really bad idea to create an instance before the static initializer // has completed, but we know its safe because we're only using a very restricted set of methods. var instance = new GregorianYearMonthDayCalculator(); for (int year = FirstOptimizedYear; year <= LastOptimizedYear; year++) { int yearStart = instance.CalculateStartOfYearDays(year); YearStartDays[year - FirstOptimizedYear] = yearStart; int monthStartDay = yearStart - 1; // See field description int yearMonthIndex = (year - FirstOptimizedYear) * 12; for (int month = 1; month <= 12; month++) { yearMonthIndex++; int monthLength = instance.GetDaysInMonth(year, month); MonthStartDays[yearMonthIndex] = monthStartDay; monthStartDay += monthLength; } } } /// <summary> /// Specifically Gregorian-optimized conversion from "days since epoch" to year/month/day. /// </summary> internal static YearMonthDayCalendar GetGregorianYearMonthDayCalendarFromDaysSinceEpoch(int daysSinceEpoch) { unchecked { if (daysSinceEpoch < FirstOptimizedDay || daysSinceEpoch > LastOptimizedDay) { return CalendarSystem.Iso.GetYearMonthDayCalendarFromDaysSinceEpoch(daysSinceEpoch); } // Divide by more than we need to, in order to guarantee that we only need to move forward. // We can still only be out by 1 year. int yearIndex = (daysSinceEpoch - FirstOptimizedDay) / 366; int indexValue = YearStartDays[yearIndex]; // Zero-based day of year int d = daysSinceEpoch - indexValue; int year = yearIndex + FirstOptimizedYear; bool isLeap = IsGregorianLeapYear(year); int daysInYear = isLeap ? 366 : 365; if (d >= daysInYear) { year++; d -= daysInYear; isLeap = IsGregorianLeapYear(year); } // The remaining code is copied from GJYearMonthDayCalculator (and tweaked) int startOfMonth; // Perform a hard-coded binary search to get the month. if (isLeap) { startOfMonth = ((d < 182) ? ((d < 91) ? ((d < 31) ? -1 : (d < 60) ? 30 : 59) : ((d < 121) ? 90 : (d < 152) ? 120 : 151)) : ((d < 274) ? ((d < 213) ? 181 : (d < 244) ? 212 : 243) : ((d < 305) ? 273 : (d < 335) ? 304 : 334))); } else { startOfMonth = ((d < 181) ? ((d < 90) ? ((d < 31) ? -1 : (d < 59) ? 30 : 58) : ((d < 120) ? 89 : (d < 151) ? 119 : 150)) : ((d < 273) ? ((d < 212) ? 180 : (d < 243) ? 211 : 242) : ((d < 304) ? 272 : (d < 334) ? 303 : 333))); } int month = startOfMonth / 29 + 1; int dayOfMonth = d - startOfMonth; return new YearMonthDayCalendar(year, month, dayOfMonth, CalendarOrdinal.Iso); } } internal GregorianYearMonthDayCalculator() : base(MinGregorianYear, MaxGregorianYear, AverageDaysPer10Years, -719162) { } internal override int GetStartOfYearInDays(int year) { // 2014-06-28: Tried removing this entirely (optimized: 5ns => 8ns; unoptimized: 11ns => 8ns) // Decided to leave it in, as the optimized case is so much more common. if (year < FirstOptimizedYear || year > LastOptimizedYear) { return base.GetStartOfYearInDays(year); } return YearStartDays[year - FirstOptimizedYear]; } internal override int GetDaysSinceEpoch([Trusted] YearMonthDay yearMonthDay) { // 2014-06-28: Tried removing this entirely (optimized: 8ns => 13ns; unoptimized: 23ns => 19ns) // Also tried computing everything lazily - it's a wash. // Removed validation, however - we assume that the parameter is already valid by now. unchecked { int year = yearMonthDay.Year; int monthOfYear = yearMonthDay.Month; int dayOfMonth = yearMonthDay.Day; if (year < FirstOptimizedYear || year > LastOptimizedYear - 1) { return base.GetDaysSinceEpoch(yearMonthDay); } int yearMonthIndex = (year - FirstOptimizedYear) * 12 + monthOfYear; return MonthStartDays[yearMonthIndex] + dayOfMonth; } } internal override void ValidateYearMonthDay(int year, int month, int day) => ValidateGregorianYearMonthDay(year, month, day); internal static void ValidateGregorianYearMonthDay(int year, int month, int day) { // Perform quick validation without calling Preconditions, then do it properly if we're going to throw // an exception. Avoiding the method call is pretty extreme, but it does help. if (year < MinGregorianYear || year > MaxGregorianYear || month < 1 || month > 12) { Preconditions.CheckArgumentRange(nameof(year), year, MinGregorianYear, MaxGregorianYear); Preconditions.CheckArgumentRange(nameof(month), month, 1, 12); } // If we've been asked for day 1-28, we're definitely okay regardless of month. if (day >= 1 && day <= 28) { return; } int daysInMonth = month == 2 && IsGregorianLeapYear(year) ? MaxDaysPerMonth[month - 1] : MinDaysPerMonth[month - 1]; if (day < 1 || day > daysInMonth) { Preconditions.CheckArgumentRange(nameof(day), day, 1, daysInMonth); } } protected override int CalculateStartOfYearDays(int year) { // Initial value is just temporary. int leapYears = year / 100; if (year < 0) { // Add 3 before shifting right since /4 and >>2 behave differently // on negative numbers. When the expression is written as // (year / 4) - (year / 100) + (year / 400), // it works for both positive and negative values, except this optimization // eliminates two divisions. leapYears = ((year + 3) >> 2) - leapYears + ((leapYears + 3) >> 2) - 1; } else { leapYears = (year >> 2) - leapYears + (leapYears >> 2); if (IsLeapYear(year)) { leapYears--; } } return year * 365 + (leapYears - DaysFrom0000To1970); } // Override GetDaysInYear so we can avoid a pointless virtual method call. internal override int GetDaysInYear(int year) => IsGregorianLeapYear(year) ? 366 : 365; internal override bool IsLeapYear(int year) => IsGregorianLeapYear(year); private static bool IsGregorianLeapYear(int year) => ((year & 3) == 0) && ((year % 100) != 0 || (year % 400) == 0); } }
{ "content_hash": "e10610ea67147ddb6af1ddf41840fb7a", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 133, "avg_line_length": 47.487046632124354, "alnum_prop": 0.5446808510638298, "repo_name": "jskeet/nodatime", "id": "d408475ac57f7e75033bdce3d1e9ce8e6f24d9a7", "size": "9167", "binary": false, "copies": "2", "ref": "refs/heads/main", "path": "src/NodaTime/Calendars/GregorianYearMonthDayCalculator.cs", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "C#", "bytes": "3297625" }, { "name": "Makefile", "bytes": "2891" }, { "name": "Shell", "bytes": "32479" } ], "symlink_target": "" }
package org.drools.planner.core.heuristic.selector.move.decorator; import java.util.Arrays; import java.util.List; import org.drools.planner.core.heuristic.selector.SelectorTestUtils; import org.drools.planner.core.heuristic.selector.common.SelectionCacheType; import org.drools.planner.core.heuristic.selector.common.decorator.SelectionFilter; import org.drools.planner.core.heuristic.selector.move.MoveSelector; import org.drools.planner.core.move.DummyMove; import org.drools.planner.core.phase.AbstractSolverPhaseScope; import org.drools.planner.core.phase.step.AbstractStepScope; import org.drools.planner.core.score.director.ScoreDirector; import org.drools.planner.core.solver.scope.DefaultSolverScope; import org.junit.Test; import static org.drools.planner.core.testdata.util.PlannerAssert.*; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.*; public class FilteringMoveSelectorTest { @Test public void cacheTypeSolver() { runCacheType(SelectionCacheType.SOLVER, 1); } @Test public void cacheTypePhase() { runCacheType(SelectionCacheType.PHASE, 2); } @Test public void cacheTypeStep() { runCacheType(SelectionCacheType.STEP, 5); } @Test public void cacheTypeJustInTime() { runCacheType(SelectionCacheType.JUST_IN_TIME, 5); } public void runCacheType(SelectionCacheType cacheType, int timesCalled) { MoveSelector childMoveSelector = SelectorTestUtils.mockMoveSelector(DummyMove.class, new DummyMove("e1"), new DummyMove("e2"), new DummyMove("e3"), new DummyMove("e4")); SelectionFilter<DummyMove> moveFilter = new SelectionFilter<DummyMove>() { public boolean accept(ScoreDirector scoreDirector, DummyMove move) { return !move.getCode().equals("e3"); } }; List<SelectionFilter> moveFilterList = Arrays.<SelectionFilter>asList(moveFilter); MoveSelector moveSelector = new FilteringMoveSelector(childMoveSelector, moveFilterList); if (cacheType.isCached()) { moveSelector = new CachingMoveSelector(moveSelector, cacheType, false); } DefaultSolverScope solverScope = mock(DefaultSolverScope.class); moveSelector.solvingStarted(solverScope); AbstractSolverPhaseScope phaseScopeA = mock(AbstractSolverPhaseScope.class); when(phaseScopeA.getSolverScope()).thenReturn(solverScope); moveSelector.phaseStarted(phaseScopeA); AbstractStepScope stepScopeA1 = mock(AbstractStepScope.class); when(stepScopeA1.getPhaseScope()).thenReturn(phaseScopeA); moveSelector.stepStarted(stepScopeA1); assertAllCodesOfEndingMoveSelector(moveSelector, (cacheType.isNotCached() ? 4L : 3L), "e1", "e2", "e4"); moveSelector.stepEnded(stepScopeA1); AbstractStepScope stepScopeA2 = mock(AbstractStepScope.class); when(stepScopeA2.getPhaseScope()).thenReturn(phaseScopeA); moveSelector.stepStarted(stepScopeA2); assertAllCodesOfEndingMoveSelector(moveSelector, (cacheType.isNotCached() ? 4L : 3L), "e1", "e2", "e4"); moveSelector.stepEnded(stepScopeA2); moveSelector.phaseEnded(phaseScopeA); AbstractSolverPhaseScope phaseScopeB = mock(AbstractSolverPhaseScope.class); when(phaseScopeB.getSolverScope()).thenReturn(solverScope); moveSelector.phaseStarted(phaseScopeB); AbstractStepScope stepScopeB1 = mock(AbstractStepScope.class); when(stepScopeB1.getPhaseScope()).thenReturn(phaseScopeB); moveSelector.stepStarted(stepScopeB1); assertAllCodesOfEndingMoveSelector(moveSelector, (cacheType.isNotCached() ? 4L : 3L), "e1", "e2", "e4"); moveSelector.stepEnded(stepScopeB1); AbstractStepScope stepScopeB2 = mock(AbstractStepScope.class); when(stepScopeB2.getPhaseScope()).thenReturn(phaseScopeB); moveSelector.stepStarted(stepScopeB2); assertAllCodesOfEndingMoveSelector(moveSelector, (cacheType.isNotCached() ? 4L : 3L), "e1", "e2", "e4"); moveSelector.stepEnded(stepScopeB2); AbstractStepScope stepScopeB3 = mock(AbstractStepScope.class); when(stepScopeB3.getPhaseScope()).thenReturn(phaseScopeB); moveSelector.stepStarted(stepScopeB3); assertAllCodesOfEndingMoveSelector(moveSelector, (cacheType.isNotCached() ? 4L : 3L), "e1", "e2", "e4"); moveSelector.stepEnded(stepScopeB3); moveSelector.phaseEnded(phaseScopeB); moveSelector.solvingEnded(solverScope); verifySolverPhaseLifecycle(childMoveSelector, 1, 2, 5); verify(childMoveSelector, times(timesCalled)).iterator(); verify(childMoveSelector, times(timesCalled)).getSize(); } }
{ "content_hash": "51c0976ac3cbe94f0d67b47bf7fa16da", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 112, "avg_line_length": 42.77391304347826, "alnum_prop": 0.7306363081927221, "repo_name": "cyberdrcarr/optaplanner", "id": "ce7b673d154c618e6f732260bdf278f08ce157a9", "size": "5512", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "drools-planner-core/src/test/java/org/drools/planner/core/heuristic/selector/move/decorator/FilteringMoveSelectorTest.java", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
<?php namespace Flikore\Validator\Validators; /** * Tests for ExactValueValidator class. * * @author George Marques <george at georgemarques.com.br> * @version 0.5.2 * @since 0.3 * @license http://opensource.org/licenses/MIT MIT * @copyright (c) 2014, George Marques * @package Flikore\Validator * @category Tests */ class ExactValueValidatorTest extends \PHPUnit_Framework_TestCase { /** * @var ExactValueValidator */ //protected $object; /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ protected function setUp() { //$this->object = new ExactValueValidator; } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { } public function testSuccess() { $v = new ExactValueValidator(5); $this->assertTrue($v->validate(5)); } public function testFailure() { $v = new ExactValueValidator(5); $this->assertFalse($v->validate(7)); $this->assertFalse($v->validate(2)); } /** * @expectedException \InvalidArgumentException */ public function testInvalidValueArgument() { new ExactValueValidator('aa'); } public function testValidateEmptyValue() { $val = new ExactValueValidator(5); $this->assertTrue($val->validate('')); $this->assertTrue($val->validate(null)); } /** * @expectedException \InvalidArgumentException */ public function testErrorNullValueArgument() { new ExactValueValidator(null); } }
{ "content_hash": "9bd9246c42d83383638c285deceb09c0", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 72, "avg_line_length": 22.20253164556962, "alnum_prop": 0.6185860889395667, "repo_name": "flikore/validator", "id": "010b266cbfe91492bc61e9076ad01ac01336c37b", "size": "2924", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "unittests/src/Flikore/Validator/Validators/ExactValueValidatorTest.php", "mode": "33188", "license": "mit", "language": [ { "name": "PHP", "bytes": "306417" } ], "symlink_target": "" }
Robot-Base ========== The bare mininum code needed to make the drivetrain move.
{ "content_hash": "45fd9122f1f20255211f58c86341141a", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 57, "avg_line_length": 20.25, "alnum_prop": 0.691358024691358, "repo_name": "BVT-Team-61/Robot-Base", "id": "05b025ad8ceb70eb87ad8a54664607c0fc58b96b", "size": "81", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "README.md", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "Java", "bytes": "12871" } ], "symlink_target": "" }
package org.ampathkenya.utils; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; public class FileUtils { private FileReader fileReader = null ; private FileWriter fileWriter = null ; private String filePath = "" ; private File file = null ; public FileUtils(String filePath) { this.filePath = filePath ; file = new File(filePath) ; } public String read() throws IOException { fileReader = new FileReader(file); char[] fileContents = new char[(int) file.length()] ; fileReader.read(fileContents) ; fileReader = null ; return new String(fileContents) ; } public void write(String content) throws IOException { fileWriter = new FileWriter(new File(filePath), false) ; fileWriter.write(content) ; fileWriter.close(); fileWriter = null ; } public void deleteFile() { if(filePath != null) { file.delete() ; } } }
{ "content_hash": "5adcbe603b54c3e6f0dcf672fa4398d6", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 64, "avg_line_length": 25.21951219512195, "alnum_prop": 0.6237911025145068, "repo_name": "Reagan/CSVToSQLConverter", "id": "685101cf11794d585ab81d2d7b40189c3e1e588d", "size": "1034", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/main/java/org/ampathkenya/utils/FileUtils.java", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Java", "bytes": "51250" } ], "symlink_target": "" }
#import <Foundation/Foundation.h> #import "macros.h" #import "GDOperation.h" /** * @file GDOperationsController.h * * Header file for GDOperationsController. */ /** * The GDOperationsController is a controller you should use * to expose methods to run GDBaseOperation instances. This helps break * apart logic by making sure your operations use libdispatch (GCD). * * Generally you want to expose a method (with optional parameters) that * just kick of an instance of an GDBaseOperation. * * Set completion blocks on the operations which call a "complete" method on * this operation controller, which in turn trigger the callback. * * Here's an example: * @code * // these are inside of your subclassed GDOperationsController: * - (void) runSomeOperationWithCallback:(GDCallback *) _callback { * [_callback retain]; * GDBaseOperation * op = [[[GDBaseOperation alloc] init] autorelease]; * NSOperationQueue * q = [[NSOperationQueue alloc] init]; * [self addToCancelables:q]; * [op setCompletionBlock:^{ * [self removeFromCancelables:q]; * [q release]; * [self onMyOperationComplete:_callback]; * [_callback autorelease]; * }]; * [q addOperation:op]; * } * * - (void) onMyOperationComplete:(GDCallback) _callback { * //...do something. * [_callback execute]; * } * * // somewhere else: * - (void) someMethod { * GDCallback * cb = [[[GDCallback alloc] initWithTarget:self andAction:@selector(onOperationComplete)] autorelease]; * [cb setExecutesOnMainThread:true]; * [[gd operations] runSomeOperationWithCallback:cb]; * } * * - (void) onOperationComplete { * NSLog(@"finished operation"); * } * @endcode * * You should also keep track of all running operations and queues and make sure they * can be canceled. For a catch all generic way you can use the addToCancelables: * and removeFromCancelables: methods. If you add more logic and canceling behavior * make sure to override the cancelAll method, write your own logic, then call * [super cancelAll]. */ @interface GDOperationsController : NSObject { /** * Whether or not the operation controller is currently canceling * all operations; a flag for thread safety. */ BOOL cancelingAll; /** * An array used to store running operations or queues which can be canceled * when cancelAll is called. */ NSMutableArray * cancelables; } /** * Cancel's all operations in the "cancelables" property. */ - (void) cancelAll; /** * Add an object to the list of cancelables. * * @param _obj An NSOperation, or NSOperationQueue; or any subclasses like GDBaseOperation, etc. */ - (void) addToCancelables:(id) _obj; /** * Remove an object from the list of cancelables. * * @param _obj An NSOperation, or NSOperationQueue; or any subclasses like GDBaseOperation, etc. */ - (void) removeFromCancelables:(id) _obj; @end
{ "content_hash": "490044f2c866b8c127f5c742b85a7373", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 118, "avg_line_length": 29.577319587628867, "alnum_prop": 0.7079121645172534, "repo_name": "wave2future/gdkit", "id": "8164f4a331fecb85d54a0cdbfe836641093559a9", "size": "2869", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "source/mac/GDOperationsController.h", "mode": "33188", "license": "bsd-2-clause", "language": [], "symlink_target": "" }
using System; using System.Threading.Tasks; namespace AsyncFriendlyStackTrace.Test { internal class Example1 : IExample { public async Task Run() { await A(); } private async Task A() { await B(); } private async Task B() { await C(); } private async Task C() { await Task.Yield(); throw new Exception("Crash! Boom! Bang!"); } } }
{ "content_hash": "fcbb02cde1f7d5317242a0fbe6fbd7ec", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 54, "avg_line_length": 17.310344827586206, "alnum_prop": 0.46215139442231074, "repo_name": "aelij/AsyncFriendlyStackTrace", "id": "ebaa90f3909901ff81c1125aca8a3503c884bb85", "size": "502", "binary": false, "copies": "1", "ref": "refs/heads/main", "path": "src/AsyncFriendlyStackTrace.Test/Example1.cs", "mode": "33188", "license": "mit", "language": [ { "name": "C#", "bytes": "19477" } ], "symlink_target": "" }
package snippets import ( "bytes" "context" "fmt" "math/rand" "strings" "testing" "time" compute "cloud.google.com/go/compute/apiv1" "github.com/GoogleCloudPlatform/golang-samples/internal/testutil" computepb "google.golang.org/genproto/googleapis/cloud/compute/v1" ) func TestFirewallSnippets(t *testing.T) { ctx := context.Background() firewallsClient, err := compute.NewFirewallsRESTClient(ctx) if err != nil { t.Fatalf("NewInstancesRESTClient: %v", err) } defer firewallsClient.Close() var seededRand *rand.Rand = rand.New( rand.NewSource(time.Now().UnixNano())) tc := testutil.SystemTest(t) buf := &bytes.Buffer{} firewallRuleName := "test-firewall-rule" + fmt.Sprint(seededRand.Int()) defaultNetwork := "global/networks/default" if err := createFirewallRule(buf, tc.ProjectID, firewallRuleName, defaultNetwork); err != nil { t.Fatalf("createFirewallRule got err: %v", err) } expectedResult := "Firewall rule created" if got := buf.String(); !strings.Contains(got, expectedResult) { t.Errorf("createFirewallRule got %q, want %q", got, expectedResult) } buf.Reset() req := &computepb.GetFirewallRequest{ Project: tc.ProjectID, Firewall: firewallRuleName, } firewallBefore, err := firewallsClient.Get(ctx, req) if err != nil { t.Errorf("unable to get firewall rule: %v", err) } if firewallBefore.GetPriority() != 1000 { t.Errorf(fmt.Sprintf("Got: %q; want %q", firewallBefore.GetPriority(), 1000)) } var newFirewallPriority int32 = 500 if err := patchFirewallPriority(buf, tc.ProjectID, firewallRuleName, newFirewallPriority); err != nil { t.Fatalf("patchFirewallPriority got err: %v", err) } expectedResult = "Firewall rule updated" if got := buf.String(); !strings.Contains(got, expectedResult) { t.Errorf("patchFirewallPriority got %q, want %q", got, expectedResult) } firewallAfter, err := firewallsClient.Get(ctx, req) if err != nil { t.Errorf("unable to get firewall rule: %v", err) } if firewallAfter.GetPriority() != newFirewallPriority { t.Errorf(fmt.Sprintf("Got: %q; want %q", firewallAfter.GetPriority(), newFirewallPriority)) } buf.Reset() if err := listFirewallRules(buf, tc.ProjectID); err != nil { t.Fatalf("listFirewallRules got err: %v", err) } expectedResult = fmt.Sprintf("- %s:", firewallRuleName) if got := buf.String(); !strings.Contains(got, expectedResult) { t.Errorf("listFirewallRules got %q, want %q", got, expectedResult) } buf.Reset() if err := deleteFirewallRule(buf, tc.ProjectID, firewallRuleName); err != nil { t.Errorf("deleteFirewallRule got err: %v", err) } expectedResult = "Firewall rule deleted" if got := buf.String(); !strings.Contains(got, expectedResult) { t.Errorf("deleteFirewallRule got %q, want %q", got, expectedResult) } }
{ "content_hash": "6b444877a8107261b5d6d3220bd3fd8f", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 104, "avg_line_length": 28.428571428571427, "alnum_prop": 0.7096195262024407, "repo_name": "GoogleCloudPlatform/golang-samples", "id": "e0610fd1a7dcce97cd1227687b83cffdcb0ca73c", "size": "3375", "binary": false, "copies": "1", "ref": "refs/heads/main", "path": "compute/firewall/firewall_test.go", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "686" }, { "name": "Dockerfile", "bytes": "35554" }, { "name": "Go", "bytes": "4126048" }, { "name": "HTML", "bytes": "20714" }, { "name": "Makefile", "bytes": "528" }, { "name": "Shell", "bytes": "30933" } ], "symlink_target": "" }
[This document is formatted with GitHub-Flavored Markdown. ]:# [For better viewing, including hyperlinks, read it online at ]:# [https://github.com/sourceryinstitute/OpenCoarrays/blob/master/CAF_API.md]:# OpenCoarrays Application Binary Interface (ABI) =============================================== [![Download as PDF][pdf img]](http://md2pdf.herokuapp.com/sourceryinstitute/OpenCoarrays/blob/master/CAF_ABI.pdf) Download this file as a PDF document [here](http://md2pdf.herokuapp.com/sourceryinstitute/OpenCoarrays/blob/master/CAF_ABI.pdf). * [To Do](#to-do) * [Implementation status](#implementation-status) * [Definitions and types](#definitions-and-types) * [Provided functions](#provided-functions) This document describes the OpenCoarrays application binary interface (ABI) through which a compiler accesses coarray functionality. As such, the target audience for this document is compiler developers. Most application developers need only write standard-conforming Fortran 2008 or 2015 and compile their code with the OpenCoarrays `caf` compiler wrapper without knowledge of the ABI. The actual function names in this document have a PREFIX in the source code to avoid name clashes. The prefix can be vendor-specific. ### Warning ### *This document may be out of date.* To Do ----- * [ ] Discuss the current draft * [ ] Add missing functions of the current gfortran implementation * [ ] Address the TODO items * [ ] Extend the functions to match a sensible set * [ ] Update the implementation status, especially for the ARMCI library Implementation status --------------------- The library implementation in this directory should be ABI-compatible with the wording below, except for some `int errmsg_len` vs. `size_t` changes that have not yet been implemented. Definitions and types --------------------- ### 2.1 `caf_token_t` ### Typedef of type `void *` on the compiler side. Can be any data type on the library side. ### 2.2 `caf_register_t` ### Type indicating which kind of coarray variable should be registered. ```c typedef enum caf_register_t { CAF_REGTYPE_COARRAY_STATIC, CAF_REGTYPE_COARRAY_ALLOC, CAF_REGTYPE_LOCK_STATIC, CAF_REGTYPE_LOCK_ALLOC, CAF_REGTYPE_CRITICAL, CAF_REGTYPE_EVENT_STATIC, CAF_REGTYPE_EVENT_ALLOC } caf_register_t; ``` __TODO__: Check whether this set is complete and makes sense ### 2.3 `caf_token_t` ### In terms of the processor, an opaque pointer, which is used to identify a coarray. The exact content is implementation-defined by the library. ### 2.4 Stat values ### ```c #define STAT_UNLOCKED 0 #define STAT_LOCKED 1 #define STAT_LOCKED_OTHER_IMAGE 2 #define STAT_STOPPED_IMAGE 6000 ``` __TODO__: Define more, allow room for lib-specific values, update for [TS18508]. Do we need to take care of special vendor choices? __Note__: Some values have to be such that they differ from certain other values. Provided functions ------------------ ### 3.1 Initialization function ### ```c void caf_init (int *argc, char ***argv) ``` This function shall be called at startup of the program before the Fortran main program. It takes as arguments the command-line arguments of the program. It is permitted to pass to NULL pointers as argument; if non-NULL, the library is permitted to modify the arguments. | Argument | `intent` | description | | ------ | ------ | ------ | | `argc` | `inout` | An integer pointer with the number of arguments passed to the program or NULL. | | `argv` | `inout` | A pointer to an array of strings with the command-line arguments or NULL. | __Note__: The function is modeled after the initialization function of the Message Passing Interface (MPI) specification. Due to the way coarray registration (3.5) works, it might not be the first call to the libaray. If the main program is not written in Fortran and only a library uses coarrays, it can happen that this function is never called. Therefore, it is recommended that the library does not rely on the passed arguments and whether the call has been done. __GCC__: In gfortran, the function is generated when the Fortran main program is compiled with -fcoarray=lib; the call happens before the run-time library initialiation such that changes to the command-line arguments will be visible when the command-line intrinsics are invoked. ### 3.2 Finalization function ### ```c void caf_finish (void) ``` This function shall be called at the end of the program to permit a graceful shutdown. __Note__: It is recommended to add this call at the end of the Fortran main program and when invoking `STOP`. To ensure that the shutdown is also performed for programs where this function is not explicitly invoked, for instance non-Fortran programs or calls to the system's `exit()` function, the library can use a destructor function. Note that programs can also be terminated using the `ERROR STOP` statement, which is handled via its own library call. __GCC__: In gfortran, this function is called at the end of the Fortran main program and when before the program stops with a `STOP` command, the respective file has been compiled with the `-fcoarray=lib` option. ### 3.3 Querying the image number ### ```c int caf_this_image (int distance) ``` This function returns the current image number, which is a positive number. | Argument | description | | ------ | ------ | | `distance` | As specified for the `this_image` intrinsic in [TS18508]. Shall be a nonnegative number. | __Note__: If the Fortran intrinsic `this_image()` is invoked without an argument, which is the only permitted form in Fortran 2008, the processor shall pass 0 as first argument. __GCC__: (No special note.) ### 3.4 Querying the maximal number of images ### ```c int caf_num_images (int distance, int failed) ``` This function returns the number of images in the current team, if distance is 0 or the number of images in the parent team at the specified distance. If failed is -1, the function returns the number of all images at the specified distance; if it is 0, the function returns the number of non-failed images, and if it is 1, it returns the number of failed images. | Argument | description | | ------ | ------ | | `distance` | the distance from this image to the ancestor. Shall be positive. | | `failed` | shall be -1, 0, or 1 | __Note__: This function follows [TS18508]. If the `num_image` intrinsic has no arguments, the processor shall pass `distance = 0` and `failed = -1` to the function. __GCC__: (No special note.) ### 3.5 Registering coarrays ### ```c void *caf_register (size_t size, caf_register_t type, caf_token_t *token, int *stat, char *errmsg, int errmsg_len) ``` Allocates memory for a coarray and creates a token to identify the coarray. The function is called for both coarrays with `SAVE` attribute and using an explicit `ALLOCATE` statement. If an error occurs and `STAT` is a `NULL` pointer, the function shall abort with printing an error message and starting the error termination. If no error occurs and `STAT=` is present, it shall be set to zero. Otherwise, it shall be set to a positive value and, if not-@code{NULL}, @var{ERRMSG} shall be set to a string describing the failure. The function returns a pointer to the requested memory for the local image as a call to `malloc` would do. For `CAF_REGTYPE_COARRAY_STATIC` and `CAF_REGTYPE_COARRAY_ALLOC`, the passed size is the byte size requested. For `CAF_REGTYPE_LOCK_STATIC`, `CAF_REGTYPE_LOCK_ALLOC` and `CAF_REGTYPE_CRITICAL` it is the array size or one for a scalar. | Argument | description | | ------ | ------ | | `size` | For normal coarrays, the byte size of the coarray to be allocated; for lock types, the number of elements. | | `type` | one of the `caf_register_t` types. Possible values: `CAF_REGTYPE_COARRAY_STATIC` - for nonallocatable coarrays `CAF_REGTYPE_COARRAY_ALLOC` - for allocatable coarrays `CAF_REGTYPE_LOCK_STATIC` - for nonallocatable lock variables `CAF_REGTYPE_LOCK_ALLOC` - for allocatable lock variables `CAF_REGTYPE_CRITICAL` - for lock variables used for critical sections | | `token` | `intent(out)` An opaque pointer identifying the coarray. | | `stat` | `intent(out)` For allocatable coarrays, stores the `STAT=`; may be `NULL` | | `errmsg` | intent(out) When an error occurs, this will be set to an error message; may be `NULL` | | `errmgs_len` | the buffer size of errmsg. | __TODO__: - [ ] Check whether the locking should be handled like that and whether one needs more, e.g. for locking types in DT? - [ ] Check whether one needs an additional function for to register coarrays which are in static memory and used without memory allocation, i.e. just to register the address. - [ ] Check whether we need an explicit `SYNC ALL` at the beginning of the main program or whether we can do without. - [ ] Does [TS18508] require more for `SAVE` within teams or within blocks? __Note__: Non-allocatable coarrays have to be registered prior use from remote images. In order to guarantee this, they have to be registered before the main program. This can be achieved by creating constructor functions. When using `caf_register`, also non-allocatable coarrays the memory is allocated and no static memory is used. For normal coarrays, the returned pointer is used for accesses on the local image. For lock types, the value shall only used for checking the allocation status. Note that for critical blocks, the locking is only required on one image; in the locking statement, the processor shall always pass always an image index of one for critical-section lock variables (`CAF_REGTYPE_CRITICAL`). __GCC__: (no special notes) __TODO__: Change `errmsg_len` to `size_t` ### 3.6 Deregistering coarrays ### ```c void caf_deregister (const caf_token_t *token, int *stat, char *errmsg, size_t errmsg_len) ``` Called to free the memory of a coarray; the processor calls this function for automatic and explicit deallocation. In case of an error, this function shall fail with an error message, unless the `STAT=` variable is not null. | Argument | `intent` | description | | ------ | ------ | ----- | | `token` | `inout` | An opaque pointer identifying the coarray. | | `stat` | `out` | For allocatable coarrays, stores the `STAT=`; may be `NULL` | | `errmsg` | `out` | When an error occurs, this will be set to an error message, may be `NULL` | | `errmgs_len` | | the buffersize of `errmsg`. | __Note__: The implementation is permitted to set the token to `NULL`. However, it is not required to do so. For nonalloatable coarrays this function is never called. If a cleanup is required, it has to be handled via the finish, stop and error stop functions, and via destructors. __GCC__: (no special notes) __TODO__: Change `errmsg_len` to `size_t` ### 3.7 Sending data from a local image to a remote image ### ```c void caf_send (caf_token_t token, size_t offset, int image_index, gfc_descriptor_t *dest, caf_vector_t *dst_vector, gfc_descriptor_t *src, int dst_kind, int src_kind) ``` Called to send a scalar, an array section or whole array from a local to a remote image identified by the `image_index`. | Argument | description | | ------ | ------ | | `token` | `intent(in)` An opaque pointer identifying the coarray. | | `offset` | By which amount of bytes the actual data is shifted compared to the base address of the coarray. | | `image_index` | The ID of the remote image; must be a positive number. | | `dest` | `intent(in)` Array descriptor for the remote image for the bounds and the size. The `base_addr` shall not be accessed. | | `dst_vector` | `intent(in)` If not `NULL`, it contains the vector subscript of the destination array; the values are relative to the dimension triplet of the dest argument. | | `src` | `intent(in)` Array descriptor of the local array to be transferred to the remote image | | `dst_kind` | Kind of the destination argument | | `src_kind` | Kind of the source argument | __Note__: It is permitted to have `image_id` equal the current image; the memory of the send-to and the send-from might (partially) overlap in that case. The implementation has to take care that it handles this case. Note that the assignment of a scalar to an array is permitted. In addition, the library has to handle numeric-type conversion and for strings, padding and different `character` kinds. __GCC__: Currently, it uses gfortran's private array descriptor. A change to [TS29113]'s array descriptor is planned; when that's done, the additional kind arguments will be removed. Note that the kind arguments permit to distiniguish the `character` kinds and `real`/`complex` kinds 10 and 16, which have the same byte size. __TODO__ `FOR SEND*`: - [ ] Wait is missing - [ ] Assignment to an address instead of using a token, to handle `caf[i]%allocatable%alloc_array(:,:) = ...` Or some other means to handle those. - [ ] Image index: How to handle references to other TEAMS? __OTHER TODOs__: - [ ] 3.x TODO: Handle `GET` and remote-to-remote communication - [ ] 3.y TODO: Handle `ATOMIC`, `LOCK`, `CRITICAL` - [ ] 3.z TODO Teams and error recovery ### 3.8 Getting data from a remote image ### ```c void caf_get_desc (caf_token_t token, size_t offset, int image_index, gfc_descriptor_t *src, caf_vector_t *src_vector, gfc_descriptor_t *dest, int src_kind, int dst_kind) ``` Called to get an array section or whole array from a a remote, image identified by the `image_index`. | Argument | description | | ------ | ------ | | `token` | `intent(in)` An opaque pointer identifying the coarray. | | `offset` | By which amount of bytes the actual data is shifted compared to the base address of the coarray. | | `image_index` | The ID of the remote image; must be a positive number. | | `dest` | `intent(out)` Array descriptor of the local array to which the data will be transferred | | `src` | `intent(in)` Array descriptor for the remote image for the bounds and the size. The `base_addr` shall not be accessed. | `src_vector` | `intent(int)` If not `NULL`, it contains the vector subscript of the destination array; the values are relative to the dimension triplet of the dest argument. | | `dst_kind` | Kind of the destination argument | | `src_kind` | Kind of the source argument | __Note__: It is permitted to have `image_id` equal the current image; the memory of the send-to and the send-from might (partially) overlap in that case. The implementation has to take care that it handles this case. Note that the library has to handle numeric-type conversion and for strings, padding and different `character` kinds. __GCC__: Currently, it uses gfortran's private array descriptor. A change to [TS29113]'s array descriptor is planned; when that's done, the additional kind arguments will be removed. Note that the kind arguments permit to distinguish the `character` kinds and `real`/`complex` kinds 10 and 16, which have the same byte size. ### 3.9 Sending data between remote images ### ```c void caf_sendget (caf_token_t dst_token, size_t dst_offset, int dst_image_index, gfc_descriptor_t *dest, caf_vector_t *dst_vector, caf_token_t src_token, size_t src_offset, int src_image_index, gfc_descriptor_t *src, caf_vector_t *src_vector, int dst_kind, int src_kind) ``` Called to send a scalar, an array section or whole array from a remote image identified by the `src_image_index` to a remote image identified by the `dst_image_index`. | Argument | description | | ------ | ------ | | `dst_token` | `intent(in)` An opaque pointer identifying the destination coarray. | | `dst_offset` | By which amount of bytes the actual data is shifted compared to the base address of the destination coarray. | | `dst_image_index` | The ID of the destination remote image; must be a positive number. | | `dest` | `intent(in)` Array descriptor for the destination remote image for the bounds and the size. The `base_addr` shall not be accessed. | | `dst_vector` | `intent(int)` If not NULL, it contains the vector subscript of the destination array; the values are relative to the dimension triplet of the dest argument. | | `src_token` | `intent(in)` An opaque pointer identifying the source coarray. | | `src_offset` | By which amount of bytes the actual data is shifted compared to the base address of the source coarray. | | `src_image_index` | The ID of the source remote image; must be a positive number. | | `src` | `intent(in)` Array descriptor of the local array to be transferred to the remote image | | `src_vector` | `intent(in)` Array descriptor of the local array to be transferred to the remote image | | `dst_kind` | Kind of the destination argument | | `src_kind` | Kind of the source argument | __Note__: It is permitted to have `image_id` equal the current image; the memory of the send-to and the send-from might (partially) overlap in that case. The implementation has to take care that it handles this case. Note that the assignment of a scalar to an array is permitted. In addition, the library has to handle numeric-type conversion and for strings, padding and different `character` kinds. __GCC__: Currently, it uses gfortran's private array descriptor. A change to [TS29113]'s array descriptor is planned; when that's done, the additional kind arguments will be removed. Note that the kind arguments permit to distinguish the `character` kinds and `real`/`complex` kinds 10 and 16, which have the same byte size. ### 3.10 Barriers ### ### 3.10.1 All-Image Barrier ### ```c void caf_sync_all (int *stat, char *errmsg, size_t errmsg_len) ``` Barrier which waits for all other images, pending asynchronous communication and other data transfer. | Argument | description | | ------ | ------ | | `stat` | Status variable, if `NULL`, failures are fatal. If non-null, assigned 0 on success, and a stat code (cf. 2.3) in case of an error. | | `errmsg` | If not NULL: Ignored unless stat is present; unmodified when successful, otherwise, an error message is copied into the variable. | | `errmsg_len` | Maximal length of the error string, which is not '\0' terminated. The string should be padded by blanks. | __Note__: For portability, consider only using 7bit ASCII characters in the error message. __GCC__: Implemented in GCC 4.x using an int argument for the length. Currently, `size_t` is not implemented. ### 3.10.2 Barrier for Selected Images ### ```c void sync_images (int count, int images[], int *stat, char *errmsg, size_t errmsg_len) ``` | Argument | description | | ------ | ------ | | `count` | Size of the array "images"; has value -1 for `sync images(*)` and value 0 for a zero-sized array. | | `image` | list of images to be synced with. | | `stat` | Status variable, if NULL, failures are fatal. If non-null, assigned 0 on success, and a stat code (cf. 2.3) in case of an error. | | `errmsg` | If not `NULL`: Ignored unless stat is present; unmodified when successful, otherwise, an error message is copied into the variable. | | `errmsg_len` | Maximal length of the error string, which is not `\0` terminated. The string should be padded by blanks. | __Note__: For portability, consider only using 7bit ASCII characters in the error message. Note that the list can contain also the ID of `this_image` or can be an empty set. Example use is that image 1 syncs with all others (i.e `sync images(*)`) and the others sync only with that image (`sync image(1)`). Or for point-to point communication (`sync image([left_image, right_image]`). __GCC__: Implemented in GCC 4.x using an int argument for the error-string length. Currently, `size_t` is not implemented. ### 3.11 Error abort ### ```c void error_stop_str (const char *string, int32_t str_len); void error_stop (int32_t exit_error_code) ``` __TODO__ - [ ] Fix this description by filling-in the missing bits - [ ] `STOP` vs `ERROR STOP` handling. Currently, `STOP` calls `finalize` and then the normal `STOP` while for `ERROR STOP` directly calls the library - [ ] F2008 requires that one prints the raised exceptions with `STOP` and `ERROR STOP`. libgfortran's `STOP` and `ERROR STOP` do so - the current implementation for `ERROR STOP` does not. ### 3.11 Locking and unlocking ### #### 3.11.1 Locking a lock variable #### ```c void caf_lock (caf_token_t token, size_t index, int image_index, int *aquired_lock, int *stat, char *errmsg, int errmsg_len) ``` Acquire a lock on the given image on a scalar locking variable or for the given array element for an array-valued variable. If the `acquired_lock` is `NULL`, the function return after having obtained the lock. If it is non-null, the result is is assigned the value true (one) when the lock could be obtained and false (zero) otherwise. Locking a lock variable which has already been locked by the same image is an error. | Argument | arguments | | ------ | ------ | | `token` | `intent(in)` An opaque pointer identifying the coarray. | | `index` | Array index; first array index is 0. For scalars, it is always 0. | | `image_index` | The ID of the remote image; must be a positive number. | | `aquired_lock` | `intent(out)` If not NULL, it returns whether lock could be obtained | | `stat` | `intent(out)` For allocatable coarrays, stores the `STAT=`; may be NULL | | `errmsg` | intent(out) When an error occurs, this will be set to an error message; may be NULL | | `errmsg_len` | the buffer size of errmsg. | __Note__: This function is also called for critical sections; for those, the array index is always zero and the image index is one. Libraries are permitted to use other images for critical-section locking variables. __GCC__: (no special notes) __TODO__: Change `errmsg_len` to `size_t` #### 3.11.2 Unlocking a lock variable #### ```c void caf_unlock (caf_token_t token, size_t index, int image_index, int *stat, char *errmsg, int errmsg_len) ``` Release a lock on the given image on a scalar locking variable or for the given array element for an array-valued variable. Unlocking a lock variable which is unlocked or has been locked by a different image is an error. | Argument | description | | ------ | ------ | | `token` | `intent(in)` An opaque pointer identifying the coarray. | | `index` | Array index; first array index is 0. For scalars, it is always 0. | | `image_index` | The ID of the remote image; must be a positive number. | | `stat` | `intent(out)` For allocatable coarrays, stores the `STAT=`; may be `NULL` | | `errmsg` | `intent(out)` When an error occurs, this will be set to an error message; may be `NULL` | | `errmsg_len` | the buffer size of `errmsg`. | __Note__: This function is also called for critical sections; for those, the array index is always zero and the image index is one. Libraries are permitted to use other images for critical-section locking variables. __GCC__: (no special notes) __TODO__: Change `errmsg_len` to `size_t` --- [![GitHub forks](https://img.shields.io/github/forks/sourceryinstitute/OpenCoarrays.svg?style=social&label=Fork)](https://github.com/sourceryinstitute/OpenCoarrays/fork) [![GitHub stars](https://img.shields.io/github/stars/sourceryinstitute/OpenCoarrays.svg?style=social&label=Star)](https://github.com/sourceryinstitute/OpenCoarrays) [![GitHub watchers](https://img.shields.io/github/watchers/sourceryinstitute/OpenCoarrays.svg?style=social&label=Watch)](https://github.com/sourceryinstitute/OpenCoarrays) [![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?hashtags=HPC,Fortran,PGAS&related=zbeekman,gnutools,HPCwire,HPC_Guru,hpcprogrammer,SciNetHPC,DegenerateConic,jeffdotscience,travisci&text=Stop%20programming%20w%2F%20the%20%23MPI%20docs%20in%20your%20lap%2C%20try%20Coarray%20Fortran%20w%2F%20OpenCoarrays%20%26%20GFortran!&url=https%3A//github.com/sourceryinstitute/OpenCoarrays) [Hyperlinks]:# [TS29113]: ftp://ftp.nag.co.uk/sc22wg5/n1901-n1950/n1942.pdf [TS18508]: http://isotc.iso.org/livelink/livelink?func=ll&objId=17288706&objAction=Open [To Do]: #to-do [Implementation status]: #implementation-status [Definitions and types]: #definitions-and-types [Provided functions]: #provided-functions [pdf img]: https://img.shields.io/badge/PDF-CAF_ABI.md-6C2DC7.svg?style=flat-square "Download as PDF"
{ "content_hash": "ad93b8c6e816809930018de3f2aa15b9", "timestamp": "", "source": "github", "line_count": 583, "max_line_length": 448, "avg_line_length": 42.45626072041166, "alnum_prop": 0.7126696832579186, "repo_name": "zbeekman/opencoarrays", "id": "bd59ceaa9a21dad402092f44a1af87cccca50b5e", "size": "24752", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "CAF_ABI.md", "mode": "33188", "license": "bsd-3-clause", "language": [ { "name": "Assembly", "bytes": "2769" }, { "name": "C", "bytes": "198602" }, { "name": "CMake", "bytes": "52161" }, { "name": "Fortran", "bytes": "467112" }, { "name": "Makefile", "bytes": "14666" }, { "name": "Ruby", "bytes": "5113" }, { "name": "Shell", "bytes": "198336" } ], "symlink_target": "" }
studentdemoc- ============= mvc phone book
{ "content_hash": "e5b3353f2a240434a2e7aa7fbfd27b1d", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 14, "avg_line_length": 11, "alnum_prop": 0.5454545454545454, "repo_name": "gamer91106/studentdemoc-", "id": "4639c513eeafdb984ca8766a456bb7fb875371da", "size": "44", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "README.md", "mode": "33188", "license": "apache-2.0", "language": [], "symlink_target": "" }
package com.lotaris.j2ee.itf.model; import com.lotaris.j2ee.itf.TestGroup; import com.lotaris.j2ee.itf.test.utils.ItfTestHelper; import com.lotaris.rox.annotations.RoxableTest; import com.lotaris.rox.annotations.RoxableTestClass; import java.lang.reflect.Method; import java.util.Random; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; /** * Test class for {@link TestGroupConfiguration} * * @author Laurent Prevost, laurent.prevost@lotaris.com */ @RoxableTestClass(tags = "test-group-configuration") public class TestGroupConfigurationTest { Description description; TestGroup testGroup; TestGroupDefinition testGroupDefinition; @Before public void setup() { testGroup = ItfTestHelper.createDefaultTestGroup(); testGroupDefinition = new TestGroupDefinition(testGroup, new Random()); try { Method m = testGroup.getClass().getMethod("testMethod", Description.class); com.lotaris.j2ee.itf.annotations.Test testAnnotation = m.getAnnotation(com.lotaris.j2ee.itf.annotations.Test.class); description = new Description(testGroup.getClass().getName(), testAnnotation, m); } catch (NoSuchMethodException nme) {} catch (SecurityException se) {} } @Test @RoxableTest(key = "09d8e9c18177") public void theTestGroupNameShouldBeTheClassName() { assertEquals("The name of the group should be the complete class name itself", testGroupDefinition.getName(), testGroup.getClass().getCanonicalName()); } @Test @RoxableTest(key = "0256374e537e") public void gettingTheTestGroupFromTheGroupShouldReturnItself() { assertEquals("Getting the test group should return itself", testGroupDefinition.getTestGroup(), testGroup); } @Test @RoxableTest(key = "282de281a828") public void twoTestsMethodShouldBeReturnedWhenTwoArePresent() { assertEquals("Two test methods should be present", testGroupDefinition.getTestMethods().size(), 2); } @Test @RoxableTest(key = "9f918f86ae0e") public void oneBeforeAllMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One before all method should be present", testGroupDefinition.getBeforeAll().size(), 1); } @Test @RoxableTest(key = "46b35f45dc80") public void oneAfterAllMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One after all method should be present", testGroupDefinition.getAfterAll().size(), 1); } @Test @RoxableTest(key = "08fde925b7b7") public void oneBeforeEachOutTxMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One before each (out tx) method should be present", testGroupDefinition.getBeforeEachOutMainTx().size(), 1); } @Test @RoxableTest(key = "9b7ce662ea92") public void oneAfterEachOutTxMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One after each (out tx) method should be present", testGroupDefinition.getAfterEachOutMainTx().size(), 1); } @Test @RoxableTest(key = "03b4d52a62bc") public void oneBeforeEachInTxMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One before each (in tx) method should be present", testGroupDefinition.getBeforeEachInMainTx().size(), 1); } @Test @RoxableTest(key = "5b424873353c") public void oneAfterEachInTxMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One after each (in tx) method should be present", testGroupDefinition.getAfterEachInMainTx().size(), 1); } @Test @RoxableTest(key = "cd249a568606") public void oneBeforeOutTxMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One before (out tx) method should be present", testGroupDefinition.getBeforeOutMainTx().size(), 1); } @Test @RoxableTest(key = "d26f56325b27") public void oneAfterOutTxMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One after (out tx) method should be present", testGroupDefinition.getAfterOutMainTx().size(), 1); } @Test @RoxableTest(key = "a0dc1ad1a945") public void oneBeforeInTxMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One before (in tx) method should be present", testGroupDefinition.getBeforeInMainTx().size(), 1); } @Test @RoxableTest(key = "df0430b2a632") public void oneAfterInTxMethodShouldBeReturnedWhenOnlyOneIsPresent() { assertEquals("One after (in tx) method should be present", testGroupDefinition.getAfterInMainTx().size(), 1); } @Test @RoxableTest(key = "e1118e5e00b9") public void oneBeforeOutTxMethodShouldBeReturnedWhenOnlyOneIsPresentForSpecificMethod() { assertEquals("One before (out tx) method should be present for specific method", testGroupDefinition.getBeforeOutMainTx(description).size(), 1); } @Test @RoxableTest(key = "1fb0f4c5bd21") public void oneAfterOutTxMethodShouldBeReturnedWhenOnlyOneIsPresentForSpecificMethod() { assertEquals("One after (out tx) method should be present for specific method", testGroupDefinition.getAfterOutMainTx(description).size(), 1); } @Test @RoxableTest(key = "c43abad93409") public void oneBeforeInTxMethodShouldBeReturnedWhenOnlyOneIsPresentForSpecificMethod() { assertEquals("One before (in tx) method should be present for specific method", testGroupDefinition.getBeforeInMainTx(description).size(), 1); } @Test @RoxableTest(key = "3d1446ac4ca5") public void oneAfterInTxMethodShouldBeReturnedWhenOnlyOneIsPresentForSpecificMethod() { assertEquals("One after (in tx) method should be present for specific method", testGroupDefinition.getAfterInMainTx(description).size(), 1); } }
{ "content_hash": "136d0f30f4867cc0b8071e39539d5696", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 153, "avg_line_length": 38.361702127659576, "alnum_prop": 0.7846182288777963, "repo_name": "lotaris/jee-itf", "id": "7960168b780f1c86d42898353f2433b3505d6a09", "size": "5409", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/test/java/com/lotaris/j2ee/itf/model/TestGroupConfigurationTest.java", "mode": "33188", "license": "mit", "language": [ { "name": "Java", "bytes": "125008" } ], "symlink_target": "" }
<?php /** * Fixtures for comic entity with single strip with image. * * @package ComicCMS2 * @author Cezary Kluczyński * @license https://github.com/cezarykluczynski/ComicCMS2/blob/master/LICENSE.txt MIT */ namespace ComicTest\Fixture; use Doctrine\Common\DataFixtures\FixtureInterface; use Doctrine\Common\Persistence\ObjectManager; use ComicCmsTestHelper\Fixture\FixtureRepository; use Comic\Entity\Comic as ComicEntity; use Comic\Entity\Strip; use Comic\Entity\StripImage; use Asset\Entity\Image; class ComicWithStripWithImage extends FixtureRepository { protected $comic; protected $strip; protected $stripImage; protected $image; /** * Loads a single comic with a 10 strips. */ public function load(ObjectManager $manager) { $this->manager = $manager; /** @var \Asset\Entity\Image */ $this->image = new Image; $this->image->canonicalRelativePath = 'canonical/relative/path.png'; /** @var \Comic\Entity\StripImage */ $this->stripImage = new StripImage; $this->stripImage->position = 0; $this->stripImage->caption = 'Image caption'; /** @var \Comic\Entity\Strip */ $this->strip = new Strip; $this->strip->title = 'Strip title'; /** @var \Comic\Entity\Comic */ $this->comic = new ComicEntity; $this->comic->title = 'Comic'; /** Bind entities together. */ $this->stripImage->image = $this->image; $this->stripImage->strip = $this->strip; $this->strip->comic = $this->comic; $this->strip->addImage($this->stripImage); $this->comic->addStrip($this->strip); /** Save references, so entities can be retrieved or deleted. */ $this->entities[] = $this->image; $this->entities[] = $this->stripImage; $this->entities[] = $this->strip; $this->entities[] = $this->comic; /** Save everything. */ foreach($this->entities as $entity) { $this->manager->persist($entity); } $this->manager->flush(); } }
{ "content_hash": "5ed1cd63e66c0a7af463d9162dd349a4", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 85, "avg_line_length": 30.549295774647888, "alnum_prop": 0.5975103734439834, "repo_name": "cezarykluczynski/ComicCMS2", "id": "ed0d7320474045ccd6abe14625381e9b41947ed3", "size": "2170", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "module/Comic/test/ComicTest/Fixture/ComicWithStripWithImage.php", "mode": "33188", "license": "mit", "language": [ { "name": "ApacheConf", "bytes": "711" }, { "name": "CSS", "bytes": "5672" }, { "name": "HTML", "bytes": "22470" }, { "name": "JavaScript", "bytes": "88636" }, { "name": "PHP", "bytes": "278171" }, { "name": "Smarty", "bytes": "11152" } ], "symlink_target": "" }
include3 <!-- #include file="include4.html" --> /include3
{ "content_hash": "419409d8bcb0ef3531ba7d72ff8f98d7", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 38, "avg_line_length": 19, "alnum_prop": 0.6842105263157895, "repo_name": "jffry/lb-include", "id": "d4ad093dd893e8f9262dfd794b796581b5cd315e", "size": "57", "binary": false, "copies": "1", "ref": "refs/heads/develop", "path": "test/templates/simple/chained/long/include3.html", "mode": "33188", "license": "mit", "language": [ { "name": "HTML", "bytes": "4810" }, { "name": "JavaScript", "bytes": "35214" } ], "symlink_target": "" }
- Veda: version <= v1.2.0 - Vednn: https://github.com/mergian/vednn + patch ###### Veda, Llvm-Ve, Vednn installation script ``` #it may require sudo user for installing veda and llvm-ve bash libnd4j/build_ve_prerequisites.sh ``` --------------------- ### libdn4j Aurora Ve library with Vednn ##### Building libnd4j with vednn Specify vednn installation folder if it was not installed in ```/opt/nec/ve```: ``` export VEDNN_ROOT="your installation folder" ``` Specify nlc root: ``` #here we are using 2.3.0 export NLC_ROOT=/opt/nec/ve/nlc/2.3.0/ ``` Building libdn4j: ``` ./buildnativeoperations.sh -o aurora -dt "float;double;int;int64;bool" -t -h vednn -j 120 ``` ####### Additional notes If you are facing `Unable to grow stack` error while running the test, then set this environment variable ``` export OMP_STACKSIZE=1G ``` --------------------- ### libdn4j Cpu library with platform Ve Vednn acceleration ##### Libnd4j + Veda Vednn ``` #build libnd4j and tests tuned for the current Cpu with Ve Vednn acceleration ./buildnativeoperations.sh -a native -t -h vednn -j $(nproc) ``` it outputs: ./blasbuild/cpu/libnd4jcpu_so ./blasbuild/cpu/libnd4jcpu_device.so ##### Usage Veda Ve library should be either in the working directory or it's path should be set using *DEVICE_LIB_LOADPATH* environment variable. ``` #example: #running conv2d tests: export DEVICE_LIB_LOADPATH=${PWD}/blasbuild/cpu/blas ${PWD}/blasbuild/cpu/tests_cpu/layers_tests/runtests --gtest_filter=*conv2* ``` There is not any need to set the device library path manually within nd4j framework. Loading and setting the right device library path are handled inside. ##### Dl4j installation ``` export VEDNN_ROOT="your VEDNN root folder" helper=vednn extension=avx2 mvn clean install -DskipTests -Dlibnd4j.helper=${helper} -Dlibnd4j.extension=${extension} -Djavacpp.platform.extension=-${helper}-${extension} -Dlibnd4j.classifier=linux-x86_64-${helper}-${extension} -Pcpu #or if you followed Prerequisites section libnd4j/build_veda.sh ``` ###### Notes - vc/vcpp file extensions are used to diferentitate VE device files from c/cpp in cmake. Cmake will compile them using nec.
{ "content_hash": "0c813118bae11cc4211395b8d3c1b125", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 208, "avg_line_length": 28.25974025974026, "alnum_prop": 0.7173713235294118, "repo_name": "deeplearning4j/deeplearning4j", "id": "00b62378164d589b6bfc99a2f560be6c973acac0", "size": "2227", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "libnd4j/NecAurora.md", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "1458" }, { "name": "C", "bytes": "165340" }, { "name": "C++", "bytes": "17817311" }, { "name": "CMake", "bytes": "112697" }, { "name": "CSS", "bytes": "12974" }, { "name": "Cuda", "bytes": "2413085" }, { "name": "Cython", "bytes": "12094" }, { "name": "FreeMarker", "bytes": "77257" }, { "name": "HTML", "bytes": "18609" }, { "name": "Java", "bytes": "47657420" }, { "name": "JavaScript", "bytes": "296767" }, { "name": "Kotlin", "bytes": "2041047" }, { "name": "PureBasic", "bytes": "12254" }, { "name": "Python", "bytes": "77566" }, { "name": "Ruby", "bytes": "4558" }, { "name": "Scala", "bytes": "1026" }, { "name": "Shell", "bytes": "92012" }, { "name": "Smarty", "bytes": "975" }, { "name": "Starlark", "bytes": "931" }, { "name": "TypeScript", "bytes": "81217" } ], "symlink_target": "" }
<?php namespace App\Model\Entity; use Cake\ORM\Entity; /** * Client Entity. * * @property int $id * @property string $name * @property string $email * @property string $social_reason * @property string $tel * @property string $website * @property int $task_id * @property \App\Model\Entity\Task[] $tasks */ class Client extends Entity { /** * Fields that can be mass assigned using newEntity() or patchEntity(). * * Note that when '*' is set to true, this allows all unspecified fields to * be mass assigned. For security purposes, it is advised to set '*' to false * (or remove it), and explicitly make individual fields accessible as needed. * * @var array */ protected $_accessible = [ '*' => true, 'id' => false, ]; }
{ "content_hash": "49c166a58d4fd9ec2d6d91a8d934deb4", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 82, "avg_line_length": 23.057142857142857, "alnum_prop": 0.6245353159851301, "repo_name": "paulohsilvavieira/pauloHenriquePage", "id": "49125869282405b62370f9b4b8a69464584e333d", "size": "807", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/Model/Entity/Client.php", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "CSS", "bytes": "127063" }, { "name": "HTML", "bytes": "13141" }, { "name": "JavaScript", "bytes": "43258" }, { "name": "PHP", "bytes": "1097" } ], "symlink_target": "" }
<?xml version="1.0"?> <Package> <DisplayName>Python generator</DisplayName> <DisplayName xml:lang="ru_ru">Генератор в Python</DisplayName> <Description>Install it for Python support in TRIK Studio</Description> <Description xml:lang="ru_ru">Установите это для работы с конструктором ТРИК на языке Питон(Python)</Description> <Dependencies>ru.qreal.root.trik.core</Dependencies> <Version>3.3.0-2</Version> <ReleaseDate>2017-11-14</ReleaseDate> <SortingPriority>5</SortingPriority> <Default>false</Default> <ForcedInstallation>false</ForcedInstallation> </Package>
{ "content_hash": "5fb7c2ee26be8d872dd40ab9e899ec4c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 117, "avg_line_length": 46.38461538461539, "alnum_prop": 0.736318407960199, "repo_name": "qreal/qreal", "id": "5e3b30e89ec5eff665f1ecff3adc7e93441c6059", "size": "665", "binary": false, "copies": "2", "ref": "refs/heads/master", "path": "installer/packages/trik-studio/ru.qreal.root.trik.python/meta/package.xml", "mode": "33188", "license": "apache-2.0", "language": [ { "name": "Batchfile", "bytes": "1181" }, { "name": "C", "bytes": "24683" }, { "name": "C#", "bytes": "18292" }, { "name": "C++", "bytes": "7259481" }, { "name": "CSS", "bytes": "13352" }, { "name": "Dockerfile", "bytes": "796" }, { "name": "HTML", "bytes": "322054" }, { "name": "IDL", "bytes": "1050" }, { "name": "JavaScript", "bytes": "11795" }, { "name": "Lua", "bytes": "607" }, { "name": "Perl", "bytes": "15511" }, { "name": "Perl 6", "bytes": "34089" }, { "name": "Prolog", "bytes": "1132" }, { "name": "Python", "bytes": "25813" }, { "name": "QMake", "bytes": "293818" }, { "name": "Shell", "bytes": "109557" }, { "name": "Tcl", "bytes": "21125" }, { "name": "Terra", "bytes": "4206" }, { "name": "Turing", "bytes": "28127" } ], "symlink_target": "" }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ro_RO" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About UKCoin</source> <translation>Despre UKCoin</translation> </message> <message> <location line="+39"/> <source>&lt;b&gt;UKCoin&lt;/b&gt; version</source> <translation>&lt;b&gt;UKCoin&lt;/b&gt; versiunea</translation> </message> <message> <location line="+57"/> <source> This is experimental software. Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard.</source> <translation type="unfinished"/> </message> <message> <location filename="../aboutdialog.cpp" line="+14"/> <source>Copyright</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>The UKCoin developers</source> <translation type="unfinished"/> </message> </context> <context> <name>AddressBookPage</name> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>Address Book</source> <translation>Listă de adrese</translation> </message> <message> <location line="+19"/> <source>Double-click to edit address or label</source> <translation>Dublu-click pentru a edita adresa sau eticheta</translation> </message> <message> <location line="+27"/> <source>Create a new address</source> <translation>Creaţi o adresă nouă</translation> </message> <message> <location line="+14"/> <source>Copy the currently selected address to the system clipboard</source> <translation>Copiați adresa selectată în clipboard</translation> </message> <message> <location line="-11"/> <source>&amp;New Address</source> <translation>&amp;Adresă nouă</translation> </message> <message> <location filename="../addressbookpage.cpp" line="+63"/> <source>These are your UKCoin addresses for receiving payments. You may want to give a different one to each sender so you can keep track of who is paying you.</source> <translation>Acestea sunt adresele dumneavoastră UKCoin pentru a primi plăţi. Dacă doriţi, puteți da o adresa diferită fiecărui expeditor, pentru a putea ţine evidenţa plăţilor.</translation> </message> <message> <location filename="../forms/addressbookpage.ui" line="+14"/> <source>&amp;Copy Address</source> <translation>&amp;Copiază adresa</translation> </message> <message> <location line="+11"/> <source>Show &amp;QR Code</source> <translation>Arata codul QR</translation> </message> <message> <location line="+11"/> <source>Sign a message to prove you own a UKCoin address</source> <translation>Semneaza mesajul pentru a dovedi ca detii aceasta adresa Bitocin</translation> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation>Semneaza mesajul</translation> </message> <message> <location line="+25"/> <source>Delete the currently selected address from the list</source> <translation>Sterge adresele curent selectate din lista</translation> </message> <message> <location line="+27"/> <source>Export the data in the current tab to a file</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Export</source> <translation type="unfinished"/> </message> <message> <location line="-44"/> <source>Verify a message to ensure it was signed with a specified UKCoin address</source> <translation>Verifica mesajul pentru a te asigura ca a fost insemnat cu o adresa UKCoin specifica</translation> </message> <message> <location line="+3"/> <source>&amp;Verify Message</source> <translation> Verifica mesajele</translation> </message> <message> <location line="+14"/> <source>&amp;Delete</source> <translation>&amp;Șterge</translation> </message> <message> <location filename="../addressbookpage.cpp" line="-5"/> <source>These are your UKCoin addresses for sending payments. Always check the amount and the receiving address before sending coins.</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>Copy &amp;Label</source> <translation>Copiază &amp;eticheta</translation> </message> <message> <location line="+1"/> <source>&amp;Edit</source> <translation>&amp;Editează</translation> </message> <message> <location line="+1"/> <source>Send &amp;Coins</source> <translation type="unfinished"/> </message> <message> <location line="+260"/> <source>Export Address Book Data</source> <translation>Exportă Lista de adrese</translation> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>Fisier csv: valori separate prin virgulă (*.csv)</translation> </message> <message> <location line="+13"/> <source>Error exporting</source> <translation>Eroare la exportare.</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>Eroare la scrierea în fişerul %1.</translation> </message> </context> <context> <name>AddressTableModel</name> <message> <location filename="../addresstablemodel.cpp" line="+144"/> <source>Label</source> <translation>Etichetă</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>Adresă</translation> </message> <message> <location line="+36"/> <source>(no label)</source> <translation>(fără etichetă)</translation> </message> </context> <context> <name>AskPassphraseDialog</name> <message> <location filename="../forms/askpassphrasedialog.ui" line="+26"/> <source>Passphrase Dialog</source> <translation type="unfinished"/> </message> <message> <location line="+21"/> <source>Enter passphrase</source> <translation>Introduceți fraza de acces.</translation> </message> <message> <location line="+14"/> <source>New passphrase</source> <translation>Frază de acces nouă </translation> </message> <message> <location line="+14"/> <source>Repeat new passphrase</source> <translation>Repetaţi noua frază de acces</translation> </message> <message> <location filename="../askpassphrasedialog.cpp" line="+33"/> <source>Enter the new passphrase to the wallet.&lt;br/&gt;Please use a passphrase of &lt;b&gt;10 or more random characters&lt;/b&gt;, or &lt;b&gt;eight or more words&lt;/b&gt;.</source> <translation>Introduceţi noua parolă a portofelului electronic.&lt;br/&gt;Vă rugăm să folosiţi &lt;b&gt;minimum 10 caractere aleatoare&lt;/b&gt;, sau &lt;b&gt;minimum 8 cuvinte&lt;/b&gt;.</translation> </message> <message> <location line="+1"/> <source>Encrypt wallet</source> <translation>Criptează portofelul</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to unlock the wallet.</source> <translation>Aceasta operație are nevoie de un portofel deblocat.</translation> </message> <message> <location line="+5"/> <source>Unlock wallet</source> <translation>Deblochează portofelul</translation> </message> <message> <location line="+3"/> <source>This operation needs your wallet passphrase to decrypt the wallet.</source> <translation>Această operaţiune necesită parola pentru decriptarea portofelului electronic.</translation> </message> <message> <location line="+5"/> <source>Decrypt wallet</source> <translation>Decriptează portofelul.</translation> </message> <message> <location line="+3"/> <source>Change passphrase</source> <translation>Schimbă fraza de acces</translation> </message> <message> <location line="+1"/> <source>Enter the old and new passphrase to the wallet.</source> <translation>Introduceţi vechea parola a portofelului eletronic şi apoi pe cea nouă.</translation> </message> <message> <location line="+46"/> <source>Confirm wallet encryption</source> <translation>Confirmă criptarea portofelului.</translation> </message> <message> <location line="+1"/> <source>Warning: If you encrypt your wallet and lose your passphrase, you will &lt;b&gt;LOSE ALL OF YOUR UKCOINS&lt;/b&gt;!</source> <translation>Atenție: Dacă pierdeţi parola portofelului electronic dupa criptare, &lt;b&gt;VEŢI PIERDE ÎNTREAGA SUMĂ DE UKCOIN ACUMULATĂ&lt;/b&gt;!</translation> </message> <message> <location line="+0"/> <source>Are you sure you wish to encrypt your wallet?</source> <translation>Sunteţi sigur că doriţi să criptaţi portofelul electronic?</translation> </message> <message> <location line="+15"/> <source>IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet.</source> <translation type="unfinished"/> </message> <message> <location line="+100"/> <location line="+24"/> <source>Warning: The Caps Lock key is on!</source> <translation>Atentie! Caps Lock este pornit</translation> </message> <message> <location line="-130"/> <location line="+58"/> <source>Wallet encrypted</source> <translation>Portofel criptat </translation> </message> <message> <location line="-56"/> <source>UKCoin will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your UKCoins from being stolen by malware infecting your computer.</source> <translation>UKCoin se va închide acum pentru a termina procesul de criptare. Amintiți-vă că criptarea portofelului dumneavoastră nu poate proteja în totalitate UKCoins dvs. de a fi furate de intentii rele.</translation> </message> <message> <location line="+13"/> <location line="+7"/> <location line="+42"/> <location line="+6"/> <source>Wallet encryption failed</source> <translation>Criptarea portofelului a eșuat.</translation> </message> <message> <location line="-54"/> <source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source> <translation>Criptarea portofelului a eșuat din cauza unei erori interne. Portofelul tău nu a fost criptat.</translation> </message> <message> <location line="+7"/> <location line="+48"/> <source>The supplied passphrases do not match.</source> <translation>Fraza de acces introdusă nu se potrivește.</translation> </message> <message> <location line="-37"/> <source>Wallet unlock failed</source> <translation>Deblocarea portofelului electronic a eşuat.</translation> </message> <message> <location line="+1"/> <location line="+11"/> <location line="+19"/> <source>The passphrase entered for the wallet decryption was incorrect.</source> <translation>Parola introdusă pentru decriptarea portofelului electronic a fost incorectă.</translation> </message> <message> <location line="-20"/> <source>Wallet decryption failed</source> <translation>Decriptarea portofelului electronic a eşuat.</translation> </message> <message> <location line="+14"/> <source>Wallet passphrase was successfully changed.</source> <translation>Parola portofelului electronic a fost schimbată.</translation> </message> </context> <context> <name>BitcoinGUI</name> <message> <location filename="../bitcoingui.cpp" line="+233"/> <source>Sign &amp;message...</source> <translation>Semneaza &amp;mesaj...</translation> </message> <message> <location line="+280"/> <source>Synchronizing with network...</source> <translation>Se sincronizează cu reţeaua...</translation> </message> <message> <location line="-349"/> <source>&amp;Overview</source> <translation>&amp;Detalii</translation> </message> <message> <location line="+1"/> <source>Show general overview of wallet</source> <translation>Afişează detalii despre portofelul electronic</translation> </message> <message> <location line="+20"/> <source>&amp;Transactions</source> <translation>&amp;Tranzacţii</translation> </message> <message> <location line="+1"/> <source>Browse transaction history</source> <translation>Istoricul tranzacţiilor</translation> </message> <message> <location line="+7"/> <source>Edit the list of stored addresses and labels</source> <translation>Editaţi lista de adrese şi etichete.</translation> </message> <message> <location line="-14"/> <source>Show the list of addresses for receiving payments</source> <translation>Lista de adrese pentru recepţionarea plăţilor</translation> </message> <message> <location line="+31"/> <source>E&amp;xit</source> <translation>Ieșire</translation> </message> <message> <location line="+1"/> <source>Quit application</source> <translation>Părăsiţi aplicaţia</translation> </message> <message> <location line="+4"/> <source>Show information about UKCoin</source> <translation>Informaţii despre UKCoin</translation> </message> <message> <location line="+2"/> <source>About &amp;Qt</source> <translation>Despre &amp;Qt</translation> </message> <message> <location line="+1"/> <source>Show information about Qt</source> <translation>Informaţii despre Qt</translation> </message> <message> <location line="+2"/> <source>&amp;Options...</source> <translation>&amp;Setări...</translation> </message> <message> <location line="+6"/> <source>&amp;Encrypt Wallet...</source> <translation>Criptează portofelul electronic...</translation> </message> <message> <location line="+3"/> <source>&amp;Backup Wallet...</source> <translation>&amp;Backup portofelul electronic...</translation> </message> <message> <location line="+2"/> <source>&amp;Change Passphrase...</source> <translation>&amp;Schimbă parola...</translation> </message> <message> <location line="+285"/> <source>Importing blocks from disk...</source> <translation>Importare blocks de pe disk...</translation> </message> <message> <location line="+3"/> <source>Reindexing blocks on disk...</source> <translation type="unfinished"/> </message> <message> <location line="-347"/> <source>Send coins to a UKCoin address</source> <translation>&amp;Trimiteţi UKCoin către o anumită adresă</translation> </message> <message> <location line="+49"/> <source>Modify configuration options for UKCoin</source> <translation>Modifică setările pentru UKCoin</translation> </message> <message> <location line="+9"/> <source>Backup wallet to another location</source> <translation>Creaza copie de rezerva a portofelului intr-o locatie diferita</translation> </message> <message> <location line="+2"/> <source>Change the passphrase used for wallet encryption</source> <translation>&amp;Schimbă parola folosită pentru criptarea portofelului electronic</translation> </message> <message> <location line="+6"/> <source>&amp;Debug window</source> <translation>&amp; Fereastra debug</translation> </message> <message> <location line="+1"/> <source>Open debugging and diagnostic console</source> <translation>Deschide consola de debug si diagnosticare</translation> </message> <message> <location line="-4"/> <source>&amp;Verify message...</source> <translation>Verifica mesajul</translation> </message> <message> <location line="-165"/> <location line="+530"/> <source>UKCoin</source> <translation>UKCoin</translation> </message> <message> <location line="-530"/> <source>Wallet</source> <translation>Portofelul</translation> </message> <message> <location line="+101"/> <source>&amp;Send</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>&amp;Receive</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>&amp;Addresses</source> <translation type="unfinished"/> </message> <message> <location line="+22"/> <source>&amp;About UKCoin</source> <translation>&amp;Despre UKCoin</translation> </message> <message> <location line="+9"/> <source>&amp;Show / Hide</source> <translation>Arata/Ascunde</translation> </message> <message> <location line="+1"/> <source>Show or hide the main Window</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Encrypt the private keys that belong to your wallet</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Sign messages with your UKCoin addresses to prove you own them</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Verify messages to ensure they were signed with specified UKCoin addresses</source> <translation type="unfinished"/> </message> <message> <location line="+28"/> <source>&amp;File</source> <translation>&amp;Fişier</translation> </message> <message> <location line="+7"/> <source>&amp;Settings</source> <translation>&amp;Setări</translation> </message> <message> <location line="+6"/> <source>&amp;Help</source> <translation>&amp;Ajutor</translation> </message> <message> <location line="+9"/> <source>Tabs toolbar</source> <translation>Bara de ferestre de lucru</translation> </message> <message> <location line="+17"/> <location line="+10"/> <source>[testnet]</source> <translation>[testnet]</translation> </message> <message> <location line="+47"/> <source>UKCoin client</source> <translation>Client UKCoin</translation> </message> <message numerus="yes"> <location line="+141"/> <source>%n active connection(s) to UKCoin network</source> <translation><numerusform>%n active connections to UKCoin network</numerusform><numerusform>%n active connections to UKCoin network</numerusform><numerusform>%n active connections to UKCoin network</numerusform></translation> </message> <message> <location line="+22"/> <source>No block source available...</source> <translation type="unfinished"/> </message> <message> <location line="+12"/> <source>Processed %1 of %2 (estimated) blocks of transaction history.</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Processed %1 blocks of transaction history.</source> <translation type="unfinished"/> </message> <message numerus="yes"> <location line="+20"/> <source>%n hour(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n day(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation> </message> <message numerus="yes"> <location line="+4"/> <source>%n week(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+4"/> <source>%1 behind</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>Last received block was generated %1 ago.</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Transactions after this will not yet be visible.</source> <translation type="unfinished"/> </message> <message> <location line="+22"/> <source>Error</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Information</source> <translation type="unfinished"/> </message> <message> <location line="+70"/> <source>This transaction is over the size limit. You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee?</source> <translation type="unfinished"/> </message> <message> <location line="-140"/> <source>Up to date</source> <translation>Actualizat</translation> </message> <message> <location line="+31"/> <source>Catching up...</source> <translation>Se actualizează...</translation> </message> <message> <location line="+113"/> <source>Confirm transaction fee</source> <translation>Confirma taxa tranzactiei</translation> </message> <message> <location line="+8"/> <source>Sent transaction</source> <translation>Tranzacţie expediată</translation> </message> <message> <location line="+0"/> <source>Incoming transaction</source> <translation>Tranzacţie recepţionată</translation> </message> <message> <location line="+1"/> <source>Date: %1 Amount: %2 Type: %3 Address: %4 </source> <translation>Data: %1⏎ Suma: %2⏎ Tipul: %3⏎ Addresa: %4⏎</translation> </message> <message> <location line="+33"/> <location line="+23"/> <source>URI handling</source> <translation type="unfinished"/> </message> <message> <location line="-23"/> <location line="+23"/> <source>URI can not be parsed! This can be caused by an invalid UKCoin address or malformed URI parameters.</source> <translation type="unfinished"/> </message> <message> <location line="+17"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source> <translation>Portofelul electronic este &lt;b&gt;criptat&lt;/b&gt; iar in momentul de faţă este &lt;b&gt;deblocat&lt;/b&gt;</translation> </message> <message> <location line="+8"/> <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source> <translation>Portofelul electronic este &lt;b&gt;criptat&lt;/b&gt; iar in momentul de faţă este &lt;b&gt;blocat&lt;/b&gt;</translation> </message> <message> <location filename="../bitcoin.cpp" line="+111"/> <source>A fatal error occurred. UKCoin can no longer continue safely and will quit.</source> <translation type="unfinished"/> </message> </context> <context> <name>ClientModel</name> <message> <location filename="../clientmodel.cpp" line="+104"/> <source>Network Alert</source> <translation>Alerta retea</translation> </message> </context> <context> <name>EditAddressDialog</name> <message> <location filename="../forms/editaddressdialog.ui" line="+14"/> <source>Edit Address</source> <translation>Editează adresa</translation> </message> <message> <location line="+11"/> <source>&amp;Label</source> <translation>&amp;Eticheta</translation> </message> <message> <location line="+10"/> <source>The label associated with this address book entry</source> <translation>Eticheta asociată cu această înregistrare în Lista de adrese</translation> </message> <message> <location line="+7"/> <source>&amp;Address</source> <translation>&amp;Adresă</translation> </message> <message> <location line="+10"/> <source>The address associated with this address book entry. This can only be modified for sending addresses.</source> <translation>Adresa asociată cu această înregistrare în Lista de adrese. Aceasta poate fi modificată doar pentru expediere.</translation> </message> <message> <location filename="../editaddressdialog.cpp" line="+21"/> <source>New receiving address</source> <translation>Noua adresă de primire</translation> </message> <message> <location line="+4"/> <source>New sending address</source> <translation>Noua adresă de trimitere</translation> </message> <message> <location line="+3"/> <source>Edit receiving address</source> <translation>Editează adresa de primire</translation> </message> <message> <location line="+4"/> <source>Edit sending address</source> <translation>Editează adresa de trimitere</translation> </message> <message> <location line="+76"/> <source>The entered address &quot;%1&quot; is already in the address book.</source> <translation>Adresa introdusă &quot;%1&quot; se află deja în Lista de adrese.</translation> </message> <message> <location line="-5"/> <source>The entered address &quot;%1&quot; is not a valid UKCoin address.</source> <translation>Adresa introdusă &quot;%1&quot; nu este o adresă UKCoin valabilă.</translation> </message> <message> <location line="+10"/> <source>Could not unlock wallet.</source> <translation>Portofelul electronic nu a putut fi deblocat .</translation> </message> <message> <location line="+5"/> <source>New key generation failed.</source> <translation>New key generation failed.</translation> </message> </context> <context> <name>GUIUtil::HelpMessageBox</name> <message> <location filename="../guiutil.cpp" line="+424"/> <location line="+12"/> <source>UKCoin-Qt</source> <translation>UKCoin-Qt</translation> </message> <message> <location line="-12"/> <source>version</source> <translation>versiunea</translation> </message> <message> <location line="+2"/> <source>Usage:</source> <translation>Uz:</translation> </message> <message> <location line="+1"/> <source>command-line options</source> <translation>command-line setări</translation> </message> <message> <location line="+4"/> <source>UI options</source> <translation>UI setări</translation> </message> <message> <location line="+1"/> <source>Set language, for example &quot;de_DE&quot; (default: system locale)</source> <translation>Seteaza limba, de exemplu: &quot;de_DE&quot; (initialt: system locale)</translation> </message> <message> <location line="+1"/> <source>Start minimized</source> <translation>Incepe miniaturizare</translation> </message> <message> <location line="+1"/> <source>Show splash screen on startup (default: 1)</source> <translation>Afișează pe ecran splash la pornire (implicit: 1)</translation> </message> </context> <context> <name>OptionsDialog</name> <message> <location filename="../forms/optionsdialog.ui" line="+14"/> <source>Options</source> <translation>Setări</translation> </message> <message> <location line="+16"/> <source>&amp;Main</source> <translation>&amp;Principal</translation> </message> <message> <location line="+6"/> <source>Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB.</source> <translation type="unfinished"/> </message> <message> <location line="+15"/> <source>Pay transaction &amp;fee</source> <translation>Plăteşte comision pentru tranzacţie &amp;f</translation> </message> <message> <location line="+31"/> <source>Automatically start UKCoin after logging in to the system.</source> <translation>Porneşte automat programul UKCoin la pornirea computerului.</translation> </message> <message> <location line="+3"/> <source>&amp;Start UKCoin on system login</source> <translation>&amp;S Porneşte UKCoin la pornirea sistemului</translation> </message> <message> <location line="+35"/> <source>Reset all client options to default.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>&amp;Reset Options</source> <translation type="unfinished"/> </message> <message> <location line="+13"/> <source>&amp;Network</source> <translation>&amp;Retea</translation> </message> <message> <location line="+6"/> <source>Automatically open the UKCoin client port on the router. This only works when your router supports UPnP and it is enabled.</source> <translation>Deschide automat în router portul aferent clientului UKCoin. Funcţionează doar în cazul în care routerul e compatibil UPnP şi opţiunea e activată.</translation> </message> <message> <location line="+3"/> <source>Map port using &amp;UPnP</source> <translation>Mapeaza portul folosind &amp;UPnP</translation> </message> <message> <location line="+7"/> <source>Connect to the UKCoin network through a SOCKS proxy (e.g. when connecting through Tor).</source> <translation>Conectare la reţeaua UKCoin folosind un proxy SOCKS (de exemplu, când conexiunea se stabileşte prin reţeaua Tor)</translation> </message> <message> <location line="+3"/> <source>&amp;Connect through SOCKS proxy:</source> <translation>&amp;Conectează prin proxy SOCKS:</translation> </message> <message> <location line="+9"/> <source>Proxy &amp;IP:</source> <translation>Proxy &amp;IP:</translation> </message> <message> <location line="+19"/> <source>IP address of the proxy (e.g. 127.0.0.1)</source> <translation>Adresa de IP a proxy serverului (de exemplu: 127.0.0.1)</translation> </message> <message> <location line="+7"/> <source>&amp;Port:</source> <translation>&amp;Port:</translation> </message> <message> <location line="+19"/> <source>Port of the proxy (e.g. 9050)</source> <translation>Portul pe care se concetează proxy serverul (de exemplu: 9050)</translation> </message> <message> <location line="+7"/> <source>SOCKS &amp;Version:</source> <translation>SOCKS &amp;Versiune:</translation> </message> <message> <location line="+13"/> <source>SOCKS version of the proxy (e.g. 5)</source> <translation>Versiunea SOCKS a proxiului (ex. 5)</translation> </message> <message> <location line="+36"/> <source>&amp;Window</source> <translation>&amp;Fereastra</translation> </message> <message> <location line="+6"/> <source>Show only a tray icon after minimizing the window.</source> <translation>Afişează doar un icon in tray la ascunderea ferestrei</translation> </message> <message> <location line="+3"/> <source>&amp;Minimize to the tray instead of the taskbar</source> <translation>&amp;M Ascunde în tray în loc de taskbar</translation> </message> <message> <location line="+7"/> <source>Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu.</source> <translation>Ascunde fereastra în locul părăsirii programului în momentul închiderii ferestrei. Când acestă opţiune e activă, aplicaţia se va opri doar în momentul selectării comenzii Quit din menu.</translation> </message> <message> <location line="+3"/> <source>M&amp;inimize on close</source> <translation>&amp;i Ascunde fereastra în locul închiderii programului</translation> </message> <message> <location line="+21"/> <source>&amp;Display</source> <translation>&amp;Afişare</translation> </message> <message> <location line="+8"/> <source>User Interface &amp;language:</source> <translation>Interfata &amp; limba userului</translation> </message> <message> <location line="+13"/> <source>The user interface language can be set here. This setting will take effect after restarting UKCoin.</source> <translation>Limba interfeței utilizatorului poate fi setat aici. Această setare va avea efect după repornirea UKCoin.</translation> </message> <message> <location line="+11"/> <source>&amp;Unit to show amounts in:</source> <translation>&amp;Unitatea de măsură pentru afişarea sumelor:</translation> </message> <message> <location line="+13"/> <source>Choose the default subdivision unit to show in the interface and when sending coins.</source> <translation>Alege subdiviziunea folosită la afişarea interfeţei şi la trimiterea de UKCoin.</translation> </message> <message> <location line="+9"/> <source>Whether to show UKCoin addresses in the transaction list or not.</source> <translation>Vezi dacă adresele UKCoin sunt în lista de tranzacție sau nu</translation> </message> <message> <location line="+3"/> <source>&amp;Display addresses in transaction list</source> <translation>&amp;Afişează adresele în lista de tranzacţii</translation> </message> <message> <location line="+71"/> <source>&amp;OK</source> <translation>&amp; OK</translation> </message> <message> <location line="+7"/> <source>&amp;Cancel</source> <translation>&amp; Renunta</translation> </message> <message> <location line="+10"/> <source>&amp;Apply</source> <translation>Aplica</translation> </message> <message> <location filename="../optionsdialog.cpp" line="+53"/> <source>default</source> <translation>Initial</translation> </message> <message> <location line="+130"/> <source>Confirm options reset</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Some settings may require a client restart to take effect.</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Do you want to proceed?</source> <translation type="unfinished"/> </message> <message> <location line="+42"/> <location line="+9"/> <source>Warning</source> <translation>Atentie!</translation> </message> <message> <location line="-9"/> <location line="+9"/> <source>This setting will take effect after restarting UKCoin.</source> <translation type="unfinished"/> </message> <message> <location line="+29"/> <source>The supplied proxy address is invalid.</source> <translation>Adresa UKCoin pe care a-ti specificat-o este invalida</translation> </message> </context> <context> <name>OverviewPage</name> <message> <location filename="../forms/overviewpage.ui" line="+14"/> <source>Form</source> <translation>Form</translation> </message> <message> <location line="+50"/> <location line="+166"/> <source>The displayed information may be out of date. Your wallet automatically synchronizes with the UKCoin network after a connection is established, but this process has not completed yet.</source> <translation>Informațiile afișate pot fi expirate. Portofelul tău se sincronizează automat cu rețeaua UKCoin după ce o conexiune este stabilita, dar acest proces nu a fost finalizat încă.</translation> </message> <message> <location line="-124"/> <source>Balance:</source> <translation>Balanţă:</translation> </message> <message> <location line="+29"/> <source>Unconfirmed:</source> <translation>Neconfirmat:</translation> </message> <message> <location line="-78"/> <source>Wallet</source> <translation>Portofelul</translation> </message> <message> <location line="+107"/> <source>Immature:</source> <translation>Nematurizat:</translation> </message> <message> <location line="+13"/> <source>Mined balance that has not yet matured</source> <translation>Balanta minata care nu s-a maturizat inca</translation> </message> <message> <location line="+46"/> <source>&lt;b&gt;Recent transactions&lt;/b&gt;</source> <translation>&lt;b&gt;Ultimele tranzacţii&lt;/b&gt;</translation> </message> <message> <location line="-101"/> <source>Your current balance</source> <translation>Soldul contul</translation> </message> <message> <location line="+29"/> <source>Total of transactions that have yet to be confirmed, and do not yet count toward the current balance</source> <translation>Totalul tranzacţiilor care aşteaptă să fie confirmate şi care nu sunt încă luate în calcul la afişarea soldului contului.</translation> </message> <message> <location filename="../overviewpage.cpp" line="+116"/> <location line="+1"/> <source>out of sync</source> <translation>Nu este sincronizat</translation> </message> </context> <context> <name>PaymentServer</name> <message> <location filename="../paymentserver.cpp" line="+107"/> <source>Cannot start UKCoin: click-to-pay handler</source> <translation type="unfinished"/> </message> </context> <context> <name>QRCodeDialog</name> <message> <location filename="../forms/qrcodedialog.ui" line="+14"/> <source>QR Code Dialog</source> <translation>Dialogul codului QR</translation> </message> <message> <location line="+59"/> <source>Request Payment</source> <translation>Cerere de plata</translation> </message> <message> <location line="+56"/> <source>Amount:</source> <translation>Sumă:</translation> </message> <message> <location line="-44"/> <source>Label:</source> <translation>Etichetă:</translation> </message> <message> <location line="+19"/> <source>Message:</source> <translation>Mesaj:</translation> </message> <message> <location line="+71"/> <source>&amp;Save As...</source> <translation>Salvare ca...</translation> </message> <message> <location filename="../qrcodedialog.cpp" line="+62"/> <source>Error encoding URI into QR Code.</source> <translation>Eroare la incercarea codarii URl-ului in cod QR</translation> </message> <message> <location line="+40"/> <source>The entered amount is invalid, please check.</source> <translation>Suma introdusa nu este valida, verifica suma.</translation> </message> <message> <location line="+23"/> <source>Resulting URI too long, try to reduce the text for label / message.</source> <translation type="unfinished"/> </message> <message> <location line="+25"/> <source>Save QR Code</source> <translation>Salveaza codul QR</translation> </message> <message> <location line="+0"/> <source>PNG Images (*.png)</source> <translation>Imagini de tip PNG (*.png)</translation> </message> </context> <context> <name>RPCConsole</name> <message> <location filename="../forms/rpcconsole.ui" line="+46"/> <source>Client name</source> <translation>Numaele clientului</translation> </message> <message> <location line="+10"/> <location line="+23"/> <location line="+26"/> <location line="+23"/> <location line="+23"/> <location line="+36"/> <location line="+53"/> <location line="+23"/> <location line="+23"/> <location filename="../rpcconsole.cpp" line="+339"/> <source>N/A</source> <translation>N/A</translation> </message> <message> <location line="-217"/> <source>Client version</source> <translation>Versiunea clientului</translation> </message> <message> <location line="-45"/> <source>&amp;Information</source> <translation>&amp; Informatie</translation> </message> <message> <location line="+68"/> <source>Using OpenSSL version</source> <translation>Foloseste versiunea OpenSSL</translation> </message> <message> <location line="+49"/> <source>Startup time</source> <translation>Data pornirii</translation> </message> <message> <location line="+29"/> <source>Network</source> <translation>Retea</translation> </message> <message> <location line="+7"/> <source>Number of connections</source> <translation>Numarul de conexiuni</translation> </message> <message> <location line="+23"/> <source>On testnet</source> <translation>Pe testnet</translation> </message> <message> <location line="+23"/> <source>Block chain</source> <translation>Lant bloc</translation> </message> <message> <location line="+7"/> <source>Current number of blocks</source> <translation>Numarul curent de blockuri</translation> </message> <message> <location line="+23"/> <source>Estimated total blocks</source> <translation>Estimarea totala a blocks</translation> </message> <message> <location line="+23"/> <source>Last block time</source> <translation>Ultimul block a fost gasit la:</translation> </message> <message> <location line="+52"/> <source>&amp;Open</source> <translation>&amp;Deschide</translation> </message> <message> <location line="+16"/> <source>Command-line options</source> <translation>Command-line setări</translation> </message> <message> <location line="+7"/> <source>Show the UKCoin-Qt help message to get a list with possible UKCoin command-line options.</source> <translation>Arata mesajul de ajutor UKCoin-QT pentru a obtine o lista cu posibilele optiuni ale comenzilor UKCoin</translation> </message> <message> <location line="+3"/> <source>&amp;Show</source> <translation>&amp; Arata</translation> </message> <message> <location line="+24"/> <source>&amp;Console</source> <translation>&amp;Consola</translation> </message> <message> <location line="-260"/> <source>Build date</source> <translation>Construit la data:</translation> </message> <message> <location line="-104"/> <source>UKCoin - Debug window</source> <translation>UKCoin-Fereastra pentru debug</translation> </message> <message> <location line="+25"/> <source>UKCoin Core</source> <translation>UKCoin Core</translation> </message> <message> <location line="+279"/> <source>Debug log file</source> <translation>Loguri debug</translation> </message> <message> <location line="+7"/> <source>Open the UKCoin debug log file from the current data directory. This can take a few seconds for large log files.</source> <translation>Deschide logurile debug din directorul curent. Aceasta poate dura cateva secunde pentru fisierele mai mari</translation> </message> <message> <location line="+102"/> <source>Clear console</source> <translation>Curata consola</translation> </message> <message> <location filename="../rpcconsole.cpp" line="-30"/> <source>Welcome to the UKCoin RPC console.</source> <translation>Bun venit la consola UKCoin RPC</translation> </message> <message> <location line="+1"/> <source>Use up and down arrows to navigate history, and &lt;b&gt;Ctrl-L&lt;/b&gt; to clear screen.</source> <translation>Foloseste sagetile sus si jos pentru a naviga in istoric si &lt;b&gt;Ctrl-L&lt;/b&gt; pentru a curata.</translation> </message> <message> <location line="+1"/> <source>Type &lt;b&gt;help&lt;/b&gt; for an overview of available commands.</source> <translation>Scrie &lt;b&gt;help&lt;/b&gt; pentru a vedea comenzile disponibile</translation> </message> </context> <context> <name>SendCoinsDialog</name> <message> <location filename="../forms/sendcoinsdialog.ui" line="+14"/> <location filename="../sendcoinsdialog.cpp" line="+124"/> <location line="+5"/> <location line="+5"/> <location line="+5"/> <location line="+6"/> <location line="+5"/> <location line="+5"/> <source>Send Coins</source> <translation>Trimite UKCoin</translation> </message> <message> <location line="+50"/> <source>Send to multiple recipients at once</source> <translation>Trimite simultan către mai mulţi destinatari</translation> </message> <message> <location line="+3"/> <source>Add &amp;Recipient</source> <translation>&amp;Adaugă destinatar</translation> </message> <message> <location line="+20"/> <source>Remove all transaction fields</source> <translation>Sterge toate spatiile de tranzactie</translation> </message> <message> <location line="+3"/> <source>Clear &amp;All</source> <translation>Şterge &amp;tot</translation> </message> <message> <location line="+22"/> <source>Balance:</source> <translation>Balanţă:</translation> </message> <message> <location line="+10"/> <source>123.456 BTC</source> <translation>123.456 BTC</translation> </message> <message> <location line="+31"/> <source>Confirm the send action</source> <translation>Confirmă operaţiunea de trimitere</translation> </message> <message> <location line="+3"/> <source>S&amp;end</source> <translation>&amp;S Trimite</translation> </message> <message> <location filename="../sendcoinsdialog.cpp" line="-59"/> <source>&lt;b&gt;%1&lt;/b&gt; to %2 (%3)</source> <translation>&lt;b&gt;%1&lt;/b&gt; la %2 (%3)</translation> </message> <message> <location line="+5"/> <source>Confirm send coins</source> <translation>Confirmaţi trimiterea de UKCoin</translation> </message> <message> <location line="+1"/> <source>Are you sure you want to send %1?</source> <translation>Sunteţi sigur că doriţi să trimiteţi %1?</translation> </message> <message> <location line="+0"/> <source> and </source> <translation> şi </translation> </message> <message> <location line="+23"/> <source>The recipient address is not valid, please recheck.</source> <translation>Adresa destinatarului nu este validă, vă rugăm să o verificaţi.</translation> </message> <message> <location line="+5"/> <source>The amount to pay must be larger than 0.</source> <translation>Suma de plată trebuie să fie mai mare decât 0.</translation> </message> <message> <location line="+5"/> <source>The amount exceeds your balance.</source> <translation>Suma depăşeşte soldul contului.</translation> </message> <message> <location line="+5"/> <source>The total exceeds your balance when the %1 transaction fee is included.</source> <translation>Total depăşeşte soldul contului in cazul plăţii comisionului de %1.</translation> </message> <message> <location line="+6"/> <source>Duplicate address found, can only send to each address once per send operation.</source> <translation>S-a descoperit o adresă care figurează de două ori. Expedierea se poate realiza către fiecare adresă doar o singură dată pe operaţiune.</translation> </message> <message> <location line="+5"/> <source>Error: Transaction creation failed!</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Error: The transaction was rejected. This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source> <translation>Eroare: Tranyacţia a fost respinsă. Acesta poate fi rezultatul cheltuirii prealabile a unei sume de UKCoin din portofelul electronic, ca în cazul folosirii unei copii a fisierului wallet.dat, în care s-au efectuat tranzacţii neînregistrate în fisierul curent.</translation> </message> </context> <context> <name>SendCoinsEntry</name> <message> <location filename="../forms/sendcoinsentry.ui" line="+14"/> <source>Form</source> <translation>Form</translation> </message> <message> <location line="+15"/> <source>A&amp;mount:</source> <translation>Su&amp;mă :</translation> </message> <message> <location line="+13"/> <source>Pay &amp;To:</source> <translation>Plăteşte Că&amp;tre:</translation> </message> <message> <location line="+34"/> <source>The address to send the payment to (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation type="unfinished"/> </message> <message> <location line="+60"/> <location filename="../sendcoinsentry.cpp" line="+26"/> <source>Enter a label for this address to add it to your address book</source> <translation>Adaugă o etichetă acestei adrese pentru a o trece în Lista de adrese</translation> </message> <message> <location line="-78"/> <source>&amp;Label:</source> <translation>&amp;L Etichetă:</translation> </message> <message> <location line="+28"/> <source>Choose address from address book</source> <translation>Alegeţi adresa din Listă</translation> </message> <message> <location line="+10"/> <source>Alt+A</source> <translation>Alt+A</translation> </message> <message> <location line="+7"/> <source>Paste address from clipboard</source> <translation>Lipiţi adresa copiată in clipboard.</translation> </message> <message> <location line="+10"/> <source>Alt+P</source> <translation>Alt+P</translation> </message> <message> <location line="+7"/> <source>Remove this recipient</source> <translation>Şterge destinatarul</translation> </message> <message> <location filename="../sendcoinsentry.cpp" line="+1"/> <source>Enter a UKCoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Introduceţi o adresă UKCoin (de exemplu: 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</translation> </message> </context> <context> <name>SignVerifyMessageDialog</name> <message> <location filename="../forms/signverifymessagedialog.ui" line="+14"/> <source>Signatures - Sign / Verify a Message</source> <translation>Semnatura- Semneaza/verifica un mesaj</translation> </message> <message> <location line="+13"/> <source>&amp;Sign Message</source> <translation>Semneaza Mesajul</translation> </message> <message> <location line="+6"/> <source>You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</source> <translation type="unfinished"/> </message> <message> <location line="+18"/> <source>The address to sign the message with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Introduceţi o adresă UKCoin (de exemplu: 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</translation> </message> <message> <location line="+10"/> <location line="+213"/> <source>Choose an address from the address book</source> <translation>Alegeţi adresa din Listă</translation> </message> <message> <location line="-203"/> <location line="+213"/> <source>Alt+A</source> <translation>Alt+A</translation> </message> <message> <location line="-203"/> <source>Paste address from clipboard</source> <translation>Lipiţi adresa copiată in clipboard.</translation> </message> <message> <location line="+10"/> <source>Alt+P</source> <translation>Alt+P</translation> </message> <message> <location line="+12"/> <source>Enter the message you want to sign here</source> <translation>Introduce mesajul pe care vrei sa il semnezi, aici.</translation> </message> <message> <location line="+7"/> <source>Signature</source> <translation type="unfinished"/> </message> <message> <location line="+27"/> <source>Copy the current signature to the system clipboard</source> <translation>Copiaza semnatura curenta in clipboard-ul sistemului</translation> </message> <message> <location line="+21"/> <source>Sign the message to prove you own this UKCoin address</source> <translation>Semneaza mesajul pentru a dovedi ca detii acesta adresa UKCoin</translation> </message> <message> <location line="+3"/> <source>Sign &amp;Message</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>Reset all sign message fields</source> <translation>Reseteaza toate spatiile mesajelor semnate.</translation> </message> <message> <location line="+3"/> <location line="+146"/> <source>Clear &amp;All</source> <translation>Şterge &amp;tot</translation> </message> <message> <location line="-87"/> <source>&amp;Verify Message</source> <translation>Verifica mesajul</translation> </message> <message> <location line="+6"/> <source>Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.</source> <translation type="unfinished"/> </message> <message> <location line="+21"/> <source>The address the message was signed with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Introduceţi o adresă UKCoin (de exemplu: 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</translation> </message> <message> <location line="+40"/> <source>Verify the message to ensure it was signed with the specified UKCoin address</source> <translation>Verifica mesajul pentru a fi sigur ca a fost semnat cu adresa UKCoin specifica</translation> </message> <message> <location line="+3"/> <source>Verify &amp;Message</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>Reset all verify message fields</source> <translation>Reseteaza toate spatiile mesajelor semnate.</translation> </message> <message> <location filename="../signverifymessagedialog.cpp" line="+27"/> <location line="+3"/> <source>Enter a UKCoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source> <translation>Introduceţi o adresă UKCoin (de exemplu: 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</translation> </message> <message> <location line="-2"/> <source>Click &quot;Sign Message&quot; to generate signature</source> <translation>Click &quot;Semneaza msajul&quot; pentru a genera semnatura</translation> </message> <message> <location line="+3"/> <source>Enter UKCoin signature</source> <translation>Introduce semnatura bitocin</translation> </message> <message> <location line="+82"/> <location line="+81"/> <source>The entered address is invalid.</source> <translation>Adresa introdusa nu este valida</translation> </message> <message> <location line="-81"/> <location line="+8"/> <location line="+73"/> <location line="+8"/> <source>Please check the address and try again.</source> <translation>Te rugam verifica adresa si introduce-o din nou</translation> </message> <message> <location line="-81"/> <location line="+81"/> <source>The entered address does not refer to a key.</source> <translation>Adresa introdusa nu se refera la o cheie.</translation> </message> <message> <location line="-73"/> <source>Wallet unlock was cancelled.</source> <translation>Blocarea portofelului a fost intrerupta</translation> </message> <message> <location line="+8"/> <source>Private key for the entered address is not available.</source> <translation>Cheia privata pentru adresa introdusa nu este valida.</translation> </message> <message> <location line="+12"/> <source>Message signing failed.</source> <translation>Semnarea mesajului a esuat</translation> </message> <message> <location line="+5"/> <source>Message signed.</source> <translation>Mesaj Semnat!</translation> </message> <message> <location line="+59"/> <source>The signature could not be decoded.</source> <translation>Aceasta semnatura nu a putut fi decodata</translation> </message> <message> <location line="+0"/> <location line="+13"/> <source>Please check the signature and try again.</source> <translation>Verifica semnatura si incearca din nou</translation> </message> <message> <location line="+0"/> <source>The signature did not match the message digest.</source> <translation>Semnatura nu seamana!</translation> </message> <message> <location line="+7"/> <source>Message verification failed.</source> <translation>Verificarea mesajului a esuat</translation> </message> <message> <location line="+5"/> <source>Message verified.</source> <translation>Mesaj verificat</translation> </message> </context> <context> <name>SplashScreen</name> <message> <location filename="../splashscreen.cpp" line="+25"/> <source>The UKCoin developers</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>[testnet]</source> <translation>[testnet]</translation> </message> </context> <context> <name>TransactionDesc</name> <message> <location filename="../transactiondesc.cpp" line="+20"/> <source>Open until %1</source> <translation>Deschis până la %1</translation> </message> <message> <location line="+6"/> <source>%1/offline</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>%1/unconfirmed</source> <translation>%1/neconfirmat</translation> </message> <message> <location line="+2"/> <source>%1 confirmations</source> <translation>%1 confirmări</translation> </message> <message> <location line="+18"/> <source>Status</source> <translation>Stare</translation> </message> <message numerus="yes"> <location line="+7"/> <source>, broadcast through %n node(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+4"/> <source>Date</source> <translation>Data</translation> </message> <message> <location line="+7"/> <source>Source</source> <translation>Sursa</translation> </message> <message> <location line="+0"/> <source>Generated</source> <translation>Generat</translation> </message> <message> <location line="+5"/> <location line="+17"/> <source>From</source> <translation>De la</translation> </message> <message> <location line="+1"/> <location line="+22"/> <location line="+58"/> <source>To</source> <translation>Către</translation> </message> <message> <location line="-77"/> <location line="+2"/> <source>own address</source> <translation>Adresa posedata</translation> </message> <message> <location line="-2"/> <source>label</source> <translation>etichetă</translation> </message> <message> <location line="+37"/> <location line="+12"/> <location line="+45"/> <location line="+17"/> <location line="+30"/> <source>Credit</source> <translation>Credit</translation> </message> <message numerus="yes"> <location line="-102"/> <source>matures in %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+2"/> <source>not accepted</source> <translation>nu este acceptat</translation> </message> <message> <location line="+44"/> <location line="+8"/> <location line="+15"/> <location line="+30"/> <source>Debit</source> <translation>Debit</translation> </message> <message> <location line="-39"/> <source>Transaction fee</source> <translation>Comisionul tranzacţiei</translation> </message> <message> <location line="+16"/> <source>Net amount</source> <translation>Suma netă</translation> </message> <message> <location line="+6"/> <source>Message</source> <translation>Mesaj</translation> </message> <message> <location line="+2"/> <source>Comment</source> <translation>Comentarii</translation> </message> <message> <location line="+2"/> <source>Transaction ID</source> <translation>ID-ul tranzactiei</translation> </message> <message> <location line="+3"/> <source>Generated coins must mature 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to &quot;not accepted&quot; and it won&apos;t be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source> <translation>Monedele UKCoin generate se pot cheltui dupa parcurgerea a 120 de blocuri. După ce a fost generat, s-a propagat în reţea, urmând să fie adăugat lanţului de blocuri. Dacă nu poate fi inclus in lanţ, starea sa va deveni &quot;neacceptat&quot; si nu va putea fi folosit la tranzacţii. Acest fenomen se întâmplă atunci cand un alt nod a generat un bloc la o diferenţa de câteva secunde.</translation> </message> <message> <location line="+7"/> <source>Debug information</source> <translation>Informatii pentru debug</translation> </message> <message> <location line="+8"/> <source>Transaction</source> <translation>Tranzacţie</translation> </message> <message> <location line="+3"/> <source>Inputs</source> <translation>Intrari</translation> </message> <message> <location line="+23"/> <source>Amount</source> <translation>Sumă</translation> </message> <message> <location line="+1"/> <source>true</source> <translation>Adevarat!</translation> </message> <message> <location line="+0"/> <source>false</source> <translation>Fals!</translation> </message> <message> <location line="-209"/> <source>, has not been successfully broadcast yet</source> <translation>, nu s-a propagat încă</translation> </message> <message numerus="yes"> <location line="-35"/> <source>Open for %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+70"/> <source>unknown</source> <translation>necunoscut</translation> </message> </context> <context> <name>TransactionDescDialog</name> <message> <location filename="../forms/transactiondescdialog.ui" line="+14"/> <source>Transaction details</source> <translation>Detaliile tranzacţiei</translation> </message> <message> <location line="+6"/> <source>This pane shows a detailed description of the transaction</source> <translation>Afişează detalii despre tranzacţie</translation> </message> </context> <context> <name>TransactionTableModel</name> <message> <location filename="../transactiontablemodel.cpp" line="+225"/> <source>Date</source> <translation>Data</translation> </message> <message> <location line="+0"/> <source>Type</source> <translation>Tipul</translation> </message> <message> <location line="+0"/> <source>Address</source> <translation>Adresa</translation> </message> <message> <location line="+0"/> <source>Amount</source> <translation>Cantitate</translation> </message> <message numerus="yes"> <location line="+57"/> <source>Open for %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+3"/> <source>Open until %1</source> <translation>Deschis până la %1</translation> </message> <message> <location line="+3"/> <source>Offline (%1 confirmations)</source> <translation>Neconectat (%1 confirmări)</translation> </message> <message> <location line="+3"/> <source>Unconfirmed (%1 of %2 confirmations)</source> <translation>Neconfirmat (%1 din %2 confirmări)</translation> </message> <message> <location line="+3"/> <source>Confirmed (%1 confirmations)</source> <translation>Confirmat (%1 confirmări)</translation> </message> <message numerus="yes"> <location line="+8"/> <source>Mined balance will be available when it matures in %n more block(s)</source> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation> </message> <message> <location line="+5"/> <source>This block was not received by any other nodes and will probably not be accepted!</source> <translation>Blocul nu a fost recepţionat de niciun alt nod şi e probabil că nu va fi acceptat.</translation> </message> <message> <location line="+3"/> <source>Generated but not accepted</source> <translation>Generat, dar neacceptat</translation> </message> <message> <location line="+43"/> <source>Received with</source> <translation>Recepţionat cu</translation> </message> <message> <location line="+2"/> <source>Received from</source> <translation>Primit de la:</translation> </message> <message> <location line="+3"/> <source>Sent to</source> <translation>Trimis către</translation> </message> <message> <location line="+2"/> <source>Payment to yourself</source> <translation>Plată către un cont propriu</translation> </message> <message> <location line="+2"/> <source>Mined</source> <translation>Produs</translation> </message> <message> <location line="+38"/> <source>(n/a)</source> <translation>(n/a)</translation> </message> <message> <location line="+199"/> <source>Transaction status. Hover over this field to show number of confirmations.</source> <translation>Starea tranzacţiei. Treceţi cu mouse-ul peste acest câmp pentru afişarea numărului de confirmări.</translation> </message> <message> <location line="+2"/> <source>Date and time that the transaction was received.</source> <translation>Data şi ora la care a fost recepţionată tranzacţia.</translation> </message> <message> <location line="+2"/> <source>Type of transaction.</source> <translation>Tipul tranzacţiei.</translation> </message> <message> <location line="+2"/> <source>Destination address of transaction.</source> <translation>Adresa de destinaţie a tranzacţiei.</translation> </message> <message> <location line="+2"/> <source>Amount removed from or added to balance.</source> <translation>Suma extrasă sau adăugată la sold.</translation> </message> </context> <context> <name>TransactionView</name> <message> <location filename="../transactionview.cpp" line="+52"/> <location line="+16"/> <source>All</source> <translation>Toate</translation> </message> <message> <location line="-15"/> <source>Today</source> <translation>Astăzi</translation> </message> <message> <location line="+1"/> <source>This week</source> <translation>Săptămâna aceasta</translation> </message> <message> <location line="+1"/> <source>This month</source> <translation>Luna aceasta</translation> </message> <message> <location line="+1"/> <source>Last month</source> <translation>Luna trecută</translation> </message> <message> <location line="+1"/> <source>This year</source> <translation>Anul acesta</translation> </message> <message> <location line="+1"/> <source>Range...</source> <translation>Între...</translation> </message> <message> <location line="+11"/> <source>Received with</source> <translation>Recepţionat cu...</translation> </message> <message> <location line="+2"/> <source>Sent to</source> <translation>Trimis către</translation> </message> <message> <location line="+2"/> <source>To yourself</source> <translation>Către propriul cont</translation> </message> <message> <location line="+1"/> <source>Mined</source> <translation>Produs</translation> </message> <message> <location line="+1"/> <source>Other</source> <translation>Altele</translation> </message> <message> <location line="+7"/> <source>Enter address or label to search</source> <translation>Introduceţi adresa sau eticheta pentru căutare</translation> </message> <message> <location line="+7"/> <source>Min amount</source> <translation>Cantitatea produsă</translation> </message> <message> <location line="+34"/> <source>Copy address</source> <translation>Copiază adresa</translation> </message> <message> <location line="+1"/> <source>Copy label</source> <translation>Copiază eticheta</translation> </message> <message> <location line="+1"/> <source>Copy amount</source> <translation>Copiază sumă</translation> </message> <message> <location line="+1"/> <source>Copy transaction ID</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Edit label</source> <translation>Editează eticheta</translation> </message> <message> <location line="+1"/> <source>Show transaction details</source> <translation>Arata detaliile tranzactiei</translation> </message> <message> <location line="+139"/> <source>Export Transaction Data</source> <translation>Exportă tranzacţiile</translation> </message> <message> <location line="+1"/> <source>Comma separated file (*.csv)</source> <translation>Fişier text cu valori separate prin virgulă (*.csv)</translation> </message> <message> <location line="+8"/> <source>Confirmed</source> <translation>Confirmat</translation> </message> <message> <location line="+1"/> <source>Date</source> <translation>Data</translation> </message> <message> <location line="+1"/> <source>Type</source> <translation>Tipul</translation> </message> <message> <location line="+1"/> <source>Label</source> <translation>Etichetă</translation> </message> <message> <location line="+1"/> <source>Address</source> <translation>Adresă</translation> </message> <message> <location line="+1"/> <source>Amount</source> <translation>Sumă</translation> </message> <message> <location line="+1"/> <source>ID</source> <translation>ID</translation> </message> <message> <location line="+4"/> <source>Error exporting</source> <translation>Eroare în timpul exportului</translation> </message> <message> <location line="+0"/> <source>Could not write to file %1.</source> <translation>Fisierul %1 nu a putut fi accesat pentru scriere.</translation> </message> <message> <location line="+100"/> <source>Range:</source> <translation>Interval:</translation> </message> <message> <location line="+8"/> <source>to</source> <translation>către</translation> </message> </context> <context> <name>WalletModel</name> <message> <location filename="../walletmodel.cpp" line="+193"/> <source>Send Coins</source> <translation>Trimite UKCoin</translation> </message> </context> <context> <name>WalletView</name> <message> <location filename="../walletview.cpp" line="+42"/> <source>&amp;Export</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Export the data in the current tab to a file</source> <translation type="unfinished"/> </message> <message> <location line="+193"/> <source>Backup Wallet</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>Wallet Data (*.dat)</source> <translation>Date portofel (*.dat)</translation> </message> <message> <location line="+3"/> <source>Backup Failed</source> <translation>Copia de rezerva a esuat</translation> </message> <message> <location line="+0"/> <source>There was an error trying to save the wallet data to the new location.</source> <translation>A apărut o eroare la încercarea de a salva datele din portofel intr-o noua locație.</translation> </message> <message> <location line="+4"/> <source>Backup Successful</source> <translation type="unfinished"/> </message> <message> <location line="+0"/> <source>The wallet data was successfully saved to the new location.</source> <translation type="unfinished"/> </message> </context> <context> <name>bitcoin-core</name> <message> <location filename="../bitcoinstrings.cpp" line="+94"/> <source>UKCoin version</source> <translation>versiunea UKCoin</translation> </message> <message> <location line="+102"/> <source>Usage:</source> <translation>Uz:</translation> </message> <message> <location line="-29"/> <source>Send command to -server or UKCoind</source> <translation>Trimite comanda la -server sau UKCoind</translation> </message> <message> <location line="-23"/> <source>List commands</source> <translation>Listă de comenzi</translation> </message> <message> <location line="-12"/> <source>Get help for a command</source> <translation>Ajutor pentru o comandă</translation> </message> <message> <location line="+24"/> <source>Options:</source> <translation>Setări:</translation> </message> <message> <location line="+24"/> <source>Specify configuration file (default: UKCoin.conf)</source> <translation>Specifica-ți configurația fisierului (in mod normal: UKCoin.conf)</translation> </message> <message> <location line="+3"/> <source>Specify pid file (default: UKCoind.pid)</source> <translation type="unfinished"/> </message> <message> <location line="-1"/> <source>Specify data directory</source> <translation>Specifica datele directorului</translation> </message> <message> <location line="-9"/> <source>Set database cache size in megabytes (default: 25)</source> <translation>Seteaza marimea cache a bazei de date in MB (initial: 25)</translation> </message> <message> <location line="-28"/> <source>Listen for connections on &lt;port&gt; (default: 8333 or testnet: 18333)</source> <translation>Lista a conectiunile in &lt;port&gt; (initial: 8333 sau testnet: 18333)</translation> </message> <message> <location line="+5"/> <source>Maintain at most &lt;n&gt; connections to peers (default: 125)</source> <translation>Se menține la cele mai multe conexiuni &lt;n&gt; cu colegii (implicit: 125)</translation> </message> <message> <location line="-48"/> <source>Connect to a node to retrieve peer addresses, and disconnect</source> <translation>Conecteaza-te la nod pentru a optine adresa peer, si deconecteaza-te</translation> </message> <message> <location line="+82"/> <source>Specify your own public address</source> <translation>Specifica adresa ta publica</translation> </message> <message> <location line="+3"/> <source>Threshold for disconnecting misbehaving peers (default: 100)</source> <translation>Prag pentru deconectarea colegii funcționează corect (implicit: 100)</translation> </message> <message> <location line="-134"/> <source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source> <translation>Numărul de secunde pentru a păstra colegii funcționează corect la reconectare (implicit: 86400)</translation> </message> <message> <location line="-29"/> <source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source> <translation type="unfinished"/> </message> <message> <location line="+27"/> <source>Listen for JSON-RPC connections on &lt;port&gt; (default: 8332 or testnet: 18332)</source> <translation type="unfinished"/> </message> <message> <location line="+37"/> <source>Accept command line and JSON-RPC commands</source> <translation>Se accepta command line si comenzi JSON-RPC</translation> </message> <message> <location line="+76"/> <source>Run in the background as a daemon and accept commands</source> <translation>Ruleaza în background ca un demon și accepta comenzi.</translation> </message> <message> <location line="+37"/> <source>Use the test network</source> <translation>Utilizeaza test de retea</translation> </message> <message> <location line="-112"/> <source>Accept connections from outside (default: 1 if no -proxy or -connect)</source> <translation>Accepta conexiuni de la straini (initial: 1 if no -proxy or -connect) </translation> </message> <message> <location line="-80"/> <source>%s, you must set a rpcpassword in the configuration file: %s It is recommended you use the following random password: rpcuser=UKCoinrpc rpcpassword=%s (you do not need to remember this password) The username and password MUST NOT be the same. If the file does not exist, create it with owner-readable-only file permissions. It is also recommended to set alertnotify so you are notified of problems; for example: alertnotify=echo %%s | mail -s &quot;UKCoin Alert&quot; admin@foo.com </source> <translation type="unfinished"/> </message> <message> <location line="+17"/> <source>An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Bind to given address and always listen on it. Use [host]:port notation for IPv6</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Cannot obtain a lock on data directory %s. UKCoin is probably already running.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds!</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Execute command when a relevant alert is received (%s in cmd is replaced by message)</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source> <translation type="unfinished"/> </message> <message> <location line="+11"/> <source>Set maximum size of high-priority/low-fee transactions in bytes (default: 27000)</source> <translation>Seteaza marimea maxima a tranzactie mare/mica in bytes (initial:27000)</translation> </message> <message> <location line="+6"/> <source>This is a pre-release test build - use at your own risk - do not use for mining or merchant applications</source> <translation type="unfinished"/> </message> <message> <location line="+5"/> <source>Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: Please check that your computer&apos;s date and time are correct! If your clock is wrong UKCoin will not work properly.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup.</source> <translation type="unfinished"/> </message> <message> <location line="+14"/> <source>Attempt to recover private keys from a corrupt wallet.dat</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Block creation options:</source> <translation>Optiuni creare block</translation> </message> <message> <location line="+5"/> <source>Connect only to the specified node(s)</source> <translation>Conecteaza-te doar la nod(urile) specifice</translation> </message> <message> <location line="+3"/> <source>Corrupted block database detected</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Discover own IP address (default: 1 when listening and no -externalip)</source> <translation>Descopera propria ta adresa IP (intial: 1)</translation> </message> <message> <location line="+1"/> <source>Do you want to rebuild the block database now?</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Error initializing block database</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error initializing wallet database environment %s!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error loading block database</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Error opening block database</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Error: Disk space is low!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error: Wallet locked, unable to create transaction!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Error: system error: </source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to listen on any port. Use -listen=0 if you want this.</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to read block info</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to read block</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to sync block index</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write block index</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write block info</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write block</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write file info</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write to coin database</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write transaction index</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Failed to write undo data</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Find peers using DNS lookup (default: 1 unless -connect)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Generate coins (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>How many blocks to check at startup (default: 288, 0 = all)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>How thorough the block verification is (0-4, default: 3)</source> <translation type="unfinished"/> </message> <message> <location line="+19"/> <source>Not enough file descriptors available.</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Rebuild block chain index from current blk000??.dat files</source> <translation type="unfinished"/> </message> <message> <location line="+16"/> <source>Set the number of threads to service RPC calls (default: 4)</source> <translation type="unfinished"/> </message> <message> <location line="+26"/> <source>Verifying blocks...</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Verifying wallet...</source> <translation type="unfinished"/> </message> <message> <location line="-69"/> <source>Imports blocks from external blk000??.dat file</source> <translation type="unfinished"/> </message> <message> <location line="-76"/> <source>Set the number of script verification threads (up to 16, 0 = auto, &lt;0 = leave that many cores free, default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+77"/> <source>Information</source> <translation type="unfinished"/> </message> <message> <location line="+3"/> <source>Invalid -tor address: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Invalid amount for -minrelaytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Invalid amount for -mintxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation type="unfinished"/> </message> <message> <location line="+8"/> <source>Maintain a full transaction index (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Maximum per-connection receive buffer, &lt;n&gt;*1000 bytes (default: 5000)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Maximum per-connection send buffer, &lt;n&gt;*1000 bytes (default: 1000)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Only accept block chain matching built-in checkpoints (default: 1)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Only connect to nodes in network &lt;net&gt; (IPv4, IPv6 or Tor)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Output extra debugging information. Implies all other -debug* options</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Output extra network debugging information</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Prepend debug output with timestamp</source> <translation>Copie de ieșire de depanare cu timestamp</translation> </message> <message> <location line="+5"/> <source>SSL options: (see the UKCoin Wiki for SSL setup instructions)</source> <translation>Optiuni SSl (vezi UKCoin wiki pentru intructiunile de instalare)</translation> </message> <message> <location line="+1"/> <source>Select the version of socks proxy to use (4-5, default: 5)</source> <translation>Selecteaza versiunea socks-ului pe care vrei sa il folosesti (4-5, initial: 5)</translation> </message> <message> <location line="+3"/> <source>Send trace/debug info to console instead of debug.log file</source> <translation>Trimite urmări / debug info la consola loc de debug.log fișier</translation> </message> <message> <location line="+1"/> <source>Send trace/debug info to debugger</source> <translation>Trimite urmări / debug info la depanatorul</translation> </message> <message> <location line="+5"/> <source>Set maximum block size in bytes (default: 250000)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Set minimum block size in bytes (default: 0)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Shrink debug.log file on client startup (default: 1 when no -debug)</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Signing transaction failed</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Specify connection timeout in milliseconds (default: 5000)</source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>System error: </source> <translation type="unfinished"/> </message> <message> <location line="+4"/> <source>Transaction amount too small</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Transaction amounts must be positive</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Transaction too large</source> <translation type="unfinished"/> </message> <message> <location line="+7"/> <source>Use UPnP to map the listening port (default: 0)</source> <translation>Foloseste UPnP pentru a vedea porturile (initial: 0)</translation> </message> <message> <location line="+1"/> <source>Use UPnP to map the listening port (default: 1 when listening)</source> <translation>Foloseste UPnP pentru a vedea porturile (initial: 1 cand listezi)</translation> </message> <message> <location line="+1"/> <source>Use proxy to reach tor hidden services (default: same as -proxy)</source> <translation type="unfinished"/> </message> <message> <location line="+2"/> <source>Username for JSON-RPC connections</source> <translation>Username pentru conectiunile JSON-RPC</translation> </message> <message> <location line="+4"/> <source>Warning</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>Warning: This version is obsolete, upgrade required!</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>You need to rebuild the databases using -reindex to change -txindex</source> <translation type="unfinished"/> </message> <message> <location line="+1"/> <source>wallet.dat corrupt, salvage failed</source> <translation type="unfinished"/> </message> <message> <location line="-50"/> <source>Password for JSON-RPC connections</source> <translation>Parola pentru conectiunile JSON-RPC</translation> </message> <message> <location line="-67"/> <source>Allow JSON-RPC connections from specified IP address</source> <translation>Permiteti conectiunile JSON-RPC de la o adresa IP specifica.</translation> </message> <message> <location line="+76"/> <source>Send commands to node running on &lt;ip&gt; (default: 127.0.0.1)</source> <translation>Trimite comenzi la nod, ruland pe ip-ul (initial: 127.0.0.1)</translation> </message> <message> <location line="-120"/> <source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source> <translation>Executa comanda cand cel mai bun block se schimba (%s in cmd se inlocuieste cu block hash)</translation> </message> <message> <location line="+147"/> <source>Upgrade wallet to latest format</source> <translation>Actualizeaza portofelul la ultimul format</translation> </message> <message> <location line="-21"/> <source>Set key pool size to &lt;n&gt; (default: 100)</source> <translation>Setarea marimii cheii bezinului la &lt;n&gt;(initial 100)</translation> </message> <message> <location line="-12"/> <source>Rescan the block chain for missing wallet transactions</source> <translation>Rescanare lanțul de bloc pentru tranzacțiile portofel lipsă</translation> </message> <message> <location line="+35"/> <source>Use OpenSSL (https) for JSON-RPC connections</source> <translation>Foloseste Open SSL(https) pentru coneciunile JSON-RPC</translation> </message> <message> <location line="-26"/> <source>Server certificate file (default: server.cert)</source> <translation>Certificatul serverulu (initial: server.cert)</translation> </message> <message> <location line="+1"/> <source>Server private key (default: server.pem)</source> <translation>Cheia privata a serverului ( initial: server.pem)</translation> </message> <message> <location line="-151"/> <source>Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</source> <translation>Accepta cifruri (initial: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)</translation> </message> <message> <location line="+165"/> <source>This help message</source> <translation>Acest mesaj de ajutor.</translation> </message> <message> <location line="+6"/> <source>Unable to bind to %s on this computer (bind returned error %d, %s)</source> <translation>Nu se poate lega %s cu acest calculator (retunare eroare legatura %d, %s) </translation> </message> <message> <location line="-91"/> <source>Connect through socks proxy</source> <translation>Conectează prin proxy SOCKS</translation> </message> <message> <location line="-10"/> <source>Allow DNS lookups for -addnode, -seednode and -connect</source> <translation>Permite DNS-ului sa se uite dupa -addnode, -seednode si -connect</translation> </message> <message> <location line="+55"/> <source>Loading addresses...</source> <translation>Încarc adrese...</translation> </message> <message> <location line="-35"/> <source>Error loading wallet.dat: Wallet corrupted</source> <translation>Eroare incarcand wallet.dat: Portofel corupt</translation> </message> <message> <location line="+1"/> <source>Error loading wallet.dat: Wallet requires newer version of UKCoin</source> <translation>Eroare incarcare wallet.dat: Portofelul are nevoie de o versiune UKCoin mai noua</translation> </message> <message> <location line="+93"/> <source>Wallet needed to be rewritten: restart UKCoin to complete</source> <translation>Portofelul trebuie rescris: restarteaza aplicatia UKCoin pentru a face asta.</translation> </message> <message> <location line="-95"/> <source>Error loading wallet.dat</source> <translation>Eroare incarcand wallet.dat</translation> </message> <message> <location line="+28"/> <source>Invalid -proxy address: &apos;%s&apos;</source> <translation>Adresa proxy invalida: &apos;%s&apos;</translation> </message> <message> <location line="+56"/> <source>Unknown network specified in -onlynet: &apos;%s&apos;</source> <translation>Retea specificata necunoscuta -onlynet: &apos;%s&apos;</translation> </message> <message> <location line="-1"/> <source>Unknown -socks proxy version requested: %i</source> <translation>Necunoscut -socks proxy version requested: %i</translation> </message> <message> <location line="-96"/> <source>Cannot resolve -bind address: &apos;%s&apos;</source> <translation>Nu se poate rezolca -bind address: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Cannot resolve -externalip address: &apos;%s&apos;</source> <translation>Nu se poate rezolva -externalip address: &apos;%s&apos;</translation> </message> <message> <location line="+44"/> <source>Invalid amount for -paytxfee=&lt;amount&gt;: &apos;%s&apos;</source> <translation>Suma invalida pentru -paytxfee=&lt;amount&gt;: &apos;%s&apos;</translation> </message> <message> <location line="+1"/> <source>Invalid amount</source> <translation>Suma invalida</translation> </message> <message> <location line="-6"/> <source>Insufficient funds</source> <translation>Fonduri insuficiente</translation> </message> <message> <location line="+10"/> <source>Loading block index...</source> <translation>Încarc indice bloc...</translation> </message> <message> <location line="-57"/> <source>Add a node to connect to and attempt to keep the connection open</source> <translation>Add a node to connect to and attempt to keep the connection open details suggestions history </translation> </message> <message> <location line="-25"/> <source>Unable to bind to %s on this computer. UKCoin is probably already running.</source> <translation>Imposibilitatea de a lega la% s pe acest computer. UKCoin este, probabil, deja în execuție.</translation> </message> <message> <location line="+64"/> <source>Fee per KB to add to transactions you send</source> <translation>Taxa pe kb pentru a adauga tranzactii trimise</translation> </message> <message> <location line="+19"/> <source>Loading wallet...</source> <translation>Încarc portofel...</translation> </message> <message> <location line="-52"/> <source>Cannot downgrade wallet</source> <translation>Nu se poate face downgrade la portofel</translation> </message> <message> <location line="+3"/> <source>Cannot write default address</source> <translation>Nu se poate scrie adresa initiala</translation> </message> <message> <location line="+64"/> <source>Rescanning...</source> <translation>Rescanez...</translation> </message> <message> <location line="-57"/> <source>Done loading</source> <translation>Încărcare terminată</translation> </message> <message> <location line="+82"/> <source>To use the %s option</source> <translation>Pentru a folosii optiunea %s</translation> </message> <message> <location line="-74"/> <source>Error</source> <translation>Eroare</translation> </message> <message> <location line="-31"/> <source>You must set rpcpassword=&lt;password&gt; in the configuration file: %s If the file does not exist, create it with owner-readable-only file permissions.</source> <translation type="unfinished"/> </message> </context> </TS>
{ "content_hash": "b85a69f9edee2479232b341c23feda86", "timestamp": "", "source": "github", "line_count": 2922, "max_line_length": 420, "avg_line_length": 37.36789869952088, "alnum_prop": 0.6185971114306387, "repo_name": "ukcoin-project/UKC", "id": "97e2bbd4c19470c682e7a9026367a2a73b72b8bd", "size": "109616", "binary": false, "copies": "1", "ref": "refs/heads/master", "path": "src/qt/locale/bitcoin_ro_RO.ts", "mode": "33261", "license": "mit", "language": [ { "name": "C", "bytes": "103127" }, { "name": "C++", "bytes": "2479239" }, { "name": "CSS", "bytes": "1127" }, { "name": "IDL", "bytes": "13033" }, { "name": "Nu", "bytes": "264" }, { "name": "Objective-C", "bytes": "5711" }, { "name": "Perl", "bytes": "12210" }, { "name": "Python", "bytes": "3773" }, { "name": "Shell", "bytes": "8172" }, { "name": "TypeScript", "bytes": "5229130" } ], "symlink_target": "" }