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/master | <repo_name>suvarnagupta/Data_classification_model<file_sep>/data_classification_model.py
#!/usr/bin/env python
# coding: utf-8
# ## Data Classification
# In[1]:
## for system
import sys
import os
## for data
import pandas as pd
import numpy as np
## for plotting
import matplotlib.pyplot as plt
import seaborn as s... | a920ca0c76a656738063f5940397d456f1e8a042 | [
"Markdown",
"Python"
] | 2 | Python | suvarnagupta/Data_classification_model | 4aa7fe9cbd8d175c973aa8d70b29b96eb1b0d746 | 6af4ad11be576565f82a4a40df1616d993cd5c35 |
refs/heads/master | <repo_name>slorlior/Production-Company<file_sep>/src/models/movie.model.ts
export class Movie {
id: number;
genre_ids: number[];
release_date: string;
vote_average: number;
vote_count: number;
}
export class DiscoverMoviesResult {
results: Movie[];
total_pages: number;
}<file_sep>/src/movie... | 3f91b0af1b025f05ad548034ae691136c9e8fa89 | [
"TypeScript"
] | 7 | TypeScript | slorlior/Production-Company | f00372f1fdb0c65f3c110709ea11763615b26896 | 59b1e1653fdd26e11cb717e038530b6bc177e462 |
refs/heads/main | <repo_name>holworthy/ai-cw2<file_sep>/src/messages.py
def text(content):
return {
"type": "text",
"content": content
}
def ticket(ticket):
return {
"type": "ticket",
"content": {
"from_station": ticket.from_station.get_name(),
"to_station": ticket.to_station.get_name(),
"leave_at": ticket.leave_at.... | 9d0472335097a5f63cde29b0728864ee7b018625 | [
"Markdown",
"Python",
"JavaScript"
] | 9 | Python | holworthy/ai-cw2 | 6e664fc93d59b22e129b4c9b82c06ce0ce22e6ae | fdf0db8b42718078756c239ac421076ffe41bfb0 |
refs/heads/master | <file_sep>package com.home.study;
import java.util.Scanner;
public class App
{
public static void main( String[] args )
{
DataBase booksBase = new DataBase();
booksBase.createRandomBase(10);
booksBase.add(new Book().getRandomBook());
Scanner scanner = new Scanner(System.in);
... | e7044ff7d095b0d5c29291cc406f3a89bc01fb3f | [
"Java"
] | 1 | Java | Petrovichq/JavaClassesMainTask | f693619aeaf6000a198e15ea768bfab13a6ce631 | 6a569795875a8a63dfb240b777cc859d4b6264b7 |
refs/heads/master | <repo_name>talam16-meet/MEET-YL2<file_sep>/app.py
from flask import Flask, request, session, g, redirect, url_for, abort, render_template, flash
app= Flask(__name__)
@app.route("/")
def Home():
return render_template("home.html")
@app.route("/about_me")
def About_me():
return render_template("about_me.html")
@app.... | 1be954cd2eeca4ed6590c6ba3e26c72f1a68e0b0 | [
"Markdown",
"Python"
] | 2 | Python | talam16-meet/MEET-YL2 | cd783bf3aa2f77418dbd0d1ff2641105e5962398 | 47cfb52ea50e91b725dd4f1af381b397c80432d4 |
refs/heads/master | <repo_name>kuckelvin/5.-Blur-Loading<file_sep>/script.js
const counter = document.querySelector(".counter")
const bg = document.querySelector(".bg")
loading = 0
rate = setInterval (blurring, 30)
function blurring() {
loading++
if (loading > 99) {
clearInterval (rate)
}
counter.innerText = `${... | 1b8e9dbb65f3b57a3228e2741918c46e50c37c80 | [
"JavaScript"
] | 1 | JavaScript | kuckelvin/5.-Blur-Loading | 0fdaf93b6c876ae068d90ada6a70436bd0382ea7 | dc4bf65b4348fd01a5042faeb43c242320fc6dc9 |
refs/heads/master | <repo_name>HolgerGlysing/ImportingTool<file_sep>/Utility/Converters.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using Uniconta.ClientTools;
namespace ImportingTool.Utility
{
public class LocalizationValueConverte... | 0767f8dabf684f72a91b7af942e53b4a9fd6ce6a | [
"C#"
] | 8 | C# | HolgerGlysing/ImportingTool | 9b265f50206fe8f0d7040a1711c5a2bc27a3ab32 | 10bbe620997d6b6267a40d4772e0b162a9e0209a |
refs/heads/master | <file_sep>using Ninject;
using Ninject.Web.Common;
using SimpleBlog.Core;
using SimpleBlog.Core.Objects;
using SimpleBlog.Providers;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace SimpleBlog {
public class MvcApplication : NinjectHttpApplication {
prote... | d86ec544aed63be25f3b264dedb24a915c004a21 | [
"Markdown",
"C#"
] | 8 | C# | msm-code/simple-blog | cecf9621403b0ab40f09d96b363451951cf82afb | 74cafa12624e359c8e6b18b5a978ec3f4c5d4d71 |
refs/heads/master | <file_sep>include ':app'
rootProject.name='HitMeGame'
<file_sep>package com.example.hitmegame;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RadioButton;
import android.widget.Radi... | 94cacff361c6bac5155258520e2bd0eb4dba5f4a | [
"Java",
"Gradle"
] | 3 | Gradle | AhmedSadoon/HitMeGame | 1ae364921865082b14202eafdd3434b1c3cb022a | 9179569f64d103378a94168b12cb67c4f75abcee |
refs/heads/master | <repo_name>ErmEvgeniy/New-Radioman<file_sep>/src/main/java/netology/Radio.java
package netology;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Radio {
private int currentStation;
private int minStationNumber =... | fd6582db554e52d31b24a1c705926477e34b3cd6 | [
"Java"
] | 2 | Java | ErmEvgeniy/New-Radioman | 7991ec6f0dbdbc919c52675911ee2b9c0600d924 | 5b1b780bd81bc697b6ba320e9a70bf8baf389132 |
refs/heads/master | <file_sep># Uncomment this line to define a global platform for your project
platform :ios, ‘9.3’
# Uncomment this line if you're using Swift
use_frameworks!
workspace ‘Blaylock’
target 'Blaylock' do
#pod ‘NMPopUpViewSwift’
end
<file_sep>//
// Object.swift
// Blalock
//
// Created by <NAME> on 4/14/16.
// Copy... | 51a1e007707e9bf42b63d1d575c72b9d07da132b | [
"Swift",
"Ruby"
] | 15 | Ruby | Bobobocuz/Blaylock | 59051c74fa134d68de48fe68fbe63ffd0a546123 | ec50301ecc3fc69d0cb0ac5236406d51315ef652 |
refs/heads/master | <file_sep>- Understand the purpose of http methods/verbs.
- Understand the separation of views/endpoints and internal models and logic.
- Understand why task queues or out-of-sequence running of code is important.
- Understand status codes? This might be irrelevant for endpoints thanks to
intuitive endpoints exceptions... | f6958f10c26b3825668430fbba567b54b07b1261 | [
"Markdown",
"Python"
] | 4 | Markdown | carchi8py/FSND-P4-Design-A-Game | a159730b85b363ebb6c7fa3ec69125f76cc109a7 | b6dbdc69fb4727fc9bc865201be455ee9ab7abdf |
refs/heads/master | <file_sep>package edu.uco.twilliams84.termprojecttimothyw.Model;
public class BallStateDead extends GameObjectState{
Ball ball;
public BallStateDead(GameObject gameObject) {
super(gameObject);
Ball ball = (Ball) gameObject;
}
@Override
public void update() {
//Add score to... | a7992a00624e233409779aa17d3c8646364644f5 | [
"Java"
] | 8 | Java | tcalebw/Ball-Game | e13edcc43a04de5c8634c0e6da8d16548e0a4b38 | 6916acfc5311d868f8a719d9cfe5aba19a9eabc3 |
refs/heads/master | <file_sep>import java.util.Scanner;
import java.util.Random;
public class Array1 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scanner(System.in);
Random rnd = new Random();
int date[] = new int[10];
int count=0;
for(int i=0... | 7ef30dd6bacaeed641a330bac41ddbb6e0736923 | [
"Java"
] | 3 | Java | Tomorrow0w0/104-Jave | 196b1134fb189c0400fa283470f7231660ed6541 | c58a3fa23f2d5d0f48cb5bb870247e27089e6ceb |
refs/heads/master | <repo_name>quanghieu2556/Test<file_sep>/README.md
# Test
V 1.0
<file_sep>/hello.cs
main(){
printf("Hello world");
printf("Hello everyone");
printf("Welcom1");
}
| 55dbd33d527c7b45a74abee851c0ab35328a1980 | [
"Markdown",
"C#"
] | 2 | Markdown | quanghieu2556/Test | 90c5ee72a4a26650df7cc4700f21b2a84f995490 | 7bb860833a573833e2ba97694f72252c68ab1f4d |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { HttpService } from '../http.service';
@Component({
selector: 'app-authors',
templateUrl: './authors.component.html',
styleUrls: ['./authors.component.css']
})
export class Auth... | b8c2ecd0654bb90c5c08eb01374ab6c98f05c5af | [
"TypeScript"
] | 5 | TypeScript | twilksonjr/quote_rank-mean-stack | 06183fa2ea62baa794736323fa3fdedc51786e27 | 8931d9f3267548359b87092592dc6addb08ea635 |
refs/heads/master | <repo_name>wangzhongzhen/test<file_sep>/train.py
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
import torch
import resnet3d
import torch.nn as nn
from MakeData import myImageFloder
device = torch.device ('cuda' if torch.cuda.is_available() else 'cpu')
#
train_dataset = myImageFloder(root = "data_test")
#test_data... | 8f43e30618b954e1ae3c19e32e01ee0c785555ef | [
"Python"
] | 1 | Python | wangzhongzhen/test | bd69c6a19b56561abd1dc12f228f1e7cc74df7f3 | 5341c8ff913e646ac3a9da5ca647a37186cd68a7 |
refs/heads/master | <file_sep>package it.polito.tdp.model;
import java.util.ArrayList;
import java.util.List;
import it.polito.tdp.dao.EsameDAO;
public class Model {
private List<Esame> esami;
private EsameDAO edao;
private List<Esame> soluzione;
private double bestAvg;
public Model() {
edao = new EsameDAO();
esami = edao.ge... | 1314c146724f11715a2474b20845d425d459bdc7 | [
"Java"
] | 1 | Java | riccardoandretta/VotiNobel | 30814c6a9cee7300e06f683eb1649767fc32a559 | 10eb86646bd516e8fb18eac6c373b002785d3ecd |
refs/heads/master | <file_sep>the folder mainly contain four kinds of files:
#### **Mosfet parameter model card**
The model card is generated by PTM website(http://ptm.asu.edu/) at 45nm technology node, which includes basic pmos and nmos BSIM4 model.
#### **Clock buffer spice netlist**
Clock buffer behaves as two serial inverters so ... | 9c775f2b971bdc1b5c8a6d6e15966823727475f5 | [
"Markdown",
"Python",
"Text"
] | 12 | Markdown | tsengs0/CTS_Paper_Reproduction | ea1c3041fceb9586d7f5772e5a0159e2ba2e0f39 | 54ed165855f9cff8cd236ff895a26201bd494028 |
refs/heads/master | <file_sep>using System;
using System.Globalization;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading;
namespace csvPing
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
... | 4d15483de655287c5478246254bcf9ec607c1d10 | [
"Markdown",
"C#"
] | 2 | C# | bhollenStats/csvPing | 51d9363ad29170fc158f8c80e4c1495d28316b83 | 830d6e1a32a39c13b18315e8a577bc7398b48533 |
refs/heads/master | <file_sep>package org.xson.common.object;
public class XCOArrayField implements IField {
private static final long serialVersionUID = 4848636595224033221L;
protected String name;
private XCO[] value;
public XCOArrayField(String name, XCO[] value) {
this.name = name;
this.value = value;
}... | 70bfd289cae8c51a77bf6b633b1b33d73ab8f294 | [
"Markdown",
"Java"
] | 11 | Java | xsonorg/xco | cb427a21d6c319b55dfc65f49ca87fa3a54c763f | 8db3c52de935b968d2e17ca84585cf1b3f83e97b |
refs/heads/master | <repo_name>MarkBatchelder/footbag-united<file_sep>/table-moves-content.php
<?php
/**
* The default template for displaying content
*
* Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
?>
<tr id="post-<?php the_ID(); ?>" <?php po... | aae51f17288ee28f50bb0399fac7a9b46ecba49b | [
"PHP"
] | 2 | PHP | MarkBatchelder/footbag-united | b76d851cc8f742097f95dae42693c01559c6e950 | 65d806b469eb6bd3e102febc76d31381f0dc1f91 |
refs/heads/master | <file_sep>package importre.intellij.android.selector.color;
import javax.swing.*;
import java.awt.*;
public class ColorItemRenderer implements ListCellRenderer {
DefaultListCellRenderer defaultRenderer = new DefaultListCellRenderer();
@Override
public Component getListCellRendererComponent(
J... | 4ba81e4cc1c59b9663c280dc19008db4ece777de | [
"Markdown",
"Java"
] | 3 | Java | IsMarx/android-selector-intellij-plugin | 16569b0225089224553f01bd35ae2993b22547fc | 1e96ba5f9fee2a4c1e0c00d6669433a461c6ada9 |
refs/heads/master | <repo_name>spatome/my<file_sep>/src/main/java/com/spatome/applet/common/enums/StatusEnum.java
package com.spatome.applet.common.enums;
public enum StatusEnum {
ON("开启"), OFF("关闭"), STOP("暂停");
private String text;
StatusEnum(String text) {
this.text = text;
}
public String getText() {
return te... | 0dd36e6e69f65c35ce7135c3f5bc56f4a7af25fd | [
"Java"
] | 21 | Java | spatome/my | 09ad095cdbf788b0d9cbf34263b9bd0cd22c8edf | c4b52eaae2005eabc7165277e90dff0a563c6a86 |
refs/heads/master | <repo_name>PankajSavaliyaGit/MultiImage<file_sep>/app/src/main/java/socialinfotech/multiimage/AddAdapter.java
package socialinfotech.multiimage;
import android.app.Activity;
import android.content.Context;
import android.net.Uri;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import... | 631d58fce3d2fdb33758e2a28f6c1fa240fc6a9f | [
"Java"
] | 4 | Java | PankajSavaliyaGit/MultiImage | 2a590ca601c21c9744dd4f230000f68c82a31036 | 7a6d06c9df633920ee1bfa1f3788bee1be70d7c7 |
refs/heads/master | <file_sep><?php
session_start();
if($_SESSION['student'])
{
include_once 'functions/actions.php';
$obj=new DataOperations();
}
else{
header('location:login.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=... | b1ab9f5a1781621e835f7a287f8308ecee47931b | [
"Markdown",
"SQL",
"PHP"
] | 21 | PHP | maxipain/pettypro | a2c6cb269a0d60ebc916cb134efffed60078608e | b304f525d4b8d2b6f2cf88485ab12bd9adb7e1bf |
refs/heads/master | <file_sep>import json
import numpy as np
from glob import glob
import os
import time
def get_paths(directory, input_type='png'):
"""
Get a list of input_type paths
params args:
return: a list of paths
"""
paths = glob(os.path.join(directory, '*.{}'.format(input_type)))
assert l... | e043e79eb001a1f3908ae5930e6765ededecad45 | [
"Python"
] | 1 | Python | phamquiluan/pyson | 95ef67815994dfbfb4bf9a607cd86353ca41248a | e101dc49bcfbcded10d783a30dc187d13ce37a19 |
refs/heads/master | <file_sep>#!/usr/bin/env bash
uptime
pwd
| ff821aca383bf52e33c437e151847d15321f3b94 | [
"Shell"
] | 1 | Shell | moondev/spinnaker-script-stage | 616e4e2ad673efe8d05255a6a815857e2e2edb8c | 2760d55a76f1ad0a3768e1c59827c2a0c40b2c2a |
refs/heads/master | <file_sep><?php
require_once("../delete/index.php");
require_once("task_list.php");
require_once("../../user/logout/index.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>List Task</title>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="<KEY>" crossorigin="anonymous"></script>
<s... | 3f03d8643697433b7da997e248a07351f160ec1e | [
"PHP"
] | 11 | PHP | NamPham1329/task | 90e5a049755a94a598f2fbaa78b0ca6a51efefe9 | 0393b2853d6bd1f1b5214379cdb04f7b6b188ac4 |
refs/heads/master | <repo_name>Coderdotnew/swift_method_math<file_sep>/method_math.swift
// Write your code below! NOTE: you may need to look up the last two. Remember: Google is your friend!
//Create a function that takes in two integer arguments and adds them together when the function is called.
//Create a function that takes in two... | e1186e178e8e504715b10e61da07c624f8be1d8d | [
"Swift"
] | 1 | Swift | Coderdotnew/swift_method_math | 387b3ba690d20218838ab53770f04e1fe4aeab53 | baade36fb1dd38b26b237b9efbfccb7d96922445 |
refs/heads/master | <file_sep>#!/bin/bash
sudo apt-get update
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys <KEY>
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
sudo apt-get update
sudo apt-get install -y docker-engine
apt-get update && apt-get install docker-ce -y
#s... | b23f622d8cd5878ff037bf7ba705e2e3b5c2d773 | [
"Shell"
] | 1 | Shell | billyprice1/deployscripts | cb10cd0a353b42d6ede4576b3942865dd7da5733 | be45093624b6c5e57c051d9af4dea48b6edc9957 |
refs/heads/master | <repo_name>borkoyz/challenge-6<file_sep>/README.md
# Challenge 6
The Complete Web Developer in 2019: Zero to Mastery - Challlenge 6
<file_sep>/challenge1.js
// Clean the room function: given an input of
// [1, 2, 4, 591, 392, 391, 2, 5, 10, 2, 1, 1, 1, 20, 20],
// make a function that organizes these into
// individual... | 36546d71cafe2251d47546f3e8e35945e8d2b738 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | borkoyz/challenge-6 | c7ca377cc80e082acfe795b509f30a60fca996b3 | 9bbf623e45a711e0ce9af95834d1dd63163ddccf |
refs/heads/master | <repo_name>julioperezdev/blog-restapi<file_sep>/src/main/resources/sql/tables/ImagePresentation.sql
CREATE TABLE ImagePresentation(
idPost INT,
imageUrl VARCHAR(300),
publicId VARCHAR(300),
... | b5e31a8fd0745e92c7cda6cf2212bdc4b45e7340 | [
"Java",
"SQL"
] | 22 | SQL | julioperezdev/blog-restapi | ba26582c6776934431ab35b1ac8db5348552474d | 7f5f4179a987b60b46510bf5bc7d4b3ca9c01409 |
refs/heads/master | <file_sep><?php
namespace Tests\Unit;
use Tests\TestCase;
class CarYearTest extends TestCase
{
/**
* A basic unit test example.
*
* @return void
*/
public function testCarYearTest()
{
$car = factory(\App\Car::class)->make();
// $this->assertTrue(is_integer($car->year))... | ad675898620ed02dbe3e9815d41458970cd82ac2 | [
"PHP"
] | 12 | PHP | ALopez201/MiniProject2 | 1e1e74f61f59687fe9f19e8aac903c3b9cc60e4d | 9c435bbdd94442a5f526d802eb92239fceea27d2 |
refs/heads/master | <repo_name>ediezindell/js-cms<file_sep>/src/js/cms_view_modals/ServerInfoView.js
var ServerInfoView = (function(){
var view;
var v = {};
/* ---------- ---------- ---------- */
//初期化
function init(){
view = $('#ServerInfoView');
stageInit();
createlayout();
setBtn();
}
/* ---------- ---------- ----... | 06a332d403fbe63f93ffe5eafc3faefdfad67613 | [
"JavaScript",
"Markdown",
"PHP"
] | 214 | JavaScript | ediezindell/js-cms | 10b2eb4a1942e12c33714d3bdc4ff978c14485a8 | 79edc3c023a8f2d6d531951ab0ebdb51677a5f3f |
refs/heads/master | <repo_name>Jonathan0832/Netbeans<file_sep>/Home.java
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JOptionPane;
import javax.swing.Timer;
import javax.swing.UIManager;
import javax.swing.plaf.ColorUIResource;
import proyecto.Ventana;
/*
* To change... | aca542a12a0ce936ccc8455e56ea2deeeb900dc0 | [
"Java"
] | 3 | Java | Jonathan0832/Netbeans | c56379d631db005fcb851572237ae82ed8cfe122 | a0ad730485d93cc74c2a81901b7984668dd7ffe4 |
refs/heads/master | <repo_name>gaming32/Screen-Log<file_sep>/screenlog.ini
[tracking]
log_level=thread
poll_time=75
[logging]
filename=screenlog %(startdate)s - %(enddate)s.log
new_log_time=24
when_new=timeloop_hours
[email]
do_email=yes
smtp_server=smtp.gmail.com
smtp_port=25
username=
password=
from=
to=
subject=Your Screen Log is in!... | 4d9eff751c9eec8090e6652264133b540f160e79 | [
"Markdown",
"Python",
"INI"
] | 3 | INI | gaming32/Screen-Log | 7101d96f6c00ebaa67f0a99ea47b8bef4756bf70 | bd3a8992d49f2652cc93dbc125e5df009d573130 |
refs/heads/master | <file_sep>import discord
from discord.ext import commands
import asyncio
import os
bot = commands.Bot(command_prefix=os.environ['PREFIX'])
# Getting Environ Vars os.environ['VAR_NAME']
@bot.event
async def on_ready():
print(bot.user.name)
#A SIMPLE TEST COMMAND
@bot.command(pass_context=True)
async def hi(ctx... | dcb00aa089d07df0659a33a24e398e167a8eb4a0 | [
"Python"
] | 1 | Python | RedstonedLife/DPY-Test | 5a43f51cb827a147fbe27eb4b170c35bfa72da5b | a44a15e876ef3b0559bfc4aba473c7c484db44e3 |
refs/heads/main | <file_sep>import Joi from "joi"
import { NextFunction, Request, Response } from "express"
import catchAsync from "../utils/catchAsync"
export class ProductValidator {
keys = {
required: "required",
optional: "optional"
}
productSchema = Joi.object({
org_id: Joi.string().required(),... | d4f0498b54c8b839077d1080ac3968c39416e6e1 | [
"TypeScript"
] | 2 | TypeScript | an-ikhtiyour/product | 8db5a12189ef222c6abd5513d648e1af7ed61f07 | a7215b9ae82ba3801dbac45d9c0cb53e56ccdf01 |
refs/heads/master | <repo_name>varuns23/ntupleProducer<file_sep>/interface/TCGenParticle.h
#ifndef _TGENPARTICLE_H
#define _TGENPARTICLE_H
#include "TCPhysObject.h"
class TCGenParticle : public TCPhysObject {
private:
TCGenParticle* _mother;
int _PDGID;
unsigned _status;
bool _isParton;
public:
... | 0058b135d575407b576cf6fd4cefaed494f4eb78 | [
"C++"
] | 2 | C++ | varuns23/ntupleProducer | 335d8135ec2773fb9262b4cdc3d4b2e7a12af056 | 2afd9bbba8967d9b323484b5ebb7447d6077dbd0 |
refs/heads/master | <file_sep>var pageHeight = window.innerHeight;
function scrollDown() {
var vheight = $(window).height();
$('html, body').animate({
scrollTop: (Math.floor($(window).scrollTop() / vheight)+1) * vheight
}, 500);
};
function scrollUp() {
$('html, body').animate({
scrollTop: 0
}, 500);
};
<file_sep>let ... | c87c75ef9010ce76599a08d72ad120a93a920002 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | a-lchen/bzhang-website | 48cf60ff53c332923637da4e117a2d5633896ca2 | 69704a12281e6c2b7c2f45319e43b4ca7bbfe52d |
refs/heads/master | <file_sep>package com.eventoapp.models;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Evento implements Serializable {
private static final long serialVers... | 363596838a397f498334e7231c45c70918f9984f | [
"Java"
] | 1 | Java | calebeso/projetoWebDocs | dc443719c8c82ec4e21734b6f3cd8a83fb9bd916 | f9a7b0b5cf5bc99649041cec2a5a241167ec9122 |
refs/heads/master | <file_sep>package group.tamasha.rockaar;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
impo... | f298df12487935f0651cc88625dbfa98a127c79c | [
"Java"
] | 16 | Java | hosein2rd/raakar | ef5621e14c16ca9ce4f6ee60ded7a6df5d20f302 | 97a84b157e351b527ab7fa266de7f1675a2f8532 |
refs/heads/master | <repo_name>MashaSamoylova/secure-modbus-rtu<file_sep>/README.md
# secure-modbus-rtu
Реализация защищенного соединения протокола Modbus RTU
## Сборка hardware части
```
cd hardware
make CONF=Release clean
make CONF=Release
```
## Загрузка на плату
```
sudo mstn-m100-client -d <full-path-to-directory>/hardware/dist/Re... | 55b7d1c9406249de8040c1c6226361d611ab0a19 | [
"Markdown",
"Makefile",
"Python",
"C",
"C++"
] | 16 | Markdown | MashaSamoylova/secure-modbus-rtu | de8a1acab88b0fefe901a72221a8c32af4dd9547 | d8cd184f325880ba6c1b84c607b77806fdd9b197 |
refs/heads/master | <repo_name>chenkang123456/java<file_sep>/java代码/src/java代码/mulu.java
package java代码;
import java.util.Scanner;
public class mulu {
public static void main(String[] args){
Scanner in=new Scanner(System.in);
int a = 0; //是否注册校验
String answer;
do{
System.out.println("*****欢迎进入24分游戏系统*****");
System.out.print... | 93590dba7b73d08bdeec440a59d8b26629ce557f | [
"Java"
] | 15 | Java | chenkang123456/java | c62db48be7395122038535d02f7255595ece985b | dd9aa1f288ff2483d3e656f067589d5d64ae64c3 |
refs/heads/master | <file_sep>package br.com.tap.negocio;
import java.util.List;
public class Cliente extends Pessoa {
private int idCli;
private String email;
private List<Telefone> telefones;
private Endereco endereco;
public Cliente() {
}
public Cliente(String cpf, String nome, String email,
List<Telefone>... | 7fb191ba2b547cf9bbd62b5dd1a05e5ffd184b06 | [
"Java"
] | 10 | Java | DiSantos/SisAluguel | c1eddbde34582b535c1d39fcd33a94b3821ad190 | 90fad8dc53a4d535bb97672af8beca0044ee052b |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System.IO;
using System.Xml.Serialization;
namespace WorkerSweetDreams
{
class Program
{
public static List<Wo... | a2ddeeca254653c4d97edb6337be9207dbd798dd | [
"C#"
] | 2 | C# | danofff/WorkerSweetDreams | b4cf1bf40d33d0b4dd6946246a61da91d5c5d564 | 86692a4306a61b1eb4c50508450ad24a9d94fc55 |
refs/heads/master | <repo_name>rodolfocampos/curso-python<file_sep>/README.md
# curso-python
Testando Python
<file_sep>/adivinhacao.py
import random
def jogar():
imprime_boas_vindas()
iniciar_jogo()
def imprime_boas_vindas():
print("*********************************\n")
print("Bem vindo ao jogo de adivinhacão!\n")
... | 081113b3437b339037f7b88c750472f38e782a05 | [
"Markdown",
"Python"
] | 3 | Markdown | rodolfocampos/curso-python | 4df206244360e25ad08ac3cc1efae71919021075 | 50072858418152628360fbbcc538bf43ec40c82d |
refs/heads/master | <repo_name>MMurlyka/lp-earnings-on-the-land<file_sep>/js/main.js
$(window).load(function() {
if(!isMobile.any) {
new WOW().init();
}
});
$(window).ready(function() {
/* Timer Start */
if($.cookie('timer')) {
$timer = new Date(+$.cookie('timer'));
if($timer < new Date()) {
$.cookie('timer', null);
}
... | bfea234d94ce591ee662b6992841f9863de88cf8 | [
"JavaScript"
] | 1 | JavaScript | MMurlyka/lp-earnings-on-the-land | 783b40a5280aee26831a22e5ffd7fda5a57ec5eb | 5ed81f0c0eed542eaf2c2f04e03e4e2e334415bb |
refs/heads/master | <file_sep># vue-vuex
vuex
<file_sep>import Vue from "vue";
import Vuex from "vuex";
import Axios from "axios";
Vue.use(Vuex);
export const store = new Vuex.Store({
state: {
name: "arda",
post_title: "Default title",
post_content: "Default content"
},
mutations: {
// Commit state
... | d285eb466465be671473a6d6e39f380a2febb2cc | [
"Markdown",
"JavaScript"
] | 2 | Markdown | alexanderarda/vue-vuex | 9aae612313317f7f53a42e2c179a07d7339e3f9e | 13017100fa9af286053193696a1a1df55c068a75 |
refs/heads/master | <repo_name>daniel-madera/paa-android-ares<file_sep>/app/src/main/java/cz/tul/nti/paa/ares/exception/DownloadFileException.java
package cz.tul.nti.paa.ares.exception;
/**
* Created by daniel on 1/11/15.
*/
public class DownloadFileException extends RuntimeException {
public DownloadFileException() { super(); }
... | ce82cf040a533633204c56b98a475eb6cd34132e | [
"Markdown",
"Java"
] | 9 | Java | daniel-madera/paa-android-ares | 56ed1388f6103c582df1ba6159c6a474d0c0991a | 811c4dee5b87869b54d078756f45170b64f6a2e7 |
refs/heads/master | <repo_name>aminems/PerfStat<file_sep>/parallel.cpp
#include "PerfStat.h"
#include<cmath>
#include<iostream>
#include<omp.h>
template<typename T>
// typedef float T;
inline T polyHorner(T y) {
return T(0x2.p0) + y * (T(0x2.p0) + y * (T(0x1.p0) + y * (T(0x5.55523p-4) + y * (T(0x1.5554dcp-4) + y * (T(0x4.48f41p-8) + y... | e2e0a57dbadea8d44e2230822c9d9acf1ce430b4 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 12 | C++ | aminems/PerfStat | 2b9bd101e240949af8eaf2393a5a69acb22c00da | b8f480405a1383a5a8c6b78bd97383f4d2d289a8 |
refs/heads/master | <repo_name>bestarti99/ajax-wprowadzenie<file_sep>/js/main.js
'use strict'
// Definicja funkcji ajax
function ajax(ajaxOptions) {
// Opcje połączenia i jego typu, ||-inicjacja
var options = {
type: ajaxOptions.type || 'POST',
url: ajaxOptions.url || '',
onError: ajaxOptions.onError || f... | 2c22194c28349f4896bf6e5712f3eb5d1883e5c7 | [
"JavaScript"
] | 1 | JavaScript | bestarti99/ajax-wprowadzenie | c47611b82052d6d9477caf162ff2f592fdca52c6 | 9b142641ebb44678620a3020cba14b4fd6a1c12e |
refs/heads/master | <file_sep># dse-fit
Set of tools for customing Datastax Enterprise Stack (Cassandra and Solr)
<h4>Usage:</h4>
1. First, you must have to downlaod Datastax Enterprise instalation package
https://portal.datastax.com/downloads.php?dsedownload=tar/enterprise/dse.tar.gz
2. Then add following packages into local Maven r... | fe949a3d2fd36005495d88f5b70c588dc364c097 | [
"Markdown",
"Java",
"SQL"
] | 3 | Markdown | mntmori/dse-fit | 070101e21ebb2166f274f6c9a81a5e69f62b6be0 | efce62232b4ad8224500702eedb43d98d960d946 |
refs/heads/master | <repo_name>daaasheng/dash<file_sep>/README.md
<p align="center">
<img width="200" height="200" src="./logo.png" alt="my-logo">
<p align="center"><EMAIL></p>
</p>
author: <EMAIL>
description: demo of web
[css](https://daaasheng.github.io/dash/css)
[vue实现](https://daaasheng.github.io/dash/vue "https://daaasheng.... | 54e14e0f0140058aa7c422aaaecccd60d117b515 | [
"Markdown",
"Python",
"JavaScript",
"HTML"
] | 76 | Markdown | daaasheng/dash | 7cad23c7207a6ee62c994a7206cf6dd5ba0a2a5b | 6bc3696e17217d03713205e739d82d990ddb96fa |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
public delegate void Mydelegate();
static void Main(string[] args)
{
var d1 = new Mydelegate(F1);
... | ae9164c30ed7b76072b7c73c0bedcf408d964561 | [
"C#"
] | 1 | C# | ssaqo/digitain-coding-bootcamp | 42348d14f49a7db21fc0070ae86337f29ef796d6 | 3a3eb3bbc360f5fb1f11fff4431662ec7da3984c |
refs/heads/main | <file_sep># Stock Tracker - A simple stock tracking app
## Running the application
Open this project's directory in a command line
Run Project: `npm run serve`
Run Unit Tests: `npm run test:unit`
Build Project: `npm run build`
## Framework
Stock Tracker was built using Vue.js (initialized with the Vue CLI)
## API... | 22ebd0525153206a687ce000b52c31d2412f20fc | [
"Markdown",
"JavaScript"
] | 11 | Markdown | BCrausen/stock_tracker | 1bfa19a5ad1f442eabcd35e106f5edca76b5005a | 0f9daed39b307ed4c54010622601d4cc50320a03 |
refs/heads/master | <repo_name>MiguelFreire/rl-generalization<file_sep>/requirements.txt
argparse==1.4.0
gym==0.15.3
numpy==1.17.3
nvidia-ml-py3==7.352.0
opencv-python==4.1.1.26
pandas==0.24.2
procgen==0.9.4
-e git+https://github.com/astooke/rlpyt.git@668290d1ca94e9d193388a599d4f719bc3a23fba#egg=rlpyt
tensorboard==1.13.1
torch==1.5.0+cu10... | b27c08cac2ae476eaba471b0f0784bf12505d341 | [
"Markdown",
"Python",
"Text"
] | 29 | Text | MiguelFreire/rl-generalization | 6aeffbde88447274eecac0cc171481cf7e963a67 | e0bea9182876862daba261c77e3717cb511ad9b2 |
refs/heads/master | <file_sep>export default function ({ app }) {
app.$auth.onError((error, name, endpoint) => {
//console.log(endpoint)
//console.log(error)
//console.log(endpoint)
})
}<file_sep>APP_NAME=MyApp
BASE_API_URL=http://localhost:8000 | 3fdcf2eb86a00da305a54ea1bbd1fbb835440f00 | [
"JavaScript",
"Shell"
] | 2 | JavaScript | harimayco/timesheet | 56d2b35b6ae587b01e2c331d024f4c97a1b203ed | 089cd273d4e1a2c578a534766aa683ee75e2d819 |
refs/heads/master | <file_sep>import os
from os.path import isfile, join
import re
path = 'papers/'
def atoi(text):
return int(text) if text.isdigit() else text
def human_sort_keys(text):
"""
alist.sort(key=natural_keys) sorts in human order
http://nedbatchelder.com/blog/200712/human_sorting.html
(See Toothy's i... | 631bd2e458f3a0a30566f2b441af76a45707799f | [
"Markdown",
"Python"
] | 2 | Python | varunagrawal/Human-Robot-Interaction | 5c2b0523241338bda33a422b75c8bf660b8048ad | 9d43e01c774ca6187885b2bd15700c594e823a71 |
refs/heads/main | <repo_name>Mision-Tic-Grupo4/proyectoASECOL-Vue.js-<file_sep>/frontend/src/assets/script.js
// Funcion para activar y desactivar el modal del carrito
let shoppingCart = document.querySelector('.shopping-cart');
document.querySelector('#cart-btn').onclick = () => {
shoppingCart.classList.toggle('active');
login... | 20499f2b4400e8681f32a93eedc0db267e5ac681 | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | Mision-Tic-Grupo4/proyectoASECOL-Vue.js- | 37d5f2ab01fe63fb065fd6c1e6e2b9d9d75c4144 | 7b93b7f0ba840bf2e871c200dc3f8d30e3ac67d2 |
refs/heads/master | <file_sep>
<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- badges: start -->
[](https://www.tidyverse.org/lifecycle/#maturing)
[](https://cran.r-pr... | 3ce3463b0cd4cc30f9c7cd89cb011f8784146c56 | [
"Markdown",
"R"
] | 3 | Markdown | brunaw/connectapi | 2cc63bd645aae04fcb5584d5162decc18b6b4f35 | cc074b6aab7d94ab2b0c87a6a46fce50895b1dd6 |
refs/heads/master | <repo_name>signalhub/todo-list<file_sep>/app/src/components/Todo.jsx
import React, { Component, PropTypes } from 'react';
const propTypes = {
todoItem: PropTypes.object
};
class Todo extends Component {
render() {
const { todoItem } = this.props;
return(
<div className="b-item-todo">
{todoItem.get('isCo... | 1d377a7330f45e0f8f1becf3ee8e760f969e6629 | [
"JavaScript"
] | 3 | JavaScript | signalhub/todo-list | 8b618b7fc05ea4795db5caed2ca6df5457c18c97 | 487ca9ab108b87e8eeed743b4197c8f069211216 |
refs/heads/master | <file_sep>import cv2
image = cv2.imread("/home/lichen/FALSR/dataset/B100/img_99_SRF_2_LR.jpg")
image = cv2.resize(image,(800,500),cv2.INTER_CUBIC)
cv2.imwrite("/home/lichen/桌面/cv.jpg",image)
| 0e07eb2e21ac27367bb4ef88fa7b07b6bc8e6359 | [
"Python"
] | 1 | Python | 205418367/FALSR | d68976cf7285253a9c3e398c75638d99b05a8e54 | 428f9f01f1560c6021b147049f7684cf020e124e |
refs/heads/master | <repo_name>leadpython/Grasp<file_sep>/server/models/connection.js
//sets up database connection
var pg = require('knex')({
client: 'pg',
connection: process.env.DATABASE_URL || 'postgres://localhost:5432/graspdb',
searchPath: 'knex,public'
});
module.exports = pg;
<file_sep>/client/reducers/index.js
// MODULES =... | e099c3f31fa62620da240256852a4acd342ca9a1 | [
"JavaScript"
] | 9 | JavaScript | leadpython/Grasp | a95dc80ff27e7f5bee84decc453897218f9e1278 | 384437d7bccb4a77a1c2ad6ffba4af423441b21b |
refs/heads/master | <repo_name>Gyeongseob-Seo/2021_KNU_SW-Hackathon<file_sep>/2021SWhackathon_KNUCSE/HomeViewController.swift
//
// HomeViewController.swift
// 2021SWhackathon_KNUCSE
//
// Created by 서경섭 on 2021/07/23.
//
//import UIKit
//import SwiftSoup
//
//class HomeViewController: UIViewController, UITableViewDelegate, UITableVie... | 57cda2b2a1af3231ae2a5ea09bac50c99482d1fb | [
"Swift"
] | 6 | Swift | Gyeongseob-Seo/2021_KNU_SW-Hackathon | 64f3d3e4ae8de7bc5b6658c6bc9f584210b91607 | 80982e55324919d0c6c5e98d6f2d64d4702ae3e0 |
refs/heads/master | <repo_name>shujaatali101/agro<file_sep>/core/app/controllers/Setup/DriverController.php
<?php
namespace Setup;
use BaseController, Input, View, Redirect, Validator, Types,Driver;
class DriverController extends BaseController {
/**
* Display a listing of the resource.
* Request GET
* @return Response
*/
publ... | b2178a4a70b9e4a0865d6bc3983d9745f9e1f672 | [
"PHP"
] | 40 | PHP | shujaatali101/agro | f33d20c33c908b649c532c9a486f00e139a0c46b | 7ba3fc59bd1c4b049acb1f8ff6c709310e771cef |
refs/heads/master | <file_sep>__author__ = 'chris'
import json
import random
import time
import nacl.signing
import bitcoin
from hashlib import sha256
from binascii import unhexlify, hexlify
from collections import OrderedDict
from urllib2 import Request, urlopen, URLError
import re
import os
import nacl.encoding
from twisted.internet i... | 59c60121821ec19831420df6380fa05440071f50 | [
"Python"
] | 2 | Python | jsindy/OpenBazaar-Server | aed89c95176f152b8318926517c483c2090e5969 | 16b4e0d18e2a537e0eb84f5b67e68934ebb12ea5 |
refs/heads/master | <repo_name>bradseibert/battleshipHomework<file_sep>/battleship.h
#pragma once
//battleship parent class
#include <iostream>
using namespace std;
class battleship
{
public:
battleship(int);
~battleship();
int firingpower; //function overload this into the other classes//
virtual void fire() = 0; //pure vir... | d37afe9f9763083b90df5c0d780d2b5047fc2953 | [
"C++"
] | 7 | C++ | bradseibert/battleshipHomework | e14e2b2f99e4db818ff61f4d621438adcfea2b8c | 91f4e699b48c0dbd7c56952d7fecd8e716293f03 |
refs/heads/master | <file_sep># .NETCoreWithAngular11
A sample project with .NET 5 and Angular 11
- The default project generation in Visual Studio generates **.NET 5** Projects with **Angular 8**, which requires to be manually updated to **Angular 11**.
- This project is updated to **Angular 11**, so it can be used as a starting point f... | 630847cb703fd435175d804e0c928b1c134cdad6 | [
"Markdown",
"C#"
] | 4 | Markdown | me-heer/.NETCoreWithAngular11 | 3e460bb1cc272deedc32f1e9276549dc52a6a8d2 | fbf608d24ee62cba438e4b88a45eff25e69e156b |
refs/heads/master | <file_sep>import numpy as np
import random
from optimal_port_decisions import *
from indices_list import *
import itertools
import csv
import time
import pandas as pd
import os
def find_cik(cik_df, ticker):
return list(cik_df[cik_df.iloc[:, 1] == ticker].CIK)[0]
def read_txt(file):
with open(file, 'r') as f... | e42f745d787012d6fc23d6a7375d371ea42f6f2d | [
"Markdown",
"Python"
] | 7 | Python | jmdubish1/portfolio_tracker | 6be54f237d078d4761429c6a999fb42c68b1e8f0 | 0cdaa909980ed44539e40f1fdbd0a06dbd04d2c2 |
refs/heads/master | <file_sep>/********************************************************************************************************************************************************
Title: testTrees
Author: <NAME>
Created: October 15, 2014
Purpose:This program fills up a tree of your choice(BST, AVL, LazyBST, LazyAVL) and tests it. ... | f2c11994736a1363cbe782d526e2ea576f669adc | [
"Markdown",
"C++"
] | 7 | C++ | jseuribe/335_project1 | 6d4d951ba96dff6774f16364908f94c18cc38179 | 8243e10ef37b14865ab57ea2f47b5ae28bf9f986 |
refs/heads/main | <file_sep># This is a sample Python script.
# Press ⌃R to execute it or replace it with your code.
# Press Double ⇧ to search everywhere for classes, files, tool windows, actions, and settings.
import numpy as np
from heapq import heapify, heappop, heappush
import time
def evaluate(heuristic, node):
# uniform co... | 42a30abdb70f45edee5e237b31482f7b10fdd2cb | [
"Python"
] | 1 | Python | sakshar/CS205_8puzzle | c4117291efdbc85533459ffd964b267c2ff85335 | a00ddc4b8842590570da7ea2f2417c6acb4c98b5 |
refs/heads/master | <repo_name>gerome-avec-un-g/spark-resume<file_sep>/resume/src/main/java/fr/geromeavecung/resume/materialcomponent/ListItemThreeLineAction.java
package fr.geromeavecung.resume.materialcomponent;
import java.util.List;
import java.util.stream.Collectors;
import com.google.auto.value.AutoValue;
import fr.geromeavecung.r... | 6378ddb0a425b73da9b30363306281fa3948ccb8 | [
"Markdown",
"Java",
"Dockerfile"
] | 16 | Java | gerome-avec-un-g/spark-resume | e4820f84180bdfab0d38359eeede021102ef8cc6 | 4069026910aeb3795fc1e4f16623a2edca62d661 |
refs/heads/master | <file_sep>from django.db import models
from django.utils.translation import ugettext_lazy as _
from sortedm2m.fields import SortedManyToManyField
class Photo(models.Model):
name = models.CharField(max_length=50)
class Meta:
verbose_name = _('Photo')
verbose_name_plural = _('Photos')
def ... | aca4858b81fe8eca0b74c3dbbf4bf1cc87d39f7d | [
"Python",
"INI"
] | 14 | Python | fabrique/django-sortedm2m | cd76c2eb179083b9edf7d772751261a728df0869 | 74d760e28b642b0519f8a608a5a31c56dc8a9ba0 |
refs/heads/master | <repo_name>venky-kadiri/venky-<file_sep>/Fifth.java
import java.io.*;
import java.util.*;
class Fifth
{
public static void main(String[]args)
{
Scanner sc= new Scanner(System.in);
int n=sc.nextInt();
int s[]=new int[n];
for(int i=0;i<n;i++)
{
s[i]=sc.nextInt();
}
int max1=s[0],max2=s[1],temp,min1=s[0],min2... | 1c89949eb49ce005e7af3c03ccfa42f05e6b0f07 | [
"Java"
] | 3 | Java | venky-kadiri/venky- | fe076871d53dbf65d590b22ad5ee5f43c22f372b | 0db71966d5654bf6282ac9781dfcc641d84f0837 |
refs/heads/master | <file_sep>CREATE TABLE users
(id serial PRIMARY KEY,
email text,
token text,
username text,
image text,
bio text);
<file_sep>CREATE TABLE tags
(id BIGSERIAL PRIMARY KEY,
name VARCHAR(30) UNIQUE);
<file_sep>-- :name create-user! :<!
-- :doc creates a new user record
INSERT INTO users
(username, email, token, image... | 40f8215e24aa744f12e7cbe67e294e24ad2e80ec | [
"SQL"
] | 3 | SQL | marksto/conduit-luminus | 060cb4cc225f994ac7c9d70d32e869b772a6bb80 | 3defdcb4b14bee139fff61d3541378018cc925ea |
refs/heads/master | <file_sep>#
# This file is part of forkexec
#
# 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 3 of the License, or
# (at your option) any later version.
#
# This... | 90868f21084b2898876429b3577e0aa58ae7747d | [
"Python"
] | 6 | Python | udoprog/forkexec | 892f18f9a5fa8a54301d5d508123b16bfa3b23d6 | 2c39c589a2862432160d5e50a5a9bd446dc6ba86 |
refs/heads/master | <repo_name>flyinglove/realworld-nuxtjs<file_sep>/plugins/logrocket.js
import LogRocket from 'logrocket';
LogRocket.init('bkseib/test-nuxt');<file_sep>/api/settings.js
import {request} from '@/plugins/request'
export const updateUser = params => {
return request({
method: 'PUT',
url: '/api/user',
... | eaf2ca6bc71dc7f92a75522f2fa27f74ed2d0016 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | flyinglove/realworld-nuxtjs | 38845b6d40a7144f6ca91321516cc27fd9388f10 | 6e0b952a91410afa5578dc490bb7b7c166a15d42 |
refs/heads/master | <repo_name>jimsick/protal-project<file_sep>/src/main.js
// 引用 vue 没什么要说的
import Vue from 'vue'
// 入口文件为 src/App.vue 文件 所以要引用
import App from './App.vue'
// 引用路由配置文件
import routes from './config/routes'
// 引用API文件
import api from './config/api'
// 引用路由
import VueRouter from 'vue-router'
// 引入公共样式方法
// import '@/assets/c... | 6d2ae4004298e22addb9a28e3059770ce635c7c3 | [
"JavaScript",
"Text"
] | 2 | JavaScript | jimsick/protal-project | 45673251626c12b2222907ba7ec274132ad51c01 | 605272e719c04d5ff4b80d83e375f7c5a1da467a |
refs/heads/master | <file_sep># prereqs: iterators, hashes, conditional logic
# Given a hash with numeric values, return the key for the smallest value
def key_for_min_value(name_hash)
min_key=nil
min_value=nil
name_hash.each do |key, value|
if min_value == nil || value < min_value
min_key=key
min_value=value
end
end
min_key
... | a9ee8966a03d29d4558053009b62e32da4a94205 | [
"Ruby"
] | 1 | Ruby | brianchz/key-for-min-value-atx01-seng-ft-022221 | 2b1b81ee91a4a7cdd88817a885edf331e9ec67d4 | 83ce3900c1d4805684540602ec693c9d32cd33cd |
refs/heads/master | <file_sep>package com.oops.AbsractExample;
public interface InterfaceEx {
int i=101;
String name="Monali";
void accept();
default void display()
{
System.out.println("Hello");
}
}
<file_sep>package com.oops.AbsractExample;
public abstract class AbstractClass {
int id;
String name;
abstrac... | 15b23f257daab0c9cad312bd85cd3d346764a778 | [
"Java"
] | 5 | Java | RajshriPawase/Nested-Class-Example | 6e45f804f0566c7619d76b8a2c425943ec15567a | f0a941d64d56483e4c87535264f6dfe86ecacdd7 |
refs/heads/master | <repo_name>maziesmith/Air-Reservation-System-CSharp<file_sep>/Air_Reservation_System/CashPaymentPanel.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows... | 33032e4e8f7a8ece9b1a8ff4f03ad3f4a0b54d94 | [
"Markdown",
"C#"
] | 15 | C# | maziesmith/Air-Reservation-System-CSharp | 20e7c444cb5a595cc9bd87743733488045c01bce | a7e278a9edbddcdd0eecdab623490955feade872 |
refs/heads/master | <file_sep>Sample Facebook Admin Application using Play Framework and restfb
==================================================================
+ Play Framework v.2.5
+ restfb v.1.19.0
+ PureCSS
+ MongoDB 3.2
This application allows you to create 3 types of posts (status messages, photos and videos).
You can cr... | 645fd298872e041a859ab26f4e35e0d2ca5e6023 | [
"Markdown",
"Java",
"JavaScript"
] | 6 | Markdown | dlasrado/informazeapp | 15f956550bbe89685ff94a11ee1986d1ea6e6dbd | 227972984c675910f206a00ab0794b0deee5cde6 |
refs/heads/master | <repo_name>Srivasavi-vipparla/about-me<file_sep>/script.js
function CalcInterest() {
var p,t,r,t2,i;
var n=1;
p=t=r=t2=i=0;
p = parseInt(document.getElementById("pr").value);
t = parseInt(document.getElementById("te").value);
r = parseInt(document.getElementById("rate").value);
t2= documen... | 956bd9c27f3954e5bf91c1229af1aaca5be24496 | [
"JavaScript",
"HTML",
"Markdown"
] | 4 | JavaScript | Srivasavi-vipparla/about-me | ef3b555769e7ed8bf145c221fc50bee4a60f0b96 | b67a720df0050e0566b2365210b6e17a874afac6 |
refs/heads/master | <file_sep>import { BrowserModule } from '@angular/platform-browser'
import { NgModule } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { ReactiveFormsModule } from '@angular/forms'
import { AppRoutingModule } from './app-routing.module'
import { HttpClientModule, HTTP_INTERCEPTORS } from '@an... | c7d31539567d8af9c12c659dac3481a2e33c9259 | [
"TypeScript"
] | 13 | TypeScript | gfirzon/Productsweb | af061a641f3461115039548c86560076a689d5d8 | 10275e185ec6bab7cd5c50822b88d0807d1a7e09 |
refs/heads/master | <file_sep>using Callboard.App.Data.DataContext;
using Callboard.App.General.Entities;
using Callboard.App.General.Results;
using System;
using System.Collections.Generic;
namespace Callboard.App.Data.Repositories.Realizations
{
internal class UserRepository : IRepository<User>
{
private IDataContext<U... | 8cbe1df724402bcd6120e20a8e4002d0117c0b6f | [
"JavaScript",
"C#",
"Markdown",
"SQL"
] | 173 | C# | Sir-MaxBro/callboard | 1d81ad089693dfe949ab400b9b75be61b6ce4fa7 | d7c4c41fb4500fa3209eb67e5465f0c51dc01d13 |
refs/heads/master | <repo_name>hoardexchange/HoardCompiler<file_sep>/GolemBuild/IBuildService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GolemBuild
{
public enum BuildTaskStatus
{
None = 0,
Queued,
Started,
Sucee... | 12f06cf46e34b5cd045d16d905d6cb7671860181 | [
"Markdown",
"C#"
] | 13 | C# | hoardexchange/HoardCompiler | be83cb8710bb79f2814db3fc9b83199e52b9e336 | 15ec2fb94ee056381723c898f0fbdf58d48f8db4 |
refs/heads/master | <repo_name>mikibouns/GS1<file_sep>/barcode_gererator.pyw
import tkinter as tk
from tkinter import filedialog as fd
import re
import os
import xlrd
import win32com.client
class MainHandler:
def __init__(self):
self.source_file = None
self.target_file = None
self.data_dict = {}
def cre... | 3bde5ef3c27655e2675ed85cac4238f5a683a2c6 | [
"Python"
] | 1 | Python | mikibouns/GS1 | 61a9c0a4801ba115e5beec0bad10ebbd6886dc7b | 8169304f765898d2237677081d57347c8de495eb |
refs/heads/master | <repo_name>FedericoLevis/JSU<file_sep>/images/Readme.txt
Immagini da Installare in /ENEL/Immagini/
Settare in modod analogo in ../etc/ext_conf.js:
var PATH_SORT_IMG = "/ENEL/Immagini/";
<file_sep>/core/jsuCmn.js
/** @fileOverview
========================================================================================= ... | 8303865b89e1e6ad5a587e3c21cd9f414c8dd8c3 | [
"JavaScript",
"Text"
] | 10 | Text | FedericoLevis/JSU | ff33a00812038c17eaaee1044046b1e477b6b3c7 | 04ae827cfc43a708af3bf517c43dc891e9691591 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TrackerLibrary.Models;
namespace TrackerLibrary.DataAcess
{
/// <summary>
/// Implements a contract to help our application to standardize how
/// we actually do the things w... | 1a5aea2df94610dbf3d4dda5b4a4af011c9f0381 | [
"Markdown",
"C#"
] | 19 | C# | SouzaHenrique/TournamentTracker | d0b2907daa789ca06a02a450dcda6c6102bf2f3a | bd62b81d904d564a96a0c5d9331dc8983319aaf0 |
refs/heads/master | <file_sep>#
# Author:: <NAME> <<EMAIL>>
# Copyright (c) 2013, Opscode, Inc. <<EMAIL>>
# License:: Apache License, Version 2.0
#
# 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... | 65f0c639dbb529bdda94e3d3c94d761fe6dc9d30 | [
"Markdown",
"Ruby"
] | 6 | Ruby | eheydrick/s3cfg-cookbook | e905e708effb65f12b11aeb9bab043e09c69a629 | 07c6e4abe0c616748bcc75674daabb2ef58359bd |
refs/heads/master | <repo_name>mateogiarrocco/Tp0<file_sep>/tp0.c
#include "tp0.h"
#include <stdio.h>
void swap (int *x, int *y) {
int aux = *x;
*x = *y;
*y = aux;
}
int maximo(int vector[], int n){
if(n <= 0) return -1;
int pos = 0;
for(int i = 0; i < n; i ++){
if(vector[i] > vector[pos]) pos = i;
}
return pos;
}
int compara... | 1804d96a4323ae05b62d89d4dc6e1a25c33babae | [
"C"
] | 1 | C | mateogiarrocco/Tp0 | bd849f02907b083c19f6ef87f409ea434477e65c | 70a2814cce49da89022a493770e7d2991056467f |
refs/heads/main | <file_sep>const data = [
{
Cheese: 22.2,
CHOCOLATE: 10.3,
Impulse: 1.5,
period: '2021_26',
},
{
Cheese: 21.8,
CHOCOLATE: 9.8,
Impulse: 1.5,
period: '2021_27',
},
{
Cheese: 21.2,
CHOCOLATE: 9.7,
Impulse: 1.4,
period: '2021_28',
},
];
const calculateTotal = (ar... | cd9b7242fe948e6e14c111c1d1031effcbeb36cc | [
"JavaScript"
] | 1 | JavaScript | oussamabouchikhi/js_de_test | 287fde7f3a2701a607a20a22a7bf61c5398370a1 | 9ad80119b0e8c0c0593669ad04081b1eb26775cc |
refs/heads/master | <file_sep>import React from 'react';
import PropTypes from 'prop-types';
import copy from 'copy-to-clipboard';
import { Box, Stack } from '@coreym/benchmark';
import { createUrl } from '../util/';
import PreviewButton from './PreviewButton.js';
import StaticCodeBlock from './StaticCodeBlock.js';
function CodePreview({... | 9a1f50f8650c494aa59dd7151412a7c687b31aed | [
"JavaScript",
"Markdown"
] | 18 | JavaScript | coreymcg/benchmark | dbf9ccfbce294d86968f521768830de1ca3ec5ac | 665a433a006a0caf037cf693c135133e1166b350 |
refs/heads/main | <repo_name>Sona0817/tripfullproj<file_sep>/src/main/java/com/tjoeunit/biz/hotel/Impl/HotelDAO.java
package com.tjoeunit.biz.hotel.Impl;
import java.util.List;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
... | a0707acce8ad645c5fd42739391bf4bdde02ee03 | [
"Java",
"SQL"
] | 23 | Java | Sona0817/tripfullproj | 7eeb8449e2304c49fd67acd17705366e2b2b99f5 | e0de0216dbb0156fb967d3247a0608b7ca536946 |
refs/heads/master | <file_sep># Ty_redis
简易操作redis页面
<file_sep>from flask import Flask
from config import *
from flask import *
import requests
app = Flask(__name__)
@app.route("/")
def hello():
return "Welcome to Ty redis page!"
@app.route("/index" , methods=['POST', 'GET'])
def index():
res = "tingyun"
if request.method ... | 0bc3a0e5bfcc50da6a44e67b1a31ddaf45b462d0 | [
"Markdown",
"Python"
] | 2 | Markdown | tingyunsay/Ty_redis | c80ff82d780148a81d00794be27279a0b9bced2c | 6b322479787dfb62b4570b233690ab6e21f23ba3 |
refs/heads/master | <repo_name>F15HYF4C3/ReduxBasics<file_sep>/src/Components/Counter.js
import React, { Component } from 'react'
import {connect} from 'react-redux';
class Counter extends Component {
handleUpdate(str){
this.props.dispatch({
type: str
})
}
render() {
return (
<div>
... | 598c1942faf3f5f9ff0ff8ecc64883d012b49a49 | [
"JavaScript"
] | 2 | JavaScript | F15HYF4C3/ReduxBasics | c5a6e713afe0a5222493511feedbd8abb6514374 | dd91c3a5a5c99282dd5f868dd8e74c6798b664b8 |
refs/heads/master | <repo_name>eduardonalves/rudo<file_sep>/js/controllers.js
angular.module('app.controllers', [])
.controller('assineCtrl', ['$scope','$location','$ionicSideMenuDelegate', '$stateParams','$ionicLoading','$ionicPopup','$ionicHistory', // The following is the constructor function for this page's controller. See https://do... | 565d503e4f4cc422f5e6db3a192759bb01a88b3e | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | eduardonalves/rudo | 42b88156b018e9974db1e552f871b9b41f58f6ba | 2f396042b77b14597adc878a47b815ba031b61d9 |
refs/heads/master | <repo_name>abhi-cloud/recruitment_assignment<file_sep>/Booked.java
package com.example.myfirst;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
public class Booked extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(sav... | ecf204280d00b6e534abcdf79a99f0bb84d9b80b | [
"Java",
"Python"
] | 3 | Java | abhi-cloud/recruitment_assignment | 0b0fc9597766aff5965ea52ec73a854e62b358d2 | 9bb7d7b507cb983be08b27fbab86d59f7d98047e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.