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
package opentipbot.persistence.model; /** * @author Gilles Cadignan */ public enum OpenTipBotCommandStatus { NEW,PENDING,PROCESSED,ERROR; }
gill3s/opentipbot
opentipbot-persistence/src/main/java/opentipbot/persistence/model/OpenTipBotCommandStatus.java
Java
mit
147
import traverse from "../../../traversal"; import object from "../../../helpers/object"; import * as util from "../../../util"; import * as t from "../../../types"; import values from "lodash/object/values"; import extend from "lodash/object/extend"; function isLet(node, parent) { if (!t.isVariableDeclaration(node)...
rwjblue/babel
src/babel/transformation/transformers/es6/block-scoping.js
JavaScript
mit
14,712
#pragma once #include "engine/core/types.h" namespace sandbox { void ecs_init_physics_clean(void); void ecs_update_physics_clean(r32 dt); }
Feacur/CustomEngineStudy
sandbox/src/game/physics_clean.h
C
mit
143
// // NSMutableString+MSOSDKAdditions.h // Pods // // Created by John Setting on 4/6/17. // // #import <Foundation/Foundation.h> @interface NSMutableString (MSOSDKAdditions) - (nullable NSMutableString *)mso_string_escape; - (nullable NSMutableString *)mso_string_unescape; @end
logicielInc/MSOSDK
MSOSDK/Extensions/NSMutableString+MSOSDKAdditions.h
C
mit
286
<?php /* * This file is part of the Shared Kernel library. * * Copyright (c) 2016-present LIN3S <info@lin3s.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace LIN3S\SharedKernel\Domain\Model\...
LIN3S/SharedKernel
src/LIN3S/SharedKernel/Domain/Model/Email/Email.php
PHP
mit
1,266
# coding=utf-8 # -------------------------------------------------------------------------- # 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. # Changes may ...
Azure/azure-sdk-for-python
sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_router_peerings_operations.py
Python
mit
22,524
--- layout: post author: 166yuan titile: 自适应设计与响应式设计 category: 前端 tag: 响应式 --- ###自适应与响应式 首先,两者是不同的东西,不要混为一谈。 ```自适应网页设计```是指自动识别屏幕宽度、并做出相应调整的网页设计。 ```响应式网页设计```是```自适应网页设计```的子集。```响应式网页设计```指的是页面的布局(流动网格、灵活的图像及媒介查询)。总体目标就是去解决设备多样化问题。 响应式布局等于流动网格布局,而```自适应布局```等于使用固定分割点来进行布局。 当固定宽度与流动宽度结合起来时,```自适应布局```就是一种响应式设计...
166yuan/166yuan.github.io
_posts/2015-04-20-响应式页面布局.md
Markdown
mit
3,546
// // VersionName.h // // Created by Alex Bonine 07/19/2012 // #import <Cordova/CDVPlugin.h> @interface VersionName : CDVPlugin - (void) getVersionName:(CDVInvokedUrlCommand*)command; @end
alexbonine/version-name
src/ios/VersionName.h
C
mit
196
package services import ( "github.com/stretchr/testify/assert" "testing" ) func ReadJsonConfFileServiceTest(t *testing.T) { confFilename := "../testdata/fixtures/system.json" f, _ := ReadJsonConfFileService(confFilename) if len(f.Files) < 1 { t.Fatal("no Files found in " + confFilename) } var actual strin...
pce/doctorlog
services/services_test.go
GO
mit
501
using SharpKit.JavaScript; using UnityEngine; using System.Collections; using System.Collections.Generic; // test System.Collections.Generic.List public class ListTest : MonoBehaviour { // Use this for initialization void Start () { } float elapsed = 0; void Update() { elapsed += Time....
linkabox/PureJSB
Assets/Scripts/JsbUnitTest/Samples/ListTest.cs
C#
mit
933
/* working */ *, *:after, *:before { box-sizing: border-box; } * {margin:0;padding:0;border: 0 none; position: relative;} :root { --sinSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; --Nhexa: 4; ...
philipagardner/IRIS_Site
css/Hex_Grid2.css
CSS
mit
2,436
<!-- todolist_cms Created by keleko34, the main list for the todo app -->
keleko34/Konnekt
components/todolist/cms/todolist.html
HTML
mit
74
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * HP * * This model handles clinic management. It operates the following tables: * - HP, * - users * * @author Visions */ class Manage_hp extends CI_Model { private $table_name = 'mc_hp_info'; // HP entry private $countries_t...
bhishamtrehan/themedconsult
application/modules/master/models/manage_hp.php
PHP
mit
21,300
{{--do not use Form::open because we don't want the hidden token field --}} <form method="POST" action="{{ config('payment.europabank.mpiUrl') }}" accept-charset="UTF-8" @foreach($attributes as $attribute => $value) {{ $attribute }}="{{ $value }}" @endforeach > {{ Form::hidden('Uid', config('p...
spatie/payment
src/Gateways/Europabank/form.blade.php
PHP
mit
1,701
<?php namespace Heartbeats\Heartbeats\Jobs; use Illuminate\Bus\Queueable; use Heartbeats\Heartbeats\Reporter; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; class ReporterJob implements ShouldQueue { use Dispatchable, Queueable; /** * The data to be reported. ...
heartbeats-pro/heartbeats
src/Jobs/ReporterJob.php
PHP
mit
791
from helper_sql import sqlExecute def insert(t): sqlExecute('''INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)''', *t)
bmng-dev/PyBitmessage
src/helper_sent.py
Python
mit
132
module Locomotive module SearchExt class Assign < ::Liquid::Tag include ActionView::Helpers::SanitizeHelper Syntax = /(#{::Liquid::VariableSignature}+)\s*to\s*(#{::Liquid::VariableSignature}+):\s*(#{::Liquid::VariableSignature}+)/ def initialize(tag_name, markup, tokens, context) if...
colibri-software/locomotive_search_ext_plugin
lib/locomotive/search_ext/plugin/assign.rb
Ruby
mit
1,735
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Savage_Hotel_System.Class { class Funcoes { public Funcoes() { } public int verificatelefone(String entrada) { //Verifica Telefon...
pablokintopp/Savage-Hotel
Savage Hotel System/Savage Hotel System/Class/Funcoes.cs
C#
mit
15,537
'use strict'; angular.module('adds').controller('QuestionController', ['$scope', function($scope) { // Question controller logic // ... } ]);
SEAN-KH-RYU/surveySite
public/modules/adds/controllers/question.client.controller.js
JavaScript
mit
148
import setBit from './set-bit' test('sets bits', () => { expect(setBit(0b0, 7, 1)).toEqual(128) expect(setBit(0b11111111, 8, 1)).toEqual(511) expect(setBit(0b1000000000, 9, 0)).toEqual(0) expect(setBit(0, 31, 1)).toEqual(1 << 31) })
dodekeract/bitwise
source/integer/set-bit.test.ts
TypeScript
mit
238
<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>Welcom...
thetanman/wipreport
dist/email/index.html
HTML
mit
10,354
## 111. Minimum Depth of Binary Tree [E] Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. ## Code: ### Round 1 - solution 1 - dfs recursion (12 ms): ```c++ /** * Definition for a binary tree node. * struct...
ysong49/LeetCode-Note
algorithm/111. Minimum Depth of Binary Tree.md
Markdown
mit
2,340
/* jshint esversion : 6 */ const mysql = require('mysql'); const connection = mysql.createConnection({ host : 'localhost', user : 'root', password : '@mysql', database : 'node-backend' }); connection.connect(); // dummy function pour vérifier si la connectione à la base est bien établie connection.q...
owlab-io/campus-simplon-2
03_js/05_vuejs/43_node_backend/src/models/users.js
JavaScript
mit
3,596
from . import adaptVor_driver from .adaptVor_driver import AdaptiveVoronoiDriver
westpa/westpa
src/westext/adaptvoronoi/__init__.py
Python
mit
82
+++ categories="article" date="2013-12-29T00:21:00+03:00" issue="2013-04" issue_name="2013 - №04" number="3" file = "https://static.nuclear-power-engineering.ru/articles/2013/04/03.pdf" udc="621.181.29" title="Исследование возможности использования на АЭС аккумуляторов тепловой энергии при регулировании частоты тока в...
nuclear-power-engineering/nuclear-power-engineering
content/article/2013/04/03.md
Markdown
mit
2,766
module Solon module Config mattr_accessor :vendor mattr_accessor :gateway_mode end end
pyrat/solon
lib/solon/config.rb
Ruby
mit
99
import os import sys def main(): if len(sys.argv) != 2: print("Usage: Pass the file name for the source transcript txt file.") sys.exit(-1) file = sys.argv[1] out_file = os.path.expanduser( os.path.join( '~/Desktop', os.path.basename(file) ) ) ...
mikeckennedy/python_bytes_show_notes
tools/otter_ai_to_our_format.py
Python
mit
1,657
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; namespace Editor { public abstract class DivMathWithOuterBase: DivMath { protected RowContainer outerEquation; public DivMathWithOuterBase(EquationContainer parent) : base(...
MovGP0/math-editor
Editor/equations/Division/DivMathWithOuterBase.cs
C#
mit
2,016
require 'spec_helper' describe OmniAuth::Strategies::Appnet do subject do OmniAuth::Strategies::Appnet.new({}) end context "general" do it "should be called appnet" do subject.options.name.should eq('appnet') end end context "endpoints" do it "has correct site" do subject.optio...
phuu/omniauth-appnet
spec/omniauth/strategies/appnet_spec.rb
Ruby
mit
696
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Ok : MonoBehaviour { private int push_button; public GameObject buttons; public Button ok; // Use this for initialization void Start () { ok = this.gameObject.transform....
GROWrepo/Santa_Inc
Assets/script/monoBehavior/Ok.cs
C#
mit
640
import './fileUpload.js'; import './fileGallery.html'; import './files.html'; import './files.scss'; if (!HTMLCanvasElement.prototype.toBlob) { Object.defineProperty(HTMLCanvasElement.prototype, 'toBlob', { value(callback, type, quality) { let binStr = atob(this.toDataURL(type, quality).split(',')[1]), ...
larswolter/ultisite
imports/client/files/files.js
JavaScript
mit
10,165
<?php namespace PetrKnap\Symfony\MarkdownWeb\Controller; use const PetrKnap\Symfony\MarkdownWeb\CONFIG; use const PetrKnap\Symfony\MarkdownWeb\CONTROLLER_CACHE; use const PetrKnap\Symfony\MarkdownWeb\CRAWLER_SERVICE; use PetrKnap\Symfony\MarkdownWeb\Service\Crawler; use Sensio\Bundle\FrameworkExtraBundle\Configuratio...
petrknap/trunk
packages/Symfony/MarkdownWeb/src/Controller/DefaultController.php
PHP
mit
3,021
/** * Automatically generated file. Please do not edit. * @author Highcharts Config Generator by Karasiq * @see [[http://api.highcharts.com/highcharts]] */ package com.highcharts.config import scalajs.js, js.`|` import com.highcharts.CleanJsObject import com.highcharts.HighchartsUtils._ /** * @note JavaScri...
Karasiq/scalajs-highcharts
src/main/scala/com/highcharts/config/PlotOptionsBbStatesHoverMarkerStates.scala
Scala
mit
2,113
<?php namespace AppBundle\Twig; use AppBundle\Service\SafeMarkdownParser; use Twig\Extension\AbstractExtension; use Twig\TwigFilter; class MarkdownExtension extends AbstractExtension { private SafeMarkdownParser $safeMarkdownParser; public function __construct(SafeMarkdownParser $safeMarkdownParser) { ...
AdventureLookup/AdventureLookup
src/AppBundle/Twig/MarkdownExtension.php
PHP
mit
705
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paradoxes: Error 🔥</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/dev/paradoxes/dev.html
HTML
mit
10,952
#ifndef GUI_CLASSES_H #define GUI_CLASSES_H #include "tetrisdata.h" #include <gui/panel.h> #include <gui/label.h> #include <gui/button.h> #include <gui/textfield.h> #include <gui/checkbox.h> #include <gui/flowlayout.h> #include <gui/borderlayout.h> #include <gui/combobox.h> #include <gui/progressbar.h> namespace { ...
mwthinker/Tetris
src/guiclasses.h
C
mit
4,234
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("Ta...
YoTsenkov/TelerikSoftwareAcademyHomeworks
HTMLReal/HTMLSemanticHW/Task01/Properties/AssemblyInfo.cs
C#
mit
1,366
require 'studio_game/player' require 'studio_game/die' module StudioGame describe Game do before do @game = Game.new("Knuckleheads") @initial_health = 100 @player = Player.new("moe", @initial_health) @game.add_player(@player) end it "has a title" do @game.title.sh...
ecrivain/studio_game
spec/studio_game/game_spec.rb
Ruby
mit
1,677
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import json import os from typing import Any, Dict, Iterator, List from dataflow.core.utterance_tokenizer import UtteranceTokenizer from dataflow.multiwoz.create_programs import create_programs_for_trade_dialogue from dataflow.multiwoz.salience...
microsoft/task_oriented_dialogue_as_dataflow_synthesis
tests/test_dataflow/multiwoz/test_create_programs.py
Python
mit
10,600
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel 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 ...
jasonrubenstein/python_oauth2
oauth2/__init__.py
Python
mit
29,031
// <auto-generated> // 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. // Changes may cause incorrect behavior and will be lost if the code is // re...
jamestao/azure-sdk-for-net
src/SDKs/FrontDoor/Management.FrontDoor/Generated/RoutingRulesOperations.cs
C#
mit
59,304
namespace android.view { [global::MonoJavaBridge.JavaClass()] public partial class GestureDetector : java.lang.Object { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; static GestureDetector() { InitJNI(); } protected GestureDetector(global::MonoJavaBridge.JNIEnv @__env) : base(@...
koush/androidmono
jni/MonoJavaBridge/android/generated/android/view/GestureDetector.cs
C#
mit
31,077
/* * Copyright (c) 2000-2007 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use th...
dechaoqiu/atosl_ruby
ext/atosl/cputype.h
C
mit
12,342
# Logicmoo AGI for LM489 This is a SWI-Prolog pack that runs LM489 - LOGICMOO IRC channel #logicmoo on [freenode.net](irc://irc.freenode.net:+6697/logicmoo). - LOGICMOO Telegram at [https://t.me/LogicMoo](https://t.me/LogicMoo) # Installation Using SWI-Prolog 7.1 or later: ?- pack_install('https://github.com...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_agi/README.md
Markdown
mit
1,105
--- layout: article title: 解决Sublime Text 无法显示韩文 tags: others date: 2017-08-29 category: others --- # 解决Sublime Text 无法显示韩文 打开 Sublime text --> Preferences --> Setting -- default 找到"font_options": [] 改成"font_options": [ "directwrite"] 如果无法编辑,请在%appdata%\Sublime Text 3\Packages目录手动建议default文件夹,保存了再重新打开 亲测无...
flyingSnow-hu/brokenslips
_posts/2017-08-29-sublime.md
Markdown
mit
500
import Ember from 'ember'; import { moduleFor, test } from 'ember-qunit'; // The default (application) serializer is the DRF adapter. // see app/serializers/application.js moduleFor('serializer:application', 'DRFSerializer', {}); test('normalizeResponse - results', function(assert) { let serializer = this.subject()...
benkonrath/ember-django-adapter
tests/unit/serializers/drf-test.js
JavaScript
mit
9,271
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Text; using System.Threading; usin...
drogoganor/ImageTagWPF
src/ImageTagWPF/Code/Util.cs
C#
mit
31,547
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class T_absensi_model extends MY_Model { public $table = 't_absensi'; public $primary_key = 'absensi_id'; public $label = 'absensi_id'; public $fillable = array(); // If you want, you can set an array with the fields that ca...
creatindo/sim_sekolah
application/models/T_absensi_model.php
PHP
mit
2,110
<!DOCTYPE html> <meta charset="utf-8"> <html> <head> <title>GitHub statistics</title> <meta property="og:title" content="GitHub statistics" /> <meta property="og:image" content="http://www.richard-musiol.de/ghstats/screenshot4.png" /> <style> body { font: 10px sans-serif; } .axis path, .axis ...
neelance/neelance.github.io
ghstats/index.html
HTML
mit
3,155
/* * The MIT License (MIT) * Copyright (c) 2015 SK PLANET. All Rights Reserved. * * 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 r...
skplanet/RemoteTestService
TA/skvideo/RUILib/RUIBufferVideoEncoder.h
C
mit
3,524
import { InternalUIConfig, PlayerWrapper, UIManager } from '../src/ts/uimanager'; import { PlayerAPI } from 'bitmovin-player'; import { MockHelper, TestingPlayerAPI } from './helper/MockHelper'; import { MobileV3PlayerEvent } from '../src/ts/mobilev3playerapi'; jest.mock('../src/ts/dom'); // This just simulates a Cla...
bitmovin/bitmovin-player-ui
spec/uimanager.spec.ts
TypeScript
mit
3,892
#include "ofTessellator.h" //-------------- polygons ---------------------------------- // // to do polygons, we need tesselation // to do tesselation, we need glu and callbacks.... // ------------------------------------ // one of the callbacks creates new vertices (on intersections, etc), // and there is a poten...
SpecularStudio/ofQt
of_v0.9.0/libs/openFrameworks/graphics/ofTessellator.cpp
C++
mit
6,142
define(['plugins/router', 'durandal/app', 'services/config', 'services/datacontext', 'services/logger','knockout'], function (router, app, config, datacontext, logger,ko) { var routes = ko.observableArray([]); var isAdminUser = ko.observable(); var showSplash = ko.observable(false); var vm = { ...
kmlewis/_old_stuff
ReferralTracker/ReferralReboot/App/shell.js
JavaScript
mit
1,512
Nikos Chrisochoides Nikos Chrisochoides Nikos Chrisochoides Nikos Chrisochoides Nikos Chrisochoides Nikos P. Chrisochoides Nikos Chrisochoides Nikos P. Chrisochoides Nikos Chrisochoides Nikos P. Chrisochoides
ML-SWAT/Web2KnowledgeBase
course-cotrain-data/inlinks/non-course/http:^^www.cs.cornell.edu^Info^People^nikosc^nikosc.html
HTML
mit
217
--- layout: page title: Clements Trade Award Ceremony date: 2016-05-24 author: Carl Hicks tags: weekly links, java status: published summary: Donec ornare mi eu massa fringilla eleifend. Aliquam erat. banner: images/banner/leisure-01.jpg booking: startDate: 11/30/2019 endDate: 12/03/2019 ctyhocn: MFEPRHX groupC...
KlishGroup/prose-pogs
pogs/M/MFEPRHX/CTAC/index.md
Markdown
mit
2,152
# We slice the array in two parts at index d, then print them # in reverse order. n, d = map(int, input().split()) A = list(map(int, input().split())) print(*(A[d:] + A[:d]))
yznpku/HackerRank
solution/practice/data-structures/arrays/array-left-rotation/solution.py
Python
mit
177
package mcjty.rftools.blocks.logic.invchecker; import gnu.trove.set.TIntSet; import gnu.trove.set.hash.TIntHashSet; import mcjty.lib.container.ContainerFactory; import mcjty.lib.container.DefaultSidedInventory; import mcjty.lib.container.InventoryHelper; import mcjty.lib.gui.widgets.ChoiceLabel; import mcjty.lib.gui.w...
McJty/RFTools
src/main/java/mcjty/rftools/blocks/logic/invchecker/InvCheckerTileEntity.java
Java
mit
10,522
/** * @license Highmaps JS v9.3.2 (2021-11-29) * @module highcharts/modules/tilemap * @requires highcharts * @requires highcharts/modules/map * * Tilemap module * * (c) 2010-2021 Highsoft AS * * License: www.highcharts.com/license */ 'use strict'; import '../../Series/Tilemap/TilemapSeries.js';
cdnjs/cdnjs
ajax/libs/highcharts/9.3.2/es-modules/masters/modules/tilemap.src.js
JavaScript
mit
307
// author BOSS #pragma once // added by BOSS /* * Copyright 2005-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distributi...
koobonil/Boss2D
Boss2D/addon/openssl-1.1.1a_for_boss/crypto/asn1/asn1_locl.h
C
mit
3,392
using System.Runtime.CompilerServices; #if DEBUG [assembly:InternalsVisibleTo("OpenSource.Data.HashFunction.Test, PublicKey=002400000480000094000000060200000024000052534131000400000100010085f076d56d0e4c1461db01820a06d1814c38d171cebad2714bf251a15ad82214fa3c51cd0c76e26265b4e46f96dd5ab5c9843b7406815d301bea7d7904c61c21ac...
brandondahler/Data.HashFunction
src/FriendAssemblies.cs
C#
mit
457
--- slug: led-by-hanging name: Led By Hanging ---
lignertys/lignertys.github.io
_my_categories/led-by-hanging.md
Markdown
mit
52
/* Zepto 1.1.3 - zepto event ajax form ie detect - zeptojs.com/license */ var Zepto = (function() { var undefined, key, $, classList, emptyArray = [], slice = emptyArray.slice, filter = emptyArray.filter, document = window.document, elementDisplay = {}, classCache = {}, cssNumber = { 'column-count': 1...
mamboer/3gz
src/js/libs/zepto/zepto.js
JavaScript
mit
57,961
var mailer = require('nodemailer'); var smtpTransport = require('nodemailer-smtp-transport'); var config = require('../config'); var util = require('util'); var transport = mailer.createTransport(smtpTransport(config.mail_opts)); //域名domain没有的时留空,devMode下读取host var SITE_ROOT_URL = 'http://' +...
giscafer/Vue-order
src/server/common/mail.js
JavaScript
mit
2,869
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaUserMd extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m13.1 30q0 0.6-0.5 1t-1 0.4-1-0.4-0.4-1 0.4-1 1-0.4 1 0.4 0.5 1z m22.8 1.4q0 ...
scampersand/sonos-front
app/react-icons/fa/user-md.js
JavaScript
mit
997
#!/usr/bin/env bash brew cask install alfred # Open the app so the preference files get initialized open "$HOME/Applications/Alfred 2.app"
losted/dotfiles
osx/apps/alfred.sh
Shell
mit
141
class PlayableAction def apply_to(game_engine:) raise NotImplementedError end end
randomcodenz/canasta
app/models/playable_action.rb
Ruby
mit
90
/** * Automatically generated file. Please do not edit. * @author Highcharts Config Generator by Karasiq * @see [[http://api.highcharts.com/highmaps]] */ package com.highmaps.config import scalajs.js, js.`|` import com.highcharts.CleanJsObject import com.highcharts.HighchartsUtils._ /** * @note JavaScript n...
Karasiq/scalajs-highcharts
src/main/scala/com/highmaps/config/PlotOptionsRocStatesHoverMarkerStates.scala
Scala
mit
2,114
require 'test_helper' class EventsControllerTest < ActionDispatch::IntegrationTest setup do @event = events(:one) end test "should get index" do get events_url assert_response :success end test "should get new" do get new_event_url assert_response :success end test "should create e...
dragonator/sport-za-vsichki
test/controllers/events_controller_test.rb
Ruby
mit
1,276
require 'spec_helper' describe "admin/users/index" do before(:each) do assign(:users, users) end let(:users) do users =[ stub_model(User), stub_model(User) ] WillPaginate::Collection.create(1, 10, users.length) do |pager| pager.replace users end end it "renders a list of users" do ...
concord-consortium/lara
spec/views/admin/users/index.html.erb_spec.rb
Ruby
mit
449
class Portal < Broadcaster def self.port 1260 end def channel Channels::Portal end end
migbar/vizu
lib/vizu/broadcasters/portal.rb
Ruby
mit
108
/// <reference path="references.ts"/> class Index { public instance; public addMarker; public addTopoJson; public addGeoJson; public addPanel; public center; public updateMarker; public updateMap; public updateFeature; public removeMarker; public resetMarker; public findMarker; public findFea...
yagoferrer/map-tools-ts
lib/index.ts
TypeScript
mit
2,369
class KnormError extends Error { constructor(...args) { const [message] = args; const hasMessage = typeof message === 'string'; super(hasMessage ? message : undefined); if (!hasMessage) { this.message = this.formatMessage(...args); } this.name = this.constructor.name; if (typeof ...
joelmukuthu/knorm
packages/knorm/src/KnormError.js
JavaScript
mit
568
using Aragas.Network.Data; using Aragas.Network.IO; namespace PokeD.Core.Packets.PokeD.Chat { public class ChatPrivateMessagePacket : PokeDPacket { public VarInt PlayerID { get; set; } public string Message { get; set; } = string.Empty; public override void Deserialize(ProtobufDeseri...
PokeD/PokeD.Core
PokeD.Core/Packets/PokeD/Chat/ChatPrivateMessagePacket.cs
C#
mit
642
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Siparisler extends Model { protected $table = "siparisler"; protected $fillable = ['urun_id', 'urun_adi', 'adet', 'birim_fiyat', 'toplam_fiyat','toplam_odenen', 'kullanici_id', 'siparis_detay_id', 'siparis_kodu', 'creat...
aliarslan10/Laravel-Eticaret
app/Siparisler.php
PHP
mit
380
// // TAKUserDefaultsViewCell.h // // Created by Takahiro Oishi // Copyright (c) 2014 Takahiro Oishi. All rights reserved. // Released under the MIT license. // #import <UIKit/UIKit.h> @interface TAKUserDefaultsViewCell : UITableViewCell - (void)bindWithKey:(NSString *)key value:(id)value; - (CGFloat)calculateH...
taka0125/TAKKit
Classes/UserDefaults/TAKUserDefaultsViewCell.h
C
mit
333
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Grunt Workshop</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="styles/foundation.min.css" /> <link rel="stylesheet" href="styles/custom.min.css" /> </he...
almirfilho/grunt-workshop
src/index.html
HTML
mit
2,309
# frozen_string_literal: true module Lib module Messages def messages @messages ||= {} end def message name, &block messages[name] = block end def generate_message name, *args generator = messages[name] || return msg = generator.call(*args) msg[:msg] = name ...
doooby/srsi_de_tram
server/lib/messages.rb
Ruby
mit
344
import { AsyncStorage } from 'react-native'; import {applyMiddleware, compose, createStore} from 'redux'; import thunk from 'redux-thunk'; import createLogger from 'redux-logger'; import client from './apolloClient'; import { initialState as configs } from '../reducers/configurations'; import rootReducer from '../redu...
khosimorafo/reactmastende
src/store/store.js
JavaScript
mit
2,425
module Argumentative VERSION = "0.0.1beta" end
dillonkearns/argumentative
lib/argumentative/version.rb
Ruby
mit
49
require 'foto/config' module Foto class Client attr_accessor *Foto::Config::VALID_OPTIONS def initialize(options={}) settings = Foto::Config.options.merge(options) Config::VALID_OPTIONS.each do |option| send("#{option}=", settings[option]) end end end end
optimis/foto
lib/foto/client.rb
Ruby
mit
301
<?php return ['293420026' => '三里','293420003' => '上庄','293420011' => '下垣内','293420006' => '久安寺','293420008' => '信貴山','293420009' => '信貴畑','293420021' => '光ケ丘','293420020' => '初香台','293420005' => '北信貴ケ丘','293420028' => '吉新','293420022' => '平等寺','293420002' => '春日丘','293420016' => '梨本','293420010' => '椣原','293420025' => ...
nagoring/jp-address
src/Nago/JpAddress/StreetData/29/29342.php
PHP
mit
790
<?php namespace Kit\SystemBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\HttpFoundation\File\UploadedFile; /** * Page */ class Page { /** * @var integer */ private $id; /** * @var string */ private $slug; /** * @var string */ private...
novikov-anton/kit
src/Kit/SystemBundle/Entity/Page.php
PHP
mit
5,166
<?php namespace PragmaRX\Sdk\Services\FacebookMessenger\Data\Entities; use PragmaRX\Sdk\Core\Database\Eloquent\Model; use PragmaRX\Sdk\Services\Files\Data\Entities\FileName; class FacebookMessengerDocument extends Model { protected $table = 'facebook_messenger_documents'; protected $fillable = [ 'faceb...
antonioribeiro/sdk
src/Services/FacebookMessenger/Data/disabled/FacebookMessengerDocument.php
PHP
mit
659
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
mjbvz/vscode
src/vs/workbench/contrib/files/browser/fileCommands.ts
TypeScript
mit
27,668
<?php namespace BigD\UsuariosBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * Permiso * * @ORM\Table(name="permiso") * @ORM\Entity * @UniqueEntity("nombre") */ class Permiso { /** * @var intege...
matudelatower/BigD
src/BigD/UsuariosBundle/Entity/Permiso.php
PHP
mit
5,265
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE namespace vc_attributes { template<> struct appobjectAttribute { }; }; // end namespace vc_attributes E...
goodwinxp/Yorozuya
library/ATF/__appobjectAttribute.hpp
C++
mit
337
// @ts-check /*! * V4Fire Client Core * https://github.com/V4Fire/Client * * Released under the MIT license * https://github.com/V4Fire/Client/blob/master/LICENSE */ /** * @typedef {import('playwright').Page} Page */ const h = include('tests/helpers'); /** @param {Page} page */ module.exports = (page) => {...
V4Fire/Client
src/form/b-checkbox/test/runners/simple.js
JavaScript
mit
4,429
module SubDiff # Stores a collection of {Diff} objects for all matches from # a {String#sub_diff} or {String#gsub_diff} replacement. # # It behaves like a {String} that represents the entire # replacement result from {String#sub} or {String#gsub}. # # It also behaves like an {Enumerable} by delegating to ...
shuber/sub_diff
lib/sub_diff/collection.rb
Ruby
mit
1,007
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: Base64.h * Author: ckarner * * Created on December 12, 2015, 9:40 PM */ #ifndef BASE64_H #define BASE64_H #includ...
HSHL/mailclient
src/Base64.h
C
mit
483
<!DOCTYPE html> <html class="sidebar_default no-js" lang="en"> <head> <meta charset="utf-8"> <title>Start - Admin Template</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <link rel="shortcut icon" href="css/images/favicon...
tellaw/monitor4u
_template_metro/monitor.html
HTML
mit
26,772
package com.github.felixgail.gplaymusic.exceptions; public class RemoteException extends RuntimeException { public RemoteException(String msg) { super(msg); } public RemoteException(Exception e) { super(e); } }
FelixGail/gplaymusic
src/main/java/com/github/felixgail/gplaymusic/exceptions/RemoteException.java
Java
mit
245
# Minimal makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build SPHINXPROJ = openmmtools SOURCEDIR = . BUILDDIR = _build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOU...
choderalab/openmmtools
docs/Makefile
Makefile
mit
608
package de.silef.service.file.tree; import java.io.IOException; /** * Created by sebastian on 17.09.16. */ public class Visitor<T> { public enum VisitorResult { CONTINUE, /** * Skip current node. If returned from preVisitDirectory, postVisitDirectory it not called */ SK...
xemle/fileindex
src/main/java/de/silef/service/file/tree/Visitor.java
Java
mit
1,155
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; class uzsakymasIdType extends AbstractType { /** * @param FormBuilderIn...
Padariukas/vezejai
src/AppBundle/Form/uzsakymasIdType.php
PHP
mit
747
.slider { height: 100%; } .slider-slide { padding-top: 80px; color: #000; background-color: #fff; text-align: center; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight: 300; } #logo { margin: 30px 0px;...
tairezzzz/defu-ionic-box
www/css/style.css
CSS
mit
2,396
from django import template from django.utils.encoding import smart_str from django.core.urlresolvers import reverse, NoReverseMatch from django.db.models import get_model from django.db.models.query import QuerySet register = template.Library() class GroupURLNode(template.Node): def __init__(self, view_name, g...
ericholscher/pinax
pinax/apps/groups/templatetags/group_tags.py
Python
mit
3,311
@if ($errors->any()) @include('_partials._error', ['level' => 'danger', 'title' => Session::get('title'), 'message' => $errors->all(':message')]) @endif @if ($message = Session::get('success')) @include('_partials._error', ['level' => 'success', 'title' => Session::get('title'), 'message' => $message]) @endif @if ($m...
Fixhub/Fixhub
resources/views/_partials/errors.blade.php
PHP
mit
623
/*---------------------------------------------------------------- Copyright (C) 2015 Senparc 文件名:RequestMessageLocation.cs 文件功能描述:接收普通地理位置消息 创建标识:Senparc - 20150211 修改标识:Senparc - 20150303 修改描述:整理接口 ----------------------------------------------------------------*/ namespa...
timxing1987/git-tutorial
Source/Foundation/Wechat/Senparc.Weixin.MP/Entities/Request/RequestMessageLocation.cs
C#
mit
1,147
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <style TYPE='text/css'> .highlighter .add { background-color: #7fff7f; } .highlighter .remove { background-color: #ff7f7f; } .highlighter td.modify { background-color: #7f7fff; } .highlighter td.conflict { background-color: #f00; } .highlighter .spec ...
IATI/IATI-Rulesets
docs/updated-rules-1.0-beta-2.html
HTML
mit
17,979
<?php /** * This file is a part of scoringline sendinblue api package * * (c) Scoringline <m.veber@scoringline.com> * * For the full license, take a look to the LICENSE file * on the root directory of this project */ namespace Scoringline\SendinblueApi\Exception; /** * Class EmailSendFailureException * @pack...
ScoringLine/SendinblueApi
src/Scoringline/SendinblueApi/Exception/EmailSendFailureException.php
PHP
mit
465