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 |
|---|---|---|---|---|---|
Algorithms
==========
Repository contains my adaptation of various algorithms in c++
| lukszar/Algorithms | README.md | Markdown | mit | 86 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Project 365 Day 7</title>
<meta name="description" content="Personal Projects">
<meta name="author" content="Chris Holmes... | christopherholmes/christopherholmes.github.io | _site/2017/Project365-Day-7/index.html | HTML | mit | 8,809 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!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" xml:lang="en" lang="en">
<head>
<title>Class: ActiveRecord::ConnectionAdapters::PostgreSQLColumn<... | ecoulthard/summitsearch | doc/api/classes/ActiveRecord/ConnectionAdapters/PostgreSQLColumn.html | HTML | mit | 2,752 |
((bbn)=>{let script=document.createElement('script');script.innerHTML=`<div :class="['bbn-iblock', componentClass]">
<input class="bbn-hidden"
ref="element"
:value="modelValue"
:disabled="disabled"
:required="required"
>
<div :style="getStyle()">
<div v-for="(d, idx) in sou... | nabab/bbn-vue | dist/js_single_files/components/radio/radio.min.js | JavaScript | mit | 2,648 |
#!/usr/bin/env python
from __future__ import print_function
import sys
import re
from utils import CDNEngine
from utils import request
if sys.version_info >= (3, 0):
import subprocess as commands
import urllib.parse as urlparse
else:
import commands
import urlparse
def detect(hostname):
"""
P... | Nitr4x/whichCDN | plugins/ErrorServerDetection/behaviors.py | Python | mit | 907 |
<!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 (1.8.0_101) on Mon Apr 24 14:47:19 CEST 2017 -->
<title>org.mini2Dx.minibus.messagedata Class Hierarchy (minibus 1.2.1 API)</title>
<meta name="date" ... | mini2Dx/minibus | docs/javadocs/1.2.1/org/mini2Dx/minibus/messagedata/package-tree.html | HTML | mit | 6,145 |
{% extends "layout.html" %}
{% block page_title %}
Fit note
{% endblock %}
{% block content %}
<main id="content" role="main">
{% include "../includes/phase_banner_alpha.html" %}
<form action="pensions" method="#" class="form">
<div class="grid-row">
<div class="column-two-thirds">
<header>
<h1 ... | ballzy/apply-for-esa | app/views/alpha01/fit-note.html | HTML | mit | 3,633 |
class BookingsController < ApplicationController
respond_to :html, :json
before_action :find_booking, except: [:create, :index]
def index
@bookings = Booking.current.order(:starts_at)
respond_with @bookings
end
def new
@booking = Booking.new
end
def create
@booking = Booking.new(bookin... | codenamev/bookings | lib/bookings/generators/templates/bookings_controller.rb | Ruby | mit | 1,474 |
package edacc.parameterspace.domain;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
@SuppressWarnings("serial")
public class IntegerDomain extends Domain {
protected Integer low, high;
public static final String name = "Integer";
@SuppressWarnings("unused")
private IntegerDomain... | EDACC/edacc_api | src/edacc/parameterspace/domain/IntegerDomain.java | Java | mit | 3,522 |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>HasModules - kapsule-core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kapsule-core</a> / <a href="../index.html">net.gouline.kapsule</a> / <a href="./index.html">HasModules</a><br/>
<br/>
<h1>HasModul... | traversals/kapsule | docs/1.1/kapsule-core/net.gouline.kapsule/-has-modules/index.html | HTML | mit | 1,927 |
<!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">
<link rel="icon" type="image/png" href="https://just2us.com/img/favicon-180.png" />
<link rel="apple-touch-icon"... | samwize/just2me.com | 2011/07/06/i-am-now-developer-advocate-in-hoiio/index.html | HTML | mit | 13,084 |
import {StringUtils} from "../node_modules/igv-utils/src/index.js"
class Locus {
constructor({chr, start, end}) {
this.chr = chr
this.start = start
this.end = end
}
contains(locus) {
return locus.chr === this.chr && locus.start >= this.start && locus.end <= this.end
}... | igvteam/igv.js | js/locus.js | JavaScript | mit | 1,337 |
using MonoGame.Extended.BitmapFonts;
using System;
using System.Collections.Generic;
using System.Text;
namespace XmasHell.Extensions
{
public static class StringExtension
{
public static List<String> FormatBoxString(String text, int width, BitmapFont font)
{
var strings = new List... | Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/Extensions/StringExtension.cs | C# | mit | 940 |
<?php
$sectionName ="About Us";
$pageTitle = "Who We Are";
$bodyCss = "about page page-simple";
?>
<?php include "_header.php"; ?>
<div class="container">
<!-- <ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li><a href="/about-us/"><?php echo $sectionName; ?></a></li>
<li class="active"><?php echo ... | rohm/reviveourhearts_com_redesign | about-who-we-are.php | PHP | mit | 3,597 |
require 'test/unit/testcase'
require 'assert_microformats'
Test::Unit::TestCase.send :include, AssertMicroformats
| georgebrock/assert-microformats | rails/init.rb | Ruby | mit | 115 |
#!/bin/bash
ssh -f root@162.243.123.65 -L 8080:localhost:8080 -N
ssh -f root@162.243.123.65 -L 28015:localhost:28015 -N
ssh -f root@162.243.123.65 -L 27017:localhost:27017 -N
ssh -f root@162.243.123.65 -L 3306:localhost:3306 -N
ssh -f root@162.243.123.65 -L 9200:localhost:9200 -N
ssh -f root@162.243.123.65 -L 9300:loc... | telemetryapp/osmos | setup.sh | Shell | mit | 334 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>exact-real-arithmetic: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/released/8.10.2/exact-real-arithmetic/8.7.0.html | HTML | mit | 7,046 |
(function () {
'use strict';
var app = angular.module('app');
// Collect the routes
app.constant('routes', getRoutes());
// Configure the routes and route resolvers
app.config(['$routeProvider', 'routes', routeConfigurator]);
function routeConfigurator($routeProvider, routes) {
... | Community-Manager/NCS-Web | Source/UI/NeighboursCommunityManager.UI/app/config.route.js | JavaScript | mit | 3,598 |
//
// File: Math.cpp
// Author: John Barbero Unenge
// Date: 10/11/12.
//
// Copyright (c) 2012 Catch22. All rights reserved.
//
// All code is my own except where credited to others.
//
// License: The following code is licensed under the Catch22-License
//
#include "Math.hpp"
#include <math.h>
Vector2d* Math... | JBarberU/CatchLib | src/Math/Math.cpp | C++ | mit | 761 |
import Ember from 'ember';
import layout from './template';
export default Ember.Component.extend({
layout: layout,
classNames: ['kit-canvas-scroller'],
canvasStyle: Ember.computed('parentView.canvasStyle', function() {
return this.get('parentView').get('canvasStyle');
}),
numberOfItems: Ember.computed('parent... | dpostigo/ember-cli-kit | addon/components/kit-canvas-scroller/component.js | JavaScript | mit | 525 |
package main
import (
"fmt"
"net/http"
"log"
"strconv"
"github.com/stvndall/languagetechstats/src/go/services/factors"
"github.com/gorilla/mux"
)
func main(){
router := mux.NewRouter().StrictSlash(true)
router.HandleFunc("/{numbers}", factorise)
log.Fatal(http.ListenAndServe(":2500", router))
}
func factoris... | stvndall/LanguageTechStats | src/go/http/factorsSvr/factorssvr.go | GO | mit | 525 |
version https://git-lfs.github.com/spec/v1
oid sha256:8f8f73484287c5e260d89457599500873cf451adfdd727b669f5e0bbacc57452
size 1100
| yogeshsaroya/new-cdnjs | ajax/libs/highlight.js/7.4/styles/tomorrow-night-eighties.min.css | CSS | mit | 129 |
function test() {
for(var i=1; i<3; i++) {
console.log("inner i: " + i);
}
console.log("outer i: " + i);
}
function last() {
const PI = 3.1415926;
console.log(PI);
}
// test();
last();
| isjia/imooc-es6-basic | src/app/js/class/lesson3-1.js | JavaScript | mit | 201 |
'use strict';
module.exports = {
controller: function (args) {
this.config = _.merge({
salvar: _.noop,
publicar: _.noop,
descartar: _.noop,
visualizar: _.noop,
editar: _.noop
}, args);
},
view: function (ctrl) {
var salvarView = '';
if (ctrl.config.salvar !== _.noo... | servicosgovbr/editor-de-servicos | src/main/javascript/cabecalho/metadados.js | JavaScript | mit | 1,796 |
/*
The parser for parsing US's date format that begin with month's name.
EX.
- January 13
- January 13, 2012
- January 13 - 15, 2012
- Tuesday, January 13, 2012
*/
var moment = require('moment');
require('moment-timezone');
var Parser = require('../parser').Parser;
va... | trever/chrono | src/parsers/EN/ENMonthNameMiddleEndianParser.js | JavaScript | mit | 4,981 |
#include <iostream>
#include "ringo.hpp"
void ringo () {
std::cout << "and Ringo" << std::endl;
}
| CajetanP/code-learning | Build Systems/CommandLine/HelloBeatles/src/georgeringo/ringo.cpp | C++ | mit | 101 |
/*
main.c
*/
#define F_CPU 8000000
#include <stdio.h>
#include <string.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include <avr/io.h>
#include "../lib/ring_buffer.h"
#include "../lib/serial.h"
/*
Basic test of interrupt based serial functionality
*/
int main(void) {
uart_init();
sei();... | alexburn97/AVR-C-Development-Board | 3_Interrupt_Serial/src/main.c | C | mit | 1,148 |
using System;
using System.Collections.Generic;
namespace TranscendenceChat.ServerClient.Entities.Ws.Requests
{
public class MessageSeenStatusAcknowledgeRequest : BaseRequest
{
public List<Guid> Messages { get; set; }
}
} | tamifist/Transcendence | TranscendenceChat.ServerClient/Ws/Requests/MessageSeenStatusAcknowledgeRequest.cs | C# | mit | 245 |
## Scanner
type Scanner
string::AbstractString
tail::AbstractString
pos::Integer
end
Scanner(string::AbstractString) = Scanner("", string, 0)
## Returns `true` if the tail is empty (end of string).
function eos(s::Scanner)
s.tail == ""
end
## Tries to match the given regular expression at the curr... | JuliaPackageMirrors/Mustache.jl | src/scanner.jl | Julia | mit | 1,446 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | portchris/NaturalRemedyCompany | src/dev/tests/functional/tests/app/Mage/Adminhtml/Test/Fixture/StoreGroup/CategoryId.php | PHP | mit | 3,093 |
<!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 | 2981f01/html/classv8_1_1_startup_data_decompressor-members.html | HTML | mit | 6,093 |
---
title: "Hacker Tools: Emacs"
date: 2021-10-10 00:00:00
author: Hao Wei
url: /2021/10/hacker-tools-6
summary: Come join us at this workshop to learn how to use Emacs effectively, from the basics.
---
<!--
This workshop has ended; here are links to the materials and recording:
- [Slides](https://github.com/nushacker... | nushackers/nushackers-site | content/post/2021-10-10-hacker-tools-6.md | Markdown | mit | 1,249 |
---
layout: page
title: Tech Squad Networks Party
date: 2016-05-24
author: Jane Elliott
tags: weekly links, java
status: published
summary: Suspendisse eget neque nec arcu consequat pretium.
banner: images/banner/wedding.jpg
booking:
startDate: 04/26/2017
endDate: 04/28/2017
ctyhocn: EWBFHHX
groupCode: TSNP
pub... | KlishGroup/prose-pogs | pogs/E/EWBFHHX/TSNP/index.md | Markdown | mit | 2,253 |
fib(0, A, _, A).
fib(N, A, B, F) :- N1 is N - 1,
Sum is A + B,
fib(N1, B, Sum, F).
fib(N, F) :- fib(N, 0, 1, F). | MartinThoma/LaTeX-examples | documents/Programmierparadigmen/scripts/prolog/fibonacci.pl | Perl | mit | 152 |
'use strict';
import React, {PureComponent} from 'react';
import {StyleSheet, View, Text} from 'react-native';
import withMaterialTheme from './styles/withMaterialTheme';
import {withMeasurementForwarding} from './util';
import * as typo from './styles/typo';
import shades from './styles/shades';
/**
* Section headin... | material-native/material-native | src/Subheader.js | JavaScript | mit | 1,665 |
public class TestSea6Task1 {
public static void main(String[] args) {
String text = "Sun is shining. Today is a good day for test. Sun is shining. The students are happy. The birds are blue.";
int indexSent = -1;
int lengthSen = 0;
int counterSen = 0;
int indexLast = 0;
int maxLengthSen = 0;
for (int ... | marmotka/Java-Exercises-Basics | Tests/src/TestSea6Task1.java | Java | mit | 831 |
interface Foo extends stdClass
{
/**
* @var string
*/
const FOO = 'theValue';
/**
* @var string
*/
const BAR = 'theOtherValue';
/**
* @var int
*/
/**
* @var bool
*/
/**
* This method is very useful
* @date 2012-03-01
* @return mixed
... | WsdlToPhp/PhpGenerator | tests/resources/PhpInterfaceTest_SimpleToStringWithReturnType.php | PHP | mit | 573 |
/**
* @file msg_io.h
* @brief The header file for msg_io.c.
* @author Yiwei Chiao (ywchiao@gmail.com)
* @date 06/01/2017 created.
* @date 06/15/2017 last modified.
* @version 0.1.0
* @copyright MIT, (C) 2017 Yiwei Chiao
* @details
*
* The header file for msg_io.c.
*/
... | ywchiao/mug | mugc/inc/msg_io.h | C | mit | 486 |
<!-- vscode-markdown-toc -->
* 1. [Language](#Language)
* 2. [Tips](#Tips)
* 3. [Pickle](#Pickle)
* 4. [DSL](#DSL)
* 5. [Libraries & resources](#Librariesresources)
* 6. [FP](#FP)
* 7. [Flask](#Flask)
<!-- vscode-markdown-toc-config
numbering=true
autoSave=true
/vscode-markdown-toc-config -->
<!-- /vscode-markdown-... | caixl1976/dialy-notes | python.md | Markdown | mit | 4,593 |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
@class NSString;
@interface AXEventListenerContainer : NSObject
{
id handler;
NSString *identifier;
}
@property(retain, nonatomic) NSString *ident... | matthewsot/CocoaSharp | Headers/PrivateFrameworks/AccessibilityUtilities/AXEventListenerContainer.h | C | mit | 424 |
require "roadkill/version"
module Roadkill
# Your code goes here...
end
| agapered/roadkill | lib/roadkill.rb | Ruby | mit | 75 |
package controller
import (
"net/http"
"encoding/json"
"rest-commander/store"
"rest-commander/model/dto"
)
type AuthenticationController interface {
HandleLogin(w http.ResponseWriter, r *http.Request)
HandleLogout(w http.ResponseWriter, r *http.Request)
}
func (t *AuthenticationRoute) HandleLogin(w http.Respon... | rainu/rest-commander | server-go/src/rest-commander/controller/auth_handler.go | GO | mit | 1,102 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="nb" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Podcoin</source>
<translation>Om Podcoin</translation>
</message... | mgrigajtis/podcoin | src/qt/locale/bitcoin_nb.ts | TypeScript | mit | 113,153 |
"""
=================================================
Modeling quasi-seasonal trends with date features
=================================================
Some trends are common enough to appear seasonal, yet sporadic enough that
approaching them from a seasonal perspective may not be valid. An example of
this is the ... | tgsmith61591/pyramid | examples/preprocessing/example_date_featurizer.py | Python | mit | 2,754 |
package hugs.support;
import hugs.*;
public class ScoreParameter extends Parameter {
public Score value;
public ScoreParameter (String name) { this(name,null);}
public ScoreParameter (String name, Score value) {
super(name);
this.value = value;
}
public Object getValue () {return value;... | guwek/HuGS | hugs/support/ScoreParameter.java | Java | mit | 451 |
FROM golang:onbuild
MAINTAINER Andy Grunwald <andygrunwald@gmail.com>
EXPOSE 8082
ENTRYPOINT ["app"]
| andygrunwald/simple-webserver | Dockerfile | Dockerfile | mit | 103 |
//
// KPHRequest.h
// KeePassHttp-ObjC
//
// Created by James Hurst on 2014-09-21.
// Copyright (c) 2014 James Hurst. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "JSONModel.h"
static NSString *const kKPHRequestGetLogins = @"get-logins";
static NSString *const kKPHRequestGetLoginsCount = @"g... | jameshurst/KeePassHttp-ObjC | KeePassHttp/KPHRequest.h | C | mit | 2,204 |
package com.riteshakya.subs.views.screens.login;
import android.content.Intent;
import android.support.v4.app.FragmentActivity;
import com.google.android.gms.common.api.GoogleApiClient;
import com.riteshakya.subs.mvp.FlowListener;
import com.riteshakya.subs.mvp.IPresenter;
import com.riteshakya.subs.mvp.IView;
import... | riteshakya037/Subs | presentation/src/main/java/com/riteshakya/subs/views/screens/login/LoginPresenter.java | Java | mit | 859 |
/*
* Copyright (C) 2013 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | EricHyh/FileDownloader | lib-common/src/main/java/com/hyh/common/picasso/PicassoExecutorService.java | Java | mit | 4,271 |
<?php
/**
* This file is part of the LdapTools package.
*
* (c) Chad Sikorra <Chad.Sikorra@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace LdapTools\Connection;
use LdapTools\Exception\InvalidArgumentExceptio... | ldaptools/ldaptools | src/LdapTools/Connection/LdapServerPool.php | PHP | mit | 4,828 |
<?php
namespace Brasa\RecursoHumanoBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
class RhuAcreditacionTipoType extends AbstractType
{
/*... | wariox3/brasa | src/Brasa/RecursoHumanoBundle/Form/Type/RhuAcreditacionTipoType.php | PHP | mit | 959 |
<?php
namespace Emayk\Ics\Repo\Taxtype;
/**
* Copyright (C) 2013 Emay Komarudin
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | emayk/ics | src/Emayk/Ics/Repo/Taxtype/TaxtypeInterface.php | PHP | mit | 1,765 |
module SimpleHL7
VERSION = "1.0.2"
end
| alivecor/simple_hl7 | lib/simple_hl7/version.rb | Ruby | mit | 41 |
class CreateQuestionsTags < ActiveRecord::Migration
def change
create_table :questions_tags, id: false do |t|
t.references :question, index: true
t.references :tag, index: true
end
end
end
| leemour/underflow | db/migrate/20140429172646_create_questions_tags.rb | Ruby | mit | 213 |
{-# htermination minFM :: (Ord a, Ord k) => FiniteMap (Either a k) b -> Maybe (Either a k) #-}
import FiniteMap
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Haskell/full_haskell/FiniteMap_minFM_10.hs | Haskell | mit | 112 |
<?php
/**
* Thankyou page
*
* This template can be overridden by copying it to yourtheme/woocommerce/checkout/thankyou.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to ... | AustinWinnett/jenny-b-photo | woocommerce/checkout/thankyou.php | PHP | mit | 3,682 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>addition-chains: 3 m 2 s 🏆</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.08.1-2.0.5/released/8.11.0/addition-chains/0.4.html | HTML | mit | 12,175 |
---
layout: post
title: Media Web Part ile SharePoint Video Sitesi
date: 2013-08-29 15:51
author: hasangok
comments: true
Tags: [Asset Library, Media Web Part, Sharepoint, SharePoint, Varlık Kütüphanesi]
---
Varsayalım ki bir *SharePoint Asset Library* -Varlık Kütüphanesi- oluşturduk ve içerisine videolar yükle... | hasangok/hasangok.github.io | _posts/2013-08-29-media-web-part-ile-sharepoint-video-sitesi.md | Markdown | mit | 3,071 |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Bugzilla, 26032, " ListView... | xjpeter/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla26032.xaml.cs | C# | mit | 2,087 |
/*Package websocket implements Websocket transport
Websocket transport implements an HTTP(S) compliable, surveillance proof transport method with plausible deniability.
*/
package websocket
//go:generate go run v2ray.com/core/common/errors/errorgen
| v2ray/v2ray-core | transport/internet/websocket/ws.go | GO | mit | 251 |
package eu.bcvsolutions.idm.core.bulk.action.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import org.junit.After;
imp... | bcvsolutions/CzechIdMng | Realization/backend/core/core-impl/src/test/java/eu/bcvsolutions/idm/core/bulk/action/impl/IdentityDisableBulkActionTest.java | Java | mit | 9,528 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace WarZ
{
public class ParticlesManager : DrawableGameComponent
{
private WarZGame WZGame;
//PARTICLES
// This sample uses five different particle systems.
... | vvolkgang/WarZ | src/WarZ/WarZ/3D/Particles/ParticlesManager.cs | C# | mit | 5,427 |
import { onChange, getBits } from '../state'
import { inputWidth, centerInputs } from './inputs'
const $bits = document.getElementById('bits')
const setBitsWidth = width => {
$bits.style.width = inputWidth(width)
centerInputs()
}
const setBitsValue = value => {
setBitsWidth(value.length)
$bits.value = value
... | hhelwich/floating-point-converter | src/gui/inputBits.js | JavaScript | mit | 610 |
OxygenMailer::Client.setup do |config|
# api-key for sms
config.sms_api_key = "replace api key of sms"
config.sms_api_secret = "replace api secret of sms"
# api-key for mail
config.mail_api_key = "reaplce api key of mail"
config.mail_api_secret = "replace api secret of mail"
config.ssh_host = "host"
... | foobargem/oxygen_mailer_client | lib/generators/templates/oxygen_mailer_client.rb | Ruby | mit | 444 |
var plugin = require("./plugin");
module.exports = function(PluginHost) {
var app = PluginHost.owner;
/**
* used like so:
* --external-aliases privateapi,privateAPI,hiddenAPI
* or
* -ea privateapi,privateAPI
*/
app.options.addDeclaration({ name: 'external-aliases', short: 'ea' });
/**
* used l... | arindamangular/ShopNow | node_modules/angular-ui-router/node_modules/typedoc-plugin-internal-external/index.js | JavaScript | mit | 555 |
var gulp = require('gulp'),
plugins = require('gulp-load-plugins')(),
Karma = require('karma').Server;
var paths = {
scripts: {
src: ['src/**/*.js'],
dest: 'dist',
file: 'mention.js'
},
styles: {
src: ['src/**/*.scss'],
dest: 'dist',
file: 'mention.css'
},
example: {
scrip... | kasperlewau/ui-mention | gulpfile.js | JavaScript | mit | 2,033 |
#include "TestBase.h"
const char *testPostExpressions =
"typedef char[] string;\r\n\
\r\n\
int string:find(char a)\r\n\
{\r\n\
int i = 0;\r\n\
while(i < this.size && this[i] != a)\r\n\
i++;\r\n\
if(i == this.size)\r\n\
i = -1;\r\n\
return i;\r\n\
}\r\n\
\r\n\
int a = (\"hello\").size + \"me\".si... | WheretIB/nullc | tests/TestPostExpr.cpp | C++ | mit | 1,952 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azur... | Azure/azure-sdk-for-java | sdk/resourcemanagerhybrid/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/GalleryProperties.java | Java | mit | 3,142 |
import { StyleSheet } from 'react-native'
const s = StyleSheet.create({
flexRowAround: {
flexDirection: 'row',
justifyContent: 'space-around',
},
dot: {
height: 7,
width: 7,
borderRadius: 3.5,
},
green: {
color: '#50d2c2',
},
flexWrap: {
flexWrap: 'wrap',
},
textCenter: {
... | SeunLanLege/react-native-mobx-calender | src/styles.js | JavaScript | mit | 3,411 |
{% extends 'base_with_sidebar.html' %}
{% load i18n %}
{% block head_title %}{% trans 'Settings' %}{%endblock %}
{% block sidebar %}
<li>
<a class="sidebar-mainlink" href="{% url 'projects:main' %}" id="return">
{% trans 'Home' %}
</a>
</li>
<li>
<a class="sidebar-mainlink" href="{% url 'settings:main' %}... | XeryusTC/projman | templates/settings/base.html | HTML | mit | 515 |
# Community Chest
## Demo: [Here](http://communitychest.herokuapp.com)
Made primarily for DBC, students or mentors can share tweet-sized advice. All this advice gets added to a chest where users can open and interact with. | kvnkwon/communitychest | README.md | Markdown | mit | 224 |
# frozen_string_literal: true
require 'wegift/version'
require 'wegift/client'
require 'wegift/models/initializable'
require 'wegift/models/response'
require 'wegift/models/product'
require 'wegift/models/products'
require 'wegift/models/order'
module Wegift
end
| kendrikat/wegift-ruby-client | lib/wegift.rb | Ruby | mit | 266 |
exports.CLI = require(__dirname + '/lib/cli');
exports.Events = require(__dirname + '/lib/events'); | krg7880/node-stubby-server-cli | index.js | JavaScript | mit | 99 |
import {AbstractControl, FormBuilder, FormGroup, Validators} from "@angular/forms";
import {DatePickerOptions} from "ng2-datepicker";
import {MatchesDataStoreService} from "../../matches-data-store";
import {MatchesConstants} from "../../matches.constant.service";
import {IOption} from "ng-select";
import {Component, E... | malikme3/angular4 | src/app/ctcl/Matches/components/submit.score/match.basic.details.component/basic.details.component.ts | TypeScript | mit | 14,964 |
---
layout: post
title: Decorating
---
Hi Babs, It’s Friday, it’s been a long week and I’m feeling the strain. I would love a nice relaxing weekend but I don’t think it’s going to happen – nor next weekend. We’re doing some frantic decorating at the moment, every room upstairs except the bathroom. At the moment what wi... | spencerjago/spencerjago.github.io | _posts/2014-03-07-decorating.md | Markdown | mit | 2,356 |
#!/bin/bash
set -euo pipefail
cd `pwd`
stringtie=$HOME/github/stringtie/stringtie
gtf=$1
for file in ./*bam
do
base=$(echo ${file%.*})
stringassem=${base}_stringtie_assembly.gtf
stringabund=${base}_stringtie_gene_abund.txt
ballgowndir=${base}_balldown_tables
$stringtie $file -G $gtf -p 12 -o $s... | sestaton/sesbio | gene_annotation/shell_scripts/stringtie.sh | Shell | mit | 371 |
using System;
namespace Ducksoft.SOA.Common.Filters
{
/// <summary>
/// Class which is used to store filter changed event arguments.
/// </summary>
public class SortChangedEventArgs : EventArgs
{
/// <summary>
/// Gets a value indicating whether this instance is reset.
///... | hpsanampudi/Ducksoft.Soa.Common | Filters/SortChangedEventArgs.cs | C# | mit | 844 |
# Creating a new project
First create a new folder / repository then run:
```bash
basenji init
```
| tomgrooffer/basenji | docs/getting-started/CreateProject.md | Markdown | mit | 101 |
import json
from chargebee.model import Model
from chargebee import request
from chargebee import APIError
class Plan(Model):
class Tier(Model):
fields = ["starting_unit", "ending_unit", "price", "starting_unit_in_decimal", "ending_unit_in_decimal", "price_in_decimal"]
pass
class ApplicableAddon(Mo... | chargebee/chargebee-python | chargebee/models/plan.py | Python | mit | 2,784 |
<?php
namespace denbora\R_T_G_Services\services\REST;
use denbora\R_T_G_Services\R_T_G_ServiceException;
class GameService extends RestService
{
/**
* First part in url after /api/
*/
const API_URL = 'games';
/**
* @param $query
* @param null $array
* @param string $endpoint
... | Denbora/R_T_G_Services | src/services/REST/GameService.php | PHP | mit | 2,636 |
'use strict';
!function($) {
/**
* OffCanvas module.
* @module foundation.offcanvas
* @requires foundation.util.keyboard
* @requires foundation.util.mediaQuery
* @requires foundation.util.triggers
* @requires foundation.util.motion
*/
class OffCanvas {
/**
* Creates a new instance of an off-canvas wrappe... | PassKitInc/foundation-sites | js/foundation.offcanvas.js | JavaScript | mit | 10,884 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.avs.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.ut... | Azure/azure-sdk-for-java | sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovementState.java | Java | mit | 1,489 |
require "jenkins_ruby_jobs/version"
require "jenkins_ruby_jobs/jenkinsapi"
require "jenkins_ruby_jobs/configuration"
require "jenkins_ruby_jobs/buildjob"
module Jenkins
end
| mlnewman/jenkins_ruby_jobs | lib/jenkins_ruby_jobs.rb | Ruby | mit | 174 |
#!/bin/bash
source $(which virtualenvwrapper.sh)
workon tesis
python -m unittest tests.recommender_test
| alamillac/master_AI_tesis | Code/src/config_scripts/run_tests.sh | Shell | mit | 105 |
var Dispatcher = require('flux').Dispatcher;
var assign = require('object-assign')
var AppDispatcher = assign(new Dispatcher(), {
handleViewAction: function(action) {
this.dispatch({
actionType: 'VIEW_ACTION',
action: action
});
},
handleServerAction: function(action) {
this.dispatch({
... | kwbock/todos-react | app/assets/javascripts/dispatchers/app-dispatcher.js | JavaScript | mit | 424 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>First Steps Into PHP</title>
</head>
<body>
<form>
N: <input type="text" name="num" />
<input type="submit" />
</form>
<!--Write your PHP Script here-->
</body>
</html>
<?php
if (isset($_GET['num'])) {
$n1 = intval($_GET['num'])... | VaskoViktorov/SoftUni-Homework | 03. Software Technologies - 27.02.2017/3. PHP First Steps - Exercises/06. Numbers from N to 1_Скелет.php | PHP | mit | 388 |
/*
* Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO>
*
* 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
* ... | SLIBIO/SLib | src/slib/ui/clipboard_gtk.cpp | C++ | mit | 2,093 |
/* SWATCHES ---------------------------------------------------------------------- */
span.cm-bracket { color: #0076be; }
span.cm-builtin { color: #0076be; }
span.cm-def { color: #0076be; }
span.cm-header { color: #0076be; }
span.cm-meta { color: #0076be; }
span.cm-operator { color: #0076be; }
span.cm-qua... | Brackets-Themes/Dune | dune.css | CSS | mit | 2,293 |
Prisoner Data for the Americas (North, South, Central) for a set of years and the numbers of the populations for the countries as of 2017. The adjacency matrix is the countries which border with each other. | mantzaris/data | prisonData/readMe.md | Markdown | mit | 206 |
#pragma once
#include <string>
namespace pyconv {
namespace language {
namespace types{
namespace line {
using std::string;
class LineType {
public:
typedef int line_t;
static const line_t BLANK = 0;
static const line_t CLOSE_BRACE = 1;
static const line_t ELIF_STATEMENT = 2;
static const line... | mattheuslee/PyConv | src/PyConv/main/language/types/line/LineType.hpp | C++ | mit | 2,232 |
<?php
class Klevu_Boosting_Model_Boost extends Mage_CatalogRule_Model_Rule
{
protected $_eventPrefix = 'boosting';
protected $_eventObject = 'object';
protected function _construct()
{
$this->_init("boosting/boost");
}
public function getConditionsInstance()
{
return Mage::ge... | klevu/klevu-smart-search-M1 | app/code/community/Klevu/Boosting/Model/Boost.php | PHP | mit | 1,698 |
require 'rails_helper'
describe HeadingService::CachedHeadingService do
let(:heading) { create :heading, :non_grouping,
:with_description }
let(:measure_type) { create :measure_type, measure_type_id: '103' }
let(:actual_date) { Date.current }
describe '#serializable_hash' do
... | bitzesty/trade-tariff-backend | spec/services/heading_service/cached_heading_service_spec.rb | Ruby | mit | 8,845 |
/*******************************************************************************
USART Peripheral Library Template Implementation
File Name:
usart_Receiver9Bits_Default.h
Summary:
USART PLIB Template Implementation
Description:
This header file contains template implementations
For Feature : ... | mzeitler/openstrom | firmware/prototype - final/firmware/src/system_config/default/framework/peripheral/usart/templates/usart_Receiver9Bits_Default.h | C | mit | 3,281 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>"Hello World"-style Examples -- Splunk SDK for JavaScript</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<scr... | Christopheraburns/projecttelemetry | node_modules/splunk-sdk/examples/browser/helloworld/index.html | HTML | mit | 40,476 |
$(document).ready(function(){
//enable the return time input and dropdown
$("#round").change(function() {
if(this.checked) {
console.log("Return data field open!");
$("#rD").removeClass('ui disabled input').addClass('ui input');
$("#rY").removeClass('ui disabled inp... | yanx611/Flightonight | public/resources/main.js | JavaScript | mit | 6,549 |
module ::Refinery
module Admin
module DashboardHelper
def activity_message_for(record)
if (plugin = ::Refinery::Plugins.active.find_by_model(record.class)) &&
(activity = plugin.activity.first)
# work out which action occured
action = record.updated_at.eql?(record.cre... | pcantrell/refinerycms | dashboard/app/helpers/refinery/admin/dashboard_helper.rb | Ruby | mit | 1,045 |
(function(){
angular.module('list-products', [])
.directive('productInfo', function() {
return {
restrict: 'E',
templateUrl: 'partials/product-info.html'
}
})
.directive('productForm', function() {
return {
restrict: 'E',
templateUrl: 'partials/product-for... | portojs/angular-project-1 | app/products.js | JavaScript | mit | 1,211 |
export * from './types'
export * from './takeWhile'
| TylorS167/167 | src/list/takeWhile/index.ts | TypeScript | mit | 52 |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("GifViewer.Droid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConf... | jamesmontemagno/Xamarin.Forms-Awesome-Controls | GifImageView/Droid/Properties/AssemblyInfo.cs | C# | mit | 1,016 |
namespace More.IO
{
using System;
using System.Diagnostics.Contracts;
using System.IO;
using System.Threading.Tasks;
/// <summary>
/// Represents a file with information about its contents and ways to manipulate it.
/// </summary>
[ContractClass( typeof( IFileContract ) )]
public i... | commonsensesoftware/More | src/More/More/IO/IFile.cs | C# | mit | 3,144 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.