code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
<?php return array ( 'id' => 'lava_iris_x8_ver1', 'fallback' => 'generic_android_ver4_4', 'capabilities' => array ( 'model_name' => 'Iris X8', 'brand_name' => 'Lava', 'release_date' => '2015_february', 'physical_screen_height' => '111', 'physical_screen_width' => '63', 'resolution_width...
cuckata23/wurfl-data
data/lava_iris_x8_ver1.php
PHP
mit
375
package org.uma.jmetal.problem.multiobjective.lz09; import org.uma.jmetal.problem.doubleproblem.impl.AbstractDoubleProblem; import org.uma.jmetal.solution.doublesolution.DoubleSolution; import org.uma.jmetal.util.JMetalException; import java.util.ArrayList; import java.util.List; /** * Class representing problem LZ...
matthieu-vergne/jMetal
jmetal-problem/src/main/java/org/uma/jmetal/problem/multiobjective/lz09/LZ09F3.java
Java
mit
1,770
<?php /* AbloqovVisioplusBundle:Marque:show.html.twig */ class __TwigTemplate_489be9dd92acc7c975fd79e19aaf02ff4d6fc066cff9abcafbea41bffc1cc834 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 try { $this->pare...
delrodie/VisioPlus
app/cache/dev/twig/48/9b/e9dd92acc7c975fd79e19aaf02ff4d6fc066cff9abcafbea41bffc1cc834.php
PHP
mit
10,853
export const TYPE = { PUBLIC: 'public', LINK: 'link', USER: 'user', PRIVATE: 'private', }; export const SHARE_TYPE = { PUBLIC: 'public', LINK: 'link', USER: 'user', PRIVATE: 'private', };
ardaogulcan-ci/TweetBoard-API
src/v1/helpers/enums.js
JavaScript
mit
205
from .logic import LogicAdapter from chatterbot.conversation import Statement from chatterbot.utils.pos_tagger import POSTagger import re import forecastio class WeatherLogicAdapter(LogicAdapter): """ A logic adapter that returns information regarding the weather and the forecast for a specific location....
imminent-tuba/thesis
server/chatterbot/chatterbot/adapters/logic/weather.py
Python
mit
2,362
# Events ## Methods - [loadEvents](#loadEvents) - [createEvent](#createEvent) - [saveEvent](#saveEvent) - [deleteEvent](#deleteEvent) - [sendAvailabilityReminders](#sendAvailabilityReminders) - [getEventSort](#getEventSort) - [bulkCreateEvents](#bulkCreateEvents) --- <a id="loadEvents"></a> ## `loadEvents(params, c...
teamsnap/teamsnap-javascript-sdk
docs/collections/events.md
Markdown
mit
4,405
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Alarm.last_checked' db.alter_column(u'ddsc_core_alarm', 'last_checked', self.gf('django.d...
ddsc/ddsc-core
ddsc_core/migrations/0078_auto__chg_field_alarm_last_checked.py
Python
mit
28,517
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
microsoft/vscode
src/vs/workbench/contrib/remote/browser/remoteIndicator.ts
TypeScript
mit
20,862
#!/usr/bin/env python print " Formated number:", "{:,}".format(102403)
daltonmenezes/learning-C
src/Python/format/thousands_separator.py
Python
mit
72
namespace DALs.Model.Interfaces { using Microsoft.WindowsAzure.Storage.Queue; using System; using System.Collections.Generic; using System.Threading.Tasks; /// <summary> /// Interface IQueueClient /// </summary> public interface IQueueClient { /// <summary> /// Peek...
TianyuanC/dals
DALs.Model/Interfaces/IQueueClient.cs
C#
mit
1,032
/* * Critical styles and above-the-fold CSS defined here. * Author: Brian Quach */ /* Default variables */ /* Mixins */ header { text-align: center; padding: 25px 0; background-color: #f95036; } .health-tracker { font-family: Helvetica, sans-serif; font-size: 18px; color: #282828; background-color: #3...
brianquach/health-tracker
src/css/above-the-fold.css
CSS
mit
1,271
double aligndistance (double * dists, double * distsA, double * distsB, double * x, double * y, int ats) { int i,j, k, dind = 0; for (i = 0; i < ats; i++) { for (j = 0; j < ats; j++) { dists[dind] = (x[3 * i] - y[3 * j]) * (x[3 * i] - y[3 * j]) + (x[3 * i ...
ramansbach/cluster_analysis
aligndistance.c
C
mit
1,351
/**************************************************************************** Copyright (c) 2013 cocos2d-x.org http://www.cocos2d-x.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 with...
gibtang/CCNSCoding
extensions/CocoStudio/GUI/UIWidgets/UITextField.cpp
C++
mit
12,251
/** ****************************************************************************** * @file stm32f7xx_hal_dma_ex.h * @author MCD Application Team * @version V1.0.3 * @date 13-November-2015 * @brief Header file of DMA HAL extension module. ***********************************************************...
hengdong/POSIX-RTOS
bsp/arch/ARM/Cortex-M/M7/chip/ST/STM32F7/STM32F7xx_HAL_Driver/include/stm32f7xx_hal_dma_ex.h
C
mit
4,118
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace beRemote.Core.Exceptions { public class ExceptionInvalidConfiguration : beRemoteException { public ExceptionInvalidConfiguration(beRemoteExInfoPackage infoPackage, String message) : b...
Hunv/beRemote
Core/Exceptions/beRemote.Core.Exceptions/ExceptionInvalidConfiguration.cs
C#
mit
653
--- layout: post date: '2015-06-18' title: "Weddington Way Alfred Angelo 7293L Sleeveless Sweep/Brush Train Mermaid/Trumpet" category: Weddington Way tags: [Weddington Way,Mermaid/Trumpet,Sweetheart,Sweep/Brush Train,Sleeveless] --- ### Weddington Way Alfred Angelo 7293L Just **$179.99** ### Sleeveless Sweep/Brush Tr...
variousweddingdress/variousweddingdress.github.io
_posts/2015-06-18-Weddington-Way-Alfred-Angelo-7293L-Sleeveless-SweepBrush-Train-MermaidTrumpet.md
Markdown
mit
1,311
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
v8-dox/v8-dox.github.io
03b1c31/html/functions_r.html
HTML
mit
9,409
--- layout: post title: How to learn Ruby - Tales in Rubyland part 1. permalink: /posts/tales_in_rubyland_part1 --- Following the concept of learning a new programming language whenever I can as well as being curious about what changed in Ruby since I used it last time in 2003 as well as meeting <a href="http://twitte...
dimitrismistriotis/dimitrismistriotis.github.com
_posts/2011-01-01-tales_in_rubyland_part1.md
Markdown
mit
7,071
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
webrtc-uwp/webrtc-windows
third_party/winuwp_h264/H264Decoder/H264Decoder.cc
C++
mit
18,462
using System.Text; using Hie.Core.Mocks; using Hie.Core.Model; using Hie.Core.Modules.JavaScript; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Hie.Core { [TestClass] public class HieEngineTest { [TestMethod] public void BasicRoutingFilteringTransformationTest() { // A new application A...
NiclasOlofsson/HIE
Hie/Hie.Core.Test/HieEngineTest.cs
C#
mit
3,727
using Microsoft.SqlServer.TransactSql.ScriptDom; using System; using System.IO; using System.Linq; using Xunit; using FluentAssertions; namespace Prequel.Tests { internal static class TestData { } public class ArgumentsTests { [Fact] public void NoArgumentsRaisesUsageExce...
edyoung/prequel
Prequel.Tests/ArgumentsTests.cs
C#
mit
4,083
# Name: Seline, Li, Taylor, Son # Leap Motion project import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D import numpy as np import matplotlib.pyplot as plt import time mpl.rcParams['legend.fontsize'] = 10 fig = plt.figure() ax = Axes3D(fig) theta = np.linspace(-4 * np.pi, 4 * np.pi, 100) z = np.linspac...
BoolLi/LeapMotionDesignChallenge
Plotting.py
Python
mit
602
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="../node_modules/leaflet/dist/leaflet.css" /> <link rel="stylesheet" href="../src/L.Control.Zoomslider.css" /> </head> <body> <div id="map"></div> <script src="../n...
martinrh83/Tarea-3_Curso-Web
Leaflet.zoomslider-master/examples/test4.html
HTML
mit
1,072
package data_struct.in_class.d11_20.interfaces; /** Class Invariant: All objects have a name string, hire date, nonnegative wage rate, and nonnegative number of hours worked. A name string of "No name" indicates no real name specified yet. A hire date of Jan 1, 1000 indicates no real hire date specified y...
pegurnee/2013-03-211
complete/src/data_struct/in_class/d11_20/interfaces/HourlyEmployee.java
Java
mit
2,782
import java.util.HashSet; import java.util.Set; public class Main { public static void main(String[] args) { Resolver res = new Resolver(args[0]); String[] clauses = args[1].split(";"); Set<Clause> alpha = new HashSet<Clause>(); for(String s: clauses) alpha.add(new Clause(s)); System.out.println(res.isI...
firerain42/ai-lecture
Ex-5.2/src/Main.java
Java
mit
347
Boom.SecretTrigger = function( params ){ this.type = params.type || Boom.Assets.world.ENTITY.MISSING; this.position = params.position; this.interactable = params.interactable || false; this.triggered = false; Boom.Entity.call(this, {name: 'TRIGGER_SECRET', }); }; Boom.SecretTrigger.prototype = Boom.inherit...
sivertsenstian/boom
source/code/boom/entity/triggers/secret_trigger.js
JavaScript
mit
1,562
import { Chart } from '../../src'; import { createDiv, removeDom } from '../util/dom'; describe('#3160', () => { const div = createDiv(); const chart = new Chart({ container: div, // 指定图表容器 ID height: 300, // 指定图表高度 autoFit: true, }); chart.coordinate('theta'); const data = [ { type: '1', it...
antvis/g2
tests/bugs/3160-spec.ts
TypeScript
mit
1,809
package cz.muni.fi.pa165.mushrooms.mvc; import javax.servlet.http.HttpServletRequest; import cz.muni.fi.pa165.mushrooms.dto.MushroomHunterDTO; import org.springframework.web.servlet.mvc.support.RedirectAttributes; import org.springframework.web.util.UriComponentsBuilder; public class Tools { public static Strin...
PA165-MushroomHunter/MushroomHunter
mvc/src/main/java/cz/muni/fi/pa165/mushrooms/mvc/Tools.java
Java
mit
785
/* * fingerprintJS 0.5.4 - Fast browser fingerprint library * https://github.com/Valve/fingerprintjs * Copyright (c) 2013 Valentin Vasilyev (valentin.vasilyev@outlook.com) * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CO...
kanagawa41/chat-api
chat-html/assets/js/fingerprint/fingerprint.js
JavaScript
mit
9,884
require "rails_helper" RSpec.describe Review, type: :model do it "has a valid factory" do expect(build(:review)).to be_valid end describe "validations" do it { should validate_presence_of :rating } it { should validate_numericality_of(:rating).is_greater_than_or_equal_to(1).is_less_than_or_equal_to(5...
Haradd/Looks-Tasty
spec/models/review_spec.rb
Ruby
mit
503
import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import H1, { styles } from './index'; describe('<H1 />', () => { it('should correctly render children, when text', () => { const wrapper = shallow(<H1>Title</H1>); expect(wrapper.text()).to.equal('Title'); }); i...
movio/movio-react-components
src/components/H1/h1.spec.js
JavaScript
mit
743
<?php namespace Proxies; /** * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE. */ class Taller2012BaseBundleEntityCursaProxy extends \Taller2012\BaseBundle\Entity\Cursa implements \Doctrine\ORM\Proxy\Proxy { private $_entityPersister; private $_identifier; public $__isInitialized__ ...
kiuli19/GitTaller
app/cache/prod/doctrine/orm/Proxies/Taller2012BaseBundleEntityCursaProxy.php
PHP
mit
3,209
require "rails_helper" RSpec.describe "Admin shipments API", type: :request do before do prepare_api_website end describe "POST create" do let(:order) { FactoryBot.create(:order) } let(:courier) { FactoryBot.create(:courier) } let(:order_id) { order.id } # Attributes let(:courier_id) {...
ianfleeton/zmey
spec/requests/api/admin/shipments_spec.rb
Ruby
mit
2,126
'use strict'; var elements = require('../elements'); /** * Show the element (remove the class .hidden) * * @name Element#show * @method * */ /** * Show the elements (remove the class .hidden) * * @name ElementsArray#show * @method */ elements.addMethodWithoutArgumentsReturnThis('show'); /** * Hide the e...
christophehurpeau/springbokjs-dom
lib/prototypes/visibility.js
JavaScript
mit
1,102
module FlipTheSwitch module Generator class Base def initialize(output, features) @output = output @features = features end protected attr_reader :output, :features def all_features features.flat_map { |feature| feature_and_sub_features(feature) ...
michaelengland/FlipTheSwitch
lib/flip_the_switch/generator/base.rb
Ruby
mit
549
// Copyright StrongLoop 2014 Arc.controller('ArcMainController', [ '$scope', 'ArcUserService', '$log', '$rootScope', 'LandingService', function($scope, ArcUserService, $log, $rootScope, LandingService){ $scope.suiteIA = { apps: [] }; //set help id for app modules $scope.$watch('suite...
tsiry95/openshift-strongloop-cartridge
strongloop/node_modules/strong-arc/client/www/scripts/modules/arc/arc.controllers.js
JavaScript
mit
1,418
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
GoC-Spending/data-corporations
html/123456102319.html
HTML
mit
41,403
Template.modalEditLanguages.events({ "submit form": function (event) { event.preventDefault(); var name = event.target["language-name"].value.trim(), project = event.target["project-id"].value; if (name) { Meteor.call('addLanguage', project, name, function (error, r...
AlexBeauchemin/deckdeck
meteor-app/client/templates/components/modal-edit-languages.js
JavaScript
mit
1,004
{% if site.twitter_username %} <a class="social-icon" href="https://twitter.com/{{ site.twitter_username }}" target="_blank"> <i class="fa fa-twitter"></i> </a> {% endif %} {% if site.github_username %} <a class="social-icon" href="https://github.com/{{ site.github_username }}" target="_blank"> ...
researchapps/researchapps.github.io
_includes/social_media.html
HTML
mit
473
use std::collections::hashmap::{Occupied, Vacant, HashMap}; use std::io::BufferedReader; use std::io::File; use std::os; use std::str::StrSlice; fn main() { let args = os::args(); let path = Path::new(args[1].as_slice()); let mut file = BufferedReader::new(File::open(&path)); let mut counter: HashMap<...
alexalemi/textbench
vocab.rs
Rust
mit
852
var EventEmitter = require('events').EventEmitter; var util = require('util'); var MongoClient = require('mongodb').MongoClient; var Channel = require('./channel'); /** * Connection constructor. * * @param {String|Db} uri string or Db instance * @param {Object} mongo driver options * @api public */ function Conn...
Faleij/mubsub
lib/connection.js
JavaScript
mit
2,233
#pragma once #include "IMessageLoop.h" #include "MessageHandlerRegister.h" #include "QueueConnector.h" class MessageLoop : public IMessageLoop { private: std::atomic_bool m_running; ConnectorPtr m_inQueue; MessageHandlerRegisterPtr m_handlers; bool CallHandlerForMessage(const MessagePtr& pMsg); public: M...
Agent57/PubSub
Framework/MessageLoop.h
C
mit
545
<?php class UserHistoric{ private $id_; private $firstname_; private $lastname_; private $archiving_date_; private $login_; private $password_; private $phone_; private $mail_; private $emergencyMail_; private $comments_; privat...
lukile/projetAnnuel
class/UserHistoric.php
PHP
mit
3,293
/* jshint node: true */ 'use strict'; var DeployPluginBase = require('ember-cli-deploy-plugin'); var S3Client = require('./lib/aws-s3'); var CodeDeployClient = require('./lib/aws-codedeploy'); var path = require('path'); var minmatch = require('minimatch'); var Promise = require('ember-cli/lib/ext/promise'); module.exp...
MojoJojo/ember-cli-deploy-aws-codedeploy
index.js
JavaScript
mit
6,335
/* * Copyright 1999-2101 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
liufeiit/itmarry
source/geek.android/geek/src/com/alibaba/fastjson/serializer/BigDecimalCodec.java
Java
mit
2,890
# Abnormal rise in exception volume (preview) ### Intro Application Insights automatically analyzes the exceptions thrown in your application, and can warn you about unusual patterns in your exception telemetry. This feature requires no special setup, other than [configuring exception reporting](https://docs.microso...
SoubhagyaDash/ApplicationInsights-Home
SmartDetection/abnormal-rise-in-exception-volume.md
Markdown
mit
1,839
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>additions: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.1/additions/8.9.0.html
HTML
mit
6,934
/* ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
timothydgreer/turing_machine
firmware/ChibiOS_3.0.1/os/hal/osal/rt/osal.h
C
mit
24,121
# prepack generic data compression filters Prepack uses multiple resampling techniques to optimize files prior to compression. It's well suited for raw image file-types and raw audio such as WAV. If the file's structure cannot be detected or optimized it is stored as-is.
loxxous/prepack
README.md
Markdown
mit
273
/* Copyright (c) 2020 Simon Schmidt 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, s...
byte-mug/golibs
radixroute/fasthttpradix/radix.go
GO
mit
2,398
# Javascript filter - 1 ## Description While developing a website, you detect that some of the members have troubles logging in. Searching through the code you find that all logins ending with a "_" make problems. So you want to write a function that takes an array of pairs of login-names and e-mails, and outputs an ...
MForever78/Codewars
Javascript/Javascript_filter_-_1/README.md
Markdown
mit
772
@-ms-viewport{ width: device-width; } #landing-grid { text-align: center; } /* Logo */ #logo{ margin: 1em; height: auto; position: relative; } /* Grid Components */ .ch-item { position: relative; cursor: default; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -o-tra...
ivanshen/babybuddy.github.io
css/front_page_style.css
CSS
mit
3,866
--- title: Back Dating Posts author: Andy Choens layout: post category: trip reports excerpt: I have been sloppy keeping this up to date. --- I have been sloppy keeping this up to date. I managed to post quite a few ski pics here and mentionned my bike, but I have failed to post any pictures of my bike in cool places...
Choens/choens.github.io
_posts/2015-06-19-backdating-posts.md
Markdown
mit
845
#!/usr/bin/env python3 # imports go here import sched import time # # Free Coding session for 2015-05-04 # Written by Matt Warren # scheduler = sched.scheduler(time.time, time.sleep) def print_time(): print(time.time()) return True scheduler.enter(3, 1, print_time) scheduler.enter(5, 1, print_time) print(s...
mfwarren/FreeCoding
2015/05/fc_2015_05_04.py
Python
mit
412
<?php namespace Hedronium\SeedCascade; class Inheriter extends MagicResolver { public function get($property) { if ($this->offset === 0) { return null; } else { return $this->seeder->resolveValue( $this->i, $property, $this...
Hedronium/SeedCascade
src/Inheriter.php
PHP
mit
638
--- layout: default title: Sinfonia Transactions tags: - Computer Science --- ###Sinfonia Ideas to think about: 1. Is NFS a good application for Gigapaxos. 2. Did it work for sinfonia because of node locality. 3. If we can use node locality to increase throughput, we can use reconfigurability of gigapaxos to have a...
sandeep06011991/sandeep06011991.github.io
_papers/2017-11-27-Sinfonia.md
Markdown
mit
6,112
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>simple-io: 26 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="s...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.2-2.0.6/released/8.11.1/simple-io/1.7.0.html
HTML
mit
12,661
<?php declare(strict_types=1); namespace EdmondsCommerce\DoctrineStaticMeta\CodeGeneration\Command; use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Tools\Console\MetadataFilter; use EdmondsCommerce\DoctrineStaticMeta\CodeGeneration\Generator\RelationsGenerator; use EdmondsCommerce\DoctrineStaticMeta\CodeGen...
edmondscommerce/doctrine-static-meta
src/CodeGeneration/Command/GenerateRelationsCommand.php
PHP
mit
4,586
<?php class Teammember extends AppModel { public $name = 'Teammember'; // public $displayField = 'name'; // public $order = array('teampriority'); public $belongsTo = array('Team', 'Member'); public $hasMany = array('Trainingsteammember', 'Gamesteammember'); public function beforeFind($queryData) { parent::bef...
tribbie/clubman
Model/Teammember.php
PHP
mit
609
<?php // TODO: afterdelete // TODO: processing images /** * This is the model class for table "galleries". * * The followings are the available columns in table 'galleries': * @property string $GalleryId * @property string $ArticleId * @property string $GalleryOrder * * The followings are the available model...
NikolaiJeliazkov/cms1
www/www/protected/app/modules/admin/models/Galleries.php
PHP
mit
3,674
{% extends "base.html" %} {% from "macros.html" import render_flashed_messages %} {% from "macros_forms.html" import render_form %} {% block content %} {{ render_flashed_messages() }} <div class="container"> <h5><small>Editing character</small></h5><h3> {{ character.name }}</h3> {{ render_form(form, class_='inlin...
Ryu-CZ/flask-dnd
dnd/templates/character_edit.html
HTML
mit
458
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.deploymentmanager.models; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue...
Azure/azure-sdk-for-java
sdk/deploymentmanager/azure-resourcemanager-deploymentmanager/src/main/java/com/azure/resourcemanager/deploymentmanager/models/RestAuthLocation.java
Java
mit
1,318
To setup the documentation in the first place we followed: https://samnicholls.net/2016/06/15/how-to-sphinx-readthedocs/ which includes running ```bash cd docs/ sphinx-apidoc -o source/ --ext-autodoc ../src/CompartmentalSystems ``` to create the ```*.rst``` files of the modules in doc/source. This step has to be repea...
MPIBGC-TEE/CompartmentalSystems
build_docs/README.md
Markdown
mit
542
<?php namespace Tecnotek\Bundle\AsiloBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\Doctrine; use Doctrine\Common\DataFixtures\FixtureInterface; use Doctrine\Common\Persistence\ObjectManager; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\DependencyInjection\Contai...
selimcr/centroancianos
src/Tecnotek/Bundle/AsiloBundle/DataFixtures/ORM/LoadUserData.php
PHP
mit
15,922
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Data; namespace IISLogParser { // My best guess, parse each line to a dictionary, since all the log files could have different columns public class LogParser { private List<Dictionary<string, ...
kenwilcox/IISLogViewer
IISLogParser/LogParser.cs
C#
mit
3,702
<template> <ai-dialog style="width:700px"> <ai-dialog-header> <h2>${title}</h2> </ai-dialog-header> <ai-dialog-body> <form class="form-horizontal"> <div class="form-group"> <label for="txtJbLetter" class="col-sm-2 control-label">Jb...
larssima/AmiJukeBoxRemote
AmiJukeBoxRemote/gui/src/Views/edit-selections-dlg.html
HTML
mit
5,534
require(['common', 'jquery.metisMenu', 'layui', 'layers',"tools","ajaxurl", 'text!/assets/popup/del-news.html', 'text!/assets/popup/clear-news.html','text!/assets/popup/shield-news.html'], function (common, undefined, layui, layers,tool,ajaxurl,delNews, clearNews, shieldNews) { var main = { /** * [...
ifyour/Mr.Stock.CRM
js/app/message.js
JavaScript
mit
14,886
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Class template bs_set</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="gener...
davehorton/drachtio-server
deps/boost_1_77_0/doc/html/boost/intrusive/bs_set.html
HTML
mit
151,183
# -*- coding: utf-8 -*- # pylint: disable=C0302,fixme, protected-access """ The core module contains the SoCo class that implements the main entry to the SoCo functionality """ from __future__ import unicode_literals import socket import logging import re import requests from .services import DeviceProperties, Conte...
xxdede/SoCo
soco/core.py
Python
mit
72,281
class CommentSerializer < ApplicationSerializer cache key: 'comments', expires_in: 3.hours attributes :id, :content belongs_to :post, serializer: PostTinySerializer belongs_to :user, serializer: UserTinySerializer end
merqlove/mysterious_api
app/serializers/comment_serializer.rb
Ruby
mit
227
.App-footer { position: absolute; bottom: 0; background-color: #3e3e3e; text-align: center; color: #FFF; left: 0; right: 0; }
rudrakshpathak/react-app-boilerplate
src/Components/Footer/Footer.css
CSS
mit
161
# coding=UTF-8 ''' Created on 24.09.2017 @author: sysoev ''' from google.appengine.ext import db from google.appengine.api import users import datetime import time import logging from myusers import MyUser def force_unicode(string): if type(string) == unicode: return string return string.decode('ut...
sysoevss/WebApps17
data.py
Python
mit
2,774
package main import ( "encoding/json" "fmt" "net/url" "os" "time" "github.com/Sirupsen/logrus" "github.com/codegangsta/cli" "github.com/gin-gonic/gin" "github.com/gorilla/schema" "github.com/itsjamie/gin-cors" "github.com/moul/as-a-service" ) func main() { app := cli.NewApp() app.Name = "moul-as-a-servi...
moul/as-a-service
cmd/moul-as-a-service/main.go
GO
mit
3,077
import $ from 'jquery'; import ChromeExtensionMessageService from '../../../reuse/messageServiceDefinition'; /** * * @param {*} $scope * @param {*} $document * @param {*} $location * @param {ChromeExtensionMessageService} messageService * @param {*} analyticsService */ function MenuController($scope, $doc...
podStation/podStation
src/ui/ng/controllers/menuController.js
JavaScript
mit
2,217
import * as actions from '../UserActions'; it('should setup loggingIn', () => { const action = actions.loggingIn(); const expected = { type: 'LOGGING_IN' }; expect(action).toEqual(expected); }); it('should setup loggedInSuccess', () => { const user = 'janesmith'; const action = actions.loggedInSuccess...
fusionalliance/autorenter-react
src/actions/__test__/UserActions.test.js
JavaScript
mit
859
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTableProjeto extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('projetos', function (Blueprint $table) { $...
albertosveloso/rtlaravel
database/migrations/2015_09_19_151134_create_table_projeto.php
PHP
mit
710
var page; var healthStore; var weightType; function pageLoaded(args) { page = args.object; weightType = HKObjectType.quantityTypeForIdentifier(HKQuantityTypeIdentifierBodyMass); healthStore = HKHealthStore.new(); requestPermissions(healthStore, [weightType], [weightType]); } exports.pageLoaded = pageLoa...
danik121/HAN-MAD-DT-NATIVESCRIPT
app/views/healthkit/healthkit.js
JavaScript
mit
2,528
<?php /* * This file is part of the reditype package. * * (c) 2009-2010 digital Wranglers <info@wranglers.com.au> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ require_once(dirname(__FILE__).'/../lib/BasertShopVoucherAdminCompo...
pierswarmers/rtShopPlugin
modules/rtShopVoucherAdmin/actions/components.class.php
PHP
mit
619
FROM python:3.8-alpine # update apk repo RUN echo "http://dl-4.alpinelinux.org/alpine/v3.14/main" >> /etc/apk/repositories && \ echo "http://dl-4.alpinelinux.org/alpine/v3.14/community" >> /etc/apk/repositories # install chromedriver RUN apk update RUN apk add chromium chromium-chromedriver
joyzoursky/docker-python-chromedriver
py-alpine/3.8-alpine/Dockerfile
Dockerfile
mit
298
<?php // ini_set('display_startup_errors', 'On'); // ini_set('error_reporting' , 'E_ALL | E_STRICT'); // ini_set('track_errors' , 'On'); // ini_set('display_errors' , 1); // error_reporting(E_ALL); require_once('cronjob_log.php'); require_once('backup.php'); class cronjob { public function run...
Ermile/dash
lib/engine/cronjob/cronjob.php
PHP
mit
2,288
#ifndef CLIENTMODEL_H #define CLIENTMODEL_H #include <QObject> class OptionsModel; class AddressTableModel; class TransactionTableModel; class CWallet; QT_BEGIN_NAMESPACE class QDateTime; class QTimer; QT_END_NAMESPACE /** Model for Bitcoin network client. */ class ClientModel : public QObject { Q_OBJECT public...
ExoCoin/exocoin
src/qt/clientmodel.h
C
mit
2,858
/** * NoStorageModifier.hpp - * @author: Jonathan Beard * @version: Thu Apr 3 08:51:05 2014 */ #ifndef _NOSTORAGEMODIFIER_HPP_ #define _NOSTORAGEMODIFIER_HPP_ 1 #include "StorageModifier.hpp" namespace Node{ class NoStorageModifier : public StorageModifier { public: NoStorageModifier(); virtual ~NoStorage...
jonathan-beard/Raft
ASTNodes/NoStorageModifier.hpp
C++
mit
388
using System; using System.Collections.Generic; using System.Text; using _03BarracksFactory.Contracts; using _03BarracksFactory.CustomAttributes; namespace _03BarracksFactory.Core.Commands { public class AddCommand : Command { [Inject] private IRepository repository; [Inject] ...
YaniLozanov/Software-University
C#/03. C# OOP/03. C# OOP Advanced/04. Reflection and Attributes Exercises/05. BarracksWars - Return of the Dependencies/Core/Commands/AddCommand.cs
C#
mit
1,032
<?php /** * Locale data for 'rwk_TZ'. * * This file is automatically generated by yiic cldr command. * * Copyright © 1991-2007 Unicode, Inc. All rights reserved. * Distributed under the Terms of Use in http://www.unicode.org/copyright.html. * * @copyright 2008-2013 Yii Software LLC (http://www.yiiframework.com/...
neowutran/Nuitinfo
nuitinfo/protected/common/lib/vendor/yiisoft/yii/framework/i18n/data/rwk_tz.php
PHP
mit
14,466
from fooster.web import web import pytest test_key = 'Magical' test_value = 'header' test_header = test_key + ': ' + test_value + '\r\n' poor_key = 'not' poor_value = 'good' poor_header = poor_key + ':' + poor_value + '\r\n' good_header = poor_key + ': ' + poor_value + '\r\n' case_key = 'wEIrd' case_key_title = c...
fkmclane/web.py
tests/test_header.py
Python
mit
5,961
from {{appname}}.handlers.powhandler import PowHandler from {{appname}}.conf.config import myapp from {{appname}}.lib.application import app import simplejson as json import tornado.web from tornado import gen from {{appname}}.pow_dash import dispatcher # Please import your model here. (from yourapp.models.dbtype) @a...
pythononwheels/pow_devel
pythononwheels/start/stubs/dash_handler_template.py
Python
mit
2,667
-- phpMyAdmin SQL Dump -- version 4.3.11 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Feb 29, 2016 at 11:57 AM -- Server version: 5.6.24 -- PHP Version: 5.6.8 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; ...
sisinduku/SiPuas
db_sipuas.sql
SQL
mit
3,807
/* * Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (http://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.store; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.util.ArrayList; import java.util.Arr...
wizardofos/Protozoo
extra/h2/src/main/java/org/h2/store/LobStorageMap.java
Java
mit
12,802
# frozen_string_literal: true require "drip/resource" module Drip class Tag < Resource def self.resource_name "tag" end def initialize(raw_data = {}) @raw_attributes = raw_data.dup.freeze @attributes = @raw_attributes end end end
DripEmail/drip-ruby
lib/drip/resources/tag.rb
Ruby
mit
271
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow * @format */ 'use strict'; const visit = require('graphql').visit; import type { Argument, Condition, Directive,...
dbslone/relay
packages/relay-compiler/core/GraphQLIRVisitor.js
JavaScript
mit
3,178
var ip = require('ip'); var azure = require('azure-storage'); var osenv = require('osenv'); var Guid = require('guid'); //console.log(process.env.AZURE_STORAGE_ACCOUNT); //console.log(process.env.AZURE_STORAGE_ACCESS_KEY); // Some things are not reliably in the env, and have a fallback command: var h = osenv.hostname...
aichi/IP-address-collector
index.js
JavaScript
mit
1,304
body{ box-sizing: border-box; } .bg-inverse{ background-color: #17882c !important; } @media (min-width: 992px){ #mainNav .navbar-collapse .navbar-nav.sidebar-nav { background: #17882c !important; } #mainNav .navbar-collapse .navbar-nav.sidebar-nav li.active a{ background-color: #00420c !important; } } .p...
RogerioLucio/emprestimo_equipamentos
assets/css/style.css
CSS
mit
868
export const ic_format_paint_outline = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M18 4V3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6h1v4H9v11c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-9h8V4h-3zm-2 ...
wmira/react-icons-kit
src/md/ic_format_paint_outline.js
JavaScript
mit
351
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.0...
sussexcoursedata/course_data_project
src/main/java/org/xcri/profiles/_1_2/catalog/terms/ContactPattern.java
Java
mit
1,546
<HTML> <Header> <Title>per_fenacimiento - Column</Title> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <Link href="../css/doc.css" rel="stylesheet" type="text/css"> </Header> <Body> <table class="logo"> <tr> <td class="logo">merclinica [BDClinica.xml]</td> </tr> </table> <table class="...
Duvan07/Imperium
Documentacion/01. Requisitos/0.5 Diccionario de Datos/columns/public_mer_persona_per_fenacimiento.html
HTML
mit
1,792
package com.piratkopia13.pixelplanet.states; import com.piratkopia13.pixelplanet.Bullet; import com.piratkopia13.pixelplanet.GameMap; import com.piratkopia13.pixelplanet.GameVar; import com.piratkopia13.pixelplanet.Player; import com.piratkopia13.pixelplanet.engine.core.*; import com.piratkopia13.pixelplanet.engine.ph...
Piratkopia13/Pixel-Planet
Uncomplete_lwjgl_rewrite/src/com/piratkopia13/pixelplanet/states/Play.java
Java
mit
3,806
package com.InfinityRaider.AgriCraft.utility; import com.InfinityRaider.AgriCraft.handler.ConfigurationHandler; import com.InfinityRaider.AgriCraft.reference.Reference; import cpw.mods.fml.common.FMLLog; import org.apache.logging.log4j.Level; /** * A class to assist in the logging of the mod. * * Credits to Pahim...
HenryLoenwind/AgriCraft
src/main/java/com/InfinityRaider/AgriCraft/utility/LogHelper.java
Java
mit
3,373
package nl.soccar.ui.fx.controller; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringProperty; /** * A table-item represents one single row inside a (JavaFX) TableView. * * @author PTS34A */ public class ResultTableItem { private final SimpleStringProp...
PTS3-S34A/User-Interface
Soccar [UI]/src/nl/soccar/ui/fx/controller/ResultTableItem.java
Java
mit
1,267
using System; using System.Collections.Generic; using System.IO; namespace LuminoBuild.Tasks { class BuildEngine_Emscripten : BuildTask { public override string CommandName => "BuildEngine_Emscripten"; //public override List<string> Dependencies => new List<string>() { "BuildExterna...
lriki/Lumino
tools/LuminoBuild/Tasks/BuildEngine_Emscripten.cs
C#
mit
3,758
'use strict'; /** * @ngdoc function * @name gccdApp.controller:AboutCtrl * @description * # AboutCtrl * Controller of the itisforgirls */ angular.module('itisforgirls') .controller('AboutCtrl', function ($scope) { $scope.awesomeThings = [ 'HTML5 Boilerplate', 'AngularJS', 'Karma' ]; ...
lfgcodeLinc/Gecko-Commando-Squad
itisforgirls/app/scripts/controllers/about.js
JavaScript
mit
325