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 |
|---|---|---|---|---|---|
๏ปฟ---
uid: SolidEdgeFramework.Properties.Name
summary:
remarks: All objects have names that are unique within the scope of their parent.
---
| SolidEdgeCommunity/docs | docfx_project/apidoc/SolidEdgeFramework.Properties.Name.md | Markdown | mit | 143 |
#pragma once
#include <QtCore/QPointer>
#include <QtWidgets/QTabWidget>
#include "backend/backend_requests_interface.h"
class BreakpointModel;
class PDIBackendRequests;
class DisassemblyView;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
clas... | emoon/ProDBG | src/prodbg/ui/code_views.h | C | mit | 1,505 |
---
layout: post
title: "8ํผ์ผํธ ํ๋ซํผ๊ฐ๋ฐ ์ธํด ํ๊ธฐ-๋ง์ง๋ง"
author: selee
description: ๊ทธ๋์ ๊ฐ์ฌํ์ต๋๋ค!
---
<p align="center">
<img src="/images/internship-4-์ธํฐ๋ทฐ.jpg" alt="์ธํด ๋๊ธฐ๋" width="500">
</p>
## <span style="color:#6741d9">์ด๋ฒคํธ ์ผ๋ฌ์
</span>
๋จ์ ๊ธฐ๊ฐ์๋ ์ ๋ฒ ์ธํด๊ธฐ์ ์ด ์ด๋ฒคํธ ์ผ๋ฌ์
/๋ฐฐ๋ ์คํํ ํ์ด์ง ๋ง๋ค๊ธฐ ์์
์ ์ด์ด์ ๊ณ์ํ๋ค. ๊ด๋ฆฌ์ ํ์ด์ง์์ ์ผ๋ฌ์
๊ณผ ๋ฐฐ๋๋ฅผ ์ ์ฅํ๋ฉด ๊ด๋ จ ์ ๋ณด๋ฅผ DB... | 8percent/8percent.github.io | _posts/2021-02-19-internship-review4.md | Markdown | mit | 4,596 |
.sample2 .sea {
height: 300px;
width: 480px;
position: relative;
background-image: url(media/fishing.png), url(media/mermaid.png), url(media/sea.png);
background-position: top right 10px, bottom left, top left;
background-repeat: no-repeat, repeat-x, repeat-x;
}
.sample2 .fish {
background: url(media/fish.png) ... | zenzontle/VillonderCoNf | MultipleBackgrounds/multiple.css | CSS | mit | 408 |
/**
* @fileoverview Rule to flag use of implied eval via setTimeout and setInterval
* @author James Allardice
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const ast... | pvamshi/eslint | lib/rules/no-implied-eval.js | JavaScript | mit | 5,435 |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace EthereumSamuraiApiCaller.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class BlockRespo... | LykkeCity/EthereumApiDotNetCore | src/EthereumSamuraiApiCaller/Models/BlockResponse.cs | C# | mit | 2,212 |
//
// BPPopToast.h
// BPKITsDemo
//
// Created by mikeooye on 15-3-28.
// Copyright (c) 2015ๅนด ihojin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BPPopToast : UIView
@property (copy, nonatomic) NSString *text;
- (void)popToastAtRect:(CGRect)rect inView:(UIView *)view;
@end
@interface NSString (B... | mikeooye/BPKITs | Views/BPPopToast.h | C | mit | 397 |
/*
---------------------------------------------------------------------------
Open Asset Import Library (ASSIMP)
---------------------------------------------------------------------------
Copyright (c) 2006-2010, ASSIMP Development Team
All rights reserved.
Redistribution and use of this software in source and bin... | mtwilliams/mojo | dependencies/assimp-2.0.863/tools/assimp_view/LogWindow.cpp | C++ | mit | 6,958 |
module Tasklist
end
| chaimedes/HanamiTaskList | lib/tasklist.rb | Ruby | mit | 20 |
---
title: "Exploring UIAlertController"
date: 2014-09-07 00:00
link_to: swift
---
This morning, I was working on the [sample app](https://github.com/AshFurrow/Moya/issues/39) for [Moya](https://github.com/AshFurrow/Moya), a network abstraction framework that Iโve built on top of [Alamofire](https://github.com/Alamofi... | yogoo/ashfurrow-blog | source/blog/2014-09-07-uialertviewcontroller-example.markdown | Markdown | mit | 8,061 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Library to generate items for Sortable.js
*/
class Sortable {
protected $CI;
protected $mItems;
protected $mPostName = 'sortable_ids';
public function __construct()
{
$this->CI =& get_instance();
$this->CI->load->library('parser')... | jiji262/codeigniter_boilerplate | application/modules/admin/libraries/Sortable.php | PHP | mit | 2,088 |
import NodeFunction from '../core/NodeFunction.js';
import NodeFunctionInput from '../core/NodeFunctionInput.js';
const declarationRegexp = /^\s*(highp|mediump|lowp)?\s*([a-z_0-9]+)\s*([a-z_0-9]+)?\s*\(([\s\S]*?)\)/i;
const propertiesRegexp = /[a-z_0-9]+/ig;
const pragmaMain = '#pragma main';
const parse = ( source ... | jpweeks/three.js | examples/jsm/renderers/nodes/parsers/GLSLNodeFunction.js | JavaScript | mit | 2,740 |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = R... | mail2yugi/ProjectTodoList | src/app/app.component.js | JavaScript | mit | 1,606 |
๏ปฟusing Feria_Desktop.View.Usuario;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
u... | lagrantorre/PortafolioTItulo | Feria Desktop/Feria Desktop/View/Mantenedor/Bodega.xaml.cs | C# | mit | 912 |
/**
* Copies the values of `source` to `array`.
*
* @private
* @param {Array} source The array to copy values from.
* @param {Array} [array=[]] The array to copy values to.
* @returns {Array} Returns `array`.
*/
function arrayCopy(source, array) {
var index = -1,
length = source.length;
array || (arra... | gdgzdar/2048 | node_modules/karma/node_modules/lodash/internal/arrayCopy.js | JavaScript | mit | 442 |
//
// SNPGetStreamOperation.h
// Snapper
//
// Created by Paul Schifferer on 12/23/12.
// Copyright (c) 2012 Pilgrimage Software. All rights reserved.
//
#import "SNPBaseAppTokenOperation.h"
@interface SNPGetStreamOperation : SNPBaseAppTokenOperation
// -- Properties --
@property (nonatomic, assign) NSInteger s... | exsortis/Snapper | Snapper/Source/Shared/SNPGetStreamOperation.h | C | mit | 593 |
package de.uni.bremen.stummk.psp.calculation;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.ecl... | stummk/psp-eclipse | Source/de.uni.bremen.stummk.psp/src/de/uni/bremen/stummk/psp/calculation/EditorToolbarAction.java | Java | mit | 5,479 |
1.0.0 / 2014-12-24
==================
* 0.1.2
- Add X-XSS-Protection header options
* 0.1.1
- Request body or query sanitize | ziyasal/node-procexss | HISTORY.md | Markdown | mit | 131 |
---
layout: post
title: "From interaction-based to state-based testing"
description: "Indiscriminate use of Mocks and Stubs can lead to brittle test suites. A more functional design can make state-based testing easier, leading to more robust test suites."
date: 2019-02-18 8:19 UTC
tags: [Unit Testing, Article Series]
-... | ploeh/ploeh.github.com | _posts/2019-02-18-from-interaction-based-to-state-based-testing.html | HTML | mit | 5,696 |
/// This is the sensor class
///
/// Sensor is a box2d fixture that is attached to a parent body
/// Sensors are used to detect entities in an area.
#pragma once
#include <AFP/Scene/SceneNode.hpp>
#include <AFP/Entity/Entity.hpp>
#include <AFP/Entity/Character.hpp>
namespace AFP
{
class Sensor : public SceneNode
... | Pinqvin/afp-game | include/AFP/Entity/Sensor.hpp | C++ | mit | 2,350 |
# Liplis-iOS
ใในใฏใใใใในใณใใ LiplisใฎiOS็ใงใใไปฎๆณใในใฏใใใไธใงใญใฃใฉใฏใฟใผใใใใในใใใพใใ
# ใฉใคใปใณใน
MITใฉใคใปใณใน
| LipliStyle/Liplis-iOS | README.md | Markdown | mit | 188 |
package insanityradio.insanityradio;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class PlayPauseReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
try {
FragmentNowPlayin... | dylanmaryk/InsanityRadio-Android | app/src/main/java/insanityradio/insanityradio/PlayPauseReceiver.java | Java | mit | 663 |
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
# SECURITY WARNING: keep t... | seccom-ufsc/hertz | hertz/settings.py | Python | mit | 3,237 |
๏ปฟ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("Ro... | phristov/CSharp.DesignPatterns | Builder - Robot/Properties/AssemblyInfo.cs | C# | mit | 1,402 |
<?php
/* FOSUserBundle:Resetting:request_content.html.twig */
class __TwigTemplate_16fccc8b4081822ba4c49543c44f48b24850d6b4ad9846152c39968be5b4e7c7 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blo... | thecoons/thecoontube | app/cache/dev/twig/16/fc/cc8b4081822ba4c49543c44f48b24850d6b4ad9846152c39968be5b4e7c7.php | PHP | mit | 2,146 |
export default (callback) => {
setTimeout(() => {
callback();
setTimeout(() => {
callback();
}, 3000);
}, 3000);
} | csxiaoyaojianxian/JavaScriptStudy | 13-่ชๅจๅๆต่ฏ&mockๆฐๆฎ/01-jestๅ
ฅ้จ/09-mock-timer.js | JavaScript | mit | 158 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>ใขใซใดใชใบใ ่จ็ฎ้ๅ
ฅ้ใใใโก - ใคใใใผใทใงใณใใจใณใธใใขใใญใฐ</title>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="apple-mobile-web-app-capable" c... | innovation-jp/innovation-jp.github.io | 2018/06/25/Introduction-of-Computational-Complexity-2.html | HTML | mit | 37,551 |
### Tree `flatten`
Write a procedure called `tree->list` that completely flattens a tree to a list
Example usage:
```racket
(tree->list '[1 2 [3 [4]] [5]])
;;=> '[1 2 3 4 5]
```
| expede/teaching-fp | lesson-plan/week-04/exercises.md | Markdown | mit | 179 |
.float-btn-wrapper {
width: 75;
height: 75;
}
.float-btn-shadow {
width: 56;
height: 56;
}
.float-btn {
background-color: #FF69B4;
border-radius: 28;
width: 56;
height: 56;
text-align: center;
vertical-align: middle;
}
.float-btn.down{
animation-name: down;
animatio... | shalomscott/urgent | app/shared/fab/fab.component.css | CSS | mit | 572 |
import re
import warnings
import ctds
from .base import TestExternalDatabase
from .compat import PY3, PY36, unicode_
class TestTdsParameter(TestExternalDatabase):
def test___doc__(self):
self.assertEqual(
ctds.Parameter.__doc__,
'''\
Parameter(value, output=False)
Explicitly de... | zillow/ctds | tests/test_tds_parameter.py | Python | mit | 7,779 |
๏ปฟusing System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace HolisticWare.Ph4ct3x.Server.Pages.Ph4ct3x.Communication
{
public class InstantMessagingChatModel : PageModel
{
public vo... | moljac/Ph4ct3x | samples/Clients/HolisticWare.Ph4ct3x.Server.ASPnet.UI.RazorPages.shared/Pages/Ph4ct3x/Communication/InstantMessagingChat.cshtml.cs | C# | mit | 361 |
/*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | koobonil/Boss2D | Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/audio_coding/neteq/tools/packet.h | C | mit | 4,769 |
<!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"/>
<title>Cross-correlations:... | iprafols/cross_correlations | documentation/html/class_global_variables.html | HTML | mit | 44,550 |
#include "Renderer.h"
#include "Core/Windows/Window.h"
#include <Resources/ResourceCache.h>
namespace uut
{
UUT_MODULE_IMPLEMENT(Renderer)
{}
Renderer::Renderer()
: _screenSize(0)
{
}
Renderer::~Renderer()
{
}
//////////////////////////////////////////////////////////////////////////////
bool Renderer::... | kolyden/uut-engine | UUT/Video/Renderer.cpp | C++ | mit | 896 |
package jnt.scimark2;
public class kernel
{
// each measurement returns approx Mflops
public static double measureFFT(int N, double mintime, Random R)
{
// initialize FFT data as complex (N real/img pairs)
double x[] = RandomVector(2*N, R);
double oldx[] = NewVectorCopy(x);
long cycles = 1;
... | BU-PCM-Testbed/ThermalProfiler | app/src/main/java/jnt/scimark2/kernel.java | Java | mit | 7,529 |
'use strict'
const reduce = Function.bind.call(Function.call, Array.prototype.reduce);
const isEnumerable = Function.bind.call(Function.call, Object.prototype.propertyIsEnumerable);
const concat = Function.bind.call(Function.call, Array.prototype.concat);
const keys = Reflect.ownKeys;
if (!Object.values) {
Object.v... | vitaliiznak/game-fluky_colors | polifill.js | JavaScript | mit | 1,634 |
class Admin::DashboardController < AdminAreaController
def index
#You are entering an area where no project is concerned, so forget about your current project
session[:project] = nil
end
end
| atoulme/collaboa-clone | app/controllers/admin/dashboard_controller.rb | Ruby | mit | 207 |
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::DevTestLabs::Mgmt::V2018_09_15
module Models
#
# Defines values for SourceControlType
#
module SourceControlType
VsoGi... | Azure/azure-sdk-for-ruby | management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/source_control_type.rb | Ruby | mit | 375 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>retro-205 Cardatron Control Unit</title>
<!--
/***********************************************************************
* retro-205/webUI D205CardatronControl.html
****************************************************... | pkimpel/retro-205 | webUI/D205CardatronControl.html | HTML | mit | 1,514 |
# infinite zoom plugin
"infinite zoom" is an jQuery-Plugin that creates a nice foto/image show as background on DOM-containers.
## Features
* applicable to any DOM-container
* adjustable zoom properties
* asynchronous image loading (just loads what's needed)
* rendering with the high-performance CSS3-transitions
##... | jtkDvlp/jQuery.infiniteZoom | README.md | Markdown | mit | 759 |
<?php
use History\Entities\Models\Company;
use History\Entities\Models\Question;
use History\Entities\Models\Request;
use History\Entities\Models\Threads\Comment;
use History\Entities\Models\Threads\Thread;
use History\Entities\Models\User;
use History\Entities\Models\Vote;
use League\FactoryMuffin\FactoryMuffin;
use ... | madewithlove/why-cant-we-have-nice-things | resources/factories/factories.php | PHP | mit | 3,327 |
import {Routes} from '@angular/router';
import {JournalComponent} from '../journal/journal.component';
export const LUOO_APP_ROUTERS: Routes = [
{path: 'journal', component: JournalComponent}
]
| Tneciv/Poseidon | frontend/src/app/common/routers.ts | TypeScript | mit | 197 |
<template name="testWelcome">
<h2 class="center-align">Welcome Page</h2>
<div class="col-sm-6 col-md-offset-4 welcome-introduction">
<p>Welcome to Fram^ Online Testing</p>
<p>You have {{testingDuration}} minutes to complete your testting</p>
<p>Notice 1</p>
<p>Notice 2</p>
<p>Notice 3</p>
... | danielbk08/hrtool | client/onlineTests/welcome/welcome.html | HTML | mit | 605 |
// This file is part of SWGANH which is released under the MIT license.
// See file LICENSE or go to http://swganh.com/LICENSE
#include "swganh_core/gamesystems/gamesystems_service_binding.h"
BOOST_PYTHON_MODULE(py_gamesystems)
{
docstring_options local_docstring_options(true, true, false);
exportGameSystems... | anhstudios/swganh | src/swganh_core/GameSystems/GameSystems_service_binding.cc | C++ | mit | 332 |
var htmlparser = require('htmlparser2');
var _ = require('lodash');
var ent = require('ent');
module.exports = sanitizeHtml;
function sanitizeHtml(html, options) {
var result = '';
if (!options) {
options = sanitizeHtml.defaults;
} else {
_.defaults(options, sanitizeHtml.defaults);
}
// Tags that co... | effello/cms | node_modules/apostrophe/node_modules/sanitize-html/index.js | JavaScript | mit | 4,431 |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ExtendComponent } from './src/components/extend.component';
import { SubExtendComponent } from './src/components/sub-extend.component';
const extendRoutes: Routes = [
{
path: '',
component: ExtendCompo... | seveves/ng2-lib-test | @lib-test/extend/extend.routes.ts | TypeScript | mit | 595 |
๏ปฟnamespace UrlBuilderTests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Se.Url;
[TestClass]
public class QueryParamTest
{
[TestMethod]
public void DefaultQueryParam()
{
var url = new UrlBuilde... | shoutem/UrlBuilder | UrlBuilderTests/QueryParamTest.cs | C# | mit | 5,607 |
(function(){
'use strict'
angular
.module("jobDetail")
.service("jobDetailService",jobDetailService);
jobDetailService.$inject = ['apiService','apiOptions'];
function jobDetailService(apiService,apiOptions)
{
var jobId;
this.getJobDetail=function(jobId)
{
// return "ok";
return apiService.get("j... | dozgunyal/ang-oboy | app/job-detail/job-detail.service.js | JavaScript | mit | 351 |
/**
* Copyright MaDgIK Group 2010 - 2015.
*/
package madgik.exareme.worker.art.container.job;
import madgik.exareme.worker.art.container.ContainerJob;
import madgik.exareme.worker.art.container.ContainerJobType;
import madgik.exareme.worker.art.executionEngine.session.PlanSessionReportID;
/**
* @author heraldkllap... | madgik/exareme | Exareme-Docker/src/exareme/exareme-worker/src/main/java/madgik/exareme/worker/art/container/job/TableTransferJob.java | Java | mit | 667 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SwansonCoin</source>
<translation>Sobre o SwansonCoin</translatio... | swansoncoin/swansoncoin | src/qt/locale/bitcoin_pt_BR.ts | TypeScript | mit | 118,810 |
/*
* optimization needed.
*/
struct ListNode {
int val;
struct ListNode *next;
};
#ifndef NULL
#define NULL ((struct ListNode *)0)
#endif
struct ListNode *detectCycle(struct ListNode *head)
{
if (!head || !head->next)
return(NULL);
if (head->next == head)
return(head);
struct ListNode *p1, *p2;
int has... | wuzhouhui/leetcode | 142_linked_list_cycle_II.c | C | mit | 866 |
# Makefile for project pi-admin
MODULES = sn-core sn-props sn-approute connect
CLEAN_THESE_FILES = css/bootstrap.css css/bootstrap.min.css css/bootstrap-theme.css css/bootstrap-theme.min.css \
js/bootstrap.js js/bootstrap.min.js js/jquery.js js/underscore-min.js js/backbone-min.js js/handlebars.js \
js/sn-core.js ... | smithee-us/pi-admin | Makefile | Makefile | mit | 1,941 |
html, body, .container, .header {
height: 100%;
}
/* Header */
.header {
position: relative;
margin: 0 auto;
min-height: 560px;
width: 100%;
}
.bg-img {
position: absolute;
overflow: hidden;
top: 0;
left: 0;
right: 0;
bottom: 0;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.bg-... | Shekharrajak/shekharrajak.github.io | assets/css/component.css | CSS | mit | 26,902 |
package com.twitter.meil_mitu.twitter4holo.api.help;
import com.twitter.meil_mitu.twitter4holo.AbsGet;
import com.twitter.meil_mitu.twitter4holo.AbsOauth;
import com.twitter.meil_mitu.twitter4holo.ITwitterJsonConverter;
import com.twitter.meil_mitu.twitter4holo.OauthType;
import com.twitter.meil_mitu.twitter4holo.Resp... | MeilCli/Twitter4Holo | library/src/main/java/com/twitter/meil_mitu/twitter4holo/api/help/Tos.java | Java | mit | 1,064 |
module Cranium::ImportStrategy
autoload :Base, 'cranium/import_strategy/base'
autoload :DeleteInsert, 'cranium/import_strategy/delete_insert'
autoload :Delete, 'cranium/import_strategy/delete'
autoload :TruncateInsert, 'cranium/import_strategy/truncate_insert'
autoload :Delta, 'cranium/import_strategy/delta'... | emartech/cranium | lib/cranium/import_strategy.rb | Ruby | mit | 376 |
<!--<section data-ng-controller="NewsFeedsController" data-ng-init="findOne()">-->
<section data-ng-controller="NewsFeedsController" data-ng-init="findOne()">
<section class="container">
<div class="page-header">
<h1>Edit News feed</h1>
</div>
<div class="col-md-12">
<form class="form-horizo... | CEN3031-7C/project | modules/news-feeds/client/views/edit-news-feed.client.view_old.html | HTML | mit | 3,248 |
using PlayFab.SharedModels;
using PlayFab.Internal;
namespace PlayFab.Events
{
public partial class PlayFabEvents
{
public delegate void PlayFabErrorEvent(PlayFabRequestCommon request, PlayFabError error);
public delegate void PlayFabResultEvent<in TResult>(TResult result) where TResult : PlayF... | PlayFab/PlayFab-Samples | Recipes/GoogleSignInSample/Assets/PlayFabSdk/Shared/Public/PlayFabEvents.cs | C# | mit | 371,673 |
var STATE_START = 0;
var STATE_END = 1;
var STATE_GROUND = 2;
var STATE_FOREST = 3;
var STATE_WATER = 4;
function Cell(col, row) {
this.col = col;
this.row = row;
this.state = STATE_GROUND;
}
Cell.prototype.draw = function() {
stroke(66);
switch (this.state) {
case STATE_START:
Color.Material.light_green[5... | dylandevalia/dylan.devalia.com | old/pathfinding/cell.js | JavaScript | mit | 996 |
๏ปฟ//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | MBulli/FHWS-ELearning-Crawler | ELearningCrawler/Properties/Resources.Designer.cs | C# | mit | 2,797 |
'use strict';
/* Services */
// Demonstrate how to register services
// In this case it is a simple value service.
angular.module('baApp.services', []).
value('version', '0.1');
| alnutile/drag-and-drop-page | app/js/services.js | JavaScript | mit | 183 |
var fs = require('fs');
var join = require('path').join;
var iconv = require('iconv-lite');
var debug = require('debug')('ip');
var util = require('util');
var EventEmitter = require('events').EventEmitter;
var thunkify = require('thunkify-wrap');
function IpUtil(ipFile, encoding, isLoad) {
if (typeof encoding === '... | leoner/iputil | index.js | JavaScript | mit | 7,755 |
๏ปฟ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: AssemblyTi... | TelerikAcademy-Cloning/Databases | Topics/21. Service-layer/demos/Superheroes/Superheroes.Services.Tests/Properties/AssemblyInfo.cs | C# | mit | 1,464 |
<HTML><HEAD>
<TITLE>Review for Vertical Limit (2000)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0190865">Vertical Limit (2000)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Dennis+Sc... | xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/27363.html | HTML | mit | 8,298 |
๏ปฟusing System;
using CommandLine;
using System.IO;
using Nancy.Hosting.Self;
using SeudoBuild.Core;
using SeudoBuild.Core.FileSystems;
using SeudoBuild.Pipeline;
using SeudoBuild.Net;
namespace SeudoBuild.Agent
{
class Program
{
private const string Header = @"
_ _ _ _ _
... | mstevenson/SeudoBuild | SeudoBuild.Agent/Program.cs | C# | mit | 10,540 |
<section ng-controller="DashboardController" ng-init="createdCourseList()">
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<div class="chat-room-head">
<h3> Professor Dashboard</h3>
</div>
<!-- <div class=... | GetItXL/iClass | modules/users/client/views/dashboard/professor-dashboard.client.view.html | HTML | mit | 4,811 |
# Elevator of the Americas
Welcome! This is a small project that describes an elevator in code - including dispatching and interacting with the elevator.
Desired requirements:
* The elevator bank must have at least 3 elevators
* The elevator bank must have a way to have elevators dispatched to certain floors
*... | phillbaker/eoa-qa | README.md | Markdown | mit | 1,372 |
import { task } from 'gulp';
import { join } from 'path';
import { config } from '../utils/config';
import { sequenceTask } from '../utils/sequence-task';
import { readFileSync, writeFileSync } from 'fs';
const serve = require('browser-sync');
const webpack = require('webpack');
const webpackDevMiddelware = require(... | zxhfighter/measure | tools/gulp/tasks/serve.ts | TypeScript | mit | 2,930 |
.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }
.done-true {
text-decoration: line-through;
color: #ddd;
}
.form-control[disabled], .form-control[readonly], .fieldset[disabled], .form-control {
cursor: pointer;
background-color: white;
} | RichardHill/swingTrader | app/assets/css/main.css | CSS | mit | 272 |
// TODO: write a test that ensures that Quagga.decodeSingle returns a Promise when it should
// TODO: write a test that tests the multiple: true decoding option, allowing for multiple barcodes in
// a single image to be returned.
// TODO: write a test that allows for locate: false and locator configs to be tested.
imp... | ericblade/quaggaJS | test/integration/integration.spec.ts | TypeScript | mit | 21,244 |
import copy
import pytest
from peek.line import InvalidIpAddressException, Line, InvalidStatusException
# 127.0.0.1 - - [01/Jan/1970:00:00:01 +0000] "GET / HTTP/1.1" 200 193 "-" "Python"
test_line_contents = {
'ip_address': '127.0.0.1',
'timestamp': '[01/Jan/1970:00:00:01 +0000]',
'verb': 'GET',
... | purrcat259/peek | tests/unit/test_line.py | Python | mit | 1,585 |
/*
Noble cread UART service example
This example uses Sandeep Mistry's noble library for node.js to
read and write from Bluetooth LE characteristics. It looks for a UART
characteristic based on a proprietary UART service by Nordic Semiconductor.
You can see this service implemented in Adafruit's BLEFriend library.
... | evejweinberg/SuperHeroAutoPilot | ble-uart.js | JavaScript | mit | 4,710 |
var db = require('mongoose');
var Log = require('log'), log = new Log('info');
var clienttracking = require('./clienttracking.js');
var mapreduce = require('./mapreduce.js');
var io = null;
exports.server = require('./adnoceserver.js');
exports.setDatabase = function(databaseConfiguration, callback) {
var port = ... | hkonitzer/adnoce | lib/adnoce.js | JavaScript | mit | 2,627 |
class QuestionGroupTracker
attr_reader :questions, :question_group_id, :question_group
def initialize(question_group_id)
@questions = Question.where('question_group_id=?', question_group_id)
@counter = 0
@question_group_id = question_group_id
@question_group = QuestionGroup.find(question_group_id... | weedySeaDragon/surveyor_gui | app/models/question_group_tracker.rb | Ruby | mit | 588 |
import logging
import requests
from django.conf import settings
from django.contrib.sites.models import Site
from django.core.mail import EmailMultiAlternatives
from django.template.loader import get_template
from django.utils import timezone
from invitations.models import Invitation
logger = logging.getLogger('email... | phildini/logtacts | invitations/consumers.py | Python | mit | 1,739 |
/* **********************************************************************************************************
* The MIT License (MIT) *
* *
* Copyright (c) 2016 Hypermediasystems Ges. f. Software mbH *
* Web: http://www.hypermediasystems.de *
... | helmuttheis/hmsspx | hmssp/SP.gen/ServerSettings.cs | C# | mit | 4,781 |
module BlocVoting.Tally.Resolution where
import qualified Data.ByteString as BS
data Resolution = Resolution {
rCategories :: Int
, rEndTimestamp :: Int
, rName :: BS.ByteString
, rUrl :: BS.ByteString
, rVotesFor :: Integer
, rVotesTotal :: Integer
, rResolved :: Bool
}
deriving (Show, Eq)
update... | XertroV/blocvoting | src/BlocVoting/Tally/Resolution.hs | Haskell | mit | 565 |
# Erase duplicate entries from history
export HISTCONTROL="erasedups"
# Increase history size
export HISTSIZE="10000" | ridobe/dotfiles | bash/environment.sh | Shell | mit | 118 |
<!DOCTYPE html>
<html lang="en">
<head>
{{ bokeh_css }}
{{ bokeh_js }}
<style>
{% include 'styles.css' %}
</style>
<meta charset="utf-8">
<title>MolExplorer</title>
</head>
<body>
<div>
<h1>Vizard</h1>
{{ plot_div|indent(8) }}
... | MarcusOlivecrona/REINVENT | Vizard/templates/index.html | HTML | mit | 387 |
๏ปฟ//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using parser;
//
//namespace runic.lexer
//{
// public class Lexer_Bootstrap_Old : Parser_Context
// {
// public Lexer_Bootstrap_Old(Definition definition)
// : base(definition)
// ... | silentorb/runic | Runic/lexer/Lexer_Bootstrap_Old.cs | C# | mit | 1,047 |
# Instruction Counter
Counting number of instructions by `ptrace` system call
**This repository is for experimental use, so it may contain some dangerous code.
Use this repository at your own risk.**
## Requirement
The code is written assuming only when using GCC on Linux.
Probably it can not be compiled by compile... | ToshinoriTsuboi/dma-virtual-memory | instruction_counter/Readme.md | Markdown | mit | 1,399 |
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
'karma-jasmine',
'karma-chrome-l... | erento/angular-lazy-responsive-images | projects/angular-lazy-responsive-images/karma.conf.js | JavaScript | mit | 688 |
๏ปฟusing System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using StockExchangeYahooFinance.DbContext;
namespace StockExchangeYahooFinance.Migrations
{
[DbContext(typeof(YahooFi... | error505/YahooFinanceApi | StockExchangeYahooFinance/Migrations/20170419132834_updateExAddCountry.Designer.cs | C# | mit | 12,032 |
---
layout: post
title: swyambhu before the quake nepal swyambhu
date: '2015-07-25T18:15:01+02:00'
tags:
- Instagram
- PhotoOfTheDay
tumblr_url: http://deepredsky.tumblr.com/post/124997225759/swyambhu-before-the-quake-nepal-swyambhu
---
<img src="/tumblr_files/tumblr_ns1mq1tesy1s8ugabo1_1280.jpg"/><br/><p>swyambhu befo... | deepredsky/deepredsky.github.io | _posts/tumblr/2015-07-25-swyambhu-before-the-quake-nepal-swyambhu.html | HTML | mit | 383 |
#import "MOBProjection.h"
@interface MOBProjectionEPSG6331 : MOBProjection
@end
| jkdubr/Proj4 | Pod/Classes/Projection/MOBProjectionEPSG6331.h | C | mit | 82 |
'use strict';
const util = require('util');
const colors = require('colors/safe');
Object.entries({
info: colors.blue,
warn: colors.yellow,
error: colors.red
}).map(([method, color]) => {
const _ = global.console[method];
global.console[method] = (...args) => {
if (args.length) {
... | cravler/whaler | lib/console.js | JavaScript | mit | 509 |
<!DOCTYPE html>
<html lang="english">
<head>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="../theme/stylesheet/style.min.css">
<link rel="stylesheet" type="text/css" href="../theme/pygments/g... | bassdeveloper/bassdeveloper.github.io | drafts/ibm-bluemix.html | HTML | mit | 8,135 |
require.ensure([], function(require) {
require("./73.async.js");
require("./147.async.js");
require("./294.async.js");
require("./588.async.js");
});
module.exports = 589; | skeiter9/javascript-para-todo_demo | webapp/node_modules/webpack/benchmark/fixtures/589.async.js | JavaScript | mit | 171 |
<html>
<head>
<meta charset="utf-8">
<title>Resources - git init</title>
<link
href='https://fonts.googleapis.com/css?family=Open+Sans'
rel='stylesheet'
type='text/css'
>
<link rel="stylesheet" href="octicons/octicons.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="head... | pel-daniel/git-init | resources.html | HTML | mit | 2,486 |
<rtl code>
var m = function (){
function T(){
this.a = [];
}
var r = new T();
var a = RTL$.makeArray(3, 0);
var dynamicInt = [];
var dynamicString = [];
var dynamicChar = [];
var dynamicByte = [];
var dynamicRecord = [];
var dynamicArrayOfStaticArrayInt = [];
var i = 0;
var s = '';
var byte = 0;
function assignDynami... | vladfolts/oberonjs | test/expected/eberon/dynamic_array.js | JavaScript | mit | 2,536 |
# npmup [![NPM version][npm-image]][npm-url]
> Cli tool to overview dependencies in package.json
This is scope reduction result of my `update-my-deps` project. At the end I found out, that I wrote small part of [`david`](https://github.com/alanshaw/david) functionality. Oops.
![2014-03-11 18-35-40 1 npmupexample zsh]... | floatdrop/npmup | README.md | Markdown | mit | 890 |
var expect = require('chai').expect;
var assert = require('chai').assert;
var sinon = require('sinon');
var Config = require('../lib/config');
describe('config', function() {
describe('#constructor', function() {
it('creates a new object with the config defaults', function() {
sinon.spy(Config.prototyp... | philipwalton/ingen | test/config-test.js | JavaScript | mit | 1,739 |
def burrows_wheeler(text):
"""Calculates the burrows wheeler transform of <text>.
returns the burrows wheeler string and the suffix array indices
The text is assumed to not contain the character $"""
text += "$"
all_permutations = []
for i in range(len(text)):
all_permutations.append(... | alneberg/sillymap | sillymap/burrows_wheeler.py | Python | mit | 567 |
๏ปฟlocal M = {}
function M:init()
print("test contract transfer caller")
local contract_transfer_demo = import_contract 'contract_transfer_demo'
local res = contract_transfer_demo:start()
pprint("transfer demo start response is ", res)
end
function M:start()
end
return M
| Achain-Dev/Achain | src/Chain/libraries/glua/tests_lua/test_contract_transfer.lua | Lua | mit | 286 |
๏ปฟusing System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.Deployment.Common.ActionModel;
using Microsoft.Deploym... | mayankon24/d-final | Source/Actions/Microsoft.Deployment.Actions.AzureCustom/HCL/CreateAzureMLWorkspace.cs | C# | mit | 4,495 |
package com.example.dao;
import com.example.model.Publisher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface PublisherMapper {
@Select("SELECT *, PHONE as phoneNumber from PUBLISHERS") //SQL
List<Publisher> findAll();
// ... | doubleirish/mybatis-spring-boot | src/main/java/com/example/dao/PublisherMapper.java | Java | mit | 683 |
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?>>
<div class="entry-content content-medicina-prepagada">
<header class="menu-med-prep text-center">
<ul class="list-inline">
<?php $loop = new WP_Query( array( 'post_type' => 'aps', 'order' => 'ASC', 'category_name'=> 'link'));?>... | nedilio/rescarven-wp-theme | templates/content-single-aps.php | PHP | mit | 4,240 |
<!DOCTYPE html>
<html lang="en-us">
{% include head.html %}
<body class="theme-base-08 layout-reverse sidebar-overlay">
<!-- Enable Google Analytics -->
{% include googleanalytics.html %}
{% include sidebar.html %}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
... | mjh-test1/mjh-test1.github.io | _layouts/default.html | HTML | mit | 1,397 |
package wikimediaparser
import (
"fmt"
"github.com/golang/glog"
"strings"
)
// Node as it is emitted by the parser
// - contains a NodeType for clear identification
// - a string val Val
// - a list of named parameters which are actually Node Lists
// -a list of anonymous parameters, a Node list aga... | octplane/wikiquote-parser | node.go | GO | mit | 2,562 |
#
# Module manifest for module 'SqlCmdTools'
#
#
@{
# Script module or binary module file associated with this manifest.
RootModule = 'SqlCmdTools.psm1'
# Version number of this module.
ModuleVersion = '0.0.0.1'
# ID used to uniquely identify this module
GUID = '97222863-d093-489a-8b09-e37f5607df83'
# Author of th... | melvinlee/SQLCmdTools | SqlCmdTools.psd1 | PowerShell | mit | 2,544 |
# domBareMetal
Xen 4.6. bare metal domain for Odroid XU-3
Tested on Odroid XU3, for toggling GPA2.4 GPIO. Toggling is done directly by changing the register in memory.
On this link you can find XU3 expansion header: http://odroid.com/dokuwiki/doku.php?id=en:xu3_hardware_gpio
Xen devel thread on enabling emergency ... | dumpram/domBareMetal | README.md | Markdown | mit | 433 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.