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>bakeymemnet/memoryless<file_sep>/README.md
# memoryless
Low memory web service
Just as we have gone from servers to instances, instances to containers, and containers to functions. The idea of memoryless to move low usage services to nonrunning services. With a few small servers, you can provide many apps w... | 7c6bff9c22f1b16b4f2f892c058eae5f31c0ab0b | [
"Markdown",
"Python",
"Dockerfile"
] | 3 | Markdown | bakeymemnet/memoryless | e66b3ed24a30e473052799575d8e631832926fa5 | 49a4aa7620f7b8a6587702eeb4f71ec9cfde2152 |
refs/heads/master | <repo_name>sweedishhfish04/team6proj1<file_sep>/README.md
Project 1: Seal Team 6
Full Fitness
Help clients achieve their health goals by providing them good choice of nutrition and exercises.
https://timsmith78.github.io/team6proj1/home.html<file_sep>/login-old/assets/javascript/web.js
// Initialize Firebase
var ... | 718096b502128fb96e8e0748c187b85b877dc313 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | sweedishhfish04/team6proj1 | 343f24ddf682caa9bddfc8429ea6307ae4d2c43d | d1cb16e5523e78bce38d19de4e40c4c9bb76da90 |
refs/heads/master | <repo_name>featr/socketIO-chat-app<file_sep>/server/utils/validation.test.js
const expect = require('expect');
const { isRealString } = require('./validation');
describe('isRealString', () => {
it('should reject non-string values', () => {
const res = isRealString(1234);
expect(res).toBeFalsy();
});
it('should ... | ad031a24e5c62bcbc4ea248960750e2dcf680c19 | [
"JavaScript"
] | 4 | JavaScript | featr/socketIO-chat-app | 35af26617eed4a1d2440d183e494ee89bac5259e | ba04296c6400af4941f5c99cae0c7ac6ec652ddf |
refs/heads/master | <file_sep># blinkova
published
https://angry-sammet-6ded45.netlify.app/
<file_sep>'use strict';
var root = document.querySelector(".root");
var makeElement = function (tagName, text){
var element = document.createElement(tagName);
if(text){element.textContent = text;}
return element;
}
var makeCard = f... | 558d0a4432d4f0e806c1de3b54c90a4b2936e848 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | yarov475/blinkova | 30eca10a915cbb2e9def32b0cdaa7ea1fdda69d0 | e224f6ec433d243a1031155e086159163293c518 |
refs/heads/master | <repo_name>ohnx/random<file_sep>/noJSON/README.md
noJSON
============
simple nodejs server that extracts the value of a key from a piece of JSON.
It *should* never crash.
Also, it has 3 dependencies that are pretty common. They are:
- http
- url
- cluster
If you don't have the first two, I don't know how you plan... | 76a51af08d1313d315b3f4eabcb251b2ea8b6128 | [
"Ruby",
"Markdown",
"JavaScript",
"PHP",
"Shell"
] | 13 | Markdown | ohnx/random | 5277147ed29e7f8af43a8c7684a47bb48234124d | d702139e05eade715baeb0f96ae1bb850aba0814 |
refs/heads/main | <file_sep>// Copyright 2021 Splunk Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | a52411ffdbfb16db9f0afb8dc6b20eac69562dab | [
"Markdown",
"Go Module",
"Go",
"Makefile"
] | 10 | Go | rmorlenSplunk/splunk-acs | 71da61ed696c15608598ce326547f7f974563214 | e95288187f5eced1f5ab8bbd0509a33ed6e506ae |
refs/heads/master | <repo_name>ntaniraula/3DPuppet<file_sep>/3DPuppet/src/Wireframe.java
// Wireframe.java: Perspective drawing using an input file that lists
// vertices and faces.
// Uses: Point2D (Section 1.5),
// Triangle, Tools2D (Section 2.13),
// Point3D (Section 3.9),
// Input, Obj3D, Tria, Polygon3D, Can... | 0859f13e2eb4dd3e176ad3f8ec5cf2f74a7ea1a3 | [
"Java"
] | 2 | Java | ntaniraula/3DPuppet | 3b41e22fdaedf1d60621d9bb5540504db92afd7d | b92ce389df2a6ad42e6a1d82cc5799828d58ba72 |
refs/heads/master | <repo_name>esemenov89/srez_5<file_sep>/src/main/java/controllers/ForUsers.java
package controllers;
import org.springframework.stereotype.Controller;
/**
* Created by admin on 15.05.2017.
*/
@Controller
public class ForUsers {
}
| 067b48a525454a255211f87cc00f7abf6c2c47e1 | [
"Java"
] | 1 | Java | esemenov89/srez_5 | 7ed0df79828a50fa6e5329037d2d1d1753019057 | 131fb714a334087b217d5522aab7c53e373cb8d1 |
refs/heads/master | <file_sep># CBSample
CoreBluetoothを使ってペリフェラル のアドバタイジングを拾うだけ。
<file_sep>//
// ViewController.swift
// CBSample
//
// Created by YoshinobuHARA on 2018/01/23.
// Copyright © 2018年 Sunyou. All rights reserved.
//
import UIKit
import CoreBluetooth
class ViewController: UIViewController, CBCentralManagerDelegate {
... | ef7039e40dbff5dd65609dcec34882d212374395 | [
"Markdown",
"Swift"
] | 2 | Markdown | jcomeme/CBSample | 7f0b675d1a9ff5021fb837f4e358d71d60e15890 | e4a64c18d473af592ab8199f4b439f11c78cbb54 |
refs/heads/master | <repo_name>kevinlpll/TrabKMeans<file_sep>/main.js
const geraArray = (k, nDim) => {
// const k = document.getElementById('k');
// const nDim = document.getElementById('nDim');
let linhas = new Array(k);
for (let index1 = 0; index1 < k; index1++) {
linhas[index1] = new Array(nDim);
for ... | b31e0c5311ef8203895f8e2d3e02c03c665a5c5c | [
"JavaScript"
] | 1 | JavaScript | kevinlpll/TrabKMeans | c5062dc08419535cf6a22dc7b814fe6962c7092e | 0d4abde9935f657132076f7d9088418dbfcec323 |
refs/heads/master | <file_sep>import {Text, View, StyleSheet, ImageBackground, Dimensions, TouchableOpacity, ScrollView, Image} from "react-native";
import React from "react";
import Card from "../Card";
import {Color, ColorSettings} from "../../utils/Colors";
import MenuIcon from "./MenuIcon";
import {LinearGradient} from "expo-linear-gr... | 2873ac45ce061fd24d2a3239007555e1c854ff79 | [
"JavaScript"
] | 11 | JavaScript | snurel/SYM | dd761f8f8ed1b1237ad49667ac4537840d0f58a3 | 45f5b7456222f3bb197a717bb0d242fdfa6c2b4c |
refs/heads/master | <repo_name>earl-at-wishpond/handy_rails_console_utils<file_sep>/util.rb
# Easy reloading of this file
def uload(reload_routes = false)
@rails_routes_loaded = !reload_routes
puts "Reloading #{__FILE__}..."
load __FILE__
end
require 'active_record'
# Easier-to-read ActiveRecord inspection
class ActiveRecord::Base... | 087905879c467be3a96f66efa268982155fef51b | [
"Ruby"
] | 1 | Ruby | earl-at-wishpond/handy_rails_console_utils | 4bc0016fae81f441fa5f374c2d60b994f0ef2d0c | 2e08660c5de526e61d6905f4dcbbaaa4a8b2806e |
refs/heads/master | <repo_name>mailtous/mybatis-plug-config<file_sep>/src/main/java/com/nk/mplug/config/ProfileOfDev.java
package com.nk.mplug.config;
import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.env.Environment;
import org.springf... | 822c45c69020f8a64dee2a46a86cedbc8509761d | [
"Java"
] | 1 | Java | mailtous/mybatis-plug-config | e68270f994d07b27d082612ebea3fce6ab15fa9b | 63ac8b5859bbffe800a49f4007c00c84048ddb7c |
refs/heads/master | <file_sep>Kafka Monitoring Extension for AppDynamics
===================================================
## Use Case ##
Apache Kafka® is a distributed, fault-tolerant streaming platform. It can be used to process streams of data in
real-time.The Kafka Monitoring extension can be used with a stand alone machine agent t... | 53ad0dd02cb589aafcae312f771fc2516ab2bc7b | [
"Markdown",
"Java"
] | 3 | Markdown | dlopes7/kafka-monitoring-extension | b854ca9bd9578335890d34b23c16298d396d3bbc | 0b66aa7428a5f7056d5022bef4094cf6ea15fe14 |
refs/heads/master | <file_sep>package com.my.selenium.common;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
public class WebDriverFactory {
public static WebDriver getDriver(String driverName)... | 8d98aaf6e842dce50ec0e9d60689cd72a8bddfa1 | [
"Java"
] | 1 | Java | skawaleonline/SelIntroduction | 0c7b2ad450b2d9e1297ca6767ecb2c02e0b68506 | ad1de43e89713eeb10845677c8c6c00bf8756a37 |
refs/heads/master | <file_sep>import org.assertj.core.internal.bytebuddy.asm.Advice;
import org.junit.Ignore;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
import org.junit.runner.RunWith;
import or... | 758e546feb637287b101825b3372c8ceef1abf3d | [
"Java"
] | 1 | Java | cecceccu/Lanfranchi_M1DFS_TD_Roulette | 7e6244d307ea7e45f282b463029c5bfb3a64efc7 | 9e3a72c6261898a6e9a4a6261625a90f8e371a62 |
refs/heads/master | <repo_name>pombredanne/cybozulib<file_sep>/include/cybozu/unordered_map.hpp
#pragma once
#include <cybozu/inttype.hpp>
#if (CYBOZU_CPP_VERSION == CYBOZU_CPP_VERSION_CPP11) || (defined __APPLE__)
#include <unordered_map>
#elif (CYBOZU_CPP_VERSION == CYBOZU_CPP_VERSION_TR1)
#include <list>
#include <tr1/unordered_ma... | 1734c525511f7fb6c8656fbde7f659ddefb1f0de | [
"C++"
] | 2 | C++ | pombredanne/cybozulib | 63dac8bd2a335ffd5b86cf4e35d1376973581e49 | 6ecbbb944b1d4a5b550c67815e88b1e9a42c7f27 |
refs/heads/main | <repo_name>SRIHARI0405/ReactLoginForm<file_sep>/LoginForms.js
import React from "react";
import './stylesheet.css'
export default class LoginForms extends React.Component {
render() {
return (
<div>
<center><h1>LOGIN FORM</h1></center>
<div className="container">
... | e0e9b92ca9b3661f28c52c650fc10841a2312b59 | [
"JavaScript"
] | 1 | JavaScript | SRIHARI0405/ReactLoginForm | f02aa78fa5268b8a3db76cb86c5ff2776aa86d27 | 24b07b0c4b838f0a80e771b0108fbba9da322da7 |
refs/heads/master | <repo_name>zhufeng19940210/zf_tantou<file_sep>/TanTou/TanTou/Library/SDWebImage/FLAnimatedImage/.svn/text-base/FLAnimatedImageView+WebCache.h.svn-base
///*
// * This file is part of the SDWebImage package.
// * (c) <NAME> <<EMAIL>>
// *
// * For the full copyright and license information, please view the LICENSE
// * f... | 7a3c8f9a80543763d88621e647166e007dccddfc | [
"Markdown",
"C"
] | 2 | C | zhufeng19940210/zf_tantou | ef071d01c263ba3228df115cdfe612a15dd16a50 | 16c504ee5bc5eceea18436fd42846419c595bd89 |
refs/heads/master | <repo_name>tarr3ga/Design-Patterns<file_sep>/FactoryPattern/NYStyleCheesePizza.cs
namespace FactoryPattern
{
class NYStyleCheesePizza : Pizza
{
public NYStyleCheesePizza()
{
this.type = "New York style cheese pizza";
this.dough = "Thin crust dough";
this.sau... | dbca2c135fab5f9ce6d04f2685b3f376a22e7881 | [
"C#"
] | 14 | C# | tarr3ga/Design-Patterns | 4d28946122d57ea7bee8a693a99453e1b71b582c | 31cc014bef5b3b977c48e87d75d25093718b329d |
refs/heads/master | <repo_name>anggastika/typescript-webdriverIO-appium-cucumber<file_sep>/src/test-layer/step_definitions/common_steps.ts
import { expect } from 'chai';
import { defineSupportCode } from 'cucumber';
import { Messages } from '../../support/enums/messages';
import { utils } from '../../support/objects/elements-utils/element... | 24b3f048bf99345eaa6f5f0b23b40b6faea6231b | [
"JavaScript",
"TypeScript",
"Dockerfile",
"Markdown"
] | 16 | TypeScript | anggastika/typescript-webdriverIO-appium-cucumber | ca5baaeb79841425e40204cc419631304c53ac5f | e4152e90ef2272614d3fb47801ee17d624dd9184 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
#region Additional Namespaces
using ChinookSystem.BLL;
using ChinookSystem.ViewModels;
#endregion
namespace WebAppDemo.SamplePages
{
public partial class SearchByDL... | 6d91758df715183656a46f1950dbb7e6e7394430 | [
"C#"
] | 1 | C# | JarodMcGo/2021-Jan-2018-A02 | 201a9674cf7cac84f6ab71028a93f733425a9379 | 0591ab835b0049ddc8c97349397502624a9b121c |
refs/heads/master | <repo_name>FabricElements/profile-edit<file_sep>/profile-edit.js
/* eslint-disable max-len */
/* eslint-disable-next-line max-len */
import {html, PolymerElement} from '@polymer/polymer/polymer-element.js';
import '@polymer/iron-flex-layout/iron-flex-layout.js';
import '@polymer/paper-input/paper-input.js';
import '@po... | eed9d64c760e0f03afe0c07168a66874b0af1810 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | FabricElements/profile-edit | 974a66d8836a3d9638772571d6b5e5599ceb0ec6 | d3327d24cb3f296954361ca542864f6a78279b1f |
refs/heads/master | <repo_name>michalcichon/vapor-playground<file_sep>/Sources/App/main.swift
import Vapor
let drop = Droplet()
drop.get { request in
return try JSON(node: [
"message" : "Hello"
]);
}
drop.get("test") { request in
return try JSON(node: [
"message" : "Test"
]);
}
drop.get("beers",... | c94180601d1dd3a71161bae4a832e12e65ecd562 | [
"Swift"
] | 1 | Swift | michalcichon/vapor-playground | e44c91b8652e6bf6eaf82359668638d159920c36 | 82e7d904d5a24023336542deb852c821f1e03c8f |
refs/heads/master | <file_sep>import { join } from 'path'
import TsconfigPathsPlugin from 'tsconfig-paths-webpack-plugin'
import { PresetFn } from './types'
export type TsConfigPathsPreset = 'tsconfigpaths'
/**
* Configures webpack to be able to import files with import
* aliases from the tsconfig
*/
const config: PresetFn = () => ... | 6ee055a7138ce1adcba268af8ab081c0741fed08 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 17 | TypeScript | barnabasJ/apollo-ssr-example | 72e0e0ac56b6be07bd8b100d29bd89f3b628afc1 | 32a7721e5b5aa326a8cc36a4721a8f4a1b45a88e |
refs/heads/master | <file_sep>import { Database } from "../../../lib/Database.js";
const DATABASE = new Database({
host: "127.0.0.1",
user: "root",
database: "groupomania_social_network"
});
export { DATABASE as DatabaseService };<file_sep>import { createGzip } from "zlib";
import { Request } from "../Model/Request.js";
import { Con... | a3f62a9c867ffe8866e1b9d9d38e5220eb4b5fbe | [
"JavaScript",
"SQL",
"Text",
"HTML"
] | 19 | JavaScript | Shigwen/OCR-Project-7 | ee23dae92c6bbaf26080dbff37c8e091624a6931 | 772edaa7a2cb8ffdcb93497ecce45f02edf97a27 |
refs/heads/master | <repo_name>chenboxiang/koa-test<file_sep>/build/task/version.js
/**
* 1. 生成带版本号的资源
* 2. 修改需要引用这些资源的文件中引用的资源链接
*
* Author: chenboxiang
* Date: 14-5-25
* Time: 下午5:42
*/
'use strict';
module.exports = function(grunt) {
var path = require('path');
var glob = require('glob');
var crypto = require('cryp... | 4610eeb75ef3165232d01c214e982bc0ccc78144 | [
"JavaScript"
] | 24 | JavaScript | chenboxiang/koa-test | 0019ee01f13293bc35741e7eacf354ce8e336430 | 1cfd5b4a2ed2538571b05107a54de1220f65501b |
refs/heads/master | <file_sep>
class MyString:
def __init__(self, mStr):
self.mStr = mStr
self.mLen = len(mStr)
## abcab 5
## ab 2
def lastoccurenceof(self,subStr):
k = len(subStr)
res = -1
for i in range(self.mLen - k+1):
if self.mStr[i:i+k] == subStr:
res = i
return res
def main():
s = MyString("abc... | 3c56c798f7d1d6e91fd43a6e35419aa7a9433c60 | [
"Python"
] | 11 | Python | QiaoranChelsea/AlgoPractice | 4d759ebea650e46860517a4628fcc3806ed91e66 | 311932244e630edbcaeb796ddd34093b974ff0d8 |
refs/heads/master | <repo_name>vinicelms/word_counter<file_sep>/requirements.txt
Flask==0.12
Flask-RESTful==0.3.5
lxml==3.7.2
requests==2.12.4
beautifulsoup4==4.5.3<file_sep>/core/scraping.py
from urllib import request, parse
from lxml import html
from bs4 import BeautifulSoup
class Scraping():
def count_word(url, selected_word):
... | 687f05b5dc455d5b31c43fb326feaca7cda72db3 | [
"Markdown",
"Python",
"Text"
] | 5 | Text | vinicelms/word_counter | 2413351e2a450178fb825722ba57f9c541c4add4 | 24b97e39c262c445079ebb5793e287be00b8469c |
refs/heads/master | <file_sep><?php
include('conexao.php');
//CAPTURA OS DADOS DO FORMULÁRIO
$nomeCategoria = $_REQUEST[nomeCategoria];
$descricao = $_REQUEST[descricao];
//VALIDAÇÃO DE DADOS
if ($nomeCategoria == ''){
echo json_encode(array( 'retorno' => '<font color=red><b>Nome da categoria obrigatorio!</b></font>' ));
ex... | bc8218a626c3539bba15648bacaeccf0d93d8611 | [
"Markdown",
"SQL",
"PHP"
] | 21 | PHP | AllKallel/DesenvolvimentoWeb | 4dc8ee423704c806443fa2df0c34e29665bf84f5 | df4b5d2b0ee1c752f1447886b9ab9d6ce6442075 |
refs/heads/master | <repo_name>Arangam/DunsMartEmail<file_sep>/src/main/java/com/dnbi/email/DunsMartEmailMain.java
/**
*
*/
package com.dnbi.email;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author anil_
*
*/
@SpringBootApplication
pub... | 53ce6128a8730ed1dcc70f41e5887d521bd6279d | [
"Java"
] | 2 | Java | Arangam/DunsMartEmail | 2b31e183cc8e106fdc4f1ecd5ebdf8a8a3032d48 | 861253b130765028b1420f01820bbce4ad610ce4 |
refs/heads/master | <repo_name>kfleming123/edx_intro_to_comp_sci_mit<file_sep>/README.md
# edx_intro_to_comp_sci_mit
## Completed programming assignments in MIT's Introduction to Computer Science on edX.
**Assignment 1:** Various programs dealing with strings.<br>
**Assignment 2:** Calculating repayment of loans on a monthly basis given a... | 65132c0c10b94bd2cc8f0dba55b3a7e97630b5f4 | [
"Markdown",
"Python"
] | 7 | Markdown | kfleming123/edx_intro_to_comp_sci_mit | 121f52bd0fe3b2a5756eb46dc3974fb99cee52f3 | 923dc1afa7b2368176cfa51e81744224d2d21681 |
refs/heads/master | <file_sep>const express = require('express');
const router = express.Router();
const Movie = require('../models/movie.model')
/* GET movies */
router.get('/:id', (req, res, next) => {
console.log(req.params.id)
Movie
.findById(req.params.id)
.then(obj => res.render('details', {obj: obj}))
... | a5842e0b4967025ad0504ba12a0f3b28c18e0f79 | [
"JavaScript"
] | 1 | JavaScript | RodrigoPerezGarces/lab-express-cinema | 89d026ac8d88e48ade09e2526354e8ad565bd80e | 47d6e0c65f2921336f88988ad5992bc6a5ad262d |
refs/heads/master | <repo_name>cmhansen125/Python-Dice-Roller<file_sep>/Guts.py
import random
class guts:
def __init__(self, size):
self.__size = size
def get_size(self):
return self.__size
def __str__(self): #returns rolled dice number as a string
returnString = str(random.randint(1, sel... | e78cb9bd64b4e174dd1683cb57189f0507eec7c8 | [
"Markdown",
"Python"
] | 3 | Python | cmhansen125/Python-Dice-Roller | ae47c7c1a047f55392b0cdc89769e2edcd6f2472 | 034bd8f61344bbd7153f17430648d41b8ba59ea9 |
refs/heads/master | <file_sep>### Simple script that creates nonlinear regression model, made in around 1h to help my friend at college.
### Function that I found, which fits given data set, was f(x)= a*(x-b)**2 + c
### so the point was to optimize parameters a, b, c.
<file_sep>"""
Simple script that creates nonlinear regression model,
ma... | 1af7fbffc6dfcf5bdde790f48bca0a4f8e49bbdd | [
"Markdown",
"Python"
] | 2 | Markdown | mzakonek/nonlinear_regression | dccf41036852f46f7109f2243f03b86b8b69f10f | 84fa0268c9137e1eb6bd1f3af5defe23fc9906e3 |
refs/heads/master | <repo_name>ComplexSystemsModeling/DashboardScripts<file_sep>/CoSMo-Singapore-Durian-ITK-i386-Wrapping.cmake
# maintainer: <NAME> <<EMAIL>>
# gcc (GCC) 4.2
set( arch i386 ) # ppc;i386;ppc64;x86_64
set( CTEST_SITE "Durian.CoSMo.sg" )
set( CTEST_BUILD_NAME "Darwin-c++-4.2-${arch}-WRAPITK" )
set( CTEST_BUILD_CONFIGURATION... | 318b16f28fedf09287ab47f7c7f3167196f1ce3b | [
"CMake",
"Shell"
] | 5 | CMake | ComplexSystemsModeling/DashboardScripts | 1e2f013888da139433b44ce22834f6df26cea419 | 90ed71575b4d3b0d505abb11778287ad8d78fe70 |
refs/heads/master | <file_sep>import org.junit.Test;
import sec.AESHelper;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import s... | 4768be4da9fa27ee63d677d1ac66a4341630fa6b | [
"Markdown",
"Java",
"Ant Build System",
"Gradle"
] | 9 | Java | nsnikhita/Intellij_setup_Gradle_SBT_Junit_Of_Existing_Open_Source_Project | 8ab7245d000cd05848aa2d773b2a9573dea8b17b | 622c353234dce3ad888366af1fcfc3b03e4f218a |
refs/heads/master | <repo_name>ktodorova23/shoppinglist<file_sep>/src/main/java/com/shoppinglist/shoppinglist/service/implementations/ProductServiceImpl.java
package com.shoppinglist.shoppinglist.service.implementations;
import com.shoppinglist.shoppinglist.model.entities.Product;
import com.shoppinglist.shoppinglist.model.entities.enums... | 570394c6d8dcec0fdb83bc0f4bb379693ffe9595 | [
"Java"
] | 2 | Java | ktodorova23/shoppinglist | 47840ece93f5771d1e12251ed94654a0a0d0958f | 7eb68d26bdc3dee46aab2e317ce8c69e2f60fa56 |
refs/heads/master | <file_sep>namespace Hnc.Calorimeter.Client
{
partial class FormOpenAllParam
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
//... | c4c3dc8dcc4b1fc4aced75557f8f0a2c5e9213a2 | [
"C#",
"SQL",
"INI"
] | 64 | C# | 708ninja/Calorimeter | d9583642ec8ddc629f36ddc29f5ac79f18d0a0f3 | bb10f2cddbeff6a236f269b82ec925d784b68215 |
refs/heads/master | <repo_name>byeungoo/spring-main-technology<file_sep>/spring-main-tech02/src/main/java/com/hoon/scope/Proto.java
package com.hoon.scope;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;
@Component
@Scope... | ca47e97bb4d9e233d4ef04f40a6235ecd63fde6f | [
"Markdown",
"Java",
"INI"
] | 14 | Java | byeungoo/spring-main-technology | 7b067edbbe597fca9397dfdfe53e0bbc91202377 | c7d2b1af26d6afa780ea552c0fe2455f43a7e294 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Runtime.Remoting.Messaging;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Train101
{
class Program
{
st... | 2f488849868a398b828ce19a4a04bc9208e8859e | [
"C#"
] | 8 | C# | gosiakzw/Training1 | 3995a94207cbdc9ae97c682a47ca743589f1ea1c | aa403fdc12461e471c6e6a7ceb7cf5da8550fc6f |
refs/heads/main | <repo_name>brendanforester/instrument-store<file_sep>/script.js
new Vue({
el: "#instrument-store",
data: {
newName: "",
newType: "",
newBrand: "",
newPrice: "",
count: 0,
addInstrument: true,
submitTwo: true,
cart: [],
cards: [
{
name: "Piano",
image:
... | 73064b68aae45aef76418b202312027667a29948 | [
"JavaScript"
] | 1 | JavaScript | brendanforester/instrument-store | 80e93f75db242c41b87cd322d70a867286177823 | 6d93275b3d0b74f38e76943937a04d69324525dd |
refs/heads/master | <repo_name>tylerjroach/SlidingShareSelector<file_sep>/README.md
# SlidingShareSelector - Android
An adaptable BottomSheetDialogFragment that shows a scrolling list of recent photos, along with a grid of custimizable icons for sharing.

## How to use
Make sure your app has ... | 8486f7d363d8dfeda4e5ee0df5226ede6704ba5d | [
"Markdown",
"Java"
] | 5 | Markdown | tylerjroach/SlidingShareSelector | 84768125e5984b1335dc33db5c0dc2d52a2ccd12 | 72a95a452d5179679d6cad58484feeb7d30710af |
refs/heads/master | <repo_name>karliuka/m1.Share<file_sep>/app/code/community/Faonni/Share/Model/Resource/Pinterest.php
<?php
/**
* Faonni
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the wor... | 37d3ef6ebdf77f5826dbf745369d4086fb3c384c | [
"Markdown",
"PHP"
] | 13 | PHP | karliuka/m1.Share | 41db8779d02fac7077d38cd2128e18c8a97c1471 | c86b242c3fa16c0d50b5bd48a5c5f897fed1ab5b |
refs/heads/master | <repo_name>Murilodsv/dssat_sscan_calib<file_sep>/bin/check_par_nonlogic.R
#--- Check parameters phyiological consistency
check_par_nonlogic = function(calib){
#--- check parameter physilogical logic
out = F
if(calib$pvalue[calib$Par_orig=="CHUPIBASE"] < calib$pvalue[calib$Par_orig=="TTPLNTEM"]){
messa... | 09623732abae949b57178ed821e3de0aeeb02840 | [
"Markdown",
"R"
] | 5 | R | Murilodsv/dssat_sscan_calib | 9b2371252a5c1a01f9903d01689dadfce4e51027 | 765610f31c45b7ee98b5748df87bbe2c04fffbde |
refs/heads/master | <repo_name>hbrysiewicz/sony-proto<file_sep>/app/routes/index.js
import Ember from 'ember';
import App from 'proto/app';
import Image from 'proto/models/image';
export default Ember.Route.extend({
// setupController: function(controller) {
// // get all images for default canvas
// var cat = Image.create({
... | 675a14b97dedd917fecd5c521bf84bd5dfe7ad10 | [
"JavaScript"
] | 3 | JavaScript | hbrysiewicz/sony-proto | 9a8f35b9ec24805b8598bbf0e16f5f3ff5ff98d0 | c27d8383cb7bd1a97aa94dc67d1141c6d03ac4e4 |
refs/heads/master | <repo_name>lukelin1991/capstone-frontend<file_sep>/src/components/containers/UsersContainer.jsx
import React from 'react'
import { connect } from 'react-redux'
import { CardColumns } from 'react-bootstrap'
import UserCard from '../UserCard'
import '../../stylesheets/home.css'
const UsersContainer = (props) => {
re... | bd16490330d5e1a1574fc8f03e85f51de46fc8d7 | [
"JavaScript"
] | 13 | JavaScript | lukelin1991/capstone-frontend | cf36a2526d2bd37203c38ea4dd04a95051591489 | 4b19cdc3ca1de3913baff5fe9d2be77a44b22e95 |
refs/heads/master | <repo_name>prezi/cloudbees-pse-pod-mutator-admission-controller<file_sep>/scripts/build.sh
#!/bin/bash
set -x
script_dir=$(dirname $0)
cd ${script_dir}/..
dep ensure
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o kube-mutating-webhook .
docker build --no-cache -t 783721547467.dkr.ecr.us-east-1.amazonaws.... | 8ae4a62958b5bda5ef172f1923e081a9ed0a2c93 | [
"Markdown",
"Dockerfile",
"Shell"
] | 4 | Shell | prezi/cloudbees-pse-pod-mutator-admission-controller | 607648f51b53db5ca0344f20e4a2571bf94d115a | 644cbad7738870678c02709021625622f199649b |
refs/heads/main | <file_sep>package ai.moises.ffmpegdslandroid.ffmpegcommand.initializer
import ai.moises.ffmpegdslandroid.ffmpegcommand.filter.Filter
import ai.moises.ffmpegdslandroid.ffmpegcommand.filter.FilterGroup
class FilterGroupInitializer(private val filterGroup: FilterGroup) : BaseFiltersInitializer() {
override fun addF... | c0ab482562628c2081e0763f9f86800b165d5ddb | [
"Markdown",
"Kotlin",
"Gradle"
] | 91 | Kotlin | moises-ai/ffmpeg-dsl-android | 1cf73dd6d0985b534bd93613149fdd335d651e8e | 1a22953709fea8fcfc4ab77ea6338bb1c62ca5b8 |
refs/heads/main | <file_sep>import "./App.css";
import React from "react";
import TicTacToe from "./gamesArmen/game-TicTacToe/gameTic-Tac-Toe";
import RockPaperScissors from "./gamesArmen/game-rockPaperScissors/gameRock-Paper-Scissors.js";
import MemoryPokemon from "./gamesArmen/gameMemoryPokemon/gameMemory-Pokemon";
function App()... | e0945b324dc6b318031a30c7f2e6fc7bac771c32 | [
"JavaScript"
] | 1 | JavaScript | Armen-Avetisyan/game-tic-tac-toe | a875c1ffc13d834224f25702c890618a6b138917 | 393ccb6cc305cff1937c3cbeec34524be18d4bfe |
refs/heads/master | <repo_name>ksaye/no-ip<file_sep>/index-sql.php
<html>
<head>
<style type="text/css" media="screen">
table{
border-collapse:collapse;
border:1px solid #FF0000;
}
table td{
border:1px solid #FF0000;
}
</style>
</head>
<body>
<?php
$DefaultConnection = explode(";", $_SERVER["SQLAZURECONNSTR_DefaultConnection"]);
$... | 0b4a47c0bb18f2414688ff7f653a3e496eeb4f9f | [
"PHP",
"INI"
] | 3 | PHP | ksaye/no-ip | 93080390895574635fa453d7472402875a90e75a | 94411efb0e1fb48d77da899063617c817f096f90 |
refs/heads/master | <repo_name>fancyfei/jedis<file_sep>/src/test/java/redis/clients/jedis/tests/commands/StreamsCommandsTest.java
package redis.clients.jedis.tests.commands;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert... | efea6c5404cc8fe835e0746e4289c4d3b519fdf6 | [
"Java"
] | 1 | Java | fancyfei/jedis | 301a7bd9145bf9de73a7c234727ff842d93468b8 | a6b527c0e30531fc9d37574dd0bd6c38a6d5dec1 |
refs/heads/main | <repo_name>NewYorkCoinNYC/blockchain-account-monitor<file_sep>/test/poll_and_log_payments.js
const BlockchainAccountMonitor = require(__dirname+'/../lib/blockchain_account_monitor.js');
const BlockchainClient = require(__dirname+'/../lib/blockchain_client.js');
const config = require(__dirname+'/../lib/config.js');
co... | 33c71cd34d1c3ce11185578551c9a5cf8d1a1f39 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | NewYorkCoinNYC/blockchain-account-monitor | 1e55cd249b79e1bd2ab0e5ae65492294a6b71031 | dca7113193e9c4ec86e9ea9ca92cc07183cb53d4 |
refs/heads/master | <repo_name>weitrue/weitrue.github.io<file_sep>/2021/10/28/memo/index.html
<script type="text/javascript">
(function () {
var dayStr = '12/13';
if (/^\d{1,2}\/\d{1,2}$/.test(dayStr)) {
dayStr = new Date().getFullYear() + '/' + dayStr;
}
if (!/^\d{4}\/\d{1,2}\/\d{1,2}$/.test(dayStr)... | bd6d6991c3d6e1ff6f11cfdfe1b68272d1a57efc | [
"JavaScript",
"HTML"
] | 3 | HTML | weitrue/weitrue.github.io | 77e7f6d46df1ea5c6d21174b331598ca9b0870c2 | fa4493c65eee0f67e62a6560b59cf1ca8b352b67 |
refs/heads/master | <file_sep><?php global $post_id, $before_list;
$wishlist = array();
if ( is_user_logged_in() ) {
$user_id = get_current_user_id();
$wishlist = get_user_meta( $user_id, 'wishlist', false );
}
if ( ! is_array( $wishlist ) ) $wishlist = array();
$price = get_post_meta( $post_id, '_hotel_price', true );
if ( ... | 0954b3d7ef3d4c81e6a914d41e1d8499de54f345 | [
"JavaScript",
"Text",
"PHP"
] | 15 | PHP | LonginusDi/yourju_wp | fa5abf7116a738ff06923e46412d7e4cf5653975 | 2a13469870e2786480dcf1147990cab1b8d3c95b |
refs/heads/master | <repo_name>EduardoFNA/Telemedicina<file_sep>/database/seeds/ProductTableSeeder.php
<?php
use Illuminate\Database\Seeder;
class ProductTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$product = new \App\Product([
... | 30b48c4a9642338463ab8ff025dd4c4de5ede230 | [
"PHP"
] | 1 | PHP | EduardoFNA/Telemedicina | 4fd370a3c10a0526f72ba84e5945cdffb00f8e8a | b3075930af1da33953837977364a37aa8273e786 |
refs/heads/master | <file_sep>class Block{
constructor(row,col,width,height,padding,setTop,setLeft){
this.row = row
this.col = col
this.width = width
this.height = height
this.padding = padding
this.setTop = setTop
this.setLeft = setLeft
this.blocks = []
this.BlockSet()
}
Blo... | 303bd8a6c0f671b91c80701a7e71b674dc59af65 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | kazutotakeuchi-32/breakout_game | 68d37a64ed1f7f4112ae8f5c537765c9cd8f14d2 | 171daa89fe7649620a239e912565670d98f9bc96 |
refs/heads/master | <repo_name>kurumkan/simon<file_sep>/myscript.js
var isStrict=false;
//this can be changed via the tumbler
var isOn=false;
//this can be changed via start button
var hasStarted=false;
//here we will store the sequence of button/melodies
var sequence=[];
//key - button id, value - Howl object to play sound according ... | b8d3a8a8c4d3fd7d789a961940ded647e904f620 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kurumkan/simon | 704d7b114199a5259dbf78798679fbaadaf52ffe | bef8b88efb9616bdac05a750bcd4b9ba03982756 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
using CleanArchitecture.Core.Entities;
using CleanArchitecture.Core.Interfaces;
namespace CleanArchitecture.Core.Services
{
public class GuestbookService : IGuestbookService
{
private readonly IRepository<Guestbook> _guestboo... | 8e146c00cf363ffcafe895f99bfd8bc477a89d71 | [
"C#"
] | 3 | C# | THume/CleanArchitecture | 9e5dfeefe539f3da122288344d3943ef8e49a9b7 | f1328b7991357695e051549606f7460b8f6eb665 |
refs/heads/master | <repo_name>Wea1Storm/Login-App<file_sep>/Login App/MainWindow.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Login_App
{
public parti... | f41afd8908a2918a9b7912447b346cf5d08c7cf6 | [
"C#"
] | 4 | C# | Wea1Storm/Login-App | 4e175337e4ae539f3e6ac6545e11856ce7fc18b2 | 531bfec7a45bd4b4f411f8c4d9669af0a16d692e |
refs/heads/master | <file_sep>use std::fs;
use std::error::Error;
use std::env;
pub struct Config {
pub query: String,
pub filename: String,
pub case_sensitive: bool,
}
impl Config {
pub fn new(mut args: std::env::Args) -> Result<Config, &'static str> {
args.next();
let query = match args.next() {
... | 7c7aacf69b58913aa385b7d958b1f56365576c96 | [
"Markdown",
"Rust"
] | 2 | Rust | luanngominh/minigrep | 4b1a2eb909772ec6f272d12e8e00729844ed84ac | d46252618676bf9217d07203d7dc1725be0d7940 |
refs/heads/main | <repo_name>GoodLvck/moodle-start<file_sep>/moodledata/localcache/mustache/1620990801/snap/__Mustache_551b9e32158ac232560ab1cade91f404.php
<?php
class __Mustache_551b9e32158ac232560ab1cade91f404 extends Mustache_Template
{
private $lambdaHelper;
public function renderInternal(Mustache_Context $context, $indent... | eeb99c53f8052190b60a9f085043ac00b353b496 | [
"PHP"
] | 10 | PHP | GoodLvck/moodle-start | eadde148847b75e97e2b0527bf9d2e707817ab93 | ed1dca84d793de88a735b9bb5bc2dc0afaf4cc9d |
refs/heads/master | <repo_name>keenkit/FullStack<file_sep>/springmvc/README.md
## Description
MVC login page with Capture
## Screenshot
1 . Login page

2 . Registration page

3 . After login

## How to run i... | 77dcda992a0d14c1f34333b374139587c4069da3 | [
"SQL",
"Markdown",
"JavaScript",
"Java",
"TypeScript"
] | 32 | Markdown | keenkit/FullStack | 73f25160bd11274400094a415474327850230a19 | 09ca0ed8884b7bafbd5e584ce89a47c3c76ebdf8 |
refs/heads/master | <file_sep>const nodeList = require('./nodes.js');
var visited = {};
var unvisited = {};
for (var key in nodeList.obj) if (nodeList.obj.hasOwnProperty(key)) {
key = parseInt(key);
unvisited[key] = nodeList.obj[key];
unvisited[key].dist = Infinity;
}
//------------------------//
const start = 20;
const end = 12... | c5daceac5886a1956da7595dc4f8beb19bcb5716 | [
"JavaScript"
] | 1 | JavaScript | Dance-Dog/Pathfinding-WIP | 83d6136c64fcd1f71dab88b3f520f79652933a93 | 545fa22cdfc5f5bcc4aaec949643a7bc2c0ce596 |
refs/heads/master | <file_sep>package com.example.login;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import com.google.firebase.FirebaseApp;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
public class profileActivity extends AppC... | 8b100a5e0f345d2073547acbee88b3a5b11c1cd5 | [
"Java"
] | 1 | Java | aakankshaa23/simpleLogin-firebase- | fd774d07534c49646dbe0e05ef7bd13020396c97 | be134275d8a0cc6a7cc60a096b195c71e19cffb1 |
refs/heads/main | <repo_name>You-Ting-Li/UT0903.github.io<file_sep>/components/todolist/functions/Data.js
const packet = {
failed: [],
info: [
{
course: "計算機網路實驗 Computer Network Laboratory",
hw: "Lab 1 Trace route concept and implementation",
due: "2021:03:25:23:59:59",
src_from: "cool",
},
{
... | 47be01ae51f596162d9292a7c09b69dd991c0eae | [
"JavaScript",
"Markdown"
] | 26 | JavaScript | You-Ting-Li/UT0903.github.io | a433640aab15c940d89fd021f00988224c9c873a | f72624a548a40a4c6da6bcda58b5bb0e1d2a200b |
refs/heads/master | <file_sep>package nl.timverwaal.labelformatter;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.userm... | bfdd6a1c6971f15d20b41af54cedcd34232696c6 | [
"Markdown",
"Java"
] | 3 | Java | timverwaal/LabelFormatter | 981ec4d02665ee0548cb7e36e364b75cdd5fab36 | 91e814d885c30cc8f940fcd1b1a38b8be95f0646 |
refs/heads/master | <file_sep>package kay.kookmin.ac.kr.term_project;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextV... | 1b4cc88df18e17294f310ec2c4fe6cf95bc6c9a2 | [
"Java"
] | 3 | Java | kthss01/MobileProgramming-Term_Project | 6fb02823f54d9c234869bcdbba1d5dcf6464490c | a1dc374890c70b5a80ce38a8d84ff0eec40d69f3 |
refs/heads/master | <file_sep>/*
* Нужно переделать списки.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
/*
* Компоновщик
*/
#define DEF_OUT_FILE_NAME "out"
char *fname_output = DEF_OUT_FILE_NAME;
#define FILE_SEG_CODE_NAME "seccode"
#define FILE_SEG_DATA_NAME "secdata"
FILE *f_sec_code;
FILE... | 500340ad713d15218053517bc91a17084af78530 | [
"C",
"Makefile"
] | 2 | C | Kotolegokot/VM-linker | 45ff05ec11421be7c3fe8a89fad523a81b09d05e | 022291b3945e412617e14315f7ecbbb44e45afe7 |
refs/heads/master | <file_sep>import { DocumentNode, OperationDefinitionNode } from "graphql";
export const operationQuery: DocumentNode = {
kind: "Document",
definitions: [
{
kind: "OperationDefinition",
operation: "query",
name: { kind: "Name", value: "GetClients" },
variableDefinitions: [],
direct... | a56a31fca4b466110568091c1b9b1b76375d6dd1 | [
"TypeScript"
] | 4 | TypeScript | Alfredo-Delgado/apollo-link-scalars | fd1a3648e7c7b99ddffb86303ba81c2339ae229c | ebda5e0e0f3fc5796aa5b0582c3006c65eddbe97 |
refs/heads/master | <repo_name>choww/arbitrator<file_sep>/app/models/vote.rb
class Vote < ActiveRecord::Base
belongs_to :user
belongs_to :question
validates :question_id, presence: true
validates :user_id, presence: true
validates :value, presence: true
#validate :no_new_votes_if_expired
## CUSTOM VALIDATIONS ##
def no... | 5f2b603f57552377ee849c9d6b28b5d79339cb82 | [
"JavaScript",
"Ruby"
] | 13 | Ruby | choww/arbitrator | 2f7ac578861aa1acac193b4144e56e37feb3cf16 | 9e37dd6aaea4a4070fad786a020c95c37d567a20 |
refs/heads/master | <repo_name>skykrf/Guadi.ALL<file_sep>/Guadi.Web.Edit/Models/ProductModels.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Guadi.Web.Edit.Models
{
public class ProductAddModel
{
/// <summary>
/// 产品编号
/// </summary>
public string... | 565d1ce8b25bad8d9d27a9eae60d7014ccc314a1 | [
"C#"
] | 28 | C# | skykrf/Guadi.ALL | 81768563852459cf4310d6970d2e1da135a1a9f0 | a47c75edc0e2d86df5bce978204fb45fdbe340ea |
refs/heads/master | <repo_name>Sai628/moviejie-api<file_sep>/etc/gunicorn_conf.py
# Gunicorn configuration file.
# http://docs.gunicorn.org/en/0.16.0/configure.html
import multiprocessing
bind = '127.0.0.1:5001'
backlog = 2048 # The maximum number of pending connections
workers = multiprocessing.cpu_count() * 2 + 1
worker_connections... | bfe2e343c79c85ad22440607eae548e81e687e3d | [
"Python",
"Text",
"Shell"
] | 26 | Python | Sai628/moviejie-api | 2392826a6b5d14eeb41773f5987e77215daed820 | d73b128921799954d12b8e0180d1c4ef17c4e7d6 |
refs/heads/main | <file_sep>SQL_USERNAME = "postgres"
SQL_PASSWORD = "<PASSWORD>"
SQL_IP = "127.0.0.1"
PORT = 5432
DATABASE = "news_db"<file_sep>DROP TABLE IF EXISTS headlines;
DROP TABLE IF EXISTS category;
DROP TABLE IF EXISTS sources;
CREATE TABLE "category" (
"category_id" serial NOT NULL,
"category_name" VARCHAR (100) NOT NULL,
"... | f569c1dd7640991cbd5639c81378a36c9e8acee9 | [
"Markdown",
"SQL",
"Python"
] | 3 | Python | BrettimusGit/ETL-News-Headlines | 800769ca6574f02e9974eaa654c0a52644b3c549 | 68d3a604e8f3f7e0e14161f4eb2909defe440f13 |
refs/heads/master | <file_sep># go-echo-vue-todo
Link to tutorial:
https://scotch.io/tutorials/create-a-single-page-app-with-go-echo-and-vue
<file_sep>// todo.go
package main
import (
// "net/http"
"database/sql"
"go-echo-vue/handlers"
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"
_ "github.com... | 917b693d9198a9bfea69fc24e0d2cec0626ba3ef | [
"Markdown",
"Go"
] | 2 | Markdown | nicholaschris/go-echo-vue-todo | 1b1d0722afec55e685c8367bb140d85321dbb663 | 15c213fb03b9c855f45db363d52abf7363403fea |
refs/heads/master | <file_sep>#include <iostream>
using namespace std;
//map info:
//0=free
//1=wall
//2=Rokh
void printmap(int map[5][5]) {
for(int i=1;i<=4;i++) {
for (int j = 1; j <= 4; j++) {
if (map[i][j] == 0)
cout << "00";
else if (map[i][j] == 1)
cout << "##";
... | 3ff6b880bc8f4f86ccbcc08a9e910604c87779a9 | [
"C++"
] | 1 | C++ | ghaem51/setRokh | 916bde28f7dd22feefc1e46c003d7ca03d61481f | 1cbf78b8b47d7d1e733b40ba765ce33daf838236 |
refs/heads/master | <file_sep>/* dlist.c */
#include <stdlib.h>
#include <string.h>
#include "dlist.h"
/* dlist_init */
void dlist_init(Dlist *list, void (*destory)(void *data)){
/* Initialize the list */
list->size = 0;
list->destory = destory;
list->head = NULL;
list->tail = NULL;
return;
}
/* dlist_destory */
void dlist_dest... | 8918e307b89094c503f9e02c6b2444df79698389 | [
"C"
] | 4 | C | Latoris/Learn | 4ec712ca0d5b8540a51ef837ff2a0d31d4f68176 | fbe5f729d23435568ba1a584c6204402e391755a |
refs/heads/main | <repo_name>zpesce/MISM-3403-Database-Lab-Work<file_sep>/3403_lab_work_zoe_pesce.py
# coding: utf-8
# # <NAME> | MISM 3403 | Database Lab Work | DLZHP LLC Property Management Database
# # Requirements:
# The DLZHP LLC Property Management Database will capture data about the following:
#
# For each building owned: a ... | d15493fb35489253b6001fa9c12b804262669860 | [
"SQL",
"Python"
] | 2 | Python | zpesce/MISM-3403-Database-Lab-Work | dba0aef679a45191314482a482be15224aa24ae0 | 455b05a885d7c251109e5ecc6544b4207d97b8e8 |
refs/heads/main | <file_sep><?php
include('connection/phpconnect.php');
session_start();
error_reporting(E_ERROR | E_WARNING | E_PARSE);
$search = (isset($_GET['search'])) ? $_GET['search'] : '';
$sql = "SELECT *
FROM `employee`
WHERE (`code` LIKE '%$search%')
OR (`name` LIKE '%$search%')
OR (`area` LIKE '%$se... | 3dd9931dc84966519d8439dd44898da4e903ddf3 | [
"PHP"
] | 23 | PHP | fbi18652/inventory | 622dbb64bd67aedbe8b265fb9c1b05ab8add9cd4 | 26556dd4c6c022020fe83dfec6ef53ce0fcb94dd |
refs/heads/master | <file_sep>import {Component, OnInit} from '@angular/core';
import {ApiInterfaceService} from '../providers/api-interface.service';
import {AngularFireDatabase} from 'angularfire2/database';
import {AuthService} from '../providers/auth.service';
import {Router} from '@angular/router';
import {User} from 'firebase';
impo... | c0e886bda8e137b1d028939cdb801fdc8036853e | [
"Markdown",
"TypeScript",
"JavaScript"
] | 17 | TypeScript | debkbanerji/templyte | 46b0c084ae9c40a2807aa2312e75738a88a9f117 | 83d34a7eb3b1a7fa5e12a68b0249bcfb38109573 |
refs/heads/master | <repo_name>gzunigal/MeLiAzure<file_sep>/app/views.py
"""
Definition of views.
"""
import httplib, json
from django.shortcuts import render
from django.http import HttpRequest
from django.template import RequestContext
from datetime import datetime
from bs4 import BeautifulSoup
def home(request):
"""Renders the ho... | aa18c2be77a29ec800a2c8d1aa5b38d37523cd20 | [
"Python",
"Text"
] | 3 | Python | gzunigal/MeLiAzure | 91736cd47b38024125334fa59073ade6688b02ba | 1090351dbce90ba4b3d1e782e2b2b772d6df17c4 |
refs/heads/master | <file_sep>class ReservationsController < ApplicationController
before_action :authenticate_user!
def index
@reservations = Reservation.where status: 'active'
end
def show
get_reservation
end
def new
@reservation = Reservation.new
end
def create
@reservation = Reservation.n... | ee9e38ef6e8c87941eda772a2fe8b0448660922b | [
"Ruby"
] | 9 | Ruby | coteeadventure/CoteeSchedule | c653980fc5442b723875c9f3e05cf966ea0188b2 | 9e113b16d93962b9d6a0281e8c869f58dc071ec5 |
refs/heads/master | <file_sep>friends_app.factory('FriendFactory', function($http) {
var factory = {};
var friends = [];
factory.getFriends = function(callback) {
$http.get('/friends').success(function(output){
friends = output;
callback(friends);
});
};
// note the u... | 1745fbddc5f41058a3fc4eb409439b7343fa65f1 | [
"JavaScript"
] | 2 | JavaScript | teckw/Friends_MEAN | fb2a66cb151a2874fd9d024066379a0c6430a3fd | ffa4dd8420ef73c68e0252184b7228f2f56cdf4a |
refs/heads/master | <repo_name>Pougliche/doctolibkiller<file_sep>/db/seeds.rb
require 'faker'
require 'colorize'
20.times do |index|
city = City.create!(city_name: Faker::Address.city)
specialty = Specialty.create!(specialty_name: Faker::DcComics.hero)
end
100.times do |index|
med = Doctor.create!(first_name: Faker::Name... | e5afb51516178a501c72b9fab7160f174b77e26b | [
"Markdown",
"Ruby"
] | 2 | Ruby | Pougliche/doctolibkiller | d94965ad1aa554131abf1d379745d7013c530c73 | 439a145193b8e46b096de0547ce796e4470e4a29 |
refs/heads/master | <file_sep>#include<iostream.h>
void main()
{
int a=0,b=1,sum=0,n;
cout<<"enter the value of n";
cin>>n;
cout<<a;
cout<<b;
for(int i=3;i<=n;i++)
{
sum+=(a+b);
a=b;
b=sum;
cout<<sum;
}
}
<file_sep># first-repository
Fibonacci Series
This is c++ program to find the nth term ... | 56745bed852d51d3e39fcc4d7d827aa18bac09ca | [
"Markdown",
"C"
] | 2 | C | sumitdas9234/first-repository | db0c2c6b8fee5a977190b5b9b24716b2c4bb3743 | e16ffe8cf358a9817d4d266fef80ce1a32cff27c |
refs/heads/master | <repo_name>sagarwasule/cs_puzzle<file_sep>/CS.Puzzle/CS.Puzzle/Program.cs
using System;
namespace CS.Puzzle
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("There are {0} sundays on the first of a month", calculateNumberOfSundays());
Console.ReadLi... | 33dd8f5cbc331b3343d1910d9095802dcf5a5d58 | [
"C#"
] | 1 | C# | sagarwasule/cs_puzzle | bd430e539f0b7ab3df49ae3f34228dfb8625b1e1 | 1d34f9200be0d60c7835a69d106b684bc9555031 |
refs/heads/master | <repo_name>khonthai/Algorithms<file_sep>/evacuation_plan.cpp
#include<stdio.h>
#include<vector>
#include<math.h>
using namespace std;
#define MAX_N 100
#define MAX_M 100
#define MAX_V 202
#define INF 1e9
#define MAX_E 10200
struct edge{
int to, cap, cost, rev;
};
vector<edge> G[MAX_V];
int dist[MAX_V];
int prevv[MA... | b3b1ed63274e86036f83e706e12dc6f0c33e8aa5 | [
"C++"
] | 33 | C++ | khonthai/Algorithms | 40708317639f12cf1781d594e400c1734ca64956 | e71333f39ef01b37f08974c4ead01a301194a9c6 |
refs/heads/main | <file_sep>function populateUFs() {
const ufSelect = document.querySelector("select[name=uf]")
fetch("https://servicodados.ibge.gov.br/api/v1/localidades/estados")
.then((res)=>{return res.json()})
.then( states => {
// ufSelect.innerHTML = ufSelect.innerHTML + `<option value="1">Valor</o... | bc8ebd08689f9014e986b25cb21f12e136d4919d | [
"JavaScript"
] | 3 | JavaScript | pedrofbr0/ecoleta-nlw1 | 58ef3f35bac95f31595eb5c40acf337c6d833985 | 87391b6cb3f532752b5dfd9031b7263e6264aa46 |
refs/heads/master | <file_sep>## Etch-A-Sketch - Odin Project
https://www.theodinproject.com/lessons/etch-a-sketch-project<file_sep>
const container = document.querySelector('.grid-container');
for (let i = 0; i < 16; i++) {
let div = document.createElement('div');
container.appendChild(div);
}
| 375422bf3a04080972ea18f0d1f93095e872806b | [
"Markdown",
"JavaScript"
] | 2 | Markdown | joshgunter/etch-a-sketch | fde894683c818a3b7f94b87539156c6e4a86284c | debc27d35e672cbd3cf6fbac00a751b329890976 |
refs/heads/master | <file_sep># frozen_string_literal: true
module Que
VERSION = '1.0.0.beta2'
end
| f1966afa8a696b7490b3c9da0953e331bbc11d70 | [
"Ruby"
] | 1 | Ruby | bgentry/que | a253177d9a2db5a0c65e59b5939cb83224257ffd | b5b24104c7162e88678163e5403dcba3eb15ec56 |
refs/heads/main | <file_sep><?php
//文字の四則演算を入力し、その結果を計算する
//DEMOページ:http://34.127.11.233/Programe_Practice/
//ページに入った後、四則演算を押してください。
$Formula = $_POST["Formula"];
$InputCheck = "/^[0-9\+\-\*\/\(\)]+$/";
if(preg_match($InputCheck, $Formula)){
$Number = str_split($Formula);
$Temp = array();
$TempCount = 0;
$Operation = ... | 855364b34854c5dfd04e3d7ff8a246b3c42e0b43 | [
"PHP"
] | 1 | PHP | Tame394824/CalculateStringFormula | 1f100fc00d473bb952b21a92f37926a69226eac2 | 00ff62146045fcae40ab1c7a42a4ce26c8243016 |
refs/heads/master | <file_sep>
BasicGame.Game = function (game) {
// When a State is added to Phaser it automatically has the following properties set on it, even if they already exist:
this.game; // a reference to the currently running game (Phaser.Game)
this.add; // used to add sprites, text, groups, etc (Phase... | 2db6dc67c9b1d457929104ccb44a5d015cc553c6 | [
"JavaScript"
] | 3 | JavaScript | mclubb/valentines_game | 0419fbc2fe21a4f14cc41a8a29345e0665cf82a5 | 709efafd6047a1732421c96255d07032441f7531 |
refs/heads/master | <repo_name>ichsan-pribadi/minipro-refresh-java<file_sep>/refresh-project/src/main/java/com/example/demo/service/impl/GejalaServiceImpl.java
package com.example.demo.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
impor... | b91359a41678c1bb7c00721901e95055353f3e9f | [
"Java",
"INI"
] | 6 | Java | ichsan-pribadi/minipro-refresh-java | 8bd478c8460829ef06ecc90fc68cc9e4c6be7daf | 44207ee0ffec73a27461011870f9168deae85b92 |
refs/heads/master | <repo_name>caoyujiamm/2016.10.17<file_sep>/WORK/Controllers/HomeController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WORK.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
... | 89497939b0049c5f35ac441ddc57d4fbaa3e08d9 | [
"C#"
] | 1 | C# | caoyujiamm/2016.10.17 | 2a2c1515033358689aa19c51f3c3a5058d41b2b8 | defbe2e201242cf212fac950e4d7c39a38122602 |
refs/heads/master | <repo_name>roytanck/gifloopcoder-scripts<file_sep>/code/roy-typo.js
function onGLC(glc) {
glc.loop();
// glc.playOnce();
glc.size(400, 400);
glc.setDuration(3);
glc.setFPS(20);
glc.setMode("single");
glc.setEasing(false);
glc.setMaxColors(256);
var list = glc.renderList,
width = glc.w,
height = glc.h,
co... | 8d2a68fa0c6e3b51d46554c90963b4d7fcf37925 | [
"JavaScript",
"Markdown"
] | 69 | JavaScript | roytanck/gifloopcoder-scripts | c32ff0fe5956d56a7736a33ff9fb5dba9f1bc6ec | b86f0696ea8b2fff5b0b6af74f9a89b9edbdc519 |
refs/heads/master | <file_sep>// using System;
// using System.Collections.Generic;
// namespace ECommerce.Demo.API.Domain.Entities {
// public class Product {
// public int Id { get; set; }
// public string Name { get; set; }
// public string Description { get; set; }
// public string Type { get; set;... | f6eb02c02dd630f82399f89330bd42199afcbd6f | [
"C#",
"YAML",
"Shell"
] | 30 | C# | HouseAlwaysWin/ECommerce.Demo | 4cda6379f7d2905769d12e12e9985f1765c3f749 | 152f20fb38e67c7b3785628fe795079215a9d0b9 |
refs/heads/master | <repo_name>FuriosoJack/PayU-Payment-SDK<file_sep>/README.md
# PayU-Payment-SDK
Repositorio personalizado y acomodado para pagos con PayU basando en el SDK Official de PayU
<file_sep>/src/Requests/PayURequestStoreTokenCreditCard.php
<?php
namespace FuriosoJack\PayUPaymentSDK\Requests;
use FuriosoJack\PayUPaymentSDK\Pa... | a433a9a9b0c66ea4419450d59517b712716d5232 | [
"Markdown",
"PHP"
] | 12 | Markdown | FuriosoJack/PayU-Payment-SDK | 451986f7c266149e1e783b3d80b74397b7cda955 | 15a64526bb003c66316ab949b2bf1d16e3fb1f63 |
refs/heads/main | <file_sep>package com.example.movieslillbox.presentation.detail
import androidx.lifecycle.ViewModel
class DetailMovieViewModel : ViewModel() {
// TODO: Implement the ViewModel
}<file_sep>package com.example.movieslillbox.presentation.main
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewMo... | f2fdf5ef27d2ab6e8b51560ee1f71f103ef11459 | [
"Markdown",
"Kotlin"
] | 11 | Kotlin | bbahtiarov/MovieSkillbox | bcf51d00e15f13502b2084d2c2015791825a24b9 | 978b881f40d55bdcc50695822aeb4a02e33e8d4d |
refs/heads/master | <file_sep>package joanat.freelance.com.joanaty.Users;
import android.app.AlertDialog;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wid... | a92bfb6999c4d65a652057be73acdabda40a816b | [
"Java"
] | 3 | Java | MomenShahen/Joanaty | 2cb9bea23254ef4523d165163fd480f543073e8f | bf9d7e792fb07805c8b553810af78787da52e029 |
refs/heads/main | <file_sep>// Module 19-5 :
// 1.core concepts
// 2. variable (let , const) javascript var, let , const
// 3. array,loop(while,for),conditionals,function
// 4. Function
// *leap year
// * odd even
// * factorial (while,for)
// New home work
// 1 Celsius to fahrenheit
// 2 Fahrenheit to celsius
// 3 Gra... | 4688c609f4ec4d7eb60bc226bd625e9ce93e18a3 | [
"JavaScript"
] | 1 | JavaScript | sksatu1/module_19-5 | 2bb8eaa399c90b7ce2d6505d91a1c80917112851 | 3d0b33e029d1f2e4acc5e9597307ed301e3eb22e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.