branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep># hexchat-scripts
###Scripts for hexchat
Items in brackets are optional
rainbow.py: turns input into rainbow text, add a number to chose how many lines.
Usage: /r text [number of times to repeat]
superslap.py: slap people with various fish and sizes.
Usage: /slap [nick]
cookies.py: hand out cookie... | 7c7c0ba09c663c1805b0f2019168e0d7bd6a86d0 | [
"Markdown",
"Python"
] | 4 | Markdown | the1glorfindel/hexchat-scripts | 2751d12361805e13e13db46ad1cb3b2399c1ab38 | 8cf6ac5e3beef81379870f7d24f5650e6a60f416 |
refs/heads/master | <repo_name>alaharirchi/alaki<file_sep>/tests.ts
it(`should have as text 'Email'`, async(() => {
expect(comp.text).toEqual('Email');
}));
it(`should not accept invalid email`, async(() => {
comp.signUpForm.controls['email'].setValue('www.john-doe.come');
expect(comp.signUpForm.valid).toBeFa... | a35a038f82a6ab366bfa0849584aa7512bee5ad2 | [
"TypeScript"
] | 1 | TypeScript | alaharirchi/alaki | 75e6cab5ed371a385e106cbf472b4e7d62cccbf1 | 148a4be0cb9aa613b327730219694039ea0cb8ab |
refs/heads/master | <repo_name>Emaren/great_answers<file_sep>/config/routes.rb
Rails.application.routes.draw do
root "welcome#index"
get "/index" => "welcome#index"
get "/home" => "welcome#index", as: :hey
get "/greeting/:name" => "welcome#greeting"
get "/hello" => "welcome#hello"
get "/hello.text" => "welcome#hello"
en... | 911a623de678c7231f4ad21278c5ecd6a5700407 | [
"Ruby"
] | 2 | Ruby | Emaren/great_answers | c904a2b86b2ff2ef5bf3ecf499eb757472e812a1 | 765b78e24e1daff04c3047662a21eddc1402b70c |
refs/heads/master | <repo_name>FadingDarkness/LabGrouping<file_sep>/Lecture.java
/*
* Programmer: <NAME>
*
* Date: October 14,2013
*
* File Name: Lecture
*
* Class: IT 226
* Instructor: <NAME>
*/
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Scanner;
im... | 6b8b80b48981933c4d3be0a3523b9d46163f3ecf | [
"Markdown",
"Java"
] | 5 | Java | FadingDarkness/LabGrouping | 1b088b25bea43859d752c660fbd54e80077f5a41 | bc015d35bd995f50916b94b8308912dc843a4695 |
refs/heads/master | <file_sep>use std::env::current_dir;
use std::fs::File;
use std::path::Path;
pub fn locate_file(raw_input: &str) -> Result<File, std::io::Error> {
if raw_input.starts_with('/') {
return File::open(raw_input);
} else {
let cwd = current_dir()?;
let cwd = cwd.to_str().unwrap();
re... | 6c97a7b65fadbe1a66d84177b2382f1a57fba52c | [
"Markdown",
"Rust"
] | 5 | Rust | Mathuiss/DokuHero | 29a0c0db6669f9318974b4b272237fb04b0a7012 | 4afd7cfe5003f44f7927a52560c21ad20f83077c |
refs/heads/master | <file_sep>package gob.pe.unmsm.becas.alumnos.application.dto;
public class AlumnoDto {
private Long id;
private String firstName;
private String lastName;
private String tipoAlumno;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getFirstName() {
return f... | 615921130119df3a7745ab81951a19b17b1eb8cb | [
"Markdown",
"Java",
"SQL"
] | 4 | Java | sergioide007/api-becas | 8e62b878ff7624a8e577f978bb4f62ecb74bbc7b | d7654bb5a866be1994471094dea3ab16aa30c50b |
refs/heads/main | <file_sep>import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
})
export class AppComponent implements OnInit {
//#region 'Variables'
private loteria = [
[1, 'gallo', './assets/images/cartas/1.png']... | bff38975ac3800805b5e7722a688838c0eb7d5a1 | [
"TypeScript"
] | 1 | TypeScript | Xiurik/Loteria_Mexicana | 8f9fc6b28c9e170d6594181149f9ba2f48901f9a | 67a6822c5529d603d267f3c4255ed753d11ba886 |
refs/heads/main | <file_sep><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<gro... | 748985a5ab34d00129e59f1d8e2a6c4877195585 | [
"Java",
"Maven POM"
] | 11 | Maven POM | ronniemikihiro/microservices-pom-parent | 63cde2930ec3c4d6fd19bb2897809aaef18c4040 | 9167315fe73c1a86dbfea742b3abbce83ebd7823 |
refs/heads/master | <file_sep>// Copyright © 2016 NAME HERE <EMAIL ADDRESS>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 41be6c7685b960adfea72e54249af32c2a400403 | [
"Markdown",
"Go",
"Shell"
] | 10 | Go | guilhem/patakube | e224a91887254ce31591ae6119b8b47c31e524b1 | a4ad11b1259b7973382c061945ef6898d5b1ee9b |
refs/heads/master | <file_sep>#!/bin/bash
##
## Shell script for creating configuration include files.
##
## Authors:
## <NAME>, <<EMAIL>>
##
##TODO:
## * we need to check if c++ (or other compiler??) is present
dtnow=$(date +'%F %T (%Z)')
logfile="$0.log"
basedir=$1
CC=${CC:=cc}
CXX=${CXX:=c++}
## Declares user-related variables
U... | dbaf8ee32868612e1cb8681ceb7886ea681a717f | [
"Markdown",
"C++",
"PHP",
"Shell"
] | 35 | Shell | cyy1991/dcsxx-control | af60dadcdb2b55f4e9b47578b7944dfa9cea3e92 | 6b0bf92f4f2abab8eba5c0562157fc3e71a3ed83 |
refs/heads/master | <repo_name>yalin001/springcloudANDdocker<file_sep>/pd-order-consumer/src/main/java/com/pd/OrderConsumer.java
package com.pd;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.spr... | b7c8d9f2251055cd1bb98865b993212f3aa3157f | [
"Java"
] | 2 | Java | yalin001/springcloudANDdocker | 8c0ff40220251795eb8ee9a1f2173cf85c876553 | f47549c8570e9d048bb4e0952ac674f10bf3ddb5 |
refs/heads/master | <file_sep>package casinoData;
import java.io.*;
import java.util.Scanner;
//TODO: when a player registers check if pass or user name has ','
public class Data {
public static void save(Player p) throws IOException {
String path = new File("."). getCanonicalPath() +"\\users\\" + p.getUserName()+".txt";
... | 16e9b776fe3095cd3a1fbfd97f0a8f3806ebcd03 | [
"Java"
] | 4 | Java | jonathanjosef91/casino | a742cfb9280e86a1b5280b06bc9e3e20a330b38f | 45f836535089fedac8d996de07374828d7ac95dc |
refs/heads/master | <file_sep>import falcon
import json
import boto3
from datetime import datetime
import random
import calendar
class QuoteResource:
def on_get(self, req, resp):
"""Handles GET requests"""
quote = {
'quote': 'I\'ve always been more interested in the future than in the past.',
... | 96912b579531a41d3e79498b568abdd07fa79ee3 | [
"Python"
] | 1 | Python | benmyob/kinesis-sqs-poc | 2d41d165072ea42ce8f7199ac9f9560d713a5b2a | 2d4027802351699f9593ec660e4bd6f9520b0d8c |
refs/heads/master | <repo_name>linkcheckerfw/linkcheckerfw.github.io<file_sep>/releases/linkchecker.meta.js
// ==UserScript==
// @name Verificador de uploads [FW]
// @version 1.0.1
// @description User script para facilitar a verificação de uploads na FW
// @author XOR
// @namespace 4971e63b909612f5598edd6d90012dae
// @m... | 9e86751b8aad8a7965c6cf81d478d06f3abf0c45 | [
"JavaScript"
] | 1 | JavaScript | linkcheckerfw/linkcheckerfw.github.io | b59c7d1e4ec67d2101bdf17fbbdc356354f4b4cc | 18f54c4785a1a781c6533f1a7188f0c523660f28 |
refs/heads/master | <file_sep>from django.conf.urls import url
from . import views
urlpatterns = [
url(r'challenge/(?P<challenge_pk>[0-9]+)/team/count$',
views.get_participant_team_count, name='get_participant_team_count'),
url(r'challenge/(?P<challenge_pk>[0-9]+)/participant/count$',
views.get_participant_count... | 99e667495fd029b30411ecfc5143f8570cc21023 | [
"Python"
] | 2 | Python | TroJan/EvalAI | e378c5d6fd6a2f5d1ec020198eeae5d17793952f | 4bcbe8570b93011c7f1c80a271bc37c9c40eba36 |
refs/heads/master | <file_sep># Copyright (c) 2013-2014 Rackspace, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | e576c75c02275ee1b2c5b19d7adfe08b47508c37 | [
"Python",
"Shell"
] | 2 | Python | andersonvom/barbican | e3d7b43cda0fdcab38facbb3b7e0492c06f74253 | c7725d05453228b4f9bc805ea7495efb9ef42483 |
refs/heads/master | <file_sep>const Discord = require('discord.js');
const ayarlar = require('../ayarlar.json');
var prefix = ayarlar.prefix;
exports.run = (client, message, params) => {
const embedyardim = new Discord.RichEmbed()
.setTitle("Komutlar")
.setDescription('')
.setColor(0x00ffff)
.addField("**» Eğlence Komutları**"... | 3123b90c679c97b447296cf67c353af68fb4a571 | [
"JavaScript"
] | 1 | JavaScript | ahmetwinner/dcbot1 | a1fdb7cea129f362a7b9287770cbd19711f57ba0 | cea64f422c150bbe07ae31a636728377b1f0d307 |
refs/heads/main | <repo_name>settur1409/JourneyWithDataScience<file_sep>/market_basket_Analysis/groceries_association_rules_streamlit.py
import pandas as pd
import streamlit as st
rulesData = pd.read_csv("rules.csv")
rawData = pd.read_csv("Groceries_dataset.csv")
recommendedItems = pd.DataFrame()
product_choose = st.selectbox(label="s... | 3199558aac6ee83a99e702d101ec9ba61f629a61 | [
"Python"
] | 1 | Python | settur1409/JourneyWithDataScience | 4cce23b5760490c79d9079e9b594485760aafeb0 | 435570526074442ce8c00e1bb1718d8fc6ad3eeb |
refs/heads/master | <file_sep>#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "./../lib/crc16.cc"
using namespace std;
TEST_CASE("CRC16 sum are computed")
{
uint8_t stream[] = {
0xa5, 0xd2, 0xdd, 0x70, 0x96, 0x35, 0xd7, 0xf0, 0x12, 0x0b,
0x07, 0x7d, 0x60, 0xbe, 0x3f, 0x59, 0x1a, 0x59, 0x9f, 0x71,
0x2f,... | f148330c89012bee33be6219e9f8f67b125b1b56 | [
"Markdown",
"JavaScript",
"Makefile",
"Python",
"TypeScript",
"C++"
] | 16 | C++ | imnemo/crc16 | 7985dbcbfd71a87a25bd127aebed5952be88092d | 2cabc997c80203f3d31da0f46cc6a13d11de02bd |
refs/heads/master | <file_sep>#!/usr/bin/python
import socket
import time
import sys
# if false disable debug lines
debug = False
if len(sys.argv) >= 2 and sys.argv[1] == "debug":
print "entering debug mode."
debug = True
# method to get current time in millisecond
current_milli_time = lambda: int(round(time.time() * 1000))
w... | 4dc6bcd2d6d2804977cac8abf1e8d7e5ddf74686 | [
"Markdown",
"Python"
] | 3 | Python | soreana/bastar-gostar-py | cc4af6d753c9f50d59376a637076073410f68f72 | a2231872e21f94f1b9e98ce8d5597eced979e3b1 |
refs/heads/master | <repo_name>RobBlanchard/SortingVisualizer<file_sep>/sorting-visualizer/src/SortingVisualizer/Rectangle.jsx
import React from 'react';
export default class Rectangle extends React.Component{
render() {
var styleChild = {
position : "absolute",
backgroundColor : this.props.color,
... | 3157093eb8e104149660cee8376b967b52e37783 | [
"JavaScript",
"Python",
"Markdown"
] | 12 | JavaScript | RobBlanchard/SortingVisualizer | a626daad67d6c87e9530221673e3fe3d447fde3b | 0ffa39e1fc4312ad6918a61fb0cc325bde0bbbc5 |
refs/heads/master | <file_sep>#Blur, dilation, and erosion
import numpy as np
import cv2
image = cv2.imread("thresh.jpg")
cv2.imshow("Original",image)
#Gaussian Blur (blurs image)
blur = cv2.GaussianBlur(image, (5,55), 0) #blur 5 of x axis and 55 on y axis
cv2.imshow("Blur",blur)
#Moves around the pixels
kernel = np.ones((5,5), 'uint8'... | 8a9e3c0ccf85e5051d020076dc08193549b8de72 | [
"Python"
] | 2 | Python | vanessaland/image-processing-exercises | 63a677338d94d1f396270fa30787b50f46dd0fa4 | 76561ee84af2ede0f5a76e0704616a4abe31867d |
refs/heads/master | <repo_name>santilobato/hello_world<file_sep>/chat.php
<html>
<head>
<title>ChatTerra</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<h1><center><font color="891E1E">Meeting</font></center></h1>
<hr>
<br>
<center><font size=+1>
<table cellpadding="10" b... | 79e815b5bd96d46df9f14e226e9af5f696e1e261 | [
"PHP"
] | 1 | PHP | santilobato/hello_world | 71c1182869f117bc1a3e116ba6cad7197ea2c776 | 60dc1f2011ab0e61ad8e46f166bfdcd111012992 |
refs/heads/master | <repo_name>mtalham/react-web-component<file_sep>/concatBuiltJs.js
#!/usr/bin/env node
const { readFile } = require("fs").promises;
const concat = require("concat");
(async function build() {
try {
const assetManifestPath = "./build/asset-manifest.json";
const { entrypoints } = JSON.parse(
await readFi... | 29d07ade89e7aa502c131d9cf19cf3a7f4163490 | [
"JavaScript"
] | 3 | JavaScript | mtalham/react-web-component | f44aa1f889c228703f678dbe2cec44caf1e61694 | e6e1231011f5c6663af39585730521e1acd73a25 |
refs/heads/master | <file_sep>/**
****************************************************************************************
*
* @file app_sys.h
*
* @brief Application System Functioins
*
* Copyright(C) 2015 NXP Semiconductors N.V.
* All rights reserved.
*
* $Rev: 1.0 $
*
*********************************************************... | 07bc7237106c07cb9e8ab143be0ed9bc755dbfa3 | [
"C"
] | 3 | C | Wangwenxue/Ninebot-BLE-Module | cf17ae7db975976ec6601cb4fce40e33c4e50295 | 90e6ed5596e95342548801aaf246844aaa7ded9b |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Laborat3
{
class FigureMatrixCheckEmpty : IMatrixCheckEmpty<GeomFigure>
{
public GeomFigure getEmptyElement()
{
return null;
}
pub... | e40985f95cf3aaeb100ea49f58c6deb21d81bfe6 | [
"C#"
] | 11 | C# | PavlAA79/Labs1 | 6f78f145fb7465067891d85d62208ad1c66c662c | 0a1bb38eba53352feb5894f3a3d3b51ace783946 |
refs/heads/master | <file_sep>#' Title
#'
#' @param tab
#'
#' @return
#' @export
#'
#' @examples
extractDiseaseCode = function(tab){
listCode = list()
for(i in 1:nrow(tab)){
listCode[[as.character(tab[i,1])]] = list("icd7"=giveCauseCode(tab$ICD7[i]),"icd8"=giveCauseCode(tab$ICD8[i]),"icd9"=giveCauseCode(tab$ICD9[i]),"icd10"=giveCa... | c98a51dcde7fd07c196d2b8e2c6b81c47be1cdfb | [
"R"
] | 5 | R | Cecile-P/MTA | c37f56369b32760ff75a2bc6259c33c251900f35 | 506185653297622f9f85b3cb4662cc5d38d35e32 |
refs/heads/master | <repo_name>codetronaut/doc_tag_test<file_sep>/src/commandF.sh
#File and Folder placement:::
# BASE FOLDER PWD MUST contain files "commandF.sh", "html_report.py",
#"README.md", "PDF-to-txt.py", "make_report.py"
# All PDFs to be searched are in a folder of PWD called "PDFs"
counterPDF=1
counterTXT=1
counterDEL=1
STR=""
... | 7e598baf762fd46e7be5aae5efe89db18caaeae8 | [
"Markdown",
"Shell"
] | 2 | Shell | codetronaut/doc_tag_test | 3003bd27914302e28596bf3c2ea48d59fc212f2a | 2a5cd835f5e59cf7735c9aa120ac992615b0a2f5 |
refs/heads/master | <file_sep>window.onload = function () {
fetch("/pokemon")
.then(function (response) {
return response.json();
})
.then(function (content) {
console.log(content)
})
}<file_sep>//Requirements
const express = require("express");
const fs = require("fs");
const app = express... | 4a3a1d1197f93b0e944a65dfb5cc178e1a569d95 | [
"JavaScript"
] | 2 | JavaScript | pklapwyk/pokedex | fb49d85f435b92e2d8f99a6d25adcfc48e48c82b | 1ef7aea7d35e400a8f5540c77d3955139b8043a4 |
refs/heads/master | <file_sep>using SnakeOnlineClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Snake
{
public class Model
{
const string _url = "http://safeboard.northeurope.cloudapp.azure.com";
string _name = "<NAME>";
... | dcef5b71efd5bfaa729c5656c94875f34a3db5a9 | [
"Markdown",
"C#"
] | 9 | C# | ISChetverikov/Snake | 5e38e40f532acd2e7ba3e0e7c773fa560e00870f | b1318b915f73634250866a6c41e477453dbb58db |
refs/heads/master | <file_sep>package com.booking.hotel.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.... | 93a5de6ff1831e383c06a9ea0e40bb48caaf1111 | [
"Java"
] | 10 | Java | shivamgaba/roombookingmgmasystem | cb010bfd6e8e1e895dbc24028eb347337079f0ea | ab28bba03193e687fc748fd1ef66f1227629806b |
refs/heads/master | <file_sep>//
/*
MIT License
Copyright (c) 2018 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer... | 4825e4e19edab8e02b0d464e02dba83867b7e069 | [
"Swift"
] | 1 | Swift | jesusjimenezdev/OPLGaugeViewExample | daf27a1b4c1e42d04ddf2edd183064bc0d878b92 | 404757dd41de5b31d0e59dfc1a2c18be8f701483 |
refs/heads/master | <file_sep>var tests = {
"list": [{
"test1": {
"title": "我需要向人表示關懷",
"type": "F"
},
"test2": {
"title": "我選擇與人保持距離",
"type": "H"
}
}, {
"test1": {
"title": "一般而言,我頗容易被激怒",
"type": "B"
},
"test2": {
"title": "一般而言,我絕不容易被激怒",
"type": "A"
}... | 7335a6802677372e56bd3d90580e98e0991cd410 | [
"JavaScript",
"Markdown",
"Shell"
] | 5 | JavaScript | wangwen1220/enneagram | e47d638cc602c85b2bcae2eeabead896c28241f3 | 04b5a38730ade19dc3b71d0b16ce3045b7c0b186 |
refs/heads/master | <file_sep>package softvisionProject.POM;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class communityCategoryPage extends BasePage {
public communityCategoryPage(WebDriver driver) {
super(driver);
driver.findElement(By.xpath("//title[text()='Softvision - Community ... | 3954f7484181f0874cdb5848999cfb84d5d43970 | [
"Java"
] | 43 | Java | projectImplementer/My-practice | c9c25c9d74178ccb26045c92194d9694c799ba87 | 2cd7e36df86ab4792bd2a367b93690ab3608ecae |
refs/heads/master | <repo_name>atomicjuice/ruby-oo-relationships-practice-art-gallery-exercise-london-web-120919<file_sep>/app/models/artist.rb
class Artist
attr_reader :name, :years_experience
def initialize(name:, years_experience:)
@name = name
@years_experience = years_experience
@@all << self
end
@@all = []
... | 9f3029c27f164eed820f3a90a68f6e5df2880968 | [
"Ruby"
] | 2 | Ruby | atomicjuice/ruby-oo-relationships-practice-art-gallery-exercise-london-web-120919 | 8780453e968ba93c15cd191fc78cdb49f542067d | ec83dfee21e5eab6b18a61b90933c973c701bc18 |
refs/heads/master | <file_sep># Troubleshooting
### If `asdf` is upgraded, ASDF_DIR may be incorrect
```shell
printf "'%s'\n" "$ASDF_DIR"
unset ASDF_DIR
```
<file_sep>#
# <NAME>: https://github.com/gehrigkeane
#
# References:
# https://github.com/zdharma/zinit
# https://esham.io/2018/02/zsh-profiling
# Patch ZSH wor... | c49ce1be0b0876c6353516e75c325206e865a791 | [
"Markdown",
"Shell"
] | 3 | Markdown | gehrigkeane/dotfiles | 4da53efaf26127c6afd7028ec484b3eab15a31bd | cfb13ee086f28262bd88a03dd75ea3487298fabb |
refs/heads/master | <repo_name>Erloch/liri-node-app<file_sep>/README.md
# liri-node-app
This is a node.js app that searches 3 different api's for information about; your favorite bands concert information, your favorite movies information, as well as the information on your favorite song. You can use the spotify api by adding spotify-this... | a9bb307bd7b6be22b69c1e606438305926d9db9a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Erloch/liri-node-app | 22cecd735badb0db727908334eb0cad01d257687 | 1b26364e7210bc9d881628833293f29b6a4ee988 |
refs/heads/master | <file_sep>package com.store.services.product;
import com.store.model.ProductModel;
import com.store.persistence.repository.ProductRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ProductServiceImpl implements ProductService... | 4dfd0fc4d2246e98c5a0b7ea426517044c07237e | [
"Java",
"INI"
] | 5 | Java | suleimen/store-app | 7138edc5cfb612d0d2272069472fba8cf8044b20 | 1c1cd76525fc013f87b47982cb9d10b82774c3a8 |
refs/heads/master | <repo_name>Soreasan/C-Sharp-Minesweeper-with-Methods<file_sep>/Assignment1Minesweeper/Assignment1Minesweeper/Program.cs
/*
* <NAME>
* www.cslearner.com
* This was an assignment for my C# class. We were asked to make a simple program that randomly generated "bombs"
* and blank spaces for a minesweeper map. I'm no... | 91e3b1fa078f0c2aae8239811aa17c26e28eaa48 | [
"C#"
] | 1 | C# | Soreasan/C-Sharp-Minesweeper-with-Methods | 161d167a66270a1e5c8481ff51f530f3d36964fc | cc8fefb1b5209e9548b0bc74a658b044d3d94a76 |
refs/heads/master | <repo_name>tsekeres/Heist<file_sep>/Heist/Program.cs
using Heist.Team_Members;
using System;
using System.Collections.Generic;
namespace Heist
{
class Program
{
static void Main(string[] args)
{
List<CrewMember> crew = new List<CrewMember>();
Console.WriteL... | 24314148636af6c991c9f8adedb23c3902ee5226 | [
"C#"
] | 2 | C# | tsekeres/Heist | 649fa7248f8cee493455957c78361dd594dd2fea | c4da6d9d069df6d6120a8072e86bdecd2c0679d3 |
refs/heads/master | <repo_name>ZippoZeng/UILib<file_sep>/lib/src/main/java/com/github/zippo/uilib/CommonToolbar.java
package com.github.zippo.uilib;
import android.content.Context;
import android.support.annotation.ColorInt;
import android.support.annotation.Nullable;
import android.support.annotation.StyleRes;
import android.support.v7.... | 24a6e58f4caa8347a9ca709f1442918ced03acb2 | [
"Java"
] | 3 | Java | ZippoZeng/UILib | 5c5cbf700832d33c03e28ce655fd55706bfdbee3 | 293b819e5f1a7f6f2c4ea524925a88d528914a21 |
refs/heads/master | <file_sep>package com.imook.client.controller;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class home {
@... | 64222ae0f87635c6f5cf946ee78928ba43f696cc | [
"Java"
] | 1 | Java | RockyYao/eureka | 8fb5a76d10e9d48b5b50ada89401ce309139aa1a | e3779b354edb527e7e14fc51a62cfdcab325d7b6 |
refs/heads/master | <repo_name>JoeyW1991/docker-cpptrade<file_sep>/Dockerfile
FROM ubuntu:18.04 as base
COPY sources.list /etc/apt/sources.list
RUN set -o errexit -o nounset \
&& apt-get update \
&& apt-get install -y --no-install-recommends libevent-dev libssl-dev uuid-dev libonig-dev librocksdb-dev libunivalue-dev \
&& rm -r... | cfede51ebc32726bc491a4cb4f09cb50eb570af1 | [
"Dockerfile",
"Shell"
] | 2 | Dockerfile | JoeyW1991/docker-cpptrade | 078e162aa2beb4507c46cfb1d4369a6e747f309d | 927f264968741b717af3c8b5f8e26ff20aa3b3d0 |
refs/heads/master | <file_sep>from cvat.settings.production import *
# add custom apps here
import ldap
from django_auth_ldap.config import LDAPSearch, PosixGroupType
DJANGO_AUTH_TYPE = 'LDAP'
AUTH_LOGIN_NOTE = '''<p>
Please use your LDAP login credentials (the ones you use to login system-wide).
</p>'''
# Baseline configuration.
A... | 02c7c52dc223277476479dd7ff99e46c10317e8f | [
"Markdown",
"Python"
] | 2 | Python | bryanjonas/cvat | c28fa4001efa23c700be226f7f99873cfcf9cff6 | 3cc8428af10cf8ffbf6b4e931ac9fbe064cfae46 |
refs/heads/master | <repo_name>pyed/tailer<file_sep>/linereader.go
// Copyright 2016-2017 The grok_exporter Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENS... | 50dde0135d3449d1ac59b472e2a914910d39c2a8 | [
"Markdown",
"Go"
] | 4 | Go | pyed/tailer | 376cd2db7eb601bfeb6de212741627624fe993a2 | 98a427eb0985a7ffd881cd94ae1dae62a9630cb9 |
refs/heads/master | <repo_name>navonf/chatalyze-frontend<file_sep>/src/Components/Chat.js
import React, { Component } from 'react'
import {Row, Col, Card, CardBody, CardTitle, CardFooter, InputGroup, InputGroupAddon, Button, Input} from 'reactstrap';
import{Redirect} from 'react-router-dom';
import io from 'socket.io-client';
const empty_... | 20385dd51c383283e4e6d00e59676ac3dcc8408e | [
"JavaScript"
] | 3 | JavaScript | navonf/chatalyze-frontend | c7b4f7ded4a7f494a62f17cfb91de78a03efae27 | 3b27d59de40c4de4079b845d7dc2f04f2aa0d628 |
refs/heads/master | <file_sep>'use strict';
var auth = require('./tmp/auth');
var commits = require('./');
commits('breakdance/breakdance', auth)
.then(function(res) {
console.log(res);
})
.catch(console.error)
<file_sep>## Usage
See [github-base][] for documentation for all options and authentication choices.
```js
var comm... | 7a95b573a40592249550d65472aca49acd90ac7b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jonschlinkert/commits | 69c7fd9b9d68922e3b2f5082244aa59d738491d7 | bfc02085f4936b57c3f92407ec51daba28b90005 |
refs/heads/master | <repo_name>apache1011/Quarto<file_sep>/js/game/AI.js
Node = function(bases, pieces){
var competeTimes = 0;
var curBases = bases;
var curPieces = pieces;
};
var AI = {
enable : false,
difficulty : 0,
playerNum : 2,
// AI put real piece
put: function(i, j){
//move the piece to th... | 9254d3587ef9d82945d3c0ab29c7ee4e59817646 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | apache1011/Quarto | 1cce715a63ba88e5f9d218904000530de00a135c | f2947019c1b88e97d5265b4dee3e094287e9cb1b |
refs/heads/master | <repo_name>n-azemachi/Rails_blog<file_sep>/app/models/article.rb
class Article < ApplicationRecord
belongs_to :user
validates :title, :body, presence: true
attachment :image
end
<file_sep>/README.md
# README
* Name Rails Blog
this use only portfolio
Overview
This is a simple blog service.
You can pos... | fd911b065fe47a0ddd39d4775edbc2debfc482f9 | [
"Markdown",
"Ruby"
] | 2 | Ruby | n-azemachi/Rails_blog | 19c7981ba8b5f26f1f07b8fdaf655f6586053c18 | 67fe459bd446145a0e96197ee2bc4c4cc400f659 |
refs/heads/master | <repo_name>Aziiiz/aws_ec2_reboot<file_sep>/README.md
# aws_ec2_reboot
reboting ec2 instance
<file_sep>/aws-reboot.go
package goAws
import (
"flag"
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
"gi... | 885fe2a78e7a0f04b19f20771d6e09f82596f074 | [
"Markdown",
"Go"
] | 2 | Markdown | Aziiiz/aws_ec2_reboot | e4863cb54a4c1dc41ae7720363c943660eef97c7 | fc5abe801d8422c834e0d90390adcd9aed1f9148 |
refs/heads/master | <repo_name>Sgarcia10/leal<file_sep>/src/client/app/containers/user/user.module.ts
import { NgModule } from '@angular/core';
import { UserComponent } from './user.component';
import { HeaderComponent } from '../../components/header/header.component';
import { SharedModule } from '../../shared/shared.module';
import { Pr... | fe8cba6897aa2bd2ca1a76ba0acf74b5ff024a7c | [
"Markdown",
"TypeScript"
] | 32 | TypeScript | Sgarcia10/leal | ae51fe5ef38fa716cfa5634f5590374b352a4425 | d23d88c14ed6ed9381e8b54d694ead6fab753dde |
refs/heads/master | <file_sep>package com.misakamikoto.springboot.api.aspect.pointcut;
import org.aspectj.lang.annotation.Pointcut;
public class RestExceptionPointcut {
@Pointcut("execution(* com.misakamikoto.springboot.api..*(..))")
public void exception() {}
}
<file_sep>app.controller('detailController', ['$scope', '$location'... | 605f3d8037ccbeff734d4a359bb7bd9fa537eded | [
"JavaScript",
"Java",
"Markdown",
"Gradle"
] | 28 | Java | MisakaMikoto/SpringBoot-API | e48f05ede47aac26cb8cd08cff9a38e467bddf26 | 3b31a6395901b6755822999f72c7b74dabe0a038 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GUI_Design_Mockup
{
public partial class frmUpdateEmployees : Form
{
... | bf4e025273fb6b4ba1618a9c9916aee129110a04 | [
"C#"
] | 21 | C# | Falterfire/AllenPRIDE | cd4dcd4639950f6c57c750c9ba8f5e30215f9d00 | 8155c75d11e77cd1d6c851817094f54a7ca1360e |
refs/heads/master | <repo_name>ugurbagci/DBFirstExample2<file_sep>/DBFirstExample2/Form1.cs
using System;
using DBFirstExample2.Model;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
usin... | 4762b3f2757c995f5f76aeff1fd2a312793a2279 | [
"C#"
] | 1 | C# | ugurbagci/DBFirstExample2 | e85e71ff2495a519ddfe9d75bccd06ddaade7baa | bbbc3f603670ae285c88cf30aa0adf7a7c48dd07 |
refs/heads/master | <file_sep>def consolidate_cart(cart)
# code here
new_cart = {}
cart.each do |piece|
piece.each do |item, attr_hash|
new_cart[item] ||= attr_hash
new_cart[item][:count] ||= 0
new_cart[item][:count] += 1
end
end
new_cart
end
def apply_coupons(cart, coupons= {})
# code... | 1ea82f627de180ea81b91b059077d545ad372518 | [
"Ruby"
] | 1 | Ruby | LizLaffitte/ruby-enumerables-hash-practice-green-grocer-lab-online-web-prework | aca9b54c207f2638a980c8645b116aaf445c2578 | f42340c76652ae3390478e8fabf832f0688d7a22 |
refs/heads/master | <repo_name>Lamx/Cours-Ruby<file_sep>/boucles.rb
utilisateurs = [
"Alice", "Bob", "John", "Hector"
]
utilisateurs.each do |utilisateur|
puts utilisateur
end
<file_sep>/tp.rb
class Utilisateur
attr_accessor :prenom, :nom, :amis
def nom_complet
prenom + " " + nom
end
def est_... | 2ff04f4238397e0c7d1199a88c5ce0e87eae610d | [
"Markdown",
"Ruby"
] | 7 | Ruby | Lamx/Cours-Ruby | a2e710fefb99e955fefc2dac420ef78c30530489 | f723eee212127e0f2a656d15f41720f37554c879 |
refs/heads/master | <file_sep>package com.theironyard.charlotte;
import com.sun.org.apache.xalan.internal.xsltc.util.IntegerArray;
import java.lang.reflect.Array;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
// write your code here
}
// The number 6 is a truly great number. Given t... | 0a65ce7ba646e762cd7eda024e6f8f48fac82b0d | [
"Java"
] | 1 | Java | mfahrner/PracticeProbs | 70837b0fa0c6c9eaf6cc2993f92925d7f374ed72 | 9be37030ba9f0445fafc169a24867377e03912de |
refs/heads/master | <repo_name>lqiz/BarrageDemo<file_sep>/BarrageDemo/src/com/example/testdanmu/MainActivity.java
package com.example.testdanmu;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.o... | 935aa9dff2da154bc3505bf223b7b367f6a68d09 | [
"Markdown",
"Java"
] | 2 | Java | lqiz/BarrageDemo | f990445ab2e1a88213ac5d59724aa96d146ca6c1 | d3f9ba0c3f9f5a39aa928a2747a5cb146c7a631d |
refs/heads/master | <repo_name>DeanTang/HealthVision<file_sep>/gui.py
import requests
import json
from tkinter import *
import time
import datetime
import serial
window = Tk()
toggle = IntVar()
window.title("HealthVision")
light_text = ""
def checkToggle():
try:
if toggle.get():
led_url = "https://api.particle... | ea48267cb5ea658b37d803633b0e80af5c62bb62 | [
"Python",
"C++"
] | 2 | Python | DeanTang/HealthVision | 1338ffec6d29219d2e16d021ddbcad9ff8c37c31 | 8d3b440a947d2fa2c0740cccc0f49bb6bba37b78 |
refs/heads/master | <file_sep>/**
* History.js YUI Adapter [NOT WORKING]
* @author <NAME> <<EMAIL>>
* @copyright 2010-2011 <NAME> <<EMAIL>>
* @license New BSD License <http://creativecommons.org/licenses/BSD/>
*/// Closure
(function(a,b){var c=a.History=a.History||{},d=a.YUI;if(typeof c.Adapter!="undefined")throw new Error("History.j... | 249791bc540d6b5026af8d6ef4c9fe47080097f8 | [
"JavaScript",
"PHP"
] | 4 | JavaScript | dlarsson/history.js | 910f8ff8bfb3b9317b5d7f80d83fa310a2dad788 | 480d3081cdacecf902de5c9caa8381243afa53f5 |
refs/heads/master | <repo_name>aQuanPig/shop-mall<file_sep>/src/store/actions.js
export default {
addCart({state,commit},payload){
const old_payload = state.cartList.find(item =>{
return item.iid === payload.iid
})
if (old_payload){
commit('incrementCount',old_payload)
}else {
commit('pushCart',payload... | 6b943129b2418b6bba7def4012507791fd6d4916 | [
"JavaScript"
] | 3 | JavaScript | aQuanPig/shop-mall | cf57a1002ed46b91c2ce5908d41f5f37e9a28e95 | 053bf104f1a2f3cfa87adb8880eef043ddc0db2d |
refs/heads/master | <repo_name>wbma/front-end-5-routes-login-MikKarl<file_sep>/src/app/services/media.service.ts
import { Injectable } from '@angular/core';
@Injectable()
export class MediaService {
username: string;
password: string;
constructor() { }
login() {
console.log('uname: ' + this.username);
console.log('pwd:... | 9f69ff9532b8534c9601382e90521b3a5b9036b1 | [
"TypeScript"
] | 1 | TypeScript | wbma/front-end-5-routes-login-MikKarl | 9f518939c4ffc47720e67b51c61a44d8cf9237d8 | 5176ab9df5cb9b9305a954d15014be4b7e4a5416 |
refs/heads/master | <file_sep>#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libmill.h>
#include "server.h"
const int URI_MAXIMUM_LENGTH = 256;
const int QUERY_ARG_MAXIMUM_LENGTH = 2083 - URI_MAXIMUM_LENGTH;
const char* HTTP_PROTOCOL = "HTTP/1.1";
void parseRequestBody(tcpsock socket, Request *r... | 052137f2debaa1d286ba0fd04d7f3be2db42dbd0 | [
"Ruby",
"Markdown",
"Makefile",
"C",
"Dockerfile"
] | 12 | C | jonmorehouse/k-imagely | 223ad8ec5e7a58aa955dbd0d8831e3a3d232c3bf | dadd7da1f124b061ef1a558a0ff2b6ed58f4551a |
refs/heads/master | <file_sep>var five = require("johnny-five");
var board = new five.Board();
board.on("ready", function() {
var buttons = {
rock: new five.Button(2),
paper: new five.Button(3),
scissors: new five.Button(4)
};
var lcd = new five.LCD({
pins: [ 7, 8, 9, 10, 11, 12 ]
});
var gameOverLED = new fi... | 49c6cc04c410761d02e6b506f76650c9c1b9dcf2 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | rmurphey/johnny-five-projects | 2151c27e5b20731ebc5490f4e127256eded14297 | b60f9e5030777ac20d2822aea7dce0a80b56bff7 |
refs/heads/master | <repo_name>cluntraru/computer-networks<file_sep>/tema3/src/arp_poison.py
import argparse
import scapy.all as scp
import os
#import netifaces
import signal
import sys
import threading
import time
#ARP Poison parameters
packet_count = 1000
#Given an IP, get the MAC. Broadcast ARP Request for a IP Address. Should reciev... | e16edcdd645171ed9b2559e5c203b9ef89deea48 | [
"Python"
] | 6 | Python | cluntraru/computer-networks | 8eb14c1460f8c95c385dafc38265cd4ddbf65479 | 7aa87529fc1e70985650919b967967b72b07de50 |
refs/heads/master | <repo_name>AhmetFurkanDEMIR/COVID-19-Detection-Classification<file_sep>/README.md



 {
'use strict';
// Just so you can see what "this" refers to. It's the global window object.
// Never attach anything to "this" because then it's a global var/method
// and you start polluting the global namespace.
// This pattern gives you closure priv... | caada124d8343d4343c73ba1a4ec72a6ba517ad1 | [
"JavaScript",
"PHP"
] | 9 | JavaScript | sohier/wwfsite | 61d18fdf860fc629e53b01831006918470a5b906 | 5bfbccc239ad78299e305233e64cab32f529aaf9 |
refs/heads/master | <file_sep>
<?php echo $__env->make('blog::blog.partial.header', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<section class="grid">
<div class="container">
<div class="row">
... | 045dea9de7368a28a58600c56183353aed696a38 | [
"PHP"
] | 28 | PHP | Mo7ammedFtta7/smrc | 4d67174bbd413a706955a6f274202afd43f16a4a | 3bd9a9016a2ea219ff60e05d58c30af38ce1573c |
refs/heads/master | <repo_name>pramttl/github_track_repo<file_sep>/main/models.py
from django.db import models
class Project(models.Model):
repo_owner = models.CharField()
repo_name = models.CharField()
class DataPoint(models.Model):
P = models.ForeignKey(Project)
created = models.DateTimeField(auto_add_now=True)
s... | 9c929b01790f314ba14ae7c28c1013cd0829ead8 | [
"Markdown",
"Python",
"Text"
] | 4 | Python | pramttl/github_track_repo | ea81ce2e4c5654324ea342ace285efef3e31f31c | 5fe4c80ced3f198cfd21026abb0f164d91a1866b |
refs/heads/master | <repo_name>coquito77/R_functions<file_sep>/funggcast.R
funggcast<-function(dn,fcast){
# fuction is from here
# http://davenportspatialanalytics.squarespace.com/blog/2012/3/14/plotting-forecast-objects-in-ggplot-part-1-extracting-the-da.html
require(zoo) #needed for the 'as.yearmon()' function
en<-max(time(fcast$me... | 785f78d289e688fa24eb2f1b14581501b80c52af | [
"Markdown",
"R"
] | 4 | R | coquito77/R_functions | 9f8893e2ce87683ee23a64c87ec1523b8f6f038e | c74448a90732281fe91c9b6d09cd197b1a22fd0f |
refs/heads/master | <repo_name>lemosbor/Vora<file_sep>/Вора.py
import speech_recognition as sr
import pyttsx3
import webbrowser
from pydub import AudioSegment
from pydub.playback import play # подключаем библиотеку для воспроизведения mp3
import requests
import json
text = 'какой-нибудь текст'
tts = pyttsx3.init()
rate = tts.ge... | 330ce7d976e1a8e37f727618984641ae46419e19 | [
"Python"
] | 1 | Python | lemosbor/Vora | e4b0e73fcf8a92cfa06c1321353353972db4df9f | d89a6d92ed12148b9fc3e5d51ea0e96ac9f65c3e |
refs/heads/master | <file_sep>0.3 (2017-10-15)
----------------
- Make use of ii-django-package-settings
0.2 (2017-10-14)
----------------
- Manifest fix
0.1 (2017-10-14)
----------------
- Project creation
<file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from io import open
from setuptools import setup... | 5fad2bd3559b88e5fd9660736f6d1e5f21f9e2f6 | [
"Markdown",
"Python"
] | 7 | Markdown | ideallical/ii-django-backup | db8d4219d865ea2d10fad9757d8b7d8a3808cbe0 | 4e24e6ce699e569bd70fc320021e95d2ff13e7ed |
refs/heads/master | <file_sep>package com.mrpowergamerbr.protocolsupportswordblocking;
import java.lang.reflect.InvocationTargetException;
import org.bukkit.Bukkit;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary;
import c... | e7ad4158a0b64b2830d287bb1c72eaabd2ab2c05 | [
"Markdown",
"Java"
] | 2 | Java | codergautam/ProtocolSupport1.8Combat | fb9dbbbf29e03085dd385a8696fdd2c9b4b0f568 | 335c503c34a8bfdb58b53308aa2f7eb2ec398185 |
refs/heads/main | <repo_name>Caronte-Aqueronte/Unidad6ProgramacionModular<file_sep>/src/Ejercicio1.java
package src;
import java.util.Scanner;
public class Ejercicio1 {
public static void main(String[] args) {
Ejercicio1 ej = new Ejercicio1();
}
int[] arreglo = new int[5];
public Ejercicio1() {
llenar... | 669f02dd7fef1ef615f7a1a03999e4ff80cdd45c | [
"Java"
] | 6 | Java | Caronte-Aqueronte/Unidad6ProgramacionModular | 019188bd0e007f2a1507f819cf738e62ff1aed5a | b74e4dd2d0ed059aff15133284afded075167da9 |
refs/heads/master | <file_sep>/**
* External dependencies
*/
import { expect } from 'chai';
/**
* Internal dependencies
*/
import { parse, attr, prop, html, text, query } from '../src';
describe( 'hpq', () => {
// Markup
const markup = '<blockquote><p>…</p><p>…</p><cite class="large"><em>—</em> Andrew</cite></blockquote>';
// El... | 1ac80485dab4f8d8c9d387858f906a9fac51e1a2 | [
"JavaScript"
] | 2 | JavaScript | gziolo/hpq | c9704368e06be8cfc3d71696dee44d93f7e9dd87 | be190d177ff3f14ec76aceb9c942c686d2a423c8 |
refs/heads/master | <repo_name>paulz/OutputTo<file_sep>/README.md
# OutputTo
[](https://travis-ci.org/paulz/OutputTo)
[](http://cocoapods.org/pods/OutputTo)
[:
a = abs(a)
b = abs(b)
if a < b:
a, b = b, a
if b == 0:
return a
return gcd(b, a%b)
def pow(a,b,m):
"""
calculate a^b % m
where a, b, m are integers and
a >= 0, b >= 0, m > 0
"""
... | c840eaabf2518e82581ba74d3a2507107bee3673 | [
"Markdown",
"Python",
"C++"
] | 6 | Python | alantian/project-euler | bc0d73b1023d22441f104272ee2ef624cb683baf | bb138473f734959827cf5bf173f9b16fe3d3d507 |
refs/heads/master | <file_sep>package br.com.thiagojose.simulalogin;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
private EditText edtUsuario;
priv... | bac76ffdad155c7b05d90db63ceda4a3763181a1 | [
"Java"
] | 1 | Java | ThiagoJFreitas/login | f150f6e0726ee7ec59d35062fb51c93f665cdd46 | 45b2c96b4b4feca6a714027fc234a91c2b21e79b |
refs/heads/master | <repo_name>hanahboles/bubble_game<file_sep>/index.js
const startButton = document.querySelector('start');
const gameArea = document.querySelector('.game');
const scoreSpan = document.querySelector('.score');
let score = 0;
// Initializations for dots when first created
// size --- maybe a data attribute for value?
// ... | f44d43febccbf5dd3ca7e519a9286fb48dda6ca0 | [
"JavaScript"
] | 1 | JavaScript | hanahboles/bubble_game | b538312cf91f2454a56ddc829fe8157e5b4798ac | edced868ab8889ede625d2d0dba9f3700d4a4631 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="favicon.ico">
<title> kisii university</title>
<link href="main1.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="container">
<div id="header"><img src="logo.png" a... | 6c5e5b9b34489cbde095b08fbd6532756ae6f410 | [
"Markdown",
"PHP"
] | 8 | PHP | winniegakuru/codeWiz | 2510fc80c6f2f1da91e1cb1381aa86919cffe1a4 | b4c85a5b34b4f3f69db6002190a0f6b5b25425a7 |
refs/heads/main | <file_sep>using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Homer.Api.Domain.Entities.Imoveis
{
[Table("ImovelImagem")]
public partial class ImovelImagem
{
[Key]
public int Id { get; set; }
public int ImovelId { get; set; }
... | 298ab114e08514c5b52739699406ded21369411b | [
"Markdown",
"C#",
"Kotlin",
"Gradle"
] | 31 | C# | enavadev/homer | e82fcb6416370a779c206daa504d0d8393c00484 | d1e6e0425ba6e0ae572e4097a692fa97635c4412 |
refs/heads/master | <file_sep># Plan: Display antlet dependencies
# API:
## Primary features
zfs_dependencies - Print entire tree to screen in human readable format
zfs_dependencies -j, --json - Print entire tree to screen in json format
## Secondary features
zfs_dependencies antlet_name - Print c... | c70b102d6cf3b4099742bebdc1b57f78ba32e912 | [
"Markdown",
"Python"
] | 4 | Markdown | Shortrope/zfs-dependency-tree | 46ed96a4971188dbfbab2650d7093d44889338c0 | e8fed6dfa00ae955fd6872842977fc10a9a53df7 |
refs/heads/master | <file_sep>import React from 'react';
import './Header.css';
const Header = props => {
return(
<div>
<header id="header">
<div className='container'>
<div id='logo' class='pull-left'>
<h1><a href='#body' class='scrollto'>Real<span>Valo... | 5b53a23b1894d72c5c093116df3a0ca0e7df6813 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | agnaldom/realvalorteste | ca65a1aac1bd92915bc510cb4957f44a74513d15 | e26096374b0f2a4ef8526dd5508f029d4c98915d |
refs/heads/master | <repo_name>EnriqueOrtiz95/LADM_U1.-Pr-ctica-2.-Archivos-Memoria-Interna-y-Externa.<file_sep>/app/src/main/java/mx/edu/ladm_u1_p2_ortizloraenrique/MainActivity.kt
package mx.edu.ladm_u1_p2_ortizloraenrique
import android.Manifest
import android.content.Context
import android.content.pm.PackageManager
import androidx.ap... | d4a33c8190a00cfb92a8ab63e26765ddf5b89f88 | [
"Kotlin",
"Gradle"
] | 2 | Kotlin | EnriqueOrtiz95/LADM_U1.-Pr-ctica-2.-Archivos-Memoria-Interna-y-Externa. | 282c0d3cd8576e8ad5317fb6a61e28f931a1058a | 5ea13cc0ef3da110211aee57cf0a21cf93c61243 |
refs/heads/master | <file_sep>'use strict';
// Fallback for desktop testings
var Camera = Camera || {
PictureSourceType: {
PHOTOLIBRARY: 0,
CAMERA: 1,
SAVEDPHOTOALBUM: 2
},
DestinationType: {
DATA_URL: 0,
FILE_URI: 1,
NATIVE_URI: 2
},
EncodingType: {
JPEG: 0,
... | 6be5dda236b218ea79471ca985b746de61b9d452 | [
"JavaScript"
] | 3 | JavaScript | Olympic-insa/riocognized-mobile | a65fbe4510dfcbd5f6ca2aaa5fcc96ff843fa649 | 9df127194bfbb7b7d9e46f7b53deefb1aa2a12f6 |
refs/heads/master | <file_sep>
$(function(){
$('#main-menu > li').mouseover(
function(){
$(this)
.find(".depth2")
.addClass('show');
},
function(){
$(this)
.find(".depth2")
.removeClass('show');
}
)
});
$(... | 4436c787b03385a63829814fafd1da0b277a0ac6 | [
"JavaScript"
] | 1 | JavaScript | KKongrrr326/test7 | b6799176f185fc7e42ad661eeb27635a8af8c1f9 | d336f75e310e9c24d26467730f1d3fc9e2d81734 |
refs/heads/master | <file_sep>import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import java.awt.event.ActionListener;
import java.sql.Connection;
import ... | 9a19beab6c1d9a0d4b6137844adced6eead61e49 | [
"Java",
"INI"
] | 3 | Java | tusharkadam008/OOBill | ba7fd59dfcb343216dfa73c77b0d945002e552d8 | 2d0af5473df1a040618d9c22b32e690719b0a098 |
refs/heads/master | <file_sep>/*
Question #1: Correctness
In TypeScript, write a function called "scriptAt". Prove that it's correct by providing a set of test cases.
The function will do as follows.
Given a string as an input, find the index of the string "Script" within the input string.
You can use Google to look up the method cal... | 8d4b8fd3a339c16ccc00afc24a30decebbc99009 | [
"TypeScript"
] | 1 | TypeScript | nong3cha11/compiler-is-your-friend | 6a906fd6d94a05e8de2936c0d52cb48f9c73666e | cfda4c7f2db1c1994fa46c226d272a95762dd3b5 |
refs/heads/main | <file_sep>package frc.robot;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.XboxController;
public class HwJoystick {
// //tank drive controlls for driver
// public final Joystick leftJoystick = new Joystick(1);
// public final Joystick rightJoystick = new Joystick(0);
//xbox contr... | faa41d45f3f3f041b195f5ffefd0c497f265acfe | [
"Java"
] | 1 | Java | EthanCubed/Robot-Code-Attempt | ee1e2dfc8a4ad52420204235e3df0e48a45f7260 | e8bcfb840ae60e224876ebdcf523744ac2142a8b |
refs/heads/main | <repo_name>Adhityarahman/Github<file_sep>/ArifiDatabase/help.js
const help = (pushname, prefix, getLevelingLevel, getLevelingXp, premi, sender, reqXp, _registered, uangku) => {
return `
*Selamat ${ucapan.data.result} I'm ${NamaBot}*
╔════□ *Info Developer* □
║╔▸
║╠➤ *Nama* : ManikGanz
║╠➤ *Nomer* : wa... | ece7309767f5b0183c3d3317240340ce511aa866 | [
"JavaScript"
] | 2 | JavaScript | Adhityarahman/Github | d1fd5898a10640b11985fe7e599a1f35ca60e20b | 6a9d84b10e2644904deb0d90ad66c5eb46ce6ab2 |
refs/heads/master | <repo_name>Arctic1337/Test-tasks-<file_sep>/README.md
# In this repository I will download completed tasks which were given to me by different employers as test tasks
<file_sep>/News feed/forTask2.php
<?php
function PageByNumber($result, $pageNumber) {
for ($i=0; $i < 5 ; $i++) {
global $MyTitle, $MyAnnounce, $My... | 382c0c2ef4ee10fb7abcc241764c7d4994a691b7 | [
"Markdown",
"PHP"
] | 2 | Markdown | Arctic1337/Test-tasks- | f7fa29031f46d21820d73fc8b807a3b8346b80ce | e868cf9cad72f632c51f426f487f26263eceb984 |
refs/heads/main | <file_sep># graph-node-embedding-algorithms
Implementation of graph node embedding algorithms
<file_sep>import os.path as osp
import torch
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(style='white')
from sklearn.manifold import TSNE
from torch_geometric.datasets import Planetoid
from torch_geometr... | fab46a44e0c76ffd67a766d9459bc45ff2bd0990 | [
"Markdown",
"Python"
] | 3 | Markdown | yang0110/Graph-Node-Embedding-Algorithms | d9dae488d518015bac97e92fdb80aa036295b617 | d68f36252886ea89565d9677a6d26775d7bbc53c |
refs/heads/main | <file_sep><?php
// Set variables
$host = "localhost";
$port = 1234;
// No timeout
set_time_limit(0);
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) or die("Could not create socket\n");
$socket_binded = socket_bind($socket, $host, $port) or die("Could not bind socket to port\n");
$socket_listened = socket_l... | 943a6853f9c060c7e12c2307b187495532d9be6d | [
"Markdown",
"PHP"
] | 3 | PHP | arielangeles/echoServerPHP | 97ad2a426ede990d2f2b5a4ec2b280cf0984217d | cc847bdbbc20456db32231e1692c2c02c24fef4e |
refs/heads/main | <repo_name>Code-Sydney-Related-Work/FCC--Project_5<file_sep>/cash_register.js
function checkCashRegister(price, cash, cid)
{
let changeOwed = cash - price;
let cashInBox = 0;
let accArray = [];
for(let m = 0; m < cid.length;... | a82fe47b229cd4e6d4bf501849a7c9814c086483 | [
"JavaScript"
] | 2 | JavaScript | Code-Sydney-Related-Work/FCC--Project_5 | eee5c2a7e9110f7846cf93ee971d142397529265 | 0540a23f04fffea6eb14f58408535e29b460b78e |
refs/heads/main | <repo_name>vigacv/arquitecturabdoracle<file_sep>/index.js
var dicc = {
"PGA": {
"title": "Program Global Area",
"desc": "Es la porción de memoria que ocupa un server process (uno por server process) y es privada para cada server process. Comienza con 3 MB, aproximadamente, pero su tamaño varía conf... | 09757cb1095f18d9dd37c431c5132795377aa753 | [
"JavaScript"
] | 1 | JavaScript | vigacv/arquitecturabdoracle | 2f9e173d13eef1c827e623debae32b5f077e7a17 | 01950d46b41d7277084a69e6b37e20d25648e813 |
refs/heads/master | <repo_name>guojiangtv/overseas-webpack<file_sep>/README.md
### eslint对vue组件的监视及自动修改设置
在vscode的setting.json文件中添加以下内容
```
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",{
"language": "vue",
"autoFix": true
},
"html",
"vue"
],
```
### 海外版前端自动化编译构建工具使用说明
此工具仅适用于海外前后端分离项目,之前的... | 5a4450b850a5985d94f830175692daf6804e8080 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 8 | Markdown | guojiangtv/overseas-webpack | 3e95ff6131ea276b2a693f41d95a6efe42b6831b | 0b88b949c77cffbd4f7e1f23ba4a78438626152c |
refs/heads/master | <repo_name>heinrich10/pos<file_sep>/src/main/java/com/app/erp/controller/MaintenanceController.java
package com.app.erp.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/maintenance")
public class Maintenan... | 32a05608b1824837cbb3de00467a83e271d85d2c | [
"Java",
"INI"
] | 23 | Java | heinrich10/pos | b17200b36f879a7d987065523f2263dbb511267b | e3155a3853a56a96376a81401af63f42d36a874f |
refs/heads/master | <repo_name>tyler-patton44/cSharpBankAccount<file_sep>/Models/transactions.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace testBank.Models
{
public class transactions
{
[Key]
public int ... | 9f04c70f4e8e1a299403429ef9c84d7542c70732 | [
"C#"
] | 1 | C# | tyler-patton44/cSharpBankAccount | 54e391618c7bae0c9b0f51ad21326fe8bde50110 | e11e00f0380beb7501c8c9aa5080f1496bab8328 |
refs/heads/master | <repo_name>pepabo/takosan<file_sep>/README.md
# Takosan
[](http://badge.fury.io/rb/takosan)
[](https://travis-ci.org/pepabo/takosan)
Ruby wrapper of [Takosan](https://github.com/kentaro/takosan)
... | e3bae54407c7a07da6d28b9c925c661154a0b51d | [
"Markdown",
"Ruby"
] | 5 | Markdown | pepabo/takosan | 597b41238c55b1a51d01bb330e9de49852c7c131 | f405bd144e64dbc4041c82f4e059c3e70612f38a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.