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>package tp.tools.algorithm;
import tp.tools.*;
import tp.tools.Form2D.Point2D;
import java.util.ArrayList;
import java.util.List;
/**
* Created by jimmy on 25/04/15.
*/
public class Graham implements Algorithm<List<Point2D>, List<Point2D>> {
@Override
public List<Point2D> run(List<Point2D> liste... | 3a314b657ae10ac8498ba4d3278db3fec2f4a66a | [
"Java"
] | 16 | Java | Falindir/Algorithme_Geometrique_Java | 4a88778ec744d0feaa8023b9511cfa4bc4c69274 | 15e7d0912262b6e55fcbe81e9dd906d00922b76a |
refs/heads/master | <repo_name>fleth/keras_sign_dqn<file_sep>/env.py
# -*- coding: utf-8 -*-
import numpy
import utils
class Env:
def __init__(self):
self.terminal = False
self.step = 0
self.state_size = 25
self.state = numpy.zeros((self.state_size, self.state_size))
self.wav = self._sign(self.... | 47519192a62145617a7d41e28248dfb1a3fa8841 | [
"Python"
] | 4 | Python | fleth/keras_sign_dqn | 15bcecc1546f65bd04119cbcb4af31723ce026d9 | 030c539c28ca13a590dcb700ad9da97eceddd064 |
refs/heads/master | <repo_name>wetsunray/class10recap<file_sep>/Lecture10Recap.py
#Midterm Statistics
#thi
"""
----------------------------------------------------------------------------------------------------------------------------------------
Problem 1:
---------------------------------------------------------------------------------... | 73758e128540ff694792cf7f55b0a6822a9197d4 | [
"Python"
] | 1 | Python | wetsunray/class10recap | c00ffd62c1f4929a4423b7755b810b1da313b38c | bd5da369c2438c40cc4d6fe0e3e9aadcb16a3ec7 |
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 com.moddb.dw_apikudo.dw_apikudo.model;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.mongodb.client... | c53b3461306c098cc94a89e85605e7b437431948 | [
"Java"
] | 2 | Java | dsanchestorrico/kudos | 7ecfc8a0a4358f2d7c9f57b57edfa148f88aaeb6 | 59eacadd6cb2b6669035a8978092e7d0545819a1 |
refs/heads/master | <repo_name>Expertweblancer/Social-network-platform<file_sep>/assets/libraries/PayPal/vendor/composer/autoload_real.php
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit524b2982dfd21579ae418e8f887804a4
{
private static $loader;
public static function loadClassLoader($class)
{
... | 0b08efe95a171c4730d8e7a757004cd0a496b027 | [
"PHP",
"INI"
] | 3 | PHP | Expertweblancer/Social-network-platform | 9650d87a7e59dd06f951a0b6957c18d297a9fada | 2912b1f8af6ae059ab7e233d01584b10214bfdd5 |
refs/heads/master | <repo_name>sukowidodo/MovieSwift<file_sep>/MovieApp/Screen/Detail.swift
//
// Detail.swift
// MovieApp
//
// Created by macbook on 7/10/20.
// Copyright © 2020 SmartCyberSolution. All rights reserved.
//
import SwiftUI
struct Detail: View {
var id : String
@ObservedObject var homeVM : HomeViewModel
... | 820fb232a2549d7c571aaa0040df123c82cbb4c3 | [
"Swift"
] | 6 | Swift | sukowidodo/MovieSwift | fdaccd5942c3ac782f507934145feaa890e0fa92 | 77f71f591f2722e65124566b319aba06a0933a03 |
refs/heads/master | <repo_name>bunthoeuniskype/site_management_reactjs<file_sep>/app/Project.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Project extends Model
{
protected $table = 'project';
/**
* The attributes that are mass assignable.
* @var array
*/
protected $fillable = [
... | 2ce827c548969337c07299e4378a41d9c3ce3912 | [
"JavaScript",
"PHP"
] | 4 | PHP | bunthoeuniskype/site_management_reactjs | 5bb5040d460240710454c51e8832dd8c2b8ad846 | 3d7c8dffa06f2d3fa3794c9fd1c86a0a604be10d |
refs/heads/master | <file_sep># Python
pip install pyqrcode
pip install pypng
This code is writen in python3
<file_sep>import pyqrcode
import tkinter as tk
from tkinter import *
from PIL import ImageTk,Image
from tkinter import messagebox
def CreateWidgets():
lable=Label(text="ENTER TEXT:",bg="darkolivegreen4")
lable... | 69a2ec971b704dcfd234f5423a7a059be0f7e909 | [
"Markdown",
"Python"
] | 2 | Markdown | komal77727/Python | 8f835499ec22e533d22dcc45668c0b4360330750 | 0694f9b4ccbffe080efd977d0de21c0820222979 |
refs/heads/main | <repo_name>Vishal-hu/Registration-and-login<file_sep>/src/db/conn.js
const mongoose = require('mongoose');
mongoose.connect("mongodb+srv://Vishal:Vishal@12345@cluster0.xmemq.mongodb.net/registration?retryWrites=true&w=majority", {
useUnifiedTopology: true,
useNewUrlParser: true,
useCreateIndex: true
}).then... | cc458021068af9fe48b671a486406f1106989e3a | [
"JavaScript"
] | 2 | JavaScript | Vishal-hu/Registration-and-login | 7d81b102ad83294d76fe92f80b86e8f53826e51e | 6588140d78047fd4a2a439c8d5aeb0ba134fb520 |
refs/heads/master | <file_sep>package main
type person struct {
name, surname string
}
func (p *person) String() string {
return p.surname + ", " + p.name
}
var people = []*person{
{"Hans", "Emil"},
{"Max", "Mustermann"},
{"Roma", "Tisch"},
}
<file_sep>package main
import (
"strings"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"... | 498025682cc1f0a37e53105e344ceaf16256b930 | [
"Markdown",
"Go Module",
"Go"
] | 6 | Go | fyne-io/7guis | d8f22531984e47f24b9e5b7696e1c060ef25014f | ceddb2d897bda6c2c3c6c5a9e6b7738d4e9bc8cb |
refs/heads/master | <repo_name>mikoto2000/OASIZ_DOMElementSorter<file_sep>/README.md
OASIZ_DOMElementSorter
======================
XML element sort tool.
Usage:
------
```sh
Useage:
Main [options] INPUT_XML
Options:
--excludeXPath XPATH : XPath for exclude values.
--useValue (-V) XPATH : XPath for sort values.
-h (--help) ... | 6ab1d03ca94fd419061f48537d86b7b05cede2e3 | [
"Markdown",
"Java",
"Gradle"
] | 4 | Markdown | mikoto2000/OASIZ_DOMElementSorter | 5fa99cec7d46eb2281a8c34a7d66b4f4eb35c4d9 | 0f9039b53f9abcb29850f8b53b8772cbe4eb4c0f |
refs/heads/master | <file_sep># require 'selenium-webdriver'
Given(/^I am on the main page$/) do
# @browser = Selenium::WebDriver.for :chrome
visit 'http://localhost:8080/CSCI310Project1/InputServlet2.jsp'
end
Then(/^I should see a text field named "topic"/) do
expect(page).to have_field("topic")
end
Then(/^I should see a tex... | b7fa38dc9be7f53a4e5677b2093249128dfe0ac4 | [
"Java",
"Ruby"
] | 7 | Ruby | johndwyer127/CSCI_310_Project2 | 8eb16db9a6b60b1b189764e435e99763ebb1af1c | 78b9137600b9a1560352033f7c0ee82b55e2ab56 |
refs/heads/master | <file_sep>var util = require('../../utilities.js')
const Discord = require('discord.js')
module.exports = {
config: {
default: true
},
events: {
async message (client, db, moduleName, message) {
if (!message.member) return
var prefix = db.prepare('SELECT value FROM config WHERE guild=? AND ty... | dbbe42be3215da85760543e4ad9fe705bbccd706 | [
"JavaScript"
] | 2 | JavaScript | jorgev259/lotus_customs | 61b9f15be98f4f4f0282c5cfc32ce623926a18f4 | 47753302125cef85214919dfdd7e016dfe15e27d |
refs/heads/master | <repo_name>guilhermeRangel/SistemaDeLeiloes<file_sep>/View/src/JanelaCadastro.java
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.s... | a3667563c2303d5543fed78175e7b6ec7b788430 | [
"Markdown",
"Java"
] | 7 | Java | guilhermeRangel/SistemaDeLeiloes | 1f4cc0473b12ebd3f962b48d430b68519ed3eaac | 270fe36839b153096e657461bd1cee1029a9f29a |
refs/heads/master | <file_sep># redMine - project management software
# Copyright (C) 2006 <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 2
# of the License, or (at your option) any later ... | 5a9469335b4d17549c1ae9801c910b4cf1501faa | [
"Ruby"
] | 3 | Ruby | mcm-xx/redmine | 079258540814b664e583eaf46c9ccd616dbda9e9 | 92ae5bbecd9eedf5639a7fe782b0d46377c92713 |
refs/heads/master | <file_sep>git-as-npm
===
A quick and dirty (for now) script that gets git to behave a little more like NPM at times when we'd like it to. `publish` is the only command that currently works. Like so:
git-as-npm publish
Why?
---
NPM is great for managing JS modules. However, private modules aren't free, and maint... | e1dbc403542dd8e73c1b2cda4bd9134be5173e80 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | alastaircoote/git-as-npm | eba3df3618392b24992a4217f08ad0e0a8c5c681 | 73b97dbb6d378d95c74b65c4773ff7f21e545f3a |
refs/heads/main | <repo_name>shebbar93/check-petrol-diesel-price<file_sep>/src/components/Map.js
import { MapContainer, TileLayer } from "react-leaflet";
import LocationMarker from './LocationMarker'
import CityInfo from '../CityInfo.json'
const Map = ({ eventData, center, zoom }) => {
const markers = eventData.map((ev, index) => ... | ee7f60920bb19140abb14704298eadab6d6e05d9 | [
"JavaScript"
] | 2 | JavaScript | shebbar93/check-petrol-diesel-price | b56608b0ed2926b1c0e3531f97d08c57427754b4 | caffb3ebb2ebb00ede258b763bf2e3cbed1e5ba9 |
refs/heads/master | <file_sep>#include <stdlib.h>
#include <stdio.h>
#include "lab2.h"
/* binary_char: test binary_char */
void evidence_binary_char()
{
printf("*** testing binary_char\n");
printf("- expecting 00010001:\n");
binary_char(17);
printf("\n");
printf("- expecting 00100111:\n");
binary_char(39);
pri... | 55e5b3074de824740105e781adc5981c4694c2a7 | [
"Markdown",
"C",
"Makefile"
] | 30 | C | Rusah1129/CMSC15200 | 24cbe42e1bde049975f6593ebf4e9071011faf6e | 65f036fff61aa8dc148ad6242ea21cda2cd282b2 |
refs/heads/master | <repo_name>sahilsk/expressApp-skeleton<file_sep>/README.md
## Skeleton for quick started with express application.
### Run application
``` js
"start": "node server.js",
"watch": "NODE_ENV=development nodemon server.js",
"w7watch": "nodemon server.js",
"testwatch": "NODE_ENV=development mocha ./test ... | 98282065f800d7834426604cf8d81f08c505774c | [
"Markdown",
"JavaScript"
] | 4 | Markdown | sahilsk/expressApp-skeleton | c89947484d35c1f432bb1bc886ab833e5f230b0d | 2ee42668910aa03533becc61cc5a12e85f7d60b6 |
refs/heads/master | <file_sep> /**
* Copyright 2012, Entwine GmbH, Switzerland
* Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0
*
* Unless r... | ac308bd7a22dbdad8512d0605673faf060058bce | [
"JavaScript"
] | 22 | JavaScript | yubin1991/annotations | d4741e0aae1ba1514e8353827f7f72cb5bbd7a91 | b460d3422904a93fdcceea2a9a040c85cf8b9901 |
refs/heads/master | <file_sep>package com.example.admin.helloworld;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
//changes
EditTex... | 116c078e069a65e64b612735959137999f8caeb1 | [
"Java"
] | 2 | Java | myers831/Day1 | da4a8c4603b5c69741ac1047448bfbda85380c4a | 8c01e85e1636805b75750f19eda7d58fcf298c2f |
refs/heads/master | <repo_name>bahcecifurkan/FaceRecognition<file_sep>/src/bitirme/test/NewClass.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bitirme.test;
import java.io.FileNotFoundExc... | 0aab685826f0fdbcfe1d247519daed9a1046f6e2 | [
"Java"
] | 6 | Java | bahcecifurkan/FaceRecognition | a05ac89cda8dd12265a50768de37b3033a5f70f2 | c3411ac641d42088de85d9a3c72fd6067f0c94b5 |
refs/heads/master | <repo_name>tautob/BattleShipsGame<file_sep>/src/main/java/BattleShipsGame.java
import java.io.ByteArrayInputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.Scanner; // you must import Scanner to use it
public class BattleShipsGame {
public static String[][] seaA... | 03610a15c67f574550913e055bb4198f562af2e0 | [
"Java"
] | 1 | Java | tautob/BattleShipsGame | 0ef2d4ed73af064dad66ae9485c65a577d93bd89 | e4a64639fe16973ef3949d5d58f2eaed7d0ae640 |
refs/heads/master | <file_sep>#ifndef EGIS0507_MISC_H
#define EGIS0507_MISC_H 1
void perror_exit(const char *);
void puts_exit(const char *);
#endif
<file_sep># egis0570
This is the project aiming to provide Linux support for Egis Technology Inc. ID 1c7a:0570 fingerprint scanner (also known as LighTuning Technology Inc.)
**It's <a hre... | 1ad6058e32ca2c4d6a92b2fcf2cc6305556aa762 | [
"Markdown",
"C"
] | 2 | C | georgedavid004/egis0570 | 58ccfefc6441618db4ad929be6145c24abb0f82b | 7c28d4f6ba40a91838d0e73aab923c42756af3f9 |
refs/heads/master | <file_sep>[](https://travis-ci.org/JovinLeong/cs207test.svg?branch=master)
[](https://codecov.io/gh/JovinLeong/cs207test)
# Hello, this is a test rep... | 5e7428f7cd13fd3f1a25b1a4c25d085c5d00ecd0 | [
"Markdown",
"Python"
] | 2 | Markdown | JovinLeong/cs207test | fc5c808740a971866664c17e3550803774ed75db | 143053097dbfa5400260ae78812212f18e0d93f5 |
refs/heads/main | <file_sep>// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 1e3c90c358c57c2a69c727ab1113ae421ed37d1b | [
"C++",
"Shell"
] | 16 | C++ | AditiThirdEye/google-cloud-cpp | 5c74d4f9388293b3b758e0d321d6267220a8107c | 14d9f62f23fa12f634469d6f27c93f380b351021 |
refs/heads/master | <file_sep>#include <iostream>
#include <string>
using namespace std;
int main(void) {
cout << "Vitejte v kalkulacce" << endl;
printf("Zadejte prvni cislo: ");
float a;
cin >> a;
printf("Zadejte druhe cislo:");
float b;
cin >> b;
printf("Zvolte si operaci:");
printf("1 - scitani ")... | 1dea77e9348e9f729219a51d8a4fcef27bf0b413 | [
"C++"
] | 1 | C++ | Javorxdd/calculator | 2f5cd20d3a0fbeadd6ab1f53f1ffa44d13424c81 | 41630ac151d07bf5d78a2bdf858b9fc4c09cb347 |
refs/heads/master | <repo_name>muchrm/golang-img-merge<file_sep>/main.go
package main
import (
"fmt"
"io"
"log"
"net/http"
"os"
"github.com/muchrm/golang-img-merge/imgmerge"
)
var (
first = []string{}
second = []string{}
)
func showIndex(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, `<!DOCTYPE html>
<html>
... | bd5e7355d76f8c9659617182612831ae4bca807a | [
"Go"
] | 1 | Go | muchrm/golang-img-merge | faf6abc0050fdcd959efc3a879dbc5b1f5bf9306 | 982d6fe145636541f21f38518427ee9c3f252b88 |
refs/heads/master | <file_sep><?php
class Database{
protected $host;
protected $database;
protected $username;
protected $password;
public function __construct($host, $database, $username, $password){
$this->host = $host;
$this->database = $database;
$this->... | d0dbba841b425aeaa1e20d5dee81308adb847ca0 | [
"SQL",
"PHP"
] | 5 | PHP | JelenaVukojevic/timesheet-api | 5513345c8433d04a80c4fe6d1ba8956c48459b0c | 60e14c2b283416ea014dd5e56888836ac5abf8f1 |
refs/heads/master | <repo_name>bluwave/SwiftSample<file_sep>/SwiftSample/viewcontrollers/MapViewController.swift
//
// MapViewController.swift
// SwiftSample
//
// Created by <NAME> on 6/2/14.
//
//
import UIKit
import MapKit
class MapViewController: UIViewController ,MKMapViewDelegate {
@IBOutlet var map: MKMapView
... | 362e1ddd3e5a32d7fa77814e2e97033fe7828db8 | [
"Swift",
"Markdown"
] | 3 | Swift | bluwave/SwiftSample | 04089a922df02e17088ba51f56623a215a89eca5 | dd39309e2c33dd9da19938e4de75d62a24be990a |
refs/heads/main | <repo_name>TamaraKalayda/game-module-1-6.1-Kalayda<file_sep>/игра.txt
field = [[" "] * 3 for i in range(3)]
def show():
print(" 0 1 2")
for i in range(3):
rows = " ".join(field[i])
print(f"{i} {rows}")
def play():
while True:
moves = input("Для Вашего хода введите две коор... | 0a5ef9ba7a5df0f42ce0c49c426e95ca2e06d96d | [
"Python"
] | 1 | Python | TamaraKalayda/game-module-1-6.1-Kalayda | e260576fb7a1f10205dec1702fa47bc3010dc4ce | d5e68e37cdc3a6827ed41eaa0ca80f6e4c081208 |
refs/heads/master | <repo_name>XuChunxiao/taro3-virtual-list<file_sep>/@types/index.d.ts
export { default as TaroVirtualList } from './irtualList'<file_sep>/CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for c... | cd04ad76602894bbc881282839a051e8c3ef7793 | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | XuChunxiao/taro3-virtual-list | 8adcc56abb301e287268d21047d9249f2a248290 | e81f8d1506ab40161827cd3df256b2ec20d834f2 |
refs/heads/master | <repo_name>brainiac/cox-status<file_sep>/cox-status.py
import argparse
import datetime
import pickle
import requests
import time
import os
import re
import json
import logging
from influxdb_client import InfluxDBClient, Point
from influxdb_client.client.write_api import SYNCHRONOUS
from requests.cookies import Request... | a428de8e6583ee2c94cf4901d392933b08a1e375 | [
"Python",
"Text",
"Dockerfile"
] | 3 | Python | brainiac/cox-status | a5a5e86902c73757ffd63847fb0ed50e3d08a4bb | b2cf12b572789314a9dda72ebd17d64308400b39 |
refs/heads/master | <repo_name>raggedByte/Labs_6-semester<file_sep>/MZKS_labs/lab3/lab3.cpp
/*
Разработать генератор случайных чисел, используя метод в соответствии с
номером варианта.Исследовать качество генератора, путем оценки распределения
генерируемых чисел.Для этого необходимо разделить весь диапазон генерируемых чисел
на 10 равны... | eec33816c6639e7ff4656c4fdf19ca3e36c44300 | [
"Markdown",
"C",
"C++"
] | 10 | C++ | raggedByte/Labs_6-semester | c44f6abda2654e70f45c03cdc585bd072162618c | 9b8cf4a1c30ced919a08db9b7470e3d726fea98b |
refs/heads/master | <file_sep><?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Server extends Model{
}
<file_sep><?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you ca... | a8aeeebee088dbe7bb7c48e35a388c412a344a29 | [
"PHP"
] | 7 | PHP | Raideer/runestatus | e0846e238889ff8bbf29bbe14f6757e12c3449bd | 8069560549ed2c0f0bf991a7a2a1f1b96da665d7 |
refs/heads/master | <file_sep>package ru.mo.lab2.method1
import ru.mo.lab2.common.Functions
import ru.mo.lab2.common.U
/**
* Created by sergey on 29.04.17.
*/
class StepPartition(var eps: Double, var a: Double, var u0: U, val functions: Functions) {
var iterations = 0
init {
if (eps <= 0)
eps = 0.1
... | 2cbc1bb0cd8095d53e6161e755f1124539dcf988 | [
"Kotlin"
] | 11 | Kotlin | Pechorka/MO | 1b28d6bbd390f2209a25c36ba1b103497a0c5948 | 78ea1b3744a6bb5753c7d734b630ca45c360fba3 |
refs/heads/master | <file_sep>#
# Exploratory Data Analysis
# Week 1 - Assignment
# User: <NAME>
#
#
# Plot 2 script
#
# Reading file
allData <- read.table("./household_power_consumption.txt",header=TRUE,stringsAsFactors=FALSE, sep = ";")
#Subset data to limit dates
selData <- subset(allData, Date == '1/2/2007' | Date == '2/2/2007')
#E... | 73f77a1ca657c6ed94c4517e41d95bbe8fcd6b51 | [
"R"
] | 4 | R | kpabhis/ExData_Plotting1 | e61f2904bb8a2ff3ac02ad8d1f94f15badde6c71 | f69e4232c465d5f27db4cb83b39c820bca1fbe67 |
refs/heads/master | <file_sep>package robert.web.controllers;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBod... | 7787195cce3f643a5e8cadfb3cf87c696668bf43 | [
"Java"
] | 4 | Java | robson021/notebook | 714614df67f468c328b57cc8429b9f1f720c3656 | 6d35f8d60f2a3bcafca389b00b9b629f6f034ad8 |
refs/heads/master | <repo_name>weiyanqin/vue-practice<file_sep>/vue2.0小白入门教程/练习/app.js
new Vue ({
el: '.app',
data: {
name: 'wanghaiming',
webSite: '<a href="www.baidu.com">百度</a>'
},
methods: {
greet(index){
return `good ${index} ` + this.name
}
}
})<file_sep>/vue2.0小白入门教程/... | eb2aa0e99689eb9057d6416865945c785fff5543 | [
"JavaScript"
] | 4 | JavaScript | weiyanqin/vue-practice | 5603f3886ea49312846bf2e8dda8a54475cb3b00 | 6826525c407ef8f293735b90dbf651bdd8e490a8 |
refs/heads/master | <file_sep>const express = require('express');
const router = express.Router();
const controller = require('../../controllers/v1/index');
const authRouter = require('./auth');
const userRouter = require('./user');
const githubRouter = require('./github');
router.use('/auth', authRouter);
router.use('/user', userRoute... | d66a6d9ea153cb3d2523675272ba11f044107d76 | [
"JavaScript"
] | 1 | JavaScript | zjilani/Backend | 896889bd07038fb52502ef5514a15b2c62478a18 | a3630bc361aa903cbe1c3878b7eb48c81f3f6b96 |
refs/heads/master | <file_sep><?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>strus.web.malic... | f10930cccaf343798cfc2b9807da33042a55f329 | [
"Java",
"Maven POM"
] | 2 | Maven POM | mrwrob/MaliciousWeb | a5349bb560a9014c589089c374c750694c0a14a2 | ed00812e7e77f7771ba93ab7d5b81e89a03d8ff9 |
refs/heads/master | <file_sep><?php
namespace App\Controller;
use App\Entity\Secretaria;
use App\Form\SecretariaType;
use Symfony\Component\HttpFoundation\Request;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Bundle\FrameworkBundle\Controller\Contr... | 3b5db12d6ef4453c52f5d417f10ec72d41ca0eb9 | [
"Markdown",
"PHP"
] | 14 | PHP | AlexVeiga77/sistema-de-controle | 540a26ea580788ec2679409c1184a12a1b605b0d | e625e3a1d5c333db264d9f208a9a0a62886a5d87 |
refs/heads/master | <file_sep>README v20150611
HTML_Tool is my implementation of a problem previously addressed by many devs. My attempt might suck a little, and that's OK.
WHAT'S NEW
Nothing, it doesn't exist yet.
WHAT'S PLANNED SOON
* Define user workflow
User runs Python script in shell.
GUI prompt for file input.
Script... | cfef3d9c4b4782d6b428bc393c37147efeeb464a | [
"Python",
"Text"
] | 2 | Text | jviso/HTML_Tool | e5dcc4b83e4d169f12b679a286e27e8096ad24c2 | a7617407e81313ce24f0323b42f809944a79f731 |
refs/heads/master | <repo_name>gzlupko/People_Analytics<file_sep>/Predicting Employee Turnover .R
<<<<<<< HEAD
=======
>>>>>>> bae979534d243ba35e9cc95a80b0c617af6628fc
#IBM Employee Attrition & Performance Data
getwd()
setwd("/Users/gianzlupko/Desktop/R/R_Notebooks/IBM_HR_Dataset")
# load packages used in this notebook
# - - - - -... | 584ad7e08effafeccde8f9b5fb03cb73e4f0f943 | [
"Markdown",
"R"
] | 2 | R | gzlupko/People_Analytics | 3ba207f91d5f879cb7e1505d3021a39c0645814b | c289cd783c74034550e25d5e68d1d0874eb0f8a7 |
refs/heads/master | <file_sep>$(function () {
"use strict";
// --- Setup ---
var DIM = 160,
BLOCKSIZE = undefined,
PLAYING = false,
GRID = [],
COLOR = '#00ff00',
TIMEOUT = 100;
for (var x=0; x<DIM; x++) {
GRID[x] = [];
for (var y=0; y<DIM; y++) {
GRID[x]... | 26f41f5393d2ae16342ffcec020691e7526c5758 | [
"JavaScript"
] | 1 | JavaScript | kdungs/GoL | a13222d68839cb192f154a255092d170184e409e | 4d383c21774e9595eaed742d9f50cd76bdeb0269 |
refs/heads/master | <repo_name>tsekhov88/HomeWork_8<file_sep>/Phone_number_2.sql
-- phpMyAdmin SQL Dump
-- version 4.6.6deb5
-- https://www.phpmyadmin.net/
--
-- Хост: localhost:3306
-- Время создания: Июл 17 2019 г., 15:32
-- Версия сервера: 5.7.26-0ubuntu0.18.04.1
-- Версия PHP: 7.2.19-0ubuntu0.18.04.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_... | 23fe3758511628c756a1e7251ee362e247753b76 | [
"SQL"
] | 1 | SQL | tsekhov88/HomeWork_8 | 9018cd8f592f27a31f9ae99f47bd90eed35b46e5 | 532048a4df3fb205abe257119b9f256572d7cc17 |
refs/heads/master | <file_sep>const upperCaseFinder = str => {
for (const char of str) {
if (char === char.toUpperCase() && char !== char.toLowerCase()) {
return char;
}
}
return null;
};
export default upperCaseFinder;
<file_sep>const DEFAULT_SUBS = [
{ name: "javascript", text: "J" },
{ name: "reactjs", text: "R... | c032e6c7b27127a70920c1239a5a0c998081544c | [
"JavaScript"
] | 5 | JavaScript | PsySolix/reddit-client | c73a1e6f1080222e41e2a70a6bf6b3c019e40b0b | 6904579981da5549ad6012a35166f559c8be19d3 |
refs/heads/master | <repo_name>Johnson19900110/phpJourney<file_sep>/routes/web.php
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes... | ff91763ee94c91875531bf9dd91c4c077123662a | [
"Markdown",
"PHP"
] | 23 | PHP | Johnson19900110/phpJourney | 4c9ef1e3a435141cd600535abd8e6b0f061e604c | 1aa83f9a9970ae4a3a646c56bd4f7a0058bd06f2 |
refs/heads/master | <repo_name>nunezj004/c4GUI<file_sep>/Player.java
package c4GUI;
public class Player {
private String playerSymbol;
public Player(){
playerSymbol = " ";
}
public Player(String symbol) {
playerSymbol = symbol;
}
public String getSymbol(){
return playerSymbol;
}
}
<file_sep>/displayPanel.... | e6f5e8d78690de2883fd166c45d4161cb77c0b3e | [
"Java"
] | 2 | Java | nunezj004/c4GUI | 35a0d9dc76e417bb8ba5a1c8dc2238cde16d879b | ead89e98cd129a28ffdd5895d4be690dd26480a8 |
refs/heads/master | <repo_name>viatropolis/v4t2<file_sep>/protected/modules/mall/assets/css/drag0n.css.php
<?php header("Content-Type: text/css");
// Yes, unique. Using PHP in this CSS to speed up changings.
// Variables.
if(isset($_GET['gstart'])) {
$gStart="#".$_GET['gstart'];
} else {
$gStart = "#008000";
}
if(isset($_GET['gen... | 8c23712a17062c49534f744c33e528bcb54038e9 | [
"JavaScript",
"SQL",
"Markdown",
"PHP"
] | 118 | PHP | viatropolis/v4t2 | 697edc192f7520a532129028658686b799bc900c | 20250ae9034468075b3e7f05f1b9b9fc76946084 |
refs/heads/master | <repo_name>OliangchenO/easytrader<file_sep>/XueQiuUtil.py
from datetime import datetime
import json
import logging
import os
import random
import easytrader
import redis
from easytrader.log import log
import easytrader.sendmail
class XueQiuUtil:
def __init__(self, debug=True):
self.redis_export_time = 86... | c477b9a38580ed3a05922fef92895b3e44957f22 | [
"Python"
] | 7 | Python | OliangchenO/easytrader | 6fcc8c6ade46699c921e0d7f9fa569b5f41ad4a7 | 8850542ea6fe736b23a6e190fba6d58cf9476db3 |
refs/heads/master | <repo_name>vincentgoay/my_saf_assessment<file_sep>/server/dbutil.js
/*
Attempting to get:
const getGames = mkQuery('select * from game', pool);
const getCommentById = mkQuery('select * from comment where gid = ?', pool);
*/
const mkQuery = function (sql, pool) {
const f = function (params) {
const p = new ... | 8ad34c437126168d043cfb74402b911ecb5cbca6 | [
"JavaScript",
"TypeScript"
] | 3 | JavaScript | vincentgoay/my_saf_assessment | 680205b83dda7548faf36a4c3ecdeb73be7e1b39 | 9ec4b4fe522c20d3fa990c83fe6412b3c3ee7677 |
refs/heads/master | <file_sep>package com.qmuiteam.qmui.widget.webview;
import android.support.annotation.Nullable;
import android.view.View;
import android.webkit.WebChromeClient;
import java.lang.ref.WeakReference;
public class QMUIWebChromeClient extends WebChromeClient {
private WeakReference<QMUIWebViewContainer> mWebViewCont... | e335a04afd80992a24e0662c8ae1a2070d934387 | [
"Java"
] | 2 | Java | erainzhong/QMUI_Android | 673d863a30363e28dedc598cbd7f847274ebd062 | 55d570a249a2f52246ce922725f38c429030ab85 |
refs/heads/master | <file_sep>class Survey::QuestionsType
@@questions_types = {:general => 1}
def self.questions_types
@@questions_types
end
def self.questions_types_title
titled = {}
Survey::QuestionsType.questions_types.each{|k, v| titled[k.to_s.titleize] = v}
titled
end
def self.questions_type_ids
... | 8d40d0fc709b3a6e045134fbe583caddbe438268 | [
"Ruby"
] | 7 | Ruby | mateo9/questionnaire | 542ff3d9c5a7afa3c0b264fce9e264f412468199 | f09858f23f61ca378b3a64e33300b86d736529c9 |
refs/heads/master | <file_sep>import React, { useState, useEffect } from 'react';
import ReactDOM from 'react-dom';
import Modal from 'react-bootstrap/Modal';
import Button from 'react-bootstrap/Button';
import Photo from './photo.jsx';
const modal = (props) => {
const [showCamera, setShow] = useState(false);
useEffect(() => {}, [sh... | d07e8cd3a9b3691eaf03e573c06a57d527c16160 | [
"JavaScript"
] | 4 | JavaScript | druplall/PotholeFinder | 3b55d84bf6d82f036b0bc95c5efd7fd71c70601f | 8f69e65e1fe8b3570ee312618b18d61b37f3e251 |
refs/heads/master | <file_sep># Uncomment this line to define a global platform for your project
# platform :ios, '6.0'
target 'WatchSugar' do
pod 'AFNetworking'
pod 'CocoaLumberjack'
pod 'UICKeyChainStore'
end
target 'WatchSugar WatchKit Extension' do
platform :watchos, '2.0'
pod 'AFNetworking'
pod 'UICKeyChain... | 0ae7f64f9cab75ef5f63af9474486d82bd94f8a9 | [
"Markdown",
"C",
"Ruby"
] | 3 | Ruby | rgitty/watchSugar | 9cd1c6b82037c788597b8cd5934302edcfecce9d | b057df0bfff543d3343e26e89a3c4176f32e28df |
refs/heads/master | <repo_name>merroth/tank-game<file_sep>/scripts/app.ts
/// <reference path="game/game.core.ts" />
module tanks {
//Interfaces
interface ITankAppOptions {
soundVolume: number,
playerOptionsIndex: number,
playerKeyBindings: {
forward: number,
backward: number,
left: number,
right: number,
shoot: n... | e8d94f5c747343f87333c2af35b64bb00ec7642f | [
"Markdown",
"TypeScript",
"JSON with Comments"
] | 11 | TypeScript | merroth/tank-game | 553d04c8bc0c134fa7e1996e9c02295a7de09cd5 | 5b2e4bc2e3ec1cc32b34a4cf5289040588f9294d |
refs/heads/main | <repo_name>B-cavazos/javascript-practice<file_sep>/day-04/js/address.js
const inputs = document.querySelectorAll('input');
console.log(inputs);
const streetNumberInput = inputs[0];
const streetNameInput = inputs[1];
const cityInput = inputs[2];
const select = document.querySelector('select');
streetNumberInput.addEve... | 9d7c01f04909d2575057b384932da513c8e95a96 | [
"JavaScript"
] | 2 | JavaScript | B-cavazos/javascript-practice | 406fecdcea133c3b940bac9886210050f3511134 | 61a19004a7170e03506a08dfd28190917865fccc |
refs/heads/master | <repo_name>DeepSouthT/arduino_lcd_touch_menu<file_sep>/src/window/navigationbar.cpp
/*******************************
* navigationbar.cpp
*
* Created: 07.06.2020 20:04:00
* Author : DeepSouthT
*
* Used:
* ToDo
*
* Description:
* Navigation bar displayed at the bottom of the display
* This includes... | 9252ecfbba6d064dc16665ad5ddda821c3771c97 | [
"Markdown",
"C",
"C++"
] | 17 | C++ | DeepSouthT/arduino_lcd_touch_menu | 1a1eecc0827dbcff208837c11e41a6342ef804e8 | f669a25c7aff0c9720e212352bbeff6daff2beb8 |
refs/heads/master | <file_sep># OpenInfSys
Homework
<file_sep>VLANS = [10, 20, 30, 1, 2, 100, 10, 30, 3, 4, 10]
VLANS = set(VLANS)
VLANS = list(VLANS)
print(VLANS)
<file_sep>CONFIG = 'switchport trunk allowed vlan 1,3,10,20,30,100'
CONFIG = CONFIG.split(' ')
VLAN = CONFIG[4].split(',')
print(VLAN)
<file_sep>NAT = "ip nat inside source l... | 4e31e43f21a78d61ecb0a55e6111137b4df58557 | [
"Markdown",
"Python"
] | 8 | Markdown | DariaMinyaylo/OpenInfSys | 6d56dd4ebb8df384b7f0b539a357f930fbc5db0c | e353b1b27ed3d37976a8d5eb924a06cb66f7dfb6 |
refs/heads/master | <repo_name>wynforth/fflogpps<file_sep>/js/shared.js
var s0 = performance.now();
const base_url = "https://www.fflogs.com:443/v1";
const percentColors = [
{ pct: 0.0, color: { r: 0x00, g: 0xCC, b: 0x11 } },
{ pct: 0.5, color: { r: 0xCC, g: 0xCC, b: 0x11 } },
{ pct: 0.99, color: { r: 0xCC, g: 0x00, b: 0x11 }... | e636557bfb11ea715bf46c614ea0eae8abe5aa02 | [
"JavaScript",
"Python",
"Markdown"
] | 7 | JavaScript | wynforth/fflogpps | 56ca9cbf7d743fb2b655d396753447a045e53676 | b7ac46befd0d97f2b44237cde8a02bfe1db719fd |
refs/heads/master | <repo_name>frankzheng43/rumor<file_sep>/length.py
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import jieba
rumor_file = r"F:\rumor\collect\20181121rumor_check.xlsx"
xls_reader = pd.ExcelFile(rumor_file)
df_rumor = pd.read_excel(xls_reader, converters={'stkcd':str}).fillna(value={"article... | 7a6ff2ed444c2177b057ad499314a38165944054 | [
"Markdown",
"Python",
"R"
] | 3 | Python | frankzheng43/rumor | 88d3ca1bd030f45f61f4c1cb351ba19bd2b787cb | fe3a2b50d69bae73700b287b4ea95c52997ec962 |
refs/heads/master | <file_sep>"""
CP1404/CP5632 Practical
Data file -> lists program
"""
FILENAME = "subject_data.txt"
def main():
class_lists = get_data()
display_subject_details(class_lists)
def display_subject_details(class_lists):
"""Format and display the subject details."""
for i in range(0, len(class_lists)):
... | d2be05add43c3b7593df6c92730244c7bb99cc75 | [
"Python"
] | 12 | Python | bradanderson1404/practicals | 703e9ff5b560611c6c94ad54bb740869b61055e1 | 0ee44356daad6f60705146b91d18cb6f90ef89e1 |
refs/heads/master | <repo_name>svlugovoy/hw07<file_sep>/src/app/components/home/home.component.ts
import {Component, OnInit} from '@angular/core';
import {User} from '../models/user';
import {Timestamp} from 'rxjs/operators/timestamp';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.comp... | b7ec9786fb1c9609337253a113a0e30b366f84ae | [
"TypeScript"
] | 8 | TypeScript | svlugovoy/hw07 | 54baedb19bf088b290c628c29704f70768aa4c64 | 33b38387eac7ae1c47ef884481ad5940268afd55 |
refs/heads/master | <repo_name>bachbouch/ml.js<file_sep>/README.md
# ml.js
Machine Learning in Javascript ES6
<file_sep>/src/LinearRegression.js
const LinearRegression = function() {
//Theta*X + B = Y,
let LEARNING_RATE;
const MAX_ITERATIONS = 10000000;
const computeError = (thetas, x, y) => {
let totalError = 0;... | 6045629c64d35e6ae7ab0de22c4ea0a0f4655a7b | [
"Markdown",
"Python",
"JavaScript"
] | 7 | Markdown | bachbouch/ml.js | 5455ca83f4896d115ed280659a15fbb2b9e6647c | 45684b95b66dd8607cacd7b34ea6021c406667f5 |
refs/heads/master | <repo_name>Harikrishnan-github/blockchain-hackernoon<file_sep>/hash-example.py
from hashlib import sha256
import argparse
import time
# Lets decide that the hash of some integer x multiplied by another y must end in 0.
# So hash(x * y) = ac23dc...0.
# setup the arguments for the command line
parser = argparse.Argumen... | 44620815bd1548c78c49e0b0b065262f4b195176 | [
"Markdown",
"Python",
"Text"
] | 3 | Python | Harikrishnan-github/blockchain-hackernoon | 31b390505361a6cca9308a52801dddddfb48bcb5 | 630d41ad7c7f5de9993e30387716575a40be8869 |
refs/heads/master | <file_sep>import sortRoutes from '../src/sort-routes'
test('simple', () => {
const result = sortRoutes([
{
path: '/',
},
{
path: '/:user'
},
{
path: '/post/bar'
},
{
path: '/post/:id'
},
{
path: '/post/foo'
}
])
expect(result).toMatchSnapshot... | cb43d878e30fbd481a9ea22a85f3611834d844d8 | [
"TypeScript"
] | 4 | TypeScript | ansidev/routes-generator | 3847e4e61149172a1cde83ff63afb8475e22ebc6 | af328b3d10a5f4ff381316261bfbcbe2b2674a35 |
refs/heads/master | <repo_name>jiger96/quiz2<file_sep>/quiz2/src/quiz2/testing.java
package quiz2;
import static org.junit.Assert.*;
import org.junit.Test;
public class testing {
@Test
public void testIP(){
car testCar = new car (35000, 0, 60, 10);
double expectedValue = 9618.79;
double result = testCar.ip();
assertEquals(e... | 15e3af74e4649eada870b65c27cac2dafdecb4e4 | [
"Java"
] | 1 | Java | jiger96/quiz2 | 6a32995955f6b3f86e8e6b1f37844dcf97eba9c2 | 524fe72aabe109f28cf98ca8cbb6e32af124b264 |
refs/heads/master | <repo_name>egonzalez49/Spot-Me<file_sep>/src/artist.js
const electron = require('electron')
const path = require('path')
const BrowserWindow = electron.remote.BrowserWindow
const name = document.getElementById('name')
const followers = document.getElementById('label')
const image = document.getElementById('photo')
con... | b73583f7109f8f5ac78882713fb92ed048013bba | [
"JavaScript"
] | 2 | JavaScript | egonzalez49/Spot-Me | e55d81d2b7a581fa1fedd4e634b285adfe4a7a50 | 20416dd4dab66ee6de3a7d0978f6ab8c10fe39b0 |
refs/heads/master | <repo_name>henotia/CordovaEmbedded<file_sep>/README.md
https://henotia.github.io/IonicEmbedded-1/ 참고<file_sep>/src/main/java/com/cyber_i/ionicembedded/IonicActivity.java
package com.cyber_i.ionicembedded;
import android.os.Bundle;
import org.apache.cordova.CordovaActivity;
import org.apache.cordova.CordovaWebView;
imp... | 113cb06a8a843d1bb34b12df7cc2f0831ea70a98 | [
"Markdown",
"Java"
] | 3 | Markdown | henotia/CordovaEmbedded | 9305261bfe94d301e55e1aa548b8282b25a0cde3 | 719922274e1f929ddb53f2c86394c321b369d25e |
refs/heads/master | <file_sep>'use strict';
const fs = require('fs');
const version = process.env.npm_package_version
? process.env.npm_package_version
: process.argv[2];
if (!version) {
throw "No version defined";
}
let today = (new Date()).toISOString().split('T')[0];
fs.readFile('CHANGELOG.md', 'utf8', function (err, d... | cf90dff76e7ce41e012b6b20fd6bb866f24683fe | [
"JavaScript",
"TypeScript"
] | 2 | JavaScript | neild3r/vscode-php-docblocker-test | 19646837f5dd1be5a77f85e06a61fa4e725b8a66 | d8d383ca5b6100d2c3390c837e1a53eca10972f7 |
refs/heads/master | <file_sep>package com.app;
import org.testng.annotations.Test;
public class Test2 {
@Test
public void b1()
{
System.out.println("hi i amaaa a11p package");
}
}
| 9a9aa916c0eb9eb8d69752c167cda915141635f9 | [
"Java"
] | 1 | Java | Meghanachuttu/qwe12 | fede9bda2099f18ea4b3b67bd3ac7b9a9585e330 | 96e691c9de9921f2b6add8f8824855747936146d |
refs/heads/master | <file_sep>package shewchenko.com.github.homebookkeeping.months;
/**
* Created by shew on 01.08.15.
*/
public class Calculation {
//JanActivity result = new JanActivity();
public float getToPay(float a, float b, float c){
return (a-b)*c;
}
public float getDifference(float current, float pr... | 75115837e53ffa415b346d97b03d84acc427c0e4 | [
"Java"
] | 2 | Java | Shewchenko/HomeBookkeeping | a70f5a171a7345243652a744052111e226cd8567 | 720517a860e42846f0bdef9ee5fc09f08b56ee15 |
refs/heads/master | <repo_name>Decoux/Books<file_sep>/views/addBookVue.php
<?php
include("template/header.php")
?>
<section class="container">
<form class="mt-5 d-flex flex-column col-md-6 mx-auto" action="addBook.php" method="post" enctype="multipart/form-data">
<p class="text-center">Ajouter un livre</p>
<label f... | fa04881166c65596afc3f951abc40a82a4d395c5 | [
"JavaScript",
"SQL",
"PHP"
] | 30 | PHP | Decoux/Books | cfeb78c3097d62110560742577643204911c65c3 | 0e6ba3d84829fc8b4b8c997538df5a84eaedc7a4 |
refs/heads/master | <repo_name>DanielDent/sync-docker<file_sep>/Dockerfile
FROM danieldent/debian-jessie-base
MAINTAINER <NAME> (https://www.danieldent.com/)
RUN /usr/local/bin/install-resilio-sync.sh
COPY rslsync.conf /etc/
COPY run_sync /opt/
EXPOSE 8888
EXPOSE 55555
VOLUME /mnt/sync
ENTRYPOINT ["/opt/run_sync"]
CMD ["--log", "--conf... | 756210d6c1d705f7bd6773bd329e0166d5fa88ed | [
"Dockerfile",
"Shell"
] | 2 | Dockerfile | DanielDent/sync-docker | 83a19834bd715ff49e8647d48499cc13fec0df4d | cce21ec6e4cbef536152b4497d02fdf95858ac9b |
refs/heads/master | <repo_name>kevjiang/sms_adventure<file_sep>/handler.py
from scrapers import *
from adventure import *
from time import *
def response_handler(body):
'''
given text body string input
If body = "nytimes needle", searches nytimes for needle
Otherwise plays adventure game
returns proper response messag... | 3f402e8de1eac08f45644c3b73c16c344f85fbee | [
"Python"
] | 3 | Python | kevjiang/sms_adventure | 921551222ac03597060546decc840d4478866ed4 | 8ec031e6b032a3a37a4e199f9a89fc1bba951b13 |
refs/heads/master | <repo_name>FGDATA/aura-props<file_sep>/test.py
from props import getNode, root
def great_circle_route(a,b):
"""mock function for this test to work"""
return 125.22
#create some nodes
gps = getNode("/sensors/gps", create=True)
fdm = getNode("/aero/engine", create=True)
waypoint = getNode("/navigation/route/tar... | a6141d3da18070aa745a147cfd9ecc9016216c2f | [
"Python"
] | 1 | Python | FGDATA/aura-props | 00915e36b140139b50e076e19ca6d94a5349982d | 2c05bd3002ae1713a476f4a66151e433bfebc968 |
refs/heads/main | <repo_name>chiragkapoorck/FOREX-predictions<file_sep>/README.md
# Predicting Exchange Rate in Real-Time using Google Trends Data.
Refer for complete documentation: https://drive.google.com/file/d/1GTT9hOPIFhBICPwy63GT9ylTDptMmvuX/view?usp=sharing
<file_sep>/code_script.py
#!/usr/bin/env python
# coding: utf-8
# <h1>Ro... | 186e6ffcb6fdd8ac97e047aff7deb98aedfee1fb | [
"Markdown",
"Python"
] | 2 | Markdown | chiragkapoorck/FOREX-predictions | a709297e82ac1365750b96643363a613867fe5a7 | 3c80896385222f2ac381a37666c01eaeb5d1dd24 |
refs/heads/master | <file_sep>//
// SwiftUIView.swift
// SwiftUIView
//
// Created by <NAME> on 05/08/21.
//
import SwiftUI
@available(iOS 13.0, *)
public struct GFRefreshableScrollViewModifier: ViewModifier {
var action: () -> Void
public init(action: @escaping () -> Void) {
self.action = action
}
p... | 7b5661e96d2783721fd48c1b0da72b5e1b4e8feb | [
"Swift",
"Markdown"
] | 4 | Swift | gualtierofrigerio/GFRefreshableScrollView | 77fd4fbb8900fe824ddc5f6e098a7b2c1e13cf82 | f969d7f857515c4e9bdfee8b2e8deb8cbdad1931 |
refs/heads/master | <repo_name>pantharshit00/robo<file_sep>/main.ino
const int trigPin = 9;
const int echoPin = 10;
//L293D
//Motor A
const int motorPin1 = 5; // Pin 14 of L293
const int motorPin2 = 6; // Pin 10 of L293
//Motor B
const int motorPin3 = 4; // Pin 7 of L293
const int motorPin4 = 3; // Pin 2 of L293
long duration;
int di... | 61fddbd85f9010dbc6882a600b8245d1081748ff | [
"Markdown",
"C++"
] | 2 | C++ | pantharshit00/robo | 4519b5da85074b13b1cb71da5af7a170649ff548 | c363c58351075e9341223995ec2cda03aa08751d |
refs/heads/master | <file_sep><?php
use yii\helpers\Html;
use himiklab\colorbox\Colorbox;
/**
* Вывод одной новости
* @var $model \app\models\News
*/
?>
<?= Colorbox::widget([
'targets' => [
'.colorbox' => [
'maxWidth' => 800,
'maxHeight' => 600,
'rel' => 'image-in-group',
... | 5323629b722323887c850ff5823f1ed2b3c263a8 | [
"PHP"
] | 8 | PHP | woodprop/BaseBeauty.ru | a952d870a727bad826567afe784a804844afad9b | dda0acd614bbad3b9f9a1898f0fd91487e58459c |
refs/heads/master | <file_sep>require "acts_as_message_topic/version"
module ActsAsMessageTopic
# Your code goes here...
end
| 782541ea88e58a3b422ad688780f2988ee03dad3 | [
"Ruby"
] | 1 | Ruby | contently/acts_as_message_topic | 8915af9dd9fe37a25bd43b4e96e2b92e889f9dfc | 7ca1238272c0e5f5b7edb0def91e5eec2a4fb7e3 |
refs/heads/main | <repo_name>Mimi-c0der/Math-Quiz-Part-2<file_sep>/main.js
function add_user(){
p1_var = document.getElementById("p1_name").value;
p2_var = document.getElementById("p2_name").value;
localStorage.setItem("player 1 name" , p1_var);
localStorage.setItem("player 2 name" , p2_var);
window.loca... | daa8960ced86b3fdf8d9a1e86865669079b46273 | [
"JavaScript"
] | 1 | JavaScript | Mimi-c0der/Math-Quiz-Part-2 | 74a1efab966a9e9cdbd529a3743b068ffb4e68d2 | 5bc350e5e1a1ecc65228b4887c8f18dbb8630a56 |
refs/heads/master | <repo_name>deogracia/ror-playground<file_sep>/README.md
ror-playground
==============
<file_sep>/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file.
RorPlayground::Application.config.session_store :cookie_store, key: '_ror-playground_session'
| 0e9b771dfd41f3a7a40d7121b08a7fd3f96ccc8c | [
"Markdown",
"Ruby"
] | 2 | Markdown | deogracia/ror-playground | 02356d1992663c450211fc1894d771654697dee2 | bc639726d01637309ab3e21eae3a38bb6868676f |
refs/heads/master | <file_sep>spring.main.banner-mode=off
server.port=8087
spring.datasource.url=jdbc:mysql://localhost:3306/my_db
spring.datasource.username=bestuser
spring.datasource.password=<PASSWORD>
info.name=Employee
info.description=Spring boot app. This app is used for CRUD operation with employees of our company.
info.author=<N... | d020e1f1fedf7f1f0082007f7ea39c56a3da229c | [
"Java",
"INI"
] | 2 | INI | Error4ik/spring-course | 1b9d53494f7103ca6c0fe0566d24dedcdc9c69bf | 1a6ff8858b99e1dacc294db557f2cf037ae71219 |
refs/heads/master | <repo_name>GavrilM/MemeFeed<file_sep>/README.md
# MemeFeed
Generates a meme based on the most popular meme pages on Facebook. Hack to learn the Facebook API.<file_sep>/app.py
from flask import Flask, jsonify, render_template
from livereload import Server
import requests
from random import randint
from config import... | c4bf81be9d03d5adac4eb9d0b4ab11bdaed21a5c | [
"Markdown",
"Python"
] | 2 | Markdown | GavrilM/MemeFeed | a6ee1e22157c4e25fb58f34ca2d985b8a808f3fe | d73392920c75145900a8d7b8dabd5e0d5a600604 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Windows.Forms;
namespace IGNco.Helper
{
public class DAL
{
public static string ConnectionStr = ""; // Your connection string gose here
public int runCommand(... | 12ad6b6494ed4889228aab5d388729ae25480838 | [
"Markdown",
"C#"
] | 2 | C# | Alfred188/DAL | 1c233108abc35bd2ef47c9824210395549e8dd53 | be5dd29700b77fbec99354176e881c15a323a29a |
refs/heads/master | <repo_name>tanusgit/HomeworkJava<file_sep>/Array1/src/numberofsamewords/Test.java
package numberofsamewords;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Test {
public static void main(String[] args) {
List<String> list = A... | 136344baac16df8fbcef2e758739b338682f9bca | [
"Markdown",
"Java",
"INI"
] | 18 | Java | tanusgit/HomeworkJava | 63dac005f961d8e1cc9799cc23fbee913c4e899c | 4551b7319a18100febf3b89130878dd41d400f40 |
refs/heads/main | <repo_name>Johnvict/card-dto<file_sep>/src/environments/environment.prod.ts
export const environment = {
production: true,
sheetURL: 'https://sheet.best/api/sheets/4883dc2a-a242-41fa-a537-2709cd1a5cb8'
};
<file_sep>/src/app/services/helpers.service.ts
import { Injectable } from "@angular/core";
@Injectable({
prov... | 6dd020f3e9c3165607c602fdc7efba97ac423105 | [
"TypeScript"
] | 11 | TypeScript | Johnvict/card-dto | 78172e07f7472af52fe4dc82b97d6241957cb86d | adfb21006c80b77cd07d58ae45b0b2bce13d938b |
refs/heads/main | <file_sep>#include <iostream>
#include<iomanip>
#include<fstream>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
cout<<"opa"<<endl;
ifstream txtFile;
int li= 0;
int co... | 6afe760aef88c95d8f1c06a2420b1d978f27c200 | [
"C++"
] | 1 | C++ | Otavioo361/constru-de-grafo | a653c18a44d8de5c974274309019fda539f13a6e | a9eb4fe696229ae784f566fd5b57aeaa75b26016 |
refs/heads/master | <repo_name>anaoktaa/admin-dashboard<file_sep>/src/components/custom-timeline/custom-timeline.component.js
import React from 'react';
const CustomTimeline = ({ size, children, ...props }) => {
const childrenWithProps = React.Children.map(children, child => {
// checking isValidElement is the safe way and av... | 912ac17fb4c50a62d9d72cf4345b325342c9bf51 | [
"JavaScript",
"Markdown"
] | 80 | JavaScript | anaoktaa/admin-dashboard | a9ecf5c4f27f866f1548a59b2e3a07f4bafe125f | 937c81a63af8c7f1a4f20a9fda5df0d1c581311d |
refs/heads/master | <repo_name>GWU-Advanced-OS/lwt-v1-group-name<file_sep>/scheddev/lwt.c
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<sl.h>
#include"include/kalloc.h"
#include"include/lwt.h"
#define LWT_CAS(d,t,v) do{ \
t = d; \
}while(!ps_cas(&d,t,t+v))
void __lwt_start();
void __lwt_schedule(void);
static in... | 62a06c016487e07665bbd114d427cd060070dd83 | [
"Markdown",
"C"
] | 9 | C | GWU-Advanced-OS/lwt-v1-group-name | 3d6e39adf81e54c90b559349408f6d8bc011e60b | 0317a1108ab9a80d2431e2c4fb2b62981814a2df |
refs/heads/master | <file_sep>#!/usr/bin/python3
from collections import defaultdict
from threading import Thread
import collections
import os
import sys
import mido
import pickle
import json
import time
import re
# TODO: turn off LED, once relevant encoder has been tweaked
# TODO: In queueEncoders() freeze ALL encoders until out of twea... | 3d283f4755e473bfb87d1c8c5605e2e25b460610 | [
"Markdown",
"Python"
] | 2 | Python | dabbingcoders/ccpatch | cf06ee5c7abdfd4a9a08e642fb07676cbe772383 | 4a77b6e812a1e9f1e724e51da7cc24dbfa68a6d9 |
refs/heads/master | <repo_name>elzamattam/tourism<file_sep>/html files/thrissur.htm
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=<device-width>, initial-scale=1.0">
<link rel="stylesheet" href="/tourismform/css/districts.css">
<title>Thrissur</title>
<h1>Thrissur<... | 6cded7b1bf5e166899b4860d590136cc520d2a77 | [
"JavaScript",
"HTML"
] | 5 | HTML | elzamattam/tourism | 92d194ab21c524cfbf3f2bb78c6fa9a2acb6d1bc | fbee73fcd5671ac04a2a7cb58237ea7d042d569a |
refs/heads/master | <file_sep>package com.teguh.liga.repository.local
import androidx.lifecycle.LiveData
import androidx.room.*
import com.teguh.liga.model.Word
@Dao
interface WordDao {
@Query("SELECT * FROM word_table ORDER BY word ASC")
fun getAlhpabetizedWords(): LiveData<List<Word>>
@Insert(onConflict = OnConflictStrate... | 74616dcfb624f09e6462421ae83eda2777ce6131 | [
"Kotlin"
] | 1 | Kotlin | teguhsiswanto87/RoomWithView | bf24faa24d5de676381f11c4c605878db6d3edbd | 4713a6ee6c4e328d351fc7376481efb48348678b |
refs/heads/master | <repo_name>atloZ/KonyvespolcApp<file_sep>/KonyvespolcApp/Konyv.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KonyvespolcApp
{
public class Konyv
{
String konyvNev;
int aktualisLap;
int maxLap;
Bo... | 32ccdda210326f45919f6cc57976a6cf4f40fe18 | [
"C#"
] | 3 | C# | atloZ/KonyvespolcApp | 10a0a63c25f54b0094aae4f905f6a91eadf865af | 810c16a5677959e92d4ee633a1e9c54d92fee6bd |
refs/heads/master | <file_sep>//namespace Login{ // Its deprecated function so use module
var LoginModule;
(function (LoginModule) {
// In grouping you need to specify which can be used outside
// Use keyword export to allow this
function ValidateLogin() {
}
LoginModule.ValidateLogin = ValidateLogin;
function Cha... | 6c7f6c952e15533c6b3e477bf03f5dc4f0eb514a | [
"JavaScript",
"TypeScript"
] | 40 | JavaScript | maheshchalke2006/angular2 | e4636ddc0650429170bd9c1ffc6c5cb3a298e7e0 | cb397540b5d6afd9b39b14aa815b08d181e7ba24 |
refs/heads/master | <file_sep># frozen_string_literal: true
RSpec.describe 'bit_field/type/reserved' do
include_context 'clean-up builder'
include_context 'register map common'
before(:all) do
RgGen.enable(:register, [:name, :size, :type])
RgGen.enable(:bit_field, [:name, :bit_assignment, :initial_value, :reference, :type]... | d0f01919c937a0201b5394ae029991adfe920ad8 | [
"Markdown",
"Ruby",
"INI"
] | 34 | Ruby | 275244143/rggen | 7d6bfa40dfac8df122d32027da59cb071199415e | 87221e8867b205b59e54d78ac08766b190608126 |
refs/heads/master | <repo_name>phoenix24/casita<file_sep>/casita-actor/src/main/java/casita/exectution/ForkJoinContext.java
package casita.exectution;
import casita.actorsystem.ActorHolder;
import lombok.Getter;
public class ForkJoinContext implements ExecutionContext {
@Getter
private String name;
@Override
public vo... | 3783ce476af51e87544c95825a5ccd90c2afc952 | [
"Markdown",
"Java"
] | 15 | Java | phoenix24/casita | 805d65aac02e664fe21389643c5cadb2c055ce41 | 38a3a779904257e1038b02320da5d2fc9ee9d3b9 |
refs/heads/master | <repo_name>SilasPC/RustyBoi<file_sep>/Cargo.toml
[package]
name = "rust_stuff"
version = "0.1.0"
authors = ["Balisong <<EMAIL>>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
sdl2 = { version = "0.34", features = ["bundled","static-li... | fcdc55dc854b52cbccdc8ebd8489a68e4376a47f | [
"TOML",
"Rust"
] | 40 | TOML | SilasPC/RustyBoi | 2ae0f272ab140457fb1f865dd34521b6aa335de4 | 4a37815c56d0e9b8630964162320e4bc5ae43559 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.