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/Yandiio/BFAA_Final_Submission/blob/master/Submission3/app/src/main/java/com/dicoding/github/lastsubmission/data/entity/UserFollowing.kt | Github Open Source | Open Source | Apache-2.0 | 2,020 | BFAA_Final_Submission | Yandiio | Kotlin | Code | 5 | 30 | package com.dicoding.github.lastsubmission.data.entity
class UserFollowing: ArrayList<UserFollowingResponseItem>() | 19,277 |
https://github.com/inception-project/inception/blob/master/inception/inception-bom/pom.xml | Github Open Source | Open Source | Apache-2.0 | 2,023 | inception | inception-project | null | Spoken | 680 | 8,430 | <!--
Licensed to the Technische Universität Darmstadt under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The Technische Universität Darmstadt
licenses this file to you under the Apache License, Version 2... | 44,302 |
https://github.com/NationalLibraryOfNorway/mime/blob/master/libs/ngx-mime/src/lib/core/viewer-service/swipe-drag-end-counter.spec.ts | Github Open Source | Open Source | MIT | 2,021 | mime | NationalLibraryOfNorway | TypeScript | Code | 158 | 737 | import { Direction } from '../models/direction';
import { Side } from '../models/side';
import { SwipeDragEndCounter } from './swipe-drag-end-counter';
describe('SwipeDragEndCounter ', () => {
let counter: SwipeDragEndCounter;
beforeEach(() => {
counter = new SwipeDragEndCounter();
});
it('should be no h... | 56,171 |
https://github.com/halildurmus/hotdeals-app/blob/master/lib/src/widgets/settings_list_item.dart | Github Open Source | Open Source | MIT | 2,021 | hotdeals-app | halildurmus | Dart | Code | 102 | 329 | import 'package:flutter/material.dart';
class SettingsListItem extends StatelessWidget {
const SettingsListItem({
required this.leading,
required this.onTap,
required this.title,
Key? key,
this.hasNavigation = true,
this.subtitle,
}) : super(key: key);
final bool hasNavigation;
final W... | 25,496 |
https://github.com/vndly/betfair/blob/master/src/com/mauriciotogneri/betfair/api/base/BettingRequest.java | Github Open Source | Open Source | MIT | 2,019 | betfair | vndly | Java | Code | 151 | 596 | package com.mauriciotogneri.betfair.api.base;
import com.mauriciotogneri.betfair.Constants.Debug;
import com.mauriciotogneri.betfair.Constants.Debug.Http;
import com.mauriciotogneri.betfair.utils.JsonUtils;
import com.squareup.okhttp.MediaType;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.RequestBody... | 45,476 |
https://github.com/newrelic/newrelic-dotnet-agent/blob/master/tests/Agent/UnitTests/Core.UnitTest/Wrapper/WrapperTracer.cs | Github Open Source | Open Source | Apache-2.0 | 2,023 | newrelic-dotnet-agent | newrelic | C# | Code | 55 | 208 | // Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using NewRelic.Agent.Extensions.Providers.Wrapper;
using NUnit.Framework;
namespace NewRelic.Agent.Core.Wrapper
{
[TestFixture]
public class Class_WrapperTracer
{
[Test]
public void when_finish_is... | 33,766 |
https://github.com/Cabezudo/Sofia/blob/master/src/main/java/net/cabezudo/sofia/core/sites/domainname/DomainNameException.java | Github Open Source | Open Source | MIT | null | Sofia | Cabezudo | Java | Code | 20 | 75 | package net.cabezudo.sofia.core.sites.domainname;
/**
* @author <a href="http://cabezudo.net">Esteban Cabezudo</a>
* @version 0.01.00, 2019.06.22
*/
public class DomainNameException extends Exception {
}
| 12,014 |
https://github.com/kunimasu/flutter_slack_login_button/blob/master/example/lib/main.dart | Github Open Source | Open Source | Apache-2.0 | null | flutter_slack_login_button | kunimasu | Dart | Code | 61 | 206 | import 'package:flutter/material.dart';
import 'package:slack_login_button/slack_login_button.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
final clientId = 'clientId';
final clientSecret = 'secret';
final scope = ['users... | 10,756 |
https://github.com/peip-mirror/php-rethink-ql/blob/master/src/Connection/Registry.php | Github Open Source | Open Source | Apache-2.0 | 2,022 | php-rethink-ql | peip-mirror | PHP | Code | 175 | 593 | <?php
declare(strict_types = 1);
namespace TBolier\RethinkQL\Connection;
use Symfony\Component\Serializer\Encoder\JsonEncoder;
use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;
use Symfony\Component\Serializer\Serializer;
use TBolier\RethinkQL\Connection\Socket\Socket;
use TBolier\RethinkQL\Connection\Soc... | 39,490 |
https://github.com/mbrukman/DuctileDB/blob/master/xo/src/test/java/com/puresoltechnologies/ductiledb/xo/test/mapping/EntityResultOfIT.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | DuctileDB | mbrukman | Java | Code | 235 | 1,266 | package com.puresoltechnologies.ductiledb.xo.test.mapping;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.hasItems;
import static org.junit.Assert.assertThat;
import java.io.IOException;
import java.util.Collection;
import org.junit.Before;
import org.junit.Test;
import org.junit.ru... | 22,787 |
https://github.com/nekova/homupage/blob/master/vendor/bundler/ruby/1.9.1/gems/google-buttons-sass-0.1.2/vendor/assets/stylesheets/google-buttons.scss | Github Open Source | Open Source | Apache-2.0 | 2,013 | homupage | nekova | SCSS | Code | 102 | 259 | /*!
* Google Buttons Bootstrap
*
* This CSS is intended to be used on top of Twitter Bootstrap, to theme
* it in the Google style.
*
* Constructed by Tim O'Donnell (http://github.com/todc)
* Gemmed by Pete Brousalis (http://github.com/brousalis)
*/
// Bootstrap
@import "bootstrap-mixins";
// Core variables an... | 11,677 |
https://github.com/monperrus/dexcalibur/blob/master/APIs/android_24/android/android/graphics/Camera.smali | Github Open Source | Open Source | Apache-2.0 | 2,020 | dexcalibur | monperrus | Smali | Code | 197 | 706 | .class public Landroid/graphics/Camera;
.super Ljava/lang/Object;
.source "Camera.java"
# direct methods
.method public constructor <init>()V
.locals 2
.prologue
.line 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
... | 46,158 |
https://github.com/Rammy-or-Deal/Rummy/blob/master/Assets/Script/GameCommon/CommonController/TierController.cs | Github Open Source | Open Source | MIT | 2,020 | Rummy | Rammy-or-Deal | C# | Code | 68 | 355 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class TierController : MonoBehaviour
{
public GameObject[] mTiers;
public Transform userInfoPanel;
public Transform moneyPanel;
void Start()
{
try
{
... | 9,819 |
https://github.com/glintcms/glintcms-starter-cannesbanannes/blob/master/local_modules/widget-contact/index.dot | Github Open Source | Open Source | MIT | null | glintcms-starter-cannesbanannes | glintcms | Graphviz (DOT) | Code | 111 | 590 | <!--<div id="google-map" class="wow fadeIn" data-latitude="52.365629" data-longitude="4.871331" data-wow-duration="1000ms" data-wow-delay="400ms"></div>-->
<div id="contact-us" class="parallax">
<div class="container">
<div class="row">
<div class="heading text-center col-sm-8 col-sm-offset-2 wow fadeInUp" ... | 52,459 |
https://github.com/chaticon/runelite/blob/master/runelite-client/src/main/java/net/runelite/client/plugins/timetracking/TimeTrackingConfig.java | Github Open Source | Open Source | BSD-2-Clause | null | runelite | chaticon | Java | Code | 526 | 1,242 | /*
* Copyright (c) 2018 Abex
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and... | 30,453 |
https://github.com/fragglet/PyMouse/blob/master/pymouse/mac.py | Github Open Source | Open Source | Apache-2.0 | 2,017 | PyMouse | fragglet | Python | Code | 389 | 1,317 | # -*- coding: iso-8859-1 -*-
# Copyright 2010 Pepijn de Vos
#
# 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... | 223 |
https://github.com/seanhandley/datacentred-go/blob/master/request_test.go | Github Open Source | Open Source | MIT | 2,017 | datacentred-go | seanhandley | Go | Code | 33 | 113 | package datacentred
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestMiscServerErrors(t *testing.T) {
r := initRecorder("fixtures/server_error")
defer r.Stop()
_, err := Request("POST", "roles", nil)
assert.Equal(t, "400 Bad Request.", err.Error(), "they should be the same")
}
| 36,772 |
https://github.com/vrutkovs/catcatgo/blob/master/backend/db.py | Github Open Source | Open Source | Apache-2.0 | 2,018 | catcatgo | vrutkovs | Python | Code | 63 | 209 | import sys
from pymongo import MongoClient
from pymongo.errors import ServerSelectionTimeoutError
class Mongo():
def __init__(self, username, password, host, port, db):
try:
self.client = MongoClient('mongodb://{}:{}@{}:{}/{}'
.format(username, password, host, port, db))
... | 34,555 |
https://github.com/djaustin/opentdb-client/blob/master/api_model.go | Github Open Source | Open Source | MIT | null | opentdb-client | djaustin | Go | Code | 69 | 228 | package otdbclient
type CategoriesResponse struct {
TriviaCategories []Category `json:"trivia_categories"`
}
type Category struct {
ID int `json:"id"`
Name string `json:"name"`
}
type QuestionsResponse struct {
ResponseCode int `json:"response_code"`
Results []Question `json:"results"`
}
type Q... | 48,536 |
https://github.com/initprism/suntimes/blob/master/src/Types.hs | Github Open Source | Open Source | BSD-3-Clause | null | suntimes | initprism | Haskell | Code | 89 | 202 | {-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}
module Types where
import Data.Text
import GHC.Generics
import Data.Time (Day)
import Data.Aeson
type Address = Text
data When = Now | On Day deriving (Show)
data GeoCoords = GeoCoords
{ lat :: Text
, lon :: Text
} deriving (Show, Generic, Fr... | 12,702 |
https://github.com/scoverage/gradle-scoverage/blob/master/src/functionalTest/resources/projects/scala-multi-module/common/src/test/scala/org/hello/common/WorldCommonSuite.scala | Github Open Source | Open Source | Apache-2.0 | 2,023 | gradle-scoverage | scoverage | Scala | Code | 20 | 87 | package org.hello.common
import org.junit.runner.RunWith
import org.scalatest.FunSuite
import org.scalatest.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class WorldCommonSuite extends FunSuite {
test("fooCommon") {
new WorldCommon().fooCommon()
}
} | 14,506 |
https://github.com/normelton/amazing_nested_set/blob/master/test/amazing_nested_set_test.rb | Github Open Source | Open Source | MIT | 2,016 | amazing_nested_set | normelton | Ruby | Code | 571 | 2,768 | require 'test/unit'
require 'rubygems'
require 'active_record'
$:.unshift File.dirname(__FILE__) + "/../lib"
require File.dirname(__FILE__) + "/../init"
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => ":memory:")
class Default < ActiveRecord::Base
acts_as_nested_set
end
def setup_db
A... | 28,737 |
https://github.com/pkoson/grommet/blob/master/src/js/components/DataTable/index.js | Github Open Source | Open Source | Apache-2.0 | 2,022 | grommet | pkoson | JavaScript | Code | 6 | 12 | export { DataTable } from './DataTable';
| 22,688 |
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/pos/P121/P121440.conll | Github Open Source | Open Source | CC0-1.0, LicenseRef-scancode-public-domain | 2,022 | mtaac_cdli_ur3_corpus | cdli-gh | null | Spoken | 85 | 405 | #new_text=P121440
# ID FORM SEGM XPOSTAG HEAD DEPREL MISC
o.1.1 1(barig) 1(bariga)[unit] NU
o.1.2 sze sze[barley] N
o.1.3 gur gur[unit] N
o.1.4 lugal lugal[king] N
o.2.1 ur5-sze3 urra[loan]-sze PN
o.3.1 ki ki[place] N
o.3.2 ur-me-me-ta Urmeme[1][-ak]-ta PN
o.4.1 ugula ugula[overseer][-ø] N
o.4.2 e2 e[house] N
o.4.3 {d}... | 26,121 |
https://github.com/szabeszcsi/SSAS.Tabular.Monitoring/blob/master/SQL/SSAS.Tabular.Statistics/SSAS.Tabular.Statistics.Database/dbo/Stored Procedures/Load_StatDb_FullText.sql | Github Open Source | Open Source | MIT | null | SSAS.Tabular.Monitoring | szabeszcsi | SQL | Code | 1,137 | 4,159 |
CREATE PROCEDURE [dbo].[Load_StatDb_FullText]
AS BEGIN
SET NOCOUNT ON;
BEGIN TRY
DECLARE @MAXWAIT INT = 0
WHILE (SELECT FULLTEXTCATALOGPROPERTY('QueryTextCat','PopulateStatus')) != 0 AND @MAXWAIT < 50
BEGIN
SET @MAXWAIT = @MAXWAIT + 1
WAITFOR DELAY '00:00:01'
END
BEGIN TRAN
--dbs
MERGE dbo.[Databases] AS TRG
US... | 26,122 |
https://github.com/SureshKuchana/googleclone/blob/master/src/components/Home.jsx | Github Open Source | Open Source | MIT | null | googleclone | SureshKuchana | null | Spoken | 67 | 300 | import React from 'react';
import './Home.css';
import AppsIcon from '@material-ui/icons/Apps';
import {Avatar} from '@material-ui/core';
import {Link} from "react-router-dom";
import Search from "./Search";
function Home() {
return (
<div className="home">
<div className="home_header">
<div className="... | 19,692 |
https://github.com/raphaelcohn/java-parsing/blob/master/source/java-parsing-ast/com/stormmq/java/parsing/ast/intermediateRecorders/IntermediateRecorder.java | Github Open Source | Open Source | MIT | null | java-parsing | raphaelcohn | Java | Code | 13 | 65 | package com.stormmq.java.parsing.ast.intermediateRecorders;
public interface IntermediateRecorder extends TypeIntermediateRecorder, InitializersIntermediateRecorder, FieldIntermediateRecorder, ConstructorIntermediateRecorder, MethodIntermediateRecorder
{
}
| 55,830 |
https://github.com/berwyn/berwyn.me/blob/master/sites/warhammer.berwyn.me/src/reducers/paints.js | Github Open Source | Open Source | MIT | 2,019 | berwyn.me | berwyn | JavaScript | Code | 28 | 76 | import { POPULATE_PAINTS } from '../actions/populate';
export const paints = (state = [], action) => {
switch (action.type) {
case POPULATE_PAINTS:
return action.paints;
default:
return state;
}
};
| 11,442 |
https://github.com/hycdong/rdsn/blob/master/bin/dsn.templates/csharp/composition/composition_stub.php | Github Open Source | Open Source | MIT | 2,019 | rdsn | hycdong | PHP | Code | 346 | 1,541 | <?php
function write_wrapper($file) {
unlink($file);
return function($str) use ($file) {
file_put_contents($file, $str."\n", FILE_APPEND);
};
}
require_once(__DIR__."/../../type.php"); // type.php
$structs = array();
$last_proto_name = "";
$last_thrift_name = "";
$comstub = write_wrapper("tmp/compo.... | 36,240 |
https://github.com/cloudblue/product-sync/blob/master/connect/cli/plugins/product/sync/static_resources.py | Github Open Source | Open Source | Apache-2.0 | null | product-sync | cloudblue | Python | Code | 267 | 915 | from collections import namedtuple
from urllib.parse import urlparse
from tqdm import trange
from connect.cli.core.constants import DEFAULT_BAR_FORMAT
from connect.cli.plugins.shared.constants import STATIC_LINK_HEADERS
from connect.cli.plugins.shared.base import ProductSynchronizer
from connect.cli.plugins.product.u... | 25,113 |
https://github.com/tralves/NativeScript/blob/master/packages/core/__tests__/css/parser.ts | Github Open Source | Open Source | Apache-2.0 | 2,020 | NativeScript | tralves | TypeScript | Code | 2,574 | 7,761 | import { assert } from 'chai';
import { parseURL, parseColor, parsePercentageOrLength, parseBackgroundPosition, parseBackground, parseSelector, AttributeSelectorTest, CSS3Parser, TokenObjectType, CSSNativeScript } from '@nativescript/core/css/parser';
import * as fs from 'fs';
import * as shadyCss from 'shady-css-pars... | 47,427 |
https://github.com/zzgchina888/msdn-code-gallery-microsoft/blob/master/Microsoft Office Developer Documentation Team/SharePoint 2010 101 Code Samples/[VB]-SharePoint 2010 101 Code Samples/SharePoint 2010 Developing JQuery-Enabled Web Parts/VB/CLIENTSIDE_JQueryWebPart/JQueryDemoWebPart/JQueryDemoWebPart.vb | Github Open Source | Open Source | MIT | 2,022 | msdn-code-gallery-microsoft | zzgchina888 | Visual Basic | Code | 380 | 1,146 | Imports System
Imports System.ComponentModel
Imports System.Text
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports Microsoft.SharePoint
Imports Microsoft.SharePoint.WebControls
''' <summary>
''' This Web Part renders client-side html and Java... | 46,818 |
https://github.com/finos/legend-pure/blob/master/legend-pure-m3-core/src/test/java/org/finos/legend/pure/m3/tests/tools/TestGraphPath.java | Github Open Source | Open Source | Apache-2.0, CC0-1.0 | 2,023 | legend-pure | finos | Java | Code | 1,213 | 10,950 | // Copyright 2020 Goldman Sachs
//
// 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 ... | 54,579 |
https://github.com/clean-code-craft-tcq-2/simple-monitor-in-c-PavithranSaminathan/blob/master/PrintLanguage.c | Github Open Source | Open Source | MIT | null | simple-monitor-in-c-PavithranSaminathan | clean-code-craft-tcq-2 | C | Code | 72 | 247 | #include "PrintLanguage.h"
#if(LANGUAGE == ENGLISH)
const char *Notify[] ={"TEMPERATURE ALERT",
"SOC ALERT",
"CHARGE ALERT"
};
const char *Alarm[] ={"TEMPERATURE OUT OF RANGE",
"SOC OUT OF RANGE ",
"CHARGE RATE TOO ... | 49,091 |
https://github.com/git-ztx/DevUtils/blob/master/lib/DevBase/src/main/java/dev/base/expand/content/DevBaseContentFragment.kt | Github Open Source | Open Source | Apache-2.0 | 2,020 | DevUtils | git-ztx | Kotlin | Code | 206 | 689 | package dev.base.expand.content
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import dev.base.R
import dev.base.able.IDevBaseLayout
import dev.base.fragment.DevBaseFragment
import dev.base.utils.assist.DevBaseConten... | 12,418 |
https://github.com/apache/tvm/blob/master/src/tir/transforms/thread_storage_sync.cc | Github Open Source | Open Source | Apache-2.0, BSD-3-Clause, MIT, LicenseRef-scancode-unknown-license-reference, Unlicense, Zlib, LLVM-exception, BSD-2-Clause | 2,023 | tvm | apache | C++ | Code | 1,696 | 5,148 | /*
* 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 ... | 34,665 |
https://github.com/cboard-org/react-scannable/blob/master/src/components/Scanner/Scanner.context.js | Github Open Source | Open Source | MIT | 2,018 | react-scannable | cboard-org | JavaScript | Code | 14 | 35 | import React from 'react';
const ScannerContext = React.createContext({
elements: {}
});
export default ScannerContext;
| 46,869 |
https://github.com/ShresthaSrawan/investonepal/blob/master/resources/views/front/bullion/index.blade.php | Github Open Source | Open Source | MIT | null | investonepal | ShresthaSrawan | PHP | Code | 218 | 1,254 | @extends('front.main')
@section('title')
Bullion
@endsection
@section('specificheader')
{!! HTML::style('assets/nsm/front/css/commodity.css') !!}
@endsection
@section('content')
<section class="main-content col-md-9 no-padding">
<div class="row commodity-type-selector no-margin">
<div class="col-md-3... | 19,326 |
https://github.com/dotvanilla/visualbasic.wasm.js/blob/master/WebAssembly/API/text/Strings.ts | Github Open Source | Open Source | MIT | null | visualbasic.wasm.js | dotvanilla | TypeScript | Code | 112 | 298 | namespace WebAssembly {
/**
* A module contains string related api for simulate
* ``Microsoft.VisualBasic.Strings`` module.
*/
export module Strings {
export function Mid(text: number, from: number, length: number): number {
let string: string = ObjectManager.readText(text)... | 24,037 |
https://github.com/chiyama/lucille/blob/master/examples/plane_sphere/Shaders/MOSAICfog.sl | Github Open Source | Open Source | BSD-2-Clause, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference | 2,009 | lucille | chiyama | null | Spoken | 100 | 327 | /* Beta-0.3.0: MOSAIC default atmosphere shader for Blender integration */
#include "MOSAICfunctions.h"
volume
MOSAICfog(
float Sta=0; //Standard Blender world controls
float Di=0;
float Hi=0;
float Misi=0;
float isMist=0;
float MistType=0;
color MistCol=0;)
{
if (isMist > 0 && Sta < Di) //Are we using mist?
... | 17,699 |
https://github.com/nekorice/yurikuma/blob/master/frameworks/cocos2d-html5/cocos2d/labels/CCLabelAtlas.js | Github Open Source | Open Source | MIT | 2,016 | yurikuma | nekorice | JavaScript | Code | 1,726 | 4,909 | /****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of t... | 5,141 |
https://github.com/aaronksaunders/ti_stackmobjs/blob/master/Resources/add_geo_coords_to_data_app.js | Github Open Source | Open Source | Apache-2.0 | 2,012 | ti_stackmobjs | aaronksaunders | JavaScript | Code | 350 | 1,083 | //include StackMob & credentials module
var credentials = require('credentials').C;
var stackmob = require('stackmob-module');
//create StackMob Client
var client = new stackmob.Client(credentials.STACKMOB_APP_NAME, credentials.STACKMOB_PUBLIC_KEY, credentials.STACKMOB_PRIVATE_KEY, credentials.STACKMOB_USER_OBJECT_NAM... | 50,264 |
https://github.com/xnt/Loyalty-Commerce-Platform/blob/master/samples/dotnet/LP API Implementation/LP API Implementation/Contracts/MvResponse.cs | Github Open Source | Open Source | BSD-3-Clause | 2,020 | Loyalty-Commerce-Platform | xnt | C# | Code | 121 | 376 | // Template: Models (ApiModel.t4) version 3.0
// This code was generated by RAML Web Api 2 Scaffolder
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
namespace LP_API_Implementation.LpApi.Models
{
public partial... | 56,633 |
https://github.com/hari047/Ionic-Application/blob/master/sources/org/apache/cordova/engine/SystemWebChromeClient.java | Github Open Source | Open Source | MIT | null | Ionic-Application | hari047 | Java | Code | 570 | 2,186 | package org.apache.cordova.engine;
import android.annotation.TargetApi;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build.VERSION;
import android.view.View;
import android.webkit.ConsoleMessage;
import androi... | 28,976 |
https://github.com/jjak0b/BiKayaOS/blob/master/src/utilities/semaphore.c | Github Open Source | Open Source | MIT | null | BiKayaOS | jjak0b | C | Code | 78 | 234 | #include <utilities/semaphore.h>
#include <scheduler/scheduler.h>
#include <asl/asl.h>
#include <pcb/pcb.h>
int semaphore_P( int *semkey, pcb_t * p ) {
int b_error = 0;
if( --(*semkey) < 0 ) {
b_error = scheduler_StateToWaiting( p, semkey );
if( b_error ) ++(*semkey);
}
return b_error;
... | 56,656 |
https://github.com/remore/gemstat/blob/master/lib/gemstat/cache/gemfiles/b/blackboxd:0.2.9/Gemfile | Github Open Source | Open Source | MIT | 2,015 | gemstat | remore | Ruby | Code | 6 | 24 | gem 'cucumber'
gem 'selenium-webdriver'
gem 'rspec'
| 17,280 |
https://github.com/xymaqingxiang/storm-miclog/blob/master/target/maven-archiver/pom.properties | Github Open Source | Open Source | Apache-2.0 | 2,014 | storm-miclog | xymaqingxiang | null | Spoken | 12 | 45 | #Generated by Maven
#Thu Nov 06 08:52:31 CST 2014
version=1.0.0
groupId=miclog
artifactId=storm-miclog
| 13,443 |
https://github.com/tophernuts/EdmontonWifi/blob/master/app/src/main/java/hey/rich/edmontonwifi/Objects/ConstructionList.java | Github Open Source | Open Source | MIT | null | EdmontonWifi | tophernuts | Java | Code | 43 | 150 | package hey.rich.edmontonwifi.Objects;
import java.util.List;
/**
* Created by chris on 17/08/14.
*/
public class ConstructionList {
private List<Construction> constructions;
public void setAllConstructions(List<Construction> constructions) {
this.constructions = constructions;
//notifyVie... | 11,879 |
https://github.com/barkerja/itunes-trakt/blob/master/trakt-search.sh | Github Open Source | Open Source | MIT | 2,018 | itunes-trakt | barkerja | Shell | Code | 137 | 436 | #!/bin/bash
set -ex
TITLE="$1"
YEAR="$2"
if [ -n "$YEAR" ]; then
TITLE=$(echo "$TITLE" | sed "s/$YEAR//g")
fi
TITLE=$(echo "$TITLE" | sed -e "s/(.*)//g" | sed -e "s/[^a-zA-Z0-9:'. ]//g" | sed -e "s/ *$//")
if [ -z "$TITLE" ]; then
echo "missing title" >&2
exit 1
fi
trakt_search() {
/usr/bin/curl --silent -... | 41,915 |
https://github.com/tyler489/Roots/blob/master/src/main/java/epicsquid/roots/recipe/recipes/RunicCarvingRecipes.java | Github Open Source | Open Source | MIT | null | Roots | tyler489 | Java | Code | 46 | 475 | package epicsquid.roots.recipe.recipes;
import epicsquid.roots.init.HerbRegistry;
import epicsquid.roots.init.ModBlocks;
import epicsquid.roots.init.ModRecipes;
import epicsquid.roots.recipe.RunicCarvingRecipe;
public class RunicCarvingRecipes {
public static void initRecipes() {
ModRecipes.addRunicCarvingReci... | 34,667 |
https://github.com/smwhitt/VoogaSaladCrouton/blob/master/out/production/voogasalad_crouton/English.properties | Github Open Source | Open Source | MIT | 2,019 | VoogaSaladCrouton | smwhitt | null | Spoken | 601 | 1,139 | authoringTileTitle=Select your path tile
authoringTileStart=Set as Start
authoringTileEnd=Set as End
remove=Remove %s
done=Done
PickProjectile=Select Projectile
# Start Screen
Title=Welcome To VOOGASalad
Description=Here you can create your own tower defense game, \ntest its difficulty, and load/play games you've crea... | 16,201 |
https://github.com/dcyuki/kokkoro/blob/master/dist/index.js | Github Open Source | Open Source | MIT | 2,021 | kokkoro | dcyuki | JavaScript | Code | 613 | 2,040 | #!/usr/bin/env node
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const ora_1 = __importDefault(require("ora"));
const cac_1 = __importDefault(require... | 9,120 |
https://github.com/nicolasCDT/Metin2_Module_skeleton_maker/blob/master/skeleton_maker/skeleton_maker.py | Github Open Source | Open Source | MIT | null | Metin2_Module_skeleton_maker | nicolasCDT | Python | Code | 204 | 578 | #!/usr/bin/python
# Copyright (c) 2022, Takuma.
# Respect intellectual property, and do not delete these comments.
# -*- coding: <utf-8> -*-
from pathlib import Path
import os
from skeleton_maker.source_file import SourceFile
from typing import *
# Typing for self -> SkeletonMaker
sk = TypeVar("sk", bound="Skele... | 24,652 |
https://github.com/wycivil08/blendocv/blob/master/source/blender/makesdna/DNA_brush_types.h | Github Open Source | Open Source | Unlicense | 2,022 | blendocv | wycivil08 | C | Code | 671 | 1,937 | /*
* $Id: DNA_brush_types.h 35189 2011-02-25 16:54:09Z nazgul $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the Licens... | 2,314 |
https://github.com/toaster/jasmine-fixtures/blob/master/spec/index_spec.js | Github Open Source | Open Source | MIT | 2,017 | jasmine-fixtures | toaster | JavaScript | Code | 563 | 1,765 | 'use strict';
describe("fixtures", () => {
const Fixtures = require('..');
var context = {};
var variable;
var valueAccessedInBefore;
Fixtures.define(context, beforeAll, afterAll, "functionFixture",
() => { return `variable: ${variable}`; });
Fixtures.define(context, beforeAll, afterAll, "staticFixt... | 49,022 |
https://github.com/SPPayne/webcomical_cms/blob/master/application/views/comic/template_replacements/comic_title.php | Github Open Source | Open Source | MIT, Unlicense | 2,018 | webcomical_cms | SPPayne | PHP | Code | 6 | 25 | <?php if(isset($site['site_name'])){ echo $site['site_name']; } ?>
| 37,149 |
https://github.com/BeanWei/li/blob/master/li-engine/contrib/liflow/ent/flowdeployment_create.go | Github Open Source | Open Source | Apache-2.0 | 2,022 | li | BeanWei | Go | Code | 4,119 | 13,470 | // Code generated by entc, DO NOT EDIT.
package ent
import (
"context"
"errors"
"fmt"
"entgo.io/ent/dialect"
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/BeanWei/li/li-engine/contrib/liflow/ent/flowdefinition"
"github.com/BeanWei/li/li-engine/contrib... | 52,001 |
https://github.com/kousuke1201abe/sci-fun/blob/master/src/templates/blog-post.tsx | Github Open Source | Open Source | MIT | 2,021 | sci-fun | kousuke1201abe | TypeScript | Code | 417 | 1,492 | import React from 'react';
import { kebabCase } from 'lodash';
import Helmet from 'react-helmet';
import { graphql, Link } from 'gatsby';
import Layout from '../components/Layout';
import Content, {
HTMLContent,
} from '../components/Content';
import SnsShare from '../components/SnsShare';
import PreviewCompatibleIma... | 31,333 |
https://github.com/JuanluMorales/KRG/blob/master/Code/System/Input/InputDevices/Platform/InputDevice_KeyboardMouse_Win32.cpp | Github Open Source | Open Source | MIT | 2,022 | KRG | JuanluMorales | C++ | Code | 1,078 | 4,966 | #ifdef _WIN32
#include "System/Input/InputDevices/InputDevice_KeyboardMouse.h"
#include "System/Core/Math/Vector.h"
#include "System/Core/Types/Containers.h"
#include "System/Core/Logging/Log.h"
#include <windows.h>
#include <XInput.h>
//-------------------------------------------------------------------------
namesp... | 13,904 |
https://github.com/expo/expo/blob/master/packages/expo-modules-autolinking/scripts/ios/package.rb | Github Open Source | Open Source | MIT, BSD-3-Clause, Apache-2.0 | 2,023 | expo | expo | Ruby | Code | 144 | 358 |
module Expo
class PackagePod
# Name of the pod
attr_reader :pod_name
# The directory where the podspec is
attr_reader :podspec_dir
def initialize(json)
@pod_name = json['podName']
@podspec_dir = json['podspecDir']
end
end # class PackagePod
class Package
# Name ... | 40,588 |
https://github.com/casisdead2772/diplom/blob/master/backend/database/seeders/DatabaseSeeder.php | Github Open Source | Open Source | MIT | 2,021 | diplom | casisdead2772 | PHP | Code | 37 | 215 | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call(CountrySeed::class);
$this->call(LanguageTableSeeder::class);
... | 28,675 |
https://github.com/ActiveState/mk/blob/master/mklib/__init__.py | Github Open Source | Open Source | MIT | 2,017 | mk | ActiveState | Python | Code | 76 | 167 | # Copyright (c) 2005-2007 ActiveState Software Ltd.
"""Utilities for writing and using Makefile.py's, a Python take on Makefile's.
Some of the inspiration for this tool comes from `rake` in the Ruby world,
although this was a personal project before I'd heard of rake.
"""
__author__ = "Trent Mick"
__version_info__ =... | 21,326 |
https://github.com/d0scoo1/naga_contracts/blob/master/mainnet/contracts/0x086cac15ac62ade32d4560ce9ab033c356e85d6e_VestingFactory.sol | Github Open Source | Open Source | MIT | 2,023 | naga_contracts | d0scoo1 | Gerber Image | Code | 97 | 329 | pragma solidity =0.5.16;
contract ReservoirLike {
function init(uint numTokens, address target) external;
function drip() external;
}
contract Proxy {
function() external payable {
assembly {
let _target := 0x9a2E280aAeB4dE82AAD34Df9c114f67A1699744c
calldatacopy(0x0, 0x0, cal... | 1,858 |
https://github.com/morival/W04_project_TBL/blob/master/repositories/country_repository.py | Github Open Source | Open Source | PostgreSQL, Unlicense, MIT | null | W04_project_TBL | morival | Python | Code | 160 | 456 | from db.run_sql import run_sql
from models.country import Country
import repositories.continent_repository as continent_repository
def save(country):
sql = "INSERT INTO countries (name, continent_id, visited) VALUES (%s, %s, %s) RETURNING id"
values = [country.name, country.continent.id, country.visited]
... | 23,454 |
https://github.com/clemos/pyextern/blob/master/out/tensorflow/_api/v1/math/Math.hx | Github Open Source | Open Source | BSD-3-Clause | 2,019 | pyextern | clemos | Haxe | Code | 15 | 42 | /* This file is generated, do not edit! */
package tensorflow._api.v1.math;
typedef Math = tensorflow._api.v1.math.Math_Module; | 4,823 |
https://github.com/nking/curvature-scale-space-corners-and-transformations/blob/master/src/algorithms/imageProcessing/transform/MatchedPointsTransformationCalculator.java | Github Open Source | Open Source | MIT | null | curvature-scale-space-corners-and-transformations | nking | Java | Code | 4,625 | 14,025 | package algorithms.imageProcessing.transform;
import algorithms.imageProcessing.util.AngleUtil;
import algorithms.util.PairInt;
import algorithms.util.PairIntArray;
import gnu.trove.list.TIntList;
import gnu.trove.list.array.TIntArrayList;
import gnu.trove.set.TIntSet;
import gnu.trove.set.hash.TIntHashSet;
import jav... | 42,350 |
https://github.com/hardy-flourish/hardy-flourish/blob/master/src/templates/service.js | Github Open Source | Open Source | MIT | null | hardy-flourish | hardy-flourish | JavaScript | Code | 158 | 539 | import React from "react"
import Layout from "../components/Layout"
import useFluid from "../components/useFluid"
import BackgroundImage from "gatsby-background-image"
import css from "@emotion/css"
import tw from "tailwind.macro"
import { RichText } from "prismic-reactjs"
import Header from "../components/Header"
expo... | 50,263 |
https://github.com/vidarw/RVWorld/blob/master/DATReaderTest/TestDatRV.cs | Github Open Source | Open Source | Apache-2.0 | 2,020 | RVWorld | vidarw | C# | Code | 180 | 871 | using System;
using System.IO;
using DATReader;
using DATReader.DatClean;
using DATReader.DatStore;
using DATReader.Utils;
namespace Tester
{
public static class TestDatRV
{
public enum MergeType
{
None,
Split,
Merge,
NonMerged,
CHDsM... | 8,284 |
https://github.com/huangzec/graduation/blob/master/graduation/WebContent/js/topic-edit.js | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,015 | graduation | huangzec | JavaScript | Code | 582 | 2,691 | HHJsLib.register({
init: function(){
this.bindEnterTeaEditClick();
this.bindEditOkBtnClick();
this.bindTopNumChange();
},
/**
*
*/
bindEnterTeaEditClick: function(){
$(".enter-tea-edit").click(function() {
var _root = $(this);
var _base = $(".enter-tea-edit");
var _topId = _base.pa... | 22,296 |
https://github.com/Lcfvs/anticore-dom/blob/master/emitter/onDrop.js | Github Open Source | Open Source | MIT | 2,020 | anticore-dom | Lcfvs | JavaScript | Code | 18 | 40 | import on from './on.js'
export default function onDrop (target, listener, options) {
return on('drop', target, listener, options)
}
| 20,940 |
https://github.com/Goyaya/GYComponents/blob/master/Example/GYComponents/GYFeaturesTableViewController.h | Github Open Source | Open Source | MIT | null | GYComponents | Goyaya | C | Code | 30 | 114 | //
// GYFeaturesTableViewController.h
// GYComponents_Example
//
// Created by 高洋 on 2019/9/10.
// Copyright © 2019 goyaya. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface GYFeaturesTableViewController : UITableViewController
@end
NS_ASSUME_NONNULL_END
| 34,414 |
https://github.com/raphaelning/resteasy-client-android/blob/master/jaxrs/resteasy-spring/src/main/java/org/jboss/resteasy/plugins/spring/SpringResourceFactory.java | Github Open Source | Open Source | Apache-2.0 | 2,013 | resteasy-client-android | raphaelning | Java | Code | 144 | 540 | package org.jboss.resteasy.plugins.spring;
import org.jboss.resteasy.spi.HttpRequest;
import org.jboss.resteasy.spi.HttpResponse;
import org.jboss.resteasy.spi.PropertyInjector;
import org.jboss.resteasy.spi.ResourceFactory;
import org.jboss.resteasy.spi.ResteasyProviderFactory;
import org.springframework.beans.factor... | 16,945 |
https://github.com/sirromas/drops/blob/master/lms/theme/mb2nl/shortcodes/header.php | Github Open Source | Open Source | MIT | null | drops | sirromas | PHP | Code | 143 | 427 | <?php
defined('MOODLE_INTERNAL') || die();
mb2_add_shortcode('header', 'mb2_shortcode_header');
function mb2_shortcode_header ($atts, $content= null){
extract(mb2_shortcode_atts( array(
'title'=> '',
'subtitle' => '',
'margin' => '',
'image' => '',
'type' => 1,
'class'=> ''
), $atts));
$outp... | 21,761 |
https://github.com/hhyyg/Miso.ScoreOtoge/blob/master/Game.OtoGe.MusicXML/Poco/ScoreNote.cs | Github Open Source | Open Source | MIT | null | Miso.ScoreOtoge | hhyyg | C# | Code | 65 | 157 | using System;
namespace Game.OtoGe.MusicXML.Poco
{
public struct ScoreNote
{
//TODO: IsRest or Unpitch or Chord
public bool IsRest { get; set; }
public bool IsUnpitch { get; set; }
public int Duration { get; set; }
public ScoreNoteType Type { get; set; }
public bool HasFermata { get; set; }
/// <sum... | 5,392 |
https://github.com/dscho/nmh/blob/master/h/mhcachesbr.h | Github Open Source | Open Source | BSD-3-Clause | 2,014 | nmh | dscho | C | Code | 57 | 183 |
/*
* mhcachesbr.h -- definitions for manipulating MIME content cache
*/
/*
* various cache policies
*/
#define CACHE_SWITCHES \
X("never", 0, CACHE_NEVER) \
X("private", 0, CACHE_PRIVATE) \
X("public", 0, CACHE_PUBLIC) \
X("ask", 0, CACHE_ASK) \
#define X(sw, minchars, id) id,
DEFINE_SWITCH_ENUM... | 50,846 |
https://github.com/likianta/depsland/blob/master/depsland_additional_tools/remove_empty_extracted.py | Github Open Source | Open Source | MIT | null | depsland | likianta | Python | Code | 50 | 176 | import os
from lk_logger import lk
from lk_utils import find_dirs
from depsland.path_model import pypi_model
failed = []
for p, n in find_dirs(pypi_model.extraced, fmt='zip'):
if n == '.gitkeep':
continue
if not os.listdir(p):
lk.logax(n)
try:
os.remove(p)
except ... | 23,434 |
https://github.com/aliyun/aliyun-openapi-cpp-sdk/blob/master/iot/src/model/BatchGetEdgeInstanceDriverConfigsResult.cc | Github Open Source | Open Source | Apache-2.0 | 2,023 | aliyun-openapi-cpp-sdk | aliyun | C++ | Code | 223 | 950 | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 29,157 |
https://github.com/quantummaid/documaid/blob/master/src/main/kotlin/de/quantummaid/documaid/domain/tableOfContents/TableOfContents.kt | Github Open Source | Open Source | ECL-2.0, Apache-2.0 | 2,020 | documaid | quantummaid | Kotlin | Code | 544 | 1,624 | /**
* Copyright (c) 2020 Richard Hauswald - https://quantummaid.de/.
*
* 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
*... | 36,235 |
https://github.com/jkdubr/Proj4/blob/master/Pod/Classes/Projection/MOBProjectionEPSG26962.m | Github Open Source | Open Source | MIT | 2,016 | Proj4 | jkdubr | Objective-C | Code | 29 | 164 | #import "MOBProjectionEPSG26962.h"
@implementation MOBProjectionEPSG26962
- (id)init
{
if (self = [super initWithEPSG:26962 withDefinition:@"+proj=tmerc +lat_0=20.33333333333333 +lon_0=-156.6666666666667 +k=0.999966667 +x_0=500000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"]) {
;
}
... | 50,074 |
https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/modules/theme/pages/print-and-prepress.adoc | Github Open Source | Open Source | MIT, CC-BY-SA-3.0, OFL-1.1, LicenseRef-scancode-other-copyleft, mplus, CC0-1.0, GPL-3.0-only, GPL-2.0-only, Apache-2.0, Ruby | 2,023 | asciidoctor-pdf | asciidoctor | AsciiDoc | Code | 457 | 812 | = Print and Prepress Modes
[#print]
== Print mode
Asciidoctor PDF provides the following behaviors to assist with printing:
* Shows the URLs for links unless the link text matches the URL
* Consolidates page ranges in the index
* Deactivates the links from page numbers in the index to the locations of terms in the d... | 10,503 |
https://github.com/dxworks/report-generator/blob/master/src/main/kotlin/org/dxworks/reportgenerator/Utils.kt | Github Open Source | Open Source | Apache-2.0 | null | report-generator | dxworks | Kotlin | Code | 34 | 181 | package org.dxworks.reportgenerator
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory
import com.fasterxml.jackson.module.kotlin.registerKotlinModule
import java.io.File
val versionCommandArgs = setOf("-v", "version", "--version", "-version", "-V")
val yamlMa... | 20,902 |
https://github.com/ghzlatarev/SD-System/blob/master/SD.Web/SD.Web/wwwroot/theme/js/custom/dashboard.js | Github Open Source | Open Source | MIT | 2,021 | SD-System | ghzlatarev | JavaScript | Code | 6 | 26 | //$(document).ready(function () {
// //demo.initDashboardPageCharts();
//}); | 29,548 |
https://github.com/ahnaf22/foodhunter-Laravel/blob/master/resources/views/frontend/checkoutfiles/header.blade.php | Github Open Source | Open Source | MIT | null | foodhunter-Laravel | ahnaf22 | PHP | Code | 104 | 528 | @php
$onebasket=App\Basket::basketItems()->first();
if(!is_null($onebasket))
{
$shopname=$onebasket->shop->name;
$timing=$onebasket->shop->open_time ." to ". $onebasket->shop->close_time;
$shopid=$onebasket->shop->id;
}
$allbasket = App\Basket::basketItems();
$totalprice=0;
foreach($allbask... | 45,766 |
https://github.com/ovh/manager/blob/master/packages/manager/modules/pci/src/projects/project/data-processing/notebooks/data-processing-notebooks.controller.js | Github Open Source | Open Source | BSD-3-Clause | 2,023 | manager | ovh | JavaScript | Code | 206 | 961 | import capitalize from 'lodash/capitalize';
import {
isNotebookRunning,
getClassFromStatus,
} from '../data-processing.utils';
import {
DATA_PROCESSING_GUIDE_URL,
NOTEBOOK_REFRESH_INTERVAL,
} from '../data-processing.constants';
export default class DataProcessingNotebooksCtrl {
/* @ngInject */
constructor... | 23,111 |
https://github.com/litecodes/litecodes.github.io/blob/master/src/css/articles/aside-xs.less | Github Open Source | Open Source | MIT | null | litecodes.github.io | litecodes | Less | Code | 5 | 15 | .article-aside {
display: none;
} | 20,913 |
https://github.com/putrapratamanst/k-means-penentuan-pemberian-pinjaman/blob/master/backend/models/TblPensiun.php | Github Open Source | Open Source | BSD-3-Clause | null | k-means-penentuan-pemberian-pinjaman | putrapratamanst | PHP | Code | 411 | 1,708 | <?php
namespace backend\models;
use Yii;
use yii\web\UploadedFile;
/**
* This is the model class for table "tbl_pensiun".
*
* @property string $id_pensiun
* @property string $no_pensiun
* @property string $nm_pensiun
* @property string $ktp_pensiun
* @property string $kk_pensiun
* @property string $file_ktp_... | 28,133 |
https://github.com/stolk/bullet3/blob/master/examples/SoftDemo/SoftDemo.cpp | Github Open Source | Open Source | Zlib | 2,022 | bullet3 | stolk | C++ | Code | 5,750 | 26,577 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | 32,390 |
https://github.com/vlasenkoalexey/ghz/blob/master/web/ui/src/components/ProjectListPage.jsx | Github Open Source | Open Source | Apache-2.0 | 2,022 | ghz | vlasenkoalexey | null | Spoken | 58 | 154 | import React, { Component } from 'react'
import { Pane } from 'evergreen-ui'
import { Provider, Subscribe } from 'unstated'
import ProjectList from './ProjectList'
import ProjectContainer from '../containers/ProjectContainer'
export default class ProjectListPage extends Component {
render () {
return (
<... | 51,558 |
https://github.com/paazmaya/hideo/blob/master/index.js | Github Open Source | Open Source | MIT | null | hideo | paazmaya | JavaScript | Code | 105 | 266 | /**
* Hideo
* https://github.com/paazmaya/hideo
*
* Generate report for visual regression testing
*
* Copyright (c) Juga Paazmaya <paazmaya@yahoo.com> (https://paazmaya.fi)
* Licensed under the MIT license
*/
const fs = require('fs'),
path = require('path');
const generatePage = require('./lib/generate-pag... | 20,029 |
https://github.com/JonCatmull/draggable-boxes/blob/master/src/scss/base/_mixins.scss | Github Open Source | Open Source | MIT | 2,017 | draggable-boxes | JonCatmull | SCSS | Code | 84 | 319 | // Text
@mixin text($size, $l-height: null, $weight: null, $color: null) {
font-size: $size;
line-height: $l-height;
font-weight: $weight;
color: $color;
}
// Transitions
@mixin transition($attr, $attr2: null, $attr3: null, $attr4: null) {
-webkit-transition: $attr .2s ease-in-out, $attr2 .2s ease-in-out, ... | 50,158 |
https://github.com/Mr-gtt/lichees-mp-c/blob/master/pages/property/property.vue | Github Open Source | Open Source | MIT | 2,021 | lichees-mp-c | Mr-gtt | Vue | Code | 487 | 3,133 | <!-- 物业 -->
<template>
<view class="home" >
<view class="" style="font-size: 1.4em;font-weight: 500;margin-left: 6%;margin-top: 30upx; margin-bottom: 25upx;">
公告
</view>
<t-tabbar :currentPage="page"></t-tabbar>
<!-- <text>home</text> -->
<view class="content" >
<swiper @change="changeSwiper" @transit... | 51,691 |
https://github.com/icgre/test/blob/master/src/main/scala/mesosphere/marathon/core/launcher/InstanceOpFactory.scala | Github Open Source | Open Source | Apache-2.0 | null | test | icgre | Scala | Code | 203 | 526 | package mesosphere.marathon
package core.launcher
import mesosphere.marathon.core.instance.Instance
import mesosphere.marathon.core.task.Task
import mesosphere.marathon.state.RunSpec
import mesosphere.util.state.FrameworkId
import org.apache.mesos.{ Protos => Mesos }
/** Infers which TaskOps to create for given run s... | 24,755 |
https://github.com/rafagan/Wake-Maker/blob/master/alarme/CombinationGenerator.h | Github Open Source | Open Source | Apache-2.0 | null | Wake-Maker | rafagan | C | Code | 44 | 148 | //
// combinationGenerator.h
// MemoryGame
//
// Created by André Traleski de Campos on 11/21/13.
// Copyright (c) 2013 André Traleski de Campos. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface CombinationGenerator : NSObject
{
NSMutableArray* combination;
NSArray* symbols;
}
+(Combi... | 50,478 |
https://github.com/sid24rane/Class-ify/blob/master/src/app/forgot-pass/forgot-pass.component.ts | Github Open Source | Open Source | MIT | 2,017 | Class-ify | sid24rane | TypeScript | Code | 79 | 276 | import { Component, OnInit } from '@angular/core';
import { LoginLogoutService } from '../services/login-logout.service';
import { Router } from '@angular/router';
@Component({
selector: 'app-forgot-pass',
templateUrl: './forgot-pass.component.html',
styleUrls: ['./forgot-pass.component.css'],
providers:[Login... | 2,653 |
https://github.com/Lmglk/OfficeBooking/blob/master/backend/CreateDatabase.sql | Github Open Source | Open Source | MIT | 2,019 | OfficeBooking | Lmglk | SQL | Code | 18 | 39 | CREATE DATABASE officebooking;
CREATE ROLE office WITH LOGIN PASSWORD 'office';
GRANT ALL PRIVILEGES ON DATABASE officebooking to office; | 42,695 |
https://github.com/anonl/nvlist/blob/master/api/src/main/java/nl/weeaboo/vn/math/Vec2.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | nvlist | anonl | Java | Code | 375 | 972 | package nl.weeaboo.vn.math;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Arrays;
import com.google.common.math.DoubleMath;
import nl.weeaboo.common.StringUtil;
/**
* Mutable 2-component vector.
*/
public final class Vec2 imple... | 54,669 |
https://github.com/immutables/immutables/blob/master/value-processor/src/org/immutables/value/processor/meta/ObscureFeatures.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | immutables | immutables | Java | Code | 67 | 214 | package org.immutables.value.processor.meta;
import com.google.common.base.Supplier;
import com.google.common.collect.ImmutableSet;
import org.immutables.generator.ExtensionLoader;
/**
* Holder for some META-INF extension configured obscure features, which are problematic or not yet
* ready to add to styles to add ... | 53,799 |
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/a/aws-sdk/src/main/scala/typingsJapgolly/awsSdk/clientsGameliftMod/DescribeRuntimeConfigurationOutput.scala | Github Open Source | Open Source | MIT | 2,022 | ScalajsReactTyped | ScalablyTyped | Scala | Code | 83 | 284 | package typingsJapgolly.awsSdk.clientsGameliftMod
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
trait DescribeRuntimeConfigurationOutput extends StObject {
/**
* Instructions that describe how ... | 40,346 |
https://github.com/hackupc/hackupc-live/blob/master/src/data/challenges.ts | Github Open Source | Open Source | MIT | 2,022 | hackupc-live | hackupc | TypeScript | Code | 195 | 607 | export interface Challenge {
title: string
company: string
videoUrl?: string
channel: string
prize: string
description?: string // Accepts Markdown
}
export const challenges: Challenge[] = [
{
title: 'Build your dreamed tech-InfoJobs Build your perfect job seeker',
company: 'InfoJobs',
videoU... | 7,290 |
https://github.com/OrgAnet/Michael/blob/master/src/main/java/org/organet/michael/CommandLineInterface/Commands/IwlistScan.java | Github Open Source | Open Source | MIT | null | Michael | OrgAnet | Java | Code | 165 | 497 | package org.organet.michael.CommandLineInterface.Commands;
import org.organet.michael.CommandLineInterface.ReturnsResponse;
import org.organet.michael.CommandLineInterface.ScansForAdhocNetworks;
import java.util.*;
public class IwlistScan extends CommandBase implements ScansForAdhocNetworks, ReturnsResponse {
publ... | 20,210 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.