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/MuhamedAbdalla/Book-Managment-System/blob/master/bookista/data base/proname.sql
Github Open Source
Open Source
MIT
2,021
Book-Managment-System
MuhamedAbdalla
SQL
Code
21
58
CREATE DEFINER=`root`@`localhost` PROCEDURE `proname`(in nameof varchar(45), out ans int) BEGIN select count(*) into ans from bookista.collections where nameof = name; END
54,616
https://github.com/ballena-io/ballena-gov/blob/master/src/components/stake/styles.js
Github Open Source
Open Source
MIT
2,021
ballena-gov
ballena-io
JavaScript
Code
281
1,016
import { colors, custom } from '../../theme'; const styles = (theme) => ({ root: { display: 'flex', flexDirection: 'column', maxWidth: '600px', width: '100%', alignItems: 'center', margin: '0 auto 2rem', }, intro: { width: '100%', position: 'relative', display: 'flex', jus...
41,315
https://github.com/IntelPython/dpnp/blob/master/dpnp/backend/kernels/dpnp_krnl_statistics.cpp
Github Open Source
Open Source
BSD-2-Clause
2,023
dpnp
IntelPython
C++
Code
4,168
18,862
//***************************************************************************** // Copyright (c) 2016-2023, Intel Corporation // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // - Redistributio...
30,770
https://github.com/ianloic/unladen-swallow/blob/master/Util/llvm/tools/clang/lib/AST/TypePrinter.cpp
Github Open Source
Open Source
PSF-2.0
2,021
unladen-swallow
ianloic
C++
Code
2,232
7,039
//===--- TypePrinter.cpp - Pretty-Print Clang Types -----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
17,080
https://github.com/maf261/maf261.github.io/blob/master/Aulas_MAF261/Aula5_6e7/Modelos/power_beta.510.gnuplot
Github Open Source
Open Source
MIT
null
maf261.github.io
maf261
Gnuplot
Code
12
79
set table "power_beta.510.table"; set format "%.5f" set samples 50.0; plot [x=2.7264:5.5] 11.1463*(x**(0.5*5-1))*((1+5*x/8)**(-0.5*5-0.5*8))
20,224
https://github.com/Ultiimaz/Barbarian-Assault-Backend/blob/master/app/Http/Controllers/Pages/PostController.php
Github Open Source
Open Source
MIT
null
Barbarian-Assault-Backend
Ultiimaz
PHP
Code
75
263
<?php namespace App\Http\Controllers\Pages; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Page; use App\Post; use Illuminate\Support\Facades\Auth; use Carbon\Carbon; class PostController extends Controller { public function create(Request $request,$pageId) { $page = Page::wher...
43,668
https://github.com/Eman8618/CreatingAnAPIwithPostgresSql-Express/blob/master/src/models/tests/ordersmenuinfoSpec.ts
Github Open Source
Open Source
MIT
null
CreatingAnAPIwithPostgresSql-Express
Eman8618
TypeScript
Code
215
1,491
import { ordersmenuinfo} from "../ordersmenuinfo"; import {customerscredentials} from "../customerscredentials"; import { productsmenuinfo} from "../n_productsmenuinfo"; import { customersmenuinfo} from "../customersmenuinfo"; // To can insert dates into tables const pd = require('postgres-date'); const cus_cred=cust...
28,012
https://github.com/woohm402/smart-contract/blob/master/marketplace_contract/contracts/interface/INftTransferProxy.sol
Github Open Source
Open Source
MIT
2,022
smart-contract
woohm402
Solidity
Code
39
127
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./token/IERC721.sol"; import "./token/IERC1155.sol"; interface INftTransferProxy { function erc721safeTransferFrom(IERC721 token, address from, address to, uint256 tokenId) external; function erc1155safeTransferFrom(IERC1155 token, address from...
55,553
https://github.com/xoltar/lojban.io/blob/master/haskell/src/Server/Authentication/Utils.hs
Github Open Source
Open Source
BSD-3-Clause
null
lojban.io
xoltar
Haskell
Code
303
860
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-} module Server.Authentication.Utils ( getCallbackUri , redirectToCurrentRefererIfAllowed , saveReferer , redirectToSavedRefererIfAllowed , isAllowedReferer ) where import Happstack.Server import Data.List (isPrefixOf) import Control.Applicative (o...
46,500
https://github.com/iDoMeteorHitsItWithTheFork/meteor-query-builder/blob/master/query-builder-test.js
Github Open Source
Open Source
MIT
2,014
meteor-query-builder
iDoMeteorHitsItWithTheFork
JavaScript
Code
307
875
var uid = 0; var collectionMock = function () { var collection = new Meteor.Collection('test' + uid++); collection.lastQuery = null; var originalFind = collection.find; collection.find = function (selector) { collection.lastQuery = selector; originalFind.apply(this, arguments); }; return collection;...
5,714
https://github.com/AI-change-the-world/chat-robot-with-flutter/blob/master/frontend/test/match_test.dart
Github Open Source
Open Source
Apache-2.0
null
chat-robot-with-flutter
AI-change-the-world
Dart
Code
19
78
import 'package:string_similarity/string_similarity.dart'; main(List<String> args) { final comparison = 'healed'.similarityTo( 'sealed'); // or StringSimilarity.compareTwoStrings('healed', 'sealed') print(comparison); // → 0.8 }
2,426
https://github.com/october8th/CLHangman/blob/master/letter.js
Github Open Source
Open Source
CC0-1.0
null
CLHangman
october8th
JavaScript
Code
100
264
class Letter//create a class called letter { constructor(myChar, guessed)//give it some attributes { this.myChar = myChar;//this is the letter for this "letter" this.guessed = guessed;//has it been guessed yet? } guessMe(guess)//is this the right letter? { if(guess.toLowerCase() == this.myChar.toL...
46,385
https://github.com/hal/testsuite.next/blob/master/tests-configuration-webservices/src/test/java/org/jboss/hal/testsuite/test/configuration/web/services/endpoint/configuration/PostHandlerChainTest.java
Github Open Source
Open Source
Apache-2.0
2,022
testsuite.next
hal
Java
Code
206
1,265
package org.jboss.hal.testsuite.test.configuration.web.services.endpoint.configuration; import java.io.IOException; import org.apache.commons.lang3.RandomStringUtils; import org.jboss.arquillian.core.api.annotation.Inject; import org.jboss.arquillian.drone.api.annotation.Drone; import org.jboss.arquillian.graphene.pa...
26,557
https://github.com/ngageoint/mrgeo/blob/master/mrgeo-core/src/main/java/org/mrgeo/utils/tms/LatLon.java
Github Open Source
Open Source
Apache-2.0
2,022
mrgeo
ngageoint
Java
Code
139
265
/* * Copyright 2009-2017. DigitalGlobe, 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 ...
52,370
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/c/ckeditor__ckeditor5-engine/src/main/scala/typingsJapgolly/ckeditorCkeditor5Engine/anon/CursorParent.scala
Github Open Source
Open Source
MIT
2,022
ScalajsReactTyped
ScalablyTyped
Scala
Code
77
348
package typingsJapgolly.ckeditorCkeditor5Engine.anon import typingsJapgolly.ckeditorCkeditor5Engine.srcModelElementMod.default import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait CursorParent extends St...
8,996
https://github.com/linearregression/states/blob/master/src/nfa.h
Github Open Source
Open Source
MIT
2,014
states
linearregression
C++
Code
458
1,681
#ifndef NFA_H #define NFA_H #include <string> #include <map> #include <set> #include <string> #include <list> #include <queue> #include <cassert> #include "utils.h" #include "ast.h" #include "machine.h" using namespace std; class nfa: public machine { public: string start_state; set<string> final_states; ...
22,483
https://github.com/tosin2013/microshift/blob/master/vendor/github.com/openshift/openshift-controller-manager/pkg/apps/metrics/prometheus/metrics.go
Github Open Source
Open Source
Apache-2.0
2,022
microshift
tosin2013
Go
Code
692
2,511
package prometheus import ( "fmt" "sort" "strings" "sync" "time" "github.com/blang/semver" appsv1 "github.com/openshift/api/apps/v1" appsv1listers "github.com/openshift/client-go/apps/listers/apps/v1" "github.com/prometheus/client_golang/prometheus" "k8s.io/apimachinery/pkg/labels" kcorelisters "k8s.io/cl...
50,613
https://github.com/MonzElmasry/cis-operator/blob/master/pkg/securityscan/scanHandler.go
Github Open Source
Open Source
Apache-2.0
null
cis-operator
MonzElmasry
Go
Code
1,516
5,170
package securityscan import ( "bufio" "context" "fmt" "strings" "time" "github.com/blang/semver" "github.com/sirupsen/logrus" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime" "github.com/rancher/wrangler/...
29,954
https://github.com/NademJutt/Excel/blob/master/app/Http/Controllers/DropzoneController.php
Github Open Source
Open Source
MIT
null
Excel
NademJutt
PHP
Code
62
245
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Drag; class DropzoneController extends Controller { public function dropzone() { $files = Drag::all(); return view('dropzone.index',compact('files')); } public function dropzoneStore(Request $request...
27,962
https://github.com/Crandel/sway-ubuntu-deb-build/blob/master/network-manager-applet/src/wireless-security/ws-sae.c
Github Open Source
Open Source
MIT
2,020
sway-ubuntu-deb-build
Crandel
C
Code
554
2,276
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2007 - 2019 Red Hat, Inc. */ #include "nm-default.h" #include <ctype.h> #include <string.h> #include "wireless-security.h" #include "helpers.h" #include "nma-ui-utils.h" #include "utils.h" #define WPA_PMK_LEN 32 struct _WirelessSecuritySAE { WirelessSecurity p...
32,801
https://github.com/JohnWhisker/NewYorkTimeHomeWork/blob/master/app/src/main/java/com/example/johnw/nytime/Types/Article.java
Github Open Source
Open Source
Apache-2.0
null
NewYorkTimeHomeWork
JohnWhisker
Java
Code
117
440
package com.example.johnw.nytime.Types; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.Serializable; import java.util.ArrayList; /** * Created by johnw on 3/19/2016. */ public class Article implements Serializable { // VARIABLES DEFINE public String ge...
41,577
https://github.com/sv-giampa/AgileRMI/blob/master/src/agilermi/configuration/Unreferenced.java
Github Open Source
Open Source
Apache-2.0
2,021
AgileRMI
sv-giampa
Java
Code
148
249
/** * Copyright 2018-2019 Salvatore GiampÓ * * 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 ...
38,987
https://github.com/pgesek/MathShare-tests/blob/master/src/main/java/org/benetch/mathshare/test/acessibility/AccessibilityResults.java
Github Open Source
Open Source
MIT
null
MathShare-tests
pgesek
Java
Code
16
64
package org.benetch.mathshare.test.acessibility; import java.io.PrintStream; public interface AccessibilityResults { int countViolations(); boolean hasViolations(); void print(PrintStream out); }
35,384
https://github.com/samuelshirley/Rocket-Travel-Cypress-Tests/blob/master/cypress/integration/UI-Tests/signup.spec.js
Github Open Source
Open Source
MIT
2,020
Rocket-Travel-Cypress-Tests
samuelshirley
JavaScript
Code
140
563
/// <reference types="Cypress" /> import Home from '../page-objects/home' import SignUp from '../page-objects/sign-up-modal' context('Login', () => { const uniqueEmail = 'samuelashirley' + Math.floor(100000 + Math.random() * 900000) + '@gmail.com' beforeEach(() => { cy.openPage() }) it...
41,539
https://github.com/VishnuPrem/multi_robot_restaurant/blob/master/catkin_ws/src/control_stack/include/cs/util/physics.h
Github Open Source
Open Source
MIT
2,020
multi_robot_restaurant
VishnuPrem
C
Code
434
1,216
#pragma once // Copyright 2020 kvedder@seas.upenn.edu // School of Engineering and Applied Sciences, // University of Pennsylvania // // // 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 wit...
35,535
https://github.com/ChrisMeyer7088/FillMyTime/blob/master/FrontEnd/Angular-GiftMe/src/app/Services/validate.service.ts
Github Open Source
Open Source
MIT
null
FillMyTime
ChrisMeyer7088
TypeScript
Code
100
300
import { Injectable } from '@angular/core'; @Injectable({ providedIn: 'root' }) export class ValidateService { constructor() { } validateRegister(user) { if (user.Email == undefined || user.Password == undefined || user.UserName == undefined || user.UserName == '' || user.Email == '' || user.Password == ''...
54,804
https://github.com/chiyu-46/3D-RPG/blob/master/Assets/Scripts/UI/PlayerHealthUI.cs
Github Open Source
Open Source
MIT
null
3D-RPG
chiyu-46
C#
Code
93
330
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlayerHealthUI : MonoBehaviour { private Text levelText; private Image healthSlider; private Image expSlider; private CharacterStates playerStates; private void Awake() ...
166
https://github.com/enikolas/achiever/blob/master/client/components/timeEntry/TimeEntryForm.jsx
Github Open Source
Open Source
MIT
null
achiever
enikolas
null
Spoken
159
553
import React from 'react'; import PropTypes from 'prop-types'; import Button from '../ui/Button'; import InputTimeGroup from '../ui/InputTimeGroup'; import ModeSelect from './ModeSelect'; import strings from '../../../shared/strings'; import { Entries } from '../../PropTypes'; const HEADERS = { startTime: { key: 0,...
20,446
https://github.com/t-regbs/MathAlarm/blob/master/app/src/test/java/com/timilehinaregbesola/mathalarm/usecases/CompleteAlarmTest.kt
Github Open Source
Open Source
MIT
2,023
MathAlarm
t-regbs
Kotlin
Code
209
847
package com.timilehinaregbesola.mathalarm.usecases import com.timilehinaregbesola.mathalarm.data.AlarmRepository import com.timilehinaregbesola.mathalarm.domain.model.Alarm import com.timilehinaregbesola.mathalarm.fake.AlarmInteractorFake import com.timilehinaregbesola.mathalarm.fake.AlarmRepositoryFake import com.tim...
19,003
https://github.com/VB6Hobbyst7/VBA_FastCode/blob/master/Library/HttpRequestsAsync/pppIWorker.cls
Github Open Source
Open Source
MIT
2,021
VBA_FastCode
VB6Hobbyst7
null
Spoken
53
128
VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "pppIWorker" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Explicit Public Property Set Events(ByRef value As pppIWorkerEvents) End Property Sub Execute(Opt...
12,117
https://github.com/giorgioluciano/molly/blob/master/matlab/test_CC.m
Github Open Source
Open Source
MIT
2,021
molly
giorgioluciano
MATLAB
Code
33
100
clc; clear; close all; EdgeTable = table([1 2; 2 3; 3 5; 4 5; 6 7],'VariableNames',{'EndNodes'}); G = graph(EdgeTable); plot(G) arcs = [1 2; 2 3; 3 5; 4 5; 6 7]; cc=conncomp(graph(table(arcs,'VariableNames',{'EndNodes'})));
41,955
https://github.com/shahzeb44100/Bizbayapp.github.io/blob/master/src/app/pages/posts/maintain-posts/maintain-posts.page.scss
Github Open Source
Open Source
MIT
2,021
Bizbayapp.github.io
shahzeb44100
SCSS
Code
40
138
.ng2-tag-input:focus{ border-bottom: 0px solid #2196f3 !important; } .underline{ height: 130px; overflow: auto; border-bottom: none !important; border-bottom: 0px transparent !important; overflow-x: hidden } .valid{ border: rgb(22, 181, 22) 1px solid !important; } .invalid{ ...
18,493
https://github.com/gribdesbois/bezkoder-tutorial.mui-file-upload/blob/master/backend-old/middleware/get-token.js
Github Open Source
Open Source
MIT
null
bezkoder-tutorial.mui-file-upload
gribdesbois
JavaScript
Code
36
93
const jwt = require('jsonwebtoken') exports.extractUser = (req) => { const token = req.headers.authorization.split(' ')[1] // Notre token est de la forme BEARER const decodedToken = jwt.verify(token, 'RANDOM_TOKEN_SECRET') const { userId } = decodedToken return userId }
38,723
https://github.com/dilames/SwiftyServoControl/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,020
SwiftyServoControl
dilames
Ignore List
Code
6
23
build Packages .build xcuserdata DerivedData/ .DS_Store
22,282
https://github.com/Mymoza/pyannote-audio/blob/master/pyannote/audio/embedding/approaches/base.py
Github Open Source
Open Source
MIT
2,020
pyannote-audio
Mymoza
Python
Code
558
1,419
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2019 CNRS # 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 ...
17,445
https://github.com/thales-e-security/kube-lego/blob/master/tests/e2e-gke-nginx/gke-cluster.tf
Github Open Source
Open Source
Apache-2.0
2,017
kube-lego
thales-e-security
HCL
Code
1
10
../gke-cluster.tf.template
31,722
https://github.com/imrishipatel/springboot/blob/master/springboot-backend/src/main/java/com/springboot/backend/repository/EmployeeRepository.java
Github Open Source
Open Source
MIT
2,021
springboot
imrishipatel
Java
Code
34
101
package com.springboot.backend.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.springboot.backend.model.Employee; //WE do not use the @Repository annotation here since there is no need //as JPARepository already includes the @Repository annotation. public interface EmployeeR...
43,891
https://github.com/fciubotaru/z-pec/blob/master/Zimlet/src/zimlet/com_zimbra_social/socialMiniDlg.js
Github Open Source
Open Source
MIT
2,021
z-pec
fciubotaru
JavaScript
Code
461
2,241
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Zimlets * Copyright (C) 2009, 2010 Zimbra, Inc. * * The contents of this file are subject to the Zimbra Public License * Version 1.3 ("License"); you may not use this file except in * compliance with the License. You may obtain a copy of the Lic...
11,164
https://github.com/TRYON-Technology/JWTSwift/blob/master/Sources/JWTSwift/Signature/HashFunction.swift
Github Open Source
Open Source
MIT
2,020
JWTSwift
TRYON-Technology
Swift
Code
26
65
// // HashFunction.swift // // // Created by Antoine Palazzolo on 23/12/2020. // import Foundation public enum HashFunction { case sha256 case sha384 case sha512 }
12,554
https://github.com/leinardi/MVVMExample1/blob/master/app/src/main/java/com/leinardi/mvvm/adapter/DataListAdapter.java
Github Open Source
Open Source
Apache-2.0
null
MVVMExample1
leinardi
Java
Code
131
530
package com.leinardi.mvvm.adapter; import android.databinding.DataBindingUtil; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.ViewGroup; import com.leinardi.mvvm.R; import com.leinardi.mvvm.databinding.ItemDataBinding; import com.leinardi.mvvm.model.Data; import...
611
https://github.com/jitsi/jitsi-meet-spot/blob/master/spot-electron/src/exit/exitHandler.js
Github Open Source
Open Source
Apache-2.0
2,023
jitsi-meet-spot
jitsi
JavaScript
Code
29
74
const { app } = require('electron'); const { clientController } = require('../client-control'); clientController.on('exitApp', () => { app.quit(); // Forceully exit with a 5s timeout. setTimeout(() => app.exit(0), 5000); });
49,746
https://github.com/sancas/JAVA-UDB/blob/master/Practica 3/guia3/src/ICGuia3/Matriz06.java
Github Open Source
Open Source
MIT
2,017
JAVA-UDB
sancas
Java
Code
73
181
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ICGuia3; /** * * @author sanch */ public class Matriz06 { public static void main(String[] args) { if (args...
51,282
https://github.com/ehitco/cabloy/blob/master/src/module-system/a-hostwechat-sync/front/src/components/capabilities.js
Github Open Source
Open Source
MIT
2,022
cabloy
ehitco
JavaScript
Code
105
318
export default { meta: { global: false, }, methods: { async onAction({ ctx, action, item }) { if (action.name === 'shareLink') return await this._shareLink({ ctx, action, item }); }, async _get_wx({ ctx }) { const action = { actionModule: 'a-wechat', actionComponent: 'j...
48,407
https://github.com/jacobwilliams/FLINT/blob/master/docs/html/_butcher_tableaus_8f90.js
Github Open Source
Open Source
Apache-2.0
null
FLINT
jacobwilliams
JavaScript
Code
310
2,882
var _butcher_tableaus_8f90 = [ [ "doi", "_butcher_tableaus_8f90.html#a8aa226f34ac2d5720ed155d7c18c45b5", null ], [ "dop54_a", "_butcher_tableaus_8f90.html#a48343423c6d8d6027f85d7c8ce8cc1c6", null ], [ "dop54_b", "_butcher_tableaus_8f90.html#ae6f4e0759849274453204357c8ac7299", null ], [ "dop54_bh", "_but...
27,671
https://github.com/yuanpeng666/music/blob/master/components/roc-detail/roc-detail.js
Github Open Source
Open Source
MIT
2,020
music
yuanpeng666
JavaScript
Code
50
181
// components/roc-detail/roc-detail.js import { playMusicTool } from "../../utils/util" Component({ /** * 组件的属性列表 */ properties: { title: { type: String, value: "" }, NewMusic: { type: Array, value: [] } }, /** * 组件的初始数据 */ data: { }, /** * ...
11,088
https://github.com/hashinclude72/weatherApp/blob/master/src/components/Footer.jsx
Github Open Source
Open Source
MIT
2,020
weatherApp
hashinclude72
null
Spoken
187
732
import React, { useContext } from 'react'; import { Linking } from 'react-native'; import styled from 'styled-components/native'; import { RFValue } from 'react-native-responsive-fontsize'; import AntDesign from 'react-native-vector-icons/AntDesign'; import { ThemeContext } from 'styled-components'; const GITHUB = 'h...
50,628
https://github.com/rafflesargentina/l56-enterprise-boilerplate/blob/master/resources/assets/js/utilities/directives.js
Github Open Source
Open Source
MIT
null
l56-enterprise-boilerplate
rafflesargentina
JavaScript
Code
26
90
import Vue from "vue" import { slugify } from "@/utilities/helpers" Vue.directive("slugify", { twoWay: true, bind: function(el) { el.addEventListener("keyup", function() { this.value = slugify(this.value) }) } })
22,749
https://github.com/apache/ignite/blob/master/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Process/IgniteProcess.cs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-gutenberg-2020, CC0-1.0, BSD-3-Clause
2,023
ignite
apache
C#
Code
826
2,286
/* * 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"); you may ...
18,982
https://github.com/gutenye/fusionjs/blob/master/fusion-core/__tests__/render.js
Github Open Source
Open Source
MIT
2,020
fusionjs
gutenye
JavaScript
Code
699
2,365
/* @flow */ import {run} from './test-helper'; import ClientAppFactory from '../src/client-app'; import ServerAppFactory from '../src/server-app'; import {createPlugin} from '../src/create-plugin'; import {createToken} from '../src/create-token'; import type {Token} from '../src/types.js'; const App = __BROWSER__ ? C...
10,767
https://github.com/ferbarbieri/formacao-talentos/blob/master/Fatec.Treinamento.Data/Repositories/AssuntoRepository.cs
Github Open Source
Open Source
Apache-2.0
2,017
formacao-talentos
ferbarbieri
C#
Code
203
664
using Fatec.Treinamento.Data.Repositories.Interfaces; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using Fatec.Treinamento.Model; using Fatec.Treinamento.Data.Repositories.Base; using Dapper; using Fatec.Treinamento.Mod...
38,384
https://github.com/clayne/FO4_Interface/blob/master/Data/Interface/Source/Bethesda/UI/PowerArmorHUDMenu/HUDCompassWidget.as
Github Open Source
Open Source
RSA-MD
2,020
FO4_Interface
clayne
null
Spoken
39
189
package { import Shared.AS3.BSUIComponent; import flash.display.MovieClip; public dynamic class HUDCompassWidget extends BSUIComponent { public var CompassBar_mc:MovieClip; public var QuestMask_mc:MovieClip; public var QuestMarkerHolder_mc:MovieClip; public var OtherMask_mc:MovieClip; ...
30,627
https://github.com/ZackaryH8/coreclr-module/blob/master/api/AltV.Net.Shared/AltShared.cs
Github Open Source
Open Source
MIT
null
coreclr-module
ZackaryH8
C#
Code
28
113
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("AltV.Net")] [assembly: InternalsVisibleTo("AltV.Net.Mock")] [assembly: InternalsVisibleTo("AltV.Net.Async")] [assembly: InternalsVisibleTo("AltV.Net.Client")] namespace AltV.Net.Shared { internal static class AltShared { public sta...
33,870
https://github.com/loehnertj/quickrpc/blob/master/quickrpc/action_queue.py
Github Open Source
Open Source
MIT
null
quickrpc
loehnertj
Python
Code
170
404
'''ActionQueue: a background worker that manages its own worker thread automatically.''' from threading import Thread, Lock, Event from queue import Queue, Empty __all__ = [ 'ActionQueue', ] class ActionQueue: '''A background worker that manages its own worker thread automatically. Enqueue work items...
32,687
https://github.com/itkSource/yoga/blob/master/yoga-core/src/test/java/org/skyscreamer/yoga/test/model/basic/LeafConfiguration.java
Github Open Source
Open Source
Apache-2.0
2,022
yoga
itkSource
Java
Code
21
107
package org.skyscreamer.yoga.test.model.basic; import org.skyscreamer.yoga.annotations.ExtraField; import org.skyscreamer.yoga.configuration.YogaEntityConfiguration; public class LeafConfiguration extends YogaEntityConfiguration<BasicTestDataLeaf> { @ExtraField("someField") public String getSomeField() { ...
9,109
https://github.com/1Computer1/myriad/blob/master/languages/fsharp/run.sh
Github Open Source
Open Source
MIT
2,021
myriad
1Computer1
Shell
Code
10
29
cat > program.fs fsharpc --optimize- program.fs >/dev/null && mono program.exe
36,200
https://github.com/Rinqt/stock/blob/master/machine_learning/regression_algorithms/lr_default_model.py
Github Open Source
Open Source
MIT
null
stock
Rinqt
Python
Code
29
149
from sklearn.linear_model import LinearRegression from regression_algorithms.regression_model import Model class LrDefaultModel(Model): def create_model(self): self.MODEL = LinearRegression(fit_intercept=self.parameters['fitIntercept'], normalize=self.parameters['nor...
39,078
https://github.com/Mu2e/codetools/blob/master/bin/valJobBuild.sh
Github Open Source
Open Source
Apache-2.0
2,023
codetools
Mu2e
Shell
Code
463
1,245
#! /bin/bash # # build the Offline code from a commit specification # $1= the build work directory # $2= output tarball full path # echo_date() { echo "[$(date)] $*" } echo_date "start build WORKDIR=$1 TBALL=$2" echo_date "cd $1" WORKDIR=$1 shift if [ -z "$WORKDIR" ]; then echo "ERROR - no work dir provided - e...
45,842
https://github.com/openshift/oauth-apiserver/blob/master/hack/lib/init.sh
Github Open Source
Open Source
Apache-2.0
2,023
oauth-apiserver
openshift
Shell
Code
79
121
#!/bin/bash # This script is meant to be the entrypoint for OpenShift Bash scripts to import all of the support # libraries at once in order to make Bash script preambles as minimal as possible. This script recur- # sively `source`s *.sh files in this directory tree. As such, no files should be `source`ed outside # of...
8,609
https://github.com/vchelaru/FlatRedBall/blob/master/Engines/FlatRedBallXNA/FlatRedBall/Utilities/GameRandom.cs
Github Open Source
Open Source
MIT
2,023
FlatRedBall
vchelaru
C#
Code
1,052
2,585
using System; using System.Collections.Generic; using System.Linq; using System.Text; using FlatRedBall.Math.Geometry; using Microsoft.Xna.Framework; namespace FlatRedBall.Utilities { /// <summary> /// Class deriving from Random providing additional random methods commonly used in games. Typically this is acc...
21,886
https://github.com/zp4rker/audiolevels/blob/master/src/main/kotlin/com/zp4rker/audiolevels/command/audio/PauseCommand.kt
Github Open Source
Open Source
Apache-2.0
null
audiolevels
zp4rker
Kotlin
Code
41
162
package com.zp4rker.audiolevels.command.audio import com.zp4rker.audiolevels.SCHEDULER import com.zp4rker.disbot.command.Command import net.dv8tion.jda.api.entities.Message import net.dv8tion.jda.api.entities.TextChannel /** * @author zp4rker */ object PauseCommand : Command(aliases = arrayOf("pause")) { overr...
44,498
https://github.com/Grosskopf/openoffice/blob/master/main/chart2/source/controller/makefile.mk
Github Open Source
Open Source
Apache-2.0
2,022
openoffice
Grosskopf
Makefile
Code
359
1,229
#************************************************************** # # 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 y...
3,774
https://github.com/vcd94xt10z/zionphp/blob/master/modules/waf/standard/view/blacklist-result-filter.php
Github Open Source
Open Source
MIT
2,021
zionphp
vcd94xt10z
PHP
Code
118
1,004
<?php use zion\core\System; use zion\utils\TextFormatter; use zion\mod\builder\model\Text; $t = Text::getEntityTexts("waf","BlackList"); $objList = System::get("objList"); ?> <div class="table-responsive"> <table class="table table-striped table-hover table-bordered table-sm"> <thead> <tr> <td><input type="chec...
28,990
https://github.com/microsoft/v8-jsi/blob/master/scripts/patch/src.diff
Github Open Source
Open Source
MIT, LicenseRef-scancode-openssl, NAIST-2003, LicenseRef-scancode-unicode, Zlib, Artistic-2.0, LicenseRef-scancode-public-domain-disclaimer, LicenseRef-scancode-unknown-license-reference, ICU, BSD-3-Clause, NTP, CC0-1.0, ISC, Apache-2.0, LicenseRef-scancode-public-domain, BSD-2-Clause
2,023
v8-jsi
microsoft
null
Spoken
1,237
4,282
diff --git a/BUILD.gn b/BUILD.gn index a69e7b2edb..2c2c4ac6bf 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1350,7 +1350,7 @@ config("toolchain") { } else if (target_os == "mac") { defines += [ "V8_HAVE_TARGET_OS" ] defines += [ "V8_TARGET_OS_MACOS" ] - } else if (target_os == "win") { + } else if (target_os ...
2,218
https://github.com/Arbuzio12312/arbuzio12312.github.io/blob/master/js/Blokada.js
Github Open Source
Open Source
MIT
2,020
arbuzio12312.github.io
Arbuzio12312
JavaScript
Code
370
1,760
function blokada() { var body = document.getElementById("body"); body.style.width="100%"; body.style.height="100%"; body.style.backgroundImage='url("/obrazy/blokada.jpg")'; body.style.backgroundRepeat="no-repeat"; body.style.backgroundSize="100% 100%"; body.style.backgroundPosition="center"; body.innerHTML='<di...
35,992
https://github.com/darkree/audioverse-mobile/blob/master/src/components/buttons/ImageButton.test.js
Github Open Source
Open Source
Apache-2.0
2,019
audioverse-mobile
darkree
JavaScript
Code
24
71
import React from 'react' import ImageButton from './ImageButton' import renderer from 'react-test-renderer' test('renders correctly', () => { const tree = renderer.create(<ImageButton />).toJSON() expect(tree).toMatchSnapshot() })
20,799
https://github.com/AlphaHydrae/docker-backup/blob/master/variants/2.7.3-slim-buster/mongodb-4.4
Github Open Source
Open Source
MIT
null
docker-backup
AlphaHydrae
null
Spoken
32
137
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 656408E390CFB1F5 && \ echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list && \ apt-get update && \ apt-get install -y mongodb-org-tools=4.4.6 && \ mongodump --version...
2,050
https://github.com/weblifeio/chromium/blob/master/ash/ambient/ui/ambient_video_utils.cc
Github Open Source
Open Source
BSD-3-Clause
2,023
chromium
weblifeio
C++
Code
159
500
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/ambient/ui/ambient_video_utils.h" #include "ash/public/cpp/personalization_app/time_of_day_paths.h" #include "base/check.h" #include "base/command_line.h" #inclu...
35,674
https://github.com/getshipup/react-intl-translations-manager/blob/master/src/createSingleMessagesFile.js
Github Open Source
Open Source
MIT
2,019
react-intl-translations-manager
getshipup
JavaScript
Code
82
200
import Path from 'path'; import { writeFileSync } from 'fs'; import { sync as mkdirpSync } from 'mkdirp'; import stringify from './stringify'; export default ({ messages, directory, fileName = 'defaultMessages.json', sortKeys = true, jsonSpaceIndentation = 2 }) => { if (!messages) { throw new Error('Me...
28,067
https://github.com/gini/gini-sdk-ios/blob/master/Gini-iOS-SDK/GINIDocumentLinks.h
Github Open Source
Open Source
MIT
2,020
gini-sdk-ios
gini
C
Code
44
163
// // GINIDocumentLinks.h // Gini-iOS-SDK // // Created by Gini GmbH on 3/27/18. // @interface GINIDocumentLinks: NSObject @property (readonly) NSString *document; @property (readonly) NSString *extractions; @property (readonly) NSString *layout; @property (readonly) NSString *processed; - (instanc...
23,375
https://github.com/PowerfulBart/classassistant/blob/master/app/src/main/java/com/example/zhengbotao/classassistant/login/MainActivity.java
Github Open Source
Open Source
Apache-2.0
null
classassistant
PowerfulBart
Java
Code
147
620
package com.example.zhengbotao.classassistant.login; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import com.example.zhengbotao.classassistant.R; import com.example.zhengbotao.classassistant.base.BaseActivity; import com.example.zhengbotao.classassistant.mvptest.Pres...
32,276
https://github.com/ckamtsikis/cmssw/blob/master/DQM/CSCMonitorModule/data/emuMerge.xsl
Github Open Source
Open Source
Apache-2.0
2,022
cmssw
ckamtsikis
null
Spoken
25
215
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <xsl:output method="xml" omit-xml-declaration="no" indent="yes"/> <xsl:template match="/"> <DocLayout> <xsl:copy-of select="*"/> ...
34,212
https://github.com/milkcan/thatconference2021_flutter/blob/master/tabletop_scanner_TEMPLATE/lib/utilities/interactions.dart
Github Open Source
Open Source
CC0-1.0
null
thatconference2021_flutter
milkcan
Dart
Code
47
199
import 'package:flutter/material.dart'; import 'package:tabletop_scanner/utilities/constants.dart'; void openScreen(screen, BuildContext context) { Navigator.push( context, MaterialPageRoute(builder: (context) => screen), ); } void toastError(String message, BuildContext context) { ScaffoldMessenger.of(...
45,873
https://github.com/Ali229/OOD-Project/blob/master/server/src/main/java/premiumtravel/cache/TripRegistry.java
Github Open Source
Open Source
MIT
null
OOD-Project
Ali229
Java
Code
37
155
package premiumtravel.cache; import premiumtravel.trip.Trip; import javax.ejb.ConcurrencyManagement; import javax.ejb.ConcurrencyManagementType; import javax.ejb.Singleton; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.inject.Model; import javax.inject.Named; @Named @Model @Singleton @Ap...
2,277
https://github.com/jelszo-co/novel/blob/master/frontend/src/pages/components/Menu.jsx
Github Open Source
Open Source
MIT
null
novel
jelszo-co
null
Spoken
232
830
import React, { useState, useEffect, useRef } from 'react'; import { useTranslation } from 'react-i18next'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import moment from 'moment'; import '../../css/components/menu.scss'; const useOutsideAlerter = (ref, changeMenu) => { useEffect...
54,079
https://github.com/Neil9102/gogocode-copy/blob/master/packages/gogocode-plugin-vue/src/key-attribute.js
Github Open Source
Open Source
MIT
2,022
gogocode-copy
Neil9102
JavaScript
Code
117
428
module.exports = function (ast) { // 迁移指南: https://v3.cn.vuejs.org/guide/migration/key-attribute.html let templateAst = ast.find('<template></template>') if(templateAst.length < 1){ return ast } templateAst.find('<$_$>').each(node => { let attrList = node.attr('conten...
26,633
https://github.com/Intermax-Cloudsourcing/laravel-open-api/blob/master/src/Generator/Mapping/Mapper.php
Github Open Source
Open Source
MIT
2,022
laravel-open-api
Intermax-Cloudsourcing
PHP
Code
11
36
<?php namespace Intermax\LaravelOpenApi\Generator\Mapping; interface Mapper { public function map(): Schema; }
2,797
https://github.com/aneira/spring-commons/blob/master/spring-commons-rest-validation/src/main/java/com/github/damianwajser/validator/constraint/enums/CountryIso3166Constraint.java
Github Open Source
Open Source
Apache-2.0
2,020
spring-commons
aneira
Java
Code
64
316
package com.github.damianwajser.validator.constraint.enums; import com.github.damianwajser.validator.annotation.enums.Country_ISO3166; import com.github.damianwajser.validator.constraint.AbstractConstraint; import com.github.damianwajser.validator.constraint.enums.values.Countries; import org.springframework.http.Http...
2,273
https://github.com/lazytuanzi/quick.start/blob/master/src/main/java/quick/start/repositorys/jdbc/types/JdbcSortType.java
Github Open Source
Open Source
Apache-2.0
2,021
quick.start
lazytuanzi
Java
Code
67
235
package quick.start.repositorys.jdbc.types; import quick.start.repositorys.types.SortType; /** * @author yuanweiquan */ public enum JdbcSortType { /** * 升序 */ ASC(SortType.ASC, "asc"), /** * 降序 */ DESC(SortType.DESC, "desc"); private String value; private SortT...
52,835
https://github.com/nourahsaad/robot_2/blob/master/index.php
Github Open Source
Open Source
MIT
null
robot_2
nourahsaad
PHP
Code
560
1,822
<?php $servername = "localhost"; $username = "root"; $password = ""; $dbName = "robot2"; // Create connection $conn = new mysqli($servername, $username, $password, $dbName); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo '<span style="color:#fff;text-align...
5,595
https://github.com/CSTLeagueORG/MockMongoose/blob/master/bugs/190.js
Github Open Source
Open Source
MIT
2,021
MockMongoose
CSTLeagueORG
JavaScript
Code
87
243
const mongoose = require('mongoose'); const mockgoose = require('../mockmongoose'); const expect = require('chai').expect; mockgoose( mongoose ) // Create the mongoose connection on init before(function(done) { mongoose.connect('mongodb://example.com/TestingDB', function(err) { done(err) }) }); // Cl...
35,379
https://github.com/itisaby/Progress-Reminder/blob/master/Arrays/Sorting/tempCodeRunnerFile.c
Github Open Source
Open Source
MIT
2,021
Progress-Reminder
itisaby
C
Code
2
7
display(c, k);
10,426
https://github.com/mattiasewers/sact/blob/master/packages/core/src/handlePromise.ts
Github Open Source
Open Source
MIT
null
sact
mattiasewers
TypeScript
Code
120
413
import { HttpError } from './error'; import { Response } from './types'; export function handlePromise(res: Response, promise: Promise<any>): void { promise .then((data) => { if (typeof data === 'undefined') { return; } const result = ['array', 'object', 'number'].includes(typeof data) ...
3,673
https://github.com/chrisvdg/scrumtime/blob/master/messenger/slack.go
Github Open Source
Open Source
MIT
2,018
scrumtime
chrisvdg
Go
Code
177
513
package messenger import ( "fmt" "github.com/chrisvdg/scrumtime/config" "github.com/nlopes/slack" ) // NewSlackMessenger returns a new Slack messenger func NewSlackMessenger(channel []string, message *config.Message, apikey string, verbose bool) (*SlackMessenger, error) { if apikey == "" { return nil, fmt.Erro...
24,279
https://github.com/ryanoneill/portable-react/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,015
portable-react
ryanoneill
Ignore List
Code
3
19
node_modules keys.json src/stores/tweet.json
16,543
https://github.com/valcohen/test_gen_1/blob/master/Assets/Main Scene.meta
Github Open Source
Open Source
MIT
2,018
test_gen_1
valcohen
Unity3D Asset
Code
16
78
fileFormatVersion: 2 guid: 7b0aa97041a3f41b1ad282d3f374c44b folderAsset: yes timeCreated: 1521952751 licenseType: Free DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
6,943
https://github.com/nephila/django-notifications/blob/master/tests/test_models.py
Github Open Source
Open Source
BSD-3-Clause
2,021
django-notifications
nephila
Python
Code
235
1,298
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals from django.db.models.signals import post_save from django.utils.translation import get_language, override from mock import patch from parler.utils.context import smart_override from knocker.signals import active_knocks, ...
8,491
https://github.com/jpoczik/force/blob/master/cypress/integration/categories.spec.ts
Github Open Source
Open Source
MIT
2,022
force
jpoczik
TypeScript
Code
28
89
/* eslint-disable jest/expect-expect */ import { visitWithStatusRetries } from "../helpers/visitWithStatusRetries" describe("/categories", () => { it("renders page content", () => { visitWithStatusRetries("categories") cy.get("h1").should("contain", "The Art Genome Project") }) })
51,917
https://github.com/LocalGround/localground/blob/master/apps/lib/jobs/process-maps.sh
Github Open Source
Open Source
Apache-2.0
2,022
localground
LocalGround
Shell
Code
19
51
#!/bin/bash # the working directory is passed as an argument from the cron job cd $1 #/usr/local/django/dev/localground/jobs python process-maps.py
42,133
https://github.com/shaikhanas1993/typical-rest-server/blob/master/pkg/typpostgres/utility.go
Github Open Source
Open Source
MIT
2,020
typical-rest-server
shaikhanas1993
Go
Code
627
2,017
package typpostgres import ( "database/sql" "fmt" "io/ioutil" "os" "os/exec" "strconv" "github.com/golang-migrate/migrate" "github.com/typical-go/typical-go/pkg/typbuildtool" "github.com/typical-go/typical-go/pkg/typcfg" "github.com/urfave/cli/v2" ) var ( // DefaultMigrationSource is default migration sou...
56,596
https://github.com/Nuatu/frameworks_minimal_rails/blob/master/app/models/framework.rb
Github Open Source
Open Source
MIT
2,014
frameworks_minimal_rails
Nuatu
Ruby
Code
17
53
class Framework < ActiveRecord::Base validates :name, presence: true has_many :taggings, as: :taggable has_many :tags, through: :taggings end
37,806
https://github.com/gabehack/Pyro4/blob/master/examples/oneway/client.py
Github Open Source
Open Source
MIT
null
Pyro4
gabehack
Python
Code
94
269
from __future__ import print_function import time import Pyro4 with Pyro4.core.Proxy("PYRONAME:example.oneway") as serv: print("starting server using a oneway call") serv.oneway_start(6) print("doing some more oneway calls inbetween") serv.nothing() serv.nothing() serv.nothing() serv.nothi...
40,179
https://github.com/Codenator81/MVC6.Grid/blob/master/test/Mvc.Grid.Tests/Helpers/TestHelper.cs
Github Open Source
Open Source
MIT
2,015
MVC6.Grid
Codenator81
C#
Code
27
107
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.WebUtilities; using System; namespace NonFactors.Mvc.Grid.Tests { public class TestHelper { public static IReadableStringCollection ParseQuery(String queryString) { return new ReadableStringCo...
18,581
https://github.com/Shelvak/FireAlerter/blob/master/test/test_helper.rb
Github Open Source
Open Source
MIT
2,020
FireAlerter
Shelvak
Ruby
Code
120
458
require 'test/unit' require 'byebug' require 'awesome_print' require 'bugsnag' require File.expand_path('../../lib/fire_alerter', __FILE__) module TestConnectionClient def post_init send_data $messages.shift send_data "\n" end def receive_data(data) close_connection_after_writing if $messages.empty...
31,674
https://github.com/0xF6/openvino/blob/master/model-optimizer/extensions/analysis/boolean_input.py
Github Open Source
Open Source
Apache-2.0
2,020
openvino
0xF6
Python
Code
215
409
""" Copyright (C) 2018-2020 Intel Corporation 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 i...
29,576
https://github.com/kvswim/kv_introjava/blob/master/HW02/debug.java
Github Open Source
Open Source
MIT
2,020
kv_introjava
kvswim
Java
Code
49
113
public class debug { public static void main(String[] args) { int number; String word; double real; number = 5; word = "start"; real = 10; for (int count=1; count<=3; count++) { number = number * 3; word = word + word.charAt(count); re...
39,358
https://github.com/trelly/stoneoa/blob/master/application/models/Project/Tasks.php
Github Open Source
Open Source
MIT
2,019
stoneoa
trelly
PHP
Code
52
215
<?php /** * 项目任务 * * @author terry */ class Project_TasksModel extends Table{ protected $table = 'project_task'; public function add(Project_TaskModel $task){ $this->insert($task->toArray()); return $this->lastInsertValue; } public function edit(Project_TaskModel $task){ ...
14,290
https://github.com/alexmaco/tokei/blob/master/tests/data/visualbasic.vb
Github Open Source
Open Source
Apache-2.0, MIT
2,022
tokei
alexmaco
Visual Basic
Code
24
37
' 7 lines 4 code 2 comments 1 blanks Public Class C Public Sub M() ' This is a comment End Sub End Class
43,975
https://github.com/nobugjiang/NeverStop/blob/master/NeverStop/NeverStop/Modul/Match/Model/Recommend.h
Github Open Source
Open Source
MIT
2,017
NeverStop
nobugjiang
Objective-C
Code
56
166
// // Recommend.h // NeverStop // // Created by dllo on 16/10/21. // Copyright © 2016年 JDT. All rights reserved. // #import "DYQBaseModel.h" @interface Recommend : DYQBaseModel // 标题 @property (nonatomic, strong) NSString *title; // 用户名 @property (nonatomic, strong) NSString *user_name; // 点赞人数 @property (nonat...
35,185
https://github.com/amirulqayyum/SuperMan-ModdedFiles/blob/master/framework.jar.out/smali_classes2/android/view/ViewGroup$LayoutParams.smali
Github Open Source
Open Source
Apache-2.0
2,021
SuperMan-ModdedFiles
amirulqayyum
Smali
Code
470
2,358
.class public Landroid/view/ViewGroup$LayoutParams; .super Ljava/lang/Object; .source "ViewGroup.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/view/ViewGroup; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "LayoutPar...
13,708
https://github.com/Maledictus/leechcraft/blob/master/src/plugins/lmp/playlistparsers/commonpl.cpp
Github Open Source
Open Source
BSL-1.0
2,021
leechcraft
Maledictus
C++
Code
140
422
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
29,138