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
import { Component, OnInit } from '@angular/core'; // import { TreeModule, TreeNode } from "primeng/primeng"; import { BlogPostService } from '../shared/blog-post.service'; import { BlogPostDetails } from '../shared/blog-post.model'; @Component({ selector: 'ejc-blog-archive', templateUrl: './blog-archive.compone...
ejchristie/ejchristie.github.io
src/app/blog/blog-archive/blog-archive.component.ts
TypeScript
mit
676
require 'active_record' module ActiveRecord class Migration def migrate_with_multidb(direction) if defined? self.class::DATABASE_NAME ActiveRecord::Base.establish_connection(self.class::DATABASE_NAME.to_sym) migrate_without_multidb(direction) ActiveRecord::Base.establish_connection(...
sinsoku/banana
lib/banana/migration.rb
Ruby
mit
462
const os = require("os"); const fs = require("fs"); const config = { } let libs; switch (os.platform()) { case "darwin": { libs = [ "out/Debug_x64/libpvpkcs11.dylib", "out/Debug/libpvpkcs11.dylib", "out/Release_x64/libpvpkcs11.dylib", "out/Release/libpvpkcs11.dylib", ]; break; ...
PeculiarVentures/pvpkcs11
test/config.js
JavaScript
mit
742
class RenameMembers < ActiveRecord::Migration[5.1] def change rename_table :members, :memberships end end
miljinx/helpdo-api
db/migrate/20170613234831_rename_members.rb
Ruby
mit
114
using System; using Xunit; using System.Linq; using hihapi.Models; using hihapi.Controllers; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.OData.Results; using hihapi.test.common; namespace hihapi.unittest.Finance { [Collection("HIHAPI_Un...
alvachien/achihapi
test/hihapi.test/UnitTests/Finance/Config/FinanceDocumentTypesControllerTest.cs
C#
mit
4,350
<?php # MantisBT - a php based bugtracking system # MantisBT 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 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
eazulay/mantis
signup.php
PHP
mit
2,896
team_mapping = { "SY": "Sydney", "WB": "Western Bulldogs", "WC": "West Coast", "HW": "Hawthorn", "GE": "Geelong", "FR": "Fremantle", "RI": "Richmond", "CW": "Collingwood", "CA": "Carlton", "GW": "Greater Western Sydney", "AD": "Adelaide", "GC": "Gold Coast", "ES": "Es...
bairdj/beveridge
src/scrapy/afltables/afltables/common.py
Python
mit
1,563
from keras.applications import imagenet_utils from keras.applications import mobilenet def dummyPreprocessInput(image): image -= 127.5 return image def getPreprocessFunction(preprocessType): if preprocessType == "dummy": return dummyPreprocessInput elif preprocessType == "mobilenet": ...
SlipknotTN/Dogs-Vs-Cats-Playground
deep_learning/keras/lib/preprocess/preprocess.py
Python
mit
511
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; namespace TheS.Runtime { internal class CallbackException : FatalException { public...
teerachail/SoapWithAttachments
JavaWsBinding/TheS.ServiceModel/_Runtime/CallbackException.cs
C#
mit
874
<?php namespace App\Http\Controllers; use App\Jobs\GetInstance; use App\Models\Build; use App\Models\Commit; use App\Models\Repository; use App\RepositoryProviders\GitHub; use Illuminate\Support\Facades\DB; class DashboardController extends Controller { public function index() { $repositories = Repos...
michaelst/ci
app/Http/Controllers/DashboardController.php
PHP
mit
2,283
#pragma once /** * Copyright (c) blueback * Released under the MIT License * https://github.com/bluebackblue/brownie/blob/master/LICENSE.txt * http://bbbproject.sakura.ne.jp/wordpress/mitlicense * @brief OpenGL。 */ /** include */ #pragma warning(push) #pragma warning(disable:4464) #include "../t...
bluebackblue/brownie
source/bsys/opengl/opengl_impl_actionbatching_shader_load.h
C
mit
2,340
<?php namespace Vich\UploaderBundle\Mapping; use Vich\UploaderBundle\Naming\NamerInterface; /** * PropertyMapping. * * @author Dustin Dobervich <ddobervich@gmail.com> */ class PropertyMapping { /** * @var \ReflectionProperty $property */ protected $property; /** * @var \ReflectionProp...
marius1092/test
vendor/bundles/Vich/UploaderBundle/Mapping/PropertyMapping.php
PHP
mit
4,671
------------------------------------------------------------------- -- The Long night -- The night gives me black eyes, but I use it to find the light. -- In 2017 -- 公共状态 ------------------------------------------------------------------- L_StatePublic = {} setmetatable(L_StatePublic, {__index = _G}) local _this = L_...
cheney247689848/Cloud-edge
Assets/Script_Lua/scene/L_StatePublic.lua
Lua
mit
2,033
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./ed6c3fe87a92e6b0939903db98d3209d32dcf2e96bee3586c1c6da3985c58ae4.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/287e3522261d64438d0e0f0d0ab25b1bbc0d4b902207719bf1a7761ee019b24a.html
HTML
mit
550
personalprojects ================ A bunch of little things I made in my freetime ### PyPong A simple pong game made in Python and Pygame. **Changes Made**: Made the AI a bit (a lot) worse, you can actually win now. ### Maze Runner A maze app that uses Deep Field Search (DFS) to make a perfect maze and then uses the...
tanishq-dubey/personalprojects
README.md
Markdown
mit
1,102
// Copyright (c) 2020 The Firo Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef FIRO_ELYSIUM_SIGMAWALLETV0_H #define FIRO_ELYSIUM_SIGMAWALLETV0_H #include "sigmawallet.h" namespace elysium { class Sigma...
zcoinofficial/zcoin
src/elysium/sigmawalletv0.h
C
mit
1,664
# Gears # *Documentation may be outdated or incomplete as some URLs may no longer exist.* *Warning! This codebase is deprecated and will no longer receive support; excluding critical issues.* A PHP class that loads template files, binds variables to a single file or globally without the need for custom placeholders/...
milesj/gears
docs/usage.md
Markdown
mit
6,088
/* * @Author: justinwebb * @Date: 2015-09-24 21:08:23 * @Last Modified by: justinwebb * @Last Modified time: 2015-09-24 22:19:45 */ (function (window) { 'use strict'; window.JWLB = window.JWLB || {}; window.JWLB.View = window.JWLB.View || {}; //------------------------------------------------------------...
JustinWebb/lightbox-demo
app/js/helpers/view/gallery.js
JavaScript
mit
3,410
module InfinityTest module Core class Base # Specify the Ruby Version Manager to run cattr_accessor :strategy # ==== Options # * :rvm # * :rbenv # * :ruby_normal (Use when don't pass any rubies to run) # * :auto_discover(defaults) self.strategy = :auto_discover ...
tomas-stefano/infinity_test
lib/infinity_test/core/base.rb
Ruby
mit
10,064
<?php session_start(); require_once('../php/conexion.php'); $conect = connect::conn(); $user = $_SESSION['usuario']; if($_SERVER['REQUEST_METHOD'] == 'POST'){ $sql = "insert into cotidiano (dir_origen,dir_destino,semana,hora,usuario,estado) values (?,?,?,?,?,?);"; $favo = sqlsrv_query($conect,$sql,array($_POST['...
smukideejeah/GaysonTaxi
cpanel/nuevoCotidiano.php
PHP
mit
822
holiwish ========
aldarondo/holiwish
README.md
Markdown
mit
18
python -m unittest
nrdhm/max_dump
test.sh
Shell
mit
20
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.MSProjectApi.Enums { /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff863548(v=office.14).aspx </remarks> [Support...
NetOfficeFw/NetOffice
Source/MSProject/Enums/PjMonthLabel.cs
C#
mit
3,276
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("Ci...
frostblooded/TelerikHomework
C# Part 1/ConsoleInputOutput/CircleAreaAndCircumference/Properties/AssemblyInfo.cs
C#
mit
1,428
//#define USE_TOUCH_SCRIPT using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; /* * ドラッグ操作でのカメラの移動コントロールクラス * マウス&タッチ対応 */ namespace GarageKit { [RequireComponent(typeof(Camera))] public class FlyThroughCamera : MonoBehaviour { public static bool...
sharkattack51/GarageKit_for_Unity
UnityProject/Assets/__ProjectName__/Scripts/Utils/CameraContorol/FlyThroughCamera.cs
C#
mit
13,347
"use strict"; const readdir = require("../../"); const dir = require("../utils/dir"); const { expect } = require("chai"); const through2 = require("through2"); const fs = require("fs"); let nodeVersion = parseFloat(process.version.substr(1)); describe("Stream API", () => { it("should be able to pipe to other strea...
BigstickCarpet/readdir-enhanced
test/specs/stream.spec.js
JavaScript
mit
7,232
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Font; use JMS\Serializer\Annotation\ExclusionPolicy; us...
romainneutron/PHPExiftool
lib/PHPExiftool/Driver/Tag/Font/PreferredSubfamily.php
PHP
mit
792
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (10.0.2) on Fri Sep 21 22:00:31 PDT 2018 --> <title>U-Index</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="da...
tliang1/Java-Practice
Practice/Intro-To-Java-8th-Ed-Daniel-Y.-Liang/Chapter-12/Chapter12P03/doc/index-files/index-2.html
HTML
mit
5,390
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.synapse.v2019_06_01_preview; import java.util.Co...
selvasingh/azure-sdk-for-java
sdk/synapse/mgmt-v2019_06_01_preview/src/main/java/com/microsoft/azure/management/synapse/v2019_06_01_preview/IntegrationRuntimeState.java
Java
mit
2,607
// Copyright 2015 Peter Beverloo. All rights reserved. // Use of this source code is governed by the MIT license, a copy of which can // be found in the LICENSE file. // Base class for a module. Stores the environment and handles magic such as route annotations. export class Module { constructor(env) { this.env_...
beverloo/node-home-server
src/module.js
JavaScript
mit
981
<?php /* * This file is part of PHP CS Fixer. * * (c) Fabien Potencier <fabien@symfony.com> * Dariusz Rumiński <dariusz.ruminski@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace PhpCsFixer\Fixer\PhpUnit; use PhpCsFixer...
cedricleblond35/capvisu-site_supervision
vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitFqcnAnnotationFixer.php
PHP
mit
1,919
--- layout: post title: "从头学算法(二、搞算法你必须知道的OJ)" date: 2016-12-20 11:36:52 categories: 数据结构及算法 tags: OJ algorithms mathjax: true --- 在没接触算法之前,我从没听说过OJ这个缩写,没关系,现在开始认识还来得及。等你真正开始研究算法,你才发现你又进入了一个新的世界。 这个世界,你不关注它的时候,它好像并不存在,而一旦你关注它了,每一个花草都让你叹为观止。 来看看百度百科是怎么说的吧: OJ是Online Judge系统的简称,用来在线检测程序源代码的正确性。著名的OJ有TYVJ、RQNOJ、U...
coldxiangyu/coldxiangyu.github.io
_posts/2016-12-20-从头学算法(二、搞算法你必须知道的OJ).md
Markdown
mit
2,556
package com.timotheteus.raincontrol.handlers; import com.timotheteus.raincontrol.tileentities.IGUITile; import com.timotheteus.raincontrol.tileentities.TileEntityInventoryBase; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiScreen; import net.minecraft.entity.player.EntityPlayer; import net....
kristofersokk/RainControl
src/main/java/com/timotheteus/raincontrol/handlers/GuiHandler.java
Java
mit
2,028
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2015, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
dayanstef/perfect-php-framework
index.php
PHP
mit
10,005
version https://git-lfs.github.com/spec/v1 oid sha256:be847f24aac166b803f1ff5ccc7e4d7bc3fb5d960543e35f779068a754294c94 size 1312
yogeshsaroya/new-cdnjs
ajax/libs/extjs/4.2.1/src/app/domain/Direct.js
JavaScript
mit
129
<?php namespace Matthimatiker\CommandLockingBundle\Locking; use Symfony\Component\Filesystem\LockHandler; /** * Uses files to create locks. * * @see \Symfony\Component\Filesystem\LockHandler * @see http://symfony.com/doc/current/components/filesystem/lock_handler.html */ class FileLockManager implements LockMan...
Matthimatiker/CommandLockingBundle
Locking/FileLockManager.php
PHP
mit
2,166
// Core is a collection of helpers // Nothing specific to the emultor application "use strict"; // all code is defined in this namespace window.te = window.te || {}; // te.provide creates a namespace if not previously defined. // Levels are seperated by a `.` Each level is a generic JS object. // Example: // te....
tyleregeto/8bit-emulator
src/core.js
JavaScript
mit
1,772
## # Backup v4.x Configuration # # Documentation: http://meskyanichi.github.io/backup # Issue Tracker: https://github.com/meskyanichi/backup/issues ## # Config Options # # The options here may be overridden on the command line, but the result # will depend on the use of --root-path on the command line. # # If --root-p...
dockerizedrupal/backer
src/backer/build/modules/build/files/root/Backup/config.rb
Ruby
mit
3,832
import Ember from 'ember'; let __TRANSLATION_MAP__ = {}; export default Ember.Service.extend({ map: __TRANSLATION_MAP__ });
alexBaizeau/ember-fingerprint-translations
app/services/translation-map.js
JavaScript
mit
126
import React from 'react'; <<<<<<< HEAD import { Switch, Route } from 'react-router-dom'; import Home from './Home'; import About from './About'; import Blog from './Blog'; import Resume from './Resume'; import Error404 from './Error404'; ======= // import GithubForm from './forms/github/GithubForm'; import GithubRec...
slkjse9/slkjse9.github.io
src/components/Content.js
JavaScript
mit
2,049
package cmd import ( "github.com/fatih/color" out "github.com/plouc/go-gitlab-client/cli/output" "github.com/spf13/cobra" ) func init() { getCmd.AddCommand(getProjectVarCmd) } var getProjectVarCmd = &cobra.Command{ Use: resourceCmd("project-var", "project-var"), Aliases: []string{"pv"}, Short: "Get the ...
plouc/go-gitlab-client
cli/cmd/get_project_var_cmd.go
GO
mit
873
export interface IContact { id?: number; email: string; listName: string; name: string; }
SimpleCom/simplecom-web
src/interfaces/contacts.interface.ts
TypeScript
mit
98
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2020 // // 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 r...
FacticiusVir/SharpVk
src/SharpVk/Interop/ExternalMemoryImageCreateInfo.gen.cs
C#
mit
1,882
package unit.com.bitdubai.fermat_dmp_plugin.layer.basic_wallet.bitcoin_wallet.developer.bitdubai.version_1.structure.BitcoinWalletBasicWalletAvailableBalance; import com.bitdubai.fermat_api.layer.dmp_basic_wallet.common.exceptions.CantRegisterCreditException; import com.bitdubai.fermat_api.layer.dmp_basic_wallet.bitco...
fvasquezjatar/fermat-unused
DMP/plugin/basic_wallet/fermat-dmp-plugin-basic-wallet-bitcoin-wallet-bitdubai/src/test/java/unit/com/bitdubai/fermat_dmp_plugin/layer/basic_wallet/bitcoin_wallet/developer/bitdubai/version_1/structure/BitcoinWalletBasicWalletAvailableBalance/CreditTest.java
Java
mit
5,641
using System; namespace Sherlock { /// <summary> /// A reader than can read values from a pipe. /// </summary> /// <typeparam name="T">The type of value to read.</typeparam> public interface IPipeReader<T> : IDisposable { /// <summary> /// Attempts to read a value from the pipe...
tessellator/sherlock
Sherlock/IPipeReader.cs
C#
mit
742
# Nitrogen 2.0 New Features ### New Elements, Actions, and API functions * wf:wire can now act upon CSS classes or full JQuery Paths, not just Nitrogen elements. For example, wf:wire(".people > .address", Actions) will wire actions to any HTML elements with an "address" class underneath a "people" class. Anything on ...
kbaldyga/Bazy
CHANGELOG.markdown
Markdown
mit
5,623
package gogo import ( "net/http" "net/http/httptest" "testing" "github.com/golib/assert" ) func Test_NewResponse(t *testing.T) { it := assert.New(t) recorder := httptest.NewRecorder() response := NewResponse(recorder) it.Implements((*Responser)(nil), response) it.Equal(http.StatusOK, response.Status()) it...
dolab/gogo
response_test.go
GO
mit
2,566
#if !defined(AFX_DIALOG3_H__8EF7DE42_F33E_4217_87B0_FE9ACBCE3E84__INCLUDED_) #define AFX_DIALOG3_H__8EF7DE42_F33E_4217_87B0_FE9ACBCE3E84__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Dialog3.h : header file // ////////////////////////////////////////////////////////////////////////...
Hao-Wu/MEDA
Dialog3.h
C
mit
1,146
# Load DSL and set up stages require 'capistrano/setup' # Include default deployment tasks require 'capistrano/deploy' # Include tasks from other gems included in your Gemfile require 'capistrano/rvm' require 'capistrano/bundler' require 'capistrano/rails' require 'capistrano/rails/migrations' require 'capistrano/ngi...
a11ejandro/project_prototype
Capfile.rb
Ruby
mit
501
var mongoose = require('mongoose'); var bcrypt = require('bcrypt'); var saltRounds = 10; var userSchema = new mongoose.Schema({ email: { type: String, index: {unique: true} }, password: String, name: String }); //hash password userSchema.methods.generateHash = function(password){ return bcrypt.hashSync(passw...
zymokey/mission-park
models/user/user.js
JavaScript
mit
541
<?php namespace Wolphy\Jobs; use Illuminate\Bus\Queueable; abstract class Job { /* |-------------------------------------------------------------------------- | Queueable Jobs |-------------------------------------------------------------------------- | | This job base class provides a centra...
lezhnev74/wolphy
app/Jobs/Job.php
PHP
mit
538
#!/bin/sh echo "Stopping web-server ..." COUNT_PROCESS=1 while [ $COUNT_PROCESS -gt 0 ] do COUNT_PROCESS=`ps -Aef | grep node | grep -c server.js` if [ $COUNT_PROCESS -gt 0 ]; then PID_PROCESS=`ps -Aef | grep node | grep server.js | awk '{print $2}'` if [ ! -z "$PID_PROCESS" ]; then echo "Killing web server P...
stefanreichhart/tribe
src/scripts/stopServer.sh
Shell
mit
468
<?php namespace RectorPrefix20210615; if (\class_exists('t3lib_collection_StaticRecordCollection')) { return; } class t3lib_collection_StaticRecordCollection { } \class_alias('t3lib_collection_StaticRecordCollection', 't3lib_collection_StaticRecordCollection', \false);
RectorPHP/Rector
vendor/ssch/typo3-rector/stubs/t3lib_collection_StaticRecordCollection.php
PHP
mit
276
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die m...
Aniel/RedditImageDownloader
RedditImageDownloader.GUI/Properties/AssemblyInfo.cs
C#
mit
2,715
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = 'ar' from layers_basic import LW_Layer, default_data_format from layers_convolutional import conv_output_length ############################################### class _LW_Pooling1D(LW_Layer): input_dim = 3 def __init__(self, pool_size=2, strides=None, padd...
SummaLabs/DLS
app/backend/core/models-keras-2x-api/lightweight_layers/layers_pooling.py
Python
mit
7,111
class CreateEventTypes < ActiveRecord::Migration def change create_table :event_types do |t| t.string :name, :limit => 80 t.timestamps end end end
nac13k/iAdmin
db/migrate/20140408042944_create_event_types.rb
Ruby
mit
172
/* * Copyright 2013 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
kangseung/JSTrader
include/mongoc-win/libbson/bson-compat.h
C
mit
3,827
require "empty_port/version" require 'socket' require 'timeout' # ## Example # require 'empty_port' # class YourServerTest < Test::Unit::TestCase # def setup # @port = EmptyPort.get # @server_pid = Process.fork do # server = TCPServer.open('localhost', @port) # end # ...
walf443/empty_port
lib/empty_port.rb
Ruby
mit
1,760
module.exports = { 'throttle': 10, 'hash': true, 'gzip': false, 'baseDir': 'public', 'buildDir': 'build', 'prefix': '' };
wunderlist/bilder-aws
lib/defaults.js
JavaScript
mit
133
.vertical-center { min-height: 100%; /* Fallback for browsers do NOT support vh unit */ min-height: 100vh; /* These two lines are counted as one :-) */ display: flex; align-items: center; } @media (min-width: 768px){ #wrapper {/*padding-right: 225px;*/ padding-left: 0;} .side-nav{right: 0;left: aut...
antodoms/beaconoid
app/assets/stylesheets/admin.css
CSS
mit
3,884
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>使用 button 定义按钮</title> </head> <body> <form action="http://www.baidu.com" method="get"> <button type="button"><b>提交</b></button><br/> <button type="submit"><img sec="./img/3.jpg" alt="图片"></button><br/> </form> </body>...
llinmeng/learn-fe
src/ex/crazy-fe-book/2017/H5/03/3-1-4.html
HTML
mit
351
--- layout: post title: Tweets date: 2019-08-08 summary: These are the tweets for August 8, 2019. categories: ---
alexlitel/congresstweets
_posts/2019-08-08--tweets.md
Markdown
mit
115
import type { FormatRelativeFn } from '../../../types' // Source: https://www.unicode.org/cldr/charts/32/summary/te.html const formatRelativeLocale = { lastWeek: "'గత' eeee p", // CLDR #1384 yesterday: "'నిన్న' p", // CLDR #1393 today: "'ఈ రోజు' p", // CLDR #1394 tomorrow: "'రేపు' p", // CLDR #1395 nextWeek...
date-fns/date-fns
src/locale/te/_lib/formatRelative/index.ts
TypeScript
mit
557
INSERT INTO customers(id, name) VALUES (1, 'Jane Woods'); INSERT INTO customers(id, name) VALUES (2, 'Michael Li'); INSERT INTO customers(id, name) VALUES (3, 'Heidi Hasselbach'); INSERT INTO customers(id, name) VALUES (4, 'Rahul Pour');
afh/yabab
pre-populate.sql
SQL
mit
238
/* * * BitcoinLikeKeychain * ledger-core * * Created by Pierre Pollastri on 17/01/2017. * * The MIT License (MIT) * * Copyright (c) 2016 Ledger * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
LedgerHQ/lib-ledger-core
core/src/wallet/bitcoin/keychains/BitcoinLikeKeychain.hpp
C++
mit
4,962
<?php namespace AppBundle\Repository; /** * Buyers_PropertiesRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class Buyers_PropertiesRepository extends \Doctrine\ORM\EntityRepository { }
asimo124/MLSSite
src/AppBundle/Repository/Buyers_PropertiesRepository.php
PHP
mit
257
#!/usr/bin/env ruby #Example handler file.. infile = ARGV.first outfile = File.basename(infile, ".tif") + ".jpg.tif" system("~/cm/processing_scripts/rgb_to_jpeg_tif.rb --internal-mask #{infile} #{outfile}")
spruceboy/jays_geo_tools
examples/sample_handler_for_do_several_at_once.rb
Ruby
mit
210
using Newtonsoft.Json; using ProtoBuf; using ITK.ModelManager; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Steam.Models { [Model("SteamPlayerBans")] [ProtoContract] [JsonObject(MemberSerialization.OptIn)] public class Pl...
inlinevoid/Overust
Steam/Models/PlayerBans.cs
C#
mit
2,083
/* * Business.h * UsersService * * Copyright 2011 QuickBlox team. All rights reserved. * */ #import "QBUsersModels.h"
bluecitymoon/demo-swift-ios
demo-swift/Quickblox.framework/Versions/A/Headers/QBUsersBusiness.h
C
mit
128
--- layout: post title: ESPN took a picture of me categories: link --- Check [this link](http://espn.go.com/college-football/story/_/id/9685394/how-do-nebraska-fans-feel-bo-pelini-recent-behavior) for some story about Bo Pelini's goofing off, and -- look there in the last photo! -- it's some goofball in a Nebras...
samervin/blog.samerv.in
_posts/link/2013-09-17-espn-picture.md
Markdown
mit
332
// // GFTestAppDelegate.h // TestChaosApp // // Created by Michael Charkin on 2/26/14. // Copyright (c) 2014 GitFlub. All rights reserved. // #import <UIKit/UIKit.h> @interface GFTestAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
firemuzzy/GFChaos
TestChaosApp/TestChaosApp/GFTestAppDelegate.h
C
mit
294
var modules = { "success" : [ {id: 1, name:"控制台", code:"console", protocol:"http", domain:"console.ecc.com", port:"18333", created:'2017-03-08 00:00:00', creator:'1', modified:'2017-03-08 00:00:00', modifier:'1'}, {id: 2, name:"服务中心", code:"service-center", protocol:"http", domain:"sc.ecc.com", port:"18222", creat...
chinakite/wukong
data/datas/modules.js
JavaScript
mit
545
const { createServer, plugins: { queryParser, serveStatic } } = require('restify'); const { join } = require('path'); const fetch = require('node-fetch'); const proxy = require('http-proxy-middleware'); const { PORT = 5000 } = process.env; const server = createServer(); server.use(queryParser()); server.get('/',...
billba/botchat
packages/embed/hostDevServer.js
JavaScript
mit
1,094
/** * @author: * @date: 2016/1/21 */ define(["core/js/layout/Panel"], function (Panel) { var view = Panel.extend({ /*Panel的配置项 start*/ title:"表单-", help:"内容", brief:"摘要", /*Panel 配置 End*/ oninitialized:function(triggerEvent){ ...
huangfeng19820712/hfast
example/view/tree/treeAndTable.js
JavaScript
mit
2,606
# Django Media Albums [![Build Status](https://travis-ci.org/VelocityWebworks/django-media-albums.svg?branch=master)](https://travis-ci.org/VelocityWebworks/django-media-albums) This app is used to create albums consisting of any combination of the following: * Photos * Video files * Audio files This app also optio...
VelocityWebworks/django-media-albums
README.md
Markdown
mit
6,320
<!-- Safe sample input : get the $_GET['userData'] in an array sanitize : settype (float) File : unsafe, use of untrusted data in a comment --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this software and its doc...
stivalet/PHP-Vulnerability-test-suite
XSS/CWE_79/safe/CWE_79__array-GET__CAST-func_settype_float__Unsafe_use_untrusted_data-comment.php
PHP
mit
1,367
$('#modalUploader').on('show.bs.modal', function (event) { var uploader = new qq.FileUploaderBasic({ element: document.getElementById('file-uploader-demo1'), button: document.getElementById('areaSubir'), action: '/Files/Upload', params: { ruta: $('#RutaActual').val() }, allo...
walalm/MVC-Azure-Explorer
MVC_Azure_Explorer/MVC_Azure_Explorer/Scripts/UtilsFileManager.js
JavaScript
mit
2,111
// setToken when re-connecting var originalReconnect = Meteor.connection.onReconnect; Meteor.connection.onReconnect = function() { setToken(); if(originalReconnect) { originalReconnect(); } }; if(Meteor.status().connected) { setToken(); } function setToken() { var firewallHumanToken = Cookie.get('sikka-...
meteorhacks/sikka
lib/client/core.js
JavaScript
mit
631
<% nameScope = @config['name_scope'] %> </div> </div> </div> <footer class="cortana-footer"> Build with love using Trulia's <a href="https://github.com/trulia/hologram">Hologram</a> and <a href="https://github.com/Yago/Cortana">Cortana</a> ! </footer> </div> <script src="theme-bu...
yorthehunter/humblekit
vendor/assets/bower_components/Cortana/_footer.html
HTML
mit
2,093
// // rbLinkedList.h // rbLinkedList // // Created by Ryan Bemowski on 4/6/15. // #pragma once #include <string> struct Node { int key; Node *next; }; class rbLinkedList { public: /** Constructor for the rbLinkedList class. */ rbLinkedList(); /** Deconstructor for the rbLinkedList class...
rrbemo/cppLinkedList
ccpLinkedList/rbLinkedList.h
C
mit
835
// // KAAppDelegate.h // UIViewController-KeyboardAdditions // // Created by CocoaPods on 02/03/2015. // Copyright (c) 2014 Andrew Podkovyrin. All rights reserved. // #import <UIKit/UIKit.h> @interface KAAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
podkovyrin/UIViewController-KeyboardAdditions
Example/UIViewController-KeyboardAdditions/KAAppDelegate.h
C
mit
315
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Example</title> <link rel="stylesheet" href="css/base.css" /> <script src="../../asset/react/react.js"></script> <script src="../../asset/react/react-dom.js"></script> <script src="../../asset/react/browser.min.js"></script> ...
MR03/exercise-test-demo
demo/demo004/003.html
HTML
mit
921
using System.Collections.ObjectModel; using System.ComponentModel; using GalaSoft.MvvmLight.Command; namespace Treehopper.Mvvm.ViewModels { /// <summary> /// A delegate called when the selected board changes /// </summary> /// <param name="sender">The caller</param> /// <param name="e">The new...
treehopper-electronics/treehopper-sdk
NET/Demos/WPF/DeviceManager/ViewModels/ISelectorViewModel.cs
C#
mit
2,665
import React from 'react'; import ReactDOM from 'react-dom'; import componentOrElement from 'react-prop-types/lib/componentOrElement'; import ownerDocument from './utils/ownerDocument'; import getContainer from './utils/getContainer'; /** * The `<Portal/>` component renders its children into a new "subtree" outside o...
HPate-Riptide/react-overlays
src/Portal.js
JavaScript
mit
3,227
dojo.provide("plugins.dijit.SyncDialog"); // HAS A dojo.require("dijit.Dialog"); dojo.require("dijit.form.Button"); dojo.require("dijit.form.ValidationTextBox"); // INHERITS dojo.require("plugins.core.Common"); dojo.declare( "plugins.dijit.SyncDialog", [ dijit._Widget, dijit._Templated, plugins.core.Common ], { /...
agua/aguadev
html/plugins/dijit/SyncDialog.js
JavaScript
mit
5,315
namespace TraktApiSharp.Objects.Basic.Json.Factories { using Objects.Basic.Json.Reader; using Objects.Basic.Json.Writer; using Objects.Json; internal class CommentLikeJsonIOFactory : IJsonIOFactory<ITraktCommentLike> { public IObjectJsonReader<ITraktCommentLike> CreateObjectReader() => new...
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Basic/Json/Factories/CommentLikeJsonIOFactory.cs
C#
mit
583
package com.sdl.selenium.extjs3.button; import com.sdl.selenium.bootstrap.button.Download; import com.sdl.selenium.extjs3.ExtJsComponent; import com.sdl.selenium.web.SearchType; import com.sdl.selenium.web.WebLocator; public class DownloadLink extends ExtJsComponent implements Download { public Download...
sdl/Testy
src/main/java/com/sdl/selenium/extjs3/button/DownloadLink.java
Java
mit
1,642
angular.module('perCapita.controllers', []) .controller('AppCtrl', ['$scope', '$rootScope', '$ionicModal', '$timeout', '$localStorage', '$ionicPlatform', 'AuthService', function ($scope, $rootScope, $ionicModal, $timeout, $localStorage, $ionicPlatform, AuthService) { $scope.loginData = $localStorage.getOb...
vjuylov/percapita-mobile
www/js/controllers/controllers.js
JavaScript
mit
8,105
# VBA.ModernTheme ### Windows Phone Colour Palette and<p>Colour Selector using WithEvents Version 1.0.1 The *Windows Phone Theme Colours* is a tight, powerful, and well balanced palette. This tiny Microsoft Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing *Wi...
GustavBrock/VBA.ModernTheme
README.md
Markdown
mit
1,060
var http = require("http"); var querystring = require("querystring"); // 核心模块 var SBuffer=require("../tools/SBuffer"); var common=require("../tools/common"); var zlib=require("zlib"); var redis_pool=require("../tools/connection_pool"); var events = require('events'); var util = require('util'); function ProxyAgent(...
RazarDessun/fastProxy
test/test_timeout2.js
JavaScript
mit
11,087
--- layout: post title: "Hello World" image: feature: nomadsland.jpg date: 2016-09-19 20:24:11 +0200 categories: personal, coding --- I enjoy tinkering - building little electronic gadgets and apps - especially if it has something to do with [cryptocurrencies]. Currently my day-job is building Bitcoin infrastructu...
carelvwyk/carelvwyk.github.io
_posts/2016-09-19-hello-world.markdown
Markdown
mit
3,210
<?php namespace RobotsTxtParser; class CommentsTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider generateDataForTest */ public function testRemoveComments($robotsTxtContent) { $parser = new RobotsTxtParser($robotsTxtContent); $rules = $parser->getRules('*...
bopoda/robots-txt-parser
tests/RobotsTxtParser/CommentsTest.php
PHP
mit
1,834
/* * The MIT License * * Copyright 2016 njacinto. * * 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...
njacinto/Utils
src/main/java/org/nfpj/utils/arrays/ArrayFilterIterator.java
Java
mit
3,840
--- layout: post title: slacker로 slack bot 만들기 comments: true tags: - python - slack - 봇 - slacker --- &nbsp;&nbsp;&nbsp; 멘토님께서 라인의 `notification`을 이용해서 봇 만든것을 보고 따라 만들었다. 봇 만들고 싶은데 핑계가 없어서 고민하다가 동아리에서 `slack`을 쓰기 때문에 슬랙봇을 만들어보기로 했다. 스터디하는 사람들을 대상으로 커밋한지 얼마나 되었는지 알려주는 용도로 만들었다. 결과물은 아래와 같다. <img src="/images/commit-be...
hyesun03/hyesun03.github.io
_posts/2016-10-08-slackbot.md
Markdown
mit
4,664
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosHeart extends React.Component { render() { if(this.props.bare) { return <g> <path d="M359.385,80C319.966,80,277.171,97.599,256,132.8C234.83,97.599,192.034,80,152.615,80C83.647,80,32,123.238,32,195.779 c0,...
fbfeix/react-icons
src/icons/IosHeart.js
JavaScript
mit
1,031
<?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SPECIALS); $breadcrumb->add(NAVBAR_TITL...
gliss/oscommerce-bootstrap
catalog/specials.php
PHP
mit
3,956
--- layout: home title: JARVARS comments: false ---
jarvars/jarvars.github.io
index.html
HTML
mit
52
{% extends "admin/base.html" %} {% load i18n %} {% block title %}{{ title }} | {% trans 'lab purchase management' %}{% endblock %} {% block branding %} <h1 id="site-name">{% trans 'LabHamster' %}</h1> {% endblock %} {% block nav-global %}{% endblock %}
graik/labhamster
site_templates/admin/base_site.html
HTML
mit
256
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockitousage.verification; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import static org.mo...
ze-pequeno/mockito
src/test/java/org/mockitousage/verification/AtMostXVerificationTest.java
Java
mit
3,400
<?php declare(strict_types=1); namespace Atk4\Ui\Demos; use Atk4\Ui\Crud; use Atk4\Ui\UserAction\ExecutorFactory; // Test for hasOne Lookup as dropdown control. /** @var \Atk4\Ui\App $app */ require_once __DIR__ . '/../init-app.php'; $model = new Product($app->db); $model->addCondition($model->fieldName()->name, ...
atk4/ui
demos/_unit-test/lookup.php
PHP
mit
709