code
stringlengths
4
1.01M
language
stringclasses
2 values
/* * Copyright 2017 Hewlett Packard Enterprise Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ define([ 'underscore', 'jquery', 'find/idol/app/page/dashboard/widgets/updating-widget', 'find/idol/app/page/...
Java
import 'rxjs/add/operator/map'; import {Injectable} from '@angular/core'; import {Http, RequestMethod} from '@angular/http'; import {Observable} from 'rxjs/Observable'; import {Cube} from '../models/cube'; import 'rxjs/add/operator/mergeMap'; import {Algorithm} from '../models/analysis/algorithm'; import {Input, InputT...
Java
--- title: Հիսուսը որպես ուսուցիչ date: 16/11/2020 --- Աստվածաշունչը բազմաթիվ եզրույթներ է օգտագործում Հիսուսին նկարագրելու համար։ Նա Աստծո Որդին է, Մեսիան, մարդու Որդին, Փրկիչը, Փրկագնողը, Տերը, Աստծո Գառը, և սրանք դեռ մի քանիսն են։ Սակայն այն մարդկանց համար, ովքեր Նրան շատ ավելի մոտիկից էին ճանաչում Հուդայում և Գա...
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>basic_io_object::operator=</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../boost_asio.htm...
Java
<?php namespace Nathanmac\Utilities\Parser\Formats; use Nathanmac\Utilities\Parser\Exceptions\ParserException; /** * XML Formatter * * @package Nathanmac\Utilities\Parser\Formats * @author Nathan Macnamara <nathan.macnamara@outlook.com> * @license https://github.com/nathanmac/Parser/blob/master/LICENS...
Java
import PropTypes from 'prop-types' import React from 'react' import { List } from 'immutable' import Modal from './warningmodal.js' import Path from 'path' const FilesList = ({ folders, folderPathToRemove, actions }) => { const addStorageLocation = () => actions.addFolderAskPathSize() const removeStorageLocation =...
Java
<?php return unserialize('a:2:{i:0;O:30:"Doctrine\\ORM\\Mapping\\ManyToOne":4:{s:12:"targetEntity";s:5:"Cargo";s:7:"cascade";N;s:5:"fetch";s:4:"LAZY";s:10:"inversedBy";N;}i:1;O:32:"Doctrine\\ORM\\Mapping\\JoinColumns":1:{s:5:"value";a:1:{i:0;O:31:"Doctrine\\ORM\\Mapping\\JoinColumn":7:{s:4:"name";s:8:"CARGO_PK";s:20:"r...
Java
from PyQt4 import QtCore import acq4.Manager import acq4.util.imageAnalysis as imageAnalysis run = True man = acq4.Manager.getManager() cam = man.getDevice('Camera') frames = [] def collect(frame): global frames frames.append(frame) cam.sigNewFrame.connect(collect) def measure(): if len(frames)...
Java
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Qt 4.8: c...
Java
<!doctype html> <html lang="en"> <head> <title>Code coverage report for ol/interaction/dragboxinteraction.js</title> <meta charset="utf-8" /> <link rel="stylesheet" href="../../prettify.css" /> <link rel="stylesheet" href="../../base.css" /> <meta name="viewport" content="width=device-width, initial...
Java
import {browser, by, element, ExpectedConditions} from 'protractor'; import { ProjectsPage } from './projects.page'; export class BellowsProjectSettingsPage { private readonly projectsPage = new ProjectsPage(); conditionTimeout: number = 3000; settingsMenuLink = element(by.id('settings-dropdown-button')); pr...
Java
#ifndef AC_GEPT3DAR_H #define AC_GEPT3DAR_H // // (C) Copyright 1993-1999, 2010 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and ...
Java
/** * Framework APIs (global - app.*) * * Note: View APIs are in view.js (view - view.*) * * @author Tim Lauv * @created 2015.07.29 * @updated 2017.04.04 */ ;(function(app){ /** * Universal app object creation api entry point * ---------------------------------------------------- * @deprecated Use the...
Java
// Base64 encoder/decoder with UTF-8 support // // Copyright (c) 2011 Vitaly Puzrin // Copyright (c) 2011 Aleksey V Zapparov // // Author: Aleksey V Zapparov AKA ixti (http://www.ixti.net/) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentatio...
Java
module.exports = require("npm:acorn@2.4.0/dist/acorn");
Java
require 'rr' require 'awesome_print' %w"xiki/core/core_ext xiki/core/ol".each {|o| require o} # RSpec::Runner.configure do |config| RSpec.configure do |config| config.mock_with :rr end module Xiki def self.dir File.expand_path("#{File.dirname(__FILE__)}/..") + "/" end end def stub_menu_path_dirs xiki_di...
Java
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin Core developers // Copyright (c) 2015-2017 The Dash developers // Copyright (c) 2015-2017 The Bitsend developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/...
Java
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2016-2018 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Create oauthclient tables.""" import sqlalchemy as sa import sqlalchemy_utils fro...
Java
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Configuration; namespace osu.Game.Overlays.Settings.Sections...
Java
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.eventhubs.v2017_04_01.implementation; import jav...
Java
import actionTypes from '../../client/actions/types'; const defaultState = { data: {}, errors: 'Not Found', }; export default function domainDetailReducer(state = defaultState, action = {}) { switch (action.type) { case actionTypes.getDomainDetail: return Object.assign({}, state, { data: actio...
Java
import {createStore, combineReducers} from 'redux'; import {todos} from '../reducers/todos'; export function configureStore() { const store = createStore(combineReducers({todos})); return store; }
Java
<!DOCTYPE html> <html> <head> <title>选项</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="style.css" > <script src="options.js"></script> </head> <body> <div id="options_content"> <span id="message"></span> <h4>发音</...
Java
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
Java
///\file /****************************************************************************** The MIT License(MIT) Embedded Template Library. https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentat...
Java
// This is a manifest file that'll be compiled into including all the files listed below. // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically // be included in the compiled file accessible from http://example.com/assets/application.js // It's not advisable to add code directl...
Java
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include "ifcpp/model/AttributeObject.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/model/BuildingGuid.h" #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include...
Java
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="apple-mobile-web-app-capable" content="no"> <meta name="viewport" content="width=1000"> <meta name="keywords" content="attrs.ui...
Java
/** * Copyright 2014 Pacific Controls Software Services LLC (PCSS). All Rights Reserved. * * This software is the property of Pacific Controls Software Services LLC and its * suppliers. The intellectual and technical concepts contained herein are proprietary * to PCSS. Dissemination of this information or reprodu...
Java
#!/usr/bin/python # -*- coding: utf-8 -*- # thumbor imaging service # https://github.com/thumbor/thumbor/wiki # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 globo.com timehome@corp.globo.com from thumbor.loaders import http_loader from tornado.concurrent impor...
Java
<?php class device extends CI_Controller{ public function add_device(){ $this->load->model('device_model'); $device_name = $this->input->post('device_name'); $device_id = $this->input->post('device_id'); $about_device = $this->input->post('about_device'); $key = $this->session->userdata('id'); //later stages wi...
Java
define(function(require) { var test = require('../../../test') var count = 0 require.async('./a', function(a) { test.assert(a.name === 'a', 'load CMD module file') done() }) require.async('./b.js', function() { test.assert(global.SPECS_MODULES_ASYNC === true, 'load normal script file') glo...
Java
namespace AbpKendoDemo.Migrations { using System; using System.Data.Entity.Migrations; public partial class Upgrade_Abp_And_Module_Zero_To_0_8_1 : DbMigration { public override void Up() { CreateTable( "dbo.AbpBackgroundJobs", c => new ...
Java
using System.Web; using System.Web.Optimization; namespace TwitterFeed { public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/bootstrap.css","~/Content/site.css")); ...
Java
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.advisor.v2017_04_19; import com.microsoft.azure....
Java
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Static() result.template = "object/static/item/shared_armor_composite_helmet.iff" result.attribute_template_id = ...
Java
const fs = require('fs'); const path = require('path'); const cleanCss = require('../../index.js'); module.exports = { name : 'basic test', this : function () { const str = fs.readFileSync(path.resolve('test/styles/basic.dirty.scss'), 'utf8'); const clean = cleanCss({ css : str }); return c...
Java
<script src="/socket.io/socket.io.js"></script> <script src="bower_components/virtualjoystick.js/virtualjoystick.js"></script> <script src="../threex.cloudcontroller.js"></script> <script src="../threex.cloudcontrollerscreenupdater.js"></script> <script src="../threex.cloudcontrollervirtualjoystick.js"></script> <body ...
Java
<a href="/learning-programming.html" class="lgi">Learning Programming</a> <a href="/serverless.html" class="lgi">Serverless Architectures</a> <a href="/aws-lambda.html" class="lgi">AWS Lambda</a> <a href="/monitoring.html" class="lgi">Monitoring</a> <a href="/deployment.html" class="lgi">Deployment</a> <a href="/rollba...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_112) on Sat May 13 03:02:10 PDT 2017 --> <title>ConsoleUI</title> <meta name="date" content="2017-05-13"> <link rel="stylesheet" type="text/css...
Java
## 快捷键 ## {% highlight json %} { "去色" : "C-S-u", "反相" : "C-i", } {% endhighlight %}
Java
#!/usr/bin/env python # # __COPYRIGHT__ # # 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, ...
Java
using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.Serialization; using System; using System.Linq; using System.Collections; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Fungus { /** * Visual scripting controller for the Flowchart programming language. * Flow...
Java
/// \file /// \brief SocketLayer class implementation /// /// This file is part of RakNet Copyright 2003 Kevin Jenkins. /// /// Usage of RakNet is subject to the appropriate license agreement. /// Creative Commons Licensees are subject to the /// license found at /// http://creativecommons.org/licenses/by-nc/2.5/ /// S...
Java
{%= author.name %}
Java
<div class="comment-view mb-6"> {% if not comment_list %} <div class="no-comment"> <p class="text-muted small">{{ _("No comments yet. ") }} <span class="hidden login-required"> <a href="/login?redirect-to={{ pathname }}">{{ _("Login to start a new discussion") }}</a> </span> <span class="hidden s...
Java
// // RHCoreDataTableViewController.h // // Copyright (C) 2013 by Christopher Meyer // http://schwiiz.org/ // // 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, inc...
Java
// Copyright 2016 The Gogs Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package gitutil import ( "html/template" "testing" dmp "github.com/sergi/go-diff/diffmatchpatch" "github.com/stretchr/testify/assert" "github.com/gogs...
Java
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
Java
<?php include 'Vehicle.php'; include 'Car.php'; $car = new Car(4, 'Red', 'Audi', 'A4', 2016); print_r($car); echo "<br>"; $car->setColor('Green'); print_r($car);
Java
--- title: لمزيد من الدرس date: 25/06/2021 --- لِمَزِيد مِنْ الدَّرس: حول التطهير الأخير للأرض من الْخَطِيَّة اقرأ من كتاب الصراع العظيم صفحة ٧١٥-٧٣٢. «وإذ تمر سنو الأبدية فستأتي بإعلانات أغنى وأمجد عن الله والمسيح. وكما تتجدّد المعرفة فكذلك ستتجدّد المحبة والوقار والسعادة وتزيد أَيْضًا. وكلما عرف الناس أشياء أكثر ...
Java
<script type="text/javascript"> var _d = DialogManager.get('config_dialog'); _d.setWidth(350); _d.setPosition('center'); $("select[ectype='bgcolor_selector']").change(function(){ $("input[ectype='bgcolor']").val(this.value); }); $("select[name='img_recom_id']").change(function(){ switchRecommend(thi...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!-- NewPage --> <html lang="sv"> <head> <!-- Generated by javadoc on Fri Mar 18 12:42:22 CET 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>IV1201 1.0-SNAPSHOT API</title> <script ...
Java
# meteor-intro Intro to Meteor
Java
package com.xeiam.xchange.anx.v2.account.polling; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import org.junit.Assert; import org.junit.Test; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.xeiam.xch...
Java
#ifdef HAVE_WINRT #define ICustomStreamSink StreamSink #ifndef __cplusplus_winrt #define __is_winrt_array(type) (type == ABI::Windows::Foundation::PropertyType::PropertyType_UInt8Array || type == ABI::Windows::Foundation::PropertyType::PropertyType_Int16Array ||\ type == ABI::Windows::Foundation::PropertyType::Pro...
Java
#money Node.js module to perform precise common money calculations. This library is a partial javascript implementation of the [Money Pattern](http://martinfowler.com/eaaCatalog/money.html) as described by Martin Fowler in his book *Patterns of Enterprise Application Architecture*. ## Using the library ```javascrip...
Java
angular.module('starter.controllers', []) // A simple controller that fetches a list of data from a service .controller('PetIndexCtrl', function($scope, PetService) { // "Pets" is a service returning mock data (services.js) $scope.pets = PetService.all(); }) // A simple controller that shows a tapped item's dat...
Java
<html lang="en"> <head> <title>Native - Debugging with GDB</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Debugging with GDB"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Configurations.html#Con...
Java
// // FXCachePlist.h // FancyMall // // Created by fancy on 16/1/14. // Copyright © 2016年 FancyMall. All rights reserved. // #import <Foundation/Foundation.h> @interface FXCachePlist : NSObject +(instancetype)sharedPlist; -(NSString *)needRemoveFileName; -(void)dataForDataArrayWithUrl:(NSString *)url withMark:...
Java
// Copyright 2011, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condition...
Java
/** * Created by maomao on 2020/4/20. */ Java.perform(function() { var cn = "android.telephony.SubscriptionManager"; var target = Java.use(cn); if (target) { target.addOnSubscriptionsChangedListener.overloads[0].implementation = function(dest) { var myArray=new Array() myAr...
Java
#!/bin/bash FN="HsAgilentDesign026652.db_3.2.3.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/annotation/src/contrib/HsAgilentDesign026652.db_3.2.3.tar.gz" "https://bioarchive.galaxyproject.org/HsAgilentDesign026652.db_3.2.3.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-hsagilentdesi...
Java
#import <UIKit/UIKit.h> #import "OLCVideoPlayer.h" FOUNDATION_EXPORT double OLCVideoPlayerVersionNumber; FOUNDATION_EXPORT const unsigned char OLCVideoPlayerVersionString[];
Java
"use strict"; const chalk = require("chalk"); const readline = require("readline"); /** * Fill screen with blank lines, move to "0" afterwards and clear screen afterwards. * Note that it is still possible to "scroll back" afterwards. * * Function performs nothing in case the stdout is NOT a TTY. */ exports.cls =...
Java
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt--> <title>Method AssetAnimation.convertVectorArray</title> <link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/>...
Java
module Locomotive class SitePolicy < ApplicationPolicy class Scope < Scope def resolve if membership.account.super_admin? scope.all else membership.account.sites end end end def index? true end def show? true end def...
Java
# -*- coding: utf-8 -*- from __future__ import unicode_literals import time import string import json import config import helper import busses def log_message(msg): #log format: time type message time_str = str(time.time()) line = time_str[:time_str.find(".")] line = line.rjust(10, str(" ")) li...
Java
<div layout="vertical"> <md-sidenav class="md-sidenav-left md-whiteframe-z2" md-component-id="left" md-is-locked-open="$mdMedia('gt-sm')"> <md-toolbar> <h1>Characters</h1> </md-toolbar> <char-list></char-list> </md-sidenav> </div>
Java
public class LeetCode0363 { public int maxSumSubmatrix(int[][] matrix, int k) { int m = matrix.length, n = matrix[0].length, ans = Integer.MIN_VALUE; long[] sum = new long[m + 1]; for (int i = 0; i < n; ++i) { long[] sumInRow = new long[m]; for (int j = i; j < n; ++j) { for (int p = 0; p < m; ++p) { ...
Java
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\DICOM; use JMS\Serializer\Annotation\ExclusionPolicy;...
Java
<?php namespace Cascade\Mapper\Map; use Cascade\Mapper\Mapping\MappingInterface; class Map implements MapInterface { /** * @var MappingInterface[] */ private $mappings = []; /** * @param MappingInterface[] $mappings */ public function __construct($mappings) { foreach ...
Java
# Cisco Spark React Audio Component _(@ciscospark/react-component-audio)_ ## WARNING We renamed this module to [@webex/react-component-audio](https://www.npmjs.com/package/@webex/react-component-audio). Please install it instead. ## License © 2016-2020 Cisco and/or its affiliates. All Rights Reserved.
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import time import numpy as np import matplotlib matplotlib.use('GTKAgg') from matplotlib import pyplot as plt from koheron import connect from drivers import Spectrum from drivers import Laser host = os.getenv('HOST','192.168.1.100') client = connect(host, nam...
Java
const assert = require('assert') const crypto = require('crypto') const { createRequest } = require("../util/util") describe('测试搜索是否正常', () => { it('获取到的数据的 name 应该和搜索关键词一致', done => { const keywords = "海阔天空" const type = 1 const limit = 30 const data = 's=' + keywords + '&limit=' + limit + '&type=' ...
Java
<footer class="site-footer"> <div class="container"> <small class="pull-right">Made with <a href="http://jekyllrb.com/" target="_blank">Jekyll</a></small> </div> </footer>
Java
<!DOCTYPE html> <html> {% include head.html %} <body> {%include banner.html%} {%include middle.html%} <!-- <script src="{{ site.baseurl }}/js/index.js"></script> --> </body> <footer></footer> </html>
Java
export default function collapseDuplicateDeclarations() { return (root) => { root.walkRules((node) => { let seen = new Map() let droppable = new Set([]) node.walkDecls((decl) => { // This could happen if we have nested selectors. In that case the // parent will loop over all its...
Java
module.exports = { "env": { "browser": true, "commonjs": true, "es6": true, "jasmine" : true }, "extends": "eslint:recommended", "parserOptions": { "sourceType": "module" }, "rules": { "no-mixed-spaces-and-tabs": [2, "smart-tabs"], "linebre...
Java
import * as debug from 'debug'; import Resolver from '../../resolver'; import { IRemoteUser } from '../../../../models/user'; import acceptFollow from './follow'; import { IAccept, IFollow } from '../../type'; const log = debug('misskey:activitypub'); export default async (actor: IRemoteUser, activity: IAccept): Pro...
Java
version https://git-lfs.github.com/spec/v1 oid sha256:42fcecf8fdabe110af986ac81bb56b598f5a3fa59c6d0c4cc8b80daa2dca0473 size 1121
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function template make_managed_shared_ptr</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../in...
Java
/** \brief A timer module with only a single compare value. Can be used to replace the "bsp_timer" and "radiotimer" modules with the help of abstimer. \author Xavi Vilajosana <xvilajosana@eecs.berkeley.edu>, May 2012. \author Thomas Watteyne <watteyne@eecs.berkeley.edu>, May 2012. */ #include "sctimer.h" #incl...
Java
$(document).ready(function(){ var Previewer = { preview: function(content, output) { $.ajax({ type: 'POST', url: "/govspeak", data: { govspeak: content.val() }, dataType: 'json' }).success(function(data){ output.html(data['govspeak']); }); } }; $(...
Java
__version__ = '0.8.1' __author__ = "Massimiliano Pippi & Federico Frenguelli" VERSION = __version__ # synonym
Java
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Structs */ module.exports = { List: require('./List'), Map: require('./Map'), ProcessQueue: require('./P...
Java
#! /usr/bin/env python """Show file statistics by extension.""" import os import sys class Stats: def __init__(self): self.stats = {} def statargs(self, args): for arg in args: if os.path.isdir(arg): self.statdir(arg) elif os.path.isfile(arg): ...
Java
package com.ocdsoft.bacta.swg.shared.localization; /** * Created by crush on 11/21/2015. */ public class LocalizedString { }
Java
# Contributing ## Mailing list The main communication tool in use is the Yocto Project mailing list: * <yocto@yoctoproject.org> * <https://lists.yoctoproject.org/listinfo/yocto> Feel free to ask any kind of questions but please always prepend your email subject with `[meta-raspberrypi]` as this is the global *Yocto...
Java
<!doctype html> <html> <head> <title>Network | Hierarchical layout</title> <style type="text/css"> body { font: 10pt sans; } #mynetwork { width: 600px; height: 600px; border: 1px solid lightgray; } </style> ...
Java
<?php namespace WiderFunnel\OptimizelyX\Items; /** * Class Experiment * @package WiderFunnel\Items; */ class Experiment extends ItemAbstract { // }
Java
var jsbin = { 'root': '{{root}}', 'shareRoot': '{{shareRoot}}', 'runner': '{{runner}}', 'static': '{{static}}', 'version': '{{version}}', user: {{{user}}}, }; (function () { if (jsbin.user && jsbin.user.name) { $('.loggedout').hide(); var menu = $('.loggedin').show(); var html = $('#profile-t...
Java
Hi, this is Mirong Kim.
Java
/*------------------------------------*\ # components.profile \*------------------------------------*/ .profile__login { position: relative; display: inline-block; z-index: 50; padding-bottom: .5rem; } .profile__login__icon { width: 2.5rem; margin-bottom: -0.7rem; } .profile__login__popup { ...
Java
using System.Text; namespace GuruComponents.Netrix.Events { /// <summary> /// SaveEventArgs provides information about the current save process. /// </summary> public class SaveEventArgs : LoadEventArgs { /// <summary> /// Constructor. It's build by Save event handler and not intendet to being called from us...
Java
YUI.add("yuidoc-meta", function(Y) { Y.YUIDoc = { meta: { "classes": [ "Audio" ], "modules": [ "gallery-audio" ], "allModules": [ { "displayName": "gallery-audio", "name": "gallery-audio" } ] } }; });
Java
// angular import { HttpClient } from '@angular/common/http'; import { Routes } from '@angular/router'; // libs import * as _ from 'lodash'; import { I18NRouterLoader, I18NRouterSettings } from '@ngx-i18n-router/core'; export class I18NRouterHttpLoader implements I18NRouterLoader { private _translations: any; ge...
Java
'use strict'; var fs = require('fs'), util = require('util'), Duplexify = require('duplexify'), _ = require('lodash'), su = require('bindings')('serialutil.node'), fsu = require('./fsutil'), pins = require('./pins'), Dto = require('./dto'), dto = new Dto(__dirname + '/../templates/uart.dts'); var DEFA...
Java
package de.andreasgiemza.mangadownloader.gui.chapter; import de.andreasgiemza.mangadownloader.MangaDownloader; import de.andreasgiemza.mangadownloader.helpers.RegexHelper; import javax.swing.JTable; import javax.swing.JTextField; import javax.swing.RowFilter; import javax.swing.event.DocumentEvent; import java...
Java
package nxt.http; import nxt.Account; import nxt.Attachment; import nxt.Constants; import nxt.NxtException; import nxt.util.Convert; import org.json.simple.JSONStreamAware; import javax.servlet.http.HttpServletRequest; import static nxt.http.JSONResponses.INCORRECT_ASSET; import static nxt.http.JSONResponses.INCORRE...
Java