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>#include<stdio.h>
#define pi 3.1416
float a,r;
main()
{
printf("Dame el valor del radio\n");
scanf("%f",&r);
while(r<-0)
{
printf("El valor debe ser positivo/n");
scanf("%f",&r);
}
a=pi*r*r;
printf("\nEl area es:%f",a);
}
<file_sep>#include<stdio.h>
int a,b,c;
m... | b12d32ab8a0dcb00656af77cd0c97177af8df91d | [
"C++"
] | 3 | C++ | KatherineReyesAlonso/practica7_fdp | a97f1f2feb68b372fb5b07f7932c6778d56fdcf0 | 5d761200d9b1b377582bc93dac1d90b521ad28f7 |
refs/heads/master | <file_sep>class Embassy < ActiveRecord::Base
def self.find_all_embassies(lat, lng)
query = "SELECT name, ST_AsGeoJSON(ST_Centroid(way)) AS way, tags->'country' AS country,
ST_Distance((ST_SetSRID(ST_Point(#{lng}, #{lat}), 4326)::geography), ST_SetSRID(way, 4326)::geography) as distance
... | c79dad1230bfbee29a713901253853233190e6c9 | [
"Markdown",
"Ruby"
] | 4 | Ruby | fiit-pdt/assignment-gis-MartinBorak | aade91eb5fe2057ae0b235c549fea49ac418255d | 0ff35f2655f3454401092625371f6600c5c272b8 |
refs/heads/master | <file_sep>package searchengine;
import java.util.Scanner;
/**
*
* @author Niro
*/
public class SearchEngine {
private static IndexTable indexTable = new IndexTable();
public static void generateIndexTable() {
String[] html = {
"<title>Java Course</title>\nIn this course we will learn ... | 1c422f1e44cc5e1435f33c0337007ec716da3a29 | [
"Java"
] | 2 | Java | NiroSugir/SearchEngine | d18c78931b72c218440ae5ad9051e41db07d767d | 7c0ae8123f4b095a88900a54f5097f646f49afa2 |
refs/heads/master | <repo_name>nacholibre/ncm2-symfony<file_sep>/README.md
# ncm2-symfony
Extended autocomplete for symfony based projects for [ncm2](https://github.com/ncm2/ncm2) for NeoVim.
Autocomplete support for:
* Route names
* Twig functions
* Twig filters
* Twig global variables
* Twig tests (for example `is defined`)
### Discla... | 95cd2d83f2bc74a1be717d991f9d8b7b48bf4eab | [
"Markdown",
"Python",
"PHP"
] | 3 | Markdown | nacholibre/ncm2-symfony | 50770cfd93c328533fe11e089235db573dae90bb | f1df9ae1f5a19f4917a578f85d9304b233ae357a |
refs/heads/master | <repo_name>ChenFangzheng/rxjs_practice<file_sep>/RXJS/src/index.ts
import Rx from 'rxjs/Rx';
import { Observable, Observer } from 'rx';
/**Creating Observables */
const observerable = Rx.Observable.create((observer: any) => {
const id = setInterval(() => {
observer.next('hi');
}, 1000);
return func... | 4b863f244d27a1a7b1724988346a20c54c19aa87 | [
"TypeScript"
] | 13 | TypeScript | ChenFangzheng/rxjs_practice | 06390ed0dc24c33b1136922eb0b874b16055d608 | 376f7ca93077fd8b964ba4bfcf1a0e7ff4fadd94 |
refs/heads/master | <repo_name>dtingg/linked-list-exercises<file_sep>/exercise5.rb
require_relative "list_node"
# Returns the list reversed
# def reverse(head)
# current = head
# new_head = ListNode.new(current.data)
# while !current.next_node.nil?
# new_head = ListNode.new(current.next_node.data, new_head)
# current = cur... | 2beed2d895f847c24ef9665e670ece0a3df57490 | [
"Ruby"
] | 1 | Ruby | dtingg/linked-list-exercises | bc6ffe359678aeb7a9594196474e88bc309445da | 4d1a31a9eb5521517bbefdb1f106ac7cca36e67e |
refs/heads/master | <repo_name>ff6347/AEMap-Utilities.jsx<file_sep>/AEMap-Utilities.jsx
{
/*
* AEMap Utilities.jsx
* These are some usefull functions. not only for Maps
* Version 0.2 UI Skeleton
* An After Effetcs CS5 Dockable Scripts Panel for Mercator Map Creation
* Copyright (c) 2012 Fabian "fabiantheblind" <NAME>
* Permission is her... | 21f8fd1d0417291cb3af88521925279b6725d66f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ff6347/AEMap-Utilities.jsx | 91c7120e3bb9719d62f275c1b4754934d1146f82 | 1da1a93645e6b5c50aeb194feba033e8328d5fed |
refs/heads/master | <file_sep>import React from 'react'
class Tv_Box extends React.Component{
render(){
return <table key={this.props.show.id}>
<tbody>
<tr>
<td>
<img alt="poster" width="245" height="290"src={this.props.show.poster_src}/>
</td>
<td>
... | e02054e77fd78dba4ca44841526cf894fbf66c47 | [
"JavaScript"
] | 6 | JavaScript | mehtabbal/React_Movies_App | 4e35f0c62d26d5fe3c914e6b730640bf3a249ac8 | e805f67918212aa907e4930873286d73d871c7e4 |
refs/heads/master | <repo_name>kolialike/deco<file_sep>/src/js/main.js
jQuery(function($){
// select
$('select').selectric();
var servicePrItem = $(".services-price-item-ins")
servicePrItem.on('click', function(event) {
$(this).toggleClass('active');
});
// select
// menu
var body = $("body");
var menuBurger = $(".menu-bu... | 5cebcf297fc80e6952fd826f986ff2ed4dcc5209 | [
"JavaScript",
"HTML"
] | 2 | JavaScript | kolialike/deco | 2577ac4f57e0a9643c902a9f64dccc33b4ae2281 | 4be96e2b5fc91a7363422343347ad8c15ddeae72 |
refs/heads/master | <file_sep>//
// ViewController.swift
// Calculator
//
// Created by <NAME> on 5/29/19.
// Copyright © 2019 Lambda School. All rights reserved.
//
import UIKit
class calculatorBrain {
var operand1String = ""
var operand2String = ""
var operatorType: String?
init() {
self.operatorTyp... | 8886970474df3f885ae6c263f349cd079bf2dd82 | [
"Swift"
] | 2 | Swift | oezguenY/ios-sprint-challenge-calculator | 967d29a4a7fd1e9e1540a57d26960028d09f240c | 9c51fb6626639494ed24c636fe38ee2b053489af |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Classifier;
import java.util.Enumeration;
import java.util.TreeMap;
import weka.classifiers.AbstractClass... | c9067c90b1273b1c1f26c92e6a4e82a1d5e97195 | [
"Java"
] | 3 | Java | FairuzAP/WekAI | 4bd9e9bed44021e7894e1c888fb7d672a3fa89ce | cd20f3a44b08b0ca48aef1649cfee54fbbd562a2 |
refs/heads/master | <repo_name>sheshang/Feedback-Vertex-Set<file_sep>/run.sh
#!/bin/bash
base=$(cd $(dirname $0); pwd)
#for single testcase
#java -Xss256M -XX:+UseSerialGC -cp "$base/bin" Main "$@"
#for unit of testcases
TESTCASESdir="testcases/"
if [ "$(ls -A $TESTCASESdir)" ]; then
TESTCASESdir="$TESTCASESdir*"
for f in $T... | 036adfd6dea61ac8643c0b53de19fc407bc83d37 | [
"Text",
"Shell"
] | 3 | Shell | sheshang/Feedback-Vertex-Set | f81f0c6cb1fedced21c920a8914fb67a564f3ab3 | 8b2d58ecde883c1b64d24d9cf36636493ecdac25 |
refs/heads/main | <repo_name>OscarRuina/TP-pruebas-de-software-2020<file_sep>/Ruina/TestUnidadHelipuerto.java
package Ruina;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import avion.AvionSimple;
import avion.Helicoptero;
import pista.Helipuerto;
import copControl.Posicion;
public class TestUni... | fd55f345257b91e76dbe051d8126e2bb065c361c | [
"Markdown",
"Java"
] | 4 | Java | OscarRuina/TP-pruebas-de-software-2020 | fe5368b963337d6ec5f1596990a5d20286fbf109 | 9634bcfb690f10ea666b4580fb6b3caf128075d7 |
refs/heads/master | <file_sep>def pesquisa_binaria(lista, item):
# baixo e alto acompanham a parte da lista que você está procurando.
baixo = 0
alto = len(lista) -1
# enquanto ainda não conseguiu chegar a um único elemento...
while baixo <= alto:
#... verifica o elemento central.
meio = (baixo + alto)//2
chute = lista[meio]
... | e76d07019a201a764230c44b4fa56b37ce91be73 | [
"Python"
] | 2 | Python | DavisonFNX/Python | 908bd088f0c10885466153be8d474ce998940b21 | a42815417a301ffa97fe77c8a61cf68763ccde1e |
refs/heads/master | <repo_name>realconnexions/demo<file_sep>/README.md
# demo
ar-vr medical pletform to connect medical experts to African healthcare providers
<file_sep>/Assets/Hand.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Controller))]
public class Hand : MonoBehaviour
... | 874bafb6ba1b1e0971dcc70ac5ab995dbf97053a | [
"Markdown",
"C#"
] | 3 | Markdown | realconnexions/demo | 357d0d99d6c3d678284bc233c5213cd3fa143e96 | 8b429ce0b2de0eb23de084d096919d48caff1370 |
refs/heads/master | <file_sep>#!/bin/bash
rsync -avr ~/bin/ ~/backups
<file_sep>#!/bin/bash
cat <<EOF
Hello World!
EOF
<file_sep>#!/bin/bash
wget -qO - icanhazip.com
<file_sep># scripting
Scripting files for school.
<file_sep>#!/bin/bash
. ~/bin/helloworld.sh
<file_sep>#!/bin/bash
echo "SetUID files"
echo "------------"
find /usr -type f ... | 7213e2e5dfe86e3445fbc7b254b14a3fa3d3b87e | [
"Markdown",
"Shell"
] | 6 | Shell | lukesheardown/school | 4423465797368f0ea28ef66055a0f0f693e2c608 | 66681f19049a1e2b41ff6fbfaab2d1e0281903bf |
refs/heads/master | <file_sep>import { Component, Output, EventEmitter } from '@angular/core';
import { Note } from '../note';
import { NoteService } from '../note.service';
@Component({
selector: 'app-note-new',
templateUrl: './note-new.component.html',
styleUrls: ['./note-new.component.css']
})
export class NoteNewComponent {
n... | aa8d5ad7646c940fbca90a8c5883b8bf9b731aa8 | [
"JavaScript",
"TypeScript"
] | 5 | TypeScript | pazzaInter/testing_deploy | 260c8d1326d9eac86c34a3d1bf3cdec8e317d7a5 | 2b8e468a53393bd660812e3ce8f2804fe5ac24c5 |
refs/heads/master | <file_sep># imdb_multi_trainer
## prepare data
```shell
wget https://fleet.bj.bcebos.com/text_classification_data.tar.gz
tar -zxvf text_classification_data.tar.gz
```
## build
```shell
mkdir build
cd build
rm -rf *
PADDLE_LIB=path/to/your/fluid_inference_install_dir/
cmake .. -DPADDLE_LIB=$PADDLE_LIB -DWITH_MKLDNN... | 8fb3adeb8e8dcf69c289590ed827313368255920 | [
"Markdown",
"Shell"
] | 2 | Markdown | qjing666/imdb_multi_trainer | c7ac12829d00338df4424a95b7e2208166e0f3f6 | 99ed65564076c4eeede13fe4668f4a0a2bbb8599 |
refs/heads/i-can | <repo_name>Lanseria/iep-ui<file_sep>/src/api/fams/group_reward.js
import request from '@/router/axios'
const prefixUrl = '/fams/total/group_reward'
// @/api/fams/group_reward
//组织
export function getGroupRewardPage (query) {
return request({
url: `${prefixUrl}/page`,
method: 'get',
params: query,
})
}... | 038e1d14d34fe77e49771816173f3e1c1bbcc8ba | [
"JavaScript",
"Markdown",
"Shell"
] | 337 | JavaScript | Lanseria/iep-ui | 6a569e49d1f3c9cd027b314d3f0c3ba6e5f0fc71 | 7cd33dcd653dd1fb097796fbd1f4403645405c7e |
refs/heads/00_simple | <repo_name>MIPSfpga/schoolMIPS<file_sep>/scripts/init_linux.sh
#!/bin/bash
SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )
TOP_BOARD=$SCRIPTPATH/../board
TOP_PROGRAM=$SCRIPTPATH/../program
for board in $TOP_BOARD/*
do
if [ -d $board ] && [ "$TOP_BOARD/program" != "$board" ]; then
rm -f $board/*.bat
cp $SCRIPTPATH/boa... | 6f517dd0c3652a26a646a47dcb3e94a17ae42ff7 | [
"Markdown",
"Shell"
] | 13 | Shell | MIPSfpga/schoolMIPS | 4d0432678cc80d952801fb184c99121355a2f379 | ecc0045624411684d145c987677091e9519c7e75 |
refs/heads/master | <repo_name>GUZHIYAO1234/Tjombol<file_sep>/app/src/main/java/com/example/tjombol/SignupStep1Fragment.java
package com.example.tjombol;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.text.Html;
import android.view.... | c5a23b9cd961a1aac95ce349ee5e4b95e7c1173e | [
"Java"
] | 3 | Java | GUZHIYAO1234/Tjombol | 8e99e0c2f1e949a59b30f70c01858892d09a2c69 | e55c2f53589da8cf9baebea0d54e84ac4d643128 |
refs/heads/master | <repo_name>DavidRandell/BerlinClock-js<file_sep>/src/BerlinClock.js
var BerlinClock = {
tick: function(){
var time = new Date(),
second = time.getSeconds();
BerlinClock.updateSeconds(second);
},
updateSeconds: function(second){
var secondsDiv = document.getElementById("seconds").children[0];
secondsDiv.c... | 0341a7374611d31da59ed96326d2779f16a0a1bb | [
"JavaScript"
] | 1 | JavaScript | DavidRandell/BerlinClock-js | 04b8ea3ae5cfd38efc90b4f91b6aca02e3d51cb6 | 4f89f0e1f12b7042c0a2d05f3ff6dac2f0803394 |
refs/heads/master | <file_sep>package io.github.hashim.workoutTrainer.Activities;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.I... | 0fd33648f764006e34f428bdc5ea96bc8d0af19b | [
"Java"
] | 6 | Java | hashimmirza/8-minutes | a908c52db8da12af877ec93dbe7bcec50e21a24e | 230e942bf3886bc1241ccce0ce039ebd458fbfad |
refs/heads/master | <file_sep>package com.company.shit;
public class PrintMatrix {
public static void main(String[] args) {
int[][] m = {{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}};
for (int i = 0; i < m.length; i++) {
for (int j = 0; j < m[i].length; j++) {
System.out.print(m[i][j] + " ");
... | b601ca9bf2fe5e82a045c3fb0eb3b8118fe1050c | [
"Java"
] | 1 | Java | riwz/tasks | eace158d000d7432486a399ac85325b9a994ccc1 | b20b05e8c15f0cdcb5b5ec7d443b323c7367da37 |
refs/heads/master | <repo_name>aaronarduino/templatestest<file_sep>/main.go
package main
import (
"bytes"
"fmt"
"html/template"
"io/ioutil"
"log"
)
type MainTemplate struct {
b bytes.Buffer
}
func (m *MainTemplate) exec(baseFile string, data PageData) {
t := template.New(baseFile)
t, err := t.ParseFiles("templates/" + baseFile... | 1fba3d668a46dd941ef444ea9c40a0e5a93129d1 | [
"Go"
] | 1 | Go | aaronarduino/templatestest | 3f78c0c7914d8499661d5a01fef6339dee0d7c9f | d9c6655418f43623be9f9bec72668ccdb9d77892 |
refs/heads/master | <file_sep># Deployment of Machine learning models
## Introduction
This **Udemy** course is about how to migrate the models of Machine Learning models from the research stage to production so that they can be applied on live data to make predictions. This is called **Model Deployment**
## Motivation
At the level of ... | 1fa1bcc1bf42f9c6d5addcd2ccc69018d148af72 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 21 | Markdown | lohiermichael/deployment-of-machine-learning-models | 153c0ae7bc6172d615e05e3fbcd41271126af44c | a473ec97c1ef523ab5d6dfacbf4469d394314146 |
refs/heads/master | <file_sep>public class Task {
private String name;
private double frequency;
private String comments;
private boolean done;
public Task(String title, boolean completed, double freq) throws InterruptedException {
this.name=title;
this.done=completed;
this.frequency=freq;
this.comments="";
Ti... | 437ba36166e6b1d6992f3dc75f99060955bb5c55 | [
"Java"
] | 3 | Java | FuseHackathon2014/Nana-s-Helper | 28ca22843f2e3cfdd3809064b7c924a1e333b58c | f724f751868684f216494c7a95e5e835f22eb6d7 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package world;
import action.Action;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
import sta... | 570a547cbd887002c8565a29adbb841bec4e1525 | [
"Java"
] | 4 | Java | jonaths/learning | c94df3ad0c64397f9aa1100c3c3d4aecd85a8bf7 | 607c6b75c544bd19fb13f7d713bdbe5bfa0231fd |
refs/heads/master | <repo_name>geuryroustand/Build-Week-LinkedIn-Clone<file_sep>/src/components/assets/fetch.js
const TOKEN =
"<KEY>"
const MY_ID = "60c70adc291930001560ab93"
// Profiles functions
export const getProfiles = async callback => {
try {
const response = await fetch(`${process.env.REACT_APP_BE_URL}/profile/`,
{
... | b9d1bd1dcf253ac9fde3028f60b5db46859e7e5a | [
"JavaScript"
] | 1 | JavaScript | geuryroustand/Build-Week-LinkedIn-Clone | 41dcac6b853ac5bb442442c5d29f65b85ddcb2ef | a3f0eb5572026459fe95c0a415f76bee23b9ee77 |
refs/heads/master | <repo_name>iAJTin/iSMBIOS<file_sep>/src/lib/net/iTin.Hardware/iTin.Hardware.Specification.Dmi/DMI/Structures/DmiType006 [Memory Module Information (Type 6, Obsolete)].cs
using iTin.Hardware.Specification.Dmi.Property;
using iTin.Hardware.Specification.Smbios;
using iTin.Hardware.Specification.Smbios.Property;
names... | 0eb1aa72f702e0bac0e7ed66959f8af91e918c1d | [
"Markdown",
"C#",
"Text"
] | 446 | C# | iAJTin/iSMBIOS | 4f3803604401b351d137396ccf044edeb1e67b65 | bbdb60ad11f8a4d7b80c8334006c32beec6ce26c |
refs/heads/master | <repo_name>dpy1123/spring-cloud-basic<file_sep>/yet-another-app/src/main/resources/application.properties
spring.application.name=yet-another-app
server.port=8080<file_sep>/zuul/src/main/java/top/devgo/zuul/EnhanceHttpServletRequest.java
package top.devgo.zuul;
import lombok.Getter;
import lombok.Setter;
import java... | eec301a1fb441e02c77fa52b0a9337d74baac068 | [
"Markdown",
"Java",
"Shell",
"INI"
] | 6 | INI | dpy1123/spring-cloud-basic | 84c62bb989bc3bb520c3351a8d6a3caac64bf0ec | ef515cde325f95293e0cc853207ca6cecb1c4645 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Backend_Productos.models.request
{
public class Busquedas
{
public string NombreProductoLargo { get; set; }
}
}
<file_sep>using System;
using System.Collections.Generic;
#nullable... | 63eb3b051dd6606453cd3dc1e8759d27233ce7fc | [
"Markdown",
"C#",
"SQL"
] | 11 | C# | wineloy/PruebaTecnica | 1bb3a1d41d9182a0a7bdefaf8baada31830be41e | d1d3e318446310e8a8ee730c43d2fc3c9f647a00 |
refs/heads/master | <repo_name>Cornellio/prototypes<file_sep>/algorithms/quicksort_trial4.py
#!/usr/bin/env python
# time: 3:30
def quicksort(values):
if len(values) < 2:
return values
else:
pivot = values[0]
lower = [i for i in values[1:] if i < pivot]
upper = [i for i in values[1:] if i > pivo... | f21e93208e268c831b44645561e5525236bb2399 | [
"Markdown",
"Python"
] | 32 | Python | Cornellio/prototypes | 07f2c0b154b086386e54194123fbbd96b998eadd | 5f893e33a62489eb0fb3bc555609645a68113991 |
refs/heads/master | <repo_name>EpicCrisis/GPS1-534<file_sep>/README.md
# GPS1-534
//Cool sample text
<file_sep>/Assets/Scripts/Spaceship.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spaceship : MonoBehaviour {
public GameObject bullet; //reference to bullet prefab
public Vector3 velo... | e09693bfcad393584260de5452fa3d6ae43ee112 | [
"Markdown",
"C#"
] | 2 | Markdown | EpicCrisis/GPS1-534 | cca11bdac413d73730b99eb42d5e91f983eda65c | dd55989346c4ec5de8c3153f77403b39c9b9a37e |
refs/heads/master | <file_sep>import React, {useEffect, useState} from "react";
import Card from "@material-ui/core/Card/Card";
import CardContent from "@material-ui/core/CardContent/CardContent";
import Typography from "@material-ui/core/Typography/Typography";
import CardActions from "@material-ui/core/CardActions/CardActions";
import B... | f5c1cda0226359ebfb5751af3dba433b4f1a0ce3 | [
"JavaScript",
"Java"
] | 23 | JavaScript | KristijanPostolov/Courses | 5198bf14ec74e35dda58dd4edeb7f73027fe15bd | 4a3fe6b46905d983f8599bab19c8e1d5497c73f3 |
refs/heads/master | <file_sep>---
title: "Basics of R"
author: "<NAME>"
date: "May 20, 2020"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE, error=TRUE)
```
# Chapter 1: Basics of R
## 1.1 Orientation
There are three things we need to be able to use in R:
* Stuff
* Organized stuff
* Ways of do... | c14321f8c6bc0f2b3bdac09eee1c23085569899c | [
"R",
"RMarkdown"
] | 5 | RMarkdown | lnodar/RforLing | 6a65b976dc47ac6589bd515fcb712c9549c90e18 | d46866fe490341c1010babe6000a90820ec758fd |
refs/heads/master | <repo_name>mohitjayant/Custom_Ruler<file_sep>/RulerPrint/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using ... | f58d084f6336b63110fade3467dc6c596af431de | [
"Markdown",
"C#"
] | 2 | C# | mohitjayant/Custom_Ruler | 6541179f8edb289d10f0bd776d4eb16d4cdedde4 | 47d423eba52ba904fd2b8d54590c1f2b8d39eff1 |
refs/heads/master | <repo_name>kojea0919/kojea0919<file_sep>/2013603037_Kojeahuck.sh
#!/bin/bash
##Project
PrintTree()
{
if [ $1 ]
then
cd $1
fi
count=`ls -l | wc -l`
if [ `expr $count - 1` = "0" ]
then
return 0
fi
local dirname=(`find * -prune -type d | sort -d`)
local filename=(`find * -prune -type f | sort -d`)
local specname=(`fin... | ae3b9f25544e91bc4ddf3592449134f3826afce4 | [
"Shell"
] | 1 | Shell | kojea0919/kojea0919 | 41b82f44c373e3787992a0e9ea34a3db3753129e | 69ed1ef815bacb7d64dbef4f1e628b8a24883bbc |
refs/heads/master | <file_sep>import defaultImg from '../assets/default.png'
import defaultGood from '../assets/good/default.png'
import defaultShop from '../assets/shop/default.png'
export const getImageUrl = url => url || defaultImg
export const getGoodImageUrl = url => url || defaultGood
export const getShopImageUrl = url => url || de... | c27371dc5dffa87193fad258426107efcaf2c549 | [
"JavaScript"
] | 23 | JavaScript | Mrsosann/taro-shopping | 8bae1cb8d2b8200f147a4e9c46f8bf689cc699c5 | 9485b34fcfba158d1d1830ad11a42ca54286b271 |
refs/heads/master | <repo_name>aliahsan/TestDev<file_sep>/extastypie/db_settings.py
import mongoengine
CONN = mongoengine.connect('tasty_database')
import os
PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
SECRET_KEY = <KEY>'
RECAPTCHA_PUBLIC_KEY = "<KEY>"
RECAPTCHA_PRIVATE_KEY = "<KEY>"
<file_sep>/extastypie/... | 0af26689b1194ff7fadb968c3ad27d891b0b2a43 | [
"Python"
] | 6 | Python | aliahsan/TestDev | 88d770f4cb3c2fcfa54e5d6e4854f5f6619225be | f6919451ac35d6ff9613be84c78f8bbe78e05392 |
refs/heads/master | <file_sep>var _key = "tag";
// returns the url with key-value pair added to the parameter string.
function insertParam(url, key, value) {
if (url.indexOf('?') != -1) {
var pairset = url.split('&');
var i = pairset.length;
var pair;
key = escape(key);
value = escape(value);... | cde6814d35e14dfb2073704937dbc0975b4c468d | [
"JavaScript"
] | 1 | JavaScript | bpkleo2002/savepiseext | 122d7b7a9b7185611b21202842cb4b9e12d43ac8 | 77d2af4523a4b8a5e7e29237f34c8091c6693528 |
refs/heads/master | <repo_name>ryo33/react-state-redux<file_sep>/src/index.js
import connect from './connect'
import reactStateReduxReducer from './reducer'
export {
connect,
reactStateReduxReducer
}
<file_sep>/test/connect.spec.js
import './browser_setup'
import { expect } from 'chai'
import React, { Component } from 'react'
impor... | 8a3836ff06c9b132413bb15202151391488ee6e1 | [
"JavaScript"
] | 6 | JavaScript | ryo33/react-state-redux | b0316b576b1fd655079855646ad352ad241ff860 | 4354bcf61e19649d21c2d26192333c0b6568bad9 |
refs/heads/master | <file_sep>package com.qihoo.ai.drivemanner;
import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity{
... | d5ebb06676024642179f5dfb337a23a2ef31a734 | [
"Java"
] | 1 | Java | PeterPan506/DriveManner | 824461abfb87bab1fd9a433e879fab2ef3c5ea8c | 9da3a1bcc836c148e705574ad4fa375a205ef4c3 |
refs/heads/master | <file_sep>using OsuUtil.Beatmap;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace osu_player.Songs
{
public struct SongInfo
{
public String FolderName;
public String Background;
public String... | 93ce28596b6d759edd159b890761528d7886ac65 | [
"Markdown",
"C#"
] | 11 | C# | storycraft/osu-player | fd0aa4cc1dbe529dfc9ff81fc30e3abffa7e8f46 | c9a7bae4febfb6046c437dea68a2c6d265eb0108 |
refs/heads/master | <file_sep>#KOB
Dependencies :
* Request
* Template<file_sep><?php
if(!isset($_POST) || !isset($_POST['action']))
{
exit();
}
define('PLAYER_FILE', '../data/players.json');
define('RESULTS_FILE', '../data/results.json');
define('KOB_FILE', '../data/kob.json');
function generateKOBFile()
{
$players = json_deco... | 12d8d432a335b449152e2672326a920fe63b3a2d | [
"Markdown",
"PHP"
] | 2 | Markdown | arno06/KOB | 0c855918f34aa39f29d10748ec2859ccde3b98fb | 5b27d7c93c55ec34ba203c1466a8f6160ae07151 |
refs/heads/master | <file_sep>const express = require ("express")
const app = express()
const hbs = require("hbs")
app.use (express.static(__dirname + "/public"));
app.set("views", __dirname +"/views");
app.set("view engine", "hbs");
app.get("/", (request, response) => {
response.render("index", {
pageTitle:"Kanye Home"
}... | f1f6f69e0c9d9b37253012993ad4cf85bb297e42 | [
"JavaScript"
] | 1 | JavaScript | lepfau/gitconflict | b6280e489732192517bdecfe4d427abbd19510ef | fb0190317d2c55d5d0e0dbdabae103edd7648b21 |
refs/heads/master | <repo_name>dotworks-pj/free_ad<file_sep>/app/controllers/mypage/user_profiles_controller.rb
# frozen_string_literal: true
module Mypage
class UserProfilesController < Mypage::BaseController
before_action :set_user_profile, only: %i[edit update]
def new
@user_profile = UserProfile.new
end
def ... | 47ac06e778162776583a6505fd484b6839dc5706 | [
"JavaScript",
"Ruby",
"Markdown"
] | 40 | Ruby | dotworks-pj/free_ad | 855743d7bc8fd1b6173043730d89750d7d3386b4 | 7a648a8d137387c8e8fb6f02d17a944921a200ef |
refs/heads/master | <repo_name>toanhtran/msc_site<file_sep>/js/main.js
function main() {
! function() {
"use strict";
$("a.page-scroll").click(function() {
if (location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname) {
var a = $(this.has... | 1ae4e70c1d6053ffad0bb28bd15a8f52fadd9043 | [
"JavaScript"
] | 1 | JavaScript | toanhtran/msc_site | 4998c9c07fb85d995206e21148b6fe60597855f7 | 9832187909333dfb0b0dcbda89ee2027fd8a7edd |
refs/heads/master | <file_sep><?php
namespace Kerbeh\OAuth2\Client\Provider;
use Kerbeh\OAuth2\Client\Provider\Exception\BrightspaceIdentityProviderException;
use League\OAuth2\Client\OptionProvider\HttpBasicAuthOptionProvider;
use League\OAuth2\Client\Provider\AbstractProvider;
use League\OAuth2\Client\Token\AccessToken;
use League\OAu... | 51d85a20f8f0a440399c55671df6a88a20d02a14 | [
"Markdown",
"PHP"
] | 3 | PHP | kerbeh/oauth2-brightspace | 3e8bef403bedc2b1c011c154c2e53aaa693e5d8a | 6bd6076ebf8028d429908ebc10b60d4c0326bc61 |
refs/heads/master | <repo_name>gegyhamdani/gammusms<file_sep>/autoreply.php
<?php
mysql_connect("localhost","root","");
mysql_select_db("gammu");
$query = "SELECT * FROM inbox WHERE Processed = 'false'";
$hasil = mysql_query($query);
while($data= mysql_fetch_array($hasil)){
$id = $data['ID'];
$noPengirim = $data['SenderNumber']... | 1398158f962d83b66d6b9ef6e95ff4cdfd6966bf | [
"PHP"
] | 1 | PHP | gegyhamdani/gammusms | a628c614bb9dd1f0cd114ec754491d0ef6d8a598 | a1c383a7d74a2d1ee983d2389273f656e8281376 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SecurityController extends Controller
{
public function index(){
return view('security.index');
}
}
<file_sep><?php
namespace App\Http\Controllers;
use App\Address;
use App\Customer;
use Illuminate\Http\Request;
use ... | 12dac9e682d9cb8feecd57b694a96419e1ee7815 | [
"PHP"
] | 16 | PHP | emirluna/transport | 4afb45bef6e8387a6345bbf0418d9faf4ac2a8e6 | 97325b6417920e7b5b327add6c95f565a4db53af |
refs/heads/master | <repo_name>munday/CC-d-Youtube<file_sep>/src/ws/munday/youtubecaptionrate/MainActivity.java
/*
* Copyright (C) 2011 <NAME>
*
* This program is free software; you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Foundation; either
* version... | 47f61c56ff7226c1bcde3cf4f8c80e41799cfe81 | [
"Java"
] | 5 | Java | munday/CC-d-Youtube | 183a6a589e0f7c9202283cb911eeef872dc18385 | 81553791addd3ace7dc694254fff841e0ca743f1 |
refs/heads/main | <repo_name>squalasteam/Kavalasan<file_sep>/JS/registration.js
var globalcount = 1067;
function login(){
var n1 =1;
globalcount += n1;
let name =document.getElementById("name").value
let age =document.getElementById("age").value
let gender =document.getElementById("gender").value
... | a3c0c02bf451bafe80b6caed1f2cc6bfc4f10c75 | [
"JavaScript"
] | 1 | JavaScript | squalasteam/Kavalasan | 82771311127bd5b1b4a9371e157bfdae4222ff48 | 5be47538200aea86c03c687ac704a012ec375bcb |
refs/heads/main | <repo_name>MehdiSaraie/CN-CA3<file_sep>/makefile
all: main.out client.out router.out
CXXFLAGS = -std=c++11
main.out: main.cpp functions.cpp functions.h
g++ $(CXXFLAGS) main.cpp functions.cpp -o main.out
client.out: client.cpp functions.cpp functions.h
g++ $(CXXFLAGS) client.cpp functions.cpp -o client.out
router.o... | 0efc41cf095904e37d19a27012123a5c69531029 | [
"Makefile",
"C++"
] | 6 | Makefile | MehdiSaraie/CN-CA3 | 2067ed5df52340edc6e823069817d230ceb23457 | 56d68b58c4fa97a11890fec53f1ba3c164d7edec |
refs/heads/master | <file_sep>import React from 'react'
import Layout from '../components/Layout/'
import Seo from '../components/seo'
import SocialLinks from '../components/SocialLinks'
import { MainContent } from '../styles/base'
const AboutPage = () => (
<Layout>
<Seo
title="Sobre mim"
description="Saiba um pouco m... | e8181890c4d1d005fcb040369c6006a1af4d6e2b | [
"JavaScript",
"Markdown",
"Shell"
] | 69 | JavaScript | thiagoalexandria/Gatsby | 985f97efd11e56dc04be52fb0217eb4b7660c701 | 3cc5563eee7e7bc9d0c4df440c2349c431e7c3ba |
refs/heads/master | <repo_name>mattbrown7112/web-server<file_sep>/server.js
var express = require('express');
var app = express();
var PORT = process.env.PORT || 3000; //heroku
// middleware can be attached to specific routes or the whole application
var middleware = require('./middleware.js');
app.use(middleware.logger);
// '/' index... | 8404d542154550d3dba44763a6d18c80030c1948 | [
"JavaScript"
] | 1 | JavaScript | mattbrown7112/web-server | 39a2f652b11a50b078ca8c59c9acfb61147dc6bc | cb30fa0173134eccd4fcf356f2d0214c1a9a4e04 |
refs/heads/master | <file_sep><style>
/* GLOBAL COLORS - THEME MODIFICATIONS - PER BROWSER MODIFICATIONS */
<?php
/* APP FONTS */
if ((theme!='terminal') || (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident') !== false)) {
?>
@font-face {
font-family: "Comfortaa";
src: url("css/Comfortaa-Regular.ttf");
font-weight: 400;
}
... | cc76bc5ad71495ef295873f5bd2bd447c359c82a | [
"JavaScript",
"PHP"
] | 4 | PHP | flysurfer28/raspberry-remote | dfb8afa775569449d85a69572073d4b89220385d | 47a610502a04eb55690a6975398deb979ccdfce9 |
refs/heads/master | <repo_name>abdulmannan17/JS-Practice<file_sep>/C3/app.js
var age = 15;
alert("I am " +age+ " years old");
var birthYear = 2004;
document.write("my birth year is " + birthYear + "<br>");
var name = prompt('Your Name');
var product = "Shirts";
var quantity = prompt('how many '+product);
document.write(name + " ordered " ... | 485c37ddbd97f38167bf6e19a51ae60945639d4c | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | abdulmannan17/JS-Practice | 02dda7eee78521160d722e218f3f36734886aa1a | ae946792ea0d1dc5e19dcf199e077313da7c51e4 |
refs/heads/master | <file_sep>import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import faker from 'faker';
import CommentDetail from './components/CommentDetail';
import ApprovalCard from './components/ApprovalCard';
const App = () => {
return (
<div>
<ApprovalCard>
<CommentDetail au... | bdbc5c72b9963e71fd1dc1a3e79a052644e14296 | [
"JavaScript"
] | 2 | JavaScript | a-tem/UD-react-course-s3-1 | c43b8900783bf626397336616ad030222922fcaf | dc722c3dcc5a07ee17cedf497e902ef2a171ae0c |
refs/heads/master | <file_sep>app.service('beerService', ['$http', function ($http){
var beerData = {
allBeers: []
};
beerData.getAll = function () {
return $http.get('/beers').success(function (data) {
// this copies the response posts from route /beers to the client side
// 'beers' under 'beerService'
angular.copy... | 340455dcf144a2965a2ef73d7e513acf503438f1 | [
"JavaScript"
] | 2 | JavaScript | erikbrodch/beerlist-mean | a506554427d833c139e1acacac9e568aafc7d413 | 0b29078bf8513b06ab7260569d8659e46b6b2fa2 |
refs/heads/master | <file_sep>export function fetchMeetupApiDataFromBackend(maxResults, sortBy) {
['Best Match', 'Most Attendees', 'Least Attendees', 'Earliest Date', 'Latest Date']
if (sortBy === "Most Attendees") {
sortBy = { method: "members", type: false }
} else if (sortBy === "Least Attendees") {
sortBy = { method: "me... | c954b98c5ce0faf9dcf8a2d08cb1565fefce84e2 | [
"JavaScript",
"SQL"
] | 9 | JavaScript | musmanrao1994/reactjs-dallas-events-app | 8ed292b40039361022e718beb89b504a68b28407 | 08783c0c5c25c56982e5d76673e67d672a503a43 |
refs/heads/master | <repo_name>davidiamyou/redux-react-beginner<file_sep>/src/actions/index.js
export const selectBook = (book) => {
// selectBook is an Action Creator, it needs to return an Action with a type and payload
return {
type: 'BOOK_SELECTED',
payload: book
}
}<file_sep>/README.md
# redux-react-beginner
Learning project ... | 95bbb5b894e97b020fe1be36a48a01b65563a266 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | davidiamyou/redux-react-beginner | e507e2228077e9719d2fe82592e958acb63d3c37 | 92fa1ef96715302ef26dacb1daf6820fe020588f |
refs/heads/master | <file_sep>function createNode(element) {
return document.createElement(element);
}
function append(parent, el) {
return parent.appendChild(el);
}
const ul = document.getElementById('people');
fetch('https://jsonplaceholder.typicode.com/users')
.then(response => response.json())
.then(data => {
... | f577362c694390a8ed405aa787dc89e3b92fe4da | [
"JavaScript"
] | 1 | JavaScript | nakulrathore97/build | 5fa25ce903aab99e6e4bd775a7203747d9200ddd | 841eaa12337af225e928ee06dec89019ea325f99 |
refs/heads/master | <repo_name>SAC-CS112-Radke-Darrin/Midterm<file_sep>/src/DiceGame.java
import javax.swing.JOptionPane;
public class DiceGame {
public static void main(String[] args) {
// TODO Auto-generated method stub
int answer = 1 + (int)(Math.random()*7);
int guess;
int count = 0;
int wins = 0;
int losses... | fc21a1434d8da54df52b9193b0d1789239fcc759 | [
"Java"
] | 1 | Java | SAC-CS112-Radke-Darrin/Midterm | 2d230bbf4ea31aceb55f1b380a1aef3c1cd85a6d | 9ebc292c79acb275428648993c42bf72fd2e052a |
refs/heads/master | <file_sep>import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
data = pd.read_csv('age.csv')
ljl = data['22']
plt.plot(ljl, '.')
plt.ylim((1,200))
plt.xlabel('X')
plt.ylabel('Y')
plt.show()
| 998579c383ccf0352106af80bf8aa523ff6bb1e7 | [
"Python"
] | 1 | Python | ljl1231/ljl1231 | 458180435b27930d21555b0d889b552775fc34b1 | 90d3ca4c3ca518318acd4dd9280c0cf6068a731f |
refs/heads/master | <file_sep># Article-Generation
Article Generation using LSTM
<file_sep>
# load the network weights
filename = "weights-improvement-13-2.1469.hdf5"
model.load_weights(filename)
model.compile(loss='categorical_crossentropy', optimizer='adam')
int_to_char = dict((i, c) for i, c in enumerate(chars))
import sys
... | 464366567fad9737d36aef74261d3c849323b89e | [
"Markdown",
"Python"
] | 2 | Markdown | Srikanth-Rubique/Article-Generation | bf3185639b0ca6942b17ad11055dfd86ec9d3cd0 | f0ef929e899c3f9236970bba53f3e1d9d7c58a4d |
refs/heads/main | <repo_name>ac1d3/stepik_selenium_module_four<file_sep>/pages/locators.py
from selenium.webdriver.common.by import By
class BasePageLocators:
LOGIN_LINK = (By.CSS_SELECTOR, "#login_link")
LOGIN_LINK_INVALID = (By.CSS_SELECTOR, "#login_link_inc")
class MainPageLocators:
LOGIN_LINK = (By.CSS_SELECTOR, "#lo... | 6c5587f2272b385191b6c9d0cfb3b9246ff92665 | [
"Python"
] | 4 | Python | ac1d3/stepik_selenium_module_four | d0ede9ab47fd0ae689761429966ab39e07a5f4a9 | 289b9757b00cfe57f498ebda02ba5cf499bb521d |
refs/heads/master | <file_sep>import java.util.*;
import java.io.*;
/*
<NAME>
N01383793
COP3530
<NAME>
Project 6
Linear and Quadratic HashTable
*/
public class n01383793
{
public static void main( String[] args ) throws FileNotFoundException
{
File file1 = new File(args[0]);
File file2 =... | 8fca79d572f8569106f69e76f1a952cc196bb9da | [
"Java"
] | 1 | Java | Gpridham/COP3530_Assign_6 | 38318f8cb72fe7a9bb97e06fc0ec3d8ee3bf79db | 01c25c7e52e515220b8f1ea418019aabbc66ab50 |
refs/heads/master | <file_sep>var articles = React.createClass({
propTypes: {
title: React.PropTypes.string,
author: React.PropTypes.string,
year: React.PropTypes.string,
coop: React.PropTypes.string,
text: React.PropTypes.string
},
render: function() {
return (
<div>
{this.props.articles.m... | 26b12708407c4018ab3c680f6c794ee7b0b4a664 | [
"JavaScript"
] | 1 | JavaScript | MsSterh/reactest | 061fda54330311e6176b0e3ecfde8e1975b605f9 | 1a2c018dbc638fd98c4be0223de23c616c0d63d2 |
refs/heads/master | <file_sep>require 'httparty'
module DarkskyWeather
module Api
class Client
include HTTParty
base_uri "https://api.darksky.net/forecast/"
def get_weather(lat:, lng:, timestamp: nil, **options)
key = DarkskyWeather::Api.configuration.api_key
request_path = "/#{key}/#{l... | d72becb2123c80e89b8490d88051f6c7666d9d65 | [
"Markdown",
"Ruby"
] | 2 | Ruby | f1nwe/DarkSky-gem | 49155145d9ddda07f3b7a15195c8e8069113e8ae | c46db0305d8ba17647c638dfe751b60687b22283 |
refs/heads/main | <file_sep>import json
import re
import sys
import bibtexparser
import argparse
from tqdm import tqdm
import os
filepath = os.path.dirname(os.path.abspath(__file__)) + '/'
def normalize_title(title_str):
title_str = re.sub(r'[^a-zA-Z]',r'', title_str)
return title_str.lower().replace(" ", "").... | d17cda95d7784b88e6372643097df6212031c2fb | [
"Python",
"Shell"
] | 4 | Python | tianyu-z/rebiber | 8db6b2cb69f638774432e47516f8723e701db099 | 76058b099b3eb9d63c35c49ee13681226db5f4a9 |
refs/heads/master | <file_sep>include ':app', ':SlidingMenu', ':actionbarsherlock'
project(':SlidingMenu').projectDir = new File('libraires/SlidingMenu')
project(':actionbarsherlock').projectDir = new File('libraires/actionbarsherlock')<file_sep>package com.example.administrator.slidingmenutest.activity;
import android.os.Bundle;
import ... | 1521fbf5b291ae837d5e92a797a2302615118ce7 | [
"Java",
"Gradle"
] | 5 | Gradle | LoveYouSoMuch-Seven/MusicApp | 46d2d41753f5154c88fe3b80783dff4e509de734 | 127bba300fb1529d3210126a4001f0880880ff8a |
refs/heads/master | <file_sep>const express = require("express");
const { defaultController } = require("../controllers/defaultController");
const {
addMovie,
updateMovie,
getMovie,
getAllMoviesInAYear,
getAllMoviesStartingWith,
getAllMoviesInRange,
deleteMovie,
} = require("../controllers/movies/movies.controller");
c... | 2ae6a2ddea8e3dcaa66e8ad385b6286b1f15adee | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | NisargChokshi45/Task4NodeDynamoDB | d53caeb45f2a902638e1d3f5d480273f6ac97a89 | 02d22b95acaf21bc3e24b3aca3fda1fd437f17ed |
refs/heads/master | <file_sep>package hh.reporting;
import com.codeborne.selenide.Screenshots;
import com.google.common.io.Files;
import ru.yandex.qatools.allure.annotations.Attachment;
import org.testng.*;
import java.io.File;
public class TestRunListenerTestNG implements ITestListener, ISuiteListener, IInvokedMethodListener {
/... | d7a1fbded7b7c4270e7df2c1f03a18dc1f96b3cb | [
"Markdown",
"Java",
"Maven POM"
] | 6 | Java | kornilovk/HH | aa92dfed63a68e97192dc656deb945b2927d3480 | 0389b07e01370c434b2b0dff38959b4e93d70bce |
refs/heads/master | <repo_name>mgwithey/githublab<file_sep>/sumsubset.c
//Recitaiton quiz 2
//<NAME>
//some of the code is from slides
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
int combinations(int n,int k) {
int long factN = 1;
int long factK = 1;
int long factNK = 1;
int long total = 0;
for (int i ... | fc97d42aea7ff9f25587cd234a693c9a53a62c91 | [
"C"
] | 1 | C | mgwithey/githublab | e3741484a763b82027799e01e23dde78dc02dbfb | a5916937dfe7583a47f34f3281702097e2a70f9a |
refs/heads/master | <file_sep>#Thu Jul 08 18:05:48 KST 2021
org.eclipse.core.runtime=2
org.eclipse.platform=4.16.0.v20200604-0540
<file_sep>package com.kh.product.service;
import static com.kh.common.JDBCTemplate.*;
import java.sql.Connection;
import java.util.ArrayList;
import com.kh.product.model.dao.ProductDAO;
import com.kh.product... | 7f2e4720d0c0df21c2e14422a4662be9e04800fc | [
"Java",
"INI"
] | 2 | INI | kmk9259/KH_Study_JDBC | e0d8b29f10feed67834e5dd1bf063cfe2537dc75 | fcfa383b17650350d68d48f221c6e69121f8d831 |
refs/heads/master | <repo_name>michelvermeulen/covid-attestation-generateur<file_sep>/routes/index.js
var express = require("express");
var router = express.Router();
const bodyParser = require("body-parser");
const fs = require("fs");
const path = require("path");
const pdflib = require("pdf-lib");
const { drawLinesOfText, drawSvgPath } ... | 395beba94df4c45c7a785545436b63c06214e808 | [
"JavaScript"
] | 1 | JavaScript | michelvermeulen/covid-attestation-generateur | 5e971d3bfd35d3c40d4ff1e464b7f60c067a4223 | 12c8d5749188f2b9174184b05a31941742be83a7 |
refs/heads/master | <repo_name>flipse/XoopsCore<file_sep>/htdocs/modules/logger/language/english/modinfo.php
<?php
/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or cre... | f4fa976c6a4bb24fba9e1de8ec7770b774edd3db | [
"PHP"
] | 1 | PHP | flipse/XoopsCore | b7625e2f549a9e3c58229a3024d289abc6bf9bd8 | 0df3d31e47dbbf17823fb0ed8906f03cbfaeebfc |
refs/heads/master | <repo_name>songecko/lan-friends-day<file_sep>/src/Odiseo/LanBundle/Entity/User.php
<?php
namespace Odiseo\LanBundle\Entity;
use DateTime;
use FOS\UserBundle\Entity\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
/**
* User
*/
class User extends BaseUser
{
protected $id;
protected $twitter_id;
protec... | 2da0c8b77181dedea4fa61a99ac3c153c31e8236 | [
"JavaScript",
"Markdown",
"PHP"
] | 22 | PHP | songecko/lan-friends-day | 0d3900123b36fd4d05cdf7623d1e9174d5e753f4 | 5a24af750709907aef922aaf26741876672c5abe |
refs/heads/master | <repo_name>Den4i/CryptoExchanger<file_sep>/src/components/Partners/Partners.js
import React from 'react';
import {Link} from 'react-router-dom';
const Partners = () => {
return (
<div><h3>Партнерам</h3>
<p>Системы сотрудничества прозрачны и понятны. Если возникнут какие-то вопросы, то напишите нам... | bbf2ebaee56172187e69108f59243d304453fb8b | [
"JavaScript",
"JSON",
"Python"
] | 21 | JavaScript | Den4i/CryptoExchanger | db8df225c74f1ded0daa378ff91502b182d5cd6b | 5ad2528728a68ef2eb6117c4b88d9abddaac0492 |
refs/heads/master | <repo_name>EsbaideHdez/UNEDL2019B<file_sep>/Console/PV2doParcial/PV2doParcial/Program.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PV2doParcial
{
class Program
{
static void Main(string[] args... | 58ad396f1d39330fcf4d218ba5b690634cde2239 | [
"Java",
"C#",
"INI"
] | 18 | C# | EsbaideHdez/UNEDL2019B | 46c3c2cd1249c50b3b581deef6bbcf1c8e2d071d | a0e2ff145a528028942c445725a8788a9e8b6710 |
refs/heads/master | <repo_name>SinaiNIN/SpringDemo<file_sep>/src/main/java/com/neusoft/controller/RestfulDemoController.java
package com.neusoft.controller;
import org.springframework.web.bind.annotation.RestController;
/**
* Created by 姜涛 on 2016/11/1.
*/
@RestController(value = "/restfulDemo")
public class RestfulDemoController {
... | 38dbbdc7b6a843e2bb08bf475c3a312bce9b8e5b | [
"Java"
] | 1 | Java | SinaiNIN/SpringDemo | 9031ad5d4d66a97f9c2103ac7e05397d612de560 | bbda24ad98bbffe862fb622b82ac3b70713a2c99 |
refs/heads/master | <repo_name>vishnutejar/pronobrokerhood<file_sep>/ProNobrokerHood/ProNobrokerHood/views/LoginPage.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ProNobrokerHood.views
{
[XamlCompil... | 9926cda88de550394cd717e337a1d8d3032a28e5 | [
"C#"
] | 1 | C# | vishnutejar/pronobrokerhood | d6e618bec4476530bd80bf9fd2fb2801fe7e29da | 383bd9111b71679f252e1b6216b543a559abad45 |
refs/heads/master | <repo_name>ewanaszydlowska/school-management-web-app<file_sep>/README.md
# Warsztaty_03
This repo is my third workshop of a Java bootcamp I took part in. This is my first Java web app, that develops my previous, console app. It also let user perform all the CRUD operations, but from now on it's taking place in a brows... | 0d08f50e127800588584bae4f59d1b15831d9eae | [
"Markdown",
"Java"
] | 9 | Markdown | ewanaszydlowska/school-management-web-app | e7205914ee1720ea4d8e5014fd97a6191d660e37 | c6ad74432348fd5147e9e35d063b395bbe47764b |
refs/heads/master | <repo_name>antonmedv/prettyjson<file_sep>/index.js
'use strict'
const chalk = require('chalk')
const indent = require('indent-string')
function print(v, space = 2) {
if (typeof v === 'undefined') {
return void 0
}
if (v === null) {
return chalk.grey.bold(v)
}
if (typeof v === 'number' && Number.isF... | febe0eb7aa9d278aaf67890638ca0b5478502b0f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | antonmedv/prettyjson | 47aea4b6508ffc33bd50999a853f2922fb7babb0 | 86fe1ac2a94f3b89280da1087a8582e2667b9e0b |
refs/heads/master | <repo_name>ayser259/tasktrader<file_sep>/V.0.1/tasktrader02/tasktrader/urls.py
from django.conf.urls import url
from . import views
urlpatterns = [
# urls to access pages
url(r'^$', views.index, name='index'),
url(r'applied', views.applied, name='applied'),
url(r'create', views.create, name='create'),
... | 21df757f97a2ae789cf17434327e2dea21fe88ce | [
"JavaScript",
"Python",
"PHP"
] | 17 | Python | ayser259/tasktrader | 0292b3987474f8744fa12955542159789a34f9e7 | 627e2c06942931081e98408b66540b299eaebddb |
refs/heads/master | <file_sep># Scott Editor
Following the [Build Your Own Text Editor](https://viewsourcecode.org/snaptoken/kilo/) tutorial.
Goal is to have a vim-clone along with most of my favorite plugins and
customizations built in.
<file_sep>CXX=g++
scott: scott.cpp
$(CXX) scott.cpp -o scott -Wall -Wextra -pedantic
<file_sep>#inc... | d0ebd7bf6ed695adea16083f32746d1451305447 | [
"Markdown",
"Makefile",
"C++"
] | 3 | Markdown | swerner/scott | 292f4d49d9d558883a9458673a4ee9e2f48a9e21 | 160b7a3d2a945c7223512e6beb754c20dda7e42e |
refs/heads/master | <repo_name>fahmifan/OPTA-Backend<file_sep>/app/Http/Controllers/BusAdminController.php
<?php
namespace App\Http\Controllers;
use App\Bus;
use App\BusAdmin;
use Illuminate\Http\Request;
class BusAdminController extends Controller
{
public function register(Request $request){
$request['remember_token'] = str... | 70b3821ed516372d17300c01283d9acda01a373e | [
"PHP"
] | 8 | PHP | fahmifan/OPTA-Backend | 951d910e5535c36f2a751e1d8c9e62cc5d35eed5 | b40ee65b121f0c714db5574cb8b6e7871d61bcbe |
refs/heads/master | <repo_name>lbuchli/mcwayface<file_sep>/README.md
# Go Wayland McWayface
This is a Golang port of drewdevault's Wayland McWayface,
a rather simple wayland compositor, written step by step
to explain the process of developing a wayland compositor
with wlroots (or, in this case go-wlroots).
The original blog series sta... | de5dfb94ab074766be261cd001869b48b31dc713 | [
"Markdown",
"Go"
] | 2 | Markdown | lbuchli/mcwayface | 869844765c66afa7c47f6efc0e8e3dbb1a0f4ce4 | df402857b921b05d65cd8184d05084fb1a722256 |
refs/heads/master | <file_sep>ActiveScaffold::Bridges.bridge "RecordSelect" do
install do
require File.join(File.dirname(__FILE__), "lib/record_select_bridge.rb")
end
end
<file_sep>File.open(File.expand_path('../../../../config/initializers/active_scaffold.rb', __FILE__), 'w') do |f|
f << "#ActiveSupport.on_load(:active_scaffold... | 64c8e3bf3072670ccb21757fc4c59663d223c405 | [
"Ruby"
] | 3 | Ruby | weyus/active_scaffold | 3513a3d20099b736f669d18f00d9b4b7dbea0de5 | 2fa0588460cd9446623325042108ea8af7755e2a |
refs/heads/master | <file_sep>$(()=>{
$(".login_btn").click(function (){
var uname = $("[name=uname]").val();
var upwd = $("[name=password]").val();
var data={
uname,
upwd
}
console.log(data);
$.ajax({
url:"http://127.0.0.1:3000/user/login",
... | 8d673c4fbd7f88e721499fe7a5f3dc188e2466ff | [
"JavaScript"
] | 8 | JavaScript | Nine9Dragon/alighting | 1a9ded9522c50148aefc36756ccf48f5004f27bf | 253365a80e255c703205520c9aed31e761a88ffd |
refs/heads/main | <file_sep>import socket
import struct
import time
import threading
from scapy.arch import get_if_addr
class Server:
def __init__(self):
"""
Server initiate: define the parameters and data structure for the server.
"""
# Server Authorization Parameters
self.magic_cooki... | bf8d501c34a55ed1161c62f3521bbde97b5b1bca | [
"Markdown",
"Python"
] | 3 | Python | asafsalo/Hackathon_Network | 82c01bb3418bbd0829afec1e55505c683ced9f04 | 395bc5003f37eb21f6016d974549c620678d45a4 |
refs/heads/master | <file_sep>import React, { Component } from "react";
import Grid from './grid';
import './index.css';
export default class Game extends Component {
constructor() {
super();
}
render() {
return (
<div className="container">
<Grid></Grid>
</div>
);
}
}<file_sep># Simple React Base... | 41818b58ce46d8bf26ae65f5bbc9e765705e8905 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ruchit-parikh/simple-react-game | a2e98ebf7a86122084fc38bc7fc8a6d2eaa1db93 | a51c72766ad7cedfd56a9fa3a586eaa0576c8774 |
refs/heads/master | <file_sep>#include <string.h>
#include <mysql/mysql.h>
#include <stdio.h>
#include <stdlib.h>
#define DB_HOST "localhost"
#define DB_USER "root"
#define DB_PASS "<PASSWORD>"
#define DB_NAME "testdb"
#define STRING_SIZE 50
int main(int argc, char **argv)
{
MYSQL_STMT *stmt;
MYSQL *con = mysql_init(NULL);
MYSQL_B... | 34626b22dd48e9e31828b127c3bea3c215f135d4 | [
"Markdown",
"C",
"SQL"
] | 6 | C | Sti9mat3/projet_anuel | 1106e69f9fa3e494b5e53b46a939050e92405d14 | 3d7c058d840baedcae929da8af95c102c2b71e3a |
refs/heads/master | <file_sep>package com.liul85.learn;
import static com.liul85.learn.Piece.create;
/**
* Created by twcn on 3/2/16.
*/
public class PieceTest extends junit.framework.TestCase {
private static final String white = "white";
private Piece whitePiece;
private static final String black = "black";
private ... | c385d64b03d2a2547d9b0d964ddb95297715d4c0 | [
"Java"
] | 3 | Java | liul85/ChessVariants | db15d88775c2c54155a503700a6e5df216d0c6af | 669e2ddab5ad6397d7188a97ef7626f04f130c71 |
refs/heads/master | <file_sep>params =
{
"factories": [
{
"name": "Grain Farm",
"guid": 1010262,
"tpmin": 1,
"outputs": [
{
"Product": 1010192,
"Amount": 1,
"S... | 06c1db8f24f35d6c4be17e50c036bb00742c93f6 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | redodo/Anno1800Calculator | 71cafa2ed486568f969b7693afff5c0764cdf810 | 62cddc9da08879716bb564e0de6e9bf881ebebe6 |
refs/heads/master | <file_sep># Graficas-SR6
Correr SR6.py
python3 SR6.py [argumento]
Los posibles argumentos son:
- low: para crear una imagen con low angle shot
- mid: para crear una imagen con un mediumshot
- high: para crear una imagen con un high angle shot
- all: ... | e49075615eae2639f5f468e2f5ab9db1e8c36def | [
"Markdown",
"Python"
] | 3 | Markdown | LuisDiego19FV/Graficas-SR6 | 60d03755d8457216ba3306c3158aed4025f319df | 515280cfb732ea66ecfc46a34b4623f31161448d |
refs/heads/master | <file_sep>= Scanty, a really small blog
== Overview
This is a fork off the main Scanty branch. It is meant to be used in an internal setting, so I removed support for Disqus.
Scanty is blogging software. Software for my blog, to be exact:
http://adam.blog.heroku.com
It is not a blogging engine, but it's small and ... | dd03e3663dad498a1330edf70f441d552dcb6dd0 | [
"RDoc",
"Ruby"
] | 3 | RDoc | luis-ca/scanty | 6303dff245460b468591eaad6ba94f1db34f971c | d1307e16a8118270eadd5f742254b6978d59c97c |
refs/heads/master | <repo_name>Cvetomird91/unseen-mail-downloader<file_sep>/unseen.js
function getMessages() {
var conversations = document.querySelectorAll('[id^="zli__CLV-main__"]');
var messages = document.getElementsByClassName('Conv2MsgHeader');
if (messages.length === 0) {
//returns the messages from the first available convers... | 43e49e2d11e27a6dadfde85f58c25692c1b3a243 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Cvetomird91/unseen-mail-downloader | 3325f51c163836bb9d830f39e0828250b7f49e7e | 684ac7d60bfecca310077fa69a210bb284c8f335 |
refs/heads/master | <file_sep>#include<bits/stdc++.h>
#define lli long long int
#define llu unsigned long long int
#define ld long double
#define all(v) v.begin(),v.end()
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define si(n) scanf("%d",&n)
#define slli(n) scanf("%lld",&n);
#define ss(n) scan... | 4ecd4e57089f5494d930a3ca982b374ff1636bfa | [
"C++"
] | 21 | C++ | karanthakkar1996/Kittybag | 5d410471bfaadb2f9a9acdc581d928a33a19e2f5 | e879344d1c01cb533c3b7e9b995e6fedaa384257 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.