code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
<section class="status-component"> <card-component *ngFor="let service of services" [service]="service"></card-component> </section>
IoTitude/Portal
app/templates/status.html
HTML
mit
135
from cms.plugin_base import CMSPluginBase from cms.plugin_pool import plugin_pool from .models import ScriptPlugin as Plugin class ScriptPlugin(CMSPluginBase): model = Plugin name = 'Custom script' render_template = 'cms/plugins/script_injection.html' plugin_pool.register_plugin(ScriptPlugin)
satyrius/cmsplugin-scripts
cmsplugin_scripts/cms_plugins.py
Python
mit
310
import {Inject, factory, default as injector} from "../src/relayer/injector.js" describe("injector", function() { class First { constructor() { } } class Second { constructor() { } } class Third { constructor(first, secondFactory, something) { this.first = first; this.second = secondFactory(); this.something = something; } } Inject(First, factory(Second))(Third); var third; beforeEach(function() { third = injector.instantiate(Third, "something"); }); it("should instantiate singletons", function() { expect(third.first instanceof First).toEqual(true); }); it("should instantiate factories", function() { expect(third.second instanceof Second).toEqual(true); }); it("should pass parameters on", function() { expect(third.something).toEqual("something"); }); });
XingFramework/Relayer
test/injector.js
JavaScript
mit
866
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; /** * Class Category * @package App */ class Category extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'categories'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'title', 'created_by' ]; /** * @return BelongsTo */ public function author() { return $this->belongsTo(User::class, 'created_by', 'id'); } }
crip-chrome/bookmark-blog
app/Category.php
PHP
mit
626
module.exports = { url : 'mongodb://localhost/apis' }
wardialer/pretty-hate-machine
config/database.js
JavaScript
mit
60
public class User { private DadosLogin dadosLogin; private String nome; private String sobreNome; private String endereco; public User(DadosLogin dl,String n, String sn, String end){ dadosLogin = dl; nome = n; sobreNome = sn; endereco = end; } public DadosLogin getDadosLogin(){ return dadosLogin; } }
andersonsilvade/workspacejava
engsoft1globalcode/FacebookCorrecao/src/User.java
Java
mit
328
--- layout: post title: 批量产生github博文 date: 2015-11-25 categories: Git tags: Git Python --- * content {:toc} 从一个私有文字托管系统打包所有写的文字出来,批量生成指定格式文档。 摘要: 在牛逼的欢爷手把手传授下,写出批量生成 `github` 博文脚本 ## 直接上代码啦: ``` # coding: utf-8 import os import uuid import random import shutil root = 'C:\\Users\\123\\Desktop\\Cmd-Markdowns-2016-09-12-19-01' def createDate(): year = range(2015,2017)[random.randint(0,1)] month = range(1,13)[random.randint(0,11)] day = range(1,31)[random.randint(0,29)] date = '%s-%02d-%02d' %(year,month,day) return date def createFilename(): return str(uuid.uuid4()) def createCate(c): #print c[2][26:] return c[2][27:].split()[0] def createTags(c): return c[2][27:-1] def createTitle(c): return c[0][2:-1] def createAbst(c): return ''.join(c[10:14]) def createNewContent(c): nc = [] for line in c: if line.startswith('###') and line[3] != ' ': new_line = line[:3] + ' ' + line[3:] elif line.startswith('##') and line[2] != ' ': new_line = line[:2] + ' ' + line[2:] elif line.startswith('#') and line[1] != ' ': new_line = line[:1] + ' ' + line[1:] else: new_line = line nc.append(new_line) return nc dir_list = os.listdir(root) # print dir_list if os.path.isdir('F:\\new-dir'): shutil.rmtree('F:\\new-dir') os.mkdir('F:\\new-dir') for i in dir_list: print i sec_dir = os.listdir(root+ '\\' +i) #print sec_dir for j in sec_dir: print j content = open(root+ '\\' +i + '\\'+ j).readlines() content = createNewContent(content) title = createTitle(content) date = createDate() cate = createCate(content) tags = createTags(content) abst = createAbst(content) f = open('F:\\new-dir' + '\\' + date + '-' + createFilename()+ '.md', 'w') header = '''--- layout: post title: %s date: %s categories: %s tags: %s --- * content {:toc} %s ''' header_content = header %(title,date,cate,tags,abst) f.write(header_content) f.write(''.join(content)) f.close() ``` 建议使用 `notepad++` 编辑器: `设置`——>`首选项`——>`新建`——>`unix`——>`UTF-8(无BOM)`,勾上应用于打开ANSI文件。
zam121118/zam121118.github.io
_posts/2015-11-25-12cbc66e-5fd8-4396-aa42-1a2ed4c6772c.md
Markdown
mit
2,471
#include <iostream> #include <fstream> #include <iomanip> #include <exception> #include <string> #include <memory> #include <deque> #include "CDbDiscogs.h" using std::string; using std::exception; using std::cout; using std::endl; int main(int argc, const char *argv[]) { try { std::deque<string> ids; CDbDiscogs dc; ids.push_back("3224333"); // rachmaninov symphony box set ids.push_back("530300"); // beethoven 9th ids.push_back("2449413"); // jobim songbook ids.push_back("1879353"); // joshua redman dc.Query(ids); dc.Query(ids[2],2); //cout << dc.NumberOfTracks() << endl; //cout << dc.NumberOfDiscs() << endl; //dc.PrintJSON(0); std::unique_ptr<SDbrBase> cdr(dc.Retrieve()); cout << *cdr << endl; } catch (exception& e) { cout << "An exception thrown" << endl; cout << e.what() << endl; return 1; } return 0; }
hokiedsp/autocdripper
src/discogsdemo.cpp
C++
mit
985
/** * @file multi_range_subarray.c * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2018-2021 TileDB, Inc. * * 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. * * @section DESCRIPTION * * This is a part of the TileDB quickstart tutorial: * https://docs.tiledb.io/en/latest/tutorials/reading.html#multi_range_slicing * * When run, this program will create a simple 2D dense array, write some data * to it, and read a multi-range slice of the data back. * */ #include <stdio.h> #include <tiledb/tiledb.h> // Name of array. const char* array_name = "multi_range_subarray"; void create_array() { // Create TileDB context tiledb_ctx_t* ctx; tiledb_ctx_alloc(NULL, &ctx); // The array will be 4x4 with dimensions "rows" and "cols", with domain [1,4]. int dim_domain[] = {1, 4, 1, 4}; int tile_extents[] = {4, 4}; tiledb_dimension_t* d1; tiledb_dimension_alloc( ctx, "rows", TILEDB_INT32, &dim_domain[0], &tile_extents[0], &d1); tiledb_dimension_t* d2; tiledb_dimension_alloc( ctx, "cols", TILEDB_INT32, &dim_domain[2], &tile_extents[1], &d2); // Create domain tiledb_domain_t* domain; tiledb_domain_alloc(ctx, &domain); tiledb_domain_add_dimension(ctx, domain, d1); tiledb_domain_add_dimension(ctx, domain, d2); // Create a single attribute "a" so each (i,j) cell can store an integer tiledb_attribute_t* a; tiledb_attribute_alloc(ctx, "a", TILEDB_INT32, &a); // Create array schema tiledb_array_schema_t* array_schema; tiledb_array_schema_alloc(ctx, TILEDB_DENSE, &array_schema); tiledb_array_schema_set_cell_order(ctx, array_schema, TILEDB_ROW_MAJOR); tiledb_array_schema_set_tile_order(ctx, array_schema, TILEDB_ROW_MAJOR); tiledb_array_schema_set_domain(ctx, array_schema, domain); tiledb_array_schema_add_attribute(ctx, array_schema, a); // Create array tiledb_array_create(ctx, array_name, array_schema); // Clean up tiledb_attribute_free(&a); tiledb_dimension_free(&d1); tiledb_dimension_free(&d2); tiledb_domain_free(&domain); tiledb_array_schema_free(&array_schema); tiledb_ctx_free(&ctx); } void write_array() { // Create TileDB context tiledb_ctx_t* ctx; tiledb_ctx_alloc(NULL, &ctx); // Open array for writing tiledb_array_t* array; tiledb_array_alloc(ctx, array_name, &array); tiledb_array_open(ctx, array, TILEDB_WRITE); // Prepare some data for the array int data[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; uint64_t data_size = sizeof(data); // Create the query tiledb_query_t* query; tiledb_query_alloc(ctx, array, TILEDB_WRITE, &query); tiledb_query_set_layout(ctx, query, TILEDB_ROW_MAJOR); tiledb_query_set_data_buffer(ctx, query, "a", data, &data_size); // Submit query tiledb_query_submit(ctx, query); // Close array tiledb_array_close(ctx, array); // Clean up tiledb_array_free(&array); tiledb_query_free(&query); tiledb_ctx_free(&ctx); } void read_array() { // Create TileDB context tiledb_ctx_t* ctx; tiledb_ctx_alloc(NULL, &ctx); // Open array for reading tiledb_array_t* array; tiledb_array_alloc(ctx, array_name, &array); tiledb_array_open(ctx, array, TILEDB_READ); // Prepare the vector that will hold the result (of size 6 elements) int data[12]; uint64_t data_size = sizeof(data); // Create query tiledb_query_t* query; tiledb_query_alloc(ctx, array, TILEDB_READ, &query); tiledb_query_set_layout(ctx, query, TILEDB_ROW_MAJOR); tiledb_query_set_data_buffer(ctx, query, "a", data, &data_size); // Set multi-range subarray to query int row_0_start = 1, row_0_end = 2; int row_1_start = 4, row_1_end = 4; int col_0_start = 1, col_0_end = 4; tiledb_query_add_range(ctx, query, 0, &row_0_start, &row_0_end, NULL); tiledb_query_add_range(ctx, query, 0, &row_1_start, &row_1_end, NULL); tiledb_query_add_range(ctx, query, 1, &col_0_start, &col_0_end, NULL); // Submit query tiledb_query_submit(ctx, query); // Close array tiledb_array_close(ctx, array); // Print out the results. for (int i = 0; i < 12; ++i) printf("%d ", data[i]); printf("\n"); // Clean up tiledb_array_free(&array); tiledb_query_free(&query); tiledb_ctx_free(&ctx); } int main() { // Get object type tiledb_ctx_t* ctx; tiledb_ctx_alloc(NULL, &ctx); tiledb_object_t type; tiledb_object_type(ctx, array_name, &type); tiledb_ctx_free(&ctx); if (type != TILEDB_ARRAY) { create_array(); write_array(); } read_array(); return 0; }
TileDB-Inc/TileDB
examples/c_api/multi_range_subarray.c
C
mit
5,548
'use strict' /** * New Relic agent configuration. * * See lib/config.defaults.js in the agent distribution for a more complete * description of configuration variables and their potential values. */ exports.config = { /** * Array of application names. */ app_name: ['Slack Challonger'], /** * Your New Relic license key. */ license_key: 'f8557dca7b3a647bee2e042ee170047d527b2a57', logging: { /** * Level at which to log. 'trace' is most useful to New Relic when diagnosing * issues with the agent, 'info' and higher will impose the least overhead on * production applications. */ level: 'info' } }
nmynarcik/challonger
newrelic.js
JavaScript
mit
656
--- title: Migration template: default.ejs menuPage: false theme: light repository: https://github.com/unexpectedjs/unexpected --- # Migration Unexpected has from its inception taken backwards compatibility very seriously. We think this is particularly important for a library intended for use in testing &ndash; we recognise that comprehensive test suites are often a large investment and play a central role in ongoing development of software. This sets a very high bar for any changes. The project strictly adheres to semver. As such anything that carries a risk of breakage is carefully considered, must demonstrate significant benefit to be chosen for inclusion and would mean a new major version. ## Major revisions ### Migration to Unexpected 11 Version 11 is the first major release that makes some carefully calculated changes in the user facing API which may require test changes. We have made every effort to minimise the effects on end users and this extends to the plugin ecosystem which has seen the most commonly used being made compatible. The changes are all focused on simplifying the mental model for users. A handful of constructs which proved themselves to be sources of confusion and to the best of our knowledge have not seen wide use have been replaced with **existing** alternatives. This means a safe upgrade path is available: tests can be updated against the current version of the library and the changes are forwards compatible. #### Raise minimum node version to 6+ In our work to continue moving forward we have upgraded many of our dependencies. Many of these tools have themselves dropped node 4 support and we have decided to do the same. This does not affect our browser compatibility which remains at the ES5 level and IE11. #### Using extensions via the API requires calling .clone() Previously once imported the entirety of the Unexpected API was immediately available to users which could lead to surprising results if types or assertions were added to it directly. In version 11 the top-level of the library has been frozen and extending the functionality requires an expilcit `.clone()` call to be made: <!-- unexpected-markdown evaluate:false --> <!-- eslint-skip --> ```js const unexpected = require('unexpected'); const expect = unexpected.clone(); expect.addAssertion(...); ``` #### Use `expect.it()` for assertions on property values Previously when used in conjunction with [to satisfy](../assertions/any/to-satisfy/) a property defined as a function on the right-hand side would be passed the value to allow further assertions: <!-- unexpected-markdown evaluate:false --> ```js const obj = { version: 11, greeting: 'hello new major', }; expect(obj, 'to satisfy', { year: 2018, greeting: function (theValue) { expect(theValue, 'to start with', 'hello'); }, }); ``` > Note: this is no longer supported by Unexpected v11 For cases where the value of a property must conform to a more rigorous set of constraints, we replaced the earlier syntax with the `expect.it()`: ```js const obj = { version: 11, greeting: 'hello new major', }; expect(obj, 'to satisfy', { version: 11, greeting: expect.it(function (theValue) { expect(theValue, 'to start with', 'hello'); }), }); ``` We believe this is also much more versatile because of the powerful chaining support provided by `expect.it()`: ```js expect(obj, 'to satisfy', { version: 11, greeting: expect .it('to be a string') .and('to end with', 'major') .and((theValue) => expect(theValue.split(' '), 'to have length', 3)), }); ``` #### Functions are always compared by value Building upon the `expect.it()` changes, all function comparisons will now be made using the identity of the function. This is unlike previous versions where they were treated specially and could lead to surprising results: ```js function createErrorIfRequired(message) { if (typeof message !== 'string') { return null; } return new Error(message); } function somethingThatThrows() { throw createErrorIfRequired('failure'); } ``` <!-- unexpected-markdown evaluate:false --> ```js expect(somethingThatThrows, 'to throw error', createErrorIfRequired); ``` > Note: this is no longer supported by Unexpected v11 The code above is intended to check the error type, but passing a function directly on the right-hand side would cause it to succeed. In version 11 it immediately leads to an error and the assertion must be written more explicitly allowing the issue to be caught: ```js expect( somethingThatThrows, 'to throw error', expect.it('to equal', createErrorIfRequired('failure')) ); ``` When interacting with object types this affects: - [to satisfy](../assertions/any/to-satisfy/) - [to have keys satisfying](../assertions/object/to-have-keys-satisfying/) - [to have a value satisfying](../assertions/object/to-have-a-value-satisfying/) - [to have values satisfying](../assertions/object/to-have-values-satisfying/) ```js function myCallback() {} const options = { data: null, callback: myCallback, }; expect(options, 'to satisfy', { callback: myCallback, }); expect(options, 'to have a value satisfying', myCallback); ``` With array-like types it affects: - [to satisfy](../assertions/any/to-satisfy/) - [to have an item satisfying](../assertions/array-like/to-have-an-item-satisfying/) - [to have items satisfying](../assertions/array-like/to-have-items-satisfying/) ```js function someFunction() {} const args = [someFunction]; expect(args, 'to have an item satisfying', someFunction); ``` #### Support for `expect.async` has been removed `expect.async` was a helper for asynchronous tests. It predates Unexpected's promise support and we expect that it's very unlikely to be used by anyone. If you're using it, we recommend that you rewrite the given tests to a promise-driven flow as part of upgrading to Unexpected 11. #### `this.errorMode` etc. no longer available in assertion handlers This syntax has been deprecated since Unexpected 3: <!-- unexpected-markdown evaluate:false --> ```js expect.addAssertion('<string> to be foo', (expect, subject) => { this.errorMode = 'nested'; expect(subject, 'to equal', 'foo'); }); ``` > Note: this is no longer supported by Unexpected v11 To fix code like this, access the property on `expect` instead: ```js expect.addAssertion('<string> to be foo', (expect, subject) => { expect.errorMode = 'nested'; expect(subject, 'to equal', 'foo'); }); ```
unexpectedjs/unexpected
documentation/migration.md
Markdown
mit
6,496
from datetime import datetime from io import StringIO from unittest import mock from django.contrib.auth.models import User from django.core.management import call_command from django.test import TestCase from mainapp.models import UserAlert, UserProfile from mainapp.tests.live.helper import MockMainappSearch class TestNotifyUsers(TestCase): fixtures = ["initdata"] def _create_user_with_alerts(self, email, alerts): newuser = User() newuser.email = email newuser.username = email newuser.is_active = 1 newuser.save() UserProfile.objects.create(user=newuser) for alert in alerts: alert_object = UserAlert() alert_object.search_string = alert alert_object.last_match = None alert_object.user = newuser alert_object.save() @mock.patch("mainapp.functions.notify_users.send_mail") @mock.patch( "mainapp.functions.search.MainappSearch.execute", new=MockMainappSearch.execute ) def test_notify(self, send_mail_function): self._create_user_with_alerts("[email protected]", ["test"]) out = StringIO() call_command( "notify_users", stdout=out, override_since=datetime.fromisoformat("2017-01-01"), ) self.assertEqual(send_mail_function.call_count, 1) self.assertEqual(send_mail_function.call_args[0][0], "[email protected]") self.assertTrue("Title Highlight" in send_mail_function.call_args[0][2]) self.assertTrue( "Title <mark>Highlight</mark>" in send_mail_function.call_args[0][3] ) self.assertTrue("Unsubscribe" in send_mail_function.call_args[0][2]) self.assertTrue("Unsubscribe" in send_mail_function.call_args[0][3])
meine-stadt-transparent/meine-stadt-transparent
mainapp/tests/main/test_notifyusers.py
Python
mit
1,808
goog.provide('core.testing.util'); goog.require('goog.string'); goog.require('lib.underscore'); /** * Returns a string of 'lorem ipsum'. * @param {int} totalChars - the number of characters to include. * @param {Boolean} fullStop - optional flag indicating if the string * should be prefixed with a full stop. * */ core.testing.loremIpsum = (function() { var raw = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. ' + 'Maecenas vel eleifend nisl. Suspendisse tristique dignissim ' + 'leo ut auctor. Cras convallis purus sed massa placerat sed ' + 'cursus sapien consectetur. In hac habitasse platea dictumst. ' + 'Nullam ac neque eu libero dictum iaculis in convallis erat. ' + 'Sed et tortor quis justo congue condimentum sed egestas orci. ' + 'Aenean a ipsum mattis mi bibendum varius viverra at erat. ' + 'Nunc arcu neque, sodales eget placerat vel, vehicula ut orci. ' + 'Mauris euismod consectetur mauris quis imperdiet. ' + 'Cras pharetra egestas felis sit amet egestas. Proin tristique ' + 'iaculis leo, nec hendrerit lacus tristique in. Nulla congue ' + 'ultricies lorem a viverra. Fusce quis lectus ac enim ultricies ' + 'molestie. Proin elit arcu, hendrerit facilisis feugiat tempor, ' + 'accumsan quis nulla. Maecenas gravida ultricies enim quis ' + 'vulputate. Quisque id velit vitae enim lacinia feugiat ut ut ' + 'sapien. Fusce semper venenatis sapien id vulputate. Aenean ' + 'tempor hendrerit pulvinar. Praesent sed tortor vitae magna ' + 'consequat tempor. Nullam a volutpat eros. Suspendisse sit ' + 'amet quam ac purus convallis semper vel id erat. Praesent ' + 'interdum, mauris a hendrerit mattis, sem velit congue velit, ' + 'vel faucibus nunc nibh vel lectus. Suspendisse mollis, magna non ' + 'aliquet tempor, massa velit feugiat sem, ut sagittis risus eros a ' + 'est. Curabitur mattis vulputate nisl, a cursus diam ultricies et. ' + 'Maecenas nunc dui, pulvinar et semper vitae, accumsan quis ' + 'libero. Etiam lobortis leo eget purus porttitor vitae adipiscing ' + 'dolor scelerisque.'; return function(totalChars, fullStop) { var source, replaceLast; // Setup initial conditions. if (!totalChars || totalChars <= 0) return ''; if (fullStop === undefined) fullStop = true; // Ensure the text is long enough. source = raw; while (source.length < totalChars) { source += raw; } replaceLast = function(text, withChar) { return text.substr(0, lorem.length - 1) + withChar; }; // Get the return words. var lorem = source.substr(0, totalChars); // Trim space. if (goog.string.endsWith(lorem, ' ')) lorem = replaceLast(lorem, 'e'); // Trim full stop. if (goog.string.endsWith(lorem, '.')) lorem = replaceLast(lorem, 's'); // Append full stop (if required). if (fullStop) lorem = replaceLast(lorem, '.'); // Finish up. return lorem; }; }());
philcockfield/js-open.core_dev
public/javascripts/open.core/trunk/code/testing/testing.util.js
JavaScript
mit
3,153
<?php $connect = mysqli_connect("localhost", "root", "", "wdadviser"); $lgu_office_name = $_GET['lgu_office_name']; $check_office = mysqli_query($connect, "SELECT * FROM lgu_office WHERE lgu_agency = '$lgu_office_name'"); $retrieve_office = mysqli_fetch_array($check_office); $nums = mysqli_num_rows($check_office); if($nums == 0){ $insert_lgu_office = mysqli_query($connect, "INSERT INTO lgu_office VALUES (0, '$lgu_office_name', '0,0')"); echo json_encode(1); } else { echo json_encode("Office exists in the database!"); } ?>
annoyaaanz/Special-Problem
database/admin-add-lgu-office.php
PHP
mit
595
var g_startOffset = null; var g_selectedPiece = null; var moveNumber = 1; var g_allMoves = []; var g_playerWhite = true; var g_changingFen = false; var g_analyzing = false; var g_uiBoard; var g_cellSize = 45; function UINewGame() { moveNumber = 1; var pgnTextBox = document.getElementById("PgnTextBox"); // pgnTextBox.value = ""; EnsureAnalysisStopped(); // UI (terminate and destroy worker) ResetGame(); // shouldn't work if (InitializeBackgroundEngine()) { g_backgroundEngine.postMessage("go"); } g_allMoves = []; RedrawBoard(); //UI // if player is black play the first move if (!g_playerWhite) { SearchAndRedraw(); //UI } } function EnsureAnalysisStopped() { if (g_analyzing && g_backgroundEngine != null) { g_backgroundEngine.terminate(); g_backgroundEngine = null; } } function UIAnalyzeToggle() { if (InitializeBackgroundEngine()) { if (!g_analyzing) { g_backgroundEngine.postMessage("analyze"); } else { EnsureAnalysisStopped(); } g_analyzing = !g_analyzing; document.getElementById("AnalysisToggleLink").innerText = g_analyzing ? "Analysis: On" : "Analysis: Off"; } else { alert("Your browser must support web workers for analysis - (chrome4, ff4, safari)"); } } function UIChangeFEN() { if (!g_changingFen) { var fenTextBox = document.getElementById("FenTextBox"); var result = InitializeFromFen(fenTextBox.value); if (result.length != 0) { UpdatePVDisplay(result); return; } else { UpdatePVDisplay(''); } g_allMoves = []; EnsureAnalysisStopped(); InitializeBackgroundEngine(); g_playerWhite = !!g_toMove; g_backgroundEngine.postMessage("position " + GetFen()); RedrawBoard(); } } function UIChangeStartPlayer() { g_playerWhite = !g_playerWhite; RedrawBoard(); } function UpdatePgnTextBox(move) { var pgnTextBox = document.getElementById("PgnTextBox"); if (g_toMove != 0) { pgnTextBox.value += moveNumber + ". "; moveNumber++; } pgnTextBox.value += GetMoveSAN(move) + " "; } function UIChangeTimePerMove() { var timePerMove = document.getElementById("TimePerMove"); g_timeout = parseInt(timePerMove.value, 10); } function FinishMove(bestMove, value, timeTaken, ply) { if (bestMove != null) { UIPlayMove(bestMove, BuildPVMessage(bestMove, value, timeTaken, ply)); } else { alert("Checkmate!"); } } function UIPlayMove(move, pv) { UpdatePgnTextBox(move); g_allMoves[g_allMoves.length] = move; MakeMove(move); UpdatePVDisplay(pv); UpdateFromMove(move); } // buggy doesn't update the pgn properly function UIUndoMove() { if (g_allMoves.length == 0) { return; } if (g_backgroundEngine != null) { g_backgroundEngine.terminate(); g_backgroundEngine = null; } UnmakeMove(g_allMoves[g_allMoves.length - 1]); g_allMoves.pop(); if (g_playerWhite !== !!g_toMove && g_allMoves.length !== 0) { UnmakeMove(g_allMoves[g_allMoves.length - 1]); g_allMoves.pop(); } RedrawBoard(); } function UpdatePVDisplay(pv) { if (pv != null) { var outputDiv = document.getElementById("output"); if (outputDiv.firstChild != null) { outputDiv.removeChild(outputDiv.firstChild); } outputDiv.appendChild(document.createTextNode(pv)); } } function SearchAndRedraw() { if (g_analyzing) { EnsureAnalysisStopped(); InitializeBackgroundEngine(); g_backgroundEngine.postMessage("position " + GetFen()); g_backgroundEngine.postMessage("analyze"); return; } if (InitializeBackgroundEngine()) { g_backgroundEngine.postMessage("search " + g_timeout); } else { Search(FinishMove, 99, null); // unasynchronous version fall back } } var g_backgroundEngineValid = true; var g_backgroundEngine; function InitializeBackgroundEngine() { if (!g_backgroundEngineValid) { return false; } if (g_backgroundEngine == null) { g_backgroundEngineValid = true; try { g_backgroundEngine = new Worker("js/garbochess.js"); g_backgroundEngine.onmessage = function (e) { if (e.data.match("^pv") == "pv") { UpdatePVDisplay(e.data.substr(3, e.data.length - 3)); } else if (e.data.match("^message") == "message") { EnsureAnalysisStopped(); UpdatePVDisplay(e.data.substr(8, e.data.length - 8)); } else { UIPlayMove(GetMoveFromString(e.data), null); } } g_backgroundEngine.error = function (e) { alert("Error from background worker:" + e.message); } g_backgroundEngine.postMessage("position " + GetFen()); } catch (error) { g_backgroundEngineValid = false; } } return g_backgroundEngineValid; } function UpdateFromMove(move) { var fromX = (move & 0xF) - 4; var fromY = ((move >> 4) & 0xF) - 2; var toX = ((move >> 8) & 0xF) - 4; var toY = ((move >> 12) & 0xF) - 2; if (!g_playerWhite) { fromY = 7 - fromY; toY = 7 - toY; fromX = 7 - fromX; toX = 7 - toX; } if ((move & moveflagCastleKing) || (move & moveflagCastleQueen) || (move & moveflagEPC) || (move & moveflagPromotion)) { // more than one piece was moved // or one piece was modified // -> entire redraw RedrawPieces(); } else { // simply swap piece parents var fromSquare = g_uiBoard[fromY * 8 + fromX]; $(g_uiBoard[toY * 8 + toX]) .empty() .append($(fromSquare).children()); } } function RedrawPieces() { for (y = 0; y < 8; ++y) { for (x = 0; x < 8; ++x) { var td = g_uiBoard[y * 8 + x]; var pieceY = g_playerWhite ? y : 7 - y; var piece = g_board[((pieceY + 2) * 0x10) + (g_playerWhite ? x : 7 - x) + 4]; var pieceName = null; switch (piece & 0x7) { case piecePawn: pieceName = "pawn"; break; case pieceKnight: pieceName = "knight"; break; case pieceBishop: pieceName = "bishop"; break; case pieceRook: pieceName = "rook"; break; case pieceQueen: pieceName = "queen"; break; case pieceKing: pieceName = "king"; break; } if (pieceName != null) { pieceName += "_"; pieceName += (piece & 0x8) ? "white" : "black"; } if (pieceName != null) { var img = document.createElement("div"); $(img).addClass('sprite-' + pieceName); img.style.backgroundImage = "url('img/sprites.png')"; img.width = g_cellSize; img.height = g_cellSize; var divimg = document.createElement("div"); divimg.appendChild(img); $(divimg).draggable({ start: function (e, ui) { if (g_selectedPiece === null) { g_selectedPiece = this; var offset = $(this).closest('table').offset(); g_startOffset = { left: e.pageX - offset.left, top: e.pageY - offset.top }; } else { return g_selectedPiece == this; } }}); $(divimg).mousedown(function(e) { if (g_selectedPiece === null) { var offset = $(this).closest('table').offset(); g_startOffset = { left: e.pageX - offset.left, top: e.pageY - offset.top }; e.stopPropagation(); g_selectedPiece = this; g_selectedPiece.style.backgroundImage = "url('img/transpBlue50.png')"; } else if (g_selectedPiece === this) { g_selectedPiece.style.backgroundImage = null; g_selectedPiece = null; } }); $(td).empty().append(divimg); } else { $(td).empty(); } } } } function RedrawBoard() { var div = $("#board")[0]; var table = document.createElement("table"); table.cellPadding = "0px"; table.cellSpacing = "0px"; $(table).addClass('no-highlight'); var tbody = document.createElement("tbody"); g_uiBoard = []; var dropPiece = function (e, ui) { // retrive start -> end move var endX = e.pageX - $(table).offset().left; var endY = e.pageY - $(table).offset().top; endX = Math.floor(endX / g_cellSize); endY = Math.floor(endY / g_cellSize); var startX = Math.floor(g_startOffset.left / g_cellSize); var startY = Math.floor(g_startOffset.top / g_cellSize); // convert coordinates to white-space if (!g_playerWhite) { startY = 7 - startY; endY = 7 - endY; startX = 7 - startX; endX = 7 - endX; } // gather all possible valid moves var moves = GenerateValidMoves(); var move = null; // check if the move is valid for (var i = 0; i < moves.length; i++) { if ((moves[i] & 0xFF) == MakeSquare(startY, startX) && ((moves[i] >> 8) & 0xFF) == MakeSquare(endY, endX)) { move = moves[i]; } } // convert coordinates back to black-space if (!g_playerWhite) { startY = 7 - startY; endY = 7 - endY; startX = 7 - startX; endX = 7 - endX; } // put the html object back to its original position // whether the move is valid or not g_selectedPiece.style.left = 0; g_selectedPiece.style.top = 0; if (!(startX == endX && startY == endY) && move != null) { // if the move is valid // we add the move to the png texbox UpdatePgnTextBox(move); // we save the move in our worker if (InitializeBackgroundEngine()) { g_backgroundEngine.postMessage(FormatMove(move)); } // we add the move to the move list g_allMoves[g_allMoves.length] = move; // we apply the move MakeMove(move); UpdateFromMove(move); // update the fen text box var fen = GetFen(); document.getElementById("FenTextBox").value = fen; setTimeout("SearchAndRedraw()", 0); } // whether the move is valid or not, we remove highlight and clear selection g_selectedPiece.style.backgroundImage = null; g_selectedPiece = null; }; for (y = 0; y < 8; ++y) { var tr = document.createElement("tr"); for (x = 0; x < 8; ++x) { var td = document.createElement("td"); td.style.width = g_cellSize + "px"; td.style.height = g_cellSize + "px"; td.style.backgroundColor = ((y ^ x) & 1) ? "#D18947" : "#FFCE9E"; tr.appendChild(td); g_uiBoard[y * 8 + x] = td; } tbody.appendChild(tr); } table.appendChild(tbody); $('body').droppable({ drop: dropPiece }); $(table).mousedown(function(e) { if (g_selectedPiece !== null) { dropPiece(e); } }); RedrawPieces(); $(div).empty(); div.appendChild(table); g_changingFen = true; document.getElementById("FenTextBox").value = GetFen(); g_changingFen = false; }
k4us/Ouk-3D
js/AI/boardui.js
JavaScript
mit
12,136
from salty_tickets.models import Event from salty_tickets import products for order in Event.query.filter_by(id=2).one().orders: print(order.registration.name, order.registration.email, order.registration.registered_datetime, order.status, order.total_price) for order_product in order.order_products: print('\t', order_product.product.name, order_product.price)
vinokurov/salty_tickets
service/crowdfunding_stats.py
Python
mit
380
#include "mn101.hpp" #include <srarea.hpp> static bool flow; static void handle_operand(op_t &x, int isread) { ea_t ea = toEA(cmd.cs, x.addr); switch (x.type) { case o_void: case o_reg: case o_bitpos: case o_phrase: break; case o_displ: doImmd(cmd.ea); if (op_adds_xrefs(uFlag, x.n)) ua_add_off_drefs2(x, dr_O, OOF_ADDR); break; case o_imm: doImmd(cmd.ea); // Instructions of type 'MOVW imm,Am' with imm != 0 point that imm is most likely an address if (!isDefArg(uFlag, x.n) && cmd.itype == INS_MOVW && x.value != 0 && cmd.Op2.type == o_reg && cmd.Op2.reg >= OP_REG_A0 && cmd.Op2.reg <= OP_REG_A1) { op_offset(cmd.ea, x.n, REF_OFF16); } if (op_adds_xrefs(uFlag, x.n)) ua_add_off_drefs(x, dr_O); break; case o_mem: ua_dodata2(x.offb, ea, x.dtyp); if (!isread) doVar(ea); ua_add_dref(x.offb, ea, isread ? dr_R : dr_W); break; case o_far: // Used for JSRV ua_add_dref(x.offb, x.specval, isread ? dr_R : dr_W); ua_dodata2(x.offb, x.specval, dt_dword); //fallthrough case o_near: if (InstrIsSet(cmd.itype, CF_CALL)) { ua_add_cref(x.offb, ea, fl_CN); flow = func_does_return(ea); } else { ua_add_cref(x.offb, ea, fl_JN); } // Mark the jump target byte address if it has halfbyte offset // But only if it is not already inside a processed function, // otherwise we could destroy it by forcing segreg change if (get_func(ea) == NULL) { split_srarea(ea, rVh, x.value & 1, SR_auto); } break; default: warning("%a %s,%d: bad optype %d", cmd.ea, cmd.get_canon_mnem(), x.n, x.type); break; } } int idaapi mn101_emu(void) { uint32 Feature = cmd.get_canon_feature(); flow = ((Feature & CF_STOP) == 0); if (Feature & CF_USE1) handle_operand(cmd.Op1, 1); if (Feature & CF_USE2) handle_operand(cmd.Op2, 1); if (Feature & CF_USE3) handle_operand(cmd.Op3, 1); if (Feature & CF_CHG1) handle_operand(cmd.Op1, 0); if (Feature & CF_CHG2) handle_operand(cmd.Op2, 0); if (Feature & CF_CHG3) handle_operand(cmd.Op3, 0); if (Feature & CF_JUMP) QueueSet(Q_jumps, cmd.ea); if (flow) ua_add_cref(0, cmd.ea + cmd.size, fl_F); // Mark the next command's start halfbyte // Note it should be done even if flow==0 to prevent errors on following instructions autoanalysis // But be careful not to mess other functions ea_t next = cmd.ea + cmd.size; if (get_func(next) == NULL) { split_srarea(next, rVh, cmd.segpref, SR_auto); } return(1); }
Andy51/mn101
emu.cpp
C++
mit
2,841
/* Copyright 2021 Jordi SUBIRANA 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. */ #ifndef ATEMA_CORE_TIMESTEP_HPP #define ATEMA_CORE_TIMESTEP_HPP #include <Atema/Core/Config.hpp> namespace at { class ATEMA_CORE_API TimeStep { public: TimeStep() = delete; TimeStep(float ms); float getSeconds() const noexcept; float getMilliSeconds() const noexcept; TimeStep operator+(const TimeStep& other) const noexcept; TimeStep& operator+=(const TimeStep& other) noexcept; private: float m_time; }; } #endif
JordiSubirana/ATEMA
include/Atema/Core/TimeStep.hpp
C++
mit
1,516
package com.measurence.sdk.android.util; /* * The MIT License (MIT) * * Copyright (c) 2014 Measurence Inc. * * 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. */ import android.content.Context; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; public class DeviceMacAddress { public static String get(Context context) { WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); WifiInfo wifiInfo = wifiManager.getConnectionInfo(); String macAddress = wifiInfo.getMacAddress().replace(":", ""); return macAddress; } }
measurence/android-sdk
Measurence Android SDK Library/src/main/java/com/measurence/sdk/android/util/DeviceMacAddress.java
Java
mit
1,640
import argparse import importlib import os import pkgutil import sentry_sdk from sentry_sdk import capture_exception # find on https://docs.sentry.io/error-reporting/quickstart/?platform=python sentry_sdk.init(dsn=os.getenv('SENTRY_DSN')) def import_submodules(package): """Import all submodules of a module, recursively, including subpackages. :param package: package (name or actual module) :type package: str | module :rtype: dict[str, types.ModuleType] """ if isinstance(package, str): package = importlib.import_module(package) results = {} for loader, name, is_pkg in pkgutil.walk_packages(package.__path__): full_name = package.__name__ + '.' + name try: results[full_name] = importlib.import_module(full_name) if is_pkg: results.update(import_submodules(full_name)) except ModuleNotFoundError as mnfe: print("module not found: {}".format(full_name)) capture_exception(mnfe) except Exception as general_exception: print(general_exception) capture_exception(general_exception) return results if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("package") args = parser.parse_args() package_to_load = args.package results = import_submodules(package_to_load) for r in results: print(str(r))
fullstackpython/blog-code-examples
python-script-sentry/module_loader.py
Python
mit
1,429
<table ng-table="tournamentseasonsParams" class="table table-striped"> <tr ng-repeat="t in $data"> <td data-title="'Namn'" class="left" sortable="'tournament.name'"><a href="/#/tournamentseasons/{{t.id}}/games">{{t.tournament.name}}</a></td> <td data-title="'Säsong'" class="left" sortable="'seasonName'">{{t.seasonName}}</td> </tr> </table>
eriklupander/ifkstat-boot
src/main/webapp/partials/tournamentseasons-list.html
HTML
mit
366
#Examples for how to use the GNUplot output from the FOCUS program ```GNU_Hispanica.txt``` is a file that contains the output when FOCUS is given a secondary structure prediction file in I-TASSER format. ```GraphMaker.gnuplot``` is an example of a GNUplot script.
igemsoftware/UCSC-2015
FOCUS_Test_Files/GNUplot_Example/README.md
Markdown
mit
267
myLength :: [a] -> Int myLength (x:xs) = 1 + myLength xs myLength [] = 0 main = do print $ myLength [123, 456, 789] print $ myLength "Hello, world!"
veeenu/ninetynine-haskell-problems
src/problem04.hs
Haskell
mit
162
'use strict'; // Setting up route angular.module('gardens').config(['$stateProvider', function($stateProvider) { // Gardens state routing $stateProvider. state('listGardens', { url: '/gardens', templateUrl: 'modules/gardens/views/list-gardens.client.view.html' }). state('createGarden', { url: '/gardens/create', templateUrl: 'modules/gardens/views/create-garden.client.view.html' }). state('viewGarden', { url: '/gardens/:gardenId', templateUrl: 'modules/gardens/views/view-garden.client.view.html' }). state('editGarden', { url: '/gardens/:gardenId/edit', templateUrl: 'modules/gardens/views/edit-garden.client.view.html' }); } ]);
sheldonaj/gardenplanner
public/modules/gardens/config/gardens.client.routes.js
JavaScript
mit
680
<?php /** * The sidebar containing the main widget area. * * @package etidevia-underscores */ if ( ! is_active_sidebar( 'sidebar-1' ) ) { return; } ?> <div id="secondary" class="widget-area" role="complementary"> <?php dynamic_sidebar( 'sidebar-1' ); ?> </div><!-- #secondary -->
abclaur/etidevia-underscores
sidebar.php
PHP
mit
288
CBTracker ========= Yet another Coinbase Price Tracker
DOLOisSOLO/CBTracker
README.md
Markdown
mit
56
/* * HTML5 Boilerplate * * What follows is the result of much research on cross-browser styling. * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, * Kroc Camen, and the H5BP dev community and team. */ /* ========================================================================== Base styles: opinionated defaults ========================================================================== */ html, button, input, select, textarea { color: #222; } body { font-size: 1em; line-height: 1.4; } /* * Remove text-shadow in selection highlight: h5bp.com/i * These selection declarations have to be separate. * Customize the background color to match your design. */ ::-moz-selection { background: #b3d4fc; text-shadow: none; } ::selection { background: #b3d4fc; text-shadow: none; } /* * A better looking default horizontal rule */ hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } /* * Remove the gap between images and the bottom of their containers: h5bp.com/i/440 */ img { vertical-align: middle; } /* * Remove default fieldset styles. */ fieldset { border: 0; margin: 0; padding: 0; } /* * Allow only vertical resizing of textareas. */ textarea { resize: vertical; } /* ========================================================================== Chrome Frame prompt ========================================================================== */ .chromeframe { margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0; } /* ========================================================================== Author's custom styles ========================================================================== */ body { padding: 0; margin: 0; background: #666; } canvas { display: block; margin: 30px auto 0; border: 1px dashed #ccc; background: #000; } /* ========================================================================== Helper classes ========================================================================== */ /* * Image replacement */ .ir { background-color: transparent; border: 0; overflow: hidden; /* IE 6/7 fallback */ *text-indent: -9999px; } .ir:before { content: ""; display: block; width: 0; height: 150%; } /* * Hide from both screenreaders and browsers: h5bp.com/u */ .hidden { display: none !important; visibility: hidden; } /* * Hide only visually, but have it available for screenreaders: h5bp.com/v */ .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } /* * Extends the .visuallyhidden class to allow the element to be focusable * when navigated to via the keyboard: h5bp.com/p */ .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } /* * Hide visually and from screenreaders, but maintain layout */ .invisible { visibility: hidden; } /* * Clearfix: contain floats * * For modern browsers * 1. The space content is one way to avoid an Opera bug when the * `contenteditable` attribute is included anywhere else in the document. * Otherwise it causes space to appear at the top and bottom of elements * that receive the `clearfix` class. * 2. The use of `table` rather than `block` is only necessary if using * `:before` to contain the top-margins of child elements. */ .clearfix:before, .clearfix:after { content: " "; /* 1 */ display: table; /* 2 */ } .clearfix:after { clear: both; } /* * For IE 6/7 only * Include this rule to trigger hasLayout and contain floats. */ .clearfix { *zoom: 1; } /* ========================================================================== EXAMPLE Media Queries for Responsive Design. Theses examples override the primary ('mobile first') styles. Modify as content requires. ========================================================================== */ @media only screen and (min-width: 35em) { /* Style adjustments for viewports that meet the condition */ } @media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { /* Style adjustments for high resolution devices */ } /* ========================================================================== Print styles. Inlined to avoid required HTTP connection: h5bp.com/r ========================================================================== */ @media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ 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) ")"; } /* * Don't show links for images, or javascript/internal links */ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; /* h5bp.com/t */ } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } }
donnasaur/destroy-everything-game
css/main.css
CSS
mit
5,853
'use strict'; const slayer = require('../models/staticlayer'); exports.getStaticLayers = async (req, res) => { const staticLayers = await slayer.getStaticLayers(); res.status(200).send(staticLayers); };
edenb/livemap
controllers/staticlayer.js
JavaScript
mit
212
chrome.webRequest.onBeforeRequest.addListener(onBeforeRequest, filterObject); chrome.webRequest.onBeforeSendHeaders.addListener(onBeforeSendHeaders, filterObject); chrome.webRequest.onHeadersReceived.addListener(onHeadersReceived, filterObject); chrome.webRequest.onSendHeaders.addListener(onSendHeaders, filterObject, ['requestHeaders']); chrome.webRequest.onAuthRequired.addListener(onAuthRequired, filterObject); chrome.webRequest.onBeforeRedirect.addListener(onBeforeRedirect, filterObject); chrome.webRequest.onResponseStarted.addListener(onResponseStarted, filterObject); chrome.webRequest.onCompleted.addListener(onCompleted, filterObject, ['responseHeaders']); chrome.webRequest.onErrorOccurred.addListener(onErrorOccurred, filterObject); function onErrorOccurred(details) { if (!isCapture || !requests[details.requestId]) return; $('div#' + details.requestId).children('i') .removeClass(function() { }) // すべてのクラスを外す .addClass('icon-warning-sign'); requests[details.requestId].error = details.error; requests[details.requestId].statusLine = details.statusLine; requests[details.requestId].timeStamps.push({ name: 'onErrorOccurred', timeStamp: details.timeStamp });; } function onCompleted(details) { if (!isCapture || !requests[details.requestId]) return; var addCls; if (details.statusLine.match(/404|400|403|405|406|401|500|502|503|504/)) { // TODO もっとエラーのステータスコードがあるはずなので、それを追加する addCls = 'icon-warning-sign'; } else { addCls = 'icon-ok'; } $('div#' + details.requestId).children('i') .removeClass(function() { }) .addClass(addCls); requests[details.requestId].responseHeaders = details.responseHeaders; requests[details.requestId].statusLine = details.statusLine; requests[details.requestId].timeStamps.push({ name: 'onCompleted', timeStamp: details.timeStamp });; } function onBeforeRequest(details) { if (!isCapture) return; if (captureTarget != 'all' && details.tabId != parseInt($('#target').val())) return; // リストに表示させるアイテムの作成 var parsedURL = details.url.split('/'); var fileName = $('<span>').text(parsedURL[parsedURL.length - 1] ? parsedURL[parsedURL.length - 1] : parsedURL[parsedURL.length - 2]); if (fileName.text().length > listThreshold && listThreshold != 0) { var fullPath = fileName.text().substr(listThreshold); fileName.text(fileName.text().substr(0, listThreshold)); var btn = $('<a>').addClass('btn btn-mini') .attr('full-path', fullPath) .text('...') .click(function(e) { if (!$(this).hasClass('expand')) e.stopPropagation(); $(this).removeClass('btn') .removeClass('btn-mini') .addClass('expand') .text($(this).attr('full-path')); }); fileName.append(btn); } delete parsedURL[parsedURL.length - 1]; var pathName = $('<div>').text(parsedURL.join('/')) .addClass('path'); $('<div>').append(STATUSICON) .append(fileName) .append(pathName) .addClass('caption') .attr('id', details.requestId) .click(function() { showRequest($(this).attr('id')); }).appendTo($('div#list')); if ($('#as').attr('checked')) { // Auto Scroll が on になっていればリストの一番下までスクロール _scroll($('div#list').get(0).scrollHeight, 0); } requests[details.requestId] = details; requests[details.requestId].timeStamps = [ ]; requests[details.requestId].timeStamps.push({ name: 'onBeforeRequest', timeStamp: details.timeStamp }); }; function onSendHeaders(details) { if (!isCapture || !requests[details.requestId]) return; requests[details.requestId].requestHeaders = details.requestHeaders; requests[details.requestId].statusLine = details.statusLine; $('div#' + details.requestId).children('i') .removeClass(function() { }) .addClass('icon-arrow-right'); requests[details.requestId].timeStamps.push({ name: 'onSendHeaders', timeStamp: details.timeStamp }); } function onBeforeSendHeaders(details) { if (!isCapture || !requests[details.requestId]) return; requests[details.requestId].statusLine = details.statusLine; requests[details.requestId].responseHeaders = details.responseHeaders; $('div#' + details.requestId).children('i') .removeClass(function() { }) .addClass('icon-download-alt'); requests[details.requestId].timeStamps.push({ name: 'onBeforeSendHeaders', timeStamp: details.timeStamp });; }; function onHeadersReceived(details) { if (!isCapture || !requests[details.requestId]) return; requests[details.requestId].statusLine = details.statusLine; $('div#' + details.requestId).children('i') .removeClass(function() { }) .addClass('icon-minus'); requests[details.requestId].timeStamps.push({ name: 'onHeadersReceived', timeStamp: details.timeStamp }); }; function onAuthRequired(details) { if (!isCapture || !requests[details.requestId]) return; requests[details.requestId].statusLine = details.statusLine; // 認証情報を記憶 requests[details.requestId].auth = { }; requests[details.requestId].auth.scheme = details.scheme; requests[details.requestId].auth.challenger = details.challenger; requests[details.requestId].auth.isProxy = details.isProxy; requests[details.requestId].auth.realm = details.realm; requests[details.requestId].timeStamps.push({ name: 'onAuthRequired', timeStamp: details.timeStamp }); $('div#' + details.requestId).children('i') .removeClass(function() { }) .addClass('icon-lock'); }; function onBeforeRedirect(details) { if (!isCapture || !requests[details.requestId]) return; requests[details.requestId].statusLine = details.statusLine; requests[details.requestId].ip = details.ip; requests[details.requestId].fromCache = details.fromCache; requests[details.requestId].statusCode = details.statusCode; // リダイレクト情報を記憶 requests[details.requestId].redirect = { }; requests[details.requestId].redirect.redirectUrl = details.redirectUrl; requests[details.requestId].timeStamps.push({ name: 'onBeforeRedirect', timeStamp: details.timeStamp });; $('div#' + details.requestId).children('i') .removeClass(function() { }) .addClass('icon-share-alt'); } function onResponseStarted(details) { if (!isCapture || !requests[details.requestId]) return; requests[details.requestId].statusLine = details.statusLine; requests[details.requestId].ip = details.ip; requests[details.requestId].fromCache = details.fromCache; requests[details.requestId].statusCode = details.statusCode; requests[details.requestId].timeStamps.push({ name: 'onResponseStarted', timeStamp: details.timeStamp });; $('div#' + details.requestId).children('i') .removeClass(function() { }) .addClass('icon-download'); }
nash716/HTTP-Observer
webRequest.js
JavaScript
mit
6,834
<?php namespace Tonada\ApplicationBundle\Annotation; /** * @Annotation */ class TonadaGeneratorExcludeFromView { public $value; public $indexView; public function __construct(array $data) { $indexData = isset($data['index'])?$data['index']:false; $showData = isset($data['show'])?$data['show']:false; $writeData = isset($data['write'])?$data['write']:false; $filterData = isset($data['filter'])?$data['filter']:false; $this->value['index'] = $indexData; $this->value['show'] = $showData; $this->value['write'] = $writeData; $this->value['filter'] = $filterData; } } ?>
metalvarez/tonada-prototype
src/Tonada/ApplicationBundle/Annotation/TonadaGeneratorExcludeFromView.php
PHP
mit
667
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>BO.io.BiColorLED - Breakout</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> <link rel="stylesheet" href="../assets/css/main.css" id="site_styles"> <link rel="shortcut icon" type="image/png" href="../assets/favicon.png"> <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script> </head> <body class="yui3-skin-sam"> <div id="doc"> <div id="header"> <a href="http://breakoutjs.com"><img id="logo" src="http://breakoutjs.com/wp-content/uploads/2012/02/header_logo.png"></a> <div id="links"> <a class="header_links" href="http://breakoutjs.com/getting-started/">Getting Started</a> <a class="header_links" href="http://breakoutjs.com/guides/">Guides</a> <a class="header_links" href="http://breakoutjs.com/forum/breakout-forum/">Forum</a> <a class="header_links" href="http://breakoutjs.com/download/">Download</a> </div> </div> <div id="bd" class="yui3-g"> <div class="yui3-u-1-4"> <div id="docs-sidebar" class="sidebar apidocs"> <div id="api-list"> <h2 class="off-left">v0.4.0 APIs</h2> <div id="api-tabview" class="tabview"> <ul class="tabs"> <li><a href="#api-classes">Classes</a></li> <li><a href="#api-modules">Modules</a></li> </ul> <div id="api-tabview-filter"> <input type="search" id="api-filter" placeholder="Type to filter APIs"> </div> <div id="api-tabview-panel"> <ul id="api-classes" class="apis classes"> <li><a href="../classes/BO.custom.ID12RFIDReader.html">BO.custom.ID12RFIDReader</a></li> <li><a href="../classes/BO.custom.RFIDEvent.html">BO.custom.RFIDEvent</a></li> <li><a href="../classes/BO.filters.Convolution.html">BO.filters.Convolution</a></li> <li><a href="../classes/BO.filters.FilterBase.html">BO.filters.FilterBase</a></li> <li><a href="../classes/BO.filters.Scaler.html">BO.filters.Scaler</a></li> <li><a href="../classes/BO.filters.TriggerPoint.html">BO.filters.TriggerPoint</a></li> <li><a href="../classes/BO.generators.GeneratorBase.html">BO.generators.GeneratorBase</a></li> <li><a href="../classes/BO.generators.GeneratorEvent.html">BO.generators.GeneratorEvent</a></li> <li><a href="../classes/BO.generators.Oscillator.html">BO.generators.Oscillator</a></li> <li><a href="../classes/BO.I2CBase.html">BO.I2CBase</a></li> <li><a href="../classes/BO.io.AccelerometerADXL345.html">BO.io.AccelerometerADXL345</a></li> <li><a href="../classes/BO.io.AccelerometerEvent.html">BO.io.AccelerometerEvent</a></li> <li><a href="../classes/BO.io.AnalogAccelerometer.html">BO.io.AnalogAccelerometer</a></li> <li><a href="../classes/BO.io.BiColorLED.html">BO.io.BiColorLED</a></li> <li><a href="../classes/BO.io.BlinkM.html">BO.io.BlinkM</a></li> <li><a href="../classes/BO.io.Button.html">BO.io.Button</a></li> <li><a href="../classes/BO.io.ButtonEvent.html">BO.io.ButtonEvent</a></li> <li><a href="../classes/BO.io.CompassEvent.html">BO.io.CompassEvent</a></li> <li><a href="../classes/BO.io.CompassHMC6352.html">BO.io.CompassHMC6352</a></li> <li><a href="../classes/BO.io.DCMotor.html">BO.io.DCMotor</a></li> <li><a href="../classes/BO.io.GyroEvent.html">BO.io.GyroEvent</a></li> <li><a href="../classes/BO.io.GyroITG3200.html">BO.io.GyroITG3200</a></li> <li><a href="../classes/BO.io.LED.html">BO.io.LED</a></li> <li><a href="../classes/BO.io.MagnetometerEvent.html">BO.io.MagnetometerEvent</a></li> <li><a href="../classes/BO.io.MagnetometerHMC5883.html">BO.io.MagnetometerHMC5883</a></li> <li><a href="../classes/BO.io.Potentiometer.html">BO.io.Potentiometer</a></li> <li><a href="../classes/BO.io.PotEvent.html">BO.io.PotEvent</a></li> <li><a href="../classes/BO.io.RGBLED.html">BO.io.RGBLED</a></li> <li><a href="../classes/BO.io.Servo.html">BO.io.Servo</a></li> <li><a href="../classes/BO.io.SoftPot.html">BO.io.SoftPot</a></li> <li><a href="../classes/BO.io.SoftPotEvent.html">BO.io.SoftPotEvent</a></li> <li><a href="../classes/BO.io.Stepper.html">BO.io.Stepper</a></li> <li><a href="../classes/BO.IOBoard.html">BO.IOBoard</a></li> <li><a href="../classes/BO.IOBoardEvent.html">BO.IOBoardEvent</a></li> <li><a href="../classes/BO.PhysicalInputBase.html">BO.PhysicalInputBase</a></li> <li><a href="../classes/BO.Pin.html">BO.Pin</a></li> <li><a href="../classes/BO.PinEvent.html">BO.PinEvent</a></li> <li><a href="../classes/BO.Serial.html">BO.Serial</a></li> <li><a href="../classes/BO.SerialEvent.html">BO.SerialEvent</a></li> <li><a href="../classes/BO.WSocketEvent.html">BO.WSocketEvent</a></li> <li><a href="../classes/BO.WSocketWrapper.html">BO.WSocketWrapper</a></li> <li><a href="../classes/JSUTILS.Event.html">JSUTILS.Event</a></li> <li><a href="../classes/JSUTILS.EventDispatcher.html">JSUTILS.EventDispatcher</a></li> <li><a href="../classes/JSUTILS.SignalScope.html">JSUTILS.SignalScope</a></li> <li><a href="../classes/JSUTILS.Timer.html">JSUTILS.Timer</a></li> <li><a href="../classes/JSUTILS.TimerEvent.html">JSUTILS.TimerEvent</a></li> </ul> <ul id="api-modules" class="apis modules"> </ul> </div> </div> </div> </div> </div> <div class="yui3-u-3-4"> <div id="api-options"> Show: <label for="api-show-inherited"> <input type="checkbox" id="api-show-inherited" checked> Inherited </label> <label for="api-show-protected"> <input type="checkbox" id="api-show-protected"> Protected </label> <label for="api-show-private"> <input type="checkbox" id="api-show-private"> Private </label> <label for="api-show-deprecated"> <input type="checkbox" id="api-show-deprecated"> Deprecated </label> </div> <div class="apidocs"> <div id="docs-main"> <div class="content"> <h1>BO.io.BiColorLED Class</h1> <div class="box meta"> <div class="foundat"> Defined in: <a href="../files/src_io_BiColorLED.js.html#l18"><code>src&#x2F;io&#x2F;BiColorLED.js:18</code></a> </div> </div> <div class="box intro"> <p>Creates an interface to an bi-color LED. This interface is for the type of bi-color LED with 3 legs. One leg is connected to power or ground (depending on the type of LED - common anode or common cathode) and the other 2 legs are connected to PWM pins on the I/O board. See <a href="http://breakoutjs.com/examples/schematics.pdf">Breakout/examples/schematics.pdf</a> for wiring diagrams. See <a href="https://github.com/soundanalogous/Breakout/blob/master/examples/actuators/bi_color_led.html">Breakout/examples/actuators/bi_color_led.html</a> for an example application.</p> <p><code>COMMON_ANODE</code> vs <code>COMMON_CATHODE</code>. You can determine if your LED is common anode or common cathode by reading the datasheet. To wire a common cathode LED, connect the cathode to ground and the 2 anode pins to the IOBoard PWM pins via resistors. For a common anode LED, the anode is connected to power and the 2 cathode pins are connected to the IOBoard PWM pins via two resistors.</p> </div> <div class="constructor"> <h2>Constructor</h2> <div id="method_BO.io.BiColorLED" class="method item"> <h3 class="name"><code>BO.io.BiColorLED</code></h3> <div class="args"> <span class="paren">(</span><ul class="args-list inline commas"> <li class="arg"> <code>board</code> </li> <li class="arg"> <code>color1LEDPin</code> </li> <li class="arg"> <code>color2LEDPin</code> </li> <li class="arg"> <code>driveMode</code> </li> </ul><span class="paren">)</span> </div> <div class="meta"> <p> Defined in <a href="../files/src_io_BiColorLED.js.html#l18"><code>src&#x2F;io&#x2F;BiColorLED.js:18</code></a> </p> </div> <div class="description"> </div> <div class="params"> <h4>Parameters:</h4> <ul class="params-list"> <li class="param"> <code class="param-name">board</code> <span class="type">IOBoard</span> <div class="param-description"> <p>A reference to the IOBoard instance that the LED is attached to.</p> </div> </li> <li class="param"> <code class="param-name">color1LEDPin</code> <span class="type">Pin</span> <div class="param-description"> <p>A reference to the IOBoard Pin the first color LED pin is connected to.</p> </div> </li> <li class="param"> <code class="param-name">color2LEDPin</code> <span class="type">Pin</span> <div class="param-description"> <p>A reference to the IOBoard Pin the second color LED pin is connected to.</p> </div> </li> <li class="param"> <code class="param-name">driveMode</code> <span class="type">Number</span> <div class="param-description"> <p>The drive mode of the LED. Must be set to <code>BiColorLED.COMMON_ANODE</code> or <code>BiColorLED.COMMON_CATHODE</code>. <code>BiColorLED.COMMON_ANODE</code> is default.</p> </div> </li> </ul> </div> </div> </div> <div id="classdocs" class="tabview"> <ul class="api-class-tabs"> <li class="api-class-tab index"><a href="#index">Index</a></li> <li class="api-class-tab methods"><a href="#methods">Methods</a></li> <li class="api-class-tab properties"><a href="#properties">Properties</a></li> </ul> <div> <div id="index" class="api-class-tabpanel index"> <h2 class="off-left">Item Index</h2> <div class="index-section methods"> <h3>Methods</h3> <ul class="index-list methods"> <li class="index-item method"> <a href="#method_fadeIn">fadeIn</a> </li> <li class="index-item method"> <a href="#method_fadeOut">fadeOut</a> </li> <li class="index-item method"> <a href="#method_fadeTo">fadeTo</a> </li> <li class="index-item method"> <a href="#method_setColor">setColor</a> </li> </ul> </div> <div class="index-section properties"> <h3>Properties</h3> <ul class="index-list properties"> <li class="index-item property"> <a href="#property_BiColorLED.COMMON_ANODE">BiColorLED.COMMON_ANODE</a> <span class="flag static">static</span> </li> <li class="index-item property"> <a href="#property_BiColorLED.COMMON_CATHODE">BiColorLED.COMMON_CATHODE</a> <span class="flag static">static</span> </li> </ul> </div> </div> <div id="methods" class="api-class-tabpanel"> <h2 class="off-left">Methods</h2> <div id="method_fadeIn" class="method item"> <h3 class="name"><code>fadeIn</code></h3> <div class="args"> <span class="paren">(</span><ul class="args-list inline commas"> <li class="arg"> <code>time</code> </li> </ul><span class="paren">)</span> </div> <div class="meta"> <p> Defined in <a href="../files/src_io_BiColorLED.js.html#l82"><code>src&#x2F;io&#x2F;BiColorLED.js:82</code></a> </p> </div> <div class="description"> <p>Fade in the bi-color LED from the off state.</p> </div> <div class="params"> <h4>Parameters:</h4> <ul class="params-list"> <li class="param"> <code class="param-name">time</code> <span class="type">Number</span> <div class="param-description"> <p>The time of the fade (in milliseconds)</p> </div> </li> </ul> </div> </div> <div id="method_fadeOut" class="method item"> <h3 class="name"><code>fadeOut</code></h3> <div class="args"> <span class="paren">(</span><ul class="args-list inline commas"> <li class="arg"> <code>time</code> </li> </ul><span class="paren">)</span> </div> <div class="meta"> <p> Defined in <a href="../files/src_io_BiColorLED.js.html#l94"><code>src&#x2F;io&#x2F;BiColorLED.js:94</code></a> </p> </div> <div class="description"> <p>Fade out the bi-color LED from the on state.</p> </div> <div class="params"> <h4>Parameters:</h4> <ul class="params-list"> <li class="param"> <code class="param-name">time</code> <span class="type">Number</span> <div class="param-description"> <p>The time of the fade (in milliseconds)</p> </div> </li> </ul> </div> </div> <div id="method_fadeTo" class="method item"> <h3 class="name"><code>fadeTo</code></h3> <div class="args"> <span class="paren">(</span><ul class="args-list inline commas"> <li class="arg"> <code>color1</code> </li> <li class="arg"> <code>color2</code> </li> <li class="arg"> <code>time</code> </li> </ul><span class="paren">)</span> </div> <div class="meta"> <p> Defined in <a href="../files/src_io_BiColorLED.js.html#l106"><code>src&#x2F;io&#x2F;BiColorLED.js:106</code></a> </p> </div> <div class="description"> <p>Fade from the current color to the new color.</p> </div> <div class="params"> <h4>Parameters:</h4> <ul class="params-list"> <li class="param"> <code class="param-name">color1</code> <span class="type">Number</span> <div class="param-description"> <p>The value of the first color to fade to (0 - 255)</p> </div> </li> <li class="param"> <code class="param-name">color2</code> <span class="type">Number</span> <div class="param-description"> <p>The value of the second color to fade to (0 - 255)</p> </div> </li> <li class="param"> <code class="param-name">time</code> <span class="type">Number</span> <div class="param-description"> <p>The time of the fade (in milliseconds)</p> </div> </li> </ul> </div> </div> <div id="method_setColor" class="method item"> <h3 class="name"><code>setColor</code></h3> <div class="args"> <span class="paren">(</span><ul class="args-list inline commas"> <li class="arg"> <code>color1</code> </li> <li class="arg"> <code>color2</code> </li> </ul><span class="paren">)</span> </div> <div class="meta"> <p> Defined in <a href="../files/src_io_BiColorLED.js.html#l66"><code>src&#x2F;io&#x2F;BiColorLED.js:66</code></a> </p> </div> <div class="description"> <p>Set the bi-color LED color.</p> </div> <div class="params"> <h4>Parameters:</h4> <ul class="params-list"> <li class="param"> <code class="param-name">color1</code> <span class="type">Number</span> <div class="param-description"> <p>The value (0 - 255) of the first color</p> </div> </li> <li class="param"> <code class="param-name">color2</code> <span class="type">Number</span> <div class="param-description"> <p>The value (0 - 255) of the second color</p> </div> </li> </ul> </div> </div> </div> <div id="properties" class="api-class-tabpanel"> <h2 class="off-left">Properties</h2> <div id="property_BiColorLED.COMMON_ANODE" class="property item"> <h3 class="name"><code>BiColorLED.COMMON_ANODE</code></h3> <span class="type">Unknown</span> <span class="flag static">static</span> <div class="meta"> <p> Defined in <a href="../files/src_io_BiColorLED.js.html#l126"><code>src&#x2F;io&#x2F;BiColorLED.js:126</code></a> </p> </div> <div class="description"> </div> </div> <div id="property_BiColorLED.COMMON_CATHODE" class="property item"> <h3 class="name"><code>BiColorLED.COMMON_CATHODE</code></h3> <span class="type">Unknown</span> <span class="flag static">static</span> <div class="meta"> <p> Defined in <a href="../files/src_io_BiColorLED.js.html#l131"><code>src&#x2F;io&#x2F;BiColorLED.js:131</code></a> </p> </div> <div class="description"> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <script src="../assets/vendor/prettify/prettify-min.js"></script> <script>prettyPrint();</script> <script src="../assets/js/yui-prettify.js"></script> <script src="../assets/../api.js"></script> <script src="../assets/js/api-filter.js"></script> <script src="../assets/js/api-list.js"></script> <script src="../assets/js/api-search.js"></script> <script src="../assets/js/apidocs.js"></script> </body> </html>
soundanalogous/Breakout
docs/classes/BO.io.BiColorLED.html
HTML
mit
25,535
<html> <head> <title>Iframe Client</title> <script src="../config.js"></script> <script type="text/javascript">loadHub_dirDepth="2";</script> <script src="../util/loadHub.js"></script> <script src="../util/test_hub.js"></script> <script type="text/javascript"> var hubClient = null; function init() { new TestHubClient( "iframe", function( test ) { test.onMsg = function( data ) { switch( data ) { case "stage2": stage2(); break; case "stage3": stage3(); break; case "stage4": stage4(); break; } }; var hubClient; function stage1() { hubClient = new OpenAjax.hub.IframeHubClient({ HubClient: { onSecurityAlert: function() {}, log: test.log } }); test.sendMsg( [ "stage1", hubClient.getPartnerOrigin() ] ); } function stage2() { hubClient.connect( function( item, success, error ) { test.sendMsg( [ "stage2", hubClient.getPartnerOrigin() ] ); }); } function stage3() { hubClient.disconnect( function( item, success, error ) { test.sendMsg( [ "stage3", hubClient.getPartnerOrigin() ] ); }); } function stage4() { // reconnect hubClient.connect( function( item, success, error ) { test.sendMsg( [ "stage4", hubClient.getPartnerOrigin() ] ); }); } // start tests stage1(); }); } </script> </head> <body onload="init();"> </body> </html>
jbadeau/powwow
bower_components/openajax-hub/testsrc/ifr/hubclient_getpartnerorigin.html
HTML
mit
2,235
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./77075f17eebb71253a406c0db1aa9ff0b0c3ddade21c8003c2ff67c63483e356.html">Teleport</a> <hr> <a href="./../../about.md">About</a> (Spoilers! ) <script src="./../../assets/md5.js"></script> <script> window.currentLevel = 7; </script> <script src="./../../assets/script.js"></script> </body> </html>
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/c0a1d7215465efbc34656ba3e570fe7c093176807288117a9e1befffb3bba7fd.html
HTML
mit
550
% this file is called up by thesis.tex % content in this file will be fed into the main document % Glossary entries are defined with the command \nomenclature{1}{2} % 1 = Entry name, e.g. abbreviation; 2 = Explanation % You can place all explanations in this separate file or declare them in the middle of the text. Either way they will be collected in the glossary. % required to print nomenclature name to page header \markboth{\MakeUppercase{\nomname}}{\MakeUppercase{\nomname}} % ----------------------- contents from here ------------------------ % chemicals \nomenclature{DAPI}{4',6-diamidino-2-phenylindole; a fluorescent stain that binds strongly to DNA and serves to marks the nucleus in fluorescence microscopy} \nomenclature{DEPC}{diethyl-pyro-carbonate; used to remove RNA-degrading enzymes (RNAases) from water and laboratory utensils} \nomenclature{DMSO}{dimethyl sulfoxide; organic solvent, readily passes through skin, cryoprotectant in cell culture} \nomenclature{EDTA}{Ethylene-diamine-tetraacetic acid; a chelating (two-pronged) molecule used to sequester most divalent (or trivalent) metal ions, such as calcium (Ca$^{2+}$) and magnesium (Mg$^{2+}$), copper (Cu$^{2+}$), or iron (Fe$^{2+}$ / Fe$^{3+}$)}
ferhatelmas/thesis
frontmatter/glossary.tex
TeX
mit
1,233
<?php /* * This file is part of SplashSync Project. * * Copyright (C) 2015-2021 Splash Sync <www.splashsync.com> * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Splash\Tasking\Handler; use Monolog\Formatter\LineFormatter; use Monolog\Handler\AbstractHandler; use Monolog\Logger; /** * Buffers all records until task is completed. */ class TaskHandler extends AbstractHandler { /** * @var int */ protected $bufferSize = 0; /** * How many entries should be buffered at most, beyond that the oldest items are removed from the buffer. * * @var int */ protected $bufferLimit = 1024; /** * If true, the buffer is flushed when the max size has been reached, * by default oldest entries are discarded * * @var bool */ protected $flushOnOverflow; /** * @var string[] */ protected $buffer = array(); /** * @param int $level The minimum logging level at which this handler will be triggered * @param bool $flushOnOverflow If true, the buffer is flushed when the max size has been reached */ public function __construct($level = Logger::INFO, $flushOnOverflow = false) { parent::__construct($level, true); $this->flushOnOverflow = $flushOnOverflow; $this->pushProcessor(array( new LineFormatter(null, null, false, true), 'format' )); } /** * {@inheritdoc} */ public function handle(array $record): bool { if ($record['level'] < $this->level) { return false; } if ($this->bufferLimit > 0 && $this->bufferSize === $this->bufferLimit) { if ($this->flushOnOverflow) { $this->flush(); } else { array_shift($this->buffer); $this->bufferSize--; } } if ($this->processors) { foreach ($this->processors as $processor) { $record = call_user_func($processor, $record); } } $this->buffer[] = $record; $this->bufferSize++; return false === $this->bubble; } /** * @return void */ public function flush(): void { if (0 === $this->bufferSize) { return; } $this->clear(); } /** * {@inheritdoc} */ public function close(): void { $this->flush(); } /** * Clears the buffer without flushing any messages down to the wrapped handler. * * @return void */ public function clear(): void { $this->bufferSize = 0; $this->buffer = array(); } /** * Reset handler Buffer * * @return void */ public function reset(): void { $this->flush(); parent::reset(); } /** * Reset handler Buffer * * @return string */ public function getLogAsString(): string { return implode(" <br />", $this->buffer); } }
SplashSync/Tasking-Bundle
src/Handler/TaskHandler.php
PHP
mit
3,348
# nw-download ![](http://img.shields.io/badge/stability-experimental-orange.svg?style=flat) ![](http://img.shields.io/npm/v/nw-download.svg?style=flat) ![](http://img.shields.io/npm/dm/nw-download.svg?style=flat) ![](http://img.shields.io/npm/l/nw-download.svg?style=flat) Download a node-webkit archive for a specific platform/version. ## Usage [![NPM](https://nodei.co/npm/nw-download.png)](https://nodei.co/npm/nw-download/) ### `stream = download(platform, version)` Returns a stream of the `zip` or `tar.gz` file for this specific platform/version combination. Accepts the following platforms: * `win`: Windows 32-bit (.zip) * `osx`: Mac 32-bit (.zip) * `linux32`: Linux 32-bit (.tar.gz) * `linux64`: Linux 64-bit (.tar.gz) `version` is optional, and will default to `latest`. ### `stream.on('progress', fn(fraction, progress, total))` Emitted periodically with the progress of the download. * `fraction` is a number between 0 and 1 reporting the total progress of the download. * `progress` is the total number of bytes downloaded. * `total` is the total number of bytes to download. ## CLI Usage ``` Usage: nw-download <file> {OPTIONS} Pass a hyphen (-) for the filename to print to stdout, otherwise saves the archive in that location. Options: -r, --range Specify a semver range to query -p, --platform Specify the platform to download for ``` ## License MIT. See [LICENSE.md](http://github.com/hughsk/nw-download/blob/master/LICENSE.md) for details.
hughsk/nw-download
README.md
Markdown
mit
1,487
YEAR=$(date +%Y) echo 'date,purchased,sold' > data.csv ; for m in {3..5} ; do for i in {1..30} ; do printf "%d-%02d-%02d,%d,%d\n" $YEAR $m $i $RANDOM $RANDOM >> data.csv ; done ; done echo 'date,purchased,sold' > data2.csv ; for m in {3..5} ; do for i in {1..30} ; do printf "%d-%02d-%02d,%d,%d\n" $YEAR $m $i $RANDOM $RANDOM >> data2.csv ; done ; done
rwhitworth/one-hour-projects
20150711-Javascript HTML Charting with c3 and d3/gen_data.sh
Shell
mit
354
/* Theme Name: Portail Description: A responsive WordPress theme. Author: Twitter@Jacbac Author URI: http://neilorangepeel.com Version: 1 */ html { font: normal 100% serif; } body { font-family: 'Alegreya', Georgia, serif; font-weight: 400; word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; } h1,h2,h3,h4,h5,h6 { font-family: 'Alegreya', Georgia, serif; } img { max-width: 100%; } figcaption { height: 40px; margin: 12px 6px; text-align: center; } a { text-decoration: none; -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; } a:hover, a:focus { text-decoration: underline; } ul { padding: 0; list-style-type: none; } .small-wrap { max-width: 80%; max-width: 960px; margin: 50px auto 0; padding: 0; } .large-wrap { width: 90%; max-width: 1100px; margin: 50px auto 0; padding: 0; } .univ-white { background-color: #fff; } .univ-blue { background-color: #58a2c4; } .univ-green { background-color: #27ae60; } .univ-yellow { background-color: #f1d432; } .univ-orange { background-color: #cb461d; color: white; } .univ-violet { background-color: #9b59b6; } /* HEADER --------------------------------------------------------- */ header { background-color: #efefee; } header #top-nav { background-color: #efefee; font-weight: 600; text-align: center; text-transform: uppercase; } header #top-nav > ul { margin: 0; padding: 0; } header #top-nav > ul > li { display: inline-block; } header a { color: #333; } header #top-nav > ul > li > a { display: inline-block; padding: 12px 22px; color: #333; font-size: 1rem; } header #top-nav a[class^="univ-"], .dropdown-menu > li > a { color: #fff; } header #top-nav a.univ-white { color: #333; } /* Dropdown Menus -------------------- */ header #top-nav > ul > li > ul { text-align: left; text-transform: none; border-radius: 0; margin: 12px 0 0; } .carousel-inner { height: 460px; } .carousel-caption { padding-bottom: 70px; } /* MAIN ----------------------------------------------------------- */ #breadcrumb-nav ul{ display: inline-block; list-style-type: none; padding: 0; } #breadcrumb-nav ul li { display: inline; padding: 0 6px; } #breadcrumb-nav ul li:first-of-type { padding: 0; } #breadcrumb-nav a { margin-left: 12px; } #breadcrumb-nav ul > li:first-of-type a { margin-left: 0; } /* ---------------- */ /* Index HomePage */ /* ---------------- */ .actu-lead-title { height: 278px; } .blog-last-title, .ressource-lead-title { height: 76px; } .actu-lead-title h2, .ressource-lead-title h2, .blog-last-title h2 { margin: 0; padding: 20px; } .actu-paginate { margin-top: 60px; } .ressource-paginate, .blog-paginate { margin-top: 40px; } .actu-paginate a, .ressource-paginate a, .blog-paginate a { display: block; width: 160px; margin: 30px auto; padding: 10px 36px; color: #333; text-align: center; } .actu-paginate a { background-color: #58a2c4; } .blog-paginate a { background-color: #f1d432; } .ressource-paginate a { background-color: #27ae60 } .actu-lead, .blog-last, .ressource-lead { margin-top: 0; margin-bottom: 24px; } .actu-lead h3 { height: 60px; } .blog-last h3, .ressource-lead h3 { height: 84px; } .actu-lead { border-top: 12px solid #58a2c4; } .blog-last { border-top: 12px solid #f1d432; } .ressource-lead { border-top: 12px solid #27ae60; } .actu-lead span, .ressource-lead span, .blog-last span { margin-bottom: 12px; display: block; } /* Soutien & Contact---------------------------------- */ #contact { margin-bottom: 60px; } .soutien-lead-title, .contact-lead-title { padding: 6px 24px 18px; text-align: center; } .soutien-lead { margin-top: 0; padding-bottom: 24px; } .soutien-lead h3 { height: 60px; } .soutien-lead h3, .contact-lead h3 { font-size: 1.4rem; } .contact-lead p { margin: 24px 0 36px; } #map-contact-nantes { width: 100%; height: 400px; margin-top: 40px; } /* ---------------- */ /* Index BLOG */ /* ---------------- */ .blog-index .title { height: 352px; } .blog-index h1 { margin: 0; padding: 20px; font-size: 30px; } .blog-index .blog-entry { margin-top: 0; margin-bottom: 24px; border-top: 12px solid #f1d432; } .blog-index .blog-entry h2 { height: 60px; font-size: 24px; } .blog-index .blog-entry span { display: block; } .blog-index #date-updated{ float: right; } .blog-index .authors, .blog-index .tags { margin-bottom: 12px; } .blog-index p { height: 100px; } .blog-index .side-paginate { margin-top: 60px; } .blog-index .side-paginate a { display: block; width: 160px; margin: 30px auto; padding: 10px 36px; color: #333; text-align: center; background-color: #f1d432; } .blog-index .side-search input { width: 100%; margin-top: 30px; padding: 12px 12px 12px 45px; cursor: pointer; border: 1px solid #f1d432; background: url(/universal/images-v6/icons/icon-searchqueries-20-dark.png) no-repeat 15px 50%; min-height: 20px; line-height: 20px; opacity: .7; -webkit-transition: opacity 0.2s ease-out; -moz-transition: opacity 0.2s ease-out; -o-transition: opacity 0.2s ease-out; transition: opacity 0.2s ease-out; } .blog-index .side-twitter { margin-top: 60px; font-size: 13px; } .blog-index .side-twitter li { margin-bottom: 10px; } .blog-index .side-twitter .tweet-timestamp { font-size: 12px; } .post { margin-bottom: 4em; } .post-title, .page-title { position: relative; text-align: center; font-weight: normal; } .post-title { margin-bottom: 0.5em; } .post-title a { color: #333; } .date { display: block; text-align: center; font-style: italic; margin-bottom: 3em; } /* FOOTER --------------------------------------------------------- */ #desc-asso { padding-top: 20px; background-color: #efefee; border-top: 1px solid #bdc3c7; } #desc-asso .footer-widgets { font-weight: 400; } footer { background-color: #efefee; padding-top: 30px; } footer section { padding: 24px 0; border-top: 1px solid #bdc3c7; border-bottom: 1px solid #bdc3c7; } .footer-widgets h3 { padding-bottom: 18px; } .footer-widget p { line-height: 30px; } .social-icons { width: 8em; margin: 0 auto; font-size: 1.8em; } /* SIGNATURE ------------------------------------------------------ */ #signature { margin-top: 26px; padding-bottom: 12px; text-align: center; } #signature span { margin-right: 56px; } #signature ul{ display: inline-block; list-style-type: none; padding: 0; } #signature ul li { display: inline; padding: 0 6px; } #signature > a { margin-left: 56px; } /* ===========================================================================*/ /* */ /* RESPONSIVE CSS */ /* */ /* ===========================================================================*/ @media (min-width: 480px) { /* HEADER ----------------------------------------------------------------- */ /* NAVBAR ----------------------------------------------------------------- */ /* SIDEBAR ---------------------------------------------------------------- */ /* MAIN ------------------------------------------------------------------- */ /* FOOTER ----------------------------------------------------------------- */ } @media (min-width: 600px) { /* HEADER ----------------------------------------------------------------- */ /* NAVBAR ----------------------------------------------------------------- */ /* SIDEBAR ---------------------------------------------------------------- */ /* MAIN ------------------------------------------------------------------- */ /* FOOTER ----------------------------------------------------------------- */ } @media (min-width: 768px) { /* HEADER ----------------------------------------------------------------- */ /* NAVBAR ----------------------------------------------------------------- */ /* SIDEBAR ---------------------------------------------------------------- */ /* MAIN ------------------------------------------------------------------- */ /* FOOTER ----------------------------------------------------------------- */ } @media (min-width: 1024px) { /* HEADER ----------------------------------------------------------------- */ /* NAVBAR ----------------------------------------------------------------- */ /* SIDEBAR ---------------------------------------------------------------- */ /* MAIN ------------------------------------------------------------------- */ /* FOOTER ----------------------------------------------------------------- */ .container { max-width: 1100px; } } @media (min-width: 1200px) { /* HEADER ----------------------------------------------------------------- */ /* NAVBAR ----------------------------------------------------------------- */ /* SIDEBAR ---------------------------------------------------------------- */ /* MAIN ------------------------------------------------------------------- */ /* FOOTER ----------------------------------------------------------------- */ }
jacbac/anneaux
src/Anneaux/PortailBundle/Resources/public/css/main.css
CSS
mit
9,525
# frozen_string_literal: true # Be sure to restart your server when you modify this file. Rails.application.config.session_store :cookie_store, key: '_summa_session'
joshpeterson/summa
config/initializers/session_store.rb
Ruby
mit
168
using System.Collections.Generic; namespace ShopifySharp { public static class DictionaryExtensions { public static void AddRange(this IDictionary<string, object> dictionary, IEnumerable<KeyValuePair<string, object>> kvps) { foreach (var kvp in kvps) { dictionary.Add(kvp.Key, kvp.Value); } } } }
addsb/ShopifySharp
ShopifySharp/Extensions/DictionaryExtensions.cs
C#
mit
385
/** * Reset some basic elements */ body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, dl, dd, ol, ul, figure { margin: 0; padding: 0; } /** * Basic styling */ body { font-family: "CMU Serif", sans-serif; font-size: 18px; line-height: 1.5; font-weight: 300; color: #111; background-color: #fdfdfd; -webkit-text-size-adjust: 100%; } /** * Set `margin-bottom` to maintain vertical rhythm */ h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, .highlight { margin-bottom: 4px; } /** * Images */ img { max-width: 100%; vertical-align: middle; } /** * Figures */ figure > img { display: block; } figcaption { font-size: 17.55px; } /** * Lists */ ul, ol { margin-left: 8px; } li > ul, li > ol { margin-bottom: 0; } /** * Headings */ h1, h2, h3, h4, h5, h6 { font-weight: 300; } /** * Links */ a { color: #2a7ae2; text-decoration: none; } a:visited { color: #1756a9; } a:hover { color: #111; text-decoration: underline; } /** * Blockquotes */ blockquote { color: #828282; border-left: 4px solid #e8e8e8; padding-left: 4px; font-size: 18px; letter-spacing: -1px; font-style: italic; } blockquote > :last-child { margin-bottom: 0; } /** * Code formatting */ pre, code { font-size: 14px; font-family: "CMU Typewriter Text"; border: 1px solid #e8e8e8; border-radius: 3px; background-color: #eef; } code { font-family: "CMU Typewriter Text"; padding: 1px 5px; } pre { padding: 8px 12px; overflow-x: scroll; } pre > code { border: 0; font-family: "CMU Typewriter Text"; padding-right: 0; padding-left: 0; } /** * Wrapper */ .wrapper { max-width: -webkit-calc(700px - (8px * 2)); max-width: calc(700px - (8px * 2)); margin-right: auto; margin-left: auto; padding-right: 8px; padding-left: 8px; } @media screen and (max-width: 700px) { .wrapper { max-width: -webkit-calc(700px - (8px)); max-width: calc(700px - (8px)); padding-right: 4px; padding-left: 4px; } } /** * Clearfix */ .wrapper:after, .footer-col-wrapper:after { content: ""; display: table; clear: both; } /** * Icons */ .icon > svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; } .icon > svg path { fill: #828282; } /** * Site header */ .site-header { border-top: 10px solid #2980b9; border-bottom: 1px solid #e8e8e8; min-height: 30px; color: #2c3e50; position: relative; } .site-title { font-size: 22px; font-family: "Cinzel", sans-serif; line-height: 56px; letter-spacing: -1px; margin-bottom: 0; float: left; } .site-title, .site-title:visited { color: #2c3e50; } .site-nav { float: right; line-height: 56px; } .site-nav .menu-icon { display: none; } .site-nav .page-link { color: #111; line-height: 1.5; } .site-nav .page-link:not(:first-child) { margin-left: 20px; } @media screen and (max-width: 400px) { .site-nav { position: absolute; top: 9px; right: 30px; background-color: #fdfdfd; border: 1px solid #e8e8e8; border-radius: 5px; text-align: right; } .site-nav .menu-icon { display: block; float: right; width: 36px; height: 26px; line-height: 0; padding-top: 10px; text-align: center; } .site-nav .menu-icon > svg { width: 18px; height: 15px; } .site-nav .menu-icon > svg path { fill: #424242; } .site-nav .trigger { clear: both; display: none; color: white; } .site-nav:hover .trigger { display: block; padding-bottom: 5px; } .site-nav .page-link { display: block; padding: 5px 10px; } } /** * Site footer */ .site-footer { border-top: 1px solid #e8e8e8; padding: 8px 0; } .footer-heading { font-size: 20px; margin-bottom: 4px; } .contact-list, .social-media-list { font-family: monospace; font-size: 14px; list-style: none; margin-left: 0; } .footer-col-wrapper { font-size: 15px; color: #2c3e50; margin-left: -4px; } .footer-col { float: left; margin-bottom: 4px; padding-left: 4px; } .footer-col-1 { width: -webkit-calc(35% - (8px / 2)); width: calc(35% - (8px / 2)); } .footer-col-2 { width: -webkit-calc(25% - (8px / 2)); width: calc(25% - (8px / 2)); } .footer-col-3 { width: -webkit-calc(40% - (8px / 2)); width: calc(40% - (8px / 2)); } @media screen and (max-width: 700px) { .footer-col-1, .footer-col-2 { width: -webkit-calc(50% - (8px / 2)); width: calc(50% - (8px / 2)); } .footer-col-3 { width: -webkit-calc(100% - (8px / 2)); width: calc(100% - (8px / 2)); } } @media screen and (max-width: 400px) { .footer-col { float: none; width: -webkit-calc(100% - (8px / 2)); width: calc(100% - (8px / 2)); } } /** * Page content */ .page-content { padding: 8px 0; } .page-heading { font-size: 20px; color: #2980b9; } .post-list { margin-left: 0; list-style: none; } .post-list > li { margin-bottom: 8px; } .post-meta { font-size: 17.55px; color: #828282; } .post-link { display: block; font-size: 24px; } /** * Posts */ .post-header { margin-bottom: 8px; } .post-title { font-size: 30px; font-weight: bold; letter-spacing: -1px; line-height: 2; color: #2980b9; font-family: "Tex Gyre Heros"; border-bottom: 1px solid #e8e8e8; padding-bottom: 20px; text-align: center; margin-top: 40px; margin-bottom: 20px; } @media screen and (max-width: 700px) { .post-title { font-size: 36px; } } .post-content { margin-bottom: 8px; } .post-content h2 { font-size: 32px; } @media screen and (max-width: 700px) { .post-content h2 { font-size: 28px; } } .post-content h3 { font-size: 26px; } @media screen and (max-width: 700px) { .post-content h3 { font-size: 22px; } } .post-content h4 { font-size: 20px; } @media screen and (max-width: 700px) { .post-content h4 { font-size: 18px; } } /** * Syntax highlighting styles */ .highlight { background: #fff; } .highlight .c { color: #998; font-style: italic; } .highlight .err { color: #a61717; background-color: #e3d2d2; } .highlight .k { font-weight: bold; } .highlight .o { font-weight: bold; } .highlight .cm { color: #998; font-style: italic; } .highlight .cp { color: #999; font-weight: bold; } .highlight .c1 { color: #998; font-style: italic; } .highlight .cs { color: #999; font-weight: bold; font-style: italic; } .highlight .gd { color: #000; background-color: #fdd; } .highlight .gd .x { color: #000; background-color: #faa; } .highlight .ge { font-style: italic; } .highlight .gr { color: #a00; } .highlight .gh { color: #999; } .highlight .gi { color: #000; background-color: #dfd; } .highlight .gi .x { color: #000; background-color: #afa; } .highlight .go { color: #888; } .highlight .gp { color: #555; } .highlight .gs { font-weight: bold; } .highlight .gu { color: #aaa; } .highlight .gt { color: #a00; } .highlight .kc { font-weight: bold; } .highlight .kd { font-weight: bold; } .highlight .kp { font-weight: bold; } .highlight .kr { font-weight: bold; } .highlight .kt { color: #458; font-weight: bold; } .highlight .m { color: #099; } .highlight .s { color: #d14; } .highlight .na { color: #008080; } .highlight .nb { color: #0086B3; } .highlight .nc { color: #458; font-weight: bold; } .highlight .no { color: #008080; } .highlight .ni { color: #800080; } .highlight .ne { color: #900; font-weight: bold; } .highlight .nf { color: #900; font-weight: bold; } .highlight .nn { color: #555; } .highlight .nt { color: #000080; } .highlight .nv { color: #008080; } .highlight .ow { font-weight: bold; } .highlight .w { color: #bbb; } .highlight .mf { color: #099; } .highlight .mh { color: #099; } .highlight .mi { color: #099; } .highlight .mo { color: #099; } .highlight .sb { color: #d14; } .highlight .sc { color: #d14; } .highlight .sd { color: #d14; } .highlight .s2 { color: #d14; } .highlight .se { color: #d14; } .highlight .sh { color: #d14; } .highlight .si { color: #d14; } .highlight .sx { color: #d14; } .highlight .sr { color: #009926; } .highlight .s1 { color: #d14; } .highlight .ss { color: #990073; } .highlight .bp { color: #999; } .highlight .vc { color: #008080; } .highlight .vg { color: #008080; } .highlight .vi { color: #008080; } .highlight .il { color: #099; }
prateek-khandelwal/prateek-khandelwal.github.io
_site/css/main.css
CSS
mit
8,908
<?php /* SVN FILE: $Id: another_article_fixture.php 7945 2008-12-19 02:16:01Z gwoo $ */ /** * Short description for file. * * Long description for file * * PHP versions 4 and 5 * * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) * * Licensed under The Open Group Test Suite License * Redistributions of files must retain the above copyright notice. * * @filesource * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests * @package cake.tests * @subpackage cake.tests.fixtures * @since CakePHP(tm) v 1.2.0.4667 * @version $Revision: 7945 $ * @modifiedby $LastChangedBy: gwoo $ * @lastmodified $Date: 2008-12-18 21:16:01 -0500 (Thu, 18 Dec 2008) $ * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License */ /** * Short description for class. * * @package cake.tests * @subpackage cake.tests.fixtures */ class AnotherArticleFixture extends CakeTestFixture { /** * name property * * @var string 'AnotherArticle' * @access public */ var $name = 'AnotherArticle'; /** * fields property * * @var array * @access public */ var $fields = array( 'id' => array('type' => 'integer', 'key' => 'primary'), 'title' => array('type' => 'string', 'null' => false), 'created' => 'datetime', 'updated' => 'datetime' ); /** * records property * * @var array * @access public */ var $records = array( array('title' => 'First Article', 'created' => '2007-03-18 10:39:23', 'updated' => '2007-03-18 10:41:31'), array('title' => 'Second Article', 'created' => '2007-03-18 10:41:23', 'updated' => '2007-03-18 10:43:31'), array('title' => 'Third Article', 'created' => '2007-03-18 10:43:23', 'updated' => '2007-03-18 10:45:31') ); } ?>
tectronics/fambom
cake/tests/fixtures/another_article_fixture.php
PHP
mit
1,998
package com.javarush.task.task20.task2026; import java.util.Map; import java.util.TreeMap; /* Алгоритмы-прямоугольники */ public class Solution { public static void main(String[] args) { byte[][] a = new byte[][]{ {1, 1, 0, 0}, {1, 1, 0, 0}, {1, 1, 0, 0}, {1, 1, 0, 1} }; int count = getRectangleCount(a); System.out.println("count = " + count + ". Должно быть 2"); } public static int getRectangleCount(byte[][] a) { Map<Byte, Integer> map = new TreeMap<>(); for (int x = 0; x < a.length; x++) for (int y = 0; y < a[0].length; y++) { byte summa = 0; if (a[x][y] == 0) continue; summa += (x - 1 >= 0 && y - 1 >= 0) ? a[x - 1][y - 1] : 0; // a[x - 1][y - 1] summa += (y - 1 >= 0) ? a[x][y - 1] : 0; // a[x][y - 1] summa += (x + 1 < a.length && y - 1 >= 0) ? a[x + 1][y - 1] : 0; // a[x + 1][y - 1] summa += (x - 1 >= 0) ? a[x - 1][y] : 0; // a[x - 1][y] summa += a[x][y]; // a[x][y] summa += (x + 1 < a.length) ? a[x + 1][y] : 0; // a[x + 1][y] summa += (x - 1 >= 0 && y + 1 < a[0].length) ? a[x - 1][y + 1] : 0; // a[x - 1][y + 1] summa += (y + 1 < a[0].length) ? a[x][y + 1] : 0; // a[x][y + 1] summa += (x + 1 < a.length && y + 1 < a[0].length) ? a[x + 1][y + 1] : 0; // a[x + 1][y + 1] if (map.containsKey(summa)) map.put(summa, map.get(summa) + 1); else map.put(summa, 1); } int rectangleCount = 0; rectangleCount += map.containsKey((byte) 4) ? map.get((byte) 4) / 4 : 0; rectangleCount += map.containsKey((byte) 2) ? map.get((byte) 2) / 2 : 0; rectangleCount += map.containsKey((byte) 1) ? map.get((byte) 1) : 0; return rectangleCount; } }
Sukora-Stas/JavaRushTasks
2.JavaCore/src/com/javarush/task/task20/task2026/Solution.java
Java
mit
2,246
<?php Class Users extends CI_Controller { public function __construct() { parent::__construct(); if (!$this->session->userdata("is_login")) { $this->session->set_flashdata("failed", "ANDA HARUS MELAKUKAN LOGIN!!"); redirect("/login"); } } public function index() { $data = array( "navigation_top" => "master", "module" => "/master/container", "container" => "/master/users/index", "data_users" => $this->users_model->get() ); $this->load->view('layouts/app', $data); } public function add() { if (isset($_POST['simpan'])) { $this->action_to_create(); } $data = array( "navigation_top" => "master", "module" => "/master/container", "container" => "/master/users/add" ); $this->load->view('layouts/app', $data); } public function action_to_create() { $data = array( "username" => $this->input->post("username"), "password" => md5($this->input->post("password")), "nama_lengkap" => $this->input->post("nama_lengkap"), "email" => $this->input->post("email"), "level" => $this->input->post("level"), "status" => "offline", "created_at" => date("Y-m-d H:i:s"), "updated_at" => date("Y-m-d H:i:s") ); $this->users_model->create($data); $this->session->set_flashdata("success", "AKSI PENAMBAHAN USERS BERHASIL.."); redirect("users"); } public function edit($id) { if (isset($_POST['simpan'])) { $this->action_to_update($id); } $data = array( "navigation_top" => "master", "module" => "/master/container", "container" => "/master/users/edit", "data" => $this->users_model->find($id) ); $this->load->view('layouts/app', $data); } public function action_to_update($id) { $data = array( "username" => $this->input->post("username"), "nama_lengkap" => $this->input->post("nama_lengkap"), "email" => $this->input->post("email"), "level" => $this->input->post("level"), "status" => "offline", "updated_at" => date("Y-m-d H:i:s") ); $this->users_model->update($id, $data); $this->session->set_flashdata("success", "AKSI PENGUBAHAN USERS BERHASIL.."); redirect("users"); } public function delete($id) { $this->users_model->delete($id); $this->session->set_flashdata("success", "AKSI PENGHAPUSAN USERS BERHASIL.."); redirect("users"); } }
tony3supriadi/aplikasi-pengajian-benny
application/controllers/master/users.php
PHP
mit
2,658
version https://git-lfs.github.com/spec/v1 oid sha256:3260ab7ad64e9ee55b13b076859f8d2ac4054afceac31902ba659f8a9166bfa2 size 712
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.17.2/event-hover/event-hover-min.js
JavaScript
mit
128
#pragma warning disable 1591 // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.17020 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerated> // ------------------------------------------------------------------------------ [assembly: Android.Runtime.ResourceDesignerAttribute("TekConf.Droid.Resource", IsApplication=true)] namespace TekConf.Droid { [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] public partial class Resource { static Resource() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } public static void UpdateIdValues() { global::Splat.Resource.String.library_name = global::TekConf.Droid.Resource.String.library_name; global::ModernHttpClient.Resource.String.library_name = global::TekConf.Droid.Resource.String.library_name; global::TwinTechsLib.Droid.Resource.String.ApplicationName = global::TekConf.Droid.Resource.String.ApplicationName; global::TwinTechsLib.Droid.Resource.String.Hello = global::TekConf.Droid.Resource.String.Hello; global::TwinTechsLib.Droid.Resource.String.library_name = global::TekConf.Droid.Resource.String.library_name; global::Xamarin.Forms.Platform.Resource.String.ApplicationName = global::TekConf.Droid.Resource.String.ApplicationName; global::Xamarin.Forms.Platform.Resource.String.Hello = global::TekConf.Droid.Resource.String.Hello; global::com.refractored.monodroidtoolkit.Resource.Attribute.circleColor = global::TekConf.Droid.Resource.Attribute.circleColor; global::com.refractored.monodroidtoolkit.Resource.Attribute.circularProgressBarStyle = global::TekConf.Droid.Resource.Attribute.circularProgressBarStyle; global::com.refractored.monodroidtoolkit.Resource.Attribute.circular_gravity = global::TekConf.Droid.Resource.Attribute.circular_gravity; global::com.refractored.monodroidtoolkit.Resource.Attribute.circular_indeterminate = global::TekConf.Droid.Resource.Attribute.circular_indeterminate; global::com.refractored.monodroidtoolkit.Resource.Attribute.circular_indeterminate_interval = global::TekConf.Droid.Resource.Attribute.circular_indeterminate_interval; global::com.refractored.monodroidtoolkit.Resource.Attribute.circular_marker_progress = global::TekConf.Droid.Resource.Attribute.circular_marker_progress; global::com.refractored.monodroidtoolkit.Resource.Attribute.circular_progress = global::TekConf.Droid.Resource.Attribute.circular_progress; global::com.refractored.monodroidtoolkit.Resource.Attribute.circular_progress_background_color = global::TekConf.Droid.Resource.Attribute.circular_progress_background_color; global::com.refractored.monodroidtoolkit.Resource.Attribute.circular_progress_color = global::TekConf.Droid.Resource.Attribute.circular_progress_color; global::com.refractored.monodroidtoolkit.Resource.Attribute.circular_stroke_width = global::TekConf.Droid.Resource.Attribute.circular_stroke_width; global::com.refractored.monodroidtoolkit.Resource.Attribute.indeterminate = global::TekConf.Droid.Resource.Attribute.indeterminate; global::com.refractored.monodroidtoolkit.Resource.Attribute.indeterminate_interval = global::TekConf.Droid.Resource.Attribute.indeterminate_interval; global::com.refractored.monodroidtoolkit.Resource.Attribute.innerSize = global::TekConf.Droid.Resource.Attribute.innerSize; global::com.refractored.monodroidtoolkit.Resource.Attribute.max = global::TekConf.Droid.Resource.Attribute.max; global::com.refractored.monodroidtoolkit.Resource.Attribute.pinned = global::TekConf.Droid.Resource.Attribute.pinned; global::com.refractored.monodroidtoolkit.Resource.Attribute.pinnedDrawable = global::TekConf.Droid.Resource.Attribute.pinnedDrawable; global::com.refractored.monodroidtoolkit.Resource.Attribute.progress = global::TekConf.Droid.Resource.Attribute.progress; global::com.refractored.monodroidtoolkit.Resource.Attribute.progressButtonStyle = global::TekConf.Droid.Resource.Attribute.progressButtonStyle; global::com.refractored.monodroidtoolkit.Resource.Attribute.progressColor = global::TekConf.Droid.Resource.Attribute.progressColor; global::com.refractored.monodroidtoolkit.Resource.Attribute.shadowDrawable = global::TekConf.Droid.Resource.Attribute.shadowDrawable; global::com.refractored.monodroidtoolkit.Resource.Attribute.unpinnedDrawable = global::TekConf.Droid.Resource.Attribute.unpinnedDrawable; global::com.refractored.monodroidtoolkit.Resource.Color.progress_default_circle_color = global::TekConf.Droid.Resource.Color.progress_default_circle_color; global::com.refractored.monodroidtoolkit.Resource.Color.progress_default_progress_color = global::TekConf.Droid.Resource.Color.progress_default_progress_color; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_background_dark = global::TekConf.Droid.Resource.Color.refractored_background_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_background_holo_dark = global::TekConf.Droid.Resource.Color.refractored_background_holo_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_background_holo_light = global::TekConf.Droid.Resource.Color.refractored_background_holo_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_background_light = global::TekConf.Droid.Resource.Color.refractored_background_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_bright_foreground_dark = global::TekConf.Droid.Resource.Color.refractored_bright_foreground_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_bright_foreground_dark_disabled = global::TekConf.Droid.Resource.Color.refractored_bright_foreground_dark_disabled; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_bright_foreground_disabled_holo_dark = global::TekConf.Droid.Resource.Color.refractored_bright_foreground_disabled_holo_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_bright_foreground_disabled_holo_light = global::TekConf.Droid.Resource.Color.refractored_bright_foreground_disabled_holo_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_bright_foreground_holo_dark = global::TekConf.Droid.Resource.Color.refractored_bright_foreground_holo_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_bright_foreground_holo_light = global::TekConf.Droid.Resource.Color.refractored_bright_foreground_holo_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_bright_foreground_light = global::TekConf.Droid.Resource.Color.refractored_bright_foreground_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_dim_foreground_disabled_holo_dark = global::TekConf.Droid.Resource.Color.refractored_dim_foreground_disabled_holo_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_dim_foreground_disabled_holo_light = global::TekConf.Droid.Resource.Color.refractored_dim_foreground_disabled_holo_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_dim_foreground_holo_dark = global::TekConf.Droid.Resource.Color.refractored_dim_foreground_holo_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_dim_foreground_holo_light = global::TekConf.Droid.Resource.Color.refractored_dim_foreground_holo_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_highlighted_text_holo_dark = global::TekConf.Droid.Resource.Color.refractored_highlighted_text_holo_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_highlighted_text_holo_light = global::TekConf.Droid.Resource.Color.refractored_highlighted_text_holo_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_hint_foreground_holo_dark = global::TekConf.Droid.Resource.Color.refractored_hint_foreground_holo_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_hint_foreground_holo_light = global::TekConf.Droid.Resource.Color.refractored_hint_foreground_holo_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_blue_bright = global::TekConf.Droid.Resource.Color.refractored_holo_blue_bright; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_blue_dark = global::TekConf.Droid.Resource.Color.refractored_holo_blue_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_blue_light = global::TekConf.Droid.Resource.Color.refractored_holo_blue_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_green_dark = global::TekConf.Droid.Resource.Color.refractored_holo_green_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_green_light = global::TekConf.Droid.Resource.Color.refractored_holo_green_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_orange_dark = global::TekConf.Droid.Resource.Color.refractored_holo_orange_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_orange_light = global::TekConf.Droid.Resource.Color.refractored_holo_orange_light; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_purple = global::TekConf.Droid.Resource.Color.refractored_holo_purple; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_red_dark = global::TekConf.Droid.Resource.Color.refractored_holo_red_dark; global::com.refractored.monodroidtoolkit.Resource.Color.refractored_holo_red_light = global::TekConf.Droid.Resource.Color.refractored_holo_red_light; global::com.refractored.monodroidtoolkit.Resource.Dimension.progress_inner_size = global::TekConf.Droid.Resource.Dimension.progress_inner_size; global::com.refractored.monodroidtoolkit.Resource.Drawable.pin_progress_pinned = global::TekConf.Droid.Resource.Drawable.pin_progress_pinned; global::com.refractored.monodroidtoolkit.Resource.Drawable.pin_progress_shadow = global::TekConf.Droid.Resource.Drawable.pin_progress_shadow; global::com.refractored.monodroidtoolkit.Resource.Drawable.pin_progress_unpinned = global::TekConf.Droid.Resource.Drawable.pin_progress_unpinned; global::com.refractored.monodroidtoolkit.Resource.Drawable.scrubber_control_normal_holo = global::TekConf.Droid.Resource.Drawable.scrubber_control_normal_holo; global::com.refractored.monodroidtoolkit.Resource.Drawable.scrubber_control_pressed_holo = global::TekConf.Droid.Resource.Drawable.scrubber_control_pressed_holo; global::com.refractored.monodroidtoolkit.Resource.Id.bottom = global::TekConf.Droid.Resource.Id.bottom; global::com.refractored.monodroidtoolkit.Resource.Id.center = global::TekConf.Droid.Resource.Id.center; global::com.refractored.monodroidtoolkit.Resource.Id.center_horizontal = global::TekConf.Droid.Resource.Id.center_horizontal; global::com.refractored.monodroidtoolkit.Resource.Id.center_vertical = global::TekConf.Droid.Resource.Id.center_vertical; global::com.refractored.monodroidtoolkit.Resource.Id.clip = global::TekConf.Droid.Resource.Id.clip; global::com.refractored.monodroidtoolkit.Resource.Id.clip_horizontal = global::TekConf.Droid.Resource.Id.clip_horizontal; global::com.refractored.monodroidtoolkit.Resource.Id.clip_vertical = global::TekConf.Droid.Resource.Id.clip_vertical; global::com.refractored.monodroidtoolkit.Resource.Id.end = global::TekConf.Droid.Resource.Id.end; global::com.refractored.monodroidtoolkit.Resource.Id.fill = global::TekConf.Droid.Resource.Id.fill; global::com.refractored.monodroidtoolkit.Resource.Id.fill_horizontal = global::TekConf.Droid.Resource.Id.fill_horizontal; global::com.refractored.monodroidtoolkit.Resource.Id.fill_vertical = global::TekConf.Droid.Resource.Id.fill_vertical; global::com.refractored.monodroidtoolkit.Resource.Id.left = global::TekConf.Droid.Resource.Id.left; global::com.refractored.monodroidtoolkit.Resource.Id.right = global::TekConf.Droid.Resource.Id.right; global::com.refractored.monodroidtoolkit.Resource.Id.start = global::TekConf.Droid.Resource.Id.start; global::com.refractored.monodroidtoolkit.Resource.Id.top = global::TekConf.Droid.Resource.Id.top; global::com.refractored.monodroidtoolkit.Resource.Integer.circular_indeterminent_interval = global::TekConf.Droid.Resource.Integer.circular_indeterminent_interval; global::com.refractored.monodroidtoolkit.Resource.Integer.progressbutton_indeterminent_interval = global::TekConf.Droid.Resource.Integer.progressbutton_indeterminent_interval; global::com.refractored.monodroidtoolkit.Resource.Style.CircularProgressBar = global::TekConf.Droid.Resource.Style.CircularProgressBar; global::com.refractored.monodroidtoolkit.Resource.Style.CircularProgressBarLight = global::TekConf.Droid.Resource.Style.CircularProgressBarLight; global::com.refractored.monodroidtoolkit.Resource.Style.ProgressButton = global::TekConf.Droid.Resource.Style.ProgressButton; global::com.refractored.monodroidtoolkit.Resource.Style.ProgressButton_Pin = global::TekConf.Droid.Resource.Style.ProgressButton_Pin; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar_circular_gravity = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar_circular_gravity; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar_circular_indeterminate = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar_circular_indeterminate; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar_circular_indeterminate_interval = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar_circular_indeterminate_interval; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar_circular_marker_progress = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar_circular_marker_progress; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar_circular_progress = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar_circular_progress; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar_circular_progress_background_color = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar_circular_progress_background_color; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar_circular_progress_color = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar_circular_progress_color; global::com.refractored.monodroidtoolkit.Resource.Styleable.HoloCircularProgressBar_circular_stroke_width = global::TekConf.Droid.Resource.Styleable.HoloCircularProgressBar_circular_stroke_width; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton = global::TekConf.Droid.Resource.Styleable.ProgressButton; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_android_clickable = global::TekConf.Droid.Resource.Styleable.ProgressButton_android_clickable; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_android_focusable = global::TekConf.Droid.Resource.Styleable.ProgressButton_android_focusable; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_android_selectableItemBackground = global::TekConf.Droid.Resource.Styleable.ProgressButton_android_selectableItemBackground; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_circleColor = global::TekConf.Droid.Resource.Styleable.ProgressButton_circleColor; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_indeterminate = global::TekConf.Droid.Resource.Styleable.ProgressButton_indeterminate; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_indeterminate_interval = global::TekConf.Droid.Resource.Styleable.ProgressButton_indeterminate_interval; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_innerSize = global::TekConf.Droid.Resource.Styleable.ProgressButton_innerSize; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_max = global::TekConf.Droid.Resource.Styleable.ProgressButton_max; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_pinned = global::TekConf.Droid.Resource.Styleable.ProgressButton_pinned; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_pinnedDrawable = global::TekConf.Droid.Resource.Styleable.ProgressButton_pinnedDrawable; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_progress = global::TekConf.Droid.Resource.Styleable.ProgressButton_progress; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_progressColor = global::TekConf.Droid.Resource.Styleable.ProgressButton_progressColor; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_shadowDrawable = global::TekConf.Droid.Resource.Styleable.ProgressButton_shadowDrawable; global::com.refractored.monodroidtoolkit.Resource.Styleable.ProgressButton_unpinnedDrawable = global::TekConf.Droid.Resource.Styleable.ProgressButton_unpinnedDrawable; global::com.refractored.monodroidtoolkit.Resource.Styleable.Theme = global::TekConf.Droid.Resource.Styleable.Theme; global::com.refractored.monodroidtoolkit.Resource.Styleable.Theme_circularProgressBarStyle = global::TekConf.Droid.Resource.Styleable.Theme_circularProgressBarStyle; } public partial class Animation { // aapt resource value: 0x7f040000 public const int abc_fade_in = 2130968576; // aapt resource value: 0x7f040001 public const int abc_fade_out = 2130968577; // aapt resource value: 0x7f040002 public const int abc_grow_fade_in_from_bottom = 2130968578; // aapt resource value: 0x7f040003 public const int abc_popup_enter = 2130968579; // aapt resource value: 0x7f040004 public const int abc_popup_exit = 2130968580; // aapt resource value: 0x7f040005 public const int abc_shrink_fade_out_from_bottom = 2130968581; // aapt resource value: 0x7f040006 public const int abc_slide_in_bottom = 2130968582; // aapt resource value: 0x7f040007 public const int abc_slide_in_top = 2130968583; // aapt resource value: 0x7f040008 public const int abc_slide_out_bottom = 2130968584; // aapt resource value: 0x7f040009 public const int abc_slide_out_top = 2130968585; static Animation() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Animation() { } } public partial class Attribute { // aapt resource value: 0x7f010090 public const int actionBarDivider = 2130772112; // aapt resource value: 0x7f010091 public const int actionBarItemBackground = 2130772113; // aapt resource value: 0x7f01008a public const int actionBarPopupTheme = 2130772106; // aapt resource value: 0x7f01008f public const int actionBarSize = 2130772111; // aapt resource value: 0x7f01008c public const int actionBarSplitStyle = 2130772108; // aapt resource value: 0x7f01008b public const int actionBarStyle = 2130772107; // aapt resource value: 0x7f010086 public const int actionBarTabBarStyle = 2130772102; // aapt resource value: 0x7f010085 public const int actionBarTabStyle = 2130772101; // aapt resource value: 0x7f010087 public const int actionBarTabTextStyle = 2130772103; // aapt resource value: 0x7f01008d public const int actionBarTheme = 2130772109; // aapt resource value: 0x7f01008e public const int actionBarWidgetTheme = 2130772110; // aapt resource value: 0x7f0100aa public const int actionButtonStyle = 2130772138; // aapt resource value: 0x7f0100a6 public const int actionDropDownStyle = 2130772134; // aapt resource value: 0x7f01005e public const int actionLayout = 2130772062; // aapt resource value: 0x7f010092 public const int actionMenuTextAppearance = 2130772114; // aapt resource value: 0x7f010093 public const int actionMenuTextColor = 2130772115; // aapt resource value: 0x7f010096 public const int actionModeBackground = 2130772118; // aapt resource value: 0x7f010095 public const int actionModeCloseButtonStyle = 2130772117; // aapt resource value: 0x7f010098 public const int actionModeCloseDrawable = 2130772120; // aapt resource value: 0x7f01009a public const int actionModeCopyDrawable = 2130772122; // aapt resource value: 0x7f010099 public const int actionModeCutDrawable = 2130772121; // aapt resource value: 0x7f01009e public const int actionModeFindDrawable = 2130772126; // aapt resource value: 0x7f01009b public const int actionModePasteDrawable = 2130772123; // aapt resource value: 0x7f0100a0 public const int actionModePopupWindowStyle = 2130772128; // aapt resource value: 0x7f01009c public const int actionModeSelectAllDrawable = 2130772124; // aapt resource value: 0x7f01009d public const int actionModeShareDrawable = 2130772125; // aapt resource value: 0x7f010097 public const int actionModeSplitBackground = 2130772119; // aapt resource value: 0x7f010094 public const int actionModeStyle = 2130772116; // aapt resource value: 0x7f01009f public const int actionModeWebSearchDrawable = 2130772127; // aapt resource value: 0x7f010088 public const int actionOverflowButtonStyle = 2130772104; // aapt resource value: 0x7f010089 public const int actionOverflowMenuStyle = 2130772105; // aapt resource value: 0x7f010060 public const int actionProviderClass = 2130772064; // aapt resource value: 0x7f01005f public const int actionViewClass = 2130772063; // aapt resource value: 0x7f0100b1 public const int activityChooserViewStyle = 2130772145; // aapt resource value: 0x7f010000 public const int adSize = 2130771968; // aapt resource value: 0x7f010001 public const int adSizes = 2130771969; // aapt resource value: 0x7f010002 public const int adUnitId = 2130771970; // aapt resource value: 0x7f0100d2 public const int alertDialogButtonGroupStyle = 2130772178; // aapt resource value: 0x7f0100d3 public const int alertDialogCenterButtons = 2130772179; // aapt resource value: 0x7f0100d1 public const int alertDialogStyle = 2130772177; // aapt resource value: 0x7f0100d4 public const int alertDialogTheme = 2130772180; // aapt resource value: 0x7f010016 public const int appTheme = 2130771990; // aapt resource value: 0x7f0100d9 public const int autoCompleteTextViewStyle = 2130772185; // aapt resource value: 0x7f010039 public const int background = 2130772025; // aapt resource value: 0x7f01003b public const int backgroundSplit = 2130772027; // aapt resource value: 0x7f01003a public const int backgroundStacked = 2130772026; // aapt resource value: 0x7f0100f2 public const int backgroundTint = 2130772210; // aapt resource value: 0x7f0100f3 public const int backgroundTintMode = 2130772211; // aapt resource value: 0x7f010058 public const int barSize = 2130772056; // aapt resource value: 0x7f0100ac public const int buttonBarButtonStyle = 2130772140; // aapt resource value: 0x7f0100d7 public const int buttonBarNegativeButtonStyle = 2130772183; // aapt resource value: 0x7f0100d8 public const int buttonBarNeutralButtonStyle = 2130772184; // aapt resource value: 0x7f0100d6 public const int buttonBarPositiveButtonStyle = 2130772182; // aapt resource value: 0x7f0100ab public const int buttonBarStyle = 2130772139; // aapt resource value: 0x7f01004c public const int buttonPanelSideLayout = 2130772044; // aapt resource value: 0x7f0100da public const int buttonStyle = 2130772186; // aapt resource value: 0x7f0100db public const int buttonStyleSmall = 2130772187; // aapt resource value: 0x7f01001d public const int buyButtonAppearance = 2130771997; // aapt resource value: 0x7f01001a public const int buyButtonHeight = 2130771994; // aapt resource value: 0x7f01001c public const int buyButtonText = 2130771996; // aapt resource value: 0x7f01001b public const int buyButtonWidth = 2130771995; // aapt resource value: 0x7f010007 public const int cameraBearing = 2130771975; // aapt resource value: 0x7f010008 public const int cameraTargetLat = 2130771976; // aapt resource value: 0x7f010009 public const int cameraTargetLng = 2130771977; // aapt resource value: 0x7f01000a public const int cameraTilt = 2130771978; // aapt resource value: 0x7f01000b public const int cameraZoom = 2130771979; // aapt resource value: 0x7f0100dc public const int checkboxStyle = 2130772188; // aapt resource value: 0x7f0100dd public const int checkedTextViewStyle = 2130772189; // aapt resource value: 0x7f0100f7 public const int circleColor = 2130772215; // aapt resource value: 0x7f010005 public const int circleCrop = 2130771973; // aapt resource value: 0x7f010108 public const int circularProgressBarStyle = 2130772232; // aapt resource value: 0x7f010100 public const int circular_gravity = 2130772224; // aapt resource value: 0x7f010106 public const int circular_indeterminate = 2130772230; // aapt resource value: 0x7f010107 public const int circular_indeterminate_interval = 2130772231; // aapt resource value: 0x7f010103 public const int circular_marker_progress = 2130772227; // aapt resource value: 0x7f010102 public const int circular_progress = 2130772226; // aapt resource value: 0x7f010105 public const int circular_progress_background_color = 2130772229; // aapt resource value: 0x7f010104 public const int circular_progress_color = 2130772228; // aapt resource value: 0x7f010101 public const int circular_stroke_width = 2130772225; // aapt resource value: 0x7f010067 public const int closeIcon = 2130772071; // aapt resource value: 0x7f010049 public const int closeItemLayout = 2130772041; // aapt resource value: 0x7f0100ec public const int collapseContentDescription = 2130772204; // aapt resource value: 0x7f0100eb public const int collapseIcon = 2130772203; // aapt resource value: 0x7f010052 public const int color = 2130772050; // aapt resource value: 0x7f0100cb public const int colorAccent = 2130772171; // aapt resource value: 0x7f0100cf public const int colorButtonNormal = 2130772175; // aapt resource value: 0x7f0100cd public const int colorControlActivated = 2130772173; // aapt resource value: 0x7f0100ce public const int colorControlHighlight = 2130772174; // aapt resource value: 0x7f0100cc public const int colorControlNormal = 2130772172; // aapt resource value: 0x7f0100c9 public const int colorPrimary = 2130772169; // aapt resource value: 0x7f0100ca public const int colorPrimaryDark = 2130772170; // aapt resource value: 0x7f0100d0 public const int colorSwitchThumbNormal = 2130772176; // aapt resource value: 0x7f01006c public const int commitIcon = 2130772076; // aapt resource value: 0x7f010044 public const int contentInsetEnd = 2130772036; // aapt resource value: 0x7f010045 public const int contentInsetLeft = 2130772037; // aapt resource value: 0x7f010046 public const int contentInsetRight = 2130772038; // aapt resource value: 0x7f010043 public const int contentInsetStart = 2130772035; // aapt resource value: 0x7f01003c public const int customNavigationLayout = 2130772028; // aapt resource value: 0x7f0100a4 public const int dialogPreferredPadding = 2130772132; // aapt resource value: 0x7f0100a3 public const int dialogTheme = 2130772131; // aapt resource value: 0x7f010073 public const int disableChildrenWhenDisabled = 2130772083; // aapt resource value: 0x7f010032 public const int displayOptions = 2130772018; // aapt resource value: 0x7f010038 public const int divider = 2130772024; // aapt resource value: 0x7f0100b0 public const int dividerHorizontal = 2130772144; // aapt resource value: 0x7f01005c public const int dividerPadding = 2130772060; // aapt resource value: 0x7f0100af public const int dividerVertical = 2130772143; // aapt resource value: 0x7f010054 public const int drawableSize = 2130772052; // aapt resource value: 0x7f01002d public const int drawerArrowStyle = 2130772013; // aapt resource value: 0x7f0100c1 public const int dropDownListViewStyle = 2130772161; // aapt resource value: 0x7f0100a7 public const int dropdownListPreferredItemHeight = 2130772135; // aapt resource value: 0x7f0100b7 public const int editTextBackground = 2130772151; // aapt resource value: 0x7f0100b6 public const int editTextColor = 2130772150; // aapt resource value: 0x7f0100de public const int editTextStyle = 2130772190; // aapt resource value: 0x7f010047 public const int elevation = 2130772039; // aapt resource value: 0x7f010017 public const int environment = 2130771991; // aapt resource value: 0x7f01004b public const int expandActivityOverflowButtonDrawable = 2130772043; // aapt resource value: 0x7f01002c public const int externalRouteEnabledDrawable = 2130772012; // aapt resource value: 0x7f010019 public const int fragmentMode = 2130771993; // aapt resource value: 0x7f010018 public const int fragmentStyle = 2130771992; // aapt resource value: 0x7f010055 public const int gapBetweenBars = 2130772053; // aapt resource value: 0x7f010068 public const int goIcon = 2130772072; // aapt resource value: 0x7f01002e public const int height = 2130772014; // aapt resource value: 0x7f010042 public const int hideOnContentScroll = 2130772034; // aapt resource value: 0x7f0100a9 public const int homeAsUpIndicator = 2130772137; // aapt resource value: 0x7f01003d public const int homeLayout = 2130772029; // aapt resource value: 0x7f010036 public const int icon = 2130772022; // aapt resource value: 0x7f010065 public const int iconifiedByDefault = 2130772069; // aapt resource value: 0x7f010004 public const int imageAspectRatio = 2130771972; // aapt resource value: 0x7f010003 public const int imageAspectRatioAdjust = 2130771971; // aapt resource value: 0x7f0100fe public const int indeterminate = 2130772222; // aapt resource value: 0x7f01003f public const int indeterminateProgressStyle = 2130772031; // aapt resource value: 0x7f0100ff public const int indeterminate_interval = 2130772223; // aapt resource value: 0x7f01004a public const int initialActivityCount = 2130772042; // aapt resource value: 0x7f0100fc public const int innerSize = 2130772220; // aapt resource value: 0x7f01002f public const int isLightTheme = 2130772015; // aapt resource value: 0x7f010041 public const int itemPadding = 2130772033; // aapt resource value: 0x7f010064 public const int layout = 2130772068; // aapt resource value: 0x7f0100c8 public const int listChoiceBackgroundIndicator = 2130772168; // aapt resource value: 0x7f0100a5 public const int listDividerAlertDialog = 2130772133; // aapt resource value: 0x7f010050 public const int listItemLayout = 2130772048; // aapt resource value: 0x7f01004d public const int listLayout = 2130772045; // aapt resource value: 0x7f0100c2 public const int listPopupWindowStyle = 2130772162; // aapt resource value: 0x7f0100bc public const int listPreferredItemHeight = 2130772156; // aapt resource value: 0x7f0100be public const int listPreferredItemHeightLarge = 2130772158; // aapt resource value: 0x7f0100bd public const int listPreferredItemHeightSmall = 2130772157; // aapt resource value: 0x7f0100bf public const int listPreferredItemPaddingLeft = 2130772159; // aapt resource value: 0x7f0100c0 public const int listPreferredItemPaddingRight = 2130772160; // aapt resource value: 0x7f01000c public const int liteMode = 2130771980; // aapt resource value: 0x7f010037 public const int logo = 2130772023; // aapt resource value: 0x7f010006 public const int mapType = 2130771974; // aapt resource value: 0x7f010020 public const int maskedWalletDetailsBackground = 2130772000; // aapt resource value: 0x7f010022 public const int maskedWalletDetailsButtonBackground = 2130772002; // aapt resource value: 0x7f010021 public const int maskedWalletDetailsButtonTextAppearance = 2130772001; // aapt resource value: 0x7f01001f public const int maskedWalletDetailsHeaderTextAppearance = 2130771999; // aapt resource value: 0x7f010024 public const int maskedWalletDetailsLogoImageType = 2130772004; // aapt resource value: 0x7f010023 public const int maskedWalletDetailsLogoTextColor = 2130772003; // aapt resource value: 0x7f01001e public const int maskedWalletDetailsTextAppearance = 2130771998; // aapt resource value: 0x7f0100f6 public const int max = 2130772214; // aapt resource value: 0x7f0100ea public const int maxButtonHeight = 2130772202; // aapt resource value: 0x7f01005a public const int measureWithLargestChild = 2130772058; // aapt resource value: 0x7f010025 public const int mediaRouteButtonStyle = 2130772005; // aapt resource value: 0x7f010026 public const int mediaRouteConnectingDrawable = 2130772006; // aapt resource value: 0x7f010027 public const int mediaRouteOffDrawable = 2130772007; // aapt resource value: 0x7f010028 public const int mediaRouteOnDrawable = 2130772008; // aapt resource value: 0x7f010029 public const int mediaRoutePauseDrawable = 2130772009; // aapt resource value: 0x7f01002a public const int mediaRoutePlayDrawable = 2130772010; // aapt resource value: 0x7f01002b public const int mediaRouteSettingsDrawable = 2130772011; // aapt resource value: 0x7f010057 public const int middleBarArrowSize = 2130772055; // aapt resource value: 0x7f01004e public const int multiChoiceItemLayout = 2130772046; // aapt resource value: 0x7f0100ee public const int navigationContentDescription = 2130772206; // aapt resource value: 0x7f0100ed public const int navigationIcon = 2130772205; // aapt resource value: 0x7f010031 public const int navigationMode = 2130772017; // aapt resource value: 0x7f010062 public const int overlapAnchor = 2130772066; // aapt resource value: 0x7f0100f0 public const int paddingEnd = 2130772208; // aapt resource value: 0x7f0100ef public const int paddingStart = 2130772207; // aapt resource value: 0x7f0100c5 public const int panelBackground = 2130772165; // aapt resource value: 0x7f0100c7 public const int panelMenuListTheme = 2130772167; // aapt resource value: 0x7f0100c6 public const int panelMenuListWidth = 2130772166; // aapt resource value: 0x7f0100fd public const int pinned = 2130772221; // aapt resource value: 0x7f0100f9 public const int pinnedDrawable = 2130772217; // aapt resource value: 0x7f0100b4 public const int popupMenuStyle = 2130772148; // aapt resource value: 0x7f010072 public const int popupPromptView = 2130772082; // aapt resource value: 0x7f010048 public const int popupTheme = 2130772040; // aapt resource value: 0x7f0100b5 public const int popupWindowStyle = 2130772149; // aapt resource value: 0x7f010061 public const int preserveIconSpacing = 2130772065; // aapt resource value: 0x7f0100f5 public const int progress = 2130772213; // aapt resource value: 0x7f010040 public const int progressBarPadding = 2130772032; // aapt resource value: 0x7f01003e public const int progressBarStyle = 2130772030; // aapt resource value: 0x7f0100f4 public const int progressButtonStyle = 2130772212; // aapt resource value: 0x7f0100f8 public const int progressColor = 2130772216; // aapt resource value: 0x7f010070 public const int prompt = 2130772080; // aapt resource value: 0x7f01006e public const int queryBackground = 2130772078; // aapt resource value: 0x7f010066 public const int queryHint = 2130772070; // aapt resource value: 0x7f0100df public const int radioButtonStyle = 2130772191; // aapt resource value: 0x7f0100e0 public const int ratingBarStyle = 2130772192; // aapt resource value: 0x7f01006a public const int searchHintIcon = 2130772074; // aapt resource value: 0x7f010069 public const int searchIcon = 2130772073; // aapt resource value: 0x7f0100bb public const int searchViewStyle = 2130772155; // aapt resource value: 0x7f0100ad public const int selectableItemBackground = 2130772141; // aapt resource value: 0x7f0100ae public const int selectableItemBackgroundBorderless = 2130772142; // aapt resource value: 0x7f0100fb public const int shadowDrawable = 2130772219; // aapt resource value: 0x7f01005d public const int showAsAction = 2130772061; // aapt resource value: 0x7f01005b public const int showDividers = 2130772059; // aapt resource value: 0x7f01007a public const int showText = 2130772090; // aapt resource value: 0x7f01004f public const int singleChoiceItemLayout = 2130772047; // aapt resource value: 0x7f010053 public const int spinBars = 2130772051; // aapt resource value: 0x7f0100a8 public const int spinnerDropDownItemStyle = 2130772136; // aapt resource value: 0x7f010071 public const int spinnerMode = 2130772081; // aapt resource value: 0x7f0100e1 public const int spinnerStyle = 2130772193; // aapt resource value: 0x7f010079 public const int splitTrack = 2130772089; // aapt resource value: 0x7f010063 public const int state_above_anchor = 2130772067; // aapt resource value: 0x7f01006f public const int submitBackground = 2130772079; // aapt resource value: 0x7f010033 public const int subtitle = 2130772019; // aapt resource value: 0x7f0100e4 public const int subtitleTextAppearance = 2130772196; // aapt resource value: 0x7f010035 public const int subtitleTextStyle = 2130772021; // aapt resource value: 0x7f01006d public const int suggestionRowLayout = 2130772077; // aapt resource value: 0x7f010077 public const int switchMinWidth = 2130772087; // aapt resource value: 0x7f010078 public const int switchPadding = 2130772088; // aapt resource value: 0x7f0100e2 public const int switchStyle = 2130772194; // aapt resource value: 0x7f010076 public const int switchTextAppearance = 2130772086; // aapt resource value: 0x7f010051 public const int textAllCaps = 2130772049; // aapt resource value: 0x7f0100a1 public const int textAppearanceLargePopupMenu = 2130772129; // aapt resource value: 0x7f0100c3 public const int textAppearanceListItem = 2130772163; // aapt resource value: 0x7f0100c4 public const int textAppearanceListItemSmall = 2130772164; // aapt resource value: 0x7f0100b9 public const int textAppearanceSearchResultSubtitle = 2130772153; // aapt resource value: 0x7f0100b8 public const int textAppearanceSearchResultTitle = 2130772152; // aapt resource value: 0x7f0100a2 public const int textAppearanceSmallPopupMenu = 2130772130; // aapt resource value: 0x7f0100d5 public const int textColorAlertDialogListItem = 2130772181; // aapt resource value: 0x7f0100ba public const int textColorSearchUrl = 2130772154; // aapt resource value: 0x7f0100f1 public const int theme = 2130772209; // aapt resource value: 0x7f010059 public const int thickness = 2130772057; // aapt resource value: 0x7f010075 public const int thumbTextPadding = 2130772085; // aapt resource value: 0x7f010030 public const int title = 2130772016; // aapt resource value: 0x7f0100e9 public const int titleMarginBottom = 2130772201; // aapt resource value: 0x7f0100e7 public const int titleMarginEnd = 2130772199; // aapt resource value: 0x7f0100e6 public const int titleMarginStart = 2130772198; // aapt resource value: 0x7f0100e8 public const int titleMarginTop = 2130772200; // aapt resource value: 0x7f0100e5 public const int titleMargins = 2130772197; // aapt resource value: 0x7f0100e3 public const int titleTextAppearance = 2130772195; // aapt resource value: 0x7f010034 public const int titleTextStyle = 2130772020; // aapt resource value: 0x7f0100b3 public const int toolbarNavigationButtonStyle = 2130772147; // aapt resource value: 0x7f0100b2 public const int toolbarStyle = 2130772146; // aapt resource value: 0x7f010056 public const int topBottomBarArrowSize = 2130772054; // aapt resource value: 0x7f010074 public const int track = 2130772084; // aapt resource value: 0x7f01000d public const int uiCompass = 2130771981; // aapt resource value: 0x7f010015 public const int uiMapToolbar = 2130771989; // aapt resource value: 0x7f01000e public const int uiRotateGestures = 2130771982; // aapt resource value: 0x7f01000f public const int uiScrollGestures = 2130771983; // aapt resource value: 0x7f010010 public const int uiTiltGestures = 2130771984; // aapt resource value: 0x7f010011 public const int uiZoomControls = 2130771985; // aapt resource value: 0x7f010012 public const int uiZoomGestures = 2130771986; // aapt resource value: 0x7f0100fa public const int unpinnedDrawable = 2130772218; // aapt resource value: 0x7f010013 public const int useViewLifecycle = 2130771987; // aapt resource value: 0x7f01006b public const int voiceIcon = 2130772075; // aapt resource value: 0x7f01007b public const int windowActionBar = 2130772091; // aapt resource value: 0x7f01007d public const int windowActionBarOverlay = 2130772093; // aapt resource value: 0x7f01007e public const int windowActionModeOverlay = 2130772094; // aapt resource value: 0x7f010082 public const int windowFixedHeightMajor = 2130772098; // aapt resource value: 0x7f010080 public const int windowFixedHeightMinor = 2130772096; // aapt resource value: 0x7f01007f public const int windowFixedWidthMajor = 2130772095; // aapt resource value: 0x7f010081 public const int windowFixedWidthMinor = 2130772097; // aapt resource value: 0x7f010083 public const int windowMinWidthMajor = 2130772099; // aapt resource value: 0x7f010084 public const int windowMinWidthMinor = 2130772100; // aapt resource value: 0x7f01007c public const int windowNoTitle = 2130772092; // aapt resource value: 0x7f010014 public const int zOrderOnTop = 2130771988; static Attribute() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Attribute() { } } public partial class Boolean { // aapt resource value: 0x7f0b0000 public const int abc_action_bar_embed_tabs = 2131427328; // aapt resource value: 0x7f0b0001 public const int abc_action_bar_embed_tabs_pre_jb = 2131427329; // aapt resource value: 0x7f0b0002 public const int abc_action_bar_expanded_action_views_exclusive = 2131427330; // aapt resource value: 0x7f0b0003 public const int abc_config_actionMenuItemAllCaps = 2131427331; // aapt resource value: 0x7f0b0004 public const int abc_config_allowActionMenuItemTextWithIcon = 2131427332; // aapt resource value: 0x7f0b0005 public const int abc_config_closeDialogWhenTouchOutside = 2131427333; // aapt resource value: 0x7f0b0006 public const int abc_config_showMenuShortcutsWhenKeyboardPresent = 2131427334; static Boolean() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Boolean() { } } public partial class Color { // aapt resource value: 0x7f080069 public const int abc_background_cache_hint_selector_material_dark = 2131230825; // aapt resource value: 0x7f08006a public const int abc_background_cache_hint_selector_material_light = 2131230826; // aapt resource value: 0x7f080017 public const int abc_input_method_navigation_guard = 2131230743; // aapt resource value: 0x7f08006b public const int abc_primary_text_disable_only_material_dark = 2131230827; // aapt resource value: 0x7f08006c public const int abc_primary_text_disable_only_material_light = 2131230828; // aapt resource value: 0x7f08006d public const int abc_primary_text_material_dark = 2131230829; // aapt resource value: 0x7f08006e public const int abc_primary_text_material_light = 2131230830; // aapt resource value: 0x7f08006f public const int abc_search_url_text = 2131230831; // aapt resource value: 0x7f080018 public const int abc_search_url_text_normal = 2131230744; // aapt resource value: 0x7f080019 public const int abc_search_url_text_pressed = 2131230745; // aapt resource value: 0x7f08001a public const int abc_search_url_text_selected = 2131230746; // aapt resource value: 0x7f080070 public const int abc_secondary_text_material_dark = 2131230832; // aapt resource value: 0x7f080071 public const int abc_secondary_text_material_light = 2131230833; // aapt resource value: 0x7f08001b public const int accent_material_dark = 2131230747; // aapt resource value: 0x7f08001c public const int accent_material_light = 2131230748; // aapt resource value: 0x7f08001d public const int background_floating_material_dark = 2131230749; // aapt resource value: 0x7f08001e public const int background_floating_material_light = 2131230750; // aapt resource value: 0x7f08001f public const int background_material_dark = 2131230751; // aapt resource value: 0x7f080020 public const int background_material_light = 2131230752; // aapt resource value: 0x7f080021 public const int bright_foreground_disabled_material_dark = 2131230753; // aapt resource value: 0x7f080022 public const int bright_foreground_disabled_material_light = 2131230754; // aapt resource value: 0x7f080023 public const int bright_foreground_inverse_material_dark = 2131230755; // aapt resource value: 0x7f080024 public const int bright_foreground_inverse_material_light = 2131230756; // aapt resource value: 0x7f080025 public const int bright_foreground_material_dark = 2131230757; // aapt resource value: 0x7f080026 public const int bright_foreground_material_light = 2131230758; // aapt resource value: 0x7f080027 public const int button_material_dark = 2131230759; // aapt resource value: 0x7f080028 public const int button_material_light = 2131230760; // aapt resource value: 0x7f080009 public const int common_action_bar_splitter = 2131230729; // aapt resource value: 0x7f080000 public const int common_signin_btn_dark_text_default = 2131230720; // aapt resource value: 0x7f080002 public const int common_signin_btn_dark_text_disabled = 2131230722; // aapt resource value: 0x7f080003 public const int common_signin_btn_dark_text_focused = 2131230723; // aapt resource value: 0x7f080001 public const int common_signin_btn_dark_text_pressed = 2131230721; // aapt resource value: 0x7f080008 public const int common_signin_btn_default_background = 2131230728; // aapt resource value: 0x7f080004 public const int common_signin_btn_light_text_default = 2131230724; // aapt resource value: 0x7f080006 public const int common_signin_btn_light_text_disabled = 2131230726; // aapt resource value: 0x7f080007 public const int common_signin_btn_light_text_focused = 2131230727; // aapt resource value: 0x7f080005 public const int common_signin_btn_light_text_pressed = 2131230725; // aapt resource value: 0x7f080072 public const int common_signin_btn_text_dark = 2131230834; // aapt resource value: 0x7f080073 public const int common_signin_btn_text_light = 2131230835; // aapt resource value: 0x7f080029 public const int dim_foreground_disabled_material_dark = 2131230761; // aapt resource value: 0x7f08002a public const int dim_foreground_disabled_material_light = 2131230762; // aapt resource value: 0x7f08002b public const int dim_foreground_material_dark = 2131230763; // aapt resource value: 0x7f08002c public const int dim_foreground_material_light = 2131230764; // aapt resource value: 0x7f08002d public const int highlighted_text_material_dark = 2131230765; // aapt resource value: 0x7f08002e public const int highlighted_text_material_light = 2131230766; // aapt resource value: 0x7f08002f public const int hint_foreground_material_dark = 2131230767; // aapt resource value: 0x7f080030 public const int hint_foreground_material_light = 2131230768; // aapt resource value: 0x7f080031 public const int link_text_material_dark = 2131230769; // aapt resource value: 0x7f080032 public const int link_text_material_light = 2131230770; // aapt resource value: 0x7f080033 public const int material_blue_grey_800 = 2131230771; // aapt resource value: 0x7f080034 public const int material_blue_grey_900 = 2131230772; // aapt resource value: 0x7f080035 public const int material_blue_grey_950 = 2131230773; // aapt resource value: 0x7f080036 public const int material_deep_teal_200 = 2131230774; // aapt resource value: 0x7f080037 public const int material_deep_teal_500 = 2131230775; // aapt resource value: 0x7f080038 public const int primary_dark_material_dark = 2131230776; // aapt resource value: 0x7f080039 public const int primary_dark_material_light = 2131230777; // aapt resource value: 0x7f08003a public const int primary_material_dark = 2131230778; // aapt resource value: 0x7f08003b public const int primary_material_light = 2131230779; // aapt resource value: 0x7f08003c public const int primary_text_default_material_dark = 2131230780; // aapt resource value: 0x7f08003d public const int primary_text_default_material_light = 2131230781; // aapt resource value: 0x7f08003e public const int primary_text_disabled_material_dark = 2131230782; // aapt resource value: 0x7f08003f public const int primary_text_disabled_material_light = 2131230783; // aapt resource value: 0x7f08004a public const int progress_default_circle_color = 2131230794; // aapt resource value: 0x7f08004b public const int progress_default_progress_color = 2131230795; // aapt resource value: 0x7f08004c public const int refractored_background_dark = 2131230796; // aapt resource value: 0x7f080051 public const int refractored_background_holo_dark = 2131230801; // aapt resource value: 0x7f080052 public const int refractored_background_holo_light = 2131230802; // aapt resource value: 0x7f08004d public const int refractored_background_light = 2131230797; // aapt resource value: 0x7f08004e public const int refractored_bright_foreground_dark = 2131230798; // aapt resource value: 0x7f080050 public const int refractored_bright_foreground_dark_disabled = 2131230800; // aapt resource value: 0x7f080055 public const int refractored_bright_foreground_disabled_holo_dark = 2131230805; // aapt resource value: 0x7f080056 public const int refractored_bright_foreground_disabled_holo_light = 2131230806; // aapt resource value: 0x7f080053 public const int refractored_bright_foreground_holo_dark = 2131230803; // aapt resource value: 0x7f080054 public const int refractored_bright_foreground_holo_light = 2131230804; // aapt resource value: 0x7f08004f public const int refractored_bright_foreground_light = 2131230799; // aapt resource value: 0x7f080058 public const int refractored_dim_foreground_disabled_holo_dark = 2131230808; // aapt resource value: 0x7f08005b public const int refractored_dim_foreground_disabled_holo_light = 2131230811; // aapt resource value: 0x7f080057 public const int refractored_dim_foreground_holo_dark = 2131230807; // aapt resource value: 0x7f08005a public const int refractored_dim_foreground_holo_light = 2131230810; // aapt resource value: 0x7f08005d public const int refractored_highlighted_text_holo_dark = 2131230813; // aapt resource value: 0x7f08005e public const int refractored_highlighted_text_holo_light = 2131230814; // aapt resource value: 0x7f080059 public const int refractored_hint_foreground_holo_dark = 2131230809; // aapt resource value: 0x7f08005c public const int refractored_hint_foreground_holo_light = 2131230812; // aapt resource value: 0x7f080068 public const int refractored_holo_blue_bright = 2131230824; // aapt resource value: 0x7f080062 public const int refractored_holo_blue_dark = 2131230818; // aapt resource value: 0x7f08005f public const int refractored_holo_blue_light = 2131230815; // aapt resource value: 0x7f080063 public const int refractored_holo_green_dark = 2131230819; // aapt resource value: 0x7f080060 public const int refractored_holo_green_light = 2131230816; // aapt resource value: 0x7f080067 public const int refractored_holo_orange_dark = 2131230823; // aapt resource value: 0x7f080066 public const int refractored_holo_orange_light = 2131230822; // aapt resource value: 0x7f080065 public const int refractored_holo_purple = 2131230821; // aapt resource value: 0x7f080064 public const int refractored_holo_red_dark = 2131230820; // aapt resource value: 0x7f080061 public const int refractored_holo_red_light = 2131230817; // aapt resource value: 0x7f080040 public const int ripple_material_dark = 2131230784; // aapt resource value: 0x7f080041 public const int ripple_material_light = 2131230785; // aapt resource value: 0x7f080042 public const int secondary_text_default_material_dark = 2131230786; // aapt resource value: 0x7f080043 public const int secondary_text_default_material_light = 2131230787; // aapt resource value: 0x7f080044 public const int secondary_text_disabled_material_dark = 2131230788; // aapt resource value: 0x7f080045 public const int secondary_text_disabled_material_light = 2131230789; // aapt resource value: 0x7f080046 public const int switch_thumb_disabled_material_dark = 2131230790; // aapt resource value: 0x7f080047 public const int switch_thumb_disabled_material_light = 2131230791; // aapt resource value: 0x7f080074 public const int switch_thumb_material_dark = 2131230836; // aapt resource value: 0x7f080075 public const int switch_thumb_material_light = 2131230837; // aapt resource value: 0x7f080048 public const int switch_thumb_normal_material_dark = 2131230792; // aapt resource value: 0x7f080049 public const int switch_thumb_normal_material_light = 2131230793; // aapt resource value: 0x7f08000f public const int wallet_bright_foreground_disabled_holo_light = 2131230735; // aapt resource value: 0x7f08000a public const int wallet_bright_foreground_holo_dark = 2131230730; // aapt resource value: 0x7f080010 public const int wallet_bright_foreground_holo_light = 2131230736; // aapt resource value: 0x7f08000c public const int wallet_dim_foreground_disabled_holo_dark = 2131230732; // aapt resource value: 0x7f08000b public const int wallet_dim_foreground_holo_dark = 2131230731; // aapt resource value: 0x7f08000e public const int wallet_dim_foreground_inverse_disabled_holo_dark = 2131230734; // aapt resource value: 0x7f08000d public const int wallet_dim_foreground_inverse_holo_dark = 2131230733; // aapt resource value: 0x7f080014 public const int wallet_highlighted_text_holo_dark = 2131230740; // aapt resource value: 0x7f080013 public const int wallet_highlighted_text_holo_light = 2131230739; // aapt resource value: 0x7f080012 public const int wallet_hint_foreground_holo_dark = 2131230738; // aapt resource value: 0x7f080011 public const int wallet_hint_foreground_holo_light = 2131230737; // aapt resource value: 0x7f080015 public const int wallet_holo_blue_light = 2131230741; // aapt resource value: 0x7f080016 public const int wallet_link_text_light = 2131230742; // aapt resource value: 0x7f080076 public const int wallet_primary_text_holo_light = 2131230838; // aapt resource value: 0x7f080077 public const int wallet_secondary_text_holo_dark = 2131230839; static Color() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Color() { } } public partial class Dimension { // aapt resource value: 0x7f0a0001 public const int abc_action_bar_content_inset_material = 2131361793; // aapt resource value: 0x7f0a0002 public const int abc_action_bar_default_height_material = 2131361794; // aapt resource value: 0x7f0a0003 public const int abc_action_bar_default_padding_material = 2131361795; // aapt resource value: 0x7f0a0004 public const int abc_action_bar_icon_vertical_padding_material = 2131361796; // aapt resource value: 0x7f0a0005 public const int abc_action_bar_navigation_padding_start_material = 2131361797; // aapt resource value: 0x7f0a0006 public const int abc_action_bar_overflow_padding_end_material = 2131361798; // aapt resource value: 0x7f0a0007 public const int abc_action_bar_overflow_padding_start_material = 2131361799; // aapt resource value: 0x7f0a0008 public const int abc_action_bar_progress_bar_size = 2131361800; // aapt resource value: 0x7f0a0009 public const int abc_action_bar_stacked_max_height = 2131361801; // aapt resource value: 0x7f0a000a public const int abc_action_bar_stacked_tab_max_width = 2131361802; // aapt resource value: 0x7f0a000b public const int abc_action_bar_subtitle_bottom_margin_material = 2131361803; // aapt resource value: 0x7f0a000c public const int abc_action_bar_subtitle_top_margin_material = 2131361804; // aapt resource value: 0x7f0a000d public const int abc_action_button_min_height_material = 2131361805; // aapt resource value: 0x7f0a000e public const int abc_action_button_min_width_material = 2131361806; // aapt resource value: 0x7f0a000f public const int abc_action_button_min_width_overflow_material = 2131361807; // aapt resource value: 0x7f0a0010 public const int abc_alert_dialog_button_bar_height = 2131361808; // aapt resource value: 0x7f0a0011 public const int abc_button_inset_horizontal_material = 2131361809; // aapt resource value: 0x7f0a0012 public const int abc_button_inset_vertical_material = 2131361810; // aapt resource value: 0x7f0a0013 public const int abc_button_padding_horizontal_material = 2131361811; // aapt resource value: 0x7f0a0014 public const int abc_button_padding_vertical_material = 2131361812; // aapt resource value: 0x7f0a0015 public const int abc_config_prefDialogWidth = 2131361813; // aapt resource value: 0x7f0a0016 public const int abc_control_corner_material = 2131361814; // aapt resource value: 0x7f0a0017 public const int abc_control_inset_material = 2131361815; // aapt resource value: 0x7f0a0018 public const int abc_control_padding_material = 2131361816; // aapt resource value: 0x7f0a0019 public const int abc_dialog_list_padding_vertical_material = 2131361817; // aapt resource value: 0x7f0a001a public const int abc_dialog_min_width_major = 2131361818; // aapt resource value: 0x7f0a001b public const int abc_dialog_min_width_minor = 2131361819; // aapt resource value: 0x7f0a001c public const int abc_dialog_padding_material = 2131361820; // aapt resource value: 0x7f0a001d public const int abc_dialog_padding_top_material = 2131361821; // aapt resource value: 0x7f0a001e public const int abc_disabled_alpha_material_dark = 2131361822; // aapt resource value: 0x7f0a001f public const int abc_disabled_alpha_material_light = 2131361823; // aapt resource value: 0x7f0a0020 public const int abc_dropdownitem_icon_width = 2131361824; // aapt resource value: 0x7f0a0021 public const int abc_dropdownitem_text_padding_left = 2131361825; // aapt resource value: 0x7f0a0022 public const int abc_dropdownitem_text_padding_right = 2131361826; // aapt resource value: 0x7f0a0023 public const int abc_edit_text_inset_bottom_material = 2131361827; // aapt resource value: 0x7f0a0024 public const int abc_edit_text_inset_horizontal_material = 2131361828; // aapt resource value: 0x7f0a0025 public const int abc_edit_text_inset_top_material = 2131361829; // aapt resource value: 0x7f0a0026 public const int abc_floating_window_z = 2131361830; // aapt resource value: 0x7f0a0027 public const int abc_list_item_padding_horizontal_material = 2131361831; // aapt resource value: 0x7f0a0028 public const int abc_panel_menu_list_width = 2131361832; // aapt resource value: 0x7f0a0029 public const int abc_search_view_preferred_width = 2131361833; // aapt resource value: 0x7f0a002a public const int abc_search_view_text_min_width = 2131361834; // aapt resource value: 0x7f0a002b public const int abc_switch_padding = 2131361835; // aapt resource value: 0x7f0a002c public const int abc_text_size_body_1_material = 2131361836; // aapt resource value: 0x7f0a002d public const int abc_text_size_body_2_material = 2131361837; // aapt resource value: 0x7f0a002e public const int abc_text_size_button_material = 2131361838; // aapt resource value: 0x7f0a002f public const int abc_text_size_caption_material = 2131361839; // aapt resource value: 0x7f0a0030 public const int abc_text_size_display_1_material = 2131361840; // aapt resource value: 0x7f0a0031 public const int abc_text_size_display_2_material = 2131361841; // aapt resource value: 0x7f0a0032 public const int abc_text_size_display_3_material = 2131361842; // aapt resource value: 0x7f0a0033 public const int abc_text_size_display_4_material = 2131361843; // aapt resource value: 0x7f0a0034 public const int abc_text_size_headline_material = 2131361844; // aapt resource value: 0x7f0a0035 public const int abc_text_size_large_material = 2131361845; // aapt resource value: 0x7f0a0036 public const int abc_text_size_medium_material = 2131361846; // aapt resource value: 0x7f0a0037 public const int abc_text_size_menu_material = 2131361847; // aapt resource value: 0x7f0a0038 public const int abc_text_size_small_material = 2131361848; // aapt resource value: 0x7f0a0039 public const int abc_text_size_subhead_material = 2131361849; // aapt resource value: 0x7f0a003a public const int abc_text_size_subtitle_material_toolbar = 2131361850; // aapt resource value: 0x7f0a003b public const int abc_text_size_title_material = 2131361851; // aapt resource value: 0x7f0a003c public const int abc_text_size_title_material_toolbar = 2131361852; // aapt resource value: 0x7f0a003d public const int dialog_fixed_height_major = 2131361853; // aapt resource value: 0x7f0a003e public const int dialog_fixed_height_minor = 2131361854; // aapt resource value: 0x7f0a003f public const int dialog_fixed_width_major = 2131361855; // aapt resource value: 0x7f0a0040 public const int dialog_fixed_width_minor = 2131361856; // aapt resource value: 0x7f0a0041 public const int disabled_alpha_material_dark = 2131361857; // aapt resource value: 0x7f0a0042 public const int disabled_alpha_material_light = 2131361858; // aapt resource value: 0x7f0a0000 public const int mr_media_route_controller_art_max_height = 2131361792; // aapt resource value: 0x7f0a0043 public const int progress_inner_size = 2131361859; static Dimension() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Dimension() { } } public partial class Drawable { // aapt resource value: 0x7f020000 public const int abc_ab_share_pack_mtrl_alpha = 2130837504; // aapt resource value: 0x7f020001 public const int abc_btn_borderless_material = 2130837505; // aapt resource value: 0x7f020002 public const int abc_btn_check_material = 2130837506; // aapt resource value: 0x7f020003 public const int abc_btn_check_to_on_mtrl_000 = 2130837507; // aapt resource value: 0x7f020004 public const int abc_btn_check_to_on_mtrl_015 = 2130837508; // aapt resource value: 0x7f020005 public const int abc_btn_default_mtrl_shape = 2130837509; // aapt resource value: 0x7f020006 public const int abc_btn_radio_material = 2130837510; // aapt resource value: 0x7f020007 public const int abc_btn_radio_to_on_mtrl_000 = 2130837511; // aapt resource value: 0x7f020008 public const int abc_btn_radio_to_on_mtrl_015 = 2130837512; // aapt resource value: 0x7f020009 public const int abc_btn_rating_star_off_mtrl_alpha = 2130837513; // aapt resource value: 0x7f02000a public const int abc_btn_rating_star_on_mtrl_alpha = 2130837514; // aapt resource value: 0x7f02000b public const int abc_btn_switch_to_on_mtrl_00001 = 2130837515; // aapt resource value: 0x7f02000c public const int abc_btn_switch_to_on_mtrl_00012 = 2130837516; // aapt resource value: 0x7f02000d public const int abc_cab_background_internal_bg = 2130837517; // aapt resource value: 0x7f02000e public const int abc_cab_background_top_material = 2130837518; // aapt resource value: 0x7f02000f public const int abc_cab_background_top_mtrl_alpha = 2130837519; // aapt resource value: 0x7f020010 public const int abc_dialog_material_background_dark = 2130837520; // aapt resource value: 0x7f020011 public const int abc_dialog_material_background_light = 2130837521; // aapt resource value: 0x7f020012 public const int abc_edit_text_material = 2130837522; // aapt resource value: 0x7f020013 public const int abc_ic_ab_back_mtrl_am_alpha = 2130837523; // aapt resource value: 0x7f020014 public const int abc_ic_clear_mtrl_alpha = 2130837524; // aapt resource value: 0x7f020015 public const int abc_ic_commit_search_api_mtrl_alpha = 2130837525; // aapt resource value: 0x7f020016 public const int abc_ic_go_search_api_mtrl_alpha = 2130837526; // aapt resource value: 0x7f020017 public const int abc_ic_menu_copy_mtrl_am_alpha = 2130837527; // aapt resource value: 0x7f020018 public const int abc_ic_menu_cut_mtrl_alpha = 2130837528; // aapt resource value: 0x7f020019 public const int abc_ic_menu_moreoverflow_mtrl_alpha = 2130837529; // aapt resource value: 0x7f02001a public const int abc_ic_menu_paste_mtrl_am_alpha = 2130837530; // aapt resource value: 0x7f02001b public const int abc_ic_menu_selectall_mtrl_alpha = 2130837531; // aapt resource value: 0x7f02001c public const int abc_ic_menu_share_mtrl_alpha = 2130837532; // aapt resource value: 0x7f02001d public const int abc_ic_search_api_mtrl_alpha = 2130837533; // aapt resource value: 0x7f02001e public const int abc_ic_voice_search_api_mtrl_alpha = 2130837534; // aapt resource value: 0x7f02001f public const int abc_item_background_holo_dark = 2130837535; // aapt resource value: 0x7f020020 public const int abc_item_background_holo_light = 2130837536; // aapt resource value: 0x7f020021 public const int abc_list_divider_mtrl_alpha = 2130837537; // aapt resource value: 0x7f020022 public const int abc_list_focused_holo = 2130837538; // aapt resource value: 0x7f020023 public const int abc_list_longpressed_holo = 2130837539; // aapt resource value: 0x7f020024 public const int abc_list_pressed_holo_dark = 2130837540; // aapt resource value: 0x7f020025 public const int abc_list_pressed_holo_light = 2130837541; // aapt resource value: 0x7f020026 public const int abc_list_selector_background_transition_holo_dark = 2130837542; // aapt resource value: 0x7f020027 public const int abc_list_selector_background_transition_holo_light = 2130837543; // aapt resource value: 0x7f020028 public const int abc_list_selector_disabled_holo_dark = 2130837544; // aapt resource value: 0x7f020029 public const int abc_list_selector_disabled_holo_light = 2130837545; // aapt resource value: 0x7f02002a public const int abc_list_selector_holo_dark = 2130837546; // aapt resource value: 0x7f02002b public const int abc_list_selector_holo_light = 2130837547; // aapt resource value: 0x7f02002c public const int abc_menu_hardkey_panel_mtrl_mult = 2130837548; // aapt resource value: 0x7f02002d public const int abc_popup_background_mtrl_mult = 2130837549; // aapt resource value: 0x7f02002e public const int abc_ratingbar_full_material = 2130837550; // aapt resource value: 0x7f02002f public const int abc_spinner_mtrl_am_alpha = 2130837551; // aapt resource value: 0x7f020030 public const int abc_spinner_textfield_background_material = 2130837552; // aapt resource value: 0x7f020031 public const int abc_switch_thumb_material = 2130837553; // aapt resource value: 0x7f020032 public const int abc_switch_track_mtrl_alpha = 2130837554; // aapt resource value: 0x7f020033 public const int abc_tab_indicator_material = 2130837555; // aapt resource value: 0x7f020034 public const int abc_tab_indicator_mtrl_alpha = 2130837556; // aapt resource value: 0x7f020035 public const int abc_text_cursor_mtrl_alpha = 2130837557; // aapt resource value: 0x7f020036 public const int abc_textfield_activated_mtrl_alpha = 2130837558; // aapt resource value: 0x7f020037 public const int abc_textfield_default_mtrl_alpha = 2130837559; // aapt resource value: 0x7f020038 public const int abc_textfield_search_activated_mtrl_alpha = 2130837560; // aapt resource value: 0x7f020039 public const int abc_textfield_search_default_mtrl_alpha = 2130837561; // aapt resource value: 0x7f02003a public const int abc_textfield_search_material = 2130837562; // aapt resource value: 0x7f02003b public const int common_full_open_on_phone = 2130837563; // aapt resource value: 0x7f02003c public const int common_ic_googleplayservices = 2130837564; // aapt resource value: 0x7f02003d public const int common_signin_btn_icon_dark = 2130837565; // aapt resource value: 0x7f02003e public const int common_signin_btn_icon_disabled_dark = 2130837566; // aapt resource value: 0x7f02003f public const int common_signin_btn_icon_disabled_focus_dark = 2130837567; // aapt resource value: 0x7f020040 public const int common_signin_btn_icon_disabled_focus_light = 2130837568; // aapt resource value: 0x7f020041 public const int common_signin_btn_icon_disabled_light = 2130837569; // aapt resource value: 0x7f020042 public const int common_signin_btn_icon_focus_dark = 2130837570; // aapt resource value: 0x7f020043 public const int common_signin_btn_icon_focus_light = 2130837571; // aapt resource value: 0x7f020044 public const int common_signin_btn_icon_light = 2130837572; // aapt resource value: 0x7f020045 public const int common_signin_btn_icon_normal_dark = 2130837573; // aapt resource value: 0x7f020046 public const int common_signin_btn_icon_normal_light = 2130837574; // aapt resource value: 0x7f020047 public const int common_signin_btn_icon_pressed_dark = 2130837575; // aapt resource value: 0x7f020048 public const int common_signin_btn_icon_pressed_light = 2130837576; // aapt resource value: 0x7f020049 public const int common_signin_btn_text_dark = 2130837577; // aapt resource value: 0x7f02004a public const int common_signin_btn_text_disabled_dark = 2130837578; // aapt resource value: 0x7f02004b public const int common_signin_btn_text_disabled_focus_dark = 2130837579; // aapt resource value: 0x7f02004c public const int common_signin_btn_text_disabled_focus_light = 2130837580; // aapt resource value: 0x7f02004d public const int common_signin_btn_text_disabled_light = 2130837581; // aapt resource value: 0x7f02004e public const int common_signin_btn_text_focus_dark = 2130837582; // aapt resource value: 0x7f02004f public const int common_signin_btn_text_focus_light = 2130837583; // aapt resource value: 0x7f020050 public const int common_signin_btn_text_light = 2130837584; // aapt resource value: 0x7f020051 public const int common_signin_btn_text_normal_dark = 2130837585; // aapt resource value: 0x7f020052 public const int common_signin_btn_text_normal_light = 2130837586; // aapt resource value: 0x7f020053 public const int common_signin_btn_text_pressed_dark = 2130837587; // aapt resource value: 0x7f020054 public const int common_signin_btn_text_pressed_light = 2130837588; // aapt resource value: 0x7f020055 public const int conferences = 2130837589; // aapt resource value: 0x7f020056 public const int hamburger = 2130837590; // aapt resource value: 0x7f020057 public const int ic_cast_dark = 2130837591; // aapt resource value: 0x7f020058 public const int ic_cast_disabled_light = 2130837592; // aapt resource value: 0x7f020059 public const int ic_cast_light = 2130837593; // aapt resource value: 0x7f02005a public const int ic_cast_off_light = 2130837594; // aapt resource value: 0x7f02005b public const int ic_cast_on_0_light = 2130837595; // aapt resource value: 0x7f02005c public const int ic_cast_on_1_light = 2130837596; // aapt resource value: 0x7f02005d public const int ic_cast_on_2_light = 2130837597; // aapt resource value: 0x7f02005e public const int ic_cast_on_light = 2130837598; // aapt resource value: 0x7f02005f public const int ic_launcher = 2130837599; // aapt resource value: 0x7f020060 public const int ic_media_pause = 2130837600; // aapt resource value: 0x7f020061 public const int ic_media_play = 2130837601; // aapt resource value: 0x7f020062 public const int ic_media_route_disabled_mono_dark = 2130837602; // aapt resource value: 0x7f020063 public const int ic_media_route_off_mono_dark = 2130837603; // aapt resource value: 0x7f020064 public const int ic_media_route_on_0_mono_dark = 2130837604; // aapt resource value: 0x7f020065 public const int ic_media_route_on_1_mono_dark = 2130837605; // aapt resource value: 0x7f020066 public const int ic_media_route_on_2_mono_dark = 2130837606; // aapt resource value: 0x7f020067 public const int ic_media_route_on_mono_dark = 2130837607; // aapt resource value: 0x7f020068 public const int ic_pause_dark = 2130837608; // aapt resource value: 0x7f020069 public const int ic_pause_light = 2130837609; // aapt resource value: 0x7f02006a public const int ic_play_dark = 2130837610; // aapt resource value: 0x7f02006b public const int ic_play_light = 2130837611; // aapt resource value: 0x7f02006c public const int ic_plusone_medium_off_client = 2130837612; // aapt resource value: 0x7f02006d public const int ic_plusone_small_off_client = 2130837613; // aapt resource value: 0x7f02006e public const int ic_plusone_standard_off_client = 2130837614; // aapt resource value: 0x7f02006f public const int ic_plusone_tall_off_client = 2130837615; // aapt resource value: 0x7f020070 public const int ic_setting_dark = 2130837616; // aapt resource value: 0x7f020071 public const int ic_setting_light = 2130837617; // aapt resource value: 0x7f020072 public const int icon = 2130837618; // aapt resource value: 0x7f020073 public const int mr_ic_audio_vol = 2130837619; // aapt resource value: 0x7f020074 public const int mr_ic_media_route_connecting_mono_dark = 2130837620; // aapt resource value: 0x7f020075 public const int mr_ic_media_route_connecting_mono_light = 2130837621; // aapt resource value: 0x7f020076 public const int mr_ic_media_route_mono_dark = 2130837622; // aapt resource value: 0x7f020077 public const int mr_ic_media_route_mono_light = 2130837623; // aapt resource value: 0x7f020078 public const int mr_ic_pause_dark = 2130837624; // aapt resource value: 0x7f020079 public const int mr_ic_pause_light = 2130837625; // aapt resource value: 0x7f02007a public const int mr_ic_play_dark = 2130837626; // aapt resource value: 0x7f02007b public const int mr_ic_play_light = 2130837627; // aapt resource value: 0x7f02007c public const int mr_ic_settings_dark = 2130837628; // aapt resource value: 0x7f02007d public const int mr_ic_settings_light = 2130837629; // aapt resource value: 0x7f02007e public const int myConferences = 2130837630; // aapt resource value: 0x7f02007f public const int myProfile = 2130837631; // aapt resource value: 0x7f020080 public const int pin_progress_pinned = 2130837632; // aapt resource value: 0x7f020081 public const int pin_progress_shadow = 2130837633; // aapt resource value: 0x7f020082 public const int pin_progress_unpinned = 2130837634; // aapt resource value: 0x7f020083 public const int powered_by_google_dark = 2130837635; // aapt resource value: 0x7f020084 public const int powered_by_google_light = 2130837636; // aapt resource value: 0x7f020085 public const int scrubber_control_normal_holo = 2130837637; // aapt resource value: 0x7f020086 public const int scrubber_control_pressed_holo = 2130837638; static Drawable() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Drawable() { } } public partial class Id { // aapt resource value: 0x7f0c0062 public const int action_bar = 2131492962; // aapt resource value: 0x7f0c0000 public const int action_bar_activity_content = 2131492864; // aapt resource value: 0x7f0c0061 public const int action_bar_container = 2131492961; // aapt resource value: 0x7f0c005d public const int action_bar_root = 2131492957; // aapt resource value: 0x7f0c0001 public const int action_bar_spinner = 2131492865; // aapt resource value: 0x7f0c0046 public const int action_bar_subtitle = 2131492934; // aapt resource value: 0x7f0c0045 public const int action_bar_title = 2131492933; // aapt resource value: 0x7f0c0063 public const int action_context_bar = 2131492963; // aapt resource value: 0x7f0c0002 public const int action_menu_divider = 2131492866; // aapt resource value: 0x7f0c0003 public const int action_menu_presenter = 2131492867; // aapt resource value: 0x7f0c005f public const int action_mode_bar = 2131492959; // aapt resource value: 0x7f0c005e public const int action_mode_bar_stub = 2131492958; // aapt resource value: 0x7f0c0047 public const int action_mode_close_button = 2131492935; // aapt resource value: 0x7f0c0048 public const int activity_chooser_view_content = 2131492936; // aapt resource value: 0x7f0c0009 public const int adjust_height = 2131492873; // aapt resource value: 0x7f0c000a public const int adjust_width = 2131492874; // aapt resource value: 0x7f0c0052 public const int alertTitle = 2131492946; // aapt resource value: 0x7f0c002b public const int always = 2131492907; // aapt resource value: 0x7f0c0077 public const int art = 2131492983; // aapt resource value: 0x7f0c0028 public const int beginning = 2131492904; // aapt resource value: 0x7f0c0019 public const int book_now = 2131492889; // aapt resource value: 0x7f0c0037 public const int bottom = 2131492919; // aapt resource value: 0x7f0c0058 public const int buttonPanel = 2131492952; // aapt resource value: 0x7f0c007b public const int buttons = 2131492987; // aapt resource value: 0x7f0c0015 public const int buyButton = 2131492885; // aapt resource value: 0x7f0c001a public const int buy_now = 2131492890; // aapt resource value: 0x7f0c001b public const int buy_with_google = 2131492891; // aapt resource value: 0x7f0c0038 public const int center = 2131492920; // aapt resource value: 0x7f0c0039 public const int center_horizontal = 2131492921; // aapt resource value: 0x7f0c003a public const int center_vertical = 2131492922; // aapt resource value: 0x7f0c005a public const int checkbox = 2131492954; // aapt resource value: 0x7f0c001d public const int classic = 2131492893; // aapt resource value: 0x7f0c003b public const int clip = 2131492923; // aapt resource value: 0x7f0c003c public const int clip_horizontal = 2131492924; // aapt resource value: 0x7f0c003d public const int clip_vertical = 2131492925; // aapt resource value: 0x7f0c002c public const int collapseActionView = 2131492908; // aapt resource value: 0x7f0c0053 public const int contentPanel = 2131492947; // aapt resource value: 0x7f0c0057 public const int custom = 2131492951; // aapt resource value: 0x7f0c0056 public const int customPanel = 2131492950; // aapt resource value: 0x7f0c0060 public const int decor_content_parent = 2131492960; // aapt resource value: 0x7f0c004b public const int default_activity_button = 2131492939; // aapt resource value: 0x7f0c0076 public const int default_control_frame = 2131492982; // aapt resource value: 0x7f0c0030 public const int dialog = 2131492912; // aapt resource value: 0x7f0c0022 public const int disableHome = 2131492898; // aapt resource value: 0x7f0c007c public const int disconnect = 2131492988; // aapt resource value: 0x7f0c001c public const int donate_with_google = 2131492892; // aapt resource value: 0x7f0c0031 public const int dropdown = 2131492913; // aapt resource value: 0x7f0c0064 public const int edit_query = 2131492964; // aapt resource value: 0x7f0c0029 public const int end = 2131492905; // aapt resource value: 0x7f0c0049 public const int expand_activities_button = 2131492937; // aapt resource value: 0x7f0c0059 public const int expanded_menu = 2131492953; // aapt resource value: 0x7f0c003e public const int fill = 2131492926; // aapt resource value: 0x7f0c003f public const int fill_horizontal = 2131492927; // aapt resource value: 0x7f0c0040 public const int fill_vertical = 2131492928; // aapt resource value: 0x7f0c001e public const int grayscale = 2131492894; // aapt resource value: 0x7f0c0010 public const int holo_dark = 2131492880; // aapt resource value: 0x7f0c0011 public const int holo_light = 2131492881; // aapt resource value: 0x7f0c0004 public const int home = 2131492868; // aapt resource value: 0x7f0c0023 public const int homeAsUp = 2131492899; // aapt resource value: 0x7f0c000c public const int hybrid = 2131492876; // aapt resource value: 0x7f0c004d public const int icon = 2131492941; // aapt resource value: 0x7f0c002d public const int ifRoom = 2131492909; // aapt resource value: 0x7f0c004a public const int image = 2131492938; // aapt resource value: 0x7f0c0041 public const int left = 2131492929; // aapt resource value: 0x7f0c0020 public const int listMode = 2131492896; // aapt resource value: 0x7f0c004c public const int list_item = 2131492940; // aapt resource value: 0x7f0c0017 public const int match_parent = 2131492887; // aapt resource value: 0x7f0c0075 public const int media_route_control_frame = 2131492981; // aapt resource value: 0x7f0c0071 public const int media_route_list = 2131492977; // aapt resource value: 0x7f0c002a public const int middle = 2131492906; // aapt resource value: 0x7f0c001f public const int monochrome = 2131492895; // aapt resource value: 0x7f0c0032 public const int multiply = 2131492914; // aapt resource value: 0x7f0c002e public const int never = 2131492910; // aapt resource value: 0x7f0c000b public const int none = 2131492875; // aapt resource value: 0x7f0c000d public const int normal = 2131492877; // aapt resource value: 0x7f0c004f public const int parentPanel = 2131492943; // aapt resource value: 0x7f0c0078 public const int play_pause = 2131492984; // aapt resource value: 0x7f0c0012 public const int production = 2131492882; // aapt resource value: 0x7f0c0005 public const int progress_circular = 2131492869; // aapt resource value: 0x7f0c0006 public const int progress_horizontal = 2131492870; // aapt resource value: 0x7f0c005c public const int radio = 2131492956; // aapt resource value: 0x7f0c0042 public const int right = 2131492930; // aapt resource value: 0x7f0c0073 public const int route_name = 2131492979; // aapt resource value: 0x7f0c0013 public const int sandbox = 2131492883; // aapt resource value: 0x7f0c000e public const int satellite = 2131492878; // aapt resource value: 0x7f0c0033 public const int screen = 2131492915; // aapt resource value: 0x7f0c0054 public const int scrollView = 2131492948; // aapt resource value: 0x7f0c0066 public const int search_badge = 2131492966; // aapt resource value: 0x7f0c0065 public const int search_bar = 2131492965; // aapt resource value: 0x7f0c0067 public const int search_button = 2131492967; // aapt resource value: 0x7f0c006c public const int search_close_btn = 2131492972; // aapt resource value: 0x7f0c0068 public const int search_edit_frame = 2131492968; // aapt resource value: 0x7f0c006e public const int search_go_btn = 2131492974; // aapt resource value: 0x7f0c0069 public const int search_mag_icon = 2131492969; // aapt resource value: 0x7f0c006a public const int search_plate = 2131492970; // aapt resource value: 0x7f0c006b public const int search_src_text = 2131492971; // aapt resource value: 0x7f0c006f public const int search_voice_btn = 2131492975; // aapt resource value: 0x7f0c0070 public const int select_dialog_listview = 2131492976; // aapt resource value: 0x7f0c0016 public const int selectionDetails = 2131492886; // aapt resource value: 0x7f0c0074 public const int settings = 2131492980; // aapt resource value: 0x7f0c005b public const int shortcut = 2131492955; // aapt resource value: 0x7f0c0024 public const int showCustom = 2131492900; // aapt resource value: 0x7f0c0025 public const int showHome = 2131492901; // aapt resource value: 0x7f0c0026 public const int showTitle = 2131492902; // aapt resource value: 0x7f0c0007 public const int split_action_bar = 2131492871; // aapt resource value: 0x7f0c0034 public const int src_atop = 2131492916; // aapt resource value: 0x7f0c0035 public const int src_in = 2131492917; // aapt resource value: 0x7f0c0036 public const int src_over = 2131492918; // aapt resource value: 0x7f0c0043 public const int start = 2131492931; // aapt resource value: 0x7f0c007d public const int stop = 2131492989; // aapt resource value: 0x7f0c0014 public const int strict_sandbox = 2131492884; // aapt resource value: 0x7f0c006d public const int submit_area = 2131492973; // aapt resource value: 0x7f0c007a public const int subtitle = 2131492986; // aapt resource value: 0x7f0c0021 public const int tabMode = 2131492897; // aapt resource value: 0x7f0c000f public const int terrain = 2131492879; // aapt resource value: 0x7f0c0055 public const int textSpacerNoButtons = 2131492949; // aapt resource value: 0x7f0c0079 public const int text_wrapper = 2131492985; // aapt resource value: 0x7f0c004e public const int title = 2131492942; // aapt resource value: 0x7f0c0072 public const int title_bar = 2131492978; // aapt resource value: 0x7f0c0051 public const int title_template = 2131492945; // aapt resource value: 0x7f0c0044 public const int top = 2131492932; // aapt resource value: 0x7f0c0050 public const int topPanel = 2131492944; // aapt resource value: 0x7f0c0008 public const int up = 2131492872; // aapt resource value: 0x7f0c0027 public const int useLogo = 2131492903; // aapt resource value: 0x7f0c002f public const int withText = 2131492911; // aapt resource value: 0x7f0c0018 public const int wrap_content = 2131492888; static Id() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Id() { } } public partial class Integer { // aapt resource value: 0x7f090001 public const int abc_config_activityDefaultDur = 2131296257; // aapt resource value: 0x7f090002 public const int abc_config_activityShortDur = 2131296258; // aapt resource value: 0x7f090003 public const int abc_max_action_buttons = 2131296259; // aapt resource value: 0x7f090005 public const int circular_indeterminent_interval = 2131296261; // aapt resource value: 0x7f090000 public const int google_play_services_version = 2131296256; // aapt resource value: 0x7f090004 public const int progressbutton_indeterminent_interval = 2131296260; static Integer() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Integer() { } } public partial class Layout { // aapt resource value: 0x7f030000 public const int abc_action_bar_title_item = 2130903040; // aapt resource value: 0x7f030001 public const int abc_action_bar_up_container = 2130903041; // aapt resource value: 0x7f030002 public const int abc_action_bar_view_list_nav_layout = 2130903042; // aapt resource value: 0x7f030003 public const int abc_action_menu_item_layout = 2130903043; // aapt resource value: 0x7f030004 public const int abc_action_menu_layout = 2130903044; // aapt resource value: 0x7f030005 public const int abc_action_mode_bar = 2130903045; // aapt resource value: 0x7f030006 public const int abc_action_mode_close_item_material = 2130903046; // aapt resource value: 0x7f030007 public const int abc_activity_chooser_view = 2130903047; // aapt resource value: 0x7f030008 public const int abc_activity_chooser_view_list_item = 2130903048; // aapt resource value: 0x7f030009 public const int abc_alert_dialog_material = 2130903049; // aapt resource value: 0x7f03000a public const int abc_dialog_title_material = 2130903050; // aapt resource value: 0x7f03000b public const int abc_expanded_menu_layout = 2130903051; // aapt resource value: 0x7f03000c public const int abc_list_menu_item_checkbox = 2130903052; // aapt resource value: 0x7f03000d public const int abc_list_menu_item_icon = 2130903053; // aapt resource value: 0x7f03000e public const int abc_list_menu_item_layout = 2130903054; // aapt resource value: 0x7f03000f public const int abc_list_menu_item_radio = 2130903055; // aapt resource value: 0x7f030010 public const int abc_popup_menu_item_layout = 2130903056; // aapt resource value: 0x7f030011 public const int abc_screen_content_include = 2130903057; // aapt resource value: 0x7f030012 public const int abc_screen_simple = 2130903058; // aapt resource value: 0x7f030013 public const int abc_screen_simple_overlay_action_mode = 2130903059; // aapt resource value: 0x7f030014 public const int abc_screen_toolbar = 2130903060; // aapt resource value: 0x7f030015 public const int abc_search_dropdown_item_icons_2line = 2130903061; // aapt resource value: 0x7f030016 public const int abc_search_view = 2130903062; // aapt resource value: 0x7f030017 public const int abc_select_dialog_material = 2130903063; // aapt resource value: 0x7f030018 public const int abc_simple_dropdown_hint = 2130903064; // aapt resource value: 0x7f030019 public const int mr_media_route_chooser_dialog = 2130903065; // aapt resource value: 0x7f03001a public const int mr_media_route_controller_material_dialog_b = 2130903066; // aapt resource value: 0x7f03001b public const int mr_media_route_list_item = 2130903067; // aapt resource value: 0x7f03001c public const int select_dialog_item_material = 2130903068; // aapt resource value: 0x7f03001d public const int select_dialog_multichoice_material = 2130903069; // aapt resource value: 0x7f03001e public const int select_dialog_singlechoice_material = 2130903070; // aapt resource value: 0x7f03001f public const int support_simple_spinner_dropdown_item = 2130903071; static Layout() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Layout() { } } public partial class Raw { // aapt resource value: 0x7f050000 public const int gtm_analytics = 2131034112; static Raw() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Raw() { } } public partial class String { // aapt resource value: 0x7f07003f public const int ApplicationName = 2131165247; // aapt resource value: 0x7f07003e public const int Hello = 2131165246; // aapt resource value: 0x7f07002d public const int abc_action_bar_home_description = 2131165229; // aapt resource value: 0x7f07002e public const int abc_action_bar_home_description_format = 2131165230; // aapt resource value: 0x7f07002f public const int abc_action_bar_home_subtitle_description_format = 2131165231; // aapt resource value: 0x7f070030 public const int abc_action_bar_up_description = 2131165232; // aapt resource value: 0x7f070031 public const int abc_action_menu_overflow_description = 2131165233; // aapt resource value: 0x7f070032 public const int abc_action_mode_done = 2131165234; // aapt resource value: 0x7f070033 public const int abc_activity_chooser_view_see_all = 2131165235; // aapt resource value: 0x7f070034 public const int abc_activitychooserview_choose_application = 2131165236; // aapt resource value: 0x7f070035 public const int abc_search_hint = 2131165237; // aapt resource value: 0x7f070036 public const int abc_searchview_description_clear = 2131165238; // aapt resource value: 0x7f070037 public const int abc_searchview_description_query = 2131165239; // aapt resource value: 0x7f070038 public const int abc_searchview_description_search = 2131165240; // aapt resource value: 0x7f070039 public const int abc_searchview_description_submit = 2131165241; // aapt resource value: 0x7f07003a public const int abc_searchview_description_voice = 2131165242; // aapt resource value: 0x7f07003b public const int abc_shareactionprovider_share_with = 2131165243; // aapt resource value: 0x7f07003c public const int abc_shareactionprovider_share_with_application = 2131165244; // aapt resource value: 0x7f07003d public const int abc_toolbar_collapse_description = 2131165245; // aapt resource value: 0x7f070002 public const int accept = 2131165186; // aapt resource value: 0x7f070009 public const int common_android_wear_notification_needs_update_text = 2131165193; // aapt resource value: 0x7f070016 public const int common_android_wear_update_text = 2131165206; // aapt resource value: 0x7f070014 public const int common_android_wear_update_title = 2131165204; // aapt resource value: 0x7f070012 public const int common_google_play_services_enable_button = 2131165202; // aapt resource value: 0x7f070011 public const int common_google_play_services_enable_text = 2131165201; // aapt resource value: 0x7f070010 public const int common_google_play_services_enable_title = 2131165200; // aapt resource value: 0x7f07000b public const int common_google_play_services_error_notification_requested_by_msg = 2131165195; // aapt resource value: 0x7f07000f public const int common_google_play_services_install_button = 2131165199; // aapt resource value: 0x7f07000d public const int common_google_play_services_install_text_phone = 2131165197; // aapt resource value: 0x7f07000e public const int common_google_play_services_install_text_tablet = 2131165198; // aapt resource value: 0x7f07000c public const int common_google_play_services_install_title = 2131165196; // aapt resource value: 0x7f07001a public const int common_google_play_services_invalid_account_text = 2131165210; // aapt resource value: 0x7f070019 public const int common_google_play_services_invalid_account_title = 2131165209; // aapt resource value: 0x7f07000a public const int common_google_play_services_needs_enabling_title = 2131165194; // aapt resource value: 0x7f070018 public const int common_google_play_services_network_error_text = 2131165208; // aapt resource value: 0x7f070017 public const int common_google_play_services_network_error_title = 2131165207; // aapt resource value: 0x7f070007 public const int common_google_play_services_notification_needs_installation_title = 2131165191; // aapt resource value: 0x7f070008 public const int common_google_play_services_notification_needs_update_title = 2131165192; // aapt resource value: 0x7f070006 public const int common_google_play_services_notification_ticker = 2131165190; // aapt resource value: 0x7f07001b public const int common_google_play_services_unknown_issue = 2131165211; // aapt resource value: 0x7f07001d public const int common_google_play_services_unsupported_text = 2131165213; // aapt resource value: 0x7f07001c public const int common_google_play_services_unsupported_title = 2131165212; // aapt resource value: 0x7f07001e public const int common_google_play_services_update_button = 2131165214; // aapt resource value: 0x7f070015 public const int common_google_play_services_update_text = 2131165205; // aapt resource value: 0x7f070013 public const int common_google_play_services_update_title = 2131165203; // aapt resource value: 0x7f070021 public const int common_open_on_phone = 2131165217; // aapt resource value: 0x7f07001f public const int common_signin_button_text = 2131165215; // aapt resource value: 0x7f070020 public const int common_signin_button_text_long = 2131165216; // aapt resource value: 0x7f070005 public const int create_calendar_message = 2131165189; // aapt resource value: 0x7f070004 public const int create_calendar_title = 2131165188; // aapt resource value: 0x7f070003 public const int decline = 2131165187; // aapt resource value: 0x7f070040 public const int library_name = 2131165248; // aapt resource value: 0x7f070023 public const int mr_media_route_button_content_description = 2131165219; // aapt resource value: 0x7f070024 public const int mr_media_route_chooser_searching = 2131165220; // aapt resource value: 0x7f070025 public const int mr_media_route_chooser_title = 2131165221; // aapt resource value: 0x7f070026 public const int mr_media_route_controller_disconnect = 2131165222; // aapt resource value: 0x7f070027 public const int mr_media_route_controller_pause = 2131165223; // aapt resource value: 0x7f070028 public const int mr_media_route_controller_play = 2131165224; // aapt resource value: 0x7f070029 public const int mr_media_route_controller_settings_description = 2131165225; // aapt resource value: 0x7f07002a public const int mr_media_route_controller_stop = 2131165226; // aapt resource value: 0x7f07002b public const int mr_system_route_name = 2131165227; // aapt resource value: 0x7f07002c public const int mr_user_route_category_name = 2131165228; // aapt resource value: 0x7f070001 public const int store_picture_message = 2131165185; // aapt resource value: 0x7f070000 public const int store_picture_title = 2131165184; // aapt resource value: 0x7f070022 public const int wallet_buy_button_place_holder = 2131165218; static String() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private String() { } } public partial class Style { // aapt resource value: 0x7f060009 public const int AlertDialog_AppCompat = 2131099657; // aapt resource value: 0x7f06000a public const int AlertDialog_AppCompat_Light = 2131099658; // aapt resource value: 0x7f06000b public const int Animation_AppCompat_Dialog = 2131099659; // aapt resource value: 0x7f06000c public const int Animation_AppCompat_DropDownUp = 2131099660; // aapt resource value: 0x7f06000d public const int Base_AlertDialog_AppCompat = 2131099661; // aapt resource value: 0x7f06000e public const int Base_AlertDialog_AppCompat_Light = 2131099662; // aapt resource value: 0x7f06000f public const int Base_Animation_AppCompat_Dialog = 2131099663; // aapt resource value: 0x7f060010 public const int Base_Animation_AppCompat_DropDownUp = 2131099664; // aapt resource value: 0x7f060011 public const int Base_DialogWindowTitle_AppCompat = 2131099665; // aapt resource value: 0x7f060012 public const int Base_DialogWindowTitleBackground_AppCompat = 2131099666; // aapt resource value: 0x7f060013 public const int Base_TextAppearance_AppCompat = 2131099667; // aapt resource value: 0x7f060014 public const int Base_TextAppearance_AppCompat_Body1 = 2131099668; // aapt resource value: 0x7f060015 public const int Base_TextAppearance_AppCompat_Body2 = 2131099669; // aapt resource value: 0x7f060016 public const int Base_TextAppearance_AppCompat_Button = 2131099670; // aapt resource value: 0x7f060017 public const int Base_TextAppearance_AppCompat_Caption = 2131099671; // aapt resource value: 0x7f060018 public const int Base_TextAppearance_AppCompat_Display1 = 2131099672; // aapt resource value: 0x7f060019 public const int Base_TextAppearance_AppCompat_Display2 = 2131099673; // aapt resource value: 0x7f06001a public const int Base_TextAppearance_AppCompat_Display3 = 2131099674; // aapt resource value: 0x7f06001b public const int Base_TextAppearance_AppCompat_Display4 = 2131099675; // aapt resource value: 0x7f06001c public const int Base_TextAppearance_AppCompat_Headline = 2131099676; // aapt resource value: 0x7f06001d public const int Base_TextAppearance_AppCompat_Inverse = 2131099677; // aapt resource value: 0x7f06001e public const int Base_TextAppearance_AppCompat_Large = 2131099678; // aapt resource value: 0x7f06001f public const int Base_TextAppearance_AppCompat_Large_Inverse = 2131099679; // aapt resource value: 0x7f060020 public const int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large = 2131099680; // aapt resource value: 0x7f060021 public const int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small = 2131099681; // aapt resource value: 0x7f060022 public const int Base_TextAppearance_AppCompat_Medium = 2131099682; // aapt resource value: 0x7f060023 public const int Base_TextAppearance_AppCompat_Medium_Inverse = 2131099683; // aapt resource value: 0x7f060024 public const int Base_TextAppearance_AppCompat_Menu = 2131099684; // aapt resource value: 0x7f060025 public const int Base_TextAppearance_AppCompat_SearchResult = 2131099685; // aapt resource value: 0x7f060026 public const int Base_TextAppearance_AppCompat_SearchResult_Subtitle = 2131099686; // aapt resource value: 0x7f060027 public const int Base_TextAppearance_AppCompat_SearchResult_Title = 2131099687; // aapt resource value: 0x7f060028 public const int Base_TextAppearance_AppCompat_Small = 2131099688; // aapt resource value: 0x7f060029 public const int Base_TextAppearance_AppCompat_Small_Inverse = 2131099689; // aapt resource value: 0x7f06002a public const int Base_TextAppearance_AppCompat_Subhead = 2131099690; // aapt resource value: 0x7f06002b public const int Base_TextAppearance_AppCompat_Subhead_Inverse = 2131099691; // aapt resource value: 0x7f06002c public const int Base_TextAppearance_AppCompat_Title = 2131099692; // aapt resource value: 0x7f06002d public const int Base_TextAppearance_AppCompat_Title_Inverse = 2131099693; // aapt resource value: 0x7f06002e public const int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu = 2131099694; // aapt resource value: 0x7f06002f public const int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle = 2131099695; // aapt resource value: 0x7f060030 public const int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse = 2131099696; // aapt resource value: 0x7f060031 public const int Base_TextAppearance_AppCompat_Widget_ActionBar_Title = 2131099697; // aapt resource value: 0x7f060032 public const int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse = 2131099698; // aapt resource value: 0x7f060033 public const int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle = 2131099699; // aapt resource value: 0x7f060034 public const int Base_TextAppearance_AppCompat_Widget_ActionMode_Title = 2131099700; // aapt resource value: 0x7f060035 public const int Base_TextAppearance_AppCompat_Widget_DropDownItem = 2131099701; // aapt resource value: 0x7f060036 public const int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large = 2131099702; // aapt resource value: 0x7f060037 public const int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small = 2131099703; // aapt resource value: 0x7f060038 public const int Base_TextAppearance_AppCompat_Widget_Switch = 2131099704; // aapt resource value: 0x7f060039 public const int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem = 2131099705; // aapt resource value: 0x7f06003a public const int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item = 2131099706; // aapt resource value: 0x7f06003b public const int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle = 2131099707; // aapt resource value: 0x7f06003c public const int Base_TextAppearance_Widget_AppCompat_Toolbar_Title = 2131099708; // aapt resource value: 0x7f06003d public const int Base_Theme_AppCompat = 2131099709; // aapt resource value: 0x7f06003e public const int Base_Theme_AppCompat_CompactMenu = 2131099710; // aapt resource value: 0x7f06003f public const int Base_Theme_AppCompat_Dialog = 2131099711; // aapt resource value: 0x7f060040 public const int Base_Theme_AppCompat_Dialog_Alert = 2131099712; // aapt resource value: 0x7f060041 public const int Base_Theme_AppCompat_Dialog_FixedSize = 2131099713; // aapt resource value: 0x7f060042 public const int Base_Theme_AppCompat_Dialog_MinWidth = 2131099714; // aapt resource value: 0x7f060043 public const int Base_Theme_AppCompat_DialogWhenLarge = 2131099715; // aapt resource value: 0x7f060044 public const int Base_Theme_AppCompat_Light = 2131099716; // aapt resource value: 0x7f060045 public const int Base_Theme_AppCompat_Light_DarkActionBar = 2131099717; // aapt resource value: 0x7f060046 public const int Base_Theme_AppCompat_Light_Dialog = 2131099718; // aapt resource value: 0x7f060047 public const int Base_Theme_AppCompat_Light_Dialog_Alert = 2131099719; // aapt resource value: 0x7f060048 public const int Base_Theme_AppCompat_Light_Dialog_FixedSize = 2131099720; // aapt resource value: 0x7f060049 public const int Base_Theme_AppCompat_Light_Dialog_MinWidth = 2131099721; // aapt resource value: 0x7f06004a public const int Base_Theme_AppCompat_Light_DialogWhenLarge = 2131099722; // aapt resource value: 0x7f06004b public const int Base_ThemeOverlay_AppCompat = 2131099723; // aapt resource value: 0x7f06004c public const int Base_ThemeOverlay_AppCompat_ActionBar = 2131099724; // aapt resource value: 0x7f06004d public const int Base_ThemeOverlay_AppCompat_Dark = 2131099725; // aapt resource value: 0x7f06004e public const int Base_ThemeOverlay_AppCompat_Dark_ActionBar = 2131099726; // aapt resource value: 0x7f06004f public const int Base_ThemeOverlay_AppCompat_Light = 2131099727; // aapt resource value: 0x7f060118 public const int Base_V11_Theme_AppCompat_Dialog = 2131099928; // aapt resource value: 0x7f060119 public const int Base_V11_Theme_AppCompat_Light_Dialog = 2131099929; // aapt resource value: 0x7f060120 public const int Base_V21_Theme_AppCompat = 2131099936; // aapt resource value: 0x7f060121 public const int Base_V21_Theme_AppCompat_Dialog = 2131099937; // aapt resource value: 0x7f060122 public const int Base_V21_Theme_AppCompat_Light = 2131099938; // aapt resource value: 0x7f060123 public const int Base_V21_Theme_AppCompat_Light_Dialog = 2131099939; // aapt resource value: 0x7f060050 public const int Base_V7_Theme_AppCompat = 2131099728; // aapt resource value: 0x7f060051 public const int Base_V7_Theme_AppCompat_Dialog = 2131099729; // aapt resource value: 0x7f060052 public const int Base_V7_Theme_AppCompat_Light = 2131099730; // aapt resource value: 0x7f060053 public const int Base_V7_Theme_AppCompat_Light_Dialog = 2131099731; // aapt resource value: 0x7f060054 public const int Base_Widget_AppCompat_ActionBar = 2131099732; // aapt resource value: 0x7f060055 public const int Base_Widget_AppCompat_ActionBar_Solid = 2131099733; // aapt resource value: 0x7f060056 public const int Base_Widget_AppCompat_ActionBar_TabBar = 2131099734; // aapt resource value: 0x7f060057 public const int Base_Widget_AppCompat_ActionBar_TabText = 2131099735; // aapt resource value: 0x7f060058 public const int Base_Widget_AppCompat_ActionBar_TabView = 2131099736; // aapt resource value: 0x7f060059 public const int Base_Widget_AppCompat_ActionButton = 2131099737; // aapt resource value: 0x7f06005a public const int Base_Widget_AppCompat_ActionButton_CloseMode = 2131099738; // aapt resource value: 0x7f06005b public const int Base_Widget_AppCompat_ActionButton_Overflow = 2131099739; // aapt resource value: 0x7f06005c public const int Base_Widget_AppCompat_ActionMode = 2131099740; // aapt resource value: 0x7f06005d public const int Base_Widget_AppCompat_ActivityChooserView = 2131099741; // aapt resource value: 0x7f06005e public const int Base_Widget_AppCompat_AutoCompleteTextView = 2131099742; // aapt resource value: 0x7f06005f public const int Base_Widget_AppCompat_Button = 2131099743; // aapt resource value: 0x7f060060 public const int Base_Widget_AppCompat_Button_Borderless = 2131099744; // aapt resource value: 0x7f060061 public const int Base_Widget_AppCompat_Button_Borderless_Colored = 2131099745; // aapt resource value: 0x7f060062 public const int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog = 2131099746; // aapt resource value: 0x7f060063 public const int Base_Widget_AppCompat_Button_Small = 2131099747; // aapt resource value: 0x7f060064 public const int Base_Widget_AppCompat_ButtonBar = 2131099748; // aapt resource value: 0x7f060065 public const int Base_Widget_AppCompat_ButtonBar_AlertDialog = 2131099749; // aapt resource value: 0x7f060066 public const int Base_Widget_AppCompat_CompoundButton_CheckBox = 2131099750; // aapt resource value: 0x7f060067 public const int Base_Widget_AppCompat_CompoundButton_RadioButton = 2131099751; // aapt resource value: 0x7f060068 public const int Base_Widget_AppCompat_CompoundButton_Switch = 2131099752; // aapt resource value: 0x7f060069 public const int Base_Widget_AppCompat_DrawerArrowToggle = 2131099753; // aapt resource value: 0x7f06006a public const int Base_Widget_AppCompat_DrawerArrowToggle_Common = 2131099754; // aapt resource value: 0x7f06006b public const int Base_Widget_AppCompat_DropDownItem_Spinner = 2131099755; // aapt resource value: 0x7f06006c public const int Base_Widget_AppCompat_EditText = 2131099756; // aapt resource value: 0x7f06006d public const int Base_Widget_AppCompat_Light_ActionBar = 2131099757; // aapt resource value: 0x7f06006e public const int Base_Widget_AppCompat_Light_ActionBar_Solid = 2131099758; // aapt resource value: 0x7f06006f public const int Base_Widget_AppCompat_Light_ActionBar_TabBar = 2131099759; // aapt resource value: 0x7f060070 public const int Base_Widget_AppCompat_Light_ActionBar_TabText = 2131099760; // aapt resource value: 0x7f060071 public const int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse = 2131099761; // aapt resource value: 0x7f060072 public const int Base_Widget_AppCompat_Light_ActionBar_TabView = 2131099762; // aapt resource value: 0x7f060073 public const int Base_Widget_AppCompat_Light_PopupMenu = 2131099763; // aapt resource value: 0x7f060074 public const int Base_Widget_AppCompat_Light_PopupMenu_Overflow = 2131099764; // aapt resource value: 0x7f060075 public const int Base_Widget_AppCompat_ListPopupWindow = 2131099765; // aapt resource value: 0x7f060076 public const int Base_Widget_AppCompat_ListView = 2131099766; // aapt resource value: 0x7f060077 public const int Base_Widget_AppCompat_ListView_DropDown = 2131099767; // aapt resource value: 0x7f060078 public const int Base_Widget_AppCompat_ListView_Menu = 2131099768; // aapt resource value: 0x7f060079 public const int Base_Widget_AppCompat_PopupMenu = 2131099769; // aapt resource value: 0x7f06007a public const int Base_Widget_AppCompat_PopupMenu_Overflow = 2131099770; // aapt resource value: 0x7f06007b public const int Base_Widget_AppCompat_PopupWindow = 2131099771; // aapt resource value: 0x7f06007c public const int Base_Widget_AppCompat_ProgressBar = 2131099772; // aapt resource value: 0x7f06007d public const int Base_Widget_AppCompat_ProgressBar_Horizontal = 2131099773; // aapt resource value: 0x7f06007e public const int Base_Widget_AppCompat_RatingBar = 2131099774; // aapt resource value: 0x7f06007f public const int Base_Widget_AppCompat_SearchView = 2131099775; // aapt resource value: 0x7f060080 public const int Base_Widget_AppCompat_SearchView_ActionBar = 2131099776; // aapt resource value: 0x7f060081 public const int Base_Widget_AppCompat_Spinner = 2131099777; // aapt resource value: 0x7f060082 public const int Base_Widget_AppCompat_Spinner_DropDown_ActionBar = 2131099778; // aapt resource value: 0x7f060083 public const int Base_Widget_AppCompat_Spinner_Underlined = 2131099779; // aapt resource value: 0x7f060084 public const int Base_Widget_AppCompat_TextView_SpinnerItem = 2131099780; // aapt resource value: 0x7f060085 public const int Base_Widget_AppCompat_Toolbar = 2131099781; // aapt resource value: 0x7f060086 public const int Base_Widget_AppCompat_Toolbar_Button_Navigation = 2131099782; // aapt resource value: 0x7f060126 public const int CircularProgressBar = 2131099942; // aapt resource value: 0x7f060127 public const int CircularProgressBarLight = 2131099943; // aapt resource value: 0x7f060087 public const int Platform_AppCompat = 2131099783; // aapt resource value: 0x7f060088 public const int Platform_AppCompat_Light = 2131099784; // aapt resource value: 0x7f060089 public const int Platform_ThemeOverlay_AppCompat_Dark = 2131099785; // aapt resource value: 0x7f06008a public const int Platform_ThemeOverlay_AppCompat_Light = 2131099786; // aapt resource value: 0x7f06011a public const int Platform_V11_AppCompat = 2131099930; // aapt resource value: 0x7f06011b public const int Platform_V11_AppCompat_Light = 2131099931; // aapt resource value: 0x7f06011c public const int Platform_V12_AppCompat = 2131099932; // aapt resource value: 0x7f06011d public const int Platform_V12_AppCompat_Light = 2131099933; // aapt resource value: 0x7f06011e public const int Platform_V14_AppCompat = 2131099934; // aapt resource value: 0x7f06011f public const int Platform_V14_AppCompat_Light = 2131099935; // aapt resource value: 0x7f060124 public const int ProgressButton = 2131099940; // aapt resource value: 0x7f060125 public const int ProgressButton_Pin = 2131099941; // aapt resource value: 0x7f06008b public const int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem = 2131099787; // aapt resource value: 0x7f06008c public const int RtlOverlay_Widget_AppCompat_ActionButton_Overflow = 2131099788; // aapt resource value: 0x7f06008d public const int RtlOverlay_Widget_AppCompat_PopupMenuItem = 2131099789; // aapt resource value: 0x7f06008e public const int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup = 2131099790; // aapt resource value: 0x7f06008f public const int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text = 2131099791; // aapt resource value: 0x7f060090 public const int RtlOverlay_Widget_AppCompat_Search_DropDown = 2131099792; // aapt resource value: 0x7f060091 public const int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1 = 2131099793; // aapt resource value: 0x7f060092 public const int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2 = 2131099794; // aapt resource value: 0x7f060093 public const int RtlOverlay_Widget_AppCompat_Search_DropDown_Query = 2131099795; // aapt resource value: 0x7f060094 public const int RtlOverlay_Widget_AppCompat_Search_DropDown_Text = 2131099796; // aapt resource value: 0x7f060095 public const int RtlOverlay_Widget_AppCompat_SearchView_MagIcon = 2131099797; // aapt resource value: 0x7f060096 public const int RtlOverlay_Widget_AppCompat_Toolbar_Button_Navigation = 2131099798; // aapt resource value: 0x7f060097 public const int TextAppearance_AppCompat = 2131099799; // aapt resource value: 0x7f060098 public const int TextAppearance_AppCompat_Body1 = 2131099800; // aapt resource value: 0x7f060099 public const int TextAppearance_AppCompat_Body2 = 2131099801; // aapt resource value: 0x7f06009a public const int TextAppearance_AppCompat_Button = 2131099802; // aapt resource value: 0x7f06009b public const int TextAppearance_AppCompat_Caption = 2131099803; // aapt resource value: 0x7f06009c public const int TextAppearance_AppCompat_Display1 = 2131099804; // aapt resource value: 0x7f06009d public const int TextAppearance_AppCompat_Display2 = 2131099805; // aapt resource value: 0x7f06009e public const int TextAppearance_AppCompat_Display3 = 2131099806; // aapt resource value: 0x7f06009f public const int TextAppearance_AppCompat_Display4 = 2131099807; // aapt resource value: 0x7f0600a0 public const int TextAppearance_AppCompat_Headline = 2131099808; // aapt resource value: 0x7f0600a1 public const int TextAppearance_AppCompat_Inverse = 2131099809; // aapt resource value: 0x7f0600a2 public const int TextAppearance_AppCompat_Large = 2131099810; // aapt resource value: 0x7f0600a3 public const int TextAppearance_AppCompat_Large_Inverse = 2131099811; // aapt resource value: 0x7f0600a4 public const int TextAppearance_AppCompat_Light_SearchResult_Subtitle = 2131099812; // aapt resource value: 0x7f0600a5 public const int TextAppearance_AppCompat_Light_SearchResult_Title = 2131099813; // aapt resource value: 0x7f0600a6 public const int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large = 2131099814; // aapt resource value: 0x7f0600a7 public const int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small = 2131099815; // aapt resource value: 0x7f0600a8 public const int TextAppearance_AppCompat_Medium = 2131099816; // aapt resource value: 0x7f0600a9 public const int TextAppearance_AppCompat_Medium_Inverse = 2131099817; // aapt resource value: 0x7f0600aa public const int TextAppearance_AppCompat_Menu = 2131099818; // aapt resource value: 0x7f0600ab public const int TextAppearance_AppCompat_SearchResult_Subtitle = 2131099819; // aapt resource value: 0x7f0600ac public const int TextAppearance_AppCompat_SearchResult_Title = 2131099820; // aapt resource value: 0x7f0600ad public const int TextAppearance_AppCompat_Small = 2131099821; // aapt resource value: 0x7f0600ae public const int TextAppearance_AppCompat_Small_Inverse = 2131099822; // aapt resource value: 0x7f0600af public const int TextAppearance_AppCompat_Subhead = 2131099823; // aapt resource value: 0x7f0600b0 public const int TextAppearance_AppCompat_Subhead_Inverse = 2131099824; // aapt resource value: 0x7f0600b1 public const int TextAppearance_AppCompat_Title = 2131099825; // aapt resource value: 0x7f0600b2 public const int TextAppearance_AppCompat_Title_Inverse = 2131099826; // aapt resource value: 0x7f0600b3 public const int TextAppearance_AppCompat_Widget_ActionBar_Menu = 2131099827; // aapt resource value: 0x7f0600b4 public const int TextAppearance_AppCompat_Widget_ActionBar_Subtitle = 2131099828; // aapt resource value: 0x7f0600b5 public const int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse = 2131099829; // aapt resource value: 0x7f0600b6 public const int TextAppearance_AppCompat_Widget_ActionBar_Title = 2131099830; // aapt resource value: 0x7f0600b7 public const int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse = 2131099831; // aapt resource value: 0x7f0600b8 public const int TextAppearance_AppCompat_Widget_ActionMode_Subtitle = 2131099832; // aapt resource value: 0x7f0600b9 public const int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse = 2131099833; // aapt resource value: 0x7f0600ba public const int TextAppearance_AppCompat_Widget_ActionMode_Title = 2131099834; // aapt resource value: 0x7f0600bb public const int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse = 2131099835; // aapt resource value: 0x7f0600bc public const int TextAppearance_AppCompat_Widget_DropDownItem = 2131099836; // aapt resource value: 0x7f0600bd public const int TextAppearance_AppCompat_Widget_PopupMenu_Large = 2131099837; // aapt resource value: 0x7f0600be public const int TextAppearance_AppCompat_Widget_PopupMenu_Small = 2131099838; // aapt resource value: 0x7f0600bf public const int TextAppearance_AppCompat_Widget_Switch = 2131099839; // aapt resource value: 0x7f0600c0 public const int TextAppearance_AppCompat_Widget_TextView_SpinnerItem = 2131099840; // aapt resource value: 0x7f0600c1 public const int TextAppearance_Widget_AppCompat_ExpandedMenu_Item = 2131099841; // aapt resource value: 0x7f0600c2 public const int TextAppearance_Widget_AppCompat_Toolbar_Subtitle = 2131099842; // aapt resource value: 0x7f0600c3 public const int TextAppearance_Widget_AppCompat_Toolbar_Title = 2131099843; // aapt resource value: 0x7f0600c4 public const int Theme_AppCompat = 2131099844; // aapt resource value: 0x7f0600c5 public const int Theme_AppCompat_CompactMenu = 2131099845; // aapt resource value: 0x7f0600c6 public const int Theme_AppCompat_Dialog = 2131099846; // aapt resource value: 0x7f0600c7 public const int Theme_AppCompat_Dialog_Alert = 2131099847; // aapt resource value: 0x7f0600c8 public const int Theme_AppCompat_Dialog_MinWidth = 2131099848; // aapt resource value: 0x7f0600c9 public const int Theme_AppCompat_DialogWhenLarge = 2131099849; // aapt resource value: 0x7f0600ca public const int Theme_AppCompat_Light = 2131099850; // aapt resource value: 0x7f0600cb public const int Theme_AppCompat_Light_DarkActionBar = 2131099851; // aapt resource value: 0x7f0600cc public const int Theme_AppCompat_Light_Dialog = 2131099852; // aapt resource value: 0x7f0600cd public const int Theme_AppCompat_Light_Dialog_Alert = 2131099853; // aapt resource value: 0x7f0600ce public const int Theme_AppCompat_Light_Dialog_MinWidth = 2131099854; // aapt resource value: 0x7f0600cf public const int Theme_AppCompat_Light_DialogWhenLarge = 2131099855; // aapt resource value: 0x7f0600d0 public const int Theme_AppCompat_Light_NoActionBar = 2131099856; // aapt resource value: 0x7f0600d1 public const int Theme_AppCompat_NoActionBar = 2131099857; // aapt resource value: 0x7f060000 public const int Theme_IAPTheme = 2131099648; // aapt resource value: 0x7f060005 public const int Theme_MediaRouter = 2131099653; // aapt resource value: 0x7f060006 public const int Theme_MediaRouter_Light = 2131099654; // aapt resource value: 0x7f0600d2 public const int ThemeOverlay_AppCompat = 2131099858; // aapt resource value: 0x7f0600d3 public const int ThemeOverlay_AppCompat_ActionBar = 2131099859; // aapt resource value: 0x7f0600d4 public const int ThemeOverlay_AppCompat_Dark = 2131099860; // aapt resource value: 0x7f0600d5 public const int ThemeOverlay_AppCompat_Dark_ActionBar = 2131099861; // aapt resource value: 0x7f0600d6 public const int ThemeOverlay_AppCompat_Light = 2131099862; // aapt resource value: 0x7f060003 public const int WalletFragmentDefaultButtonTextAppearance = 2131099651; // aapt resource value: 0x7f060002 public const int WalletFragmentDefaultDetailsHeaderTextAppearance = 2131099650; // aapt resource value: 0x7f060001 public const int WalletFragmentDefaultDetailsTextAppearance = 2131099649; // aapt resource value: 0x7f060004 public const int WalletFragmentDefaultStyle = 2131099652; // aapt resource value: 0x7f0600d7 public const int Widget_AppCompat_ActionBar = 2131099863; // aapt resource value: 0x7f0600d8 public const int Widget_AppCompat_ActionBar_Solid = 2131099864; // aapt resource value: 0x7f0600d9 public const int Widget_AppCompat_ActionBar_TabBar = 2131099865; // aapt resource value: 0x7f0600da public const int Widget_AppCompat_ActionBar_TabText = 2131099866; // aapt resource value: 0x7f0600db public const int Widget_AppCompat_ActionBar_TabView = 2131099867; // aapt resource value: 0x7f0600dc public const int Widget_AppCompat_ActionButton = 2131099868; // aapt resource value: 0x7f0600dd public const int Widget_AppCompat_ActionButton_CloseMode = 2131099869; // aapt resource value: 0x7f0600de public const int Widget_AppCompat_ActionButton_Overflow = 2131099870; // aapt resource value: 0x7f0600df public const int Widget_AppCompat_ActionMode = 2131099871; // aapt resource value: 0x7f0600e0 public const int Widget_AppCompat_ActivityChooserView = 2131099872; // aapt resource value: 0x7f0600e1 public const int Widget_AppCompat_AutoCompleteTextView = 2131099873; // aapt resource value: 0x7f0600e2 public const int Widget_AppCompat_Button = 2131099874; // aapt resource value: 0x7f0600e3 public const int Widget_AppCompat_Button_Borderless = 2131099875; // aapt resource value: 0x7f0600e4 public const int Widget_AppCompat_Button_Borderless_Colored = 2131099876; // aapt resource value: 0x7f0600e5 public const int Widget_AppCompat_Button_ButtonBar_AlertDialog = 2131099877; // aapt resource value: 0x7f0600e6 public const int Widget_AppCompat_Button_Small = 2131099878; // aapt resource value: 0x7f0600e7 public const int Widget_AppCompat_ButtonBar = 2131099879; // aapt resource value: 0x7f0600e8 public const int Widget_AppCompat_ButtonBar_AlertDialog = 2131099880; // aapt resource value: 0x7f0600e9 public const int Widget_AppCompat_CompoundButton_CheckBox = 2131099881; // aapt resource value: 0x7f0600ea public const int Widget_AppCompat_CompoundButton_RadioButton = 2131099882; // aapt resource value: 0x7f0600eb public const int Widget_AppCompat_CompoundButton_Switch = 2131099883; // aapt resource value: 0x7f0600ec public const int Widget_AppCompat_DrawerArrowToggle = 2131099884; // aapt resource value: 0x7f0600ed public const int Widget_AppCompat_DropDownItem_Spinner = 2131099885; // aapt resource value: 0x7f0600ee public const int Widget_AppCompat_EditText = 2131099886; // aapt resource value: 0x7f0600ef public const int Widget_AppCompat_Light_ActionBar = 2131099887; // aapt resource value: 0x7f0600f0 public const int Widget_AppCompat_Light_ActionBar_Solid = 2131099888; // aapt resource value: 0x7f0600f1 public const int Widget_AppCompat_Light_ActionBar_Solid_Inverse = 2131099889; // aapt resource value: 0x7f0600f2 public const int Widget_AppCompat_Light_ActionBar_TabBar = 2131099890; // aapt resource value: 0x7f0600f3 public const int Widget_AppCompat_Light_ActionBar_TabBar_Inverse = 2131099891; // aapt resource value: 0x7f0600f4 public const int Widget_AppCompat_Light_ActionBar_TabText = 2131099892; // aapt resource value: 0x7f0600f5 public const int Widget_AppCompat_Light_ActionBar_TabText_Inverse = 2131099893; // aapt resource value: 0x7f0600f6 public const int Widget_AppCompat_Light_ActionBar_TabView = 2131099894; // aapt resource value: 0x7f0600f7 public const int Widget_AppCompat_Light_ActionBar_TabView_Inverse = 2131099895; // aapt resource value: 0x7f0600f8 public const int Widget_AppCompat_Light_ActionButton = 2131099896; // aapt resource value: 0x7f0600f9 public const int Widget_AppCompat_Light_ActionButton_CloseMode = 2131099897; // aapt resource value: 0x7f0600fa public const int Widget_AppCompat_Light_ActionButton_Overflow = 2131099898; // aapt resource value: 0x7f0600fb public const int Widget_AppCompat_Light_ActionMode_Inverse = 2131099899; // aapt resource value: 0x7f0600fc public const int Widget_AppCompat_Light_ActivityChooserView = 2131099900; // aapt resource value: 0x7f0600fd public const int Widget_AppCompat_Light_AutoCompleteTextView = 2131099901; // aapt resource value: 0x7f0600fe public const int Widget_AppCompat_Light_DropDownItem_Spinner = 2131099902; // aapt resource value: 0x7f0600ff public const int Widget_AppCompat_Light_ListPopupWindow = 2131099903; // aapt resource value: 0x7f060100 public const int Widget_AppCompat_Light_ListView_DropDown = 2131099904; // aapt resource value: 0x7f060101 public const int Widget_AppCompat_Light_PopupMenu = 2131099905; // aapt resource value: 0x7f060102 public const int Widget_AppCompat_Light_PopupMenu_Overflow = 2131099906; // aapt resource value: 0x7f060103 public const int Widget_AppCompat_Light_SearchView = 2131099907; // aapt resource value: 0x7f060104 public const int Widget_AppCompat_Light_Spinner_DropDown_ActionBar = 2131099908; // aapt resource value: 0x7f060105 public const int Widget_AppCompat_ListPopupWindow = 2131099909; // aapt resource value: 0x7f060106 public const int Widget_AppCompat_ListView = 2131099910; // aapt resource value: 0x7f060107 public const int Widget_AppCompat_ListView_DropDown = 2131099911; // aapt resource value: 0x7f060108 public const int Widget_AppCompat_ListView_Menu = 2131099912; // aapt resource value: 0x7f060109 public const int Widget_AppCompat_PopupMenu = 2131099913; // aapt resource value: 0x7f06010a public const int Widget_AppCompat_PopupMenu_Overflow = 2131099914; // aapt resource value: 0x7f06010b public const int Widget_AppCompat_PopupWindow = 2131099915; // aapt resource value: 0x7f06010c public const int Widget_AppCompat_ProgressBar = 2131099916; // aapt resource value: 0x7f06010d public const int Widget_AppCompat_ProgressBar_Horizontal = 2131099917; // aapt resource value: 0x7f06010e public const int Widget_AppCompat_RatingBar = 2131099918; // aapt resource value: 0x7f06010f public const int Widget_AppCompat_SearchView = 2131099919; // aapt resource value: 0x7f060110 public const int Widget_AppCompat_SearchView_ActionBar = 2131099920; // aapt resource value: 0x7f060111 public const int Widget_AppCompat_Spinner = 2131099921; // aapt resource value: 0x7f060112 public const int Widget_AppCompat_Spinner_DropDown = 2131099922; // aapt resource value: 0x7f060113 public const int Widget_AppCompat_Spinner_DropDown_ActionBar = 2131099923; // aapt resource value: 0x7f060114 public const int Widget_AppCompat_Spinner_Underlined = 2131099924; // aapt resource value: 0x7f060115 public const int Widget_AppCompat_TextView_SpinnerItem = 2131099925; // aapt resource value: 0x7f060116 public const int Widget_AppCompat_Toolbar = 2131099926; // aapt resource value: 0x7f060117 public const int Widget_AppCompat_Toolbar_Button_Navigation = 2131099927; // aapt resource value: 0x7f060007 public const int Widget_MediaRouter_Light_MediaRouteButton = 2131099655; // aapt resource value: 0x7f060008 public const int Widget_MediaRouter_MediaRouteButton = 2131099656; static Style() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Style() { } } public partial class Styleable { public static int[] ActionBar = new int[] { 2130772014, 2130772016, 2130772017, 2130772018, 2130772019, 2130772020, 2130772021, 2130772022, 2130772023, 2130772024, 2130772025, 2130772026, 2130772027, 2130772028, 2130772029, 2130772030, 2130772031, 2130772032, 2130772033, 2130772034, 2130772035, 2130772036, 2130772037, 2130772038, 2130772039, 2130772040, 2130772137}; // aapt resource value: 10 public const int ActionBar_background = 10; // aapt resource value: 12 public const int ActionBar_backgroundSplit = 12; // aapt resource value: 11 public const int ActionBar_backgroundStacked = 11; // aapt resource value: 21 public const int ActionBar_contentInsetEnd = 21; // aapt resource value: 22 public const int ActionBar_contentInsetLeft = 22; // aapt resource value: 23 public const int ActionBar_contentInsetRight = 23; // aapt resource value: 20 public const int ActionBar_contentInsetStart = 20; // aapt resource value: 13 public const int ActionBar_customNavigationLayout = 13; // aapt resource value: 3 public const int ActionBar_displayOptions = 3; // aapt resource value: 9 public const int ActionBar_divider = 9; // aapt resource value: 24 public const int ActionBar_elevation = 24; // aapt resource value: 0 public const int ActionBar_height = 0; // aapt resource value: 19 public const int ActionBar_hideOnContentScroll = 19; // aapt resource value: 26 public const int ActionBar_homeAsUpIndicator = 26; // aapt resource value: 14 public const int ActionBar_homeLayout = 14; // aapt resource value: 7 public const int ActionBar_icon = 7; // aapt resource value: 16 public const int ActionBar_indeterminateProgressStyle = 16; // aapt resource value: 18 public const int ActionBar_itemPadding = 18; // aapt resource value: 8 public const int ActionBar_logo = 8; // aapt resource value: 2 public const int ActionBar_navigationMode = 2; // aapt resource value: 25 public const int ActionBar_popupTheme = 25; // aapt resource value: 17 public const int ActionBar_progressBarPadding = 17; // aapt resource value: 15 public const int ActionBar_progressBarStyle = 15; // aapt resource value: 4 public const int ActionBar_subtitle = 4; // aapt resource value: 6 public const int ActionBar_subtitleTextStyle = 6; // aapt resource value: 1 public const int ActionBar_title = 1; // aapt resource value: 5 public const int ActionBar_titleTextStyle = 5; public static int[] ActionBarLayout = new int[] { 16842931}; // aapt resource value: 0 public const int ActionBarLayout_android_layout_gravity = 0; public static int[] ActionMenuItemView = new int[] { 16843071}; // aapt resource value: 0 public const int ActionMenuItemView_android_minWidth = 0; public static int[] ActionMenuView; public static int[] ActionMode = new int[] { 2130772014, 2130772020, 2130772021, 2130772025, 2130772027, 2130772041}; // aapt resource value: 3 public const int ActionMode_background = 3; // aapt resource value: 4 public const int ActionMode_backgroundSplit = 4; // aapt resource value: 5 public const int ActionMode_closeItemLayout = 5; // aapt resource value: 0 public const int ActionMode_height = 0; // aapt resource value: 2 public const int ActionMode_subtitleTextStyle = 2; // aapt resource value: 1 public const int ActionMode_titleTextStyle = 1; public static int[] ActivityChooserView = new int[] { 2130772042, 2130772043}; // aapt resource value: 1 public const int ActivityChooserView_expandActivityOverflowButtonDrawable = 1; // aapt resource value: 0 public const int ActivityChooserView_initialActivityCount = 0; public static int[] AdsAttrs = new int[] { 2130771968, 2130771969, 2130771970}; // aapt resource value: 0 public const int AdsAttrs_adSize = 0; // aapt resource value: 1 public const int AdsAttrs_adSizes = 1; // aapt resource value: 2 public const int AdsAttrs_adUnitId = 2; public static int[] AlertDialog = new int[] { 16842994, 2130772044, 2130772045, 2130772046, 2130772047, 2130772048}; // aapt resource value: 0 public const int AlertDialog_android_layout = 0; // aapt resource value: 1 public const int AlertDialog_buttonPanelSideLayout = 1; // aapt resource value: 5 public const int AlertDialog_listItemLayout = 5; // aapt resource value: 2 public const int AlertDialog_listLayout = 2; // aapt resource value: 3 public const int AlertDialog_multiChoiceItemLayout = 3; // aapt resource value: 4 public const int AlertDialog_singleChoiceItemLayout = 4; public static int[] AppCompatTextView = new int[] { 16842804, 2130772049}; // aapt resource value: 0 public const int AppCompatTextView_android_textAppearance = 0; // aapt resource value: 1 public const int AppCompatTextView_textAllCaps = 1; public static int[] DrawerArrowToggle = new int[] { 2130772050, 2130772051, 2130772052, 2130772053, 2130772054, 2130772055, 2130772056, 2130772057}; // aapt resource value: 6 public const int DrawerArrowToggle_barSize = 6; // aapt resource value: 0 public const int DrawerArrowToggle_color = 0; // aapt resource value: 2 public const int DrawerArrowToggle_drawableSize = 2; // aapt resource value: 3 public const int DrawerArrowToggle_gapBetweenBars = 3; // aapt resource value: 5 public const int DrawerArrowToggle_middleBarArrowSize = 5; // aapt resource value: 1 public const int DrawerArrowToggle_spinBars = 1; // aapt resource value: 7 public const int DrawerArrowToggle_thickness = 7; // aapt resource value: 4 public const int DrawerArrowToggle_topBottomBarArrowSize = 4; public static int[] HoloCircularProgressBar = new int[] { 2130772224, 2130772225, 2130772226, 2130772227, 2130772228, 2130772229, 2130772230, 2130772231}; // aapt resource value: 0 public const int HoloCircularProgressBar_circular_gravity = 0; // aapt resource value: 6 public const int HoloCircularProgressBar_circular_indeterminate = 6; // aapt resource value: 7 public const int HoloCircularProgressBar_circular_indeterminate_interval = 7; // aapt resource value: 3 public const int HoloCircularProgressBar_circular_marker_progress = 3; // aapt resource value: 2 public const int HoloCircularProgressBar_circular_progress = 2; // aapt resource value: 5 public const int HoloCircularProgressBar_circular_progress_background_color = 5; // aapt resource value: 4 public const int HoloCircularProgressBar_circular_progress_color = 4; // aapt resource value: 1 public const int HoloCircularProgressBar_circular_stroke_width = 1; public static int[] LinearLayoutCompat = new int[] { 16842927, 16842948, 16843046, 16843047, 16843048, 2130772024, 2130772058, 2130772059, 2130772060}; // aapt resource value: 2 public const int LinearLayoutCompat_android_baselineAligned = 2; // aapt resource value: 3 public const int LinearLayoutCompat_android_baselineAlignedChildIndex = 3; // aapt resource value: 0 public const int LinearLayoutCompat_android_gravity = 0; // aapt resource value: 1 public const int LinearLayoutCompat_android_orientation = 1; // aapt resource value: 4 public const int LinearLayoutCompat_android_weightSum = 4; // aapt resource value: 5 public const int LinearLayoutCompat_divider = 5; // aapt resource value: 8 public const int LinearLayoutCompat_dividerPadding = 8; // aapt resource value: 6 public const int LinearLayoutCompat_measureWithLargestChild = 6; // aapt resource value: 7 public const int LinearLayoutCompat_showDividers = 7; public static int[] LinearLayoutCompat_Layout = new int[] { 16842931, 16842996, 16842997, 16843137}; // aapt resource value: 0 public const int LinearLayoutCompat_Layout_android_layout_gravity = 0; // aapt resource value: 2 public const int LinearLayoutCompat_Layout_android_layout_height = 2; // aapt resource value: 3 public const int LinearLayoutCompat_Layout_android_layout_weight = 3; // aapt resource value: 1 public const int LinearLayoutCompat_Layout_android_layout_width = 1; public static int[] ListPopupWindow = new int[] { 16843436, 16843437}; // aapt resource value: 0 public const int ListPopupWindow_android_dropDownHorizontalOffset = 0; // aapt resource value: 1 public const int ListPopupWindow_android_dropDownVerticalOffset = 1; public static int[] LoadingImageView = new int[] { 2130771971, 2130771972, 2130771973}; // aapt resource value: 2 public const int LoadingImageView_circleCrop = 2; // aapt resource value: 1 public const int LoadingImageView_imageAspectRatio = 1; // aapt resource value: 0 public const int LoadingImageView_imageAspectRatioAdjust = 0; public static int[] MapAttrs = new int[] { 2130771974, 2130771975, 2130771976, 2130771977, 2130771978, 2130771979, 2130771980, 2130771981, 2130771982, 2130771983, 2130771984, 2130771985, 2130771986, 2130771987, 2130771988, 2130771989}; // aapt resource value: 1 public const int MapAttrs_cameraBearing = 1; // aapt resource value: 2 public const int MapAttrs_cameraTargetLat = 2; // aapt resource value: 3 public const int MapAttrs_cameraTargetLng = 3; // aapt resource value: 4 public const int MapAttrs_cameraTilt = 4; // aapt resource value: 5 public const int MapAttrs_cameraZoom = 5; // aapt resource value: 6 public const int MapAttrs_liteMode = 6; // aapt resource value: 0 public const int MapAttrs_mapType = 0; // aapt resource value: 7 public const int MapAttrs_uiCompass = 7; // aapt resource value: 15 public const int MapAttrs_uiMapToolbar = 15; // aapt resource value: 8 public const int MapAttrs_uiRotateGestures = 8; // aapt resource value: 9 public const int MapAttrs_uiScrollGestures = 9; // aapt resource value: 10 public const int MapAttrs_uiTiltGestures = 10; // aapt resource value: 11 public const int MapAttrs_uiZoomControls = 11; // aapt resource value: 12 public const int MapAttrs_uiZoomGestures = 12; // aapt resource value: 13 public const int MapAttrs_useViewLifecycle = 13; // aapt resource value: 14 public const int MapAttrs_zOrderOnTop = 14; public static int[] MediaRouteButton = new int[] { 16843071, 16843072, 2130772012}; // aapt resource value: 1 public const int MediaRouteButton_android_minHeight = 1; // aapt resource value: 0 public const int MediaRouteButton_android_minWidth = 0; // aapt resource value: 2 public const int MediaRouteButton_externalRouteEnabledDrawable = 2; public static int[] MenuGroup = new int[] { 16842766, 16842960, 16843156, 16843230, 16843231, 16843232}; // aapt resource value: 5 public const int MenuGroup_android_checkableBehavior = 5; // aapt resource value: 0 public const int MenuGroup_android_enabled = 0; // aapt resource value: 1 public const int MenuGroup_android_id = 1; // aapt resource value: 3 public const int MenuGroup_android_menuCategory = 3; // aapt resource value: 4 public const int MenuGroup_android_orderInCategory = 4; // aapt resource value: 2 public const int MenuGroup_android_visible = 2; public static int[] MenuItem = new int[] { 16842754, 16842766, 16842960, 16843014, 16843156, 16843230, 16843231, 16843233, 16843234, 16843235, 16843236, 16843237, 16843375, 2130772061, 2130772062, 2130772063, 2130772064}; // aapt resource value: 14 public const int MenuItem_actionLayout = 14; // aapt resource value: 16 public const int MenuItem_actionProviderClass = 16; // aapt resource value: 15 public const int MenuItem_actionViewClass = 15; // aapt resource value: 9 public const int MenuItem_android_alphabeticShortcut = 9; // aapt resource value: 11 public const int MenuItem_android_checkable = 11; // aapt resource value: 3 public const int MenuItem_android_checked = 3; // aapt resource value: 1 public const int MenuItem_android_enabled = 1; // aapt resource value: 0 public const int MenuItem_android_icon = 0; // aapt resource value: 2 public const int MenuItem_android_id = 2; // aapt resource value: 5 public const int MenuItem_android_menuCategory = 5; // aapt resource value: 10 public const int MenuItem_android_numericShortcut = 10; // aapt resource value: 12 public const int MenuItem_android_onClick = 12; // aapt resource value: 6 public const int MenuItem_android_orderInCategory = 6; // aapt resource value: 7 public const int MenuItem_android_title = 7; // aapt resource value: 8 public const int MenuItem_android_titleCondensed = 8; // aapt resource value: 4 public const int MenuItem_android_visible = 4; // aapt resource value: 13 public const int MenuItem_showAsAction = 13; public static int[] MenuView = new int[] { 16842926, 16843052, 16843053, 16843054, 16843055, 16843056, 16843057, 2130772065}; // aapt resource value: 4 public const int MenuView_android_headerBackground = 4; // aapt resource value: 2 public const int MenuView_android_horizontalDivider = 2; // aapt resource value: 5 public const int MenuView_android_itemBackground = 5; // aapt resource value: 6 public const int MenuView_android_itemIconDisabledAlpha = 6; // aapt resource value: 1 public const int MenuView_android_itemTextAppearance = 1; // aapt resource value: 3 public const int MenuView_android_verticalDivider = 3; // aapt resource value: 0 public const int MenuView_android_windowAnimationStyle = 0; // aapt resource value: 7 public const int MenuView_preserveIconSpacing = 7; public static int[] PopupWindow = new int[] { 16843126, 2130772066}; // aapt resource value: 0 public const int PopupWindow_android_popupBackground = 0; // aapt resource value: 1 public const int PopupWindow_overlapAnchor = 1; public static int[] PopupWindowBackgroundState = new int[] { 2130772067}; // aapt resource value: 0 public const int PopupWindowBackgroundState_state_above_anchor = 0; public static int[] ProgressButton = new int[] { 16842970, 16842981, 16843534, 2130772213, 2130772214, 2130772215, 2130772216, 2130772217, 2130772218, 2130772219, 2130772220, 2130772221, 2130772222, 2130772223}; // aapt resource value: 1 public const int ProgressButton_android_clickable = 1; // aapt resource value: 0 public const int ProgressButton_android_focusable = 0; // aapt resource value: 2 public const int ProgressButton_android_selectableItemBackground = 2; // aapt resource value: 5 public const int ProgressButton_circleColor = 5; // aapt resource value: 12 public const int ProgressButton_indeterminate = 12; // aapt resource value: 13 public const int ProgressButton_indeterminate_interval = 13; // aapt resource value: 10 public const int ProgressButton_innerSize = 10; // aapt resource value: 4 public const int ProgressButton_max = 4; // aapt resource value: 11 public const int ProgressButton_pinned = 11; // aapt resource value: 7 public const int ProgressButton_pinnedDrawable = 7; // aapt resource value: 3 public const int ProgressButton_progress = 3; // aapt resource value: 6 public const int ProgressButton_progressColor = 6; // aapt resource value: 9 public const int ProgressButton_shadowDrawable = 9; // aapt resource value: 8 public const int ProgressButton_unpinnedDrawable = 8; public static int[] SearchView = new int[] { 16842970, 16843039, 16843296, 16843364, 2130772068, 2130772069, 2130772070, 2130772071, 2130772072, 2130772073, 2130772074, 2130772075, 2130772076, 2130772077, 2130772078, 2130772079}; // aapt resource value: 0 public const int SearchView_android_focusable = 0; // aapt resource value: 3 public const int SearchView_android_imeOptions = 3; // aapt resource value: 2 public const int SearchView_android_inputType = 2; // aapt resource value: 1 public const int SearchView_android_maxWidth = 1; // aapt resource value: 7 public const int SearchView_closeIcon = 7; // aapt resource value: 12 public const int SearchView_commitIcon = 12; // aapt resource value: 8 public const int SearchView_goIcon = 8; // aapt resource value: 5 public const int SearchView_iconifiedByDefault = 5; // aapt resource value: 4 public const int SearchView_layout = 4; // aapt resource value: 14 public const int SearchView_queryBackground = 14; // aapt resource value: 6 public const int SearchView_queryHint = 6; // aapt resource value: 10 public const int SearchView_searchHintIcon = 10; // aapt resource value: 9 public const int SearchView_searchIcon = 9; // aapt resource value: 15 public const int SearchView_submitBackground = 15; // aapt resource value: 13 public const int SearchView_suggestionRowLayout = 13; // aapt resource value: 11 public const int SearchView_voiceIcon = 11; public static int[] Spinner = new int[] { 16842927, 16842964, 16843125, 16843126, 16843362, 16843436, 16843437, 2130772080, 2130772081, 2130772082, 2130772083}; // aapt resource value: 1 public const int Spinner_android_background = 1; // aapt resource value: 5 public const int Spinner_android_dropDownHorizontalOffset = 5; // aapt resource value: 2 public const int Spinner_android_dropDownSelector = 2; // aapt resource value: 6 public const int Spinner_android_dropDownVerticalOffset = 6; // aapt resource value: 4 public const int Spinner_android_dropDownWidth = 4; // aapt resource value: 0 public const int Spinner_android_gravity = 0; // aapt resource value: 3 public const int Spinner_android_popupBackground = 3; // aapt resource value: 10 public const int Spinner_disableChildrenWhenDisabled = 10; // aapt resource value: 9 public const int Spinner_popupPromptView = 9; // aapt resource value: 7 public const int Spinner_prompt = 7; // aapt resource value: 8 public const int Spinner_spinnerMode = 8; public static int[] SwitchCompat = new int[] { 16843044, 16843045, 16843074, 2130772084, 2130772085, 2130772086, 2130772087, 2130772088, 2130772089, 2130772090}; // aapt resource value: 1 public const int SwitchCompat_android_textOff = 1; // aapt resource value: 0 public const int SwitchCompat_android_textOn = 0; // aapt resource value: 2 public const int SwitchCompat_android_thumb = 2; // aapt resource value: 9 public const int SwitchCompat_showText = 9; // aapt resource value: 8 public const int SwitchCompat_splitTrack = 8; // aapt resource value: 6 public const int SwitchCompat_switchMinWidth = 6; // aapt resource value: 7 public const int SwitchCompat_switchPadding = 7; // aapt resource value: 5 public const int SwitchCompat_switchTextAppearance = 5; // aapt resource value: 4 public const int SwitchCompat_thumbTextPadding = 4; // aapt resource value: 3 public const int SwitchCompat_track = 3; public static int[] TextAppearance = new int[] { 16842901, 16842902, 16842903, 16842904, 2130772049}; // aapt resource value: 3 public const int TextAppearance_android_textColor = 3; // aapt resource value: 0 public const int TextAppearance_android_textSize = 0; // aapt resource value: 2 public const int TextAppearance_android_textStyle = 2; // aapt resource value: 1 public const int TextAppearance_android_typeface = 1; // aapt resource value: 4 public const int TextAppearance_textAllCaps = 4; public static int[] Theme = new int[] { 16842839, 16842926, 2130772091, 2130772092, 2130772093, 2130772094, 2130772095, 2130772096, 2130772097, 2130772098, 2130772099, 2130772100, 2130772101, 2130772102, 2130772103, 2130772104, 2130772105, 2130772106, 2130772107, 2130772108, 2130772109, 2130772110, 2130772111, 2130772112, 2130772113, 2130772114, 2130772115, 2130772116, 2130772117, 2130772118, 2130772119, 2130772120, 2130772121, 2130772122, 2130772123, 2130772124, 2130772125, 2130772126, 2130772127, 2130772128, 2130772129, 2130772130, 2130772131, 2130772132, 2130772133, 2130772134, 2130772135, 2130772136, 2130772137, 2130772138, 2130772139, 2130772140, 2130772141, 2130772142, 2130772143, 2130772144, 2130772145, 2130772146, 2130772147, 2130772148, 2130772149, 2130772150, 2130772151, 2130772152, 2130772153, 2130772154, 2130772155, 2130772156, 2130772157, 2130772158, 2130772159, 2130772160, 2130772161, 2130772162, 2130772163, 2130772164, 2130772165, 2130772166, 2130772167, 2130772168, 2130772169, 2130772170, 2130772171, 2130772172, 2130772173, 2130772174, 2130772175, 2130772176, 2130772177, 2130772178, 2130772179, 2130772180, 2130772181, 2130772182, 2130772183, 2130772184, 2130772185, 2130772186, 2130772187, 2130772188, 2130772189, 2130772190, 2130772191, 2130772192, 2130772193, 2130772194, 2130772232}; // aapt resource value: 23 public const int Theme_actionBarDivider = 23; // aapt resource value: 24 public const int Theme_actionBarItemBackground = 24; // aapt resource value: 17 public const int Theme_actionBarPopupTheme = 17; // aapt resource value: 22 public const int Theme_actionBarSize = 22; // aapt resource value: 19 public const int Theme_actionBarSplitStyle = 19; // aapt resource value: 18 public const int Theme_actionBarStyle = 18; // aapt resource value: 13 public const int Theme_actionBarTabBarStyle = 13; // aapt resource value: 12 public const int Theme_actionBarTabStyle = 12; // aapt resource value: 14 public const int Theme_actionBarTabTextStyle = 14; // aapt resource value: 20 public const int Theme_actionBarTheme = 20; // aapt resource value: 21 public const int Theme_actionBarWidgetTheme = 21; // aapt resource value: 49 public const int Theme_actionButtonStyle = 49; // aapt resource value: 45 public const int Theme_actionDropDownStyle = 45; // aapt resource value: 25 public const int Theme_actionMenuTextAppearance = 25; // aapt resource value: 26 public const int Theme_actionMenuTextColor = 26; // aapt resource value: 29 public const int Theme_actionModeBackground = 29; // aapt resource value: 28 public const int Theme_actionModeCloseButtonStyle = 28; // aapt resource value: 31 public const int Theme_actionModeCloseDrawable = 31; // aapt resource value: 33 public const int Theme_actionModeCopyDrawable = 33; // aapt resource value: 32 public const int Theme_actionModeCutDrawable = 32; // aapt resource value: 37 public const int Theme_actionModeFindDrawable = 37; // aapt resource value: 34 public const int Theme_actionModePasteDrawable = 34; // aapt resource value: 39 public const int Theme_actionModePopupWindowStyle = 39; // aapt resource value: 35 public const int Theme_actionModeSelectAllDrawable = 35; // aapt resource value: 36 public const int Theme_actionModeShareDrawable = 36; // aapt resource value: 30 public const int Theme_actionModeSplitBackground = 30; // aapt resource value: 27 public const int Theme_actionModeStyle = 27; // aapt resource value: 38 public const int Theme_actionModeWebSearchDrawable = 38; // aapt resource value: 15 public const int Theme_actionOverflowButtonStyle = 15; // aapt resource value: 16 public const int Theme_actionOverflowMenuStyle = 16; // aapt resource value: 56 public const int Theme_activityChooserViewStyle = 56; // aapt resource value: 89 public const int Theme_alertDialogButtonGroupStyle = 89; // aapt resource value: 90 public const int Theme_alertDialogCenterButtons = 90; // aapt resource value: 88 public const int Theme_alertDialogStyle = 88; // aapt resource value: 91 public const int Theme_alertDialogTheme = 91; // aapt resource value: 1 public const int Theme_android_windowAnimationStyle = 1; // aapt resource value: 0 public const int Theme_android_windowIsFloating = 0; // aapt resource value: 96 public const int Theme_autoCompleteTextViewStyle = 96; // aapt resource value: 51 public const int Theme_buttonBarButtonStyle = 51; // aapt resource value: 94 public const int Theme_buttonBarNegativeButtonStyle = 94; // aapt resource value: 95 public const int Theme_buttonBarNeutralButtonStyle = 95; // aapt resource value: 93 public const int Theme_buttonBarPositiveButtonStyle = 93; // aapt resource value: 50 public const int Theme_buttonBarStyle = 50; // aapt resource value: 97 public const int Theme_buttonStyle = 97; // aapt resource value: 98 public const int Theme_buttonStyleSmall = 98; // aapt resource value: 99 public const int Theme_checkboxStyle = 99; // aapt resource value: 100 public const int Theme_checkedTextViewStyle = 100; // aapt resource value: 106 public const int Theme_circularProgressBarStyle = 106; // aapt resource value: 82 public const int Theme_colorAccent = 82; // aapt resource value: 86 public const int Theme_colorButtonNormal = 86; // aapt resource value: 84 public const int Theme_colorControlActivated = 84; // aapt resource value: 85 public const int Theme_colorControlHighlight = 85; // aapt resource value: 83 public const int Theme_colorControlNormal = 83; // aapt resource value: 80 public const int Theme_colorPrimary = 80; // aapt resource value: 81 public const int Theme_colorPrimaryDark = 81; // aapt resource value: 87 public const int Theme_colorSwitchThumbNormal = 87; // aapt resource value: 43 public const int Theme_dialogPreferredPadding = 43; // aapt resource value: 42 public const int Theme_dialogTheme = 42; // aapt resource value: 55 public const int Theme_dividerHorizontal = 55; // aapt resource value: 54 public const int Theme_dividerVertical = 54; // aapt resource value: 72 public const int Theme_dropDownListViewStyle = 72; // aapt resource value: 46 public const int Theme_dropdownListPreferredItemHeight = 46; // aapt resource value: 62 public const int Theme_editTextBackground = 62; // aapt resource value: 61 public const int Theme_editTextColor = 61; // aapt resource value: 101 public const int Theme_editTextStyle = 101; // aapt resource value: 48 public const int Theme_homeAsUpIndicator = 48; // aapt resource value: 79 public const int Theme_listChoiceBackgroundIndicator = 79; // aapt resource value: 44 public const int Theme_listDividerAlertDialog = 44; // aapt resource value: 73 public const int Theme_listPopupWindowStyle = 73; // aapt resource value: 67 public const int Theme_listPreferredItemHeight = 67; // aapt resource value: 69 public const int Theme_listPreferredItemHeightLarge = 69; // aapt resource value: 68 public const int Theme_listPreferredItemHeightSmall = 68; // aapt resource value: 70 public const int Theme_listPreferredItemPaddingLeft = 70; // aapt resource value: 71 public const int Theme_listPreferredItemPaddingRight = 71; // aapt resource value: 76 public const int Theme_panelBackground = 76; // aapt resource value: 78 public const int Theme_panelMenuListTheme = 78; // aapt resource value: 77 public const int Theme_panelMenuListWidth = 77; // aapt resource value: 59 public const int Theme_popupMenuStyle = 59; // aapt resource value: 60 public const int Theme_popupWindowStyle = 60; // aapt resource value: 102 public const int Theme_radioButtonStyle = 102; // aapt resource value: 103 public const int Theme_ratingBarStyle = 103; // aapt resource value: 66 public const int Theme_searchViewStyle = 66; // aapt resource value: 52 public const int Theme_selectableItemBackground = 52; // aapt resource value: 53 public const int Theme_selectableItemBackgroundBorderless = 53; // aapt resource value: 47 public const int Theme_spinnerDropDownItemStyle = 47; // aapt resource value: 104 public const int Theme_spinnerStyle = 104; // aapt resource value: 105 public const int Theme_switchStyle = 105; // aapt resource value: 40 public const int Theme_textAppearanceLargePopupMenu = 40; // aapt resource value: 74 public const int Theme_textAppearanceListItem = 74; // aapt resource value: 75 public const int Theme_textAppearanceListItemSmall = 75; // aapt resource value: 64 public const int Theme_textAppearanceSearchResultSubtitle = 64; // aapt resource value: 63 public const int Theme_textAppearanceSearchResultTitle = 63; // aapt resource value: 41 public const int Theme_textAppearanceSmallPopupMenu = 41; // aapt resource value: 92 public const int Theme_textColorAlertDialogListItem = 92; // aapt resource value: 65 public const int Theme_textColorSearchUrl = 65; // aapt resource value: 58 public const int Theme_toolbarNavigationButtonStyle = 58; // aapt resource value: 57 public const int Theme_toolbarStyle = 57; // aapt resource value: 2 public const int Theme_windowActionBar = 2; // aapt resource value: 4 public const int Theme_windowActionBarOverlay = 4; // aapt resource value: 5 public const int Theme_windowActionModeOverlay = 5; // aapt resource value: 9 public const int Theme_windowFixedHeightMajor = 9; // aapt resource value: 7 public const int Theme_windowFixedHeightMinor = 7; // aapt resource value: 6 public const int Theme_windowFixedWidthMajor = 6; // aapt resource value: 8 public const int Theme_windowFixedWidthMinor = 8; // aapt resource value: 10 public const int Theme_windowMinWidthMajor = 10; // aapt resource value: 11 public const int Theme_windowMinWidthMinor = 11; // aapt resource value: 3 public const int Theme_windowNoTitle = 3; public static int[] Toolbar = new int[] { 16842927, 16843072, 2130772016, 2130772019, 2130772035, 2130772036, 2130772037, 2130772038, 2130772040, 2130772195, 2130772196, 2130772197, 2130772198, 2130772199, 2130772200, 2130772201, 2130772202, 2130772203, 2130772204, 2130772205, 2130772206}; // aapt resource value: 0 public const int Toolbar_android_gravity = 0; // aapt resource value: 1 public const int Toolbar_android_minHeight = 1; // aapt resource value: 18 public const int Toolbar_collapseContentDescription = 18; // aapt resource value: 17 public const int Toolbar_collapseIcon = 17; // aapt resource value: 5 public const int Toolbar_contentInsetEnd = 5; // aapt resource value: 6 public const int Toolbar_contentInsetLeft = 6; // aapt resource value: 7 public const int Toolbar_contentInsetRight = 7; // aapt resource value: 4 public const int Toolbar_contentInsetStart = 4; // aapt resource value: 16 public const int Toolbar_maxButtonHeight = 16; // aapt resource value: 20 public const int Toolbar_navigationContentDescription = 20; // aapt resource value: 19 public const int Toolbar_navigationIcon = 19; // aapt resource value: 8 public const int Toolbar_popupTheme = 8; // aapt resource value: 3 public const int Toolbar_subtitle = 3; // aapt resource value: 10 public const int Toolbar_subtitleTextAppearance = 10; // aapt resource value: 2 public const int Toolbar_title = 2; // aapt resource value: 15 public const int Toolbar_titleMarginBottom = 15; // aapt resource value: 13 public const int Toolbar_titleMarginEnd = 13; // aapt resource value: 12 public const int Toolbar_titleMarginStart = 12; // aapt resource value: 14 public const int Toolbar_titleMarginTop = 14; // aapt resource value: 11 public const int Toolbar_titleMargins = 11; // aapt resource value: 9 public const int Toolbar_titleTextAppearance = 9; public static int[] View = new int[] { 16842752, 16842970, 2130772207, 2130772208, 2130772209, 2130772210, 2130772211}; // aapt resource value: 1 public const int View_android_focusable = 1; // aapt resource value: 0 public const int View_android_theme = 0; // aapt resource value: 5 public const int View_backgroundTint = 5; // aapt resource value: 6 public const int View_backgroundTintMode = 6; // aapt resource value: 3 public const int View_paddingEnd = 3; // aapt resource value: 2 public const int View_paddingStart = 2; // aapt resource value: 4 public const int View_theme = 4; public static int[] ViewStubCompat = new int[] { 16842960, 16842994, 16842995}; // aapt resource value: 0 public const int ViewStubCompat_android_id = 0; // aapt resource value: 2 public const int ViewStubCompat_android_inflatedId = 2; // aapt resource value: 1 public const int ViewStubCompat_android_layout = 1; public static int[] WalletFragmentOptions = new int[] { 2130771990, 2130771991, 2130771992, 2130771993}; // aapt resource value: 0 public const int WalletFragmentOptions_appTheme = 0; // aapt resource value: 1 public const int WalletFragmentOptions_environment = 1; // aapt resource value: 3 public const int WalletFragmentOptions_fragmentMode = 3; // aapt resource value: 2 public const int WalletFragmentOptions_fragmentStyle = 2; public static int[] WalletFragmentStyle = new int[] { 2130771994, 2130771995, 2130771996, 2130771997, 2130771998, 2130771999, 2130772000, 2130772001, 2130772002, 2130772003, 2130772004}; // aapt resource value: 3 public const int WalletFragmentStyle_buyButtonAppearance = 3; // aapt resource value: 0 public const int WalletFragmentStyle_buyButtonHeight = 0; // aapt resource value: 2 public const int WalletFragmentStyle_buyButtonText = 2; // aapt resource value: 1 public const int WalletFragmentStyle_buyButtonWidth = 1; // aapt resource value: 6 public const int WalletFragmentStyle_maskedWalletDetailsBackground = 6; // aapt resource value: 8 public const int WalletFragmentStyle_maskedWalletDetailsButtonBackground = 8; // aapt resource value: 7 public const int WalletFragmentStyle_maskedWalletDetailsButtonTextAppearance = 7; // aapt resource value: 5 public const int WalletFragmentStyle_maskedWalletDetailsHeaderTextAppearance = 5; // aapt resource value: 10 public const int WalletFragmentStyle_maskedWalletDetailsLogoImageType = 10; // aapt resource value: 9 public const int WalletFragmentStyle_maskedWalletDetailsLogoTextColor = 9; // aapt resource value: 4 public const int WalletFragmentStyle_maskedWalletDetailsTextAppearance = 4; static Styleable() { global::Android.Runtime.ResourceIdManager.UpdateIdValues(); } private Styleable() { } } } } #pragma warning restore 1591
tekconf/TekConf.Forms
TekConf/TekConf.Droid/Resources/Resource.Designer.cs
C#
mit
175,909
#include "nav_control.h" waypoint_manager_t waypoint_manager; void add_new_waypoint(double latitude, double longitude) { waypoint_manager.waypoint[waypoint_manager.waypoint_count].latitude = latitude; waypoint_manager.waypoint[waypoint_manager.waypoint_count].latitude = longitude; waypoint_manager.waypoint_count++; } void clear_waypoint(void) { waypoint_manager.waypoint_count = 0; waypoint_manager.current_waypoint = 0; } void goto_next_waypoint(void) { waypoint_manager.current_waypoint++; }
shengwen1997/stm32-automobile
firmware/src/navigation/nav_control.c
C
mit
506
# -*- coding: utf-8 -*- from __future__ import division, print_function __all__ = ["HDFBackend", "TempHDFBackend"] import os from tempfile import NamedTemporaryFile import numpy as np try: import h5py except ImportError: h5py = None from .backend import Backend from .. import __version__ class HDFBackend(Backend): """A backend that stores the chain in an HDF5 file using h5py .. note:: You must install `h5py <http://www.h5py.org/>`_ to use this backend. Args: filename (str): The name of the HDF5 file where the chain will be saved. name (str; optional): The name of the group where the chain will be saved. read_only (bool; optional): If ``True``, the backend will throw a ``RuntimeError`` if the file is opened with write access. """ def __init__(self, filename, name="mcmc", read_only=False): if h5py is None: raise ImportError("you must install 'h5py' to use the HDFBackend") self.filename = filename self.name = name self.read_only = read_only @property def initialized(self): if not os.path.exists(self.filename): return False try: with self.open() as f: return self.name in f except (OSError, IOError): return False def open(self, mode="r"): if self.read_only and mode != "r": raise RuntimeError("The backend has been loaded in read-only " "mode. Set `read_only = False` to make " "changes.") return h5py.File(self.filename, mode) def reset(self, nwalkers, ndim): """Clear the state of the chain and empty the backend Args: nwakers (int): The size of the ensemble ndim (int): The number of dimensions """ with self.open("a") as f: if self.name in f: del f[self.name] g = f.create_group(self.name) g.attrs["version"] = __version__ g.attrs["nwalkers"] = nwalkers g.attrs["ndim"] = ndim g.attrs["has_blobs"] = False g.attrs["iteration"] = 0 g.create_dataset("accepted", data=np.zeros(nwalkers)) g.create_dataset("chain", (0, nwalkers, ndim), maxshape=(None, nwalkers, ndim), dtype=np.float64) g.create_dataset("log_prob", (0, nwalkers), maxshape=(None, nwalkers), dtype=np.float64) def has_blobs(self): with self.open() as f: return f[self.name].attrs["has_blobs"] def get_value(self, name, flat=False, thin=1, discard=0): if not self.initialized: raise AttributeError("You must run the sampler with " "'store == True' before accessing the " "results") with self.open() as f: g = f[self.name] iteration = g.attrs["iteration"] if iteration <= 0: raise AttributeError("You must run the sampler with " "'store == True' before accessing the " "results") if name == "blobs" and not g.attrs["has_blobs"]: return None v = g[name][discard+thin-1:self.iteration:thin] if flat: s = list(v.shape[1:]) s[0] = np.prod(v.shape[:2]) return v.reshape(s) return v @property def shape(self): with self.open() as f: g = f[self.name] return g.attrs["nwalkers"], g.attrs["ndim"] @property def iteration(self): with self.open() as f: return f[self.name].attrs["iteration"] @property def accepted(self): with self.open() as f: return f[self.name]["accepted"][...] @property def random_state(self): with self.open() as f: elements = [ v for k, v in sorted(f[self.name].attrs.items()) if k.startswith("random_state_") ] return elements if len(elements) else None def grow(self, ngrow, blobs): """Expand the storage space by some number of samples Args: ngrow (int): The number of steps to grow the chain. blobs: The current list of blobs. This is used to compute the dtype for the blobs array. """ self._check_blobs(blobs) with self.open("a") as f: g = f[self.name] ntot = g.attrs["iteration"] + ngrow g["chain"].resize(ntot, axis=0) g["log_prob"].resize(ntot, axis=0) if blobs is not None: has_blobs = g.attrs["has_blobs"] if not has_blobs: nwalkers = g.attrs["nwalkers"] dt = np.dtype((blobs[0].dtype, blobs[0].shape)) g.create_dataset("blobs", (ntot, nwalkers), maxshape=(None, nwalkers), dtype=dt) else: g["blobs"].resize(ntot, axis=0) g.attrs["has_blobs"] = True def save_step(self, state, accepted): """Save a step to the backend Args: state (State): The :class:`State` of the ensemble. accepted (ndarray): An array of boolean flags indicating whether or not the proposal for each walker was accepted. """ self._check(state, accepted) with self.open("a") as f: g = f[self.name] iteration = g.attrs["iteration"] g["chain"][iteration, :, :] = state.coords g["log_prob"][iteration, :] = state.log_prob if state.blobs is not None: g["blobs"][iteration, :] = state.blobs g["accepted"][:] += accepted for i, v in enumerate(state.random_state): g.attrs["random_state_{0}".format(i)] = v g.attrs["iteration"] = iteration + 1 class TempHDFBackend(object): def __enter__(self): f = NamedTemporaryFile("w", delete=False) f.close() self.filename = f.name return HDFBackend(f.name, "test") def __exit__(self, exception_type, exception_value, traceback): os.remove(self.filename)
farr/emcee
emcee/backends/hdf.py
Python
mit
6,656
<?php namespace Scraper\Scrape\Extractor\Types; use Scraper\Exception\BadConfigurationException; use Scraper\Scrape\Extractor\BaseExtractor; use Scraper\Structure\FieldInterface; /** * Class SingleRowExtractor * * @package scraper\scrape\extractor\types */ class SingleRowExtractor extends BaseExtractor { /** * {@inheritdoc} * * @param null $rootElement * * @return array * @throws \Exception */ public function extract($rootElement = null) { $fields = []; if ($rootElement == null) { $rootElement = $this->crawler->getPage()->find( 'xpath', $this->configuration->getTargetXPath() ); } if ($rootElement == null) { throw new BadConfigurationException( 'Single Extractor Error : Could not select root element' ); } foreach ($this->configuration->getFields() as $field) { if (!$field instanceof FieldInterface) { throw new BadConfigurationException('Field should be of type FieldInterface'); } if (isset($field->xpath)) { $element = $rootElement->find('xpath', $field->xpath); if ($element == null) { continue; } $fields[$field->name] = $field->extractData($element, $this->crawler); } } if (count($fields)) { $fields['hash'] = md5(json_encode($fields)); } return $fields; } }
rajanrx/php-scrape
Scraper/Scrape/Extractor/Types/SingleRowExtractor.php
PHP
mit
1,574
var Login = require('mongoose').model('Login'); exports.save = function (req, res, next) { var login = new Login(req.body); var result; var promise = login.save(function (err) { if (err) { console.log(err); result = { "err": "An unknown error occured", "code": login.code }; } else { result = { "code": login.code }; } res.json(result); }); }; exports.validate = function (req, res, next) { var login = new Login(req.body); var result; Login.find({ "code": login.code }, function (err, docs) { if (err) { return next(err); } else { if (docs.length != 0) { // handle success result = { "status": "success" }; res.cookie('premium', 'true', { maxAge: 900000, httpOnly: false }); } else { result = { "status": "error", "err": "Invalid VIP Code" }; } } res.json(result); }); };
kai-oswald/ASE
node/app/services/login.server.service.js
JavaScript
mit
1,250
using System; using System.ComponentModel; using System.Collections.Generic; using Newtonsoft.Json; using System.Linq; using STEP; namespace IFC { /// <summary> /// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifccirclehollowprofiledef.htm"/> /// </summary> public partial class IfcCircleHollowProfileDef : IfcCircleProfileDef { public IfcPositiveLengthMeasure WallThickness{get;set;} /// <summary> /// Construct a IfcCircleHollowProfileDef with all required attributes. /// </summary> public IfcCircleHollowProfileDef(IfcProfileTypeEnum profileType,IfcPositiveLengthMeasure radius,IfcPositiveLengthMeasure wallThickness):base(profileType,radius) { WallThickness = wallThickness; } /// <summary> /// Construct a IfcCircleHollowProfileDef with required and optional attributes. /// </summary> [JsonConstructor] public IfcCircleHollowProfileDef(IfcProfileTypeEnum profileType,IfcLabel profileName,IfcAxis2Placement2D position,IfcPositiveLengthMeasure radius,IfcPositiveLengthMeasure wallThickness):base(profileType,profileName,position,radius) { WallThickness = wallThickness; } public static new IfcCircleHollowProfileDef FromJSON(string json){ return JsonConvert.DeserializeObject<IfcCircleHollowProfileDef>(json); } public override string GetStepParameters() { var parameters = new List<string>(); parameters.Add(ProfileType.ToStepValue()); parameters.Add(ProfileName != null ? ProfileName.ToStepValue() : "$"); parameters.Add(Position != null ? Position.ToStepValue() : "$"); parameters.Add(Radius != null ? Radius.ToStepValue() : "$"); parameters.Add(WallThickness != null ? WallThickness.ToStepValue() : "$"); return string.Join(", ", parameters.ToArray()); } } }
ikeough/IFC-gen
lang/csharp/src/IFC/IfcCircleHollowProfileDef.g.cs
C#
mit
1,812
using System; using System.Collections.Generic; using System.Xml; namespace Sharp.Xmpp.Extensions.Dataforms { /// <summary> /// Represents a field for gathering or providing one or more options /// from among many. /// </summary> /// <remarks> /// This corresponds to a Winforms ListBox control in which multiple options /// can be selected. /// </remarks> public class ListMultiField : DataField { /// <summary> /// The values of the field. /// </summary> private XmlCollection<string> values; /// <summary> /// The options of the field. /// </summary> private XmlCollection<Option> options; /// <summary> /// Gets an enumerable collection of selected values. /// </summary> public new ICollection<string> Values { get { return values; } } /// <summary> /// Gets an enumerable collection of options. /// </summary> public ICollection<Option> Options { get { return options; } } /// <summary> /// Initializes a new instance of the ListField class for use in a /// requesting dataform. /// </summary> /// <param name="name">The name of the field.</param> /// <param name="required">Determines whether the field is required or /// optional.</param> /// <param name="label">A human-readable name for the field.</param> /// <param name="description">A natural-language description of the field, /// intended for presentation in a user-agent.</param> /// <param name="options">An enumerable collection of options to add to /// the field.</param> /// <param name="values">The default values of the field.</param> /// <exception cref="ArgumentNullException">The name parameter is /// null.</exception> public ListMultiField(string name, bool required = false, string label = null, string description = null, IEnumerable<Option> options = null, params string[] values) : base(DataFieldType.ListMulti, name, required, label, description) { this.values = new XmlCollection<string>(Element, "value", elem => elem.InnerText); this.options = new XmlCollection<Option>(Element, "option", OptionFromElement); if (options != null) { foreach (Option o in options) { Options.Add(o); } } if (values != null) { foreach (string s in values) { if (s == null) continue; this.values.Add(s); } } } /// <summary> /// Initializes a new instance of the ListMultiField class for use in a /// submitting dataform. /// </summary> /// <param name="name">The name of the field.</param> /// <param name="values">The values of the field.</param> /// <exception cref="ArgumentNullException">The name parameter is /// null.</exception> public ListMultiField(string name, params string[] values) : this(name, false, null, null, null, values) { } /// <summary> /// Initializes a new instance of the ListField class from the specified /// XML element. /// </summary> /// <param name="e">The XML 'field' element to initialize the instance /// with.</param> /// <exception cref="ArgumentNullException">The e parameter is /// null.</exception> /// <exception cref="ArgumentException">The specified XML element is not a /// valid data-field element, or the element is not a data-field of type /// 'list-multi'.</exception> internal ListMultiField(XmlElement e) : base(e) { AssertType(DataFieldType.ListMulti); this.values = new XmlCollection<string>(Element, "value", elem => elem.InnerText); options = new XmlCollection<Option>(Element, "option", OptionFromElement); } /// <summary> /// Creates an Option instance from the specified XML element. /// </summary> /// <param name="element">The XML element to create an option from.</param> /// <returns>An initialized instance of the Option class.</returns> /// <exception cref="ArgumentNullException">The element parameter is /// null.</exception> /// <exception cref="ArgumentException">The specified XML element is not /// a valid 'option' element.</exception> private Option OptionFromElement(XmlElement element) { string label = element.GetAttribute("label"); if (label == string.Empty) label = null; if (element["value"] == null) throw new ArgumentException("Missing 'value' child."); string value = element["value"].InnerText; return new Option(value, label); } } }
REPLDigital/Sharp.Xmpp
Extensions/XEP-0004/Dataforms/ListMultiField.cs
C#
mit
5,287
docker build -t mkurpinski/fibon-api ./Fibon.Api docker build -t mkurpinski/fibon-service ./Fibon.Service
MKurpinski/Fibon
Scripts/buildDockerImages.sh
Shell
mit
106
package io.bartholomews.spotify4s.circe.api import com.github.tomakehurst.wiremock.client.MappingBuilder import com.github.tomakehurst.wiremock.client.WireMock.{aResponse, stubFor} import com.github.tomakehurst.wiremock.stubbing.StubMapping import io.bartholomews.fsclient.core.http.SttpResponses.SttpResponse import io.bartholomews.scalatestudo.matchers.StubbedIO import io.bartholomews.scalatestudo.wiremock.WiremockUtils.ResponseDefinitionImplicits import io.bartholomews.spotify4s.core.entities.{ApiError, AuthError, SpotifyError} import io.circe.ParsingFailure import org.apache.http.entity.ContentType import org.scalatest.matchers.should.Matchers import org.scalatest.wordspec.AnyWordSpec import sttp.client.{DeserializationError, HttpError} import sttp.model.StatusCode trait ServerBehaviours extends Matchers { self: AnyWordSpec with StubbedIO => val basePath = "/api/v1" import io.bartholomews.spotify4s.circe._ import io.circe.parser._ def clientReceivingUnexpectedResponse[E, A]( expectedEndpoint: MappingBuilder, request: => SttpResponse[E, A], decodingBody: Boolean = true ): Unit = { behave like clientReceivingAuthErrorResponse(expectedEndpoint, request) behave like clientReceivingApiErrorResponse(expectedEndpoint, request) if (decodingBody) behave like clientReceivingSuccessfulUnexpectedResponseBody(expectedEndpoint, request) } private def clientReceivingAuthErrorResponse[E, A]( expectedEndpoint: MappingBuilder, request: => SttpResponse[E, A] ): Unit = { "the server responds with an `invalid_grant` error" when { def stub: StubMapping = stubFor( expectedEndpoint .willReturn( aResponse() .withStatus(401) .withContentType(ContentType.APPLICATION_JSON) .withBodyFile("error/authorization_invalid_code.json") ) ) "returns a Left with appropriate message" in matchResponseBody(stub, request) { case Left(HttpError(body, status)) => status shouldBe StatusCode.Unauthorized parse(body).flatMap(_.as[SpotifyError]) shouldBe Right( AuthError( error = "invalid_grant", message = "Invalid authorization code" ) ) } } } private def clientReceivingApiErrorResponse[E, A]( expectedEndpoint: MappingBuilder, request: => SttpResponse[E, A] ): Unit = { "the server responds with an `invalid_id` error" when { def stub: StubMapping = stubFor( expectedEndpoint .willReturn( aResponse() .withStatus(400) .withContentType(ContentType.APPLICATION_JSON) .withBodyFile("error/invalid_id.json") ) ) "returns a Left with appropriate message" in matchResponseBody(stub, request) { case Left(HttpError(body, status)) => status shouldBe StatusCode.BadRequest parse(body).flatMap(_.as[SpotifyError]) shouldBe Right( ApiError( status = 400, message = "invalid id" ) ) } } } private def clientReceivingSuccessfulUnexpectedResponseBody[E, A]( expectedEndpoint: MappingBuilder, request: => SttpResponse[E, A] ): Unit = { val ezekiel = """ |Ezekiel 25:17. |"The path of the righteous man is beset on all sides |by the inequities of the selfish and the tyranny of evil men. |Blessed is he who, in the name of charity and good will, |shepherds the weak through the valley of the darkness. |For he is truly his brother's keeper and the finder of lost children. |And I will strike down upon thee with great vengeance and furious anger |those who attempt to poison and destroy my brothers. |And you will know I am the Lord |when I lay my vengeance upon you." |""".stripMargin "the server response is unexpected" should { def stub: StubMapping = stubFor( expectedEndpoint .willReturn( aResponse() .withStatus(200) .withBody(ezekiel) ) ) "return a Left with appropriate message" in matchResponseBody(stub, request) { case Left(DeserializationError(body, _ @ParsingFailure(message, _))) => body shouldBe ezekiel message shouldBe "expected json value got 'Ezekie...' (line 2, column 1)" } } } }
bartholomews/spotify-scala-client
modules/circe/src/test/scala/io/bartholomews/spotify4s/circe/api/ServerBehaviours.scala
Scala
mit
4,706
describe('OmniPath.format', function () { 'use strict'; helper.forEachTest(TestData, function (test) { var formatted = helper.invoke('format', test); // Validate the return type expect(formatted.omni).to.be.a('string'); expect(formatted.posix).to.be.a('string'); expect(formatted.win32).to.be.a('string'); expect(formatted.url).to.be.a('string'); // Validate the return value expect(formatted.posix).to.equal(test.format.posix, 'posix'); expect(formatted.win32).to.equal(test.format.win32, 'win32'); expect(formatted.url).to.equal(test.format.url, 'url'); // Compare to Node's native behavior if (host.node) { if (test.isUrl) { var nodeFormat = url.format(test.parse.url); expect(formatted.omni).to.equal(nodeFormat, 'native omni'); expect(formatted.url).to.equal(nodeFormat, 'native url'); } else if (!test.parse.url.hash && Object.keys(test.parse.url.query).length === 0) { expect(formatted.posix).to.equal(path.posix.format(test.parse.posix), 'native posix'); expect(formatted.win32).to.equal(path.win32.format(test.parse.win32), 'native win32'); } } }); });
BigstickCarpet/omnipath
test/specs/format.spec.js
JavaScript
mit
1,188
import unittest import logging import sysadmintoolkit class CommandTestCase(unittest.TestCase): '''Testing command module ''' def setUp(self): self.nulllogger = logging.getLogger('null') self.nulllogger.addHandler(logging.NullHandler()) def test_bad_instantiation_types(self): self.assertRaises(sysadmintoolkit.exception.PluginError, sysadmintoolkit.command.ExecCommand, None, None, None) self.assertRaises(sysadmintoolkit.exception.PluginError, sysadmintoolkit.command.ExecCommand, 'this is a test case', None, None) self.assertRaises(sysadmintoolkit.exception.PluginError, sysadmintoolkit.command.ExecCommand, 'this is a test case', sysadmintoolkit.plugin.Plugin('testcase-plugin', self.nulllogger, None), None) def test_correct_instantiation(self): self.assertTrue(sysadmintoolkit.command.ExecCommand('this is a test case', sysadmintoolkit.plugin.Plugin('testcase-plugin', self.nulllogger, None), self.setUp))
lpther/SysadminToolkit
tests/test_command.py
Python
mit
991
<?php declare(strict_types=1); namespace WsdlToPhp\PackageGenerator\File\Validation; /** * @see https://www.w3.org/TR/xmlschema-2/#rf-maxLength * Validation Rule: maxLength Valid * A value in a ·value space· is facet-valid with respect to ·maxLength·, determined as follows: * - 1 if the {variety} is ·atomic· then * - 1.1 if {primitive type definition} is string or anyURI, then the length of the value, as measured in characters ·must· be less than or equal to {value}; * - 1.2 if {primitive type definition} is hexBinary or base64Binary, then the length of the value, as measured in octets of the binary data, ·must· be less than or equal to {value}; * - 1.3 if {primitive type definition} is QName or NOTATION, then any {value} is facet-valid. * - 2 if the {variety} is ·list·, then the length of the value, as measured in list items, ·must· be less than or equal to {value} */ final class MaxLengthRule extends AbstractLengthRule { public function name(): string { return 'maxLength'; } public function symbol(): string { return self::SYMBOL_MAX_INCLUSIVE; } }
WsdlToPhp/PackageGenerator
src/File/Validation/MaxLengthRule.php
PHP
mit
1,141
from django.conf.urls import patterns, url from django.contrib.auth.decorators import login_required from django.views.decorators.csrf import csrf_exempt from fastapp.views import DjendBaseView, DjendBaseDeleteView, DjendBaseSaveView, \ DjendBaseCreateView, DjendExecDeleteView, DjendExecView, DjendStaticView, \ login_or_sharedkey, dropbox_auth_finish, dropbox_auth_start, DjendView, \ DjendBaseSettingsView, DjendBaseRenameView, CockpitView from rest_framework import routers from fastapp.api_views import BaseViewSet, SettingViewSet, ApyViewSet from django.views.decorators.cache import never_cache # Routers provide an easy way of automatically determining the URL conf router = routers.DefaultRouter(trailing_slash=True) router.register(r'apy', ApyViewSet) router.register(r'base', BaseViewSet) urlpatterns = patterns('', # dropbox auth url(r'dropbox_auth_start/?$',dropbox_auth_start), url(r'dropbox_auth_finish/?$',dropbox_auth_finish), url(r'cockpit/$', login_required(never_cache(CockpitView.as_view(template_name="fastapp/cockpit.html")))), # base url(r'(?P<base>[\w-]+)/index/$', login_required(DjendBaseView.as_view())), url(r'(?P<base>[\w-]+)/sync/$', login_required(DjendBaseSaveView.as_view())), url(r'(?P<base>[\w-]+)/new/$', login_required(DjendBaseCreateView.as_view())), url(r'(?P<base>[\w-]+)/delete/$', login_required(DjendBaseDeleteView.as_view())), url(r'(?P<base>[\w-]+)/rename/$', login_required(DjendBaseRenameView.as_view())), # settings #url(r'(?P<base>[\w-]+)/kv/$', login_required(DjendBaseSettingsView.as_view())), #url(r'(?P<base>[\w-]+)/kv/(?P<id>[\w-]+)/$', login_required(DjendBaseSettingsView.as_view())), # execs #url(r'(?P<base>[\w-]+)/create_exec/$', login_required(DjendExecSaveView.as_view())), url(r'(?P<base>[\w-]+)/exec/(?P<id>\w+)/$', \ csrf_exempt(login_or_sharedkey(DjendExecView.as_view()))), url(r'(?P<base>[\w-]+)/delete/(?P<id>\w+)/$', \ login_required(DjendExecDeleteView.as_view())), #url(r'(?P<base>[\w-]+)/clone/(?P<id>\w+)/$', \ # login_required(DjendExecCloneView.as_view())), #url(r'(?P<base>[\w-]+)/rename/(?P<id>\w+)/$', \ # login_required(DjendExecRenameView.as_view())), # static url(r'(?P<base>[\w-]+)/static/(?P<name>.+)$', \ login_or_sharedkey(DjendStaticView.as_view())), # api url(r'^api/base/$', BaseViewSet.as_view({'get': 'list', 'post': 'create'}), name='base-list'), url(r'^api/base/(?P<pk>\d+)/$', BaseViewSet.as_view({'get': 'retrieve', 'put': 'update', 'patch': 'partial_update', 'delete': 'destroy'}), name='base-detail'), url(r'^api/base/(?P<pk>\d+)/start/$', BaseViewSet.as_view({'post': 'start'}), name='base-stop'), url(r'^api/base/(?P<pk>\d+)/stop/$', BaseViewSet.as_view({'post': 'stop'}), name='base-start'), url(r'^api/base/(?P<base_pk>\d+)/apy/$', ApyViewSet.as_view({'get': 'list', 'post': 'create'}), name='apy-list'), url(r'^api/base/(?P<base_pk>\d+)/apy/(?P<pk>\d+)/$', ApyViewSet.as_view({'get': 'retrieve', 'put': 'update', 'patch': 'partial_update', 'delete': 'destroy'}), name='apy-detail'), url(r'^api/base/(?P<base_pk>\d+)/apy/(?P<pk>\d+)/clone/$', ApyViewSet.as_view({'post': 'clone'}), name='apy-clone'), url(r'^api/base/(?P<base_pk>\d+)/setting/$', SettingViewSet.as_view({'get': 'list', 'post': 'create'}), name='apy-list'), url(r'^api/base/(?P<base_pk>\d+)/setting/(?P<pk>\d+)/$', SettingViewSet.as_view({'get': 'retrieve', 'put': 'update', 'patch': 'partial_update', 'delete': 'destroy'}), name='apy-detail'), # home url(r'^$', DjendView.as_view()), ) from rest_framework.urlpatterns import format_suffix_patterns urlpatterns = format_suffix_patterns(urlpatterns, allowed=['json', 'api'])
fatrix/django-fastapp
fastapp/urls.py
Python
mit
4,000
# encoding: utf-8 require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe BreadMachine::SecureTrading::Request do describe "XML generation" do before(:each) do @request = described_class.new(Builder::XmlMarkup.new) end it "should set xml instruct" do @request.to_xml.should match(%r{<\?xml version="1.0" encoding="UTF-8"\?>}) end it "should output xml as utf-8" do xml = Builder::XmlMarkup.new xml.foo "Min luftpudebåd er fyldt med ål" @request = described_class.new(xml) @request.to_xml.should match(/Min luftpudeb&#229;d er fyldt med &#229;l/) end def request_xml Nokogiri::XML::Document.parse(@request.to_xml) end end end
mattsoutherden/breadmachine
spec/secure_trading/request_spec.rb
Ruby
mit
751
--- title: Hola, **Bienvenidos** category: blog layout: post author: name: Maximiliano Fierro github: elmasse twitter: elmasse --- Hola, este es un post para darles la bienvenida al blog de La Plata JS. Este espacio lo queremos compartir con quienes tengan ganas de escribir sobre JavaScript. Tal vez algo con lo que esten trabajando, una experiencia, una idea, incluso un problema que hayan solucionado y quieran contarnos en 3 o 1000 lineas. ```js // continuara... ```
laplatajs/laplatajs.github.io
_posts/blog/2017-05-09-bienvenidos.md
Markdown
mit
485
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. // //********************************************************* #include "d3dx12affinity.h" #include "CD3DX12Utils.h" HRESULT STDMETHODCALLTYPE CD3DX12AffinityPipelineState::GetCachedBlob( ID3DBlob** ppBlob, UINT AffinityIndex) { return mPipelineStates[AffinityIndex]->GetCachedBlob(ppBlob); } CD3DX12AffinityPipelineState::CD3DX12AffinityPipelineState(CD3DX12AffinityDevice* device, ID3D12PipelineState** pipelineStates, UINT Count) : CD3DX12AffinityPageable(device, reinterpret_cast<ID3D12Pageable**>(pipelineStates), Count) { for (UINT i = 0; i < D3DX12_MAX_ACTIVE_NODES; i++) { if (i < Count) { mPipelineStates[i] = pipelineStates[i]; } else { mPipelineStates[i] = nullptr; } } #ifdef DEBUG_OBJECT_NAME mObjectTypeName = L"PipelineState"; #endif }
JJoosten/IndirectOcclusionCulling
Source/Shared/dependencies/d3dxaffinity/CD3DX12AffinityPipelineState.cpp
C++
mit
1,231
/* * The MIT License * * Copyright 2016 Universidad De Los Andes - Departamento de Ingeniería de Sistemas. * * 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. */ package co.edu.uniandes.isis2503.nosqljpa.model.dto.model; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlRootElement; /** * * @author Luis Felipe Mendivelso Osorio <[email protected]> */ @XmlRootElement public class CompetitionDTO { private String id; private String name; private String city; private String country; private String year; private List<String> competitors; private long winnerId; private double prize; public CompetitionDTO() { this.competitors = new ArrayList(); } public CompetitionDTO(String id, String name, String city, String country, String year, List<String> competitors, long winnerId, double prize) { this.id = id; this.name = name; this.city = city; this.country = country; this.year = year; this.competitors = competitors; this.winnerId = winnerId; this.prize = prize; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public String getYear() { return year; } public void setYear(String year) { this.year = year; } public long getWinnerId() { return winnerId; } public void setWinnerId(long winnerId) { this.winnerId = winnerId; } public double getPrize() { return prize; } public void setPrize(double prize) { this.prize = prize; } public List<String> getCompetitors() { return competitors; } public void setCompetitors(List<String> competitors) { this.competitors = competitors; } public void addCompetitor(String id){ this.competitors.add(id); } }
ISIS2503-Laboratorios/JPANoSQLConcourseAPP
JPANoSQLConcourseApp/src/main/java/co/edu/uniandes/isis2503/nosqljpa/model/dto/model/CompetitionDTO.java
Java
mit
3,395
function update_xp_count(element_id) { var xp_element = $(element_id + '-xp'); var list = $(element_id + '-list').children('li'); var count = 0; $.each(list, function() { if ($(this).find('.badge').text().trim().length > 0) { count += parseInt($(this).find('.badge').text()); } }) xp_element.text(count); update_total_xp(); } function replan() { replan_list('#acquired-list'); replan_list('#planned-list'); update_xp_count('#planned'); update_xp_count('#acquired'); update_availability(); generate_constraints(); } function replan_list(target_id) { $(target_id).children('li').each(function() { var that = $(this); var skill_label = that.attr('skill-name'); if (that.hasClass('faded')) { append_lexicographically('#graphical-list', that); //that.removeAttr('popover-applied'); reset_popover(that); rebuild_popover(that); // var cloned = that.clone(); // cloned.removeAttr('popover-applied'); // //rebuild_popover(cloned); // cloned.addClass('invalid'); // cloned.find('.skill-label') // .addClass('text-danger') // .css('text-decoration', 'line-through'); // if (cloned.find('.removable').length == 0) { // cloned.append('<span class="removable pull-right">Remove</span>'); // cloned.find('.removable').on('click', function() { // $(this).parent().remove(); // }) // } // cloned.popover(); // append_lexicographically(target_id, cloned); } // if (that.hasClass('invalid')) { // if (is_valid_skill(skill_label)) { // // that.find('.skill-label') // // .removeClass('text-danger') // // .css('text-decoration', 'none') // // .addClass('faded'); // // $('#graphical-list').find('[skill-name="' + skill_label + '"]').remove(); // // that.find('.removable').remove(); // // that.removeAttr('popover-applied'); // that.remove(); // var s = $('#graphical-list').find('[skill-name="' + skill_label + '"]'); // s.removeAttr('popover-applied'); // append_lexicographically(target_id, s); // } // } }) } function is_valid_skill(skill_name) { return !$('[skill-name="' + skill_name + '"]').hasClass('faded'); } function resize_graphical() { var target_max_height = $(window).height() - $('#setup').height(); $('#graphical-list').css('max-height', target_max_height - 40); $('#advanced-list').css('max-height', target_max_height - 40); $('#builder').css('max-height', target_max_height); } $(function() { $(window).resize(resize_graphical); //resize_graphical(); attach_drop_functor('acquired'); attach_drop_functor('planned'); attach_drop_functor('graphical'); attach_tappable_drop('acquired'); attach_tappable_drop('planned'); attach_tappable_drop('graphical'); });
gbudiman/drpedia
app/assets/javascripts/dynamic_builder.js
JavaScript
mit
2,921
using System; namespace Frontenac.Blueprints.Util { public static class GraphHelpers { /// <summary> /// Add a vertex to the graph with specified id and provided properties. /// </summary> /// <param name="graph">the graph to create a vertex in</param> /// <param name="id">the id of the vertex to create</param> /// <param name="properties">the properties of the vertex to add (must be string,object,string,object,...)</param> /// <returns>the vertex created in the graph with the provided properties set</returns> public static IVertex AddVertex(this IGraph graph, object id, params object[] properties) { if (graph == null) throw new ArgumentNullException(nameof(graph)); if (properties == null) throw new ArgumentNullException(nameof(properties)); if (properties.Length % 2 != 0) throw new ArgumentException("properties length must be even"); var vertex = graph.AddVertex(id); for (var i = 0; i < properties.Length; i = i + 2) vertex.SetProperty((string) properties[i], properties[i + 1]); return vertex; } /// <summary> /// Add an edge to the graph with specified id and provided properties. /// </summary> /// <param name="graph">the graph to create the edge in</param> /// <param name="id">the id of the edge to create</param> /// <param name="outVertex">the outgoing/tail vertex of the edge</param> /// <param name="inVertex">the incoming/head vertex of the edge</param> /// <param name="label">the label of the edge</param> /// <param name="properties">the properties of the edge to add (must be string,object,string,object,...)</param> /// <returns>the edge created in the graph with the provided properties set</returns> public static IEdge AddEdge(this IGraph graph, object id, IVertex outVertex, IVertex inVertex, string label, params object[] properties) { if (graph == null) throw new ArgumentNullException(nameof(graph)); if (outVertex == null) throw new ArgumentNullException(nameof(outVertex)); if (inVertex == null) throw new ArgumentNullException(nameof(inVertex)); if (string.IsNullOrWhiteSpace(label)) throw new ArgumentNullException(nameof(label)); if (properties == null) throw new ArgumentNullException(nameof(properties)); if (properties.Length % 2 != 0) throw new ArgumentException("properties length must be even"); var edge = graph.AddEdge(id, outVertex, inVertex, label); for (var i = 0; i < properties.Length; i = i + 2) edge.SetProperty((string) properties[i], properties[i + 1]); return edge; } /// <summary> /// Copy the vertex/edges of one graph over to another graph. /// The id of the elements in the from graph are attempted to be used in the to graph. /// This method only works for graphs where the user can control the element ids. /// </summary> /// <param name="from">the graph to copy from</param> /// <param name="to">the graph to copy to</param> public static void CopyGraph(this IGraph from, IGraph to) { if (@from == null) throw new ArgumentNullException(nameof(@from)); if (to == null) throw new ArgumentNullException(nameof(to)); foreach (var fromVertex in @from.GetVertices()) { var toVertex = to.AddVertex(fromVertex.Id); fromVertex.CopyProperties(toVertex); } foreach (var fromEdge in from.GetEdges()) { var outVertex = to.GetVertex(fromEdge.GetVertex(Direction.Out).Id); var inVertex = to.GetVertex(fromEdge.GetVertex(Direction.In).Id); var toEdge = to.AddEdge(fromEdge.Id, outVertex, inVertex, fromEdge.Label); fromEdge.CopyProperties(toEdge); } } } }
Loupi/Frontenac
Frontenac/Blueprints/Util/GraphHelpers.cs
C#
mit
4,337
/* * MIT License * * Copyright (c) 2016~2017 Z-Chess * * 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. * */ package com.tgx.zq.z.queen.io.inf; /** * @author William.d.zk */ public interface IConnectActive extends IConnectMode, IAddress { default int getHaIndex() { return 0; } default int getPortIndex() { return 0; } }
TGX-ZQ/Z-Queen
src/main/java/com/tgx/zq/z/queen/io/inf/IConnectActive.java
Java
mit
1,428
using System; using System.Linq; using FluentAssertions; using Weingartner.WeinCad.Interfaces; using Xunit; namespace SolidworksAddinFramework.Spec { public class GetTrimCurves2DataReaderSpec { [Fact] public void CanReadData() { var data = new[] {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0}; var reader = new GetTrimCurves2DataReader(data); reader.Read(2).ShouldBeEquivalentTo(new [] { 1.0,2.0}); reader.Read(3).ShouldBeEquivalentTo(new [] { 3.0,4.0,5.0}); } [Fact] public void DoubleToShortShouldWork() { var expected = new short[] {2, 3, 5, 7}; var bytes = expected.SelectMany(BitConverter.GetBytes).ToArray(); var d = BitConverter.ToDouble(bytes,0); var data = d.DoubleToShort(); data.Item1.Should().Be(2); data.Item2.Should().Be(3); data.Item3.Should().Be(5); data.Item4.Should().Be(7); } } }
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework.Spec/GetTrimCurves2DataReaderSpec.cs
C#
mit
1,015
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("10_Student Groups")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("10_Student Groups")] [assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("1e0ff9b6-feaa-43ac-9d07-ed72e1b296ef")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
akkirilov/SoftUniProject
01_ProgrammingFundamentals/Homeworks/07_Objects and Classes-Ex/10_Student Groups/Properties/AssemblyInfo.cs
C#
mit
1,410
# encoding:utf-8 require 'spec_helper' describe WashoutBuilder::Type do let(:exception) { WashoutBuilderTestError } let(:fault_classes) { [exception] } it 'defines a list of types' do expect(WashoutBuilder::Type::BASIC_TYPES).to eq(%w(string integer double boolean date datetime float time int)) end it 'gets the fault classes defined' do expect(WashoutBuilder::Type.all_fault_classes).to eq([base_exception]) end context 'exception' do before(:each) do WashoutBuilder::Type.stubs(:all_fault_classes).returns([base_exception]) end it 'checks if exception has ancestor' do expect(WashoutBuilder::Type.ancestor_fault?(exception)).to eq(true) end it 'checks if exception valid' do expect(WashoutBuilder::Type.valid_fault_class?(exception)).to eq(true) end end end
bogdanRada/washout_builder
spec/lib/washout_builder/type_spec.rb
Ruby
mit
834
var path = require('path'); var rootDir = path.resolve(__dirname, '../../../'); module.exports = { sourceRoot: rootDir, expectedRequires: [ rootDir + '/node_modules/babel-core/index.js', rootDir + '/node_modules/babel-core/index.js' ] };
Shopify/sprockets-commoner
js/babel-plugin-sprockets-commoner-internal/test/fixtures/double-require/options.js
JavaScript
mit
254
import { shallow, mount } from 'enzyme' import React from 'react' import { IntlProvider } from 'react-intl' import RepoListItem from 'containers/RepoListItem' import List from 'components/List' import LoadingIndicator from 'components/LoadingIndicator' import ReposList from '../index' describe('<ReposList />', () => { it('should render the loading indicator when its loading', () => { const renderedComponent = shallow( <ReposList loading /> ) expect(renderedComponent.contains(<List component={LoadingIndicator} />)).toEqual(true) }) it('should render an error if loading failed', () => { const renderedComponent = mount( <IntlProvider locale="en"> <ReposList loading={false} error={{ message: 'Loading failed!' }} /> </IntlProvider> ) expect(renderedComponent.text()).toMatch(/Something went wrong/) }) it('should render the repositories if loading was successful', () => { const repos = [{ owner: { login: 'mxstbr', }, html_url: 'https://github.com/mxstbr/react-boilerplate', name: 'react-boilerplate', open_issues_count: 20, full_name: 'mxstbr/react-boilerplate', }] const renderedComponent = shallow( <ReposList repos={repos} error={false} /> ) expect(renderedComponent.contains(<List items={repos} component={RepoListItem} />)).toEqual(true) }) it('should not render anything if nothing interesting is provided', () => { const renderedComponent = shallow( <ReposList repos={false} error={false} loading={false} /> ) expect(renderedComponent.html()).toEqual(null) }) })
wenpengfei/react-boilerplate
app/components/ReposList/tests/index.test.js
JavaScript
mit
1,718
--- layout: post title: "Welcome to Jekyll!" date: 2016-12-20 14:59:38 -0500 categories: jekyll update --- You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. Jekyll also offers powerful support for code snippets: {% highlight ruby %} def print_hi(name) puts "Hi, #{name}" end print_hi('Tom') #=> prints 'Hi, Tom' to STDOUT. {% endhighlight %} Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. [jekyll-docs]: http://jekyllrb.com/docs/home [jekyll-gh]: https://github.com/jekyll/jekyll [jekyll-talk]: https://talk.jekyllrb.com/
Dando18/pymath
docs/_posts/2016-12-20-welcome-to-jekyll.markdown
Markdown
mit
1,206
<?php namespace App\Auth; use App\Helpers\Redirect; class DDoS { private $_requests; const LIMIT = 10; // request per TIME allowed const TIME = 120; // seconds /** * DDoS constructor. */ public function __construct() { $this->_requests = $_SESSION['requests'] ?? []; $this->_checkUser(); } /** * Check user for DDoS activity */ private function _checkUser() { $i = 0; $count = 0; $max = sizeof($this->_requests); // Count requests in time interval, unset old requests while($i < $max) { if((microtime(true) - $this->_requests[$i]) < self::TIME) ++$count; else unset($this->_requests[$i]); ++$i; } // Save requests $this->_requests[] = microtime(true); $this->_requests = array_values($this->_requests); $_SESSION['requests'] = $this->_requests; // Redirect if suspicious activity was found if($count > self::LIMIT) Redirect::response(429); } }
lamka02sk/wrinche
app/Auth/DDoS.php
PHP
mit
1,239
<?php namespace DICIT; class IllegalTypeException extends \RuntimeException { }
oliviermadre/dic-it
src/DICIT/IllegalTypeException.php
PHP
mit
83
package parser // ScalarType RAML defines a set of built-in scalar types, each of which has // a predefined set of restrictions. All types, except the file type, // can have an additional enum facet. type ScalarType struct { // Enumeration of possible values for this built-in scalar type. // The value is an array containing representations of possible values, // or a single value if there is only one possible value. Enum []Value `yaml:"enum" json:"enum,omitempty"` } // IsEmpty return true if it is empty func (t *ScalarType) IsEmpty() bool { return len(t.Enum) < 1 }
tsaikd/go-raml-parser
parser/ScalarType.go
GO
mit
579
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Model; using WebApp.Controller; namespace WebApp.customer { public partial class RouteListing : System.Web.UI.Page { List<Route> routes; bool search; protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["departureCountry"] != null) { DepartureCountryTextbox.Text = Request.QueryString["departureCountry"]; search = true; } if (Request.QueryString["departureTown"] != null) { DepartureTownTextbox.Text = Request.QueryString["departureTown"]; search = true; } if (Request.QueryString["destinationCountry"] != null) { DestinationCountryTextbox.Text = Request.QueryString["destinationCountry"]; search = true; } if (Request.QueryString["destinationTown"] != null) { DestinationTownTextbox.Text = Request.QueryString["destinationTown"]; search = true; } if (Request.QueryString["dateOfJourney"] != null) { DateTime date = DateTime.Parse(Request.QueryString["dateOfJourney"]); DateOfDepartureCalendar.SelectedDate = date; search = true; } if (Request.QueryString["numberOfPassengers"] != null) { NumberOfPassengersTextbox.Text = Request.QueryString["numberOfPassengers"]; search = true; } if (!Search) { Routes = Route.getAllRoutesAsList(); } else { int passengers = 0; int.TryParse(NumberOfPassengersTextbox.Text, out passengers); Routes = Route.getRoutesBySearchCriteria(DepartureCountryTextbox.Text, DepartureTownTextbox.Text, DestinationCountryTextbox.Text, DestinationTownTextbox.Text, DateOfDepartureCalendar.SelectedDate, passengers); } foreach(Route r in Routes) { WebControlGenerator.addRouteToPanel(r, routesPanel, true); } } public bool Search { get { return this.search; } set { this.search = value; } } public List<Route> Routes { get { return this.routes; } set { this.routes = value; } } protected void SearchLinkClicked(object sender, EventArgs e) { if (SearchPanel.Visible == false) { SearchPanel.Visible = true; } else { SearchPanel.Visible = false; } } protected void SubmitButtonClicked(object sender, EventArgs e) { StringBuilder url = new StringBuilder(); url.Append("./RouteListing.aspx?page=1"); #region Building command if (Request.QueryString["departureCountry"] != "") { url.Append("&departureCountry=" + DepartureCountryTextbox.Text); } if (DepartureTownTextbox.Text != "") { url.Append("&departureTown="+DepartureTownTextbox.Text); } if (DestinationCountryTextbox.Text != "") { url.Append("&destinationCountry="+DestinationCountryTextbox.Text); } if (DestinationTownTextbox.Text != "") { url.Append("&destinationTown=" + DestinationTownTextbox.Text); } if (DateOfDepartureCalendar.SelectedDate != DateTime.Parse("01/01/0001")) { url.Append("&dateOfDepature="+DateOfDepartureCalendar.SelectedDate.ToString("dd/MM/yyyy")); } if (NumberOfPassengersTextbox.Text != "") { url.Append("&numberOfPassengers="+NumberOfPassengersTextbox.Text); } #endregion HttpContext.Current.Response.Redirect(url.ToString()); } } }
HopefulLlama/EuropeBus
WebApp/customer/RouteListing.aspx.cs
C#
mit
4,434
package fr.esecure.banking.modele.client.entities; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** * Created with IntelliJ IDEA. * User: sowdiomyero * Date: 19/01/15 * Time: 12:58 * To change this template use File | Settings | File Templates. */ @Entity @Table(name="accuse_reception", schema="esecure") public class AccuseReception extends AbstractDateEntity implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name="ID_ACCUSE_RECEPTION") private Long idAccuseReception; @Column(name="DATE_ACCUSE_RECEPTION") @Temporal(javax.persistence.TemporalType.TIMESTAMP) private Date dateAccuseReception; @Column(name="MESSAGE") private String message; @Column(name="TYPE_RETOUR") private String typeRetour; public AccuseReception() { super(); // TODO Auto-generated constructor stub } public AccuseReception(Date dateAccuseReception, String message, String typeRetour) { super(); this.dateAccuseReception = dateAccuseReception; this.message=message; this.typeRetour=typeRetour; } public Long getIdAccuseReception() { return idAccuseReception; } public void setIdAccuseReception(Long idAccuseReception) { this.idAccuseReception = idAccuseReception; } /** * @return the message */ public String getMessage() { return message; } /** * @param message the message to set */ public void setMessage(String message) { this.message = message; } /** * @return the typeRetour */ public String getTypeRetour() { return typeRetour; } /** * @param typeRetour the typeRetour to set */ public void setTypeRetour(String typeRetour) { this.typeRetour = typeRetour; } /** * @return the dateAccuseReception */ public Date getDateAccuseReception() { return dateAccuseReception; } /** * @param dateAccuseReception the dateAccuseReception to set */ public void setDateAccuseReception(Date dateAccuseReception) { this.dateAccuseReception = dateAccuseReception; } }
sowdiomyero/cr_med
persistence/crmed_modele/src/main/java/fr/esecure/banking/modele/client/entities/AccuseReception.java
Java
mit
2,209
require 'celluloid' require 'celluloid/io' require 'celluloid/websocket' require 'celluloid/io/rack_socket' require 'rack/request' require 'forwardable' module Celluloid class WebSocket def self.rack(*args) if defined?(PhusionPassenger) PhusionPassenger.advertised_concurrency_level = 0 end lambda do |env| if env['HTTP_UPGRADE'].nil? || env['HTTP_UPGRADE'].downcase != 'websocket' return [400, {}, "No Upgrade header or Upgrade not for websocket."] end env['rack.hijack'].call socket = Celluloid::IO::RackSocket.new(env['rack.hijack_io'].to_io) new(*args).async.initialize_websocket(env, socket) [200,{},""] end end end end
tinco/celluloid-websocket
lib/celluloid/websocket/rack.rb
Ruby
mit
684
<?php /** * Created by IntelliJ IDEA. * User: riccardosibani * Date: 30/09/15 * Time: 15:13 */ class Note { public $date; public $kind; public $object; function __construct($date, $kind, $object){ $this->date = $date; $this->kind = $kind; $this->object = $object; } function getDate(){ return $this->date; } function getKind(){ return $this->kind; } function getObject(){ return $this->object; } }
pinair/ClassCrowd
Classe/note.php
PHP
mit
499
const vad = require('voice-activity-detection'); function VoiceActivityDetector(onStart, onStop){ var self = this; this.onStart = onStart; this.onStop = onStop; this.audioContext = null; this.listening = false; this.firstWordSpoken = false; this.timeout = null; this.initialize = function(){ try { window.AudioContext = window.AudioContext || window.webkitAudioContext; self.audioContext = new AudioContext(); navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia; navigator.getUserMedia({audio: true}, self._startUserMedia, function(){ console.warn('Could not connect microphone. Possible rejected by the user or is blocked by the browser.'); }); } catch (e) { console.warn('Mic input is not supported by the browser.'); } }; this.startDetection = function(){ self.listening = true; self.firstWordSpoken = false; self._clearTimeout(); self.timeout = setTimeout(function(){ if(self.listening && !self.firstWordSpoken){ // timeout self._onVoiceStop(); } }, 3000); }; this.stopDetection = function(){ self.listening = false; self._clearTimeout(); }; this._startUserMedia = function(stream){ var options = { onVoiceStart: function () { if(self.listening){ if(!self.firstWordSpoken){ self.firstWordSpoken = true; self._clearTimeout(); } self.onStart(); } }, onVoiceStop: self._onVoiceStop, onUpdate: function (val) { //console.log('curr val:', val); } }; vad(self.audioContext, stream, options); }; this._onVoiceStop = function(){ if(self.listening){ self.listening = false; self._clearTimeout(); self.onStop(); } }; this._clearTimeout = function(){ if(self.timeout){ clearTimeout(self.timeout); } }; } module.exports = VoiceActivityDetector;
sakirtemel/MMM-alexa
src/VoiceActivityDetector.js
JavaScript
mit
2,393
using System; namespace AlephNote.Common.Themes { public enum AlephThemeType { Fallback, Default, Theme, Modifier } public static class AlephThemeTypeHelper { public static AlephThemeType Parse(string v) { if ("fallback".Equals(v, StringComparison.InvariantCultureIgnoreCase)) return AlephThemeType.Fallback; if ("default".Equals(v, StringComparison.InvariantCultureIgnoreCase)) return AlephThemeType.Default; if ("theme".Equals(v, StringComparison.InvariantCultureIgnoreCase)) return AlephThemeType.Theme; if ("modifier".Equals(v, StringComparison.InvariantCultureIgnoreCase)) return AlephThemeType.Modifier; throw new ArgumentException("Invalid value for AlephThemeType : '"+v+"'"); } } }
Mikescher/AlephNote
Source/AlephNote.Common/Themes/AlephThemeType.cs
C#
mit
736
package model; import java.util.ResourceBundle; /** * A RuntimeException mainly intended for parsing problems encountered when * parsing commands. * * @author Ian Eldridge-Allegra * */ public class SLogoException extends RuntimeException { private static final long serialVersionUID = -372878051697616743L; private static final ResourceBundle ERROR_BUNDLE = ResourceBundle.getBundle("resources.errors.SyntaxErrors"); /** * Assumes that the key passed is valid, relies on properties file. * * @param key To the message in the syntaxerrors bundle. * @param objects Used for String.format */ public SLogoException(String key, Object... objects) { super(String.format(ERROR_BUNDLE.getString(key), objects)); } public SLogoException() { super("This is the default SLogoException message -- use constructor " + "SLogoException(s, objects) unless planning to change the message elsewhere"); } }
tran-d/SLogo
src/model/SLogoException.java
Java
mit
925
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: android/libcore/luni/src/main/java/java/util/IllegalFormatPrecisionException.java // #include "../../J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_JavaUtilIllegalFormatPrecisionException") #ifdef RESTRICT_JavaUtilIllegalFormatPrecisionException #define INCLUDE_ALL_JavaUtilIllegalFormatPrecisionException 0 #else #define INCLUDE_ALL_JavaUtilIllegalFormatPrecisionException 1 #endif #undef RESTRICT_JavaUtilIllegalFormatPrecisionException #pragma clang diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #if !defined (JavaUtilIllegalFormatPrecisionException_) && (INCLUDE_ALL_JavaUtilIllegalFormatPrecisionException || defined(INCLUDE_JavaUtilIllegalFormatPrecisionException)) #define JavaUtilIllegalFormatPrecisionException_ #define RESTRICT_JavaUtilIllegalFormatException 1 #define INCLUDE_JavaUtilIllegalFormatException 1 #include "../../java/util/IllegalFormatException.h" /*! @brief An <code>IllegalFormatPrecisionException</code> will be thrown if the precision is a negative other than -1 or in other cases where precision is not supported. - seealso: java.lang.RuntimeException */ @interface JavaUtilIllegalFormatPrecisionException : JavaUtilIllegalFormatException #pragma mark Public /*! @brief Constructs a new <code>IllegalFormatPrecisionException</code> with specified precision. @param p the precision. */ - (instancetype)initWithInt:(jint)p; - (NSString *)getMessage; /*! @brief Returns the precision associated with the exception. @return the precision. */ - (jint)getPrecision; @end J2OBJC_EMPTY_STATIC_INIT(JavaUtilIllegalFormatPrecisionException) FOUNDATION_EXPORT void JavaUtilIllegalFormatPrecisionException_initWithInt_(JavaUtilIllegalFormatPrecisionException *self, jint p); FOUNDATION_EXPORT JavaUtilIllegalFormatPrecisionException *new_JavaUtilIllegalFormatPrecisionException_initWithInt_(jint p) NS_RETURNS_RETAINED; FOUNDATION_EXPORT JavaUtilIllegalFormatPrecisionException *create_JavaUtilIllegalFormatPrecisionException_initWithInt_(jint p); J2OBJC_TYPE_LITERAL_HEADER(JavaUtilIllegalFormatPrecisionException) #endif #pragma clang diagnostic pop #pragma pop_macro("INCLUDE_ALL_JavaUtilIllegalFormatPrecisionException")
actorapp/J2ObjC-Framework
Scripts/Template/Headers/java/util/IllegalFormatPrecisionException.h
C
mit
2,273
/* * Copyright (c) 2021 Morwenn * SPDX-License-Identifier: MIT */ #ifndef CPPSORT_DETAIL_LONGEST_NON_DESCENDING_SUBSEQUENCE_H_ #define CPPSORT_DETAIL_LONGEST_NON_DESCENDING_SUBSEQUENCE_H_ //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <iterator> #include <type_traits> #include <utility> #include <vector> #include <cpp-sort/utility/as_function.h> #include <cpp-sort/utility/functional.h> #include <cpp-sort/utility/size.h> #include <cpp-sort/utility/static_const.h> #include "functional.h" #include "iterator_traits.h" #include "upper_bound.h" namespace cppsort { namespace detail { // Longest non-decreasing subsequence, computed with an altered // patience sorting algorithm - returns a pair containing the // size of the LNDS and the size of the collection template< bool RecomputeSize, typename ForwardIterator, typename Compare, typename Projection > auto longest_non_descending_subsequence(ForwardIterator first, ForwardIterator last, difference_type_t<ForwardIterator> size, Compare compare, Projection projection) -> std::pair<difference_type_t<ForwardIterator>, difference_type_t<ForwardIterator>> { constexpr bool is_random_access = std::is_base_of< std::random_access_iterator_tag, iterator_category_t<ForwardIterator> >::value; if (first == last) { return { 0, 0 }; } if (std::next(first) == last) { return { 1, 1 }; } // The size is only needed at the end to actually compute Rem, but // we can compute it as-we-go when it is not known in order to avoid // making two passes over the sequence - when the sequence is made // of random-access iterators, we only compute it once if (RecomputeSize && is_random_access) { size = std::distance(first, last); } auto&& proj = utility::as_function(projection); // Top (smaller) elements in patience sorting stacks std::vector<ForwardIterator> stack_tops; while (first != last) { auto it = detail::upper_bound( stack_tops.begin(), stack_tops.end(), proj(*first), compare, indirect(projection)); if (it == stack_tops.end()) { // The element is bigger than everything else, // create a new "stack" to put it stack_tops.emplace_back(first); } else { // The element is strictly smaller than the top // of a given stack, replace the stack top *it = first; } ++first; if (RecomputeSize && not is_random_access) { // Compute the size as-we-go if iterators are not random-access ++size; } } return { stack_tops.size(), size }; } }} #endif // CPPSORT_DETAIL_LONGEST_NON_DESCENDING_SUBSEQUENCE_H_
Morwenn/cpp-sort
include/cpp-sort/detail/longest_non_descending_subsequence.h
C
mit
3,159
<template name="userInfo"> {{#if isLoading}} {{> loading}} {{else}} {{#if editingUser}} {{> userEdit (userToEdit)}} {{else}} {{#with user}} <div class="about clearfix"> <div class="thumb"> {{> avatar username=username}} </div> <div class="info"> <h3 title="{{username}}"><i class="status-{{status}}"></i> {{username}}</h3> <p>{{name}}</p> <p> {{#each roleTags}} <span class="role-tag" data-role="{{description}}">{{description}}</span> {{/each}} </p> {{#if utc}}<p><i class="icon-clock"></i>{{userTime}} (UTC {{utc}})</p>{{/if}} {{#if hasPermission 'view-full-other-user-info'}} {{#if hasEmails}} {{#each emails}} <p><i class="icon-mail"></i> {{address}}{{#if verified}}&nbsp;<i class="icon-ok"></i>{{/if}}</p> {{/each}} {{/if}} {{#if hasPhone}} {{#each phone}} <p><i class="icon-phone"></i> {{phoneNumber}}</p> {{/each}} {{/if}} {{#if lastLogin}} <p><i class="icon-calendar"></i> {{_ "Created_at"}}: {{createdAt}}</p> {{/if}} {{#if lastLogin}} <p><i class="icon-calendar"></i> {{_ "Last_login"}}: {{lastLogin}}</p> {{/if}} {{#if services.facebook.id}} <p><i class="icon-facebook"></i><a href="{{services.facebook.link}}" target="_blank">{{services.facebook.name}}</a></p> {{/if}} {{#if services.github.id}} <p><i class="icon-github-circled"></i><a href="https://www.github.com/{{services.github.username}}" target="_blank">{{services.github.username}}</a></p> {{/if}} {{#if services.gitlab.id}} <p><i class="icon-gitlab"></i>{{services.gitlab.username}}</p> {{/if}} {{#if services.google.id}} <p><i class="icon-gplus"></i><a href="https://plus.google.com/{{services.google.id}}" target="_blank">{{services.google.name}}</a></p> {{/if}} {{#if services.linkedin.id}} <p><i class="icon-linkedin"></i><a href="{{services.linkedin.publicProfileUrl}}" target="_blank">{{linkedinUsername}}</a></p> {{/if}} {{#if servicesMeteor.id}} <p><i class="icon-meteor"></i>{{servicesMeteor.username}}</p> {{/if}} {{#if services.twitter.id}} <p><i class="icon-twitter"></i><a href="https://twitter.com/{{services.twitter.screenName}}" target="_blank">{{services.twitter.screenName}}</a></p> {{/if}} {{#if services.wordpress.id}} <p><i class="icon-wordpress"></i>{{services.wordpress.user_login}}</p> {{/if}} {{/if}} </div> </div> {{/with}} <nav> {{#if user.active}} {{> videoButtons}} {{/if}} {{#if isDirect}} {{#if isBlocker}} <button class='button button-block tertiary unblock-user'><span><i class='icon-block'></i> {{_ "Unblock_User"}}</span></button> {{else}} <button class='button button-block danger block-user'><span><i class='icon-block'></i> {{_ "Block_User"}}</span></button> {{/if}} {{/if}} {{#if showAll}} {{#if canDirectMessage user.username}} <button class='button button-block primary pvt-msg'><span><i class='icon-chat'></i> {{_ "Conversation"}}</span></button> {{/if}} {{#if canSetOwner}} {{#if isOwner}} <button class="button button-block danger unset-owner"><span>{{_ "Remove_as_owner"}}</span></button> {{else}} <button class="button button-block tertiary set-owner"><span>{{_ "Set_as_owner"}}</span></button> {{/if}} {{/if}} {{#if canSetModerator}} {{#if isModerator}} <button class="button button-block danger unset-moderator"><span>{{_ "Remove_as_moderator"}}</span></button> {{else}} <button class="button button-block tertiary set-moderator"><span>{{_ "Set_as_moderator"}}</span></button> {{/if}} {{/if}} {{#if canMuteUser}} {{#if userMuted}} <button class="button button-block secondary unmute-user primary"><span>{{_ "Unmute_user"}}</span></button> {{else}} <button class="button button-block danger mute-user"><span>{{_ "Mute_user"}}</span></button> {{/if}} {{/if}} {{#if canRemoveUser}} <button class="button button-block danger remove-user"><span>{{_ "Remove_from_room"}}</span></button> {{/if}} {{/if}} {{#unless hideAdminControls}} {{#if hasPermission 'edit-other-user-info'}} <button class='button button-block primary edit-user'><span><i class='icon-edit'></i> {{_ "Edit"}}</span></button> {{/if}} {{#if hasPermission 'assign-admin-role'}} {{#if hasAdminRole}} <button class='button button-block danger remove-admin'><span><i class='icon-shield'></i> {{_ "Remove_Admin"}}</span></button> {{else}} <button class='button button-block secondary make-admin'><span><i class='icon-shield'></i> {{_ "Make_Admin"}}</span></button> {{/if}} {{/if}} {{#if hasPermission 'edit-other-user-active-status'}} {{#if active}} <button class='button button-block danger deactivate'><span><i class='icon-block'></i> {{_ "Deactivate"}}</span></button> {{else}} <button class='button button-block secondary activate'><span><i class='icon-ok-circled'></i> {{_ "Activate"}}</span></button> {{/if}} {{/if}} {{#if hasPermission 'delete-user'}} <button class='button button-block danger delete'><span><i class='icon-trash'></i> {{_ "Delete"}}</span></button> {{/if}} {{/unless}} {{#if showAll}} <button class='button back'><span>{{_ "View_All"}} <i class='icon-angle-right'></i></span></button> {{/if}} </nav> {{/if}} {{/if}} </template>
fazilou/chat
packages/rocketchat-ui-flextab/flex-tab/tabs/userInfo.html
HTML
mit
5,475
require 'test_helper' class SeeSVeeTest < ActiveSupport::TestCase test "truth" do assert_kind_of Module, SeeSVee end end
kdmny/see-s-vee
test/see-s-vee_test.rb
Ruby
mit
130
/* * Toady * Copyright 2015 Tom Shawver */ // Dependencies var irc = require('../lib/irc'); var log = require('../lib/log'); var ModManager = require('./modmanager/ModManager'); irc.setMaxListeners(0); irc.addListener('error', function(err) { log.error(err); }); log.info('Loading Core modules...'); ModManager.loadCoreMods().then(function() { log.info('Loading User modules...'); return ModManager.loadUserMods(); }).then(function() { log.info('Connecting to IRC...'); return irc.connect(3); }).then(function() { log.info('Connected.'); }).catch(function(err) { log.error(err); throw err; });
tomhatzer/Toady
app/Toady.js
JavaScript
mit
616
<a class="ba bg-animate black br2 db dib-ns f5 hover-bg-near-black hover-white link mt5 mr1 ph3 pv1{{ with .classes }} {{ . }}{{ end }}" href="{{ with .RelPermalink }}{{ . }}{{ end }}"> {{ with .copy }}{{ . | default "Mobe" }}{{ end }} </a>
sonnetmedia/whatsnous.com
themes/thenewdynamic-hugo-core-theme/layouts/partials/components/button-bordered.html
HTML
mit
243
function getMax(...args){ let arr = []; let len = args.length; for(let i = 0; i < len; i += 1){ if(typeof args[i] === "number"){ arr.push(parseInt(args[i], 10)); } else { continue; } } let max = arr.reduce(function(a, b){ return Math.max(a,b); }); console.log(max); } getMax(99 ,2 ,5 ,9 ,"Pleven");
MBrato/JavaScript
JavaScript-Fundamentals/08.Functions/02.getLargestNumber.js
JavaScript
mit
322
package br.uefs.ecomp.PBLMetroSaoPaulo.view; import java.awt.EventQueue; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import br.uefs.ecomp.PBLMetroSaoPaulo.controller.Controller; public class ProgramMain { /** * Launch the application. */ public static void main(String[] args) { //new MouseTracker().start(); final Controller controller = Controller.getInstance(); try { controller.lerNoArquivoEInsere("MapaMetro.txt"); controller.lerArquivoCoordenadas(); } catch (IOException ex) { Logger.getLogger(MetroSaoPaulo.class.getName()).log(Level.SEVERE, null, ex); } EventQueue.invokeLater(new Runnable() { public void run() { try { SaoPauloGUI window = new SaoPauloGUI(); window.setVisible(true); Rotulo window2 = new Rotulo(); window2.setVisible(true); } catch (Exception e) { e.printStackTrace(); } } }); } }
franciscotis/PBLMetroSaoPaulo
sourceCode-Abel-Francis/src/main/br/uefs/ecomp/PBLMetroSaoPaulo/view/ProgramMain.java
Java
mit
1,027
# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: - Using welcoming and inclusive language - Being respectful of differing viewpoints and experiences - Gracefully accepting constructive criticism - Focusing on what is best for the community - Showing empathy towards other community members Examples of unacceptable behavior by participants include: - The use of sexualized language or imagery and unwelcome sexual attention or advances - Trolling, insulting/derogatory comments, and personal or political attacks - Public or private harassment - Publishing others' private information, such as a physical or electronic address, without explicit permission - Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org [version]: http://contributor-covenant.org/version/1/4/
wwwebman/front-end-interview-questions
CODE_OF_CONDUCT.md
Markdown
mit
3,214
# NI-RSeries Labview and C shared library for using a Labview R series card as a simple digitizer.
BBN-Q/NI-RSeries
README.md
Markdown
mit
99
<!doctype html> <html lang="en" class="no-js"> <head> <meta charset="utf-8"> <!-- begin SEO --> <title>Lorem Ipsum - Witty AI</title> <meta name="description" content="A personal website."> <meta property="og:locale" content="en_US"> <meta property="og:site_name" content="Witty AI"> <meta property="og:title" content="Lorem Ipsum"> <link rel="canonical" href="http://localhost:4000/lorem-ipsum/"> <meta property="og:url" content="http://localhost:4000/lorem-ipsum/"> <meta name="twitter:site" content="@mmistakes"> <meta name="twitter:title" content="Lorem Ipsum"> <meta name="twitter:description" content="A personal website."> <meta name="twitter:url" content="http://localhost:4000/lorem-ipsum/"> <meta name="twitter:card" content="summary"> <meta name="twitter:image" content="http://localhost:4000/assets/images/site-logo.png"> <meta property="og:image" content="http://localhost:4000/assets/images/site-logo.png"> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Organization", "url": "http://localhost:4000", "logo": "http://localhost:4000/assets/images/site-logo.png" } </script> <script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "Person", "name" : "Ryan Skorupski", "url" : "http://localhost:4000", "sameAs" : ["https://twitter.com/mmistakes","https://facebook.com/michaelrose"] } </script> <meta name="google-site-verification" content="UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y" /> <!-- end SEO --> <link href="http://localhost:4000/feed.xml" type="application/atom+xml" rel="alternate" title="Witty AI Feed"> <!-- http://t.co/dKP3o1e --> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script> document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js '; </script> <!-- For all browsers --> <link rel="stylesheet" href="http://localhost:4000/assets/css/main.css"> <meta http-equiv="cleartype" content="on"> <!-- start custom head snippets --> <!-- insert favicons. use http://realfavicongenerator.net/ --> <!-- end custom head snippets --> </head> <body class="layout--single"> <!--[if lt IE 9]> <div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</div> <![endif]--> <div class="masthead"> <div class="masthead__inner-wrap"> <div class="masthead__menu"> <nav id="site-nav" class="greedy-nav"> <button><div class="navicon"></div></button> <ul class="visible-links"> <li class="masthead__menu-item masthead__menu-item--lg"><a href="http://localhost:4000/">Witty AI</a></li> <li class="masthead__menu-item"><a href="http://localhost:4000/docs/quick-start-guide/">Quick-Start Guide</a></li> <li class="masthead__menu-item"><a href="http://localhost:4000/about/">About</a></li> <li class="masthead__menu-item"><a href="http://localhost:4000/year-archive/">Sample Posts</a></li> <li class="masthead__menu-item"><a href="http://localhost:4000/collection-archive/">Sample Collections</a></li> <li class="masthead__menu-item"><a href="http://localhost:4000/terms/">Terms &amp; Privacy Policy</a></li> </ul> <ul class="hidden-links hidden"></ul> </nav> </div> </div> </div> <div id="main" role="main"> <div class="sidebar sticky"> <div itemscope itemtype="http://schema.org/Person"> <div class="author__avatar"> <img src="http://localhost:4000/assets/images/michael-rose.jpg" class="author__avatar" alt="Ryan Skorupski" itemprop="image"> </div> <div class="author__content"> <h3 class="author__name" itemprop="name">Ryan Skorupski</h3> <p class="author__bio" itemprop="description"> Just another boring, tattooed, time traveling, designer. </p> </div> <div class="author__urls-wrapper"> <button class="btn btn--inverse">Follow</button> <ul class="author__urls social-icons"> <li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place"> <i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name"> Buffalo, NY </span> </li> <li> <a href="https://mademistakes.com" itemprop="url"> <i class="fa fa-fw fa-chain" aria-hidden="true"></i> Website </a> </li> <li><a href="https://twitter.com/mmistakes" itemprop="sameAs"> <i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter </a></li> <li><a href="https://www.facebook.com/michaelrose" itemprop="sameAs"> <i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook </a></li> <li><a href="https://instagram.com/mmistakes" itemprop="sameAs"> <i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram </a></li> <li><a href="https://github.com/mmistakes" itemprop="sameAs"> <i class="fa fa-fw fa-github" aria-hidden="true"></i> Github </a></li> </ul> </div> </div> </div> <article class="page" itemscope itemtype="http://schema.org/CreativeWork"> <meta itemprop="headline" content="Lorem Ipsum"> <div class="page__inner-wrap"> <header> <h1 class="page__title" itemprop="headline">Lorem Ipsum </h1> </header> <section class="page__content" itemprop="text"> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. Aenean bibendum. Curabitur mattis quam id urna. Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.</p> <p>Cras volutpat, lacus quis semper pharetra, nisi enim dignissim est, et sollicitudin quam ipsum vel mi. Sed commodo urna ac urna. Nullam eu tortor. Curabitur sodales scelerisque magna. Donec ultricies tristique pede. Nullam libero. Nam sollicitudin felis vel metus. Nullam posuere molestie metus. Nullam molestie, nunc id suscipit rhoncus, felis mi vulputate lacus, a ultrices tortor dolor eget augue. Aenean ultricies felis ut turpis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse placerat tellus ac nulla. Proin adipiscing sem ac risus. Maecenas nisi. Cras semper.</p> <p>Praesent interdum mollis neque. In egestas nulla eget pede. Integer eu purus sed diam dictum scelerisque. Morbi cursus velit et felis. Maecenas faucibus aliquet erat. In aliquet rhoncus tellus. Integer auctor nibh a nunc fringilla tempus. Cras turpis urna, dignissim vel, suscipit pulvinar, rutrum quis, sem. Ut lobortis convallis dui. Sed nonummy orci a justo. Morbi nec diam eget eros eleifend tincidunt.</p> <p>Curabitur non elit. Pellentesque iaculis, nisl non aliquet adipiscing, purus urna aliquet orci, sed sodales pede neque at massa. Pellentesque laoreet, enim eget varius mollis, sapien erat suscipit metus, sit amet iaculis nulla sapien id felis. Aliquam erat volutpat. Nam congue nulla a ligula. Morbi tempor hendrerit erat. Curabitur augue. Vestibulum nulla est, commodo et, fringilla quis, bibendum eget, ipsum. Suspendisse pulvinar iaculis ante. Mauris dignissim ante quis nisi. Aliquam ante mi, aliquam et, pellentesque ac, dapibus et, enim. In vulputate justo vel magna. Phasellus imperdiet justo. Proin odio orci, dapibus id, porta a, pellentesque id, erat. Aliquam erat volutpat. Mauris nonummy varius libero. Sed dolor ipsum, tempor non, aliquet et, pulvinar quis, dui. Pellentesque mauris diam, lobortis id, varius varius, facilisis at, nulla.</p> <p>Cras pede. Nullam id velit sit amet turpis tincidunt sagittis. Nunc malesuada. Nunc consequat scelerisque odio. Donec eu leo. Nunc pellentesque felis sed odio. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus lobortis metus in lectus. Cras mollis quam eget sapien. Pellentesque non lorem sit amet sem lacinia euismod.</p> <p>Nulla eget diam eget leo imperdiet consequat. Morbi nunc magna, pellentesque eu, porta at, ultricies ut, neque. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In tincidunt. Praesent ut orci id eros congue ultrices. Mauris non neque. Donec nulla ante, molestie sit amet, fermentum nec, blandit sit amet, purus. Fusce eget diam eu odio iaculis mollis. Phasellus consectetuer pede quis nisi. Proin non sem ut elit pulvinar faucibus. In a turpis nec augue fringilla elementum.</p> <p>Nullam felis. Donec in nulla. Suspendisse sodales, turpis in suscipit ullamcorper, enim nunc sagittis risus, eu auctor velit tortor ut turpis. Mauris id augue at neque aliquam eleifend. Sed eget augue. Nunc faucibus ligula sed massa. Etiam non nulla. Etiam accumsan ullamcorper nisl. In pharetra massa at nunc. Nunc elementum. Duis sodales enim nec libero. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Praesent dapibus eros sodales urna. Duis magna nisi, lobortis quis, tincidunt rutrum, posuere non, ipsum.</p> <p>Aliquam convallis neque vitae diam. In diam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis fermentum arcu in tortor. Sed nibh leo, rhoncus eu, fermentum et, scelerisque ac, massa. Cras id turpis. Etiam commodo sem luctus lorem. Morbi at mi. In rutrum. Aenean luctus pede euismod tortor. Phasellus dictum. Cras neque justo, venenatis sit amet, tristique et, vulputate in, dui. Etiam sed mi gravida sapien imperdiet dictum. Aliquam gravida orci a tortor. Donec tempor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vivamus risus ante, pellentesque vitae, luctus eget, scelerisque sed, libero. Donec massa.</p> <p>Donec libero mauris, volutpat at, convallis vel, laoreet euismod, augue. In accumsan malesuada risus. Mauris metus magna, condimentum in, nonummy non, ornare eu, velit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Proin posuere. Proin rhoncus rutrum lorem. Phasellus dignissim massa non libero volutpat tincidunt. In hac habitasse platea dictumst. Phasellus eget eros. Nulla in nulla. Vivamus quis mauris. Maecenas pharetra rhoncus tellus. Sed sit amet lacus.</p> <p>Quisque interdum felis a tellus. Aliquam sed diam ac velit aliquam rutrum. Morbi commodo, risus a pulvinar adipiscing, tortor pede posuere risus, ac ornare tellus massa nec lectus. Vivamus mollis metus ac sapien. Nam sed est a libero ullamcorper dapibus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean a erat ac nibh accumsan volutpat. Phasellus pulvinar consequat turpis. Curabitur ante metus, tempus ut, consequat eu, sollicitudin sit amet, justo. Duis ut libero.</p> <p>Հայերեն</p> <p>Lorem Ipsum-ը տպագրության և տպագրական արդյունաբերության համար նախատեսված մոդելային տեքստ է: Սկսած 1500-ականներից` Lorem Ipsum-ը հանդիսացել է տպագրական արդյունաբերության ստանդարտ մոդելային տեքստ, ինչը մի անհայտ տպագրիչի կողմից տարբեր տառատեսակների օրինակների գիրք ստեղծելու ջանքերի արդյունք է: Այս տեքստը ոչ միայն կարողացել է գոյատևել հինգ դարաշրջան, այլև ներառվել է էլեկտրոնային տպագրության մեջ` մնալով էապես անփոփոխ: Այն հայտնի է դարձել 1960-ականներին Lorem Ipsum բովանդակող Letraset էջերի թողարկման արդյունքում, իսկ ավելի ուշ համակարգչային տպագրության այնպիսի ծրագրերի թողարկման հետևանքով, ինչպիսին է Aldus PageMaker-ը, որը ներառում է Lorem Ipsum-ի տարատեսակներ:</p> <p>Български</p> <p>Lorem Ipsum е елементарен примерен текст, използван в печатарската и типографската индустрия. Lorem Ipsum е индустриален стандарт от около 1500 година, когато неизвестен печатар взема няколко печатарски букви и ги разбърква, за да напечата с тях книга с примерни шрифтове. Този начин не само е оцелял повече от 5 века, но е навлязъл и в публикуването на електронни издания като е запазен почти без промяна. Популяризиран е през 60те години на 20ти век със издаването на Letraset листи, съдържащи Lorem Ipsum пасажи, популярен е и в наши дни във софтуер за печатни издания като Aldus PageMaker, който включва различни версии на Lorem Ipsum.</p> <p>Català</p> <p>Lorem Ipsum és un text de farciment usat per la indústria de la tipografia i la impremta. Lorem Ipsum ha estat el text estàndard de la indústria des de l’any 1500, quan un impressor desconegut va fer servir una galerada de text i la va mesclar per crear un llibre de mostres tipogràfiques. No només ha sobreviscut cinc segles, sinó que ha fet el salt cap a la creació de tipus de lletra electrònics, romanent essencialment sense canvis. Es va popularitzar l’any 1960 amb el llançament de fulls Letraset que contenien passatges de Lorem Ipsum, i més recentment amb programari d’autoedició com Aldus Pagemaker que inclou versions de Lorem Ipsum.</p> <p>Hrvatski</p> <p>Lorem Ipsum je jednostavno probni tekst koji se koristi u tiskarskoj i slovoslagarskoj industriji. Lorem Ipsum postoji kao industrijski standard još od 16-og stoljeća, kada je nepoznati tiskar uzeo tiskarsku galiju slova i posložio ih da bi napravio knjigu s uzorkom tiska. Taj je tekst ne samo preživio pet stoljeća, već se i vinuo u svijet elektronskog slovoslagarstva, ostajući u suštini nepromijenjen. Postao je popularan tijekom 1960-ih s pojavom Letraset listova s odlomcima Lorem Ipsum-a, a u skorije vrijeme sa software-om za stolno izdavaštvo kao što je Aldus PageMaker koji također sadrži varijante Lorem Ipsum-a.</p> <p>Česky</p> <p>Lorem Ipsum je demonstrativní výplňový text používaný v tiskařském a knihařském průmyslu. Lorem Ipsum je považováno za standard v této oblasti už od začátku 16. století, kdy dnes neznámý tiskař vzal kusy textu a na jejich základě vytvořil speciální vzorovou knihu. Jeho odkaz nevydržel pouze pět století, on přežil i nástup elektronické sazby v podstatě beze změny. Nejvíce popularizováno bylo Lorem Ipsum v šedesátých letech 20. století, kdy byly vydávány speciální vzorníky s jeho pasážemi a později pak díky počítačovým DTP programům jako Aldus PageMaker.</p> <p>Româna</p> <p>Lorem Ipsum este pur şi simplu o machetă pentru text a industriei tipografice. Lorem Ipsum a fost macheta standard a industriei încă din secolul al XVI-lea, când un tipograf anonim a luat o planşetă de litere şi le-a amestecat pentru a crea o carte demonstrativă pentru literele respective. Nu doar că a supravieţuit timp de cinci secole, dar şi a facut saltul în tipografia electronică practic neschimbată. A fost popularizată în anii ’60 odată cu ieşirea colilor Letraset care conţineau pasaje Lorem Ipsum, iar mai recent, prin programele de publicare pentru calculator, ca Aldus PageMaker care includeau versiuni de Lorem Ipsum.</p> <p>Српски</p> <p>Lorem Ipsum је једноставно модел текста који се користи у штампарској и словослагачкој индустрији. Lorem ipsum је био стандард за модел текста још од 1500. године, када је непознати штампар узео кутију са словима и сложио их како би направио узорак књиге. Не само што је овај модел опстао пет векова, него је чак почео да се користи и у електронским медијима, непроменивши се. Популаризован је шездесетих година двадесетог века заједно са листовима летерсета који су садржали Lorem Ipsum пасусе, а данас са софтверским пакетом за прелом као што је Aldus PageMaker који је садржао Lorem Ipsum верзије.</p> </section> <footer class="page__meta"> </footer> </div> </article> </div> <div class="page__footer"> <footer> <!-- start custom footer snippets --> <!-- end custom footer snippets --> <div class="page__footer-follow"> <ul class="social-icons"> <li><strong>Follow:</strong></li> <li><a href="https://twitter.com/mmistakes"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li> <li><a href="https://facebook.com/michaelrose"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li> <li><a href="http://github.com/mmistakes"><i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li> <li><a href="http://localhost:4000/feed.xml"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> Feed</a></li> </ul> </div> <div class="page__footer-copyright">&copy; 2016 Ryan Skorupski. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div> </footer> </div> <script src="http://localhost:4000/assets/js/main.min.js"></script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-2011187-3', 'auto'); ga('send', 'pageview'); </script> </body> </html>
WittyAgnomen/WittyAgnomen.github.io
_site/lorem-ipsum/index.html
HTML
mit
19,868
FROM golang:1.5.3-onbuild ENTRYPOINT [ "/kazoo-offsets/kazoo-offsets" ] WORKDIR /kazoo-offsets ADD . /kazoo-offsets RUN go build
guildencrantz/kazoo-offsets
Dockerfile
Dockerfile
mit
131
<html> <head> <title>Renew Your Membership</title> <style type="text/css"> <!-- .style1 {color: #CA0000} body { background-color: #999; } --> </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width=700 border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" align="center" id="AutoNumber1" height="244"> <tr> <td width="100%" style="border-style: none; border-width: medium" bgcolor="#E2E2E2" height="68" valign="top"> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber5" height="72"> <tr> <td> <img src="roshambobanner.jpg" name="Roshambo"> </td> </tr> </table> </td> </tr> <tr> <td width="100%" style="border-style: none; border-width: medium" height="14"> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber2"> <tr> <td width="20%" bgcolor="#000000" bordercolor="#E2E2E2" style="border-left-style: none; border-left-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" align="center"> <b><font face="Arial" size="2" color="#FFFFFF"><a href="about_us.html">About Us</a></font></b></td> <td width="20%" bgcolor="#000000" bordercolor="#E2E2E2" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" align="center"> <b><font face="Arial" size="2" color="#FFFFFF"><a href="course_info.html">Course Information</a></font></b></td> </tr> </table> </td> </tr> <tr> <td width="100%" style="border-style: none; border-width: medium" height="123" valign="top"> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber6"> <tr> <td width="20%" style="border-style: none; border-width: medium" bgcolor="#CA0000" valign="top"> <div align="center"> <center> <p>&nbsp;</p> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="83%" id="AutoNumber7" height="1"> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="index.html"><img src="home.jpg" name="Home"></a></font></td> </tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="new_member.html"><img src="register.jpg" name="Register"></a></font></td> </tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="search_classes.html"><img src="classsearch.jpg" name="Class Search"></a></font></td> </tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="class_registration.html"><img src="classregister.jpg" name="Class Registration"></a></font></td> </tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="payment_information.html"><img src="payment.jpg" name="Make a payment"></a></font></td> </tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="check_availability.html"><img src="availability.jpg" name="Course Availability"></a></font></td> </tr> <tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="check_balance.html"><img src="checkaccount.jpg" name="Check Account"></a></font></td> </tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="update_membership.html"><img src="updateinfo.jpg" name="Update Info"></a></font></td> </tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="renew_membership.html"><img src="renew.jpg" name="Renew Membership"></a></font></td> </tr> <tr> <td width="100%" valign="top" bgcolor="#FFFFFF" height="1" bordercolor="#CA0000"> <p> <font face="Arial" size="2"><a href="change_password.html"><img src="password.jpg" name="Change Password"></a></font></td> </tr> </table> </center> </div> <p>&nbsp;</p> <p>&nbsp;</p> </td> <td width="75%" rowspan="2" valign="top" bgcolor="#FFFFFF" style="border-style: none; border-width: medium"><h1 align="center" style="margin-left: 4; margin-top: 5; margin-bottom: 2; margin-right:5"><font face="Verdana, Arial, Helvetica, sans-serif"></font><font size="5" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"> <br> Renew Your Membership</font></h1> <?php $link = mysql_connect("localhost","USERNAME","PASSWORD") or die ("Unable to connect."); $member_id = $_POST[member_id]; $password = $_POST[password]; $membership_level = $_POST[membership_level]; $timestamp = mktime(0,0,0,date("m"),date("d"),date("Y")+1); $expiration_date = date('Y-m-d', $timestamp); mysql_real_escape_string($member_id); mysql_real_escape_string($password); mysql_real_escape_string($membership_level); mysql_select_db('DATABASE', $link) or die ("Unable to select database"); if($member_id != null) { $member_exists = mysql_query("SELECT MEMBER_ID FROM MEMBER WHERE MEMBER_ID = '$member_id';") or die("Could not find member ID '$member_id' in database"); while ($row = mysql_fetch_assoc($member_exists)) $real_id = $row["MEMBER_ID"]; if($real_id == null || $real_id == "") die("Member does not exist"); if($password == null) die("You must enter a password"); if($membership_level == null) die("You must select a membership level"); $password_retrieve = mysql_query("SELECT PASSWORD FROM PASSWORD WHERE MEMBER_ID = '$member_id'") or die("Unable to retrieve password from database"); while($row = mysql_fetch_assoc($password_retrieve)) $actual_password = $row["PASSWORD"]; if ($password != $actual_password) die("Incorrect Password"); mysql_query("UPDATE MEMBER SET MEMBERSHIP_EXP = '$expiration_date', MEMBERSHIP_TYPE = '$membership_level' WHERE MEMBER_ID = '$real_id'") or die("Unable to update your membership"); if ($membership_level == "gold") $add_to_total = 150; else if ($membership_level == "silver") $add_to_total = 125; else $add_to_total = 100; $total_var = mysql_query("SELECT BALANCE FROM MEMBER WHERE MEMBER_ID = '$member_id'") or die("Unable to retrieve balance from table MEMBER"); while($row = mysql_fetch_assoc($total_var)) $user_total = $row["BALANCE"]; $user_total += $add_to_total; mysql_query("UPDATE MEMBER SET BALANCE = '$user_total' WHERE MEMBER_ID = '$member_id'") or die("Unable to re-insert balance"); echo "Member ID $member_id has been updated."; } else die("Please enter a Member ID"); mysql_close($link); ?> <table width="100%" border="0" cellpadding="20" cellspacing="0" style="margin-bottom: 2; font-size: 24px;"> <tr> <td align="center"> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" style="border-style: none; border-width: medium" height="17"> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber3" height="1"> <tr> <td width="100%" height="1" style="border-style: none; border-width: medium" valign="top" bgcolor="#111111">&nbsp;</td> </tr> <tr> <td width="100%" height="18" style="border-style: none; border-width: medium" bgcolor="#CA0000"> <p align="center"></td> </tr> </table> </td> </tr> </table> </body> </html>
joedanpar/Academic-Projects
CSCI 475/roshambo/renew_membership.php
PHP
mit
9,015
#ifndef MESH_H #define MESH_H #include <GL/glew.h> #include <glm/glm.hpp> #include "VertexBuffer.h" namespace viewer { class Mesh { public: explicit Mesh(VertexBuffer* buffer, const std::vector<GLfloat>& vertices, const std::vector<GLushort>& indices); Mesh(const Mesh&) = delete; Mesh(Mesh&&) = delete; void translate(const glm::vec3& v); void render() const; private: unsigned mStartIndex; unsigned mIndexCount; }; } #endif
DeonPoncini/libviewer
include/Mesh.h
C
mit
485
<?php /** * @internal * @copyright (c) 2012 Codestruck, LLC. * @license http://opensource.org/licenses/mit-license.php/ */ class DataSourceTest extends PHPUnit_Framework_TestCase { function testArraySort() { $array = array( array('id' => 1, 'name' => 'joe blow', 'age' => 40), array('id' => 2, 'name' => 'jane blow', 'age' => 40), ); $ds = new Octopus_DataSource_Array($array); $this->assertTrue($ds->isSortable('id'), 'id is sortable'); $this->assertTrue($ds->isSortable('name'), 'name is sortable'); $this->assertTrue($ds->isSortable('age'), 'age is sortable'); $this->assertFalse($ds->isSortable('fake_col'), 'non-existant column is not sortable'); $ds = $ds->sort('name', true); $this->assertEquals(array($array[1], $array[0]), $ds->getArray()); $ds = $ds->sort('name', false); $this->assertEquals(array($array[0], $array[1]), $ds->getArray()); $ds = $ds->unsort('name'); $this->assertEquals($array, $ds->getArray(), 'unsort works'); $ds = $ds->sort('age', false); $ds = $ds->sort('name', true, false); $this->assertTrue($ds->isSortedBy('age', $asc, $index)); $this->assertFalse($asc, 'age not sorted asc'); $this->assertEquals(1, $index, 'age sorted after name'); $this->assertTrue($ds->isSortedBy('name', $asc, $index)); $this->assertTrue($asc, 'name sorted asc'); $this->assertEquals(0, $index, 'name sorted first because it was the most recent sort() call'); $this->assertFalse($ds->isSortedBy('id'), 'not sorted by id'); $this->assertEquals(array($array[1], $array[0]), $ds->getArray(), "multi-col sort works"); $ds = $ds->unsort(); $this->assertEquals($array, $ds->getArray(), "clearSorting works"); } function testArrayFilter() { $array = array( array('id' => 1, 'name' => 'joe blow'), array('id' => 2, 'name' => 'jane blow'), ); $ds = new Octopus_DataSource_Array($array); $ds = $ds->filter('name', 'jane blow'); $this->assertEquals(array($array[1]), $ds->getArray()); $ds = $ds->unfilter(); $this->assertEquals($array, $ds->getArray()); $ds = $ds->filter('name', 'joe blow'); $this->assertEquals(1, count($ds)); $this->assertEquals(array($array[0]), $ds->getArray()); $ds = $ds->unfilter(); $this->assertEquals($array, $ds->getArray()); } function testArraySortAndFilter() { $array = array( array('id' => 1, 'name' => 'joe blow', 'age' => 21), array('id' => 2, 'name' => 'jane blow', 'age' => 21), array('id' => 3, 'name' => 'somebody else', 'age' => 44) ); $ds = new Octopus_DataSource_Array($array); $ds = $ds->sort('name'); $ds = $ds->filter('age', 21); $this->assertEquals( array(array('id' => 2, 'name' => 'jane blow', 'age' => 21), array('id' => 1, 'name' => 'joe blow', 'age' => 21)), $ds->getArray() ); } function testArrayLimit() { $array = array( array('id' => 1, 'name' => 'joe blow', 'age' => 21), array('id' => 2, 'name' => 'jane blow', 'age' => 21), array('id' => 3, 'name' => 'somebody else', 'age' => 44) ); $ds = new Octopus_DataSource_Array($array); $l = $ds->limit(0, 2); $this->assertEquals(array_slice($array, 0, 2), $l->getArray()); $l = $l->unlimit(); $this->assertEquals($array, $l->getArray()); $l = $ds->limit(2); $this->assertEquals(array_slice($array, 2, 1), $l->getArray()); $l = $l->limit(1, 5); $this->assertEquals(array_slice($array, 1), $l->getArray()); } } /** * @internal * @copyright (c) 2012 Codestruck, LLC. * @license http://opensource.org/licenses/mit-license.php/ */ class DataSourceTestModel extends Octopus_Model { protected $fields = array( 'name', 'age' => 'numeric' ); }
codestruck/octopus
tests/classes/DataSourceTest.php
PHP
mit
4,119
<!DOCTYPE html> <html> <head> <title>jquery.asyncimage.js demo</title> <style type="text/css"> #image { margin: 60px auto; width: 600px; height: 600px; font-family: sans-serif; text-align: center; border: 1px solid #eee; background-size: cover; } #progress{ display: none; margin-top: 60px; } </style> <script src="http://code.jquery.com/jquery.min.js"></script> <script src="../jquery.asyncimage.js"></script> <script> $(document).ready(function() { $('#image').asyncimage({ // load a big image src: 'night.jpg', // set background-image background: true, // start download handler start: function() { $('#progress').show(); }, // progress event handler progress: function(p) { $('#progress').val(p); }, // success event handler success: function() { $('#progress').hide(); } }); }) </script> </head> <body> <div id="image"> <progress id="progress" max="100" value="0"></progress> </div> </body> </html>
kmacrow/jquery.asyncimage.js
demo/index.html
HTML
mit
1,077
<pre> 定义和用法 floor() 方法可对一个数进行下舍入。 语法 Math.floor(x) 参数 描述 x 必需。任意数值或表达式。 返回值 小于等于 x,且与 x 最接近的整数。 说明 floor() 方法执行的是向下取整计算,它返回的是小于或等于函数参数,并且与之最接近的整数。 实例 In this example we will use the floor() method on different numbers: &ltscript type="text/javascript"> document.write(Math.floor(0.60) + "&ltbr />") document.write(Math.floor(0.40) + "&ltbr />") document.write(Math.floor(5) + "&ltbr />") document.write(Math.floor(5.1) + "&ltbr />") document.write(Math.floor(-5.1) + "&ltbr />") document.write(Math.floor(-5.9)) &lt/script> 输出: 0 0 5 5 -6 -6 </pre>
shehuaqigai/JSBOOK
resource/docs/math/floor.html
HTML
mit
779
/* * Copyright (c) Estonian Information System Authority * * 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. */ enum ErrorCode { // Timeout errors ERR_WEBEID_ACTION_TIMEOUT = "ERR_WEBEID_ACTION_TIMEOUT", ERR_WEBEID_USER_TIMEOUT = "ERR_WEBEID_USER_TIMEOUT", // Health errors ERR_WEBEID_VERSION_MISMATCH = "ERR_WEBEID_VERSION_MISMATCH", ERR_WEBEID_VERSION_INVALID = "ERR_WEBEID_VERSION_INVALID", ERR_WEBEID_EXTENSION_UNAVAILABLE = "ERR_WEBEID_EXTENSION_UNAVAILABLE", ERR_WEBEID_NATIVE_UNAVAILABLE = "ERR_WEBEID_NATIVE_UNAVAILABLE", ERR_WEBEID_UNKNOWN_ERROR = "ERR_WEBEID_UNKNOWN_ERROR", // Security errors ERR_WEBEID_CONTEXT_INSECURE = "ERR_WEBEID_CONTEXT_INSECURE", // Third party errors ERR_WEBEID_USER_CANCELLED = "ERR_WEBEID_USER_CANCELLED", ERR_WEBEID_NATIVE_INVALID_ARGUMENT = "ERR_WEBEID_NATIVE_INVALID_ARGUMENT", ERR_WEBEID_NATIVE_FATAL = "ERR_WEBEID_NATIVE_FATAL", // Developer mistakes ERR_WEBEID_ACTION_PENDING = "ERR_WEBEID_ACTION_PENDING", ERR_WEBEID_MISSING_PARAMETER = "ERR_WEBEID_MISSING_PARAMETER", } export default ErrorCode;
web-eid/web-eid.js
src/errors/ErrorCode.ts
TypeScript
mit
2,156
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2000-2001 Qualcomm Incorporated * Copyright (C) 2002-2003 Maxim Krasnyansky <[email protected]> * Copyright (C) 2002-2010 Marcel Holtmann <[email protected]> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <errno.h> #include <ctype.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include "bluetooth.h" #include "hci.h" void baswap(bdaddr_t *dst, const bdaddr_t *src) { register unsigned char *d = (unsigned char *) dst; register const unsigned char *s = (const unsigned char *) src; register int i; for (i = 0; i < 6; i++) d[i] = s[5-i]; } char *batostr(const bdaddr_t *ba) { char *str = bt_malloc(18); if (!str) return NULL; sprintf(str, "%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X", ba->b[0], ba->b[1], ba->b[2], ba->b[3], ba->b[4], ba->b[5]); return str; } bdaddr_t *strtoba(const char *str) { bdaddr_t b; bdaddr_t *ba = bt_malloc(sizeof(*ba)); if (ba) { str2ba(str, &b); baswap(ba, &b); } return ba; } int ba2str(const bdaddr_t *ba, char *str) { return sprintf(str, "%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X", ba->b[5], ba->b[4], ba->b[3], ba->b[2], ba->b[1], ba->b[0]); } int str2ba(const char *str, bdaddr_t *ba) { int i; if (bachk(str) < 0) { memset(ba, 0, sizeof(*ba)); return -1; } for (i = 5; i >= 0; i--, str += 3) ba->b[i] = strtol(str, NULL, 16); return 0; } int ba2oui(const bdaddr_t *ba, char *str) { return sprintf(str, "%2.2X-%2.2X-%2.2X", ba->b[5], ba->b[4], ba->b[3]); } int bachk(const char *str) { if (!str) return -1; if (strlen(str) != 17) return -1; while (*str) { if (!isxdigit(*str++)) return -1; if (!isxdigit(*str++)) return -1; if (*str == 0) break; if (*str++ != ':') return -1; } return 0; } int baprintf(const char *format, ...) { va_list ap; int len; va_start(ap, format); len = vprintf(format, ap); va_end(ap); return len; } int bafprintf(FILE *stream, const char *format, ...) { va_list ap; int len; va_start(ap, format); len = vfprintf(stream, format, ap); va_end(ap); return len; } int basprintf(char *str, const char *format, ...) { va_list ap; int len; va_start(ap, format); len = vsnprintf(str, (~0U) >> 1, format, ap); va_end(ap); return len; } int basnprintf(char *str, size_t size, const char *format, ...) { va_list ap; int len; va_start(ap, format); len = vsnprintf(str, size, format, ap); va_end(ap); return len; } void *bt_malloc(size_t size) { return malloc(size); } void bt_free(void *ptr) { free(ptr); } /* Bluetooth error codes to Unix errno mapping */ int bt_error(uint16_t code) { switch (code) { case 0: return 0; case HCI_UNKNOWN_COMMAND: return EBADRQC; case HCI_NO_CONNECTION: return ENOTCONN; case HCI_HARDWARE_FAILURE: return EIO; case HCI_PAGE_TIMEOUT: return EHOSTDOWN; case HCI_AUTHENTICATION_FAILURE: return EACCES; case HCI_PIN_OR_KEY_MISSING: return EINVAL; case HCI_MEMORY_FULL: return ENOMEM; case HCI_CONNECTION_TIMEOUT: return ETIMEDOUT; case HCI_MAX_NUMBER_OF_CONNECTIONS: case HCI_MAX_NUMBER_OF_SCO_CONNECTIONS: return EMLINK; case HCI_ACL_CONNECTION_EXISTS: return EALREADY; case HCI_COMMAND_DISALLOWED: case HCI_TRANSACTION_COLLISION: case HCI_ROLE_SWITCH_PENDING: return EBUSY; case HCI_REJECTED_LIMITED_RESOURCES: case HCI_REJECTED_PERSONAL: case HCI_QOS_REJECTED: return ECONNREFUSED; case HCI_HOST_TIMEOUT: return ETIMEDOUT; case HCI_UNSUPPORTED_FEATURE: case HCI_QOS_NOT_SUPPORTED: case HCI_PAIRING_NOT_SUPPORTED: case HCI_CLASSIFICATION_NOT_SUPPORTED: case HCI_UNSUPPORTED_LMP_PARAMETER_VALUE: case HCI_PARAMETER_OUT_OF_RANGE: case HCI_QOS_UNACCEPTABLE_PARAMETER: return EOPNOTSUPP; case HCI_INVALID_PARAMETERS: case HCI_SLOT_VIOLATION: return EINVAL; case HCI_OE_USER_ENDED_CONNECTION: case HCI_OE_LOW_RESOURCES: case HCI_OE_POWER_OFF: return ECONNRESET; case HCI_CONNECTION_TERMINATED: return ECONNABORTED; case HCI_REPEATED_ATTEMPTS: return ELOOP; case HCI_REJECTED_SECURITY: case HCI_PAIRING_NOT_ALLOWED: case HCI_INSUFFICIENT_SECURITY: return EACCES; case HCI_UNSUPPORTED_REMOTE_FEATURE: return EPROTONOSUPPORT; case HCI_SCO_OFFSET_REJECTED: return ECONNREFUSED; case HCI_UNKNOWN_LMP_PDU: case HCI_INVALID_LMP_PARAMETERS: case HCI_LMP_ERROR_TRANSACTION_COLLISION: case HCI_LMP_PDU_NOT_ALLOWED: case HCI_ENCRYPTION_MODE_NOT_ACCEPTED: return EPROTO; default: return ENOSYS; } } const char *bt_compidtostr(int compid) { switch (compid) { case 0: return "Ericsson Technology Licensing"; case 1: return "Nokia Mobile Phones"; case 2: return "Intel Corp."; case 3: return "IBM Corp."; case 4: return "Toshiba Corp."; case 5: return "3Com"; case 6: return "Microsoft"; case 7: return "Lucent"; case 8: return "Motorola"; case 9: return "Infineon Technologies AG"; case 10: return "Cambridge Silicon Radio"; case 11: return "Silicon Wave"; case 12: return "Digianswer A/S"; case 13: return "Texas Instruments Inc."; case 14: return "Ceva, Inc. (formerly Parthus Technologies, Inc.)"; case 15: return "Broadcom Corporation"; case 16: return "Mitel Semiconductor"; case 17: return "Widcomm, Inc"; case 18: return "Zeevo, Inc."; case 19: return "Atmel Corporation"; case 20: return "Mitsubishi Electric Corporation"; case 21: return "RTX Telecom A/S"; case 22: return "KC Technology Inc."; case 23: return "NewLogic"; case 24: return "Transilica, Inc."; case 25: return "Rohde & Schwarz GmbH & Co. KG"; case 26: return "TTPCom Limited"; case 27: return "Signia Technologies, Inc."; case 28: return "Conexant Systems Inc."; case 29: return "Qualcomm"; case 30: return "Inventel"; case 31: return "AVM Berlin"; case 32: return "BandSpeed, Inc."; case 33: return "Mansella Ltd"; case 34: return "NEC Corporation"; case 35: return "WavePlus Technology Co., Ltd."; case 36: return "Alcatel"; case 37: return "NXP Semiconductors (formerly Philips Semiconductors)"; case 38: return "C Technologies"; case 39: return "Open Interface"; case 40: return "R F Micro Devices"; case 41: return "Hitachi Ltd"; case 42: return "Symbol Technologies, Inc."; case 43: return "Tenovis"; case 44: return "Macronix International Co. Ltd."; case 45: return "GCT Semiconductor"; case 46: return "Norwood Systems"; case 47: return "MewTel Technology Inc."; case 48: return "ST Microelectronics"; case 49: return "Synopsis"; case 50: return "Red-M (Communications) Ltd"; case 51: return "Commil Ltd"; case 52: return "Computer Access Technology Corporation (CATC)"; case 53: return "Eclipse (HQ Espana) S.L."; case 54: return "Renesas Electronics Corporation"; case 55: return "Mobilian Corporation"; case 56: return "Terax"; case 57: return "Integrated System Solution Corp."; case 58: return "Matsushita Electric Industrial Co., Ltd."; case 59: return "Gennum Corporation"; case 60: return "BlackBerry Limited (formerly Research In Motion)"; case 61: return "IPextreme, Inc."; case 62: return "Systems and Chips, Inc."; case 63: return "Bluetooth SIG, Inc."; case 64: return "Seiko Epson Corporation"; case 65: return "Integrated Silicon Solution Taiwan, Inc."; case 66: return "CONWISE Technology Corporation Ltd"; case 67: return "PARROT SA"; case 68: return "Socket Mobile"; case 69: return "Atheros Communications, Inc."; case 70: return "MediaTek, Inc."; case 71: return "Bluegiga"; case 72: return "Marvell Technology Group Ltd."; case 73: return "3DSP Corporation"; case 74: return "Accel Semiconductor Ltd."; case 75: return "Continental Automotive Systems"; case 76: return "Apple, Inc."; case 77: return "Staccato Communications, Inc."; case 78: return "Avago Technologies"; case 79: return "APT Licensing Ltd."; case 80: return "SiRF Technology"; case 81: return "Tzero Technologies, Inc."; case 82: return "J&M Corporation"; case 83: return "Free2move AB"; case 84: return "3DiJoy Corporation"; case 85: return "Plantronics, Inc."; case 86: return "Sony Ericsson Mobile Communications"; case 87: return "Harman International Industries, Inc."; case 88: return "Vizio, Inc."; case 89: return "Nordic Semiconductor ASA"; case 90: return "EM Microelectronic-Marin SA"; case 91: return "Ralink Technology Corporation"; case 92: return "Belkin International, Inc."; case 93: return "Realtek Semiconductor Corporation"; case 94: return "Stonestreet One, LLC"; case 95: return "Wicentric, Inc."; case 96: return "RivieraWaves S.A.S"; case 97: return "RDA Microelectronics"; case 98: return "Gibson Guitars"; case 99: return "MiCommand Inc."; case 100: return "Band XI International, LLC"; case 101: return "Hewlett-Packard Company"; case 102: return "9Solutions Oy"; case 103: return "GN Netcom A/S"; case 104: return "General Motors"; case 105: return "A&D Engineering, Inc."; case 106: return "MindTree Ltd."; case 107: return "Polar Electro OY"; case 108: return "Beautiful Enterprise Co., Ltd."; case 109: return "BriarTek, Inc."; case 110: return "Summit Data Communications, Inc."; case 111: return "Sound ID"; case 112: return "Monster, LLC"; case 113: return "connectBlue AB"; case 114: return "ShangHai Super Smart Electronics Co. Ltd."; case 115: return "Group Sense Ltd."; case 116: return "Zomm, LLC"; case 117: return "Samsung Electronics Co. Ltd."; case 118: return "Creative Technology Ltd."; case 119: return "Laird Technologies"; case 120: return "Nike, Inc."; case 121: return "lesswire AG"; case 122: return "MStar Semiconductor, Inc."; case 123: return "Hanlynn Technologies"; case 124: return "A & R Cambridge"; case 125: return "Seers Technology Co. Ltd"; case 126: return "Sports Tracking Technologies Ltd."; case 127: return "Autonet Mobile"; case 128: return "DeLorme Publishing Company, Inc."; case 129: return "WuXi Vimicro"; case 130: return "Sennheiser Communications A/S"; case 131: return "TimeKeeping Systems, Inc."; case 132: return "Ludus Helsinki Ltd."; case 133: return "BlueRadios, Inc."; case 134: return "equinox AG"; case 135: return "Garmin International, Inc."; case 136: return "Ecotest"; case 137: return "GN ReSound A/S"; case 138: return "Jawbone"; case 139: return "Topcorn Positioning Systems, LLC"; case 140: return "Gimbal Inc. (formerly Qualcomm Labs, Inc. and Qualcomm Retail Solutions, Inc.)"; case 141: return "Zscan Software"; case 142: return "Quintic Corp."; case 143: return "Stollman E+V GmbH"; case 144: return "Funai Electric Co., Ltd."; case 145: return "Advanced PANMOBIL Systems GmbH & Co. KG"; case 146: return "ThinkOptics, Inc."; case 147: return "Universal Electronics, Inc."; case 148: return "Airoha Technology Corp."; case 149: return "NEC Lighting, Ltd."; case 150: return "ODM Technology, Inc."; case 151: return "ConnecteDevice Ltd."; case 152: return "zer01.tv GmbH"; case 153: return "i.Tech Dynamic Global Distribution Ltd."; case 154: return "Alpwise"; case 155: return "Jiangsu Toppower Automotive Electronics Co., Ltd."; case 156: return "Colorfy, Inc."; case 157: return "Geoforce Inc."; case 158: return "Bose Corporation"; case 159: return "Suunto Oy"; case 160: return "Kensington Computer Products Group"; case 161: return "SR-Medizinelektronik"; case 162: return "Vertu Corporation Limited"; case 163: return "Meta Watch Ltd."; case 164: return "LINAK A/S"; case 165: return "OTL Dynamics LLC"; case 166: return "Panda Ocean Inc."; case 167: return "Visteon Corporation"; case 168: return "ARP Devices Limited"; case 169: return "Magneti Marelli S.p.A"; case 170: return "CAEN RFID srl"; case 171: return "Ingenieur-Systemgruppe Zahn GmbH"; case 172: return "Green Throttle Games"; case 173: return "Peter Systemtechnik GmbH"; case 174: return "Omegawave Oy"; case 175: return "Cinetix"; case 176: return "Passif Semiconductor Corp"; case 177: return "Saris Cycling Group, Inc"; case 178: return "Bekey A/S"; case 179: return "Clarinox Technologies Pty. Ltd."; case 180: return "BDE Technology Co., Ltd."; case 181: return "Swirl Networks"; case 182: return "Meso international"; case 183: return "TreLab Ltd"; case 184: return "Qualcomm Innovation Center, Inc. (QuIC)"; case 185: return "Johnson Controls, Inc."; case 186: return "Starkey Laboratories Inc."; case 187: return "S-Power Electronics Limited"; case 188: return "Ace Sensor Inc"; case 189: return "Aplix Corporation"; case 190: return "AAMP of America"; case 191: return "Stalmart Technology Limited"; case 192: return "AMICCOM Electronics Corporation"; case 193: return "Shenzhen Excelsecu Data Technology Co.,Ltd"; case 194: return "Geneq Inc."; case 195: return "adidas AG"; case 196: return "LG Electronics"; case 197: return "Onset Computer Corporation"; case 198: return "Selfly BV"; case 199: return "Quuppa Oy."; case 200: return "GeLo Inc"; case 201: return "Evluma"; case 202: return "MC10"; case 203: return "Binauric SE"; case 204: return "Beats Electronics"; case 205: return "Microchip Technology Inc."; case 206: return "Elgato Systems GmbH"; case 207: return "ARCHOS SA"; case 208: return "Dexcom, Inc."; case 209: return "Polar Electro Europe B.V."; case 210: return "Dialog Semiconductor B.V."; case 211: return "Taixingbang Technology (HK) Co,. LTD."; case 212: return "Kawantech"; case 213: return "Austco Communication Systems"; case 214: return "Timex Group USA, Inc."; case 215: return "Qualcomm Technologies, Inc."; case 216: return "Qualcomm Connected Experiences, Inc."; case 217: return "Voyetra Turtle Beach"; case 218: return "txtr GmbH"; case 219: return "Biosentronics"; case 220: return "Procter & Gamble"; case 221: return "Hosiden Corporation"; case 222: return "Muzik LLC"; case 223: return "Misfit Wearables Corp"; case 224: return "Google"; case 225: return "Danlers Ltd"; case 226: return "Semilink Inc"; case 227: return "inMusic Brands, Inc"; case 228: return "L.S. Research Inc."; case 229: return "Eden Software Consultants Ltd."; case 230: return "Freshtemp"; case 231: return "KS Technologies"; case 232: return "ACTS Technologies"; case 233: return "Vtrack Systems"; case 234: return "Nielsen-Kellerman Company"; case 235: return "Server Technology, Inc."; case 236: return "BioResearch Associates"; case 237: return "Jolly Logic, LLC"; case 238: return "Above Average Outcomes, Inc."; case 239: return "Bitsplitters GmbH"; case 240: return "PayPal, Inc."; case 241: return "Witron Technology Limited"; case 242: return "Aether Things Inc. (formerly Morse Project Inc.)"; case 243: return "Kent Displays Inc."; case 244: return "Nautilus Inc."; case 245: return "Smartifier Oy"; case 246: return "Elcometer Limited"; case 247: return "VSN Technologies Inc."; case 248: return "AceUni Corp., Ltd."; case 249: return "StickNFind"; case 250: return "Crystal Code AB"; case 251: return "KOUKAAM a.s."; case 252: return "Delphi Corporation"; case 253: return "ValenceTech Limited"; case 254: return "Reserved"; case 255: return "Typo Products, LLC"; case 256: return "TomTom International BV"; case 257: return "Fugoo, Inc"; case 258: return "Keiser Corporation"; case 259: return "Bang & Olufsen A/S"; case 260: return "PLUS Locations Systems Pty Ltd"; case 261: return "Ubiquitous Computing Technology Corporation"; case 262: return "Innovative Yachtter Solutions"; case 263: return "William Demant Holding A/S"; case 264: return "Chicony Electronics Co., Ltd."; case 265: return "Atus BV"; case 266: return "Codegate Ltd."; case 267: return "ERi, Inc."; case 268: return "Transducers Direct, LLC"; case 269: return "Fujitsu Ten Limited"; case 270: return "Audi AG"; case 271: return "HiSilicon Technologies Co., Ltd."; case 272: return "Nippon Seiki Co., Ltd."; case 273: return "Steelseries ApS"; case 274: return "vyzybl Inc."; case 275: return "Openbrain Technologies, Co., Ltd."; case 276: return "Xensr"; case 277: return "e.solutions"; case 278: return "1OAK Technologies"; case 279: return "Wimoto Technologies Inc"; case 280: return "Radius Networks, Inc."; case 281: return "Wize Technology Co., Ltd."; case 282: return "Qualcomm Labs, Inc."; case 283: return "Aruba Networks"; case 284: return "Baidu"; case 285: return "Arendi AG"; case 286: return "Skoda Auto a.s."; case 287: return "Volkswagon AG"; case 288: return "Porsche AG"; case 289: return "Sino Wealth Electronic Ltd."; case 290: return "AirTurn, Inc."; case 291: return "Kinsa, Inc."; case 292: return "HID Global"; case 293: return "SEAT es"; case 294: return "Promethean Ltd."; case 295: return "Salutica Allied Solutions"; case 296: return "GPSI Group Pty Ltd"; case 297: return "Nimble Devices Oy"; case 298: return "Changzhou Yongse Infotech Co., Ltd"; case 299: return "SportIQ"; case 300: return "TEMEC Instruments B.V."; case 301: return "Sony Corporation"; case 302: return "ASSA ABLOY"; case 303: return "Clarion Co., Ltd."; case 304: return "Warehouse Innovations"; case 305: return "Cypress Semiconductor Corporation"; case 306: return "MADS Inc"; case 307: return "Blue Maestro Limited"; case 308: return "Resolution Products, Inc."; case 309: return "Airewear LLC"; case 310: return "Seed Labs, Inc. (formerly ETC sp. z.o.o.)"; case 311: return "Prestigio Plaza Ltd."; case 312: return "NTEO Inc."; case 313: return "Focus Systems Corporation"; case 314: return "Tencent Holdings Limited"; case 315: return "Allegion"; case 316: return "Murata Manufacuring Co., Ltd."; case 317: return "WirelessWERX"; case 318: return "Nod, Inc."; case 319: return "B&B Manufacturing Company"; case 320: return "Alpine Electronics (China) Co., Ltd"; case 321: return "FedEx Services"; case 322: return "Grape Systems Inc."; case 323: return "Bkon Connect"; case 324: return "Lintech GmbH"; case 325: return "Novatel Wireless"; case 326: return "Ciright"; case 327: return "Mighty Cast, Inc."; case 328: return "Ambimat Electronics"; case 329: return "Perytons Ltd."; case 330: return "Tivoli Audio, LLC"; case 331: return "Master Lock"; case 332: return "Mesh-Net Ltd"; case 333: return "Huizhou Desay SV Automotive CO., LTD."; case 334: return "Tangerine, Inc."; case 335: return "B&W Group Ltd."; case 336: return "Pioneer Corporation"; case 337: return "OnBeep"; case 338: return "Vernier Software & Technology"; case 339: return "ROL Ergo"; case 340: return "Pebble Technology"; case 341: return "NETATMO"; case 342: return "Accumulate AB"; case 343: return "Anhui Huami Information Technology Co., Ltd."; case 344: return "Inmite s.r.o."; case 345: return "ChefSteps, Inc."; case 346: return "micas AG"; case 347: return "Biomedical Research Ltd."; case 348: return "Pitius Tec S.L."; case 349: return "Estimote, Inc."; case 350: return "Unikey Technologies, Inc."; case 351: return "Timer Cap Co."; case 352: return "AwoX"; case 353: return "yikes"; case 354: return "MADSGlobal NZ Ltd."; case 355: return "PCH International"; case 356: return "Qingdao Yeelink Information Technology Co., Ltd."; case 357: return "Milwaukee Tool (formerly Milwaukee Electric Tools)"; case 358: return "MISHIK Pte Ltd"; case 359: return "Bayer HealthCare"; case 360: return "Spicebox LLC"; case 361: return "emberlight"; case 362: return "Cooper-Atkins Corporation"; case 363: return "Qblinks"; case 364: return "MYSPHERA"; case 365: return "LifeScan Inc"; case 366: return "Volantic AB"; case 367: return "Podo Labs, Inc"; case 368: return "Roche Diabetes Care AG"; case 369: return "Amazon Fulfillment Service"; case 370: return "Connovate Technology Private Limited"; case 371: return "Kocomojo, LLC"; case 372: return "Everykey LLC"; case 373: return "Dynamic Controls"; case 374: return "SentriLock"; case 375: return "I-SYST inc."; case 376: return "CASIO COMPUTER CO., LTD."; case 377: return "LAPIS Semiconductor Co., Ltd."; case 378: return "Telemonitor, Inc."; case 379: return "taskit GmbH"; case 380: return "Daimler AG"; case 381: return "BatAndCat"; case 382: return "BluDotz Ltd"; case 383: return "XTel ApS"; case 384: return "Gigaset Communications GmbH"; case 385: return "Gecko Health Innovations, Inc."; case 386: return "HOP Ubiquitous"; case 387: return "To Be Assigned"; case 388: return "Nectar"; case 389: return "bel'apps LLC"; case 390: return "CORE Lighting Ltd"; case 391: return "Seraphim Sense Ltd"; case 392: return "Unico RBC"; case 393: return "Physical Enterprises Inc."; case 394: return "Able Trend Technology Limited"; case 395: return "Konica Minolta, Inc."; case 396: return "Wilo SE"; case 397: return "Extron Design Services"; case 398: return "Fitbit, Inc."; case 399: return "Fireflies Systems"; case 400: return "Intelletto Technologies Inc."; case 401: return "FDK CORPORATION"; case 402: return "Cloudleaf, Inc"; case 403: return "Maveric Automation LLC"; case 404: return "Acoustic Stream Corporation"; case 405: return "Zuli"; case 406: return "Paxton Access Ltd"; case 407: return "WiSilica Inc"; case 408: return "Vengit Limited"; case 409: return "SALTO SYSTEMS S.L."; case 410: return "T-Engine Forum"; case 411: return "CUBETECH s.r.o."; case 412: return "Cokiya Incorporated"; case 413: return "CVS Health"; case 414: return "Ceruus"; case 415: return "Strainstall Ltd"; case 416: return "Channel Enterprises (HK) Ltd."; case 417: return "FIAMM"; case 418: return "GIGALANE.CO.,LTD"; case 419: return "EROAD"; case 420: return "Mine Safety Appliances"; case 421: return "Icon Health and Fitness"; case 422: return "Asandoo GmbH"; case 423: return "ENERGOUS CORPORATION"; case 424: return "Taobao"; case 425: return "Canon Inc."; case 426: return "Geophysical Technology Inc."; case 427: return "Facebook, Inc."; case 428: return "Nipro Diagnostics, Inc."; case 429: return "FlightSafety International"; case 430: return "Earlens Corporation"; case 431: return "Sunrise Micro Devices, Inc."; case 432: return "Star Micronics Co., Ltd."; case 433: return "Netizens Sp. z o.o."; case 434: return "Nymi Inc."; case 435: return "Nytec, Inc."; case 436: return "Trineo Sp. z o.o."; case 437: return "Nest Labs Inc."; case 438: return "LM Technologies Ltd"; case 439: return "General Electric Company"; case 440: return "i+D3 S.L."; case 441: return "HANA Micron"; case 442: return "Stages Cycling LLC"; case 443: return "Cochlear Bone Anchored Solutions AB"; case 444: return "SenionLab AB"; case 445: return "Syszone Co., Ltd"; case 446: return "Pulsate Mobile Ltd."; case 447: return "Hong Kong HunterSun Electronic Limited"; case 448: return "pironex GmbH"; case 449: return "BRADATECH Corp."; case 450: return "Transenergooil AG"; case 451: return "Bunch"; case 452: return "DME Microelectronics"; case 453: return "Bitcraze AB"; case 454: return "HASWARE Inc."; case 455: return "Abiogenix Inc."; case 456: return "Poly-Control ApS"; case 457: return "Avi-on"; case 458: return "Laerdal Medical AS"; case 459: return "Fetch My Pet"; case 460: return "Sam Labs Ltd."; case 461: return "Chengdu Synwing Technology Ltd"; case 462: return "HOUWA SYSTEM DESIGN, k.k."; case 463: return "BSH"; case 464: return "Primus Inter Pares Ltd"; case 465: return "August"; case 466: return "Gill Electronics"; case 467: return "Sky Wave Design"; case 468: return "Newlab S.r.l."; case 469: return "ELAD srl"; case 470: return "G-wearables inc."; case 471: return "Squadrone Systems Inc."; case 472: return "Code Corporation"; case 473: return "Savant Systems LLC"; case 474: return "Logitech International SA"; case 475: return "Innblue Consulting"; case 476: return "iParking Ltd."; case 477: return "Koninklijke Philips Electronics N.V."; case 478: return "Minelab Electronics Pty Limited"; case 479: return "Bison Group Ltd."; case 480: return "Widex A/S"; case 481: return "Jolla Ltd"; case 482: return "Lectronix, Inc."; case 483: return "Caterpillar Inc"; case 484: return "Freedom Innovations"; case 485: return "Dynamic Devices Ltd"; case 486: return "Technology Solutions (UK) Ltd"; case 487: return "IPS Group Inc."; case 488: return "STIR"; case 489: return "Sano, Inc"; case 490: return "Advanced Application Design, Inc."; case 65535: return "internal use"; default: return "not assigned"; } }
PPA-Kerhoas-BLE/MeteoStation
bluepy/bluez-5.29/lib/bluetooth.c
C
mit
26,138