branch_name stringclasses 15
values | target stringlengths 26 10.3M | directory_id stringlengths 40 40 | languages listlengths 1 9 | num_files int64 1 1.47k | repo_language stringclasses 34
values | repo_name stringlengths 6 91 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 | input stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|
refs/heads/master | <repo_name>dongyoungy/dbseer_middleware<file_sep>/src/dbseer/middleware/client/MiddlewareClientHandler.java
/*
* Copyright 2013 <NAME>
*
* 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
*
... | ad7513123bacf5264c05f24b8b0f13e4a881a713 | [
"Markdown",
"Makefile",
"AsciiDoc",
"Java",
"Python",
"Ant Build System",
"Shell"
] | 76 | Java | dongyoungy/dbseer_middleware | ca1d4fbf29858d8cecc3154e0d1f02cdab5d6c67 | 711e070397471936fc0a4e2263f2c82a3dedc517 | |
refs/heads/main | <file_sep>import React from "react"
import Image from "gatsby-image"
const Bio = ({ author }) => {
return (
<div>
{author.avatar && (
<Image
fixed={author.avatar}
alt={author.name}
imgStyle={{
borderRadius: `50%`,
}}
/>
)}
{aut... | 741a541d3dd70be34f4e803c105c90013d96c88e | [
"JavaScript"
] | 1 | JavaScript | luisduenas/gatsby-datocms-starter | d06dc8a783537ad650d82257930d58eb86cfbd06 | 5824b050fecf315dc24024494872ce0037bbb91b | |
refs/heads/master | <file_sep>import AppHeader from "@/components/AppHeader.vue"
import { shallowMount, createLocalVue, RouterLinkStub } from "@vue/test-utils"
import Vuex from "vuex"
const localVue = createLocalVue()
localVue.use(Vuex)
describe("AppHeader.vue", () => {
let $store
let wrapper
it("Displays board name if activeBoard... | 7e52d06042c66b1dff60ab99cb8bbefe30803293 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | Hansel-Christopher/project-management-app-vuejs | bfbd494516c981d56129afc61c01b0e0319c6915 | c6bae901d6d7bedfebebce87739849a1f3af03a4 | |
refs/heads/master | <file_sep>
$(window).scroll(function(){
let scrollTop =$(window).scrollTop();
if(scrollTop > 600)
{
$("#btnUp").fadeIn(500);
}
else
$("#btnUp").fadeOut(520);
})
$("#btnUp").click(function(){
$("body").animate({ scrollTop:0} , 1500)
})
$("a[href='#Login']").c... | 7519b12bb7db75b8e81dadeaa10be5a0bdcadc41 | [
"JavaScript"
] | 1 | JavaScript | salmanelzaydy/Our-project-sticky-notice- | 0badcb6d7f3313f39f4a08a822504f5da19ffffe | f045c301513cddb171105f7ea245e232c11026f0 | |
refs/heads/master | <file_sep>import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams, Platform } from 'ionic-angular';
import { InAppBrowser } from '@ionic-native/in-app-browser'
/**
* Generated class for the VideoTuitionPage page.
*
* See http://ionicframework.com/docs/components/#navigation for more ... | fff465fa491cd13814fdbfb8cc5be25414f28cbf | [
"TypeScript",
"HTML"
] | 18 | TypeScript | Dunsin/NumberApp | 138ea84844220bb96952111008ba220b591c49fa | d611e7d96443e56c377a5acfe549e34d4b81f1f1 | |
refs/heads/master | <file_sep>var path = require('path'),
rootPath = path.normalize(__dirname + '/..'),
env = process.env.NODE_ENV || 'production';
console.log('NODE_ENV == ',env)
var config = {
//开发者环境配置
development: {
root : rootPath,
port : 8011,
maxOrderTime: 1080,
app : {
name ... | daf9348e7a6d5956a93c82364e28c86a9e2bdce0 | [
"JavaScript"
] | 1 | JavaScript | a904616537/testm | 5fbdd8b5bf795b97f014ee09c5dee7d3845a0005 | 8c7f18f13384faa275cd49a2741b1c42d88fe341 | |
refs/heads/master | <repo_name>crollax/Rust<file_sep>/solo/src/ownership.rs
use std::vec;
pub fn run () {
// let x: u8 = 1;
// let mut s = String::from("A String");
// let x = 1;
// s.pop();
// println!("{}", s);
///////////////////////////////////////////////////
// Compiler will automatically make copies
/* Rust... | 9e963f9a3d19f85c4be498382eee1c13992c8bdd | [
"TOML",
"Rust",
"SQL"
] | 25 | Rust | crollax/Rust | acc0911836e3ae9abde6a67a951e8140f63fe810 | 1e4c822ad448f2106331e6c5a05379d8c15f20b9 | |
refs/heads/master | <repo_name>trinh1999/MISA.AMIS_KeToan.TTSOnline.DT_Trinh<file_sep>/TTSOnline_DT.Trinh/FrontEnd/Misa.Amis.Vue/misa-amis-vuejs/src/js/common/common.js
import message from './message'
import $ from 'jquery'
import dayjs from "dayjs";
const common = {
/**
* Hủy hoặc thoát form dialog ==> tool-tip không hiện
* Cr... | 52d8794d15a97ba6a2e5ad1bfa4d29cf870ec93a | [
"JavaScript",
"C#"
] | 6 | JavaScript | trinh1999/MISA.AMIS_KeToan.TTSOnline.DT_Trinh | f8ffab5f42ee3491e50424eb3feec8cf417081cf | 7a973329edcfa97abca7ef2717ee95662a48e16e | |
refs/heads/master | <repo_name>inowas/gwflowjs<file_sep>/src/helpers/index.js
import erf from './erf.js';
import erfc from './erfc.js';
import numericallyIntegrate from './numericallyIntegrate';
export {
erf,
erfc,
numericallyIntegrate
};
<file_sep>/src/gwMounding/mounding.js
import { erf, numericallyIntegrate } from '../help... | e658ebbf55cbf058777913e49f760d76d32042da | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | inowas/gwflowjs | d86e2f1a16c42436ff0ffc34cb90d61b6bc79d0b | 7e975b1ff99ebd6f45e961eebffc69ff516e2155 | |
refs/heads/master | <repo_name>pesaman/abulita_sorda_rails<file_sep>/config/routes.rb
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root 'home#home'
post '/abuelita' => 'home#abuelita'
get '/abuelita' => 'home#abuelita'
end
<file_sep>/app/control... | 69f81ba504b8923262ce73de35f7fa4100d8c03d | [
"Ruby"
] | 2 | Ruby | pesaman/abulita_sorda_rails | 5f51db4ce1d7a8187efb1f6a7cd15fef4d11f0a6 | a31a42764679709047b4e02c201ce90c9a052478 | |
refs/heads/main | <repo_name>sasquatchchicken/the_first_instance<file_sep>/README.md
# the_first_instance
so I was tasked with creating a python fuction that would take in the user input and replace the
first instance of the first character in the string and all remaining occurrences with a *
<file_sep>/replace_first_instance.py
#!/usr... | 58a18e83f2a104039955c5fc8a5ea98fd68601f8 | [
"Markdown",
"Python"
] | 2 | Markdown | sasquatchchicken/the_first_instance | 0fd2a6395e170132b13f1ef8e07bbc007c0bdd71 | b4b38051c3d8541bf06ccf8bd9d98c042a3be9dc | |
refs/heads/main | <file_sep>/*
* MIT License
*
* Copyright (c) 2020 <EMAIL>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... | 939eae6be335a70fddb1e10071169b63667829f4 | [
"Markdown",
"Java",
"Shell",
"SQL"
] | 16 | Java | cyylog/cloud-native-micro-service-engineering | 7d468b5ca8b001309e6d8ae112b4cf1aaea57639 | 45398abd29787b62d5e77c3f86fa36e6bbdb04f5 | |
refs/heads/master | <repo_name>Misowii/CIS423<file_sep>/WebServer/python/engine.py
#!/usr/bin/python
from numpy import loadtxt, append, array;
from Predictors import NaiveBayes;
from pickle import load, dump;
from sys import argv;
import os, urllib, json;
os_bracket = '/';
def loadData(datSRC, delim, typ):
return loadtxt(datSRC, delimi... | 63d89ed82732732bf45537a37ff3f5642ebffbb4 | [
"Markdown",
"Python",
"JavaScript",
"Text"
] | 5 | Python | Misowii/CIS423 | 20211366c2032f2f19a29802f8f958970a878e82 | 4cb21cf7438339cc7abeee1a9b0960cd0b820251 | |
refs/heads/main | <repo_name>thainvnv/php-mvc-core<file_sep>/README.md
# php-mvc-core | 2cd9d77ec64e8d9525867228692d7e609696ae10 | [
"Markdown"
] | 1 | Markdown | thainvnv/php-mvc-core | 04e2030c8297ba04b460583ddc4ddf6a60b89cc6 | 13d2a40a339cf23eb0f71a6884f22f7d5bff1b3d | |
refs/heads/master | <file_sep>struct node { int key; struct node *next; };
struct node *head, *z, *t;
list_initialize() {
head = (struct node *) malloc(sizeof *head);
z = (struct node *) malloc(sizeof *z);
head->next = z; z->next = z;
}
delete_next(struct node *t) { t->next = t->next->next; }
struct node *insert_after(int v, str... | cd865be756b0a2ac867f56954a02b2bb5834c923 | [
"C"
] | 2 | C | jcaudle/sedgewick_algos_c | be4bcc5af5a7da1c94ed95703e35f40ce45d808d | 4725c5c09c0bfe29ed0cc29b34ac2e013e1a2e71 | |
refs/heads/master | <file_sep>// How many paths exist through a given matrix of n*m starting at the top-left when the only possible moves are down and right?
console.log("running");
let N = 3;
let M = 2;
function calculatePaths(n, m) {
console.log("calculatePaths function running");
let rAllowance = n - 1;
let lAllowance = m - 1;... | fafdcf77029b0a01024f7e6a586083844af89918 | [
"JavaScript"
] | 3 | JavaScript | nathanalexanderpage/brainteasers | adbd99a19f12921eaa456d41a200b3c13ef16d0a | 066ed1f55f6babeb18a2ec4e5148af79ae8c3d91 | |
refs/heads/master | <file_sep>## Swimmable Rivers data E Coli counts and swimmable categories from the National Rivers Water Quality Network New Zealand Government Clean Water Package 2017
### Description
In March 2017, the National Government announced a consultation over it's proposed [Clean Water package 2017](http://www.mfe.govt.nz... | 4ea8e328c34b4fbb780363a1470474e03aa7cf0f | [
"R",
"RMarkdown"
] | 2 | RMarkdown | theecanmole/WQ-daily-means-Ecoli-NZ-WQ-daily-means-Ecoli.r | af3fef2211b40dccb217f8c3c404478cda552237 | 9a7a786225aa3f2f750079b5bb815f3d16d77fca | |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace MVCBase.Areas.SuperAdmin.Public
{
public class SuperAdminCommon
{
/// <summary>
/// 生成初始化JS,用于初始化左侧栏焦点位置
/// </summary>
/// <param name="LI_ID"></param>
... | 05672d18129fdc77b656e05cc6f0c42d579517ec | [
"Markdown",
"C#"
] | 26 | C# | vingi/HAICHI | 6ed5d73da7abe6320511ce327d2ee936847d4a90 | 3588bb4c799fd229ad216987dc8d62b653d9ca3d | |
refs/heads/master | <repo_name>abindef/AbpCoreDemo<file_sep>/src/Alilimi.BookStore.Web/Properties/AssemblyInfo.cs
using System.Runtime.CompilerServices;
[assembly:InternalsVisibleToAttribute("Alilimi.BookStore.Web.Tests")]
<file_sep>/src/Alilimi.BookStore.Application/Properties/AssemblyInfo.cs
using System.Runtime.CompilerServices;
[ass... | 5468c3e880a9b8a0215d2ef9360aebb45937d97b | [
"C#"
] | 4 | C# | abindef/AbpCoreDemo | 2e5f127af92c176e45dd6cfd517237f41fb8d5fe | b652b0f9b4093365166d2229cd8977adc4e4a32d | |
refs/heads/master | <repo_name>LavanyaSrini/Machine_learning<file_sep>/Eigen_KNN.py
#run Eigen_KNN.py
#from sklearn.metrics import accuracy_score
#accuracy_score(label_p, predictions)
from sklearn.neighbors import KNeighborsClassifier
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis
from sklearn.naive_bayes im... | 0b7dc4fa254b8216a808988494a94cd78efbaefe | [
"Markdown",
"Python"
] | 4 | Python | LavanyaSrini/Machine_learning | 656dda4c93527b4a9cbd330aaab9679c09c9d9f0 | 6707bdb8eab7684cdd76b86580fe2e29688c75a0 | |
refs/heads/master | <file_sep>"""A flexible and expressive pandas validation library."""
from . import errors, constants
from .checks import Check
from .hypotheses import Hypothesis
from .decorators import check_input, check_output
from .dtypes import (
PandasDtype,
Bool,
DateTime,
Category,
Float,
Int,
Object... | 111f7c03c384def794f1de880883a550b3a0b798 | [
"reStructuredText",
"Markdown",
"Makefile",
"Python",
"Shell"
] | 10 | Python | chr1st1ank/pandera | b71d0eb39ddcaba07666b91324db58c8ffa9b5ef | e2fd24ce7fa02cf393645eb41b0b299944fa24a9 | |
refs/heads/master | <repo_name>Yujiao001/demo<file_sep>/src/com/cn/leecode/InsertInterval.java
import java.util.ArrayList;
/*
* Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).
* You may assume that the intervals were initially sorted according to their start times.
* Example 1... | ddb470c3bcf37b6249cd9cf0be07cba5e4bab22e | [
"Java"
] | 7 | Java | Yujiao001/demo | e2bb2a87c847fa3dbb4d49666a347e6e9b704d6c | 741e3cccb60ae59e8e08400c387a843d8b341d9a | |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using Xunit;
namespace entra21_tests
{
public class ExerciseTest
{
[Fact]
public void Should_return_5050()
{
// BDD - Behavior Driven Design
// Dado, Quando, Deve
//dado- setup
var... | d1b6a459dbc2589cff45680d89fe78161cea6c1b | [
"C#"
] | 2 | C# | Silmar3347/entra21-tests | 96b23857719be61ddc00390af3b3976c6a9c0391 | d4a58fce603a0754adaed03fe557b00024793c1c | |
refs/heads/master | <file_sep>package com.excilys.formation.battleships.android.ui.ships;
import com.excilys.formation.battleships.ship.Submarine;
import java.util.HashMap;
import java.util.Map;
import battleships.formation.excilys.com.battleships.R;
/**
* Created by tiberiodarferreira on 06/10/2016.
*/
public class DrawableSubmari... | 9386cb6ead9ea4b5daff1b8ca7acffb2600d155a | [
"Java"
] | 10 | Java | tiberiusferreira/ASI11-TP-Android | 5fdd93f8ff1df429b5bc413184cf6f457fba6959 | 807396e456e15e12e9f365292744996a2b818c98 | |
refs/heads/master | <repo_name>Vivianraj/Crack_detection-using-Deep-learning-<file_sep>/app.py
#!/usr/bin/env python
# coding: utf-8
# In[28]:
from __future__ import division, print_function
import sys
import os
import glob
import re
import numpy as np
import cv2
import tensorflow as tf
# Keras
from keras.applications.imagenet_utils im... | 2e396009015afb284337e1fbff0300b941ef0479 | [
"Python",
"Text"
] | 2 | Python | Vivianraj/Crack_detection-using-Deep-learning- | 844a8795fe1a4f1df66d15a7b75a9535fdf4cadb | 6c5c385d846ea512952009b198cc705a0a41fab3 | |
refs/heads/master | <repo_name>ethiekx/nacl-3<file_sep>/ext/nacl/extconf.rb
require 'mkmf'
have_library "nacl"
create_makefile('nacl/nacl')
| 80e9f4341bcce832caea64bb2d47a7f7fac4e06b | [
"Ruby"
] | 1 | Ruby | ethiekx/nacl-3 | a41786d6478a29cf1731a9e73b7af209d910f917 | 53aabc843ffc61dace293f4c5ada99a10f4d0861 | |
refs/heads/master | <file_sep>//
// ViewController.swift
// Touch ID
//
// Created by <NAME> on 28/02/2017.
// Copyright © 2017 <NAME>. All rights reserved.
//
import UIKit
import LocalAuthentication
class ViewController: UIViewController {
@IBOutlet weak var infoLabel: UILabel!
override func viewDidLoad() {
s... | d9eafc7dc666f80a75dcedfc8ea388e51d160063 | [
"Swift"
] | 7 | Swift | fkobon/Projets-iOS | 885857e17e7ac75cc3bcc64bcd2945a7fad4ce33 | 2aff3e8c31b4c20ebf686a00f0a80ce88f10c540 | |
refs/heads/master | <repo_name>adonskikh/FUSE<file_sep>/myfs.c
#include <fuse.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/types.h>
#include "fsfileops.h"
/** Get file attributes.
*
* Similar to stat(). The 'st_dev' and 'st_blksize' fields are
* ignored. The 'st_ino' field is ignore... | 3240371eba4bb207566b593aa84ab757da869470 | [
"C",
"Shell"
] | 7 | C | adonskikh/FUSE | f6e89d27752c09f03820386e1b775f6b6a7eb8db | 3ad9a8caee0acc06a50ec8b8253f22e286cde0af | |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using EnglishLeagues.Models;
using EnglishLeagues.Services;
namespace EnglishLeagues.Controllers
{
public class H... | f6e06a9bf027b438e7aa1c838b341318d629da84 | [
"C#"
] | 10 | C# | NazarKavka/EnglishLeague | df8c7e82a5cd2e8d56be812079a5d8a4645416cf | f7c7ac76d6758e9fcf615a4dc55bb2f8b3e32004 | |
refs/heads/main | <repo_name>sapmanoj/manoj<file_sep>/newtone.py
def proterm(i, value, x):
pro = 1;
for j in range(i):
pro = pro * (value - x[j]);
return pro;
# Function for calculating
# divided difference table
def dividedDiffTable(x, y, n):
for i in range(1, n):
for j in range(n ... | a29cba16e6c4a076f5cdb4ce44c1e41c8fa1a3f7 | [
"Python"
] | 6 | Python | sapmanoj/manoj | 4c738ec823fb7ae3f7cf97d89d74fb253b6d366a | 22bbee72606e88d162e5dccbb5290e3c459130da | |
refs/heads/main | <file_sep>import React from 'react';
import logo from '../../image/ekota academy white-01.png';
import { Link } from 'react-router-dom';
import './Navbar.css';
const Navbar = () => {
return (
<div className="menubar" style={{ fontFamily: 'Poppins' }}>
<nav class="navbar navbar-expand-lg navba... | 56ffa187dadeaabacf82b89d644bbd69f85a8cd0 | [
"JavaScript"
] | 16 | JavaScript | ShohanShabbir/ekotasports | 8cc4fd6e726ab644ebade13bef54d2b883f26db3 | baccbe928d34d604b5dc1b855cbe54cd6f828b40 | |
refs/heads/master | <repo_name>MedoWaleed07/SilkRoad_culture_platform<file_sep>/settings.gradle
include ':app'
rootProject.name='Research'
<file_sep>/app/src/main/java/com/example/research/Activites/MainActivity.java
package com.example.research.Activites;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import an... | b7978bcb383064afcfbafcd7de8619df054436c4 | [
"Java",
"Gradle"
] | 2 | Gradle | MedoWaleed07/SilkRoad_culture_platform | f1a27f59145cd363e5f063d46330c925ae615868 | 4f08b71ad905ca146f882462522c747e2517165e | |
refs/heads/master | <repo_name>VinceOC34/test-P3<file_sep>/P3_v2/src/Mastermind.java
import java.util.InputMismatchException;
import java.util.Scanner;
public class Mastermind extends LibrairyAbstract {
public Mastermind() {
// choix du Mode----------------------------------------------------------------------------------------... | 2b7220846e11b8b4ee6b8b8b0b9ece961934bd9f | [
"Markdown",
"Java"
] | 7 | Java | VinceOC34/test-P3 | 750720f740613006a5a6b7dd928cbbae8caaae6a | 4523216e1f3a9874752f39bf34147713cadea16e | |
refs/heads/master | <repo_name>amanda/lyrics_scraper<file_sep>/az_scraper.py
#!usr/bin/env python
# -*- coding: utf-8 -*-
'''a shitty little a-z lyrics scraper for texty fun.
returns a json file of all the lyrics by a given artist by song.
azlyrics doesn't like scraping (eep) so use with caution!'''
from pattern.web import URL, DOM, abs... | 65f525727a079cde11211bffc4de69fe5922a748 | [
"Markdown",
"Python",
"Text"
] | 3 | Python | amanda/lyrics_scraper | 66d171f7a990a4cd9c0928150ff8cc8caf8ad6e5 | bcd9b4a3c36754d6d5f82e353f658eb7827b7557 | |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnviromentMovementLoop : MonoBehaviour
{
public Vector3 startPos;
public Vector3 targetPos;
private Vector3 moveTo;
public float movementSpeed = 4;
// Start is called before the ... | ff18468038266c0e8c49bf051b7e81f8de39910d | [
"C#"
] | 7 | C# | JelmerDeV/BPW1 | 057a769c700eec395811c65294a9c303e3447a30 | 2e25f8f5a554d44f9e79aa663be6efbb5f02f0c1 | |
refs/heads/master | <repo_name>mutongliwansui/JavaLearning01<file_sep>/src/main/java/com/mutongli/concurrent/item/OrderDelayItem.java
package com.mutongli.concurrent.item;
import org.apache.log4j.Logger;
import org.junit.Test;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.ut... | c1def65877cc02e13bdafa2da8f9b2cc1bd119d6 | [
"Java",
"INI"
] | 7 | Java | mutongliwansui/JavaLearning01 | 595ea317894ea4618838917bdbf70277033403fd | 06d367b0b77526f557dd0d97dabd10cad6233c50 | |
refs/heads/master | <repo_name>gustavoalvesdev/desafios-uri-online<file_sep>/Desafio1011.py
raio_esfera = float(input())
volume = (4.0 / 3) * 3.14159 * raio_esfera ** 3
print('VOLUME = %.3f' % volume)
<file_sep>/Desafio1013.py
valores = input()
separaValores = valores.split()
a = int(separaValores[0])
b = int(separaValores[1])
... | b7948c80cd6bdf8e48932e0768316a607536e12b | [
"Markdown",
"Java",
"Python"
] | 17 | Python | gustavoalvesdev/desafios-uri-online | e50ad0fbe192fdf14e6d74bff329bb458938f409 | 462b9000756b34e391801ebc485d37ef908fcda4 | |
refs/heads/master | <file_sep>FROM grafana/grafana:4.4.2
RUN apt-get update && apt-get install -y curl gettext-base telnet supervisor nginx openssl && rm -rf /var/lib/apt/lists/*
WORKDIR /etc/grafana
COPY datasources ./datasources
WORKDIR /etc/grafana
COPY grafana.ini ./grafana.ini
WORKDIR /etc/grafana
RUN openssl req -x509 -nodes -da... | bd0b16f2ed572dab686ee16d6000a3e94e2041db | [
"Markdown",
"Shell",
"Dockerfile",
"YAML"
] | 4 | Dockerfile | vimalkrish/GICV-Version-2 | 7d2a44c95ae03d4923ffea101663e4248959616d | 8e67203e86ce8c8af4ba66f808dd03bcdc0497e2 | |
refs/heads/master | <file_sep>// slide-in menu JS
// get elements
const menuBtn = document.querySelector(".menu-button");
const slideMenu = document.querySelector(".slide-menu");
// add event listener
menuBtn.addEventListener("click", toggleMenu);
// set initial menuState
let menuVisible = false;
// functions
function toggleMenu()... | 358d9f512d20c316920ac7c4d3a22bfd29330bef | [
"JavaScript"
] | 1 | JavaScript | travisreynolds17/OnePagePencils | 041f8c9c9fdac0f17f932b6439d15fa19d775bf6 | edd9a9f8ab31d08006712a541deacfd4b3e4fdf6 | |
refs/heads/main | <repo_name>Rediet8abere/str-prob<file_sep>/README.md
# String Lib

[npm](https://www.npmjs.com/~redifew)
### This library contains methods like:
- capitalizeFirst
- allCaps
- capitalizeWords
-... | 0ad8face780324c0f092ca204438136dceed1c26 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Rediet8abere/str-prob | a8c87450da736699b2b5148a9b469903a01c86a7 | 3e5dfbf90a8822b3da4359498f7bba453e0d4510 | |
refs/heads/master | <file_sep><?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Employee extends Model
{
protected $table = 'employee';
protected $fillable = ['id','name','nric','department','temperature','quest1','quest2','quest3','quest4','quest5','quest6','quest7','quest8','quest9','quest10'];
}
<file_sep><... | 69212e07d268d367baf2fe400aa0ecd01bf7aa7d | [
"PHP"
] | 8 | PHP | nazirulfitrifauzi/csc-covid19 | 21141725988d9ba41f01101a5bb30898068cbce9 | 6947fa50f6da63ab3e6f6623947742ac661f0427 | |
refs/heads/master | <repo_name>djghostghost/go-lesson-third-week<file_sep>/main.go
package main
import (
"context"
"fmt"
"golang.org/x/sync/errgroup"
"log"
"net/http"
"os"
"os/signal"
)
func main() {
ctx := context.Background()
ctx, cancel := context.WithCancel(ctx)
defer cancel()
eg, ctx := errgroup.WithContext(ctx)
srv :... | 7b98266f4018f36b168374a908891db02c38b0ee | [
"Go Module",
"Go"
] | 2 | Go | djghostghost/go-lesson-third-week | 13bfa8eb3d9d60f97c54b21cdd2284a53fa08136 | 9fa54f4a1b55434611448dad5813ce5b6928d04e | |
refs/heads/master | <repo_name>cmnf/sanji-ethernet-ui<file_sep>/src/component/form/container.component.js
import EthernetFormContainerController from './container.controller';
const EthernetFormContainerComponent = {
template: `<sanji-ethernet-form data="$ctrl.data" on-submit="$ctrl.onSave($event)"></sanji-ethernet-form>`,
controller... | 4a86c5e10700e0f8bf64733c26588ec0b350f7a3 | [
"JavaScript"
] | 1 | JavaScript | cmnf/sanji-ethernet-ui | deae845ea9190daec70db5d933bd3157ef5a7b62 | 60eea723ab7cdf06f01d28c829efab9e4606e5b6 | |
refs/heads/master | <repo_name>nazarialireza/responsive-media-queries<file_sep>/src/js/responsive.js
// window.$ = window.jQuery = require('jquery');
// import * as $ from 'jquery';
import {$,jQuery} from 'jquery';
window.$ = $;
window.jQuery = jQuery;
export default $;
export { jQuery };
import '@popperjs/core';
import 'bootstrap';
im... | 3ed6a979c7e602c452f686f463e5040aa5b9513e | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | nazarialireza/responsive-media-queries | 0e60b1151071cc2d119b99c66d591568008dcfc9 | 2eae1e7adff8de64ccc3236d609954e027c9a77d | |
refs/heads/master | <file_sep>//
// FeedVC.swift
// WestPluto1
//
// Created by <NAME> on 1/17/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
import Firebase
import CoreFoundation
import AVFoundation
import FirebaseDatabase
import SwiftKeychainWrapper
func admin() {
}
class FeedVC: UITableViewContro... | 760b9472433e26252bf4ba2d6ab20865a94995f6 | [
"Swift"
] | 5 | Swift | carlo190101martin/WP | b6c2423d24bcbd94ad35dbc874aec6bd8408c988 | 7324f393bae2bf0c5d8824d1a995485b98b667d5 | |
refs/heads/master | <repo_name>NoamRom89/WS-Goals<file_sep>/README.md
# WS-Goals
Targil 0 - Web Service
Edit by <NAME>
<file_sep>/Goals/index.js
var events = require('events');
var util = require('util');
var date = new Date();
util.inherits(Record, events.EventEmitter);
var logMsg ='';
function Record(){
this.goalsBala... | 0c99ff2f70f0ad9298c93aba133ab089b57e4f86 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | NoamRom89/WS-Goals | bf73fb92edfc3dd962b6b2a2766a21da768880a2 | 2c09d2bcf54251ffa37f27a48c2ef74adea7395f | |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Medi... | 765f58cc9c344e771b4d2e34207708a36c1aba12 | [
"C#"
] | 1 | C# | Mixa1997/Tbl | 5c559ec7d301ddc9f717567dd2afe6733e45e264 | c3e01d091b62591576a64d419aa9406da26b56ea | |
refs/heads/master | <repo_name>skylurker/learningAndroid<file_sep>/README.md
Tictactoe: Going through this Habrahabr tutorial http://habrahabr.ru/blogs/android_development/110247/
<file_sep>/Tictactoe/app/src/main/java/com/mycompany/tictactoe/WinnerCheckerVertical.java
package com.mycompany.tictactoe;
/**
* Created by skylurker on 10.... | c964d33f8cb2605dbb5b83475bd8f076f52a156d | [
"Markdown",
"Java"
] | 5 | Markdown | skylurker/learningAndroid | d51e4150db74c150c9775819b6a323b87e7352e9 | 4ceaef3e4c2bdd0b452214281426ccfe7b38db49 | |
refs/heads/master | <repo_name>mtigas/1pass2keepassx<file_sep>/README.md
```shell
git clone https://github.com/mtigas/1pass2keepassx.git
cd 1pass2keepassx
bundle install
```
## Using: Current versions of 1Password
*(As of August 10, 2014.)*
Note that newer versions of 1Password actually use a folder
as the `.1pif` "file" and the actual... | daa3ffd6f4d2a1877a515c49bf571f6450987682 | [
"Markdown",
"Ruby"
] | 3 | Markdown | mtigas/1pass2keepassx | 21205bc33341b4b7dac257df03ec04e231224d72 | 950048bdad67f48cd7b78e83b8b50ca48fe36054 | |
refs/heads/master | <repo_name>Rphmelo/Youtube-video-search-app<file_sep>/src/components/search_bar.js
import React, { Component } from "react";
class SearchBar extends Component {
constructor(props){
super(props);
this.state = { term: 'Starting Value'};
}
render() {
return (
<div classN... | 27243e2114a0499d4272605369be84d66f93e63b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Rphmelo/Youtube-video-search-app | 4b3a872a59e2a885627418f116900468b76c5b7c | f3a682683b7650063a259e90dcebbe8ef5e88f63 | |
refs/heads/master | <repo_name>SARATH365/shopping-android-app<file_sep>/app/src/main/java/com/vishalgaur/shoppingapp/ui/home/CartItemAdapter.kt
package com.vishalgaur.shoppingapp.ui.home
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.net.toUri
... | 8ec084549581ae16dec7d58bcaf1d3db68c5a344 | [
"Markdown",
"Kotlin"
] | 82 | Kotlin | SARATH365/shopping-android-app | bfed51a85075b504d2fb242eb37bf365dd1a6392 | 275981bcda66987071533d5f242da90b4b124614 | |
refs/heads/master | <repo_name>Sivasathivel/RugbyUnionScoreCard<file_sep>/app/src/main/java/com/example/android/rugbyunionscorecard/MainActivity.java
package com.example.android.rugbyunionscorecard;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
public... | c383c6f4195e22610c3ba943f3c084867e3850f8 | [
"Java"
] | 1 | Java | Sivasathivel/RugbyUnionScoreCard | 9be7a73aac506cb93e423dc57dac0e6c54de47e1 | cab683d9a9800ac748f41c91f0324aa7f27dddf7 | |
refs/heads/master | <file_sep>SELECT Manufacturers.ManufacturerName, SUM(StoredProducts.Count) FROM StoredProducts
INNER JOIN Products ON Products.ProductId = StoredProducts.ProductId
INNER JOIN Manufacturers ON Manufacturers.ManufacturerId =Products.ManufacturerId
GROUP BY Manufacturers.ManufacturerName | d1df6840282a4282bd882f383dcc69b81d47bb4e | [
"SQL"
] | 1 | SQL | DmytroKryvovychev/DB_Homework_Kryvovychev | 32ace11f89d61299296d9631ad1f57fe791a6eec | 7d595d533430bfb6121de64016fb35fd7d5edebf | |
refs/heads/master | <file_sep>/**
* Spring Security configuration.
*/
package org.codingblog.security;
<file_sep>package org.codingblog.web.rest;
import org.codingblog.CodeBlogApp;
import org.codingblog.domain.Gallery;
import org.codingblog.repository.GalleryRepository;
import org.codingblog.service.GalleryService;
import org.codingbl... | 804ce29d2787d5c3900b5a319ebd183bdd901620 | [
"Java"
] | 6 | Java | haiguangbo/CodeBlog | 977fac5d5dc852a0412f7a262e617eca4e9c1ede | 757af1057a2b3be022e1db78014014e3fde40528 | |
refs/heads/master | <repo_name>SebTuc/GoTicTacToe<file_sep>/go.mod
module github.com/SebTuc/TicTacToe
go 1.13<file_sep>/main.go
package main
import (
"fmt"
"math/rand"
"strings"
"time"
)
type tictactoeboard [3][3]rune
const (
playerShape = 'O'
computerShape = 'X'
)
func main() {
var whoWon string
var win bool
var retry bo... | b59c438c789d035c80363a56f86ccf8ebf56beba | [
"Go",
"Go Module"
] | 2 | Go Module | SebTuc/GoTicTacToe | ecc93c6012a485e0218f3038b55ea6b350035018 | a4873ec361ace3ae7d597e93dfe534401ebdcd55 | |
refs/heads/master | <file_sep>import React from 'react';
class Weather extends React.Component {
render() {
return(
<div className="widget-17 panel no-border no-margin widget-loader-circle">
<div className="panel-heading">
<div className="panel-title">
<i className=... | 609b71cd903362f2e0d5de1b479a87b7161dc19c | [
"JavaScript"
] | 7 | JavaScript | valentinancy/arthentic | 513f6e178ea6f6ddfed045e8ff3e9056d5e94034 | 6ccdf59e8a645b23a932a3f9195eb21e0551b5fa | |
refs/heads/master | <file_sep>/**
* Created by jeanzhao on 10/23/18.
*/
export const DefaultConfig = {
// puppeteer launch setting
launchOptions: {
headless: false,
defaultViewport: {
width: 1024,
height: 768
},
timeout: 60 * 60 * 1000
},
// delay for visiting a... | 1ae12e6bfafcd19caadb8eb85f3610a3f6806eb9 | [
"Markdown",
"TypeScript"
] | 9 | TypeScript | JeanZhao/macrodownload | c0997846a119483b3346627b060813c6334a8f8c | 08c21d35b15c9b92343dac5bf35ebcf1f1d4bf21 | |
refs/heads/master | <file_sep>JavaWebScoket
=============
<file_sep>/*
* 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.apuntesdejava.websocket;
import javax.websocket.server.ServerEndpointConfig... | 287c0d735db86e3daa4a02a23365a3f793ea2996 | [
"Markdown",
"Java"
] | 2 | Markdown | afcely/JavaWebSockets | 72f1cd36d4d72ca9153dd5990a01c7a4e5678f0a | be1e17aa4d916a789be05a04c21882493d7882c3 | |
refs/heads/master | <repo_name>Naomie-Sebag/web_react_project<file_sep>/backend/models/PackagesModels.js
const mongoose = require('mongoose')
const package = new mongoose.Schema({
distribution_date: {
type:Date,
default: Date.now
},
receiver_name: {
type:String,
required: true
},
la... | b1a41af8dcd59e809bf45e6bec79221ade25933f | [
"JavaScript"
] | 4 | JavaScript | Naomie-Sebag/web_react_project | 6b525734798944bdee6316c81ad7edf1a98c5d5c | bcffb2406b39f9f5b30bc21c3ba43fde4ab79483 | |
refs/heads/master | <file_sep>package com.thoughtworks.interview.utils;
import java.math.BigDecimal;
import com.thoughtworks.interview.model.Discount;
import com.thoughtworks.interview.model.Item;
import com.thoughtworks.interview.model.Membership;
/**
* Calculate item price
*
* @author WeiWei
*
*/
public class DiscountCalculato... | 819be94ae5133a14bdbd95255faf6cb9ff428024 | [
"Java"
] | 10 | Java | LamarWei/thoughtworks-assignment | 14ca024c4fb549ab35a803e5d0856d0415a8e1bd | 17d694b391f2691ec43da4c0bbc5a726e030c853 | |
refs/heads/master | <file_sep>class Sensor {
constructor( ship, map ) {
this.map = map;
this.ship = ship;
this.level = 1;
this.ScanCP = 2;
}
use () {
this.ship.supplies -= 2; // consume 2% of supplies
}
getInfo () {
}
upgrade (... | 5011ba73551942c06d2c5b2208b0c43245bed155 | [
"JavaScript"
] | 9 | JavaScript | angiemcgraw/Nov21-up | b0dbf76c65750e0a2d7a7f1a31c7021f4e310555 | c9b2407e1dfdad9ac5da474fc5b2f7783f9e2f2b | |
refs/heads/master | <repo_name>xyTianZhao/XiyouLibrary<file_sep>/src/com/tz/xiyoulibrary/activity/bookdetial/presenter/BookDetialPresenter.java
package com.tz.xiyoulibrary.activity.bookdetial.presenter;
import com.android.volley.RequestQueue;
import com.tz.xiyoulibrary.activity.bookdetial.model.BookDetialModel;
import com.tz.xiyoulib... | eaf8079d74e0d5db133a22813c7e167134f886fa | [
"Java"
] | 34 | Java | xyTianZhao/XiyouLibrary | 70ea1d5492c229549202b9d245441683a0b22fbb | bf74239468bc3dd43ffa535c9fcdf5e141ec1db6 | |
refs/heads/master | <file_sep><?php namespace App\Controllers;
class Detail_Kapal extends BaseController
{
public function index()
{
return view('Detail_Kapal');
}
//--------------------------------------------------------------------
}<file_sep><?php namespace App\Controllers;
use App\Models\TiketModel;
class Edit_Tiket extend... | bc976e2fd352863c2d0b561fc4ef2dc96f18ad51 | [
"SQL",
"PHP"
] | 26 | PHP | sucihikmawati/YGen-TiketTravel | 5cde61b0c230701a8c5c7e43842b1677f61c0164 | d7efb7cd91434e4cd62ebd972236d4a2c3716e0c | |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Models\Clothing;
use Illuminate\Http\Request;
class ClothingController extends Controller
{
public function index()
{
$clothings = Clothing::latest()->get();
return view('admin/index', [
'clothings' => $clothings]);
}
... | 34d819c071b23d9241b36e3f25890c08b3fa3525 | [
"SQL",
"PHP"
] | 9 | PHP | 243Galaxy/clothings | cdadaf39824f9b22fe2c5c822de0e136a31e921c | aea47d10a50290702051a50df9bd2cb2045868b1 | |
refs/heads/master | <file_sep>const download = require('./lib/download').download;
const slack = require('./lib/slack').slack;
const trim = require('./lib/trim').trim;
const { tweet, upload } = require('./lib/tweet');
const getVideos = require('./lib/video').getVideos;
module.exports = {
download,
slack,
trim,
tweet,
upload,
... | 8797c1d7f00aaa5b4a74946798976a93577d0960 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | teramotodaiki/youtube-to-twitter | afab891c85aea317289c7dc064bde77c63295c7a | 03c80ab83b6d266d7472b5d226112cfe12e14ef9 | |
refs/heads/main | <file_sep>const trackerbtn = document.querySelector('.btn-tracker');
const input = document.querySelector('input');
const alerts = document.querySelector('.tracker-alerts-wrap');
const trackerHead = document.querySelector('.tracker-head');
const overlay = document.querySelector('.overlay')
const mapContainer = do... | 1515dfecebea2983ced96b236e5966119b7c626c | [
"JavaScript"
] | 1 | JavaScript | milexpro/trackdown | 1e6ff59e2fd6d77d8b4b886ddace4fe2340448ec | cddd72ec26d6e355317ba78f3ae596da9ff1f027 | |
refs/heads/master | <repo_name>lighterletter/StockProduct<file_sep>/src/c4q/lighterletter/NumProduct.java
package c4q.lighterletter;
import java.util.ArrayList;
import java.util.List;
/**
* Created by c4q-john on 11/16/15.
*/
public class NumProduct {
public static void main(String[] args) {
int[] array = {1,7,3,4};
... | 9ae283886229422c18fb8acf816dd76f065de4c0 | [
"Java"
] | 1 | Java | lighterletter/StockProduct | 3bab8c4bbcca846b6fa3a0b20058656f8cb0f7ca | b81bad360548249876de9aa670c9b1158e8b1fe9 | |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class scr_Clicking : MonoBehaviour
{
public Text counter;
public float counterNumber;
public float ammountPerClick == 1.0f;
// Update is called once per frame
void Update()
{... | 815809cb89f8f3d44e91d1a3b7dad256fc0d7e40 | [
"C#"
] | 1 | C# | Toastiin/CookieClicker | 0efe73a91b11a697cc503b7a36436b2d1a4ea235 | 4fbf9aef2d2933d460f20c4b7afd5a5207fa77d1 | |
refs/heads/main | <repo_name>joonhwan/nginx-multiple-react-with-router<file_sep>/clients/app/src/Home.js
export default function Home() {
return (
<div>
<h2>Home Page</h2>
<p>User App - Home</p>
</div>
);
}
<file_sep>/clients/app/src/App.js
import { Switch, Route, NavLink, Link } from "react-router-dom";
import "... | 35e59e7e8c466969eb9c6bbb8fec7dfc57d2c3d4 | [
"JavaScript"
] | 5 | JavaScript | joonhwan/nginx-multiple-react-with-router | 30310d8054549a452b87b0f3df014568d8f88bd0 | 9596dd5dd2bebb0a25e4bc743f624a020a2d5e7a | |
refs/heads/master | <file_sep>package exprivia;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@Entity
@Table(name="dlfileentry")
public class Dlfileentry imple... | d0c579c31fb34047905e030764c272dc602a1be9 | [
"Java"
] | 1 | Java | gaetanoV94/hibernateMaven | 9fb69b6856e59a05898380257cdaeb2d500007f8 | 47861872c1ad83dd5995887ebd7a9cab8f451b70 | |
refs/heads/master | <file_sep>mocha-inline
============
What is this? This is a really small helper (you could do it in 2 lines, really)
to work with the idea of inlined BDD test blocks. Those are the `describe` and
`it` blocks JavaScript testing frameworks like `mocha` use.
## Rationale and usage
The idea is to write them along your co... | 77d52fccead3204699dee3f04b9507ad7f1c9e14 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | yamadapc/mocha-inline | a4b9c4b39cb93c22f0f2ee70dc466f8c121c43a1 | ebcbb475ebcd58fa8a4e7ffbc243b5fb5c527b6f | |
refs/heads/master | <repo_name>tjorim/addon-sqlite-web<file_sep>/sqlite-web/rootfs/etc/cont-init.d/30-nginx.sh
#!/usr/bin/with-contenv bash
# ==============================================================================
# Community Hass.io Add-ons: SQLite Web
# Configures NGINX for use with SQLite Web
# ==================================... | 3797c237da05b55d0996e4ea37bf95108095b7bb | [
"Dockerfile",
"Shell"
] | 4 | Shell | tjorim/addon-sqlite-web | 0b574fab425615410b10960f46af9c08f9d00150 | e07e877cbd8873e20a4fed6022df56db946cd953 | |
refs/heads/master | <repo_name>zstrad44/Kele<file_sep>/lib/kele/roadmap.rb
module Roadmap
def get_roadmap(roadmap_id)
receive = self.class.get(@api_url + '/roadmaps/' + roadmap_id.to_s, headers: { "authorization" => @auth_token })
JSON.parse(receive.body)
end
def get_checkpoint(checkpoint_id)
receive = self.class.g... | 2404c7c6da1fcf958b5a581eca22fbd4b53ca50f | [
"Markdown",
"Ruby"
] | 3 | Ruby | zstrad44/Kele | 3377fbedb0a917a7f26dfd056c94e6c9bafb9e13 | f60295fab1b24b3fe4b42aaaab807c15f7b596a4 | |
refs/heads/master | <repo_name>rishano/react-youtube-app<file_sep>/build/precache-manifest.04aff5d1f302f2a32bc6029be9b6f477.js
self.__precacheManifest = [
{
"revision": "8fedc4fd322e605902bf",
"url": "/static/css/main.8b61810b.chunk.css"
},
{
"revision": "8fedc4fd322e605902bf",
"url": "/static/js/main.8fedc4fd.chunk.... | f1124ca4514f65278f5a8345206eccf238633c3c | [
"JavaScript"
] | 1 | JavaScript | rishano/react-youtube-app | 2ddfcf2ed0eb819201999dc119503e9ff1b56b26 | 4cebfb6479dae1d4498b4d1a30174505a57437ee | |
refs/heads/master | <file_sep>Rails.application.routes.draw do
get 'product/new'
get 'company/new'
root 'static_pages#home'
get '/help', to: 'static_pages#help'
get '/about', to: 'static_pages#about'
get '/contact', to: 'static_pages#contact'
get '/companies', to: 'company#index'
get '/create_com... | 3f620790f24640459b7167a2d0978678e0fd26a5 | [
"Ruby"
] | 9 | Ruby | Rolando-B/rails_first_app | 36807e4446c8e72532d60f393fb1c70d2a2252a8 | 6c8200c0cca1309883f3c8584ad533b9d1b18656 | |
refs/heads/main | <file_sep>import streamlit as st
from predict_page import show_predict_page
show_predict_page()<file_sep>import streamlit as st
import pickle
import numpy as np
def load_model():
with open('saved_steps.pkl', 'rb') as file:
data = pickle.load(file)
return data
data = load_model()
regressor = data["m... | 62f10a60561da20e1b85bd32046a00b1f379656b | [
"Python",
"Text"
] | 3 | Python | wirahitaputramas/CollFee-Estimator | 4b2cb12fb2254dc19a63157a5577e5b034067b5b | 170aeaa586d38e0aed5379eda8cdebe7eadf0e14 | |
refs/heads/master | <repo_name>megabites2013/threadtest<file_sep>/src/main/java/com/wcc/threadtest/generator/DetailGenerator.java
package com.wcc.threadtest.generator;
import com.wcc.threadtest.model.Detail;
import com.wcc.threadtest.model.Person;
import com.wcc.threadtest.model.Sex;
import com.wcc.threadtest.repository.DetailRepository;... | 03857a47f9928a795562f2d913030ec488a0b8f1 | [
"Java"
] | 8 | Java | megabites2013/threadtest | 4d52cd2f45bf5eecaca10a76da6a791363d2db01 | aa7809371e54171b3d7f03417dbcf2d7f9bd20e6 | |
refs/heads/master | <repo_name>Oscar16A/STC3<file_sep>/Assets/Scripts/Christian/Obstacle.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Obstacle : MonoBehaviour
{
// Obstacle movement
public float xScroll;
public bool dependent = true; // false = movement independent o... | 628122140d5fe5eef8f9f51b0efa9d39e41fdedf | [
"Markdown",
"C#"
] | 14 | C# | Oscar16A/STC3 | 199d00e1842c86a68d4a6080163829cef5b4a47a | fc7d8674c526a88183040ac9e6d414064b104ff3 | |
refs/heads/master | <repo_name>eb01/jeanlorem.io<file_sep>/README.md
# jeanlorem.io
## Présentation
<NAME> est un générateur de texte aléatoire ... sauf qu'en lieu et place du classique lorem ipsum, il utilise les blagues et citations de Jean, le doyen de ma promotion à la 3WA qui nous a toujours épaté par ses envolées lyriques (bon cert... | 6958f62e1abbe7b2af89dfaeefa1795a2cc3b39f | [
"Markdown",
"SQL",
"PHP"
] | 11 | Markdown | eb01/jeanlorem.io | 0e31727a2350d2efaa09d5c8fb6f4e802737fcba | 12f8b7e46af5e70e04e0b271b1dea5f5dfdc3b2a | |
refs/heads/master | <repo_name>lonelydatum/mappingMigration<file_sep>/lib/interaction.js
import Init3d from './init';
var camera = Init3d.camera;
var windowHalfX = window.innerWidth / 2;
var windowHalfY = window.innerHeight / 2;
var targetRotation = 0;
var targetRotationOnMouseDown = 0;
var mouseX = 0;
var mouseXOnMouseDown = 0;
func... | 34732da495683080a15be7de22b3b4148188864b | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | lonelydatum/mappingMigration | f4d8c4a0fc42172b051982f5c643bca4e3feeed4 | 6533a43e23181655a9d40ff87659683022cf1210 | |
refs/heads/master | <repo_name>lwbldy/GitWork<file_sep>/lwb-admin-tiny/src/main/java/com/lwbldy/system/controller/SysRoleController.java
package com.lwbldy.system.controller;
import com.lwbldy.common.util.PageUtils;
import com.lwbldy.common.util.R;
import com.lwbldy.mbg.model.SysRole;
import com.lwbldy.mbg.model.SysUser;
import com.lwbld... | 64f34486dd2664e5a4cdcba485bac9f7a172d776 | [
"Markdown",
"Java",
"Maven POM",
"SQL"
] | 20 | Java | lwbldy/GitWork | 750eee733ca25695876a48ebd268a893498b5a84 | c4aa63ea167b235d5f4eecfd1c140b92ba554093 | |
refs/heads/master | <repo_name>managerger/FluentValidation<file_sep>/docs/_doc/mvc5/known-limitations.md
---
title: Known Limitations
---
MVC 5 performs validation in two passes. First it tries to convert the input values from the request into the types declared in your model, and then it performs model-level validation using FluentValida... | e1f60ee47d6b41c0a5ecc4286a6c35d7b05a6bfe | [
"Markdown",
"C#"
] | 15 | Markdown | managerger/FluentValidation | 2c6a6f15ce67212185c0a2f4d12812f4e1ff1422 | 49125f57a752735e41ee029e5ab4e8d29085d1ea | |
refs/heads/master | <repo_name>zccmark/pcart<file_sep>/application/models/Staff_model.php
<?php
class Staff_model extends MY_Model
{
public $table = 'staff';
public $primary_key = 'stId';
function __construct()
{
parent::__construct();
$this->timestamps = false;
$this->return_as = 'array';
... | 38aad7c4e34e9671d4569fa5ce8f7a92cf9eb85b | [
"Markdown",
"PHP"
] | 241 | PHP | zccmark/pcart | 6a097669bcd42c2f37343037835ed3ba3891cf22 | 23a5bad96f4b1f615269088247793ed06a33bfc0 | |
refs/heads/master | <repo_name>Deivbid/BlogComputacion<file_sep>/BlogComputacion/venv/bin/django-admin.py
#!/home/david/Documentos/ProyectoCAL/BlogComputacion/BlogComputacion/venv/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| c45a718168d9817bc9848a90d6da1e76fba55667 | [
"Python"
] | 1 | Python | Deivbid/BlogComputacion | 56a9ab3c5f57dcc1621e40a70ecd055c0fb213a3 | 6f168e98dbcd5bbab8e9f3ab1201b78349db90c6 | |
refs/heads/master | <repo_name>jochumb/screenplay-pattern-test<file_sep>/src/test/java/nl/jochumborger/test/web/questions/TheCurrentUser.java
package nl.jochumborger.test.web.questions;
import net.serenitybdd.screenplay.Question;
/**
* Created by jochum on 08/07/16.
*/
public class TheCurrentUser {
public static Question<String> ... | a41de879d24291c34187208c6e8310576027af2c | [
"Markdown",
"Java"
] | 9 | Java | jochumb/screenplay-pattern-test | bd3c5b686dcbfcd3ea63e1ad1a12e37d1f6251a3 | 7cc4dea7a2400a414162c16e000863f7bcf40e79 | |
refs/heads/master | <file_sep>const EntitySchema = require("typeorm").EntitySchema; // import {EntitySchema} from "typeorm";
const counterModel = require("../model/counter");
module.exports = new EntitySchema({
name :"counter",
target:counterModel,
columns:{
_id:{
primary :true,
type:"varchar"... | 6e60ce796653b9100bcf2b2ef249b540105e9e8a | [
"JavaScript",
"Markdown"
] | 25 | JavaScript | anuragmishra02/nodejs-mongo | 960efb71a6c4bbdb85ac29cf91901a11d88b18e6 | 77ea26c217ac3faa84b572b6baf9c6964acd5842 | |
refs/heads/main | <file_sep>from django.urls import path
from .views import home, post_detail, about
urlpatterns = [
#path(url-name, function)
path('', home),
path('posts/<int:id>', post_detail),
path('about',about),
]
<file_sep>from django.db import models
# Create your models here.
class Post(models.Model):
ti... | 230082e8e0a4c331f6fe891d0097da7b48ffd2e9 | [
"Python"
] | 4 | Python | varanipit/heroku-rep | 8e55de8485763893b3b5ee90058e4a131aa3ab18 | 98e4e795416dd693313ef6724b0e96f448b7f65a | |
refs/heads/master | <file_sep>module.exports = {
"errno": 0,
"data": {
"pageMark": "total",
"showButton": false,
"request": {
"api": '/api/audit/total/data',
"method": 'get',
"apiParams": ['all']
},
"pageGoBackUrl": '',
"tableList": [
{
"title": '用户上传信息',
"type": 'table',... | 0f0bd15f069bc2e1ce2caeca7a1c746e12f360de | [
"JavaScript"
] | 2 | JavaScript | BingBlog/cp-example | 988b023d451becfd34aa0f97785c67a17fad0ab8 | dd9dd9f5a1a914e5673ae2679ef92131ed66d7f1 | |
refs/heads/main | <file_sep>#include "DoubleScriptedArray.h"
#include <iostream>
using namespace std;
int main(){
DoubleScriptedArray array1(4, 5);
cout << array1 << endl;
DoubleScriptedArray array2 (4, 5);
cout << array2 << endl;
cout << (array1 == array2) << endl;
array2(2,3) = 4;
array1 = array2;
... | 8a53b13ce0bd8e18e0e65d09f619a3ea28fe4b4c | [
"Makefile",
"C++"
] | 56 | C++ | jaewook-ryu/Cpp-Study | 113ac2cfec2e761b73fc5bb37be2e362b2976e82 | c57c26b38498690467e48e2a0d7dfc55b5ed1fab | |
refs/heads/main | <file_sep>"# repositorio-de-pruba"
"# repositorio-de-pruba"
System.ot.println("hello every body, here my new git code hahahaha")
System.out.println("if u want, u can say something here, to say hello, and practice a little bit")
"# segundo_ensayo"
"# alpha-airosft-team"
<file_sep>print("primer linea de mi ensayo c... | dc54f181fe0b13297abc5e748f4da5048f14f5b7 | [
"Markdown",
"Python"
] | 2 | Markdown | jhonm96/repositorio-de-pruba | d5d17fb5ba444bf4a8cb0ac3daf9c883db480b3e | f89e13e53144e1dcb28c8fb0019e092be82e7615 | |
refs/heads/master | <file_sep>import os
print('Preview your local Jekyll site in your web browser at http://localhost:4000.')
os.system('bundle update')
os.system('bundle exec jekyll serve') | 8cd346455a46855f4a8a894a346e00c83d393244 | [
"Python"
] | 1 | Python | redsriracha/redsriracha.github.io | a7f8ef6aa45993301a899365f529964484b903f1 | d1a6d51d981a9bb707808611a2ef472df4e53828 | |
refs/heads/master | <repo_name>GonzaloCarcamo/prueba_sql<file_sep>/consulta1.sql
--CONSULTA 1: ¿Que cliente realizó la compra más cara?
SELECT customer_name FROM customers, facs
WHERE total_value IN (SELECT MAX(total_value) FROM facs) AND customers.id = facs.customer_id;
<file_sep>/consulta3.sql
--CONSULTA 3: ¿Cuantos clientes han compr... | d81bd6cc9726ef79b650f4a9633c5ead1a632042 | [
"SQL"
] | 4 | SQL | GonzaloCarcamo/prueba_sql | 86c55ee53537f0d83e69b3c524ed48b71a381dde | 1ef45dfc803fac41cb1ee8af98e483233aa62b21 | |
refs/heads/master | <repo_name>oliviercm/npcweaponsbase<file_sep>/lua/weapons/swep_ai_base/ai_translations.lua
function SWEP:SetupWeaponHoldTypeForAI(t)
local owner = self:GetOwner()
local cl = owner:GetClass()
self.ActivityTranslateAI = {}
if t == "ar2" then
if GetConVar("npc_weapons_force_animations"):GetB... | f0e9b318c70009115ee8225c526bffbe65ea2a2f | [
"Markdown",
"Lua"
] | 9 | Lua | oliviercm/npcweaponsbase | 3df712a7a6f2f463fe68d267ee3e405e435287e7 | ef0bdb476bb7c0230cf47ef17cadc75942b533b9 | |
refs/heads/master | <repo_name>shiddiki/Trying-to-copy-CSharp<file_sep>/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
using System.Threadin... | 0ac43d32eb12ba23a231725ce18282f8d2a99414 | [
"Markdown",
"C#"
] | 2 | C# | shiddiki/Trying-to-copy-CSharp | 03b687b5632cc499fd29a0a8481d83801afa77c9 | dc8a7650cf114bd270f353c9f6c24eb30a5b2df9 | |
refs/heads/master | <repo_name>Checkmate50/slang<file_sep>/tools/render-test/shader-renderer-util.h
// shader-renderer-util.h
#pragma once
#include "render.h"
#include "shader-input-layout.h"
namespace renderer_test {
using namespace Slang;
struct BindingStateImpl : public Slang::RefObject
{
/// A register set consists of one ... | fb4bfff1957df21a1c598e22851712702f391776 | [
"C++"
] | 10 | C++ | Checkmate50/slang | 39975b207e5db7de8feaaebfda2ae122c1850b26 | f753e53b25b833efea141ee59ebce11b17558f4e | |
refs/heads/main | <repo_name>nguyenminhtoan99/owlfashion<file_sep>/app/Http/Controllers/auth/AdminController.php
<?php
namespace App\Http\Controllers\auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\auth\LoginRequest;
use App\Model\Admin;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Ill... | d44fb2f6054096438bb8dfa60f61c693895e8ceb | [
"PHP"
] | 5 | PHP | nguyenminhtoan99/owlfashion | 9d430b10cdab3e9f4322f9e7cb177c38a8fd512e | 8959446f0e995501fcb1f2cab8a9d1c03a889322 | |
refs/heads/master | <repo_name>andrewn/radiotag-node-tester<file_sep>/main.js
module.exports = {
radiotag: require('./lib/radiotag'),
cpa: require('./lib/cpa')
};<file_sep>/bin/flow
#!/usr/bin/env node
var Promise = require('es6-promise').Promise,
radiotag = require('radiotag.js'),
cpa = require('cpa.js'),
config;
... | 53f532605a10064eb4fdce16c08d14568957c0d9 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | andrewn/radiotag-node-tester | 736aa4cc8f7be7625213273af51a36fd7c5f84f3 | c9f2b94add65b23394e5230594d3acd546897453 | |
refs/heads/master | <repo_name>mohit-agarwal/cassis<file_sep>/parse_first_line.py
# Author: <NAME>
import urllib2
from pyparsing import *
# Group together the tokens belonging to a column header.
def group_tokens(tokens):
return reduce(lambda x, y : x + " " + y, tokens)
# Parse firse line of the dataset.
def parse(data):
real_n... | 235a2f3e0bc216e586eda0cb68f4e5fb31673b43 | [
"Python"
] | 1 | Python | mohit-agarwal/cassis | 8a5aabedf3d0cc4198b4f2305eb67ebc902d4367 | b830152507d05800b3d756cd4e99d7d78d7012ff | |
refs/heads/master | <file_sep>package a8;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.ParseException;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.Color;
import java.util.ArrayList;
import javax.swing.JButton;
import javax.swing.JLabel;... | 3f325e387dc61917cf17997e58e3b928458a8cab | [
"Java",
"Makefile"
] | 5 | Java | benjdod/a8 | 7c72f05354154229e08bd47207c2a8cc7c1258ff | eadda32c05a226dc3bb8d41f7d749e5574fe81ed | |
refs/heads/master | <repo_name>Tamanna8/Cannibals-and-Explorers<file_sep>/README.md
# Cannibals-and-Explorers-
This project solves the puzzle of cannibals and explorers using recursion
-----------------------------------------------------------------------------
Cannibals
<NAME>
Date: 10/27/2017
I tried to solve this puzzle or problem wit... | 7951fb189eba889643a0cd19a6eaef9d0958a24d | [
"Markdown",
"C++"
] | 2 | Markdown | Tamanna8/Cannibals-and-Explorers | 341c0a2a4a196c830aaec17705b27b290916baa9 | 292593b7e0b7dd86441a24713299d815d49faef1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.