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>pierrooTH/circle-products<file_sep>/src/Components/Products.js
import React, { Component } from 'react';
import '../css/Products.css';
import './ProductsDetails'
import {Link} from 'react-router-dom'
export default class Products extends Component {
render() {
// on récupére les données grâce à props,... | e4c2f89803deae714653439396bd7e3412f98ab7 | [
"JavaScript"
] | 2 | JavaScript | pierrooTH/circle-products | 3ef950ceb0335cf9023ecca552d6efe156d9f095 | bacab98f0f4a22a79a4a85d2c3b2c7d183a62fa6 |
refs/heads/master | <file_sep>import sys
import xml.dom.minidom
import csv
document = xml.dom.minidom.parse(sys.argv[1])
header = []
table = document.getElementsByTagName('table')
strong = document.getElementsByTagName('strong')
stockinfo = []
for b in table[3].getElementsByTagName('b'):
for node in b.childNodes:
if node.nodeType ==... | 228732292de67195fc33d3f18e158f5877d4c468 | [
"Markdown",
"Python",
"Shell"
] | 6 | Python | ananyasingh7/stonks | 7740685645c02ead2044f619d828091438d22a5d | 0e22191c38929307f3ef16f1862668edbc0c90d0 |
refs/heads/master | <repo_name>MuminPojk/Prov<file_sep>/Prov_Alice_Pettersson_Jacks/Prov_Alice_Pettersson_Jacks/Customers.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Prov_Alice_Pettersson_Jacks
{
class Customers
{
private int mo... | e26180b2991d8483cb49740e6cc447b6b855e520 | [
"C#"
] | 3 | C# | MuminPojk/Prov | e61883582da19ff39d8332731786bcd0e49b22e4 | 2a1291b864618710460f2bd7c34b6659457a62c8 |
refs/heads/master | <repo_name>lotreal/csv<file_sep>/svn/src/pre-commit
#!/bin/sh
export LANG=en_US.UTF-8
REPOS="$1"
TXN="$2"
TYPE="$3"
if test -z "$TYPE" ; then
TYPE="-t"
fi
SVNLOOK=/usr/local/bin/svnlook
CODEP=/root/workspace/codep/svn/src
set -e
exec 1>&2
${CODEP}/pre-commit.sh "$REPOS" "$TXN" "$TYPE" || exit 196
${CODEP}/pre-c... | 5ad3a1fe95dd6d71e864ff77f6af72715d06b8ec | [
"Python",
"Shell"
] | 4 | Shell | lotreal/csv | fde710bc9e24385ac140d18920fa5946fc27ccc9 | 2768e383d3ea45d0540727ef1a7cbb098bce1c59 |
refs/heads/master | <file_sep>import '@babel/polyfill';
const React = require('react');
const ReactDOM = require('react-dom');
const Simple = require('./app.jsx');
ReactDOM.render(React.createElement(Simple), document.getElementById('app'));
<file_sep>const {stripIndent} = require('common-tags');
const mongoose = require('mongoose');
co... | 901ec5ee0c762de6921e29a487b25e4b501b213a | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Szkieletor37/esolang-battle | 7583aea1ea515f91cb9b155597cff75a82242d3d | 1117faac7e33f31ebd8475f88169bd5a3c31aa84 |
refs/heads/master | <repo_name>en0mia/polito-informatica-temi-esame<file_sep>/README.md
# polito-informatica-temi-esame
Tema d'esame d'informatica risolti Politecnico di Torino
<file_sep>/14-02-2020/CMakeLists.txt
cmake_minimum_required(VERSION 3.15)
project(informazioni_anagrafiche C)
set(CMAKE_C_STANDARD 99)
add_executable(informazion... | 271f8e116cd3c8a7c443aaa7857af2250e042205 | [
"Markdown",
"C",
"CMake"
] | 3 | Markdown | en0mia/polito-informatica-temi-esame | 0de4026fedaa00a3d85dff78c62c3e458db18245 | c89117bf1e47bae13a8aaf644fe18e5a73a75638 |
refs/heads/main | <file_sep># -*- coding: utf-8 -*-
import json
import tweepy
import datetime
from requests_oauthlib import OAuth1Session
def get_keys():
data = 'keys.json'
with open(data,'r') as f:
keys = json.load(f)
return keys
keys = get_keys()
consumer_key = keys['api_key']
consumer_secr... | 8ed88f87b6c8fb9eeb8fda0f1e66fcbc6861b7e3 | [
"Python"
] | 1 | Python | beruz/crypto_twitter_bot | 6a8dc03be6fc1e23f676d8fed763c93e61a8d7e3 | 0a0e85bc4184d21a5a2e0405e03198860b8e396f |
refs/heads/master | <file_sep>require 'octokit'
require 'rest-client'
require 'json'
# fetch user information
username = 'putnamehere'
access_token = 'settings-devsettings-personalaccesstokens'
me = 'myname'
start_page = 0
per_page = 10
pages = start_page
done = false
count = 0
# create output files - one for stats and one for specific... | 152ee8f1654dbffd79423ed41aee485ca12f462c | [
"Markdown",
"Ruby"
] | 3 | Ruby | judyj/github-stats | 4cfd603c5145fe6689404339b64042033fd63173 | 460af44f4ea2e0f1bf6ec39befcc019713866ebf |
refs/heads/master | <file_sep>namespace System
{
using IO;
public static class StreamExtension
{
public static Byte[] ToBytes(this Stream stream)
{
var bytes = new byte[stream.Length];
stream.Read(bytes, 0, bytes.Length);
stream.Seek(0, SeekOrigin.Begin);
return... | b30144bd7bb4c1508026389f54163d8db0bf7293 | [
"Markdown",
"C#"
] | 10 | C# | joyang1/PdfWatermark | ed701726b605888f23dbf740ca10bfe9cf79a6c7 | 35db9d670df6d7f891afc1580986a4abfd0fdb14 |
refs/heads/master | <repo_name>kentwood/MbcTestServer<file_sep>/src/main/java/com/just4fun/controller/MbcRecvController.java
package com.just4fun.controller;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
impor... | 9053dbfa8a47266b71d141d688fd5925416c223a | [
"Java"
] | 1 | Java | kentwood/MbcTestServer | 446bc0b12882fdb7bddc6ea0f851c85bd6ba8f29 | 6896f7f8c69c56c4c73031e6a3ae269a3b6dcff6 |
refs/heads/master | <file_sep>package mathdemo;
public class MathDemo {
public static void main(String[] args) {
System.out.println("Примеры вызова функций:");
// Вычисление экспоненты:
System.out.println("exp(1)="+ MyMath.Exp(1,30));
// Вычисление синуса:
System.out.println("sin(pi)="+ MyMath.Sin(Math.PI,100)... | 387ee7b10f8845b1c44ef22d3d28833124d62fb7 | [
"Java"
] | 4 | Java | SergeyZhiltsov/CrossPlatformProgramming | dadea3852a4022dfa23f4436d0518a3f1d5841b4 | 5106d747f3f522fac44c39c62c0059293508b199 |
refs/heads/master | <repo_name>BohdanKalynych/PythonAppiumPractice<file_sep>/Base/LaunchApp.py
from appium import webdriver
import time
desired_caps = {}
desired_caps['platformName'] = 'Android'
desired_caps['platformVersion'] = '8'
desired_caps['deviceName'] = 'Pixel'
desired_caps['automatorName'] = 'UiAutomator2'
desired_caps['noSign']... | bd5dedfcfbdbe0f94fb7fbb85445c8a29dd0d4e0 | [
"Python"
] | 4 | Python | BohdanKalynych/PythonAppiumPractice | e874b01ac2671a609f2df6ca7249e1e7d3bdc33a | d88239707fc25af287566ec14d53dde47d42287e |
refs/heads/master | <file_sep>package main
import (
"fmt"
"os"
"sync"
"time"
"github.com/codegangsta/cli"
docker "github.com/fsouza/go-dockerclient"
"github.com/montanaflynn/stats"
)
func worker(requests int, image string, completeCh chan time.Duration) {
client, err := docker.NewClientFromEnv()
if err != nil {
panic(err)
}... | a0e6da2fca83c8b1aac34d6582a99fadcc87c397 | [
"Go"
] | 1 | Go | vieux/swarm-bench | c13b2c2c6224e40d11f66361b4b6aae1a6605195 | d46575b610a66728ce58b2835c39959eb299fd0c |
refs/heads/master | <file_sep>$(document).ready(function () {
$( window ).resize(function() {
if ( $(window).width() < 800){
$('#font').css('display','none')
$('#logo').css('display','none')
$('#menus li').css('display','inline-block')
}
});
$("#nav").stick_in_parent()
... | a52c3b20ad8515808a0094c85c9675d4bae828ab | [
"JavaScript"
] | 1 | JavaScript | Kiruxg/Kiruxg.github.io | 40034adba512d2aa4dc0fec19c6410a46ffcf7fc | 59ec5b37f8d33c1023c060f8362fe60315039809 |
refs/heads/master | <file_sep>package com.leslie.task_annotation;
/**
* 任务属性
*
* 作者:xjzhao
* 时间:2021-06-30 15:06
*/
public class TaskMeta {
private TaskType type;
private int priority;
private long delayMills;
private Class<?> cls;
private TaskMeta(TaskType type, int priority, long delayMills, Class<?> cls) {
... | ba4e372a6e5df18b8dc3cd7e4ccc809c16e30f8c | [
"Markdown",
"Java",
"Gradle"
] | 5 | Java | xjz-111/task-annotation | f7366f58d8e306b34bc50d97eae56e5c724fa656 | adb60d70eb408f67317da137b86798db123dc047 |
refs/heads/master | <repo_name>dbrady/dotfiles<file_sep>/dotplatform-dev
#!/bin/bash
export PLATFORM_DEV=$HOME/dev
shovel() ( $PLATFORM_DEV/script/run shovel "$@"; )
alias de='docker exec -e COLUMNS="$(tput cols)" -e LINES="$(tput lines)" -ti'
alias dps='docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}\t{{.Command}}\t{{.Imag... | 08a21800850dcb5406b9f71ecd44d426fe47006a | [
"Ruby",
"Shell"
] | 12 | Shell | dbrady/dotfiles | c4ef5549a8a506a57ad804cec92befc95bf00290 | 7ec6c02af5c523bff99f76dd87c9213597a774d0 |
refs/heads/master | <file_sep>$(document).ready(function() {
$(".fa-search").click(function() {
var search = $(".topbar_search input");
search.toggleClass("active");
$(".topbar_search input").focus();
$(".topbar_search").toggleClass("active");
})
})
$(document).ready(function(){
$(".topbar_search input").blur(function(){
$("... | 3a26aadbca5c6457cee5066532da92a3d1a45f08 | [
"JavaScript"
] | 6 | JavaScript | Alohayao/Alohayao.github.io | c126f1eeaca82bbd35cf4de086740d18d84283f1 | 282b7e355152c497197b9e27744cbbc87f846b37 |
refs/heads/master | <repo_name>lingxiaoyi/webpackpro<file_sep>/src/pages/download-app/html.js
const content = require('./content.ejs')
const layout = require('layout')
const config = require('configModule')
const pageTitle = '东方体育手机版_NBA直播|CBA直播|足球直播|英超直播吧|CCTV5在线直播'
const pageKeywords = '体育赛事,体育赛程,赛程预告,赛程表'
const pageDescription = '东方体育赛... | 2492c5d81730eb39f9a918270c7af322d58b3f12 | [
"JavaScript"
] | 8 | JavaScript | lingxiaoyi/webpackpro | 51a1843654409261b708ba203483a18ba902133d | ddab25bda6e128ab150fd6fc8d7e3c9d161721ff |
refs/heads/master | <repo_name>vinay-yadav/College-Management-System<file_sep>/main_site/views.py
from django.shortcuts import render, HttpResponse,get_object_or_404
from .models import Authenticate
def home(request):
template_name = 'site/index.html'
return render(request, template_name)
def login(request):
template_name ... | 83ed7c834d2136a5b31c3b140f795333234d87d1 | [
"Python"
] | 7 | Python | vinay-yadav/College-Management-System | 3a1c334305a8108988c223abe2ff166c9f975b71 | f97714c65c8d18ae8164206e7e5967e576591b4d |
refs/heads/master | <repo_name>Raselkhan1234/ema-john-with-server<file_sep>/index.js
const express = require('express')
const bodyParser = require('body-parser')
const cors=require('cors')
require('dotenv').config()
const MongoClient = require('mongodb').MongoClient;
const uri = `mongodb+srv://${process.env.DB_USER}:${process.env.DB_PAS... | ec43a4cac99d57ca7dc84183e2ae284d9e79acc9 | [
"JavaScript"
] | 1 | JavaScript | Raselkhan1234/ema-john-with-server | 552a540c214120a15cd11a00650c94131df4c9e2 | 5ae6661090e213411ba0bb9ef46133a7f29185a5 |
refs/heads/main | <repo_name>choiinsung276/PyQtStudy<file_sep>/SignalSlot/createEventHandler.py
import sys
from PyQt5.QtWidgets import (QApplication, QWidget, QLCDNumber, QDial, QVBoxLayout,
QPushButton, QHBoxLayout)
class MyApp(QWidget):
def __init__(self):
super().__init__()
self.initUI()
def initUI(... | 842516657cd90b613d892a60611c3c0b2959a8a9 | [
"Markdown",
"Python"
] | 8 | Python | choiinsung276/PyQtStudy | daea1634aa0482729c0eeb05ebbd365efe32ac99 | 3b0588a5fe24f58cf5e3a46fa4d5e6e0ae7a807b |
refs/heads/master | <repo_name>LawrenceLoh/EPDA<file_sep>/src/model/Admin.java
/*
* 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 model;
import java.util.List;
import javax.swing.JOptionPane;... | 2288d5de81bcd8352acd17a0e75f53ebe42e8595 | [
"Java"
] | 3 | Java | LawrenceLoh/EPDA | 9e76490a9d9722c6df87aa58701b5212ab527e06 | b5e2f9559e4b894b182ed3943ec43b754da5d9d6 |
refs/heads/master | <file_sep>return {
Properties = {
["Name"] = "<NAME>";
["ImageId"] = "rbxassetid://3106190691";
},
Settings = {
["Background Color"] = Color3.new(1, 0.690196, 1);
["Built-in Function Color"] = Color3.new(0, 0.501961, 0.752941);
["Comment Color"] = Color3.new(0, 0.501961, 0);
["Error Color"] = Co... | 0c300f9f4db8d068fb7428edb348e2bab108bbbd | [
"Markdown",
"Lua"
] | 30 | Lua | SimplyRekt/Script-Editor-Themes | 1258fdb07eeb2744846dea7cbc554ebb36202cfb | f8565b2e7e9642d6a7e09915b8d2794792baf4ab |
refs/heads/master | <file_sep>using GamingWorld.API.Security.Domain.Models;
namespace GamingWorld.API.Business.Domain.Models
{
public class Participant
{
public int Id { get; set; }
//Relationships
public int Points { get; set; }
public int UserId { get; set; }
public User User ... | 100546a07b285309f6817de258ff4021889d459d | [
"C#"
] | 76 | C# | maxwellpv/gamingworldbackend | 6d101c73f7afcf3b6c1bfbca9abb75c0ad0f2c3e | ff467eeb1b77f917f198349d57ce252d37987e8c |
refs/heads/master | <repo_name>jebroberts2/Test-Driven-Katas<file_sep>/wrap.js
function wrap(string, number) {
let splitArray = [];
let remainingString = string;
while (remainingString.length > number) {
let backwardsCounter = number;
while (remainingString[backwardsCounter] !== " ") {
backwardsCounter--;
}
sp... | 397b7041c57cc6aa9768e84c896ef42032ef0c0d | [
"JavaScript"
] | 1 | JavaScript | jebroberts2/Test-Driven-Katas | c323594a082015aaaff82474cfd88a74a8d4cc98 | ea4f4a6afb8295930920e9910db3c3175bd73ea2 |
refs/heads/master | <repo_name>jimmyangarita/newGitTest<file_sep>/auction/common/xml/xml-discover/target/jaxws/wsimport/java/com/jdap/auction/common/xml/discover/JobPayload.java
package com.jdap.auction.common.xml.discover;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml... | fd99746ba26641f5474479ccd2eeb4e67dfdf1ae | [
"SQL",
"Maven POM",
"Java",
"Python",
"TypeScript"
] | 30 | Java | jimmyangarita/newGitTest | 254258675e783ae826c3c21c21f10c037edfe608 | 9e85d1c0875190913676b50453c4b0a7f655f393 |
refs/heads/master | <file_sep>from tkinter import *
class Block:
lis = ['+', '-', '*', '/']
def __init__(self, master):
self.f_top = Frame()
self.f_bot = Frame()
self.e = Entry(master, width=20)
self.g = Entry(master, width=20)
self.but_sum = Button(self.f_top, text=self.lis[0], width=5)
... | 95b368a8e23fed2bf8b602fb4f896a95a1f039a1 | [
"Python"
] | 1 | Python | Bitr0y/Courses | 15843f40f307e18f0c7ebcb54abdbc65fb83aad5 | 1d727dd612dd9a235abd9adc80ed38ade7ffda72 |
refs/heads/master | <repo_name>yenertuz/app_academy_ruby<file_sep>/29_hash_map_lru_cache/lib/p02_hashing.rb
class Fixnum
# Fixnum#hash already implemented for you
end
class Array
def hash
return 0.hash if self.length == 0
sub_result = self.reduce { |sum, num| (sum << 5) + num }
to_hash = self.length ^ sub_result
sub_result.ha... | 24c7e7e7b3a5e37d2d8563ce47eb26e72113fe20 | [
"Markdown",
"Ruby"
] | 43 | Ruby | yenertuz/app_academy_ruby | 44957a5c30cffafd8fc66a645d1d86debb780f60 | 37dae2bf9af1845b7ef020adefe643265647b106 |
refs/heads/master | <file_sep><?php
use Carbon\Carbon;
use Arkade\Bronto\RestClient;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Middleware;
use GuzzleHttp\Psr7\Response;
use GuzzleHttp\Handler\MockHandler;
use Arkade\Bronto\RestAuthentication;
use PHPUnit\Framework\TestCase;
class RestClientTest extends TestCase
{
public function t... | c8bb208e14623c4af24d9e23a514248b019fbceb | [
"Markdown",
"PHP"
] | 48 | PHP | omneo/bronto-sdk | f79dd9cf7c4c9510ef2e034d3ab639f04930958e | 34fbf64bbbb7f89d5f4fb562e60b2757c1c8dbed |
refs/heads/master | <file_sep>import React from "react"
// components
import VideoItem from "./VideoItem"
const VideoList = ({ videos, onSelectVideo }) => {
const videoItems = videos.map((video) => (
<VideoItem key={video.id.videoId} video={video} onSelectVideo={onSelectVideo} />
))
return <div className="ui relaxed divided li... | 5d47861deb615df1e4c953c5f307ffac94927628 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | StephenRoille/project-428016a805-part-1 | 066968e1b596536104f109d3b187de53ab856573 | 98694a1f49abba209ca3aaefab5fa547afdc527a |
refs/heads/master | <repo_name>dca-araujo/lib-SNRHos<file_sep>/src/libSNRHos.class.php
<?php
/**
* Biblioteca mínima para atender envios de ficha eletrônica, checkin e checkout
* de hóspedes
* @author Airton (about.me/airton <EMAIL>)
*/
class libSNRHos {
const FalhaCriarSoapClient = 1;
const FalhaInserirFicha ... | 07cf5caaaeba879ee5f8982ed7d2f322f60cb1d2 | [
"Markdown",
"PHP"
] | 5 | PHP | dca-araujo/lib-SNRHos | 6d0fabd2e424e8b82aae4d7457f1a0f8e8b40c4c | 914b5b24f64c931aa778d88e4755d6e5ce0eb1cd |
refs/heads/master | <repo_name>AppetizerDessert/P05Quiz<file_sep>/app/src/main/java/c346/rp/edu/p05_quiz/MainActivity.java
package c346.rp.edu.p05_quiz;
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.Ch... | 45f62d05963c82c08980aa3a04801af25eedd847 | [
"Java"
] | 1 | Java | AppetizerDessert/P05Quiz | 9d686cb7db90f335d8ea1a7e805f7d87d35724ae | 64942b33610e3f1ce9bfaf8549c7fa5e09a58db5 |
refs/heads/master | <repo_name>ettiennegous/ESP-MQTT-JSON-Multisensor<file_sep>/bruh_mqtt_multisensor_github/bruh_mqtt_multisensor_github.ino
/*
.______ .______ __ __ __ __ ___ __ __ .___________. ______ .___ ___. ___ .___________. __ ______ .__ __.
| _ \ | _ \ | | | | | |... | 8fc626e6dd7a6e7fc616bfba508f789d76a2118a | [
"Markdown",
"C++"
] | 2 | C++ | ettiennegous/ESP-MQTT-JSON-Multisensor | 06f7d14ee7248be5b14e48c7b65efe7936aa6d34 | e9c3cb82cb7d03c58e90a16df3d212e9c3d0f9f0 |
refs/heads/master | <repo_name>omgitspradeep/TheSpiceLounge<file_sep>/app/src/main/java/com/sujan/info/thespicelounge/CashierActivity.java
package com.sujan.info.thespicelounge;
import android.content.Intent;
import android.os.Handler;
import android.support.design.widget.FloatingActionButton;
import android.os.Bundle;
import android.vie... | ed6ce31bcc9a4adfdca6f358e735f847def25595 | [
"Markdown",
"Java"
] | 34 | Java | omgitspradeep/TheSpiceLounge | 01dc5c46ce369337ca0e935dfeb5b57050500694 | fc00de9098d90564116daa01a5369ee93446b6f8 |
refs/heads/master | <repo_name>gezi666/tableDesigner<file_sep>/README.md
# tableDesign 表单设计器
## 基于Vue开发的可视化拖拽表单设计器
<file_sep>/src/store/index.js
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
state: {
canSelect: true,
currentID: "",
selectCompList: [],
screenPro... | e0544e19f99fb7dcb8ebf2bf16198dbf72fea714 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | gezi666/tableDesigner | ff3003acc3afbfa3956063a7bb27a7f546015432 | 28feed66ad3239ecf0c57be80620243309810eea |
refs/heads/master | <file_sep>//
// ImageURLView.swift
// CryptoWorkshop
//
// Created by <NAME> on 8/31/18.
// Copyright © 2018 TanookiLabs. All rights reserved.
//
import UIKit
class ImageURLView: UIView {
let imageUrl: URL
let imageView: UIImageView
let errorLabel: UILabel
let activityIndicator: UIActivityIndicat... | bc5dad44f31cd27088b5469de97098d3da2fe0a7 | [
"Swift",
"Ruby",
"Markdown"
] | 6 | Swift | mseijas/crypto-workshop | 651d1bf85563ff25b81be83855f91824de518c91 | 64917136d626190182c74ddd9b4a9c139400da39 |
refs/heads/master | <file_sep># Map Marker
Map Marker is a Laravel-based webapp which maps and displays the location of an incoming request in real-time. It's using Google Maps for the map library and has dropdown option to display coordinates in the last X hours (pre-defined). It requires the user to allow location permission on the bro... | 4059d6fdcfb6c120db8ac5e7ab2af67732a8ae4d | [
"Markdown",
"PHP"
] | 2 | Markdown | robi-ng/map-marker | 0b1157a702886fb5079adf329a5353720376feb5 | 0cafc82bb62b1750dee86ea420f078d0f5d214d3 |
refs/heads/master | <file_sep><h1>Week 1 Scrum Report</h1>
<h2><NAME></h2>
### Finished Last Week
- Task 1: Picked a Core XP value - Courage
- Task 2: Decided on project
- First commit of initial code and modified Readme
### Planned Next Week
- Refactor into patterns
- Create 2 user stories
- Create UI Wireframes with team
### Prob... | bc78584ef9b303c89db3f09fb3ba9529569c52a5 | [
"Markdown",
"Java"
] | 21 | Markdown | nguyensjsu/sp19-202-game-squad | 207f58b7f8a0da04c45b6dcda41e2f1f90aa8417 | cc54df4ebc2d8b6995dca4b710e7a0b4e5029916 |
refs/heads/master | <file_sep>let express = require('express');
let server = express();
let port = 3000 || 8080;
server.use(express.static(__dirname + '/public'));
server.listen(port, () => {
console.log(`Server is up on port ${port}`);
});
| 6c410fef4586e2525db9f20954094c4d02157149 | [
"JavaScript"
] | 1 | JavaScript | VladislavArkavenko/3d-rotating-cube | 0604ec366b62ce280ea98150643f74be0fb3566d | b26e6648a91fab5502c701a300eddd75031efbed |
refs/heads/master | <repo_name>RatioBuild/HelloWorld<file_sep>/build.sh
#!/bin/sh
security unlock-keychain -p `cat ~/.build_password`
xcodebuild
echo "Got it Working, without showing hidden files" | b49f6b4728a923465ae4e7d791bfecd45d935fe6 | [
"Shell"
] | 1 | Shell | RatioBuild/HelloWorld | 2d93886f47d1f22ff9928d16435a3627e4147bcb | 5c3ea3764bbe4c9bf669d11596fbceb9fdaf6d9c |
refs/heads/main | <file_sep>pygame.mixer.set_reserved(2)
reserved_channel_0 = pygame.mixer.Channel(0)
reserved_channel_1 = pygame.mixer.Channel(1)
<file_sep> def read_mtllib(self, mtl_fname):
file_mtllib = open(mtl_fname)
for line in file_mtllib:
words = line.split()
command = words[0]
... | 65dd75184787aaab9f1a91bdbadb454c3115c8e7 | [
"Markdown",
"Python",
"Lua"
] | 162 | Python | CrtomirJuren/pygame-projects | f710f36050bfe3ece866bbda7d570caa1e037d7a | fdae4eb56b69daef13d6d548edce6f7f4ce33262 |
refs/heads/master | <repo_name>Shendow/Shenesis<file_sep>/Shenesis/lua/gui_playonline.lua
require("lib/managers/menu/WalletGuiObject")
local is_win_32 = SystemInfo:platform() == Idstring("WIN32")
PlayOnlineGui = PlayOnlineGui or class()
function PlayOnlineGui:init(ws, fullscreen_ws, node)
managers.menu:active_menu().renderer.ws:hide()
... | 754f9ee17c45775f288102bd25ccd39f4f3bb9e7 | [
"Markdown",
"Lua"
] | 7 | Lua | Shendow/Shenesis | c76921d85d29bd8043b6f60fe5387e8817cb1ff1 | 42804e64f0b51536fa1fa99c8877de62a1c6c869 |
refs/heads/master | <repo_name>cryoem/eman-deps-feedstock<file_sep>/recipe/test_imports.py
from bisect import insort
from builtins import object
from builtins import range
from collections import Counter
from collections import MutableMapping
from collections import defaultdict
from copy import copy
from copy import deepcopy
from distutil... | 1a242994ac0d8e0ef51a972a0d96408a0fc69001 | [
"Python"
] | 4 | Python | cryoem/eman-deps-feedstock | 4ed7a5e37a8191846358cc45758b91c286a72235 | bbe02c22c5e47d59873a7ea1d84e23aae2e8c639 |
refs/heads/master | <file_sep>import numpy as np
from numpy.lib.stride_tricks import as_strided
from audio_utils import AudioSegment
from scipy.io.wavfile import read
EPS = 1e-5
def specgram_real(data, NFFT=256, Fs=2, noverlap=128):
"""
Computes the spectrogram for a real signal.
The parameters follow the naming convention... | e1225a89d606602aa7e9cb6dfc1bd0d139e62e1c | [
"Python"
] | 5 | Python | mbeissinger/eko | 2d40bd983d61a968a9024430ec0197c352f56859 | 733474c3b986bd255b7c65b15ff7a469ac23075f |
refs/heads/master | <repo_name>Tyzanol/cloud-mta-build-tool<file_sep>/internal/artifacts/project_test.go
package artifacts
import (
"io/ioutil"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"gopkg.in/yaml.v2"
"github.com/SAP/cloud-mta-build-tool/internal/commands"
"github.com/SAP/cloud-mta/mta"
)
var _ = Describe("Projec... | 4759fbf8374dc9f9c8cf64bf7a2663fe7afc639b | [
"Go"
] | 2 | Go | Tyzanol/cloud-mta-build-tool | 6763e88ee92fff76905e992e1812ebc9431751d2 | 3efb7cae0c86382021c99461f80d9c8afa358013 |
refs/heads/master | <file_sep>const crypto = require('crypto');
const API_SECRET = '82f192d903f363f22a031dfdbbeaf851';
const api_key = '<KEY>';
const generateMessage = (url, params) => {
let message = url + '?';
Object.keys(params).sort().forEach((key) => {
message = `${message}${key}=${params[key]}&`;
});
return... | 2cf9938895a0831fbfa154d640ba70c8ab26779f | [
"JavaScript",
"TypeScript",
"Shell"
] | 3 | JavaScript | williamaurreav23/tribeca | 5db37217e53b5c1bf48303c0f78f28f84b67b433 | 8480f0aab0e92e137e0bb8baf0998322e301dbc8 |
refs/heads/main | <file_sep>import { nextTick, unref, watch } from 'vue-demi'
import { MotionInstance, MotionVariants } from '../types'
export function registerLifeCycleHooks<T extends MotionVariants>({
target,
variants,
variant,
}: MotionInstance<T>) {
const _variants = unref(variants)
const stop = watch(
() => target,
... | f2bbf6f5e695839ed570aa5c9aad7e2e8c1d426b | [
"JavaScript",
"TypeScript"
] | 9 | TypeScript | patrickdaley/motion | a18db1f3c313eb812ede779a5ca943dc8afca02f | d45a44661f5410952b257edf14a4d57abf638261 |
refs/heads/master | <repo_name>brandohardesty/Showcase<file_sep>/README.md
# Showcase
This is sample code from my Data Structures course.
# DoublyLinkedList.py
This is a sample from a lab where I was required to implement a doubly linked list with operations including insert, deletion, addition, etc.
# MixedFraction.py
This is an ... | cde9d877f3308e0087ccb60917e19592f13ee0fd | [
"Markdown",
"Python"
] | 12 | Markdown | brandohardesty/Showcase | 4b60e9989020160a1688e81d590f63517ec0978c | 17a9cc469790b807d6c379b3f14f5e968c5765a2 |
refs/heads/main | <file_sep>const canvas = document.querySelector('canvas#cv');
const ctx = canvas.getContext('2d');
canvas.width = canvas.offsetWidth;
canvas.height = canvas.offsetHeight;
console.log(canvas.width, canvas.height);
class Calculator {
relX(x) {
return (0 - ((canvas.width / 2) - x));
}
re... | dae1ac5edcacd2906ef84e825a8111f849296b41 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | CaptSiro/SpaceTravel | 97b74746aae6fdd2ff7b2abea6f03ecd61bd51e0 | 1c62876c5286da6f7b27107a44e3d33cf9d00bd8 |
refs/heads/master | <repo_name>a2iKnGWq/XRhun-test<file_sep>/XR/application.py
from flask import Flask, flash, jsonify, redirect, render_template, request
# Configure application
app = Flask(__name__)
# Ensure templates are auto-reloaded
app.config["TEMPLATES_AUTO_RELOAD"] = True
# Ensure responses aren't cached
@app.after_request
def... | ef77baa7ea5da1315ea352a73e57bc9fcd307776 | [
"Python"
] | 1 | Python | a2iKnGWq/XRhun-test | 8d8ff941c672f52ffb84cd813efbcbd6313b89b1 | defd036ad0e74444a91a8ed51cc3c9a20f80dd75 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
namespace ElectricityDigitalSystem.Models
{
public class TarriffModel
{
public string Id { get; set; }
public string Name { get; set; }
public decimal PricePerUnit { get; set; }
}
}
<file_sep>using Elect... | bd2fd52790c74a8d93d9fb6e84bb0be62d83fe9f | [
"Markdown",
"C#"
] | 44 | C# | kenelight4u/Team-Saturn-ElectricityDigitalSystem | 351a7d180f8860809b1e842893a2982fcf2c4488 | e664b313ed9ee662b1ca2368139761eb944aae2c |
refs/heads/master | <repo_name>AnnaSamonii/JavaSeleniumCode<file_sep>/src/test/java/UITestsDay2.java
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Tes... | b8b0b3570f4b7e3a9105a95ba223ff0016f82686 | [
"Java"
] | 3 | Java | AnnaSamonii/JavaSeleniumCode | 625f9dcfecbb5308eb98a14f29e3e0c68d615c1d | c4100cab129d7d62f0f2a596ed6adabfba6bd97a |
refs/heads/master | <repo_name>brizio31/Android.FabTel<file_sep>/FabTel/src/main/java/it/cloudhome/android/fabtel/MySQLiteHelper.java
package it.cloudhome.android.fabtel;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
public class M... | b7e85aea1dbb8370cf8eb5b1957834850cce47b4 | [
"Java",
"Gradle"
] | 6 | Java | brizio31/Android.FabTel | 0103f477482604b94b4b2f7d3155a85584bffb56 | 1a22663b06f1a2cd8ff6373cc5ae9a1a566c0a71 |
refs/heads/master | <file_sep>using System;
using System.Data;
using System.Data.SqlClient;
public partial class write : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ourdb"].ConnectionString);
protected void Page_Load(object sender, EventArgs e)
{
... | 591ab4b9cbe224d133919677a6d9ae255065af62 | [
"Markdown",
"C#"
] | 4 | C# | ashumeow/newsarticle | d9316ca21cf64ff1886afaa76f145f8bbe8caf89 | 4ac1476ec5296d6e6d33867195d96330cd66958a |
refs/heads/master | <repo_name>jessicaundomiel/QuizApp<file_sep>/app/helpers/application_helper.rb
module ApplicationHelper
#Here, we'll have a master-list of answers and the user's guess will be checked against that list.
def check_answer(answer)
citylist = ["Atlanta", "Asheville", "Charlotte", "Raleigh"]
#Additional master-lists c... | dbf810827e7fc66dfe9eabbfe40b8d464d4c4955 | [
"Ruby"
] | 1 | Ruby | jessicaundomiel/QuizApp | 08ff0c654face636f52120bd9998fbc3e552e7ff | 6f26c37d79e8dcc1a0141128f40735af09f291b9 |
refs/heads/master | <repo_name>lamesen/RecruitRestaurantVisitorForecasting<file_sep>/recruit_utils.py
"""
Contributions from:
DSEverything - Mean Mix - Math, Geo, Harmonic (LB 0.493)
https://www.kaggle.com/dongxu027/mean-mix-math-geo-harmonic-lb-0-493
JdPaletto - Surprised Yet? - Part2 - (LB: 0.503)
https://www.kaggle.com/jdpaletto/surpri... | 5f6fb4f030a577654fda912bf2d3f29632615fa9 | [
"Python"
] | 2 | Python | lamesen/RecruitRestaurantVisitorForecasting | 1239fe2c5a6fd40dbc4f0acc8bea7c2a6332363e | 4d017af91b18b5ac4c33d9ec8b44e09a1eee8228 |
refs/heads/master | <repo_name>brenes/lodel20n<file_sep>/config/initializers/decorators.rb
ActiveRecord::Base.class_eval do
def decorator(format)
@__decorators ||= {}
@__decorators[format] ||= eval("Decorators::#{self.class.name}::#{format}.new(self)")
end
end<file_sep>/db/migrate/20111120104353_create_resultados.rb
class Crea... | 3dd72b83640c81c2fa39d50df7b873228257e741 | [
"Ruby"
] | 20 | Ruby | brenes/lodel20n | b2c08e2418915f7a262647232dd31fc37839feb8 | 245252b90254250dc2ec629e3049da226f148158 |
refs/heads/master | <repo_name>akihira0907/Balls<file_sep>/Downloads/Jissekai/hello.py
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as ani
import math
class Ball():
max_x = 7
min_x = -7
max_y = 7
min_y = -7
def __init__(self):
self.x = 0.1 * np.random.randint(-50, 50)
... | bfefa8867ea29323d4021d76eb90475d59781382 | [
"Python"
] | 2 | Python | akihira0907/Balls | 0dd3c806ab4b26a3a4461aeb1938a4bf20cbac54 | 471e4efcde4c0ffea85c6e3a6f22e273597bc2dc |
refs/heads/master | <repo_name>math4j/mathology<file_sep>/src/Vectors/src/vectors/resources/Keyboard.properties
input.text=
comma.text=,
add.text=Add
subtract.text=Subtract
multiply.text=Multiply
sc_tr_product.text=Scalar Triple Product
vc_tr_product.text=Vector Triple Product
dot_pr.text=Dot Product
cr_pr.text=Cross Product
vec_a.text=A
... | 1c7030353d5596fd720ecdb80c6defb9355ab867 | [
"Java",
"INI"
] | 9 | INI | math4j/mathology | 94136d3f97c3c8c9a92d89121b743910c5584573 | 0d756b519168b0d029c956fa6a57b227b2a0f99b |
refs/heads/master | <repo_name>dangduycuong/MasterSearch<file_sep>/TestFilter/TestFilter/BaseRouter/BaseNetwork.swift
//
// BaseNetwork.swift
// TestFilter
//
// Created by <NAME> on 2/4/20.
// Copyright © 2020 <NAME>. All rights reserved.
//
import UIKit
import SwiftyJSON
enum HTTPMethod {
case get
case post
case put
... | 5415650d76809f1f1e2b534cb1f6da453d0d27b8 | [
"Swift",
"Markdown"
] | 13 | Swift | dangduycuong/MasterSearch | acd21d58568150b8185a2a9df6aa7593b8717528 | ac026a2347b320576178c08e381b864b85ef6870 |
refs/heads/master | <repo_name>DeathArmy/AutoStonks.API<file_sep>/AutoStonks.API/Services/ModelService/IModelService.cs
using AutoStonks.API.Dtos.Model;
using AutoStonks.API.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AutoStonks.API.Services.ModelService
{
public... | dba3f79d11e2da36209a878e1ff9aa73916b119d | [
"C#"
] | 42 | C# | DeathArmy/AutoStonks.API | 4e2cf193e18cda784f0dbeacbb8f9c1e513804ce | 3efe3abc12e58a1286c06ac8bdb76042d9a9783a |
refs/heads/master | <repo_name>cc7gs/node-movie<file_sep>/server/tasks/qiniu.js
const qiniu=require('qiniu');
const nanoid=require('nanoid');
const config=require('../config')
//bucket 即七牛上的存储空间名
const bucket=config.qiniu.bucket;
//生成鉴权对象
const mac=new qiniu.auth.digest.Mac(config.qiniu.AK,config.qiniu.SK);
//构建配置对象
const cfg=new qiniu.... | eb1f5be8c4c803031ac1339bd393734d1bb99e6c | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | cc7gs/node-movie | fb86269f558b9e8a5004a6fc8be7be2c40af60e2 | b24e8f17fd566da86302e835648f17f4df248a4a |
refs/heads/master | <repo_name>clarkema/advent-of-code<file_sep>/2018/day_01/day_01.rb
#! ruby
require 'set'
def part_2(drifts)
seen = Set.new
freq = 0
drifts.cycle do |delta|
freq += delta
break freq unless seen.add?(freq)
end
end
drifts = File.new("day_01.input").each_line.map(&:to_i)
puts "Part 1: #{... | db36245263710eb1fafee717b0335a512f181895 | [
"Ruby",
"Lua",
"TOML",
"Makefile",
"Rust",
"Python"
] | 9 | Ruby | clarkema/advent-of-code | ef45d369d9fedce3678c9bc610db5170a655b518 | a27f922f4a350477cb69d67c92246d25f930adf7 |
refs/heads/master | <repo_name>nixward/bunjil<file_sep>/test/helpers/genera_helper_test.rb
require 'test_helper'
class GeneraHelperTest < ActionView::TestCase
end
<file_sep>/app/controllers/genera_controller.rb
class GeneraController < ApplicationController
def create
@family = Family.find(params[:family_id])
@comment = @family... | 8f0a0100a869741217827eda46a1aa1fe07992e4 | [
"Markdown",
"Ruby"
] | 3 | Ruby | nixward/bunjil | 1c9d11741698bcd3a3c502cf3047a65049479d73 | e65623e4a566723992cd521ef0348a437cffeb83 |
refs/heads/master | <file_sep>#!/usr/bin/env python
from __future__ import print_function
import os
import os.path
import tempfile
import subprocess
import time
import signal
import re
import sys
import shutil
create = 0
log = 0
debug = 0
file_locations = os.path.expanduser(os.getcwd())
logisim_location = os.path.join(o... | ad39d9a281ae514e8e43045c5733ca1a9d27194b | [
"Markdown",
"Python",
"Shell"
] | 6 | Python | ThaumicMekanism/RISCPU-V | 081276cfb5fb9c9be05d22fec87db6baeb98bc33 | cb9833e53222411edad660291db07f29f60244d0 |
refs/heads/master | <repo_name>iScript/spring-boot-example<file_sep>/src/main/java/com/macro/app/model/User.java
package com.macro.app.model;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotEmpty;
public class User implements Serializable {
private Long id;
@NotEmpty(message="用户名... | 235090686edf56ecf0375785b08818fc3d3653f4 | [
"Java"
] | 3 | Java | iScript/spring-boot-example | 282a63074ed4342913138ea131f175c30be7b131 | 6a3acfe9d1f2e2959b8d7146b17797d05485576c |
refs/heads/master | <file_sep><?php
// Author Name : <NAME>
// Information List : 2000 list
print "
.n . . n.
. .dP dP 9b 9b. .
4 qXb . dX Xb . dXp t
dX. 9Xb ... | 3c8e8008f14a6a84f9a469fec15b84d0f9610acb | [
"Markdown",
"PHP"
] | 2 | PHP | tikung6etar/Nyarek | 2a170b506dd581040bfcca0423b01df1ed807b97 | 3e6b70a72b8918d4af60001a5f11c229c368d9cc |
refs/heads/master | <file_sep>import urllib.request
from xml.etree import ElementTree as ET
from textblob import TextBlob
import pandas as pd
import operator
import json
def main():
# fetch xml
with urllib.request.urlopen('http://www.latimes.com/local/lanow/rss2.0.xml') as url:
data = url.read()
# set root element o... | 209886f1510f5bac32c711b766c39c5044837ca5 | [
"JavaScript",
"Python",
"TypeScript",
"Markdown"
] | 19 | Python | MattZera/NodeSMA | 5402f5ec7c43206d074a858f89c84a33eba470f8 | 8c0a7db339c750f5f4d561d89b08f3f4ff770a79 |
refs/heads/master | <repo_name>Shivam-Shah/TeachingKidsProgramming.Java<file_sep>/TeachingKidsProgramming/src/org/teachingkidsprogramming/recipes/SimpleSquare.java
package org.teachingkidsprogramming.recipes;
import java.awt.Color;
import org.teachingextensions.logo.Tortoise;
public class SimpleSquare
{
public static void main(String... | 5793f8f9306d44e09e22e1463d41c2068e0417fe | [
"Markdown",
"Java"
] | 2 | Java | Shivam-Shah/TeachingKidsProgramming.Java | d41b14def64bc00857493e022ea97f203b4257b0 | 8adbc5eef412fb6c3cbf34c35a824d5476eebf7c |
refs/heads/master | <file_sep>#!/bin/bash
while :
do
has_cluster_ip=$(ip a | grep "{{ cluster_ip }}" | wc -l)
if [[ ${has_cluster_ip} > 0 ]]; then
systemctl start postgresql
else
systemctl stop postgresql
fi
sleep .1
done
| 34391c50e034ca2c512a5c0be556f7307072ee13 | [
"Shell"
] | 1 | Shell | andrew-klassen/postgres_cluster | 00e58e85b1eb79769d1257b9e1ee951bd1582699 | e61265bb7dd2bee4754031893e9ef2f2e3279db7 |
refs/heads/master | <file_sep>
import axios from 'axios';
import AppAsyncStorage from './components/common/AppAsyncStorage';
import appConstants from './components/common/AppConstants';
import * as SecureStore from 'expo-secure-store';
setFoo=async ()=>{
await SecureStore.setItemAsync("foo", "bares")
}
getCategories = async () => {
... | 686e25afeedf9192123fe53c9a9cb56e8b1b4104 | [
"JavaScript"
] | 14 | JavaScript | lrlineroa/tarjeta_app | 43121daaa88a77e3d49c6ad31c9b26ebf64581e1 | d9a69e421f68c6631b67d328b92ed7204a16070c |
refs/heads/master | <file_sep>using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ToDoList.Models;
namespace ToDoList.Services
{
public class MongoDBTrainingRepository : IRepository
{
MongoClient _client;
private readonly IMongoCollection<To... | ccf625a8a1339fafa4d00a625862af4bc58bca40 | [
"C#",
"TypeScript"
] | 7 | C# | fuywingfuy/TestAngular | 193678b3f145bcf21f7ce57ed5c4501c2f058504 | 8581e7bf1f112bb573e010710856633f68bc1b38 |
refs/heads/master | <file_sep>#!/bin/bash
source /boot/config/plugins/openvpnclient/openvpnclient.cfg
if [[ $START_ON_MOUNT == "yes" ]]; then
/etc/rc.d/rc.openvpnclient start
fi
<file_sep>**OpenVPN Client**
A client for OpenVPN
| eb9c0dba279c34bd781849e73d1857fbf6bff182 | [
"Markdown",
"Shell"
] | 2 | Shell | dmacias72/openvpn_client_x64 | f131c6a212a3e2f8332a6edb8252685a8c3ace44 | be33919406a9af73ea6063a4e42e69cebc292e33 |
refs/heads/master | <file_sep>const express = require('express');
const router = express.Router();
const passport = require('passport');
const User = require('../models/user');
const initializePassport = require('../passport-config');
initializePassport(
passport,
async uName => await User.findOne({ uName: uName}).exec(),
asy... | 9a296efe8d9ddb25851f65d33a77253725534adb | [
"JavaScript"
] | 2 | JavaScript | danidre14/Mybrary | 9fb37f9436da3dca4e4b86e69700dfb7c651e7cb | 726daf0ba98df32f5ae635c44db73156fc9b42c1 |
refs/heads/main | <repo_name>Karthik-Prabhu-kp/Emoji-interpretor-React<file_sep>/src/App.js
import React, { useState } from "react";
import "./styles.css";
var emojiDictionary = {
"🙂": "Happy",
"😂": "Laughing",
"😒": "unamused",
"😴": "sleeping",
"😭": "crying",
"😋": "Face Savouring Delicious Food",
"🤧": "Sneezing Fac... | 2f7f815aae08f895c8a04d4c093f887af1185555 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Karthik-Prabhu-kp/Emoji-interpretor-React | 55e111495618926a90b2481d1806c02fde4cefc5 | 639ac9e46ba15f227ac8857792ee7de83e98fb63 |
refs/heads/master | <repo_name>Avezen/telemedi-test<file_sep>/src/Controller/MainPageController.php
<?php
namespace App\Controller;
use App\Entity\User;
use App\Form\Login;
use App\Form\RegisterUser;
use App\Utils\UserService;
use DateTime;
use Doctrine\DBAL\Types\DateType;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractControlle... | aaa2c2cf6e07d861d13dd933b2ea2ed2072f5286 | [
"PHP"
] | 4 | PHP | Avezen/telemedi-test | ddd047d62267aced85adf94e5544ca01af97ccdc | f5e6dbaeabc712724873ab4e22927697f2999aa4 |
refs/heads/master | <repo_name>tanjum88/Project1<file_sep>/src/script/ValidLogin.java
package script;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.Assert;
import org.testng.annotations.Test;
import generic.BaseTest;
import generic.FWUtility;
imp... | 67bca88f8e605c8d5e157ae9ae50f801215079a1 | [
"Java",
"HTML"
] | 4 | Java | tanjum88/Project1 | 80314d14dbb810af204efb4989c96ad402d0a0f8 | a9a65b12dc96fb354e5df6615779c3fb83f07a37 |
refs/heads/master | <file_sep>package ui;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel... | f904d4c8de45784226eb6b05f3bc87e0d061d905 | [
"Java"
] | 10 | Java | jiu-yuan/java | 505391f724415f3dece3d0b9976facaf6c5b5832 | ba11e0db202d837e4d6268c2cc9df0bebc77d7e6 |
refs/heads/master | <repo_name>skalmannen/Crawler<file_sep>/crawler.py
import requests
import bs4
import urllib
import random
def initCrawl(url, step, steps):
print('Crawling ...')
crawler(url, step, steps)
def crawler(url, step, steps):
if step < steps:
try:
print('** Site ', step, ' : ', url, ' **')
... | 84eaad1b5e86f1da11e941db50041074f6201d41 | [
"Python"
] | 1 | Python | skalmannen/Crawler | 1df13bed7e6abef79af08029d3aaa4d5f9697ed6 | 040f1e186c07dcf9d3a64a451fda82a39c345223 |
refs/heads/main | <repo_name>MedhaChirumarri/Deep-learning_pattern-recognition<file_sep>/Method1.py
import pandas as pd
import numpy as np
import math
import glob
import matplotlib.pyplot as plt
import warnings
warnings.filterwarnings('ignore')
import torch
import torch.nn.functional as F
import torch.nn as nn
from sklearn.model_select... | 89ddc6baf4edde8485c4566a506a134b2dc94df6 | [
"Markdown",
"Python"
] | 7 | Python | MedhaChirumarri/Deep-learning_pattern-recognition | e0a189cf013c11ea3b54e0bada29abcc68db8637 | 108b9902007eacff900f8e6632e02941713e50d5 |
refs/heads/master | <repo_name>rahul28malviya/TutorWebApp<file_sep>/README.md
# TutorWebApp
I have created a sample web application named as TutorWebApp in C# along with AngularJS, using .NET framework 4.7.2 and Angular1.7. This application has the following features.
Bind the data and showing in table list (UI).
Create, Edit and Update t... | 757bb721976b4ee87adb7129fa98a5b4f7770e8b | [
"Markdown",
"C#"
] | 3 | Markdown | rahul28malviya/TutorWebApp | 5cd886a37dd821f5432c5fe1a8c72fc61ec2aac8 | d8c9c0e6364e613134f665c38929bd040bc14baf |
refs/heads/master | <repo_name>Kostyk163/Home-Project<file_sep>/token.php
<?php
$access = ['friends', 'messages', 'ads' , 'groups'];
$request_params = [
'client_id' => '6833752',
'display' => 'page',
'redirect_url' => 'https://oauth.vk.com/blank.html',
'scope' => implode( ',' , $access),
'... | 1347fad84d7ea4798bc62b2b6cb795142b569499 | [
"PHP"
] | 3 | PHP | Kostyk163/Home-Project | 2142391f03c8820cfde67804292ec8ebbd7e7360 | 2b22154562e098448d63ae1f6638147364bb3aae |
refs/heads/main | <file_sep>import Vue from 'vue'
import VueRouter from 'vue-router'
import postiApp from '../views/posti-app.vue'
import userProfile from '../views/user-profile.vue'
// import postiNew from '../views/posti-new.vue'
Vue.use(VueRouter)
const routes = [
{
path: '/',
name: 'postiApp',
component: postiApp
}... | 9b411f420b06e853394bf38879cdb8cde153b6d0 | [
"JavaScript"
] | 2 | JavaScript | carmitvk/instush | 6ef949efa294c393440f3d80b810faf788c5e035 | 2052a732872c461bcc74c1fb9f32db611d37bd33 |
refs/heads/main | <repo_name>johny1122/Java-OOP<file_sep>/Ex6/src/CheckScope.java
import java.util.HashMap;
import java.util.InvalidPropertiesFormatException;
import java.util.Stack;
/**
* Checking the global scope and the methods scopes thoroughly
*/
public class CheckScope {
private static final String ERROR_MESSAGE_GLOBAL = "E... | 4e3ce70911472f21501c31dcaa33fc49587c47ae | [
"Java",
"Python"
] | 24 | Java | johny1122/Java-OOP | 1ab48a76fca25bf0d115040e1870bc4cbc25f017 | 01d9645d564ca7d0cfc8980b30fb629d2cb0a525 |
refs/heads/master | <repo_name>gerkirill/book-box<file_sep>/src/app.php
<?php
use Silex\Application;
use Silex\Provider\SessionServiceProvider;
use Silex\Provider\TwigServiceProvider;
use Silex\Provider\UrlGeneratorServiceProvider;
use Silex\Provider\ValidatorServiceProvider;
use Silex\Provider\ServiceControllerServiceProvider;
use Dropb... | 2624b56b5812d7545cfbb31be55be9a0a7ae0812 | [
"Markdown",
"Ruby",
"PHP"
] | 7 | PHP | gerkirill/book-box | dad237ab2c3af0a8f33ae17d1df2afb894076b9b | 8724432a713f11353d0ed9b03e3ce6a214352d8a |
refs/heads/master | <repo_name>ImadBouirmane/phiber<file_sep>/library/controller.php
<?php
namespace Phiber;
class controller extends wire
{
public function __construct()
{
$this->view;
}
}
<file_sep>/library/ui/ui.php
<?php
namespace Phiber\Ui;
use Phiber\phiber;
class ui extends phiber
{
public $html;
... | ee9ffd9719e40652b3234283957a3b01a9cd4652 | [
"PHP"
] | 2 | PHP | ImadBouirmane/phiber | a43a07620eca1ccd788ac43ba73d634ca60ad7c9 | b2ff52153957b92704531b9359f5d526bae46ead |
refs/heads/master | <file_sep>#!/usr/bin/env python
from flask import Flask, session, redirect, url_for, escape, request
from flask_session import Session
app = Flask(__name__)
# using flask_session to replace Flask.session
# will persist session dictionaries as string-valued keys
# (basically python pickles) to redis at 127.0.0.1:6379... | 3bf53177c2107ff92d922c897af80fb7612cc284 | [
"Markdown",
"Python",
"Text"
] | 3 | Python | knoxilla/flessions | c488b1e070404d208f544737e4e096a23f16b46c | 6309b453d6bfacc00bea98415b17b9e1366dcc9f |
refs/heads/master | <repo_name>patrickmlong/axondeepseg<file_sep>/AxonDeepSeg/integrity_test.py
# -*- coding: utf-8 -*-
# Basic integrity test to check is AxonDeepSeg is correctly installed
# Launches a segmentation in the data_test folder
try:
import json
import os
from AxonDeepSeg.testing.segmentation_scoring import *
... | e931d4d3039060fddf261251ae0e91c1f8c1c00e | [
"Python"
] | 4 | Python | patrickmlong/axondeepseg | 6c7d20a2fa3a19b323b3c1e87ded2c943a7e344e | 44337643b990589a4239d8cefc70080b268e410d |
refs/heads/master | <file_sep>AwesomeTkinter==2020.9.16
certifi==2020.6.20
chardet==3.0.4
debtcollector==2.2.0
EasyTkinter==1.1.0
fire==0.3.1
future==0.18.2
hdpitkinter==1.0.3
idna==2.10
ModTkinter==0.0.22
mttkinter==0.6.1
mutagen==1.45.1
netaddr==0.8.0
numpy==1.19.2
OmegaMath01==1.0.8
os-android-apk-builder==1.13
os-tools==4.48
oslo.conf... | d0f154037b62fe128470a42cd9a3c04975e599e7 | [
"Markdown",
"Python",
"Text"
] | 3 | Text | RishabhP24/Music-Player | 7ade756642b43b7ca70fc9b292b3befc958eb8f9 | 2f21368fcca58f78d9edb38b93fb913f5ebe5405 |
refs/heads/master | <file_sep><?php
namespace Plata\Fravel;
use League\Fractal\Manager;
use Illuminate\Support\ServiceProvider;
use Illuminate\Contracts\View\Factory as ViewFactoryContract;
class FravelServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
pub... | 7e44b5f01ae028682701e4a760921e311d5520b7 | [
"Markdown",
"PHP"
] | 7 | PHP | silverxjohn/fravel | be18464c74e5a21259e048e1401e6d319e089f43 | 1d2db0bbdc9dbd74cc8a7db097f33efdb94b7c41 |
refs/heads/master | <file_sep><?php
if(! function_exists("string_plural_select_pl")) {
function string_plural_select_pl($n){
return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);;
}}
;
$a->strings["bitchslap"] = "";
$... | 45ea01b4dc9d51c71c7d64220d45981de16efc5c | [
"Markdown",
"PHP"
] | 5 | PHP | JeroenED/friendica-addons | 97108080c26ab7b98b30e4b6c61f057314b44577 | 2b55bb47621674856cb10df490ff17364212fcde |
refs/heads/master | <repo_name>DreamN/Multiuserblog<file_sep>/models.py
from google.appengine.ext import db
class Post(db.Model):
"""Post Model"""
subject = db.StringProperty(required=True)
author = db.StringProperty(required=True)
content = db.TextProperty(required=True)
created = db.DateTimeProperty(auto_now_add=Tr... | 486f874b4ba3125e3956e6d09bdc2297de186cc0 | [
"Markdown",
"Python"
] | 4 | Python | DreamN/Multiuserblog | 873739ea01d19d4a37616360704d1ee9fbb69fae | b86fd47925218b007ee0066c78253237f74ff9e9 |
refs/heads/main | <repo_name>SamuelMontague/codeQuiz<file_sep>/README.md
# hw4-quiz
[]
# Description
This front-end application creates a quiz about coding language that we have learned in the bootcamp so far!

# Table of Conte... | b5a39204f750478dfc1f04b9698ed72e9b45b537 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | SamuelMontague/codeQuiz | 8a9de22ca6c9c03a971f1ff3a9f8f70456e0f253 | c36acca0737723469c2d603c9dd0b1f5535af3fe |
refs/heads/master | <file_sep># choujiang
choujiangdemo
<file_sep>
$(function(){
// $(".ji").click(function(){
// $(".alert").hide();
// return false;
// });
var timeOut = function(){ //超时函数
$("#lotteryBtn").rotate({
angle:0,
duration: 10000,
animateTo: 2160,
callback:function(){
alert('网络超时'... | 92b2d5643d2c0603001d0c21c57c533e3ab71909 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | manong555/choujiang | ba1c88f01f31f8a2ea27cdb308aacc62ae86a3be | 13c21916325b68cb5c1c15224bf192b2f3c1d6a0 |
refs/heads/master | <file_sep>//
// KeyChainHelper.swift
//
// Created by <NAME> on 23/09/2015.
// Copyright © 2015 Weihong. All rights reserved.
//
import Foundation
import Security
let SecMatchLimit: String! = kSecMatchLimit as String
let SecReturnData: String! = kSecReturnData as String
let SecValueData: String! = kSecValueData as... | f36964a0419c34fd5bb9183b1091b71103c39dc0 | [
"Swift",
"Markdown"
] | 2 | Swift | WEIHOME/KeyChainHelper-Swift | 59ba6d2741e4e18bfd33f0121b7c789d01279ff5 | 41da91b55368878cadf9dc1d2cb6e46c0bcf7185 |
refs/heads/master | <file_sep>package com.subhag.api
import com.subhag.api.services.newsapp.NewsApiClient
import kotlinx.coroutines.runBlocking
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotEquals
import org.junit.Test
class NewsApiTest {
private val newsApi = NewsApiClient().newsApi
@Test
fun `Test... | bbf7d8f180e2b5089d9ebe811e5547c90072c06e | [
"Kotlin",
"Gradle"
] | 17 | Kotlin | DhruvB007/NewsApp | 7a08af0260a9a6fbb06cb99aa858d71a2870232c | 79ccce52f3dabc5f667c56222f07d748b98dfa7e |
refs/heads/master | <file_sep># Hey Orc
A sample Ruby on Rails application that uses Orchestrate.
<file_sep>class LocationsController < ApplicationController
def index
@locations = Location.all
end
def show
@location = Location.find params[:id]
@comments = @location.comments
end
def new
@location = Location.ne... | 371db9260657e60d0ad8560cd0de2ff103c13658 | [
"Markdown",
"Ruby"
] | 5 | Markdown | muskanmahajan37/hey-orc | 7d6b152e479ff4c2fa034dbe75ffa2f4777202b1 | 88edf3912ce4b5eba6dd371a71823564dfc08fb8 |
refs/heads/master | <file_sep>import React from 'react';
import { Nav, Navbar, Form, FormControl } from 'react-bootstrap';
import styled from 'styled-components';
const Styles = styled.div`
.navbar {
background-color: green;
width: 100%;
display: flex;
flex-direction: row;
}
a, .navbar-nav, .navbar-light .nav-link ... | 861b918cf95e0ae905dc05df76dfe5e26a987bd9 | [
"JavaScript"
] | 1 | JavaScript | ampaire/AudioQueen | 7345f32d22364d2794675bcce6b5dfb30fa8e43b | 9f67260cbafd89a0f77da83e63d5c28bdd211393 |
refs/heads/master | <repo_name>rajesh452/shoppincartversion1<file_sep>/README.md
# shoppincartversion1
backend of shopping cart
<file_sep>/ShoppingCartVersion1/src/main/java/com/niit/shoppingcartdao/CategoryDAO.java
package com.niit.shoppingcartdao;
import java.util.List;
import com.niit.shoppingcartversionmodel.Category;
public... | facc251cc465982a7235e9eb559689b97c460751 | [
"Markdown",
"Java"
] | 2 | Markdown | rajesh452/shoppincartversion1 | c37745ab09dd96e1f3238f127bc2759b659d9e05 | 7f376d96131fd9f4752221d8fb004b9e49801cc3 |
refs/heads/master | <repo_name>MarkDaviesEsendex/BattleNetClient<file_sep>/src/BattleNetClient/Clients/BattleNetClient.cs
using BattleNetClient.Diablo;
namespace BattleNetClient.Clients
{
internal class BattleNetClient : IBattleNetClient
{
public IDiabloClient Diablo { get; }
public bool IsClientValid => true;
... | 0ba22ceb572e3764d4c51ca9c320d9a8bb72960e | [
"Markdown",
"C#"
] | 31 | C# | MarkDaviesEsendex/BattleNetClient | 30af940321be495fbab962d5fa0ec65f7c4b2c96 | 6f5b16e95ed37508855d722d2ecff33354f48cc4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.