branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <repo_name>piyush-jain1/ADFA-LDPreprocessing<file_sep>/README.md
# ADFA-LD-Processing
Python based data pre-processing
<file_sep>/ADFA.py
## Training data for each attack is taken from first 7 files of each type
## Training data for Normal is taken from Training_Data_Master folder
## Test data for each attack is taken... | ec3fe45b4dc334434ab0e69a742183e6694decf5 | [
"Markdown",
"Python"
] | 2 | Markdown | piyush-jain1/ADFA-LDPreprocessing | 047f5baf39872c26d91b7f457d820f70cdfa77d5 | c98f818ea18d411ee29a57b8b770b050410c91d4 |
refs/heads/master | <file_sep>import create from "../utils/createNode";
import ModuleComponent from "./Module";
import { MODULES_SIZE, DISCIPLINE_SIZE } from "../constants";
export default class Program {
constructor(layout, data) {
this.wrapper = layout.content;
this.data = data;
this.content = create("div", "program");
... | 21fe86c2739e4d29251db122dd66439a681bbf0e | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | AStashevskaya/test-project-MBA | 0b8d47dc38036aa9672ae8ab4bb43f7e7af86636 | f0f7616102d7abd67484447a3144c6038e139a48 |
refs/heads/master | <repo_name>CristopherCuin201291/IronHackManFinal<file_sep>/README.md
# Iron Hack-Man
My first game on HTML5 & Javascript
## About The Game
Thanos & Iron Man are in Titan. Thanos has got 3 of Infinity Stones (Power, Reality & Space) that’s why he is able to manipulate large objects such as asteroids or rocks. Iron Ma... | e754ba6d57c9609ef409c360f2538426de650e4e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | CristopherCuin201291/IronHackManFinal | effefc2fcbb781f34604adf74b5b54f5297da781 | 2287e68386b0d545f5ea3039aefe761e82656d58 |
refs/heads/master | <repo_name>Archer1347/LoginAspect<file_sep>/README.md
# LoginAspect
AOP进行登录校验及跳转
<file_sep>/login/src/main/java/com/archer/aspect/login/core/LoginAssistant.java
package com.archer.aspect.login.core;
import android.content.Context;
/**
* Create by linjiaqiang 5/5/21
*/
public class LoginAssistant {
private Logi... | 5f079b147a96d60fe9d57d3bec968c40a5654e47 | [
"Markdown",
"Java"
] | 3 | Markdown | Archer1347/LoginAspect | 3663723cba33accd7f76036960600fcb8cd12f19 | 6261778fea820b74d2200307490e56adcb4ae4a2 |
refs/heads/main | <repo_name>Hakkei-Co/vagrant-provider<file_sep>/README.md
# Usage
Install required provider plugins:
- [Vagrant-Secret](https://github.com/tcnksm/vagrant-secret)
- [Vagrant-Digital-Ocean](vagrant plugin install vagrant-digitalocean)
```bash
$ vagrant plugin install vagrant-secret
$ vagrant plugin install vagrant-di... | 9a2a39210c4eb8a2a86c028c1387b6b925510e94 | [
"Markdown",
"Ruby",
"Shell"
] | 5 | Markdown | Hakkei-Co/vagrant-provider | 79402d61d75a548bf14b95c73ffa24db0bed7db0 | 2722d01cd0846a47f69e777246fd322305845734 |
refs/heads/master | <repo_name>Thyaun/ClientAPI<file_sep>/src/PagueVeloz/Common/Utility.php
<?php
namespace PagueVeloz\Common;
/**
* PagueVeloz\Common\Utility.php
*
* @author <NAME> <<EMAIL>>
* @copyright 2014 ₢ Bludata Software
*/
abstract class Utility
{
public static function FormatNumber($value)
{
return preg_replace... | 61fec306ac4abb80da90d38db14feb9b439f0b2b | [
"PHP"
] | 1 | PHP | Thyaun/ClientAPI | 917d1a95acc0765cc74119b1df70273877d08df6 | 7f18dbc78566cb876cad40e09b62a92d6447e2e2 |
refs/heads/master | <file_sep><?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a grou... | 3bcdf7f6ac1d249fae8986aef8e4602e68c39a9c | [
"PHP"
] | 1 | PHP | codigolibreMx/escolarizado | eb52532cb5a352d2a931ac74aea89bba50ad6542 | d3ea7b0566f6cb14a7cf64daa69b4dfff0b540cf |
refs/heads/master | <repo_name>jschumme/my_test_app<file_sep>/app/src/components/TopBar.jsx
import React from 'react';
import ReactDOM from 'react-dom';
class TopBar extends React.Component {
render() {
return (
<nav className="navbar navbar-default">
<div className="container-fluid">
<div className="navbar-... | 0874c8dfc12339fbb4e1f86c074a002639befffc | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | jschumme/my_test_app | f6308ab4e520c5e276fe38d76d81f295a746c6de | b433086b571c302c97372e8ed545324c351c1451 |
refs/heads/master | <repo_name>WebF0x/GravitySimulator<file_sep>/GravSim/Particule.cpp
/*
Copyright (c) 2013, <NAME>, <NAME>
*/
#include "Particule.h"
Particule::Particule(const sf::Image &image, const double masse, const sf::Vector2f position,
const sf::Vector2f vitesse) :
m_mass(masse), m_position(positio... | e2c39e7e4d17e20cf93acbc38c51e80887cc5d5c | [
"Markdown",
"C++"
] | 11 | C++ | WebF0x/GravitySimulator | 62783a8c03cea8642e5431eaf66933cdd4342137 | 6b5ab198a704dc8b74d9bd70f994f39a9c66bacb |
refs/heads/master | <repo_name>MihaiBlebea/elixir-game-server<file_sep>/public/server.js
const express = require('express')
const app = express()
app.use(express.static('./'))
app.get('/', (req, res) => {
console.log('Should send the file')
res.sendFile('index.html')
})
let server = app.listen(3000, () => {
console.log(`ser... | 795f5c7c014e73657269610433ae103d6ac0d2c2 | [
"JavaScript",
"Makefile",
"Markdown"
] | 6 | JavaScript | MihaiBlebea/elixir-game-server | 11ce0676e3f9aa4dda7a0650969b70e200ea120f | f5df42e020c1adddf8ffaea1b2cc0a827b019304 |
refs/heads/master | <repo_name>Starotitorov/phaser-snake<file_sep>/index.js
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min)) + min;
}
window.onload = function() {
var SECTION_SIZE = 32;
var CANVAS_WIDTH_SECTIONS_LENGTH = 26;
var CANVAS_HEIGHT_SECTIONS_LENGTH = 20;
var CANVAS_HEIGHT = SE... | b59d446ccdef28f92974e26b157805462bd70c5d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Starotitorov/phaser-snake | 2e02f6f287ee22865517517d9dfe3148da9ae2f2 | 5e936a2abfd490042911a39c95a8fe0f7524a6f4 |
refs/heads/master | <file_sep>var Q = require('q');
var request = require('request');
var async = require('async');
request = request.defaults({
encoding: null,
timeout: 5000
});
var r;
var getData = function (urls) {
/*var urls = ['https://pbs.twimg.com/profile_images/3461494432/4650acbbdb87be334ca8802198da3f25.jpeg', 'htt... | add8fbe138fe5832389cd91831bca677b668073a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | chetandhembre/dynoImage | 41025d71a2a64853f42b63f953a255dab5186130 | 6c80af22addf6c32dee2233b975ca04369d2afd0 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { RegisterService } from '../../core/register.service';
import { IUser } from '../../../../shared/interfaces/user';
import { AlertService } from '../../shared/alert.service';
@Component({
selector: 'app-regi... | b547c0e75c411441762dc084411eeeb48efdfa70 | [
"Markdown",
"TypeScript"
] | 37 | TypeScript | dimovpetar/chat-app | 2d8068a9089ec91e8dad103dcf7b7b9de0cbe15d | 04cd97885dc70fb18152f9cbb689a24cd211deca |
refs/heads/master | <repo_name>R-Ross414/assignment4<file_sep>/Window.h
#include "Student.h"
#include "GenQueue.h"
#include <iostream>
using namespace std;
class Window
{
public:
Window();
~Window();
int time;
int start_time;
bool idle;
int idle_time;
int total_idle_time;
Student* student;
void pas... | 60a4f00442953a5a2bda2b294aaf0341c1cd6f81 | [
"Markdown",
"C++"
] | 10 | C++ | R-Ross414/assignment4 | fb8a24a22bc25aa3be669219e24183082415d483 | 2625e1b9899b7ede9ec2e65a0786ed1d177225fa |
refs/heads/master | <file_sep>import os
from cffi import FFI
with open(os.path.join(os.path.dirname(__file__), "sparkey.cdef")) as f:
SPARKEY_CDEF = f.read()
SPARKEY_DEFAULT_INCLUDE = ["/usr/local/include/sparkey"]
SPARKEY_DEFAULT_LIB = ["/usr/local/lib"]
SPARKEY_SRC = """
#include "sparkey.h"
"""
ffi = FFI()
ffi.set_source("spark... | 0b1300a90c7e48ee66ee5ae804ac51fb506d0fcd | [
"Python"
] | 3 | Python | a13x/sparkey-python | 6c1be77b3c7ae9a0fd24c5852177dc0e118bd29a | 256f6eb648afdbf96c5e9126b3a7c813c5bdf7a1 |
refs/heads/master | <repo_name>NishantThapa/AjaxTesting<file_sep>/README.md
# AjaxTesting
fetch text from a text file via ajax connection to innerhtml
live @ https://nishantthapa.github.io/AjaxTesting/
<file_sep>/js.js
//create a function
function loadDoc() {
//create a variable and assign new to it
var xhttp = new XMLHttpRequest();... | ecea88b6b0d0ec834cbe005ffe24e79711bb9360 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | NishantThapa/AjaxTesting | 56210626fa0a3575aeb648b549083fd986191706 | ed15c0dc892341a2a581b3f6922d28ae70a7a43a |
refs/heads/master | <repo_name>rohanchandane/hello-gulp<file_sep>/Gulpfile.js
'use strict';
var gulp = require('gulp');
var moment = require('moment');
// var $ = require('gulp-load-plugins');
var clean = require('gulp-clean');
var jshint = require('gulp-jshint');
var jscs = require('gulp-jscs');
var uglify = require('gulp-uglify');
var ... | 3ff4d8eb0a0ee6ff82e24865df05591adfd705c6 | [
"JavaScript"
] | 2 | JavaScript | rohanchandane/hello-gulp | cc229dbe44bb4496cceffbddbb40f35f13fce5ed | 9bf609e438fd17068e3180bb844ae0e31d2156cf |
refs/heads/master | <file_sep>// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import App from './App'
import router from './router'
import Vue from 'vue'
import Vuetify from 'vuetify'
import * as firebase from 'firebase'
import 'vuetify/dist/vuetif... | 1ea4366400977234fc0968082b45f7191a685ddb | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | AlexAndrei98/VolunteerU | 224fd5e01b15787e19a8bfa8891718a21cf9f678 | 815ce20466b1e966a91044ea20f68fb9f719783a |
refs/heads/master | <repo_name>hrishikeshpaul/noq-server<file_sep>/config/server_config.js
module.exports = {
prod: {
server: "http://localhost:3000",
client: 'http://localhost:8080'
},
dev: {
// server: "https://ancient-caverns-78426.herokuapp.com",
server: 'https://noq-server1.herokuapp.com',
client: 'https://noq-client.her... | bf1f4b30026c5d385cce7eaa2bcf0e118fd307af | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | hrishikeshpaul/noq-server | 06ac7a429f37b0255d1e638bf1a67736bc7a65a8 | 5c47694df3c55b1b1391156f888b8d1abb0542a0 |
refs/heads/master | <file_sep>#!/usr/bin/env python
import rospy
from std_msgs.msg import Float64
from geometry_msgs.msg import Twist
from math import pi
class Drivetrain(object):
wheel_center_distance = 106.9 #in mm
wheel_diameter = 83 #in mm
def __init__(self):
self.pubL = rospy.Publisher("/motor_command_left/rpm"... | 329221ba2ffee03cf42909b8c66b358e4c8debd0 | [
"Python"
] | 1 | Python | joshuayuan/suitcase | a951fdeca69908299cbe0174ea7f3ceed884b3a0 | a59181cbab8fa3b8eef351e34fc4a2d8b4bd3a32 |
refs/heads/master | <file_sep># 手机号码归属地查询
## 使用方法
使用默认的数据导入MySQL:
python main.py --loaddb
抓取更新数据:
python main.py --scrapy
## 数据来源
<http://www.ip138.com>
## 原理
遍历各个手机号码段(前7位)
<file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @author https://chenjiehua.me
# @date 2017-01-03
#
import sys
import gzip
import l... | 50ec241ac8e5c229885e33bd0dd19c350f59a128 | [
"Markdown",
"Python",
"Text"
] | 4 | Markdown | jiehua233/phoneregion | 6f50c90771061f093d2397c729abae3ab4d4ea37 | 3299aa75ea6a969f696e90ea0b74eb02afd093b6 |
refs/heads/master | <file_sep>/*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | 41669305ffe165eed30d45e9c1ff616be2c69fe9 | [
"Java"
] | 1 | Java | c2publictemp/sample-spring-boot-echo | 246c845584b9b9e3b4061b7f6b4b99b326a444e3 | 247b4e12def15488d17a636f24145f4cc320a415 |
refs/heads/master | <repo_name>TKhuslen/cs110-spring-2020<file_sep>/10am/Class40/dictionaries.py
"""
<NAME>
dictionaries.py
May 06, 2020
Experiments with dictionaries and file reading
"""
# Storing and querying associative data.
# key, value pairs
#mapping (association) between names and ages
# "Darren" -> 36, "Beyonce"... | 084007c66e13030bfe0433d9f798c9f16444bbbe | [
"Python"
] | 22 | Python | TKhuslen/cs110-spring-2020 | 601b0f243977720a6375c4cb59836d3d04dd9e33 | 05d0d5302b1c90c2b97e4e942ca620da728387c5 |
refs/heads/master | <file_sep>
describe('FCPS Test suite', function() {
var top_banner = element(by.css("img[class='col-4 mx-auto']"));
var bottom_logo = element(by.css("img[class='col-xl-6 col-8 mx-auto'"));
var Contact_info_on_Login_screen = element(by.css("p[class='m-4'"));
// beforeEach(function () {
browser.get... | c6bc0fc2658cef197b66c8f8f25bb20ebbb8eb7c | [
"JavaScript"
] | 4 | JavaScript | Naseem126/FCPS | fee3c2971e7faf23b83ae0a1d05f0be823693d7f | ff91798d98f6bf712f8580f6ef4f86df4c62f5a8 |
refs/heads/master | <repo_name>Edreff-Eric/BaseballSalaryComparison<file_sep>/TieredPlayerSalaryVialF - Eric Edreff/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.Threading.Tasks;
using System.Windows.Forms;
... | 9692741c04668caccc58e70194eb515b35258f5c | [
"C#"
] | 1 | C# | Edreff-Eric/BaseballSalaryComparison | feb62e209dfabb02c85b8cb70b2d3aa4b33e6ffd | f2f228706ee4ad76e11329ec0934c4fc4b076440 |
refs/heads/master | <repo_name>RunnableDemo/web-ssl<file_sep>/src/components/About.js
import React from 'react';
const About = () => (
<div className="content">
<h2>Your team has a staging problem.</h2>
<p>
Runnable is a sandbox service that creates <b>full-stack environments </b>
for your GitHub branches, so your t... | adebb8ad86ea31ce9c830f56e99d3c01c68391e1 | [
"JavaScript",
"Dockerfile",
"Markdown"
] | 3 | JavaScript | RunnableDemo/web-ssl | 1126c9c55532566b175e81004227c2544d74c632 | 3ad49a766319609574783dfdedcf2bcf4a024518 |
refs/heads/master | <file_sep>from django.db import models
class Author(models.Model):
full_name = models.TextField()
birth_year = models.SmallIntegerField()
country = models.CharField(max_length=2)
def __str__(self):
return self.full_name
class Redaction(models.Model):
name = models.CharField(max_l... | bc9925b5b73b3b1891aedc0153343087ab805052 | [
"Markdown",
"Python",
"Text"
] | 6 | Python | Vuatly/test-allauth | 2e6dc482b5e8166a67ba2f2be7da000c20a29d6e | 8349bc45ce3150aebac8de5c5ca3c10fb1b32e66 |
refs/heads/main | <repo_name>isabella232/elastic-transport-python<file_sep>/README.md
# elastic-transport-python
[](https://pypi.org/elastic-transport)
[](https://pypi.org/elastic-transport)
Transport cla... | 15b699a3b5a0a3f9b7455f9cbdf016e9aa97c59e | [
"Markdown",
"Python"
] | 10 | Markdown | isabella232/elastic-transport-python | 8c21eea7ba2ebacad84c563350fd8a549a1bba84 | 1e560d5d16db3e1915eaa476d28e638f6de976b6 |
refs/heads/main | <file_sep>namespace Perfectum
{
class Werkwoord
{
public readonly string Infinitief, Perfectum;
public Werkwoord(string infinitief, string perfectum)
{
Infinitief = infinitief;
Perfectum = perfectum;
}
}
}
<file_sep>using System;
using System.Collec... | e711ad2641b673e056b935e85a63181df7e24278 | [
"C#"
] | 3 | C# | ElHadri/Dutch | c252b7faae070616831dc28d0fdbd73cd75c34e7 | 04476f2bed19a3be726d1f8bdf3cec6ec34cb197 |
refs/heads/master | <file_sep>import time
class suma:
def __init__ (self):
pass
def suma(self,a,b):
global r
r=a+b
print (r)
class resta:
def __init__(self,a,b):
self.a=a
self.b=b
def resta(self):
r=self.a-self.b
print(r)
... | 84e886efb9b54e07a9aa282c3be18cb77a7889b2 | [
"Python"
] | 2 | Python | horacio2307/Progra-Avanzada-1 | c7c60ea5e0b8144e981d652cefb340a38026bfa8 | fe00335d3c0ddf684b1587d3f8c1b82a4cca5b7c |
refs/heads/master | <file_sep>const Airtable = require('airtable');
class AirtableSimple {
constructor(api, base, table) {
this.base = new Airtable({ apiKey: api }).base(base);
this.table = table;
}
async first(column, id) {
const select = `AND(${column} = "${id}")`;
try {
let row = await this.base(this.tabl... | 5f850dbeffd9da4383c0a081987e132bc7678842 | [
"JavaScript"
] | 1 | JavaScript | spenwall/airtable-simple | d822645911fa772fae334f69ca31e80adc171103 | caccb48c11494bb7d620085876392afc3e1736ec |
refs/heads/main | <file_sep># <center>A simple password generator on the command line interface:
---
# **Requirements:**
### First clone the repository:
```
git clone https://github.com/deucaleon18/password_generator.git
```
### Then install all the required npm packages:
```
npm install
```
### Run the following command in the termin... | d6b0614b8a3a95ce0f633dc87a46357b748e4656 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | deucaleon18/password_generator | 171a76b0e9658d42e663248c9efea7d735012742 | c481aeadc82b2cd0e28bf5983a68c1758ea07481 |
refs/heads/master | <repo_name>ruwan800/wikipedia-to-wordlist<file_sep>/w0.py
import codecs
f = codecs.open("wiki.xml", 'r', encoding='utf-8')
doc = f.read()
f.close()
ourList = []
newLine = ""
count = 0
newCount = 0
lineCount = 0
for line in doc.split()[:100]:
print(line)#################################
lineCount += 1
for word in li... | d467031c33e91605c60aa32f067f9ec1ad6dce49 | [
"Python"
] | 29 | Python | ruwan800/wikipedia-to-wordlist | a5681b15d48954d17e1eb03c7f5c4507e67b0af1 | d827b7ba5ba7fc6da626933db73c1b5d36cc09f9 |
refs/heads/master | <file_sep>// All sections containing parallax elements
const sections = document.querySelectorAll(".js-parallax");
//Generate parallax threshold array
function buildThresholdList() {
let thresholds = [];
let numSteps = 100;
for (let i = 1.0; i <= numSteps; i++) {
let ratio = i / numSteps;
thresholds.push... | d9e3d78a74d9730e8f0db471c9c1c744bed19cd2 | [
"JavaScript"
] | 1 | JavaScript | vfxjohow/Intersection-Observer-Parallax | 8f488b1aca129589b71369409f738e8f0472297b | 47af641372d88923e2c50b67e9a839c17c5c8f4b |
refs/heads/master | <file_sep><?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
# $con = mysqli_connect("localhost", "root","testmysql123","DeanBlog") or die(mysql_error());
include 'config.php';
//inserts comments into db
$pid = mysqli_real_escape_string($con, $_POST['pid']);
$commentauthor = mysqli_real_escape_string($con, $... | 2ff70c5945f087b5c86bff7da7a5c31a8cdd4c2f | [
"Markdown",
"PHP"
] | 21 | PHP | srikarrohit/dost | be3232cf6d115def14461c44988c83fa800a60ed | dfc1e5243e1d4f25c6f892acb923d31d17ec0cb2 |
refs/heads/master | <repo_name>vsbece9225l/vsb3<file_sep>/addwithoutarthit.c
#include<stdio.h>
int main()
{
int a=1,b=20;
int c=(a^b);
printf("%d",c);
getch();
return 0;
}
<file_sep>/greatest.c
#include<stdio.h>
int main()
{
int n1,n2,n3;
printf("enter the three numbers");
scanf("%d %d %d",&n1,&n2,&n3);
if(n1>=n2&&n1>=n3)
prin... | 8848479d54614ea5e1894a650375b670e7e8f99c | [
"Java",
"C",
"C++",
"Markdown"
] | 28 | C | vsbece9225l/vsb3 | fa259fac9c6953f1b9640ae669c208da76f562a6 | cdcdf708c78dd7bcfbf26ce5db6947f906e303b9 |
refs/heads/master | <file_sep>package cf.app.camiloceron.com.application;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import... | 8f38566cca7bb9bb3c595161729cdcad16c4a063 | [
"Java"
] | 1 | Java | CamiloCeronGomez/Codigo-Facilito-Programacion-Android | 7c3a421f5740f9c9728fc0a4be51d5b187fc9bd3 | f3b53b4ca5c14ec487ef72a763513612fe3d978a |
refs/heads/main | <file_sep>#!/usr/bin/env python
import sys
import toml
import socketio
import requests
if len(sys.argv) != 2:
print("Usage: bitbucket_approver your_config.toml")
sys.exit()
config = toml.load(sys.argv[1])
def approve(url):
headers = {'Content-Type': 'application/json'}
headers["Authorization"] = "B... | cd8096224826ec9f07b02e8e96b1c8d9d0d223f7 | [
"Markdown",
"Python"
] | 2 | Python | santochan/py_bitbucket_approver | 909a0d00fb65dbcff184220a649900c6af03d1c4 | b5a3e3c009a1c4c790f8ece1967b932405f4cea3 |
refs/heads/master | <repo_name>smv1999/Quizze<file_sep>/app/src/main/java/com/programmersgateway/sm1999/quizze/PhoneLoginActivity.java
package com.programmersgateway.sm1999.quizze;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import and... | 6f58f96025872ce13ecd51bfffc3ecc0989c3932 | [
"Java"
] | 3 | Java | smv1999/Quizze | a59eadba98a14372b866ddbeda2485a1dacc755c | a941489fb11a9c3e451f1df9555e3c791fe31004 |
refs/heads/master | <file_sep>#ifndef PREDICTOR_HPP
#define PREDICTOR_HPP
#include <cmath>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Delaunay_triangulation_2.h>
#include <CGAL/natural_neighbor_coordinates_2.h>
#include <CGAL/interpolation_functions.h>
#include <CGAL/Interpolation_traits_2.h>
#include <... | 1fa120ddadf5d9d8f1217fae5fe5f8912618e080 | [
"Makefile",
"Text",
"C++"
] | 15 | C++ | dylandronnier/Sibson | 2e58c7d3c59bc02ccda93a2f95ff9d730f1116c9 | d0433e50915c3321630a89a2e1e3b8215da5504d |
refs/heads/master | <repo_name>alfacode-me/Alfacode-Framework<file_sep>/bin/datetime.js
var moment = require('moment-timezone');
var configApp = require('../config/app');
moment.locale('id');
module.exports = {
now: (format) => {
if (format) return moment().tz(configApp.timezone).format('LLLL');
else return moment().... | 2f92f91eb6e299b765ff1416a3518685c1a6b6d7 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | alfacode-me/Alfacode-Framework | 37cf25e69459d7e6931681ed1286069bd8650cb4 | 86cb60a818a3089d997e8d7e125dfb60fca1df3b |
refs/heads/master | <repo_name>longtomin/FrInMeAn<file_sep>/app/src/main/java/de/radiohacks/frinmean/modelshort/U.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to th... | ec54cf795607f6fdcf25c15115f9af48e4222a52 | [
"Markdown",
"Java",
"Text",
"Gradle"
] | 12 | Java | longtomin/FrInMeAn | 168cee30eaa6860ed98f4470289188568bbabfb9 | 3e0f42831443fcc2c08f48b45932eea1402b4bb1 |
refs/heads/master | <file_sep>// ==UserScript==
// @name time spent
// @namespace <EMAIL>
// @description time wasted
// @version 3
// @grant none
// ==/UserScript==
var log_work = document.getElementsByName("dbfield:3:__raw_custom__:__single__:log_work_time_spent");
var duration = document.getElementsByName("dbfield:... | 47240742b7358a29a393f799be4ab78369fc8206 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jordiprats/greasemonkey-timespent | a5fc50e80380029815c25631aaa353dcc9e0ce08 | f5c26f1a2b19d274b8ab830391daea02641ef866 |
refs/heads/master | <repo_name>BITGRUP/capTuristica<file_sep>/js/mini-event-calendar.js
(function( $ ) {
//idioma
var lang = null;
if (navigator && navigator.userAgent && (lang = navigator.userAgent.match(/android.*\W(\w\w)-(\w\w)\W/i))) {
lang = lang[1];
}
if (!lang && navigator) {
... | 042037a4b32e1cf069c87fd795faec1bed36a89f | [
"JavaScript"
] | 1 | JavaScript | BITGRUP/capTuristica | d599d364eef2380782de8df244948dc9b90d6404 | ca972d4329fed9475e437a5a2102347d7bca3e53 |
refs/heads/master | <repo_name>miyatsuki/VSingerXrossPlayer<file_sep>/src/types/video.ts
export default interface Video {
id: string
title: string
song: string
singers: string[]
tags: string[] | null
metas: string[]
}
| 7b6e483b682eb1f6bfab1b287c6b9ee848d6a1fe | [
"TypeScript"
] | 1 | TypeScript | miyatsuki/VSingerXrossPlayer | 59fec450e376ffbdcf42e7b62832dfa7e6653e50 | d23e8f58e39b839c77f73dfb06e9a718ad854727 |
refs/heads/master | <repo_name>andyliu900/ideacode-apm-lib<file_sep>/apmlibrary/src/main/java/com/ideacode/apm/library/core/storage/db/entity/BlockInfoEntity.java
package com.ideacode.apm.library.core.storage.db.entity;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
/**
* APM程序性能监控组件
*
* @ProjectName: ideacode_apm
* ... | 638a9fa18c9ce172de7541ce70f1a506074e3c24 | [
"Markdown",
"Java",
"Gradle"
] | 37 | Java | andyliu900/ideacode-apm-lib | d6432387a6b10ac4378254cb13f8997786dfcf46 | 4d6216e503aad4d0b86b276c0121d4c7364b7f9d |
refs/heads/master | <file_sep>import React from "react";
import { NavLink } from "react-router-dom";
import Header from "../components/Header";
const Dashboard = (props) => {
return (
<div>
<Header />
<div className={"grid grid-cols-12"}>
<div className={"col-span-2 "}>
<div className={"flex flex-col b... | 222f00a58c5e8736e71ac738d0cb3f300d95ff26 | [
"JavaScript"
] | 7 | JavaScript | minayekta/frontend-tst | 5ebd191e42619bbc9938bc08f16fd04463687187 | 85bc0b0c0f4114b7573c002ca654f3770f001980 |
refs/heads/master | <repo_name>eduardo78d/Juego_Samurai<file_sep>/imagenes/Prueba.py
# -*- coding: cp1252 -*-
import pygame, sys
from pygame.locals import *
#defino unas variables globales para el ancho y el alto
Ancho = 1000
Alto = 500
#se crea la clase para la pokebola, no cambia para nada
class Pokebola( pygame.sprite.Sprite ... | e04a9d399b68c9931636c835a454c01879e9386e | [
"Markdown",
"Python"
] | 4 | Python | eduardo78d/Juego_Samurai | f19976149a7ccc076712acb9c45aee17c541fdc7 | dd650ef833579275785bdcda93ce9916d5727151 |
refs/heads/master | <repo_name>alecvipa/clickHarryPotter<file_sep>/build/precache-manifest.efdc249c06f9e29f508f911d66290c8b.js
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "0b7e5e15d57dc5572686ecba5838376b",
"url": "/clickHarryPotter/index.html"
},
{
"revision": "4bad8de4166ad1ccdbad",... | 28091cdb0afaa5c5f957766d4273c3ea4f3ed20a | [
"JavaScript"
] | 3 | JavaScript | alecvipa/clickHarryPotter | a921583b903e95fe83388e6c6e7740d8d4690f10 | a03f179fd56676eb68259e234c5b7ba293822188 |
refs/heads/master | <repo_name>carlos1804/Biblioteca-Exato<file_sep>/Biblioteca/src/Possui.java
public class Possui {
}
<file_sep>/Hospital/src/Bebe.java
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;
@Entity
p... | 047fb7dcc583779efa7325d7a02c651ba2afccf5 | [
"Java"
] | 4 | Java | carlos1804/Biblioteca-Exato | 7860c6da8ea061a321f30be69bfa8e0ac0164574 | 56a4cbf0791cd9e7c555c50ed6b9e35d1d989c24 |
refs/heads/master | <repo_name>Digilent/Zybo-Z7-20-pcam-5c<file_sep>/sdk/appsrc/pcam_vdma_hdmi/hdmi/VideoOutput.h
/*
* VideoSource.h
*
* Created on: Aug 30, 2016
* Author: Elod
*/
#ifndef VIDEOSOURCE_H_
#define VIDEOSOURCE_H_
#include <stdint.h>
#include <stdexcept>
#include <cstring>
#include "xaxivdma.h"
#include "xvtc.h"
... | 3e659df7142d04b5d1f17be8d208b0c7d91e6cfd | [
"Markdown",
"C++"
] | 8 | C++ | Digilent/Zybo-Z7-20-pcam-5c | 5f808263943eb0aa1aede6025e5966ace33f7e0f | 79f6ea739636ab2f9e896b866cf34b422a948e2f |
refs/heads/master | <file_sep>/**
* Angular Selectize3
* https://github.com/oakfield/angular-selectize
**/
angular.module('selectize', []).value('selectizeConfig', {}).directive("selectize", ['selectizeConfig', function(selectizeConfig) {
return {
restrict: 'EA',
require: '^ngModel',
scope: { ngModel: '=', config: '=?', ... | 4432a9290d112e3f7e47af2eb82534ac8a924a58 | [
"JavaScript"
] | 1 | JavaScript | oakfield/angular-selectize | a23b3a683ff2382e506b4679d01169e3b400262e | 0ff6ea5f238ff5da5abc1a64076ed7d1e2fe830b |
refs/heads/master | <repo_name>1099438829/wangpan<file_sep>/script/data.js
var user_data = {
"maxId":11,
"0":{
"name":"根目录",
"id":0,
"type":"folder",
"childrenId":[{'id':1},{'id':2},{'id':6},{'id':7}]
},
"1":{
"name":"框架",
"id":1,
"pId":0,
"type":"folder",
"childrenId":[{'id':3},{'id':4}]
},
"2":{
"name":"Html5",... | bab4b5c6cebf0e216ccc960ed7cac98f41e75b83 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | 1099438829/wangpan | e8981aa10e409ba2d225b2c399ff5e216066913c | 8a762d14093e0129aae20aee7ba5141153224d20 |
refs/heads/master | <file_sep>Rails.application.routes.draw do
get '/todos', to: 'todos#all'
post '/todos/create', to: 'todos#create'
put '/todos/update', to: 'todos#update'
delete '/todos/delete', to: 'todos#delete'
end
<file_sep>class TodosController < ApplicationController
def all
render json: TodoSerializer.new(Todo.all... | 97a547e1cccc855302cbbf5bbd4e8482fc554754 | [
"Ruby"
] | 2 | Ruby | dyshechka/lab3-ruby | 99ba8cfc5d7f37a985a1da83cbc9e08b84f3e3cc | 6f90b4be354aeee4c747206ade3be11c712cb7f7 |
refs/heads/master | <repo_name>oguzhankarahan/electronAutoUpdate<file_sep>/example/src/main.js
'use strict';
/* eslint-disable no-path-concat */
const {app, BrowserWindow} = require('electron');
const updater = require('electron-simple-updater');
updater.init({
checkUpdateOnStart: true,
autoDownload: true
});
let mainW... | 27d18b48815d96efa5e910f2bd858b74a55c7fe7 | [
"JavaScript"
] | 4 | JavaScript | oguzhankarahan/electronAutoUpdate | 1d83303c75fe0a76e84e14b723e202cb9bde96d8 | 2bd955fd84c85325cb9c8e9344cd4610d9cff5f6 |
refs/heads/master | <repo_name>georgebrockman/beatthebookies<file_sep>/beatthebookies/fifascrape.py
from bs4 import BeautifulSoup
import requests
import pandas as pd
def scrape_historical():
url = f"https://www.fifaindex.com/teams/fifa05/?league=13&order=desc"
while(True):
print("Getting page for 05")
try:
... | ef8e440cc832c6e39ddcbae73158e2bf3e4ceb05 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 13 | Python | georgebrockman/beatthebookies | c1fc61488d79a14b9e71ffab4731eca25285ab22 | 61d6c3c6748232cc75b2b03decf84d4999a40453 |
refs/heads/master | <file_sep><?php
/**
* PX Plugin "DBML"
* @author <NAME>.
*/
class pxplugin_DBML_register_object{
private $px;
private $path_dbml;
private $database_define;
/**
* コンストラクタ
*/
public function __construct($px){
$this->px = $px;
$this->path_dbml = $px->get_conf('plugin-DBML.path_dbml');... | bf31f8a992484511dccda71600817f3b4a839d67 | [
"Text",
"PHP"
] | 3 | PHP | tomk79/PxPlugin_DBML | 93226eebe7bf9a561bfbb7521f795df2fa981982 | 2621e74796f87fafc0bfd456a97a1d8f1859d552 |
refs/heads/main | <file_sep>#!/bin/python3
import math
import os
import random
import re
import sys
import collections
if __name__ == '__main__':
s = sorted(input().strip())
c = collections.Counter(s).most_common()
c = sorted(c,key = lambda a : (a[1] * -1, a[0]))
for i in range(3):
print(c[i][0],c[i][1])
... | beb146882343734b43d39ea997bcad3b4b0a51cd | [
"Markdown",
"Python"
] | 2 | Python | Anmol1109/PYTHON-Collections-Company-Logo | 790594a25e3b09c94d577f252f22e864c3a88fd0 | 54699beb15bb9f092e7f52719f70a9897e641f55 |
refs/heads/master | <repo_name>Rolejo/Taller2<file_sep>/php/function/menu.php
<?php
function writeMenu($data){
echo '<ul class="left hide-on-med-and-sown">';
foreach ($_POST['choices'] as $key => $value){
echo "\t";
echo '<li><a id="' . $value['id'] . '" href="#">'. $value['Texto']. '</a><... | cbe1000070bef893b0ce54b8f0dc0cb1249d350f | [
"PHP"
] | 1 | PHP | Rolejo/Taller2 | 1b930c31f996eb307318e4edc1eb012d5d5c4eec | c0ffc6baa04365f4c83c26e7a7360f33a32204d4 |
refs/heads/master | <repo_name>aqeebimtiaz/demoReactNativeApp<file_sep>/readme.md
need to check why username is setState in SearchComponent.
Check handleChange
<file_sep>/src/components/SearchComponent.js
import React, { Component } from 'react';
import {
View,
Text,
StyleSheet,
TextInput,
TouchableHighlight,
TouchableOpacity
... | 81f0efa7632d079b80171fc9c84f78ff18fa8d50 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | aqeebimtiaz/demoReactNativeApp | 8b81cb63498b7f7fa87d575a9f2cd77ffef8dce4 | 4a19082f9cebae600a91a463b351b52ada99347f |
refs/heads/master | <file_sep>#! /usr/bin/env python3
import os,re,sys
import numpy as np
import pandas as pd
import matplotlib as mpl
mpl.use('Agg')
import unittest
from matplotlib import pyplot as plt
plt.style.use('ggplot')
Bin = os.path.abspath(os.path.dirname(__file__))
class Gene_Express:
def __init__(self,chr,start,end):
self.c... | ff167dfa4d1df66d39e6a49611a6cdd45cc6d965 | [
"Markdown",
"Python"
] | 18 | Python | happyfantongzi/bio_matplotlib_use | 48baf7b58b781269523d7c2acb7654dfda96f568 | 4d1d1f06362e77bf20911bdc0b68018ac876ba44 |
refs/heads/main | <file_sep>import React from 'react'
import Cards from './Cards'
const River = ({ cards }) => {
return (
<div className={'river'}>
{cards.map(card => (<Cards key={card.id} {...card} />))}
</div>
)
}
export default River<file_sep>// export const createDeck = () => {
// function card(number, va... | b293388ba1f0305e01e2aaecce6b1ac6608b9e4c | [
"JavaScript"
] | 5 | JavaScript | LiamCallaghan/autodeal | e49a381636281a4315f68eec08f9b61de033e79b | b52108f978a27955e447d2bfa611b38ce0175682 |
refs/heads/master | <repo_name>JesusRosas25/Page-Senator-s-congress-and-senate<file_sep>/scripts/statistics.js
var calculations ={
membersParty:[{
dem:0,
rep:0,
ind:0,
total:0,
votedDem:0,
votedRep:0,
voted... | ba522f14fb9b51d99e211ac35e976a617305371a | [
"JavaScript",
"HTML"
] | 3 | JavaScript | JesusRosas25/Page-Senator-s-congress-and-senate | e28c0f51ffd91382a413038be737661857f2da7f | 97dd3b3ca1c4552b253595328f2ded1581bbab84 |
refs/heads/master | <file_sep>### step1
add the dependency in your build.gradle.
```
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.android.volley:volley:1.2.0'
implem... | 609f2703ec149b23d1673072f2fd97f862a2e799 | [
"Markdown",
"Text",
"PHP",
"Gradle"
] | 4 | Markdown | mahdisahrai/UploadVolley | a8a48b575611b9ab2054fbba2f0a2bc0ec07f9bc | 1963fbdd091380b016b327c03f519334227c478e |
refs/heads/main | <repo_name>wikilee1990/iOS_GINetworking<file_sep>/Example/GINetworking/ViewController.swift
//
// ViewController.swift
// GINetworking
//
// Created by Rex on 12/06/2018.
// Copyright (c) 2018 Rex. All rights reserved.
//
import UIKit
import Anvil
import Moya
import Alamofire
struct K: AnvilSessionProvider {
... | b323c42397c2b25938f55da148326ea49afe53eb | [
"Swift",
"Ruby"
] | 4 | Swift | wikilee1990/iOS_GINetworking | b33d50f0036703a9d876b1ae026ced98ac73147d | 963287ce2052aa046cd1050d0583cb1e70302135 |
refs/heads/master | <repo_name>unlimitgit/NoteBook<file_sep>/com/notebook/TableImageProcess.java
/*
This is for Table Image Process
*/
package com.notebook;
import com.notebook.GlobalVariables;
import com.notebook.FileStringProcess;
import java.util.ArrayList;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import java.awt... | d09b9b1cc488ec850321c2a74f799b604a2cf0f5 | [
"Java"
] | 5 | Java | unlimitgit/NoteBook | c647dcca26b3572727c674498b50405ff965facd | 58306414c6d8efb1cfa8fd43864332e91e8fa9cc |
refs/heads/master | <file_sep>import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { environment } from '../../environments/environment';
@Injectable()
export class GiphyService {
private giphy_api_key = environment.giphy_api_key;
private giphy_api_url = environment.giphy_api_url;
c... | 5826887520ad718d9cc10bfd445b4bb66d6ea5d2 | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | paulappz/frontend-test-II | 8777140fb9fc57e1424d26a11a5c87138fe971ad | 46796d50c29401bd4c0627697c0583c56429f369 |
refs/heads/master | <file_sep>import React from 'react';
import {useMeals, MealsList} from '../meals';
export const HomePage = () => {
const {meals , isLoading: isLoadingMeals, setMeals } = useMeals();
console.log(meals);
return (
<div className="page-container">
<div className="column">
<M... | a8fdd3a704a96ceaa187ffccabcc43fb0a7614c9 | [
"JavaScript"
] | 4 | JavaScript | flobos/front-end-template | d288f1d148fd0b39f885b6517d2697c3eccd6e3a | 7e77a0b2dde876196fcde2a06e4f24a043a2f9e8 |
refs/heads/master | <file_sep>
$(document).ready(function(){
getManufacturerNames();
$(".navbar button").click(function(event) {
var page = $(this).data("page");
switch (page) {
case "addcar":
$("#content").load('newcar.html #carcontainer')
break;
case "addmanufacturer":
$(... | c07ece6fbee72a4102fec4374ab413e268b8f343 | [
"JavaScript"
] | 1 | JavaScript | MatKotiKk/beadandoPM | dc171e7b55dbb94c3bb7a0a4a57e59a0d6c0f0ed | 8b88768d04bfd0d015c1f52e93cc5237ce53f6df |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
public class Increasing : MonoBehaviour {
public float AnimScalar, MaxScalar = 1.2f;
int stage;
float oscale, Speed = 1;
// Use this for initialization
void Start () {
stage = 0;
AnimScalar = 1;
}
// Update is called once per frame
void Update () {
... | c650608cd7e5c55cb5fa822c7fd8afb43696cf61 | [
"C#"
] | 17 | C# | lqcatlas/LudumDare31 | 1639a6eb318f57e2e1ba1ca4b822101da75ac8c2 | 142efdcf4eb99e78a2ee612e76ee45b2e3807c9d |
refs/heads/master | <file_sep>const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: [
'webpack/hot/only-dev-server',
'babel-polyfill',
'./index.js'
],
output: {
path: './dist/',
publicPath: '/',
filename: 'bundle.js'
},
module: {
load... | 6374024d73060e6ea664c924662d8e6298408c28 | [
"JavaScript"
] | 1 | JavaScript | filipalacerda/online-cv | e83301fdb47a706a44efd5aac3ec0debe57d0993 | b8569611685088142059444cc81ecec1914c1c8b |
refs/heads/master | <file_sep>var express = require('express'), // bring in the the express api
fs = require('fs'), // bring in the file system api
mustache = require('mustache'), // bring in mustache template engine
app = express.createServer(), // create the http server w/express
demoData = [{ // dummy data to display
"name":"<NAM... | 81dc83c141789d2795d0582598c8e8dc0abfe424 | [
"JavaScript"
] | 1 | JavaScript | benleung/node-demo | 34d9883f2a6830fc08fa87e140b8448ff422bf44 | 150b73938eeb43465532e861f12a941247c67205 |
refs/heads/master | <repo_name>AetherStark/WebServices-Swift<file_sep>/WebServiceBitcoin/Moneda.swift
//
// Moneda.swift
// WebServiceBitcoin
//
// Created by Francisco on 22/04/20.
// Copyright © 2020 Francisco. All rights reserved.
//
import Foundation
class Moneda {
var description: String?
var rate: String?
var code:... | cfa7f2442c981097d9deaf8fca5849952089bf13 | [
"Swift"
] | 3 | Swift | AetherStark/WebServices-Swift | 0e7e1678e89b3ea385e21306f5cab13b351623cc | 6f906c6946123dc6d175d6aedc7fd875a7f6008a |
refs/heads/master | <file_sep>"""
Given an integer, return True if it a Prime number otherwise return False.
Example 1
Input
n = 2
Output
True
"""
import unittest
# Implement the below function and run this file
# Return the output, No need read input or print the ouput
def is_prime(n):
if (n <= 1) :
return False
if (n <=... | 5e9295a197bc52e9cacf53cff3dee73628e66d65 | [
"Python"
] | 1 | Python | Enhance42-RajMohd-Demo/template-assign-01-gayathri05367 | c16ac1608d7becd72feaeeac35c40a70309c8d8d | e1050159ee28e43841f1d15adb978618867c6d03 |
refs/heads/master | <file_sep>$(document).ready(function(){
// var weather = "http://api.wunderground.com/api/ea66dc7b777b2081/geolookup/conditions/forecast/"
var cities;
var newWeather;
var city = $('#city');
var matchedCities = function(response){
cities = response.RESULTS;
for (i=0, len=cities.length; i<len; i++) {
$('.li... | b36d4a55824d8371c65c3e577644ab99deeb8884 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Slothra/weather-api | d1b9eb23cc129a91ee8b9cd23a24e1b696d7c20b | 72b64cafa3ed171e2946a0670997966b2f0da3d0 |
refs/heads/master | <file_sep>import React from "react";
import styled from "styled-components";
import AR from "../../images/ar.png";
import EN from "../../images/en.png";
import CH from "../../images/ch.png";
import RU from "../../images/ru.png";
import TR from "../../images/tr.png";
import { FaCaretDown } from "react-icons/fa";
import ... | 80921b7ef5fb78b03bd8e290862fd8f8304626bf | [
"JavaScript"
] | 1 | JavaScript | Ahd-3hd/myturkeyproperty | ca30bd8102f49148ec20097489037f8662dfe45a | 5674d45c628c90737b811621c3f6ed64885af437 |
refs/heads/master | <file_sep>using System.Linq;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Collider2D))]
public class Piece : MonoBehaviour
{
//----------------------------
// identifier fields
//----------------------------
public int pieceId;
public PieceType pieceType;
//---... | bf5895ac4426f05d0d623a60e114482561438393 | [
"Markdown",
"C#"
] | 29 | C# | e2dk4r/Backgammon | b0ea842b8b2d0a929188bbace48a2cc1195e7d72 | 031836081329d78069753abff269cea8685a5ee0 |
refs/heads/master | <repo_name>stjordanis/inql<file_sep>/inql/widgets/timer.py
import platform
if platform.system() != "Java":
print("Load this file inside jython, if you need the stand-alone tool run: inql")
exit(-1)
from java.lang import Object as JavaObject, String as JavaString, Short as JavaShort, Long as JavaLong
from java... | 343a3effe672fdb0c1ea6f2e6bc4b74735bba7ee | [
"Markdown",
"Python",
"Makefile"
] | 25 | Python | stjordanis/inql | 8ee5f2d5d967fcf8f64676d355359d299c47037b | 6052b5645981d195833fb1aa2484bbc03aff95ac |
refs/heads/master | <file_sep># Beehive Health Classification

This is my final project for the Masters 2 subject Fouille de Données et Aide à la Décision at Université Paris Diderot.
I use a Kaggle dataset with annotated bee images to tra... | b9c5c17b62db6a67ef7768ab90b7328179f6fa8f | [
"Markdown",
"Python"
] | 12 | Markdown | juanmc2005/HealthyBeeNet | f974def087da63028ca507689c445e7e962abee0 | ccf9ddc4e0769dddc651f241b4165afb7ccb449b |
refs/heads/master | <file_sep>class AddColumnToConditioninfographs < ActiveRecord::Migration
def self.up
add_column :conditioninfographs, :most_bad_reviews, :string
end
def self.down
remove_column :conditioninfographs, :most_bad_reviews
end
end
<file_sep>require 'spec_helper'
describe "conditioninfographs/edit.html.erb" d... | c18de24c71599b71c493a8783a61b7d9d1cb91c8 | [
"JavaScript",
"Ruby",
"Markdown"
] | 75 | Ruby | lelou6666/drugscomparison | 19f8e746cc596046de5a50f158b3f0324ce151ef | d276f049d0e59b3bc7d8f04ed658f0cd4a08016d |
refs/heads/master | <file_sep>this is my first git project
This is my second change
changed on new feature branch | dfd6d2a5378a62cd2c22b3ad7e83d6f81feabd53 | [
"Python"
] | 1 | Python | anilkumarvusa/synechron | eaed0a2bf119e3170b13708429e44daa8c9277f8 | 72c12ac22dd793d98b35891b1c4aafbe9ac2e81b |
refs/heads/master | <file_sep>export class Todo {
id: number;
task: string='';
status: boolean = false;
constructor(values: Object= {}){
Object.assign(this,values);
}
}
let todo = new Todo({
task: 'Some Task',
status: false
});
<file_sep>/* tslint:disable:no-unused-variable */
import { TestBed, async, inject } from '@... | b0170065e4085d07c035c6cea612dacc898a43f8 | [
"TypeScript"
] | 2 | TypeScript | sazack/todo-Angular2 | ef603de80e320acf4c0c88b21df3486dc74ffc97 | 593f60b467407353dbcf22c028d6f83e370a2cc4 |
refs/heads/master | <repo_name>antoniogagos/Project-1-Full-Stack-Nanodegree<file_sep>/media.py
import webbrowser
class Movie():
""" Movie class has 2 methods:
- The __init__ method: When Movie() its called an instance of the class is created
and passes it as the first parameter to the __init__ method. Then, four properties ... | 70ff46f76e28841169df76d7757bd192e6fb59d0 | [
"Markdown",
"Python"
] | 3 | Python | antoniogagos/Project-1-Full-Stack-Nanodegree | 689afa9ea60c954e95ae7ebd35c76a59f25e5a56 | c4aecf54e28f0dad7850bba1ab8d2d2bbe59f01f |
refs/heads/master | <file_sep>using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class UIManager : MonoBehaviour {
public Slider player1health;
public Slider player2health;
public Image fill1;
public Image fill2;
public Gradient healthColors;
public Player1 player1;
public Player2 player2;
public Imag... | 62ab7fc20a07ae6b56697ad26cb2a7a15c63216a | [
"Markdown",
"C#"
] | 12 | C# | samantas/PenguinPanic | b19670ca7e76607c9c219eb9b783689d3ba63bb1 | e4a587ca3a85839d085cb1853bea0e547a18e494 |
refs/heads/master | <file_sep>export const FIREBASE_CONFIG = {
apiKey: "<KEY>",
authDomain: "tipqr-164a4.firebaseapp.com",
databaseURL: "https://tipqr-164a4.firebaseio.com",
projectId: "tipqr-164a4",
storageBucket: "tipqr-164a4.appspot.com",
messagingSenderId: "629908908002"
};
<file_sep>import { NgZone,Component } from '@angu... | dd7481c150f006f02b6eb565e9482590966c4fd6 | [
"TypeScript"
] | 3 | TypeScript | laravel-temwork/cutePuttyPics | 4499751c15e0b24b1127741a25d8600cfb845fce | d779a1c7346140c3d52092c9f0a092fbefba7c71 |
refs/heads/master | <file_sep>def transform(old):
new_data = {}
for i, (point, letters) in enumerate(old.items()):
for letter in letters:
new_data[letter.lower()] = point
return new_data
| a2f6e76df63e97a81f5dd09cf2b45c3e0c2ed339 | [
"Python"
] | 1 | Python | sdil/python | fb53dbfbd0d9c7ecbf7b0f91eea81cf92d356f18 | 2113d2a39df21b2bc758865a9a124120fbddba62 |
refs/heads/master | <file_sep>Survive the disasters!
Gamemode by Chrisbot6 (BL_ID 12233)<file_sep>if(isFile("config/server/disastersPrefs.cs")) {
exec("config/server/disastersPrefs.cs");
}
if($Disasters::RoundLimit $= "")
$Disasters::RoundLimit = 6;
if($Disasters::TimeLimit $= "")
$Disasters::TimeLimit = 180;
if($Disasters::Pre... | 1abb78a895b08b7da5f19d6cba128d411cbbb58f | [
"C#",
"Text"
] | 10 | Text | Sixmorphugus/Gamemode_Build_To_Survive | cf33568f9481cfccd912d3e7bcb2eaca2807c68a | d68af4091d74a983535475371039052f28cf2c21 |
refs/heads/master | <file_sep>import React from 'react';
import { Provider } from 'react-redux';
import store from './redux/store';
import StockMarket from './components/stock-market';
import styles from './app.css';
const App = () => (
<Provider store={store}>
<div className={styles.app}>
<header className="App-header">
... | 44ec7e01bc78a17b5e2db7e6f7e6de1248bbc4c3 | [
"JavaScript"
] | 10 | JavaScript | struankl/SSST | 61ad66451db2f7457ab6cbc7a345a56a21d17625 | cd039bb10f649b0adab2ca88bf0bc682596e5abd |
refs/heads/master | <file_sep># Developer notes
## Build
### Locally
To build the docker image locally, run the following command
```bash
docker build -t scw1109/jet-gatling:local .
```
### CI
This project uses [Dockerhub](https://hub.docker.com) as the build system as well as the docker repository.
Visit [here](https://hub.docker.co... | 745a4c3b77a22b68ffed3cd1e095c54061d0164b | [
"Markdown",
"Shell"
] | 3 | Markdown | scw1109/jet-gatling-docker | 91bce6ee8d6a3ebb36b585ac5e6d559d981891c1 | 051cdce7e7e0ea12426cb9c759d02bdf0a1320b6 |
refs/heads/main | <repo_name>lbvf12321lbvf/infa_2021_krivchuk<file_sep>/lab3/task3_image2.py
import pygame
from pygame.draw import *
import numpy as np
pygame.init()
FPS = 30
screen = pygame.display.set_mode((1200, 800))
def cloud_circle(x, y, size):
"""
рисует круг для облака
:param x: x координата
:param y: y коорд... | cb7cbcca77a147f273095f4105ad747ea89f6ca1 | [
"Markdown",
"Python"
] | 4 | Python | lbvf12321lbvf/infa_2021_krivchuk | 07b69bbe85a94bd82fe4b95458210ca6f9cc2b13 | 7328c283c5ec3c933de65ea5b33200b02632fac4 |
refs/heads/master | <file_sep>var fs = require('fs');
var nodehun = require('nodehun');
var affbuf = fs.readFileSync('dict/bn_BD.aff');
var dictbuf = fs.readFileSync('dict/bn_BD.dic');
var dict = new nodehun(affbuf, dictbuf);
exports.handler = async (event, context, callback) => {
const word = event.queryStringParameters.word;
cons... | 1f3889a895c0df7023deab8a580f59b9cde3885f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | asifm/SpellBangla | ca9ac6d28bd13bbb0463280711fe916916e63454 | 5b80f62a47fe50938294b45340be917d9c4deb10 |
refs/heads/master | <repo_name>xdy-forks/myTab<file_sep>/mytab.js
Hooks.once('init', function() {
game.settings.register('mytab', 'title', {
name: 'Page-Title',
hint: 'This will be shown as the tab name (changes on save)',
scope: 'world',
config: true,
default: 'My Title',
type: String,
onChange: updateTab,
});
... | 2988c4ee57610680720222351ac53ceadd6e092f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | xdy-forks/myTab | 120057e979bd5379b05d9fa877f17faafe56a962 | 0956feb2bfe02160125cc41f0e5cb9d30c7b57c7 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
#-----------------------BEGIN NOTICE -- DO NOT EDIT-----------------------
# NASA Goddard Space Flight Center
# Land Information System Framework (LISF)
# Version 7.4
#
# Copyright (c) 2022 United States Government as represented by the
# Administrator of the National Aeronautics and S... | f05ba0d8d487b285cd402d26148d6d397fc8dbd2 | [
"Python",
"Dockerfile",
"AsciiDoc",
"Shell"
] | 23 | Python | TimLahmers/LISF | 53d156bb6ec8f404d24c019787a0f6e615ff391a | 6414d77293e72c8785031b8f2c31a17f72f9778f |
refs/heads/master | <repo_name>caiodsc1/store-test1<file_sep>/spec/factories/wish_list.rb
FactoryBot.define do
factory(:wish_list) do
name { FFaker::Product.product_name }
after(:create) do |wish_list|
create_list :wish_list_product, 5, wish_list: wish_list
end
end
end
<file_sep>/spec/models/wish_list_spec.rb
require... | 1df841341efe6d322e4e2e0ebc80e1b5c5578a5e | [
"JavaScript",
"Ruby",
"Markdown"
] | 35 | Ruby | caiodsc1/store-test1 | 75d51895379994310c405aa0cce256da5c05432b | 6dfdfb8eaa47cb15d622554577cee9a055cff1ad |
refs/heads/master | <repo_name>WickeDev/VertxEventBusExample<file_sep>/vertx-eventbus-java/build.gradle
apply plugin: 'java'
sourceCompatibility = "1.6"
targetCompatibility = "1.6"
repositories {
mavenCentral()
jcenter()
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
... | 42f315f2c3d0ed0ec71a1907b469529eeaaf36f4 | [
"Markdown",
"Java",
"Gradle"
] | 4 | Gradle | WickeDev/VertxEventBusExample | 7ace43d4f76158739e934336d1228f0391098070 | b3fd625f97f42270a547cad34569d220723e9c91 |
refs/heads/master | <file_sep># SOAP - Beginner - Producer
## A SOAP Tutorial for Beginners
This tutorial answers a simple question. I have a class written with Eclipse and I want to deploy it on Tomcat, how can I show it as a web service.
## Prerequisites
How much time do we spend writing a service?
With Eclipse, writing a SOAP service... | 9fc355c0a17182c33b0e2649415a008863e536b1 | [
"Markdown",
"Java"
] | 3 | Markdown | CristianSandu/SOAP-Beginner-Producer | 4b1d83f12b5fa923a955c1b63ed118076d0d9a5b | 152bb56d26dc0fc99be289ce09e9a1cdf608c371 |
refs/heads/master | <repo_name>eyadamin/trial<file_sep>/nodeproject/src/routes/eventRoutes.js
var express = require("express");
var eventRouter = express.Router();
eventRouter.route('/')
.get(function(req,res) {
res.render('events',{
list:['first event','2nd event','3rd event'],
nav: [{Link:'Services',Text:'Services'},
... | 421ddd2e54db96f2185d72fd83f2e6acb81179b8 | [
"JavaScript"
] | 1 | JavaScript | eyadamin/trial | 98112f7054cc0f2843958a654b0b1e897b6da90a | 561733543a70542284ff1bedd530ed275e2b8634 |
refs/heads/master | <file_sep>const d3 = require("d3")
// ensure that d3 code executes only after the document is ready
HTMLDocument.prototype.ready = new Promise(function (resolve) {
if (document.readyState != "loading")
resolve();
else
document.addEventListener("DOMContentLoaded", function () {
resolve();
}... | 624c525e0946258b6d982d659ca9f5323953ef94 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jacrooty/adapp_redux | a5e9a98a3502face312a3eb599b601afc2671649 | 50a5bca7133402a3fdccfc7b70a549036bf39cbd |
refs/heads/main | <file_sep>from brownie import *
import brownie
import pytest
#========= Run every time before each test case =========
@pytest.fixture
def coin():
return accounts[0].deploy(CrowdCoin)
@pytest.fixture
def reward(coin):
reward = accounts[0].deploy(Reward)
reward.set_coin(coin.address)
return reward
#=... | c368b6e15b17d343afd3096627e377c654963b3b | [
"Markdown",
"Python"
] | 5 | Python | ymytheresa/CrowdCoin | c606636f0c60ccb61bf5739a1e532d2b2dc51b06 | 8091baa56e2ec5425fc3921b5e7e7f33d5ab8f55 |
refs/heads/master | <file_sep>var write = document.querySelector(".btn-site-contacts"),
popup_write = document.querySelector(".container-modal-write"),
close_write = document.querySelector(".modal-close-write"),
map = document.querySelector(".site-contacts-map"),
popup_map = document.querySelector(".modal-map"),
close_... | 1cae88d205099fa3a126e722ee534d8de069a667 | [
"JavaScript"
] | 2 | JavaScript | Nemchinov01/308327-technomart-25 | dbc9f69004592480c931fff19a380807c976881e | ab3ccd3c33c2f7d6177263e9861204fea007ddf4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.