branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <repo_name>caleuanhopkins/portfolio-2015<file_sep>/app/js/modules/core/directives/core.client.directives.js
'use strict';
angular.module('core').directive('parallax', function () {
return {
restrict: 'A',
link: function parallax(scope, element, attrs) {
parallax();
$(window).scroll(f... | 0a3a472cf2e6bba5ff62c26c3af2888d637f13ee | [
"JavaScript"
] | 5 | JavaScript | caleuanhopkins/portfolio-2015 | adffb9b53f3cfb0cb5727d5cb84aa334b3013449 | 20d81d30abbbecc49da8d73df42c7c271bfa5eee |
refs/heads/master | <repo_name>jdiperi88/styled_components<file_sep>/src/Global.js
import { createGlobalStyle } from "styled-components";
import { normalize } from "polished";
const GlobalStyle = createGlobalStyle`
${normalize()};
html{
box-sizing:border-box;
}
*,*::before, *::after{
box-sizing:inherit;
... | be8820efa394664c1f6cf774ee7dad19d3688008 | [
"JavaScript"
] | 2 | JavaScript | jdiperi88/styled_components | 27b5cc07972d91740f0dc210ff9d1f5888830e7e | 74294e1bbde5835f223ff6ec161a8c3c105ea43a |
refs/heads/master | <repo_name>AJSO/Laravel-REST-API-Lumen<file_sep>/app/Http/Middleware/Authenticate.php
<?php
namespace App\Http\Middleware;
use Closure;
//defining a username and password
define('USERNAME','ecurut');
define('PASSWORD', '<PASSWORD>');
class Authenticate
{
public function handle($request, Closure $next)
{
... | 2ee2ac9ff28f34937090fd39e2f3c20a3d9af80e | [
"PHP"
] | 5 | PHP | AJSO/Laravel-REST-API-Lumen | 76764e54431c3630e727667be3c62f0828f5da87 | d06f16bf5791cbfd61ccdb15898ecc4dce0d77de |
refs/heads/master | <file_sep>import pytest
def test_1_that_does_not_need_session_resource():
print("test_1_that_does_not_need_session_resource")
def test_2_that_does(manually_session_resource):
print("test_2_that_does")<file_sep>import pytest
"""
Уровень фикстуры может принимать следующие возможные значения:
“function”,
“... | d0641518a452fba44bfc0c4cd39b4b3f7140d3a2 | [
"Shell",
"Python",
"INI"
] | 13 | Python | levkovalenko/testers_course | aa1f44922ca04fe050d08dfedabc862f4a4d2da6 | 883d4a4f8071a9d362a2788d64127fba77441b0b |
refs/heads/main | <repo_name>ThomasDev6/UbPrimeur<file_sep>/CODE/stock.php
<?php
require_once("connect.php");
$type = $_POST["type"];
$nom = $_POST["nomMarch"];
$ajout = $_POST["stock"];
if($type == "fru"){
$getQuantite = "SELECT quantiteFruit, idFruit FROM Fruit WHERE nomFruit = '$nom'";
... | 6485bea112fae28e3b057f4c4758519c7d8f0294 | [
"PHP"
] | 27 | PHP | ThomasDev6/UbPrimeur | 956fc200506de94e74a54d6099b34710520b38ae | b9703f893e7eafdc20c2828f03f2489f532c99ae |
refs/heads/master | <repo_name>AppStateESS/analytics<file_sep>/class/trackers/GoogleAnalytics4Tracker.php
<?php
/**
* MIT License
* Copyright (c) 2021 Electronic Student Services @ Appalachian State University
*
* See LICENSE file in root directory for copyright and distribution permissions.
*
* @author <NAME> <<EMAIL>>
* @license... | b8569b0b64dd205f6fd364c274cda377e3139a31 | [
"Markdown",
"SQL",
"PHP"
] | 11 | PHP | AppStateESS/analytics | dd61456f4815b521b777e0e22b9fe5cba54a0aef | f923ed322800d0c436630871e1dac49bb549dc92 |
refs/heads/master | <file_sep>public class Situation {
Node toExplore; // The node that needs to keep tracking
int alreadyExplored; // The number of crosses already explored
int stepsGiven; // The moves we've made so far (this is absolute and it's important to track traffic lights' state)
public Situation(Node toExplore, ... | 17f9fa02f2b46ef8203f5b9c454581a8288b1e6e | [
"Java"
] | 2 | Java | JaviAibar/LaberintosVieneses | cff4f5ad6928605bdb7fe1b18c302cf774c02782 | 9a45046490e889f36ea20c1659b719838835376f |
refs/heads/master | <repo_name>StN-/Proyecto1_200925270<file_sep>/ebr_200925270.h
//ebr_200925270.h
#ifndef EBR_H
#define EBR_H
/*
*
*
*
*/
#define SIGUIENTE_EBR(s) ((s)->part_next)
#define AJUSTE_EBR(s) ((s)->part_fit)
#define POSICION_EBR(s) ((s)->part_start)
#define ESTADO_EBR(s) ((s)->part_status)
#define NOMBRE_EBR(s) ((s)->par... | 55fa2f4fc5a1ddc9309038a09eb07c25dc8f7a0e | [
"C"
] | 20 | C | StN-/Proyecto1_200925270 | bab12128c5b2bb3c913c84c2c6d5c046df92abe2 | ee22c947467eb920434240951e6af9260d6d9340 |
refs/heads/master | <file_sep>import {React,useState,useEffect} from 'react'
import './ApartmentRent.css'
import ReactPaginate from 'react-paginate'
const HometownRent = () => {
const [data, setData] = useState([])
useEffect(() => {
fetch('/real-estate/get-by-category/townhouses_for_rent', {
}).then(res => re... | 19642261ec0803c7471f2834cdd51a97755ca7ba | [
"JavaScript"
] | 3 | JavaScript | huyquynh2302/RealEstate-Client | ea541451f8bd6517e8e0f770c9fb79b4123b28fe | c8f32381ae28a813b9f524b8011af8cf56dec98e |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
private bool isJumping = false;
[SerializeField]
protected Rigidbody2D body = null;
[Header("Jump Values")]
[SerializeField]
protected float jumpVertForce = 500f;
... | 4e7eea8538c4a3afdf26bbdeeff6af4e85f2283a | [
"C#"
] | 14 | C# | raz818/ImmersionCapstone | 7da0c2e94d67c961f547442311090a43ed406724 | 2ab2ab9bad4c226f2ab0bd09e780c544fffa0c62 |
refs/heads/master | <repo_name>gapeter/a2zz<file_sep>/customer.py
#!/usr/bin/python
# Import modules for CGI handling
import cgi, cgitb
cgitb.enable()
# Create instance of FieldStorage
form = cgi.FieldStorage()
print ("Content-type:text/html\r\n\r\n")
print ("<html>")
print ("<head>")
print ("<title>Online Registration Form</title>")
p... | f8cb40d931f9f122650d59cc6e764ffdb1f42c22 | [
"Python"
] | 4 | Python | gapeter/a2zz | 6bc6e8ef9eb1ef908d6be38668b796eb0024f4ac | cac1b2b4918ae5a86661d4e45d14f9f3881f5f99 |
refs/heads/master | <file_sep><?php
include "db.class.php";
print_r($dbObj);
exit;
$inAjax = $_GET['inAjax'];
$do = $_GET['do'];
$do = $do ? $do : 'default';
if (!$inAjax) return false;
switch ($do) {
case "checkMember":
echo time();
break;
case 'default':
die('nothing');
break;
}
?><file_sep>一个... | 7623aa19b948600d1e1fdf41248de778eb496ca5 | [
"Markdown",
"Text",
"PHP"
] | 4 | PHP | vdouw123/json-study | d30d69b323e1bddca4f011b9dc3ae23c48c639c9 | 3c80229c4b16182876d58f20012ae820e6789327 |
refs/heads/master | <file_sep># learning
https://www.w3schools.com/html/
https://www.w3schools.com/css/default.asp
https://www.w3schools.com/js/default.asp
<file_sep> function msg(){
alert("Hello Virgil!");
}
| 5efa7feeecebb0176883ff84839f759756d821c3 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Adrian01C/bogdan-project-participation | fbde689fd17ce004a19b81b1ee8f643f10de62cf | 86aa37c0c3bf42180de3b6cbcfd696aad1876b00 |
refs/heads/master | <file_sep>package tests;
/**
* Created by Nikolay on 19.07.2016.
*/
public class LoginTest {
}
<file_sep>package pages;
/**
* Created by Nikolay on 19.07.2016.
*/
public class DashBoardPage {
}
| 1df15b4ec9354c340c9dd615a9a75b7940215275 | [
"Java"
] | 2 | Java | nik40fox/PageObjectTestNG | 765d8f3fc7943c434a7f5c0207f5cba4a4ef3f10 | c22f4f66c63ecd2197d4ae75a68b9cd23b8acdd8 |
refs/heads/master | <repo_name>hanaffiridzwan/project<file_sep>/app/Http/Controllers/borangPenyeliansController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\borangPenyelian;
use App\user;
class borangPenyeliansController extends Controller
{
/**
* Display a... | 1aa0af903856b82d8ea0d9d207804e976f9f608f | [
"PHP"
] | 14 | PHP | hanaffiridzwan/project | 6baaf9edb554bcc680d48564d19ddd2aaddc1f4e | 58a864573aa76aa81dc62a85476087fc67749fcd |
refs/heads/master | <repo_name>bfsgr/webServerPy<file_sep>/README.md
# WebServerPy
A simple web server written in python. It only accepts GET requests and only sends 200 and 404 status codes.
* The default server port is 35698.
* The root is configured to return a index.html file in the directory.
* Every file inside the same folder (an... | 6917f7d3f45d27593a42e90f023ce7b0c9b57dc7 | [
"Markdown",
"Python"
] | 2 | Markdown | bfsgr/webServerPy | 98eb2b143f5e0a6dd79a61f2a6ec6dc5297dc137 | 8692e921f829c49ff72a0578372056c6ee8f230a |
refs/heads/master | <repo_name>Farkash/R<file_sep>/02-rmarkdown-structure-analysis/sd-burritos.md
San Diego Burritos
================
<NAME>
2018-01-31
The data
========
Kaggle: SD Burritos
-------------------
The data come from [Kaggle.com](https://www.kaggle.com/srcole/burritos-in-san-diego):
> Mexican cuisine is often the best food... | 003bcfb585baa82ee96186ccb20eafcafbacbdc2 | [
"Markdown",
"R"
] | 2 | Markdown | Farkash/R | b0817586e25074fa55cedfc584e6e43fa2a31c67 | 77c3420050219304c93e8dd6d7a600d56b9446cd |
refs/heads/main | <file_sep>import Discord from "discord.js";
import Event from "../base/Event";
export default class MessageCreateEvent extends Event {
constructor() {
super({
name: "messageCreate",
});
}
override async call(message: Discord.Message) {
if (message.author.bot) return;
... | e4404683d585f4506e339d781a1f2942bde960ac | [
"Markdown",
"TypeScript"
] | 13 | TypeScript | KineticTactic/discord.js-bot-template | 60894b669672c264d4c5b7a8a927cf8a2f557a99 | bef63747eb946f4099666283fac1761e7e042db0 |
refs/heads/master | <file_sep># Matrix: Convert to zero
Changes the corresponding row and column to have '0' values if the value is '0' in the input matrix.
## Exercise
* Design and implement a method that updates the input matrix. The input parameter is a matrix i.e. two-dimensional array contains only '0's and '1's. If any element in t... | 8280dd12752207351ae1665a8e5fdc23114e1f86 | [
"Markdown",
"Ruby"
] | 2 | Markdown | AdaGold/matrix-convert-to-zero | 433a8f7745c2ef00aafa161bfa63a8772b44f20d | 50a67b6121115acb373c036b7ea988cb7c47b581 |
refs/heads/main | <repo_name>qweasd1/health-home-stroybook<file_sep>/.storybook/main.js
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/preset-create-react-app",
// 'storyboo... | f631bc469850acacf9e2f36e96c517b8e9fe0aab | [
"JavaScript"
] | 1 | JavaScript | qweasd1/health-home-stroybook | 5b3ad42dd95f22fb171bdbd14541bcd6d2016075 | c188d665195ef1bb90192a9bb8130d0b74b9e063 |
refs/heads/master | <repo_name>maximarin/InteligenciaArtificialTP<file_sep>/entrega2.py
import itertools
import re
from datetime import datetime
from simpleai.search import (backtrack, CspProblem, LEAST_CONSTRAINING_VALUE,
min_conflicts, MOST_CONSTRAINED_VARIABLE)
from simpleai.search.viewers import WebViewer,... | 6cef2250f9fe9843107d1091e613e67cad6a2b5f | [
"Python"
] | 2 | Python | maximarin/InteligenciaArtificialTP | 25a938c278e518d6e53dd7848362bd1bf751cedd | 24b3eb14c75e889f9230517e1219d150a24da6aa |
refs/heads/master | <file_sep>package com.example.lame_tank_360
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 993a3ef36d10fdb94e5274db73d63290ab8c69ca | [
"Kotlin"
] | 1 | Kotlin | criusKer/flame_rocker_demo | 513659280ed329490c7681f978a203748fabb1f2 | 54e2cd1972859cea66f7efd5b11089c74c6cde58 |
refs/heads/master | <repo_name>blackrabbit99/kievjs<file_sep>/city_lang/assets_lvivjs.py
from flask.ext.assets import Environment, Bundle
def setup_assets(app):
assets = Environment(app)
assets.init_app(app)
css = Bundle(
"css/bootstrap.css",
"css/layout.css",
output="css/_style.css")
js = Bundl... | ad0c45e8dd23f37ffe8dee5cf540af54195d863b | [
"JavaScript",
"Python",
"Text"
] | 20 | Python | blackrabbit99/kievjs | df18a9a67a290199ac6ce7e9356b179c1b896205 | cbc0be813c0372b051a68d984cf450ee629a7ba7 |
refs/heads/master | <repo_name>maosmurf/coderetreat-20200122-session1-ocr<file_sep>/src/main/java/DigitParser.java
public class DigitParser {
public int parse(String[] lines) {
if (lines[0].charAt(1) == ' ') {
return 1;
}
return 0;
}
}
| 03095028f216648d9adb1daa21a1a8bf91bfbc74 | [
"Java"
] | 1 | Java | maosmurf/coderetreat-20200122-session1-ocr | 25d868e780318c3fdd3eb5c9ae6d83514917f175 | f483b73862feabb89438114c7f5eb57014b728dc |
refs/heads/master | <repo_name>zhaozeq/init_vue_project<file_sep>/src/store/mutations.js
export default {
// 更改 Vuex 的 store 中的状态的唯一方法是提交 mutation, 只能同步
increment (state) {
state.count++
},
multiple (state, payload) {
const { n = 2 } = payload
state.count *= n
},
mockRequest (state, payload) {
const { val = 0 }... | 022d79e01e9357f479be24c17f9675fca43d193e | [
"JavaScript"
] | 4 | JavaScript | zhaozeq/init_vue_project | 91cf31440e9f61680e0d3899cff38c7c925bcc0e | 04aa41fba0f94bcad271344bfff500132dfab04e |
refs/heads/master | <repo_name>hadSHOT/opendbc<file_sep>/can/tests/test_dbc_parser.py
#!/usr/bin/env python3
import glob
import os
import unittest
from opendbc import DBC_PATH
from opendbc.can.parser import CANParser
class TestDBCParser(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.dbcs = []
for dbc in glob.glob... | 729451e5fb73dd360caf2f99d558881a38e8b4b6 | [
"Python",
"Text"
] | 2 | Python | hadSHOT/opendbc | cc966f5c471e0bd08428c7d4ff2e4f843b983a20 | 2147c94cef69af8ab9bbd0f06af8ab96017d7610 |
refs/heads/main | <repo_name>CastellaniDavide/smartphone<file_sep>/smartphone - Copy.cpp
/**
* @file smartphone.cpp
*
* @version 01.01 2020-11-5
*
* @brief https://training.olinfo.it/#/task/ois_smartphone/statement
*
* @ingroup smartphone
* (Note: this needs exactly one @defgroup somewhere)
*
* @author <NAME>
*
* Contact: <E... | 3ec4da2ad90d8461dd9f0d8ad134d976e20d6245 | [
"C++"
] | 2 | C++ | CastellaniDavide/smartphone | acaa931864308379ab0d991d16ccebe56b13e0ff | d97069ade102897fbbe0831f7eac332c7f1e6f34 |
refs/heads/master | <repo_name>rajathagasthya/dotfiles<file_sep>/README.md
# dotfiles
My treasured dotfiles.
Symlinks common dotfiles such as `.vimrc`, `.tmux.conf`, `.zshrc`, `.gitconfig` to the home directory and installs `vim` plugins specified in `.vimrc` using `Vundle`. The script takes a backup of existing config files, if you hav... | 698220dff5b012916050836a3553986e9e9b2d11 | [
"Markdown",
"Python",
"Ruby",
"Shell"
] | 5 | Markdown | rajathagasthya/dotfiles | b6e4364fb36f505cd624aa0f1613bb6d88fcd2b5 | da20b7238655d4c09bd47112e5d976304fdff6e4 |
refs/heads/master | <file_sep>//
// LargePostTableViewCell.swift
// SpiltMilk
//
// Created by <NAME> on 06/05/20.
// Copyright © 2020 <NAME>. All rights reserved.
//
import UIKit
class LargePostTableViewCell: UITableViewCell {
//MARK: - IBOutlets
@IBOutlet weak var usuarioLargeImageView: UIImageView!
@IBOutlet weak... | 3324f718bbbdab4b39cebe82a684046888db6a99 | [
"Swift",
"Markdown"
] | 32 | Swift | beacarlos/Spilt-Milk | ad94916a05cf54d9013ef0153e64e79bb10991cd | 11354e02ee804b444d198372d5fa784c94a33f78 |
refs/heads/master | <file_sep>import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
import { Actions, createEffect, ofType } from '@ngrx/effects';
import { of } from 'rxjs';
import {
catchError,
concatMap,
debounceTime,
map,
switchMap,
tap,
} fr... | 5b9677e9e6dc03166cc39df76d0064ed8e987fa9 | [
"TypeScript"
] | 20 | TypeScript | jrdutton/rdt-templates | 9d87f01c47a5999a5a8f86c207b45449f1936078 | da234429ce03e4d606a8695cb30eb8935c14a6b8 |
refs/heads/master | <file_sep>"""
Student: <NAME>
ID: 316011683
Assignment no. 4
Program: grades.py
"""
def get_students(fileName):
'''return a students dictionary sorted by id keys '''
students={}
s = open(fileName, "r")
#iterate throught every line, split the data into a list
for c in s:
ls=c.split()
if... | b260f572c57369c10279fa541308f36077ae3ba0 | [
"Python"
] | 18 | Python | nogaanaby/python-mmns | 3e24a050bb7335b2c0ec6aa3e55489778204c048 | a510eaa6862f8a61d6326b6995806155d075cd69 |
refs/heads/master | <repo_name>kumar-turlapati/qbsites-app<file_sep>/src/FrameWork/Constants.php
<?php
namespace FrameWork;
class Constants {
}<file_sep>/public/js/app.js
$(document).ready(function(){
AOS.init({
duration: 800,
easing: 'slide',
once: false
});
$('.cartPlus').on('click', function(){
var thisId = $(this).... | 5d3819726bdd86d1e11ead4f3fbe4ab842769cc1 | [
"JavaScript",
"Markdown",
"PHP"
] | 18 | PHP | kumar-turlapati/qbsites-app | eaff19e67420dc42b105c04f1c7bc116e8ecca06 | 5b7a0df91d6d837723583c47af8ef037d2affe1d |
refs/heads/main | <repo_name>saiprabhath2002/weather_report<file_sep>/app.py
from flask import request,render_template,Flask
import requests
app=Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@app.route('/weather',methods=['POST','GET'])
def weather():
url='http://api.openweathermap.... | 1d516d5f755c4d5d379e2e848218cf69513205f5 | [
"Python"
] | 1 | Python | saiprabhath2002/weather_report | 6c191c33bd635222a8b15675ddebe50a2075871a | e20a14ab82e82012c12c5794800653f9e01cdb8d |
refs/heads/master | <repo_name>jachiu555/recastly-redux<file_sep>/src/config/youtube.example.js
// Put your YouTube API keys here!
var YOUTUBE_API_KEY = 'YAIzaSyDmSszllnLOWLmbxFe5EiPLaYDhG7LO8oY';
export default YOUTUBE_API_KEY;
| 98b764cf8ac0a38de77c995dd8b6144111304d3b | [
"JavaScript"
] | 1 | JavaScript | jachiu555/recastly-redux | ca3effccad9f383f6796a5b44d9ab8c98f0aaa4d | 06f34390dc6351a1d62fc0dfd713a0d197e3d190 |
refs/heads/master | <repo_name>Greved/selenoid.client<file_sep>/Selenoid.Client.Tests/Infrastructure/Common/List/TestListItemConverter.cs
using Selenoid.Client.Infrastructure.Common.List;
namespace Selenoid.Client.Tests.Infrastructure.Common.List
{
public class TestListItemConverter : ListItemConverterBase
{
public TestL... | 3cd63d961d6704e7a6788f115f29ae64052a626d | [
"Markdown",
"C#"
] | 19 | C# | Greved/selenoid.client | e91ebd6e52ea2e32d94c454dcf6807a956cf4ce2 | abccf306c77e7885447ef82c6b54f7be2ffdc8c2 |
refs/heads/master | <repo_name>t-mat/vlc-pause-click-plugin<file_sep>/pause_click.c
/*****************************************************************************
* pause_click.c : A filter that allows to pause/play a video by a mouse click
*****************************************************************************
* Copyright (C) 20... | 12ae60c0587da0728ace6a2366e67e398c12abb6 | [
"C"
] | 1 | C | t-mat/vlc-pause-click-plugin | a4940a6ffec7acdf16b1b878ffb9ef6487322ab2 | 6576047ba413d7da879a288365d90a4aa5e3d393 |
refs/heads/master | <file_sep>#!/usr/bin/python2
import argparse
import datetime
import glob
import os
import sys
from yRNA_bin import yRNA_lenDist, \
yRNA_fragDist
def check_output_directory_path(outPath):
'''
holder
'''
if not os.path.isdir(outPath):
print '\nERROR: The input directory doe... | b6e3d15b7e908d8cecd756b4d6185f9f325721f6 | [
"Python",
"R"
] | 5 | Python | Sethupathy-Lab/yRNA_analysis | 15f3f8468257464ed707c58320d847df2755b631 | aa9e1bf7741cbe10dc56fb6e97d8ac63a97623f7 |
refs/heads/master | <file_sep>import json
import os.path
import logging
## Class that mantains the configuration
class Configuration:
## Config parameters parsed here
_telegramToken = None
_listTelegram = None
_mode = None
_gtm = 0
def __init__(self):
self._telegramToken = ""
self._listTelegram =... | ea85792789ecdf1a10aa4f3073b329198a5e35f6 | [
"Python"
] | 4 | Python | 20120315PRF/20120315PRF_BT1 | b14a90a9a3bc7bac980ec4f3ca0b088f53f5681e | 8f08a2fb09161ecb21dc54d69c1a610b9d0c6e77 |
refs/heads/master | <file_sep>//Fajl: KernSem.cpp
//definicije metoda klase KernelSem
#include "KernSem.h"
#include "semaphor.h"
#include "schedule.h"
#include "Loom.h"
#include "switch.h"
KernelSem::KernelSem(int init)
{
PCB::kernelSwitchDisable();
blocked = new Loom();
value = init;
shouldIncValOnWakeUp = 1;
PCB::kernelSwitc... | 23d9b01dc2642f6cc4abba8718c542775e1e508f | [
"Markdown",
"C",
"C++"
] | 26 | C++ | OnionBurger/Threads | 943d32c0ddf54063c87001821f7ad6f47af1c0b0 | 604828f9e4c7d308544b26773a2fea46e97292af |
refs/heads/master | <file_sep>// inspired by https://exercism.io/tracks/javascript/exercises/etl/solutions/91f99a3cca9548cebe5975d7ebca6a85
const input = require("readline-sync");
const oldPointStructure = {
1: ['A', 'E', 'I', 'O', 'U', 'L', 'N', 'R', 'S', 'T'],
2: ['D', 'G'],
3: ['B', 'C', 'M', 'P'],
4: ['F', 'H', 'V', 'W', 'Y'... | f0a556a31f4c5a26a590307d3d7e823ecf8a5e09 | [
"JavaScript"
] | 1 | JavaScript | LC101-May-2021/assignment-2-scrabble-scorer-lxscurry | e8ca1d55399ebe075fe4c355f04d19a5e9a9dccd | 4b8958dd6e40b8d342660b7febc9514724c547b4 |
refs/heads/master | <file_sep>package com.ouc.onlinexam.service.admin;
import java.util.List;
import com.ouc.onlinexam.dao.admin.CourseDao;
import com.ouc.onlinexam.dao.admin.ICourseDao;
import com.ouc.onlinexam.po.Course;
public class CourseService implements ICourseService{
private ICourseDao icd= new CourseDao();
@Override
public... | 0c6e3b7dc5d861a240284c697ea024da874209eb | [
"Markdown",
"Java"
] | 24 | Java | PYGang/Driving-School-Test-System | db60521cb7f6e717dce1919893920ce8bca356cd | 66a6262f23f46d0cee7597f964b6a85f5c7c08cc |
refs/heads/master | <repo_name>bazhenov/linear-counter<file_sep>/tests/stream_summary.cpp
#include <gtest/gtest.h>
#include "stream_summary.hpp"
using namespace std;
TEST(StreamSummary, shouldReturnCountersCount) {
StreamSummary summary;
summary.offer("first");
summary.offer("second");
ASSERT_EQ(2, summary.getCountersCount());
}
T... | 1f7bc0d0388b2a729e1c1d9c9246fe069ab05d64 | [
"Markdown",
"CMake",
"C++"
] | 9 | C++ | bazhenov/linear-counter | 6c5a486cbb9e46865a38d23c29ab6d432ac483e7 | cbd96836828251ccc2084dac87059d5afc81ff59 |
refs/heads/master | <repo_name>adityasingh1995/TheWiki<file_sep>/myorm.py
from google.appengine.ext import db
from string import letters
import random
import hashlib
##### page stuff
def page_key(name):
parent_name = name+'_parent'
return db.Key.from_path('pageparent', parent_name)
class Page(db.Model):
name = db.StringPrope... | b9176bdbac3530a46271b4007dfa87b066a0c968 | [
"Python"
] | 3 | Python | adityasingh1995/TheWiki | 58e7875ee82bc2b9e652e0191fa61479c94b39c1 | af7f56b31c469790b19c941903c9e875fe226397 |
refs/heads/master | <repo_name>AttilaVM/rpi-exstreamer-control<file_sep>/src/rpi-linux-hiassoft/build.sh
#!/bin/bash
# Yous should run this script at the kernel source directiory, you will also need a cross tool-chain installed at /opt/pi
# Make sparet dir fof deployable files
if [ ! -d files ];then
mkdir files
fi
# export path pre... | f0c08d3f3a4cefe31a926875aa95a40e82be3875 | [
"Markdown",
"Python",
"Shell"
] | 3 | Shell | AttilaVM/rpi-exstreamer-control | a277aa6e52e55755c5e806540c19a734e82ae186 | eefddb3037593d6afab9008e29e6fee75a8015cf |
refs/heads/master | <repo_name>markeu/capstone-frontend<file_sep>/src/store/reducers/feedReducer.js
import { updateObject } from '../../utilities';
import { FETCH_FEED_FAIL, FETCH_FEED_SUCCESS, FETCH_FEED_START } from '../actions/actionTypes';
const initialState = {
feeds: [],
error: null,
loading: false,
};
const fetchOrderStart =... | 6586cf3de17801bc1095d1aae95c8aa0972f4590 | [
"JavaScript"
] | 6 | JavaScript | markeu/capstone-frontend | 400c7c90f4c22e414ceeade392d50eed6291808b | 1ea1ffa948639c7d020a1efc0542693e0e74183e |
refs/heads/master | <file_sep>package com.frame.model.activity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.dhh.rxlifecycle2.RxLifecycle;
import com.dhh.web... | 9fde4dcbc50da3d8fe841777d05acebfb263b25e | [
"Java",
"Gradle"
] | 14 | Java | umqmrz/FrameWorkModel | 27e6e42f23bcb5152b56f576fc6233516373c775 | 1741099ee1040c5a908ba82cf63c6e12e1371821 |
refs/heads/master | <file_sep>
titanic_analysis <- read.csv("D:/GitHub-2/Dataset/titanic.csv", header = TRUE, sep = ",")
View(titanic_analysis)
table(titanic_analysis$Survived)
table(titanic_analysis$Sex)
survived <- table(titanic_analysis$Survived, titanic_analysis$Sex)
survived
barplot(survived, col = rainbow(2), beside = T, le... | 67d147ae05ecd09eb3ea9cf9d62872b39a4d7ad4 | [
"R"
] | 1 | R | mahendra-16/R-Assignment-1 | 89535ebaefd684b2379ed368a088bf497a75cf38 | 0c776a6f7716be28e47ec4de19b0fee012f5e9f6 |
refs/heads/master | <file_sep>function GestationalAgeWeeks()
{
var MILLISECONDS_IN_DAYS = new Number(86400000);
var us_EDD = '${Working estimated delivery date}';
var us_date = '${Date of ultrasound}';
var estimateDeliv = new Date(Date.parse(us_EDD.replace(/-/g, '/')));
var ultrasoundDate = new Date(Date.parse(us_date.replace(/-/g, '/')... | c98253cfb2e96dc1ffa36c0b2c084ba1cc8f3d9c | [
"JavaScript"
] | 1 | JavaScript | AquaSun/NetBeansProjects | e9c87847d34d19c0b691ba4a86b623135463098f | 76109e62d4b9a16592f794a3fcacc0905cab8644 |
refs/heads/master | <repo_name>danielHarris8/danielHarris8.github.io<file_sep>/js/story.js
const area = document.querySelectorAll("section");
//const by = document.querySelector("body");
const observer = new IntersectionObserver(
entries => {
entries.forEach(entry => {
if (!entry.isIntersecting) {
ret... | c14363aa70821fe423813aef0a35847098a04ee8 | [
"JavaScript"
] | 1 | JavaScript | danielHarris8/danielHarris8.github.io | a8a6a2623296a38042230ebc93e049a65d8a8c7c | 04c9061c79df18c9f52836a64684b3deb6e5495c |
refs/heads/master | <repo_name>mtgill/LetterLoops<file_sep>/LetterLoops/Program.cs
using System;
using System.Collections.Generic;
namespace LetterLoops
{
class Program
{
static void Main(string[] args)
{
List<string> letterList = new List<string>();
Console.WriteLine("Please enter a group... | cd4a9d7a077921a8db847baf5d8b372fe780b52a | [
"C#"
] | 1 | C# | mtgill/LetterLoops | 689859eae25fbcbf7c516c530bd6b005af580d95 | 27bbd7b98c4ecdc2e22dd73e4412000028c903b0 |
refs/heads/master | <repo_name>avulachandrashekar/notebookApp<file_sep>/src/components/Grid.js
import React, {Component} from 'react';
import Single from './Single'
class Grid extends Component {
displayItems(){
return this.props.notes.map((note) =>
<Single
key={note.Id}
note={n... | 061bdbb6907a64a9b0adf49cdcf39a72faf56364 | [
"JavaScript"
] | 6 | JavaScript | avulachandrashekar/notebookApp | 09fe7684552ab8d23cbe0797e8db8c55c0e535a9 | 3679ca74077546327d00555bb7fbc0b5fdf7f821 |
refs/heads/master | <repo_name>LuigiAndMario/Clouds<file_sep>/src/CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
PROJECT(clouds)
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
add_executable(clouds clouds.cpp vtkEasyTransfer.hpp)
target_link_libraries(clouds ${VTK_LIBRARIES})
<file_sep>/README.md
# Clouds visual... | ce2674f279e04f7bd48e9e95e63f99bb9c4b9486 | [
"Markdown",
"CMake",
"C++"
] | 3 | CMake | LuigiAndMario/Clouds | 7a15ac20d343cbc3832a6496f39a4177f1b44453 | 1a2ddfaf7b4426ea955c0697e8c9734d5a5c77e2 |
refs/heads/master | <file_sep>This is a CLI game that gives a user 5 attempts to guess a number between 1 and 20.<file_sep>the_number = rand(1...20)
attempts = 0
guess = 0
puts "Hello! What is your name?"
player_name = gets.chomp
puts "Nice to meet you, #{player_name}."
puts "I am thinking of a number between 1 and 20."
puts "You have 5 ... | a38c40f8d9106f54ad3280933524cf8deb18ea21 | [
"Markdown",
"Ruby"
] | 2 | Markdown | cmcmcmcm/ruby-guess-the-number | 94c2d4e2466181e7ab6bd4db02a1c7347c28d700 | 2ff74bc2e31714d0a216edc02e42889cc6b4394f |
refs/heads/master | <file_sep>Countdown/Countup Timer
====================
A simple timer that counts up until or since a given date.
Prerequisites
-----------
* [Bower] - A package manager for the web
* [Node.js] - Event-driven V8 Javascript runtime
Installation
-----------
```sh
bower install
npm install express
```
Usage
-----
```s... | 0f8ddbdb8c39aa383ea611ae191c1457d96703b0 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | imjohnbo/countdown-countup-timer | e8d30756b70410137af1860a1c1eff4b034e004d | c47cbc555586319ada903584f1ee49c3ea8cfd43 |
refs/heads/master | <file_sep>### R code from vignette source 'rspear.Rnw'
### Encoding: UTF-8
###################################################
### code chunk number 1: rspear.Rnw:42-43 (eval = FALSE)
###################################################
## install.packages('rspear')
###################################################... | fe7ff6e027ee77ccbd4e2c96b9ece1588a040466 | [
"R"
] | 1 | R | cran/rspear | bb586ee84e72bd3507baa3e4079c4ca5d9c767a2 | 16cf67681282c8089f05378f3d12bdc5fc42be73 |
refs/heads/master | <file_sep>package org.lff.client.netty;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.jboss.netty.handler.codec.http.*;
import org.lff.client.callback.DNSCallback;
import org.lff.common.messages.RSAEncryptedRequestMessage;
import org.lff.common.messages.RSAEncryp... | c44980e376bf1fb260ad07671e282574f4721f2c | [
"Markdown",
"Java",
"Ant Build System"
] | 13 | Java | lff0305/DNSRelay | 266e994dd5342d137de9c7cd859644510429c083 | 248b3c4786e1412f59e00e0dbb18072f3c817cc8 |
refs/heads/master | <repo_name>kokhung0802/Solving-Cartpole-DeepQNet<file_sep>/myfile.py
# This is a test file
def experiment():
print("Helo")
# new changes to the file
# This is version 2.0
# This is version 3.0
| c51dfae21dae28cb8326550c673359178fc2ff64 | [
"Python"
] | 1 | Python | kokhung0802/Solving-Cartpole-DeepQNet | 8f85a2beeec38d5e8258dd29177ece3add1a635c | a07a1c2ade25ee16d625b987396f1df958c229e1 |
refs/heads/master | <file_sep>package cn.lemonit.lemix.util;
import android.content.Context;
import android.os.Environment;
import java.io.File;
import java.io.FilenameFilter;
/**
* Io相关的工具类
*
* @author liuri
*/
public class IoUtil {
public static boolean isSDCardExist() {
return Environment.getExternalStorageState().e... | ffa7f74da37afabefb0b15a6d2c54da19a9a22ce | [
"Markdown",
"Java",
"Gradle"
] | 3 | Java | LemonITCN/mixer-android | c4c0920e93d56c0f1390ace00d57e2bb1a956332 | e05b80667fc3e38d447d7c02751a068a9a06025c |
refs/heads/master | <file_sep>/* string_startswith.c
<NAME> - 05/10/2016
*/
#include <stdio.h>
/* string_startswith(s, prefix)
Test whether the string s starts with the string prefix.
If so, return 1. Otherwise, return 0.
Pre-conditions:
s and prefix are valid, null terminated C strings.
Return value:
1 ... | a9c55f3485b979921c9eb26d28bb65b5557dd218 | [
"C"
] | 1 | C | JVerwolf/Assignment_1 | 7dd689cf86ffbbbee00a2ac694b149103fb1d739 | 1825de3c9a69e0667d6b3fa03ff2f036d54627a1 |
refs/heads/master | <repo_name>AdrenalineCoffee/ArduinoSketch<file_sep>/Sumo/Sumo.ino
#include <Ultrasonic.h>
Ultrasonic ultrasonic(11,12);
int IN1 = 7; // Input1 подключен к выводу 5
int IN2 = 6;
int IN3 = 4;
int IN4 = 5;
int ENA = 9;
int ENB = 3;
int b1 = 2; // Бампер слева
int b2 = 10; // Бампер справа
int IRpin = 3; // ИК передний... | 151d2b53c9972461ea58a76fe13b3061ee9a901b | [
"C++"
] | 1 | C++ | AdrenalineCoffee/ArduinoSketch | 215e7089fde50a309b42a3497e1db185333ded94 | cdf4823dbd7852d0703930c1a0da43704a148cf9 |
refs/heads/master | <repo_name>huangtinglin/speech-processing-<file_sep>/Lin/何老师/ReadMe.txt
========================================================================
控制台应用程序:何老师 项目概述
========================================================================
应用程序向导已为您创建了此 何老师 应用程序。
本文件概要介绍组成 何老师 应用程序的每个文件的内容。
何老师.vcxproj
这是使用应用程序... | 521b7c2521943254568dda4fb97f49c1903711bb | [
"Markdown",
"Text",
"C++"
] | 3 | Text | huangtinglin/speech-processing- | ec4519da0ee3dac43aaf1e6b9ccf68ea49fb0f59 | e8ef9705b74f31f0d1923497e6f48ffb45d53c0a |
refs/heads/master | <file_sep>(function () {
var app = angular.module('app', [
'roberthodgen.logger'
]);
app.config(['LogProvider', function (LogProvider) {
/**
* LOG_LEVELS
* May be configured by setting.
*/
LogProvider.LOG_LEVELS = ['warn', 'info', 'error'];
/**
* LOG_LEVELS
* Add a s... | c86b8b1b70695a803631c152f992c0b68b822895 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | roberthodgen/logger | 846ba160301ddcf8b1dcb8fb5782938709f80510 | bae1c13fa8a665038c3ce4688346787c1154b353 |
refs/heads/main | <repo_name>jobggun/a2s-check-docker<file_sep>/requirements.txt
certifi>=2021.5.30
chardet>=4.0.0
docker>=5.0.0
idna>=2.10
python-a2s>=1.3.0
requests>=2.25.1
six>=1.16.0
urllib3>=1.26.5
websocket-client>=1.1.0
<file_sep>/app.py
import socket
import docker
import os
import a2s
import time
print('Target Container Name:',... | e77b0ab3892fab1924024a406b36747e5c487291 | [
"Python",
"Text"
] | 2 | Text | jobggun/a2s-check-docker | 1d79b9ce25bc72620cb0d185382aa8ceee67fcfb | e16353e8af995682be646c3327c1bc9b3861a995 |
refs/heads/master | <file_sep>
#include "Vec_3D.h"
#include <math.h>
#define PI 3.1415926535897932384626433832795
#define PIdiv180 (PI/180.0)
//Compute euclidean lenght of the vector from the origing
inline float Vec3d::lenght()
{
//Vec3d RetVec;
return sqrtf(((this->x *this->x) + (this->y *this->y) + (this->z *this->z)));
}
//Cross... | 2b703dc1e5020bb408b2a6e57cc5b80edf98ae1a | [
"C",
"C++"
] | 13 | C++ | infiBoy/EshcerRoom | c846bed8425a822daa600bccd52762e63a5a1e9a | d32af21435a87b741fcdefadd41c3077ced68400 |
refs/heads/master | <repo_name>mathsyouth/the-practice-of-programming-solutions<file_sep>/Chapter1/exercise1-5.md
The values returned by `read(&val)` and `read(&ch)` depend on the order in which
the arguments of `insert()` function are evaluated.
<file_sep>/README.md
# The Practice of Programming Solutions
Provide high quality solutions t... | 6f0d6d7e2bcb72c4b9de94963f934b1101612f58 | [
"Markdown",
"C"
] | 5 | Markdown | mathsyouth/the-practice-of-programming-solutions | 8ecc8025596a6665e13f2be865199383cc5ca1f4 | 35c2413a2c989f883cc43e1c89683a2e5bde221e |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\DetalleIngreso;
use App\Http\Requests\IngresoFormRequest;
use App\Ingreso;
use Illuminate\Http\Request;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Input;
class IngresoController extends Controller
{
publ... | 3381eb7abd9553c52ee694204712f434d28587e5 | [
"PHP"
] | 3 | PHP | devsantoshm/app-ventas | 2f064249a6ef4c219bd36a43abdc9872aad89367 | d11c03961c292d4561ad3f6d70e32be85427f58e |
refs/heads/master | <repo_name>jhonvc/Realm<file_sep>/app/src/main/java/com/example/tecsup/myapplication/MainActivity.java
package com.example.tecsup.myapplication;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.Preference;
import android.support.v7.app.AppCompatActivity;
import androi... | 93e084d3cfbfbe57a125fc6550d27f6a4ee2b8e6 | [
"Java"
] | 1 | Java | jhonvc/Realm | 8d6e78b57e128bf9c2efd818ef0c919dc8fcee68 | 503b30cab433565b5a051009e35e1b056831ecab |
refs/heads/main | <repo_name>wzj207/https-github.com-wzj207-Identifying-Habitat-Elements-from-Bird-Images-Using-Deep-Learning<file_sep>/train55.py
from __future__ import print_function, division
import torch
import torch.nn as nn
import torch.optim as optim
from torch.optim import lr_scheduler
import numpy as np
import pandas as pd
impo... | 02199c16806329b472b84b322afdfc175d4021d0 | [
"Python"
] | 4 | Python | wzj207/https-github.com-wzj207-Identifying-Habitat-Elements-from-Bird-Images-Using-Deep-Learning | 2c3f317c0dbc122724166aeb0209dc1f77714b2e | a72cf11c3087a8eb7b6e82104d7e03e0ade177e5 |
refs/heads/master | <file_sep>from django.contrib import admin
from features.models import Info
# Register your models here.
class InfoAdmin(admin.ModelAdmin):
list_display = ["names", "contact","interests"]
admin.site.register(Info, InfoAdmin)<file_sep>from django.db import models
# Create your models here.
class Info(models.Mod... | ba82d4bbe763be9798ec962478fec4fb381f919e | [
"Python"
] | 2 | Python | shiwangi16/python-and-django- | 15261bcac9207de3c4766993c38614c5b65cc9e1 | 40db614dff43fd561536fbac8d59d6a63a4f4083 |
refs/heads/master | <repo_name>Theosakamg-Sandbox/demojenkins3<file_sep>/README.md
# Demo-Jenkins
projet de demo CI/CD avec tests.
<file_sep>/src/main/java/com/epsi/mycal/Application.java
package com.epsi.mycal;
/**
* Application launcher.
* @version 1.0
*
*/
public class Application {
/**
* Entry-point of application.
* @p... | aeeb867dcf73b489c9cce56cf57b9807d5437b73 | [
"Markdown",
"Java"
] | 2 | Markdown | Theosakamg-Sandbox/demojenkins3 | b4262d2245b9745a2db3f8951864c3cfdee92f76 | 76ff7ceab05d898c95c2e66fc28ebba41af2d87e |
refs/heads/master | <repo_name>amyljb/MVC_3<file_sep>/main.lua
require "CiderDebugger";
require "util"
local contentDataTable = {}
local currentPage = 1
local totalNumPages
local view = display.newGroup()
local function clearView()
display.remove(view) -- cleanup
view = display.newGroup()
end
local function getImag... | c5fc8e7da120b2c6bac6d8187ea639c296b07e9d | [
"Lua"
] | 1 | Lua | amyljb/MVC_3 | e39e8c30d223036c0c1f4b9fd040783ca2da2899 | 5084b0e37c54909c236b336d790fefc512b91c8b |
refs/heads/master | <file_sep>package com.sku.hoony.calculatorapplication;
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 {
Button btn... | 421e2d00f26c1859e41f1bd9d331bee3d4957d8a | [
"Markdown",
"Java",
"Text",
"Gradle"
] | 16 | Java | KimHunJin/GravityStudy | 43d6954e6effa48847db7b0b3da6c1622e4621e0 | c81f14e926461ec4b8fe0234dbeb4aa8a51182b0 |
refs/heads/main | <file_sep><h1>Jogo da cobrinha</h1>
<h2>Este projeto é parte do curso HTML Web Developer da Digital Innovation One.</h2>
<h3>Então o projeto propõe a recriar o jogo da cobrinha utilizando HTML, CSS e JAVASCRIPT.</h3>
<p>Aprendi a criar o jogo do zero com javascript puro e incrementei novas funcionalidade.
O jogo esta... | 8a073d711ee25659a234dc5482f4aee62357f538 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | beliciobcardoso/jogo_da_cobrinha | ab5c9cd90b121a669c9d1a01d6feabb60dc6f10c | d0687c98a69c20a9c5661be8c9e6bd1b7f9e24c4 |
refs/heads/master | <file_sep>import { Get, Post, Put, Delete, Controller, Param, Response, Request, Body, UseGuards} from '@nestjs/common';
import { QueueDBService} from './queueDB.service';
import { ApiUseTags, ApiOperation, ApiResponse, ApiImplicitQuery, ApiImplicitParam, ApiImplicitBody } from '@nestjs/swagger';
import { Database } fr... | 39d9ca0d8fe51ce2cd3e8a59a38eb426e9c6252a | [
"Markdown",
"TypeScript"
] | 24 | TypeScript | juanjo3200/datavisualizer-backend-nestjs | 6bf5b09928041626d303a6f0019c65b4bf0c9173 | edcf2eb9cbe207a39f60a8f808834be02ae4425d |
refs/heads/master | <file_sep>import React from "react";
class Newcomponent extends React.Component{
render(){
return <h1>I am a new class called Button.</h1>
}
}
export default Newcomponent;<file_sep>import React from 'react'
const students =[
{
name:'kingsley',
age: 50,
hobbies:['singing', ... | 21a48d47237ed1ed701a5ea59339ccfd01cbd878 | [
"JavaScript"
] | 2 | JavaScript | Mbbluestalker/levelup-react | 3e10bec4a8048e633538f2026d62f73b9a7cfcc2 | 876097c71f7bf26bb043d6a2c035ac7c923cc338 |
refs/heads/master | <file_sep>/*
* string_reverse-2.c
* Reverses a null terminated string
* This version doesn't use string.h
*/
#include <stdio.h>
void reverse(char* str);
int main(int argc, char** argv)
{
char str[] = "Edward";
reverse(str);
printf("%s\n", str);
}
void reverse(char* str)
{
char* end = str;
char tmp;
if (s... | e9e8b67685860ea2bd9ec61d16fccf11688fdf93 | [
"Markdown",
"C",
"Python"
] | 11 | C | ed-flanagan/interview-questions | 1731e442e7e7c98003b380fbc617f082722a72dc | 1b36812e597839f890cb4c72f2967cdc3bd6bb21 |
refs/heads/master | <repo_name>applephagna/thepinrealestate<file_sep>/app/Models/Operator.php
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Operator extends Model
{
protected $table = 'phone_operators';
}
<file_sep>/app/Http/Controllers/Admin/PropertyController.php
<?php
namespace App\Http\Controllers\A... | cdcf37d741cdcc14c6f0bc79f9adbb7b8d75a958 | [
"JavaScript",
"SQL",
"PHP"
] | 49 | PHP | applephagna/thepinrealestate | 71c4beeb17a27108d5b9a800274314019cb91db3 | 030397b311034872b9db80072dfe1becdbd0ef79 |
refs/heads/master | <file_sep>import time
import colorama
import sys
import os
from colorama import Fore, Back, Style
colorama.init(autoreset=True) #automaticaly reset colorama
original_stdout = sys.stdout
n = 1 #setting to 1
# Function for implementing the loading animation
def load_animation():
# String to be displ... | e16149418d8ab0967a843bab7b62353a335c6d43 | [
"Python"
] | 1 | Python | Swimingspud/Convert-text-to-ascii--decimal-and-binary | c3f5a6048bbdada2785ebbb7c204be471dc5bffe | 91e3d75d3fa98bbe267bb9ad3bbcbdb439bb1294 |
refs/heads/master | <file_sep>package ru.timurkasoft.GigaMegaWeather;
public interface GMListener {
public void run(String temperature);
}
<file_sep>package ru.timurkasoft.GigaMegaWeather;
import android.os.Handler;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpUR... | 8d70268a56421359e1aa5e3dd531fcfdce42f164 | [
"Markdown",
"Java"
] | 3 | Java | TuMoH/GigaMegaWeather | f186ae85d6c23f2de405d673dcac1d167677da23 | b3519bdbb14e680354bbcaca89787b39244bfcec |
refs/heads/master | <repo_name>jeromepin/hexcat<file_sep>/pkg/hexcat/line.go
package hexcat
import (
"strings"
)
type HexcatLine struct {
bytes []*HexcatByte
}
func (line *HexcatLine) appendByte(hexcatByte *HexcatByte) {
line.bytes = append(line.bytes, hexcatByte)
}
func (line *HexcatLine) toHexString() string {
var bytes []string... | 50c3bb0c0a485944e09418968165c09f4852376b | [
"Makefile",
"Go",
"Markdown"
] | 7 | Go | jeromepin/hexcat | d74d7c66306aa1cd0dbfa8b914f5e2a38c8bdd9d | 96608242508cd0794c5b81937a8e640ad87bc2da |
refs/heads/master | <repo_name>bmoliveira/rx-activity<file_sep>/example/build.gradle
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
ext.errorbar = '0.3.0'
android {
compileSdkVersion versions.sdk.target
buildToolsVersion versions.buildTools
defaultConfig {
... | 39ce5c99ab149a228c4ead31b295390e94e290e5 | [
"Markdown",
"Kotlin",
"Gradle"
] | 13 | Gradle | bmoliveira/rx-activity | 60c80e32837535cca26717120b6a5af0d5b66791 | 37e4c52ede7b17d08f33d0859c04724b251df266 |
refs/heads/master | <file_sep>PageTitle=JSF - Exercise (alternative 1)
Header=Web Development Frameworks: Java Server Faces
SubHeader=Exercise Alternative 1
CopyrightAuthor=<NAME>\u00E9rez
CopyrightYear=2017
LabelAlumnInformation=Student Information
LabelUsername=Username
LabelDegree=Degree
LabelEndYear=End year
LabelBirthDate=Birth date
... | ab239fa986c25062813789a60a5e48cc8d45bc55 | [
"Java",
"INI"
] | 5 | INI | deidigitalis/us-mits-daw-jsf | 2bb4e367365c3bab09f3759be09d485d9890feef | 26026389e97bce588e2f13a3fd2455ff43a9273e |
refs/heads/master | <repo_name>lanjuere/my-project-angular<file_sep>/README.md
# my-project-angular
[Edit on StackBlitz ⚡️](https://stackblitz.com/edit/my-project-angular)<file_sep>/src/worker/counter-worker/counter.worker.ts
import { WorkerMessage } from './shared/worker-message.model';
import { WORKER_COMMAND} from './shared/worker-co... | b48cc8cba1db1074279b9688d7ae759f023e38a0 | [
"Markdown",
"TypeScript"
] | 6 | Markdown | lanjuere/my-project-angular | 47fbccabff8f7f2f6b48d9026185fd475b7d14c8 | 935814d55b074b0fdd9b043190d65b5f8a73158d |
refs/heads/master | <file_sep>/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
//import RecallAndPrecision.BM25;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucen... | 92ade894f54fdeb78cfb7b003af57b606357ef4a | [
"Markdown",
"Java"
] | 6 | Java | Arshadkhan75/Search-Engine | 511d801ab99f8a98f856e954292b7a74205e3e42 | 47ecf98051e29a16fb0012afbc330acf86bceae4 |
refs/heads/master | <file_sep># Mailbox
Mailbox for codepath
Submitted by: <NAME>
## Project Requirements
* [x] On dragging the message left...
* [x] On dragging the message right...
* [x] Optional: Panning from the edge should reveal the menu
* [x] Optional: If the menu is being revealed when the user lifts their finger, it shoul... | 85e72719bb81f84e20e123b82e21766064df728c | [
"Markdown",
"Swift"
] | 2 | Markdown | dnedkova/Mailbox | 6813c37dff957ba1dd98bf5ccd0b80f960f72654 | e543967903d8f870c53cf2687fb435397c267837 |
refs/heads/master | <repo_name>m-isaksson84/if<file_sep>/if/Program.cs
using System;
namespace test
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Skriv ditt namn");
string name = Console.ReadLine();
Console.WriteLine("Ditt namn är satt som " + name + "... | 1aa5b2600211356e253a8496fcececa23e318d64 | [
"C#"
] | 1 | C# | m-isaksson84/if | 7c61586e575598693e04766690a188b2d1bd2ed8 | c8c1f76a1030809e9c912eb34197d0e0b3b6d26a |
refs/heads/master | <file_sep>package com.springbatch.demo.step2;
import org.springframework.batch.item.ItemWriter;
import java.util.List;
public class SampleStep2Writer implements ItemWriter {
@Override
public void write(List list) throws Exception {
}
}
| 1bf96f039305418eba11be5c4add6c65f5f03298 | [
"Java"
] | 1 | Java | mamingrui8/springbatch_demo | 671214963188feca532e7d4c0b751079261c2978 | 35a15fd8150383bdb85defc2f3fd4cec820190f4 |
refs/heads/main | <repo_name>Alexader/pier-rs<file_sep>/src/key.rs
mod key;
use std::fs;
use serde::{Deserialize, Serialize};
use serde_json::Result;
#[derive(Serialize, Deserialize)]
pub struct Key {
pub typ: String,
pub cipher: Cipher,
}
#[derive(Serialize, Deserialize)]
pub struct Cipher {
pub cipher: String,
pub d... | bbc2f0f9b09870db1cff19efeea6fb6530c11467 | [
"TOML",
"Rust",
"Markdown"
] | 4 | Rust | Alexader/pier-rs | 8261f2b39358490a0758d7a53fad06a755c59800 | 14d24550d5c27779128a7cd75fc6c08c188e308f |
refs/heads/master | <file_sep># Give Better - Client
## Description
Give better is a server side rendered Nuxt Progressive Web App for providing users a location to post and share wishlists and view what their friends and family have listed as possible gifts
## Stack
This project is only for the client implementation of the progressiv... | be4f7e1adf20d27a93b54435438853785df21724 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | ah100101/Give-Better-Archived | 6e34e21b65632d9768864e842723675ff070de0a | 06510e1f3aff80aad3f7f394e0fe1e4d7e71088c |
refs/heads/master | <repo_name>Ageenkooo/zafira<file_sep>/sources/zafira-tests/src/test/resources/db.properties
db.jdbc.driverClass=org.postgresql.Driver
db.jdbc.url=jdbc:postgresql://ci.qaprosoft.com:5433/postgres
db.jdbc.user=postgres
db.jdbc.password=<PASSWORD>
db.c3p0.maxPoolSize=2
<file_sep>/sources/zafira-web/angular/client/app/_ser... | 601c0492c9317e5ef696553706828a314365613c | [
"JavaScript",
"Java",
"INI"
] | 14 | INI | Ageenkooo/zafira | c4875dbdef106d17e86446d951bfe58e2d3264d8 | 6c5b7a8c52ba20801c9ff127cba57f085f8e6808 |
refs/heads/master | <file_sep># alexandria
Final project implementation for Auburn University Spring 2018 Software Modeling and Design / COMP 3700
Designed to be a basic library system
Coded in a team of two with another student
<file_sep>//Alexandria Implementation
//Programmed by <NAME> and <NAME>
#include <iostream>
#include <strin... | 96e5bd6763944671fc850376c97b906ce0c0e510 | [
"Markdown",
"C++"
] | 2 | Markdown | CTFogarty/alexandria | c714cb79b4b2bd17060277dc135ac2099587f35e | 5125b7d6b187601365a100b7a07261308893c58a |
refs/heads/master | <repo_name>zakimandalla/praxis-academy<file_sep>/Week-1/Day-5/52/SerialExample.java
import java.io.*;
class Emp implements Serializable {
private static final long serialversionUID = 129348938L;
transient int a;
static int b;
String nama;
int umur;
//Default constructor
public Emp(String n... | a9bd8ace0d8b5284a0a16874aea031f8ad48aac1 | [
"Markdown",
"Java"
] | 6 | Java | zakimandalla/praxis-academy | e4c0aa11a615e83f280d9c9ecf7fcf0b4d8b70ba | da65e4632b06144b4eb89ce1443254079952d6bd |
refs/heads/master | <file_sep>const DOMAIN = 'churchofjesuschrist.org';
const VERSION = '0.4';
console.log('In main_popup.js');
const downloadButton = $('#downloadButton');
const annotationSelection = $('#annotationSelection');
const selectAll = $('#selectAll');
// Functions for inspecting UI
function getNotebookCheckboxes() {
const c... | 8e840dcc9ccfcfbe9f86787f75f187c16894a93e | [
"JavaScript"
] | 2 | JavaScript | nverhaaren/gospel-library-notebook-sharing | aeafd42156f338c658fd1e75ec4d1ec05758233b | 4c9015a74eb4ceefcc31479a7a1702b96b146a9b |
refs/heads/master | <repo_name>pabiney-msr/433-Advanced-Mechatronics<file_sep>/HW 5/HW5.X/i2c.h
#ifndef I2C__H__
#define I2C__H__
void i2c_init(void);
void i2c_start(void);
void i2c_restart(void);
void i2c_send(unsigned char value);
unsigned char i2c_receive(void);
void i2c_ack(int value);
void i2c_stop(void);
void i2c_expander_init();
... | 2b1a9ccc3f1aad2ebcbd366cec0b025e1b4bfa07 | [
"Markdown",
"C",
"Python"
] | 9 | C | pabiney-msr/433-Advanced-Mechatronics | c6c0cc8ac8f307beca28a344d8a6060bfa50839a | ccc52f5b00aa876c4d8ed1be7a401a15d880dca8 |
refs/heads/master | <repo_name>Trotsk/txt2shp<file_sep>/txt2shp.py
"""This script is a successor to corners.py found here:
G:\Lidar\arcGIS_tools\v10
The issue with corners.py is coordinates are converted to doubles format
when creating polygon objects in arcpy causing imprecision issues.
This script uses the shapely and fiona modules wh... | 7e9874d7c258ed79036feaa39bd47210b8279cd9 | [
"Python"
] | 1 | Python | Trotsk/txt2shp | aae614910697749d9038780bbd9ddccc043643f4 | 6c07a56b5280bd20dfd62388c76c4767bf8e97df |
refs/heads/master | <repo_name>ntesh21/Graph-Data-py2neo-<file_sep>/requirements.txt
astroid==2.2.5
blis==0.2.4
certifi==2019.3.9
chardet==3.0.4
Click==7.0
colorama==0.4.1
cymem==2.0.2
idna==2.8
isort==4.3.17
jsonschema==2.6.0
lazy-object-proxy==1.3.1
mccabe==0.6.1
murmurhash==1.0.2
neobolt==1.7.4
neotime==1.7.4
numpy==1.16.3
pkg-resource... | ed1edf689ae6fa40929beb3642c50527d59c40f1 | [
"Markdown",
"Python",
"Text"
] | 3 | Text | ntesh21/Graph-Data-py2neo- | d48f1501eeff00529de767c03b31aa219275ee2f | 0665f23aa42f0310396cd9dfc3310e754623359f |
refs/heads/master | <repo_name>superechnik/Incrementer<file_sep>/App/Api/Controllers/IncrementController.cs
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using MassTransit;
namespace Api.Controllers
{
[Route("[controller]")]
[ApiController]
public class Increment... | dd12c68803a272338a7a91ae1319b83884d963e6 | [
"Markdown",
"C#",
"Dockerfile"
] | 12 | C# | superechnik/Incrementer | ce46e907266d4096d3fb5ff2587e976678296f38 | 83efa49fa7312f73236c61456c6ba5fc4edebbd5 |
refs/heads/master | <repo_name>summerzh/DragDetailLayout<file_sep>/README.md
# DragDetailLayout
仿京东商品详情页面上拉进入详情.
* 控件继承自ViewGroup,上下两个页面没有使用ScrollView,而是使用了两个Fragment,更方便的控制生命周期.
* 支持WebView,ListView,RecyclerView以及ViewPager
* 分别提供两种实现方案:Scroller实现和ViewDragHeler实现.并且ViewDragHelper实现的方案支持滑动阻尼效果.
<file_sep>/app/src/main/java/com/it/dragdeta... | d0c71d20109a09a4d66fb4712f7a0238580af622 | [
"Markdown",
"Java"
] | 2 | Markdown | summerzh/DragDetailLayout | fe47d2df1d65dafae9f5f8eb80fda94c28d95190 | c8ad4d82a20690e3c5410ef43cbf7317bf095d02 |
refs/heads/master | <file_sep>import { connect, connection } from 'mongoose'
import { MongoMemoryServer } from 'mongodb-memory-server'
// List your collection names here
const COLLECTIONS = []
class DBManager {
constructor () {
this.db = null
this.server = new MongoMemoryServer()
this.connection = null
}
async start (... | 4764c40c729a654630000b6c2fac4bd675bef5bc | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | cunhapatrick/Blog-API | b93d3b5115d443ffbda4dcad7d2cc848f1756c05 | ff90b4ca2493cb21b65c25fff3dae82ae067894d |
refs/heads/master | <repo_name>SquirrelMobile/titanium-template-native-tabgroup<file_sep>/app/controllers/partials/_menu.js
/**
* @class Controller.partials._menu
* Display menu view
*
*/
var currentTab = null;
var objTab = {};
(function constructor(args){
_.each(args.menu, function(m){
objTab[m.controller] = Alloy.createCon... | 495e0243e5c9cc33a0307b4ca842525c7894127f | [
"JavaScript"
] | 6 | JavaScript | SquirrelMobile/titanium-template-native-tabgroup | 38fa6d17b9738f7700f658b91901fa0987677bd9 | 3e3a7be6b92ad56420a0de4e36bec5c4e10f055a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.