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/manMadeLogic/customerService/blob/master/bio_post.py
Github Open Source
Open Source
Apache-2.0
null
customerService
manMadeLogic
Python
Code
141
615
from __future__ import print_function import json import base64 import boto3 from boto3.dynamodb import conditions aws_id = "AKIAJIVWV6V2AYU7X6UQ" aws_key = "UrHw/ZG+Se4hL9JCT0ULV9cdMiqr0MiJ9wcIdgGI" bucket_name = 'cloud-computing-images' region = 'us-east-1' table_name = 'user-image' def compare_faces(decoded_image...
21,052
https://github.com/Nyfaria/NyfsQuiversExpanded-Fabric/blob/master/src/main/java/com/nyfaria/nyfsquiversexpanded/NyfsQuiversExpanded.java
Github Open Source
Open Source
CC0-1.0
null
NyfsQuiversExpanded-Fabric
Nyfaria
Java
Code
187
895
package com.nyfaria.nyfsquiversexpanded; import com.nyfaria.nyfsquiver.NyfsQuivers; import com.nyfaria.nyfsquiver.config.QuiverInfo; import com.nyfaria.nyfsquiver.item.QuiverItem; import net.fabricmc.api.ModInitializer; import net.fabricmc.fabric.api.tag.TagFactory; import net.minecraft.item.Item; import net.minecraft...
8,058
https://github.com/luisboch/jphysics-3d/blob/master/mage/src/main/java/br/pucpr/mage/Image.java
Github Open Source
Open Source
Apache-2.0
null
jphysics-3d
luisboch
Java
Code
249
791
package br.pucpr.mage; import br.pucpr.mage.util.ResourceUtil; import static org.lwjgl.stb.STBImage.*; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.IntBuffer; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.nio.channel...
56,251
https://github.com/Palem1988/ion_old/blob/master/doc/doxygen/html/d4/d90/class_c_wallet_d_b_a507690da431ef61244941ad39c308aeb_icgraph.dot
Github Open Source
Open Source
MIT
2,017
ion_old
Palem1988
Graphviz (DOT)
Code
46
600
digraph "CWalletDB::WriteMasterKey" { edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; node [fontname="Helvetica",fontsize="10",shape=record]; rankdir="LR"; Node916 [label="CWalletDB::WriteMasterKey",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", f...
43,199
https://github.com/stormtracks/rust-examples/blob/master/narrow/examples/city.rs
Github Open Source
Open Source
MIT
2,023
rust-examples
stormtracks
Rust
Code
100
337
/// A nested array type where each child (called *field*) /// is represented by a separate array /// # Example: Create an array from a vector of fields use arrow::array::{ArrayRef, BooleanArray, Int32Array, StringArray, StructArray}; use arrow::datatypes::{DataType, Field}; use std::sync::Arc; fn main() -> arrow::err...
4,518
https://github.com/actualbudget/actual/blob/master/packages/desktop-client/src/components/payees/ManagePayeesPage.js
Github Open Source
Open Source
MIT
2,023
actual
actualbudget
JavaScript
Code
46
140
import React from 'react'; import { useLocation } from 'react-router'; import { Page } from '../Page'; import ManagePayeesWithData from './ManagePayeesWithData'; export function ManagePayeesPage() { let location = useLocation(); return ( <Page title="Payees"> <ManagePayeesWithData initialSelect...
15,405
https://github.com/9988123/SlinkyTyped/blob/master/p/progressbar_dot_js/src/main/scala/typingsSlinky/progressbarJs/mod/Path.scala
Github Open Source
Open Source
MIT
2,020
SlinkyTyped
9988123
Scala
Code
75
236
package typingsSlinky.progressbarJs.mod import org.scalajs.dom.raw.Element import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @JSImport("progressbar.js", "Path") @js.native class Path[SElement /* <: Element */] () extends typingsSlinky.progressbarJs.pathMod.^[SElement] { def ...
47,182
https://github.com/Vlix/witai/blob/master/Web/WitAI/Types/Responses.hs
Github Open Source
Open Source
MIT
2,019
witai
Vlix
Haskell
Code
106
342
module Web.WitAI.Types.Responses ( module Web.WitAI.Types.Responses.Message , module Web.WitAI.Types.Responses.Converse , module Web.WitAI.Types.Responses.Entities ) where import Data.Text import Data.Aeson import Data.Aeson.Types (typeMismatch) import ...
37,785
https://github.com/jaredpalmer/next.js/blob/master/packages/next/src/client/components/router-reducer/apply-router-state-patch-to-tree.ts
Github Open Source
Open Source
MIT
2,023
next.js
jaredpalmer
TypeScript
Code
160
435
import { FlightRouterState, FlightSegmentPath, } from '../../../server/app-render' import { matchSegment } from '../match-segments' /** * Apply the router state from the Flight response. Creates a new router state tree. */ export function applyRouterStatePatchToTree( flightSegmentPath: FlightSegmentPath, fli...
33,046
https://github.com/xiyaowong/onedark.nvim/blob/master/lua/onedark/init.lua
Github Open Source
Open Source
MIT
null
onedark.nvim
xiyaowong
Lua
Code
20
54
local util = require 'onedark.util' local theme = require 'onedark.theme' local M = {} function M.colorscheme() util.load(theme.setup()) end return M
19,587
https://github.com/agindre/breizhcamp/blob/master/src/main/webapp/views/crud/room/index.jsp
Github Open Source
Open Source
MIT
2,012
breizhcamp
agindre
null
Spoken
59
325
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <script type='text/javascript' charset='utf-8'> setActive('rooms'); </script> <div class="row"> <table class="table table-striped table-bordered table-condensed span3"> <tr> <th class="span2">Nom de la salle</th> <th class="span1">Action</th> </tr...
22,753
https://github.com/b95505017/coil/blob/master/coil-sample/src/main/java/coil/sample/Image.kt
Github Open Source
Open Source
Apache-2.0
2,021
coil
b95505017
Kotlin
Code
25
69
package coil.sample import androidx.annotation.ColorInt import androidx.annotation.Px data class Image( val url: String, @ColorInt val color: Int, @Px val width: Int, @Px val height: Int )
38,804
https://github.com/jimlofgren/Umbraco-CMS/blob/master/src/Umbraco.Web.UI.Client/src/less/dashboards/healthcheck.less
Github Open Source
Open Source
MIT
2,018
Umbraco-CMS
jimlofgren
Less
Code
235
910
.umb-healthcheck { display: flex; flex-wrap: wrap; margin-left: -10px; margin-right: -10px; } .umb-healthcheck-help-text { line-height: 1.6em; } .umb-healthcheck-action-bar { display: flex; justify-content: flex-end; margin-bottom: 20px; } /* Group and states */ .umb-healthcheck-group { display: flex; fl...
45,406
https://github.com/mjester93/linked-list-lab-wdc01-seng-ft-060120/blob/master/index.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,020
linked-list-lab-wdc01-seng-ft-060120
mjester93
JavaScript
Code
188
477
const getName = (node) => { return node.name } const headNode = (linkedList, collection) => { return collection[linkedList] } const next = (node, collection) => { return collection[`${node.next}`] } const nodeAt = (index, linkedList, collection) => { let currentNode = headNode(linkedList, collection); for(...
55,234
https://github.com/CSS-ZEN/garden/blob/master/src/components/quote.tsx
Github Open Source
Open Source
CC0-1.0
2,021
garden
CSS-ZEN
TSX
Code
67
212
interface IProps { inline?: boolean quote: string cite?: string author?: string work?: string } export default function Quote ({ inline = false, quote, cite, author, work, }: IProps) { if (inline) return ( <span role="quote"><q cite={cite}>{quote}</q>{author ? <sp...
27,177
https://github.com/brijesh8501/ni_finances/blob/master/app/Http/Controllers/checkdataavoidduplication.php
Github Open Source
Open Source
MIT
2,018
ni_finances
brijesh8501
PHP
Code
39
142
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class checkdataavoidduplication extends Controller { // public function checkdataform($tablename,$whereid,$whereidvalue) { // select query to check data exists or not in database // $resul...
7,667
https://github.com/openstack/charm-ceph-rbd-mirror/blob/master/src/lib/charm/openstack/ceph_rbd_mirror.py
Github Open Source
Open Source
Apache-2.0
2,019
charm-ceph-rbd-mirror
openstack
Python
Code
783
2,561
# Copyright 2018 Canonical Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
19,159
https://github.com/graemsheppard/MonteCarlo/blob/master/src/sql/views/view4.sql
Github Open Source
Open Source
MIT
2,021
MonteCarlo
graemsheppard
SQL
Code
19
44
CREATE VIEW user_comments AS SELECT U.Username, C.Content FROM U FULL JOIN C ON U.Username = C.Username ORDER BY C.Content;
27,646
https://github.com/medusajs/medusa/blob/master/packages/medusa/src/services/__tests__/product.js
Github Open Source
Open Source
MIT
2,023
medusa
medusajs
JavaScript
Code
1,566
5,592
import { IdMap, MockManager, MockRepository } from "medusa-test-utils" import ProductService from "../product" import { FlagRouter } from "@medusajs/utils" const eventBusService = { emit: jest.fn(), withTransaction: function () { return this }, } const mockUpsertTags = jest.fn().mockImplementation((data) =>...
25,697
https://github.com/mujahidkhaleel/pipanther/blob/master/src/appx/jsx/Temperature.jsx
Github Open Source
Open Source
MIT
2,016
pipanther
mujahidkhaleel
null
Spoken
89
382
var React = require('react'), ReactDOM = require('react-dom'); var Temperature = React.createClass({ round: function(data){ return Number((data).toFixed(2)); }, loadFromPi: function() { $.ajax({ url: this.props.source, dataType: 'json', cache: false, success: functi...
19,920
https://github.com/impaler/Omni-Commands/blob/master/src/omni/commands/commands/FunctionCommand.as
Github Open Source
Open Source
MIT
2,012
Omni-Commands
impaler
null
Spoken
77
189
package omni.commands.commands { import omni.commands.Command; /** * Basic Command to call a defined function with parameters. * */ public class FunctionCommand extends Command { protected var _function:Function; protected var _params:Array; public function FunctionCommand (func:Function,params:Array = null) {...
54,045
https://github.com/gndx/gndx.dev/blob/master/tailwind.config.js
Github Open Source
Open Source
MIT
2,023
gndx.dev
gndx
JavaScript
Code
223
1,049
const plugin = require("tailwindcss/plugin"); /** @type {import('tailwindcss').Config} */ module.exports = { content: ["./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}"], darkMode: "class", corePlugins: { aspectRatio: false, }, theme: { extend: { colors: { bgColor: "hsl(var(--theme-bg) / <alpha-val...
35,821
https://github.com/dipesg/Vision-Attendence-System/blob/master/src/collect_trainingdata/get_faces_from_camera.py
Github Open Source
Open Source
Apache-2.0
null
Vision-Attendence-System
dipesg
Python
Code
231
859
import sys # from src.insightface.src.common import face_preprocess from src.insightface.src.common import face_preprocess sys.path.append('../insightface/deploy') sys.path.append('../insightface/src/common') from mtcnn.mtcnn import MTCNN # import face_preprocess import numpy as np import cv2 import os from datetime...
44,492
https://github.com/teustice/super-rentals/blob/master/app/templates/components/announcement-tile.hbs
Github Open Source
Open Source
MIT
2,017
super-rentals
teustice
null
Spoken
9
51
<p><strong>{{announcement.title}}</strong> | <em>{{announcement.blurb}}</em> <button class="btn btn-default" {{action 'delete' announcement}}>Delete</button></p>
39,170
https://github.com/MurielSoftware/MurielBackup/blob/master/Muriel/MuVertex.h
Github Open Source
Open Source
Apache-2.0
2,017
MurielBackup
MurielSoftware
C++
Code
38
96
#pragma once #include "Vec3.h" using namespace Glml; namespace Muriel { class Vertex { private: Vec3 _position; public: inline const Vec3& GetPosition() const { return _position; } inline void SetPosition(const Vec3& position) { _position = position; } }; }
27,565
https://github.com/iracooke/bcc2020CLE/blob/master/exercise_3/01_split.sh
Github Open Source
Open Source
MIT
2,020
bcc2020CLE
iracooke
Shell
Code
8
29
cat H_mac_protein.fasta | bioawk -c 'fastx' -f split.awk
47,200
https://github.com/udit512/Data-Structure-Using-c/blob/master/stackUsingArray.c
Github Open Source
Open Source
MIT
null
Data-Structure-Using-c
udit512
C
Code
185
564
#include<stdio.h> #include<stdlib.h> struct Stack{ int top; int capacity; int *array; }; struct Stack * createStack(int cap){ struct Stack * stack = (struct Stack *)malloc(sizeof(struct Stack)); stack->top= -1; stack->capacity = cap; int *array = (int *)malloc(cap*sizeof(int)); stack->...
15,116
https://github.com/tedrand/my-blog/blob/master/gatsby/create-pages.js
Github Open Source
Open Source
MIT
2,020
my-blog
tedrand
JavaScript
Code
212
588
const path = require(`path`) const COLLECTIONS = [ { name: "blog", postsPerPage: 12, }, { name: "static", postsPerPage: 12, }, { name: "flashcards", postsPerPage: 20, }, ] const filterEdges = name => edges => edges.filter(edge => edge.node.fields.collection === name) const build...
45,540
https://github.com/PaloAltoNetworks/manipulate/blob/master/maniphttp/helpers.go
Github Open Source
Open Source
Apache-2.0
2,020
manipulate
PaloAltoNetworks
Go
Code
842
1,996
// Copyright 2019 Aporeto Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
50,649
https://github.com/luke-biel/bitaccess/blob/master/bitaccess_macros/src/bit_access.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,021
bitaccess
luke-biel
Rust
Code
1,150
4,402
use convert_case::{Case, Casing}; use proc_macro2::{TokenStream as TokenStream2, TokenStream}; use quote::{quote, ToTokens}; use syn::{parse2, Attribute, Ident, ItemEnum, Visibility}; use crate::{ bit_field::BitField, top_level_macro_arguments::{ GlobalReadOnly, GlobalReadWrite, GlobalW...
38,948
https://github.com/fheer/activos/blob/master/application/models/Persona_model.php
Github Open Source
Open Source
MIT
null
activos
fheer
PHP
Code
233
1,228
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Persona_model extends CI_Model { function __construct() { parent::__construct(); } /** * Get persona by idPersona */ function select_persona($idPersona) { $this->db->select('idPersona,ci,expedido,nombres,apellidoPaterno,ap...
38,993
https://github.com/jlanga/smsk_popoolation/blob/master/src/popoolation2_1201/Modules/javasrc/LogFormatter.java
Github Open Source
Open Source
MIT
2,021
smsk_popoolation
jlanga
Java
Code
34
120
/** * Log formater for MimicrEE * @author robertkofler */ public class LogFormatter extends java.util.logging.Formatter { public LogFormatter() {} @Override public String format(java.util.logging.LogRecord record) { String msg=String.format("%tD %<tT: %s\n",new java.util.Date(recor...
20,887
https://github.com/mgrware/mebeul/blob/master/app/Http/Controllers/CategoryController.php
Github Open Source
Open Source
MIT
null
mebeul
mgrware
PHP
Code
129
509
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Category; use App\Http\Requests\CreateCategoryRequest; use Yajra\Datatables\Datatables; use Illuminate\Http\Response; class CategoryController extends Controller { public function index() { return vie...
25,754
https://github.com/MikroElektronika/mikrosdk_click_v2/blob/master/clicks/thermo9/lib_thermo9/CMakeLists.txt
Github Open Source
Open Source
MIT
2,023
mikrosdk_click_v2
MikroElektronika
CMake
Code
47
256
cmake_minimum_required(VERSION 3.21) if (${TOOLCHAIN_LANGUAGE} MATCHES "MikroC") project(lib_thermo9 LANGUAGES MikroC) else() project(lib_thermo9 LANGUAGES C ASM) endif() if (NOT PROJECT_TYPE) set(PROJECT_TYPE "mikrosdk" CACHE STRING "" FORCE) endif() add_library(lib_thermo9 STATIC src/thermo9.c ...
32,719
https://github.com/jun-ha0/Typee/blob/master/src/test/java/com/typee/logic/interactive/parser/state/helpmachine/HelpStateTest.java
Github Open Source
Open Source
MIT
null
Typee
jun-ha0
Java
Code
101
428
package com.typee.logic.interactive.parser.state.helpmachine; import static com.typee.testutil.Assert.assertThrows; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; impor...
17,857
https://github.com/jorgedsilva/snipe-it-master/blob/master/app/Importer/ItemImporter.php
Github Open Source
Open Source
Apache-2.0
null
snipe-it-master
jorgedsilva
PHP
Code
1,352
4,409
<?php namespace App\Importer; use App\Importer\UserImporter; use App\Models\AssetModel; use App\Models\Category; use App\Models\Company; use App\Models\Location; use App\Models\Manufacturer; use App\Models\Statuslabel; use App\Models\Supplier; use App\Models\Department; use App\Models\User; class ItemImporter extend...
37,099
https://github.com/johan--/SknServices/blob/master/app/domains/access_profile_domain.rb
Github Open Source
Open Source
MIT
2,016
SknServices
johan--
Ruby
Code
265
1,099
## # app/services/access_profile_domain.rb # # Manages user access to this system and its clickables and other resources class AccessProfileDomain < ::Factory::DomainsBase def reload_access_registry # hash = Secure::AccessRegistry.get_ar_permissions_hash # puts generate_xml_from_hash(hash, 'my_stuff', 'File...
27,959
https://github.com/feishengfei/gradle_groovy_syntax/blob/master/operators.gradle
Github Open Source
Open Source
Apache-2.0
2,017
gradle_groovy_syntax
feishengfei
Gradle
Code
1,441
3,387
task t << { /* operators */ assert 1 + 2 == 3 assert 4 - 3 == 1 assert 3 * 5 == 15 assert 3 / 2 == 1.5 assert 10 % 3 == 1 assert 2 ** 3 == 8 /* Unary operators */ assert +3 == 3 assert -4 == 0 - 4 assert -(-1) == 1 /* ++ & -- */ def a = 2 def b = a++ * 3 assert a == 3 && b ...
56,374
https://github.com/JalajChawla/quarkus/blob/master/integration-tests/hibernate-orm-panache-kotlin/src/test/kotlin/io/quarkus/it/panache/KotlinPanacheFunctionalityInGraalITCase.kt
Github Open Source
Open Source
Apache-2.0
2,020
quarkus
JalajChawla
Kotlin
Code
20
71
package io.quarkus.it.panache import io.quarkus.test.junit.NativeImageTest /** * Test various Panache operations running in native mode */ @NativeImageTest class KotlinPanacheFunctionalityInGraalITCase : KotlinPanacheFunctionalityTest()
31,984
https://github.com/tafkanator/redux-loading-promise-middleware/blob/master/test/index.test.js
Github Open Source
Open Source
MIT
2,016
redux-loading-promise-middleware
tafkanator
JavaScript
Code
30
85
import { expect, should } from 'chai'; import middleware from '../src/index'; should(); describe('redux-loading-promise-middleware', () => { // TODO implement actual tests it('should be happy', () => { 'happy'.should.equal('happy'); }); });
46,593
https://github.com/hcpl/serde_mtproto/blob/master/serde_mtproto_derive/src/ast.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,021
serde_mtproto
hcpl
Rust
Code
207
885
pub(crate) struct Container { pub(crate) attrs: Vec<syn::Attribute>, pub(crate) vis: syn::Visibility, pub(crate) ident: proc_macro2::Ident, pub(crate) generics: syn::Generics, pub(crate) data: Data, } pub(crate) enum Data { Struct(syn::DataStruct), Enum(syn::DataEnum), } impl Container { ...
40,613
https://github.com/gahms/ProcrastyLogger/blob/master/Example/Pods/Headers/Private/ProcrastyLogger/PLoggerStore.h
Github Open Source
Open Source
MIT
2,016
ProcrastyLogger
gahms
C
Code
28
106
#import <Foundation/Foundation.h> #import "PLogger.h" @interface PLoggerStore : NSObject { } + (PLoggerStore *)getInstance; - (void)reset; - (PLogger *)getLoggerWithName:(NSString *)loggerName; - (NSArray *)getLoggers; - (void)storeLogger:(PLogger *)logger; - (void)flush; @end
29,693
https://github.com/BlackIcedTea/correction-fluid/blob/master/app/components/RuleEditor.js
Github Open Source
Open Source
MIT
2,017
correction-fluid
BlackIcedTea
JavaScript
Code
279
933
import _ from 'lodash' import React, { Component, PropTypes } from 'react' import update from 'react-addons-update' import pure from 'purecss' import classNames from 'classnames' import yaml from 'js-yaml' import Textarea from 'react-textarea-autosize' import Alert from 'react-s-alert' import 'react-s-alert/dist/s-aler...
55,622
https://github.com/shwetasshinde24/Panoply/blob/master/patched-driver-sdk/customSDK/sdk/simulation/tinst/deriv.h
Github Open Source
Open Source
Apache-2.0
2,022
Panoply
shwetasshinde24
C
Code
691
1,675
/* * Copyright (C) 2011-2016 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: * * * Redistributions of source code must retain the above copyright * notice, this li...
25,285
https://github.com/ycj123/Research-Project/blob/master/proFL-plugin-2.0.3/org/mudebug/prapr/reloc/commons/io/input/TailerListenerAdapter.java
Github Open Source
Open Source
MIT
null
Research-Project
ycj123
Java
Code
47
130
// // Decompiled by Procyon v0.5.36 // package org.mudebug.prapr.reloc.commons.io.input; public class TailerListenerAdapter implements TailerListener { public void init(final Tailer tailer) { } public void fileNotFound() { } public void fileRotated() { } public void handle...
15,682
https://github.com/dima201246/bottle_city/blob/master/src/player.cpp
Github Open Source
Open Source
Apache-2.0
2,016
bottle_city
dima201246
C++
Code
604
2,893
#include "../include/obj.hpp" bool Player::tankCollision(int side, int id) { sf::FloatRect tempRect = Tank::getRect(); switch (side) { case LEFT_SIDE: tempRect.left--; break; case RIGHT_SIDE: tempRect.left++; break; case UP_SIDE: tempRect.top--; break; case DOWN_SIDE: tempRect.top++; break; } Tank::...
39,623
https://github.com/Luke-Vader/artcab/blob/master/Trash/artcab/lib/signup_or_login.dart
Github Open Source
Open Source
Apache-2.0
null
artcab
Luke-Vader
Dart
Code
161
597
import 'package:artcab/login_page.dart'; import 'package:flutter/material.dart'; import 'package:artcab/registration_pages/your_specialisation.dart'; class LoginSignup extends StatefulWidget { @override _LoginSignupState createState() => _LoginSignupState(); } class _LoginSignupState extends State<LoginSignup> { ...
32,559
https://github.com/AmmyUI/NoesisGUI.AmmyIntegration/blob/master/NoesisAmmySampleD3D11/NoesisHelpers/DeviceDX11StateHelper.cs
Github Open Source
Open Source
MIT
2,017
NoesisGUI.AmmyIntegration
AmmyUI
C#
Code
276
1,479
namespace IntegrationSampleDX11.NoesisHelpers { #region using global::SharpDX.Direct3D; using global::SharpDX.Direct3D11; using global::SharpDX.DXGI; using global::SharpDX.Mathematics.Interop; #endregion /// <summary> /// This helper provide methods for saving and restoring DX11 graphics devi...
8,130
https://github.com/vishnudevk/MiBandDecompiled/blob/master/Original Files/apktool/Mi/smali/org/achartengine/util/XYEntry.smali
Github Open Source
Open Source
Apache-2.0
2,021
MiBandDecompiled
vishnudevk
Smali
Code
171
746
.class public Lorg/achartengine/util/XYEntry; .super Ljava/lang/Object; # interfaces .implements Ljava/util/Map$Entry; # annotations .annotation system Ldalvik/annotation/Signature; value = { "<K:", "Ljava/lang/Object;", "V:", "Ljava/lang/Object;", ">", "Ljava/lang...
15,336
https://github.com/JulesHervault/lara-framework/blob/master/LARAC/src/larac/utils/xml/entity/Attribute.java
Github Open Source
Open Source
Apache-2.0
2,022
lara-framework
JulesHervault
Java
Code
364
781
/** * Copyright 2013 SPeCS Research Group. * * 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 agr...
40,955
https://github.com/kaitai-io/formats-kaitai-io.github.io/blob/master/gettext_mo/src/perl/GettextMo.pm
Github Open Source
Open Source
0BSD
2,021
formats-kaitai-io.github.io
kaitai-io
Perl
Code
1,632
6,284
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild use strict; use warnings; use IO::KaitaiStruct 0.009_000; use Encode; ######################################################################## package GettextMo; our @ISA = 'IO::KaitaiStruct::Struct'; sub from_file { ...
54,795
https://github.com/2amigos/yii2-usuario/blob/master/src/User/Service/UserRegisterService.php
Github Open Source
Open Source
BSD-3-Clause
2,023
yii2-usuario
2amigos
PHP
Code
207
770
<?php /* * This file is part of the 2amigos/yii2-usuario project. * * (c) 2amigOS! <http://2amigos.us/> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace Da\User\Service; use Da\User\Contracts\ServiceInterface; use Da\Us...
44,073
https://github.com/toniedzwiedz/gradle-aem-plugin/blob/master/src/main/kotlin/com/cognifide/gradle/aem/common/instance/service/repository/RepositoryType.kt
Github Open Source
Open Source
Apache-2.0
2,021
gradle-aem-plugin
toniedzwiedz
Kotlin
Code
160
577
package com.cognifide.gradle.aem.common.instance.service.repository import com.cognifide.gradle.aem.common.utils.JcrUtil import java.text.SimpleDateFormat import java.util.* object RepositoryType { fun hint(value: Any?): String? = when (value) { is Iterable<*> -> "${hintSimpleType(value.firstOrNull())}[]...
47,845
https://github.com/code4craft/webmagic/blob/master/webmagic-core/src/main/java/us/codecraft/webmagic/processor/SimplePageProcessor.java
Github Open Source
Open Source
Apache-2.0
2,023
webmagic
code4craft
Java
Code
94
339
package us.codecraft.webmagic.processor; import us.codecraft.webmagic.Page; import us.codecraft.webmagic.Site; import java.util.List; /** * A simple PageProcessor. * * @author code4crafter@gmail.com <br> * @since 0.1.0 */ public class SimplePageProcessor implements PageProcessor { private String urlPattern...
4,520
https://github.com/lambdulus/frontend/blob/master/src/markdown-integration/AppTypes.ts
Github Open Source
Open Source
2,022
frontend
lambdulus
TypeScript
Code
174
387
import { BoxType, AbstractBoxState } from "../Types" export interface NoteState extends AbstractBoxState { __key : string type : BoxType note : string isEditing : boolean editor : { placeholder : string content : string caretPosition : number syntaxError : Error | null } } export function...
27,972
https://github.com/weiplanet/uno/blob/master/src/Uno.UI.FluentTheme.v2/Resources/.editorconfig
Github Open Source
Open Source
Apache-2.0
2,023
uno
weiplanet
null
Spoken
24
119
# Overrides our root .editorconfig to match https://github.com/microsoft/microsoft-ui-xaml/blob/fd22d7ff96871f58fec5d9b284eba02fe762c60e/.editorconfig#L120-L126 [**.{xaml,xml}] indent_style = space indent_size = 4 charset = utf-8-bom insert_final_newline = true trim_trailing_whitespace = true
41,103
https://github.com/ashokdy/NYTimes/blob/master/NYTimes/Helpers/Extensions.swift
Github Open Source
Open Source
MIT
2,018
NYTimes
ashokdy
Swift
Code
452
1,121
// // Constants.swift // NYTimes // // Created by Ashok Devangam Yerra on 6/25/18. // Copyright © 2018 Ashok Devangam Yerra. All rights reserved. // import UIKit extension UIImageView { func downloadImageAt(_ path: String?, withContentMode mode: UIViewContentMode = .scaleAspectFit) { gua...
49,333
https://github.com/rebcabin/colliding-pucks/blob/master/historical implementations/TWOS/TWOS Source Code/tape-contents/twcur/tools/mplot/magnify.c
Github Open Source
Open Source
MIT
2,018
colliding-pucks
rebcabin
C
Code
718
1,812
/* Copyright (C) 1989, 1991, California Institute of Technology. U.S. Government Sponsorship under NASA Contract NAS7-918 is acknowledged. */ #ifdef XVIEW #include "mplot.h" #include <xview/xview.h> #include <xview/canvas.h> extern Canvas canvas; extern Menu main_menu; Notify_value mag_handler () { menu_...
27,276
https://github.com/CanRau/Nano-SQL/blob/master/packages/Core/src/utilities.ts
Github Open Source
Open Source
MIT
2,020
Nano-SQL
CanRau
TypeScript
Code
4,844
13,730
import { InanoSQLQuery, InanoSQLInstance, adapterReadFilter, adapterReadMultiFilter, TableQueryResult, InanoSQLTable, adapterWriteFilter, adapterConnectFilter, adapterDisconnectFilter, adapterCreateTableFilter, adapterDropTableFilter, adapterDeleteFilter, adapterGetTa...
46,353
https://github.com/XeroAPI/xero-node/blob/master/src/gen/model/bankfeeds/statement.ts
Github Open Source
Open Source
MIT
2,023
xero-node
XeroAPI
TypeScript
Code
242
738
import { EndBalance } from '././endBalance'; import { StartBalance } from '././startBalance'; import { StatementLine } from '././statementLine'; export class Statement { /** * GUID used to identify the Statement. */ 'id'?: string; /** * The Xero generated feed connection Id that identifies the ...
22,188
https://github.com/nmajor/react-redux-starter/blob/master/shared/wrappers/DashboardWrapper.jsx
Github Open Source
Open Source
MIT
null
react-redux-starter
nmajor
null
Spoken
28
86
import React from 'react'; import Header from '../components/Header'; const DashboardWrapper = () => { return (<div className="dashboard-wrapper"> <Header /> <div className="container"> <h1>Dashboard</h1> </div> </div>); }; export default DashboardWrapper;
11,373
https://github.com/MMP-HCKMCR/loaa-app/blob/master/app/src/main/java/com/mpphackday/loaa/helpers/AppHelper.java
Github Open Source
Open Source
MIT
null
loaa-app
MMP-HCKMCR
Java
Code
40
162
package com.mpphackday.loaa.helpers; import android.content.Context; import android.telephony.TelephonyManager; /** * Created by Badgerati on 29/10/2016. */ public abstract class AppHelper { public final static String URL = "https://loaa.herokuapp.com/api/"; public static String getMyPhoneNumber(Context ...
33,944
https://github.com/xiaozhenxiao/web-ui/blob/master/app/less/layout.less
Github Open Source
Open Source
Apache-2.0
null
web-ui
xiaozhenxiao
Less
Code
462
1,643
/* Layout */ html { margin: 0; padding: 0; height: 100%; overflow-x: hidden!important; } body { font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; background-color: #fff; font-size: 13px; color: @color-text; margin: 0; padding: 0; height: 100%; } #header { background-col...
34,904
https://github.com/holgerfriedrich/myrobotlab/blob/master/src/main/resources/resource/WebGui/app/service/js/GoogleSearchGui.js
Github Open Source
Open Source
Apache-2.0
2,022
myrobotlab
holgerfriedrich
JavaScript
Code
247
786
angular.module('mrlapp.service.GoogleSearchGui', []).controller('GoogleSearchGuiCtrl', ['$scope', '$log', 'mrl', '$uibModal', '$sce', '$compile', '$uibModal', function($scope, $log, mrl, $uibModal, $sce, $compile, $uibModal) { // $modal ???? $log.info('GoogleSearchGuiCtrl') // grab the self and message ...
18,746
https://github.com/gresrun/arithmetic-parser/blob/master/src/test/java/net/greghaines/arithmeticparser/antlr4/TestAntlr4ArithmeticParser.java
Github Open Source
Open Source
Apache-2.0
2,013
arithmetic-parser
gresrun
Java
Code
21
97
package net.greghaines.arithmeticparser.antlr4; import net.greghaines.arithmeticparser.TestArithmeticParser; import org.junit.Test; public class TestAntlr4ArithmeticParser extends TestArithmeticParser { @Test public void testEvaluate() { doTest(new Antlr4ArithmeticParser()); } }
41,946
https://github.com/zzlhyly/Cpp_Concurrency_In_Action_Code/blob/master/6.5 带有虚拟节点的队列.cpp
Github Open Source
Open Source
MIT
2,021
Cpp_Concurrency_In_Action_Code
zzlhyly
C++
Code
97
459
#include <memory> template <typename T> class zzlQueue { public: zzlQueue() : m_head(new QueueNode()), m_tail(m_head.get()) { } zzlQueue(const zzlQueue&) = delete; zzlQueue &operator=(const zzlQueue&) = delete; std::shared_ptr<T> try_pop() { if (m_head.get() == m_tail) { return nullptr; } std::s...
40,919
https://github.com/ocopea/orcs/blob/master/site/repository/impl/pom.xml
Github Open Source
Open Source
MIT
2,017
orcs
ocopea
null
Spoken
111
889
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> ...
34,012
https://github.com/square1-io/android-sq1-tools/blob/master/tools/src/main/java/io/square1/tools/Version.java
Github Open Source
Open Source
Apache-2.0
null
android-sq1-tools
square1-io
Java
Code
22
51
package io.square1.tools; /** * Created by roberto on 05/09/2016. */ public class Version { public static final String CURRENT = "1.0.1"; }
27,450
https://github.com/moma-tech/m64-retrofit2-sample/blob/master/src/main/java/com/moma/sample/retrofit2/caller/fund/FundApiCaller.java
Github Open Source
Open Source
MIT
null
m64-retrofit2-sample
moma-tech
Java
Code
137
701
package com.moma.sample.retrofit2.caller.fund; import com.moma.sample.retrofit2.helper.BeanHelper; import com.moma.sample.retrofit2.helper.JsonHelper; import com.moma.sample.retrofit2.helper.StringHelper; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.Retrofit; import retrofit2.http.GET; import r...
53,550
https://github.com/reevespaul/firebird-qa/blob/master/tests/bugs/core_1514_test.py
Github Open Source
Open Source
MIT
null
firebird-qa
reevespaul
Python
Code
258
1,008
#coding:utf-8 # # id: bugs.core_1514 # title: Many new 2.1 built in functions have incorrect NULL semantics # decription: # tracker_id: CORE-1514 # min_versions: [] # versions: 2.5 # qmid: bugs.core_1514 import pytest from firebird.qa import db_factory, isql_act, Action # version: 2....
32,888
https://github.com/zardosht/isar/blob/master/objectdetectors/dummy_detector/objectdetector.py
Github Open Source
Open Source
MIT
null
isar
zardosht
Python
Code
133
432
import os import cv2 import logging import time import isar from isar.tracking.objectdetection import ObjectDetectionPrediction from objectdetectors.dummy_detector import physical_objects, temp_folder_path logger = logging.getLogger("isar.objectdetectors.dummy_detector") activate = False name = "DUMMY_DETECTOR" de...
39,711
https://github.com/Dani28/Social-Network/blob/master/application/views/app/users/nearby.php
Github Open Source
Open Source
MIT
2,017
Social-Network
Dani28
PHP
Code
37
130
<?= $header ?> <title>Nearby Users | Business Network</title> </head> <body> <?= $menu ?> <div class="container"> <div id="conversation-list" class="search-conversations clearfix"> <div class="list-group"> <?= $nearby_users ?> </div> </div> <?= isset($pagination) ? $pagination : '' ?> </div> <?...
4,292
https://github.com/Codepot-Microservices-2015-08/aggregatr-blue/blob/master/src/main/java/pl/codepot/aggregatr/aggregation/ingredient/Order.java
Github Open Source
Open Source
Apache-2.0
2,015
aggregatr-blue
Codepot-Microservices-2015-08
Java
Code
38
127
package pl.codepot.aggregatr.aggregation.ingredient; import java.util.ArrayList; import java.util.List; /** * @author dchojnacki */ public class Order { private List<IngredientType> items = new ArrayList<>(); public List<IngredientType> getItems() { return items; } public void setItems(Li...
25,559
https://github.com/easyops-cn/mongo-rust-driver/blob/master/.evergreen/run-serverless-tests.sh
Github Open Source
Open Source
Apache-2.0
null
mongo-rust-driver
easyops-cn
Shell
Code
116
498
#!/usr/bin/env bash set -o errexit source ./.evergreen/env.sh FEATURE_FLAGS="zstd-compression,snappy-compression,zlib-compression" DEFAULT_FEATURES="" if [ "$ASYNC_RUNTIME" = "async-std" ]; then FEATURE_FLAGS="${FEATURE_FLAGS},async-std-runtime" DEFAULT_FEATURES="--no-default-features" elif [ "$ASYNC_RUNTIM...
18,515
https://github.com/ditaastinaa/Produk/blob/master/web/anggota/hapus_perusahaan.php
Github Open Source
Open Source
MIT
2,020
Produk
ditaastinaa
PHP
Code
60
154
<?php // include database connection file include '../../dbconfig.php'; // Get id from URL to delete that user $id_perusahaan = $_GET['id_perusahaan']; // Delete user row from table based on given id $result = mysqli_query($connect, "DELETE FROM data_perusahaan WHERE id_perusahaan=$id_perusahaan"); // After delet...
399
https://github.com/yurydelendik/cloudlibc/blob/master/src/libc/uv/uv_barrier_init.c
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-2-Clause
2,018
cloudlibc
yurydelendik
C
Code
26
102
// Copyright (c) 2017 Nuxi, https://nuxi.nl/ // // SPDX-License-Identifier: BSD-2-Clause #include <pthread.h> #include <uv.h> int uv_barrier_init(uv_barrier_t *barrier, unsigned int count) { return -pthread_barrier_init(barrier, NULL, count); }
3,008
https://github.com/EthanRao/COMP-4320/blob/master/Projects/Project1/project_submit/src/UDPServer.java
Github Open Source
Open Source
MIT
2,021
COMP-4320
EthanRao
Java
Code
241
716
import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.util.ArrayList; import java.util.Scanner; import java.io.File; /** * Project 01 * @author Xi Rao * @author Qiang Wu * @author Zikai Zhang */ class UDPServer { public static void main(String args[]) throws...
45,662
https://github.com/mean-maraton/mean-maraton/blob/master/modules/core/client/controllers/home.client.controller.js
Github Open Source
Open Source
MIT
null
mean-maraton
mean-maraton
JavaScript
Code
105
507
//.DS_Store(function () { //'use strict'; // angular.module('core').controller('HomeController', HomeController); // function HomeController() { // var vm = this; // }/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
53,909
https://github.com/mattpeacock/Elektron-SDK/blob/master/Java/Eta/Core/src/main/java/com/thomsonreuters/upa/transport/ChannelInfo.java
Github Open Source
Open Source
Apache-2.0
null
Elektron-SDK
mattpeacock
Java
Code
794
1,399
package com.thomsonreuters.upa.transport; import java.util.List; /** * UPA Channel Info available through {@link Channel#info(ChannelInfo, Error)} method call. * * @see Channel */ public interface ChannelInfo { /** * The maximum size buffer allowed to be written to the network. If a larger * buffer...
21,184
https://github.com/tekartik/aliyun.dart/blob/master/common/tablestore_sembast/test/table_sembast_test.dart
Github Open Source
Open Source
BSD-2-Clause
null
aliyun.dart
tekartik
Dart
Code
271
1,008
import 'package:tekartik_aliyun_tablestore/tablestore.dart'; import 'package:tekartik_aliyun_tablestore_sembast/tablestore_sembast.dart'; import 'package:tekartik_common_utils/common_utils_import.dart'; import 'package:test/test.dart'; var options = TsClientOptions(endpoint: 'sembast', secretAccessKey: '', accessK...
45,148
https://github.com/javasuki/winmvc/blob/master/NXDO.Data.MVCP.V2015/Extension/MvcGridControl.cs
Github Open Source
Open Source
MIT
2,014
winmvc
javasuki
C#
Code
930
4,101
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Windows.Forms; using System.Reflection; using NXDO.Data.Reflection; using NXDO.Data.Factory; using NXDO.Data.Extension; namespace NXDO.Data.MVCP { #region interface /// <summary> /// Dev....
42,934
https://github.com/suresh1999/posthog/blob/master/ee/clickhouse/queries/test/test_sessions.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-warranty-disclaimer
2,020
posthog
suresh1999
Python
Code
33
160
from uuid import uuid4 from ee.clickhouse.models.event import create_event from ee.clickhouse.queries.sessions.clickhouse_sessions import ClickhouseSessions from ee.clickhouse.util import ClickhouseTestMixin from posthog.queries.test.test_sessions import sessions_test_factory def _create_event(**kwargs): kwargs....
19,943
https://github.com/TTWShell/algorithms/blob/master/leetcode/string/findLUSlength.go
Github Open Source
Open Source
MIT
2,020
algorithms
TTWShell
Go
Code
219
430
/* https://leetcode.com/problems/longest-uncommon-subsequence-i/#/description Given a group of two strings, you need to find the longest uncommon subsequence of this group of two strings. The longest uncommon subsequence is defined as the longest subsequence of one of these strings and this subsequence should not be an...
32,049
https://github.com/LoveToKnow/ckeditor5/blob/master/packages/ckeditor5-font/src/utils.js
Github Open Source
Open Source
MIT
2,022
ckeditor5
LoveToKnow
JavaScript
Code
481
1,171
/** * @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @module font/utils */ import ColorTableView from './ui/colortableview'; /** * The name of the font size plugin. */ export const...
40,265
https://github.com/alkurntechnologies/rolecall/blob/master/frontend/mail/become-job-owner-html.php
Github Open Source
Open Source
BSD-3-Clause
2,017
rolecall
alkurntechnologies
PHP
Code
45
192
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $user common\models\User */ ?> <div class="password-reset"> <p>Hello <?= Html::encode($model->username) ?>,</p> <p><?= Yii::t('job', sprintf('<b>Hello %s</b><br/><br/>Welcome to %s , You have been successfully registered on %s. Thank you for ...
30,632
https://github.com/graspsoftwaresolutions/Membership/blob/master/resources/views/company/company.blade.php
Github Open Source
Open Source
MIT
2,019
Membership
graspsoftwaresolutions
Blade
Code
94
535
@extends('layouts.layout') @section('content') @if(session('message')) <div class="alert alert-success" id="id"> {{session('message')}} </div> @endif @if(session('errors')) <div class="alert alert-danger" id="id"> {{session('errors')}} </div> @endif <div class="row"> <div class="customer-header"> <div...
27,639
https://github.com/xruimeneses/SurfRR/blob/master/sql-teste2/platforms/android/ant-build/classes.dex.d
Github Open Source
Open Source
Apache-2.0
2,014
SurfRR
xruimeneses
Makefile
Code
19
303
C:\sql-teste2\platforms\android\ant-build\classes.dex : \ C:\sql-teste2\platforms\android\ant-build\classes\org\smile\proto\BuildConfig.class \ C:\sql-teste2\platforms\android\ant-build\classes\org\smile\proto\R$attr.class \ C:\sql-teste2\platforms\android\ant-build\classes\org\smile\proto\R$drawable.class \ C:\sql-tes...
33,728
https://github.com/SARAD-GmbH/rfc2217-gateway/blob/master/src/main.py
Github Open Source
Open Source
Apache-2.0
2,021
rfc2217-gateway
SARAD-GmbH
Python
Code
94
468
#!/usr/bin/env python3 import logging import signal import pyudev import config from usb_devices_handler import UsbDevicesHandler logging.basicConfig( format="%(asctime)s,%(msecs)d %(levelname)-8s [%(filename)s:%(lineno)d] %(message)s", level=logging.DEBUG, ) logger = logging.getLogger(__name__) INTERFACE ...
10,228
https://github.com/saw303/dox/blob/master/web/src/main/resources/messages_de.properties
Github Open Source
Open Source
Apache-2.0
2,018
dox
saw303
null
Spoken
269
974
# # Copyright 2012 - 2013 Silvio Wangler (silvio.wangler@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
48,602
https://github.com/JsonDogLas/dc/blob/master/cloud-s-api/src/main/java/com/cb/platform/yq/base/filepath/service/YqDatePathGeneratorImpl.java
Github Open Source
Open Source
Apache-2.0
2,019
dc
JsonDogLas
Java
Code
32
143
package com.cb.platform.yq.base.filepath.service; import com.cb.platform.yq.base.filepath.service.impl.DatePathGeneratorImpl; /** *云签 日期路径创建方式 */ public class YqDatePathGeneratorImpl extends DatePathGeneratorImpl { public YqDatePathGeneratorImpl(String prefix, String id) { super(prefix, id); } ...
2,172
https://github.com/IGCStudios/Piratas/blob/master/Pirates/Assets/Sprites/Piratas/PNG/Default size/Tiles/Materials.meta
Github Open Source
Open Source
CC0-1.0
2,017
Piratas
IGCStudios
Unity3D Asset
Code
16
76
fileFormatVersion: 2 guid: 2235a0687c18b744fbb243f09d92308a folderAsset: yes timeCreated: 1512056937 licenseType: Free DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
1,733
https://github.com/arosenb4/webProjects/blob/master/projects/pso/outputs/sim218/problem1-20-0.80-3.00-2.00-16.gnuplot
Github Open Source
Open Source
MIT
null
webProjects
arosenb4
Gnuplot
Code
207
598
#!/opt/local/bin/gnuplot -p step = 16 set title 'Psize=20, I=0.80, C=3.00, S=2.00, step:'.step font ",24" unset key set xrange[-50:50] set yrange[-50:50] set style line 1 lc rgb 'red' pt 5 set terminal pngcairo size 1280, 960 set output 'plots/16.png' set arrow from 7.84647, 32.202 to 9.37466, 30.7878 set arrow from 7...
30,650
https://github.com/GeorgeKT/menhir-lang/blob/master/src/ast/expression.rs
Github Open Source
Open Source
MIT
2,023
menhir-lang
GeorgeKT
Rust
Code
1,393
5,324
use crate::ast::*; use crate::span::Span; use std::error::Error; #[derive(Debug, Eq, PartialEq, Clone, Serialize, Deserialize)] pub struct ToOptional { pub inner: Expression, pub optional_type: Type, } #[derive(Debug, Eq, PartialEq, Clone, Serialize, Deserialize)] pub struct TypeCast { pub inner: Expressi...
44,866
https://github.com/jamesgh1220/TaksLaravel/blob/master/app/Http/Controllers/CategoryController.php
Github Open Source
Open Source
MIT
null
TaksLaravel
jamesgh1220
PHP
Code
85
265
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Category; class CategoryController extends Controller { public function __construct() { $this->middleware('auth'); } public function create() { $categories = Category::all();...
35,864
https://github.com/gracious-tech/stello/blob/master/electron/src/setup/oauths.ts
Github Open Source
Open Source
MIT
2,021
stello
gracious-tech
TypeScript
Code
161
426
import http from 'http' import {URL} from 'url' // See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34960 import {readFileSync} from 'fs' import {app} from 'electron' import {get_path} from '../utils/config' import {activate_app} from '../utils/window' // Load oauth html const oauth_html = readFileSy...
9,726
https://github.com/vuongthai91/Pool/blob/master/ChinaPay.B3B.TransactionWeb/Scripts/selector.js
Github Open Source
Open Source
MIT
2,018
Pool
vuongthai91
JavaScript
Code
196
738
/* * 文件框输入时,同步下拉框的选择项 * sender: 文本框 * splitCharacter: 下拉框显示内容分隔符 */ function SelectItem(sender, splitCharacter) { var targetControl = sender.nextSibling.nextSibling; var sourceControl = targetControl.nextSibling; var inputValue = $.trim(sender.value.toUpperCase()); targetControl.innerHTML = '';...
47,749
https://github.com/tuanv2t/WaftEngine/blob/master/client/internals/generators/container/constants.js.hbs
Github Open Source
Open Source
MIT
2,021
WaftEngine
tuanv2t
null
Spoken
34
92
/* * * {{ properCase name }} constants * */ export const DEFAULT_ACTION_REQUEST = 'app/{{ properCase name }}/DEFAULT_ACTION_REQUEST'; export const DEFAULT_ACTION_SUCCESS = 'app/{{ properCase name }}/DEFAULT_ACTION_SUCCESS'; export const DEFAULT_ACTION_FAILURE = 'app/{{ properCase name }}/DEFAULT_ACTION_FAILURE';
39,216
https://github.com/brianbennett/fpga_nes/blob/master/sw/scripts/cpu_nop_hlt.lua
Github Open Source
Open Source
BSD-2-Clause
2,022
fpga_nes
brianbennett
Lua
Code
724
3,886
---------------------------------------------------------------------------------------------------- -- Script: cpu_nop_hlt.lua -- Description: CPU test. Sanity test for NOP instructions, HLT instructions, and querying the PC. ---------------------------------------------------------------------------------------...
46,217
https://github.com/ngrebenshikov/openfl-alivepdf/blob/master/org/alivepdf/images/PDFImage.hx
Github Open Source
Open Source
MIT
2,019
openfl-alivepdf
ngrebenshikov
Haxe
Code
369
871
package org.alivepdf.images; import flash.utils.ByteArray; class PDFImage implements IImage { public var masked(get, never) : Bool; public var transparency(get, never) : String; public var resourceId(get, set) : Int; public var parameters(get, never) : String; public var pal(get, set) : String; ...
18,696
https://github.com/paaland/tempodb-net/blob/master/Client.Tests/JsonDeserializationTests.cs
Github Open Source
Open Source
MIT
2,013
tempodb-net
paaland
C#
Code
364
1,731
using Client.Model; using Moq; using NUnit.Framework; using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Client.Tests { [TestFixture] class JsonDeserializationTests { static JsonDeserializer deserializer = new JsonDeserializer(); ...
49,734