branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/main | <repo_name>ElMargaritox/ElSoldado---Laboratorio<file_sep>/ElSoldado/Models/Soldado.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElSoldado.Models
{
public class Soldado
{
public Soldado() { }
public vi... | 75c5e48d114701130cbe9121a50206de6125bd3a | [
"C#"
] | 6 | C# | ElMargaritox/ElSoldado---Laboratorio | 349c369d80b6b930d1be0d963d6423a0a8928d45 | 8faa374d5b42a9caad5830c7841e9aeaa6e7f3fa |
refs/heads/master | <file_sep>from django.http import HttpResponse
from django.shortcuts import render
def home_view(request, *args, **kwargs):
return render(request, "home.html", {})
def contact_view(request, *args, **kwargs):
return render(request, "contact.html", {})
def about_view(request,*args, **kwargs):
my_context... | 5e1f89837091815bbae843744785e696801b761d | [
"Python",
"HTML"
] | 2 | Python | waihiga/Django-project | 7d52bc592bb6bcbb05343d283214873eb68fc8c8 | a37bf409c432e7edfbbd243cb297a0d604534072 |
refs/heads/master | <repo_name>pprett/zipline<file_sep>/zipline/sources/__init__.py
from zipline.sources.data_frame_source import DataFrameSource
from zipline.sources.test_source import SpecificEquityTrades
__all__ = [
'DataFrameSource',
'SpecificEquityTrades'
]
<file_sep>/etc/requirements_dev.txt
ipython==0.13.1
# Testing
nose=... | 31cb6f868ec4ce2411d4f57efb85ec93d159d2c6 | [
"Python",
"Text"
] | 5 | Python | pprett/zipline | 803a0cee5c35274944be2ae5ecc453d11f88ad56 | 4b8aa2830b533eae05be36f417f831455edbe3cf |
refs/heads/master | <file_sep>#include "stdio.h"
#include "stdlib.h"
#define M 20 /*预定义图的最大顶点数*/
#include "string.h"
typedef struct node
{ //边表结点
int adjvex; //邻接点
struct node *next;
} edgenode;
typedef struct vnode
{ //头节点类型
char vertex; //顶点信息
edgenode *firstedge; //邻接表表头指针
... | b4998a3558ef7391e309c6a5caa9b49043bd3a12 | [
"Markdown",
"C++"
] | 3 | C++ | kklll/CodeStructureCourse | 8cc7e69d7944790f2f0bb722fedd0c632ba0671b | b6c73a95628d29797f752ba482f299551567478d |
refs/heads/master | <file_sep>[package]
name = "consistent-rs"
description = "Consistent hash package for Rust"
version = "0.1.1"
documentation = "https://docs.rs/consistent-rs/0.1.1/consistent_rs/"
homepage = "https://github.com/DavidCai1993/consistent"
authors = ["<NAME> <<EMAIL>>"]
readme = "README.md"
repository = "https://github.com/... | f0fc12593cafe032e2ab3a1ef43f1ded5e8228c9 | [
"TOML",
"Rust",
"Markdown"
] | 4 | TOML | DavidCai1111/consistent | ad3bf1413d72ac6b3bd0b0e1d4587ce4419cfa0b | ca1cd8fc409aab8b7b02fe4d43dce40b17bb40f6 |
refs/heads/master | <repo_name>zhiruisong02/lab3<file_sep>/main.py
# Author: <NAME> <EMAIL>
# Collaborator: <NAME> <EMAIL>
# Collaborator: <NAME> <EMAIL>
# Collaborator: <NAME> <EMAIL>
def sum_n(n):
if n==0:
return n
else:
return n+sum_n(n-1)
def print_n(s,n):
if n==0:
return
else:
print(s)
print_n(s,n-1)
def... | 6dbe21676479a7563f5ef73515da010b78ab2756 | [
"Python"
] | 1 | Python | zhiruisong02/lab3 | 38a425a762a9ab8503940ec38e561206055a818a | 7e99c03d7983ae0ecfe48f8d14985bdd31fd4396 |
refs/heads/master | <repo_name>kepeter/DemoData<file_sep>/DAL/Data.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
namespace DemoData
{
public class Data
{
private static Random _Random = new Random( );
private static CultureInfo _CultureInfo... | 4fef8bdedd3e764a52fd6a155fe7930f08893112 | [
"C#"
] | 6 | C# | kepeter/DemoData | 9cc5e06dc4ca391cc9e531d65b63d4a54a1ca7c8 | ff9e7b89269e9de814182fc73d8e9cea2d2503f6 |
refs/heads/master | <file_sep>//
// config.h
// PokerAnalysis
//
// Created by <NAME> on 12-11-26.
// Copyright (c) 2012年 <NAME>. All rights reserved.
//
#ifndef PokerAnalysis_config_h
#define PokerAnalysis_config_h
#define PREFLOP 1
#define POSTFLOP 2
#define TURN 3
#define RIVER 4
#define LIMP 1
#define... | 02777df29365fb0a7d63cc1ac518d412c3e913b6 | [
"Markdown",
"C"
] | 2 | C | stupidma/PokerAnalysis | 2be7c5a29b1cc7c952df433f92862f675b4194d6 | b68aa026de763114ac9be72abb27e85df098bd37 |
refs/heads/master | <repo_name>hardeepamritsar/react-native-fetch-offline<file_sep>/README.md
<p align="center"><a href="https://travis-ci.org/hardeepamritsar/react-native-fetch-offline"><img src="https://api.travis-ci.org/hardeepamritsar/react-native-fetch-offline.svg?branch=master"/></a></p>
# react-native-fetch-offline
Returns fetch ... | 81de7fd60e0d8dbff64e125a57e30629e3fb1fdc | [
"Markdown",
"JavaScript"
] | 3 | Markdown | hardeepamritsar/react-native-fetch-offline | 683f93e450bc76689ba8f09c1543ef88f8aba40c | ca03264a49101dddbcfcdf5c46b91a274789f52f |
refs/heads/master | <file_sep>//
// CreationViewController.swift
// Flashcards
//
// Created by <NAME> on 3/3/20.
// Copyright © 2020 <NAME>. All rights reserved.
//
import UIKit
class CreationViewController: UIViewController {
var flashcardController: ViewController!
var initialQuestion: String?
var initialAnswer: ... | c936691db11f08b5f613ed84ba407f036842e78e | [
"Swift"
] | 2 | Swift | petershelley/Flashcards | 6d97785ce4c2eb421377c7cb7195905a9d005453 | a9d21281ba510ed90e5e6926d440fca6c47a679a |
refs/heads/master | <repo_name>madhura-raverkar/Python-Programs<file_sep>/evenodd.py
#whether given no is even or odd
a= int(input("enter no"))
if(a%2==0):
print("the given no is even")
else:
print("the given no is odd")
<file_sep>/for1.py
list = [1,2,3,4,5]
print (list)
for a in list:
print (a)
<file_sep>/palindrome1.... | 0731659c0ceb44305e8c3987265ec7db620f61c3 | [
"Python"
] | 5 | Python | madhura-raverkar/Python-Programs | 35b2d407efeb63125cdf79d43205d4a5188bba4f | 7b6d58bd68851c04339e7ea6e7f8b3440e961516 |
refs/heads/master | <repo_name>marcosmarcon/Oracle-and-Grafana-integration<file_sep>/Configuration/oracle_conection.py
import cx_Oracle
class OracleConnection:
def connect(self):
uid = "user id"
pwd = "<PASSWORD>"
sid = "string connection"
self.connection = cx_Oracle.connect(uid, pwd, sid)
def o... | fa0b84a8b0cc71543c260684149b684de16a083f | [
"Markdown",
"Python"
] | 6 | Python | marcosmarcon/Oracle-and-Grafana-integration | 0a7f47a940a72b281a9ff04285c222be99516829 | bfc74f4f49ff861cd9d8a65aec27567aaaaa1a18 |
refs/heads/master | <repo_name>hoonto/scuttlebutt<file_sep>/util.js
exports.createId =
function () {
return [1,1,1].map(function () {
return Math.random().toString(16).substring(2).toUpperCase()
}).join('')
}
exports.filter = function (update, sources) {
var ts = update[1]
var source = update[2]
return (!sources || !source... | aabcd9092a168022b6c3ee0cc32ab6929c671c67 | [
"JavaScript"
] | 1 | JavaScript | hoonto/scuttlebutt | 662063b53fb75a3689d0a2d8f565431b44b30abb | f0c941e84fe2f848be8425528e44464384ac5650 |
refs/heads/master | <repo_name>iamthiago/ProgrammingAssignment2<file_sep>/cachematrix.R
## This function stores the inverse of a matrix
makeCacheMatrix <- function(x = matrix()) {
inv = NULL
## if a new matrix is given, override x
set = function(y) {
x <<- y
inv <<- NULL
}
get = function() x
... | 96ad740e1de0a5dde3a7da4c121b8232e4a82529 | [
"R"
] | 1 | R | iamthiago/ProgrammingAssignment2 | d698e3ff28b14023a671612f15d2b7acf425e9c3 | d25e404dba519a51b69b7a0078ffe5395e8f6d23 |
refs/heads/master | <repo_name>NEPTUNE-GTR/Python-web-server<file_sep>/README.md
# Python-web-server
###
- A python web server implemented using TCP stream sockets
- The server will listen for connections that come to a specific host and port number.
- This web server supports GET and POST methods, the sending of cookies, and the exec... | afa14f8f3b619ffa5e4d16cf572ca317d550f081 | [
"Markdown",
"Python"
] | 2 | Markdown | NEPTUNE-GTR/Python-web-server | 0b29b216fa98f6cbe763346bf4821349071e7e55 | 86967d37d2e81ca4d753842afb4458de708506b9 |
refs/heads/master | <file_sep>import styled from "styled-components";
export const Container = styled.div`
width: 100vw;
.hide {
display: none;
}
`;
export const Content = styled.section`
display: flex;
flex-direction: column;
width: 100%;
color: #ffe;
`;
export const MateriasContainer = styled.div`
w... | 186f23a417112a34004176ce56b25f1e64283bbe | [
"JavaScript"
] | 17 | JavaScript | EduardoGFreitas/blog-fcam | d739599952595db01b4efb1b5934903989583d7e | 76620872a2cb38d99ecec5a10c0f03bfeb3e5e08 |
refs/heads/master | <repo_name>AppleCEO/algorithm-baekjoon<file_sep>/10871.c
#include <stdio.h>
int main(){
int N, X, i, count=0;
scanf("%d %d", &N, &X);
int num[N];
int result[N];
for(i=0; i<N; i++){
scanf("%d ", &num[i]);
if(num[i]<X){
result[count] = num[i];
... | d8a25a20039bfc7da3cbdbeb1fc62027768df68f | [
"Markdown",
"C",
"C++",
"Swift"
] | 8 | C | AppleCEO/algorithm-baekjoon | 14dd3b49164a16a316c4e66476c1f9364c374fd5 | 9e9a1a2d03ad7d8fae38558a6ca681997cf2a49e |
refs/heads/master | <repo_name>Ahmed-M-Rizk/AppEngine-JaxRS-Angular5-Demo<file_sep>/Rest/src/main/java/com/demos/models/Secret.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.demos.... | 88f957a0c75d3ed5003d1796f10b7334a6fe6474 | [
"Markdown",
"Java",
"TypeScript"
] | 5 | Java | Ahmed-M-Rizk/AppEngine-JaxRS-Angular5-Demo | 11dcbc5eff83afdad0fa83934787465bf5840d7c | a2b7238d6201aed30200572b0e6e2d12ff49f614 |
refs/heads/master | <file_sep><?php
/**
* Unit tests for RandomProvider class
*/
use nicmart\Random\Provider\Provider;
use nicmart\Random\Provider\Collection;
class CollectionTest extends PHPUnit_Framework_TestCase
{
public function setUp()
{
$this->mock1 = $this->getMock('\nicmart\Random\Provider\Provider');
$... | 5d490906ee7c1b43b27861ccc16ec11c6dfdfc45 | [
"Markdown",
"PHP"
] | 14 | PHP | nicmart/RandoXML | 849107bd409f279095cc16c774e9bf7b594610ef | 1b7be604e0cde4f0478b6bf5c417c6b2f17fe108 |
refs/heads/master | <file_sep>import React, { useState, useEffect } from "react";
import socketIOClient from "socket.io-client";
import "./App.css";
import Card from "./Card";
import Info from "./Info";
import Scoreboard from "./Scoreboard";
import { positions } from "./constants";
import { comparePlayers, findSet, togglePresence } from ... | 213d74b2ceef29e1f72f7d1a62fbd93622045ff8 | [
"JavaScript",
"Dockerfile"
] | 9 | JavaScript | evantey14/proset | 28dd26265d38e90c80ee24328b85b25ed1c215c7 | 6c32c7e03e822637604cd6ac1e25093cdf2720d6 |
refs/heads/master | <repo_name>mingmxren/ehttpd<file_sep>/core/ehd_palloc.h
//
// Created by renmingxu on 12/21/17.
//
#ifndef UNTITLED_EHD_PALLOC_H
#define UNTITLED_EHD_PALLOC_H
#include <ehd_config.h>
#include <ehd_core.h>
/* 1024 * 1024 */
#define EHD_MAX_ALLOC_FROM_POOL 1048576
/* 16 * 1024 */
#define EHD_DEFAULT_POOL_SIZE 16384
t... | c18d2e8e7c451d2b00c6041b69a17f53b976240f | [
"C",
"CMake"
] | 39 | C | mingmxren/ehttpd | 8a424080b1c227906325eff1c08495bb2f73d1f9 | e03c1a5e6edf5e3b062eba6e6791ea832dd9fd21 |
refs/heads/master | <repo_name>gabrielx3500/Capella-One<file_sep>/template-parts/biography.php
<div id="author-info">
<div id="author-image">
<a href="<?php the_author_meta('user_url'); ?>"><?php echo get_avatar( get_the_author_meta('user_email'), '80', '' ); ?></a>
</div>
<div id="author-bio">
... | 386c834ec7cea052b372c8df1c2e391465b46962 | [
"PHP"
] | 9 | PHP | gabrielx3500/Capella-One | 5952061433454a6d6e104b38b32a21b8c04ade85 | da7afeaf201bcb2c5ea929949219c9e5f5e56dc8 |
refs/heads/master | <file_sep>package org.example.entities;
import lombok.Data;
@Data
public abstract class Employee {
private Integer id;
private String name;
private ContractType contractTypeName;
private Integer roleId;
private String roleName;
private String roleDescription;
private Long hourlySalary;
... | 8f12d881253cf81454b5c434a4cc8ddc43ffec9b | [
"Java",
"Dockerfile",
"Gradle"
] | 12 | Java | gio96/HandsOnTestBack | aebc3dcb692876a838f590369d110e76de02126d | 7fe6790e8eca41bfb9885f03ba1a707e547f7e98 |
refs/heads/master | <repo_name>kuldeep325/Group-6<file_sep>/main.js
"use strict";
//variables
const body = document.querySelector('body');
const cartBtn = document.querySelector(".cart-btn");
const closeCartBtn = document.querySelector(".close-cart");
const clearCartBtn = document.querySelector(".clear-cart");
const cartDOM = document.que... | 20f8fac7ece92a5c1b5ae2cd408ab91eb3f32cb7 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kuldeep325/Group-6 | b79851e371231d3d19718883b3bec0d8dd748141 | 69c1c56ab91d2b75d3e6ca2721f58bb8bc764924 |
refs/heads/main | <repo_name>tsksila/Ru-Planner-Frontend<file_sep>/src/pages/Register/register.js
import React, { useState, useEffect } from "react";
import { useForm } from "react-hook-form";
import { api_url } from "../../configs/api";
import axios from "axios";
import { yupResolver } from "@hookform/resolvers/yup";
import * as yup ... | 77070fc21790bda22701fc932df49f7069170126 | [
"JavaScript"
] | 16 | JavaScript | tsksila/Ru-Planner-Frontend | 184877eeccc74cb0d81bb62c8e6622a6b3ea0866 | 0acbbbb4090a6790a98f5efbed0be0a17450a12b |
refs/heads/master | <file_sep>class TreeNode {
constructor(value) {
this.value = value;
this.left = null;
this.right = null;
}
};
const has_path = function(root, sum) {
const stack = [{node: root, sum: 0}];
while (stack.length) {
const node = stack.pop();
const newSum = node.node.value + node.sum;
if (new... | e095ac31988c106b23f9e6416b328f42613c952d | [
"JavaScript"
] | 6 | JavaScript | R-SE/grokking-algos | 2a0e61d86e476642b5e36e653b004ae6303ef500 | 449f24438d5c837bd52a6224c98fcc4a5b3d0965 |
refs/heads/master | <file_sep>require('dotenv').config();
const express = require('express');
const cors = require('cors');
const bodyParser = require('body-parser');
const app = express();
const mongoose = require('mongoose');
const shortid = require('shortid');
const dns = require('dns');
mongoose.connect(process.env.MONGO_URI, {
use... | e11c95a119759dbaaeb53c9f9bcc4f8a1284ea96 | [
"JavaScript"
] | 2 | JavaScript | xynoipse/apis-microservices | d872124c7cf707dca8602c04dbc9c40392d26787 | 3b8b6bfbce498eb544aa1a1d9365444483264f95 |
refs/heads/master | <file_sep>import React from "react";
import PropTypes from "prop-types";
import {
View,
Text,
TouchableOpacity,
Dimensions,
ViewPropTypes
} from "react-native";
import { Feather } from "@expo/vector-icons";
import * as Consts from "../../../constants/styleConstants";
import { isEmpty } from "../../";
const {... | ce240dd44b4ddb131c1f157e735f31728212a90d | [
"JavaScript",
"Markdown"
] | 161 | JavaScript | appendly/react-native | b2f2def5c81583bd2834e1b687de9920fa4effa9 | a99d17902f48dc346c05ce6abcdf0300f51d72ed |
refs/heads/master | <file_sep>const express = require('express');
const app = express.Router();
const post = require('../Controllers/postController');
const uploadArray = require('../Middlewares/music');
app.get('/', post.getAllPost);
app.post('/searchPost', post.searchPost);
app.get('/popularPost', post.popularPost);
app.get('/threePopu... | 5889bb2b3781f201eab015e9ee345f8b8f6b86e7 | [
"JavaScript"
] | 7 | JavaScript | joravkumar/hackathon_api | 5bdfc14b933e5899499a21761632e1f3d20db2c4 | e9426232f1c02531d1172dde9bffde283ddf357a |
refs/heads/master | <repo_name>braveheuel/prniotlet<file_sep>/extra/get_and_parse.sh
#! /bin/sh
#
# get_and_parse.sh
# Copyright (C) 2017 ch <<EMAIL>>
#
# Distributed under terms of the MIT license.
#
DOKPATH="$HOME/Dokumente/advent/2017"
if [ -z "$1" ]
then
START=1
else
START=$1
fi
mkdir -p out/
wget --http-user=ch --a... | e88be956c99ace4f3ca2930e11e5ad5e32c01f14 | [
"Markdown",
"Python",
"Shell"
] | 11 | Shell | braveheuel/prniotlet | 86eb56a1ab0841a84637e4b8f61ee4820c052855 | c529789f148542c8e335448cd08b90dd51efdc02 |
refs/heads/master | <repo_name>PhilipYordanov/BookstoreService<file_sep>/BookstoreService/BookstoreService/Entities/Cart.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookstoreService.Entities
{
public class Cart
{
public int CartID { get;... | 8da4250503323ab2acef827ea49f78624d5452b4 | [
"Markdown",
"C#"
] | 16 | C# | PhilipYordanov/BookstoreService | 5b487b2cf189fc334c50e6212398bd126d5b98bf | cea3ad3661c7b0d1c8dd45e02b85b4574533f72f |
refs/heads/master | <file_sep>import React from 'react';
import Layout from '../components/layout';
import SEO from '../components/seo';
import { HomeHeader, Banner, BannerButton } from '../utils';
import img from '../images/bcg/homeBcg.jpeg';
import QuickInfo from '../components/HomePageComponent/QuickInfo';
import Gallery from '../comp... | b50521ac28daf7c2407eaa8068014731b201b5eb | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Means-Business/restaurant | 75d695b3f3f6c09c9a81a3e5d165ff330eb80507 | 38a9790b5daefcbebcd98a7e52f1d8dedd86de09 |
refs/heads/master | <repo_name>b1b2b3b4b5b6/goc<file_sep>/tl/debt/rpc.go
package debt
import (
"encoding/json"
"fmt"
"net/http"
"reflect"
"github.com/b1b2b3b4b5b6/goc/tl/cfgt"
"github.com/b1b2b3b4b5b6/goc/tl/errt"
"github.com/b1b2b3b4b5b6/goc/tl/jsont"
)
type response struct {
ErrorCode int
Message string `js... | a379eba285fd322cd8f69e264b74f402340d4e1b | [
"Markdown",
"Go"
] | 13 | Go | b1b2b3b4b5b6/goc | d06e94e77a4fcc3b65257758e5238a299baa6766 | 590deda5e77c096b88a8dc042237e20ebe90280a |
refs/heads/master | <repo_name>Karpatsky/csgobot<file_sep>/app/Item.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Item extends Model
{
protected $fillable = ['name', 'phase', 'id', 'full_name'];
public function tasks(){
return $this->hasMany(Task::class);
}
public function patterns(){
... | 9851f730801a81c71356650d296fe19c10e46fce | [
"PHP"
] | 7 | PHP | Karpatsky/csgobot | 1e2a209cc8a300d5bcb9fabf5e8b2e1beb594969 | 2916ed934cf46fb0a50326fda758412204ad7944 |
refs/heads/master | <file_sep># Maintainer: <NAME> <<EMAIL>>
pkgname=python-h5py-openmpi
pkgver=2.3.0
pkgrel=1
pkgdesc="General-purpose Python bindings for the HDF5 library using OpenMPI"
url="http://www.h5py.org"
arch=('i686' 'x86_64')
license=('BSD')
depends=('hdf5-openmpi' 'python-mpi4py' 'python-numpy')
makedepends=('cython')
conflict... | f69c798a42dca30eb50a37a68d61a61e450f37d0 | [
"reStructuredText",
"Shell"
] | 5 | Shell | richli/arch | 92838dcb3b9929db295a971a2c06b2f98701b621 | 74bc4b6697bd5e60f218af365f1bb6a92347e382 |
refs/heads/main | <file_sep># Generated by Django 2.2.5 on 2021-02-04 18:52
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('auth', '0011_update_proxy_permissions'),
]
operation... | 2f170fd5fa18afac806fa3aece88c3456fc6bdbb | [
"Markdown",
"Python",
"HTML"
] | 10 | Python | cetinodabasi/Payment-System-Xpay | 7171c468aa43212e2aa5a12ab16e0fb9870a4277 | a77c0e692fde26d68198d0a50bdafa2303d658d9 |
refs/heads/master | <repo_name>onXoot/OperationSystemCourseDesign<file_sep>/cal.h
#ifndef CAL_H
#define CAL_H
double exec(char *b);
int create(char a[],int n);
int deal(char a[],int n1);
int match_kuohao(char c[]);
double readnumber(char f[],int *i);
int priority(char op);
int is_operation(char op);
void postfix(char e[],char f[]... | c1f560380de660cfe39e827f0eae21cc8dae7483 | [
"Markdown",
"C",
"Makefile"
] | 5 | C | onXoot/OperationSystemCourseDesign | 84547b1060b4a49a8a5c69807d0d808e44d0be93 | ce69872595e3bde097da98e4a1f9277e6ff37e90 |
refs/heads/master | <repo_name>panzhichao01/java-71<file_sep>/src/main/java/课后作业/_10月15日02/第三题/money.java
package 课后作业._10月15日02.第三题;
/**
* 描述:
*
* @author Administrator
* @create 2020-10-15 23:09
*/
public class money {
public static void main(String[] args) {
double[][] moneys={{22,66,44},{77,33,88},{25,45,65},{11,66,9... | 686c8c45c74f5c70b94b2b723b36c9d79f727d30 | [
"Java"
] | 10 | Java | panzhichao01/java-71 | e1328b3d12400de85949c4292bc425b31b21f43a | a392b309170623b92d9cfd794f0548964c413664 |
refs/heads/main | <repo_name>Levon-98/graph<file_sep>/Graph.py
from typing import Union
class Edge:
def __init__(self, vertex_1: int, vertex_2: int, weight: int = 0):
self.edge = tuple(sorted([vertex_1, vertex_2]))
self.weight = weight
def __str__(self):
return str(self.__dict__)
def ... | 14cd8dd47da091d30eeed568ae144aa5acd236bb | [
"Python"
] | 1 | Python | Levon-98/graph | 41f4a3369fa1b0d3d81caaa60a0533a173c9239d | f69a943833080cdeb0de1a8dab0c875982d0e86f |
refs/heads/master | <repo_name>Ragab2010/Atmega-implementation-drivers-and-Interfacing-Modules<file_sep>/TIMERINPUTCAPTURE/inputcapture.c
/*
* inputcapture.c
*
* Created on: ٢٨/٠٦/٢٠١٧
* Author: RAGAB
*/
#include <avr/io.h>
#include "avr/delay.h"
#include <stdlib.h>
#include "lcdlib.h"
void timer1_inputcapture_init(){
DD... | 512c6884ab252ac0ce65267496ca738c7d35a165 | [
"Markdown",
"C",
"Makefile"
] | 43 | C | Ragab2010/Atmega-implementation-drivers-and-Interfacing-Modules | b721b83938c4ec30a8a5b5f77371fe8394cc8c0c | b6597ee3cd7c0a279e055d7ee52556d3f4821127 |
refs/heads/master | <repo_name>fangtoby/breadwallet-actinium-ios<file_sep>/actiniumwallet/src/Wallet/WalletCoordinator.swift
//
// WalletCoordinator.swift
// actiniumwallet
//
// Created by <NAME> on 2017-01-07.
// Copyright © 2018 Actiniumwallet Team. All rights reserved.
//
import Foundation
import UIKit
//Coordinates the sync sta... | 2005b06dbf03c178e6f9ec9ff790f494ad233b2c | [
"Swift",
"C",
"Markdown"
] | 11 | Swift | fangtoby/breadwallet-actinium-ios | a2424aef53ac930d7a776ff7ac87a203ff9ebe05 | ca09d518c809c693f85405202697973f3a2910a8 |
refs/heads/master | <file_sep>package mainApplication;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import javax.print.attribute.standard.PresentationDirection;
public class TestMain {
public static void main(String[] args) {
... | 11b92aa40a10f1804d8f52aad82a18262d201af7 | [
"Java"
] | 7 | Java | nilesh44/MapDemo | a7e413652501854d442e5227b0d684eda4f6d20d | 593a2bbb75cb6fc3a07506065abbaf2fd6e11e30 |
refs/heads/master | <file_sep># Obstacles to Studying Alternative Splicing Using scRNA-seq
The purpose of this repository is to document the bioinformatics experiments in the preprint/publication with this name. The the main figures in this publication can be reproduced by cloning this repository and executing
```
./wrapper.sh
```
You ... | a3f85939bc17ed5ff1c3de2d1ae7389c9232405b | [
"Markdown",
"Shell"
] | 4 | Markdown | jenni-westoby/Obstacles | d7e850fd64acb16f6ed872186989352a33e996c8 | 157ad85420a27a87755845f4f67f30886f1d2514 |
refs/heads/master | <repo_name>itMovieKing/vueproject<file_sep>/reacttest/app/test1/login.js
import React,{Component} from "react";
export default class Login extends Component{
constructor(props){
super(props);
this.state={
text:","
}
}
change=(e)=>{
console.log(e.target.value);
this.setState({
... | 7c24d749ef7dcaf0ffd1e008db269485a77a2953 | [
"JavaScript"
] | 3 | JavaScript | itMovieKing/vueproject | bca3ce01c90f7d00c59b744ba6959f16d4793104 | e25d0cc61e6ad9c5d3628ecd3d147ab4f447fcb6 |
refs/heads/master | <repo_name>fany/MinD-Mail-Spamfilter<file_sep>/bin/spam-triage
#!/bin/bash -e
readonly prefix=/var/qmail/quarantine/
for mail in "$prefix/pending/"*; do
tmpmbox=$(mktemp)
spam-quarantine2mbox "$mail" >"$tmpmbox"
mutt -f "$tmpmbox"
rm "$tmpmbox"
while :; do
echo -n '(H)am oder (S)pam? '
... | d9dd2835797513504681c6cbb84ca02dc8c09993 | [
"Shell"
] | 2 | Shell | fany/MinD-Mail-Spamfilter | 9f5ebf7de485d58ca9721a7d71b53e56cd405231 | 268e9ccac99b089a3ffb154abd539261514326d8 |
refs/heads/master | <repo_name>marcelomaiajuvencio/AssinaturaDigital-DSA<file_sep>/README.md
# AssinaturaDigital-DSA
Hello World de assinatura digital com DSA.<br>
Mostra como gerar chaves privada, pública e a assinatura usando DSA.<br>
Mostra como converter as chaves privada e pública em bytes. Essa conversão é necessária para gravar as ... | 3d5833656c8aa645cb94a14f0a8a580268f37d8b | [
"Markdown",
"Java"
] | 2 | Markdown | marcelomaiajuvencio/AssinaturaDigital-DSA | 8482b845f140f293e72a7b663932ddc70e5cd445 | 691296735d9a6b64b0d9988859163a4bcebf1251 |
refs/heads/master | <repo_name>ari165/notgoodcalculator<file_sep>/README.md
# notgoodcalculator
a calculator that supports (/ * - +) up to 100
<file_sep>/generator.py
version = "1.0"
max_num = 100 # change this number to change the max number (a friendly note: DONT GO HIGHER THAN 500 the generator
# can handle it but you will need ve... | f87591ed671713e39a3fd9f5191825d7036ccd32 | [
"Markdown",
"Python"
] | 2 | Markdown | ari165/notgoodcalculator | 1c2d73bbbd8ec36672228a55781c33dd09e5a1ac | 7a2021e0d40a7ae45837ad9b63b46741b41de4f9 |
refs/heads/main | <repo_name>logicalsingular/BankCardParse<file_sep>/BankCardParse.py
def parser(text):
for n in range(len(text)-15):
if text[n:n+16].isdigit():
return text[n:n+16]
elif text[n:n+4].isdigit() and text[n+5:n+5+4].isdigit() and text[n+10:n+10+4].isdigit() and text[n+15:n+15+4].isdigit... | 33aa4bdde28fcc489e21c6e67d1e8d986e7e6ffb | [
"Python"
] | 2 | Python | logicalsingular/BankCardParse | 312f2a8a80dd5b91030230fe222b703de05b5b24 | 89cb2d6681d5e7e636498f990b26946062503d52 |
refs/heads/main | <file_sep># csvchrome
Dump all open chrome tabs to a CSV on OSX
<file_sep>import subprocess
import datetime
import csv
get_template = """osascript -e 'set text item delimiters to linefeed' -e 'tell app "google chrome" to {} of tabs of window {} as text'"""
def getUrls(windowId : int) -> str:
return get_template.f... | 89525caaa16473629086624ff3566ff1c112c684 | [
"Markdown",
"Python"
] | 2 | Markdown | mmaz/csvchrome | 188033b201f277ac766b6144d47ada628551d14c | 5c397ec8fd4d23c054058b86d341328cb59d081c |
refs/heads/master | <repo_name>cpflores/sample_ajax<file_sep>/app/models/post.rb
class Post < ActiveRecord::Base
belongs_to :user
rails_admin do
configure :user do
label 'Owner of this post: '
end
end
end
| 749de53ef2e2b1f9acd70fc1af5762a48fd8af0c | [
"Ruby"
] | 1 | Ruby | cpflores/sample_ajax | cb3ced8a304002d25643e5da3e45a21bb14431a6 | b6945a93e17f4b59a9616667e2764f3ce6d2aa71 |
refs/heads/master | <file_sep>import base64
for record in records:
input_stream = record.value['fileRef'].getInputStream()
newRecord = sdcFunctions.createRecord(record.sourceId)
bytes = []
while (True):
cur_byte_in_int = input_stream.read()
if (cur_byte_in_int == -1):
break
bytes.append(... | 8888f3ed4bfc513dcc41a377e3cf491d3758dabc | [
"Markdown",
"Python"
] | 17 | Python | nsinha-git/nsinha-misc2 | ac96bfeeb3e0d47e4eea736afce3e284f141948f | 68143af2055fa779d956897bc4f43e9306f1a6d4 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerRoomLoader : MonoBehaviour
{
public Animator transition;
public int sceneToLoad;
void OnTriggerEnter2D(Collider2D other) {
if(other.CompareTag("Play... | 394cd7d3012777f7d39cee21997f6fbb7a2c3215 | [
"C#"
] | 2 | C# | mwinailan/AdvenTure | ab18661ae6027f82a5128dfda4b2ccdb19252129 | a45f90038b280cd84dbf7a5adb75fb1466f5ef82 |
refs/heads/master | <file_sep>package com.lateral.service;
public interface IEmailService {
void sendEmail(String from, String to, String message) throws Exception;
}
| 8ab051dcb158c66ba7ba0a3eb1d52ab2995154f9 | [
"Java"
] | 1 | Java | milorad-kukic/TestingDemo | 961805394ce253a3922edc63f1ede87278f54b27 | e9dc2423c7a8dd8c7a33f2a01779ec6c0c162b93 |
refs/heads/master | <repo_name>eduardosantonascimento/AppTeste<file_sep>/src/apiGit.js
(function(){
const url = 'https://www.github.com./users';
})();<file_sep>/App.js
import React, {Component} from 'react';
import { Button, StyleSheet, Text, View,Image,FlatList, TextInput } from 'react-native';
import api from './src/apiGit';
... | e0ef35f2b692746e94d106621b43838e6f9d4677 | [
"JavaScript"
] | 2 | JavaScript | eduardosantonascimento/AppTeste | 7937b1161204513bfdff4ff74a78b969e3a09b01 | b0799fc8d862fde13ac70526fdc08dde657784c5 |
refs/heads/master | <file_sep>'use strict';
exports.main = async (event, context) => {
//event为客户端上传的参数
const bodyObj = JSON.parse(event.body)
const parent = bodyObj.parent
const pathArray = parent.split('/')
console.log('query file in parent:', pathArray)
const pathStack = []
let parentId = null
for (const folder of pathArr... | 8d07808a6620fa3e26faaf7a3b2cf5847fdffa91 | [
"JavaScript"
] | 1 | JavaScript | ncist-fe/cloud-admin | 2b52fecd33efaf86b14092c143c2e02b9dc345ba | 7672ab47af85bca928ec7634bf9142573cd65829 |
refs/heads/master | <repo_name>kimamula/ts-babel<file_sep>/ts/module_loaders.ts
// Dynamic loading – ‘System’ is default loader
System.import("lib/math").then(function(m: {sum: (a: number, b: number) => number, pi: number}) {
alert("2π = " + m.sum(m.pi, m.pi));
});
// Create execution sandboxes – new Loaders
var loader = new Load... | 0607d635f5b8cc48436329665d4bd3acd10674dc | [
"Markdown",
"TypeScript",
"JSON with Comments"
] | 24 | TypeScript | kimamula/ts-babel | 89f8ec23e1480b1c7364e60f96ff4b9819e3949d | 39ec32e66ce681c0fe249139e61a2f0596e2470d |
refs/heads/master | <repo_name>edelperi/aggBreakPBE<file_sep>/showPBEfeatures.py
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from aggBreakPBE import *
import numpy as np
import matplotlib.pyplot as plt
#-Plot with LaTeX
plt.rc('text', usetex=True)
plt.rc('font', family='serif')
#------------------------------Display Kernels-------... | 25073805495af31415e861443e532a9fa28ab64a | [
"Markdown",
"Python"
] | 5 | Python | edelperi/aggBreakPBE | a0666a3db954a9954d0856458afe161fb9967c15 | 93c3c8fc58600874ed3a7d6d289b91d29e961a8e |
refs/heads/master | <repo_name>niagr/mission-plan<file_sep>/backend/missioncontrol/api.py
import jwt
import requests
from django.conf import settings
from django.core.exceptions import ObjectDoesNotExist
from django.middleware.csrf import rotate_token
from rest_framework.decorators import api_view, permission_classes, authentication_class... | a170784db8df38786e774e493b7e0de1dda6bfa8 | [
"JavaScript",
"Markdown",
"Python",
"Text",
"TypeScript"
] | 16 | Python | niagr/mission-plan | 9bec430104f59cc6872a2b3490e8dbbce393a224 | f5eaecb81b1d57184ee901670ba9dcfa9b08fbbe |
refs/heads/master | <repo_name>Lewuathe/tf-cluster<file_sep>/docker-compose.yml
version: "3.3"
services:
worker0:
image: lewuathe/tf-cluster
command: ["--job", "worker", "--task", "0"]
ports:
- "2222:2222"
volumes:
- ./config:/srv/tf-cluster/config
container_name: worker0
worker1:
image: lewuathe/t... | 6345ffcc83b67622b79b8b9aa8e229fcf82f4c76 | [
"YAML",
"Markdown",
"Makefile",
"Python",
"Dockerfile"
] | 6 | YAML | Lewuathe/tf-cluster | 70c2e2fee24775f4e861d7bf282de0dcb92fa281 | c3d8fb5b42a892d878165cc41193f950114025d6 |
refs/heads/master | <file_sep>---
title: <NAME>
layout: default
---
http://personalskynet.blogspot.com/
* Hey Some scripts!
[de-provision Node Script](deprovision-node)
<file_sep>#!/usr/bin/python
# Name: deprovision-node
# Purpose: deprovision nodes from IT infrastructure and tools
# Version: 1.0
# <NAME>
# 1.30.2012
# Harvard University... | 1378821212bd5dbac7f39a19b4e85b014402c961 | [
"Markdown",
"Python"
] | 2 | Markdown | melodie11/crimsonfu.github.com | be6eedfb0fe6df52343b031bc58b71c6463775bb | 6933a06ef1aa86a6b04426b0e1e76966a8a5699b |
refs/heads/master | <file_sep>def printBoard(chilli):
print(chilli['topl'] + '|' + chilli['topm'] + '|' + chilli['topr'])
print('------')
print(chilli['midl'] + '|' + chilli['midm'] + '|'+ chilli['midr'])
print('------')
print(chilli['lowl'] + '|' + chilli['lowm'] + '|' + chilli['lowr'])
theBoard = {'topl':' ... | ad0b703409cc03dc43318fd134b06797643f03c3 | [
"Python"
] | 1 | Python | Silva-Shadow/newbie | 5ee14ece6f3a4b2c5d311f6e6921758b4a235efe | 616c980727048369b7cfc03b90c2f789adc81b2e |
refs/heads/master | <repo_name>adam0000345/FinancialApplication<file_sep>/app/src/main/java/com/example/finance/googlesheetsexample/util/Keys.java
package com.example.finance.googlesheetsexample.util;
public class Keys {
//need to inspect below to see if needs to be removed
public static final String KEY_ENTRY = "entry";
pub... | 9aa0af382c8bc27c2554e6006e8a1fa51136c54b | [
"Java"
] | 12 | Java | adam0000345/FinancialApplication | 48b4cd7297248b6aa283eaaf523b10ed68f80236 | cd46107c1aaf272e5749b47d6b77976cf8e43981 |
refs/heads/main | <repo_name>JamesAKing/pokestadium-retro-server<file_sep>/routes/logoutRoutes.js
const express = require('express');
const router = express.Router();
const RefreshTokens = require('../models/refreshTokens');
router
.route('/')
.delete((req, res) => {
const { token } = req.body;
RefreshTo... | 270d0574e1f9b18194266f1926242b1057582639 | [
"JavaScript"
] | 6 | JavaScript | JamesAKing/pokestadium-retro-server | e77bf5412185561c7f8152bc553e28784e465a00 | 78e28ba7af632abb45cd1d886738a7312504ab0e |
refs/heads/master | <repo_name>bvd/quickstart<file_sep>/src/app/app.component.ts
import { Component } from '@angular/core';
import { HappyMoment } from './happymoment';
@Component({
selector: 'my-app',
template: `
<h1>{{title}}</h1>
<h2>{{happymoment.title}} details</h2>
<div><label>id: </label>{{happymoment.id}}</div>
... | bc2b15be7a8d8563108416338263d53a641e8ca0 | [
"TypeScript"
] | 2 | TypeScript | bvd/quickstart | 76823136811ab97885e207742bc90f8c54fb3053 | 9a565591a3f42e24f1e304f59036248e6ef68e22 |
refs/heads/master | <repo_name>robwhite4/Resume<file_sep>/README.md
# Resume Generator
I'm trying to figure out this tool. And this is where I'll keep my notes.
## Technologies
References to technologies used / researched here.
* [HackMyResume - Resume Generator](https://github.com/hacksalot/HackMyResume)
## Other Things for Referen... | 60a72cf355ee5d540786d0c15a3854951974f692 | [
"Markdown",
"Shell"
] | 2 | Markdown | robwhite4/Resume | ad12d9ba2ba757f6756490054d169d43a2ebf8ee | a4128247aa67eda0034ca9e80fee1f6c17b03cea |
refs/heads/master | <file_sep>###############################
# STA 412 - Group Project #
# <NAME>, Pete #
# #
# Facebook Data Analysis #
###############################
### Import Data ###
# Set working directory - change to your PCs project location
setwd("C:/GitProjects/Facebook_BuzzFee... | d14ad1d2793a39f257e2227af986935c641fe4ba | [
"Markdown",
"R",
"RMarkdown"
] | 3 | R | mark-data5814/Facebook_BuzzFeed_Analysis | 5a58f7d6bc01d816601afff68503b8e517b0fccd | 279ba01dcc764d09218c3b2bf6fdf28f6d06e887 |
refs/heads/master | <repo_name>bismarckjunior/CUDA_Example<file_sep>/CUDA_Example/CudaVector.h
/*******************************************************************************
| Project: CUDA Example |
| Author: <NAME> <<EMAIL>> |
\**********************************... | e8c437067d8cf03789a7971a282f92d507982f52 | [
"Markdown",
"C++"
] | 5 | C++ | bismarckjunior/CUDA_Example | f9c42be9831d5c98a10b8334bc7793c947a6bda0 | 46c9e517bdf5b851422c1d8836120f522034615c |
refs/heads/main | <file_sep>import { Command } from '../command';
import { Message, MessageAttachment, MessageEmbed } from 'discord.js';
import { BOT_COLOR, ERROR_EMBED, getNumFromParam } from '../common';
import { db } from '../db';
import { Canvas, CanvasRenderingContext2D, createCanvas, Image, loadImage } from 'canvas';
import { roun... | fe20a73e426d48b2154d267d1093588972bd57a2 | [
"Markdown",
"TypeScript"
] | 18 | TypeScript | Corvance/sungbot | e57f49998ecf5ff740a30a327f979fd970b85ba4 | ce8f7455df2769b047ae380d57f00f6ed024de09 |
refs/heads/master | <file_sep><?php
/**
* Created by PhpStorm.
* User: qiuzhiwei
* Date: 2017/8/17
* Time: 00:41
*/
namespace core\lib;
class config
{
public static $conf = [];
public static function getConf($name, $file)
{
if (isset(self::$conf[$file])) {
return self::$conf[$file][$name]; //避免重复加载
... | de33a80d3caddfd0e5c671f71795637032b3bddc | [
"PHP"
] | 29 | PHP | halowodcloud/coer | 64105859bc2cbc6c1ad922d51d97e5ad906e10b1 | b0fd9c409bd144b6ee248d9631c6dade867b5ab6 |
refs/heads/master | <file_sep>print('Hello kind World!!!')
print('No buddy its a cruel world!!!')
| 33eef90338c0432aac0060c071eaf94b7c184400 | [
"Python"
] | 1 | Python | AzimEjMhd/green-thumb | 019facbc3fc9164ed34f5e5a5d3de568fe0dc6ac | d419692d7074718b6a3a20515362b06495be5d6f |
refs/heads/master | <file_sep>// This .c file is to test aodf.c
// I used this to generate a program called ./testfile1
// the ouput of ./testfile1 is saved under "test"
// which I used to test the program, like this: ./aodf test
#include <stdio.h>
int main(void){
putchar(0x01);
putchar(0xEF);
putchar(0xCF);
retur... | 9545329525c5690f915557109ceaacaece3e3cf2 | [
"Markdown",
"C"
] | 3 | C | Bubblemelon/alternate-dump-files | b74a83ac5ccfde9ccaf789c4d154c08fb7fb3aca | 965719224290c9ebf22ba40848cf5437342b2ceb |
refs/heads/main | <repo_name>matrixrk/demo-front<file_sep>/src/app/login-page/login-page.component.ts
import { Component, OnInit } from '@angular/core';
import {HttpClient} from "@angular/common/http";
import { Router} from "@angular/router";
@Component({
selector: 'app-login-page',
templateUrl: './login-page.component.html',
sty... | 792330c613e98172897c53a36607e54c4ebf1748 | [
"TypeScript"
] | 1 | TypeScript | matrixrk/demo-front | 06fcd52ef0a55997a76fa96f180aaff8e4bf636b | e98dd6db3136d7d5e5948291863235f0965c755a |
refs/heads/main | <file_sep>import React, { useState, useEffect } from "react";
import EmployList from "./EmployList";
function Experience() {
const [employ, setEmploy] = useState({
company: "",
position: "",
year_start: "",
year_end: "",
description: "",
});
const [creatingEmploy, setCreatingEmploy] = useState(true);
co... | 6777829fa393c370685646fa03221921965ffb89 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | fl-martin/cv-application | 2c5728e76625342493e4a6176ee184b3920f7113 | f6ea647a4350b547aad8d6ccca3a46f3e2c4bc2c |
refs/heads/master | <repo_name>koljakub/coursera-r-programming<file_sep>/week-3/cachematrix.R
#' Creates a vector of the following four functions which can be used for effective manipulations with a
#' matrix (denoted by X) and it's inverse (denoted by X'):
#'
#' 1. setMatrix(mat) - Sets the value of the matrix X. X must be invertible.
#... | 76977d68f8cdf64490aef1cfac538ae6d3ea80e9 | [
"R"
] | 1 | R | koljakub/coursera-r-programming | c75ac8e51c38cc607c924157334447f7a024ae62 | a4ded4e9a513dbb77a8ca314a2a411228070c434 |
refs/heads/master | <file_sep>rm(list=ls())
require(gstudio)
freqs <- data.frame( Locus="Loc1", Allele=c("A","B"), Frequency=0.5)
pop <- make_population(freqs,N,F=0)<file_sep># Plotting Diversity
> Here we plot levels of allelic and genetic diversity on maps.
```{r warning=FALSE,message=FALSE}
require(gstudio)
require(ggmap)
data(arap... | f3942ae64811d7e3b10f68656c82435c5216bd89 | [
"R",
"RMarkdown"
] | 21 | R | dyerlab/APG | 845ede31af9a004fe4ce9e9f25f23fac0afd4d16 | 12c2d601b31b1019eccf53c4f3cda670edc80901 |
refs/heads/master | <file_sep>import { combineReducers } from 'redux';
import axios from 'axios';
//const initialState = {}
// ACTION TYPES
const FIND = 'FIND_STUDENT';
// ACTION CREATORS
const findStudent = (student) => ({ type: FIND, student });
// THUNK
export const findStudentThunk = (id) => dispatch => {
return axios.get(`/api/... | 6b9b2bd255e6adbbb7a68c814b295e34022c4a35 | [
"JavaScript"
] | 14 | JavaScript | cmccarthy15/senior-enrichment | d5677aa13f036b9d919ec7b7788d3a723a52c696 | 3c299edecf527b9f0e578b904693fabbe8551c59 |
refs/heads/master | <file_sep>#pragma once
#include "d3dApp.h"
#include "ThridParty/Geometry.h"
#include "Transform.h"
#include "CBuffer.h"
#include "Camera.h"
/********************************************************************
Ex10:
渲染了可以自由移动的环境,设置了三种观察模式,FPS,TPS,和自由观察模式
还没有阴影。
********************************************... | e9b6509eb3594803699da8e8fc4b4420423ec669 | [
"C",
"C++"
] | 29 | C++ | XIANQw/RenderingWithVLM | 4664ce2589ef479579b01a38d1c17f6465334078 | ed11554bc0f4b764920c399cc5a0e0d890963c66 |
refs/heads/master | <repo_name>MJavaadAkhtar/OS_Virtual-Memory-Algorithm1.1<file_sep>/lru.c
#include <stdio.h>
#include <assert.h>
#include <unistd.h>
#include <getopt.h>
#include <stdlib.h>
#include "pagetable.h"
extern int memsize;
extern int debug;
extern struct frame *coremap;
static unsigned long counter;
/* Page to evict is ch... | b67352cda7a26b1f0e866d8941e2306c6f76b41d | [
"Markdown",
"C",
"Shell"
] | 5 | C | MJavaadAkhtar/OS_Virtual-Memory-Algorithm1.1 | 56884adb6cb638d479d8d61dd791fb562cb09821 | 06a3df877c734cfce12f67a410c12a0755c31521 |
refs/heads/master | <repo_name>jamjay2/k3test<file_sep>/wangzhan/src/com/lj/Index.java
package com.lj;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class Index extends... | f4a71ed791aded8f5fc3448a00357aff54299c92 | [
"Java"
] | 3 | Java | jamjay2/k3test | fad46b945f6ed8b871eeda19019f58f0054b1506 | 0e698956e0e67421988873853921c6fdb9e754fd |
refs/heads/master | <file_sep>package test;
/**
* Created on 28/11/14.
*
* 0 attribute
* 4 methods (0 overrides)
* 4 public
*
* @author dralagen
*/
public interface Fake {
public void createFake();
public void createFake(String name);
public void setFake(String name);
public FakeBean getFake();
}
<file_sep... | ca93fecff1cf43a6b64696237d9a448a5bb5fd9e | [
"Markdown",
"Java"
] | 10 | Java | masters-info-nantes/metricSource | 4466dc14921f82e626bac347c71e1cb423cea8cd | 827fdb327f35c736400d009037fe80e521962e4e |
refs/heads/master | <repo_name>whoami1995/BroodApp<file_sep>/BroodApplicatie/Brood.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BroodApplicatie
{
public class Brood
{
public Enum BroodSoort { get; set; }
enum brood
{
... | 64bdffc0ffd12822c0eb87eca4337738e59714c0 | [
"C#"
] | 4 | C# | whoami1995/BroodApp | dff7d7b7a0dc9baf4c36fd750364aee3ecd07964 | ddaa1e13883f0d9ec1f9908174d9377f87d56dc7 |
refs/heads/master | <file_sep># encryptmebitch
Encryption "algorithm" used on https://encryptmebitch.com
COPYRIGHT:
© <NAME>, Charles. All Rights Reserved. Any distribution, idea or code replica, is strictly prohibited.
<file_sep><?php
include 'functions.php';
testInput(); //INITIATING FUNCTION
function decryptString($k... | 596be1b3397ff9043ada08621b26b9679d463d74 | [
"Markdown",
"PHP"
] | 3 | Markdown | DaddyChucky/encryptmebitch | 195c985bbad9d695c3a2b199a0f834906c2f0175 | 5c0ee96cf89c266eb2db00ff5dc5db880052271f |
refs/heads/master | <file_sep>package com.example.demo.mybatis.controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/mybatis")
public class MyBatisControllder ... | 78b4b84606e6c1e2ca04f0b2b3ed186741a0e982 | [
"Java",
"INI"
] | 3 | Java | zcchen-stu/springLearn | 0c59b167f1f4847c3ac29b3a13721447dd27fc97 | f5765a872f2250d93d41f4cd1ee845895d406783 |
refs/heads/main | <repo_name>Avacade2k/JunitV2<file_sep>/src/week2/testCase.java
package week2;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import org.junit.jupiter.api.Test;
public class testCase {
//... | 3b510bbc75329ffa80bd663c407baf32e50d4c0d | [
"Markdown",
"Java"
] | 3 | Java | Avacade2k/JunitV2 | d5583e3c4d322d80be81cca43f318987fcb8bb96 | 7b71499b522915faa1e09d642f445e21bad72868 |
refs/heads/master | <file_sep>document.addEventListener('DOMContentLoaded', () => {
document.querySelector('.menu-btn').addEventListener('click', () =>{
document.querySelector('.main-small').classList.toggle('show');
document.querySelectorAll('.page-show').forEach(button => {
button.onclick = () => {
document.query... | 72c912f25a2470f7b433ceace5492d4343f1ce90 | [
"JavaScript"
] | 1 | JavaScript | MohGumaa/my-portfolio | 617dd6cc96e89cfeec05e5b77e31e3b8413e5902 | 107869c55946a4c2ce8e03ef29454f148afdf361 |
refs/heads/master | <file_sep>package sample1210;
import java.awt.Frame;
import java.awt.event.ActionListener;
import java.awt.Graphics;
import java.awt.Button;
import java.awt.event.ActionEvent;
import java.awt.Color;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.BorderLayout;
import ja... | a0d0810562adfc9a426e6f66b2210cd42eb381ca | [
"Java"
] | 1 | Java | anilo-n/sample1210 | 9a95daab41b59574966f4541d635e8095197ef85 | eecf809d61d43af6cbe702a0cb70dbb53fc023ae |
refs/heads/master | <file_sep>// Write a program that opens the text.txt file (with the `fopen()` system call) located in this directory
// and then calls `fork()` to create a new process. Can both the child and parent access the file descriptor
// returned by `fopen()`? What happens when they are written to the file concurrently?
//they... | 0c6aa6e8258e01a223e582c64daa86ac52dabb00 | [
"C"
] | 1 | C | farste/Processes | 14a99c044076292e0733722182af97b1588d34dc | 7fc77c1794c1285bd348f6bf22a056d5d5b7052a |
refs/heads/master | <file_sep>import requests # urlを読み込むためrequestsをインポート
from bs4 import BeautifulSoup # htmlを読み込むためBeautifulSoupをインポート
URL = 'https://www.hinatazaka46.com/s/official/diary/member/list?ima=0000&page=8&cd=member&ct=3' # URL入力
images = [] # 画像リストの配列
soup = BeautifulSoup(requests.get(URL).content,'lxml') # bsでURL内を解析
for l... | d9ab9a52a777d300a419ba292e25f8ffc0697e98 | [
"Python"
] | 1 | Python | Ryokikuver/kikulabo | 0f0d61efb39dbc815332ce8a48d077745a786c89 | 958e2df54c7169a879f3e6940398139a1fe5af04 |
refs/heads/master | <file_sep>import allure
class LoginPage:
@allure.step(title="输入用户名")
def input_username(self, username):
allure.attach("输入的用户名是" + username, " ")
print("输入用户名" + username)
@allure.step(title="输入密码")
def input_password(self, password):
allure.attach("输入的密码是", password)
... | 5abf6b259527e4b7e0dac1f51030f5fdc09a3e75 | [
"Python"
] | 3 | Python | fengsanan/allure_pytest | bd73182b6c536494cdddbe6e9068eb0e446dc856 | 085104e9d01f8abd75a3f3a7d35a51849247dd53 |
refs/heads/main | <repo_name>AlexisMakrogiannis/Data-Persistence-Project<file_sep>/Assets/Scripts/MenuManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using System.IO;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class MenuManager : M... | e6265b92f51c2fe721186bbca7690853c0861abd | [
"C#"
] | 1 | C# | AlexisMakrogiannis/Data-Persistence-Project | 7cf7c640381e4ef85c26eb578f164ca8485d17ae | 90ae4474a185a3403e763fa70974cde07a076d78 |
refs/heads/master | <file_sep>'use strict';
(function() {
angular.module('djinnApp')
.directive('chooseDuration', [function() {
return {
restrict: 'E',
replace: true,
templateUrl: 'js/common/templates/choose.duration.html',
scope: {
choice: '='
},
link: function(scop... | 0e080b2499539aeda569b5dda8ae997b5eb4832e | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | djinn-org/djinn-web | 741c3a8fd8f1e226d2793d2501e3cea601444cfa | b1bea4ca55bfffa19f59bc05159e34fb8bd362d8 |
refs/heads/master | <file_sep>from xml.dom import minidom
import xml.etree.ElementTree as et
__author__ = 'sonte'
# creating our dictionaries
relationDictionary = dict()
catDictionary = dict()
#pulling in the xml and getting all the trees with the attribute 'category'
doc = et.parse('categories.xml')
child = doc.findall('category')
x = 0... | f4ffc9cc3d2f427b7e78127b29fe1cbf4ad61e88 | [
"Python"
] | 1 | Python | sonte/Catagory-Relationships | 4dd60dc88d66136b18e79e433e7e2ddd3f97429b | 4de92e6180338617a6554fb1c52d7f4b08765909 |
refs/heads/master | <file_sep>export const domElements = {
about: document.querySelector('#about-me'),
body: document.querySelector('body'),
images: document.querySelectorAll('.showcase a'),
modalImg: document.querySelector('#details img'),
modalHeading: document.querySelector('#details h1'),
modalText: document.qu... | 5e67daa4fb867252177f025300e1602aa4e7e227 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | fennadew/web-design | eae480d834aa98bc73cfc40bd66b3e212b117f24 | 554db0bc64ef86a7921a45728822fe08047eb301 |
refs/heads/master | <repo_name>Rafael-Fonseca/University<file_sep>/LTP 2/learningFlask/00 lessons/2019-03-14/project.py
class Project:
def __init__(self, name, final_date, manager, activity_list):
self.name = name
self.final_date = final_date
self.manager = manager
self.activities = activity_list
<file_... | 6d213869d6a1b7dda50c1b729678f9d86e8504fd | [
"Python",
"HTML"
] | 8 | Python | Rafael-Fonseca/University | 3e83136824f1d0b5d59904df1334e5f806133a6a | 358bca0bb575a59cd54b9ed215fc814d215723e7 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SimpleFractals
{
public partial class Form1 : Fo... | 9f9ffc04e7d47fd0b4b2a7e98886ec551e7843e6 | [
"C#"
] | 2 | C# | brendanbennett/Fractals | ebbb668ccac36849253e14cbd658ae083487681d | 326aec2ae771998aff6967513ee4961b837ce25f |
refs/heads/master | <repo_name>myyang/letsencrypt-server<file_sep>/nginx/letsencrypt.sh/config.sh
WELLKNOWN="/var/www/letsencrypt"
CONTACT_EMAIL="<EMAIL>"
<file_sep>/docker-compose.yml
nginx:
build: nginx
env_file:
- nginx/envs
ports:
- "80:80"
log_driver: "json-file"
log_opt:
max-size: "50m"
... | db169d762cb4a5618e9446b7434fbad03a2e3908 | [
"Markdown",
"YAML",
"Dockerfile",
"Shell"
] | 5 | Shell | myyang/letsencrypt-server | 75dd04808e4449dc28d8009aabdaa6e0dbd80e91 | add6d7e41aa2353acce684ea91c3521842b97f09 |
refs/heads/master | <file_sep># README #
#RSA was implemented by <NAME>.#
#SKE was implemented by <NAME>.#
#KEM was implemented by <NAME>.#
### The final error correction were done together.. ###<file_sep>#include "ske.h"
#include "prf.h"
#include <openssl/sha.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/err.h>... | 997b1ea282e843d05e96b19b26764b9f8d3fea95 | [
"Markdown",
"C"
] | 4 | Markdown | t17711/key-encapsulation-mechanism | a6f346c47a9d0cfff863d26a6d3ea699139c64f3 | ae3a352388efd78b491231cd6308be80ee3e8c5e |
refs/heads/master | <repo_name>luobolaogong/MsatLeaflet20160521<file_sep>/leaf/MapImpl.js
/**
* @fileoverview This is the "gateway" JS file that communicates with the GWT/Java code found in
* LeafMapImpl.java (counterpart to OpenLayersMapImpl.java). This file is the "counterpart" of
* the OpenLayers version, OLMapImpl.js. The OpenLay... | 54d9374cc8fde721df7f1b6904139105950c81f2 | [
"JavaScript"
] | 4 | JavaScript | luobolaogong/MsatLeaflet20160521 | 4585448f79ccddedde1eb5529ce96d3b1581b3d1 | c570f1a5e37d7c4f3bab2013bce6a27d59664f1e |
refs/heads/master | <file_sep>const date_btn= document.getElementById('dateBtn');
const date2= document.getElementById('date');
date_btn.addEventListener('click', e=>{
document.getElementById('date').innerHTML= Date();
}); | cefaabb218c3dc974868edf31758cae9d33ffce5 | [
"JavaScript"
] | 1 | JavaScript | elkanahtetteh/HW1_UBKR46VLQA | 72b84a610b7a562c1c195c22d45062d16224f0a5 | b131ad553ee9c7e42a7590d883d8c33b84bc95c3 |
refs/heads/master | <repo_name>BrandonBoone/PremierTools<file_sep>/src/redux/browser/selectors.js
export const getWidth = (state) => {
return (state.browser.width > 765 ?
765 : // 765 is premier's width for CV
state.browser.width) - 50; // 50 is a magic number. :-/
};
<file_sep>/src/App.js
import React from 'react';
import Mont... | 082431910a7b0ab14b2d2ea550237962a66d372e | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | BrandonBoone/PremierTools | 7475e863cb189dac0ada6d6991d0f5106a593b18 | 6e0219b6b0da8ac8a940b33aa3c58000e85717ac |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.