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 | <file_sep># <NAME> <<EMAIL>>
#
# Simulate data observed by an interferometer
import numpy
def rot(p, ha, dec):
"""
Rotate x,y,z in earth coordinates to u,v,w relative to direction
defined by ha and dec
p: array of antenna positions
"""
x,y,z=numpy.hsplit(p,3)
t=x*numpy.cos(ha) - y*numpy.... | caba8e04590e8edffc98e2d4dccdd01505965e0a | [
"Python"
] | 1 | Python | juandesant/crocodile | 310868ba524b52048b54144368939cd73e3158ed | 1b9d797f21dd9acc17bfed2807e5d0926157d613 |
refs/heads/master | <repo_name>lxh1765492163/studyTest<file_sep>/src/index.js
import './scss/index.scss'
const a = 1
console.log(a)
<file_sep>/README.md
### 为什么打造前端工作流
事实上 , 现在很多的编辑器都有可以做代码检查的插件 , 这个对于开发者个人来说足够了, 但是对于一个开发团队来说略显不足
代码里面的一些坏味道不能得到规范 ,从而降低了代码质量
git hooks的作用就是用来做代码提交时候的一道检查
### eslint
代码质量扫描(未使用变量 , 三等号, 全局变量声明等),一定注意全局安... | b0a13a5df5c5f57f00b5c2625469f9efdf7ba950 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lxh1765492163/studyTest | 856fb59bc904a2d8d5dfaedf6299ec409ea38c58 | 4d53c312b2c046ec5e19ae5b3a8dbd5b7e57da02 |
refs/heads/master | <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 principal;
import controller.AlumnoController;
import controller.CursoController;
import controller.FamiliaControlle... | b821950062470bb643c77798b621172a8ef54e2b | [
"Java",
"SQL"
] | 5 | Java | SuperK92/CRUD_Academia_JDBC | 549ba54bd279cafcee6df8571d249930caca4a0b | ab03af25d2e5d579ecc1541c0486eaefa8f8abd4 |
refs/heads/master | <file_sep>var diam1 = 0;
var diam2 = 300;
var diam3 = 0;
var diam4 = 500;
function setup() {
// put setup code here
createCanvas(500, 500);
}
function draw() {
// put drawing code here
background("black");
fill("blue");
stroke("green");
strokeWeight(10);
ellipse(diam3, diam4,di... | a368e6314ec8d54b0f06685a1148d100e5b18c84 | [
"JavaScript"
] | 1 | JavaScript | Lufire08/earth | 04cbaa83e330366f5f4980e9d2b959ef36275cf2 | 96e560cc6971250d463660660286595427266036 |
refs/heads/master | <repo_name>SL-RU/osfi-p<file_sep>/core_src/Inc/main.h
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the appli... | 42d362be8599e4a4d85caae17a13d9dde6ebeac4 | [
"C",
"Makefile",
"CMake"
] | 12 | C | SL-RU/osfi-p | e4f24d82981df83a6a05cd4cbffad08d3645e2e8 | 003e11dc20110085a6542cd54fd1ccbdc6eef83f |
refs/heads/master | <repo_name>WilliamTan2704/Pioneer<file_sep>/backend/sql/seed.js
// This creates initialized items and inserts it to the sql database
const sqlite3 = require("sqlite3");
const db = new sqlite3.Database("./database.sqlite");
<file_sep>/backend/sql/migration.js
// This initializes the table if it hasn't been set. Don't f... | 590059a491da5811a68eca2553ccd7f6d9e66a5a | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | WilliamTan2704/Pioneer | 596143022ccce26cda08fb0a23b3c385998501ac | 3c62dc8b53bce3b9b5f7cd2c18e3b30937830456 |
refs/heads/master | <file_sep>package baseobject;
import java.sql.Driver;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class dress1 extends basepage123 {
... | ed43192d562a06211a002a127e30e9c7768f776b | [
"Java"
] | 1 | Java | monika501/facebook | ae482d858dcec841d73357ad0e7914776c3a9eb7 | 88dbaf3b8fd99fb532a4caa32dc1aa28f552118b |
refs/heads/master | <file_sep>num_list = ['7','5','3','1','9']
target = 12
num_list.sort()
print(num_list)
j = len(num_list) - 1
i = 0
for elem in num_list:
if(int(num_list[i]) + int(num_list[j]) == target):
print(str(i)+','+str(j))
i = i+1
elif(int(num_list[i]) + int(num_list[j]) > target):
j ... | 4a0d85d6b6f73dfa18fe22ad9df94ea5055a0c26 | [
"Python"
] | 3 | Python | 0Sandeep12/My_codes | 226af2f63987f802e7ade0a3df4a7d812a31c5c7 | cd33521c00ab1f1afc089a702a439fa2f048f234 |
refs/heads/main | <file_sep># EECS738 Project3 Says One Neuron To Another
EECS738 Machine Learning course project3. Two deep neural networks have been implemented: a Multilayer Perceptron (MLP) with multiple linear layers and a typical Convolutional Neural Network (CNN). Two image datasets are selected: **MNIST** handwriting characters ... | 6a21d87a71332d5eac83ce8abe6519f7fd25aef4 | [
"Markdown",
"Python",
"Text"
] | 7 | Markdown | liuzey/EECS738_Project3 | 87c83c78d69ef0a56fcbcfdb50dfd4feaf860176 | 62de1cb407c294f1914a5c905858c4687a45fdcf |
refs/heads/master | <file_sep>
## Installation
You can install **mobily-api** via composer or by
typing **composer require "wasfapp/mobily-api:dev-master"** in command line using composer.
#### Via Composer:
**mobily-api** is available on Packagist as the
[`wasfapp/mobily-api`](https://packagist.org/packages/wasfapp/mobily-api) packag... | 23ce7a6fe9abeac0ed38dbb913b2015623618a6f | [
"Markdown",
"PHP"
] | 2 | Markdown | wasfapp/mobily-api | aa58ac32b00077ced2d1ab8d1cdf1383aa9abb04 | b4e9e072ac5fa12a2f26ca74769db9c59d7a7818 |
refs/heads/master | <file_sep>module github.com/goloop/log
go 1.20
require (
github.com/goloop/g v1.10.1
github.com/goloop/trit v1.7.1
)
require github.com/goloop/is v1.4.0
<file_sep>package layout
import (
"errors"
"fmt"
"math/bits"
)
const (
// FullFilePath flag adding in the log message the path to
// the go-file where the ... | d42a223aa358769dc6532b214c42211bc86f033c | [
"Go",
"Go Module",
"Markdown"
] | 13 | Go Module | goloop/log | 0ddea4d6cec8817878840572f0ce4aea47eef733 | 6c7618feb5844c8c87fd12420b8aefb0de074231 |
refs/heads/master | <file_sep>package threads;
import javafx.application.Platform;
import ui.PacManController;
public class ControlThread extends Thread{
private PacManController pcc;
public ControlThread(PacManController pcc) {
this.pcc = pcc;
}
public void run() {
while (true) {
PacManThread pt = new PacManThread(pcc)... | c5540b69489eeaf8ed14ef6d8cefefc0ce535413 | [
"Java"
] | 4 | Java | cadav1nci/Bouncing-balls | ad240728b41fdd45b9beca101452ae41e8a3c7e4 | 9bda004e4b7380f7cede376d90c0e7a300e2ef31 |
refs/heads/master | <file_sep># ccng-routes
**An api routes print tool for Cloud Foundry CCng (cloud_controller_ng)**
The Cloud Foundry CCng (cloud_controller_ng) component generates its API routes dynamically. This tool prints the generated routes in Ruby-on-Rails "rake routes" style.
## Example
[Routes for CCng API v2.79.0](https://... | da23ff0d51124fca3b69807b5b47223104d2cc25 | [
"Markdown",
"Ruby",
"Shell"
] | 3 | Markdown | nota-ja/ccng-routes | bdced212a11ea60cd40443ef3a73773f1bc0736a | 2f205de18b412287ee58d83b70396d27707c3781 |
refs/heads/master | <repo_name>kckishan/WaterJugPuzzle<file_sep>/src/waterJugPuzzle/waterJugPuzzle.java
import java.util.*;
/**
*
* @author kishan_kc
*/
public class waterJugPuzzle {
private final int N, target_amount;
private final int size[];
//Define List of list to store nodes
//Define List of list to store visite... | 555ec4ad8c8ebc8632aa96daeb5bc000068801b2 | [
"Markdown",
"Java"
] | 2 | Java | kckishan/WaterJugPuzzle | 9eae9196286554e2ce55f850900569de6deb2f32 | f1f7411527a5716ad0864edd93184aa88a18123d |
refs/heads/main | <file_sep>import React from 'react'
// import {Link} from 'react-router-dom'
const Footer = (props) => {
console.log(props)
const footerStyles ={
display: 'flex',
position: 'absolute',
bottom: '0',
justifyContent: 'space-around',
alignItems: 'center'
}
return (
<foote... | 593db557133d233e0c0895582d4aff6802d854c0 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | micahabanschick/AweSum | c4a3ed853c5fcbf06b88b18be4e79d0ef80b34c4 | cbea7e4778a7320e24076689a8c446252768a4fe |
refs/heads/master | <repo_name>Mjernstrom/oil_App<file_sep>/src/app/tab1/tab1.page.ts
import { Component } from '@angular/core';
import { Storage } from '@ionic/storage';
import { Router } from '@angular/router';
const isEqual = require('lodash.isequal');
@Component({
selector: "app-tab1",
templateUrl: "tab1.page.html",
styleUrls: ... | 0fbb986ac65e9a7d0ed4b18ca37e8b839dffbcdb | [
"TypeScript"
] | 5 | TypeScript | Mjernstrom/oil_App | ed95274178f93cfdd8042cfddd5b6c8beb9f165f | e01a23cb5e6a3d2439538953e6cdd8e0737b4c6d |
refs/heads/master | <repo_name>tcnghia/dapr<file_sep>/docs/release_notes/template.md
# Dapr $dapr_version
We're happy to announce the release of Dapr $dapr_version!
We would like to extend our thanks to all the new and existing contributors who helped make this release happen.
**Highlights**
If you're new to Dapr, visit the [gettin... | 51ac798177a6e15edae4329576dea5efdf876e79 | [
"Markdown",
"Go Module",
"Go"
] | 3 | Markdown | tcnghia/dapr | cb1f9a4185c88a449b5bcb9341e5849c9b8fde87 | e919bccaca0835297ec2b0d4d9347b2cb9aa0c45 |
refs/heads/master | <file_sep>#include "LocalSearch.hpp"
LocalSearch::LocalSearch(NeighbourAlgorithm* neighbour_algorithm) {
neighbour_algorithm_ = neighbour_algorithm;
}
Solution LocalSearch::run(Solution& solution) {
return optimal_search(solution);
}
Solution LocalSearch::optimal_search(Solution& solution) {
neighbour_algorith... | d802f562e217c78708951b2e4e542fd98cd640f4 | [
"Markdown",
"Makefile",
"C++"
] | 127 | C++ | AlbertoCruzLuis/DAA-ULL | abd3f987529071b7344d311942f06495240b8cdd | 65460de14618590ef0c971b5b791ada6b1e86f95 |
refs/heads/master | <file_sep>import pandas as pd
import numpy as np
from lenskit import batch, topn
from lenskit import crossfold as xf
from lenskit.algorithms import item_knn as knn
from lenskit.algorithms import funksvd as funk
from lenskit.algorithms import als
from flask import make_response, abort, jsonify
# read in the movielens... | e8eaf4e35c4ea1ed62c4978447598f920b97686b | [
"Markdown",
"Python",
"Dockerfile",
"Shell"
] | 7 | Python | tudousponge/WebRec | 7a5e32a31eff99dcea7d19fbe368aa2eca836dae | 5fef6d00e695b8fad101053a7389d10b25735aab |
refs/heads/master | <file_sep>/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {Container,Content} from 'native-base';
import {Footer,FooterTab,Button,Icon,Badge,Text} from 'native-base';
import {AppRegistry,Alert} from 'react-native';
import PushScre... | 8bb0db3dc9a80b9f3550368460107fdadf6b3f99 | [
"JavaScript",
"Markdown",
"Gradle"
] | 5 | JavaScript | ashifa454/TASK-REACT | fa52da70c0979e2ffc37baefd68b81c0638b7fdb | 06bfdd88f90d2ca3b693193024f1de4f2bf2d738 |
refs/heads/master | <file_sep><?php
header('Access-Control-Allow-Origin:*');
$url = $_GET['url'];
$ret = file_get_contents($url);
echo $_GET['callback']."(".json_encode($ret).")";
?>
<file_sep><?php
header('Access-Control-Allow-Origin:*');
$type = $_GET['type'];
$callback = $_GET['callback'];
$url = "http://v.juhe.cn/toutiao/index?type="... | 7ab8c3d5259b047f585bd2d1c979904463d2a3b5 | [
"PHP"
] | 2 | PHP | fangcong27630/newlist | 43a36a7b027b20824fa0cd703648020ec6f4c05c | a9a5932e5ef651c6798649a28546b675ffdfef37 |
refs/heads/master | <repo_name>fazleyKholil/CKOShoppingApi<file_sep>/CHCKOShoppingApi/Models/IShoppingRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CHCKOShoppingApi.Models
{
interface IShoppingRepository
{
Dictionary<string, Lis... | 0554cd50da7d8b3c7a9deb06c9e39a6e51e390ed | [
"Markdown",
"C#"
] | 5 | C# | fazleyKholil/CKOShoppingApi | afc233737e34439037a4a014ea0b6dd394d1dba3 | c7bd5692e404a11c67710765d04260ac2a0cd0ba |
refs/heads/master | <repo_name>KaranKamath/fish-and-chips<file_sep>/test/index.js
var should = require('chai').should(),
fishAndChips = require('../index'),
toAmerican = fishAndChips.toAmerican;
describe('#toAmerican', function() {
it('converts capitalise to capitalize', function() {
toAmerican('text-transform: capita... | 7a285392805bf8886c9dbe3cb18a4e37babf3bfc | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | KaranKamath/fish-and-chips | e140e1b128fa60fc60bc12893ef43e62b98bc8bf | 525087398ff3a2a05c6020404d6596c70c10e671 |
refs/heads/master | <repo_name>kamalnirajb/SparkProfile<file_sep>/app/src/main/java/com/niraj/sparkprofile/adapters/HomePagerAdapter.java
package com.niraj.sparkprofile.adapters;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
... | fc9a6d431e2153a05c162bfee76bbe1eb961f134 | [
"Java"
] | 9 | Java | kamalnirajb/SparkProfile | 970f40fa7273793239aa8a4654ea5ef6586ab359 | fe29baed75fc5182324910a0f4b3b6da76494ccb |
refs/heads/master | <file_sep># What is the signal-to-noise ratio of phase-contrast imaging? Can it be infinite?
<a href="https://doi.org/10.5281/zenodo.1463273"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.1463273.svg" alt="DOI"></a>
A scientific publication, describing a puzzle which tackles an apparent paradox in the phy... | 6fc4da5010605c3a8ddeb04d6712cdbb7f5e9830 | [
"Markdown",
"Python"
] | 2 | Markdown | calico/adaptive_interference_inference | 3694f6a3cae916b783c13756f1ef4060cf7d7582 | 2aede0355c4da64233b06b5aac1949f8ff810375 |
refs/heads/master | <file_sep>export class Ride {
departure: string;
arrival: string;
departureTime: Date;
seatsAvailable: number;
pricePerSeat: number;
animalTypeIds: any[] = [];
carTypeId: string;
userId: string;
}<file_sep>
import { HttpClient } from "@angular/common/http";
import { FormGroup } from "@an... | 2be19da9bf17a8667fc1b3a071294736a47e6cd6 | [
"TypeScript"
] | 7 | TypeScript | KatyIftimie/WoofWoofCarAngular | c439d1776265bcc479864775e904ea5e30e43836 | d84a72912d180654e3fe3d5d1670bdb9dbece372 |
refs/heads/master | <repo_name>dglittle/python-eval<file_sep>/myutil.py
from time import time
import hashlib
import random
from google.appengine.api import memcache
import string
from google.appengine.ext import blobstore
from google.appengine.ext.blobstore import *
from google.appengine.ext.webapp import blobstore_handlers
fr... | 5b7dfd17a795ba3dc1c7385f0689a556cd55b733 | [
"Python"
] | 2 | Python | dglittle/python-eval | 1b38d8a176858442c6a62559dcbb36499116418e | 0b5a9e69fb376e9d1d59695444af19e68896432e |
refs/heads/master | <repo_name>stuarth/capped-hyper<file_sep>/examples/simple.rs
extern crate capped_hyper;
extern crate futures;
extern crate hyper;
extern crate tokio_core;
// use capped_hyper::Client;
use capped_hyper as ch;
use futures::{future, Future, Stream};
use hyper::{Body, Client, Error, Request};
use std::io::{self, Write};
u... | 03470e93c4a7d32263acc7189528a0162e32695b | [
"Rust"
] | 2 | Rust | stuarth/capped-hyper | c76506ecaf43418e9f623fad6436532351ab4526 | 3c6ca8dd01c4f471dc441c699764c49a26a25f56 |
refs/heads/master | <repo_name>sangramkonde/RetailPro<file_sep>/RetailManager/src/main/java/shop/retail/service/ShopLocatorImpl.java
package shop.retail.service;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereo... | 0e5bf2afaa790381fbf9f5a944a43a5ecb35a9cc | [
"Markdown",
"Java",
"INI"
] | 10 | Java | sangramkonde/RetailPro | 3c77f2f4fa57b1e21d1e2108726815b1053f43f3 | ae99efef16d6e674e81ec6dd9b1864e74475cbc6 |
refs/heads/master | <repo_name>hoanhnv/Owin<file_sep>/README.md
Owin
====
<file_sep>/Owin.Web/Startup.cs
using Nancy.Owin;
using Owin.Web.App_Start;
namespace Owin.Web
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureApi(app);
app.UseNancy(ne... | 3f96443ccd3249b4c45f366c421f974024835f8a | [
"Markdown",
"C#"
] | 14 | Markdown | hoanhnv/Owin | 0694e2fca2c6a02f8432fa9193ab328169293bb4 | 3667bcc6bc1167618d242e8af3643e34b2e200de |
refs/heads/master | <repo_name>work-shop/ln-frontend<file_sep>/templates/partials/about/about-cv.html
{% macro section( item ) %}
{% if item.cv %}
<section class="insight container academic mt4 mb4">
<div class="row">
<div class="col-sm-12 centered mb3">
<h2 class="insight-title page-color">Curr... | f6acd31f75338fce1e91a948219a6f5e17062594 | [
"JavaScript",
"HTML"
] | 16 | HTML | work-shop/ln-frontend | aaa17bfc3640924bdbbac990e1afaf1d3499cbef | f9917f602d0fe1ac62b83eda435f0256ba9e63ff |
refs/heads/master | <repo_name>lonelyplanet/front-end-candidate-lightbox<file_sep>/lightbox.js
function Lightbox( options )
{
// your code here
}
Lightbox.prototype.open = function()
{
// your code here
};
Lightbox.prototype.close = function()
{
// your code here
};
<file_sep>/readme.md
# Lonely Planet Front End Code Test
Welcome... | a108872a516c11ba60d81f0496f1bf9a125aac3a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lonelyplanet/front-end-candidate-lightbox | d1fb991170ff42ce62fa9367c4d437b057e972c7 | c288ca452fe0e851e16a32327cf17586b8a283af |
refs/heads/master | <repo_name>elisey20/practica_Tasks_bit<file_sep>/main.cpp
#include <iostream>
#include <stdio.h>
using namespace std;
void task1()
{
unsigned int n;
cout << "TASK__1" << endl << "n = ";
cin >> n;
cout << (1 << n) << endl << endl;
}
void task2()
{
unsigned long x;
cout << "TASK__2" << endl <<... | f5a2985f7171633d9db932f4c5832234b6ab24b3 | [
"C++"
] | 1 | C++ | elisey20/practica_Tasks_bit | 2ddc1cd6f9fbccd09991315cd10c9c4c10ae0e1b | ec55bd407ad97abba424c34dde045ad806d034ce |
refs/heads/master | <repo_name>pyohannes/shellscript<file_sep>/test/test_design.py
import shellscript
from shellscript.proto import OutString, ErrString, dev
from shellscript.util import to_py_str_list
# Tests that assure that all shellscript commands correctly implement the
# shellscript protocol.
def _get_test_module_for_command(com... | 5ade64bff3a31c2aa9cef4191e8e831345b56122 | [
"Python",
"reStructuredText"
] | 46 | Python | pyohannes/shellscript | f74b295f6fad35bb4fe32b748453d2ad2d494ada | 64d65e0746618e0d8efcd39d196c71985f7238ee |
refs/heads/master | <repo_name>Yicong-Li/random-process-project<file_sep>/README.md
# random-process-project<file_sep>/seir_with_unscented_kalman_filter/data/convert_mat.py
import pandas as pd
import scipy.io as sio
import numpy as np
# data preprocessing
data = pd.read_csv('owid-covid-data.csv')
country = 'United States'
country_data = ... | 52a1e4a04e86d781c893aff94e0525ec17dcc0be | [
"Markdown",
"Python"
] | 3 | Markdown | Yicong-Li/random-process-project | 532c7bfd64219e5e8f16969c568ace69417ae05a | 4ea74a611cf9fb8335c8b3780ca0db918266a748 |
refs/heads/master | <repo_name>alex-hh/motif_projection<file_sep>/core/data.py
import os
import sys
import numpy as np
import h5py
class Data():
"""
Object used to load data. The training data is returned batch by batch
whereas the test and validation data the entire dataset is returned. A
generator can be returned for training... | e4932d0edeb4f798e025737936a6339d3e63f547 | [
"Markdown",
"Python",
"R",
"Text"
] | 16 | Python | alex-hh/motif_projection | 34f6829162959ad896f09a39e1cd13bfc7152b98 | fcc86effd45de0e922c6bbe10da37efdaaffd2f6 |
refs/heads/master | <repo_name>sri-prasanna/WebServiceTestHarness<file_sep>/UI.Core/PortNumberGenerator.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.NetworkInformation;
namespace TestHarness.UI.Core
{
public delegate void PortNumberAvailable(long nextPortNumber);
... | f32fdd3f1a42c26d86f2781fca4cc04cd4d78aef | [
"Markdown",
"C#"
] | 27 | C# | sri-prasanna/WebServiceTestHarness | 8f39514829343689fc147404f331ee2a08bb46bf | d4eefeaed4e573e504bada13e0b45997bc96fff2 |
refs/heads/main | <repo_name>Martje55555/videos-react<file_sep>/src/components/ButtonMore.js
import React from 'react';
const ButtonMore = () => {
return (
<button className="ui right labeled icon positive button">
<i className="right arrow icon" />
Show More
</button>
)
}
export d... | 18e3767e9d97a0d25986288b1dfd03f64d095fc5 | [
"JavaScript"
] | 2 | JavaScript | Martje55555/videos-react | f2835c2954b8926c32c703467137cd7132aeb334 | 13799f073a9551a01c9266d0687757179b9266d8 |
refs/heads/main | <file_sep>import { ThrowStmt } from '@angular/compiler';
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-input-component',
templateUrl: './input-component.component.html',
styleUrls: ['./input-component.component.css']
})
export class InputComponentComponent implements OnInit {
... | fa0825048afbb259e2bf7b579f31946022223b4b | [
"TypeScript"
] | 1 | TypeScript | waqassadiq/basics-assignment-2-start | b6423c31e03319f0ca73da24eb0bb01d7417772e | 204bea4e5b3d502df4b492051b34e253360aaf18 |
refs/heads/main | <file_sep>
$(function(){
$(window).scroll(function(){
var w = window.innerWidth;
if(w<992){
if ($(window).scrollTop() > 30)
{
$("#select-colors").hide('fast');
}
else
{
$("#select-colors").show('fast');
}... | d09a0e39b626ef4e44b33204ee97979985af4e76 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 18 | JavaScript | birthtecnologia/arau2020 | 644526f9727eb4da016525baca95e5be1df59447 | 56bfc5e8b9516dc7f75ec0db1dc3b5e0c474fb42 |
refs/heads/master | <file_sep>class Solution:
def plusOne(self, digits: List[int]) -> List[int]:
sum = 0
for i in range(len(digits)):
sum += digits[i] * pow(10, len(digits) - 1 -i)
sum_str = str(sum + 1)
return [int(j) for j in sum_str]<file_sep>class Solution:
def singleNumber(self, nums: List[int]) ->... | 3e9b43191e06f94c08e880e78eefc41ffbae3d5c | [
"Python"
] | 5 | Python | stephenxieber/Leetcode | ca9fb47e4394aeeccd895e2caf6d85bb5207ecd2 | 337edd45fb6847706758f9f92aee33586a58e696 |
refs/heads/main | <repo_name>Dongw1126/algo_team<file_sep>/Project1/robot.h
#pragma once
#include <iostream>
#include <string>
#include <windows.h>
#include "map.h"
using namespace std;
// 아래, 위, 오른쪽, 왼쪽
int dx[4] = { 1,-1,0,0 };
int dy[4] = { 0,0,1,-1 };
class robot
{
private:
int x, y;
public:
robot();
... | 15d9c8a27da8a0be6b9bad0de33806d79c0cb03a | [
"Markdown",
"Python",
"C++"
] | 6 | C++ | Dongw1126/algo_team | cc0e0a0adb7de1646f141699c05a95d27acb831a | 36b7cfbbd1ef0ec81024987f1ed0f22ba59a75c6 |
refs/heads/master | <file_sep>package com.interview.car;
import static com.interview.car.Transmission.*;
public class Car {
private Engine engine;
private Transmission transmission;
private SteeringWheel steeringWheel;
private Brakes brakes;
private Speedometer speedometer;
public void turnRight() {
stee... | af1e2d153fd1207ad4e7fb25d0bd6df993a77f30 | [
"Java"
] | 3 | Java | ckembel/interview | 1950d504f511ae5983a9c6c725a87ec8d53f88a9 | 65cfe0d27dc96b0e635a87e7955e64200c1d21de |
refs/heads/master | <file_sep>require('dotenv').config();
const server = require('../../server');
const request = require('supertest')(server);
let token;
beforeAll(done => {
request
.post('/api/register')
.send({
first_name: 'Bob',
last_name: 'Robert',
email: '<EMAIL>',
password: '<PASSWORD>'
})
... | b2fb6589587a79d4f0e5c87094dfd92d1a658261 | [
"JavaScript"
] | 2 | JavaScript | shahidul56/Back-End | 20ff7cdc0c6f275ddbe8394279b921e904535b3f | e0c90c815d591545c883ca733b392ced2a984cff |
refs/heads/master | <repo_name>mitchneu/BBjGridExWidget<file_sep>/docs/Demo.bbj.md
Demo.bbj
========
A SQL Database Browser with BBjGridExWidget
First of all, add a use statement
```
use ::BBjGridExWidget/BBjGridExWidget.bbj::BBjGridExWidget
```
```
use com.basiscomponents.bc.SqlQueryBC
? 'HIDE'
declare auto BBjTopLevelWindow wnd!
dec... | 22081bb9f39bc8d75120633931c2e4f6839d61c1 | [
"Markdown",
"JavaScript"
] | 15 | Markdown | mitchneu/BBjGridExWidget | 6bb3792fa9523f924316841162f79344ffefa856 | a0feea85fa8f964400e27f91cb5cb80e0126e993 |
refs/heads/master | <file_sep># krsa
krsa <-
function (file ,iterations, numSigSubs, sigSubs) {
withProgress(message = 'KRSA', value = 0, {
#incProgress(1/5, detail = "Reading file")
subKinase <- read.table(file, header = TRUE, sep = "\t", as.is=T, quote = "\"", check.names=FALSE, stringsAsFactors=FALSE)
kinaseSe... | fc1b9e10cc6ee70a388ba4718f7491500a5ef63e | [
"R"
] | 10 | R | jackylbk/KRSA | a199a11e36bb0579c18f0ec3011b4a31ad2cba17 | 8f4856982412b9866e2e16932bed3378fd2e3ab2 |
refs/heads/master | <repo_name>lmy8848/WeTalkServer<file_sep>/src/com/wt/server/common/User.java
package com.wt.server.common;
public class User {
private String userId;
private String pwd;
private String nickName;
private String sex;
private String email;
private String head;
private long lastModityTime;
public String... | 60478e3725e946d82c9b405aeef5728a01d0b883 | [
"Java"
] | 3 | Java | lmy8848/WeTalkServer | 4a2489d4393ef7140655200f3b81e4a3942236be | 0b01cc139ec4db3257e4ddf3181526255c46e280 |
refs/heads/master | <file_sep>package com.dai.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResp... | 562b85ebb0c2f81e679a479537e71b313f8437c6 | [
"Java",
"C++"
] | 13 | Java | 210290/experiment | aa42de31b49996fcb8f18c293f89ec33f08ab686 | c3bb6eff3b2a6ddc01e89342b6ff2a344698e2cf |
refs/heads/master | <repo_name>shubhamwattamwar94/Image-Convolution<file_sep>/src/OwnConvolutionCode.java
import com.sun.corba.se.impl.orbutil.ORBUtility;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.awt.image.ConvolveOp;
import java.awt.image.DataBufferByte;
import java.awt.image.Kernel;
import java.io.Buffered... | 0756c740165936591f1e183f8e079556a3943fea | [
"Java"
] | 2 | Java | shubhamwattamwar94/Image-Convolution | f274056ab69dd1670852378638e3e715e7538348 | 6f5c99abe12841d3d95aa08410c29ec241c6ea7b |
refs/heads/master | <repo_name>ETagu/midterm<file_sep>/10/prime.js
var primes = [2];
for (i = 3; i <= 300; i += 2) {
for (j = 0; i > primes[j] * primes[j] && i % primes[j] != 0; j++);
if (i < primes[j] * primes[j]) primes.push(i);
}
function prime(aaa){
returnValue = false;
if(Math.floor(aaa)==aaa && aaa>=1){
for(i=0;... | 4b6aaa049ff088f56b8611313f974ffa7eae7fda | [
"JavaScript"
] | 6 | JavaScript | ETagu/midterm | 8e60f01167cbdcbf0785b2175b3b2353a61d2194 | a39ef995eeefe1f8974b7718092f9c4efd7abe8b |
refs/heads/master | <file_sep>//
// PeripheralDiscoverer.swift
// HelloBT4
//
// Created by <NAME> (<EMAIL>) on 06/07/16.
//
import Foundation
import CoreBluetooth
import UIKit
enum kPDNotificationType:String{
case newPeripheralsDiscovered
case peripheralStateChanged
case serviceDiscovered
case characteristicDiscovere... | db24c335e676dfcc5bf0f46d469684a2bf5568d2 | [
"Swift",
"Ruby",
"Markdown"
] | 22 | Swift | MargauxDang/JumpIn-iOS | 1e74a523d6579f6be4f96f1d6c508003cd98a62f | fdc44b121f75c4c1fdfe6ba126fdfa5ccc86cc1a |
refs/heads/master | <repo_name>LowD/LAMP_2<file_sep>/index.php
<?php
if(isset($_POST['choice'])){
//do stuff pour envoi post
header("Location: index.php");
exit;
}
//stuff pour tout le monde
require('card.php');
//SCENARIO 1
if(empty($_SESSION['game_state'])){
$_SESSION['game_state'] = new GameState();
$deck = new De... | 704181fe63b12a06b9371b20b3321a3dbfcc998e | [
"PHP"
] | 1 | PHP | LowD/LAMP_2 | 0c71ce1eae296fd601e5cdc0650a1631dcb6de55 | 9ec34a5a0ec8e2b0a277449c70c600a7ddd72256 |
refs/heads/master | <repo_name>CichoCiemna/java<file_sep>/README.md
# Java calculator
# Running locally
0. Make sure you have openJDK and JRE installed:
- `sudo apt install default-jre`
- `sudo apt install openjdk-8-jdk-headless`
1. Build with `javac -d out src/Main.java`
2. Run with `java -cp out Main`
<file_sep>/src/Mai... | d2a03d737ea5fe9078d6a1894b6eb35fd5d39e6f | [
"Markdown",
"Java"
] | 2 | Markdown | CichoCiemna/java | e6d929be294289563a04688fafae2f49f7b9ba84 | 8536c845d1f42bb54fd52f8a6de6770691de3421 |
refs/heads/master | <repo_name>zuoshangs/sparkApp<file_sep>/src/main/java/com/zuoshangs/spark/config/prop/AppPropertiesConfig.java
package com.zuoshangs.spark.config.prop;
/**
*
* 应用配置类,应用级别的所有配置统一入口<br>
* 不建议将配置进行分散管理,原则上一个项目中仅有一个@ConfigurationProperties注解文件。<br>
* 并且建议应用级别配置均以app.conf开头,用以和框架配置做命名空间区分
*
* @author YuanZhiQiang... | 213f1f896bee91f99bf9e8d66a598c71092a8eb1 | [
"Java",
"Maven POM"
] | 6 | Java | zuoshangs/sparkApp | 849889c07c7514506f831aba30dab161c2844a37 | 746b73974f0c13e6fb487f6d8b082a25f300c957 |
refs/heads/master | <repo_name>tommykishi/dotfiles<file_sep>/.zprezto/runcoms/zshrc
# setting
autoload -Uz colors;colors
fpath=(/usr/local/share/zsh-completions $fpath)
autoload -Uz compinit;compinit -u
setopt auto_cd
export EDITOR=vim
setopt auto_list
setopt auto_menu
setopt list_packed
setopt list_types
zstyle ':completion:*' matcher-l... | 367126f0454dbcd55238f7e51aeee3c6783997e8 | [
"Shell"
] | 2 | Shell | tommykishi/dotfiles | 552d120516844f9883789fca15d2668735e184c0 | ef483c6b487387d243a24bbfa4be4e13e7cd679e |
refs/heads/master | <file_sep>#ifndef PP_HW2_RCCSIM_RCCSIM_H_
#define PP_HW2_RCCSIM_RCCSIM_H_
#include "rcc.hpp"
namespace pp {
namespace hw2 {
namespace rccsim { // Roller Coaster Car Simulation
typedef struct {
int passenger_id;
RollerCoasterCar *car;
} PassengerThreadArgs;
typedef struct {
RollerCoasterCar *car;
... | 91140cdfb815b7977f8a7cc4891666ec1dde0be8 | [
"Markdown",
"Makefile",
"C++"
] | 31 | C++ | SLMT/course-parallel-programming | b23bdc61cd569a4fa5d3c3c30fc44b7be4cb8ca8 | e414777a2f34956e33f060d79be818a9ed3baaa6 |
refs/heads/master | <repo_name>yulichswift/FastTitleBar<file_sep>/app/src/main/java/com/yulich/fasttitlebar/MainActivity.java
package com.yulich.fasttitlebar;
import android.os.Bundle;
import com.yulich.titlebar.widget.TitleBar;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
... | 94e2948a62f42e81501c8c10573480ecd0bf5b40 | [
"Java"
] | 2 | Java | yulichswift/FastTitleBar | ec0e6fdeb2b59d20028c0011e684d1246595c7e3 | b9371c8645244edc78ffa7823bd695f84f6e5e2d |
refs/heads/main | <repo_name>IamDinni/wpms<file_sep>/complaintreg.php
Your complaint has been Submitted!<file_sep>/README.md
# WPMS
---------------------------------------------------------------------------------------------------------------------------------------
... | d1c2d3cf59877662b38d076b4800d57e890baa3b | [
"Markdown",
"PHP"
] | 2 | PHP | IamDinni/wpms | 47d330bdf8d81b65ede455451fd31ed8965d94eb | b44b0fe3e0a458b60e626544378cea8c774ed4e0 |
refs/heads/master | <file_sep><?php
namespace bkanber\Translator\Parser;
use bkanber\Translator\Translatable;
use bkanber\Translator\Translation;
/**
* Interface ParserInterface
* @package bkanber\Translator\Parser
*/
interface ParserInterface
{
/**
* Returns the parser's input.
* @return mixed
*/
public func... | 633687ae7fb911468523cfaf7ac0e20f4bccec84 | [
"Markdown",
"PHP"
] | 25 | PHP | bkanber/Translator | 5a2426c498bdba41515158f9ab7594af4a831d64 | 44399d677070911ed5d7220628712c40ca67ad40 |
refs/heads/master | <file_sep># Wetty (Web TTY)
Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better)
**[Website](https://www.hivemq.com/docs/hivemq/3.4/web-ui/introduction.html)** | **[Documentation](https://www.hivemq.com/docs/hivemq/3.4/web-ui/introduction.html)** | **[GitHub](https://github.com/hivemq... | a4c16bc569dc6bb718e2fe9a9a6bd7cfdd029618 | [
"SQL",
"Markdown",
"TOML",
"Maven POM",
"INI",
"Java",
"C#",
"Text",
"Go Module",
"Go",
"Kotlin",
"Shell"
] | 464 | Markdown | gschmutz/kafka-workshop | d72435c084a98a98fa3e7f4a215ed82b06d60216 | fcc9fab3c56e7e5aa18f38ccf34501ff33fc6036 |
refs/heads/master | <file_sep>import React from 'react';
import TeamsCard from './card/TeamsCard';
import {TeamsSection, TitleHeading} from './teams-style'
// All Team Member Image Heare
import teamImg1 from '../image/image2.jpg';
import teamImg2 from '../image/image4.jpg';
import teamImg3 from '../image/image7.jpg';
import teamImg4 from... | f65b6ef11d6a8bccc3a927113de002d41c312b86 | [
"JavaScript"
] | 14 | JavaScript | Akhtaruzzamanan/personal-portfolio | caa7f076c628874dcc5b667179b87c4b394a95ee | 021d2d87c4f15b2ce9051d7c92b8b7dad97594b0 |
refs/heads/master | <repo_name>Funqy/ms-hack<file_sep>/ms-hack/MinesweeperMemory.cpp
#include "MinesweeperMemory.h"
MinesweeperMemory::MinesweeperMemory()
{
m_baseAddress = (BYTE*)0x1000000;
}
MinesweeperMemory::~MinesweeperMemory()
{
}
int MinesweeperMemory::Initialize()
{
HWND hWnd = FindWindow(NULL, "MineSweeper");
DWORD proce... | 2d96676127c38e2c895b4dbf476e88de6b2451a4 | [
"C++"
] | 7 | C++ | Funqy/ms-hack | 322db675590c370c0ee99aa0f1ff93a0885e7a0e | 4895305e56af8a536798358bed2338dc1b03d9ae |
refs/heads/main | <repo_name>Rawattt/Nutrify<file_sep>/utils/errorHandler.js
const errorHandler = (res, error) => {
console.log(error);
if (!error.status_code) {
return res.render('home', {
message: 'Something went wrong. Please reload or try again later'
});
}
switch (error.code) {
ca... | fdf020d7390ab7bb18c68f0f64e4811ecda5dff3 | [
"JavaScript",
"Markdown"
] | 20 | JavaScript | Rawattt/Nutrify | 3b1f3b2395cd79ca0104f141afc53d16836b9554 | 4dca730132c55121960a0a98c32506f82706feb7 |
refs/heads/master | <repo_name>garczarek123/nowe-repo<file_sep>/Program.cs
using System;
namespace ConsoleApp4
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("Implementacja nowej funkcjonalności projektu");
Console.WriteLine("Implementacja nowej funkcjonalności pro... | 70b87bc39526d5f02a89c9ec6494b3bed6ec9323 | [
"C#"
] | 1 | C# | garczarek123/nowe-repo | 450de7a1e6c7dbea99873a292ccd9ce59c1ab5bf | c36fba8cc4457e62f9ed2fb31c7028c210bc0af5 |
refs/heads/master | <file_sep>from keras.models import Sequential, Model
from keras import regularizers
from keras.layers import Reshape, Activation, Dropout, Input, MaxPooling1D, BatchNormalization, Flatten, Dense, Lambda, concatenate, Conv1D, GlobalAveragePooling1D
from keras.layers.advanced_activations import LeakyReLU, ReLU
from keras... | dee23a083d95e97b815921b79520efcfb1e5ff74 | [
"Markdown",
"Python"
] | 2 | Python | gyb1325/Quantized_1D_layers_keras | ee52198c922fa7c61390f8a61250e412744d918f | ba38bbe98f9b6396124979a12ca676a7078af227 |
refs/heads/master | <file_sep>import * as express from "express";
import {URLs} from "../../util/Values";
import ClientService from "../service/ClientService";
class ClientRest {
constructor(){}
public setRoutes(exp: express.Application){
exp.post(URLs.CLIENT, ClientService.create);
}
}
export default new ClientRe... | b56383e7a2e5789b2ba53279027af058ee9ce64a | [
"Markdown",
"TypeScript",
"Dockerfile"
] | 22 | TypeScript | Nosbielc/PSP-backend | 220db7ebe72d4e2b039254aec4a4d7af71c483e9 | 555409c9948db9da5e4aea264476a4755771bcb3 |
refs/heads/master | <file_sep>package com.board.config.security;
import com.board.domain.user.UserRole;
import com.board.domain.user.service.UserService;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.securi... | 8871a8b9dde41dff208c647a5267860f0e4f40af | [
"Markdown",
"Java",
"INI",
"Gradle"
] | 14 | Java | izbean-c/LGAssignment | 74a2e245bcf661c542b6446ae21ee39e4b9a1477 | 2f6abadcb9d5bba261020275e542c175256ce449 |
refs/heads/master | <file_sep>package com.github.leandrogodoycwb.aula05.programa;
import java.io.IOException;
import com.github.leandrogodoycwb.aula05.classes.FileIO;
import com.github.leandrogodoycwb.aula05.classes.Pessoa;
import com.github.leandrogodoycwb.aula05.classes.PessoaRepositorio;
public class ProgramaNew {
public... | c9b0d1ea1e643f5a76f3299f8ef288a6c1ee775a | [
"Java"
] | 3 | Java | leandrogodoycwb/aula0309 | 2fac900b05f36ecff4c07c790195b3a20ec66123 | 1876e1b8ed629e09bd9932e394a6b5bd7dabf6fd |
refs/heads/master | <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 homemanagementsystem.HomeRegistration;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.Drive... | d1317844cb14ba6345ee7fd2a91ef4310fffcb28 | [
"Java"
] | 4 | Java | bokerwere/HomeManagementSystem | 0cd6009c1d60385cdb928271153b395909667b85 | 660feae248d35b65f947f17864d5b8b8defee427 |
refs/heads/master | <repo_name>janalou/projeto_ADS-GTI<file_sep>/teste.py
print('teste)
x=input("Digite seu nome")
')<file_sep>/README.md
# projeto-teste
Projeto criado na aula de Devops.
| 80f20950accd69ceb6d8739b212df5036f872453 | [
"Markdown",
"Python"
] | 2 | Python | janalou/projeto_ADS-GTI | 9766cf585d5d7d1bb51665cb43c60b1e99addf3c | f51222ce80cb0b2e13ea2fc7c6b0ad9f337585ab |
refs/heads/main | <repo_name>SamvelDavtyan/Course_sem4<file_sep>/UnitTest_CourseWork/UnitTest_CourseWork.cpp
#include "pch.h"
#include "CppUnitTest.h"
#include <fstream>
#include "..\Course_Work\Edmonds-Karp.cpp"
#include "..\Course_Work\Graph.cpp"
#include "..\Course_Work\List.h"
using namespace Microsoft::VisualStudio::CppUni... | 95f58464d2948e98c9dec9df1a99d64f59c7ac12 | [
"C++"
] | 2 | C++ | SamvelDavtyan/Course_sem4 | 18ce8627269bc46f5d2033ea615128173a02f496 | 8a2bc717f2419f62fe7084d28d50cfd978bee523 |
refs/heads/master | <file_sep>package com.zara.portfolio;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.Fra... | 6ccc8d21ecbeb7dfc5f1f197c4322e964d3e1e4c | [
"Java"
] | 1 | Java | zara9828/portfolio | 09902b3f3fcb4e815348fb8411fab54a6eb82e0d | a70404aae48ce75db9b8657395691b2c5392e7eb |
refs/heads/master | <file_sep>require 'rails_helper'
describe ReportLog do
it "has a valid factory" do
expect(create(:report_log)).to be_valid
end
end
<file_sep>class CreateParameters < ActiveRecord::Migration[4.2]
def change
create_table :parameters do |t|
t.string :key
t.text :value
t.integer :parame... | 796fe4e8793a9b8f90fc5109c8332879f63b4888 | [
"Markdown",
"Ruby"
] | 54 | Ruby | n-rodriguez/salt-dashboard | 899c3be57a5303cd3d8fb68520fa4ff9e4ffd1cc | 651f5cac786ae0fd754647f7f41cbabb3c04a9e4 |
refs/heads/master | <repo_name>s8508235/ror_learning<file_sep>/nthu_/app/controllers/static_pages_controller.rb
class StaticPagesController < ApplicationController
def about
render text:"x"
end
end
<file_sep>/nthu_/app/controllers/z_controller.rb
class ZController < ApplicationController
def aspx
render text:"... | 62d11cebaeb97fd8a9e0e902836eae3763306f65 | [
"Markdown",
"Ruby"
] | 5 | Ruby | s8508235/ror_learning | c853b7afe38236eb6f4e480e9a2c0e1279eb8bff | c51643baceb5fdfd1cd8acffa8ab2feb7409c88e |
refs/heads/master | <repo_name>anhelina-hordiienko/project_05<file_sep>/script.js
/*$(document).ready(function() {
$(".portfolio .content").mouseenter(function(){
$(".content img").after('<div class="toolsContainer"><img src="img/zoom.png" alt="zoom" class="zoom"><div class="otherTools"><img src="img/polaroid.png" alt="polaroid"><img s... | 2697e060129d9bcc57187bdc9b35bd85f43b1516 | [
"JavaScript"
] | 1 | JavaScript | anhelina-hordiienko/project_05 | 0d80e2d8d190d1caea1908883e41e6068be4ac23 | a01639aea3acbd08fddd230b3ab249d77750c212 |
refs/heads/master | <repo_name>petersonlima104/Films_of_Action<file_sep>/README.md
# Films_of_Action
API de filmes de ação
- Utilização:
Java8
spring webflux
Spring data
dynamodb
junit
sl4j
reactor
<file_sep>/src/main/java/com/digitalinnovationone/films_action_api/repository/FilmsRepository.java
package com.digitalinnovati... | 2e3b37f59d6e8e27d78ad5195a413a75342282e9 | [
"Markdown",
"Java"
] | 3 | Markdown | petersonlima104/Films_of_Action | c200fdd1c2f386fe141ffae03da95b1d4e317823 | 03e7a27ccea84f485d2db145bb200041922cbc10 |
refs/heads/master | <repo_name>rafuka/Dwa15-Project2<file_sep>/README.md
# Password Generator
Live URL: http://p2.jrwebdev.me
## Description
This project is a password generator inspired by the [xkcd comic](http://xkcd.com/936/).
The user can specify the number of words to use (from 1 to 5), and the number of special characters and/or ... | 5beae705695c6e2e7e3ad9a5181ed7da8b69b2cb | [
"Markdown",
"PHP"
] | 3 | Markdown | rafuka/Dwa15-Project2 | 744118bfecafd37436053023cf1f4c75e8a1d713 | deaf1008d2821976253a38f6b28a27095e18f348 |
refs/heads/master | <repo_name>rajat-29/Tetris_Game_Java<file_sep>/README.md
# Tetris_Game_Java
Tetris Game made in java during learning phase of java
## How To Play?
<ul>
<li>Just run the java file</li>
</ul>
## Instruction To Play :
<ol type="number">
<li>Press b for DOWNWARDS</li>
<li>Press r for RIGHT</li>
<li>Press l for LEFT</li>
... | 4888703a8fe0f752117c48cfc623b6f843d68c43 | [
"Markdown",
"Java"
] | 2 | Markdown | rajat-29/Tetris_Game_Java | eaca4f82d23013be5dee3a26e9a68525962f6a84 | 17fd5267109c74d5c40fd1354660e5aaab18becc |
refs/heads/master | <repo_name>southkyle/beans_bench<file_sep>/rmfile.py
import os
import sys
standard = '/mnt/dfs/1/dbtest/0000000000004235'
def Remove(path):
if os.path.isfile(path):
sz = os.path.getsize(path)
if sz != 100000:
os.system('cp %s %s' %(standard, path))
print 'cp %s %s' %(standar... | 2dacc52f1170563bbf3a3fd7fa97f4012632cc40 | [
"Markdown",
"Python",
"CMake",
"C++"
] | 11 | Python | southkyle/beans_bench | d13fd4fcd7cfba7b071e0c66b4c6de3cfc0c37d3 | 7561cb9e2eac8c879c81a4c1161007a87832b286 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from gevent import monkey;monkey.patch_all()
import os
from multiprocessing import Pool
import gevent
from envir_vars import decorators as dc
from envir_vars import dir_file_settings as df
from envir_vars import list_tools as lt
from envir_vars import pc_tools as pt
_author_ = 'luwt'
... | 06d2da73682019e2b321c33c82213a65e2271dd7 | [
"Python"
] | 11 | Python | enterpriseih/Environ_var_tool | 7c3aaea5c182f9203fc21aafaed387a1d1fab92c | f60e3d04cf4032c2f3d68e37231e1281d1a119c2 |
refs/heads/master | <repo_name>gt488/moderngpu<file_sep>/src/moderngpu/cta_reduce.hxx
// moderngpu copyright (c) 2016, <NAME> http://www.moderngpu.com
#pragma once
#include "loadstore.hxx"
#include "intrinsics.hxx"
BEGIN_MGPU_NAMESPACE
// cta_reduce_t returns the reduction of all inputs for thread 0, and returns
// type_t() for all othe... | c59ac9ff8e6b02234a6c58daef601cf7c1813630 | [
"C++"
] | 1 | C++ | gt488/moderngpu | 21fc74abd4dab7b115e528d2201a10c62604ca45 | a407d0fbecbaf9c817cd15efef93b7b6f06c7cbd |
refs/heads/master | <file_sep>#!/bin/sh
while read line
do
if [[ $line == \>* ]]
then
file=$line
echo $line >> $2/$file
else
echo $line >> $2/$file
fi
done < $1
<file_sep>/**
* check if form is ready
* all necessary fields must be properly filled out
* files must be smaller than 8kb for fasta files and 500kb for image file
*/
func... | 62a76507c308f49bdff4a8fc386ff7338c71ceb8 | [
"JavaScript",
"PHP",
"Shell"
] | 7 | Shell | JakubSaksa/bp_text | 61a75ddef4e36f74037df6c47ecbf77beec7c99f | ebf3a5c92b186d7bf66cf4f3fa6d861e589d1439 |
refs/heads/master | <repo_name>mhazwankamal/zxcvbnm<file_sep>/app/src/main/java/mmanager/scnx5/com/abcauthabc.java
package mmanager.scnx5.com;
public class abcauthabc {
public static String rabcauthabc() {
return "apps/loginfromdevicetable3";
}
}
<file_sep>/app/src/main/java/mmanager/scnx5/com/mitvmanager/Exoplayer/OnKey... | bdd91f78ba6984d7c22643dfd2a3449ec3cb75f6 | [
"Java",
"Gradle"
] | 29 | Java | mhazwankamal/zxcvbnm | cc2997d25f1916d0229abe7f7739b19f8db543c1 | 2b7f1c2c4263c761a9ff8f38e412388ee85aa4e0 |
refs/heads/master | <repo_name>AlwinEsch/visualization.starburst<file_sep>/src/StarBurst.cpp
//
//
// StarBurst.cpp ::: This Is the Starburst XBMC Visualization
// V0.75 Written by Dinomight
// <EMAIL>
//
//
//
//////////////////////////////////////////////////////////////////////
#include "StarBurst.h"
CVisualizati... | cf3b9e409a06eae2702b7fbe127ccc6d4ac3bde7 | [
"C++"
] | 2 | C++ | AlwinEsch/visualization.starburst | 41371dc6add96e0f55357c4785dd51d43ba5ecf9 | 9cc402af56d289c4e323b016bcd02a24369944a8 |
refs/heads/master | <file_sep><?php
namespace App\DataFixtures;
use App\Entity\User;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\Persistence\ObjectManager;
use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
class UserFixtures extends Fixture
{
private $encoder;
/**
* UserFixtures... | 52275ff9dc847ef64c45d74cd27d6d5e5e412861 | [
"Markdown",
"PHP"
] | 4 | PHP | Poniav/eProgestExo | 226e775e2f2f8fbebcf0c6773567cc162b6e46c9 | a3a67656272689910d15aac68587f8cb0a1afd99 |
refs/heads/master | <file_sep>package com.edsonj.eoh;
import java.util.Date;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestTemplate;
import com.edsonj.eoh.entity.Cic;
import com.edsonj.eoh.entity.Party;
public class ObjectCreationTest {
public static void main(String[] args) {
... | 1903caae976319d8e49804584ff42188426b9a1c | [
"Java",
"INI"
] | 6 | Java | edsonj85/Goldenrule | 7840ed3490dca09f5057a509a01d6104c50938c7 | 189c89ed37de7a61a96fb9d7be366bec87dc02de |
refs/heads/master | <file_sep>import webpack from 'webpack';
import detect from 'detect-port';
import openBrowsers from 'open-browsers';
import WebpackDevServer from 'webpack-dev-server';
import load from 'loading-cli';
import 'colors-cli/toxic';
import conf from './conf/webpack.config.dev';
let PORT = 2087;
const HOST = 'localhost';
co... | 68fe2c166fbd650828b8cdc4efcebc864c2675e6 | [
"JavaScript"
] | 1 | JavaScript | krishna2nd/uiw | 09bf71589f22b7ccd9f82461597d76ea0d359396 | be82b954d11bc1f5e3226cbf59c178711c064a89 |
refs/heads/master | <repo_name>ranggakd/HT_log<file_sep>/ht_log.sql
-- phpMyAdmin SQL Dump
-- version 4.7.7
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 22 Jan 2020 pada 09.27
-- Versi server: 10.1.30-MariaDB
-- Versi PHP: 7.2.2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET... | fe8444ef6261b8f298cde13b8049a5419d72fd12 | [
"Markdown",
"SQL",
"Python",
"PHP"
] | 7 | SQL | ranggakd/HT_log | 64454a9309ee093836e3446eaa6d20c8a18839a5 | 5ca99e8df419d2d5929de2985093c8e7f425f519 |
refs/heads/master | <repo_name>dannylee8/module-3-project-api<file_sep>/app/services/bet_serializer.rb
class BetSerializer < ActiveModel::Serializer
# include FastJsonapi::ObjectSerializer
attributes :user_id, :result, :amount, :created_at
belongs_to :user
end<file_sep>/db/seeds.rb
# This file should contain all the record ... | d61e1c3f63417805693993382a565cd0a6981b7a | [
"Ruby"
] | 8 | Ruby | dannylee8/module-3-project-api | 39439db0db4c65356abd5d5d8c8057d540a1c56b | 6e1ec21c1a245c5a1844d84d071b8be6db2eacfe |
refs/heads/master | <repo_name>GuerraAna/app-MeResponda<file_sep>/README.md
# Aplicativo Me Responda: "Me faça uma pergunta?" :question::smiley:
Assista o vídeo a seguir:
[](http://www.youtube.com/watch?v=mFOracFClBg "<NAME>")
## Introdução:
. Você já quis estar mais próximo de b... | eff1637f4e8f09efe05bcfe60d2770790f01f8c2 | [
"Markdown",
"Kotlin"
] | 2 | Markdown | GuerraAna/app-MeResponda | eebcff3bce064968061b9f39c3a3916f3f5d77f8 | 9de1b88372f25bfe76a87709580bdd49dc6eeca8 |
refs/heads/master | <file_sep>FROM prima/filebeat
VOLUME /config
VOLUME /logs
<file_sep>from pyspark import SparkConf, SparkContext
import collections
import operator
conf = SparkConf().setMaster("local").setAppName("AccidentCity")
sc = SparkContext(conf = conf)
def parseLine(line):
fields = line.split('\t')
cityState = field... | b3f59050ea8c8a2eb3d795eb794846be2d8512b4 | [
"RMarkdown",
"Markdown",
"Java",
"Python",
"Dockerfile"
] | 12 | Dockerfile | Pooja-Mahadev-Soundalgekar/IEEE-Accident-Prone-Area-Detection | 0857128208ff1d0af66793a9a54f6cb7672a2624 | 7339ddea0e61480970d2103be90060f88daf87d9 |
refs/heads/master | <repo_name>fgfan98/smart_community<file_sep>/src/main/java/com/gigsider/vo/AdminVO.java
package com.gigsider.vo;
import com.gigsider.po.Admin;
import org.springframework.stereotype.Service;
@Service
public class AdminVO {
private Admin admin;
private String msg;
public Admin getAdmin() {
return ... | bcaff0d661c41ad90e921e59467429018a1ef4d0 | [
"Markdown",
"Java"
] | 22 | Java | fgfan98/smart_community | 00e1fadb0dfb4afd1508af50e4a939001fbf7be5 | 3d3c722e991c9d2f45ff4955e1030132ff953f85 |
refs/heads/master | <file_sep>package fileWorker
import (
"fmt"
"io/ioutil"
"os"
"strings"
)
func FileRead(path string) error {
path = strings.TrimRight(path, "/") + "/" // so not to depend on the closing slash
files, err := ioutil.ReadDir(path)
if err != nil {
return fmt.Errorf("cannot read from file, %v", err)
}
for _, f :... | 5ea16f6779c16657729782c09ed890a7525f7163 | [
"Markdown",
"Go"
] | 9 | Go | JackShadow/go-testing | da90f24d0cb2aa3a14b9b6efcd768c9353115fe2 | df1853a953823127f02ce0b847727d261644486d |
refs/heads/main | <repo_name>094459/websummit-demo<file_sep>/6-flask-docker-ecscli/web/app.py
# app.py
from flask import Flask
from flask import request, render_template
from flask_sqlalchemy import SQLAlchemy
from config import BaseConfig
app = Flask(__name__)
app.config.from_object(BaseConfig)
db = SQLAlchemy(app)
from models im... | 2a46302eae1be7cd5f8110c562eacd2609722534 | [
"Python",
"Text",
"Dockerfile"
] | 7 | Python | 094459/websummit-demo | 650cc00659c0af38d2c1d2973918e2f4e8398192 | a311c138b17a2a36862e5c5e7b6e735191638f76 |
refs/heads/master | <repo_name>conanjacksion/GradlyBuilder<file_sep>/src/com/fpt/util/StringHelper.java
package com.fpt.util;
import java.io.File;
public class StringHelper {
public static String getLastElementFromUrl(String url) {
String result = "";
if (url == null || url.equals("")) {
return result;
}
String[] urlArray =... | 302d65af3123bc15ff854cb5c3ecf9df0690e69f | [
"Java"
] | 11 | Java | conanjacksion/GradlyBuilder | 8b43bc89fb690ecf51685ec9d4f0bfd22adc7a16 | 1e850ceece96902345285bce551f90ed0e183442 |
refs/heads/master | <file_sep>void setup() {
// constants won't change. They're used here to
// set pin numbers:
const int buttonPin = 2;
const int ledPin = 13;
const int motorIn1 = 9;
const int motorIn2 = 10;
int stat = 0;
#define rank1 150
#define rank2 200
#define rank3 250
int ledState = HIGH;
int buttonState... | c8f01249b1c39e0d2e86d703810fcb11a1f4ecbf | [
"C++"
] | 1 | C++ | ctrang1/Arduino | 3135f63bc588610a3d08cfb84a206ba56b9c8433 | d164ff4f1022477a149aa0c91b6669102902fdc8 |
refs/heads/master | <repo_name>atlasgalt/arduino_security_system<file_sep>/main.ino
#define pirPin 2
#define BuzPin 11
void setup()
{
Serial.begin(9600);
pinMode(pirPin, INPUT);
pinMode(BuzPin,OUTPUT);
}
void loop()
{
bool pirVal = digitalRead(pirPin);
var frequency = map(pirVal, LOW , HIGH, 0, 4500);
tone (BuzPin, frequency,... | 699af499772912816b669a4560c94a08a4c68003 | [
"Markdown",
"C++"
] | 2 | C++ | atlasgalt/arduino_security_system | 12447068d8889f1431ca3d2f61e4d59f4bd64a74 | bbed0755adfb0d6a60e73a0473c32bb23419158b |
refs/heads/master | <repo_name>elioqoshi/us-election-grades<file_sep>/us-map-grid.js
function renderUSMapGrid({ el, dataURL }) {
let stateData, usStates, usGrid, containerWidth;
const breakpoint = 540;
const container = d3.select(el).classed("us-map-grid", true);
const gridSVG = container
.append("svg")
.attr("class", "gr... | 128b5ba517ce5b25a2ae47901d6c5caff5e97b0a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | elioqoshi/us-election-grades | b5b4a3edcab5e84cf77aadc4d0e587a5eb31aecf | 16553d878d2ae8b5fbc2cd33f69d79622867e0d8 |
refs/heads/master | <file_sep>import React from "react";
import { Box, Image, Badge } from "@chakra-ui/react";
function Project(props) {
const { project } = props;
const { tech } = project;
return (
<div className="project">
<div className={`card-img-top ${project.name}`}></div>
<div className="card">
<div classNam... | e914f56b449bd3c55b47a37e2c68fd2346bafc75 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | SAbbas2018/sabbas2018.github.io | 9f2ae190be0ea4e75bc0f7392c25cbf32fa7ee72 | 852858e43e8104af118e7b5e8c4ffd47a9bf5281 |
refs/heads/master | <file_sep>'use strict';
angular.module('rentalapp.services.rentals',['restangular'])
.service('DataService', ['$rootScope', 'Restangular', function($scope, Restangular){
var _messageservice = Restangular.all('rentals');
var service = {
getRentals : function(){
return _messageservice.getList();
},
addRent... | acc19a5016f82493dcfbb12d98f14a0af51fe6dd | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | pramodx/angular-mangy | 214df34eebea9de5119435ab73120e412cc93ad1 | b570f63db1d3c09e6c59ab9fe4bdb3bda0f9eada |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.