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
require_dependency 'query' module DefaultCustomQuery module QueryPatch extend ActiveSupport::Concern included do scope :only_public, -> { where(visibility: Query::VISIBILITY_PUBLIC) } end end end DefaultCustomQuery::QueryPatch.tap do |mod| Query.send :include, mod unless Query.include?(mod) e...
hidakatsuya/redmine_default_custom_query
app/patches/models/query_patch.rb
Ruby
mit
323
<i></i><span>返回</span>
yunxu1019/efront
coms/zimoli/back.html
HTML
mit
26
(function() { 'use strict'; angular.module('newApp') .controller('newAppCtrl', newAppCtrl); function newAppCtrl() { } })();
ekrtf/angular-express-starter
client/index.controller.js
JavaScript
mit
156
let upath = require('upath'), through2 = require('through2'), paths = require('../../project.conf.js').paths, RegexUtil = require('../util/RegexUtil'); module.exports = class StreamReplacer { constructor(replacements = {}) { this.replacements = replacements; } /** * Add a transf...
tniswong/web-build
build/support/stream/StreamReplacer.js
JavaScript
mit
1,719
import { InternalMethods } from './types' import fetch from 'node-fetch' import HttpError from './http-error' import { PAUSE_REPLICATION, RESUME_REPLICATION, } from '@resolve-js/module-replication' const setReplicationPaused: InternalMethods['setReplicationPaused'] = async ( pool, paused ) => { const endpoi...
reimagined/resolve
packages/runtime/adapters/replicators/replicator-via-api-handler/src/set-replication-paused.ts
TypeScript
mit
637
mobile-driver ============= > Automation driver for mobile. ## Installment ```bash $ npm i mobile-driver -g ``` ## Quick Start ### Start server ```shell # normal usage $ driver server # set a port $ driver server -p 3456 # run in background $ driver server -p 3456 & # send signal to server process $ dirver -s ...
huyq119/mobile-driver
README.md
Markdown
mit
922
.steps-label { color: $color-default-light; display: none; font-size: .8rem; left: 50%; margin-top: .5rem; position: absolute; transform: translateX(-50%); white-space: nowrap; @media (--small) { display: block; font-size: 1em; position: static; transform: none; white-space: norma...
leroy-merlin-br/garden
src/css/atoms/steps/label.css
CSS
mit
329
using System.ComponentModel; namespace LinqAn.Google.Metrics { /// <summary> /// The total numeric value for the requested goal number. /// </summary> [Description("The total numeric value for the requested goal number.")] public class Goal1Value: Metric<decimal> { /// <summary> /// Instantiates a <seealso...
kenshinthebattosai/LinqAn.Google
src/LinqAn.Google/Metrics/Goal1Value.cs
C#
mit
443
namespace UnityEditor.ShaderGraph { interface IPropertyFromNode { AbstractShaderProperty AsShaderProperty(); int outputSlotId { get; } } }
Unity-Technologies/ScriptableRenderLoop
com.unity.shadergraph/Editor/Data/Nodes/IPropertyFromNode.cs
C#
mit
167
--- layout: page title: "Marknadsföringsmaterial" meta_title: "Markanadsföringsmaterial" subheadline: "" teaser: "" header: image_fullwidth: "header_ultimateforbundet.jpg" permalink: "/ultimateforbundet/marknadsforingsmaterial/" ---
sonjacolmsjo/Ultimatesweden1
pages/ultimateforbundet/marknadsforingsmaterial.md
Markdown
mit
238
/** * WebCLGLVertexFragmentProgram Object * @class * @constructor */ WebCLGLVertexFragmentProgram = function(gl, vertexSource, vertexHeader, fragmentSource, fragmentHeader) { this.gl = gl; var highPrecisionSupport = this.gl.getShaderPrecisionFormat(this.gl.FRAGMENT_SHADER, this.gl.HIGH_FLOAT); this.precision = (hi...
stormcolor/stormenginec
StormEngineC/WebCLGLVertexFragmentProgram.class.js
JavaScript
mit
19,084
"use strict"; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), interval: 200, jshint: { options: { curly: true, eqeqeq: true, immed: true, latedef: false, newcap: true, noarg: ...
ahultgren/presspress
Gruntfile.js
JavaScript
mit
943
namespace _04.Hotel { using System; public class Hotel { public static void Main() { string month = Console.ReadLine(); int nightsCount = int.Parse(Console.ReadLine()); if (month == "May" || month == "October") { double disco...
TsvetanNikolov123/CSharp---Programming-Fundamentals
06 Conditional Statements And Loops - Exercises/04.Hotel/Hotel.cs
C#
mit
2,718
# Python Code From Book # This file consists of code snippets only # It is not intended to be run as a script raise SystemExit #################################################################### # 3. Thinking in Binary #################################################################### import magic print magic.f...
0ppen/introhacking
code_from_book.py
Python
mit
16,192
# 106. Construct Binary Tree from Inorder and Postorder Traversal [M] Given inorder and postorder traversal of a tree, construct the binary tree. # Note: You may assume that duplicates do not exist in the tree. # Code: ```c++ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNo...
ysong49/LeetCode-Note
algorithm/106.Construct Binary Tree from Inorder and Postorder Traversal.md
Markdown
mit
1,215
class ConferenceController < ApplicationController before_filter :respond_to_options load_and_authorize_resource find_by: :short_title def index @current = Conference.where('end_date >= ?', Date.current).order('start_date ASC') @antiquated = @conferences - @current end def show; end def schedule ...
raluka/osem
app/controllers/conference_controller.rb
Ruby
mit
834
//borrowed from stefanocudini bootstrap-list-filter (function($) { $.fn.btsListFilterContacts = function(inputEl, options) { var searchlist = this, searchlist$ = $(this), inputEl$ = $(inputEl), items$ = searchlist$, callData, callReq; //last callData execution function tmpl(str, data) { retu...
navroopsingh/HepBProject
app/assets/javascripts/bootstrap-list-filter-contacts.js
JavaScript
mit
3,485
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (11.0.10) on Thu Apr 15 10:34:57 CEST 2021 --> <title>com.wrapper.spotify.model_objects.specification (Spotify Web API Java Client 6.5.3 API)</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="dc.crea...
thelinmichael/spotify-web-api-java
docs/com/wrapper/spotify/model_objects/specification/package-summary.html
HTML
mit
47,289
/*! * jquery.initialize. An basic element initializer plugin for jQuery. * * Copyright (c) 2014 Barış Güler * http://hwclass.github.io * * Licensed under MIT * http://www.opensource.org/licenses/mit-license.php * * http://docs.jquery.com/Plugins/Authoring * jQuery authoring guidelines * * Launch : July 201...
hwclass/jquery.initialize
jquery.initialize-0.1.0.js
JavaScript
mit
1,101
package com.mdg.droiders.samagra.shush; import android.Manifest; import android.app.NotificationManager; import android.content.ContentValues; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; impor...
samagra14/Shush
app/src/main/java/com/mdg/droiders/samagra/shush/MainActivity.java
Java
mit
10,861
<?php # -*- coding: utf-8 -*- /* * This file is part of the wp-nonce-wrapper package. * * (c) 2017 Brandon Olivares * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Devbanana\WPNonceWrapper; /** * Wordpress nonce attach...
devbanana/wp-nonce-wrapper
src/Devbanana/WPNonceWrapper/WPNonceField.php
PHP
mit
1,417
/* * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * Copyright (c) 2013 Google, Inc. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use ...
ibawt/ev
vendor/Box2D/Collision/Shapes/b2PolygonShape.h
C
mit
3,674
/** * utility library */ var basicAuth = require('basic-auth'); var fs = require('fs'); /** * Simple basic auth middleware for use with Express 4.x. * * @example * app.use('/api-requiring-auth', utils.basicAuth('username', 'password')); * * @param {string} username Expected username * @param {string}...
scwissel/garagepi
utils.js
JavaScript
mit
1,421
version https://git-lfs.github.com/spec/v1 oid sha256:5f5740cfcc24e2a730f7ea590ae0dc07d66d256fd183c46facf3fdfeb0bd69d2 size 3654
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.16.0/io-queue/io-queue.js
JavaScript
mit
129
version https://git-lfs.github.com/spec/v1 oid sha256:467bccdb74ef62e6611ba27f338a0ba0c49ba9a90ef1facb394c14de676318cf size 1150464
yogeshsaroya/new-cdnjs
ajax/libs/vis/3.12.0/vis.js
JavaScript
mit
132
version https://git-lfs.github.com/spec/v1 oid sha256:4f8b1998d2048d6a6cabacdfb3689eba7c9cb669d6f81dbbd18156bdb0dbe18f size 1880
yogeshsaroya/new-cdnjs
ajax/libs/uikit/2.5.0/js/addons/form-password.js
JavaScript
mit
129
--- layout: page title: "Matthew Dean Gerber" comments: true description: "blanks" keywords: "Matthew Dean Gerber,CU,Boulder" --- <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script...
nikhilrajaram/nikhilrajaram.github.io
instructors/Matthew_Dean_Gerber.md
Markdown
mit
5,060
<TS language="cs" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Pravým kliknutím upravte adresu nebo popisek</translation> </message> <message> <source>Create a new address</source> <tran...
neoscoin/neos-core
src/qt/locale/neos_cs.ts
TypeScript
mit
86,643
<?php return [ /* |-------------------------------------------------------------------------- | Default Search Engine |-------------------------------------------------------------------------- | | This option controls the default search connection that gets used while | using Laravel Scou...
GeekGhc/ISpace
config/scout.php
PHP
mit
2,714
from django.contrib.auth import get_user_model from rest_framework.authentication import SessionAuthentication, BasicAuthentication from rest_framework import routers, serializers, viewsets, permissions from rest_framework_jwt.authentication import JSONWebTokenAuthentication from rest_framework.reverse import reve...
climberwb/video-api
src/comments/serializers.py
Python
mit
2,962
import React from 'react' import { FormControl } from 'react-bootstrap' import './@FilterListInput.css' const FilterListInput = ({onFilter, searchValue}) => { let handleFilter = e => { onFilter(e.target.value) } return (<FormControl className='FilterListInput' type='text' defaultValue={searchValue} placehold...
DataSF/open-data-explorer
src/components/FilterListInput/index.js
JavaScript
mit
425
body { margin:0; font-family: Verdana,sans-serif; background-color: #F5F5F5; font-size: 14px; } h1 { font-size: 1.10em; } h2 { font-size: 1.10em; margin-top: 0;} h3 { font-size: 1em; } a { text-decoration: none; } section > div, .alert { width:50%; margin:auto; } /* all sections are off by default...
lduboeuf/skeleton-web-app
src/app.css
CSS
mit
5,246
class CreateRemexifyLogowners < ActiveRecord::Migration def self.up create_table :<%= table_name %>_owners do |t| t.string :log_md5, null: false t.string :identifier_id, null: false # this can be used to store additional info, such as the class of identifier_id above, or anything else # y...
saveav/Remexify
lib/generators/active_record/templates/create_remexify_logowners.rb
Ruby
mit
743
// <auto-generated /> namespace HRMBot.Repository.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial c...
mahedee/gen-bot-hrm
src/HRMBot.Repository/Migrations/201711120656421_NewModelTempOtp.Designer.cs
C#
mit
834
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Inference.Interpreter; using Inference.Interpreter.LISP; using Inference.Interpreter.Scheme; using Inference.Parser; using NUnit.Framework; namespace Inference.Tests.Interpreter.Scheme ...
tom-weatherhead/inference
InferenceLibs/Inference.Tests/Interpreter/Scheme/Parser_Fixture.cs
C#
mit
65,162
--- layout: post title: Week 4 description: "Spending Money in Quarantine" tags: [post] image: background: triangular.png --- In general I feel like I am saving money by being home. I don't go out to eat (we do takeout on $food_delivery_service on occasion now). I don't work from coffeeshops. I don't drive as much s...
kendallnelson/kendallnelson.github.io
_posts/2020-4-7-Week-4.md
Markdown
mit
2,101
<?php /* * $Id: Groupby.php 3884 2008-02-22 18:26:35Z jwage $ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. ...
nbonamy/doctrine-0.10.4
lib/Doctrine/Query/Groupby.php
PHP
mit
1,870
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Tests { [ClientTestFixture( ...
Azure/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/tests/AnalyzeOperationTests.cs
C#
mit
36,885
#ifndef NNTPCHAN_LINE_HPP #define NNTPCHAN_LINE_HPP #include "server.hpp" #include <stdint.h> #include <sstream> namespace nntpchan { /** @brief a buffered line reader */ class LineReader { public: /** @brief queue inbound data from connection */ void Data(const char *data, ssize_t s); protected: /** @brief h...
majestrate/nntpchan
contrib/backends/nntpchan-daemon/include/nntpchan/line.hpp
C++
mit
487
// advent16.rs // find Aunt Sue extern crate pcre; use std::io; fn main() { loop { let mut input = String::new(); let result = io::stdin().read_line(&mut input); match result { Ok(byte_count) => if byte_count == 0 { break; }, Err(_) => { println!("e...
davidsullins/AdventOfCodeRust
src/bin/advent16.rs
Rust
mit
2,789
package jenkins.plugins.http_request; import static com.google.common.base.Preconditions.checkArgument; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import javax.annotation.Nonnull; import org.kohsuke.s...
martinda/http-request-plugin
src/main/java/jenkins/plugins/http_request/HttpRequest.java
Java
mit
15,118
# rollup-plugin-multi-entry Use multiple entry points in your [rollup](https://github.com/rollup/rollup) bundle. This is particularly useful for tests, but can also be used to package a library. The exports from all the entry points will be combined, e.g. ```js // a.js export const a = 1; // b.js export const b = 2;...
MicroDreamIT/ShapeCss
node_modules/rollup-plugin-multi-entry/README.md
Markdown
mit
1,911
.eventList { position:relative; } .event { -webkit-transition: all 0.5s; -moz-transition: all 0.5s; transition: all 0.5s; } .eventComplete { background-color: lightgray; position: relative; margin-left: -5px; text-decoration: line-through; } .eventComplete > tbody { background-color: lightgray; } .calenda...
CoursesPlus/CoursesPlus
css/markEvents.css
CSS
mit
483
# Common-Lisp examples The examples and my notes are from the book [Common LISP - A Gentle Introduction to Symbolic Computation](http://www.cs.cmu.edu/~dst/LispBook/) by [David S. Touretzky](http://www.cs.cmu.edu/~dst/). # License MIT
miguelmota/common-lisp-examples
README.md
Markdown
mit
238
package by.bsuir.verkpavel.adb.data; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.ArrayList; import by.bsuir.verkpavel.adb.data.entity.Account; import by.bsuir.verkpavel.adb.data.entity.Client; import by.bsuir.verkpavel.adb.data.entity.Deposit; import by.bs...
VerkhovtsovPavel/BSUIR_Labs
Labs/ADB/ADB-2/src/by/bsuir/verkpavel/adb/data/DataProvider.java
Java
mit
4,665
/*! * ear-pipe * Pipe audio streams to your ears * Dan Motzenbecker <dan@oxism.com> * MIT Licensed */ "use strict"; var spawn = require('child_process').spawn, util = require('util'), Duplex = require('stream').Duplex, apply = function(obj, method, args) { return obj[method].apply(obj, args...
dmotz/ear-pipe
index.js
JavaScript
mit
1,304
<HTML><HEAD> <TITLE>Review for Total Recall (1990)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0100802">Total Recall (1990)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Jaye+Mathisen...
xianjunzhengbackup/code
data science/machine_learning_for_the_web/chapter_4/movie/0781.html
HTML
mit
3,882
<?php /* Plugin Name: Collapsing Categories Plugin URI: http://blog.robfelty.com/plugins Description: Uses javascript to expand and collapse categories to show the posts that belong to the category Author: Robert Felty Version: 2.0.3 Author URI: http://robfelty.com Tags: sidebar, widget, categories, menu, navigation, ...
mandino/emergingprairie.misfit.co
wp-content/plugins/collapsing-categories/collapscat.php
PHP
mit
5,550
<app-header></app-header> <div class="app-body"> <app-sidebar></app-sidebar> <main class="main"> <ol class="breadcrumb"> <breadcrumbs></breadcrumbs> </ol> <div class="container-fluid"> <router-outlet></router-outlet> </div> </main> </div> <app-footer><...
congchinhqn/CapitalManagement
src/app/components/admin/admin.component.html
HTML
mit
332
<?php namespace Field\Providers; use Pluma\Support\Providers\ServiceProvider; class FieldServiceProvider extends ServiceProvider { /** * Array of observable models. * * @var array */ protected $observables = [ [\Field\Models\Field::class, '\Field\Observers\FieldObserver'], ]; ...
lioneil/pluma
core/submodules/Form/submodules/Field/Providers/FieldServiceProvider.php
PHP
mit
967
/** * @description - The purpose of this model is to lookup various Drinking activities for a user */ var baseModel = require('./base'); var Drink; Drink = baseModel.Model.extend({ tableName: 'drink' }); module.exports = baseModel.model('Drink', Drink);
salimkapadia/dating-with-node-api
database/models/drink.js
JavaScript
mit
260
module.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module', ecmaFeatures: { 'jsx': true }, }, globals: { enz: true, xhr_calls: true, }, plugins: [ 'react' ], extends: 'react-app', rules: { 'semi': [2, 'never'], // allow paren-le...
tutorcruncher/socket-frontend
.eslintrc.js
JavaScript
mit
653
define(['jquery'], function ($) { if (!Array.prototype.reduce) { /** * Array.prototype.reduce polyfill * * @param {Function} callback * @param {Value} [initialValue] * @return {Value} * * @see http://goo.gl/WNriQD */ Array.proto...
czajkowski/sunnynote
src/js/core/agent.js
JavaScript
mit
2,766
<<<<<<< HEAD <<<<<<< HEAD """ Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP852.TXT' with gencodec.py. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_map) def decode(self,...
ArcherSys/ArcherSys
Lib/encodings/cp852.py
Python
mit
105,146
package com.lfk.justweengine.Utils.tools; import android.content.Context; import android.content.SharedPreferences; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; impo...
Sonnydch/dzwfinal
AndroidFinal/engine/src/main/java/com/lfk/justweengine/Utils/tools/SpUtils.java
Java
mit
8,126
<?php return array ( 'id' => 'samsung_z130_ver1', 'fallback' => 'generic_android_ver4_2', 'capabilities' => array ( 'model_name' => 'Z130', 'brand_name' => 'Acer', 'release_date' => '2013_september', 'physical_screen_height' => '74', 'physical_screen_width' => '50', ), );
cuckata23/wurfl-data
data/samsung_z130_ver1.php
PHP
mit
304
import processing.core.*; import processing.data.*; import processing.event.*; import processing.opengl.*; import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; import codeanticode.syphon.*; import java.uti...
joseflamas/zet
variaciones/antesFestival/ANTES01/build-tmp/source/ANTES01.java
Java
mit
11,561
ml.module('three.scenes.Fog') .requires('three.Three', 'three.core.Color') .defines(function(){ /** * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ */ THREE.Fog = function ( hex, near, far ) { this.color = new THREE.Color( hex ); this.near = ( near !== undefined )...
zfedoran/modulite-three.js
example/js/threejs/src/scenes/Fog.js
JavaScript
mit
390
<?php /** * Copyright (c) 2012 - 2017, COOPATTITUDE. Tous droits réservés. * * * @author COOPATTITUDE * @copyright Copyright (c) 2012 - 2017, COOPATTITUDE */ class IrCssClassBody extends \IrCssClassFather { function __construct ($className) { parent::__construct ('body', $className) ; } function setFon...
coopattitude/coopgui
system/Css/IrCssClassBody.php
PHP
mit
1,148
<form> <fieldset> <form-field name="2_1"> <input ng-model="field.value" ng-model-options="{ debounce: 300 }" class="form-control"> </form-field> <form-field name="2_2"> <input ng-model="field.value" ng-model-o...
pensandoodireito/sisdepen-forms
src/Renatomefi/FormBundle/Resources/public/angular/views/form/pages/inspecao-estabelecimentos-penais/2.html
HTML
mit
2,116
bool isSameTree(struct TreeNode* p, struct TreeNode* q) { if (p == NULL && q == NULL) { return true; } else if ((p && !q) || (q && !p)) { return false; } else if ((p->left == NULL && q->left != NULL) || (q->left == NULL && p->left != NULL)) { return false; } else if ((p->right == NULL && q->right != NULL) || ...
pamge/leetcode
Algorithms/1xx/100 Same Tree.c
C
mit
580
require "sampler/engine" module Sampler end
kikonen/sampler
lib/sampler.rb
Ruby
mit
45
<?php /* * Copyright 2014 Google Inc. * * 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 law or agreed t...
dwivivagoal/KuizMilioner
application/libraries/php-google-sdk/google/apiclient-services/src/Google/Service/TagManager/WorkspaceProposalHistory.php
PHP
mit
2,197
require 'ostruct' module SimCtl class Command module StatusBar # Clear all status bar overrides # # @param device [SimCtl::Device] the device # @return [void] def status_bar_clear(device) unless Xcode::Version.gte? '11.4' raise UnsupportedCommandError, 'Needs at le...
plu/simctl
lib/simctl/command/status_bar.rb
Ruby
mit
1,529
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
jamesu/libDTShape
libdts/src/core/util/triListOpt.cpp
C++
mit
13,083
.send{ background-color: #FFC107; margin-bottom: 5px; } .animalName { font-size: 32px; color: #FFC107; text-shadow: 0 0 1px #070101; margin-bottom: 10px; text-align: left; } Form { margin-top: 20px; } .animalPic { padding:1px; border:3px solid #021a40; }
Contrapuntist/petrescuers
client/src/components/Saved/saved.css
CSS
mit
281
/** * @file Generate ico image files. * @memberof module:ci/tasks * @function icoTask * @param grunt * @param {object} config - Task configuration. * @param {function} callback - Callback when done. * */ "use strict"; var ico = require('../../lib/commands/ico'); module.exports = function (grunt, config, call...
itkoren/fur
ci/tasks/ico_task.js
JavaScript
mit
517
/*GENERAL*/ html { zoom: 0.8; -webkit-print-color-adjust: exact; } body { font-family: "Source Sans Pro", Arial, Helvetica, sans-serif; font-weight: 400; font-size: 14px; } h1,h2,h3 { font-weight: 300; margin: 0.3em 0; } h4,h5 { font-weight: 400; margin: 0.5em 0; } h5 { font-size: 1.2em; } h1 { font-size...
timojarv/genvoice
templates/invoice.css
CSS
mit
1,505
<<<<<<< HEAD # Object Oriented Programming Assignments 2014/2015 ## Assignment 2 Create a retro-style game to run on this beautiful arcade cabinet. ![Arcade](arcade1.jpg) ![Arcade](arcade2.jpg) If you need inspiration, check out: [![Video](http://img.youtube.com/vi/S575a92AsuQ/0.jpg)](http://www.youtube.com/watc...
Sh1zha0/Assignment2
README.md
Markdown
mit
5,057
'use strict'; const path = require('path') const webpack = require('webpack') const pkg = require('./package.json') const HtmlWebpackPlugin = require('html-webpack-plugin') const WebpackNotifierPlugin = require('webpack-notifier') var paths = { dist: path.join(__dirname, 'dist'), src: path.join(__dirname, 'sr...
shprink/react-redux-webpack-todo
webpack.config.js
JavaScript
mit
3,162
var EcommerceProductsEdit = function () { var handleImages = function() { // see http://www.plupload.com/ var uploader = new plupload.Uploader({ runtimes : 'html5,html4', browse_button : document.getElementById('tab_images_uploader_pickfiles'), // you can pass in i...
webstruction/eCommerce
assets/admin/pages/scripts/products-edit.js
JavaScript
mit
24,442
var dotBeautify = require('../index.js'); var fs = require('fs'); var chai = require('chai'); var assert = chai.assert; var expect = chai.expect; var setup = 'function start (resp)\ {\ resp.writeHead(200, {"Content-Type": "text/html"\ });\ fs.readFile(filename, "utf8", function(err, data) {\ if (e...
bearjaws/dotbeautify
test/index.spec.js
JavaScript
mit
1,510
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
Stephen-Cameron-Data-Services/isis-agri
dom/src/main/java/au/com/scds/agric/dom/simple/SimpleObjectRepository.java
Java
mit
2,086
function Block() { this.isAttacked = false; this.hasShip = false; this.shipType = "NONE"; this.attackable = true; this.shipSize = 0; this.direction = "no" } function Ship(x,y,direction,size){ this.x = x; this.y = y; this.direction = direction; this.size = size; this.win = fa...
MAGKILLER/magkiller.github.io
Demo/battleship/mapObject.js
JavaScript
mit
14,779
/* * FILE: S3Operator * Copyright (c) 2015 - 2019 GeoSpark Development Team * * 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 * * Un...
Sarwat/GeoSpark
viz/src/main/java/org/datasyslab/geosparkviz/utils/S3Operator.java
Java
mit
3,664
import Ember from 'ember'; export default Ember.Component.extend({ colorMap: { running: 'green', waiting: 'orange', terminated: 'red' }, getStatusByName(name) { let retval = null; Ember.$.each(this.get('containerStatuses'), (i, containerStatus) => { if (name === containerStatus.name) {...
holandes22/kube-admin
app/components/pod-containers/component.js
JavaScript
mit
987
define(function() { var TramoView = Backbone.View.extend({ tagName: 'tr', template: _.template($('#tramo-tmpl').html()), events: {}, initialize: function() {}, render: function(index) { $(this.el).html(this.template(this.model.toJSON())) .add...
tapichu/highway-maps
project/media/js/views/TramoView.js
JavaScript
mit
436
import * as Q from 'q' export {Q}
cabralRodrigo/Mineswepper
src/ts/libs/lib.ts
TypeScript
mit
34
""" Setup file """ import os from setuptools import find_packages, setup HERE = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(HERE, "README.rst")) as f: README = f.read() with open(os.path.join(HERE, "CHANGES.rst")) as f: CHANGES = f.read() REQUIREMENTS_TEST = open(os.path.join(HERE, "r...
stevearc/dynamo3
setup.py
Python
mit
1,819
@font-face { font-family: "Flaticon"; src: url("../fonts/flaticon.eot"); src: url("../fonts/flaticon.eot#iefix") format("embedded-opentype"), url("../fonts/flaticon.woff") format("woff"), url("../fonts/flaticon.ttf") format("truetype"), url("../fonts/flaticon.svg") format("svg"); font-weight: normal; font-sty...
zeusdeux/colorfad.in
public/css/flaticon.css
CSS
mit
619
// Copyright (c) 2009-2015 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin developers // Copyright (c) 2011-2015 Litecoin Developers // Copyright (c) 2013-2015 Globalcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-...
CryptoParts/GlobalCoin
src/serialize.h
C
mit
41,549
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DefaultValues { class Program { static void Main(string[] args) { var dict = new Dictionary<string, string>(); var currValue = Console.ReadLine...
stefanliydov/SoftUniLab
LINQ/DefaultValues/Program.cs
C#
mit
1,113
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("Qu...
mimiem/CSharp-Part1
ConsoleInputOutput/QuadraticEquation/Properties/AssemblyInfo.cs
C#
mit
1,410
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta chars...
mundizzle/letstalkshoppe
liana.html
HTML
mit
5,488
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("Ch...
Jarrey/ChameWeather
src/ChameWeather.Service/Properties/AssemblyInfo.cs
C#
mit
1,060
module.exports = { moduleFileExtensions: ['js', 'jsx', 'json', 'vue', 'ts', 'tsx'], transform: { '^.+\\.vue$': 'vue-jest', '.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub', '^.+\\.tsx?$': 'ts-jest' }, transformIgnorePatterns: ['/node_modules/'], moduleNameMapper: { '^@/(....
vue-styleguidist/vue-styleguidist
examples/vuecli3-class-pug-ts/jest.config.js
JavaScript
mit
655
package pttravis; import java.util.List; public class ScoreElementalDef implements ScoreItems { public ScoreElementalDef() { } @Override public String getName() { return "Elemental Def"; } @Override public float score(List<Item> items) { if( items == null ) return 0; float score = 0; for( Item ...
pttravis/ds-armor
src/pttravis/ScoreElementalDef.java
Java
mit
726
#!/usr/bin/env python import Config import Database import atexit, os, time from flask import Flask from concurrent.futures import ThreadPoolExecutor from classes import CRONTask # Generate a thread pool executor = ThreadPoolExecutor(5) app = Flask( __name__ ) @app.route( "/" ) def index( ) : return "View Generator...
BioGRID/ORCA
operations/ViewGenerator/ViewGeneratorService.py
Python
mit
594
/******************************************************************************** ** Form generated from reading UI file 'askpassphrasedialog.ui' ** ** Created: Sun Feb 16 07:26:55 2014 ** by: Qt User Interface Compiler version 4.8.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI fil...
deadshield/chriscoin
build/ui_askpassphrasedialog.h
C
mit
5,506
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.bitcoin = { messagePrefix: '\x18Bitcoin Signed Message:\n', bech32: 'bc', bip32: { public: 0x0488b21e, private: 0x0488ade4, }, pubKeyHash: 0x00, scriptHash: 0x05, wif: 0x80, }; exports.regtest = { messagePrefix:...
visvirial/bitcoinjs-lib
src/networks.js
JavaScript
mit
700
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paramcoq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/extra-dev/dev/paramcoq/1.1.3+coq8.14.html
HTML
mit
7,597
.navbar-brand a { color: inherit; text-decoration: none; } .content { margin-top: 70px; }
alirezamdz/Boilerplate4NodeJsApp
public/stylesheets/style.css
CSS
mit
96
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-23 15:47 from __future__ import unicode_literals from django.db import migrations, models import oktansite.models class Migration(migrations.Migration): dependencies = [ ('oktansite', '0004_news_attachment'), ] operations = [ ...
aliakbr/oktan
oktansite/migrations/0005_news_image.py
Python
mit
526
/****************************************************************************** ** Filename: cutoffs.c ** Purpose: Routines to manipulate an array of class cutoffs. ** Author: Dan Johnson ** History: Wed Feb 20 09:28:51 1991, DSJ, Created. ** ** (c) Copyright Hewlett-Packard Company, 1988. ** Lic...
koobonil/Boss2D
Boss2D/addon/_old/tesseract-3.04.01_for_boss/classify/cutoffs.cpp
C++
mit
3,102
#include "pQueue.h" #include <stdlib.h> #include <stdio.h> void initPQueue(pQueue **queue) { //We allocate memory for the priority queue type //and we initialize the values of the fields (*queue) = (pQueue *) malloc(sizeof(pQueue)); (*queue)->first = NULL; (*queue)->size = 0; return; } void addPQueu...
romhack/aBsenTminDeD
pQueue.c
C
mit
3,857
#include "injected.h" #include <mach-o/dyld_images.h> #include <mach-o/loader.h> #include <mach-o/nlist.h> #include <string.h> #include <dlfcn.h> /* These values are overwritten on a per-injection basis by the injector. */ /* Must not be defined as consts, or the compiler will optimize them. */ struct dyld_all_image_i...
LIJI32/MIP
MIP/injector/payloads/injected32.c
C
mit
4,058
require 'basalt/packages/repo' require 'basalt/packages/package_assert' module Basalt class Packages # Allows the searching of multiple repos as if it was one repo class MultiRepo include PackageAssert # @return [Array<Repo>] attr_accessor :repos def initialize @repos = [] ...
polyfox/moon-basalt
lib/basalt/packages/multi_repo.rb
Ruby
mit
1,070
# frozen_string_literal: true module Citywrapper class Configuration attr_accessor :api_key end end
JoeSouthan/citywrapper
lib/citywrapper/configuration.rb
Ruby
mit
109
# Xamarin.Plugin.AudioState The AudioState plugin for Xamarin and Xamarin.Forms applications will add some cross-platform audio checks to your application: * Check if there is any music playing in the background * Check if a wired headset is connected to the headphone jack * Get the current output latency * Get the c...
tschaens1/Xamarin.Plugin.AudioState
README.md
Markdown
mit
2,587
import React from 'react'; import PropTypes from 'prop-types'; import './index.css'; const TemplateWrapper = ({children}) => <div>{children()}</div>; TemplateWrapper.propTypes = { children: PropTypes.func, }; export default TemplateWrapper;
jwngr/jwn.gr
src/layouts/index.js
JavaScript
mit
247