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/main | <repo_name>TatianaNarizhna/goit-react-hw-08-phonebook<file_sep>/src/redux/contacts-operations.js
import axios from "axios";
import actions from './actions';
const fetchContacts = () => async dispatch => {
dispatch(actions.fetchContactRequest());
try {
const { data } = await axios.get('/contacts');
... | 9b246e957723cce738aef5462b3cdad038c1f7c4 | [
"JavaScript"
] | 5 | JavaScript | TatianaNarizhna/goit-react-hw-08-phonebook | 6fc3de4af691b564730c03873e8cd900af953e94 | 93778b69cca0bf3c2a1e4a3362eaf727ffb9550e |
refs/heads/main | <file_sep>#include<bits/stdc++.h>
#define magic ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
#define ll long long int
#define v vector<ll>
#define it iterator it
#define pb push_back
#define f(a, b) for(ll i=a; i<b; i++)
int max(int a, int b) {return (a>b) ? a:b;}
int min(int a, int b) {return (a<b... | a4df1fe0e3e146a8c842f152a4f6d84c8c95589c | [
"C++"
] | 2 | C++ | shubhamp474/CodeChef-DSASeries | f89d5accaa8c80ec92c075d564fe56acf853149d | 9e4d4b6ef3a0c64855c35fca70cd4dc66aabf889 |
refs/heads/master | <repo_name>thereactgirl/java-vending-machine<file_sep>/src/main/vend/Machine.java
package main.vend;
import java.util.ArrayList;
import java.util.List;
public class Machine implements VendingMachine, VendingMachineHardwareFunctions, AddProduct
{
//fields
private int maxId = 0;
private int id;
private ... | 26c4dd34e0be2d1e73d2293d57db64d1e2c3715c | [
"Java"
] | 3 | Java | thereactgirl/java-vending-machine | 637f15b48f28298eaf2dba8dda0fb1e21b31d99a | bd15ad4731392f39bf7bb06234128d8596c5e49a |
refs/heads/master | <repo_name>vrr03/Minicurso-Git<file_sep>/main.c
#include "stdlib.h"
#include "stdio.h"
int main () {
int a = 5, b;
b = a*a;
printf ("\n%d\n", b);
return 0;
} | bbf44e9b420cf53b9778e666f1da039ba23f7acf | [
"C"
] | 1 | C | vrr03/Minicurso-Git | b7c844a5451cae3ae5f161eedec518d6fb4e0115 | aaf98a0054e2746a8264a733eecb6d28be008f90 |
refs/heads/master | <file_sep><?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html lang="en-US">
<head>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #F8F9FA;
}
-->
</style>
<script type="text/javascript" src="__PUBLIC__/js/artDialog/artDia... | 732d26dd992478433d6c18ee2a10dc2d592c3e72 | [
"PHP"
] | 52 | PHP | zhangjiachao/c_r_e_w | df5f91646a9ac747c2236b7bbdcc7bf0fbef2bd4 | d4d04348296877c09ae013435db8ec3f76b1a042 |
refs/heads/master | <file_sep>package my.kattis.problem.simple
import java.util.*
fun main(args: Array<String>) {
val scanner = Scanner(System.`in`)
val n = scanner.nextInt()
println(if (n % 2 == 1) "Alice" else "Bob")
}<file_sep>package my.kattis.problem.simple
import java.util.*
enum class Op(val priority : Int) {
PL... | 3b6408d1c9210581c16d872fc20e52cf5e962f8d | [
"Kotlin"
] | 10 | Kotlin | leonate/kattis | 5a871340423d698485ad8c50be84a537d11018e1 | 845022829175acde312146b8200b1f5959d718f3 |
refs/heads/master | <repo_name>Nidhoggrr/awning-remote<file_sep>/awningRemote/awningRemote.ino
#include <Basecamp.hpp>
#include <Esp.h>
extern "C" {
#include "freertos/FreeRTOS.h"
#include "freertos/timers.h"
}
static const bool debug = false;
Basecamp iot;
static const int outPin = 25;
static const int stopPin = 26;
static ... | 85278403aba89e94684ee37d5a4a0033514e8b6c | [
"Markdown",
"C++"
] | 2 | C++ | Nidhoggrr/awning-remote | e33cc661e0f23e4dc22738f253e0ec48019bce40 | 3c589f8a0920a88eb131d6250d17e750caa1c9bc |
refs/heads/master | <file_sep># Custom logic to be included in OrdersController. It has intentionally been isolated in its own library to make it
# easier for developers to customize the checkout process.
module Spree::Checkout
def checkout
build_object
load_object
load_data
load_checkout_steps ... | 75e40db9724794e7ad41f6c49ecf04a1c65eb32a | [
"Markdown",
"Ruby"
] | 9 | Ruby | swistak/spree-default-addresses | 2d8759f7098057ec0d214bd96c7d307d5711abb1 | 1e135a80c77b38dd22b201aa3097fc155f63b0e3 |
refs/heads/master | <file_sep><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.stylelabs.asse... | ad6af28545f6d9f2253737616fca404dd983806e | [
"Markdown",
"Java",
"Maven POM"
] | 3 | Maven POM | SureshChinnusamy1986/StyleLabAssessment | 8e56e78752e9438dd7d280b9b208e0a4dadeae38 | 673c325abe5f2322f0552a3400770b6993e3f449 |
refs/heads/master | <file_sep>import React from 'react';
import PropTypes from 'prop-types';
import { useQuery } from 'react-apollo-hooks';
import Spinner from '../components/Spinner';
import Photos from './Photos';
import { GET_PHOTOS } from './queries';
export default function GetPhotos(props) {
const { tags } = props;
const { dat... | b95eda2bd0a40561bfe67d63fe45410cf9b01a44 | [
"JavaScript",
"Markdown"
] | 15 | JavaScript | ollyd/flapi-ui | 205f73ef7ee2b3276a4b889c0c14f66baf7cde41 | bd6d48779a403ae62eed5fe24eeff8ca59ec5d68 |
refs/heads/master | <repo_name>conradbm/test<file_sep>/ui.R
#
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
source("C:/Users/Jenn/Desktop/CSCI49... | 131385a93d7c6f73400746181fde688be85ce59b | [
"Markdown",
"R"
] | 5 | R | conradbm/test | 07a59d6fd89f47d97416e9a7977a542671e726fd | b6c55bad90c274efcee8d3a2afc230de9f74cb22 |
refs/heads/main | <file_sep>platform :ios, '8.0'
inhibit_all_warnings!
target ‘AVPlayerDemo’ do
pod 'pop', '~> 1.0.7'
end
<file_sep># AVPlayerDemo
简单的AVPlayerDemo
| f2f47968f9d4aabb3392a89353141c6a0e974de9 | [
"Markdown",
"Ruby"
] | 2 | Ruby | JudeTian/AVPlayerDemo | 1717ba61ac3abab2b50b0f0869c66af7d4715609 | 47fb05bdb38b7fe2814ed921d65bd07c132cf19d |
refs/heads/master | <file_sep><?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Services\Hash;
/**
* Class Token
* @package App\Models
*/
class Token extends Model
{
/**
* @var array
*/
protected $fillable = ['token', 'user_id', 'hash'];
/**
* @var array
*/
protected $hid... | 7f92179fc57c4aef10c7c03c5e357439f167452f | [
"JavaScript",
"Markdown",
"PHP",
"Shell"
] | 117 | PHP | freelaxdeveloper/laravel_vue_example | 2fe79a1712c58c19fcc23ef47f29248053fffde4 | c3947f09b521a889bfc3f3616f2423463c03d28b |
refs/heads/master | <file_sep>using Prism.Commands;
using Prism.Events;
using System;
using System.Threading.Tasks;
using System.Windows.Input;
using VetTracker2.UI.Event;
using VetTracker2.UI.View.Services;
namespace VetTracker2.UI.ViewModel
{
public class MainViewModel : ViewModelBase
{
private IEventAggregator _eventA... | 564ba8ddbebeac81ac2c114027d5c6dd023a4fab | [
"C#"
] | 15 | C# | Simone1989/VetTracker2.0 | 2c9ccc302e7f776b506bbf101f2ddfd411e8218d | ab6a569c7394465c9b40ced0a268f3edb166c78a |
refs/heads/master | <repo_name>wearelighthouse/react-redux<file_sep>/src/containers/App.js
import React from 'react';
// Screens
import ExamplesScreen from '../screens/Example/ExamplesScreen';
const App = () => (
<div>
<h1>React Redux Example</h1>
<ExamplesScreen />
</div>
);
export default App;
<file_sep>/tests... | 13085c2dd40c9de5df8b5ec1da1ebd8784f9c7fc | [
"JavaScript"
] | 12 | JavaScript | wearelighthouse/react-redux | 047ce005f2f294dc86533632be96bbc13acd3152 | 548fc57e6ba15d80357c3ae12c8453ec83c2f969 |
refs/heads/main | <file_sep>#Input employee data such as name, enrollment Nunber, age, work experience in years
val = input("Enter your name: ")
print(val)
<file_sep>#hackathon Build an attendance tracker
Level 1:The client --Develop a client of ur choice(Android, web app,...) --It should be able to interact with the REST API and mark... | 8ad609bd5b5319742f4657f0e150f081a1e0e4a5 | [
"Markdown",
"Python"
] | 2 | Python | binghaw/23456 | 462d59ce4898c606821e97fcf06888b3754876a0 | 28d8e8c7ddbd30b6007b3ce0043954d5833a55ab |
refs/heads/master | <file_sep>const getters = {
count: state => state.app.count,
name: state => state.user.name,
};
export default getters;
<file_sep>const path = require('path');
const HTMLWebpackPlugin = require('html-webpack-plugin');
const webpack = require('webpack')
const VueLoaderPlugin = require('vue-loader/lib/plugin');
// co... | f3cc0162a68a3318cf126e78950a3a18dac4c2d8 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | zhaoboy/basic-vue-frame | a86dba6c9c641aedd89f0b61b89576e22e03a5a6 | 7a4e945555e3c613242e44d6fa5111d06750131c |
refs/heads/master | <file_sep>print "Hello Changed World!"
| e71f101d0fb77902318414687aa5c2db2f43851c | [
"Python"
] | 1 | Python | smanuguri/HelloWorld | 81600125deecc499b1153485c32049b85c363750 | 6ffb1232f1a28a644df494f2467faa7e4f42a55a |
refs/heads/master | <file_sep>這是一篇共同編輯的文件
# maskandfacedetect
<file_sep>import numpy as np
from cv2 import cv2 as cv
from matplotlib import pyplot as plt
face_cascade = cv.CascadeClassifier('haarcascade_eye.xml')
img = cv.imread('D:\\giwawa.jpg')
imgGray = cv.cvtColor(img, cv.COLOR_BGR2GRAY)
pathf = 'D:\\haarcascade_eye.xml'
f... | b6f40fc83dabb9b39c4a0249226bb08ac548c30c | [
"Markdown",
"Python"
] | 2 | Markdown | Flyingdolar/maskandfacedetect | 3aa02b92d8522ed7d9fe341d888ba75b44f9e75a | 74f56778fc042d7687fe7156feca23b41f866848 |
refs/heads/master | <repo_name>Kerwin-Lo/MVC5Course<file_sep>/MVC5Course/Controllers/Client1Controller.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using MVC5Course.Models;
namespace MVC5Course.Controllers
{
... | 3a23039476bd2a75c9a0493a54282c0b60488865 | [
"C#"
] | 5 | C# | Kerwin-Lo/MVC5Course | 3df20638d8693e5d6879000b37084af38f0d527b | 9316a93b70347ec24ca23467ca4ac8bdc13c15ca |
refs/heads/master | <repo_name>philou73/mybooks<file_sep>/src/app/services/auth.service.ts
import { Injectable } from '@angular/core';
import * as firebase from 'firebase';
@Injectable()
export class AuthService {
constructor() { }
//On crée un nouvel utilisateur à l'aide de firebase.auth(), et on retourne une Promise() car c'est ... | b3bd0e5d9dd6f5504e66817a8a8890944f74d3ec | [
"TypeScript"
] | 2 | TypeScript | philou73/mybooks | 7b3708b2f8abda76cf7751ea9130793376f7bab7 | b3ad2770a034cfd68504357772ac33c4176c1d34 |
refs/heads/master | <file_sep># Rate It - Online Product Review
Download MAMP Server (https://www.mamp.info/en/downloads/)
Load the SQL dump file in MAMP.
Register as a normal user.
Give reviews to any of the product listed.
You can add/remove any product to your wishlist.
Register a user as an Admin by inserting an entry in USERS t... | ce69749399ad854b6d453d755be339f9e5750b54 | [
"Markdown",
"SQL"
] | 2 | Markdown | mukesh2249/Rate-It | ac2c124c014dbffb0f8ebb35adeff8729d76b5c8 | eb84a9bc572135a9c7b950aa8d5dba77dd499e47 |
refs/heads/master | <file_sep>using InmoCRM.Models;
using InmoCRM.Repositories.Config;
using InmoCRM.Repositories.Crud;
namespace InmoCRM.Repositories.Impl
{
public class AssetsRepositoryImpl : Repository<Asset, InmoCRMContext>, IAssetsRepository
{
public AssetsRepositoryImpl(InmoCRMContext context) : base(context)
... | 0cfd2c44592da5081c857a1301f6fd0ac5f781b8 | [
"C#"
] | 9 | C# | jordiDevel-dotnet/InmoCRM | 7ee803c4d7fdb277e87a82b0c655a446d912495a | 685f7eaeefbe6acf2c95cab90e3f5af7a9d3f18a |
refs/heads/master | <repo_name>sergeyplis/Causality-Research<file_sep>/mytools.py
#collection of helper functions
from itertools import permutations,combinations
from functools import wraps
import random
#helper function for checkconflict
#if sublist is contained within superlist, return true
def contained(sublist, superlist):
tem... | 83bfa8dd6beb8f19d2baf7b1c7ea16a9ae0174b0 | [
"Python"
] | 4 | Python | sergeyplis/Causality-Research | 9438bf4e4b4272ff00a7523500b749c1f3671f7d | a30ea0a207f5dacc5308a320eea818a74a496474 |
refs/heads/master | <file_sep># use employees;
#
# show tables;
#
# describe departments;
#
# describe dept_emp;
#
# describe dept_manager;
#
# describe employees;
#
# describe salaries;
#
# describe titles;
use codeup_test_db;
show tables;
describe albums;
# Add an index to make sure all album names combined with the artist are uni... | fd942fafa470608afec3e5bd3198ae3d640dc091 | [
"SQL"
] | 5 | SQL | Graham-Davis-SATX/database-exercises | 17768de831a42267b26bb3af61d36379e246bc39 | c529f3f8f9c2b6a3889c72f28feeb61d44f3e8a4 |
refs/heads/master | <file_sep>@main("Testing") {
<link rel="stylesheet" href="@routes.Assets.versioned("stylesheets/practice.css")">
<link href="http://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css" rel="stylesheet" type="text/css" />
<script src="//use.typekit.net/wmv4bzh.js"></script>
<script>try{Typekit.load();}ca... | d51f8bf4ff86eb62bcc868c675e7b38c1285e21e | [
"JavaScript",
"Java",
"HTML",
"SQL"
] | 10 | HTML | ka4tik/play-java | 4d4bcd313d66075a55f5ec8591bfefb07cd2451e | 10169d0b2618198a6d5e3d70e83409c1148ea051 |
refs/heads/master | <repo_name>RiyamGithub/Udacity-Projects---FEND<file_sep>/project9/neighborhood-map-p9-fend/README.md
## Udacity - Student RIYAM | Front End Web Developer - FEND - P9 - Neighborhood Map
Date: April 21, 2019
Udacity Front End Web Developer Nanodegree project
Welcome and have a great time .... :)
## Table of Con... | c795c754cb96aef9f736127094a7d1dfc8071763 | [
"Markdown",
"JavaScript"
] | 16 | Markdown | RiyamGithub/Udacity-Projects---FEND | 96c8a4cf5e2dcaca48efad15016251932662c582 | 9224863bdbcd72eac375f0b8f563a89cd556ed6c |
refs/heads/master | <repo_name>aashishsingh99/Darkweb-Crawling-Framework<file_sep>/tor session.py
import requests
session=requests.session()
session.proxies={}
r = session.get("http://httpbin.org/ip")
print("original ip")
print(r.text)
session.proxies['http'] = 'socks5h://localhost:9150'
session.proxies['https'] = 'socks5h://lo... | e23ec9bbe963a6fc434967cfb9e87923c592a7d3 | [
"Python",
"Shell"
] | 3 | Python | aashishsingh99/Darkweb-Crawling-Framework | 183a4cf6131b0af7ea0820973d43f84315d43f74 | 5c59cfb5223cf4812a6c43237c8bb665c3394dbe |
refs/heads/main | <repo_name>iampratapbabu/react-redux-basics<file_sep>/src/store.js
import {createStore} from "redux";
import rootReducer from "./reducers/index";
const store = createStore(rootReducer);
//yhi store centrealized state ho gya hai yhi se koi component store call krke data le skta hai
export default store;
| 06726e7b42a4cacc3256acd7de03624296ef4532 | [
"JavaScript"
] | 1 | JavaScript | iampratapbabu/react-redux-basics | fadd8982a5e296fa8d425f0f3fa1384b10c0127f | 25ae9bc3f6c6b4bd05f0f1b869272ed85e4a2121 |
refs/heads/master | <repo_name>bhavy-jain/Algorithms<file_sep>/Algorithms/AVL_trees.cpp
//AVL trees are self balancing binary trees capable of performing insertion,deletion and other such opertions in O(log(n))
#include<bits/stdc++.h>
using namespace std;
struct Node
{
int data,height,count;
Node *left,*right;
};
int height(Node ... | bd5588cc1b56ba0c6cda67076315363cb4127a28 | [
"Markdown",
"C++"
] | 5 | C++ | bhavy-jain/Algorithms | 7a1fc55b781c102c5be6f84bec3c1cf81b268f5a | 7f6dac33accde6ccb8c4b656c2e341f10a2c16df |
refs/heads/master | <file_sep>FROM jupyter/datascience-notebook
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app
RUN pip install --no-cache-dir -r requirements.txt
COPY analysis.ipynb /usr/src/app
EXPOSE 8888
CMD [ "jupyter", "notebook","--allow-root" ]<file_sep>pandas
numpy
feedparser
nltk
psycopg2
SQLAlchemy<file_sep>pandas
numpy... | 413e4bf3a6b5fcb5e9c103707a1cfbec71eb962f | [
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 6 | Dockerfile | Batmobil/dataprocessor-docker | 1d3da7bf9a5b8fcc4cf528ff66623339cfa79c6e | b3c6f125ccd228e090b1362d45a6963e208fef2f |
refs/heads/master | <repo_name>small-coding/commnutiy<file_sep>/src/main/java/life/qyh/community/controller/QuestionController.java
package life.qyh.community.controller;
import life.qyh.community.dto.QuestionDTO;
import life.qyh.community.service.QuestionService;
import org.springframework.stereotype.Controller;
import org.springframewo... | 611058e484661b4872f021e312c7500c80e55ae6 | [
"Java",
"INI"
] | 6 | Java | small-coding/commnutiy | ee7edb2a3597b753cc6d05fcaff3b6910f06d351 | eb499930502a0c9a3f6df18fbbb479320c6d5961 |
refs/heads/master | <file_sep>//***************** vv DOCUMENTING AND HELPFUL STUFF vv ********************
//Wiegand_Code.ino
//Compiled using arduino uno software found at
//http://arduino.cc/en/Main/Software
//On Windows 7 64 bits
//IMPORTANT
//ARDUINO UNO MUST BE
//COMPILED USING A DLINE Mode and
//RUN USING UART Mode
/... | ea436a30bce113913157caa0edbd6f228be7850e | [
"C",
"C++"
] | 4 | C++ | samuelviana/Arduino_C_AccessDB | 66d0472649ea48fc5867f182c56cb5f36e002814 | d7b3a73c4e431576b5ef664ec95a4dc444356272 |
refs/heads/master | <file_sep># StudyScraper
An application that hits various API endpoints to pull and store data on studies related to nootropics and neuroscience. Also utilizes a web scraper to pull data from the newest posts in the nootropics Reddit community if they are related to scientific studies.
<file_sep>(function () {
"us... | 543d04d71ab5066dd65d56d6db655bf6a08b3e54 | [
"Markdown",
"JavaScript"
] | 7 | Markdown | Kinarki/StudyScraper | 1c781c175a3f53fc1d3f03a27f391354b55b6556 | 3bf36694c56c0b7dc2135241a5f236cd72848739 |
refs/heads/master | <repo_name>checksound/TryJavaRMI<file_sep>/src/TopicServer.java
import java.rmi.registry.Registry;
import java.rmi.registry.LocateRegistry;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.List;
import java.util.ArrayList;
public class TopicServer implements Topic {
privat... | f09c020d1a45e2b3badf05aa4d17ab784fed21da | [
"Markdown",
"Java"
] | 2 | Java | checksound/TryJavaRMI | 95c8278f2e7e328da4ab0fe346907095349624e9 | db2ea7e337a96edc4861678373f017df6845836b |
refs/heads/master | <file_sep>class User < ActiveRecord::Base
has_many :casks
validates :login, presence: true
scope :using_cask_for_configuration, -> { where('casks.configuration' => true).joins(:casks).uniq(:id) }
end
<file_sep>FactoryGirl.define do
factory :user do
sequence(:login) { |n| "login#{n}" }
sequence(:name) ... | 057f654feb40b4f62eb2180b206f0e366099fe88 | [
"Markdown",
"Ruby"
] | 29 | Ruby | igjit/el-more | c174a6d52e66cc46ba7849a0c823c22e770180f9 | 62b1bc1dce06c39ba769c46ba33779f76b9e9f06 |
refs/heads/master | <file_sep><?php
use yii\db\Migration;
class m161217_165316_create_tbl_tr_travel extends Migration
{
public function up()
{
$tableOptions = null;
if ($this->db->driverName === 'mysql') {
$tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB';
}
$... | 463cc3afbd18f9ddc2701b0e0f80dd25b3e144ed | [
"JavaScript",
"PHP"
] | 45 | PHP | sigitsuhardiono/travelmarket | 4e371b669bd6a7bd470f9007feeb6a58c7974c91 | 8550e442987db62c15dfae5d53e474e9a4781e5f |
refs/heads/master | <repo_name>jaelyangChoi/Multi-Chatting-Program<file_sep>/MultiChattingProgram/src/Message.java
public class Message {
private String id;
private String msg;
private String type; // 메시지 유형(longin, logout, msg, secret)
private String rcvId; // 귓속말 수신자 아이디
public Message(String id, String msg, String type, St... | 1af01f14fa709d7b4def6b46028bb0ac16ca1376 | [
"Markdown",
"Java"
] | 2 | Java | jaelyangChoi/Multi-Chatting-Program | d1b0e79c437f931ea03a29d0e1aaad7475d8e29c | 5fa235a5bcf545e16329d08c24865a5fd3eb7f88 |
refs/heads/master | <repo_name>jhanisusM/Hashi-Project2<file_sep>/dataBase/schema.sql
CREATE DATABASE caballus;
USE caballus;<file_sep>/dataBase/seeds.sql
INSERT INTO horse (age, gender, name, sire, mare )
VALUES (5,'G', "Best of the Blues", "Eastwood Decat", "Blues Apparition");
INSERT INTO horse (age, gender, name, sire, mare, createdA... | a0ea9718959bf43e79b54274d78f0857e70a6832 | [
"JavaScript",
"SQL",
"Markdown"
] | 4 | SQL | jhanisusM/Hashi-Project2 | 510ee58ea194794f032a493dc1158afd9d0bdde0 | 681e2b14b8f1e4384df5a1b69f6d66de021ab1d5 |
refs/heads/master | <file_sep>import recsys.algorithm
import os
recsys.algorithm.VERBOSE = True
from recsys.algorithm.factorize import SVD
from recsys.datamodel.data import Data
def getSVD():
filename = "/home/udaysagar/Documents/Classes/239/recsys/model/movielens.zip"
if os.path.exists(filename):
return SVD("./model/movi... | 4db7fecaeb694d4209fd1e48e4ab79b5e89e834e | [
"Java",
"Python"
] | 2 | Python | udaysagar2177/predictMovieRatings | 1c1da69c77828b6f804516c6f811f318af93aecf | 59be03302ccf9dfc24835482693d1d46cd6ff01e |
refs/heads/master | <file_sep>import Vue from "vue";
import Router from "vue-router";
import Home from "./views/Home.vue";
import Doc from "./views/Documentation.vue";
import DocElButton from "./views/documentation/elements/Button.vue";
import DocElDropdown from "./views/documentation/elements/Dropdown.vue";
import DocElModal from "./view... | 18db5466feb94fc9dbee67b1780a6ca2b4b4ded3 | [
"JavaScript"
] | 3 | JavaScript | Ovinsyah/inicss | 7686b3e109f44bb468ed8818a9b8079c9ecc5d19 | 920254c1c0f6d0b1fda39d5d219f16f6cdd157aa |
refs/heads/master | <repo_name>minsOne/Dodi<file_sep>/Projects/DodiDetail/Sources/EditableDetail/EditableDetailPresenter.swift
//
// EditableDetailPresenter.swift
// DodiDetail
//
// Created by Geektree0101 on 2021/08/13.
//
import Foundation
protocol EditableDetailPresenterLogic: AnyObject {
func load(_ response: EditableDetailMo... | 55ec9bf301ecc5b3a7d6cdbbd9308fa80770aecb | [
"Ruby",
"Swift",
"Markdown",
"Go",
"Go Module"
] | 45 | Swift | minsOne/Dodi | fc7b3937d7d799b53c7f92a9aec07ee22700a55d | 1586ed787eb96366653e1ea099237486b2c06602 |
refs/heads/master | <repo_name>clamiax/lazy-bash<file_sep>/lazy
#!/bin/bash
declare -g WEBROOT="$(pwd)"
declare -g LOGFILE="/tmp/lazy.log"
declare -gr CONTENT=0
declare -gr STATUSCODE=4
declare -gr FILE=5
declare -gr CRLF="$(printf '\r\n')"
send() {
local buf clen ctype status msg
buf="$1"
status=${2:-200}
msg=${3:-OK}
ctype="${4... | 142bc9165fd945044f68481eccf929603f465512 | [
"JavaScript",
"Makefile",
"Markdown",
"Shell"
] | 4 | Shell | clamiax/lazy-bash | fb2a70a7ba7476cd8dd83c6d40ea2a5a0a42c35d | 95a10d3effb151222b876a10ee8735d4e24d8e06 |
refs/heads/master | <file_sep># education
Some programs for educational purposes written for my children
<file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#run this program in a terminal with: python europe-geography.py --level 1
#tested on Ubuntu 16.04
import argparse
import logging
import os
import random
import re
from random im... | 855d8a64c2e0162413084af497ad3e4671009008 | [
"Markdown",
"Python"
] | 5 | Markdown | tobiasmelin71/education | 80feee550f5976c52774a3d773b1e957f6d48301 | 632e86dc8f51e2e280376077ac0e6defeb36a244 |
refs/heads/master | <file_sep>//arrays to hold values for the dynamic programming algorithms
var alphaToParent = [];
var alphaFromParent = [];
var betaToParent = [];
var betaFromParent = [];
var gammaToParent = [];
var gammaFromParent = [];
var parentId = [];
//the current tree
var riverNetwork;
//json representing flow in and out a... | e4b0cd7d2ed33d26a3bdd9f2d2850f43a80ef1c4 | [
"JavaScript"
] | 1 | JavaScript | sread94/RiverExplorer | 2bc2ecdff571737c2b01e1d49b95f4c194de0db5 | 77e5cb164f47658323715c72fb25b733a5db43b5 |
refs/heads/master | <repo_name>BlueTriangleMarketing/BlueTriangleSDK-iOS<file_sep>/Example/Podfile
use_frameworks!
platform :ios, '8.0'
target 'BlueTriangleSDK-iOS_Example' do
pod 'BlueTriangleSDK-iOS', :path => '../'
target 'BlueTriangleSDK-iOS_Tests' do
inherit! :search_paths
end
end
<file_sep>/README.md
# BlueTriangl... | 1cc14ff1c5237f4bb4391e7e8010ac09d9d4eeb2 | [
"Markdown",
"Ruby"
] | 2 | Ruby | BlueTriangleMarketing/BlueTriangleSDK-iOS | a962286e562e5f26e0e6c105600a2cc96ced53da | 6517cf84db17088b36df68667d1ca45ae87ac908 |
refs/heads/master | <file_sep># Weekend To-Do List
## Set-Up
- set up database in Postico per database.sql: run => "postgresql weekend-to-do-app > database.sql" in terminal
- run npm install
## Objective
- Create a to-do list web app with the ability to add new tasks, as well as mark them complete to view in different sector.
- items... | 974f26363e451e4c29ad1c08097ce486f816b1d5 | [
"Markdown",
"SQL"
] | 2 | Markdown | cback97/Weekend-To-Do-List | b0db078b02daf20fce25b106a8c348d4f4ce1402 | 8e8f7938cb93caf7f600d323998eca9d770be0a7 |
refs/heads/master | <repo_name>wacatswh/SDI_Coursework<file_sep>/source/main.cpp
#include "../header/Logger.h"
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
Logger logObj;
logObj.log(3, "Logger object created.", __LINE__);
cout << "Enter the word for other player to guess" << endl;
lo... | 01d696882a098d4a5e1956a43160a7da9dbf2dd5 | [
"C++"
] | 4 | C++ | wacatswh/SDI_Coursework | 5d75caa637577f3b863e0a55a76dea709d6dcbde | 426d6fed267bf26fcdc77fb9215840df77293ed6 |
refs/heads/master | <file_sep># Usage examples
```bash
cat stdin_example.com | docker run -i sdenel/https-analyzer [--dns-server 8.8.8.8]
echo "google.com" | docker run -i sdenel/https-analyzer --dns-server 8.8.8.8 | tee output.json
echo "google.com" | docker run -i sdenel/https-analyzer --dns-server dns-over-https | tee output.json
```
... | 9443682754f7bf9ebdcd75bcb354bcd7d6870987 | [
"Markdown",
"Python",
"Dockerfile"
] | 3 | Markdown | sdenel/https-analyzer | fbb2b37ad1d42ad7880ca056bbd98b452b319ee1 | 4b6bf4fbf62b430ab8b2d3a5956a0ff47f8d21c7 |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using XBOXParty;
namespace Board
{
public class BoardManager : MonoBehaviour
{
[SerializeField]
private Image _logoImage;
[SerializeField]
private SpriteRenderer _boa... | 4a0201a8ea79a2197552b38b19b27ee23295c23d | [
"C#"
] | 1 | C# | stijndelaruelle/glupartygame | a292daef2625a2cb000967a087818ec8e9f83d05 | e864ac697d832f36ffadd2f3c423b4a71926120c |
refs/heads/master | <file_sep>(function (window, angular, undefined) {
"use strict";
function logIn() {
return {
restrict: "A",
template: "" +
"<form ng-submit='logIn()'>" +
"<input type='text' ng-model='username' required>" +
"<input type='<PASSWORD>' ng-model='<PASSWORD>' required>" +
"<butt... | c70c9539c6b06f013d950abeddd76d4657d6fe08 | [
"JavaScript"
] | 7 | JavaScript | ParentJA/example-accounts-angular | 750999ef848b9de0a96004628658b1abe7f60068 | f5c748b50d220cb15adc6ed2642b32930d3dbe72 |
refs/heads/main | <file_sep># demo
springboot-demo
<file_sep>spring.application.name=demo
spring.cloud.nacos.discovery.server-addr=10.211.55.3:8848
spring.cloud.nacos.config.server-addr=10.211.55.3:8848
<file_sep>package org.example.enums;
/**
* Enum枚举的使用
* @author zhangchuan
* @date 2020-09-09
*/
public enum ColorEnum {
/**
... | 9029bb9fb7427477e23dd8198d5c4713cacea887 | [
"Markdown",
"Java",
"INI"
] | 3 | Markdown | zcIdea/demo | c9b218c7ecff48f07602777945f248cad6506356 | 349a6de103b22dd3973a8dd396ddd8a1f50a0a63 |
refs/heads/master | <repo_name>unnamed44/tera_2805<file_sep>/java/game/tera/gameserver/network/clientpackets/RequestServerCheck.java
package tera.gameserver.network.clientpackets;
import tera.gameserver.network.serverpackets.S_Visit_New_Section;
/**
* Пакет клиентский, для проверки сервера
*
* @author Ronn
* @created 25.03.2012
*/
... | 80b292849056cb4bf3f8f76f127b06aa376fdaaa | [
"Markdown",
"Java",
"SQL"
] | 418 | Java | unnamed44/tera_2805 | 6c5be9fc79157b44058c816dd8f566b7cf7eea0d | 70f099c4b29a8e8e19638d9b80015d0f3560b66d |
refs/heads/master | <file_sep><?php
namespace Rozdol\Loans;
use Rozdol\Dates\Dates;
class Interest
{
private static $hInstance;
public static function getInstance()
{
if (!self::$hInstance) {
self::$hInstance = new Interest();
}
return self::$hInstance;
}
public function __constr... | d9617ca5e8fee01105f9df3a6263fa5539378dfd | [
"PHP"
] | 10 | PHP | rozdol/loans | d8ddbd519ba84520ca5b955df15ad71565ed9226 | 08c140e0826043644a9a6e30be5eee7a5914f5ce |
refs/heads/master | <file_sep>var gulp = require('gulp'),
webpack = require('webpack-stream'),
serve = require('gulp-serve');
// Webpack
gulp.task('webpack', function() {
return gulp.src('./src/app/app.js')
.pipe(webpack(require('./webpack.config.js')))
.pipe(gulp.dest('./dist'));
});
// Web Server
gulp.task(... | 3fe4b86157bb6cc95094f362f0049f8532c7fb97 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | thecodingmachine/thequizmachine | 0be783ad9dea7a3915fd5ced27ef1f2a7fce634b | 5556fa2bffe8afda433bdb08b3e24155c591a085 |
refs/heads/master | <repo_name>notks/uni-webdev-lab-final<file_sep>/tptpobrazac.js
var ime = document.getElementById("ime");
var email = document.getElementById("email");
var telefon = document.getElementById("telefon");
var poruka = document.getElementById("poruka");
var form = document.getElementById("form");
var cartBtn = document.getE... | d108de631becd99c63fb2239aa81950a9ec49b55 | [
"JavaScript"
] | 1 | JavaScript | notks/uni-webdev-lab-final | 24f428f30b69e1aa99daae883407e629d1de5e5e | cb8095cd01c24a3c2deb001cead535c9cba71b70 |
refs/heads/master | <repo_name>natni/SIgnUpFormOnAndroidStudio<file_sep>/app/src/androidTest/java/com/example/form/MainActivityTest.java
package com.example.form;
import androidx.test.ext.junit.rules.ActivityScenarioRule;
import com.example.signup.MainActivity;
import com.example.signup.R;
import org.junit.Rule;
import org.junit.Test;
... | a2042f77752b32d1979c97c023c83c494fac0249 | [
"Java"
] | 1 | Java | natni/SIgnUpFormOnAndroidStudio | aee5246a7e7b78f91ae4bfcde8e1c076a4c6d541 | d37c7d66b6e1e481ae7a3b49dd18e2274747ffd0 |
refs/heads/master | <repo_name>torbedosquadron/Photo_Gallery<file_sep>/assets/scripts/jquery-func.js
$(document).ready(function(){
new_layer("#gallery .image a");
$("#gallery .image a").fancybox({
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'speedIn' : 600,
'speedOut' : 200,
'overlayShow' : true, ... | e469abae1f25aacba4d89702414589d8eddea0b6 | [
"JavaScript"
] | 1 | JavaScript | torbedosquadron/Photo_Gallery | c8d5a3b94e944ee9075abb38169bb25ef1dd7158 | fe347da5f0cf8386df7eecd2d36c72c65de1e97d |
refs/heads/master | <repo_name>dkgv/priority-queue<file_sep>/README.md
# priority-queue
A Java Priority Queue implementation with O(log n) time complexity for `remove(T)`.
## Example
```java
PriorityQueue<Integer> queue = new PriorityQueue<>(Integer::compareTo);
queue.offer(1);
queue.offer(2);
if (!queue.isEmpty()) {
... | af75220bed38968ea97dee52fa5c1552049f8acb | [
"Markdown",
"Java",
"Gradle"
] | 3 | Markdown | dkgv/priority-queue | c678898eaf48308f540f0e30ed36091f1bb1a49b | 319110ab351c654c015bb1c7faceb5b4bac72df9 |
refs/heads/master | <file_sep>#include <Keyboard.h>
void kbd_set_keys();
int row_col_key(int row, int col);
#define NUMCOLS 14
int cols[] = {
PIN_F0, /* ESC */
PIN_F1, /* F1 */
PIN_F4, /* F2 */
PIN_F5, /* F3 */
PIN_F6, /* F4 */
PIN_F7, /* F5 */
PIN_B6, /* F6 */
PIN_B5, /* F7 */
PIN_B4, /... | 4353170c8c8612d0db37082832b1fb33c9008faf | [
"C++"
] | 1 | C++ | charJe/power-user | eeaa72c0c180e6de57d34b411a66cf1af00e42d2 | d274371efe02883526aa530526803ff676863004 |
refs/heads/master | <repo_name>PIH/openmrs-module-mirebalaismetadata<file_sep>/api/src/main/resources/messages_fr.properties
openmrs.property.MESSAGE_PROPERTY_ALLOW_KEYS_OUTSIDE_OF_MODULE_NAMESPACE = true
${project.parent.artifactId}.title=Module de métadonnées Mirebalais
disposition.emrapi.admitToHospital=Admission
disposition.emrapi.a... | 6177c06b5107a9f25bc2120ab45669d07cfde8f3 | [
"Markdown",
"Java",
"Maven POM",
"INI"
] | 8 | INI | PIH/openmrs-module-mirebalaismetadata | 524f7c9c27754a2869878fdd5c049dbd8983c45f | abb6119c1658142e4a36e27ed598a655e2155f7a |
refs/heads/master | <file_sep># Dislexic
Los autores no se hacen responsables de ningún daño producido por el uso incorrecto de este programa ni por el mal funcionamiento del mismo.
## Descripción :
El script recorre el árbol de directorios del home, y para los archivos de texto plano (.txt), word (.docx) y openoffice (.odt) ... | 2727e1f5e395114c973fdfca07e882a1801f1b03 | [
"Markdown",
"Python"
] | 2 | Markdown | jbelamor/dislexic-program | cc3b74b1718fe5e7b654c5c475afe5cd1273e15d | c2c24f0ab359c726d3b29e97a53f2a5aa4f1f343 |
refs/heads/master | <file_sep>#!/usr/bin/env python
def draw_digit(segments):
digit = """
memo O O 1 AAA HHH
OO OO 1 F B M I
bank O O O 2 FGGGB MNNNI
a Y O O 2 E C L J
b Z O O 2 EDDDC LKKKJ
"""
allsegments = set()
for c in digit:
allsegments.add... | 88545d301220b32defd1b3423a2cad7b7be8650e | [
"Python"
] | 25 | Python | jbm9/dxsr8_serial | bb89f4df63c782ceabce35e2978ee7de55beee4b | 4407245447d4b2e99a8ca8d1d895cc635f0c1f59 |
refs/heads/master | <file_sep>package galekop.be.RC;
import java.io.IOException;
import controller.ManagerWindowController;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public cla... | f4085e31c8613f7552d02e3b4c04c64382a7d2d2 | [
"Java",
"Maven POM"
] | 4 | Java | MrGMan133/RC | d68f1404fa10808169c5c99f3a6b7419214afb32 | 0956874ebd82d927695f307a216f6bce35b9cf4e |
refs/heads/master | <repo_name>ichan8493/EternalDarkness<file_sep>/README.md
# EternalDarkness
<h2>Requirements</h2>
<a href="https://www.python.org/downloads/">Python<a/><br>
<a href="https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame">PyGame<a/><br>
<a href="https://www.youtube.com/watch?v=_GikMdhAhv0">How To Download<a/><br>
<img s... | ab6c379a57695dd7cc935b383e7bb875992b01c4 | [
"Markdown",
"Python"
] | 2 | Markdown | ichan8493/EternalDarkness | b54b42fc73af69533afae4bad5e623bd1514a11b | 0e66a1569502170f54b527f5b16bdc58d188655d |
refs/heads/master | <file_sep># Test Broccolli CO.
## How to use
1. Download the example [or clone the repo]
2. Install it and run:
```bash
npm install
npm run start
```
## Why does this repository exist?
This is the result of a code challenge that involved the following technologies: ReactJS, UI material, Flexbox and Rest API. The s... | ff2e04507d0cfbf88f9729087190f2cfdd7141f7 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | stvmachine/test_broccolli_co | 81ff8513fdfa386f2f72d396dc2ccd9625433eb3 | 44150ee74487117291a63ef3162b9414471cece8 |
refs/heads/main | <repo_name>esjchoi/UX_UI_HW_19<file_sep>/js/index.js
function myFunction(x) {
x.classList.toggle("change");
}
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
// Cl... | 77ed1ad5088fe5161e37b897a13abd65b7e37434 | [
"JavaScript"
] | 1 | JavaScript | esjchoi/UX_UI_HW_19 | 4be768a7b09be3d7f75c86cda8bf77cad70c2a29 | 7d3e178eba7822d48fdf1daa6eb912eecaac6ef8 |
refs/heads/master | <repo_name>rohitner/flask-yolo<file_sep>/server.py
from flask import Flask, url_for, render_template, Response
from darkflow.net.build import TFNet
from facenet.src import facenet
from facenet.src.align import detect_face
import cv2
import tensorflow as tf
import numpy as np
import pickle
from scipy import misc
app = ... | ac53e9f29dfcd122443d151db56f790b94e0e323 | [
"Python"
] | 1 | Python | rohitner/flask-yolo | d0ba0695584950e355ae374c1e593973b119127e | bd55271555f1c49f2a0cc8543f4b757c3b51a1c8 |
refs/heads/master | <repo_name>pcendo/achieve<file_sep>/app/controllers/application_controller.rb
class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
include SessionsHelper
before_action :login_check
def login_check
if logged_in?
@msg = "Current user:"+current_user.name
el... | 2fac4ef4f7e6f1a49716bb1e671188464bc96ef2 | [
"Ruby"
] | 3 | Ruby | pcendo/achieve | 8e8fd32d1d9078335374aac3f64f7b29045b9b2c | ad538df414866111f52d9b56b2474886d9313508 |
refs/heads/master | <repo_name>MarcosEOSS/502-PHP<file_sep>/HandsOn/Cap2/upload.php
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<title>Upload</title>
</head>
<body>
<form method="POST" enctype="multipart/form-data" action="upload.php">
<input type="file" name="arquivo" />
<input type="submit" />
</f... | 35e5311ae27b543cd38ffb836ce38f9a53d4b692 | [
"PHP"
] | 15 | PHP | MarcosEOSS/502-PHP | 0111eeea418f298545fd471777dcb70709366ce3 | 4dc3d2ea94e64d1ad21eafac1599a1084f8bbce0 |
refs/heads/master | <file_sep>var mongoose = require('mongoose');
var errors = require('../mongo/errors.js');
var keygen = require('../util/keygen.js');
var log = require('../log/log.js').getLog(__filename);
/**
* Sets the `shortId` to the object if it was not already set.
* @param {Object} data Object to set the `shortId` field to
... | 06eb3112dfc9f273157383a824b08f8c480006ce | [
"JavaScript",
"Markdown"
] | 35 | JavaScript | jeremija/plate-express | 5bd5aa7267e67c48ee4547d34ad0ae5fb148ae45 | cc3f2bcf7866c50be005d062aac08ce79c3146c9 |
refs/heads/master | <repo_name>rikonor/betterbot<file_sep>/index.js
var slackbot = require('node-slackbot');
function BetterBot(botToken, botId) {
this.botToken = botToken;
this.botId = botId;
// Use node-slackbot as api client
this.bot = new slackbot(this.botToken);
this.bot.use(this.handleEvent.bind(this));
this.handlers ... | 5d9fa95e51539b2935aed7021d6117aa1a9d083a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | rikonor/betterbot | 1af6d33746c92e29c307851b24da944c1fe38e5e | d3706fd1ee392817e56d8259fbb482cc7449e4b3 |
refs/heads/master | <repo_name>SkeltonMod/chatsite<file_sep>/chatapp/index.php
<?php
session_start ();
function loginForm() {
echo '
<div class="form-group">
<th class="nav" align="center"><img src="images/logo.jpg" width="200" height="150"></th>
<strong><marquee behavior="alternate">WELCOME TO COMPUTER SCIENCE DEPARTMENT F.C.... | 90fa16d28416c1b008d49acc4244068f03857ec6 | [
"Markdown",
"PHP"
] | 2 | PHP | SkeltonMod/chatsite | c7b6126b243515dfe49a8bbfbace871a3d71c457 | af503e5d049836d76e86f1352792c5afa6b8ed47 |
refs/heads/master | <file_sep>tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
brew "fzf"
brew "jq"
brew "p7zip"
brew "python"
brew "ssh-copy-id"
brew "sshuttle"
brew "tmux"
cask "android-platform-tools"
cask "google-cloud-sdk"
cask "firefox"
cask "google-chrome"
cask "iterm2"
cask "postman"
cask "visual-studio-code"
cask "vm... | b082a251f04191d8a265c1eeaf597d41d28b72fa | [
"Ruby",
"Markdown",
"Makefile",
"Text",
"Shell"
] | 6 | Ruby | yutayamate/dotfiles | 5a63f8c6d8433ed59245022fa062dbbd6ef5efa8 | b6bfd078583b65b5001ac9930de24c07022b483d |
refs/heads/master | <repo_name>andrewdownie/stat2040_majorassignment<file_sep>/Question 1/Question 1.R
#
# Read in the rice data
#
riceData <- read.csv(file="C:\\Users\\comma\\OneDrive\\School\\STAT2040\\stat2040_majorassignment\\STAT2040_Rice.csv",head=TRUE,sep=",")
#
# Q1a) Create box plots for both kinds of rice
#
boxplot(ri... | cb21f0ebdeb33e192c8b4185c3f4246b3a8d2c88 | [
"R"
] | 1 | R | andrewdownie/stat2040_majorassignment | b71e7f8a4c8fd31d03808b68d6e7bf65eeabcec5 | 1ea4f936066bf7c661b8246f29983089b1dea562 |
refs/heads/master | <repo_name>zhenmin-peng/MedGateDeployment<file_sep>/remove.sh
echo '--------------'
echo '- MedGATE -'
echo '--------------'
echo ''
echo '==> Removing MedGATE service'
docker-compose -f ~/MedGateDeployment/docker/docker-compose.yml rm<file_sep>/run.sh
#!/bin/bash
echo '--------------'
echo '- MedGATE -'
echo '-... | 718faecd9995ca1e495560fd9626dacdea510dcb | [
"Markdown",
"YAML",
"Shell"
] | 4 | Shell | zhenmin-peng/MedGateDeployment | db84214bfa7d1dbf3ba2a0239b77443f196833b4 | 1b82ba51d588767e95883028498b0ab1ffa97f27 |
refs/heads/master | <repo_name>ommyo/ommyo-rails<file_sep>/app/controllers/users_controller.rb
class UsersController < ApplicationController
respond_to :html, :json
layout 'member'
before_action :set_user, only: [:show]
def show
@omms = @user.omms#.paginate(page: params[:page])
if current_user == @user
@omm = Omm.... | 9b50d20ec88eb9a2abc670ca8aeb727afada37df | [
"JavaScript",
"Ruby"
] | 38 | Ruby | ommyo/ommyo-rails | 98fc743fd4bc9e7dc28ba04ab16181a96d0a2da1 | 3aae355a0b09a6ed6130434d2f66a6da38d36c97 |
refs/heads/main | <repo_name>Brostix/caja-de-excusas-1<file_sep>/index.js
function linea1(){
let who = ['The dog','My grandma','His turtle','My bird'];
let action = ['ate','peed','crushed','broke'];
let what = ['my homework', 'the keys', 'the car'];
let when = ['before the class','right on time','when I... | 61835274f99a06a159b21acdfe40524bdbf1a0bf | [
"JavaScript"
] | 1 | JavaScript | Brostix/caja-de-excusas-1 | 2958da596dc4405ac83ce91ff6a4cf195d986186 | 02d9864f1eaaa9733218f875bbd8f593e869d452 |
refs/heads/master | <repo_name>nychollas09/Curso-Alga-Works<file_sep>/Front-End/AlgaWorksUI/src/app/shared/services/validar-formulario.service.ts
import { Injectable } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { MessageService } from 'primeng/components/common/messageservice';
@Injectable({
providedIn: '... | 04694f4d1d18a36f71daa9fade82d2b9182397b5 | [
"Markdown",
"Java",
"TypeScript"
] | 8 | TypeScript | nychollas09/Curso-Alga-Works | c32045b759ead5feb002cce828085fac2e398939 | da949efd49b91bab85441410868921b6ff4c84b3 |
refs/heads/master | <file_sep>package BusinessLogic;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import dbUtil.DbHelper;
import dbUtil.IConnectionProvider;
import dbUtil.JdbcProvider;
import Entity.Order;
public class OrderLogic {
pr... | ade3aa098b144feaa75834537f9fcd0e54c837cb | [
"Java"
] | 5 | Java | JinfanYang/online-store | 73f075b35589cf3eb3cb221d910a6277a781874a | 7ac419f1ebc581c5ab22ee76e3d2f7eca5ddbccf |
refs/heads/master | <file_sep>package au.edu.uq.itee.comp3506.assn2.entities;
public class LinkedList<T> {
private int size; //size of the linked list
private Node<T> head; //head node of the linked list
private Node<T> tail; //tail node of the linked list
/**
* constructor of the linked list
* Runtime Complexity: O(1)
* Sp... | fd60506aea5c5dbc0edf4c51de146c318834019b | [
"Java"
] | 6 | Java | yifan0707/Call-Record | a26ec1f2183113cdb66843f0bd8657b265484889 | 6b117d4c0836b1ba2f0589d0a8a2ab67e6c9f61e |
refs/heads/master | <repo_name>noel3740/clicky-game<file_sep>/src/services/GiphyAPIService.js
import axios from "axios";
const giphyHost = "https://api.giphy.com/v1/gifs";
const apiKey = "<KEY>";
export default {
//Get a random gif from the giphy service
getRandomPicture: function (searchTerm) {
return axios.get(`${giphyH... | 145a41cae5d9114c223b1540a1c2d82b3ed426d9 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | noel3740/clicky-game | a18a38d8b2731cab69e65ca5b4c9f82cf0d35f32 | a69a6b1a910ede3ba997b01b972106773e19394d |
refs/heads/master | <file_sep>import asyncio
import aiohttp
from fpl import FPL
class FplSession:
def __init__(self, email, password):
self.email = email
self.password = <PASSWORD>
self.session = aiohttp.ClientSession()
self.fpl = FPL(self.session)
async def login(self):
await self.fpl.l... | 251c0c830ff800f981b0921762348f80c984c7f8 | [
"JavaScript",
"Python",
"Markdown"
] | 7 | Python | mikesjp/fpl-mini | 0ae62588d93fe405d8382fad6dfaa9d2021313f7 | 95a48767fbd8e636d6f72b36b788b6051ca7cb67 |
refs/heads/master | <file_sep>narrow<- read.csv("/Users/annazhu/PayWhatYouWant/Spring2016/AI_Thomascombined/mturkclose_multiplelines.csv", stringsAsFactors = FALSE)%>%
select(-X)
prepare <- wide %>% select(Group) %>% mutate(Q1 = "", A1a = "", A1b = "",
Q2 = "", A2a ="", A2b ="",
... | 6424501aa0eae92b1becf20a5dfd2221f59b6641 | [
"R"
] | 2 | R | thomasysun/GivingAndAppreciatingLab | 42a4b670f3c41635975d88c0f3350ba5a91d5277 | e512e500a32a6383404b781cf4378bee1fc3af2e |
refs/heads/master | <file_sep># Mutsuki
test
<file_sep>/*
* ゲームに不要な余計な処理を隠蔽する。
* 2011 / 07 / 28
* jskny
*/
// コマンドラインを消す。
#pragma comment(linker, "/SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup")
#include <DxLib.h>
#include <assert.h>
#include "GameWindow.h"
//---------------------------------------------------------
int main(int a... | f1a6b8f39488479e26eb0a6e38cae754b444b9da | [
"Markdown",
"C++"
] | 4 | Markdown | jskny/Mutsuki | f97db05ad49046e61d460729fe462bc5086c08b8 | 29112952958c4abcc85c4220024745482695298b |
refs/heads/master | <repo_name>wayne2k/Quill18creates_DragDropUI<file_sep>/Assets/DropZone.cs
using UnityEngine;
using UnityEngine.EventSystems;
using System.Collections;
public class DropZone : MonoBehaviour, IDropHandler, IPointerEnterHandler, IPointerExitHandler
{
public Draggable.ItemTypes dropType = Draggable.ItemTypes.INVENTORY;
... | 0f85662eecf63b87bf8c77d9d5d38bab90bc9fac | [
"Markdown",
"C#"
] | 3 | C# | wayne2k/Quill18creates_DragDropUI | 4d2d78a151013520a10b74ad8cffac1cd950e1e2 | 9172afdd58cb9cb51a8b68bc9dcfd892f082dc67 |
refs/heads/master | <file_sep>library(data.table)
library(ggplot2)
library(lubridate)
library(dplyr)
library(tidyr)
library(rebus)
zt <- function(v,na.rm=TRUE) {
return((v - mean(v,na.rm=na.rm))/sd(v,na.rm=na.rm))
}
gt <- fread("./data/GlobalTemperatures.csv") %>%
mutate(
dt=ymd(dt),
year=year(dt),
LandAverageTemperatur... | c5fdab77e4b896c888c642e67206d1644c0dd74d | [
"Markdown",
"R"
] | 2 | R | johanjordaan/ds_warming | 5d5e6ccf00589dd6388258c6b539f954ce398f18 | 0a42efe721ab0d9d204bb43e27f73f36a76e4e96 |
refs/heads/master | <file_sep>
// Part of https://todbot.github.io/blink1-webhid/
let canvas = document.getElementById('canvas_picker').getContext('2d');
let rgbinput = document.getElementById('rgb');
let hexinput = document.getElementById('hex');
let status = document.getElementById('status');
let canvas_picker = document.getElementById... | b898c87dbea62b00e630b9bdd5c7093dd4e70c23 | [
"JavaScript"
] | 1 | JavaScript | itnachos/blink1-webhid | 8600891ad594530215b7fabaaeebaaf17fa71e32 | 5937038258b9b83099978333986fcdb2a74a287e |
refs/heads/dev | <file_sep>var express = require('express');
var passport = require('passport')
var BearerStrategy = require('passport-azure-ad').BearerStrategy
let tenantID= `${process.env.tenantID}`
let clientID= `${process.env.clientID}`
let audience= `${process.env.audience}`
let options = {
identityMetadata: `https://login.... | 57dcef18e7373c153e20612af6f422b08ea46737 | [
"JavaScript"
] | 1 | JavaScript | chinazor-allen/az-api-example | b738c63135bc565df2788ac2af93b12b82906dbb | 9eca2e88c0581ab168401ae16d22cc1f682d6723 |
refs/heads/master | <repo_name>adamgreig/phabd<file_sep>/sandbox/snr.py
import numpy as np
import matplotlib.pyplot as plt
def add_noise(tx, snr):
""" Add AGWN to *tx* so it has SNR=*snr*. Returns tx+noise. """
tx_pwr = np.sum(np.abs(tx)**2)/tx.size
noise = np.random.randn(tx.size)
noise_pwr = np.sum(np.abs(noise)**2)/no... | 10a5f6598cd8895702a2e232d863e829baac4fd7 | [
"Python"
] | 2 | Python | adamgreig/phabd | 7dcbde0838f3a958d21fefb34e0c1459b07af21c | 8c829e9e3fac4af5c86c83dd43fa3fd31c83e740 |
refs/heads/master | <repo_name>mbarkhau/omnibust<file_sep>/requirements.txt
pytest==2.3.5<file_sep>/test_omnibust.py
from __future__ import print_function
import os
import sys
import time
import codecs
import tempfile
import omnibust as ob
try:
from cStringIO import StringIO
except ImportError:
from io import StringIO
PY2 = sys... | d4b0327b3d3d59462cd6636fc300b2dba143e71f | [
"Markdown",
"Python",
"Text"
] | 4 | Text | mbarkhau/omnibust | b18ef963e20efe067cd345021169f924d5911625 | 3dbbe48b4d15e956ecbce3748c4a277ce23e471c |
refs/heads/master | <file_sep>/**
* Created by XH on 2017/3/17.
*/
<file_sep>/**
* Created by XH on 2017/3/17.
*/
var a = 1; | b79e6d55e6327f23dba61db01aed5a9f0c987c6f | [
"JavaScript"
] | 2 | JavaScript | HAX1314/drag | ea606d8e5271cfce3afd05404b7174e508d2dfd9 | 5120cc3ee70d1246ef09ab92d789f21658aa7701 |
refs/heads/master | <file_sep>// PLEASE DON'T change function name
module.exports = function makeExchange(currency) {
// Your code goes here!
const coins={H:50, Q: 25, D: 10, N: 5, P: 1};
const res={};
if (currency>10000)
{
return {error: "You are rich, my friend! We don't have so much coins for exchange"};
}... | c0030a97f4a87b4f8d9b85039006fdfb1eabd0fe | [
"JavaScript"
] | 1 | JavaScript | Pozharitskiy/Money-Exchange | 2c38e7936b8ea54651a3bc1d7d345c9c67b7ffa3 | 24d73c3c28da585e359cd76eed3a5ea6964e1725 |
refs/heads/master | <repo_name>josemiguelhdez/Djikstra3<file_sep>/src/ldh/Test_Djikstra.java
package ldh;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import junit.framework.TestCase;
import org.junit.Assert;
import org.junit.Test;
public class Test_Djikstra extends T... | cf75b5beb85476c2ccaa19318b04d4e9298236e5 | [
"Java"
] | 1 | Java | josemiguelhdez/Djikstra3 | c823a8ad62073849982aade6ba17aaee211b091e | 403b2441279b8b3384a69b77c494d5c902acab5a |
refs/heads/main | <repo_name>mariliabreis/afunctiontorulethemall<file_sep>/afunctiontorulethemall/lib.py
def try_me():
return 42 | d91370bd150ee78180d0be295cc9299eecb9a46d | [
"Python"
] | 1 | Python | mariliabreis/afunctiontorulethemall | cc7b2cbb281e482329823414cea8b5441e0ca71e | 62050ad0b53c08e5bf44401e594abfbef583208b |
refs/heads/master | <repo_name>proofguru/simple-calculator<file_sep>/src/test/java/org/proofguru/com/Tester.java
package org.proofguru.com;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class Tester
extends TestCase
{
/**
* Create... | 96d225de2763c7e7b9b396e33da4a23087e128db | [
"Markdown",
"Java"
] | 2 | Java | proofguru/simple-calculator | b6410229d6c6cd9135fad6e72d6e6b37fd5b6289 | f106728ea26d1a411e8ed86c962c692dafa9a2e9 |
refs/heads/master | <repo_name>nare06/hackerrank<file_sep>/service-lane.rb
input = gets.to_s.split(" ")
sum = 0
(1..(input.first.to_i)).each do |i|
if (i.to_s) == (i.to_s.reverse) && (i.to_s(input.last.to_i))== (i.to_s(input.last.to_i).reverse)
sum+=i
end
end
puts sum
<file_sep>/gem_elements.rb
gem_elements = []
no_of_... | 09aeae5172e095c574fb3e280592535ea5a579e5 | [
"Ruby"
] | 7 | Ruby | nare06/hackerrank | e1a042e63f6fe59360d22960ca0aecddc7fb0f2d | b10260aeb90322abcf9e0ced4983390f56bb9b98 |
refs/heads/master | <repo_name>erisrp/Introduction-to-Programming---LAB<file_sep>/Assignment 05 - Pygame/app.py
# import pygame with all the special sub-modules
from pygame import *
# import menu.py
import menu
# import 'random' api to create random asteroid
import random
# import classes.py with all the class
from classes import *
d... | ec73bd06d564ce02d73d894231f014bc3b140d48 | [
"Python"
] | 13 | Python | erisrp/Introduction-to-Programming---LAB | cf7f6566335318d77458d037c0d2ce69750f3eaf | 28a032baa2930f71616211416ba1bedb163e645a |
refs/heads/master | <repo_name>limjcst/codefacer<file_sep>/README.md
# codefacer
This is an auto tool for [siemens/codeface] using the local GitLab repository
[siemens/codeface]: https://github.com/siemens/codeface
* Setup
Run `make install` to install codefacer. Edit /etc/codefacer.conf to fit your local environment.
Supposing tha... | a6fae512fcb9b44aa7911751d212a503688bae8d | [
"Markdown",
"C",
"Makefile"
] | 5 | Markdown | limjcst/codefacer | 22a9da9e23d9bf951c6eae41ff3a4cdece74b53a | 6baf473ba55acb5a4f2558c4375f973868f17485 |
refs/heads/master | <repo_name>mvpopa/codedeploy_test<file_sep>/scripts/beforeInstall.sh
#!/usr/bin/env bash
rm -rf /var/www/topgolf
mkdir -p /var/www/topgolf/app/public
| d34e7136e7976644952275fc306c2a494f8c50ad | [
"Shell"
] | 1 | Shell | mvpopa/codedeploy_test | 65a025496868aa77cfad859f66490be4b51d6d0c | e19418dd8cf6b423a266f98d61c5488f150cd80a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.