identifier stringlengths 42 383 | collection stringclasses 1
value | open_type stringclasses 1
value | license stringlengths 0 1.81k | date float64 1.99k 2.02k ⌀ | title stringlengths 0 100 | creator stringlengths 1 39 | language stringclasses 157
values | language_type stringclasses 2
values | word_count int64 1 20k | token_count int64 4 1.32M | text stringlengths 5 1.53M | __index_level_0__ int64 0 57.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/knugraha/dega-admin-portal/blob/master/src/App.js | Github Open Source | Open Source | MIT | null | dega-admin-portal | knugraha | JavaScript | Code | 55 | 185 | import React from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import 'antd/dist/antd.css';
import BasicLayout from './layouts/basic';
//Routes
import routes from './config/routesConfig';
function App() {
return (
<div className="App">
<Router basename={process.env.PU... | 36,792 |
https://github.com/retailone/retailone/blob/master/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Helper.php | Github Open Source | Open Source | MIT | 2,015 | retailone | retailone | PHP | Code | 734 | 2,001 | <?php
namespace yajra\Datatables;
use DateTime;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Str;
use Illuminate\View\Compilers\BladeCompiler;
class Helper
{
/**
* Places item of extra columns into results by care of their order.
*
* @pa... | 1,857 |
https://github.com/aydal/pyvisgraph/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,020 | pyvisgraph | aydal | Ignore List | Code | 5 | 32 | build/*
dist/*
pyvisgraph/*.pyc
mercatorvisv.py
pyvisgraph.egg-info*
| 39,250 |
https://github.com/kojingbo/llvm/blob/master/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll | Github Open Source | Open Source | NCSA | 2,016 | llvm | kojingbo | LLVM | Code | 1,299 | 6,155 | ; NOTE: Assertions have been autogenerated by update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512vl --show-mc-encoding| FileCheck %s
declare void @llvm.x86.avx512.mask.store.pd.128(i8*, <2 x double>, i8)
define void@test_int_x86_avx512_mask_store_pd_128(i8* %ptr1, i8* %ptr2... | 7,019 |
https://github.com/Corpus-2021/nakedobjects-4.0.0/blob/master/plugins/dnd-viewer/src/main/java/org/nakedobjects/plugins/dnd/viewer/content/CollectionElement.java | Github Open Source | Open Source | Apache-2.0 | null | nakedobjects-4.0.0 | Corpus-2021 | Java | Code | 197 | 639 | package org.nakedobjects.plugins.dnd.viewer.content;
import org.nakedobjects.metamodel.adapter.NakedObject;
import org.nakedobjects.metamodel.commons.debug.DebugString;
import org.nakedobjects.metamodel.commons.exceptions.NakedObjectException;
import org.nakedobjects.metamodel.consent.Consent;
import org.nakedobjects.... | 46,400 |
https://github.com/wm31898/msy/blob/master/api/application/ucenter/controller/UserCenter.php | Github Open Source | Open Source | Apache-2.0 | 2,019 | msy | wm31898 | PHP | Code | 136 | 730 | <?php
namespace app\ucenter\controller;
class UserCenter extends \think\Controller{
/**登录
*/
public function login(){
if (request()->isAjax()) {
$modelUser = new \common\model\UserCenter();
$postData = input('post.');
$res = $modelUser->login($postData);
... | 42,567 |
https://github.com/WolfgangFahl/play-chess-with-a-webcam/blob/master/pcwawc/detectstate.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | play-chess-with-a-webcam | WolfgangFahl | Python | Code | 255 | 1,297 | # part of https://github.com/WolfgangFahl/play-chess-with-a-webcam
'''
Created on 27.11.2019
we could have used:
see https://github.com/pytransitions/transitions
see https://www.zeolearn.com/magazine/writing-maintainable-code-using-sate-machines-in-python
but we don't for the time being
@author: wf
'''
from timeit im... | 6,283 |
https://github.com/baravak/risloo-client/blob/master/resources/views/dashboard/client-reports/show.blade.php | Github Open Source | Open Source | MIT | null | risloo-client | baravak | PHP | Code | 226 | 1,011 | @extends($layouts->dashboard)
@section('content')
<div class="border border-gray-300 rounded mx-auto p-4 mt-8 w-full md:w-1/2 relative">
@if (isset($room) && $room->manager->user_id == auth()->id())
<a href="{{ route('dashboard.client-reports.edit', $report->id) }}" class="flex items-center justify-center t... | 46,493 |
https://github.com/9fans/plan9port/blob/master/src/lib9pclient/fs.c | Github Open Source | Open Source | MIT, bzip2-1.0.6, LPL-1.02 | 2,023 | plan9port | 9fans | C | Code | 839 | 3,099 | /* Copyright (C) 2003 Russ Cox, Massachusetts Institute of Technology */
/* See COPYRIGHT */
#include <u.h>
#include <libc.h>
#include <fcall.h>
#include <9pclient.h>
#include <thread.h>
#include "fsimpl.h"
static int _fssend(Mux*, void*);
static void *_fsrecv(Mux*);
static int _fsgettag(Mux*, void*);
static int _fss... | 25,423 |
https://github.com/bnayae/rx-cs/blob/master/Exercises/02 Cond Cancel/Program.cs | Github Open Source | Open Source | MIT | 2,019 | rx-cs | bnayae | C# | Code | 98 | 348 | using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
// TODO: offset 'false' by 0.5 second and ignore it if 'true' produce during the offset
namespace _02_Cond_Cancel
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Start");
var... | 7,306 |
https://github.com/necronwarrior/T_T/blob/master/New Unity Project/Assets/Resources/Prefabs/LevelPrefabs/LV4.prefab.meta | Github Open Source | Open Source | Apache-2.0 | 2,018 | T_T | necronwarrior | Unity3D Asset | Code | 14 | 75 | fileFormatVersion: 2
guid: 0b708588b61d3b44a92dec976627bc13
timeCreated: 1522332182
licenseType: Free
NativeFormatImporter:
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| 21,386 |
https://github.com/C3RV1/Prive/blob/master/tests/guiClient/guiClient.py | Github Open Source | Open Source | MIT | 2,019 | Prive | C3RV1 | Python | Code | 1,602 | 8,431 | from Tkinter import *
import ttk
import tkFileDialog
import PriveAPI.PriveAPI as PriveAPI
import os
import json
from customTkinter import *
class App:
def __init__(self):
if not os.path.isfile("priveConfigFile.pcf"):
sys.exit(1)
clientConfigFile = open("priveConfigFile.pcf", "r")
... | 13,390 |
https://github.com/jcapellman/TizenLocker/blob/master/src/TizenLocker/Views/ScanPage.xaml.cs | Github Open Source | Open Source | MIT | 2,020 | TizenLocker | jcapellman | C# | Code | 22 | 88 | using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace TizenLocker.Tizen.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ScanPage : ContentPage
{
public ScanPage()
{
InitializeComponent();
}
}
} | 39,194 |
https://github.com/ALongWay/ALWAppResourcesManager/blob/master/Example/Pods/Headers/Private/ALWlibwebp/dsp.h | Github Open Source | Open Source | MIT | 2,017 | ALWAppResourcesManager | ALongWay | C | Code | 1 | 30 | ../../../ALWlibwebp/ALWlibwebp/Classes/libwebp/src/dsp/dsp.h | 2,583 |
https://github.com/tvernum/terebi/blob/master/modules/lpc/source/java/compiler/us/terebi/lang/lpc/compiler/java/context/ObjectId.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | terebi | tvernum | Java | Code | 326 | 766 | /* ------------------------------------------------------------------------
* Copyright 2009 Tim Vernum
* ------------------------------------------------------------------------
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... | 5,465 |
https://github.com/andrew-johnson-4/crates.io/blob/master/app/components/crate-downloads-list.module.css | Github Open Source | Open Source | Apache-2.0, MIT | 2,020 | crates.io | andrew-johnson-4 | SCSS | Code | 31 | 103 | .list {
list-style: none;
padding: 0;
}
.row {
margin: 8px 0;
}
.link {
color: #525252;
background-color: #edebdd;
font-size: 90%;
padding: 20px 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
| 32,523 |
https://github.com/codebybrett/rebol-source-scripting/blob/master/201512-file-headers/config.reb | Github Open Source | Open Source | Apache-2.0 | 2,018 | rebol-source-scripting | codebybrett | null | Spoken | 29 | 119 | REBOL [
title: {Config}
]
ren-c-root: clean-path %../../ren-c/
;;target-root: clean-path %../../temporary.201512-file-headers/
target-root: ren-c-root
if not exists? target-root [
fail [{Target-root} target-root {does not exist.}]
]
conversion/source.folder: ren-c-root
conversion/target.folder: target-root
| 20,901 |
https://github.com/bwlang/galaxy/blob/master/test/shed_functional/functional/test_0030_repository_dependency_revisions.py | Github Open Source | Open Source | CC-BY-2.5, AFL-2.1, AFL-3.0, CC-BY-3.0, LicenseRef-scancode-unknown-license-reference | 2,019 | galaxy | bwlang | Python | Code | 536 | 3,307 | from shed_functional.base.twilltestcase import common, ShedTwillTestCase
datatypes_repository_name = 'emboss_datatypes_0030'
datatypes_repository_description = "Galaxy applicable data formats used by Emboss tools."
datatypes_repository_long_description = "Galaxy applicable data formats used by Emboss tools. This repo... | 36,168 |
https://github.com/JLIspace/AutoTag/blob/master/autotag.Core/TVProcessor.cs | Github Open Source | Open Source | MIT | null | AutoTag | JLIspace | C# | Code | 477 | 1,613 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using TvDbSharper;
using TvDbSharper.Dto;
namespace autotag.Core {
public class TVProcessor : IProcessor {
private ITvDbClient tvdb;
private Dictionary<string, List<SeriesSearchResul... | 39,942 |
https://github.com/trassir/conan-center-index/blob/master/recipes/bzip2/1.0.8/conanfile.py | Github Open Source | Open Source | MIT | 2,022 | conan-center-index | trassir | Python | Code | 162 | 719 | import os
from conans import ConanFile, CMake, tools
class Bzip2Conan(ConanFile):
name = "bzip2"
version = "1.0.8"
url = "https://github.com/conan-io/conan-center-index"
homepage = "http://www.bzip.org"
license = "bzip2-1.0.8"
description = "bzip2 is a free and open-source file compression... | 12,130 |
https://github.com/MatejMecka/Arbify/blob/master/app/Http/Controllers/ProjectMemberController.php | Github Open Source | Open Source | Apache-2.0 | null | Arbify | MatejMecka | PHP | Code | 199 | 806 | <?php
namespace App\Http\Controllers;
use App\Contracts\Repositories\ProjectMemberRepository;
use App\Contracts\Repositories\UserRepository;
use App\Http\Requests\StoreProjectMember;
use App\Models\Project;
use App\Models\ProjectMember;
use Illuminate\View\View;
use Symfony\Component\HttpFoundation\Response;
class P... | 28,330 |
https://github.com/TerrasAppSolutions/seeg-mapbiomas-workspace/blob/master/app/Config/sql/sqlite_matrix_municipios.sql | Github Open Source | Open Source | MIT | 2,018 | seeg-mapbiomas-workspace | TerrasAppSolutions | SQL | Code | 216 | 647 | --Municipios
SELECT 'Município' 'Categoria', tba.mun_name 'Unidade Geográfica', cla1.name 'Classe Ano 1', cla2.name 'Classe Ano 2',
replace(cast(tb1.area/10000 as str), ".", ",") '2008-2009 (ha)',
replace(cast(tb2.area/10000 as str), ".", ",") '2009-2010 (ha)',
replace(cast(tb3.area/10000 as str), ".", ",") '2010-201... | 3,737 |
https://github.com/Callidon/ObjectifCanapi/blob/master/src/Bibliotheque.cpp | Github Open Source | Open Source | MIT | 2,014 | ObjectifCanapi | Callidon | C++ | Code | 750 | 1,993 | /*!
* \file Bibliotheque.cpp
* \brief Fichier contenant l'implémentation de la classe Bibliotheque
* \author Camille Le Luët
* \author Thomas Minier
* \date 26.11.2014
*/
#include "Bibliotheque.hpp"
#include "Factory/FactorySQLFilm.hpp"
#include "Factory/FactorySQLSerie.hpp"
#include "Factory/FactoryOMDBFilm.hpp"
#inc... | 43,480 |
https://github.com/jsuurd/dxa-web-application-dotnet/blob/master/Sdl.Web.Tridion.Tests/TestRegistration.cs | Github Open Source | Open Source | Apache-2.0 | 2,016 | dxa-web-application-dotnet | jsuurd | C# | Code | 261 | 1,105 | using System;
using Sdl.Web.Common.Models;
namespace Sdl.Web.Tridion.Tests
{
internal static class TestRegistration
{
internal static void RegisterCoreViewModels()
{
// Entity Views
RegisterViewModel("Accordion", typeof(ItemList));
RegisterViewModel("Articl... | 15,402 |
https://github.com/maghag/devon/blob/master/oasp4j-samples/oasp4j-sample-core/src/main/java/io/oasp/gastronomy/restaurant/offermanagement/logic/impl/usecase/UcManageProductImpl.java | Github Open Source | Open Source | Apache-2.0 | null | devon | maghag | Java | Code | 124 | 726 | package io.oasp.gastronomy.restaurant.offermanagement.logic.impl.usecase;
import io.oasp.gastronomy.restaurant.general.common.api.constants.PermissionConstants;
import io.oasp.gastronomy.restaurant.general.logic.api.UseCase;
import io.oasp.gastronomy.restaurant.general.logic.api.to.BinaryObjectEto;
import io.oasp.gast... | 11,978 |
https://github.com/AK47HaiJun/typescript-note/blob/master/notes/0.1.2/build/generics.js | Github Open Source | Open Source | MIT | 2,019 | typescript-note | AK47HaiJun | JavaScript | Code | 7 | 24 | function same(arg) {
return arg;
}
console.log(same(18));
| 26,923 |
https://github.com/zhmu/ananas/blob/master/external/binutils-2.38/gas/testsuite/gas/arm/vldmw-bad.l | Github Open Source | Open Source | Zlib, LicenseRef-scancode-public-domain, GPL-3.0-only, FSFAP, GPL-2.0-only, LGPL-3.0-only, GPL-1.0-or-later, LGPL-2.0-or-later, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-other-copyleft, LGPL-2.0-only, LicenseRef-scancode-other-permissive, GPL-2.0-or-later | 2,022 | ananas | zhmu | null | Spoken | 21 | 67 | [^:]*: Assembler messages:
[^:]*:4: Error: r15 not allowed here -- `vldmia pc!,{d0-d1}'
[^:]*:9: Error: r15 not allowed here -- `vstmia pc!,{d0-d1}'
| 48,745 |
https://github.com/wolpi/prim-ftpd/blob/master/primitiveFTPd/src/org/primftpd/remotecontrol/PftpdPowerTogglesPlugin.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | prim-ftpd | wolpi | Java | Code | 43 | 185 | package org.primftpd.remotecontrol;
import android.content.Context;
import org.primftpd.util.ServicesStartStopUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class PftpdPowerTogglesPlugin extends PowerTogglesPlugin {
protected Logger logger = LoggerFactory.getLogger(getClass());
@Over... | 18,752 |
https://github.com/akrosinc/reveal-server/blob/master/src/main/java/com/revealprecision/revealserver/api/v1/dto/response/GeoTree.java | Github Open Source | Open Source | Apache-2.0 | null | reveal-server | akrosinc | Java | Code | 79 | 384 | package com.revealprecision.revealserver.api.v1.dto.response;
import com.revealprecision.revealserver.persistence.domain.Location;
import com.revealprecision.revealserver.persistence.domain.LocationRelationship;
import com.revealprecision.revealserver.util.Tree;
import com.revealprecision.revealserver.util.TreeNode;
i... | 19,017 |
https://github.com/ParkHanbum/dex2ir/blob/master/frameworks/compile/mclinker/include/mcld/Support/UniqueGCFactory.h | Github Open Source | Open Source | NCSA | 2,022 | dex2ir | ParkHanbum | C++ | Code | 235 | 811 | //===- UniqueGCFactory.h --------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------------------... | 48,966 |
https://github.com/decoomanj/gorgonzola/blob/master/http/metric.go | Github Open Source | Open Source | MIT | null | gorgonzola | decoomanj | Go | Code | 201 | 683 | package gorgonzola
import (
"bytes"
"log"
"net/http"
"strconv"
"sync"
"time"
)
type Metric interface {
GetName() string
Stringify() bytes.Buffer
}
//
type Metrics struct {
sync.RWMutex
items map[string]*Metric
status TTLList
expires time.Duration
name string
}
func NewMetrics(name string) *Metric... | 5,446 |
https://github.com/mazma1/postit-devops/blob/master/app/client/components/partials/MobileToggleButton.jsx | Github Open Source | Open Source | MIT | 2,017 | postit-devops | mazma1 | null | Spoken | 56 | 186 | import React from 'react';
/**
* Displays the sidebar toggle button on mobile devices
*
* @returns {JSX} Toggle button mark up
*/
const MobileToggleButton = () => (
<button
type="button"
className="mobile-nav-btn navbar-toggle collapsed"
data-toggle="collapse"
data-target="#menu-content"
... | 11,250 |
https://github.com/AmeerHamoodi/public_DH/blob/master/src/js/components/NavBar.jsx | Github Open Source | Open Source | MIT, Unlicense | null | public_DH | AmeerHamoodi | null | Spoken | 75 | 229 | import React from "react";
import {Link} from "react-router-dom";
const NavBar = ({active}) => {
const actives = {
home: active == "home" ? "active" : "",
classes: active == "classes" ? "active" : ""
}
const username = JSON.parse(localStorage.getItem("userData")).username;
return (
... | 45,614 |
https://github.com/schophil/census/blob/master/server/src/main/java/lb/census/math/PercentageCalculator.java | Github Open Source | Open Source | MIT | null | census | schophil | Java | Code | 43 | 153 | package lb.census.math;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class PercentageCalculator {
public double forPart(BigDecimal base, BigDecimal part) {
BigDecimal deviation = part.multiply(new BigDecimal(100)).divide(base,
2, RoundingMode.HALF_DOWN);
retu... | 12,463 |
https://github.com/cquiroz/ocs/blob/master/bundle/edu.gemini.itc/src/main/java/edu/gemini/itc/acqcam/NDFilterWheel.java | Github Open Source | Open Source | BSD-3-Clause | 2,020 | ocs | cquiroz | Java | Code | 89 | 245 | package edu.gemini.itc.acqcam;
import edu.gemini.itc.base.Instrument;
import edu.gemini.itc.base.TransmissionElement;
import edu.gemini.spModel.gemini.acqcam.AcqCamParams;
/**
* Neutral density color wheel?
* This class exists so that the client can specify a ND filter number
* instead of specifying the data file ... | 11,812 |
https://github.com/sandhje/spanner/blob/master/src/Config/ConfigElement.php | Github Open Source | Open Source | MIT | 2,017 | spanner | sandhje | PHP | Code | 63 | 169 | <?php
namespace OpenSourcerers\Spanner\Config;
/**
*
* @author Sandhje
*
*/
abstract class ConfigElement
{
/**
* Config element region
*
* @var scalar
*/
protected $region;
public function __construct($region)
{
if(!is_scalar($region)) {
throw n... | 10,744 |
https://github.com/victorubieto/graph_system/blob/master/js/external/volume-base.js | Github Open Source | Open Source | MIT | 2,020 | graph_system | victorubieto | JavaScript | Code | 1,131 | 3,516 | "use strict"
/***
* VOLUME-BASE.js
* Basic class types definition
***/
/***
* ==Volume class==
* Describes a 3D dataset
***/
var Volume = function Volume(o){
//Dimensions size
this.width = 0;
this.height = 0;
this.depth = 0;
//Distance between voxels (some scans use different distances in each dimension)
... | 46,485 |
https://github.com/talal-swati/exarth-application-mobile/blob/master/lib/widgets/profile/ProfileEnd.dart | Github Open Source | Open Source | MIT | 2,021 | exarth-application-mobile | talal-swati | Dart | Code | 362 | 1,085 | import 'package:flutter/material.dart';
import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
class ProfileEnd extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
child: Container(
padding: EdgeInsets.symmetric(horizo... | 27,402 |
https://github.com/mcaskill/charcoal-model-collection/blob/master/src/Charcoal/Support/Model/Repository/CollectionLoaderIterator.php | Github Open Source | Open Source | MIT | null | charcoal-model-collection | mcaskill | PHP | Code | 2,800 | 7,358 | <?php
namespace Charcoal\Support\Model\Repository;
use PDO;
use ArrayIterator;
use IteratorAggregate;
use LogicException;
use InvalidArgumentException;
use RuntimeException;
// From 'illuminate/support'
use Illuminate\Support\Collection as LaravelCollection;
// From 'charcoal-core'
use Charcoal\Model\ModelInterface... | 27,616 |
https://github.com/BuildingBridge/biznet/blob/master/bitrix/modules/tasks/install/public/js/tasks/scheduler/tree.js | Github Open Source | Open Source | Unlicense | 2,020 | biznet | BuildingBridge | JavaScript | Code | 351 | 1,309 | BX.namespace("BX.Scheduler");
BX.Scheduler.Tree = function(config)
{
this.config = config || {};
this.root = new BX.Scheduler.TreeNode();
this.root.tree = this;
this.byIdMap = {};
BX.addCustomEvent(this, "onNodeAdded", BX.proxy(this.onNodeAdded, this));
BX.addCustomEvent(this, "onNodeRemoved", BX.proxy(this.onN... | 28,672 |
https://github.com/msolids/musen/blob/master/MUSEN/Modules/SimplifiedScene/SceneTypes.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,022 | musen | msolids | C++ | Code | 470 | 2,272 | /* Copyright (c) 2013-2020, MUSEN Development Team. All rights reserved.
This file is part of MUSEN framework http://msolids.net/musen.
See LICENSE file for license and warranty information. */
#include "SceneTypes.h"
//////////////////////////////////////////////////////////////////////////////////////////////... | 46,676 |
https://github.com/PaddlePaddle/Paddle/blob/master/paddle/phi/kernels/selected_rows/impl/isfinite_kernel_impl.h | Github Open Source | Open Source | Apache-2.0 | 2,023 | Paddle | PaddlePaddle | C++ | Code | 148 | 371 | // Copyright (c) 2022 PaddlePaddle Authors. 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... | 34,422 |
https://github.com/guantinglin/FaceID_lib/blob/master/faceID_lib/__init__.py | Github Open Source | Open Source | MIT | 2,018 | FaceID_lib | guantinglin | Python | Code | 26 | 81 | # -*- coding: utf-8 -*-
'''
# Adopted from Adam Geitgey
# Guan-Ting Lin
# Minor modifications
# Date: 20180730
'''
from .api import load_image_file, face_locations,show_image_cv,face_encodings,compare_faces,find_ID,imwrite | 30,416 |
https://github.com/rabipelais/howl-server/blob/master/src/Howl/Facebook/Object/Checkin.hs | Github Open Source | Open Source | BSD-3-Clause | 2,018 | howl-server | rabipelais | Haskell | Code | 379 | 889 | {-# LANGUAGE DeriveDataTypeable, FlexibleContexts, OverloadedStrings #-}
module Howl.Facebook.Object.Checkin
( Checkin(..)
, CheckinFrom(..)
, getCheckin
, createCheckin
) where
import Control.Applicative
import Control.Monad (mzero)
import Control.Monad.Trans.Control (MonadBaseControl)
import Data.Aeso... | 12,348 |
https://github.com/xXLgDGaMeRXx/PickMyClub/blob/master/doc.php | Github Open Source | Open Source | MIT | 2,018 | PickMyClub | xXLgDGaMeRXx | PHP | Code | 244 | 1,005 | <?php
//des choses
$bdd = new PDO('mysql:host=localhost;dbname=espace_membre', 'root', '' );
if(isset($_POST['forminscription']))
{
if(!empty($_POST['user_name']) AND !empty($_POST['telephone']) AND !empty($_POST['mail']) AND !empty($_POST['mdp']) AND !empty($_POST['confirm']) AND !empty($_POST['user_name']) AND !... | 51,684 |
https://github.com/marryjianjian/flows_back/blob/master/src/db/init.sql | Github Open Source | Open Source | MIT | null | flows_back | marryjianjian | SQL | Code | 30 | 87 | CREATE TABLE access_info (
id INTEGER PRIMARY KEY ASC AUTOINCREMENT,
time TEXT,
src_port INT,
src_ip TEXT,
dst_port INT,
dst_domain TEXT,
state TEXT,
protocol TEXT,
tag TEXT,
UNIQUE(time, src_ip, src_port)
);
| 17,536 |
https://github.com/Patataman/StudentApi/blob/master/lib/ldapApi.py | Github Open Source | Open Source | MIT | 2,016 | StudentApi | Patataman | Python | Code | 70 | 261 | # -*- coding: utf-8 -*-
import ldap
import config
SCOPE = ldap.SCOPE_SUBTREE
class LdapApi:
def __init__(self, uri, nia=None, password=None, port="389"):
self.port = port
self.ldapCon = ldap.initialize(uri + ":" +self.port)
self.nia = nia
self.password = password
def search(s... | 39,640 |
https://github.com/not522/Competitive-Programming/blob/master/old/Codeforces/266/B.cpp | Github Open Source | Open Source | Unlicense | 2,022 | Competitive-Programming | not522 | C++ | Code | 59 | 129 | #include "template.hpp"
int main() {
int n, t;
string s;
cin >> n >> t >> s;
for (int i = 0; i < t; ++i) {
for (int j = 0; j < n - 1; ++j) {
if (s.substr(j, 2) == "BG") {
swap(s[j], s[j + 1]);
++j;
}
}
}
cout << s << endl;
}
| 3,929 |
https://github.com/Heap-leak/disconnect-project/blob/master/disconnect-highcharts/src/main/java/com/github/fluorumlabs/disconnect/highcharts/SeriesCheckboxClickCallbackFunction.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | disconnect-project | Heap-leak | Java | Code | 47 | 132 | package com.github.fluorumlabs.disconnect.highcharts;
import java.lang.FunctionalInterface;
import js.lang.Any;
import org.teavm.jso.JSFunctor;
/**
* Function callback when the checkbox next to the series' name in the legend is
* clicked.
*
* @param e
* Event arguments.
*
*/
@JSFunctor
@FunctionalInterface
pub... | 17,643 |
https://github.com/Android-View/android-tv-epg/blob/master/app/src/main/java/se/kmdev/tvepg/MainActivity.java | Github Open Source | Open Source | MIT | 2,018 | android-tv-epg | Android-View | Java | Code | 692 | 2,790 | package se.kmdev.tvepg;
import android.app.Activity;
import android.content.res.Configuration;
import android.graphics.Matrix;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.os.PersistableBundle;
import android.support.v7.app.AppCompatActivity;
import android.view.KeyE... | 48,987 |
https://github.com/skaslev/thru/blob/master/Makefile | Github Open Source | Open Source | MIT | 2,019 | thru | skaslev | Makefile | Code | 141 | 544 | CC = cc
CFLAGS = -O2 -Wall -Winline -D_GNU_SOURCE
AR = ar
LIBS =
#
# For debugging, uncomment the next one
#
# CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2
PROGRAMS = thru
LIB_H = cmd.h compiler.h core.h vsock.h xrandom.h xtime.h
LIB_OBJS = core.o fifo.o tcp.o udp.o vsock.o \
fifo_listen.o tcp_listen.o udp_listen.o vsock_li... | 13,361 |
https://github.com/neworganizing/stumpwise/blob/master/public/javascripts/application.js | Github Open Source | Open Source | MIT | 2,012 | stumpwise | neworganizing | JavaScript | Code | 802 | 3,771 | // Copyright (c) 2010-2011 ProgressBound, Inc.
//
// 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, mer... | 45,858 |
https://github.com/Lgmrszd/createaddition/blob/master/src/main/java/com/mrh0/createaddition/blocks/rolling_mill/RollingMillRenderer.java | Github Open Source | Open Source | MIT | 2,021 | createaddition | Lgmrszd | Java | Code | 146 | 795 | package com.mrh0.createaddition.blocks.rolling_mill;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import com.simibubi.create.AllBlockPartials;
import com.simibubi.create.content.contraptions.base.KineticTileEntity;
import com.simibubi.create.content.contraptions.base.K... | 4,395 |
https://github.com/iceicy/NEMS/blob/master/application/views/examination_management/v_delLocation.php | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,017 | NEMS | iceicy | Hack | Code | 190 | 1,179 | <div class="col-sm-12">
<!-- START panel-->
<div class="content-wrapper">
<div class="panel-heading">
<h2>ลบข้อมูลสถานที่สอบ</h2>
</div>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
<d... | 4,360 |
https://github.com/isawnyu/isaw.web/blob/master/src/isaw.theme/isaw/theme/browser/viewlets/emergency.py | Github Open Source | Open Source | CC-BY-3.0 | null | isaw.web | isawnyu | Python | Code | 53 | 194 | from plone.registry.interfaces import IRegistry
from zope.component import getUtility
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from plone.app.layout.viewlets.common import ViewletBase
from ..interfaces import IISAWSettings
class EmergencyMessage(ViewletBase):
render = ViewPageTemp... | 27,954 |
https://github.com/opengauss-mirror/Yat/blob/master/openGaussBase/testcase/SQL/FULL_TEXT_SEARCH/text_search_configuration/Opengauss_Function_Text_Search_Configuration_Case0003.sql | Github Open Source | Open Source | MulanPSL-1.0 | null | Yat | opengauss-mirror | SQL | Code | 30 | 143 | -- @testpoint:创建文本搜索配置语法,PARSER参数测试(无效性测试)
--指定解析器为ngrams,合理报错
DROP TEXT SEARCH CONFIGURATION if exists ngram2;
CREATE TEXT SEARCH CONFIGURATION ngram2 (parser=ngrams);
--指定解析器为defaults,合理报错
DROP TEXT SEARCH CONFIGURATION if exists default2;
CREATE TEXT SEARCH CONFIGURATION default2 (parser=defaults);
| 12,539 |
https://github.com/jlefley/dabster/blob/master/Rakefile | Github Open Source | Open Source | MIT | 2,014 | dabster | jlefley | Ruby | Code | 6 | 37 | require 'bundler/gem_tasks'
require File.expand_path('../config/application', __FILE__)
Rails.application.load_tasks
| 52,537 |
https://github.com/Sauilitired/PlotBot/blob/master/src/main/java/xyz/kvantum/plotbot/commands/Material.java | Github Open Source | Open Source | MIT | 2,020 | PlotBot | Sauilitired | Java | Code | 158 | 584 | package xyz.kvantum.plotbot.commands;
import com.intellectualsites.commands.Command;
import com.intellectualsites.commands.CommandDeclaration;
import com.intellectualsites.commands.CommandInstance;
import com.intellectualsites.commands.parser.impl.StringParser;
import xyz.kvantum.plotbot.BukkitLegacyMappings;
import x... | 13,783 |
https://github.com/creatoro/jelly/blob/master/tests/jelly/field/PasswordTest.php | Github Open Source | Open Source | MIT | 2,012 | jelly | creatoro | PHP | Code | 110 | 395 | <?php defined('SYSPATH') or die('No direct script access.');
/**
* Tests password fields.
*
* @package Jelly
* @group jelly
* @group jelly.field
* @group jelly.field.password
*/
class Jelly_Field_PasswordTest extends Unittest_TestCase {
/**
* Tests that passwords are not re-hashed accidentally.
*
... | 4,441 |
https://github.com/dotnet/dotnet-api-docs/blob/master/snippets/cpp/VS_Snippets_Remoting/MessageQueueBeginReceive3/cpp/makefile | Github Open Source | Open Source | MIT, CC-BY-4.0 | 2,023 | dotnet-api-docs | dotnet | Makefile | Code | 6 | 35 | MessageQueueBeginReceive3.exe: class1.cpp
cl /FeMessageQueueBeginReceive3.exe /clr:pure class1.cpp
| 50,675 |
https://github.com/ankeetmaini/typewiz/blob/master/packages/typewiz/src/cli.spec.ts | Github Open Source | Open Source | MIT | 2,018 | typewiz | ankeetmaini | TypeScript | Code | 154 | 433 | import * as child from 'child_process';
import * as path from 'path';
function readOutput(process: child.ChildProcess) {
let output: string = '';
return new Promise<string>((resolve, reject) => {
process.stdout.on('data', (data) => (output += data));
process.stderr.on('data', (data) => (output ... | 35,432 |
https://github.com/LORDOFSKY/Java-ShuCheng/blob/master/WebRoot/menu/mymenu.js | Github Open Source | Open Source | Apache-2.0 | 2,022 | Java-ShuCheng | LORDOFSKY | JavaScript | Code | 705 | 3,777 | /*
* MenuBar只负责生成<div>,不会实现功能。
* MenuBar的add()方法:bar.add("menu1", "item1", "http://www.qdmmy6.com/");
* MenuBar的menus属性是一个数组(其时它是一个Map),每个元素对应一个menu。
* 数组中的元素还是一个数组,这个数组中的元素是MenuItem对象。
* add()方法首先查找menus["menu1"]元素(即名为"menu1"的菜单)是否存在,
* 如果存在,使用"item1"与"http://www.qdmmy6.com/"创建MenuItem对象。然后把MenuItem对象添加到menus["m... | 45,640 |
https://github.com/Reclaim-Eritrea/how-to/blob/master/docker/templates/new-django-app/{{cookiecutter.app_name}}/docker-entrypoint.sh | Github Open Source | Open Source | MIT | 2,022 | how-to | Reclaim-Eritrea | Shell | Code | 17 | 54 | #!/bin/sh
set -e
if [ "$DJANGO_MANAGEPY_MIGRATE" = 'on' ]; then
python manage.py migrate --noinput
fi
exec "$@"
| 48,252 |
https://github.com/medismailben/llvm-project/blob/master/llvm/test/Transforms/IRCE/wide_indvar.ll | Github Open Source | Open Source | Apache-2.0 | 2,022 | llvm-project | medismailben | LLVM | Code | 1,913 | 5,263 | ; RUN: opt -verify-loop-info -irce-print-changed-loops -irce -irce-allow-narrow-latch=true -S < %s 2>&1 | FileCheck %s
; RUN: opt -verify-loop-info -irce-print-changed-loops -passes='require<branch-prob>,irce' -irce-allow-narrow-latch=true -S < %s 2>&1 | FileCheck %s
; Check that we can remove trivially non-failing ra... | 51,066 |
https://github.com/gnoliyil/fuchsia/blob/master/src/connectivity/network/netstack3/src/bindings/stack_fidl_worker.rs | Github Open Source | Open Source | BSD-2-Clause | 2,022 | fuchsia | gnoliyil | Rust | Code | 951 | 3,832 | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use core::ops::{Deref as _, DerefMut as _};
use super::{
devices::{self, CommonInfo, DeviceSpecificInfo, Devices, EthernetInfo, FidlWorkerInfo},
e... | 15,492 |
https://github.com/QartemisT/depot/blob/master/src/main/java/com/samskivert/depot/CacheAdapter.java | Github Open Source | Open Source | BSD-3-Clause | 2,021 | depot | QartemisT | Java | Code | 390 | 697 | //
// Depot library - a Java relational persistence library
// https://github.com/threerings/depot/blob/master/LICENSE
package com.samskivert.depot;
import java.io.Serializable;
import com.samskivert.depot.impl.FindAllQuery;
/**
* Implementations of this interface are responsible for all the caching needs of Depot... | 33,297 |
https://github.com/TonyYang9527/cell-user/blob/master/cell-user-dao/src/main/java/com/cell/user/dao/mapper/SysRoleResourcePermissionMapper.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | cell-user | TonyYang9527 | Java | Code | 364 | 950 | package com.cell.user.dao.mapper;
import com.cell.user.dao.entiy.SysRoleResourcePermission;
import com.cell.user.dao.entiy.SysRoleResourcePermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SysRoleResourcePermissionMapper {
/**
* This method was generated by... | 20,724 |
https://github.com/moutainhigh/bdnav_platform/blob/master/bdnav-provider-entity/wallet-provider-entity/src/main/java/com/bdxh/wallet/dto/FindBillRecordDto.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | bdnav_platform | moutainhigh | Java | Code | 59 | 252 | package com.bdxh.wallet.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
/**
* @Description: 账单记录dto
* @Author: Kang
* @Date: 2019/7/12 15:06
*/
@Data
public class FindBillRecordDto {
@ApiModelProperty(value = "学校code")
private String ... | 37,810 |
https://github.com/slowbutsure2/Grants-tracker/blob/master/resources/views/auth/forgot-password.blade.php | Github Open Source | Open Source | MIT | null | Grants-tracker | slowbutsure2 | PHP | Code | 158 | 576 | <x-layout title="Password reset">
<div class="min-h-screen flex items-center justify-center">
<div class="max-w-md w-full px-6">
<h2 class="text-3xl font-bold text-center leading-9 font-display">
Reset your password
</h2>
<p class="mt-5 text-sm leading-5 t... | 62 |
https://github.com/ChugR/qpid-site/blob/master/input/releases/qpid-proton-0.14.0/proton/cpp/api/classproton_1_1endpoint.js | Github Open Source | Open Source | Apache-2.0 | null | qpid-site | ChugR | JavaScript | Code | 40 | 303 | var classproton_1_1endpoint =
[
[ "~endpoint", "classproton_1_1endpoint.html#a0337d84a151d0b49ea1ef0f9d8619718", null ],
[ "active", "classproton_1_1endpoint.html#ac6e82b77dfe6fbae3b18e5f14ab7c25b", null ],
[ "close", "classproton_1_1endpoint.html#af6ee7eacbde6b379b68d954e44f6e549", null ],
[ "close", "... | 21,750 |
https://github.com/shaunmahony/multigps-archive/blob/master/src/edu/psu/compbio/seqcode/gse/viz/utils/ListPanelEvent.java | Github Open Source | Open Source | MIT | 2,017 | multigps-archive | shaunmahony | Java | Code | 114 | 248 | /*
* Created on Aug 17, 2005
*/
package edu.psu.compbio.seqcode.gse.viz.utils;
import java.util.EventObject;
/**
* @author tdanford
*/
public class ListPanelEvent extends EventObject {
public static final int DISPLAY = 0;
public static final int ENTREZ_SAVE = 1;
public static final int EXPLORE_MO... | 2,742 |
https://github.com/coriolinus/trait-bound-pretty/blob/master/src/lib.rs | Github Open Source | Open Source | MIT | null | trait-bound-pretty | coriolinus | Rust | Code | 375 | 1,385 | use std::io::Write;
use lalrpop_util::lalrpop_mod;
lalrpop_mod!(pub parser);
#[cfg(test)]
mod parser_tests;
pub trait Pretty {
/// Pretty-print `Self` to the supplied writer.
///
/// This function must only ever write valid utf8 strings.
fn pretty_to<Writer: Write>(&self, writer: &mut Writer) -> Resu... | 17,171 |
https://github.com/naeminhye/react-mono/blob/master/src/components/List/styles.module.scss | Github Open Source | Open Source | MIT | 2,021 | react-mono | naeminhye | SCSS | Code | 29 | 105 | @import '../common/settings';
.mono__list {
font-family: Inconsolata, Montserrat, Arial;
&--header {
}
&--footer {
}
&--items {
margin: 0;
padding: 0;
list-style: none;
.mono__list--item {
// item
}
}
}
| 42,437 |
https://github.com/alphagov/govwifi-admin/blob/master/spec/requests/admin/organisations/delete_spec.rb | Github Open Source | Open Source | MIT, LicenseRef-scancode-proprietary-license | 2,023 | govwifi-admin | alphagov | Ruby | Code | 53 | 182 | describe "DELETE /organisations/:id", type: :request do
let(:organisation) { create(:organisation) }
let(:admin_user) { create(:user, :super_admin) }
before do
create(:user, organisations: [organisation])
sign_in_user(admin_user)
https!
end
it "deletes the organisation" do
expect {
del... | 36,899 |
https://github.com/gem5/gem5/blob/master/src/systemc/tests/systemc/misc/synth/inlining/test5/main.cpp | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-proprietary-license, LGPL-2.0-or-later, MIT | 2,023 | gem5 | gem5 | C++ | Code | 243 | 661 | /*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | 21,828 |
https://github.com/ilaotan/Spring-Boot-Blog/blob/master/src/main/java/cn/sheep3/exception/PostInputException.java | Github Open Source | Open Source | MIT | 2,021 | Spring-Boot-Blog | ilaotan | Java | Code | 22 | 59 | package cn.sheep3.exception;
/**
* Created by sheep3 on 16-9-16.
*/
public class PostInputException extends Exception {
public PostInputException(String message){
super(message);
}
}
| 44,458 |
https://github.com/npocmaka/Windows-Server-2003/blob/master/base/fs/rdr2/rdpdr/drkdx/rdpdrkd.h | Github Open Source | Open Source | Unlicense | 2,021 | Windows-Server-2003 | npocmaka | C | Code | 106 | 495 | /*++
Copyright (c) 1990 Microsoft Corporation
Module Name:
rdpdrkd.h
Abstract:
Redirector Kernel Debugger extension
Author:
Balan Sethu Raman (SethuR) 11-May-1994
Revision History:
11-Nov-1994 SethuR Created
--*/
#ifndef _RDPDRKD_H_
#define _RDPDRKD_H_
typedef enum _FOLLOWON_HELPER_RETURNS ... | 23,019 |
https://github.com/streed/hydraconfig/blob/master/src/server/views/access.jade | Github Open Source | Open Source | MIT | null | hydraconfig | streed | null | Spoken | 72 | 269 | extend layout
block navbar
form(class="navbar-form navbar-right" method="get" action='/logout')
button(type='submit' class='btn btn-danger') Logout
block sidebar
include sidebar
block container
div(class='container')
div(class='row')
div(class='row col-sm-offset-2 col-md-10')
button(typ... | 26,986 |
https://github.com/Alan-love/filament/blob/master/libs/camutils/src/Bookmark.cpp | Github Open Source | Open Source | Apache-2.0 | 2,022 | filament | Alan-love | C++ | Code | 655 | 1,485 | /*
* Copyright (C) 2020 The Android Open Source Project
*
* 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 app... | 28,619 |
https://github.com/danrcoull/vsf-payment-braintree/blob/master/index.ts | Github Open Source | Open Source | MIT | 2,020 | vsf-payment-braintree | danrcoull | TypeScript | Code | 91 | 320 | import { StorefrontModule } from '@vue-storefront/core/lib/modules';
import { module } from './store'
import { coreHooks } from '@vue-storefront/core/hooks';
export const Braintree: StorefrontModule = function ({ app, store }) {
store.registerModule('braintree', module);
coreHooks.afterAppInit(() => {
const C... | 2,836 |
https://github.com/brunohendias/apigerence/blob/master/apigerence/Repository/AtencaoRepository.cs | Github Open Source | Open Source | MIT | 2,021 | apigerence | brunohendias | C# | Code | 91 | 361 | using apigerence.Models;
using apigerence.Models.Context;
using System.Collections.Generic;
using System.Linq;
namespace apigerence.Repository
{
public class AtencaoRepository : IAtencao
{
private readonly MySqlContext _context;
public AtencaoRepository(MySqlContext context) => _context = cont... | 49,120 |
https://github.com/csoap/csoap.github.io/blob/master/sourceCode/dotNet4.6/wpf/src/Framework/MS/Internal/PtsHost/FloaterBaseParaClient.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | csoap.github.io | csoap | C# | Code | 176 | 475 | //---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// Description: FloaterBaseParaClient class: Base para client class
// for floaters and UIElements
//
//--------------------------------------------------------... | 24,654 |
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/m/mbartoli/blobfs/Dockerfile | Github Open Source | Open Source | MIT | 2,018 | dockerfiles-1 | jsdelivrbot | Dockerfile | Code | 63 | 240 | FROM ubuntu:14.04
MAINTAINER Andrea Kimball "andrea.kimball@pomona.edu"
RUN apt-get update
RUN apt-get -y install \
python \
build-essential \
python-dev \
python-pip \
wget \
git \
vim \
python-fuse \
libssl-dev
#RUN pip install azure-storage
WORKDIR /home
RUN wget
https://github.com/libf... | 33,281 |
https://github.com/Binomica-Labs/Hardware/blob/master/MiniSpec 2/Code/MS2-TSL2572-SD/MS2-TSL2572-SD.ino | Github Open Source | Open Source | MIT | 2,022 | Hardware | Binomica-Labs | C++ | Code | 486 | 989 | // *******************************************************************************************************************************************
// MiniSpec v3
// Version: 0.1
// Copyright 2022 Binomica Labs
// Author: Sebastian S. Cocioba
// License: MIT License (https://opensource.org/licenses/MIT)
//
// Permission is ... | 23,247 |
https://github.com/AndersBillLinden/Roslynator/blob/master/source/Utilities/Extensions/SyntaxTokenListExtensions.cs | Github Open Source | Open Source | Apache-2.0 | 2,016 | Roslynator | AndersBillLinden | C# | Code | 67 | 177 | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
namespace Roslynator
{
public static class SyntaxTokenListExtensions
{
pub... | 13,508 |
https://github.com/blowkick/Baca-Komik/blob/master/application/controllers/Daftar_user.php | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,018 | Baca-Komik | blowkick | PHP | Code | 68 | 400 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Daftar_user extends CI_Controller {
public function index()
{
$this->load->view('user/u_daftar');
}
public function insert()
{
$this->load->model('user_daftar');
$this->load->helper('url','form');
$this->load->library('form_v... | 34,464 |
https://github.com/mallowigi/mtslack/blob/master/styles/app/_slapps.scss | Github Open Source | Open Source | Apache-2.0 | 2,023 | mtslack | mallowigi | SCSS | Code | 31 | 142 | .p-slapps_header {
background: $contrast;
border-bottom: 1px solid $borderLight;
box-shadow: 0 1px 2px $borderLight;
}
.p-slapps_header__placeholder_holder--icon {
background: $button;
}
.p-slapps_header__placeholder_holder--text {
background-color: $hl;
background-image: none;
}
.p-slapps_header__add-li... | 31,261 |
https://github.com/AryaRicky/viewerjs/blob/master/src/scss/_variables.scss | Github Open Source | Open Source | MIT | 2,017 | viewerjs | AryaRicky | SCSS | Code | 69 | 196 | // Variables
// --------------------------------------------------
// Colors
// -------------------------
$color-black: #000 !default;
$color-white: #fff !default;
$color-grey: #ccc !default;
// Media queries breakpoints
// -------------------------
// Large screen / wide desktop
$screen-lg-min: 1200px !default;
... | 9,966 |
https://github.com/gs2io/gs2-java-sdk/blob/master/src/main/java/io/gs2/core/model/IRequest.java | Github Open Source | Open Source | Apache-2.0, JSON | 2,023 | gs2-java-sdk | gs2io | Java | Code | 7 | 22 | package io.gs2.core.model;
public interface IRequest {
}
| 9,152 |
https://github.com/Svengali/zlib/blob/master/build/zlib_mangle.h | Github Open Source | Open Source | Zlib | 2,019 | zlib | Svengali | C++ | Code | 296 | 877 | #ifndef mangle_h
#define mangle_h
/*
This header file mangles all symbols exported from the zlib library.
It is included in all files while building the zlib library. Due to
namespace pollution, no zlib headers should be included in .h files in
cm.
The following command was used to obtain the symbol list:
nm libcm... | 16,526 |
https://github.com/dung9788xx/lancernow_api/blob/master/app/Http/Controllers/Api/Auth/ResetPasswordController.php | Github Open Source | Open Source | MIT | null | lancernow_api | dung9788xx | PHP | Code | 110 | 388 | <?php
namespace App\Http\Controllers\Api\Auth;
use App\Http\Controllers\Controller;
use App\Services\AuthServices;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
class ResetPasswordController extends Controller
{
/**
* @param Request $request
*/
private $authService;
pu... | 25,985 |
https://github.com/re-motion/TypePipe/blob/master/Core.UnitTests/Expressions/ExpressionTestHelper.cs | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, Apache-2.0 | 2,023 | TypePipe | re-motion | C# | Code | 258 | 761 | // Copyright (c) rubicon IT GmbH, www.rubicon.eu
//
// See the NOTICE file distributed with this work for additional information
// regarding copyright ownership. rubicon licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may not use this
// file except in compliance with the Lic... | 20,350 |
https://github.com/gustavohbf/robotoy/blob/master/src/main/java/org/guga/robotoy/rasp/network/AutoDiscoveryRobotsCallback.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | robotoy | gustavohbf | Java | Code | 714 | 2,391 | /*******************************************************************************
* Copyright 2016 See https://github.com/gustavohbf/robotoy/blob/master/AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... | 9,795 |
https://github.com/saqsun/robovm-ios-bindings/blob/master/google-play-game-services/src/org/robovm/bindings/gpgs/GPGScore.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | robovm-ios-bindings | saqsun | Java | Code | 194 | 795 |
package org.robovm.bindings.gpgs;
import org.robovm.apple.foundation.NSArray;
import org.robovm.apple.foundation.NSObject;
import org.robovm.apple.foundation.NSString;
import org.robovm.apple.foundation.NSURL;
import org.robovm.objc.ObjCBlock;
import org.robovm.objc.ObjCClass;
import org.robovm.objc.ObjCRuntime;
impo... | 52,589 |
https://github.com/MRhuo857/gulu/blob/master/.temp/internal/app-enhancers.js | Github Open Source | Open Source | MIT | 2,020 | gulu | MRhuo857 | JavaScript | Code | 24 | 169 | import m0 from "C:\\Users\\mr.huo\\Desktop\\gulu\\.temp\\app-enhancers\\0.js"
import m1 from "C:\\Users\\mr.huo\\Desktop\\gulu\\.temp\\app-enhancers\\data-block.js"
import m2 from "C:\\Users\\mr.huo\\Desktop\\gulu\\.temp\\app-enhancers\\global-components-1.js"
import m3 from "C:\\Users\\mr.huo\\Desktop\\gulu\\.temp\\ap... | 35,479 |
https://github.com/itsdesignyourlife/front-end/blob/master/designyourlife/src/components/Nav.js | Github Open Source | Open Source | MIT | null | front-end | itsdesignyourlife | JavaScript | Code | 108 | 388 | import React from 'react';
import {Component} from 'react';
import {connect} from "react-redux";
class Nav extends Component {
landingPage = e => {
e.preventDefault()
localStorage.clear();
window.location.href = 'https://designyourlifejournal.netlify.com/';
}
activityLogSwitch = ... | 5,258 |
https://github.com/jtasek/slick/blob/master/src/modules/app/actions/resetFilter.js | Github Open Source | Open Source | MIT | null | slick | jtasek | JavaScript | Code | 13 | 35 | export default function filter({ props, state }) {
console.log('resetting filter...')
state.set('filter', '')
}
| 18,637 |
https://github.com/sivanZhang/self-driving/blob/master/src/api/order.js | Github Open Source | Open Source | MIT | null | self-driving | sivanZhang | JavaScript | Code | 52 | 274 | import AXIOS from '@/libs/request'
//查询订单
export function searchOrders(params){
return AXIOS.get('/product/bill/?',{params})
}
//更新快递信息
export function updateExpressInfo(data) {
return AXIOS.post('/product/bill/?put', data)
}
//查询商品的购买方式
export function searchPurchaseWay(params){
return AXIOS.get('/product/... | 11,660 |
https://github.com/7mind/d4s/blob/master/d4s/src/main/scala_2.12/d4s/codecs/D4SDecoderScala213.scala | Github Open Source | Open Source | Apache-2.0 | 2,022 | d4s | 7mind | Scala | Code | 4 | 20 | package d4s.codecs
trait D4SDecoderScala213
| 39,803 |
https://github.com/Lchenghui/morebit-android-app/blob/master/app/src/main/java/com/zjzy/morebit/pojo/CollegeHome.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | morebit-android-app | Lchenghui | Java | Code | 136 | 431 | package com.zjzy.morebit.pojo;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import java.util.List;
/**
* @author YangBoTian
* @date 2019/9/3
* @des
*/
public class CollegeHome implements MultiItemEntity {
public static final int TYPE_HOTIZONTAL = 0; //横排
public static final int TYPE_V... | 5,237 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.