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
--- layout: base --- {% include header.html type="page" %} <div class="container" role="main"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> {{ content }} {% if page.comments %} <div class="disqus-comments"> {% include disqus.html %} </div...
taddison/tjaddison.com
_layouts/page.html
HTML
mit
508
require 'asciidoctor/extensions' Asciidoctor::Extensions.register do treeprocessor do process do |doc| doc end end end
feelpp/www.feelpp.org
_plugins/asciidoctor-extensions.rb
Ruby
mit
138
package com.artfulbits.utils; import android.text.TextUtils; import java.io.UnsupportedEncodingException; import java.util.logging.Logger; /** Common string routine. */ public final class StringUtils { /* [ CONSTANTS ] ==============================================================================================...
OleksandrKucherenko/spacefish
_libs/artfulbits-sdk/src/main/com/artfulbits/utils/StringUtils.java
Java
mit
1,547
// Copyright (c) 2011-2016 The Cryptonote developers // Copyright (c) 2014-2017 XDN-project developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string.h> #include "context.h" void makecontext(uctx *ucp, voi...
xdn-project/digitalnote
src/Platform/OSX/System/Context.c
C
mit
844
package main import ( "testing" "github.com/k0kubun/pp" _ "bitbucket.org/ikeikeikeike/antenna/conf/inits" libm "bitbucket.org/ikeikeikeike/antenna/lib/models" "bitbucket.org/ikeikeikeike/antenna/models" "bitbucket.org/ikeikeikeike/antenna/models/character" _ "bitbucket.org/ikeikeikeike/antenna/routers" ) fun...
ikeikeikeike/gocuration
tests/query_test.go
GO
mit
584
from django.conf import settings from django.contrib.sites.shortcuts import get_current_site from django.core.management import call_command from django.db import models, connections, transaction from django.urls import reverse from django_tenants.clone import CloneSchema from .postgresql_backend.base import _check_sc...
tomturner/django-tenants
django_tenants/models.py
Python
mit
9,732
/* Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc. 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 to use, c...
ROCm-Developer-Tools/HIP
include/hip/hip_profile.h
C
mit
1,304
package server import ( "io" "io/ioutil" "log" "net/http" ) type Rest struct { channels map[string]*Channel } func NewRestServer(server *Server) *Rest { return &Rest{server.channels} } func (self *Rest) PostOnly(h http.HandlerFunc) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) {...
nkostadinov/websocket
server/rest.go
GO
mit
1,150
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2885-1 # # Security announcement date: 2014-03-26 00:00:00 UTC # Script generation date: 2017-01-01 21:06:52 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: x86_64 # # Vulnerable packages fix on version: # - libyaml-libyaml-perl:0.38-3+deb7u2 ...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/x86_64/2014/DSA-2885-1.sh
Shell
mit
650
//===================================================================== // Copyright 2016 (c), Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file osSynchronizationObjectLocker.h /// //===================================================================== //--------------...
ilangal-amd/CodeXL
Common/Src/AMDTOSWrappers/Include/osSynchronizationObjectLocker.h
C
mit
2,944
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>支付网关管理系统后台beta</title> <!...
nimotsang/dashboard
pages/archive/flot.html
HTML
mit
24,577
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class HistorialC extends CI_Controller { function __construct() { parent::__construct(); $this->load->helper('date'); $this->load->model('HistorialM'); if (!$this->session->userdata("login")) { ...
euphoz/correosusers
application/controllers/HistorialC.php
PHP
mit
506
using System; using System.Collections.Generic; using System.Linq; using RiotSharp.MatchEndpoint.Enums; namespace RiotSharp.Misc { static class Util { public static DateTime BaseDateTime = new DateTime(1970, 1, 1); public static DateTime ToDateTimeFromMilliSeconds(this long millis) {...
frederickrogan/RiotSharp
RiotSharp/Misc/Util.cs
C#
mit
1,281
'use strict'; describe('Controller: MainCtrl', function () { // load the controller's module beforeEach(module('pillzApp')); var MainCtrl, scope, $httpBackend; // Initialize the controller and a mock scope beforeEach(inject(function (_$httpBackend_, $controller, $rootScope) { $httpBackend = _$...
captDaylight/pillz
test/client/spec/controllers/main.js
JavaScript
mit
769
Confl ===== Load or reload configuration! [![Build Status](http://img.shields.io/travis/teambition/confl.svg?style=flat-square)](https://travis-ci.org/teambition/confl) [![Coverage Status](http://img.shields.io/coveralls/teambition/confl.svg?style=flat-square)](https://coveralls.io/r/teambition/confl) [![License](http...
teambition/confl
README.md
Markdown
mit
1,807
<?php use Symfony\Component\Routing\Exception\MethodNotAllowedException; use Symfony\Component\Routing\Exception\ResourceNotFoundException; use Symfony\Component\Routing\RequestContext; /** * appDevUrlMatcher * * This class has been auto-generated * by the Symfony Routing Component. */ class appDevUrlMatcher ext...
sekouzed/Libraire-biblioth-ques-en-ligne-avec-Symfony
app/cache/dev/appDevUrlMatcher.php
PHP
mit
27,519
'use strict'; var assert = require('power-assert'); var resetStorage = require('./'); var dbName = 'test-item'; describe('#localStorage', function () { beforeEach(function (done) { localStorage.clear(); done(); }); it('should save value', function () { var expected = { foo: 'bar', goo: 'nuu' }; ...
pandawing/node-reset-storage
test.js
JavaScript
mit
4,421
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Xml; using System.Xml.XPath; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using System.Data.SqlTypes; using alby.core.threadpool ; namespace alby.codegen.generator { public partial...
casaletto/alby.codegen.2015
alby.codegen.generator/ViewGeneratorThreadPoolItem.cs
C#
mit
7,334
.progressbar-top { margin-top: -24px; margin-bottom: 24px; width: 70%; margin-left: -24px; position: absolute; } .check-icon { color: #21C9A1; } .overdue-text { color: #ce2424; font-weight: bold; } .alert-icon { color: #ce2424; } .offset-top-mat-icon { margin-top: 17px; } .pointer { cursor: p...
aicirt2012/icm-webclient
src/app/client/context/tasks/taskDialog/taskDialog.component.css
CSS
mit
605
// Copyright (c) 2016-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include <config/bitcoin-config.h> #endif #include <chainparams.h> #include <chainparamsbase.h> #...
ElementsProject/elements
src/bitcoin-wallet.cpp
C++
mit
4,831
<?php namespace App\Common\Models\Order\Mysql; use App\Common\Models\Base\Mysql\Base; class OrderCommon extends Base { /** * 订单-订单扩展信息表管理 * This model is mapped to the table iorder_common */ public function getSource() { return 'iorder_common'; } public function reorganize...
handsomegyr/models
lib/App/Common/Models/Order/Mysql/OrderCommon.php
PHP
mit
613
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Treorisoft.Net.Utilities { /// <summary> /// Provides properties and instance methods for sending files ove...
Borvik/Winsock.Net
Winsock/Utilities/FileData.cs
C#
mit
11,804
package main import "fmt" func main() { fmt.Println("go" + "lang") fmt.Println("1+1 =", 1+1) fmt.Println("7.0/3.0 =", 7.0/3.0) fmt.Println(true && false) fmt.Println(true || false) fmt.Println(!true) }
csaura/go_examples
values/values.go
GO
mit
217
import React from 'react' import DocumentTitle from 'react-document-title' import ReactHeight from 'react-height' import Header from './header/header' import Content from './content/content' import Footer from './footer/footer' import { APP_NAME } from '../constants' class Layout extends React.Component { render()...
HendrikCrause/crossword-creator
src/components/layout.js
JavaScript
mit
792
import Graph from 'graphology-types'; export default function mergePath(graph: Graph, nodes: Array<unknown>): void;
graphology/graphology
src/utils/merge-path.d.ts
TypeScript
mit
117
var i18n = require('i18n'); var _ = require('lodash'); exports.register = function (plugin, options, next) { i18n.configure(options); plugin.ext('onPreResponse', function (request, extNext) { // If is an error message if(request.response.isBoom) { i18n.setLocale(getLocale(request, options)); ...
jozzhart/josepoo
lib/index.js
JavaScript
mit
731
--- layout: page title: Drift Daily FAQ permalink: /daily/ show_in_nav: true links: - title: How do I sign up? url: "#getting-started" - title: FAQ url: "#faq" links: - title: What value does the Drift Daily bring? url: "#Why-use-daily" - title: What does “Signed up” ...
Driftt/driftt.github.io
daily.md
Markdown
mit
5,133
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8"> <title>Henge: b_ine</title> <link rel="stylesheet" href="/vendor/bootstrap-3.3.7/css/bootstrap.min.css"> <link rel="stylesheet" href="/css/site.css"> </head> <body> <div id="staticBody"> <header> <...
henge-tech/henge-tech
docs/circles/b_ine.html
HTML
mit
1,203
from nintendo import dauth, switch from anynet import http import pytest CHALLENGE_REQUEST = \ "POST /v6/challenge HTTP/1.1\r\n" \ "Host: 127.0.0.1:12345\r\n" \ "User-Agent: libcurl (nnDauth; 16f4553f-9eee-4e39-9b61-59bc7c99b7c8; SDK 12.3.0.0)\r\n" \ "Accept: */*\r\n" \ "X-Nintendo-PowerState: FA\r\n...
Kinnay/NintendoClients
tests/test_dauth.py
Python
mit
2,095
import expect from 'expect'; import createStore from './createStore'; describe('createStore()', () => { let store; beforeEach(() => { store = createStore(); }); it('should write data and return its key when write() is called', () => { const hash = store.write({ hello: 'world' }); ...
RobinBressan/json-git
src/createStoreSpec.js
JavaScript
mit
2,726
package com.jxtech.distributed.zookeeper.pool; import java.util.NoSuchElementException; import org.apache.commons.pool.ObjectPool; import org.apache.commons.pool.PoolableObjectFactory; import org.apache.commons.pool.impl.StackObjectPool; import org.apache.zookeeper.ZooKeeper; import org.slf4j.Logger; import org.slf4j...
wmzsoft/JXADF
Source/JxADF/JxPlatform/src/main/java/com/jxtech/distributed/zookeeper/pool/ZookeeperPoolManager.java
Java
mit
3,203
// Copyright (c) 2011-2014 The Testcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "paymentserver.h" #include "Testcoinunits.h" #include "guiutil.h" #include "optionsmodel.h" #include "base58.h" #...
L5hunter/TestCoin
src/qt/paymentserver.cpp
C++
mit
24,957
<div class="page-actions"> <!-- AUDIO CONTAINER (conditional) --> <?php if ($page->episode_file()->isNotEmpty()) { ?> <div class="audio-holder" itemprop="audio"> <audio preload="none" controls> <source src="/podcasts/<?php echo $page->episode_file() ?>" type="audio/mpeg" /> </audio> </d...
AhoyLemon/TheFPlus
site/snippets/page-actions.php
PHP
mit
7,943
When /(.*) should receive: (.*) email/ do |email, preference_list| u = User.find_by(email:email) print(u) preference_list.split(",").each do |p| if p[1,p.length-2] == "internal" expect(u.internal).to be(false) end end end When /I should see correct flash message "([^"]*)"$/ do |message| expect(page).to hav...
hsp1324/communitygrows
features/step_definitions/email_digest_steps.rb
Ruby
mit
884
#!/usr/bin/env python3 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test addressindex generation and fetching # import binascii from test_framework.messages import COI...
thelazier/dash
test/functional/feature_addressindex.py
Python
mit
15,001
# mybot Sample robocode robot
mseminatore/mybot
README.md
Markdown
mit
30
import xml.etree.ElementTree as ET import numpy as np import openmc import pytest from tests.unit_tests import assert_unbounded def test_basic(): c1 = openmc.Cell() c2 = openmc.Cell() c3 = openmc.Cell() u = openmc.Universe(name='cool', cells=(c1, c2, c3)) assert u.name == 'cool' cells = set...
wbinventor/openmc
tests/unit_tests/test_universe.py
Python
mit
2,900
HOSTING — 1. PUSH FILES TO GITHUB — Before we can set up a the hosting side of things we need to make sure out github is up to date! — As you remember in steps one and two we set up the git repo and connected it to our github repo. — lets push our files up to that repo: —first initiate push by typing in the termin...
DavideDaniel/chatAppTutorial
md/Hosting.md
Markdown
mit
2,449
///////////////////////////////////////////////////////////////////////////// // Name: wx/gtk/slider.h // Purpose: // Author: Robert Roebling // Id: $Id: slider.h,v 1.20 2005/08/02 22:57:57 MW Exp $ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence /////////////////////////...
SickheadGames/Torsion
code/wxWidgets/include/wx/gtk/slider.h
C
mit
2,514
<?php namespace Braintree\Error; /** * * Validation Error codes and messages * * ErrorCodes class provides constants for validation errors. * The constants should be used to check for a specific validation * error in a ValidationErrorCollection. * The error messages returned from the server may change; * but t...
priyankamackwan/fit.lara
app/Libraries/vendor/braintree/braintree_php/lib/Braintree/Error/Codes.php
PHP
mit
50,875
var xml = require('xmlbuilder'); var fs = require('fs'); /** * Function is used to create plis file which is required for downloading ios app. * @param {string} name app name * @param {string} path path to application * @param {string} title title for alert * @param {Function} callback functi...
dimko1/ohmystore
server/utils/utils.xml.js
JavaScript
mit
1,412
<h2><span class="pref">options.data.</span>rows</h2> <p>Specifies a custom row definition for this item. This allows you to render multiple rows for a single item.</p> <p>This is useful when you want to have a data item be represented with multiple rows. This is especially useful when you toggle the visibility of the...
globexdesigns/doby-website
pages/grid-options-data-rows.html
HTML
mit
767
<?php /** * Model_Post actions test * * @group anonymous * @group invalid */ class PostTest extends PHPUnit_Framework_TestCase { private static $_empty_db = FALSE; protected function setUp() { Kohana::$config->load('database')->default = Kohana::$config->load('database')->test; Database...
serdary/qamini
application/tests/post_test.php
PHP
mit
21,091
package math; import util.IReplicable; public class Vector3 implements IReplicable<Vector3> { private static final float MIN_TOLERANCE = (float) 1E-9; public float x; public float y; public float z; public static Vector3 of(float x, float y, float z) { Vector3 vector = new Vector3(); ...
NathanJAdams/verJ
src/math/Vector3.java
Java
mit
4,539
using Phaxio.Examples.ReceiveCallback.Models; using System.Collections.Generic; using System.Runtime.Caching; using System.Web.Mvc; namespace Phaxio.Examples.ReceiveCallback.Controllers { public class HomeController : Controller { public ActionResult Index() { ObjectCache cache = M...
phaxio/phaxio-dotnet
Phaxio.Examples.ReceiveCallback/Controllers/HomeController.cs
C#
mit
461
<!doctype html> <html class="theme-next pisces use-motion"> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <meta http-equiv="Cache-Control" content="no-transform" /> <meta...
HankCoder/BlogBackup
public/archives/2015/09/index.html
HTML
mit
16,975
<!DOCTYPE html> <html> <head> <title>MathNotes</title> <link rel="stylesheet" href="css/main.css"/> <link rel="shortcut icon" href="img/pi.png"/> <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=AM_CHTML"> </script> </head> <body> ...
TheKingSparta/MathNotes
notes.html
HTML
mit
1,494
{-| Module : TestUtils.Validate Description : The Validate type class Copyright : (c) Andrew Burnett 2014-2015 Maintainer : andyburnett88@gmail.com Stability : experimental Portability : Unknown 'Validate' provides a definition for validating a data structure. For example, we may cache information about the ...
aburnett88/HSat
tests-src/TestUtils/Validate.hs
Haskell
mit
712
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc --> <title>org.robolectric.shadows</title> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/jav...
robolectric/robolectric.github.io
javadoc/4.2/org/robolectric/shadows/package-summary.html
HTML
mit
129,372
'use strict'; define([], function($) { var Util = class { static charToLineCh(string, char) { var stringUpToChar = string.substr(0, char); var lines = stringUpToChar.split("\n"); return { line: lines.length - 1, ch: lines[lines.length - 1].length }; } }; return Util; });
pixelmaid/DynamicBrushes
javascript/app/Util.js
JavaScript
mit
319
package org.usfirst.frc.team5518.robot.subsystems; import org.usfirst.frc.team5518.robot.RobotMap; import org.usfirst.frc.team5518.robot.commands.ArcadeDriveJoystick; import edu.wpi.first.wpilibj.GenericHID; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first.wpilibj.S...
TechnoWolves5518/2015RobotCode
JoystickDemo2/src/org/usfirst/frc/team5518/robot/subsystems/DrivingSys.java
Java
mit
1,232
<?php session_start(); if (isset($_SESSION['username'])) { $username = $_SESSION['username']; } $veza = new PDO('mysql:host=' . getenv('MYSQL_SERVICE_HOST') . ';port=3306;dbname=developer_blog', 'admin', 'user'); $veza->exec("set names utf8"); if (isset($_POST['update'])) { ...
NerminImamovic/developer-Blog
shareProblem.php
PHP
mit
4,871
#if !NOT_UNITY3D namespace Zenject { public class GameObjectNameGroupNameScopeArgBinder : GameObjectGroupNameScopeArgBinder { public GameObjectNameGroupNameScopeArgBinder( BindInfo bindInfo, GameObjectCreationParameters gameObjectInfo) : base(bindInfo, gameO...
austinmao/reduxity
Assets/Packages/Zenject/Source/Binding/Binders/GameObject/GameObjectNameGroupNameScopeArgBinder.cs
C#
mit
567
<?php namespace Hautelook\ExactTargetBundle\Services; use ET_Subscriber; use Hautelook\ExactTargetBundle\Model\Subscriber as SubscriberProperties; class SubscriberService extends AbstractService { public function __construct($appSignature, $clientId, $clientSecret, $defaultWsdl) { parent::__construct...
BradLook/ExactTargetBundle
Services/SubscriberService.php
PHP
mit
541
function initBtnStartAlgo(){ $('#btn_startDispatch').bind('click', function(event) { event.preventDefault(); initAlgo(); createResultPanel("div_resultPanel"); doRound(); printRound("resultRegion"); printResultPersonal("resultPersonal"); createDownloadableContent(); }); } // 初始化變數、將 htm...
johnyluyte/EPA-SMS-Dispatcher
js/algo.js
JavaScript
mit
7,887
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>olturf Namespace: toolbars</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/s...
dpmcmlxxvi/ol3-turf
docs/api/olturf.toolbars.html
HTML
mit
13,825
/* * Velcro Physics: * Copyright (c) 2017 Ian Qvist */ using System.Collections.Generic; using Microsoft.Xna.Framework; using QEngine.Physics.Shared; using QEngine.Physics.Tools.Triangulation.Delaunay.Delaunay; using QEngine.Physics.Tools.Triangulation.Delaunay.Delaunay.Sweep; namespace QEngine.Physics.Tools.Triangu...
Quincy9000/QEngine.Framework
QEngine/Code/Physics/Tools/Triangulation/Delaunay/CDTDecomposer.cs
C#
mit
2,417
// // ViewController.h // XSInfoView // // Created by 薛纪杰 on 3/16/16. // Copyright © 2016 薛纪杰. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
XueSeason/XSInfoView
XSInfoView/ViewController.h
C
mit
215
<?php namespace Sf\TodoBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class SfTodoBundle extends Bundle { }
a1092/pa8
src/Sf/TodoBundle/SfTodoBundle.php
PHP
mit
120
import * as _ from 'lodash'; import Vuex from 'vuex'; import {Deck} from '../models/Deck' import DeckState from '../models/state/DeckState' const store = { state: new DeckState(), mutations: { addToDeck(state, card) { if (!card) { return; } state.currentDeck.cards...
jmazouri/Deckard
Deckard/Frontend/src/deckard/state/DeckModule.ts
TypeScript
mit
2,091
namespace _01.SchoolClasses { // Disciplines have name, number of lectures and number of exercises using System; class Disciplines : BasicInfoPeopleAndObjects { private int lecturesNumber; private int exercisesNumber; public Disciplines(string name, int lecturesNumber, int ex...
clangelov/TelerikAcademyHomework
03_CSharp-OOP/OOP-Principles-Part1-Homework/01.SchoolClasses/Disciplines.cs
C#
mit
1,440
module Language.Aspell ( -- * Constructors SpellChecker, spellChecker, spellCheckerWithOptions, spellCheckerWithDictionary, -- * Using the spell checker check, suggest ) where import Data.ByteString.Char8 import Foreign #if !MIN_VERSION_base(4,7,0) hiding (unsafePerformIO) #endif ...
pikajude/haspell
Language/Aspell.hs
Haskell
mit
9,412
# == Schema Information # # Table name: github_stargazers # # id :integer not null, primary key # linked_account_id :integer not null # tracker_id :integer not null # stargazer :boolean # subscriber :boolean # forker :boolean # synced_at ...
bountysource/core
app/models/github_stargazer.rb
Ruby
mit
6,853
'use strict'; angular.module('articles').controller('ChangeHeaderImageController', ['$scope', '$timeout', '$stateParams', '$window', 'Authentication', 'FileUploader', 'Articles', function ($scope, $timeout, $stateParams, $window, Authentication, FileUploader, Articles) { $scope.user = Authentication.user; $s...
davidsbelt/bacca-app
modules/articles/client/controllers/change-header-image.client.controller.js
JavaScript
mit
2,451
#chrome-heart { display: inline-block; margin-bottom: -30px; background: url(../images/chrome_logo.png) 50% 50% no-repeat; width: 100px; height: 100px; background-position: 50% 50%; background-size: cover; } .spin { -webkit-animation-name: rotateRight; -webkit-animation-duration: 10s; -webkit-animation-ti...
jaydeepw/jaydeepw.github.com
HTML5/Beginner/css/mystyle.css
CSS
mit
622
# Halitosis TODO: Write a gem description ## Installation Add this line to your application's Gemfile: gem 'halitosis' And then execute: $ bundle Or install it yourself as: $ gem install halitosis ## Usage TODO: Write usage instructions here ## Contributing 1. Fork it 2. Create your feature bran...
darrencauthon/halitosis
README.md
Markdown
mit
503
/** @jsx h */ import h from '../../../helpers/h' import { Mark } from '../../../..' export default function(change) { change.addMark( Mark.create({ type: 'bold', data: { thing: 'value' }, }) ) } export const input = ( <value> <document> <paragraph> <anchor />w<focus />ord...
ashutoshrishi/slate
packages/slate/test/changes/at-current-range/add-mark/with-mark-object.js
JavaScript
mit
556
<?php namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * App\Entity$EditeurNatureSupport. * * @ORM\Table(name="editeurnaturesupport") * @ORM\Entity(repositoryClass="App\Repository\EditeurNatureSupportRepository...
dmsr45/github_sf_media
src/Entity/EditeurNatureSupport.php
PHP
mit
4,995
package main import ( "net/http" "sync" "time" "github.com/1lann/airlift/airlift" humanize "github.com/dustin/go-humanize" "github.com/gin-gonic/contrib/renders/multitemplate" "github.com/gin-gonic/contrib/sessions" "github.com/gin-gonic/gin" ) func formatBasicTime(t time.Time) string { return getDay(t) + "...
1lann/airlift
notes.go
GO
mit
2,768
<?php /** * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyrig...
JayWalker512/CrueltyGame
cruelty/vendor/cakephp/bake/src/Shell/Task/FixtureTask.php
PHP
mit
15,668
using System; namespace _14.MagicLetter { class Program { static void Main(string[] args) { char letter1 = char.Parse(Console.ReadLine()); char letter2 = char.Parse(Console.ReadLine()); string letter3 = Console.ReadLine(); for (char i = letter1;...
spacex13/SoftUni-Homework
ConditionalStatementsAndLoops/14.MagicLetter/Program.cs
C#
mit
806
<?php namespace Metro; use Monolog\Handler\HandlerInterface; use Monolog\Handler\PsrHandler; use Monolog\Logger; use Psr\Log\LoggerInterface; class Worker { /** @var ConsumableQueue */ private $metro; /** @var JobExecutor */ private $jobExecutor; /** @var string[] */ private $queues; /...
metro-q/metro
src/Worker.php
PHP
mit
3,524
<?php namespace EasiestWay\MainBundle\Entity; use Doctrine\ORM\Mapping as ORM; use FOS\UserBundle\Model\User as BaseUser; /** * User */ class User extends BaseUser { /** * @var integer */ protected $id; /** * Get id * * @return integer */ public function getId() ...
easiestway/project
src/EasiestWay/MainBundle/Entity/User.php
PHP
mit
358
package algorithms.sorting; import java.util.Scanner; /* * Sample Challenge * This is a simple challenge to get things started. Given a sorted array (ar) * and a number (V), can you print the index location of V in the array? * * Input Format: * There will be three lines of input: * * V - the va...
RCoon/HackerRank
algorithms/sorting/FindIndexIntro.java
Java
mit
1,297
require 'resque' require 'resque/plugins/heroku_scaler/version' require 'resque/plugins/heroku_scaler/config' require 'resque/plugins/heroku_scaler/manager' require 'resque/plugins/heroku_scaler/worker' require 'resque/plugins/heroku_scaler/resque' module Resque module Plugins module HerokuScaler class <<...
aarondunnington/resque-heroku-scaler
lib/resque/plugins/heroku_scaler.rb
Ruby
mit
2,946
# Pool server This software includes: * A pool master for miner handling * A pool controller ## Warning The software is not well tested and it's a work in progress, use at your own risk. ## Requirements * golang * python2 * python2 flask * python2 requests * python2 pysqlite3 ## Configuration For first, configur...
dakk/ethpool.py
README.md
Markdown
mit
1,053
using Newtonsoft.Json.Linq; using System.Collections.Generic; namespace BlizzardAPI.Wow.DataResources { public class CharacterRaces { private List<CharacterRace> races = new List<CharacterRace>(); public List<CharacterRace> Races { get => races; set => races = value; } public Charac...
EcadryM/BlizzardAPI
BlizzardAPI/BlizzardAPI.Wow/DataResources/CharacterRaces.cs
C#
mit
1,046
from datetime import datetime from flask import Blueprint, render_template from flask_cas import login_required from timecard.api import current_period_start from timecard.models import config, admin_required admin_views = Blueprint('admin', __name__, url_prefix='/admin', template_folder='templates') @admin_views....
justinbot/timecard
timecard/admin/views.py
Python
mit
885
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>마봉아빠의 개발자를 위한 CSS 초급강의</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"...
dstyle0210/minipaper
css-page/step3/02_family.html
HTML
mit
3,124
/* * The Life Simulation Challenge * https://github.com/dankrusi/life-simulation-challenge * * Contributor(s): * Dan Krusi <dan.krusi@nerves.ch> (original author) * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "So...
dankrusi/life-simulation-challenge
Core/GUI/StartScreen.cs
C#
mit
4,607
2D Game ============ A slowly updating 2D game written in Java.
AlexLamson/2D-Game
README.md
Markdown
mit
65
""" Django settings for keyman project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
htlcnn/pyrevitscripts
HTL.tab/Test.panel/Test.pushbutton/keyman/keyman/keyman/settings.py
Python
mit
3,109
<script src="flowplayer-6.0.5/flowplayer.min.js'"></script> <script src="flowplayer-6.0.5/flowplayer.dashjs.min.js'"></script> <script src="flowplayer-6.0.5/flowplayer.hlsjs.min.js'"></script> <script src="flowplayer-6.0.5/flowplayer.quality-selector.min.js'"></script> <link rel="flowplayer-6.0.5/skin/functional.css"/>...
balrok/web_video
video.php
PHP
mit
1,711
.cb_customselect_span{ background: none repeat scroll 0 0 #fff; float: left; left: 0; margin-right: 10px; margin-top: 4px; overflow: hidden; width: 117px; } .cb_customselect_span>span{ background: url("./images/selectlabg.jpg") no-repeat scroll 100px 16px rgba(0, 0, 0, 0); border: 1px solid #e6e6e6;...
chanble/customselect
themes/default/customselect.css
CSS
mit
947
package sx1272 const ( SX1272_REG_LR_FIFO byte = 0x00 // Common settings SX1272_REG_LR_OPMODE = 0x01 SX1272_REG_LR_FRFMSB = 0x06 SX1272_REG_LR_FRFMID = 0x07 SX1272_REG_LR_FRFLSB = 0x08 // Tx settings SX1272_REG_LR_PACONFIG = 0x09 SX1272_REG_LR_PARAMP = 0x0A SX1272_REG_LR_OCP = 0x0B // Rx settings SX...
NeuralSpaz/semtech1301
sx1272/sx1272LoraRegisters.go
GO
mit
2,318
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HTLib2.Bioinfo { public partial class ForceField { public class PwVdw : INonbonded, IHessBuilder4PwIntrAct { public virtual string[] FrcFldType { get { return new string[] { "...
htna/HCsbLib
HCsbLib/HCsbLib/HTLib2.Bioinfo/ForceField/ForceField.Pw/ForceField.PwVdw.cs
C#
mit
10,124
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; function __export(m) { for (var p in m) if (!exports.hasOw...
tomlarkworthy/animaxe
dist/src/CanvasAnimation.js
JavaScript
mit
19,265
import { h } from 'preact'; import JustNotSorry from '../src/components/JustNotSorry.js'; import { configure, mount } from 'enzyme'; import Adapter from 'enzyme-adapter-preact-pure'; configure({ adapter: new Adapter() }); describe('JustNotSorry', () => { const justNotSorry = mount(<JustNotSorry />); let editable...
cyrusinnovation/just-not-sorry
spec/JustNotSorrySpec.test.js
JavaScript
mit
9,846
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Mypy</title> <meta property="og:title" content="Mypy" /> <meta property="og:image" content="https://rcalsaverini.github.io/images/me.png" /> <meta nam...
rcalsaverini/rcalsaverini.github.io
tags/mypy/index.html
HTML
mit
5,278
<html><body> <h4>Windows 10 x64 (18362.113)</h4><br> <h2>_HEAP_GLOBAL_APPCOMPAT_FLAGS</h2> <font face="arial"> +0x000 SafeInputValidation : Pos 0, 1 Bit<br> +0x000 Padding : Pos 1, 1 Bit<br> +0x000 CommitLFHSubsegments : Pos 2, 1 Bit<br> +0x000 AllocateHeapFromEnv : Pos 3, 1 Bit<br> </font></body></...
epikcraw/ggool
public/Windows 10 x64 (18362.113)/_HEAP_GLOBAL_APPCOMPAT_FLAGS.html
HTML
mit
325
<!doctype html> <html lang="en"> <head> <title>Code coverage report for test/features/support/page-objects/style.js</title> <meta charset="utf-8" /> <link rel="stylesheet" href="../../../../prettify.css" /> <link rel="stylesheet" href="../../../../base.css" /> <meta name="viewport" content="width=de...
ODIQueensland/data-curator
coverage/lcov-report/test/features/support/page-objects/style.js.html
HTML
mit
3,510
from cryptography.hazmat import backends from cryptography.hazmat.primitives.asymmetric import ec, dsa, rsa # Crypto and Cryptodome have same API if random(): from Crypto.PublicKey import DSA from Crypto.PublicKey import RSA else: from Cryptodome.PublicKey import DSA from Cryptodome.PublicKey import RS...
github/codeql
python/ql/test/query-tests/Security/CWE-326-WeakCryptoKey/weak_crypto.py
Python
mit
2,155
module Travis::API::V3 class Models::Message < Model self.inheritance_column = :none belongs_to :subject, polymorphic: true scope :ordered, -> do order(%Q{ CASE WHEN level = 'alert' THEN '0' WHEN level = 'error' THEN '1' WHEN level = 'warn' THEN '2' WHEN lev...
travis-ci/travis-api
lib/travis/api/v3/models/message.rb
Ruby
mit
422
import re import urllib import hashlib from django import template from django.conf import settings URL_RE = re.compile(r'^https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?', re.IGNORECASE) EMAIL_RE = re.compile(r'^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$', re.IGNORECASE) GRAVATAR_URL_PREFIX = 'http...
santa4nt/django-gravatar
django_gravatar/templatetags/gravatar_tags.py
Python
mit
4,346
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace RemoteSurf { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void ...
XanderLuciano/remotesurf
src/winforms/RemoteSurf/Program.cs
C#
mit
516
package viewModel import java.net.URI import com.thetestpeople.trt.model._ import com.thetestpeople.trt.model.jenkins._ import com.thetestpeople.trt.utils.http.Credentials object EditableJenkinsConfiguration { def apply(fullConfig: FullJenkinsConfiguration): EditableJenkinsConfiguration = EditableJenkinsConfig...
thetestpeople/trt
app/viewModel/EditableJenkinsConfiguration.scala
Scala
mit
1,289
import { Category } from '../../../stories/storiesHierarchy'; export const storySettings = { category: Category.COMPONENTS, storyName: 'ColorPicker', dataHook: 'storybook-colorpicker', };
wix/wix-style-react
packages/wix-style-react/src/ColorPicker/test/storySettings.js
JavaScript
mit
195
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.storage.v2019_04_01; import com.microsoft.azure....
selvasingh/azure-sdk-for-java
sdk/storage/mgmt-v2019_04_01/src/main/java/com/microsoft/azure/management/storage/v2019_04_01/StorageAccountUpdateParameters.java
Java
mit
14,066
FROM ubuntu:wily MAINTAINER Adam Szalkowski <adam.szalkowski@bbv.ch> RUN apt-get -qq update && apt-get -qq install -y --fix-missing --no-install-recommends \ build-essential \ autoconf \ automake \ libtool \ make \ m4 \ gawk \ autoconf-archive \ flex \ bison \ gdb \ gettext \ binutils-gold \ g++-5 \ lib...
butzist/academy-cc11
Dockerfile
Dockerfile
mit
573
<?php namespace App\Events\Stats; use App\Events\Event; class TorrentDuplicateDeleted extends Event { }
ivacuum/hosting
app/Events/Stats/TorrentDuplicateDeleted.php
PHP
mit
106