repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
danieloostra/mean-charlie-workspace
scott/FULL_MEAN/Friends/server/models/friend.js
148
var mongoose = require('mongoose'); var FriendSchema = new mongoose.Schema({ name: String }) var Friend = mongoose.model('Friend', FriendSchema);
unlicense
codeApeFromChina/resource
frame_packages/java_libs/spring-2.5.6-src/src/org/springframework/web/servlet/tags/form/InputTag.java
4652
/* * Copyright 2002-2008 the original author or authors. * * 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 requi...
unlicense
hernan940730/DrawingApplication
src/view/RectangleTool.java
539
package view; import controller.App; public class RectangleTool extends CreationTool { private static RectangleTool instance = null; private RectangleTool( ){ super( ); } protected static synchronized RectangleTool getInstance( ){ if( instance == null ){ instance = new RectangleTool(); } return i...
unlicense
clilystudio/NetBook
allsrc/com/qq/e/comm/services/RetCodeService$1.java
240
package com.qq.e.comm.services; class RetCodeService$1 { } /* Location: E:\Progs\Dev\Android\Decompile\apktool\zssq\zssq-dex2jar.jar * Qualified Name: com.qq.e.comm.services.RetCodeService.1 * JD-Core Version: 0.6.0 */
unlicense
clilystudio/NetBook
workspace/app/src/main/java/com/clilystudio/netbook/ui/BookCategoryListActivity.java
12997
package com.clilystudio.netbook.ui; import android.app.ActionBar; import android.content.Context; import android.content.Intent; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app...
unlicense
Grauenwolf/DotNet-ORM-Cookbook
ORM Cookbook/Recipes.LinqToDB/Entities/EmployeeDetail.cs
1097
using LinqToDB.Mapping; namespace Recipes.LinqToDB.Entities { [Table("EmployeeDetail", Schema = "HR")] public partial class EmployeeDetail { [Column] public string? CellPhone { get; set; } [Column] public int EmployeeClassificationKey { get; set; } [NotNull] ...
unlicense
hyller/CodeLibrary
Visual C++ Example/第8章 文档-视图-框架体系/实例183——改变视图窗口的背景色/FaceControl1/FaceControl1View.cpp
3403
// FaceControl1View.cpp : implementation of the CFaceControl1View class // #include "stdafx.h" #include "FaceControl1.h" #include "FaceControl1Doc.h" #include "FaceControl1View.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif /////////////////////////...
unlicense
rsmeral/pv243-jboss
project/project-et-ejb/src/test/java/cz/muni/fi/pv243/et/test/ExpenseTrackingTest.java
8127
package cz.muni.fi.pv243.et.test; import cz.muni.fi.pv243.et.data.ExpenseReportListProducer; import cz.muni.fi.pv243.et.data.PersonListProducer; import cz.muni.fi.pv243.et.data.PurposeListProducer; import cz.muni.fi.pv243.et.model.Currency; import cz.muni.fi.pv243.et.model.ExpenseReport; import cz.muni.fi.pv243.et.mod...
unlicense
cc14514/hq6
hq-util/src/main/java/org/hyperic/util/validator/InvalidPostalCodeForStateException.java
1370
/* * NOTE: This copyright does *not* cover user programs that use HQ * program services by normal system calls through the application * program interfaces provided as part of the Hyperic Plug-in Development * Kit or the Hyperic Client Development Kit - this is merely considered * normal use of the program, and do...
unlicense
joksnet/youtube-dl
youtube_dl/extractor/generic.py
8580
# encoding: utf-8 import os import re from .common import InfoExtractor from ..utils import ( compat_urllib_error, compat_urllib_parse, compat_urllib_request, compat_urlparse, ExtractorError, ) from .brightcove import BrightcoveIE class GenericIE(InfoExtractor): IE_DESC = u'Generic download...
unlicense
dawnsun/mijiaosys
dal/src/main/java/com/mijiaokj/sys/common/lang/ObjectUtil.java
14264
package com.mijiaokj.sys.common.lang; import com.mijiaokj.sys.common.util.StringUtil; import java.io.Serializable; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; /** * Created by sunchenguang on 2017/5/31. */ public class ObjectUtil { /* ===================================...
unlicense
SeanShubin/detangler
scanner/src/main/scala/com/seanshubin/detangler/scanner/DirectoryScanner.scala
130
package com.seanshubin.detangler.scanner import java.nio.file.Path trait DirectoryScanner { def findFiles(): Iterable[Path] }
unlicense
marwei/leetcode
problem/310.rb
753
# @param {Integer} n # @param {Integer[][]} edges # @return {Integer[]} def find_min_height_trees(n, edges) return [0] if n == 1 adjancency = Hash.new { |hash, key| hash[key] = Array.new } # adjancency matrix edges.each do |from, to| adjancency[from].push to adjancency[to].push from end # find ...
unlicense
griffaurel/rss-bridge
bridges/OpenClassroomsBridge.php
1558
<?php class OpenClassroomsBridge extends BridgeAbstract{ const MAINTAINER = "sebsauvage"; const NAME = "OpenClassrooms Bridge"; const URI = "https://openclassrooms.com/"; const CACHE_TIMEOUT = 21600; // 6h const DESCRIPTION = "Returns latest tutorials from OpenClassrooms."; const PARAMETERS = array( array( ...
unlicense
ERNICommunity/ERNI-Photo-Database
server/ERNI.PhotoDatabase.DataAccess/UnitOfWork/IUnitOfWork.cs
358
using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Storage; namespace ERNI.PhotoDatabase.DataAccess.UnitOfWork { public interface IUnitOfWork { Task SaveChanges(CancellationToken cancellationToken); Task<IDbContextTransaction> BeginTransaction(Cancellati...
unlicense
SubhamSatyajeet/JavaRough
Liang/Chapter5/CheckPoint5_7_2.java
137
public class CheckPoint5_7_2 { public static void main(String[] args) { for(int i = 1; i <= 100; i++) System.out.println(i); } }
unlicense
bakstad/JavaSandbox
random/src/main/java/query/QueryBuilder.java
321
package query; public class QueryBuilder { public void append(String str) { query.append(str); query.append(" "); } public String getQuery() { return query.toString().substring(0, query.length()-1); } private StringBuilder query = new StringBuilder(); }...
unlicense
miktemk/TextureCreator
src/gui/TexMenuBar.java
3574
package gui; import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.awt.image.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.undo.*; import javax.swing.border.*; import gui.AboutDialog; import editor.*; public class TexMenuBar extends JMenuBar implements ActionListe...
unlicense
yangjun2/android
changhong/ChanghongSmartHome/src/com/changhong/smarthome/phone/store/activity/OrderDetailActivity.java
18968
package com.changhong.smarthome.phone.store.activity; import android.content.DialogInterface; import android.os.Bundle; import android.os.Message; import android.text.InputType; import android.util.TypedValue; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import andr...
unlicense
KalaiselvanS/codejam
Problems/src/com/problems/SortWords.java
5251
package com.problems; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; /** * Find word count and then sorting the words as per their count. If count is same then sort the words with same count in alphabetical order. I...
unlicense
Kapusch/purchase_service
purchase_service/shop/Module/Tools/LoginBox.Designer.cs
6111
namespace Magasin { partial class LoginBox { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param n...
unlicense
koulevprime/GeoLifeReader
get_subset.py
2341
# Run this code to load only a small subset of the PLT files into the database. # This code should not be used for further research, but just to demonstrate # the underlying code is fully functional. import logging logging.basicConfig( level=logging.DEBUG, filename='/tmp/geolife.log', filemode='w' ) logger = l...
unlicense
ksean/finmgr
lib/src/main/java/sh/kss/finmgrlib/parse/CsvFileParserImpl.java
4529
/* finmgr - A financial transaction framework Copyright (C) 2021 Kennedy Software Solutions Inc. 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, o...
unlicense
marwei/leetcode
problem/226.rb
1236
# Definition for a binary tree node. class TreeNode attr_accessor :val, :left, :right def initialize(val) @val = val @left = nil @right = nil end end # @param {TreeNode} root # @return {TreeNode} def invert_tree(root) queue = [] queue.push root until queue.empty? curr = queue.shift nex...
unlicense
jfellien/car-rental-event-handling
Handle-RentCar/index.js
268
module.exports = (context, event, sourceCar) => { context.log.info(`EVENT: ${ JSON.stringify(event) }`); context.log.info(`SOURCE CAR: ${ JSON.stringify(sourceCar) }`) sourceCar.status = "rented"; context.bindings.sinkCar = sourceCar; context.done(); }
unlicense
The-TTP-Project/Singular-Chests
Singular Chests/src/com/tterrag/singularChests/lib/Reference.java
440
package com.tterrag.singularChests.lib; public class Reference { public static final String MOD_ID = "singularChests"; public static final String MOD_NAME = "Singular Chests"; public static final String VERSION = "0.0.1"; public static final String CLIENT_PROXY_CLASS = "com.tterrag.singularChests.proxy....
unlicense
codeApeFromChina/resource
frame_packages/java_libs/hibernate-distribution-3.6.10.Final/project/hibernate-testsuite/src/test/java/org/hibernate/test/annotations/onetoone/hhh4851/Hardware.java
1060
package org.hibernate.test.annotations.onetoone.hhh4851; import javax.persistence.DiscriminatorColumn; import javax.persistence.DiscriminatorType; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Inheritance; import javax...
unlicense
litesoft/ScarPlus
src/com/esotericsoftware/utils/FileSupport.java
7532
package com.esotericsoftware.utils; import com.esotericsoftware.scar.*; public class FileSupport { public static final String WINDOWS_UNC_PATH_PREFIX = "\\\\"; public static String getWindowsDriveIndicator( String path ) { return ((path.length() > 1) && (path.charAt( 1 ) == ':')) ? path.substring...
unlicense
DeveloperXY/MyIMDB
app/src/main/java/com/developerxy/myimdb/ui/fragments/SecondFragment.java
3606
package com.developerxy.myimdb.ui.fragments; import android.app.Activity; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import android.widget.Toast; import com.annimon.stream.Collectors; import com.annimon.stream....
unlicense
DarthMaulware/EquationGroupLeaks
Leak #5 - Lost In Translation/windows/Resources/Python/Core/Lib/__future__.py
3727
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: __future__.py """Record of phased-in incompatible language changes. Each line is of the form: FeatureName = "_Feature(" OptionalRelease "," Man...
unlicense
Grauenwolf/DotNet-ORM-Cookbook
ORM Cookbook/Recipes.LinqToDB/RowCount/RowCountScenario.cs
1017
using LinqToDB; using Recipes.LinqToDB.Entities; using Recipes.RowCount; using System; using System.Collections.Generic; using System.Linq; namespace Recipes.LinqToDB.RowCount { public class RowCountScenario : IRowCountScenario<Employee> { public int EmployeeCount(string lastName) { ...
unlicense
jlaura/isis3
isis/src/base/objs/IsisAml/IsisXMLGroup.cpp
2895
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
unlicense
cartman300/Vulkan.NET
Test/Properties/AssemblyInfo.cs
1384
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("Te...
unlicense
taujago/birojasa
application/modules/bj_serah_dealer/views/bj_serah_dealer_view_js.php
6457
<script type="text/javascript"> function modal_dealer(){ $('#dealer').modal('show'); } // $("#tombolsubmitsimpan").click(function(){ // console.log('tests'); // $.ajax({ // url:'<?php echo site_url("$this->controller/simpan"); ?>', // data : $('#form_data').serialize(), // type : 'pos...
unlicense
seckcoder/lang-learn
python/functools_user.py
1878
#!/usr/bin/env python #-*- coding=utf-8 -*- # # Copyright 2013 Jike Inc. All Rights Reserved. # Author: liwei@jike.com """ Provides demos for function in functools """ import functools def demo_update_wrapper(): def decorator(f): def wrapper(*args, **kwargs): '''wrapper func''' pr...
unlicense
sangshub/55231
Client/CubeEffect.cpp
3511
#include "StdAfx.h" #include "CubeEffect.h" #include "BufferMgr.h" #include "Device.h" #include "Pipeline.h" #include "CamMgr.h" #include "Rand.h" #include "TextureMgr.h" #include "TimeMgr.h" CCubeEffect::CCubeEffect(void) { } CCubeEffect::~CCubeEffect(void) { } HRESULT CCubeEffect::Initialize(void) { m_dwVtxCnt = ...
unlicense
EpitaJS/js-class-2016
jspm_packages/npm/async@0.9.2/lib/async.js
28776
/* */ "format cjs"; (function(process) { (function() { var async = {}; var root, previous_async; root = this; if (root != null) { previous_async = root.async; } async.noConflict = function() { root.async = previous_async; return async; }; function only_once(f...
unlicense
jeffrey-io/wall-of-shame
2007/JovianSuite/JovianTools/Styles/XML.cs
1899
using System; using System.Collections; using JovianTools.Support; namespace JovianTools.Styles { /// <summary> /// Summary description for HTML. /// </summary> public class XMLExport : StyleExp { public bool inTag; public bool inStr; public bool encounterWS; public XMLExport() { inTag ...
unlicense
NxtChg/pieces
js/vue/vs-notify/vs-notify.js
4011
/*============================================================================= Created by NxtChg (admin@nxtchg.com), 2017. License: Public Domain. =============================================================================*/ var s = document.createElement("style"); s.type = 'text/css'; document.getElementsByTagN...
unlicense
bkmeneguello/surveillance
surveillance/__init__.py
131
from .frame import Frame from .queue import Queue, QueueFan from .reader import Reader from .writer import Writer, PeriodicWriter
unlicense
StarTrackDevKL/athena
src/main/webapp/scripts/app/account/settings/settings.js
665
'use strict'; angular.module('athenaApp') .config(function ($stateProvider) { $stateProvider .state('settings', { parent: 'account', url: '/settings', data: { roles: ['ROLE_USER'], pageTitle: 'Settings' ...
unlicense
shilin-he/spa-northwind
src/Northwind.UI/Scripts/app/common/router.js
1114
define(function () { return kendo.Router.extend({ init: function (options) { this.namedRoutes = {}; kendo.Router.fn.init.call(this, options); }, route: function (name, route, callback) { if (arguments.length == 2) { callback = route; ...
unlicense
devacfr/spring-restlet
restlet.ext.xstream/src/test/java/com/pmi/restlet/ext/xstream/impl/AnnotedCustomer.java
2481
package com.pmi.restlet.ext.xstream.impl; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import com.thoughtworks.xstream.annotations.XStreamAlias...
unlicense
GuoJianghui/SpringMVC
src/main/java/rip/springmvc/dao/user/UserDaoImpl.java
660
package rip.springmvc.dao.user; import java.util.List; import org.springframework.stereotype.Repository; import rip.springmvc.common.dao.BaseDaoImpl; import rip.springmvc.entity.User; @Repository("userMapper") public class UserDaoImpl extends BaseDaoImpl implements UserMapper { public User getUser(String userId)...
unlicense
kyle8998/Practice-Coding-Questions
leetcode/125-Easy-Valid-Palindrome/answer.py
380
#!/usr/bin/env python3 #------------------------------------------------------------------------------- import re class Solution: def isPalindrome(self, s): """ :type s: str :rtype: bool """ s = re.sub(r'\W*', '', s).lower() return s == s[::-1] #--------------------...
unlicense
ncguy2/MOD003263
Mod003263/Mod003263/events/ui/InterviewToTemplateEvent.cs
257
namespace Mod003263.events.ui { public class InterviewToTemplateEvent : AbstractEvent { public interface InterviewToTemplateListener { [Event] void OnInterviewToTemplate(InterviewToTemplateEvent e); } } }
unlicense
Krusen/ErgastApi.Net
src/ErgastApi/Serialization/JsonPropertyExtensions.cs
537
using System.Linq; using Newtonsoft.Json.Serialization; namespace ErgastApi.Serialization { public static class JsonPropertyExtensions { public static bool HasAttribute<T>(this JsonProperty property) { return property.AttributeProvider.GetAttributes(typeof(T), true).Any(); ...
unlicense
boujam/jbulletin
src/main/java/com/fwb/jbulletin/dao/StudentDao.java
944
package com.fwb.jbulletin.dao; import java.util.List; import org.springframework.cache.annotation.Cacheable; import org.springframework.stereotype.Repository; import com.fwb.jbulletin.model.Student; @Repository @SuppressWarnings("unchecked") public class StudentDao extends BaseDao{ public StudentDao...
unlicense
akiross/codedude
opencl/add_test_ochell.cpp
1774
// Compiled with // g++ -std=c++11 add_test_ochell.cpp -o add_test_ochell -l pocl && ./add_test_ochell // or // g++ -std=c++11 add_test_ochell.cpp -o add_test_ochell -l OpenCL && ./add_test_ochell #include <iostream> #include <cstdlib> #include "ochell.hh" int main(int argc, char **argv) { int len = 100; int *A = ...
unlicense
Derrick-/HackMaineIrcBotSvc
HackMaineIrcBotSvc_Tests/UrlHookTests.cs
2465
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using HackMaineIrcBot.Irc.Hooks; using HackMaineIrcBot.Irc.Hooks.UrlResolvers; namespace HackMaineIrcBotSvc_Tests { [TestClass] public class UrlHookTests { [TestMethod] public void TestCanHandle() { ...
unlicense
yannlandry/DumbEdgeFinder
src/edges.hpp
124
#include <opencv2/core/core.hpp> void findEdges(const cv::Mat&, cv::Mat&); float edist(const cv::Vec3b&, const cv::Vec3b&);
unlicense
pablo-f-cargnelutti/algorithms
StringAndArrays/StringAndArraysTest.java
7724
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package codinginterviewproblems.test; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import org.junit.After; import ...
unlicense
magicmonty/dotfiles_dotbot
apps/qutebrowser/shortcuts.py
1118
# qutebrowser shortcuts config.bind(';dd', 'set downloads.location.directory ~/Dokumente ;; hint links download') config.bind(';dff', 'set downloads.location.directory ~/.dotfiles ;; hint links download') config.bind(';dr', 'set downloads.location.directory ~/Dropbox ;; hint links download') config.bind(';dl', 'set dow...
unlicense
obshtestvo/sledi-parlamenta
website/config/deploy.rb
653
lock '3.2.1' server 'parliament.obshtestvo.bg:2203', user: 'www-data', roles: %w(app web db) set :application, 'parliament.obshtestvo.bg' set :deploy_to, '/var/www/parliament.obshtestvo.bg' set :repo_url, 'https://github.com/obshtestvo/open-parliament.git' set :linked_files, %w(config/database.yml...
unlicense
dhcmrlchtdj/toolkit
javascript/deferred.js
283
// https://github.com/tj/deferred.js/blob/master/index.js export default function Deferred() { const p = new Promise((resolve, reject) => { this.resolve = resolve; this.reject = reject; }); this.then = p.then.bind(p); this.catch = p.catch.bind(p); }
unlicense
gsanchezc/proyectoAnalisis
Codigo Fuente/frmPrincipal/frm_CxC_CxP_CatalogoProveedores.Designer.cs
11215
namespace frmPrincipal { partial class frm_CxC_CxP_CatalogoProveedores { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
unlicense
ksean/finmgr
core/src/test/java/sh/kss/finmgrcore/FinmgrCoreApplicationTests.java
1575
/* finmgr - A financial transaction framework Copyright (C) 2021 Kennedy Software Solutions Inc. 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, o...
unlicense
MikailBag/gen-io
example/base.js
2602
'use strict'; var genio = require('../lib'); var util = require('util'); var fs = require('fs'); var ansi = require('ansi'); var cursor = ansi(process.stdout); var assert = require('assert'); var sample = __dirname + '/sample.txt'; function part(part) { cursor .green() .bg.grey() .write(...
unlicense
danidemi/tutorial-front-end
webpack/01-project-with-configuration/webpack.config.js
648
const path = require('path'); module.exports = { // entry tells Webpack which files are the entry points of your application. // Those are your main files, that sit at the top of your dependency tree. entry: './client/js/index.js', output: { filename: 'bundle.js', path: path.resolve(_...
unlicense
nature-track/wenCollege-CSharp
Model/supplier.cs
2953
/** 版本信息模板在安装目录下,可自行修改。 * supplier.cs * * 功 能: N/A * 类 名: supplier * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2016-12-21 14:42:52 N/A 初版 * * Copyright (c) 2012 Maticsoft Corporation. All rights reserved. *┌──────────────────────────────────┐ *│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向...
unlicense
boujam/jbulletin
src/main/java/com/fwb/jbulletin/model/Teacher.java
1086
package com.fwb.jbulletin.model; import java.util.ArrayList; import java.util.List; import javax.persistence.Entity; import javax.persistence.ManyToMany; @Entity public class Teacher extends BaseEntity { /** * */ private static final long serialVersionUID = 8136368761173410404L; private...
unlicense
SelvorWhim/competitive
LeetCode/MinimumValueToGetPositiveStepByStepSum.py
384
# convoluted description, but seems like you can just calculate the minimum partial sum (left to right), negate and add 1 to that class Solution: def minStartValue(self, nums: List[int]) -> int: sum_so_far = 0 min_so_far = 0 for num in nums: sum_so_far += num min_so_...
unlicense
satyriasizz/simple-scala-rest-example
src/main/scala/com/sysgears/example/domain/Customer.scala
1687
package com.sysgears.example.domain import scala.slick.driver.MySQLDriver.simple._ import spray.http.{HttpCharsets, HttpEntity} import net.liftweb.json.{DateFormat, Formats, Serialization} import java.text.SimpleDateFormat import java.util.Date /** * Customer entity. * * @param id unique id * @param firstN...
unlicense
minagisyu/SmartAudioPlayerFx
SmartAudioPlayer Fx/__Primitives__/[Windows]/WinAPI/COM/IWMSyncReader2.cs
3305
using System; using System.Runtime.InteropServices; using System.Security; namespace __Primitives__ { partial class WinAPI { partial class COM { [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("faed3d21-1b6b-4af7-8cb6-3e189bbc187b")] [SuppressUnmanagedCodeSecurity] public i...
unlicense
bpmericle/gluecon2017-spring-boot
src/main/java/com/wistful/widgets/api/services/SearchService.java
624
package com.wistful.widgets.api.services; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.wistful.widgets.api.data.WidgetRepository; import com.wistful.widgets.api.models.Widget; /** * * @author brian.mericle * */ @...
unlicense
igorgoroun/FTNW
Controller/PointController.php
5548
<?php namespace IgorGoroun\FTNWBundle\Controller; use Doctrine\Common\Cache\ApcuCache; use IgorGoroun\FTNWBundle\Entity\reCaptcha; use IgorGoroun\FTNWBundle\Form\RegistrationType; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use IgorGoroun\FTNWBundle\Entity\P...
unlicense
hivaids2512/myresume
config/db/config.go
132
package db const ( DB_HOST = "ds023438.mlab.com:23438" DB_NAME = "myresume" DB_USER = "tranquy2512" DB_PASS = "@Quy@%!@!((#" )
unlicense
orlenko/bccf
src/pybb/admin.py
6921
# -*- coding: utf-8 from copy import deepcopy from django.utils.translation import ugettext_lazy as _ from django.contrib import admin from django.core.urlresolvers import reverse from bccf.admin import make_featured, make_unfeatured from mezzanine.core.admin import DisplayableAdmin from pybb.models import Category,...
unlicense
JoseJimeniz/BankItems
localization-ruRU.lua
9970
-- BankItems ruRU Locale File (Credits: StingerSoft) -- THE CONTENTS OF THIS FILE IS AUTO-GENERATED BY THE WOWACE PACKAGER -- Please use the Localization App on WoWAce to update this -- at http://www.wowace.com/projects/bank-items/localization/ if GetLocale() ~= "ruRU" then return end local L = BANKITEMS_LOCALIZATION...
unlicense
dankozitza/mechanizm
src/mechanizm_game.cpp
76005
// // mechanizm_game.cpp // // Asteroid mining and block building game. // // Created by Daniel Kozitza // #include <chrono> #include <csignal> #include <cstdlib> #include <dirent.h> #include <fstream> #include <iomanip> #include <iostream> #include <sys/wait.h> #include <unistd.h> #include "commands.hpp" #include "me...
unlicense
codeApeFromChina/resource
frame_packages/java_libs/spring-2.5.6-src/src/org/springframework/mail/MailAuthenticationException.java
1498
/* * Copyright 2002-2006 the original author or authors. * * 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 requi...
unlicense
ch1huizong/dj
onlineshop/myshop/coupons/migrations/0001_initial.py
845
# Generated by Django 2.2.3 on 2019-09-07 12:50 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Coupon', fields=[ ...
unlicense
funkyDunks/Tracker
mobility-track-nodejs/config/database.js
448
module.exports = { development: { db: 'mongodb://localhost/mobilitytracker', url: 'mongodb://localhost/mobilitytracker', app: { name: 'Nodejs Express Mongoose Demo' } }, test: { db: 'mongodb://localhost/mobilitytracker', app: { name: 'Nodejs Express Mongoose Demo' } }, ...
apache-2.0
victor-smirnov/dumbo
tests/disruptor/wait_strategy_test.cc
15273
// Copyright (c) 2011-2015, Francois Saint-Jacques // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // notice, this...
apache-2.0
jbazin30/coiffure
main/class/graph/inc/Label.class.php
11839
<?php /* * This work is hereby released into the Public Domain. * To view a copy of the public domain dedication, * visit http://creativecommons.org/licenses/publicdomain/ or send a letter to * Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. * */ require_once dirname(__FILE__) . "/../G...
apache-2.0
vandewilly/git-flow-sample
config/initializers/secret_token.rb
504
# Be sure to restart your server when you modify this file. # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attac...
apache-2.0
drinkwithwater/floodlightplus
src/main/java/net/floodlightcontroller/staticflowentry/web/TestResource.java
2894
/** * Copyright 2011, Big Switch Networks, Inc. * Originally created by David Erickson, Stanford University * * 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://w...
apache-2.0
yankee42/mustangproject
src/main/java/org/mustangproject/ZUGFeRD/model/TradeTaxType.java
9296
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2015.10.16 ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ClusterInfoJsonUnmarshaller.java
7089
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
buildingenergy/buildingenergy-platform
seed/static/seed/js/services/user_service.js
7063
/** * :copyright: (c) 2014 Building Energy Inc * :license: see LICENSE for more details. */ // user services angular.module('BE.seed.service.user', []).factory('user_service', [ '$http', '$q', 'generated_urls', function ($http, $q, generated_urls) { var user_factory = {}; var urls = generated_urls; ...
apache-2.0
begla/Intrinsic
IntrinsicCore/src/IntrinsicCoreComponentsCamera.cpp
3713
// Copyright 2017 Benjamin Glatzel // // 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 agreed to...
apache-2.0
abuabdul/FourT
src/main/java/com/abuabdul/fourt/domain/Resource.java
2875
/* * Copyright 2013-2016 abuabdul.com * * 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 agreed...
apache-2.0
McLeodMoores/starling
projects/financial/src/main/java/com/opengamma/financial/analytics/model/pnl/HistoricalValuationPnLFunction.java
9838
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.pnl; import java.util.Collection; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import com.google.common.c...
apache-2.0
marshall/titanium
modules/ti.UI/ui_binding.cpp
9827
/** * Appcelerator Titanium - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved. */ #include "ui_module.h" #include <string> #define GET_ARG_OR_RETURN(INDEX, TYPE, VAR) \ if ((int) args.size() < INDEX...
apache-2.0
splink/pagelets-seed
app/controllers/HomeController.scala
5985
package controllers import javax.inject._ import akka.stream.Materializer import org.splink.pagelets._ import org.splink.pagelets.twirl.TwirlCombiners._ import play.api.data.Forms._ import play.api.data._ import play.api.i18n.{I18nSupport, Lang, Messages} import play.api.mvc._ import play.api.{Configuration, Environm...
apache-2.0
MICommunity/psi-jami
jami-core/src/main/java/psidev/psi/mi/jami/listener/PolymerChangeListener.java
749
package psidev.psi.mi.jami.listener; import psidev.psi.mi.jami.model.Polymer; /** * Listener for changes in polymer * * @author Marine Dumousseau (marine@ebi.ac.uk) * @version $Id$ * @since <pre>30/01/14</pre> */ public interface PolymerChangeListener<P extends Polymer> extends InteractorChangeListener<P> { ...
apache-2.0
chbe89/mindstormer
src/edu/kit/mindstormer/program/AbstractProgram.java
642
package edu.kit.mindstormer.program; public abstract class AbstractProgram implements Program { private final String name; protected AbstractProgram() { this.name = this.getClass().getSimpleName(); } protected AbstractProgram(String name) { this.name = name; } @Override public void initialize() { qu...
apache-2.0
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/video/ReportErrorReason.java
1516
package com.google.api.ads.adwords.jaxws.v201406.video; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ReportError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleTy...
apache-2.0
NationalSecurityAgency/ghidra
Ghidra/Features/Base/src/test/java/ghidra/program/database/RealProgramMTFModel.java
5594
/* ### * IP: GHIDRA * REVIEWED: YES * * 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 ag...
apache-2.0
Loofer/BaseNetWork
app/src/main/java/org/loofer/retrofit/account/AccountProvider.java
565
package org.loofer.retrofit.account; /** * ============================================================ * 版权: xx有限公司 版权所有(c)2016 * <p> * 作者:Loofer * 版本:1.0 * 创建日期 :2017/2/26 11:42. * 描述: * <p> * 注:如果您修改了本类请填写以下内容作为记录,如非本人操作劳烦通知,谢谢!!! * Modified Date Modify Content: * <p> * =================================...
apache-2.0
crate/crate
server/src/testFixtures/java/org/elasticsearch/cluster/ESAllocationTestCase.java
11333
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
apache-2.0
haipn/togoparts
src/sg/togoparts/login/Price.java
5083
package sg.togoparts.login; import java.text.DecimalFormat; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; import sg.togoparts.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.v...
apache-2.0
k82/kubernetes
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
20039
/* Copyright 2019 The Kubernetes Authors. 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 agreed to in writing, ...
apache-2.0
esteve/r2d2-nxt
cmake/Modules/CheckCXX11Features/cxx11-test-auto.cpp
228
int main() { auto i = 5; auto f = 3.14159f; auto d = 3.14159; bool ret = ( (sizeof(f) < sizeof(d)) && (sizeof(i) == sizeof(int)) ); return ret ? 0 : 1; }
apache-2.0
Ramagonibharath/Coffee
Assignment5/Obstack.java
653
import java.util.ArrayList; class ObStack<T> extends ArrayList<T> { private static final long serialVersionUID = 1L; final T pop() { final int last = this.size() - 1; return this.remove(last); } final void push(final T O) { add(O); } final T peek() { return get(this.size() - 1); } } ...
apache-2.0
QualiMaster/QM-IConf
QualiMasterApplication/src/de/uni_hildesheim/sse/qmApp/dialogs/AbstractDialog.java
2666
/* * Copyright 2009-2015 University of Hildesheim, Software Systems Engineering * * 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 * * ...
apache-2.0
kenmccracken/here-aaa-java-sdk
here-oauth-client/src/main/java/com/here/account/oauth2/AccessTokenRequest.java
4922
/* * Copyright (c) 2016 HERE Europe B.V. * * 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 o...
apache-2.0
googleapis/python-spanner-sqlalchemy
create_test_database.py
3339
# -*- coding: utf-8 -*- # # Copyright 2021 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
apache-2.0
Sp2000/colplus-backend
colplus-dao/src/main/java/life/catalogue/db/type2/AbstractSetTypeHandler.java
2131
/* * Copyright 2013 Global Biodiversity Information Facility (GBIF) * 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 copyTaxon of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by ...
apache-2.0
houdunwang/hdphp
vendor/houdunwang/aliyun/aliyun-openapi-php-sdk-master/aliyun-php-sdk-ecs/Ecs/Request/V20140526/DescribeImageSupportInstanceTypesRequest.php
2103
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
apache-2.0