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
<html> <head> <title>Mena Suvari's panel show appearances</title> <script type="text/javascript" src="../common.js"></script> <link rel="stylesheet" media="all" href="../style.css" type="text/css"/> <script type="text/javascript" src="../people.js"></script> <!--#include virtual="head.txt" --> </head> <body> <!--#i...
slowe/panelshows
people/1xaaahp2.html
HTML
mit
1,163
import numpy as np def index2onehot(n_labels, index): return np.eye(n_labels)[index] # From https://github.com/lisa-lab/DeepLearningTutorials/blob/master/code/utils.py def scale_to_unit_interval(ndar, eps=1e-8): """ Scales all values in the ndarray ndar to be between 0 and 1 """ ndar = ndar.copy() nda...
briancheung/Peano
peano/utils.py
Python
mit
5,009
<?php declare(strict_types=1); namespace Skeleton\Application\Todo; use RuntimeException; use Skeleton\Domain\Todo; use Skeleton\Domain\TodoRepository; class ReplaceTodoHandler { private $repository; private $hydrator; public function __construct(TodoRepository $repository) { $this->reposito...
tuupola/slim-api-skeleton
src/Application/Todo/ReplaceTodoHandler.php
PHP
mit
697
from yaml import load_all try: from yaml import CLoader as Loader except ImportError: print("Using pure python YAML loader, it may be slow.") from yaml import Loader from iengine import IDocumentFormatter __author__ = 'reyoung' class YAMLFormatter(IDocumentFormatter): def __init__(self, fn=None, con...
reyoung/SlideGen2
slidegen2/yaml_formatter.py
Python
mit
933
/* CUBE demo toolkit by MasterM/Asenses */ #include <stdafx.h> #include <core/system.h> #include <utils/notify.h> #include <utils/parameter.h> #include <classes/shader.h> #include <classes/texture.h> #include <classes/framebuffer.h> using namespace CUBE; std::string Shader::Prefix("shaders\\"); std::string ImageSha...
Nadrin/CUBE
src/classes/shader.cpp
C++
mit
12,000
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30311.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
marcobaccaro/general
DynamicSissOnline/DynamicSissOnline/DynamicData/Filters/Enumeration.ascx.designer.cs
C#
mit
562
#!/usr/bin/env ruby current_dir = File.dirname(File.expand_path(__FILE__)) lib_path = File.join(current_dir, '..', 'lib') $LOAD_PATH.unshift lib_path require 'rubygems' require 'idclight' include IDConverter::Light code = 0 puts "\n" puts "IDCLight (IDConverter Light) command-line converter utility. (Uses http://...
tgen/idclight
bin/idclight_convert.rb
Ruby
mit
1,338
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="description" content=""> <meta name="author" content=""> <!-- Mobile Specific Data --> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title>Knave GmBH | Subscription</title> ...
KwesiJnr/ProjectKnave
framework/misc/thank-you/member.html
HTML
mit
9,447
package com.company.problem4MordorCrueltyPlan.models.mood; import com.company.problem4MordorCrueltyPlan.models.Mood; public class JavaScript extends Mood { }
ivelin1936/Studing-SoftUni-
Java Fundamentals/Java OOP Basics (old)/Java OOP Basic - Exercises Inheritance/src/com/company/problem4MordorCrueltyPlan/models/mood/JavaScript.java
Java
mit
162
Debian ==================== This directory contains files used to package amsterdamcoind/amsterdamcoin-qt for Debian-based Linux systems. If you compile amsterdamcoind/amsterdamcoin-qt yourself, there are some useful files here. ## amsterdamcoin: URI support ## amsterdamcoin-qt.desktop (Gnome / Open Desktop) To in...
CoinProjects/AmsterdamCoin-v4
contrib/debian/README.md
Markdown
mit
666
**Other language**: [English](https://github.com/app360/app360-ios-sdk/blob/master/README.md) # Giới thiệu App360SDK cung cấp cách thức đơn giản nhất để quản lý user và tích hợp thanh toán (bao gồm sms, thẻ điện thoại và e-banking) vào ứng dụng của bạn. App360 iOS SDK hỗ trợ iOS từ 6.0 trở lên # Yêu cầu ##Môi trườ...
app360/app360-ios-sdk
README-VI.md
Markdown
mit
8,197
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-character: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.0-2.0.6/released/8.11.2/mathcomp-character/1.6.html
HTML
mit
7,706
using System; namespace Rothko.UI.Interfaces.Components { public interface IMultiDirectionable { Directions Directions { get; set; } } }
t-recx/Rothko
Rothko.UI/Interfaces/Components/IMultiDirectionable.cs
C#
mit
144
/* Copyright (c) 2010-2015 Vanderbilt University * * 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, m...
isis-ammo/ammo-gateway
DataStoreGatewayPlugin/DataStoreConfigManager.h
C
mit
3,020
import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import {Router, Route, browserHistory} from 'react-router'; import injectTapEventPlugin from 'react-tap-event-plugin'; import {Main} from './app/main'; import './index.less'; // Needed for onTouchTap // http://stackoverflow.com/a/...
jchen86/kafka-topic-viewer
client/src/index.js
JavaScript
mit
503
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
coq-bench/coq-bench.github.io-old
clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4.5/contrib:lesniewski-mereology/dev/2015-01-06_01-41-47.html
HTML
mit
7,045
local PrimitiveCases = { } for k,v in pairs(primitive) do if k ~= "dynamic" then table.insert(PrimitiveCases, { actual = v , id = "primitive" .. k }) end end table.sort(PrimitiveCases, function(a,b) return a.actual.meta.tag < b.actual.meta.tag end) local SimpleComposedCases = { { actual = standard.array(prim...
TheFlyingFiddle/TIER
test/type.lua
Lua
mit
3,091
--- title: Bow-Child | Blog | Welcome to Jekyll! date: 2016-11-12 17:36:49 +01:00 categories: - src - reserche menu_name: Welcome to Jekyll! author: Ada Lovelace image: person1.jpg image_alt: image description --- You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your ...
laklau/bow-child-sample
_posts/2016-11-12-welcome-to-jekyll.md
Markdown
mit
1,311
(function() { if (!window.JHVH) window.JHVH = {}; // need to keep for keeping calculating svg path to fit all sizes var ORIGIN_WIDTH = 559; var ORIGIN_HEIGHT = 100; var RATIO_W = ORIGIN_WIDTH / ORIGIN_HEIGHT; var RATIO_H = ORIGIN_HEIGHT / ORIGIN_WIDTH; var TEMP_WIDTH = ORIGIN_WIDTH; var TEMP_HEIGHT = TEMP_WI...
JoshuaBolitho/V3
00-sites/demos/lebaron/js/old/temp-line.js
JavaScript
mit
9,139
# frozen_string_literal: true require "rails_helper" RSpec.describe NewsItem, type: :model do it_behaves_like "an author" describe ".published" do # Published let(:recent_item) { create(:news_item, :published) } let(:older_item) { create(:news_item, :published, published_at: 1.year.ago) } # Unpub...
montrealrb/Montreal.rb
spec/models/news_item_spec.rb
Ruby
mit
3,954
/* * Kendo UI v2014.2.1008 (http://www.telerik.com/kendo-ui) * Copyright 2014 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial lice...
shriramdevanathan/FactoryOfTheFuture
vendor/kendoui-2014.2.1008/src/js/cultures/kendo.culture.ca-ES.js
JavaScript
mit
2,671
var expect = require("chai").expect , comment = require("../app/service/comment"); /* * Mocks */ var socket = { request: { user: { logged_in: true, id: 1 } } }; describe("app/service/comment", function () { describe('#post()', function () { it('if user is logged out then socket shoul...
http-teapot/comment
test/app_service_comment.js
JavaScript
mit
1,276
package us.kbase.cdmientityapi; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation....
kbase/trees
src/us/kbase/cdmientityapi/FieldsIsRegulatorForRegulon.java
Java
mit
2,023
{include file="./inc/header.html"} <?php $this->_var['pagecss'][] = $this->_var['TMPL_REAL']."/css/uc_carry_money_log.css"; $this->_var['pagecss'][] = $this->_var['TMPL_REAL']."/css/public.css"; ?> <link rel="stylesheet" type="text/css" href="{function name="parse_css" v="$pagecss"}" /> <!--提现日志--> <ul class...
dayphosphor/xiaoniu
p2p/wap/tpl/fanwe/uc_carry_money_log.html
HTML
mit
3,635
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zorns-lemma: 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.0-2.0.5/released/8.7.2/zorns-lemma/8.9.0.html
HTML
mit
7,068
eslint-plugin-compat ===================== [![Build Status](https://travis-ci.org/amilajack/eslint-plugin-compat.svg?branch=master)](https://travis-ci.org/amilajack/eslint-plugin-compat) [![Build status](https://ci.appveyor.com/api/projects/status/at71r1stbghsgcja/branch/master?svg=true)](https://ci.appveyor.com/projec...
rafser01/installer_electron
node_modules/eslint-plugin-compat/README.md
Markdown
mit
3,292
# -*- coding: utf-8 -*- import datetime from flask import jsonify, request from app import token_auth from app.models.user_token_model import UserTokenModel @token_auth.verify_token def verify_token(hashed): token = UserTokenModel.query\ .filter(UserTokenModel.hashed == hashed, UserTokenModel.ip_address ...
h4wldev/Frest
app/modules/auth/token.py
Python
mit
652
<!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
3516f35/html/classv8_1_1Function-members.html
HTML
mit
57,329
#!/bin/sh set -e set -u set -o pipefail function on_error { echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" } trap 'on_error $LINENO' ERR if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy # resources to, so e...
niunaruto/DeDaoAppSwift
testSwift/Pods/Target Support Files/Pods-CommondPods-testSwift/Pods-CommondPods-testSwift-resources.sh
Shell
mit
6,842
/* * Copyright 1997-2022 Optimatika * * 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...
optimatika/ojAlgo
src/main/java/org/ojalgo/type/keyvalue/Paired.java
Java
mit
1,274
## # SHA-512 Digester 基于 SHA-512 算法的摘要逻辑关注点。 module Unidom::Common::Concerns::Sha512Digester extend ActiveSupport::Concern included do |includer| ## # 对明文 message 进行 SHA-512 摘要, pepper 是用于增加混乱的内容。如: # class SomeModel # include Unidom::Common::Concerns::Sha512Digester # def some_method(pa...
topbitdu/unidom-common
app/models/unidom/common/concerns/sha512_digester.rb
Ruby
mit
2,130
-- -------------------------------------------------------- -- ホスト: 127.0.0.1 -- サーバのバージョン: 5.7.15-log - MySQL Community Server (GPL) -- サーバー OS: Win64 -- HeidiSQL バージョン: 9.3.0.4984 -- --------------------------------------------------------...
windybirth/stuff-skill
sql/skill_db.sql
SQL
mit
8,662
<?php class adminModel { private $mysqli; private $config; public function __construct($mysqli, $config) { $this->mysqli = $mysqli; $this->config = $config; } public function hash($string) { return hash("sha512", $string); } public function upload_file($name, $path) { if(!is_uploaded_file($_FILES[$na...
Snack-X/goto
model/admin.php
PHP
mit
4,881
<?php namespace Hpolthof\Admin; use Illuminate\Routing\Controller; class AdminTasksController extends Controller { public function index() { $items = AdminTask::whereUserId(\Auth::user()->id)->get(); return $items; } }
hpolthof/admin
src/AdminTasksController.php
PHP
mit
259
package core import ( "crypto/sha256" "errors" "strings" "time" "github.com/OpenBazaar/wallet-interface" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/golang/protobuf/ptypes" google_protobuf "github.com/golang/protobuf/ptypes/timestamp" util "gx/ipfs/QmNiJuT8Ja3hMVpBHXv3Q6dwmperaQ6JjLtpMQgMCD7xv...
hoffmabc/openbazaar-go
core/utils.go
GO
mit
5,029
package com.welovecoding.nbeditorconfig.model; public class EditorConfigConstant { public static final String ROOT = "root"; public static final String MAX_LINE_LENGTH = "max_line_length"; /** * Set to latin1, utf-8, utf-8-bom, utf-16be or utf-16le to control the * character set. Use of utf-8-bom is di...
welovecoding/editorconfig-netbeans
src/main/java/com/welovecoding/nbeditorconfig/model/EditorConfigConstant.java
Java
mit
2,306
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following ...
ptrefall/hybrid-rendering-thesis
depends/include/AssImp/src/LWOAnimation.cpp
C++
mit
18,817
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Fra...
Czahyl/MOBA
MOBA/MOBA/Characters/Classes/Spells/Ability.cs
C#
mit
2,876
/* * Author: MinusKelvin <minuskelvin.carlson@gmail.com> */ #ifndef _COMPILER_BASE_H_ #define _COMPILER_BASE_H_ // base.h typedef struct Location Location; typedef struct ASTNode ASTNode; typedef struct ASTProgram ASTProgram; typedef struct ASTQualifiedName ASTQualifiedName; typedef struct ASTType ASTType; // prog...
MinusKelvin/mkc
src/ast/base.h
C
mit
2,453
# encoding: UTF-8 $LOAD_PATH.unshift(File.dirname(__FILE__)) # TODO: Remove bundler and convert to gemspec require 'bundler/setup' Bundler.require(:default) require 'date' require 'fileutils' require 'find' require 'pathname' require 'yaml' require 'logger' require 'renamer/file_tools' require 'renamer/video_scanne...
gmanley/renamer
lib/renamer.rb
Ruby
mit
737
/* Detect loop in a linked list List could be empty also Node is defined as struct Node { int data; struct Node *next; } */ int HasCycle(Node* head) { if (!head) return 0; Node *p = head, *q = head->next; while (p && q) if (p == q) return 1; e...
cassiopagnoncelli/hacker-rank-solutions
detect-cycle-linked-list.cpp
C++
mit
434
<!DOCTYPE html> <html class="no-js"> <head> <meta charset="utf-8"> <title>Sample post | Type Theme</title> <meta name="description" content="Consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et ..."> <meta name...
Toomatoo/Toomatoo.github.io
_site/2014/11/30/sample-post.html
HTML
mit
5,514
# Vector A vector is a data container which can contain a sequence of any kind of constructor or generic type.
VictorQueiroz/binary-transfer
docs/Vector.md
Markdown
mit
112
class Umbrella::Application ActionView::Base.default_form_builder = Forms::Base end
MichaelSp/SocialProjectsHub
config/initializers/forms.rb
Ruby
mit
87
MIT License =========== Copyright (C) 2013 Western Michigan University 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, m...
mdlayher/wmutube
LICENSE.md
Markdown
mit
1,096
package me.shoutto.sdk.internal.location; import android.location.Location; public interface LocationUpdateListener { void onLocationUpdate(Location location); }
ShoutToMe/stm-sdk-android
shout-to-me-sdk/src/main/java/me/shoutto/sdk/internal/location/LocationUpdateListener.java
Java
mit
168
# cancer Cancer classification, detection and segmentation Current result, using LSTM and simplified Google Inception | Subset | 84000 | 96000 | 108000 | 120000 | |--------|-------|-------|--------|--------| | 0 | 0.8214 | 0.8532 | 0.8130 | 0.8208 | | 1 | 0.7333 | 0.7723 | 0.8015 | 0.8253 | | 2 | 0.7966 | 0.8880 | 0....
yancz1989/cancer
README.md
Markdown
mit
2,022
/*global describe:false,expect:false,rIt:false*/ describe("utils", function() { "use strict"; describe("format", function() { rIt("should format single param", ["utils"], function(utils) { expect(utils.format("The Winner is %", "John Doe")) .toEqual("The Winner is John Doe"); }); rIt("s...
bripkens/movie-database-spa
test/unit/utils.spec.js
JavaScript
mit
3,094
Ansible Role: s3 vars ========= As an alternative to using the ansible vault, this role delegates to localhost to retrieve a config file - expected to be in either YAML or JSON format - from an s3 bucket and converts the file to playbook vars. Requirements ------------ * boto * caller needs credentials with read acc...
HUIT-AcademicTechnology-Ops/ansible-role-s3-vars
README.md
Markdown
mit
1,563
# Time To Curl ***Time To Curl*** is a node web server that manages timers for curling matches, as well as a client interface to display and manage those timers. Using Web Sockets, we sync clients with all updates in real-time. ## Goals of this project - Facilitate easy timekeeping for different kinds of curling match...
trianglecurling/timetocurl
README.md
Markdown
mit
4,722
package com.smvit.glugmvit; /** * Created by susmit on 16/8/17. */ public class DbObject { String name; String description; public DbObject(){ name="testName"; description="testDesc"; } public DbObject(String n,String s){ name=n; description=s; } }
GlugMVIT/GLUG_MVIT_APP
app/src/main/java/com/smvit/glugmvit/DbObject.java
Java
mit
309
import unittest import instruction_set class TestInstructionSet(unittest.TestCase): def test_generate(self): self.assertIsInstance(instruction_set.generate(), list) self.assertEqual(len(instruction_set.generate()), 64) self.assertEqual(len(instruction_set.generate(32)), 32) inse...
chuckeles/genetic-treasures
test_instruction_set.py
Python
mit
2,849
package nz.co.thebteam.AutomationLibrary; import io.appium.java_client.android.AndroidDriver; import io.appium.java_client.ios.IOSElement; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.Point; import org.openqa.selenium.WebElement; import org.openqa.selenium.i...
sphanges/automation-library
src/main/java/nz/co/thebteam/AutomationLibrary/Element.java
Java
mit
8,707
<div> I'm heavy subwidget. <!-- ko widget: "testReq" --><!-- /ko --> </div>
Kasheftin/ko-widget
examples/src/widgets/heavy/main.html
HTML
mit
78
#ifndef PlayerEntity_h__ #define PlayerEntity_h__ #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <list> #include "Entity.hpp" #include "../Physics/BodyController.hpp" #include "../Helper/ScreenTranslator.hpp" #include "../Task/Task.hpp" class ZoneEntity; class PlayerEntity : public sb::Entity { ...
agiantwhale/moon.chase.star
trunk/GameSrc/Entity/PlayerEntity.hpp
C++
mit
1,879
require "bizarre_cms/engine" require "bizarre_cms/contentable" module BizarreCms mattr_accessor :custom_pages @@custom_pages ||= [] # Setup BizarreCms. Run rails generate bizarre_cms_install. def self.setup yield self end def self.page_types [:page] + @@custom_pages end end
corlinus/bizarre_cms
lib/bizarre_cms.rb
Ruby
mit
300
--- content_title: EOSIO Overview --- EOSIO is the next-generation blockchain platform for creating and deploying smart contracts and distributed applications. EOSIO comes with a number of programs. The primary ones included in EOSIO are the following: * [Nodeos](01_nodeos/index.md) (node + eos = nodeos) - Core serv...
EOSIO/eos
docs/index.md
Markdown
mit
1,160
<?php /* This file will automatically be included before EACH run. Use it to configure atoum or anything that needs to be done before EACH run. More information on documentation: [en] http://docs.atoum.org/en/latest/chapter3.html#configuration-files [fr] http://docs.atoum.org/fr/latest/lancement_des_tests.html#fichi...
Mactronique/cua
.atoum.php
PHP
mit
3,496
namespace AlgorithmSandbox.Chapter5 { public class Question4 { public static (int smallest, int largest) NextNumber(int x) { var smallest = x; var temp = x; while (temp > 0) { temp = temp - 1; if (Popcnt((uint) x) =...
alexandrnikitin/algorithm-sandbox
csharp/src/AlgorithmSandbox/Chapter5/Question4.cs
C#
mit
1,783
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------...
Sakchai/CarRental
CarRental.Domain/Province.cs
C#
mit
1,228
import { RNGeth as Geth, Hooks } from './packages/geth'; export default Geth; export const useKeyStore = Hooks.useKeyStore; export const useEthereumClient = Hooks.useEthereumClient;
YsnKsy/react-native-geth
src/index.ts
TypeScript
mit
183
package week.of.awesome; import java.io.IOException; import java.util.ArrayList; import java.util.List; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.utils.Array; import com.badlogic.gdx.utils.XmlReader; public class LevelLoader { public static Level getLevel(int le...
daveagill/WoA2
core/src/week/of/awesome/LevelLoader.java
Java
mit
5,485
<?php namespace bootui\datetimepicker; /** * DateTimepicker widgets * * * ~~~ * [php] * <?php * * * echo DateTimepicker::widget([ * 'name' => 'datetime', * 'options' => ['class' => 'form-control'], * 'addon' => ['prepend' => 'Date and Time'], * 'format' => 'YYYY-MM-DD HH:mm', * ]); * * echo $f...
moonlandsoft/bootui-datetimepicker
DateTimepicker.php
PHP
mit
843
--- layout: post title: Failed to find provider info for Calendar, Unknown URL content://calendar/events Android date: 2011-1-24 tags: comments: true permalink: share: true --- Failed to find provider info for Calendar, Unknown URL content://calendar/events Android Hi, if you are reading this, probably you are...
yeradis/yeradis.github.io
_posts/2011-01-24-failed-to-find-provider-info-for.md
Markdown
mit
1,067
# Code Intelligence Operations log * This is a running log of operations and infrastructure management related to Kubeflow code intelligence. * Enteries should be time stamped and in reverse chronological order (more recent at the top) ## 2020-05-15 - Create an ASM cluster for the Kubeflow chatbot. * A cluster w...
kubeflow/code-intelligence
ops-log.md
Markdown
mit
547
using System.Speech.Synthesis; namespace PolyglotMy { public class Voice { public string Name { get; set; } public InstalledVoice InstalledVoice { get; set; } } }
Vedin/Polyglot
PolyglotMy/Classes/Voice.cs
C#
mit
195
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
lindexi/lindexi_gd
KinubachekallHinuquba/KinubachekallHinuquba/MainPage.xaml.cs
C#
mit
806
<?php /** * This file is part of the Propel package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ namespace Propel\Runtime\ActiveQuery\Criterion; use Propel\Runtime\ActiveQuery\Criteria; /** * Speciali...
propelorm/Propel3
src/Runtime/ActiveQuery/Criterion/CustomCriterion.php
PHP
mit
1,235
#include <iostream> #include <fstream> using namespace std; int main(){ ifstream f("problema_vectori_pr1.in"); ofstream g("problema_vectori_pr1.out"); int n; f >> n; int arr[n]; for(int i=0;i<n;i++){ f >> arr[i]; } int x=3,max=0,premii=0; while(x){ max=0; for(int i=0;i<n;i++){ if(arr[i]>max) m...
rlodina99/Learn_cpp
Probleme - d-na Kalmar/problema_vectori_pr1.cpp
C++
mit
444
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Homework 2</title> <link href="js-console.css" rel="stylesheet" /> </head> <body> <div id="js-console"></div> <label for="input">Input number</label> <input type="text" id="input"/> <button id="check">Calculate</button> <s...
MarinMarinov/JavaScript-Fundamentals
2.Operators and Expressions/Problem 4. Third digit/task4.html
HTML
mit
410
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("HW...
elendil326/UWAppliedAlgorithms
HW4/HW4/Properties/AssemblyInfo.cs
C#
mit
1,382
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTagsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tags', function (B...
iTBH/kompetenzcheck
database/migrations/2017_04_05_124204_create_tags_table.php
PHP
mit
757
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
ooeygui/UwpDrone
UwpDrone/AwareGroup.IoTDroneDisplay.DroneControls/Controls/DroneOverlayControl.xaml.cs
C#
mit
12,085
using dbqf.Configuration; using dbqf.Criterion; using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace dbqf.Processing { public class PlaceholderParser { /// <summary> /// Parse text containing placeholders for fields delimited by bra...
stuarta0/dbqf
lib/dbqf.core/Processing/PlaceholderParser.cs
C#
mit
3,369
--- layout: post date: 2016-03-27 title: "Luna novias 8S116 LARISSA 2015" category: Luna novias tags: [Luna novias,2015] --- ### Luna novias 8S116 LARISSA Just **$379.99** ### 2015 <table><tr><td>BRANDS</td><td>Luna novias</td></tr><tr><td>Years</td><td>2015</td></tr></table> <a href="https://www.readybrides.com/e...
nicedaymore/nicedaymore.github.io
_posts/2016-03-27-Luna-novias-8S116-LARISSA-2015.md
Markdown
mit
906
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _linglog = require('linglog'); var _linglog2 = _interopRequireDefault(_linglog); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = (0, _linglog2.default)('gulp-insert-m...
LingyuCoder/gulp-insert-md
lib/logger.js
JavaScript
mit
391
package org.disges.thrift.plugin.testdata.pojo.package1; public class TestMapStructPojo implements java.io.Serializable { public enum Fields{ RefMap, RefValueMap, RefKeyMap, SimpleMap, RefOtherPackage }; private java.util.Map<org.disges.thrift.plugin.testdata.pojo.package1.MapKeyPojo, org.disges.thrift.plugin.te...
sergypv/thrift-pojo-generator-maven-plugin
src/test/java/org/disges/thrift/plugin/testdata/pojo/package1/TestMapStructPojo.java
Java
mit
4,533
import {createCustomOsc} from './oscillator' export function createChorus(ctx: Object) { const merger = ctx.createChannelMerger(2) const input = ctx.createGain() const output = ctx.createGain() const feedbackL = ctx.createGain() const feedbackR = ctx.createGain() const delayL = ctx.createDelay() const de...
ziagrosvenor/sound-machine
src/synth/chorus.js
JavaScript
mit
1,820
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ var Class = require('../utils/Class'); var CONST = require('./const'); var GetValue = require('../utils/object/GetValu...
pixelpicosean/phaser
src/scene/SceneManager.js
JavaScript
mit
39,877
/**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
hprose/hprose-html5
src/ClassManager.js
JavaScript
mit
1,791
package com.brew.city.rental.repo.search; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; import com.brew.city.rental.domain.Review; public interface ReviewSearchRepository extends ElasticsearchRepository<Review, Long> { }
jkupcho/brew-city-rental
src/main/java/com/brew/city/rental/repo/search/ReviewSearchRepository.java
Java
mit
270
/* * The MIT License (MIT) * Copyright (c) 2016 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 rights ...
skplanet/sweetsearch
src/RecentWordPluginLocalStorageAddOn.js
JavaScript
mit
2,454
"use strict"; module.exports = { entry: { playground: "./playground/index.js" }, output: { filename: "[name].js", path: __dirname + "/static/" }, module: { rules: [ { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader", options: { pre...
existentialism/prettier
website/webpack.config.js
JavaScript
mit
502
import paho.mqtt.client as mqtt import json, time import RPi.GPIO as GPIO from time import sleep # The script as below using BCM GPIO 00..nn numbers GPIO.setmode(GPIO.BCM) # Set relay pins as output GPIO.setup(24, GPIO.OUT) # ----- CHANGE THESE FOR YOUR SETUP ----- MQTT_HOST = "190.97.168.236" MQTT_PORT = 1883 US...
pumanzor/security
raspberrypi/relaycontrol.py
Python
mit
1,611
<?php /* * This file is part of the Speedwork package. * * (c) Sankar <sankar.suda@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code */ namespace Turbo\Speedwork\Widget\Charts; use Speedwork\Core\Widget; /** * chartWidget...
turbophp/speedwork
src/Widget/Charts/Charts.php
PHP
mit
1,725
<html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no,maximum-scale=1"> <title>Examples • Sweeper</title> <script sr...
donmccurdy/aframe-physics-system
examples/sweeper.html
HTML
mit
1,982
package org.anodyneos.xpImpl.registry; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import org.anodyneos.commons.xml.sax.CDATAProcessor; import org.anodyneos.commons.xml.sax.ElementProcessor; import org.anodyneos.xpImpl.XpTranslationException; import org.xml.sax.SAXException; ...
jvasileff/aos-xp
src.java/org/anodyneos/xpImpl/registry/ProcessorTaglib.java
Java
mit
2,085
serious-playlists ================= SiriusXM scraper + playlist generator which powers [Serious Playlists](http://music.adamlaycock.ca/) It's a web service that scrapes the Sirius XM 'now playing' data, finds it on youtube, and plays as it is scraped. It's a makeshift free internet satellite radio service, with just ...
alaycock/sirius-playlists
README.md
Markdown
mit
1,648
# dripl An interactive terminal for Druid. It allows fetching metadata and constructing and sending queries to a Druid cluster. ## Installation ``` gem install dripl ``` ## Usage ``` dripl --zookeeper localhost:2181 >> sources [ [0] "events" ] >> use 0 Using events data source >> metrics [ [0] "actions" ...
ruby-druid/dripl
README.md
Markdown
mit
1,679
// Font structures for newer Adafruit_GFX (1.1 and later). // Example fonts are included in 'Fonts' directory. // To use a font in your Arduino sketch, #include the corresponding .h // file and pass address of GFXfont struct to setFont(). Pass NULL to // revert to 'classic' fixed-space bitmap font. #include "cox.h" #...
CoXlabInc/Nol.A-device-driver
inc/gfxfont.hpp
C++
mit
941
--- title: RDO Liberty Test Day --- # Liberty Test Day 1 We will be holding a RDO test day on September 23rd and 24th, 2015. This will be coordinated through the **#rdo channel on Freenode**, and through this website and the rdo-list mailing list. We'll be testing the second Liberty milestone release. If you can d...
dtantsur/website
source/testday/rdo-test-day-liberty-01.html.md
Markdown
mit
3,791
class AlterPlayTypeIndexOnGames < ActiveRecord::Migration def change remove_index :games, :play_type add_index :games, [:user_id, :play_type] end end
steve-mcclellan/j-scorer
db/migrate/20160703132507_alter_play_type_index_on_games.rb
Ruby
mit
162
require "spec_helper" RSpec.describe Weather do it "has a version number" do expect(Weather::VERSION).not_to be nil end end
thalessr/weather
spec/weather_spec.rb
Ruby
mit
133
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>speedtest-openshift</title> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="https://cdn.socket.io/socket.io-1.2.0.js"></script> <script src="http://code.highcharts.com/highcharts.js"></script> <script src="htt...
jvanhalen/wsperformance
index.html
HTML
mit
788
require 'twilio-ruby' require 'sinatra' get '/token' do account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' auth_token = 'your_auth_token' capability = Twilio::Util::Capability.new account_sid, auth_token # Create an application sid at # twilio.com/console/phone-numbers/dev-tools/twiml-apps and use it here ...
teoreteetik/api-snippets
client/capability-token/capability-token.4.x.rb
Ruby
mit
535
package link import ( "testing" "github.com/cilium/ebpf" "github.com/cilium/ebpf/internal/testutils" ) func TestProgramAlter(t *testing.T) { testutils.SkipOnOldKernel(t, "4.13", "SkSKB type") prog := mustLoadProgram(t, ebpf.SkSKB, 0, "") var sockMap *ebpf.Map sockMap, err := ebpf.NewMap(&ebpf.MapSpec{ Typ...
cilium/ebpf
link/program_test.go
GO
mit
830
import { Directive, ElementRef, Renderer } from '@angular/core'; /* * Directive * XLarge is a simple directive to show how one is made */ @Directive({ selector: '[x-large]' // using [ ] means selecting attributes }) export class XLargeDirective { constructor( public element: ElementRef, public renderer:...
navgurukul/lennon
src/app/component/+home/x-large/x-large.directive.ts
TypeScript
mit
654
from django.test import TestCase from django.contrib.auth.models import User from django.urls import reverse from .models import UserProfile from imagersite.tests import AuthenticatedTestCase # Create your tests here. class ProfileTestCase(TestCase): """TestCase for Profile""" def setUp(self): """Set...
welliam/imagersite
user_profile/tests.py
Python
mit
2,830
<?php global $artist; global $nTrack; $artist = $_REQUEST['artist']; $nTrack = $_REQUEST['nTracks']; if($artist=="") $artist= "Marillion"; if($nTrack=="") $nTrack = "10"; include('DAL.php'); $dal = new DAL(); $artistDOM = new DOMDocument('1.0', 'ISO-8859-1'); ...
Thaenor/ARQSI_TP2
MusicStore/widget/ArtistTopTags.php
PHP
mit
2,250
<?php return array( /* |-------------------------------------------------------------------------- | PDO Fetch Style |-------------------------------------------------------------------------- | | By default, database results will be returned as instances of the PHP | stdClass object; however, you may desire t...
TrinhThiThuyDung/member-group
app/config/database.php
PHP
mit
3,321