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>blakesmith/piezo<file_sep>/README.md
# Piezo
From the greek word _piezein_, meaning to squeeze or press
## What is it?
In its simplest form, Piezo is a simple tool to schedule repeating http requests. It provides a simple http api to schedule and unschedule recurring requests.
Some things I use it for:
-... | 9a862eadb78b7a42c8a260822602983671510cce | [
"Markdown",
"Go"
] | 2 | Markdown | blakesmith/piezo | e549ec486b1ce58bbf3b2d518590899b92e9f0cb | a6e0d581b7e1fef94139f1929fb6eb76de6e5e88 |
refs/heads/master | <repo_name>DongL/magrittr<file_sep>/man/lambda.Rd
% Generated by roxygen2 (4.0.1): do not edit by hand
\name{compose}
\alias{compose}
\alias{l}
\alias{lambda}
\title{compose a lambda function or chain of functions.}
\usage{
compose(..., .args = NULL)
lambda(..., .args = NULL)
l(..., .args = NULL)
}
\arguments{
\item{... | 438c2617e5158864bf740a96c8f355dfdae147de | [
"R"
] | 4 | R | DongL/magrittr | 2d9da55e0a5becb2a28e37cf42ff3a64d77b1e50 | 4fae826ba8f7f41153c00b385f58cffa0b7f0d3f |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Medallion;
namespace mlp_net_ga_cs
{
class Matrix
{
public double[,] matrix;
public void RandomMatrix(ref Random rnd,in int rows, in int cols)
{
... | 4e755a21faa97a7ae48cc8c7d0694d3d9730ce3e | [
"Markdown",
"C#"
] | 5 | C# | ViktorHura/mlpnet-ga-cs | 2e681c1993f34955cfe976bc596cd120e3e27760 | 61b563dd69d5c8f21a59723ad3df0feb062f85a6 |
refs/heads/master | <file_sep>class Solution {
public int[] maxSlidingWindow(int[] nums, int k) {
int start = 0 ;
int end = 0;
List<Integer> list = new ArrayList<>();
int max = Integer.MIN_VALUE;
while(end < nums.length){
int currMax = nums[end];
if(... | 69a70436de4866cabaeadde2b719ed9f26670678 | [
"Markdown",
"Java"
] | 19 | Java | nikitabairagi/LeetcodeSolutions | 012e03545ae68a5c6f57e2629d38b67ac02f8422 | a67564c825e40431918aedcd57b248392dab0337 |
refs/heads/main | <file_sep>cross_words = [
['A', 'V', 'E', 'T', 'O'],
['A', 'B', 'C', 'D', 'E'],
['C', 'B', 'C', 'D', 'E'],
['O', 'B', 'C', 'D', 'E'],
['R', 'B', 'C', 'D', 'E'],
['N', 'B', 'C', 'D', 'E'],
['O', 'B', 'C', 'D', 'E'],
['A', 'B', 'C', 'D', 'E'],
['A', 'B', 'C', 'D', 'E'],
['A', 'B', ... | 7d479531aa2085e56611beb8881c20af432fb9dd | [
"Python"
] | 1 | Python | p-schlickmann/word-finder | 17229e623e8235bac0455c200d6acba17465aee5 | 8649e19e17d4b6414bed9473f1cacad6dd60a44c |
refs/heads/master | <file_sep># smart-cctv
A Smart Surveillance System using an advanced digital Image processing technique alongside the mix of computer vision and unsupervised machine learning techniques.
Abnormal human activity detection has wide applications that span across monitoring in public spaces to personal health rehabilitat... | 426ba8e5e51d6467fc52b41cad7cbb2d5b302799 | [
"Markdown",
"Python"
] | 2 | Markdown | Praveen-98cs/Abnormal-human-Activity-detection | 8979bd412f8e4df456b4b3cbd7860cb1d24e0a53 | 66f77a9983972f761c92b4cd16ee01660b5cbdc4 |
refs/heads/master | <repo_name>METABYTECODE/TwilightsEveORPG<file_sep>/game/scripts/vscripts/abilities/druid/archdruid/modifier_teve_druid_archdruid_werebear.lua
modifier_teve_druid_archdruid_werebear = class({})
function modifier_teve_druid_archdruid_werebear:OnCreated(kv)
if IsServer() then
self:GetCaster():SetAttackCapabil... | c3ab8968d9f6ecc72d4ad11e15e5ebde00128227 | [
"Markdown",
"Lua"
] | 53 | Lua | METABYTECODE/TwilightsEveORPG | 8d410376aac542f43f4ccf3ecd0d5158b98d3891 | f287f6b9376520bc6047c7bccce4592dea6e8310 |
refs/heads/master | <file_sep>#!/usr/bin/env sh
set -e
TOOLS=./build/tools
$TOOLS/caffe train \
--solver=examples/cifar10/cifar10_full_solver_cpu.prototxt $@
# reduce learning rate by factor of 10
$TOOLS/caffe train \
--solver=examples/cifar10/cifar10_full_solver_lr1_cpu.prototxt \
--snapshot=examples/cifar10/cifar10_full_c... | 32ab95a7880167d7af478cf8c7b69332c1a012be | [
"C++",
"Shell"
] | 7 | Shell | Swas99/caffe | 07dc14eafa0041a29685bd8cd6d1d6ca7915f786 | 0e920ee3fb87116c0412360187aa4b5f393f2c1f |
refs/heads/master | <repo_name>morenotos/Monopoly<file_sep>/main.py
from random import randint
from time import sleep
#import sys
#from cards import card_chooser
players_number = []
players_names = []
players_money = []
players_position = []
property_names = ['Go', 'Mediterranean Av', 'Community Chest', 'Baltic Av', 'Income Tax', 'Read... | 9a808cbbeb387a1950187ac3a146e4599eececab | [
"Python"
] | 2 | Python | morenotos/Monopoly | 160093930f5fd4d73b1a9b0287434847ee461ada | 7dfafc4369c93fe918d942a9781178e46d9e82fb |
refs/heads/master | <file_sep>#!/usr/bin/env python2
# Script used to download all repos from a specific Github user or organisation
# Based on a gist: https://gist.github.com/matthewgrossman/0ec47718511ea62853c5e32286f1c54ac
import sys
import os
import requests
def get_repos(group, name, access_token):
repos = {}
page = 1
... | 7336a766d24d922f2b6684adc7c83bbf2dfe65d8 | [
"Python",
"Shell"
] | 7 | Python | rafalenden/dotfiles | 3dc91f4fcad095b7855cd2341a00e0b5c0b92599 | 0ed1f80de2a82736ce7effa1983ec49b5f886ddb |
refs/heads/master | <repo_name>sunshinelina1213/sunshinelina1213.github.io<file_sep>/yiyibushe/js/zhuce.js
$(function(){
var telyanzheng=false;
var pwdyanzheng=false;
var pwdyanzheng2=false;
var yzyanzheng=false;
//手机验证方式
$(".checktel input").focusout(function(){
var telnum=/^1\d{10}$/;
if(telnum.test($(this).val())){
... | c783cc79cad21adb3dc6bd437481d11612fec1fc | [
"JavaScript"
] | 7 | JavaScript | sunshinelina1213/sunshinelina1213.github.io | 337a9dd39eda4c69e6138444db16b272f1e22a4d | bf1a384dc6c8d12d2e02537cb36517c19df7c0f8 |
refs/heads/master | <file_sep>"""
Author: <NAME>, <EMAIL>
Last Modified: 04/14/2014
This is a recreation of the Battleship board game where players place
ships on a 10x10 grid, then proceed to try and sink the enemie's 5 ships
battleshipAI.py will contain functions for the computer populating a grid
with... | 8bde4beb5cb18ce0d4b4528c119b12d0de2e468f | [
"Markdown",
"Python"
] | 3 | Python | javproj/pyBattleship | f815cc6ebdb4aeb386446fecf42b7485399a36e1 | 16f4d01eacfb5ffb45dace54ac16a625e1ac14f2 |
refs/heads/master | <repo_name>eapenzacharias/enumerable<file_sep>/README.md
# Advanced Building Blocks - Enumerables
This is the first project of the Main Ruby curriculum at [Microverse](https://www.microverse.org/) - @microverseinc
* The goal was learn about sorting algorithims and blocks.
* The project was completed using ruby.
#### ... | c2dfae836c07312655210d48c08f524f4fe0f2b5 | [
"Markdown",
"Ruby"
] | 2 | Markdown | eapenzacharias/enumerable | 3d462e115f048ea601ab2f926e8633565a684f7a | 11b1b9eadd3b83cb28a66028da6e9ea1f863b4a8 |
refs/heads/master | <file_sep>#!/bin/bash
#
# Base Praxis Command
# @see /usr/lib/portage/bin/etc-update
# @todo check for LANG and LC_COLLATE
set -o errexit
# set -o nounset
# Colors and reset Screen
# CLEAR=""
N="\033[0;39m" # Reset Terminal Defaults
R="\033[1;31m" # R: Failure or error message
G="\033[1;32m" # G: Commands
Y="\033[1... | ca6cdf4b8219cae58ab146e51c71cd3380997775 | [
"Markdown",
"Shell"
] | 5 | Shell | edoceo/praxis | 17f11f8a989ea42d85f808af948997f299c4c6e8 | adb00dd2b99b8d779c9fa2cb0b8f3b424b7433fa |
refs/heads/master | <repo_name>wangbin2016/netty_learn<file_sep>/src/main/java/com/wb/netty/ch07/client/SubReqClient.java
package com.wb.netty.ch07.client;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOption;
import io.netty.... | 65536593748c7d20ec21bdb18baf43c43571b954 | [
"Java"
] | 2 | Java | wangbin2016/netty_learn | 8137a66f2f1f6fab1882c420ca6b314e79290624 | 1560872eed95a59719c6dfafe6f9fa18eaf93e06 |
refs/heads/master | <repo_name>ratchawutk55/web<file_sep>/student-page.php
<?php
require "config.php";
session_start();
if(!isset($_SESSION['login_user']))
{
header('Location: login.php');
exit;
}
$sql = "SELECT Name,pic_url,email,Faculty FROM comsystem.students WHERE Student_ID = '".$_SESSION['login_user']."'";
$query = mysql... | f835d74163be7d34aa8cd1acda2ada1031cf3e17 | [
"Markdown",
"PHP"
] | 5 | PHP | ratchawutk55/web | 066ad456eef8bfa855f9cca089b9814b7f4195d0 | 9a6180faaf4bf7544ecb3675026c85168fdcbf91 |
refs/heads/master | <file_sep>//global Variables
var countdownTimer = {
time: 30,
reset: function() {
this.time = 30;
}
}
var correctAnswers = 0;
var wrongAnswers = 0;
var index = 0;
var timer = setInterval(decrement(), 1000);
function decrement() {
$("#timer").html("<h2>" + countdownTimer.time + "</h2>")
countdownTimer.time--... | 9802462a3cc6a666a3e1cdf9e750e0d49f7bf4d9 | [
"JavaScript"
] | 1 | JavaScript | prestonedwards3/TriviaGame | 59b98f6e21e9b5683577e584ff2f4e18fefceed7 | 321a4a73a08ca067d002cd02631997c2b78fc95a |
refs/heads/main | <repo_name>AndrewPhilbin/D3-Scatter-Plot<file_sep>/script.js
let margin = { top: 20, right: 50, bottom: 20, left: 50 };
let height = 600 - margin.left - margin.right;
let width = 1000 - margin.top - margin.bottom;
let svgBuild = d3
.select('.container')
.append('svg')
.attr('width', width + margin.left + margin... | 8f788873bcb5a179d6c83ddd38bb08aa5419eb70 | [
"JavaScript"
] | 1 | JavaScript | AndrewPhilbin/D3-Scatter-Plot | 8e500447c0ee1fa4083f034ca17819d19e7928bc | 9c47ed55abc46fb7557f2a11a531d2cab61727c1 |
refs/heads/master | <repo_name>Powerman-code/goit-react-hw-04-movies<file_sep>/src/App.js
import { Switch, Route } from 'react-router-dom';
import './App.css';
// import Navigation from './Navigation/Navigation';
import AppBar from './AppBar/AppBar';
import Container from './Container/Container';
// import NotFoundView from './views/NotF... | 39d377dffbf48fc5a8fb4addab4d1c87bce56c91 | [
"JavaScript"
] | 6 | JavaScript | Powerman-code/goit-react-hw-04-movies | 79c33f718049ec7d3e4fe070bf0bf8225d0cf237 | a86c7d0a8a0aa6a5215ee9b49b49efce241fe9ac |
refs/heads/main | <repo_name>ttmgs/Todo-List<file_sep>/README.md
# Todo-List
## Description
Post and delete notes within the mongodb database
## URL is private
<file_sep>/index.js
const express = require('express');
const ejs = require('ejs');
const app = express();
const mongoose = require("mongoose");
var _ = require('lodash'... | c91db25031fcc6a84246b68727fa1b1244eaec33 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ttmgs/Todo-List | ae0b9e6054ceea4f35cc38e59c1a4db187c6e011 | da6f49734c882f2573bafbb01d15f95980123b47 |
refs/heads/master | <file_sep>package alekseev.market.dto;
import java.util.List;
public class CategoryWithProductDTO extends CategoryDTO {
private List<ProductWithoutCategoryDTO> products;
public CategoryWithProductDTO() {
super();
}
public CategoryWithProductDTO(int categoryId, String nameCategory, List<Prod... | 1d58592f049ce70910d28208d6f8721d4497e243 | [
"Java",
"SQL"
] | 19 | Java | AlekseevSergey16/Market-Service | ce2f14394c1d6cd4bed7e1e88e5c10673d3a2f32 | 90063858404f49eb21298e4f9fb8b9c1e4d0cbe5 |
refs/heads/master | <file_sep>require 'bundler/setup'
Bundler.require
get '/' do
erb :index
end
post '/user/properties/sort' do
"Your property order is updated."
end
<file_sep>== About
ChittyChittyBangBang is a jQuery and AJAX exercise.
To run app locally:
1. Clone down
2. Bundle install
3. Type in command line: $ruby server.rb... | 930414696ef793a2d911e1ee6527d27f784a3ec5 | [
"RDoc",
"Ruby"
] | 2 | Ruby | periwinklepath/ChittyChittyBangBang | 6e295221e43bf1e4a9661249a60a2a293e84863b | 46682794429922b9928c4fd45817225d6f8a7585 |
refs/heads/main | <repo_name>ArturQuirino/super-calculadora<file_sep>/README.md
# super-calculadora
Projeto didático para UFV
<file_sep>/src/super-calculadora/src/store/actions.js
export const ADDICIONAR_NUMERO = 'ADDICIONAR_NUMERO';
export const addNumeroHistorico = (numero) => ({
type: ADDICIONAR_NUMERO,
payload: numero,
});
<fil... | 42746e2f02c19f503a59e28b075cee50da9054e2 | [
"Markdown",
"JavaScript"
] | 7 | Markdown | ArturQuirino/super-calculadora | 8539aa55d5bbee04549a5597b014e26dc8e55f6b | 1510023ed47b3c25e6ea80c1f0fb1ca4003227e4 |
refs/heads/main | <file_sep>/*
* Copyright 2021 The Android Open Source Project
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 481cffd837ef255185fbba544ad6423ec1537bcf | [
"Kotlin"
] | 1 | Kotlin | mohd-naushaaad/CountdownTimer | 2af5ac64b3216af2576c55ce21e058cdc9325878 | 051d7403dca4f06df0903d7651703141b6ce0f4e |
refs/heads/main | <file_sep>package com.logicbig.example;
public class LoggerLines {
private String title = "";
private String fileName = "";
private String loggerName = "";
private String loggerLevel = "";
private String appenderRef = "";
public String getTitle() {
return title;
}
public void setTitle(String... | 810502a98aac9bec44a4c74ac2d532a300b645dd | [
"Java"
] | 3 | Java | Saravana1992-java/Log4j2_Slf4j | f6bd1b411c323be4251944286749c31a9462aac8 | 43aba7eca9da5d4696e6380b272d360df36e0cae |
refs/heads/master | <file_sep>#-*- coding: utf-8 -*-
import mysql.connector
import database1
import json
import time
import datetime
def messagelog(beg,end,group):
conn = mysql.connector.connect(
host=database1.host,
port=database1.port,
user=database1.user,
passwd=database1.passwd,
db=database... | 409152cf4650895eb45da10e1851efaf0d76a90c | [
"JavaScript",
"SQL",
"Python"
] | 18 | Python | LittleChenry/WechatManager | 487622bcccb1445f646a3000320b54e94565751f | 8cee693ec9c1650370aa35460e91de161319c640 |
refs/heads/master | <file_sep><?php
ini_set('display_errors', 1);
header('Access-Control-Allow-Origin: *');
header('Access-Control-Expose-Headers: Location');
if (isset($_GET["u"])) {
$url = $_GET["u"];
$url = str_replace(" ", "+", $url);
echo file_get_contents($url);
}
<file_sep>$(document).ready(function () {
var $popupButton ... | b9a717113aab03e8ac7600d5a3151c11ee04f383 | [
"JavaScript",
"PHP"
] | 3 | PHP | maechabin/redirect-link-checker | 63fc9e5602fddc4ee6eb1ad1a1d2b53a1f87208b | 11f26004aafa647e574f3c413fa5849bf0dd02de |
refs/heads/master | <file_sep>using System;
using System.Collections.Specialized;
namespace WebServerProj
{
public abstract class AbsHttpHeaderEvaluator
{
public abstract string HeaderName { get; }
public abstract string ErrorCode { get; }
public bool Evaluate(NameValueCollection headers)
... | e884e94503739b19eda6699c492cbe073624570a | [
"C#"
] | 2 | C# | Kedech/MCSD-2018II | d7fd1ddbcb2c3ee43bef445e9220e951b7f02ee5 | 22a2b7ded11e21cfcd88fc1554ca24426d55e446 |
refs/heads/master | <repo_name>iv-mexx/TelegramUITestRequestServer<file_sep>/get_last_message.sh
#!/bin/bash
#
# This script searches for the newest message from `USER_NAME` and returns it
# It is necessary that the telegram-cli tool (https://github.com/vysheng/tg) is installed and configured
#
# Edit the `USER_NAME` variable to contain t... | 21627e51b0739dc03c9843a0c6a7b6fe814848b6 | [
"Markdown",
"JavaScript",
"Shell"
] | 5 | Shell | iv-mexx/TelegramUITestRequestServer | 7a601aff04953a37a923518b8dcbf62dca46287f | 30b3610f6622140312796478091b10f2646ce10c |
refs/heads/master | <file_sep>#include <bits/stdc++.h>
using namespace std;
int cnum(string X,string Y)
{
string XY=X.append(Y);
string YX=Y.append(X);
return XY.compare(YX)>0 ? 1:0;
};
int main()
{
int t;
vector<string> n;
string s;
string res="";
cin>>t;
while(t--)
{
vector<string> n;
int r;
cin>>r;
for(int j=0... | d8d74e961a8707485ba19d2d766b8e895e499625 | [
"C++"
] | 1 | C++ | PraneethChandra18/lab-7 | c59a90ea6fd8ecb0b241f58f9988404682958976 | 95a504edc0e379dfcdda082aa6ff8758cf8356ab |
refs/heads/master | <file_sep># coding: utf-8
"""
Copyright (c) 2011, <NAME> <fn7.bitbucket at gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright no... | 0a726f7903560ffab1f18e0fca64682edf2faae6 | [
"Python"
] | 1 | Python | fn7/form.py | 4b117d034f16a55630400b875505e8b8b88d637a | 0a6729abfbd7a482a5b5b26ffe9c698b456ed633 |
refs/heads/main | <repo_name>tmct-web/sconfig_tmct<file_sep>/README.md
# sconfig_tmct
Ported Intel(ALTERA) SRunner to Raspberry Pi.
This tool is a port of a tool called "SRunner" published by Intel (ALTERA) to the Raspberry Pi.
このツールはIntel(ALTERA)が公開している「SRunner」というツールをRaspberry Piに移植したものです。
※日本語の解説文は英文解説の後にあります。
---
## What is SR... | 6852dd7c286451b21a68b643afb17975cf9c0731 | [
"Markdown",
"C",
"Makefile"
] | 11 | Markdown | tmct-web/sconfig_tmct | 43120ac20dd15d278b2708de8f8c61dd2e602ae8 | 344449c654db7d9d0a38b3161b909d2ad40cd44a |
refs/heads/master | <repo_name>themrinalsinha/stock_screener<file_sep>/main.py
from turtle import forward
import models
import yfinance as yf
from fastapi import FastAPI, Request, Depends, BackgroundTasks
from fastapi.templating import Jinja2Templates
from sqlalchemy.orm import Session
from database import... | f1a901088f76bb1f0fafd5b87851810f5e4cbed5 | [
"YAML",
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 6 | Python | themrinalsinha/stock_screener | 6597790f2ef9e4e64142ed47ca8ef2d098dd5a6d | 35c4c4effa98de19eb172bde57ee08eaf48af8fe |
refs/heads/master | <repo_name>js-tasks-ru/js-20210309-2_andrew277<file_sep>/03-objects-arrays-intro-to-testing/1-create-getter/index.js
/**
* createGetter - creates function getter which allows select value from object
* @param {string} path - the strings path separated by dot
* @returns {function} - function-getter which allow get va... | dd69f19d695bffe608e38f66d9d9c38898d0400a | [
"JavaScript"
] | 1 | JavaScript | js-tasks-ru/js-20210309-2_andrew277 | 1f1d6e410848b964ff65ec21617824fc2833f087 | e94c421265f7cd79e06cd6f3e8a635bce719be83 |
refs/heads/master | <file_sep>let title = document.createElement('title');
title.innerHTML = 'Page';
document.head.appendChild(title);
let metaUtf8 = document.createElement('meta');
metaUtf8.setAttribute ('charset', 'UTF-8');
document.head.appendChild(metaUtf8);
document.querySelector('html').getAttribute('lang', 'en'); //???
let h1 = ... | 63f0d3b874e8576b816edcd96b69768ba006c264 | [
"JavaScript"
] | 1 | JavaScript | NatashaRosinskaya/hw-js-8 | f35f796e4ee505a98dce634098d96ea70cb5950e | a96336572cc02e286885f7de3e518da0b82bc617 |
refs/heads/master | <repo_name>mrclsu/TokinGame<file_sep>/core/src/hu/tokin/game1/CarActor.java
package hu.tokin.game1;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.ba... | 03353ee91f9dc2773cf92c628b499434d743193b | [
"Java"
] | 2 | Java | mrclsu/TokinGame | 1061f6af42a752e86df0ae453ffa68a2d57ff576 | 73c0cf0bf0ed578ed5a894050122be961119b324 |
refs/heads/master | <repo_name>irahavoi/jpaExam<file_sep>/sandbox/src/main/java/com/rahavoi/entity/listener/EmployeeDebugListener.java
package com.rahavoi.entity.listener;
import javax.persistence.PostLoad;
import com.rahavoi.entity.Employee;
public class EmployeeDebugListener {
@PostLoad
public void preLoad(Employee emp){
System.o... | f7c9a6778d41241ccd8e89523e1e912e54577c5c | [
"Markdown",
"Java",
"Text"
] | 8 | Java | irahavoi/jpaExam | 2a32571828ce366c531459cfaac77ba3d97a3a7e | dc9a307e66b17f363757c7b203b767066dbc1500 |
refs/heads/master | <file_sep># INF 221 Trabalho Final
<file_sep>const g = require("graphql-import");
const schema = g.importSchema("./src/config/schema.graphql");
module.exports = schema;
<file_sep>import client from "src/config/ApolloClient";
class CacheManager {
public login = () => {
if (client && client.cache) {
client.c... | 10172762610a103ad05ba2c03d7a92a217f25cc2 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 18 | Markdown | lucasavila00/INF221TF | d39994eccb8bbc72c7fb15df3eba3b3c6b27bead | 0e85416f82e30f9bcd677404ae4897ee8e61069e |
refs/heads/master | <file_sep>from enum import Enum
from typing import Dict, List, Tuple
import bpy
from bpy.props import (
StringProperty, IntProperty, BoolProperty, FloatProperty,
FloatVectorProperty, CollectionProperty, EnumProperty, PointerProperty,
IntVectorProperty
)
from .operator_func.texture_generator import (
l... | d74cb2a81b9bfce3befffd50fddc2e641b998ae5 | [
"Markdown",
"Python",
"INI"
] | 35 | Python | Nusiq/Blender-Export-MC-Bedrock-Model | 1374e7193c87976ed5f7010354673a8b4530c69d | fe417b58ebbac83e386cb7c13205361e90b6ade4 |
refs/heads/master | <repo_name>moura232/Student-homeassistant-config<file_sep>/custom_components/gpodder/__init__.py
"""
Component to integrate with gPodder.
For more details about this component, please refer to
https://github.com/custom-components/gpodder
"""
import logging
import os
from datetime import timedelta
from urllib.request i... | 12435753d35c943faeb1079ed74e96ba1a21a564 | [
"Python"
] | 2 | Python | moura232/Student-homeassistant-config | c71a44a9d93212dd1cbc302376e287a825df71e5 | 67bd71e6d46ae26b8141447415d363c2a1f61114 |
refs/heads/main | <file_sep>package uz.pdp.daggeruser.module
import dagger.Module
import dagger.Provides
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import uz.pdp.daggeruser.retrofit.ApiService
import javax.inject.Singl... | 4982286537d9270cf85b89bf40af76a926fe74fa | [
"Kotlin",
"Gradle"
] | 10 | Kotlin | AAkmalDev/DaggerUser | f4c032b0c062b8425d0efaa3cee3ad1ea60ce54a | 7e3df4024409511c3ff954afaf95544d7beab798 |
refs/heads/trunk | <file_sep>/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License... | b90241c8fda3401fa5930520b8ad7b70277cf0e5 | [
"Java",
"AsciiDoc"
] | 3 | Java | Fork-World/meecrowave | 9e8228bdd55d56ec67fa3dabd66ce24d4a721764 | 4bfa8f2380beade3dba07b06fdd4ecc0b0a63b06 |
refs/heads/master | <repo_name>machu/rpaproxy-node<file_sep>/models/db_connect.js
exports = mongoose = require('mongoose');
mongoose.connect(process.env.MONGOHQ_URL);
exports = Schema = mongoose.Schema;
<file_sep>/web.js
/**
* Module dependencies.
*/
var express = require('express');
var redis = require('redis-url').createClient(proce... | eaa519d797492418c8aaf569e950d96e3600339b | [
"JavaScript"
] | 2 | JavaScript | machu/rpaproxy-node | 1efd75cab7f5a67d42e47acf7f1ad3d1c68c88d0 | 6366ed9876d2d1b93c788c8291057c02fb0020d7 |
refs/heads/master | <file_sep>/******************************************************************************
@file simple_peripheral.c
@brief This file contains the Simple BLE Peripheral sample application for use
with the CC2650 Bluetooth Low Energy Protocol Stack.
Group: WCS, BTS
Target Device: CC2650, CC2640
***************... | 381de90061a57c3b646476e4a78a2fa30808708f | [
"Markdown",
"C",
"Makefile"
] | 13 | C | ZiyiLikeIt/EVRS_BLE_Firmware | 9d6e752af880c71bf3ec2f62ab11f310a5ed5ceb | 204ec55cc7be85220e6a885a3a7e4f736eaab9e0 |
refs/heads/main | <repo_name>Atcsy/BookLibraryAPI<file_sep>/controllers/auth.js
const ErrorResponse = require('../utils/errorResponse');
const asyncHandler = require('../middleware/asyncHandler');
const User = require('../models/User');
// POST api/v1/register
exports.registerUser = asyncHandler(async (req, res, next) => {
const { na... | 1f3c594516d51d50f8c24d017ed825088ec6e021 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | Atcsy/BookLibraryAPI | 8abf5797efa6eb65ded7d56b08ae4ac90ab0b2ae | aef5b87c6940254176f4bd822227c0eb89510bb1 |
refs/heads/master | <repo_name>nikse28/t_mob<file_sep>/src/data/RecordData.js
const recordData = [
{
sourceId: 1,
recordId: 1,
recordName: "Record 1"
},
{
sourceId: 1,
recordId: 2,
recordName: "Record 2"
},
{
sourceId: 2,
recordId: 3,
recordName: "Record 3"
},
... | c24911e47a89c073021b4812a037e28ca3f11ac4 | [
"JavaScript"
] | 6 | JavaScript | nikse28/t_mob | 56189d5cd3fc6accc5e3eddd066d1bba1a4f3016 | 81565e578a7a2d4a45f6c40e7c735bfbcfe33379 |
refs/heads/master | <repo_name>miguelureta/webdevtfp<file_sep>/app/Http/Controllers/EventController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Event;
class EventController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
... | 5c168e727f7a7961d62212297920743705ca5202 | [
"PHP"
] | 2 | PHP | miguelureta/webdevtfp | 8973767463dbc7ba7c6d4c4559bd67e52e1c474f | be0d22233feb4a53173c345e9db0e4fa681fd39d |
refs/heads/master | <repo_name>6unz/cpe_utils<file_sep>/docs/source/index.rst
.. cpe_utils documentation master file, created by
sphinx-quickstart on Wed Dec 14 11:42:49 2016.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
cpe_utils
=========
Getting Started
^^^^^... | 1c36f75d914d15f025eff0768a8f3870d951cc34 | [
"Markdown",
"Python",
"reStructuredText"
] | 4 | reStructuredText | 6unz/cpe_utils | 945e967e63b5310907e4cffb5ba28eeda0927c99 | f52d6f3b1eea9a29871bdde180b402195adaa772 |
refs/heads/master | <repo_name>lila/altbeacon-transmitter-android<file_sep>/src/org/altbeacon/beacon/BeaconTransmitter.java
package org.altbeacon.beacon;
import java.nio.ByteBuffer;
import java.util.UUID;
import org.altbeacon.beacon.Beacon;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothManager;
import and... | ce814686c5b125e05767554b984472ea4a819f97 | [
"Java"
] | 1 | Java | lila/altbeacon-transmitter-android | cad0e381a2eb4c4f766984651f7668437d5e346a | 50ab5d5a84057824313ce8d668394dab9dc4f864 |
refs/heads/master | <file_sep>package defautpackage;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeTest;
import java.util.Random;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.Reporter;
import org.testng.annotations.AfterT... | 84d8efa0f5b5a6cd66c6d39bd39ead22efe5f34e | [
"Java"
] | 1 | Java | awafa28/PrePay-Solutions | 7d732e26016c49c93d36ed004797e11b2a15e4ea | f0352c2962a52809af197071d91090b625084234 |
refs/heads/master | <repo_name>Haseoo/SimpleQuizC<file_sep>/src/headers/quiz_menu.h
#ifndef QUIZ_MENU_H_INCLUDED
#define QUIZ_MENU_H_INCLUDED
#include "players.h"
#include "questions.h"
#include <allegro5/allegro.h>
#include <allegro5/allegro_ttf.h>
#include <allegro5/allegro_image.h>
#include <allegro5/allegro_native_dialog.h>
size_t ... | 56ea1a9c9e3a20f34f402f897be1f9931d95f254 | [
"Makefile",
"C",
"Text"
] | 12 | C | Haseoo/SimpleQuizC | bf25ce312ca5720f4c13512bb0e62832b762fb0c | cf911c17999ee9db34a30c1c385816205060c4cf |
refs/heads/master | <repo_name>harishbhakuni21/Data-Structures-in-Cpp<file_sep>/README.md
# Data-Structures-in-C-
here, i'm going to keep data structure's general implementations in c++ which can be used in any program
<file_sep>/Graph.cpp
/////////////////////////// Graph ///////////////////////
#include<... | c87805b763b49bc7898ae619abbc13466ff2792f | [
"Markdown",
"C++"
] | 5 | Markdown | harishbhakuni21/Data-Structures-in-Cpp | 03326bf2d396030045abe44f5a60570dcf1d8c85 | beacb2962e08fb32f37b3859e9f46f46ae0094e2 |
refs/heads/master | <repo_name>clemnyan/DatabaseSys<file_sep>/DriverDB.java
import java.sql.*;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;
public class DriverDB {
public static final String SERVER = "jdbc:mysql://sunapee.cs.dar... | b843537bfbe1ebbe659470c7753a7b7cf4f07bbb | [
"Java"
] | 2 | Java | clemnyan/DatabaseSys | 8034223637344abf49160ffffeb5d91b20bad598 | 9ce2eca52aa588b2eac70638230a94dd5ca5f9de |
refs/heads/main | <repo_name>Mak0y-Plaks/trade-bot-set<file_sep>/BTB-manager-telegram/custom_scripts/ratios.sh
#!/bin/bash
/usr/bin/python3 /home/ubuntu/BTB-manager-telegram/custom_scripts/ratios.py<file_sep>/BTB-manager-telegram/custom_scripts/health_status.sh
#!/bin/bash
free -m | awk 'NR==2{printf "Memory Usage: %s/%sMB (%.2f%%)\n"... | d79020369fb30bacb572df70d805763641306b0b | [
"Python",
"Shell"
] | 7 | Shell | Mak0y-Plaks/trade-bot-set | 3e01aaa1150bf6d037148139cc57a67c72fae311 | 75b08fa65c2b7e21cd969077ce95c2ba3ae8ead4 |
refs/heads/master | <repo_name>findshrey/restaurant-website<file_sep>/src/components/Footer.js
import React from "react"
import { FOOTER_CONTENTS } from "../data/constants"
const Footer = () => {
return (
<footer className="section-fade-in">
<div className="footer-upper">
<div className="container">... | f5d89a802845473de34344464cee5adaea1643b0 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | findshrey/restaurant-website | 97b9dcb3d737cdfec68a00e233bcce3ba4a55d84 | d4e0aae7a2fd40cf508c94c5ff2bf7541666147e |
refs/heads/master | <file_sep>#pragma once
#ifndef STDAFX_H
#include <wtypes.h>
#include <Psapi.h> // PROCESS_MEMORY_COUNTERS
#endif
namespace basis {
// プロセスのメモリ使用量を取得
class ProcessMemoryStatus : public PROCESS_MEMORY_COUNTERS {
public: // 構造体のクラス化
ProcessMemoryStatus(int unit = 1) : m_unit((std::max)(unit, 1)), m_proce... | d12e1bef7b65c8ed49a43e090ff8b67adb156cab | [
"Text",
"C++",
"INI"
] | 97 | C++ | ryechat/ImageViewer | 1e7503dad46b9c5357da00d1b433b6445147cd90 | e581e157f76cb499f2463e27fb0ee9ea89bd3fd1 |
refs/heads/master | <repo_name>Vinayaka-cronj/Projects<file_sep>/Githubfinder/app.js
// init github
const github=new Github;
// init UI
const ui=new UI;
// debounce function
const debounce = (fn, time) => {
let timeout;
return function() {
const functionCall = () => fn.apply(this, arguments);
clearTimeout(ti... | b5110fa074edb9e70310fcc3ac75d7b95b5ae223 | [
"JavaScript"
] | 3 | JavaScript | Vinayaka-cronj/Projects | 14b5d6173fe19f5c3ac1976bbfb9cdc643debbaf | 6b07e8a615416adb8fbb02d3c354214dd0effe42 |
refs/heads/master | <file_sep>"use strict";
const app = angular.module("UberPro", []);
<file_sep>app.controller("TodoCtrl", function($scope, $http) {
$scope.title = "Uberproductify!!";
$scope.textIN = "";
$scope.anotherTextIN = "";
$scope.testCheck = false;
$scope.newTodo = "";
$scope.taskType = "home";
$http.get("/data/tasks.j... | 8407a1a0c3144af0a93f01cc3b077d55b8d552b0 | [
"JavaScript"
] | 2 | JavaScript | chase-ramsey/angular-to-do | ea0ceef3d9efd95f530b6f1b9a3e8601e1f5563c | 03f803970f0e1a12146905c6e0143dfaff9de50f |
refs/heads/master | <repo_name>yanle417467928/spring-boot-dubbo-demo<file_sep>/spring-boot-dubbo-demo-service/src/main/java/com/yanle/springboot/dubbo/demo/service/impl/OrderServiceImpl.java
package com.yanle.springboot.dubbo.demo.service.impl;
import com.yanle.springboot.dubbo.demo.service.OrderService;
import org.apache.dubbo.config.an... | fc9be90100fcdf56d329a1bb3f575424a295789e | [
"Java"
] | 5 | Java | yanle417467928/spring-boot-dubbo-demo | d5690c9f4766ed2e4743ce79d657862af9fbd11c | f57ee4e185a9122003353898333be4c891dbbbfa |
refs/heads/master | <file_sep>#!/bin/sh
export NAME=ulikoehler/ubuntu-gcc-make
export VERSION=latest
docker build -t ${NAME}:${VERSION} .
docker build -t ${NAME}:22.04 .
docker push ${NAME}:${VERSION}
docker push ${NAME}:22.04
<file_sep>FROM ubuntu:22.04
# Install NodeJS & Dummy xorg
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update &... | 85c4c4f70a50b7c74316f1bec02a174011fb0807 | [
"Markdown",
"Dockerfile",
"Shell"
] | 36 | Shell | ulikoehler/buildock | 0af56af85b6e1ba22b7dc5ff4ec494cf7dad6ef0 | 6a894d7823086d50acc7bc08bdeefe965ab1a164 |
refs/heads/master | <file_sep>const {
Router
} = require("express");
const routes = Router();
const migrationsController = require('./app/controllers/vendedores');
routes.post('/migrations', migrationsController.store);
routes.get('/migrations', migrationsController.index);
routes.get('/migrations/:id', migrationsController.show);
rou... | 655a20776e8123e05ddb82e89919fea3f4770183 | [
"JavaScript"
] | 3 | JavaScript | VictorManduca/Sequelize_Migrations | 69a11d7aa9f60dfb73b3d1b06c72acfca706be0c | fabee6f80b3f7fd2464bb8049c2dce00ad9954ab |
refs/heads/master | <file_sep>var MapWrapper = function(container, coords, zoom, styles){
this.googleMap = new google.maps.Map(container, {center: coords, zoom: zoom, styles: styles, mapTypeId: 'terrain'});
this.directionsService = new google.maps.DirectionsService;
this.directionsDisplay = new google.maps.DirectionsRenderer({ dra... | 86a1c5d6acbd3c029d47955e6e5b946b5c21de10 | [
"JavaScript"
] | 7 | JavaScript | rob-code/JS_Group_Project | 0ee1c1b5ad4f7138939616eca4b436f86f2ebf6a | d5a9bae6c3e456f14e216fb989af19ddb186b66a |
refs/heads/master | <file_sep>/*
* 初始化上传插件
*/
function initUpload(){
$("#uploadify").uploadify({
debug: false,
swf: 'js/uploadify.swf', //swf文件路径
method: 'post', // 提交方式
uploader: 'say/send', // 服务器端处理该上传请求的程序(servlet, struts2-Action)
preventCaching: true, // 加随机数到URL后,防止缓存
buttonCursor: 'hand', // 上传按钮Hover时的鼠标形状
buttonT... | 0e0e46b6d112524cc4d9bcc22e0277a2624f9a58 | [
"SQL",
"JavaScript",
"Markdown",
"Maven POM",
"INI",
"Java"
] | 32 | JavaScript | kakaluote444/yooai | 2d5d464397bd011bdf923bb9d47f90d1503f6e46 | 3dca956efe79f0a2d935c3461d7979bfa18de50d |
refs/heads/master | <file_sep>const fetch = require('isomorphic-unfetch')
const fetchViaCep = (cep, proxyURL = '') => {
const url = `${proxyURL}https://viacep.com.br/ws/${cep}/json/`
const options = {
method: 'GET',
mode: 'cors',
headers: {
'content-type': 'application/json;charset=utf-8',
},
}
return fetch... | 88ba0ba269dcb839dd16a70a7b94ec964ed0719e | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | maarteNNNN/api-services | 880f4a0bf359670e8401faa2ffa421d749403a69 | 8c58ec763cc8dd8b5d97f6b22228f460d0d9e30c |
refs/heads/master | <repo_name>dstarner15/go-app<file_sep>/rdpg-app.go
package main
import (
"database/sql"
"fmt"
_ "github.com/lib/pq"
"log"
"net/http"
)
const (
DB_USER = "golangrules"
DB_PASSWORD = "<PASSWORD>"
DB_NAME = "django"
DB_HOST = "10.244.2.6"
DB_PORT = "7432"
DB_TABLE = "names"
)
func main() {... | 8ed7268bb43ec2940f36efe9065ca34fa25c6445 | [
"Go"
] | 2 | Go | dstarner15/go-app | 6e2224f8cae7ca0c53be4dc7190c97087beddd46 | 3600f9104c7e3f2f557dbc75414141d16bf552c4 |
refs/heads/master | <repo_name>atiyehmaz/DotNetCoreAngular<file_sep>/DotNetCoreAngular/Controllers/ContactController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using BusinessLibrary.Repository;
using DataAccessLibrary.Models;
namespace DotNetCoreAng... | a8f5b8b3cb4b3e827a5d3ff7b2a1f9d1209e8799 | [
"C#"
] | 3 | C# | atiyehmaz/DotNetCoreAngular | fecc9aca2ec037e7ccb0b67ac439eca51ae1b1e8 | 1852d5f550ac74403e4bbddb6388c631828b0fee |
refs/heads/master | <repo_name>vivekjuneja/covid-contact-tracing<file_sep>/test1.py
import datetime
import uuid
class PersonState:
def __init__(self, state, year, month, day):
self.status = False
self.readAbleState = None
self.isStateFrom = datetime.datetime(year, month, day)
def __str__(self):
... | a0d2a1844effdc5928423f63972e4899e62400c2 | [
"Markdown",
"Python"
] | 2 | Python | vivekjuneja/covid-contact-tracing | 7a7213a4868c8ce2496bd54b76c20cf8cc4369ff | 22874ddc7037ec7e207d67015ee1799c2dc9f6c1 |
refs/heads/master | <repo_name>Amiro30/PhotoProject<file_sep>/MvcProject/Global.asax.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Ninject;
using Ninject.Modules;
using Ninject.Web.Mvc;
using AutoMapper... | 57eb4cafdfebfd0ac93fb1e2a93417d2f3439291 | [
"C#"
] | 19 | C# | Amiro30/PhotoProject | 611240eb29931e56416a072facf4c3cd267653df | dd8fc2ed76872b6702c4eeda9478fefb2d7288bc |
refs/heads/master | <file_sep>import React from 'react';
const Song = (props) => {
return (
<>
<div>
<li>
{props.title} by {props.artist} <img src={props.image}/>
</li>
</div>
</>
)
}
export default Song;
| 96a0418f19e5e90eb7418ba44405759aa069f563 | [
"JavaScript"
] | 1 | JavaScript | lmeromy/wk14-d2-React-Top20 | 5f57586c9431009473172165b5d5a145997cc15b | 79116fcf7d65ff4d00b353a5c4ab70b0a857981f |
refs/heads/master | <file_sep>#!/bin/bash
# En este script vamos a realizar operaciones aritméticas usando los comandos let y expr.
varX=2
varY=3
varZ=0
# Operaciones con el comando let:
echo "Operaciones con el comando let:$varX $varY $varZ"
echo "suma $varX $varY"
let suma=$varX+$varY
echo $suma
echo "resta $varX $varY"
let resta=$va... | 03df5ace489ab2dfe6b088b46cd6ba88ce64b868 | [
"Shell"
] | 1 | Shell | hydra60/pruebaApi | 1209f4576fb60857df45456c947dfb88034a9e84 | 34873acd7fa030608fbbf80bc6b7295456381731 |
refs/heads/master | <repo_name>alilja/subcurrent<file_sep>/requirements.txt
Jinja2==2.7.3
Markdown==2.5.2
MarkupSafe==0.23
PyYAML==3.11
Pygments==2.0.2
Unidecode==0.04.17
python-slugify==0.1.0
wsgiref==0.1.2
<file_sep>/posts/test2.md
### Another Test
Yay<file_sep>/subcurrent.py
from os import listdir
from yaml import load
from jinja2 im... | c15f6d57ab25972001af096b2b24af7c35797f10 | [
"Markdown",
"Python",
"Text"
] | 4 | Text | alilja/subcurrent | 1e13220314300bc0bd51c2acca38a66b24b4dd65 | 220ec265e36680abace2d888fdc4b587c28c4cda |
refs/heads/master | <file_sep># OpenGL-4.6-Hello-Triangle
The famous OpenGL "Hello triangle" using shaders. It uses the OpenGL 4.5 functionality called [Direct State Access](https://www.khronos.org/opengl/wiki/Direct_State_Access). Be aware, not-that-old hardware may not be compatible with this functionality.
As of November 2020, it is... | 208e4f26f96f9d966967265cfaea1530693e4311 | [
"Markdown",
"Makefile",
"C++"
] | 3 | Markdown | Fr3nchK1ss/OpenGL-4.6-Hello-Triangle | 9d8397218fcfe3e137bbd88e7ce04eb1c8835292 | 73e2581841567e34765780debbb21a926ee28d30 |
refs/heads/master | <file_sep>#from env_utils.vistarget_nav_task import CustomVisTargetSensor
#from env_utils.vistarget_nav_dataset import VisTargetNavDatasetV1
#from env_utils.vistarget_nav_env import VisTargetNavEnv
from env_utils.habitat_env import RLEnv
from env_utils.habitat_env import MIN_DIST, MAX_DIST
#from env_utils.object_nav_... | cca2f5b645e4e395fc2486496bf93d31d88c6b12 | [
"Markdown",
"Python",
"Shell"
] | 20 | Python | obin-hero/habitat_rl | 9b46f8b77b1eb73f11dc7ea8fadf0bc383960b5f | a1d455cab027f0ebc0a69a200b431cee5406dcb5 |
refs/heads/master | <repo_name>dealer2/SpringHibernate<file_sep>/pom.xml
<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>
<groupId>ua.ucra.exam... | 364c9257606cbed7b3bf1d8f3681731fba9cd7d2 | [
"Java",
"SQL",
"Maven POM"
] | 4 | Maven POM | dealer2/SpringHibernate | 62c23d7457b633354a9f06915808d601570c7838 | 2adcc2d6332083dfa4e14a8793163871b77b9529 |
refs/heads/master | <file_sep>import { USER_LOGIN } from '~redux/actions/authActions/types';
import {
USER_LOGOUT,
USER_REGISTER,
FORM_SEND_TRUE,
FORM_SEND_FALSE,
} from '../actions/authActions/types';
import { Storage } from '~/storage';
const initialState = {
isFormSending: false,
user: {
uid: localStorage.getItem(Stora... | bedd9a873fcbfb2ac4c86a48f555649cb2f7b7c3 | [
"JavaScript",
"Markdown"
] | 29 | JavaScript | jukeShy/firestore-blog | 4d2d36b848103559f56274f044565c06ffe37f41 | 9b275702c0e5c9a74e667482d3df64fe061ea8cb |
refs/heads/master | <repo_name>wmaciel/cmpt_741_project<file_sep>/src/frequent_itemsets.py
import sys
from pprint import pprint
from pymining import itemmining, assocrules
def find_frequent_itemsets(transactions, support):
relim_input = itemmining.get_relim_input(transactions)
item_sets = itemmining.relim(relim_input, min... | b9ec964d783af8b7556426c7cf3e8ce685865a7c | [
"Python",
"Text",
"R"
] | 7 | Python | wmaciel/cmpt_741_project | b4d1cf0f2f7071ec315ef5f86be4ff4f4772b948 | c2a26e16130c61ac2485473ac57f069a74e7fdbf |
refs/heads/master | <file_sep><?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\PostController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your a... | f57de59ab2c10f212e1ca748ecdcf2e631f79ee7 | [
"PHP"
] | 2 | PHP | yuuki4019/session | ab2ffe607579c24005de8ec61c9b1361f4e77aa5 | 0484310b06b3ea87af290bb997e2aa8f16c1030a |
refs/heads/master | <repo_name>gorillaking/CoffeeRun<file_sep>/Assets/soundtrigger.cs
using UnityEngine;
using System.Collections;
public class soundtrigger : MonoBehaviour {
public AudioClip clip;
public float range;
public float playChance;
public float distance;
Transform target;
bool inRange;
// Use this for initialization
... | d6810b9150d0d78b3648b11294475c19439739d3 | [
"C#"
] | 2 | C# | gorillaking/CoffeeRun | c7a0a86e7251b926a1f516fd075a54c132054525 | 1faec1e87f2aa5afd335f35d6a7d790e9e3213f2 |
refs/heads/main | <file_sep>package io.memoria.recipes.app;
import com.fasterxml.jackson.databind.JsonNode;
import org.openapi4j.core.exception.DecodeException;
import org.openapi4j.core.exception.EncodeException;
import org.openapi4j.core.model.v3.OAI3;
import org.openapi4j.core.util.TreeUtil;
import org.openapi4j.core.validation.Vali... | 998c74a599ce5952738b972c28bdc077654c8d02 | [
"Markdown",
"Java",
"Maven POM",
"Dockerfile"
] | 18 | Java | IsmailMarmoush/recipes | 491799eb8f6c2d878a3f9a4fbb11d3800d85f615 | 0db4002c02b51659631a96a20844016908ee5ca7 |
refs/heads/master | <file_sep>package model;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class StudentTest {
Student student1;
@BeforeEach
public void createObject() {
student1 = new Student("testStudent1","<EMAIL>",... | 6091b784472ed5c3220fc9ca070e76304d14b879 | [
"Markdown",
"Java"
] | 17 | Java | lavyarocket/Pariksha-Exam-Portal | bab3900758d37cc5c6ad88212d2ef3287b94cf07 | 292716ab7611252b78aa3746f02edb71c6a3861b |
refs/heads/main | <file_sep>import { Routes, RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import { MainDashboardComponent } from './main-dashboard.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { ProgressComponent } from './progress/progress.component';
import... | 66185d5e67fc4ed0ff8ae9e72121297456372f15 | [
"TypeScript"
] | 10 | TypeScript | A-TapiaZ/AngularJS-AdminPro | 25e1b1860092f5c050b9955887bfe3dbe97f7d78 | 36dd57322a96099d27d33cfdde1753e8ff0f0cfd |
refs/heads/master | <file_sep>f=open("add.txt","r+")
f.write("hhhhhh")
for x in f:
print(x)
<file_sep>package bigfoot.wordsearch;
import java.util.Objects;
/**
* Describes the start and end locations of a word in the grid
*/
public class WordVector {
public String word;
public int startX;
public int startY;
public in... | 73dd2ccb37999d3de6b69b227cc050bba3de9992 | [
"Java",
"Python"
] | 2 | Python | kunr2014/git-github | 38e501088e31522df8eee8e743243d451e9705f7 | a6ede47e023b310f4b04f5d67404c092d4d4af35 |
refs/heads/master | <repo_name>redrohX/md-xmas<file_sep>/xmas2017/mail.php
<?php
function wrapMailMessage($string, $length=980, $splitchar="\n ") {
if (strlen($string) <= $length) {
$output = $string; //do nothing
} else {
$output = wordwrap($string, $length, $splitchar);
}
return $output;
}
$protoco... | dfb906c6b19ce38fb21681e07bfbe8ad63214c6c | [
"JavaScript",
"PHP"
] | 3 | PHP | redrohX/md-xmas | 0a967a3ec3d1a3665bc7c7a7fd36b5bd7803fbe3 | 2d6e7651de4fa67be6fb058a4c1189a2b37a2435 |
refs/heads/master | <repo_name>Kal009/AutoFramework<file_sep>/src/test/java/com/Bframework/Newspage/NewspageSteps.java
package com.Bframework.Newspage;
/**
* Created by Trupesh on 14/06/2017.
*/
public class NewspageSteps {
}
<file_sep>/src/test/java/com/Bframework/CommonSteps.java
package com.Bframework;
import com.Bframework.Home... | ca2ca2980449b554f2064a407979466e4e3aed8b | [
"Java"
] | 3 | Java | Kal009/AutoFramework | d931e8808e9707128ec2e6a781d33a744db933c0 | 49f59c5732b9817c8458799af38ca19110a4aacc |
refs/heads/master | <repo_name>aykaypkt/rithm_bcrypt_exercises<file_sep>/User_message_blueprint/project/users/models.py
from project import db, bcrypt
from project.messages.models import Message
from flask_login import UserMixin
class User(db.Model,UserMixin):
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)... | 83f4d604cd97f34a9b942da527a738595928023d | [
"Python",
"HTML"
] | 8 | Python | aykaypkt/rithm_bcrypt_exercises | 545d60765b7bdba5911cc185970b9b206caf56cf | 59aa18118cf9ca4787b5bc1ab5cc8b48b4c22fd7 |
refs/heads/master | <file_sep>//
// TestViewController.swift
// IssueTableViewDismiss0110
//
// Created by <NAME> on 2020/01/10.
// Copyright © 2020 ZhouyuanWork, Inc. All rights reserved.
//
import UIKit
protocol TestViewControllerDelegate: class {
func dismissController(_ controller: TestViewController)
}
class TestViewContro... | ce5f5ff9fbc185cbc8a45fc18cfeb44b8f12787c | [
"Swift"
] | 2 | Swift | inexcii/issue-dismiss-presented-tableview | c8bb70e90479e80ef49c7fbc797ef7354e8835b9 | 36def939cdbc092c6fb4c1de86262af895480712 |
refs/heads/master | <repo_name>rigweasle/Weight-Loss-App<file_sep>/src/tracker/Main.java
package tracker;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
impor... | b7526005754ff757b4045a43b9f09f235b160fa7 | [
"Java"
] | 1 | Java | rigweasle/Weight-Loss-App | 3d1221653170de14a47e059ad3e6b87c1500f7da | 14644edf38035a0fe9e2496c46a754dcb455a84d |
refs/heads/master | <repo_name>amitshob/blog_ember<file_sep>/app/components/add-comment.js
import Ember from 'ember';
export default Ember.Component.extend({
actions:{
submit() {
var params = {
username: this.get('username'),
date: this.get('date'),
comment: this.get('comment'),
post: this... | 71dec46b4e20ca8dd0815ba43e709bc6edbd5f52 | [
"JavaScript"
] | 2 | JavaScript | amitshob/blog_ember | a45d86166b0273c1c0bd15084cdbd6df44d2b97e | 0f3d077722a97e8ea0c7642c6ba5ae809d47a797 |
refs/heads/main | <file_sep>pythan code is a hai type
| 588f45675307ed409e7b81d29f2f3b89f5d34471 | [
"Shell"
] | 1 | Shell | Namdev12/project4 | 8ae2ddf8096f3634754b3f6a8434ce20938a7785 | 1d6d1bd1055d7264461b2fa5abfe945a5376b8a4 |
refs/heads/main | <repo_name>talha876/test-repo<file_sep>/config/routes.rb
Rails.application.routes.draw do
resources :urls
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
root to: "urls#new"
get '/shortened_url' => 'urls#shortened_url'
get '/:id', to: 'urls#decode_url'
en... | 8267fd96dfd1aac53ae1b1d9e49a404a3656a68f | [
"Ruby"
] | 1 | Ruby | talha876/test-repo | 2155805a0ccff46dd16ac2afdb1f399f8b68a573 | add74adedcc8841cae692988ea4834a097fc2f2c |
refs/heads/master | <repo_name>JQ-Networks/UMRExtensions<file_sep>/umr_extensions_demo/QQ_recall.py
from typing import List, Dict
import asyncio
from unified_message_relay.Core import UMRLogging
from unified_message_relay.Core.UMRCommand import register_command, quick_reply
from unified_message_relay.Core.UMRType import ChatAttribute, Uni... | 14b734e5c8c52ba75eeacb1d7c52d6fcbb93cb90 | [
"Python"
] | 9 | Python | JQ-Networks/UMRExtensions | da92dea3680b27478e8ed52d175e438711e57596 | 2e3b22b71c4da12c7b1dac9b500ba04162ca1bb4 |
refs/heads/master | <file_sep># AtlacommArchiver
C# class library and archiver for handling Atlacomm Archive Format (.aaf) files
<file_sep>using System;
using System.Collections.Generic;
namespace Atlacomm.ArchiveFormat
{
public partial class Archive
{
public byte[] BuildArchive()
{
List<byte> data = ... | 0f54b7c0f42b7ec35e81101bbbf6b611609a9d97 | [
"Markdown",
"C#"
] | 12 | Markdown | Atlacomm/AtlacommArchiver | 7ee0492cc2bc363ab760bb844da9e3f07c39a88e | 07ce26a7c441b5e75545426c8c4603e5ba7bcb9d |
refs/heads/master | <repo_name>sinouw/Todo-List-Angular-Asp.Net-Core<file_sep>/Angular8-Todo/src/app/shared/todoService.service.ts
import { Injectable } from '@angular/core';
import { Todo } from './todo.model';
import { HttpClient} from "@angular/common/http";
import { ToastrService } from 'ngx-toastr';
@Injectable({
providedIn: 'roo... | 6f491d5f6f5282906fb53171376efc1020a74c85 | [
"C#",
"TypeScript"
] | 9 | TypeScript | sinouw/Todo-List-Angular-Asp.Net-Core | be83e242dee83eee3b249f5450606dbef4e778fe | d0adf179fef63bbb0907d5d02240f1f7201d5297 |
refs/heads/main | <file_sep>import React, { useEffect, useState } from 'react';
import axios from 'axios';
import Card from '../../Common/Card/Card';
import DashboardSection from './DashboardSection/DashboardSection';
import './Dashboard.scss';
const Dashboard = () => {
const [meals, setMeals] = useState([
{ meal: null, lo... | e1ea21f93dea34e3a28443d7f81d14d775046f71 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | mariaaldis/react-recipe-app | cea5375a8d339716afd4b4a26d7f3c4064069a84 | 0994ff4b303c68d37d672ce646eab4720a5af51c |
refs/heads/master | <file_sep>"""TodoProject URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home... | 06982a5cdb69b2b688382211c7e435487ea25e11 | [
"Python"
] | 4 | Python | Yokeshwaran95/Django_ToDo_App | 77a9adbb2602ef227aeb7124bd95192258b126b4 | 2da2c865d5acde4802e73a2d4afc4b725c289a18 |
refs/heads/master | <repo_name>MTalhaAlkan/Prayer-Time<file_sep>/build/Prayer Time/Classes/Managers/NetworkManager.swift
//
// NetworkManager.swift
// Prayer Time
//
// Created by <NAME> on 10/06/2017.
// Copyright © 2017 <NAME>. All rights reserved.
//
import UIKit
import Alamofire
import SwiftyJSON
private enum Path: String {
... | 5a84e5d2a2738be7995ae1b2beca8d58ac4ba7b1 | [
"Swift"
] | 1 | Swift | MTalhaAlkan/Prayer-Time | 712d2845ec3127a7e2b05db845aebf97a06e1d81 | 54d8099559c555e40d5baf21016df777683a59a9 |
refs/heads/master | <file_sep>package main
import (
"flag"
"io"
"log"
"math/rand"
"net/http"
"time"
)
var generatorStrings = [][]string{
{
"солнечный",
"траурный",
"плюшевый",
"бешеный",
"памятный",
"трепетный",
"базовый",
"скошенный",
"преданный",
"ласковый",
"пойманный",
"радужный",
"огненный",
"радо... | e93ce896f4b171e201795d222607bb4f19e2e181 | [
"Go"
] | 2 | Go | LK4D4/oborona | bce0e761dc17e6d394456fa228792ed8bbf65f22 | 9349d4be5c6a650938d9df8c0a1850f30ead7553 |
refs/heads/main | <file_sep>#!/usr/bin/env python3
import dateutil.parser as dp
import json
import os
import sys
import click
import requests
github_org = "chanzuckerberg"
github_repo = "napari-hub"
github_graphql_endpoint = "https://api.github.com/graphql"
github_deployment_endpoint = "https://api.github.com/repos/chanzuckerberg/napa... | d4dca84d80b374aab7eeb9554971c2c5e3925125 | [
"Markdown",
"JavaScript",
"Makefile",
"Python",
"Text",
"JSON with Comments",
"TypeScript",
"Dockerfile",
"Shell"
] | 88 | Python | codemonkey800/napari-hub | 34a40b68d67002de2514d55b575b71159c7456cb | 171ac53b13590f2f18ad88a779c18d04c74a1437 |
refs/heads/master | <repo_name>Nikadeatul/textutils<file_sep>/sept3/views.py
from django.shortcuts import render
from django.http.response import HttpResponse
def home(request):
return render(request,'index.html')
def analyze(request):
djtext=request.GET.get('text','default')
removepunc = request.GET.get('removepunc','off'... | d7d0ecda6573a96e01d24531dfd257924d035d9c | [
"Python"
] | 1 | Python | Nikadeatul/textutils | b92971632b974284a206fd7d8a3554c0786a68bf | 3a7390c3e6776d2ea23bb01ed0043329888aa2ef |
refs/heads/master | <repo_name>CaninoDev/deli-counter-nyc-web-042318<file_sep>/deli_counter.rb
def line(customers)
if customers.length == 0
puts "The line is currently empty."
return
end
# Alternatively, the followiung outputs the same thing but doesn't satisfy the test:
# print 'The line is currently: '
# customers.col... | 8bd85aa2e4bdf49f50c60ee433380d530e16b002 | [
"Ruby"
] | 1 | Ruby | CaninoDev/deli-counter-nyc-web-042318 | 56a35870283146bd197b920da6504370a39fee43 | 45a8fd630599aa080fe66399b3139b8d665febf5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.