repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
stackjie/vue-pull-to
build/index.js
99
'use strict'; var path = require('path'); module.exports = path.join.bind(path, __dirname, '..');
mit
megoth/ifi-ordenen
contents/association/svett/index.md
813
--- title: Svett tag: svett active: false url: https://www.facebook.com/svettifi/ template: association.pug --- Navnet Svett spiller på den populært utbredte stereotypen av informatikere. Mange ser på informatikere som svette «nerder». Vi velger å spille videre på dette med et glimt i øyet. **Formål:** Foreningens fo...
mit
OpenLawsGR/OpenLawsGR.github.io
publications/2016/10/19/master-thesis-presentation/index.html
7403
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Master thesis presentation &#8211; OpenLaws</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Presentation of Master thesis @...
mit
RunOpenCode/assets-injection
test/Mockup/DummyCompilerPass.php
1708
<?php /* * This file is part of the Asset Injection package, an RunOpenCode project. * * (c) 2015 RunOpenCode * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace RunOpenCode\AssetsInjection\Tests\Mockup; use RunOpenCode\Asse...
mit
CompilerTeaching/CompilerTeaching.github.io
pegmatite/index.markdown
2771
--- layout: default title: Pegmatite github: CompilerTeaching/Pegmatite --- Pegmatite design overview ------------------------- This is a fork and extensive rewrite of Achilleas Margaritis's ParserLib. It has the following goals: - Idiomatic C++11 - Simple use - Reuseable, reentrant grammars with multiple action de...
mit
arpitbbhayani/penny
app/static/js/index.js
13851
var markdown = window.markdownit(); $(document).ready(function() { var $wish = $('#wish'); var todoNotificationArea = $('#todos .notification-area'); var todoNotificationIcon = $('#todos .notification-area > i'); var todoNotificationText = $('#todos .notification-area > span'); $('#news-stream ...
mit
classmethod/TAWS-iOS
Example/TAWS/AWSAppDelegate.h
270
// // AWSAppDelegate.h // TAWS // // Created by CocoaPods on 05/27/2015. // Copyright (c) 2014 suwa.yuki. All rights reserved. // @import UIKit; @interface AWSAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/extra-dev/8.10.dev/metacoq-erasure/1.0~alpha+8.8.html
7992
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-erasure: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
mit
beetbox/beets
beets/dbcore/query.py
29107
# This file is part of beets. # Copyright 2016, Adrian Sampson. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, ...
mit
danielkummer/nixon-pi
lib/nixonpi/animations/tube/count_up_all_animation.rb
704
require_relative '../animation' module NixonPi module Animations class CountFromToAnimation < Animation register :count_from_to, self accepted_commands :start_value, :single_digit? # TODO: unfinished and untested def initialize(options = {}) super(options) @options[:singl...
mit
srijannnd/Login-and-Register-App-in-Django
Dockerfile
179
FROM python:3 ADD ./simplesocial /simplesocial WORKDIR /simplesocial RUN pip install -r requirements.txt EXPOSE 8000 CMD [ "python", "manage.py", "runserver", "0.0.0.0:8000"]
mit
ferhatelmas/ferhatelmas.github.com
hack/yakindanegitim/_posts/2013-05-13-class-based-views.markdown
4908
--- layout: post title: "Class Based Views" date: 2013-05-13 07:04 tags: [python, django, yakindanegitim] icons: [python] --- Web development is a bit repetitive and web frameworks try to reduce this burden. One of the best features of Django for making object manipulation easier is class based views(CBV). We are usua...
mit
anibali/sconce
test/test_swapout.lua
907
local Swapout = require('sconce.Swapout') return function(tester) local suite = torch.TestSuite() function suite.test_swapout_always_add() local swapout = Swapout.new(1.0) local actual = swapout:forward({torch.Tensor{1, 2}, torch.Tensor{3, 2}}) local expected = torch.Tensor{4, 4} tester:eq(actual,...
mit
cristirosu/rpg-scheduler-front
src/app/shared/services/app.settings.js
1301
"use strict"; var http_1 = require("@angular/http"); var AppSettings = (function () { function AppSettings() { } Object.defineProperty(AppSettings, "API_OPTIONS", { get: function () { var headers = new http_1.Headers({ 'Content-Type': 'application/json' }), options = new http_1.RequestOp...
mit
bourbest/keeptrack
client/tasks/tool-initdb.js
868
const fs = require('fs') const path = require('path') const {generateBabelEnvLoader, getConfig} = require('./common') const buildCache = {} module.exports = (params) => { const baseConfig = getConfig(params) const config = Object.assign({}, baseConfig) config.outputPath = path.join(__dirname, '../dist-' + confi...
mit
thomasduft/microwf
src/microwf.AspNetCoreEngine/Services/JobQueueControllerService.cs
2595
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using tomware.Microwf.Domain; using tomware.Microwf.Infrastructure; namespace tomware.Microwf.Engine { public interface IJobQueueControllerService { Task<IEnumerable<WorkItemViewModel>> GetSnapshotAsync(); Task<PaginatedLis...
mit
maurer/tiamat
samples/Juliet/testcases/CWE78_OS_Command_Injection/s05/CWE78_OS_Command_Injection__wchar_t_connect_socket_w32spawnl_18.c
5742
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_w32spawnl_18.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-18.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: connect_socket Read data u...
mit
pivotal/pivotal-styles-sass
lib/pivotal/sass.rb
114
require "pivotal/sass/version" module Pivotal module Sass class Engine < ::Rails::Engine end end end
mit
Ranthalion/LevelUp
database/migrations/2014_10_12_000000_create_users_table.php
787
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table...
mit
epikcraw/ggool
public/Windows 10 x64 (19041.208) 2004/_HEAP_DESCRIPTOR_KEY.html
328
<html><body> <h4>Windows 10 x64 (19041.208) 2004</h4><br> <h2>_HEAP_DESCRIPTOR_KEY</h2> <font face="arial"> +0x000 Key : Uint4B<br> +0x000 EncodedCommittedPageCount : Pos 0, 16 Bits<br> +0x000 LargePageCost : Pos 16, 8 Bits<br> +0x000 UnitCount : Pos 24, 8 Bits<br> </font></body...
mit
richardfullmer/RDFJobDefinitionFormatBundle
Type/CMYKColor.php
1730
<?php /* * */ namespace RDF\JobDefinitionFormatBundle\Type; /** * * * @author Richard Fullmer <richardfullmer@gmail.com> */ class CMYKColor { /** * @var float */ protected $cyan; /** * @var float */ protected $magenta; /** * @var float */ protected $yell...
mit
idmahardika/SEO_commerce
pasang.php
634
<html> <head> <title> Install SEO Commerce</title> <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> <style> #container { margin:auto; } label, input { display: block; } </style> </head> <body> <div class="container"> <form action="pasang_p.php" method="POST"> <label> Nama Situs </label> <input t...
mit
Phonemetra/TurboCoin
doc/release-notes/release-notes-0.9.0.md
14787
Turbocoin Core version 0.9.0 is now available from: https://turbocoin.us/bin/0.9.0/ This is a new major version release, bringing both new features and bug fixes. Please report bugs using the issue tracker at github: https://github.com/turbocoin/turbocoin/issues How to Upgrade -------------- If you are runnin...
mit
nurlansu/hugo-sustain
layouts/_default/projects.html
560
{{ define "main" }} <!-- Header --> {{ partial "header" . }} <div class="container"> <section id="projects"> <h4 class="my-5">{{ .Site.Data.projects.name }}</h4> <div class="panel"> <div class="panel-body"> {{ range $el := .Site.Data.projects.source }} <h5> ...
mit
passanpm/DebtSnowBall
DebtSnowBall2017/DebtSnowBall2017/LoanList.cs
2759
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DebtSnowBall2017 { class LoanList { private List<Loan> loanList; public LoanList() { this.loanList = new List<Loan>(); ...
mit
gitready/ru
submit.html
341
--- layout: default title: Отправить совет! --- <div class="grid_8 alpha omega white"> <h2>Отправить совет!</h2> <iframe src="http://spreadsheets.google.com/embeddedform?key=pNxLaOX4yIJnLpmHYEDxXXQ" width="590" height="616" frameborder="0" marginheight="0" marginwidth="0">Загрузка...</iframe> </div>
mit
sanxia/ging
render/error.go
601
package render import ( "github.com/gin-gonic/gin" ) /* ================================================================================ * Render 工具模块 * qq group: 582452342 * email : 2091938785@qq.com * author : 美丽的地球啊 - mliu * ================================================================================ ...
mit
stormHan/gpu_rvd
Gpu_Rvd/header/thid_party/glut_viewer/glut_viewer_gui.cpp
25552
/* * _____ _ _ _ _____ _ _ _ _____ _ __ _____ _____ * / ___| | | | | | | |_ _| | | / / | | | ____| | | / / | ____| | _ \ * | | | | | | | | | | | | / / | | | |__ | | __ / / | |__ | |_| | * | | _ | | | | |...
mit
AlmazKo/Brill
Brill/Modules/AutoSubmitter/Actions/aSitesUsers.php
4519
<?php /** * Description of aSites * * @author almaz */ class aSitesUsers extends Action { protected $defaultAct = 'List'; protected function configure() { require_once $this->module->pathModels . 'as_Sites.php'; require_once $this->module->pathModels . 'as_SitesUsers.php'; $authModu...
mit
PA165-MushroomHunter/MushroomHunter
service/src/main/java/cz/muni/fi/pa165/mushrooms/service/exceptions/EntityOperationServiceException.java
563
package cz.muni.fi.pa165.mushrooms.service.exceptions; /** * @author bkompis */ public class EntityOperationServiceException extends MushroomHunterServiceDataAccessException { public <T> EntityOperationServiceException(String what, String operation, T entity, Throwable e) { super("Could not " + operatio...
mit
foobarbazblarg/stayclean
stayclean-2018-march/serve-signups-with-flask.py
8581
#!/usr/bin/env python import subprocess import praw from hashlib import sha1 from flask import Flask from flask import Response from flask import request from cStringIO import StringIO from base64 import b64encode from base64 import b64decode from ConfigParser import ConfigParser import OAuth2Util import os import mar...
mit
alexyer/cxema
benches/sha256_bench.rs
818
#![cfg_attr(all(feature = "nightly", test), feature(test))] #![cfg(all(feature = "nightly", test))] extern crate test; extern crate cxema; #[cfg(test)] use cxema::sha2::{Sha256}; use cxema::digest::Digest; use test::Bencher; #[bench] pub fn sha256_10(bh: &mut Bencher) { let mut sh = Sha256::new(); let bytes...
mit
Research-Institute/json-api-dotnet-core
src/JsonApiDotNetCore/Serialization/Building/IResourceObjectBuilder.cs
1337
using System.Collections.Generic; using JsonApiDotNetCore.Resources; using JsonApiDotNetCore.Resources.Annotations; using JsonApiDotNetCore.Serialization.Objects; namespace JsonApiDotNetCore.Serialization.Building { /// <summary> /// Responsible for converting resources into <see cref="ResourceObject" />s give...
mit
kantel/processingpy
docs/mandelbrot.md
3571
# Wir backen uns ein Mandelbrötchen ![Screenshot](images/mandelbrotmenge.jpg) Die [Mandelbrot-Menge](https://de.wikipedia.org/wiki/Mandelbrot-Menge) ist die zentrale Ikone der Chaos-Theorie und das Urbild aller Fraktale. Sie ist die Menge aller komplexen Zahlen *c*, für welche die durch $$ \begin{align} z_{0} & = 0\...
mit
ThaDafinser/UserAgentParserComparison
v4/user-agent-detail/e6/ea/e6eaf7e7-11e5-4133-96e9-37b82f74ebf9.html
46902
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.0.3; zh-tw; ME171 Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link ...
mit
surikov/webaudiofontdata
sound/0410_Aspirin_sf2_file.html
7832
<html> <head> <script src='https://surikov.github.io/webaudiofont/npm/dist/WebAudioFontPlayer.js'></script> <script src='0410_Aspirin_sf2_file.js'></script> <script> var selectedPreset=_tone_0410_Aspirin_sf2_file; var AudioContextFunc = window.AudioContext || window.webkitAudioContext; var audioContext ...
mit
bobholt/genealogists-friend
app/controllers/project.js
472
'use strict'; var page = 'projects'; module.exports = { renderPage: function(req, res) { if (!req.user) { res.redirect('/login'); } else { res.render(page, { helpers: { activeClass: function(section) { if (section === 'projects') { return 'active'; ...
mit
nelak/next.js
examples/with-jsx/README.md
349
[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-jsx) # JSX Next.js example This is a really simple project that show the usage of Next.js with JSX. ## How to use it? ``` npm install # to install dependencies npm ru...
mit
gadzorg/gorg_mail
doc/app/js/search.js
2999
Search = function(data, input, result) { this.data = data; this.$input = $(input); this.$result = $(result); this.$current = null; this.$view = this.$result.parent(); this.searcher = new Searcher(data.index); this.init(); }; Search.prototype = $.extend({}, Navigation, new function() { var suid = 1; ...
mit
yogeshsaroya/new-cdnjs
ajax/libs/require.js/0.22.0/require.min.js
130
version https://git-lfs.github.com/spec/v1 oid sha256:505b4ccd47ed9526d0238c6f2d03a343ce476abc1c4aa79a9f22cabcbd0a3c16 size 12575
mit
soulweaver91/project-carrot
src/menu/ConfirmationMenu.cpp
1509
#include "ConfirmationMenu.h" ConfirmationMenu::ConfirmationMenu(CarrotQt5* mainClass, std::function<void(bool)> callback, const QString& text, const QString& yesLabel, const QString& noLabel) : MenuScreen(mainClass), text(text) { menuOptions.append(buildMenuItem([this, callback]() { root->popState();...
mit
newcrossfoodcoop/nxfc
modules/ghost/client/services/ghost.client.service.js
1804
'use strict'; //Ghost service used for communicating with the ghost api angular.module('ghost').factory('Ghost', ['$http', 'localStorageService', function($http, localStorageService) { return { login: function() { return $http.get('api/ghost/login'). success(function(dat...
mit
viniciuschiele/flask-webapi
tests/test_status.py
1233
from flask_webapi import status from unittest import TestCase class TestStatus(TestCase): def test_is_informational(self): self.assertFalse(status.is_informational(99)) self.assertFalse(status.is_informational(200)) for i in range(100, 199): self.assertTrue(status.is_informati...
mit
ktg/openFood
src/main/java/uk/ac/nott/mrl/gles/program/GraphProgram.java
5077
/* * Copyright 2014 Google Inc. All rights reserved. * * 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 applic...
mit
bgstartupidei/nazdrave
README.md
51
# nazdrave Като Untappd ама за ракия
mit
tombenner/omnom-app
README.md
225
Omnom App ========= This is the example app for Omnom. See [Omnom](https://github.com/tombenner/omnom) for details. License ------- Omnom App is released under the MIT License. Please see the MIT-LICENSE file for details.
mit
tsdl2013/SimpleFlatMapper
sfm/src/main/java/org/sfm/tuples/Tuple20.java
3155
package org.sfm.tuples; public class Tuple20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> extends Tuple19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> { private final T20 element19; public Tuple20(T1 element0, T2 element1,...
mit
vmassol/docs
drupal/README.md
10246
# Supported tags and respective `Dockerfile` links - [`8.3.0-alpha1-apache`, `8.3-rc-apache`, `rc-apache`, `8.3.0-alpha1`, `8.3-rc`, `rc` (*8.3-rc/apache/Dockerfile*)](https://github.com/docker-library/drupal/blob/a5a6b1294bd3a987d6410887ba895e5649dc163c/8.3-rc/apache/Dockerfile) - [`8.3.0-alpha1-fpm`, `8.3-rc-fpm`, `...
mit
buddhiv/DatabaseProject
school_views/login.php
9115
<?php $districts = array('Ampara', 'Anuradhapura', 'Badulla', 'Batticaloa', 'Colombo', 'Galle', 'Gampaha', 'Hambantota', 'Jaffna', 'Kaluthara', 'Kandy', 'Kilinochchi', 'Kegalle', 'Mannar', 'Matale', 'Matara', 'Monaragala', 'Mulattivu', 'Nuwaraeliya', 'Polonnaruwa', 'Rathnapura', 'Trincomalee', 'Vavuniya'); ?> <!DOCTY...
mit
mr-augustine/kintobor
demo_sgcom/twi.h
2112
/* * file: twi.h * created: 20160807 * author(s): mr-augustine * * These are the Two-Wire Interface (TWI) bit mask definitions * They were copied from the following site: * http://www.nongnu.org/avr-libc/user-manual/group__util__twi.html * * The mnemonics are defined as follows: * TW_MT_xxx: Master Transmitte...
mit
MylesIsCool/ViaVersion
common/src/main/java/com/viaversion/viaversion/protocols/protocol1_12_2to1_12_1/Protocol1_12_2To1_12_1.java
2084
/* * This file is part of ViaVersion - https://github.com/ViaVersion/ViaVersion * Copyright (C) 2016-2021 ViaVersion and contributors * * 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, eith...
mit
Clouda-team/Cloudajs-examples
ExternalData/clouda_request_data/app/server_config/bae.js
251
//config file for bae if(sumeru.BAE_VERSION){ sumeru.config.database({ dbname : '', user: '',//bae 3.0 required password: ''//bae 3.0 required }); sumeru.config({ site_url : '' //with tailing slash }); }
mit
gmcfiesta/gmcfiesta.github.io
index.css
267
.preloader-background { display: flex; align-items: center; justify-content: center; background-color: #eee; position: fixed; z-index: 100; top: 0; left: 0; right: 0; bottom: 0; } .collapsible header { background-color: #546e7a !important; }
mit
JonMuehlst/WORKSPACE_A
8_interlude/interlude.cpp
3372
#include <cassert> #include <cmath> #include "gtest/gtest.h" #include "interlude.hpp" // defined in the header // #define MAT_SIZE 5 using std::cout; using std::endl; // void matDiagSum(int a[][MAT_SIZE], int rows, int cols){ // } // 1 2 3 4 5 1 2 3 4 5 // 6 7 8 9 10 6 8 10 12 14 ...
mit
Metrol/Metrol
HTML/Table/Foot.php
364
<?php /** * @author "Michael Collette" <metrol@metrol.net> * @package Metrol_Libs * @version 2.0 * @copyright (c) 2014, Michael Collette */ namespace Metrol\HTML\Table; /** * Defines an HTML Table Foot Area */ class Foot extends Section { /** */ public function __construct() { parent::__construct(...
mit
xeno1991/clean_zsh_history
README.md
192
clean_zsh_history ================= Erase tautological history in `.zsh_history`. # Usage python ./clean_zsh_history.py [path/to/.zsh_history] default arguments is `$HOME/.zsh_history`
mit
justayak/fast_guided_filters
test/sample.py
88
import sys sys.path.insert(0,'../') from fast_guided_filter import blur print("hello")
mit
kassisdion/Epitech_year_2
bomberman/src/core/views/menu.cpp
1035
#include "core/bomberman.hpp" #include "core/menu.hpp" #include "core/screens.hpp" #include "core/view.hpp" #include "core/views/menu.hpp" MenuView::MenuView(Screen *screen, Menu *menu) : View(screen) , menu(menu) , clock(Timer::get(2)) { } MenuView::~MenuView() { delete this->menu; } void MenuView::...
mit
cdnjs/cdnjs
ajax/libs/tempus-dominus/6-alpha1/js/jQuery-provider.js
4501
///<reference src="js/tempus-dominus"/> /*global $ */ tempusDominus.jQueryInterface = function (option, argument) { if (this.length === 1) { return tempusDominus.jQueryHandleThis(this, option, argument); } // "this" is jquery here return this.each(function () { tempusDominus.jQueryHandleThis(this, opti...
mit
gyuwon/web-practice
README.md
26
web-practice ============
mit
ultimate-comparisons/ultimate-comparison-BASE
src/app/components/pipes/sanitizer-pipe/sanitizer.pipe.ts
809
import { Pipe, PipeTransform } from '@angular/core'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; @Pipe({ name: 'sanitizeHtml', pure: false }) export class SanitizerPipe implements PipeTransform { constructor(private _sanitizer: DomSanitizer) { } transform(v: string): SafeH...
mit
nexylan/paybox-direct
tests/Bridge/Symfony/DependencyInjection/ConfigurationTest.php
2758
<?php /* * This file is part of the Nexylan packages. * * (c) Nexylan SAS <contact@nexylan.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Nexy\PayboxDirect\Tests\Symfony\Bridge\DependencyInjection; use Matthias\S...
mit
ligoj/ligoj
app-ui/src/main/webapp/lib/jqcron/jqcron.css
1773
.jqCron-selector { position: relative; } .jqCron-cross, .jqCron-selector-title { cursor: pointer; border-radius: 3px; border: 1px solid #ddd; margin: 0 0.2em; padding: 0 0.5em; } .jqCron-container.disable .jqCron-cross:hover, .jqCron-container.disable .jqCron-selector-title:hover, .jqCron-cross, .jqCron-selector-...
mit
Alex-Just/gymlog
gymlog/main/tests/test_models.py
476
# from test_plus.test import TestCase # # # class TestUser(TestCase): # # def setUp(self): # self.user = self.make_user() # # def test__str__(self): # self.assertEqual( # self.user.__str__(), # 'testuser' # This is the default username for self.make_user() # ) # ...
mit
mandino/hotelmilosantabarbara.com
wp-content/plugins/wpml-string-translation/classes/notices/track-strings/wpml-st-track-strings-notice.php
1629
<?php class WPML_ST_Track_Strings_Notice { const NOTICE_ID = 'wpml-st-tracking-all-strings-as-english-notice'; const NOTICE_GROUP = 'wpml-st-strings-tracking'; /** * @var WPML_Notices */ private $admin_notices; public function __construct( WPML_Notices $admin_notices ) { $this->admin_notices = $admin_not...
mit
erikzhouxin/CSharpSolution
NetSiteUtilities/AopApi/Response/AlipayEbppPdeductSignValidateResponse.cs
257
using System; using System.Xml.Serialization; namespace EZOper.NetSiteUtilities.AopApi { /// <summary> /// AlipayEbppPdeductSignValidateResponse. /// </summary> public class AlipayEbppPdeductSignValidateResponse : AopResponse { } }
mit
myd7349/AzureStorageExplorerClone
UI/Qt/AccountDialog.h
577
#ifndef ACCOUNTDIALOG_H #define ACCOUNTDIALOG_H #include <QDialog> namespace Ui { class AccountDialog; } class AccountDialog : public QDialog { Q_OBJECT public: explicit AccountDialog(QWidget *parent = 0); ~AccountDialog(); private slots: // TODO: 三个槽变成一个 void on_azureDefaultRadioButton_clicked...
mit
trujunzhang/newspoliticl
packages/nova-api/lib/server/api.js
2059
import Telescope from 'meteor/nova:lib'; import Posts from "meteor/nova:posts"; import Comments from "meteor/nova:comments"; import Users from 'meteor/nova:users'; serveAPI = function(terms){ var posts = []; var parameters = Posts.parameters.get(terms); const postsCursor = Posts.find(parameters.selector, param...
mit
arcticleo/reso_data_dictionary
app/models/import_result.rb
507
class ImportResult < ActiveRecord::Base belongs_to :import enum status: [ :starting, :running, :finishing, :finished, :stalled, :aborted ] serialize :found_listing_keys serialize :removed_listing_keys serialize :snapshots def found_count_difference previous_run = self.import.import_results.where(['st...
mit
lionelcollidor/dta-formation
apps/pizzeria-console-objet/pizzeria-dao/src/main/java/fr/pizzeria/exception/StockageException.java
353
package fr.pizzeria.exception; public class StockageException extends Exception { public StockageException() { super(); } public StockageException(String message, Throwable cause) { super(message, cause); } public StockageException(String message) { super(message); } public StockageException(Throwable...
mit
shipwire/swutil
swio/readme.md
4492
# swio -- import "github.com/shipwire/swutil/swio" Package swio provides additional utilities on top of the standard io package. ## Usage ```go var DummyReader = newDummy(time.Now().Unix()) ``` DummyReader is a reader of pseudo-random data. It is meant to be more efficient than cryptographically random data, but...
mit
jminuscula/dixit-online
server/src/dixit/api/auth/serializers/user.py
494
from rest_framework import serializers from django.contrib.auth.models import User from dixit.account.models import UserProfile class UserProfileSerializer(serializers.ModelSerializer): class Meta: model = UserProfile fields = ('name', ) class UserSerializer(serializers.ModelSerializer): ...
mit
CUPeru/CUPeru
app/models/tecnico.rb
432
# == Schema Information # # Table name: tecnicos # # id :integer not null, primary key # phone_number :string # health_post_id :integer # created_at :datetime not null # updated_at :datetime not null # name :string # class Tecnico < ActiveRecord::Base in...
mit
cnascimento/Paladino
Paladino/Drawing/Thumbnails.cs
13732
using System; using System.Collections.Generic; namespace Paladino.Drawing { /// <summary> /// The thumbnails class handles all thumbnails to different types of content /// embedded in the core. /// </summary> public static class Thumbnails { #region Members private static Dictionary<Guid,...
mit
MrJaqbq/Unity3DFramework
Editor/ActionGraph/ActionGraphEditorAnimParamNode.cs
3547
using System.Linq; using UnityEditor; using UnityEditor.Animations; using UnityEngine; namespace Framework.Editor { [CustomActionEditor(typeof(ActionAnimParam))] public class ActionGraphEditorAnimParamNode : ActionGraphEditorNode { public ActionAnimParam Node => (ActionAnimParam) ActionNode; ...
mit
Vexatos/ForecastersBackpacks
src/main/java/vexatos/backpacks/backpack/package-info.java
225
/** * @author Vexatos */ @MethodsReturnNonnullByDefault @ParametersAreNonnullByDefault package vexatos.backpacks.backpack; import mcp.MethodsReturnNonnullByDefault; import javax.annotation.ParametersAreNonnullByDefault;
mit
IsaacLewis/eol
spec/selenium/comment/text_comment_permalinks.html
1748
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://selenium-ide.openqa.org/profiles/test-case"> <meta http-equiv="Content-Type" cont...
mit
thomas15v/FlightEdit
FlightEdit/InflightSave.cs
1360
//This code is taken from InflightShipSave by Claw, using the CC-BY-NC-SA license. //See https://github.com/ClawKSP/InflightShipSave //Actually I found this code from Kerbal_Construction_Time as well. All bundled in this utility class. Thanks guys ;) using UnityEngine; namespace FlightEdit.FlightEdit { public ...
mit
ryrudnev/dss-wm
app/routes/waste/ShowRoute.js
2612
import React from 'react'; import Helmet from 'react-helmet'; import { Route } from '../../core/router'; import { Model as Waste } from '../../entities/Waste'; import { Deferred } from '../../util/utils'; import NavLink from '../../components/NavLink'; import Progress from 'react-progress-2'; import { PageHeader, Row, ...
mit
chengjiaming/JMChartView
JMChartView/JMColor.h
752
// // JMColor.h // JMChartView // // Created by chengjiaming on 15/3/26. // Copyright (c) 2015年 chengjiaming. All rights reserved. // #import <UIKit/UIKit.h> /** * 主色系 */ #define JMBlue [UIColor colorWithRed:38 / 255.0 green:173 / 255.0 blue:223 / 255.0 alpha:1] /** * 背景色 */ #define JMCloudWhite [UIColor col...
mit
marcolino/escrape2
.old/gulpfile-advanced.js
3371
var basePaths = { src: 'public/', dest: 'public.dist/', bower: 'bower_components/' }; var paths = { images: { src: basePaths.src + 'images/', dest: basePaths.dest + 'images/min/' }, scripts: { src: basePaths.src + 'scripts/', dest: basePaths.dest + 'scripts/min/' }, styles: { src: ba...
mit
pblack/kaldi-hugo-cms-template
site/content/pages2/ajz21.md
339
--- title: ajz21 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: z21 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1:...
mit
martty/Vulkan
bloom/bloom.cpp
42639
/* * Vulkan Example - Implements a separable two-pass fullscreen blur (also known as bloom) * * Copyright (C) 2016 by Sascha Willems - www.saschawillems.de * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <...
mit
McJty/DeepResonance
src/main/java/mcjty/deepresonance/jei/smelter/SmelterRecipeHandler.java
834
package mcjty.deepresonance.jei.smelter; import mezz.jei.api.recipe.IRecipeWrapper; import javax.annotation.Nonnull; public class SmelterRecipeHandler implements mezz.jei.api.recipe.IRecipeHandler<SmelterRecipeWrapper> { private final String id; public SmelterRecipeHandler() { this.id = SmelterReci...
mit
espreto/wpsploit
documentation/exploits/wp_ajax_load_more_file_upload.md
5129
#### Add WordPress Plugin Ajax Load More Auth File Upload Vulnerability Application: WordPress Plugin 'Ajax Load More' 2.8.1.1 Homepage: https://wordpress.org/plugins/ajax-load-more/ Source Code: https://downloads.wordpress.org/plugin/ajax-load-more.2.8.0.zip Active Installs (wordpress.org): 10,000+ Referenc...
mit
vuonghuynhthanhtu/administrator.lacasa.com
application/libraries/braintree-php-2.38.0/lib/Braintree/CreditCardVerification.php
601
<?php class Braintree_CreditCardVerification extends Braintree_Result_CreditCardVerification { public static function factory($attributes) { $instance = new self($attributes); return $instance; } // static methods redirecting to gateway public static function fetch($qu...
mit
duanp0128/PlayHongKongResort
public/javascripts/assessment/editor.js
9652
var g_batchAssessmentEditor = null; var g_tabAssessments = null; var g_updatingAttendance = false; var g_onRefresh = null; var g_lockedCount = 0; var g_btnSubmit = null; var g_sectionAssessmentEditors = null; var g_sectionAssessmentButtons = null; function createAssessment(content, to) { var assessmentJson = {}; a...
mit
alpsayin/radiotftp
doc/html/search/variables_73.html
3503
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title></title> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <link rel="stylesheet" type="text/css" href="search.css"/> <script type="text/javascript" src="search...
mit
stephenlienharrell/WeatherPipe
WeatherPipe/src/main/java/edu/purdue/eaps/weatherpipe/AWSInterface.java
19505
package edu.purdue.eaps.weatherpipe; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchA...
mit
capravictoriae/vulpesbag
_posts/2016-05-09-Week-19.md
1619
--- layout: post title: Any code of your own that you haven't looked at for six or more months might as well have been written by someone else. (Eagleson's law) category: week tags: [c++, python, versioning, javascript, bash, windows, programming, ping-pong, spotify, engineering] --- ## Top Pick * Spotify En...
mit
interactivedocs/fluency
README.md
997
fluency ======= An HTML, CSS, and Javascript framework for interactive video produced <a href="http://interactivedocs.com" target="_blank">Interactive Docs</a>. Check out the <a href="http://interactivedocs.com/fluency.html" target="_blank">documentation</a> on our website. To run locally [npm](https://www.npmjs.org...
mit
pavel-pimenov/sandbox
console-test/memory/compile-calc-ram-vc2015.bat
109
del *.exe del *.obj call "%VS140COMNTOOLS%\..\..\VC\bin\vcvars32.bat" cl /D _CONSOLE /W4 /O2 calc-ram.cpp
mit
kentaiwami/masamon
masamon/TET/c/get_attachments.c
7568
/* $Id: get_attachments.c,v 1.13 2015/07/20 10:35:53 tm Exp $ * * PDFlib TET sample application. * * PDF text extractor which also searches PDF file attachments. * The file attachments may be attached to the document or * to page-level annotations of type FileAttachment. The former construct * also covers PDF 1....
mit
aonashi/jpstation
spec/models/railway_company_spec.rb
1833
# -*- coding: utf-8 -*- require 'spec_helper' describe RailwayCompany do describe :import do let(:file_path) do tempfile = Tempfile.new('railway_companies.csv') tempfile << <<EOS company_cd,rr_cd,company_name,company_name_k,company_name_h,company_name_r,company_url,company_type,e_status,e_sort 1,11,J...
mit
manufy/PHP-BDD-YaCMS
Lib/PHPSpec-1.3.0beta/PHPSpec/Runner/Formatter/Factory.php
2204
<?php /** * PHPSpec * * LICENSE * * This file is subject to the GNU Lesser General Public License Version 3 * that is bundled with this package in the file LICENSE. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/lgpl-3.0.txt * If you did not receive a copy of the l...
mit
marcossilva/IFAdventure
EnsaioRetentivo/src/framework/org/json/JSONArray.java
32203
package framework.org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, ...
mit
Dariasteam/JSON-cpp
src/abstract_serializable.cpp
243
#include "abstract_serializable.h" using namespace json; json::__abstract_serializable__::__abstract_serializable__() {} std::map<std::string, std::function<json::__abstract_serializable__*()> > json::__abstract_serializable__::dictionary;
mit
dmitrysharkov/calculable_attrs
lib/calculable_attrs/version.rb
48
module CalculableAttrs VERSION = "0.0.15" end
mit
simonz05/pack-command
misc/bench.py
1564
# -*- coding: utf-8 -*- import pack_command import pack_command_python import timeit import cProfile import pstats import pycallgraph def format_time(seconds): v = seconds if v * 1000 * 1000 * 1000 < 1000: scale = u'ns' v = int(round(v*1000*1000*1000)) elif v * 1000 * 1000 < 1000: ...
mit
blebougge/Catel
src/Catel.Serialization.Json/Catel.Serialization.Json.Shared/SerializationJsonModule.cs
1132
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SerializationJsonModule.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. All rights reserved. // </copyright> // ----------------------...
mit