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># DS_kursapp
This simple Shiny-app will be used in a distance sampling class, aimed at volunteers conducting line-transect work for birds (mainly grouse in this case), and where the data will be analysed using Distance Sampling methods. The idea is that the course participants should be able to do simple ana... | 855f1e04b86c5f667f508a2289d0328bcb27edea | [
"Markdown",
"R",
"RMarkdown"
] | 4 | Markdown | ErlendNilsen/DS_kursapp | a892f8d47972335774b96a6b6f14e26a3cfd6f96 | a239f62f777fc2ffe54d2189b86b2e8ba449345f |
refs/heads/master | <file_sep>import pyautogui
import time
import os
import tkinter as tk
from tkinter import filedialog
class TexttoType:
def __init__(self):
self.AskForFile()
def AskForFile(self):
Window = tk.Tk()
Window.withdraw()
rawtxt= filedialog.askopenfilename(
... | c2b99a5f9418e24a27960ba6b2171b0dca4b8e11 | [
"Markdown",
"Python"
] | 2 | Python | vizmiz/BasicTools-TextToType | a27eb49b893e3fdab680b90ff46dfa5bbe204348 | 61a7b551dccae94624b3c14a7f96e2376edf1320 |
refs/heads/master | <repo_name>NicolasBonduel/Google-Music-Control<file_sep>/lib/main.js
var buttons = require('sdk/ui/button/action');
var tabs = require("sdk/tabs");
var pref = require('sdk/simple-prefs');
var { Hotkey } = require("sdk/hotkeys");
function resetHotKey() {
if (typeof playHotKey != 'undefined') {
playHotKey... | e5e0e60d878884e0ee82c331ede8d9a86b7a76a3 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | NicolasBonduel/Google-Music-Control | 733e246f7194209b0199ef868c9411a0612f65f2 | 1bd46a0776c323d65cd93a0f1010f85f52f2e2f0 |
refs/heads/master | <file_sep>import java.util.Scanner;
class TestaTamagochi{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
Tamagochi t = new Tamagochi();
System.out.println("Defina os niveis de energia, fome e limpeza!");
t.energia = scan.nextInt();
... | e76ef8f068a8ce75565d88f538d028df84db7aaa | [
"Java"
] | 2 | Java | Naelia/POO-Lista-de-Ferias | cf9e4ed2cd391ba106f3ed459f1bc0dad307eeef | b2fd4a3318532abac36f63b81caddcd2cdbc15a3 |
refs/heads/master | <file_sep>//post나 user를 감싸줄 root reducer
import {combineReducers} from 'redux';
import image from './image'
import menu from './menu'
import timetable from './timetable'
const rootReducer=combineReducers({
image,
menu,
timetable
})
export default rootReducer;<file_sep>const express=require('express');
const ... | 92d74253a30b344e9c64e2adf2a2523eb732193b | [
"JavaScript"
] | 22 | JavaScript | jfmam/project1 | 1f2e2250e953a740dedfcfd26302afa02c34a93f | dfa433a8e5c38ffd550134ed386de647cf8540d0 |
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... | f4ea11e1b24ec4bbb60b81fc4ae2032888944a96 | [
"PHP"
] | 1 | PHP | 3888592/listaCompra | 1fe04d299debdcf3f6ee119c2435142a3fd4ce8c | f07f39854f118273d51f6117494e9e5118afdd19 |
refs/heads/master | <file_sep>package server;
import java.io.*;
import java.net.*;
import java.util.HashMap;
import java.util.Scanner;
public class Server {
public static final int PORT = 5000;
static HashMap<String,PrintWriter> pwMap;
public static void main(String[] args) {
// write your code here
ServerS... | 6c365c82dc332e4ef0c11b5a5323026cd9bc2ca9 | [
"Java",
"Shell"
] | 2 | Java | sciencemj/chatting | ff719562bc93a33f629179b9a555a76c5d138388 | 97853b3264532a013b8e68ad9f73cc30c407b8a2 |
refs/heads/master | <file_sep>//========================================================
//<NAME>
//4-20-2016
//Progamming Assignment #8
//Description: Space Invaders
//========================================================
#pragma once
#include <iostream>
using namespace std;
#include <SFML/Graphics.hpp>
using namespace sf;
//Missile ... | 8b4f3266eb8e409a007cde338caec538e6fc4702 | [
"C++"
] | 8 | C++ | JeremyMarz/Space_Invaders | 3632f71a4515f48555a7a2a0442f3c3453346ed3 | 642b6c8b393ffdebb7347a6b7063edc458248aab |
refs/heads/master | <repo_name>Badu897/DiamantiGrezzi<file_sep>/SetVolume.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
public class SetVolume : MonoBehaviour
{
public AudioMixer audiomixer;
public void SetLevel(float volume)
{
audiomixer.SetFloat("Volume", Mathf.Log10(v... | a6206abaeb7d10c0f14279fc4df46f863e7b4bad | [
"Markdown",
"C#"
] | 7 | C# | Badu897/DiamantiGrezzi | f29a53d92ecd1e471bf8659676cbaef0a05b9f4b | 1837b1a66269091d22307e42d850440a61664efd |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class PostResult {
public string esito;
public int stato;
public string descrizione;
public string type;
public int timestamp;
public string nome;
public float tempo_rimasto;
}
<file_sep># Scrip... | 991a634f94b42ae0bb3ab78b2b572c981fb8bd2c | [
"Markdown",
"C#"
] | 5 | C# | oswvld/ds-roody-game | 5b81dbcac1859bb20eb317883253da8d89087443 | 40dc76b907fb02a35fcdcf168c9fb6e3c8be8cf1 |
refs/heads/master | <repo_name>rbajaj1997/tic-tac-toe<file_sep>/client/src/components/NewSession.js
import React, { useState } from 'react';
import Button from '@material-ui/core/Button';
import TextField from '@material-ui/core/TextField';
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogA... | 7df9de08eec0212d45adcc8ab37bb17dfe50d6a5 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | rbajaj1997/tic-tac-toe | b735bd9c2540a61c7982e74d968e40d562ac9fc6 | 21077fc3aa3229e94cd7f6c9fe59f571e2438bba |
refs/heads/master | <repo_name>Magsun/YouTube8M_tools<file_sep>/data_transform.py
# tensorflow=1.14
import tensorflow as tf
import glob, os
import numpy
def _make_bytes(int_array):
if bytes == str: # Python2
return ''.join(map(chr, int_array))
else:
return bytes(int_array)
def quantize(features,... | 3f915a0198d097a4f4e72ecef31c0e1eabdb2ef5 | [
"Markdown",
"Python"
] | 3 | Python | Magsun/YouTube8M_tools | c1e808887afb754e78323c02551ac2a0b679e7f0 | fd6b89ee00eaaaa019ea8b126c2385488643a62c |
refs/heads/master | <file_sep>import {Component, Input} from '@angular/core';
@Component({
selector: 'app-person-grid',
templateUrl: './app-person-grid.component.html',
styleUrls: ['./app-person-grid.component.css']
})
export class AppPersonGridComponent {
@Input() persons = [];
}
<file_sep>import {Component} from '@angular/cor... | 5b78ffb2132f33e071795eefe6e5446a7985a64f | [
"TypeScript"
] | 12 | TypeScript | jlmc/x-money-ui | f3b4d509680012663c53f56eb1dc96ee2e9c34f2 | 6f2365cfe590cff3c08971a0f5ccf926a895005e |
refs/heads/master | <file_sep>/* npm run dev */
const express = require('express');
const morgan = require('morgan');
const app = express();
app.use(morgan('dev'));
app.get('/burgers', (req, res) => {
res.send('We have juicy cheese burgers!');
});
app.get('/pizza/pepperoni', (req, res) => {
res.send('Your pizza is on the way!'... | 9478ba6c401d76922da0bcc452fd358a0a52f16d | [
"JavaScript"
] | 1 | JavaScript | matrayu/express_modules | 61f152e3bfc243fca7389e35d7fb36cc3b4030ee | 43095833ce9ae99d3ba15e98ada77d861587b9f9 |
refs/heads/master | <file_sep># if ("hello" == "hello" or 3 == 8 or "brighticorn" == "code"):
# print "welcome to class today!"
# else:
# print "nothing is equal"
# x = 3
# if x == 3:
# x = 4
# if x == 4:
# print "x is 4"
# else:
# x = 10
# print "x is 10"
# input = raw_input("Do you kno... | caa9b6aa9eeef4f1b02371a037326e657f613585 | [
"Python"
] | 2 | Python | mccole1/functions | 1689f7bf1de9b0dcf195f49350eadad661c4aa2c | b6d5a4814e3ac0bcf23cec158e7393bc87bb54d2 |
refs/heads/master | <file_sep>import PropTypes from 'prop-types';
const friendsShape = PropTypes.shape({
id: PropTypes.string.isRequired,
uid: PropTypes.string.isRequired,
friendUid: PropTypes.string.isRequired,
isAccepted: PropTypes.bool.isRequired,
isPending: PropTypes.bool.isRequired,
});
export default friendsShape;
<file_... | 92fadfbe29edb78720ef9acaf3bcb18158c26e53 | [
"JavaScript",
"Markdown"
] | 20 | JavaScript | westmary48/le-voyage- | 23de82567b1151bc86fd7fd9e0e8da50f973bb28 | c0cb0111f6b6a601962736e5b66ef14544f4db52 |
refs/heads/master | <repo_name>rayhanrjt/my-first-blog<file_sep>/college/blog/admin.py
from django.contrib import admin
from .models import Post
from .models import Classs
from .models import student
admin.site.register(Post)
admin.site.register(Classs)
admin.site.register(student)
<file_sep>/college/blog/models.py
from django.db import m... | 0303adde1c75aa1efe6db0e86b62dcc58bf02007 | [
"Python"
] | 5 | Python | rayhanrjt/my-first-blog | b368e8749bd86c72933662590ac751494a7d3f27 | 1b4ee8e7e87cd7a170b0193664afe2b77f7d8c52 |
refs/heads/master | <repo_name>pengfen/yii2<file_sep>/frontend/views/part/index.php
<?php if($this->beginCache('cache_div')){?>
<div id="cache_div">
<div>这里待会会被缓存1111</div>
</div>
<?php
$this->endCache();
}
?>
<div id="no_cache_div">
<div>这里不会被缓存1111</div>
</div><file_sep>/frontend/models/Test.php
<?php
namespace frontend\mod... | 094a0fcddccb963c4e3b0ae21d6cfc3ab6c7146e | [
"PHP"
] | 9 | PHP | pengfen/yii2 | 73f1260e144af11f9460d22144ebf1d0b73ea8a0 | 27aea5b6aceb9cb5e0a419fc26b2aff5bc257ba9 |
refs/heads/master | <repo_name>zekdeluca/ProgrammingAssignment2<file_sep>/cachematrix.R
# Matrix inversion is usually a costly computation and there may be some
# benefit to caching the inverse of a matrix rather than computing it
# repeatedly. The below functions cache the inverse of a matrix
# Function to create a special matrix objec... | e25c4e6b3ef2530845ec2895071c45d825cf816b | [
"R"
] | 1 | R | zekdeluca/ProgrammingAssignment2 | 8667f5b18cd317e5a559c7807eeff91109d0c551 | 5492c96392a3ead985afe43af2ad6f2c8dcf4475 |
refs/heads/master | <file_sep><?php
$data_source='sqlconn';
$user='directorio';
$password='<PASSWORD>';
$conn=odbc_connect($data_source,$user,$password);
if (!$conn){
if (phpversion() < '4.0'){
exit("Connection Failed: . $php_errormsg" );
}
else{
exit("Connection Failed:" . odbc_errormsg() );
}
}
$sql="SELECT... | a78a742d1e1219333ef667aa754388da55599c08 | [
"PHP"
] | 1 | PHP | chchluko/prueagit | b3aa718a59f83938dd6523390ee04b5b802b7312 | 2f10866ed19c9543fb0b67e7556881e73ce04d0e |
refs/heads/master | <repo_name>saadixl/connect4<file_sep>/js/main.js
// shorhand for document.getElementById
function gE(x) {
return document.getElementById(x);
}
// this function is for setting the name of the player who will play next
function turn(x){
return $("#selectPlayer1 p").text(x+"'s turn now");
}
//place for universal va... | 5c373899b3db587a36a13f94df2e16529a04c8e6 | [
"JavaScript"
] | 1 | JavaScript | saadixl/connect4 | dc42e81307c50699aeb25b96f86a92f92afdab94 | 8de975fed8029a0a51883d7a9e189c46c098b404 |
refs/heads/master | <file_sep>/**
* =============================================================
* Copyright 2018 Lianjia Group All Rights Reserved
* CompanyName: 上海链家有限公司
* SystemName: 贝壳
* ClassName: ESIndexController
* version: 1.0.0
* date: 2019/3/28
* author: Tyson
* =========================================================... | 6e34b0e6b81619f1bc1a940cbc0c272fda51fc49 | [
"JavaScript",
"Java",
"Markdown",
"SQL"
] | 10 | Java | Tangjinquan/es-ops | 657d224853cf1b9dddcea4f62d08a7609d206d6c | ccf52c6dae00585985024370a15576f6ac03fcd6 |
refs/heads/master | <repo_name>fbonilla/tableSportEvent<file_sep>/BasicTable/BasicTable/MyEventListViewAdapter.cs
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using System.Collections.Generic;
namespace BasicTable
{
public class MyEventListV... | 60aa6c29356e3234619eb9821f322b8f9cf5b27c | [
"C#"
] | 5 | C# | fbonilla/tableSportEvent | a180aa6eac9476cce2bb9990a533f29e41e050c7 | c9648432a30cbf96dac3c7aca9d7f920ce1e2935 |
refs/heads/main | <file_sep>from tkinter import *
import mysql.connector
def view_func():
conn = mysql.connector.connect(host="localhost", user="root", password="", db="bookstore")
cursor = conn.cursor()
s = "SELECT * FROM booksrecord"
cursor.execute(s)
r=cursor.fetchall()
#print(r[0][0])
#print(len(r))
f... | a31da67dd03a53c8e4c9d42d3a99fdc988d33e9f | [
"Python"
] | 2 | Python | vijay19956757/bookstoretkinter-web-application | 09ae9e83a9b1eb7f66db5bee0ec47501ad9f45bf | 8c39bd5a28e0a3acd36988d1be79c4ce17363491 |
refs/heads/master | <repo_name>schubalibre/coding-challenges<file_sep>/Backend/mapping/src/test/java/com/mhp/coding/challenges/mapping/mappers/ArticleMapperTest.java
package com.mhp.coding.challenges.mapping.mappers;
import com.mhp.coding.challenges.mapping.Application;
import com.mhp.coding.challenges.mapping.models.db.Article;
import c... | c8db90e34ca076a685f89643f8a614fa908af5f3 | [
"Java"
] | 3 | Java | schubalibre/coding-challenges | 8290f843363432d446af0282b8ddc0847b28b33c | c2f36280e7f51325c5d0484cb72fd97274678127 |
refs/heads/master | <repo_name>PostRecommenderProject/WebSpider<file_sep>/WebSpider/pipelines.py
# -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html
import pymysql
class JobPipeline(object):
qu... | 0566112a63de0172049e29ba7a72d2efe4b784fc | [
"Python"
] | 1 | Python | PostRecommenderProject/WebSpider | bf334f8f4c27a218ebd517cb7677c8d8cd1f6a26 | 1f1aa4a6d8a4eeb5ee37b160806c63762842b810 |
refs/heads/development/master | <repo_name>yannikVole/cms<file_sep>/src/Controller/MediaController.php
<?php
namespace App\Controller;
use App\Entity\MediaItem;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Form\Extension\Core\Type\FileType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symf... | 7cf95a469e79357269b422f4680d8d8e552cbf05 | [
"PHP"
] | 1 | PHP | yannikVole/cms | d33d2cd3eacc43c50c17dbb7a4d96154989346ae | 75396a9808249698a8bb155772aa4520f024a815 |
refs/heads/master | <repo_name>Wangyupeng-a/wdFriedchicken<file_sep>/wdFriedchicken/src/javabean/Adminly.java
package javabean;
public class Adminly {
public int adminlyid;
public Users user;
public String adminlytel;
public String adminlyemail;
public String adminlyneirong;
public String adminlytime;
public String getAdminlytime(... | f508ea827d36370cf6643f758a7527e2e0aa4353 | [
"Java"
] | 6 | Java | Wangyupeng-a/wdFriedchicken | 7af94efc2f811aad4a5db829f97bcde409735a18 | 0645eb9e969b70d9b65bd1011afb1417726cf8b9 |
refs/heads/master | <repo_name>dmedora/ExamSchedule<file_sep>/schedule_table.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
################### START NOTES ###################
# Current alternative to manually going through the list - check the syllabus for each class. But doesn't give you a nice visual representation easily.
#######... | 124eaed79aefdc06ed1f69afdbb6cd1f94085c26 | [
"Python",
"Text"
] | 3 | Python | dmedora/ExamSchedule | b65a4f84242da78bb6486095e7e383558a905721 | 7cdf7aa70de5d0de22e0b798540248cb340915a5 |
refs/heads/master | <file_sep>module github.com/taishi8117/go-money
go 1.12
require (
github.com/Rhymond/go-money v0.4.0
go.mongodb.org/mongo-driver v1.4.1
)
<file_sep>package money
import (
"encoding/json"
"errors"
"strings"
)
// Currency represents money currency information required for formatting.
type Currency struct {
Code... | c37db4957661d68928e236b3e3fea86dc4b34880 | [
"Go",
"Go Module"
] | 2 | Go Module | taishi8117/go-money | 68d959ed934d77af3113b68df6786ddccac45a7c | ec4d793e765cb8941bee76fc0257359354681bfb |
refs/heads/master | <repo_name>irahel/Long-Wings<file_sep>/Assets/Scripts/enemy.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemy : MonoBehaviour {
[SerializeField] int hp;
[SerializeField] float speed, fire_time;
[SerializeField] float destroy_time;
bool can_fire;
... | 107031d2fc7cc3a281c10440f8fe3ea775bd4c78 | [
"Markdown",
"C#"
] | 15 | C# | irahel/Long-Wings | 05e156f0b4a6951dce0bbc5a474a72faff1e2eab | 22245a5f0e9db80f92116de1ebc41d706a30820a |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MVC.Models;
namespace MVC.Controllers
{
public class StudentAdministratieController : Controller
{
public IActionResult Index()
{
return ... | 26c119301dfa68423567003e826f648f4dd9f6b6 | [
"C#"
] | 1 | C# | Umit99/MVC | 3bf06b4ce34664d9aecd466d2df27ad33d4f469a | dbd4d384dd6df8a45f6ee7e1d28abc27e94ae292 |
refs/heads/master | <file_sep>import nflstats from '../../images/nflstats.webp'
import smitechart from '../../images/smitechart.webp'
import memorygame from '../../images/memorygame.webp'
import tictactoe from '../../images/tictactoe.webp'
import brainage from '../../images/brainage.webp'
import letterbox from '../../images/letterbox.webp... | 89110ec986050aa74d74504d1b8a8fbf439d2dc3 | [
"JavaScript"
] | 1 | JavaScript | davidholyko/dko-projects | e3757475dd3c64397353c9353359910df4ad17e2 | 60c961f04bbd3ed8ef6e9d0f1f1d30be8126fc68 |
refs/heads/master | <file_sep>package de.onlineshop.main;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import java.io.Pr... | 3e94ff7f3e2852873308b9fee6b41956e813000c | [
"Java"
] | 4 | Java | ValeryOster/Onlineshop | 6bf01cee29df9d6b5cb94c806a7f9df33ff351e7 | 37b1bc8fb05996f518e9a9f10364b535ca9effed |
refs/heads/main | <file_sep>void setup() {
Serial.begin(2400);
}
void loop() {
Serial.print('<');
Serial.print(analogRead(A0));
Serial.print(',');
Serial.print(analogRead(A1));
Serial.print('>');
Serial.flush();
}
<file_sep>import cv2, time
import numpy as np
import socket
# Socket Constants
#==========... | ea53c63a4958601fbf2758c9ab86ac42925c1bc4 | [
"Markdown",
"Python",
"C++"
] | 10 | C++ | 001honi/design-of-comm-channel | dc7aab2508691303dacb5eddd1060ce0a43b74c1 | 406cc9510dfea917d0cfb3ead085fb278e962246 |
refs/heads/master | <repo_name>danielmoder/gsr<file_sep>/mysite/gsr/views.py
from django.contrib.auth import login, authenticate
from django.contrib.auth.forms import UserCreationForm
from django.shortcuts import render, redirect
from django.http import HttpResponse
from django.template import loader
from django.contrib.auth.models import... | 347e734e3776f5374c85c2b04d168e197c2dd95c | [
"Python"
] | 3 | Python | danielmoder/gsr | 7531631c4c5e45554b0307e7e5b29f89d9a1d7a7 | 39e7a286f4cfb33125ae26af07dde1b3a3e83b04 |
refs/heads/main | <file_sep>#include<stdio.h>
int main()
{
int a[10][10],b[10][10],c[10][10],i,j;
printf("Enter the elements of the matrix A : \n");
for(i=1;i<=2;i++)
{
for(j=1;j<=2;j++)
{
scanf("%d",&a[i][j]);
}
}
printf("Enter the elements of the matrix B :\n");
for(i=... | 7eab517370c13f5a753fb79691525c39697b4ffb | [
"C"
] | 1 | C | vikkyvivek2002/matrix_addition | c6b58f0d9c5629b9fa4c85457280ae15e46e7ca6 | 4fc703a1dd2618369dd3c7b14f0b84ff055f0553 |
refs/heads/master | <repo_name>FoFBode4/ICan<file_sep>/src/main/resources/application.properties
spring.datasource.url=jdbc:mysql://sql7.freemysqlhosting.net:3306/sql7362479?useUnicode=true&serverTimezone=UTC
spring.datasource.username=sql7362479
spring.datasource.password=<PASSWORD>
spring.datasource.driver-class-name=com.mysql.jdbc.Driv... | 089c00e6ffc844bce3a536fdad41d7a8894a95e4 | [
"Java",
"INI"
] | 3 | INI | FoFBode4/ICan | 2128dddeadfed638a9dde6579b64039404516cfb | 998618fccd420f34b8c5181f8715760f570c29df |
refs/heads/master | <file_sep><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>... | b677603582fa345eaac73a2416f1592d88283d93 | [
"Markdown",
"Java",
"Maven POM"
] | 3 | Maven POM | knoldus/resilience4j-circuitbreaker | 7c16610c312a53ac63ed08e0d8728d6774632847 | 2046e3079bffc8ec865d13b2940611c43647f9ed |
refs/heads/master | <file_sep>package io.bpoller.unilend.service;
import io.bpoller.unilend.model.Bid;
import io.bpoller.unilend.model.BidHistory;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.reactivestreams.Publisher;
import org.springframework.ster... | c04ba3072f8e98abe444255dd303b3db744721a1 | [
"Markdown",
"Java",
"Gradle"
] | 11 | Java | bpoller/unilend_viz | 476137e82b6d59d2d32062a6d8ca85ef2b915fc3 | 910ad54f3b716d8c4cbc0f1a2cc2382882f68633 |
refs/heads/master | <file_sep>'use strict';
import { AssetManager } from './assets.es6';
import { Display } from './display.es6';
import { Engine } from './engine.es6';
import { World } from './world.es6';
function onReady() {
new Promise((resolve) => {
document.addEventListener('DOMContentLoaded', () => {... | 1f9fc1b1a6f96465981f47fac9bbb007760ec46f | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | suneetfcc/rabbit-trap | 395c526dc7b1901340917269f1c7383e9342c226 | 540f63c9d97a1d06229044551410b9078f7f28ef |
refs/heads/master | <file_sep>import React, { useEffect, useState } from "react";
import uniqid from "uniqid";
import styles from "./photo-gallery.module.scss";
import LightBox from "../light-box/light-box.component";
import { connect } from "react-redux";
import {
showLightBox,
setCurrentImageIndex,
} from "../../redux/light-box/ligh... | 7baba43c7a85dc0c298ca835cd982c64e3aa6410 | [
"JavaScript",
"Markdown"
] | 75 | JavaScript | Shramkoalexander/boardlord-boardgame-store | 17a6497e7de5aa15d129c53ff217108e27e3fdb1 | 842732f9ee72a62774b690c522c2a2cb63a11f16 |
refs/heads/master | <repo_name>Castanha69/noSQL<file_sep>/Term_Frequency.py
import operator
import string
import pymongo
from nltk.tokenize import TweetTokenizer
from nltk.corpus import stopwords
from nltk import bigrams
from collections import Counter
def process(text: object, tokenizer: object = TweetTokenizer(), stopwords: obj... | 6b637ddd2f718c69093247884f5f7781a60c96b4 | [
"Markdown",
"Python"
] | 4 | Python | Castanha69/noSQL | e8912d7433137daebe8c1c2524824faafdf6cc47 | be53be2838a3b90bff0ac60ca8544c3f1f99bcfa |
refs/heads/master | <file_sep>module ActivityTracker
class NotificationBatchSender
def initialize(notification_batch)
@notification_batch = notification_batch
@activity_type_repository = ActivityTypeRepository.instance
@default_mailer = ActivityTracker.configuration.default_mailer
end
def process
re... | 5e2c9dad6459a11dcf1271f2c5dc5ad3670c33a6 | [
"Ruby"
] | 46 | Ruby | manageplaces/activity_tracker | a57305a6dc3955feae49397ae77f38f4e2862039 | 7c07a0b906017679e26a04955e94a8cc4bb23491 |
refs/heads/master | <repo_name>samedzadesamil/JavaEE-Login-Registration<file_sep>/src/main/java/login/sumbit/registration/LoginRegisterServlet.java
package login.sumbit.registration;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import... | bb267017f1e27028d565d0d09d2645827efe7fd2 | [
"Java"
] | 2 | Java | samedzadesamil/JavaEE-Login-Registration | c50a5d790980b89893a2888a2f5a2b6ec742433e | de705d4eaaa19b2495aec9aae6dc87b99bf2dbff |
refs/heads/master | <repo_name>zolza/ToDoList<file_sep>/js/todo.js
var list = {
tasks: [],
add: function(task_name) {
var item = $("<li></li>");
var checkbox = $("<input type='checkbox'>");
item.append(checkbox);
item.append(task_name);
$('#list').prepend(item);
$("#list li").on('click', 'input', function(){
... | 8082b79eb3c262d13407b0312aba36d3e67913cb | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | zolza/ToDoList | 20cf4fa2b8ccb82e2a34db6edd3713416099222e | 5bb16993e6fe1f9019be26738b528b47d4f28fdd |
refs/heads/master | <repo_name>syting/playlists<file_sep>/songs/management/commands/import_songs.py
from django.core.management.base import BaseCommand
import re
from songs.models import RankingList, SongRanking
from songs.utils import get_or_create_artists, fuzzy_get_or_create_ranking_org, fuzzy_get_or_create_song
class Command(BaseCo... | 34c9ca9436e2291662b62e58a15149c28c2a85e7 | [
"Python"
] | 7 | Python | syting/playlists | b9daaabeb8e13b4e42e9a4383b310f759c7c8ff6 | fdbf81eb7bab7a43390a42c75205e57bb041e1e8 |
refs/heads/master | <file_sep>namespace Snake.Models.Parts
{
using System;
public class SnakePart : Part
{
private const char SnakeCharacter = ' ';
private const ConsoleColor DefaultColor = ConsoleColor.DarkCyan;
public SnakePart(int x, int y)
: this(x, y, DefaultColor)
{
... | 0312481672b05e784996ee768ef0d737e246410b | [
"C#"
] | 10 | C# | AdrianYordanov/Snake-CSharp | f2a3e4129ecaf261544a7b8321133657ce454a16 | 2cd25a699a225fb8de216b78d7e86829ea1be2c6 |
refs/heads/master | <file_sep>package main
import (
"errors"
"flag"
"fmt"
"os"
"sort"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds"
"github.com/aws/aws-sdk-go/aws/ec2metadata"
"github.com/aws/aws-sdk-go/aws/session"
"gith... | 13da4649da6862c67668a742834a052e4efb5891 | [
"Go"
] | 1 | Go | symbiont-io/route53-kubernetes | 34c7892898aa0e15e0aa83c41e362cd4153da4a7 | d80c6b76dd9bb117994031d092803c19411f6e7d |
refs/heads/master | <file_sep>AWS_REGION="us-east-1"
VPC_NAME="VPC_Assignment2"
VPC_CIDR="10.0.0.0/16"
SUBNET_PUBLIC_CIDR1="10.0.1.0/24"
SUBNET_PUBLIC_AZ1="us-east-1a"
SUBNET_PUBLIC_NAME1="10.0.1.0 - us-east-1a"
SUBNET_PRIVATE_CIDR1="10.0.2.0/24"
SUBNET_PRIVATE_AZ1="us-east-1a"
SUBNET_PRIVATE_NAME1="10.0.2.0 - us-east-1a"
SUBNET_PUBLIC_CI... | 2aa1c345475a3add5e899aca7da7a77b73a64013 | [
"Shell"
] | 1 | Shell | HarshK333/aws_assignment_2 | 4f0e064064450f2f87b3fed07779d0be391eb708 | 4ba800ec46a78396677e7bcf88c9fd1566ecbbf5 |
refs/heads/master | <file_sep>#include<iostream>
#include "math_tools.h"
#include "display_tools.h"
using namespace std;
int main() {
//Vector zeroes_vector;
Matrix example_matrix;
//zeroes(zeroes_vector,5);
zeroes(example_matrix,3);
//showVector(zeroes_vector);
showMatrix(example_matrix);
example_matrix.at(0)... | eb73a332a8e643accb4b2e6c0491380f399b3a4c | [
"C++"
] | 1 | C++ | alexiessaenz/tarea1simu | 07c1581566cf9b7b235da46d5e8e8ff2fbc59f52 | a150bf9791bffaadfe2b5d81da5a3bf65db97626 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Medi... | fe5659ba11ceb78092329922e9c673131d7db0ca | [
"C#"
] | 1 | C# | Deluxeluisete/CuadrosTexto | c5027be48b0fff4548b5d9c927ca5c852a6671a3 | 15608135d8d765da59faae4d9d6724d2dd7d6dff |
refs/heads/master | <file_sep>package main
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"mime/multipart"
"net/http"
"os"
"path/filepath"
log "github.com/sirupsen/logrus"
)
func init() {
log.SetFormatter(&log.TextFormatter{})
log.SetLevel(log.InfoLevel)
}
func main() {
err := run()
if err != nil {
log.Warn(err)
os.E... | 9ba29d01645ac7dd28058e7e06d1f157d86f6f07 | [
"Go"
] | 1 | Go | tanaton/himawari-add | 140b0b4c82718c71b6eedf40050b365e4f347d84 | 273629f54a1bbfd0d2f1fcfd1234911f6cc10d9f |
refs/heads/master | <file_sep>package it.alfasoft.francesca.dao;
import hibernateUtil.HibernateUtil;
import it.alfasoft.francesca.bean.Ristorante;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
public class RistoranteDao {
... | 2bfdef573b4b2402aa7f6cb8bd02d7ed0c1fb514 | [
"Java"
] | 5 | Java | francesca2/Ristorante | 8c71c70adcb8f65edf34bae5df9298c1ba1311b1 | d494580a1d0c56f35769e2bafd4a2df6fbcf6ab4 |
refs/heads/master | <repo_name>filiphosko/pdsnd-bikeshare-project<file_sep>/constants.py
DATA_DIR = "data"
CITY_DATA = {
"chicago": "chicago.csv",
"new york city": "new_york_city.csv",
"washington": "washington.csv",
}
MONTHS = ["january", "february", "march", "april", "may", "june"]
DAYS = ["monday", "tuesday", "wednesday"... | 5bae3647c95d6319b86a2e1b1eb655c41e880c5f | [
"Markdown",
"Python"
] | 3 | Python | filiphosko/pdsnd-bikeshare-project | 540808ab8f1726e6a247461b6cdabf38dd01e5c3 | 268a30dea02cc57ac526597d121c0f32360b1082 |
refs/heads/master | <file_sep><?php
namespace Itkee/WechatSDK;
class WeChat{
private $appid;
private $appsecret;
private $redirect_url;
public function __construct($appid, $appsecret,$redirect_url)
{
$this->appid = $appid;
$this->appsecret = $appsecret;
// $this->redirect_url = $redirect_url;
$thi... | 55a2d9f58fa924a37b028fd6e5d91551542ec77b | [
"PHP"
] | 1 | PHP | itkee/thinkphp5_wechat | 053c82405c07f0ebaa03da066729afe6c8fc033b | 2c61d7cf581c11b61e7505edbbf7db3fa4c092e8 |
refs/heads/master | <repo_name>SrcHndWng/go-learning-webapp-auth<file_sep>/auth/token.go
package auth
import (
"log"
"net/http"
"time"
jwt "github.com/dgrijalva/jwt-go"
"github.com/dgrijalva/jwt-go/request"
)
var secretKey = "your-secret-key"
// CreateToken creates signed token.
func CreateToken(user LoginUser) (tokenString strin... | 7e1dc7d0cdc8cceeb44be9062cb97f41fc751fc2 | [
"Markdown",
"Go"
] | 9 | Go | SrcHndWng/go-learning-webapp-auth | 2fef4e69bec326c4afbad3a8465a1b4731fa4240 | b4042acee07c70d7e88d25bf5b740322e026cb20 |
refs/heads/master | <repo_name>mba811/dash-manpages-zh<file_sep>/manpages.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: <NAME>
@contact:
@date: 2014/06/23
"""
import os
import sqlite3
import urllib2
import shutil
import tarfile
import hashlib
import codecs
from mako.template import Template
from pyquery import PyQuery
... | 769b55219929ad1d3a2b0e9337bc3d1d56691ddc | [
"Markdown",
"Python"
] | 2 | Python | mba811/dash-manpages-zh | 94f7345f48084c2fa22ae00996920d1309458649 | 65d26410f78e261c89b42e7a955d2421fe841d9e |
refs/heads/master | <repo_name>LariTauana/PaymentContext<file_sep>/PaymentContext.Shared/Entities/Entity.cs
using System;
namespace PaymentContext.Shared.Entities
{
public abstract class Entity : Notifiable //abstrata pois não posso estanciar entidade
{
protected Entity()
{
Id = Guid.NewGuid();
... | f4fbeffcc63a668b21fa7c62e363fbe9ebf8c01b | [
"C#"
] | 1 | C# | LariTauana/PaymentContext | b186e87456c6dc8470f4140f5235e51438373577 | b87dda94c822af6f4d64e0e5b275441423715019 |
refs/heads/main | <file_sep>export default function Home(){
return(
<h1>This is NextJS</h1>
)
} | 8d580ab34103811a3f19828d5019158b94f78250 | [
"JavaScript"
] | 1 | JavaScript | 01101011karthik/nextjs-blob | 0d08924a1c1a80d3524c45416b931bbb6c77ddff | 8d9ef98bb54673b1f6f00ff503aeb85fc7f218f5 |
refs/heads/develop | <file_sep>/**
* Copyright 2017 d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 182b6c18aa955803f2e3fc24a09f077527caf201 | [
"Markdown",
"C#"
] | 3 | C# | Appclusive/Net.Appclusive.Models | 3d5f4bc2f49441d2b903c11a736f531ebc3f4256 | 9170130287dea60305071a9f6f9af3f87d1cc7b3 |
refs/heads/master | <repo_name>padawanYoung/MSP100<file_sep>/README.md
# MSP100
pressure transducer
<file_sep>/msp100_i2c_driver.h
#include "i2c.h"
#include "gpio.h"
#include "debug.h"
#ifndef H_MSP100_I2C_DRIVER
#define H_MSP100_I2C_DRIVER
typedef enum {
READ_DF2_BYTES = 2,
READ_DF3_BYTES = 3,
READ_DF4_BYTES = 4
}RECEI... | 94fd1530eb725919024995a8e0c0dcdb483d7fc8 | [
"Markdown",
"C"
] | 3 | Markdown | padawanYoung/MSP100 | 1e88525d77449e97be0b620f9c470cd5e68aab9b | 02ef8894d9d50184f64f8906ebe1f865e7483ce2 |
refs/heads/master | <file_sep>let express = require("express")
let router = express.Router()
let ensureAuthorized = require("./../middlewares/ensureAuthorized")
let multiparty = require('connect-multiparty')
let multipartyMiddleware = multiparty()
let userService = require('../services/users.service')
router.get('/me', ensureAuthorize... | 634f7c17096ee793749732673bcd092787a820ee | [
"JavaScript",
"Markdown"
] | 28 | JavaScript | EpitechTeam/Trend-Comparator-Back | 3216839f158c7d87091f2553fb243c980b8fcb43 | ca0fd56d7a1197ef2af32cfa8ce9e0b16b1e4900 |
refs/heads/main | <repo_name>Martin-EG/prestamos_app_react<file_sep>/src/componentes/Resultado.js
import React from 'react';
const Resultado = ({ cantidad, plazo, total }) => (
<div className="u-full-width resultado">
<h2>Resumen</h2>
<p>La cantidad solicitada es de: ${cantidad}</p>
<p>A pagar en: {plazo} me... | 2746ad7b52ae8ab16b132d2b0e66371d1ff6384b | [
"JavaScript"
] | 1 | JavaScript | Martin-EG/prestamos_app_react | 4e639e8e4315964ea143ada21c8885c7b23b86fd | 55f908d101adc8c066d144bdb40167c9fa8158a7 |
refs/heads/master | <repo_name>udallmo/breakout<file_sep>/main.py
import pygame
from paddle import Paddle
from ball import Ball
from brick import Brick
pygame.init()
# define colors
WHITE = (255, 255, 255)
DARKBLUE = (36, 90, 190)
LIGHTBLUE = (0, 176, 240)
ORANGE = (255, 100, 0)
RED = (255, 0 ,0)
YELLOW = (255, 255, 0)
score = 0
lives ... | 2c356cfa79f4c981350527ba7c05f228759618f5 | [
"Python"
] | 1 | Python | udallmo/breakout | 2bf6f566843664cd99e2e4bcf0c10f80e511bde3 | eb1edd1b9e3bd81fa0a47da46d6e0731f26f5707 |
refs/heads/master | <file_sep>package common;
public class Protocol {
public static final String CLOSED_GAME = "CLOSED_GAME";
public static int PUERTO_SERVER_SOCKET = 1075;
public static int PUERTO_SERVER_RMI=1069;
public static String HOST_SERVER="localhost";
public static String ID_SERVER_RMI="SERVER";
public static St... | da266e5d6dcf4bc4a4e7c63b70fb5e92c009f1f4 | [
"Markdown",
"Java"
] | 5 | Java | sct1992/CardGamesServer | c95c9c8186389caa7f084ea7e529b3f6b8d55da7 | e95cad22a08f3adc8499a8009e584d287920f54e |
refs/heads/master | <repo_name>JosePedroDias/paste<file_sep>/serve.php
<?php
$id = $_REQUEST['id'];
function is_valid_id($id) {
return preg_match('/^[a-z0-9_]{1,32}$/', $id);
}
// validate id
if ($op !== 'list' && !is_valid_id($id)) {
echo 'invalid id!';
exit(0);
}
$dn = 'pastes... | d4114f7019ceccfd553718d82b0b4121b9cb71d0 | [
"JavaScript",
"Markdown",
"PHP"
] | 3 | PHP | JosePedroDias/paste | f4cbbd41809851c34ffa20062f5f7a9bc3018a23 | fb62d0aa65baf35d8f109b1996882722c3f804fa |
refs/heads/master | <repo_name>darshgup139/Placement-Management-System-integration<file_sep>/PMS_v2-master(edited)/src/org/crce/interns/service/impl/SendEmailServiceImpl.java
package org.crce.interns.service.impl;
import java.io.File;
import java.io.IOException;
import javax.mail.internet.MimeMessage;
import javax.servlet.http.HttpServl... | cf012a72cf9a03d0511d996502438cff9bdd8e27 | [
"Java"
] | 1 | Java | darshgup139/Placement-Management-System-integration | 0fffc096c9ae5fd9d7b242b59667c99afc985954 | 0311afd63a383e6e48d4ac1e2630f8d092eaaf4f |
refs/heads/master | <repo_name>negra1m/angular-marvel-final<file_sep>/src/app/components/main/main.component.ts
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-main',
templateUrl: './main.component.html',
styleUrls: ['./main.component.scss']
})
export class MainComponent implements OnInit {
title =... | 5e87eea02eefaa6003333d450247a3bd29d436ad | [
"TypeScript"
] | 2 | TypeScript | negra1m/angular-marvel-final | b9c0391fbf2b0a83a4e4928d387ee6bde5a3b346 | 67aad85429af8a942af0be99824bf21e598b9f7c |
refs/heads/master | <repo_name>konraadkan/SPR-Builder<file_sep>/inputs.cpp
#include "inputs.h"
bool inputs::getKeyStateImmediate(DWORD vKey)
{
if (GetKeyState(vKey) < 0)
return true;
return false;
}
bool inputs::getKeyStateDelay(DWORD vKey, float delay)
{
timer->Update();
if (timer->GetTimeTotal() > delay)
{
if (G... | 4924522acca2179e686c624c6df50ba87bc75ccb | [
"Markdown",
"C",
"C++"
] | 12 | C++ | konraadkan/SPR-Builder | 5b12e3389bef0100f6e5c6f26bc1f2d9f2e2b4c7 | 2c3113df4280869afbfe4b3de8eee6337e2c409f |
refs/heads/master | <file_sep>#include <string>
#include <iostream>
#include <thread>
#include <math.h>
#include <chrono>
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
typedef std::chrono::high_resolution_clock Clock;
#define defaultM 10000
#define defaultN 10000
#define defaultThreads 4
using namespace st... | 0d72f787b6e9a9f9cbbb7af439e3116c33d5825e | [
"C++",
"Shell"
] | 4 | C++ | ZrinkaFiamengo/NAR_Matrix-Multiplication | f23cb1e3dd0ff2159bf62b2906112210dfe4d1e1 | aac784f393ebd1765d9f37234324a0c555bf9aaf |
refs/heads/master | <file_sep>//===--------------------------------------------------------------------------------*- C++ -*-===//
// _
// | |
// __| | __ ___ ___ ___
// / _` |/ _` \ \ /\ / / '_ |
// | (_| | (_| |\ V V /|... | 353a46475c631af9b0172340ae2cdcd4fb750395 | [
"C++",
"Shell"
] | 5 | C++ | stefanmoosbrugger/dawn | 5f0726a6165ecd603f0ef7c15ec571bf43c014e6 | a64b5af36ea7ff715ed0a03b3f9cbed4b2c449ef |
refs/heads/master | <repo_name>vizzybhagat/AppDevelopment<file_sep>/app/src/main/java/com/vizzy/bmicalculator/ThirdActivity.java
package com.vizzy.bmicalculator;
import android.annotation.SuppressLint;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPrefere... | f4c840104101e929cc7af84e50159222846808af | [
"Java"
] | 3 | Java | vizzybhagat/AppDevelopment | 187f6d029eff25fa912aba816957ab0322b8d4ba | cdf5c84eade1a2b5dec39feff2ab0c9057e29183 |
refs/heads/master | <repo_name>gaissa/modular-angular<file_sep>/src/components/author/component.js
define([], function () {
'use strict';
angular.module('author', [])
.directive('author', function () {
return {
scope: {
author: '='
},
template... | 2d6d38c4d19306995aa3c6007014d943a1681d8a | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | gaissa/modular-angular | e0bbd822c94d5bf5a5293edb596a634000b9acab | 24eef2ae53d9c930b10e8779eab0871d2148e1f0 |
refs/heads/master | <repo_name>balapitchuka/webdevelopment<file_sep>/css/css/basics/links_styling.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
... | 4ecf8cfb628827ea18ae4bd3b8f2b2d7fbd35312 | [
"Markdown",
"JavaScript",
"HTML"
] | 5 | HTML | balapitchuka/webdevelopment | ee2f2a7729b06fd19637ee057987fd278628c4de | 80a0c32939f6d78950a7516a7b36be38502517f3 |
refs/heads/master | <repo_name>joemicmc/Tests<file_sep>/CustomerTests/StandardIMS/Components/Posting.cs
using Framework;
using System;
namespace CustomerTests.Components
{
public class Posting : StandardIMS.Components.Posting
{
public Posting(Enable enable) : base(enable)
{
}
public override void... | c53c75c320caeeb495bf6546e1b8ebd5cea91d63 | [
"C#"
] | 20 | C# | joemicmc/Tests | 55e09e62a9f1535b9ae040a9ff0a03645a17ebfd | 4c3e34877f7663c751c79646950e825b91be28c3 |
refs/heads/master | <file_sep>cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"id": "cordova-plugin-morphus.morphusSDK",
"file": "plugins/cordova-plugin-morphus/www/morphusSDK.js",
"pluginId": "cordova-plugin-morphus",
"clobbers": [
"cordova.pl... | f6e05205cbb0039d489b4e817ec119274f58df45 | [
"JavaScript"
] | 3 | JavaScript | talentstar0428/FreeViStationWorldView | 802f4f75c42acf89a1c6e89b1dbd0a1364f2c792 | 82156ced3e0719ac5d827316f7dd3745c29b0f9c |
refs/heads/master | <file_sep><?php
$file = "data.txt";
$data = file_get_contents($file);
$baris = explode("[R]", $data);
@$nama = $_POST['nama'];
@$nim = $_POST['nim'];
@$email = $_POST['email'];
@$phone = $_POST['nomor'];
@$status = $_POST['status'];
@$alamat = $_POST['alamat'];
@$line = $_POST['line'];
$dataUp= @$nama . "|F|".
... | 3757c5d11a92c9ed6cbb8c0fc193b3b206f23628 | [
"PHP"
] | 3 | PHP | VrishiMagridira/FileHandling | 2f670cce282f2db271e21f386037740e9b821a35 | 32a512e03287ca408f764cfda905efc34e161a4a |
refs/heads/master | <file_sep>import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class PanelControl extends JPanel {
private ImagePanel imagePanel;
private JButton appleBtn, orangeBtn, tomatoBtn;
PanelControl(ImagePanel imagePanel) {
this... | eb1d74664edce79cabb91e52bb268ed67a9ba32f | [
"Markdown",
"Java"
] | 3 | Java | aibenStunner/Image-Decoder | 2003f4089537a2aa2e21fd66c16a31015a923fd7 | fb09c623d4db301e2441feebf2152435adebdda4 |
refs/heads/master | <file_sep>file(REMOVE_RECURSE
"CMakeFiles/test_deep_copy.dir/test_deep_copy.c.o"
"test_deep_copy"
"test_deep_copy.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang C)
include(CMakeFiles/test_deep_copy.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
<file_sep>file(REMOVE_RECURSE
"C... | 97ea0eeb200aa3fc8f2f2bdf509c80b7422c05a3 | [
"Markdown",
"CMake",
"C++"
] | 19 | CMake | serviceberry3/android_native_win_buff | b93a32eb8f5641bf4a0ca580a0264af511d968e5 | 6be089a10559833eff069d1f7da27bffea836050 |
refs/heads/master | <file_sep>import pyttsx3
import datetime
import speech_recognition as sr
import wikipedia
import webbrowser as wb
import os
import pyautogui
import psutil
import pyjokes
engine = pyttsx3.init()
def speak(audio):
engine.say(audio)
engine.runAndWait()
def time():
time = datetime.datetime.n... | 22d663275f5bb2bcb940dd8b714a04f6bcf1c5a4 | [
"Markdown",
"Python"
] | 2 | Python | aarkeshsharma/AI-Assistant-PINN | 0886438dbfec0dcd205d94873338c0cbe1309bd0 | fd804d1b84cbbae638d95f48742e91350b189b37 |
refs/heads/master | <file_sep>import React, { Component } from 'react'
import { Button, FormGroup, FormControl, ControlLabel } from "react-bootstrap";
export class Home extends Component {
render() {
return (
<div>
<Button>Home</Button>
</div>
)
}
}
export default Home
| 4b8cbc92cbe11c72c309b05722b68349a8dd1265 | [
"JavaScript"
] | 1 | JavaScript | SVinay27/gitdemo | 7cb6145945e2d6381e28dc723d5aebc5bdb2d266 | 34dcb6bbda5781ccf4012e168ba79a3e950aac2c |
refs/heads/master | <file_sep>package com.icebns.web;
import com.icebns.pojo.User;
import com.icebns.service.UserService;
import com.icebns.service.UserServiceImpl;
import com.icebns.utils.CookieUtils;
import javax.servlet.*;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSe... | 016aecf8556c1232a48d78f9ce95f32e65a4a7fa | [
"Java"
] | 27 | Java | icebns/HisTest | 1a481d3b06e36db70fc105ccfe6b66b71e40ba65 | b8f8621ee2a8332b9d26159ce9b3a6835a345d72 |
refs/heads/master | <repo_name>harryac07/kukhura-ui<file_sep>/src/components/login/index.js
import React, { Component } from 'react'
import { compose } from "redux";
import { connect } from "react-redux";
import { withRouter } from 'react-router-dom'
import LoginForm from './component/LoginForm'
import { Divider } from 'components/common... | 381d931a5c742d094a101f5608e5445a00d39774 | [
"JavaScript",
"Markdown"
] | 51 | JavaScript | harryac07/kukhura-ui | 9905a99157ab218f597dd7d2c666a79b26b8d7f2 | ecaf5e21f75489b7d33ff8f7783463698b579461 |
refs/heads/master | <repo_name>omezaf/ExamenJS<file_sep>/calculadora/js/app.js
var Calculadora = {};
Calculadora = ( function () {
var teclaActiva, pantalla, valor, decimal, numero1, numero2, operacion;
iniciarCalculadora();
function presionarTecla() {
teclaActiva = this;
this.style.borderWidth = '2px';
... | efe283830edf60bc61bb83ebf89d01eca28f7532 | [
"JavaScript"
] | 1 | JavaScript | omezaf/ExamenJS | 788586cec50fd47cc4e796c58768fe59c8361a7c | 61ebe827530e490de57ec2b99df041543d180990 |
refs/heads/master | <file_sep>#-*- coding: utf_8 -*-
import random
import numpy as np
class Graphe :
"""
n : nombre de sommets
p : probabilité pour les voisins
r : probabilité pour les couleurs
"""
def __init__(self, n, p, r):
# self.graphe = np.random.random_sample((n,n)) # dictionnaire ou l... | 355e2881f9b5528b4a083f26b970cafd42f3196d | [
"Python"
] | 3 | Python | FournierBastien/Graphes | c344ee93d79a6227ededc5d0c21bd6bb3276908b | b65a978d7486a6fc15c28bf54ccb2f819a764404 |
refs/heads/master | <repo_name>khlyestovillarion/amazon_spider<file_sep>/spiders/spiders/items.py
# -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html
from scrapy import Item, Field
class ProductItem(Item):
# define the fields for your... | df7414f33642dc6e45645cdf957b2d9926d44fd4 | [
"Python",
"Text"
] | 4 | Python | khlyestovillarion/amazon_spider | d7c99c238bad3c15b026e26230808934b6fc6141 | ec8e8d127103bbe0772e68430dd8d574f5b91463 |
refs/heads/master | <file_sep># This file is part of pyEPR: Energy participation ratio (EPR) design of quantum circuits in python
#
# Copyright (c) 2015 and later, <NAME> and <NAME>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the foll... | aa71dc54fafc264cd3a097f43c010fef95539c77 | [
"Python"
] | 4 | Python | jeffgertler/pyEPR | 8810938d338fe1d17d24036f85bf6253ca5c9e76 | 178d943c46cbb48dfbc4c06d93cecd44033fa9e2 |
refs/heads/master | <repo_name>ArshGamare/mynewrepository<file_sep>/basics.py
student_grades = [3, 4, 5]
student_grades2 = (3, 4, 5)
student_grades.append(6)
print(student_grades)
| 263f27de82e55009cc83a9023693502c061d35de | [
"Python"
] | 1 | Python | ArshGamare/mynewrepository | 98facfb4748fe28f231d6aae3d69dab9de382a5c | 5501869d6b156e52be81d7ef75a427d56e88df50 |
refs/heads/master | <repo_name>bittarani/Update<file_sep>/src/main/java/app/pp/TeamPlanningPage.java
package app.pp;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.FindBy;
import org.openq... | 3a58731d466894b02c9954ab984e954f4292eb07 | [
"Java",
"HTML"
] | 2 | Java | bittarani/Update | bad21a8a31decf223646825e2c1f0cdb351e5035 | f500cfe21eb8263619c296da4dbd3e6c52e89bf7 |
refs/heads/master | <repo_name>naokomada/AndroidRealmSample<file_sep>/README.md
# AndroidRealmSample
- reference
- https://realm.io/jp/docs/java/latest/
<file_sep>/app/src/main/java/com/example/admin/androidrealmsample/MainActivity.kt
package com.example.admin.androidrealmsample
import android.support.v7.app.AppCompatActivity
imp... | a860e59d0821945882e67f5af68471b414ce0270 | [
"Markdown",
"Kotlin"
] | 2 | Markdown | naokomada/AndroidRealmSample | 52e298f40e2e8b294eba9190fac9336cc30f4a83 | 094f2e81c12039538065ccc70b8098b92f99e479 |
refs/heads/master | <repo_name>emirhanakman/OtomasyonKutuphane<file_sep>/OtomasyonKutuphane/P_uye.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;
using System.Data.SqlCli... | 7751c35493ae96e2661896b4d1a219ee27630d22 | [
"C#"
] | 21 | C# | emirhanakman/OtomasyonKutuphane | 5665d5132ae3ee09c2508135a73203b6db3a11eb | e9716dd29fda6c8cda2e9532af9bb7f3262b035a |
refs/heads/master | <file_sep>function initDiscussionEditing(discussion,target){
var original = discussion.text_field.replace(/\r/g,'');
var mouseDown, mouseUp, top, left, drag;
var range_txt;
var range = {};
var vision_text_history_count = discussion.vision_text_history.length;
var queryPaper = ".paper";
var... | 607755b29772edcbd22068cb45725b142328b865 | [
"JavaScript"
] | 35 | JavaScript | panstav/sheatufim | 2164cb5b97d3ce47006df6e1b183ac7cd422f079 | 5de6ef94ded54c217f7fc7f020648fd66d96d558 |
refs/heads/main | <repo_name>Lomect/tide<file_sep>/src/response_builder.rs
use crate::http::headers::{HeaderName, ToHeaderValues};
use crate::http::{Body, Mime, StatusCode};
use crate::Response;
use std::convert::TryInto;
#[derive(Debug)]
/// Response Builder
///
/// Provides an ergonomic way to chain the creation of a response. This ... | 6ca935766ab55c7e937135feefd1451f22b1d6cc | [
"Rust"
] | 1 | Rust | Lomect/tide | f9016ed166236f4a486bbabb2e5c79b058c62a32 | 6ccd9c0065692a3a8fb0613343532499fc7b0764 |
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 Praktikum;
/**
*
* @author WINDOWS 10
*/
public class Bus {
public double penumpang;
public ... | 4e995e8785d2f985158286914d91d47560a9bcd4 | [
"Markdown",
"Java"
] | 2 | Java | RickyRahmadani10/Enkapsulasi | b464bbbd3d349a29f000650ebd67767790739df1 | f278d760b99cbfae646ee4079b04d939edffaa46 |
refs/heads/master | <file_sep>wget -q -O — https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt install jenkins
sudo systemctl start jenkins
sudo systemctl status jenkins
sudo ufw allow 8... | 6b849a597f5ad918d1b802d6922cd075d3080c9c | [
"Shell"
] | 1 | Shell | utkusari/Jenkins-Installer-ShellFile | 8c66f2cb500a697627081931719467d5bbfde874 | 717355e7cab2088cf75e9b97c377c5d0d23c5609 |
refs/heads/master | <repo_name>forty9unbeaten/recipeBox<file_sep>/recipes/views.py
from django.shortcuts import render
from recipes.models import Recipe, Chef
def index(request):
recipe_list = Recipe.objects.all()
return render(request,
'index.html',
{'recipe_list': recipe_list})
def chefs(r... | 76c61500d12a65d4d5f40c94f4c7a7611123e86e | [
"Python"
] | 3 | Python | forty9unbeaten/recipeBox | 581cfa3bbc6aaf7fdfc99e15e5b88b4f2219f62b | bdb38cec8594c1c6a6a8de0253e16b86f25d9b98 |
refs/heads/master | <file_sep>package main
import (
"fmt"
"sync"
"time"
"github.com/sbiscigl/phonenumberperm/intstack"
"github.com/sbiscigl/phonenumberperm/permutations"
)
var wg sync.WaitGroup
func main() {
num := []int{2, 7, 1, 4, 5, 5, 2}
stack := intstack.New(num)
start := time.Now()
permutations.CalcWords(stack, "")
di... | d34c02677ad012603e618036558afee11756721e | [
"Go"
] | 3 | Go | sbiscigl/phonenumberperm | c5df2750b9af5bf30be0b3561f1b28517515c3ce | 06d0fd70e5c557026811a6bd27126ee72e5f401e |
refs/heads/master | <file_sep>'use strict';
var jwt = require('jsonwebtoken');
var jwtConfig = require('../config/jwtconfig');
var jwtUtils = function() {
};
jwtUtils.prototype = {
encoder: function (payload) {
if (payload === null || payload == undefined || payload.length <= 0) {
throw {
name: ... | db927225673ea14231b68c087a1a648e659ec97d | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | justinchenusa/nodejsauthpoc | 08de3b3b8539e1402cdf5e355013a6aa11987ea2 | 37af7eac0e08b2fb2711fc66d00213d0458ed861 |
refs/heads/master | <file_sep><?php
namespace Model;
use \Fuel\Core\Log;
use \Fuel\Core\Request;
class Articles extends Base {
/**
* 旅行誌ファイルアップロード(複数同時アップロードは可能)
*
*/
public static function receive_upload() {
try {
\DB::start_transaction();
$date_jst = self::get_date_jst();
// このアップロードのカスタム設定
$upload_config = arra... | 03ce1c51e98d7eb1e55cdbd9611865a79112496c | [
"SQL",
"Ruby",
"Markdown",
"JavaScript",
"PHP",
"Shell"
] | 32 | PHP | TrungSpy/marcopanda | 11452f633a5d4ca665e67fb94de0f709c6749a16 | 097465800b0c462f5284c3e75c7cfc78f76d11ec |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.