branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>package com.example.grpc;
import io.grpc.stub.StreamObserver;
public class GreetingServiceImpl extends GreetingServiceGrpc.GreetingServiceImplBase {
@Override
public void greeting(GreetingServiceOuterClass.VehicleInfo request,
StreamObserver<GreetingServiceOuterClass.Vehicle... | f8bcc4913ee6a74ca18fdb245265d8a4d8c6fab9 | [
"Java"
] | 1 | Java | mladarsh/grpcJava | 5378c179e59393d83ba09ba807c3649738eac7ab | 585a1403aa0885e102a7920b78e986a72dc3fab1 |
refs/heads/master | <file_sep># R Style Ninja ---- www.rstyle.ninja #
# HappyR
library(ggplot2)
# Head
circleFun <- function(center = c(0,0),diameter = 1, npoints = 100){
r = diameter / 2
tt <- seq(0,2*pi,length.out = npoints)
xx <- center[1] + r * cos(tt)
yy <- center[2] + r * sin(tt)
return(data.frame(x = xx, y = yy))
}
# S... | d0b3bc7d0943ecc2b8db13d22a01899e73d62294 | [
"R"
] | 1 | R | RStyleNinja/HappyR | d0af8139a654de1b8dbe511505a17eed09d71833 | ff68a52cd371abb6b96a8b1fd16440e491570b03 |
refs/heads/master | <file_sep>"use strict";
let browserConfig = require("./config/webpack.browser.config");
let workerConfig = require("./config/webpack.workers.config");
module.exports = [
browserConfig(),
workerConfig()
];
<file_sep>import {WorkerInput, WorkerResult, GerberParserOutput, GerberParserInput} from "../common/As... | 466be24397f148d24050c8a92bf660aaf978d61a | [
"JavaScript",
"TypeScript",
"Shell"
] | 4 | JavaScript | erwzqsdsdsf/grbviewer | 0a3a6be68632646667ad9d0038bf1ab6e18f7be4 | 5015da215fda26db458707c0f9799e08bafd9229 |
refs/heads/master | <repo_name>thorsager/jNetTelnet<file_sep>/src/main/java/dk/krakow/jnettelnet/samples/SampleCiscoClient.java
/*
* Copyright (c) 2013, <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions ar... | a80009e6cfe261c6f2f076c49c1e4e7ddf91de7d | [
"Markdown",
"Java",
"Maven POM"
] | 6 | Java | thorsager/jNetTelnet | 25c7c3ca706a8938031b19eab8b934d877ef88bb | a48bb9b972be5bc7a0d9a2595a7e310a163949c0 |
refs/heads/master | <file_sep>import Vue from 'vue'
import VueRouter from 'vue-router'
import MyCart from '../views/MyCart'
import Checkout from "../views/Checkout"
import HomePage from "../views/Home"
Vue.use(VueRouter);
const routes = [
{
"path" : "/",
"name" : "home",
"component" : HomePage
},
{
... | 985fa33f579bbce213ea72dd296804d294367dc0 | [
"JavaScript"
] | 2 | JavaScript | 7ananthan/ecommerce-website-frontend-vue | fea56167a7940d1e98065a8bfe61d115abc12668 | 65563fd6394ac9073861d2c144821cb266b4fc87 |
refs/heads/master | <repo_name>thejason40/octo-micro-site<file_sep>/Gemfile
source 'https://rubygems.org'
ruby '2.1.5'
gem 'sinatra'
gem 'sinatra-content-for'
gem 'octocore', '~> 0.0.2', '0.0.2'
gem 'rspec'
<file_sep>/README.md
# octo-micro-site
This is what used to power the octo.ai main website.
<file_sep>/app/controllers/root_contro... | d3c0a9d86ede693495d276f9666119f9eb651c9b | [
"Markdown",
"JavaScript",
"Ruby",
"Dockerfile"
] | 11 | Ruby | thejason40/octo-micro-site | 023197fe51dc630b05ff9e5192abe13fb6801b09 | 26ff2635fa3142fcf8f071c7ce772f6c1d6e4a1d |
refs/heads/master | <repo_name>tathaibinh/SuperNetwork<file_sep>/README.md
A Java implementation of the FTP protocol and WEB protocol with GUI . It contains a mutil-service and mutil-protocol super server and super client .
一个用Java实现的拥有GUI界面的FTP协议和WEB协议。它包括一个多服务、多协议的超级服务器和超级客户端。<file_sep>/src/com/isdaidi/ftpserver/FtpServer.java
package ... | c12f354079dcab1689a5409ce97e915cbe7f8637 | [
"Markdown",
"Java"
] | 5 | Markdown | tathaibinh/SuperNetwork | 55f198b9e2abc6d8c2cc799b2602bab4a18a64d4 | 3dcff76e8778c7daaf3cdee2aabab572bd853404 |
refs/heads/master | <file_sep><?php
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
public function run()
{
factory(\App\User::class)->create([
'email' => '<EMAIL>',
'password' => '<PASSWORD>',
]);
factory(\App\User::class, 18)->create();
}
}
<file_se... | 3404781d1f9a9ad77f59ff2c79815188d463c321 | [
"Markdown",
"PHP"
] | 2 | PHP | junedc/VueAxios | 295c44ef7cdab781263d9b6fab3d2e7a9d262b65 | badcf871faa071cf26dd6557022dbc7e32a217e9 |
refs/heads/master | <file_sep><?php
error_reporting(5);
$dbHost = "localhost";
$dbUser = "root";
$dbPass = "<PASSWORD>";
$dbDatabase = "aquarium";
$db = mysql_connect("$dbHost", "$dbUser", "$dbPass") or die ("Error connecting to database.");
mysql_select_db("$dbDatabase", $db) or die ("Couldn't select the database... | 7381132d27b4a09e6cf46f01255ff3da6914103d | [
"SQL",
"Makefile",
"PHP",
"C",
"Shell"
] | 48 | PHP | mobilehunter/trafficsqueezer | 22678cfacad7dd129b29d70a60c23436473e99e7 | 076454af54f7671215383db6330f05ef167a3d6b |
refs/heads/master | <repo_name>hyhmaffia/algorithmic-puzzles<file_sep>/1.Wolf-Goat-Cabbage.py
left_side = {"Wolf":True,"Goat":True,"Cabbage":True}
| c0f014e92eeb952e39ee721c348e8129208ee70c | [
"Python"
] | 1 | Python | hyhmaffia/algorithmic-puzzles | 7b05e95c93a2cd3d0d7d329a02006a75bb13977b | 22efc4f2317bcabbf9bd0cda38ccc43d6424693a |
refs/heads/master | <repo_name>liuyadong7/jfinal_rook<file_sep>/src/main/java/com/useradmin/common/enums/Driver.java
package com.useradmin.common.enums;
public enum Driver {
postgresql,
mysql,
oracle,
sqlserver,
db2
}
<file_sep>/src/main/java/com/useradmin/framework/aspectj/annotation/Controller.java
package com.usera... | 5523bd4042f7878ebb1f0f9ae98719826750dd3c | [
"Java"
] | 7 | Java | liuyadong7/jfinal_rook | c99722a3c21961259ea7f428633cc9c0a6760e23 | 326a817b93e91fd3474f5fc75a6975a48f2bbec1 |
refs/heads/master | <repo_name>BXHero/CGMSuShi<file_sep>/pages/test/test.js
// pages/test/test.js
Page({
/**
* 页面的初始数据
*/
data: {
input1 : "你的名字",
input2 : "对方名字",
returnString : "返回结果"
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: functi... | c22ea8f2c88bc5308c65abd8c81a3ea47f774ec7 | [
"JavaScript"
] | 1 | JavaScript | BXHero/CGMSuShi | 25a30fd81fe26801704a4fee2bc698d1e9577a78 | 2369204569912f4c507a9ff9c72a689e48379b85 |
refs/heads/master | <file_sep>package com.medical.iqcc.security.jurisdiction.service;
import com.medical.iqcc.security.jurisdiction.entity.UserAuthority;
import java.util.List;
import java.util.Map;
/**
* Created by JiangZ on 2015-06-26.
*/
public interface UserAuthorityService {
int deleteByPrimaryKey(Long id);
int insert(U... | e48378dd2806f9a2c8d3d55fc3a4921537f5a4e0 | [
"Java",
"INI"
] | 31 | Java | jiangzhe1984/meikang-p3 | e580ead52f29f1cd0ada69c8204754c2efa8bacf | 43c91e30fd7bc36bb644a6c7b00c3a526246e095 |
refs/heads/main | <file_sep>#define BUSMASTER_CONTROL_OFF 0
#define BUSMASTER_CONTROL_6502 1
#define BUSMASTER_CONTROL_SHIFTER 2
extern void busmaster_set_control(int busControl);
extern int busmaster_get_control();<file_sep>#include "busmaster.h"
#include "ic6502.h"
#include "shifter.h"
static int s_currentControl;
void busmaster_se... | b13d6a356a7734e66e0974a7eb1d0619a0e25e68 | [
"CMake",
"Markdown",
"Python",
"C",
"C++"
] | 27 | C | mslinklater/LINK_01 | 969860f113841e143735c4455e307ba19b23486a | f5248847c09c103b251bcd8430e875ce4d59da58 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import networkx as nx
from operator import itemgetter
from math import sin, cos, radians, sqrt
from symmetries import find_microsymmetries, Segment
import numpy as np
def setup_canvas(height, width):
import cairocffi as cairo
surface = cairo.ImageSurface(... | ef687913077f279728677d5275df4b132b4c1015 | [
"Markdown",
"Python",
"Text"
] | 4 | Python | ezequielp/glyphy | 278059fcd8ef0fe52798db4333ccd71933d82a61 | 09ceba49f3181f57091a0683a2613c68acb023b5 |
refs/heads/devel | <repo_name>nickmccoy/search-engine<file_sep>/word2vec/NumpyEmbeddingStorage.py
#!/usr/bin/env -p python3
## Wrapper around a numpy array of document or word embeddings.
#
# Why use this instead of just using the array directly? This class has a more
# modular interface that could be implemented to wrap other storage m... | b4937e75dd0e1bd7113e04bc07a2fc314d7bf6ac | [
"Python",
"Shell"
] | 4 | Python | nickmccoy/search-engine | 2b9d2079fddd08eb1e4184d52f9551ac98fa0057 | aef161bfa535abc3200d39c9f7e448e983df1992 |
refs/heads/master | <repo_name>DeSouzaSR/ShowTime<file_sep>/ShowCurrentTime.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Oct 5 21:42:43 2016
@author: <NAME>
Porpose: show hours from the system
"""
from time import time
import os
# Clear screen
os.system('clear')
# Get the current time
currentTime = time()
# ... | 48d37ed8e1094609b67b9b73a77201924a228c7f | [
"Markdown",
"Python"
] | 2 | Python | DeSouzaSR/ShowTime | 45b6cb1d0322cf052284a25c06aaa584991a9ee2 | b4969ffc13e1fffb5eae084a5a95737f6d747ae5 |
refs/heads/main | <repo_name>Yoonhee-Lee/FirstRPack<file_sep>/README.md
# FirstRPack
This has some data related functions
<file_sep>/R/HealthData.R
#'some World Bank Data
#'
#' @format 264 x 64 dataframe ...
#'
#' \describe{
#' \item{index}{Country Names}
#' \item{column1}{Literacy rates}
#'}
"HealthData"
HealthData = read.csv("World H... | 24eb68035f5e15267f6fda5cd12f67ef337dba1c | [
"Markdown",
"R"
] | 5 | Markdown | Yoonhee-Lee/FirstRPack | 0750e39d36222c4402d9273c6a002713257ee32e | 29f762847e7076801558059c0018305fa6ee70be |
refs/heads/master | <file_sep>#! /usr/bin/env python
import numpy as np
from scipy import optimize
from collections import Sequence
from itertools import chain, count
import numbers
import argparse
def NumberQ(x):
return isinstance(x, numbers.Number)
def depth(seq):
for level in count():
if not seq:
return le... | 5742b5faaf4014d5f8b116a0927cdc45ff7fc7b8 | [
"Python"
] | 2 | Python | jtamagnan/informr | b2823799f5e58bf786f72718210f02da8fc10e71 | 4d9bab8b9a95923f9e6d962b1a92c9a12330c095 |
refs/heads/master | <file_sep>import java.util.Scanner;
public class exDoWhile2{
public static void main(String[]args){
Scanner entrada = new Scanner(System.in);
double gremio, inter, outro, geral, porGre, porInt;
geral = 0;
gremio = 0;
inter = 0;
outro = 0;
porGre = 0;
porInt = 0;
char digito;
do{
System.out.pr... | ffce633e73ccda9a80955acdc9fb3bd0762f283a | [
"Markdown",
"Java"
] | 6 | Java | Angenox/ifex-feitos-na-facom | c3330590c270ed49b7e16d60a17831d28b6b958a | 3d34c0f30ecddc08ee320ad03d6a67c097668821 |
refs/heads/master | <repo_name>mifril/dl_models<file_sep>/dl_models/keras/unet.py
from keras.optimizers import *
from keras.layers import *
from keras.callbacks import *
from keras.models import Model
# U-Net implementation
# https://arxiv.org/pdf/1505.04597.pdf
def double_conv_layer(x, size, dropout, batch_norm):
if K.image_dim_ord... | f13de74d7f731909d790ef73c2a57b40222588c1 | [
"Markdown",
"Python"
] | 3 | Python | mifril/dl_models | ac276cf38cce1202324daebefa5cf426996dca55 | b1104ef1cacb6eb84d64683d691f2fd61ce33310 |
refs/heads/master | <repo_name>qlcchain/WinQ-iOS<file_sep>/Qlink/Vender/QLC/qlc/mng/BlockMng.swift
//
// BlockMng.swift
// Qlink
//
// Created by <NAME> on 2019/5/30.
// Copyright © 2019 pan. All rights reserved.
//
import Foundation
import BigInt
public class BlockMng {
/**
*
* @Description get block root
* ... | 99dc4c752ba1ca62dd712a09ab3de1bc51c67e70 | [
"Swift",
"C",
"Ruby",
"Markdown"
] | 65 | Swift | qlcchain/WinQ-iOS | 2c245e56fabc3b36ee5c2d11c127fc8a96dece3f | 89a4ece5d9b14f28e6c3d246f9a076159c7a2bba |
refs/heads/master | <repo_name>antoniosumak/react-ecommerce<file_sep>/src/lib/styles/theme.js
export const breakpoints = {
mobileLarge: 'min-width: 576px',
tablet: 'min-width: 768px',
desktop: 'min-width: 1024px',
desktopLarge: 'min-width: 1440px',
};
export const boxShadow = 'rgba(149, 157, 165, 0.2) 0px 4px 24px;';
export cons... | 9d4605f67e528f0a3df9f25ebab1107930ee80ea | [
"JavaScript"
] | 12 | JavaScript | antoniosumak/react-ecommerce | 146b40401537f4085a3624257ae89f44b32122de | 11562dd6eaa7ee69342b2e45d9ac3858ead632a7 |
refs/heads/master | <repo_name>differentialmanifold/vue-2048-backend<file_sep>/td/q_learning.py
import sys
import itertools
import os
import argparse
import numpy as np
from collections import namedtuple
if "../" not in sys.path:
sys.path.append("../")
from boardWithoutTiles import BoardForTrain
from tensorBoard.tensorBoardPlot impor... | fccce138df3f4d602475b60594010940eeaec147 | [
"Markdown",
"Python",
"Dockerfile"
] | 16 | Python | differentialmanifold/vue-2048-backend | ca539919c9f2246eb0193365a0697fe858da4e1d | b6c0a2d6e4b9732d38c3c5eeca421399e5d156a4 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
namespace CoreSystem.Basic
{
public class CacheComponent
{
}
}
<file_sep>This is tools directory.<file_sep>This is server directory. | fe9eeaed80c728e5b0d9f7d8d83618637bf6450f | [
"C#",
"Text"
] | 3 | C# | clayzx/MobileGame | 2ef0519fc397b023c23ccdd9f0e14afa7080e592 | cc1567def565898f5d8dca9f7276ae0604469327 |
refs/heads/master | <repo_name>liphardt/aTRAM<file_sep>/lib/db.py
"""Handle database functions."""
import sqlite3
import sys
import os
from os.path import basename, join, exists
ATRAM_VERSION = '2.0.alpha.5'
DB_VERSION = '2.0'
BATCH_SIZE = 1e6 # How many sequence records to insert at a time
def connect(blast_db, check_version=False... | a0b24f3b24e5ab101dcbbcd31a290fb685cc2bf8 | [
"Python",
"Text"
] | 2 | Python | liphardt/aTRAM | 2bcd3a4da982c47398f9ac989dde55c16d21022c | 879d187ea6ab234b42b22b1be84c510b5ae6fd3b |
refs/heads/main | <repo_name>GT0221/battleship<file_sep>/src/battleShip.js
import GameBoard from './gameBoard.js';
import Ship from './ship.js';
import handleEvents from './eventListeners.js';
function battleShip() {
const userGrid = document.querySelector('.grid-user');
const cpuGrid = document.querySelector('.grid-cpu');
... | 0aec68c1b8193eef1ff89428243bb23ed5f7750b | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | GT0221/battleship | 3dde7d295830787b2cf3f6466ab7669c98b4c355 | 4910e3e9161cf09539cd518153dd0f4426ce0f74 |
refs/heads/master | <file_sep>from django.shortcuts import render
from testapp.models import employee
from django.db.models.functions import Lower
def display(request):
e1=employee.objects.get_queryset1() #objects is not necessary we can write anything but then change in models.py
dict={'e1':e1}
return render(request,"Tes... | d49952b1b578ba132d33f592b3deb1619de523e4 | [
"Python"
] | 2 | Python | Aniket-Sharma99/Summertraining | 350f368a4c357aafbca9f2811983605a60e62c03 | dfc3dc9985596a902904c801f2f289aae62f7c92 |
refs/heads/master | <repo_name>dvgis/dc-react<file_sep>/src/loader/HttpLoader.js
/**
* @Author: Caven
* @Date: 2021-07-01 20:10:00
*/
import axios from 'axios'
const instance = axios.create({
timeout: 15000,
})
class HttpLoader {
load() {
global.Http = instance
Object.freeze(global.Http)
initInterceptors(instance)
... | 5a355e7c4e8a0b151b81e9f220637540f4c0900d | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | dvgis/dc-react | 0df7f4d239a6f7972b2be5e9c9cfb4a867f2677d | 63550c78c716c63037030f5d708aa5dd86f5debb |
refs/heads/master | <file_sep>angular.module('video-player')
.controller('appCtrl', function(youTube) {
this.videos = window.exampleVideoData;
this.currentVideo = window.exampleVideoData[0];
console.log(this.currentVideo);
var changeCurrentVideo = (obj) => {
this.currentVideo = obj;
console.log(this);
console.log(thi... | f6a51ca1a1ec24037bedb9f13fd1b31e9eec7555 | [
"JavaScript"
] | 1 | JavaScript | isabellatea/ng-cast | f12558d4735f255444766b616d1756c514ec5dd9 | 6f83f3084061122bcf71d758232aca1c7439620f |
refs/heads/main | <file_sep>import { UpdateTaskDto } from './../DTO/update-task.dto';
import { TaskStatus } from './../Entity/task.entity';
import { TaskStatusValidationPipe } from './../pipes/TaskStatusValidation.pipe';
import { CreateTaskDto } from './../DTO/create-task.dto';
import { TasksService } from './tasks.service';
import {
... | d3ef8436525392476a3cf466147b3225c9e12999 | [
"Markdown",
"TypeScript"
] | 8 | TypeScript | shajihamza88/saptmtaskback | 6d2230380358aa2dfc8ddca8894ed881a6f2b43b | 14cdbe78e9cae71d71852818016c74aef8e93d97 |
refs/heads/master | <file_sep>const proc = require('child_process');
const request = require('request');
const constants = require('../constants');
const resUtils = require('./response-utils');
module.exports = {
initRepos: function() {
return new Promise((resolve,reject) => {
console.log('Initializing and syncing... | 5bf23060841e1d7cf1b911c5c3db3761f43c360d | [
"JavaScript",
"Shell"
] | 8 | JavaScript | matty-v/git-repo-api | dc53aa15f4e5cb2c3ab11e317e439449c9893572 | acf25b7faf2b5d62c92eb3ff73ff1ad0c84de6e8 |
refs/heads/master | <repo_name>jahanpd/abstract<file_sep>/updated/migrations/0007_auto_20170107_0133.py
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-01-07 01:33
from __future__ import unicode_literals
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
depend... | 5f3a3813ed7beaa3ec778d8940294270ac09cc8e | [
"Python",
"Text"
] | 15 | Python | jahanpd/abstract | 38e47e6b56a74984928103cbecb63654ed197e81 | 90aee97a29a6f1c44d535602cee8d5d867067572 |
refs/heads/master | <repo_name>and29/trueChart-Menubar4Sense<file_sep>/resource/translations/de_de/translations.js
export default {
"label": {
"addButton": "Button hinzufügen",
"addDimension": "Dimension hinzufügen",
"addItem": "Element hinzufügen",
"addSingleSelect": "Single-Select hinzufügen",
... | 2c8c1f84bf12dba9cba3e495bab4ccf5e6765487 | [
"JavaScript"
] | 2 | JavaScript | and29/trueChart-Menubar4Sense | 741ff2b3709751f3a2cb642c197c225b9b29b0cc | 437973efce7f16c7331339a20b289a88854c5573 |
refs/heads/master | <repo_name>GGjin/algorithm_python<file_sep>/easy/38.外观数列.py
#!/usr/bin/env python
# -*- coding::utf-8 -*-
# Author :GG
# 给定一个正整数 n(1 ≤ n ≤ 30),输出外观数列的第 n 项。
#
# 注意:整数序列中的每一项将表示为一个字符串。
#
# 「外观数列」是一个整数序列,从数字 1 开始,序列中的每一项都是对前一项的描述。前五项如下:
#
# 1. 1
# 2. 11
# 3. 21
# 4. 1211
# 5. 111221
#
#
# 第一项是数字 ... | b72cbafda25941a411a06bd688004fb6ec8b0397 | [
"Python"
] | 28 | Python | GGjin/algorithm_python | de36824647a10199963c64b0d32b8fb581c9eef6 | 92d8ea04c8298bb2fcb65299d8f925a0c750209d |
refs/heads/master | <repo_name>ECommProfscot/ECommerce4<file_sep>/ECommerc.Api.Products.Test/UnitTest1.cs
using System;
using Xunit;
using ECommerce.Api.Products.Providers;
using ECommerce.Api.Products.Db;
using Microsoft.EntityFrameworkCore;
using ECommerce.Api.Products.Profiles;
using AutoMapper;
using System.Linq;
namespace ECommerc.A... | 838f3d5339670cf997878984e6e29902777ac69b | [
"C#"
] | 2 | C# | ECommProfscot/ECommerce4 | 37f9960a89c374077204f82c9d9a9be00767061e | e0c0cc445753c31b69b0ca008e1686b04c078cff |
refs/heads/master | <repo_name>SergeyShcherbakov95/spec_prog<file_sep>/laba1.py
__author__ = 'sergey'
import urllib2
from datetime import datetime
import pandas as pd
def dowl(i):
index = str(i)
if i < 10:
index = '0' + index
url="http://www.star.nesdis.noaa.gov/smcd/emb/vci/gvix/G04/ts_L1/ByProvince/Mean/L1_Mean_UK... | c78682eb0be9e367492333afc2206865f784037a | [
"Python"
] | 2 | Python | SergeyShcherbakov95/spec_prog | 38b91ac2d433e3368eceeb8f0a8227fb0bc0a144 | 696b0a1acdeecc71353bcc91698c4a355dbc227c |
refs/heads/master | <file_sep>var gulp = require('gulp');
var sass = require('gulp-sass');
var input = './src/scss/main.scss';
var output = './public/';
gulp.task('style', function () {
return gulp
.src(input)
.pipe(sass())
.pipe(gulp.dest(output));
});
gulp.task('watch', function() {
return gulp.watch('./src/scss/**/... | f3c79b3787d37cc85110ecf400195faffd360009 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | yipsun/lightspeedboutique | 04c34c1d3eeea474b59c380877e365d671d26664 | 9834f3a190dbea2c59109c1a8a45d20689b472de |
refs/heads/master | <file_sep>/****************************************************************************
** Program name: Menu
** Author: <NAME>
** Date: 3/26/17
** Description: This file contains the definition of the Menu class. This class
** has two contructors, a default constructor and a constructor
** that takes a vector of... | 2ce79a4ab0583c25dccfe4dfffec58e5e57ddd4a | [
"Makefile",
"C++"
] | 8 | C++ | ttnguyen128/LangtonsAntSimulator | 9f38566139fe432daea4a1c4c263b0e7ccb64d1b | fe5bc621a17c24c35507926e2c78c53b7a77fb8a |
refs/heads/main | <repo_name>nam-hle/sole-and-ankle-revisited<file_sep>/src/components/Header/Header.js
import React from 'react';
import styled from 'styled-components/macro';
import { BREAKPOINTS, WEIGHTS } from '../../constants';
import Logo from '../Logo';
import SuperHeader from '../SuperHeader';
import MobileMenu from '../MobileM... | 9cc11bfd98dd7dc52a312b89e1edc7c21c7b5633 | [
"JavaScript"
] | 1 | JavaScript | nam-hle/sole-and-ankle-revisited | 5c52d22ea208bdbb98d680cc165c6c9fc60f0957 | 4d97fa5859893f8ea655b3eeed1a816962405862 |
refs/heads/master | <file_sep>//
// HomePageViewController.swift
// WorkMarker-swift
//
// Created by dongjiawang on 2019/12/11.
// Copyright © 2019 dongjiawang. All rights reserved.
//
import UIKit
import SPPermissions
let HomePageCell = "HomePageTableViewCell"
class HomePageViewController: BaseTableViewController {
var ... | 0a26fa6bf132ca2082f1597525327bfeb9bd0b31 | [
"Swift",
"Ruby"
] | 57 | Swift | dongjiawang/WorkMarker-swift | 59c95e336fed1ce482c00a314906e5443e9723e2 | aa8a368ac7c0d9ff1ec85212c8df69bdc3ccbfbf |
refs/heads/master | <repo_name>uk-gov-mirror/ministryofjustice.doorkeeper<file_sep>/app/controllers/doorkeeper/application_controller.rb
module Doorkeeper
class ApplicationController < ActionController::Base
include Helpers::Controller
if ::Rails.version.to_i < 4
protect_from_forgery Doorkeeper.configuration.protect_from_... | 43647d3e54ce2d796d48dba91172fec19c445068 | [
"Ruby"
] | 1 | Ruby | uk-gov-mirror/ministryofjustice.doorkeeper | ecdf42a83f3dca7da690f6d6a585c885e14c28e7 | 2e1611b25f77624ed28e545b4603e52de5726e15 |
refs/heads/master | <file_sep># ERNI Community MQTT Client
MQTT Client with pluggable publish and subscribe topic objects
## Dependencies
- Arduino MQTT Client (https://github.com/256dpi/arduino-mqtt, Arduino Library Mgr: *MQTT*)
- ESP8266WiFi (ESP8266) or WiFi (ESP32)
- Spin Timer (3.0.0) (https://github.com/dniklaus/spin-timer, Ardui... | 657016fad4bc0e370a4882e0f34fbe2b64e973be | [
"Markdown",
"C++"
] | 15 | Markdown | ERNICommunity/mqtt-client | 8f7915b39d221c7ba93dbf6a17c8c27f4f94c629 | b5839c9bc71ef0513472130ed8c03386e6937c83 |
refs/heads/master | <repo_name>peterchenhdu/cp-music-player<file_sep>/app/src/main/java/io/github/ryanhoo/music/data/model/Task.java
package io.github.ryanhoo.music.data.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.MapCollection;
impo... | 656c7e29225f7e724aabb189d9c82c36f395a5f6 | [
"Markdown",
"Java"
] | 3 | Java | peterchenhdu/cp-music-player | 3d1be574a430c82aa70dec2964d6d0b01ea317e1 | eda96fc8e1661108bd57327b5ee5fef4fca14d9d |
refs/heads/master | <file_sep>package com.iotend.gql.repository;
import com.iotend.gql.model.Post;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface PostRepository extends MongoRepository<Post,String> {
}
<file_sep>## 测试
- 启动应用
- 访问 [http://localhost:8083/graphiql](http://localhost:8080/graphiql)
#... | a4cb53ee9215b19db738891da0077e8865352e68 | [
"Markdown",
"Java",
"Maven POM"
] | 10 | Java | huanggreat/iotend | 46e0043355d6c4075117ff4074fe298a71a55682 | e817e5f7eca45887859d18ea05b8ec8422134366 |
refs/heads/master | <file_sep>require 'formula'
class Drake < Formula
homepage 'https://github.com/Factual/drake'
head 'https://github.com/Factual/drake', :using => :git, :branch => :develop
depends_on 'leiningen'
def install
libexec.install Dir['*']
bin.write_exec_script Dir["#{libexec}/bin/*"]
Dir.chdir(libexec) ... | 229b895656329f1b408704bf6b9ff54ef8fa90b5 | [
"Ruby"
] | 1 | Ruby | agate/homebrew | 1e44ea52dcc54291733e07a86546d0685d93c70b | f7e364c9c08b9bff9501a16a5a3b1bc6ea65e90e |
refs/heads/master | <repo_name>kbrito/d3-coordinated-viz<file_sep>/js/main.js
// The most javascript of them all
//First line of main.js...wrap everything in a self-executing anonymous function to move to local scope
(function(){
//pseudo-global variables
var csvArray = [0,1,2,3]; //list of attributes
var expressed = csvArr... | 223c594d676a9fbcb063b112b3d9e40020cfc825 | [
"JavaScript"
] | 1 | JavaScript | kbrito/d3-coordinated-viz | 0d7b8978c226b912386e27e786417879ea43629f | 7d77df882e726d6e381313751d948f18cf853936 |
refs/heads/master | <repo_name>jaykar/hw4_robotics<file_sep>/src/README.txt
README.txt
Group 7 Robotics HW4
Team Leader: <NAME>
<NAME>, <NAME>, <NAME>
as4313, jan2150, jmd2228
We implemented our code in Python 2.7.4. Before running our
program please ensure you run the following:
brew tap homebrew/science
brew install opencv
pip install ... | 6378c749999ef8e13467d6e9536b8f3d30345b33 | [
"Python",
"Text"
] | 2 | Text | jaykar/hw4_robotics | a396aa980e42fd50303a8aa94b8d40151eba6af9 | 2529bd6b26f07ddf99bcbe89ac83a442142f7d4f |
refs/heads/master | <file_sep>module Model
# Searches title and content for any matching text
#
# @param [Hash] params form data
# @option params [String] search_terms
#
# @return [Array] containing the data of all matching articles
def find_articles(params)
# ...
# ...
# ...
end
... | d2a58c10224de93f8a2d1bb032251d7183b7f867 | [
"Markdown",
"Ruby"
] | 3 | Ruby | itggot-david-lundholm/yardoc-sinatra-guide | 7449890f333d6fc8fc110ab9622e5c786c7c5cb1 | 546e1829ae45e990e8c05fcfb389635360c77d68 |
refs/heads/master | <repo_name>ijabir28/DS<file_sep>/app/src/main/java/com/example/administrator/highscore/MainActivity.java
package com.example.administrator.highscore;
import android.content.Context;
import android.content.SharedPreferences;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
imp... | 2f3bcfe6af61a51978ef7323f7ea79785085cb81 | [
"Java"
] | 1 | Java | ijabir28/DS | 8157b737640b42c83b101f4748fd2c48e23e1c04 | c8db8969e30e44a96236e64e75ffde62a3313e00 |
refs/heads/master | <repo_name>MarwaSalim/araperso<file_sep>/SaveResult.py
def classifaction_report_csv(report,confusionMatrix,Path):
import pandas as pd
report_data = []
lines = report.split('\n')
i=0
for line in lines[2:-3]:
row = {}
row_data = line.split(' ')
row['class'] = row_data[1]
... | 2356af1aaea8127de0eafea2a9502c864b5c4b6f | [
"Markdown",
"Python"
] | 13 | Python | MarwaSalim/araperso | 74cfab8b668200c95fa48de28e7ebfaafd65bad6 | c36961f0e8bb9688c3ac648cfba8896fb07bc706 |
refs/heads/master | <file_sep>'use strict';
const sinon = require('sinon');
class SinonMocker {
constructor() {
this._stubs = new Set();
this._sandbox = sinon.createSandbox();
}
}
<file_sep>'use strict';
const { RedisMocker } = require('../utils');
const { expect } = require('chai');
const redisClient = require('./../../src/... | 13fd7291b01b6692c07ade24a3f2d65a5a22724f | [
"JavaScript"
] | 4 | JavaScript | eze1214/redis-mocker | d331045a2971f764d9251036e2b14af5d806d561 | cb167eef07c82a1c47c5817ba24dc96fe5444efc |
refs/heads/master | <file_sep>const chalk = require ('chalk');
console.log(chalk.blue.bgYellow.bold('Melanie'));
console.log(chalk.magentaBright.bgWhite.bold('Violette'));
console.log(chalk.green.bgRed.bold('Maxence'));
console.log(chalk.yellow.bgCyan.bold('Baptiste')); | b17fa1fedd1049243c3db6fa8c9940db7a7c8032 | [
"JavaScript"
] | 1 | JavaScript | BarbierAlexis/Wilders | 55db633c9bb7fd6c5e47ccee5e269fabe0ee56ff | 8743b2ca5b5691d828652d587b036cfc18caf18e |
refs/heads/master | <repo_name>isk4/consulta-afp<file_sep>/app/controllers/requests_controller.rb
class RequestsController < ApplicationController
include ActionController::MimeResponds
def show
respond_to do |format|
format.html { render status: :forbidden }
format.json { render json: Request.wher... | 228c107d3de67f82c2a9be4f4578ec7a9b862832 | [
"Markdown",
"Ruby"
] | 5 | Ruby | isk4/consulta-afp | ad196726cf74ceddffbf4f15f527ae9cd23e6ad8 | 214eeed6365b0ac087c9241442c59eaea25bea0e |
refs/heads/master | <repo_name>JoyGromi/hw6<file_sep>/src/app/pipes/filter.pipe.ts
import { Pipe, PipeTransform } from '@angular/core';
import { IHotel } from '../intesfaces/IHotel';
@Pipe({
name: 'filter'
})
export class FilterPipe implements PipeTransform {
transform(hotels: IHotel[], searchHotel: string): any {
if (!searchHot... | fed1bf84204b4e25ccae2ebb792fd81d59f94798 | [
"TypeScript"
] | 9 | TypeScript | JoyGromi/hw6 | 83391c4a11bb39b8bdd599713fcf4c0e310558b7 | 894fadf0ab8804e67f9b019c862a5578d01448fb |
refs/heads/master | <repo_name>vajrala2001/react-chat-app<file_sep>/src/components/Chat/Chat.js
import React , {useState,useEffect} from 'react'
import queryString from 'query-string'
import io from 'socket.io-client'
import TextContainer from '../TextContainer/TextContainer';
import InfoBar from '../InfoBar/InfoBar'
import Input from '..... | c39e61d3a6717e5b5e3aca6718e893e3347b4d20 | [
"JavaScript"
] | 1 | JavaScript | vajrala2001/react-chat-app | cd42f66488abb11f24cf07ad4391686fea2b208d | a864215a9ad1975fd42b11b35242ab0cf7592dc9 |
refs/heads/main | <repo_name>rajaKumaranraja/startingProjects<file_sep>/README.md
# zuprojects
<file_sep>/redux-learn/index.js
const redux = require("redux");
const createStore = redux.createStore;
const combineReducers = redux.combineReducers;
const BUY_CAKE = "BUY_CAKE";
const BUY_ICE = "BUY_ICECREAMS";
const BUY_JUICE = "BUY_JUICE... | 996f4d7e612fd2fc358539b9068f9e53642f3257 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | rajaKumaranraja/startingProjects | c202522bbfb8f460d0763e09b1d9d3f91b95d679 | 9a0889b6eef710c46835675ef45cda8da3fbb347 |
refs/heads/master | <file_sep># Resin.io layer for VIA arm boards
## Description
This repository enables building resin.io for VIA arm machines.
## Supported machines
* vab820-quad
<file_sep>#
# VIA vab820 quad
#
IMAGE_FSTYPES_append_vab820-quad = " resinos-img"
# Customize resinos-img
RESIN_IMAGE_BOOTLOADER_vab820-quad = "u-boot-vab8... | eb533da88d4bdfe283951e0ce704c0e2d8e38a96 | [
"Markdown",
"PHP"
] | 2 | Markdown | resin-os/resin-via-arm | cf7a740cbe9861edb035a1379113d3f02f7cf64e | 14d9da695f2b3cae0766908690708a752ad44ee3 |
refs/heads/master | <repo_name>serafettingunes/LoginEkraniYeni<file_sep>/loginEkrani/veriGuncelle.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace loginEkrani
{
public partial class veriGuncelle : System.Web.UI.Page
{
... | 1857f58ca8763bb805403b136f4de222239aa892 | [
"C#"
] | 3 | C# | serafettingunes/LoginEkraniYeni | af3687ac4f9d4fc6cef3764736870f9c3762cd09 | a6a61c550f28fe85dfa348db2a52153996a1c886 |
refs/heads/master | <file_sep><?php define ('TITLE', 'Add Organization | Tracker') ?>
<?php require 'includes/header.php' ?>
<!-- page header -->
<div class="orgContainer py-3 mb-5">
<h3 class="pt-1">Add Organization</h3>
</div>
<!-- /page header -->
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
... | a0a0ca162477fec0b7f1bfc99a9275afd80991b3 | [
"PHP"
] | 4 | PHP | jegan22280/tracker | aa8b8cdbebd1ad4a773578fc0c3d491e607e5a0b | 83d3150d1d90873da48bb31cebdde2ccc356aac3 |
refs/heads/master | <repo_name>janforys/Miscellaneous<file_sep>/cnc programming/Heidenhain/JF/_INNE/FAZ.H
0 BEGIN PGM FAZ MM
1 BLK FORM 0.1 Z X-10 Y-10 Z-10
2 BLK FORM 0.2 X+10 Y+10 Z+0
3 ;---------------------------------------------
4 CYCL DEF 247 USTAWIENIE PKT.BAZ ~
Q339=+1 ;NR PKT BAZOWEGO
5 ;
6 L X+0 Y+0 R0 FM... | 5c66cd5f93e8a7c6cc9be5e2b29c7a12400fda5d | [
"Markdown",
"C",
"C++",
"HTML"
] | 163 | C | janforys/Miscellaneous | d2040a8c59bb7d4f8133c1b78146d579b1aaea6c | db93074897dd3440347cdda0ed4dc3cf7ba5bc4a |
refs/heads/master | <file_sep>// real-time listener
db.collection('recipes').onSnapshot(snapshot => {
snapshot.docChanges().forEach(change => {
if(change.type === 'added'){
renderRecipe(change.doc.data(), change.doc.id);
}
if(change.type === 'removed'){
// remove the document data from the web pa... | 639718928d655e092355a82b80184ad048de8d9f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Dola29/PWA-test | 923df6daf48486ead5ea8c7d5d7d87f7c4102d37 | b2cb5b0b24aef6049734dcc05ab2413bf3a9c471 |
refs/heads/master | <repo_name>ealves-pt/CharCounter<file_sep>/spec/StringerSpec.js
describe("The '$_stringer.process' method", function() {
describe("when called", function() {
it("should accept strings", function() {
expect(function() {
$_stringer.process('lol');
}).not.toThrow();
});
it("should not ac... | 49d6cbe814ee0a3c1ba24219e8552e8ae54ccf24 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | ealves-pt/CharCounter | 0f037f670daa2dc7d4c834eb43f066a9879e9274 | 1079962a344070dc248904c0faebb7bac395efac |
refs/heads/master | <repo_name>Skorodumov8091/OOP_labs<file_sep>/Lab_2/Lab_1/Examen.cs
using System;
namespace Lab_1
{
public class Examen
{
public string name { get; private set; }
public int grade;
int limit = 3;
int count_attempts = 1;
public Examen(string name)
{
th... | 02046d2c22d7f17076238996cb34d7fd21281815 | [
"Markdown",
"C#"
] | 7 | C# | Skorodumov8091/OOP_labs | ba367e8df5993ed08317dea6cc552673ef2ee30d | 508485fd9531f7937640a4855895f2cadeb7d3a4 |
refs/heads/master | <repo_name>DccShield/Lchika1<file_sep>/Lchika1/Lchika1.ino
//
// D2 port に接続したLEDを1秒周期で点滅を繰り替えす
// delay()関数版
//
void setup() {
pinMode(2, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);
delay(1000);
digitalWrite(2, LOW);
delay(1000);
}
| e9c74051d30320c9347c50c237041f1ee19564a4 | [
"C++"
] | 1 | C++ | DccShield/Lchika1 | fc490826c4650c1893f276f2b31e2613d1785d75 | 4df007c2a5869eb9823a881049b3c499a82b9a9a |
refs/heads/master | <file_sep>Description
===========
Install Percona server components, leveraging the Opscode MySQL cookbook
as much as possible. Currently, this cookbook requires the use of a
modified mysql cookbook (linked below), pending possible acceptance of a
pull request.
Tested only on Ubuntu 10.04. Not tested on enterprise li... | 75453314b8068b647110852bfb8ba4c82c67d6c6 | [
"Markdown",
"Ruby"
] | 7 | Markdown | glennpratt/Bakery-Chef | bd2c9b23faf72621d1a193049de2ffea51369919 | 09778c759d03ba93d151b6583bb67c50706b0c69 |
refs/heads/master | <file_sep>HBC
===
HandBrake Cutter (HBC) is a command-line wrapper for HandBrakeCLI that cuts or extracts video clips by human-readable time format.
## Requirements
Make sure you have installed the [command line version of HandBrake](https://handbrake.fr/downloads2.php) and place the binary into any "PATH" (e.g. `/u... | 81eff53c5cd86d0ba76bf804ead59ce62aeff2c5 | [
"Markdown",
"Shell"
] | 2 | Markdown | shichao-an/hbc | dd4b5ef7cf1204d88feead47a072cc8f23d92028 | 36046fe0d6f25d4607bcd3cda2bba339b86d2bfa |
refs/heads/master | <file_sep>import pandas as pd
from flask import Flask
from flask import jsonify
from flask import request
from flask import json
test={'result':'xyz'}
image={'path':'','name':''}
app = Flask(__name__)
@app.route('/popularrecommendation/qwerty',methods=['POST'])
def index():
print(json.dumps(request.... | 537a76606184f6324abc00fe7aa7c3071fa9704f | [
"Python"
] | 1 | Python | hvardhan617/PythonCCOCR | 92122e6d38c0b50f0f822ad74edfffb71a9ec7a1 | 9458d0ced749dfd7d1f5b0b3f53278161a9a0249 |
refs/heads/master | <repo_name>parthsarthiprasad/restfulapi<file_sep>/api/routes/products.js
const express = require('express');
const router = express.Router();
const mongoose = require('mongoose');
const Product = require('../models/product');
router.get('/', (req, res, next) => {
Product.find()
.select('name price _id')
... | 024b5908bf04f3acd1797e78a590cb8ccbc354c5 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | parthsarthiprasad/restfulapi | c908e022ffa8e482d98344bb907bc138b42f5e37 | 802fc3fa299d39b042c0e2a8a1433006974896a6 |
refs/heads/master | <repo_name>nateplusplus/nateplusplus<file_sep>/src/pages/projects.js
import React from "react"
import SEO from "../components/seo"
const IndexPage = () => (
<>
<SEO title="Home" />
<section>
<h3>All the weird stuff I've made</h3>
<ul>
<li>
<a href="https://samplesaurus.com/" ta... | 84dede2a83a5df17a16494c1eaddbd0ed66f36fa | [
"JavaScript"
] | 6 | JavaScript | nateplusplus/nateplusplus | cf54aac91c845e38932c8e5469a379b602335647 | 25efa901857cf93f05208b46041ed03369803003 |
refs/heads/master | <repo_name>XuZhangCoding/github<file_sep>/github/github/适配/CrossDevicesLayout.h
//
// CrossDevicesLayout.h
// GW
//
// Created by 艾呦呦 on 16/12/23.
// Copyright © 2016年 apple. All rights reserved.
// 跨设备的尺寸转换
#ifndef CrossDevicesLayout_h
#define CrossDevicesLayout_h
// 适配iOS 11
//TableView
#define iOS11_TableViewA... | 117fe2f447418fd8d3395c433b1fc179c533e812 | [
"C"
] | 1 | C | XuZhangCoding/github | 3bb2428e543a3925cd9911164ca792ad0573b0a3 | 0acf4f07b09436727489b7fbe4960197c5188707 |
refs/heads/master | <file_sep>import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader bufferedReader... | b01c50325a0eadd839a7d1cd6eec3da295004ea8 | [
"Java",
"C++"
] | 7 | Java | truegff/timus | b85af9596cf0f4d5c0124d6b7e94216c092ddb65 | c22a4d29d7ecf9b870085c09a0a8f06bcf313bea |
refs/heads/master | <repo_name>hengAmethyst/Ada<file_sep>/src/http/fly.js
/*
fly配置文件
by:David 2018.6.14
*/
//引入 fly
var Fly = require("flyio/dist/npm/wx")
var fly = new Fly;
import config from './config'
//配置请求基地址
// //定义公共headers
// fly.config.headers={xx:5,bb:6,dd:7}
// //设置超时
fly.config.timeout = config.timeout;
// //设置请求基地址
fl... | d31ab543e805728b06cb3ddb54a99728dae7193a | [
"JavaScript"
] | 3 | JavaScript | hengAmethyst/Ada | 351c04abfd81071829f1a1d3406fb32f5df08923 | 7e33e5944648c80bd0b05588d405bd80c6e24e18 |
refs/heads/master | <file_sep> CSE 533: NETWORK PROGRAMMING
============================
ASSIGNMENT: 2
Group Members:
<NAME> : 109838041
<NAME> : 109176677
1. Handling of unicast addresses:
---------------------------------
In order to handle unicast address, each interface address retriev... | 55394f60e78e501b424f97e9536124c8870039fa | [
"Markdown",
"C",
"Makefile"
] | 4 | Markdown | StevenYue/TCP-Reno-Like-File-Transfer-Protocol | e5e522fbe8269de7e8eecd0c868e9c5ea6ba6dc8 | c3ecad305772d89b96a86f5a7436e3590648497c |
refs/heads/master | <file_sep>#include <stdio.h>
void main(void)
{
int year = 0;
while(year<=2019)
{
int case_i=0;
if (year % 4 == 0){ case_i = 1; }
else {}
if (year % 100 == 0) { case_i = 0; }
else {}
if (year % 400 == 0) { case_i = 1; }
else {}
switch (case_i)
{
case 0:
break;
case 1:
printf("%8d", year);
... | db53c1d71a5705bb466e7c114aaed5b9b62b79e8 | [
"C"
] | 1 | C | amazon00070/leap-year | 425458c6526111c5658409983a137024b72144ab | d2cd31b40f001d75e85fdd8ec9b312e3cda745c7 |
refs/heads/master | <file_sep>{% extends 'base.html' %}
{% block content %}
<div class="search-form">
<div class="card">
<form method="POST" >
<ul>
<li>{{ form.query.label }}</li>
<li>{{ form.query }}</li>
<li>{{ form.price.label }}</li>
<small>ex:(1000)</small>
<li>${{ form.price }}</li>
... | 850376ad82bf22ebc1a0d255852dd1ad94603fc0 | [
"Python",
"Text",
"HTML"
] | 10 | HTML | Pneuro/fleam-updated | 131afb652e23865c5f812ef74454021cf310c7d0 | 602ff9da7be857c1be957a355242684c110e0618 |
refs/heads/master | <repo_name>jitendrameghwal/stockmanagement<file_sep>/backend/script.js
var express = require('express');
var mysql = require('mysql');
var cors = require('cors')
var bodyParser = require('body-parser');
const { response } = require('express');
var app = express();
var connection = mysql.createPool({
multipleStatem... | f98c666807d1681bc1ff0869090505bb229ab50a | [
"JavaScript",
"SQL",
"TypeScript",
"Markdown"
] | 5 | JavaScript | jitendrameghwal/stockmanagement | 2a7dec9dc3d341056504a654a09dc1d798b0b01c | 43625e7dba6f75bb2d0ac3541997aba6275b68d9 |
refs/heads/master | <file_sep>#include "ofApp.h"
const int MAX_POINTS = 5000000;
const int CHECK_NUM_POINTS = 10000;
const string FILENAME = "pc.txt"; // pc.txt
ofIndexType vi[MAX_POINTS];
ofVec3f v[MAX_POINTS];
ofFloatColor c[MAX_POINTS];
int NUM_POINTS = 0;
//--------------------------------------------------------------
void ofApp... | 6861b2f34e6a9a312f47e011e7894083e6e4b497 | [
"Markdown",
"C++"
] | 2 | C++ | OSCityNL/pointcloud-viewer | b752cfbe052023a2c79a71de60dc9ae085ea08f3 | d90ef3fa0b787c948616e94cb66aabdade4cbe73 |
refs/heads/master | <file_sep>const app = getApp()
const innerAudioContext = wx.createInnerAudioContext()
innerAudioContext.autoplay = false
innerAudioContext.loop = true
innerAudioContext.src = '/pages/letter/mp3/happy.mp3'
Page({
data: {
},
onLoad: function () {
innerAudioContext.play();
},
})
| 692a1379ddfa76e07c2f75a952debf82f2fe6ae5 | [
"JavaScript"
] | 1 | JavaScript | cuiyinghh/happy_wx | d618bc65fae05d294368c76559dde692012d129f | 6055d94cdb305ae41bd3fc9854747d4485c10a5c |
refs/heads/master | <file_sep>using System;
namespace Lab1Ex1
{
class Program
{
static void Main(string[] args)
{
string msg = MessageProvider.Provider.GetMessage();
msg = System.Web.HttpUtility.UrlEncode(msg);
Console.WriteLine(msg);
Console.ReadLine();
... | d2eadd74e110c0cc128741be256610902f275a0e | [
"C#"
] | 2 | C# | stavrossk/Motti_Shaked_.NET_Tutorial_Lab_Exercises | c7c55bedc606a2215df56910fa85a650c9b4cec0 | 7863f008b9242d94fe52d7725cdd6b5468cf8438 |
refs/heads/master | <repo_name>agaric/image_resize_filter<file_sep>/src/Plugin/Filter/FilterImageResize.php
<?php
namespace Drupal\image_resize_filter\Plugin\Filter;
use Drupal\Core\Image\ImageFactory;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\filter\... | 89dd4637b1752a7122e818e0e40bd4aff126e20d | [
"PHP"
] | 1 | PHP | agaric/image_resize_filter | d05f988b7308156d86b7b19d3952f1cd5c7c7ec5 | bc630dfed723b84f0d725be0c2677c7db3452720 |
refs/heads/master | <file_sep>#ifndef _DC_LOC_H
#define _DC_LOC_H
#include "lsa_cldap.h"
DOMAIN_CONTROLLER_INFO * dc_locate(const char *, const char *);
#endif /* _DC_LOC_H */
<file_sep>#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <poll.h>
#include <netdb.h>
#include <ldap.h>
#include <... | 0fce23fa9d842d6beaecfbc8ad81a7067e1cdfde | [
"C",
"Makefile"
] | 11 | C | mbarden/dclocate | 53f2ccc75491bb45e5769b30f3610200b050cfe6 | 3b17e13148b146a53668e8a17f274d1b043aae15 |
refs/heads/main | <repo_name>xulonc/QNDroidIMSDK<file_sep>/settings.gradle
include ':app'
include ':lib:lib_network'
include ':lib:bzuiEmoji'
include(':lib:bzuicomp_bottomInput')
rootProject.name = "QNDroidIMSDK"<file_sep>/app/src/main/java/com/qiniu/qndroidimsdk/pubchat/InputMsgReceiver.kt
package com.qiniu.qndroidimsdk.pubchat
impo... | f3d6a1c5e728275b187c0e0261fe84adcf31af57 | [
"Markdown",
"Java",
"Kotlin",
"Gradle"
] | 33 | Gradle | xulonc/QNDroidIMSDK | 250bb59ee32033580bf09251f64fa3c7b7865262 | 493fae633009dd48d5b30ff0063c8a77de9c7e21 |
refs/heads/master | <file_sep>driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/product
user=root
password=
<file_sep>package com.mindteck.service;
import java.util.List;
import com.mindteck.model.CartItem;
public interface CartService {
public void insertIntoCart(CartItem cartItem);
public void removeFromCart(int id);
p... | fb0917ffdea4e315b4a5d0b706dc94db86438d5b | [
"Java",
"INI"
] | 11 | INI | Bkzbroscius/Java-Online-Shopping-Cart | e68421694f002c4c01b6a0719aa525ebdd321070 | c8f6bffc8f018672b026e5db1ab220be2b845e9a |
refs/heads/master | <repo_name>Amphiprion/vers-de-terre<file_sep>/README.md
# Vers de terre<file_sep>/src/ui.R
# Author: Amphiprion
library(shiny) ; library(ggplot2)
shinyUI(fluidPage(
titlePanel(title="evolution de la biomasse des vers de terre sous different traitement"),
sidebarLayout(
sidebarPanel(
selectInput("varX","... | 7c3049d35d38cd1baae2988094ab12fe11bdd4d9 | [
"Markdown",
"R"
] | 4 | Markdown | Amphiprion/vers-de-terre | b7a1ba26c0779645fff08f1a98c4ef58f98dd376 | 0690e6e2fb5287a76ae7de81f1701de76801c587 |
refs/heads/master | <repo_name>bogatuadrian/WebDevRubyTDD<file_sep>/CGOL/cgol.rb
require 'set'
class Cell < Struct.new(:x, :y)
def +(cell)
Cell.new(self[:x] + cell[:x], self[:y] + cell[:y])
end
end
class Directions
def Directions::getDirections()
directions = Array.new
(-1..1).each do |i|
(-1..1).each do |j|
... | 7b9355cca64ba6f3d136bf23df8bf0a19310c592 | [
"Ruby"
] | 3 | Ruby | bogatuadrian/WebDevRubyTDD | 6e932b4ba335be625298bd789b867a9a22f1e9b2 | d97fdb75b56c29eea570a92d9e0e6569c01eeaab |
refs/heads/master | <repo_name>amilamadhushanka/englishbuddy<file_sep>/flask/test.py
__author__ = '<NAME>'
import nltk
def find_tence(sentence):
tagged_sent = nltk.pos_tag(sentence.split())
print tagged_sent
if [word for word, pos in tagged_sent if pos == 'NNS']:
noun_plural = [word for word, pos in tagged_sent if ... | 7c01dffec3beb4bfe87fba1b21326be1fdd13efd | [
"Python",
"HTML"
] | 10 | Python | amilamadhushanka/englishbuddy | 1b6d870a4ec6a77463248d579e0b15f61c42cc69 | ac593a48b98791ae5dca85157578ceaf11f885cd |
refs/heads/master | <repo_name>LupusAnay/gateway-prototype<file_sep>/auth/tests/test_session.py
import json
from unittest import skip
from flask import current_app
from auth.tests.base_test_case import BaseTestCase
from auth.tests.api_methods import register_user, login, logout
class TestSession(BaseTestCase):
def setUp(self):
... | 12777ab271b6731202dbf94f3ae983c4ab4ecda8 | [
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 25 | Python | LupusAnay/gateway-prototype | e40426e05ca7b2a83bfd8d31fec252086f586eb8 | fe4244ad1c08a545869eadda77744238381d0ca0 |
refs/heads/master | <repo_name>FernoSantiago/appResultadosDigitais<file_sep>/spec/views/leads/leads_spec.rb
require 'rails_helper'
require 'capybara/rspec'
RSpec.describe "Leads Integration Tests", :type => :feature do
let(:user) { create(:user, email: '<EMAIL>', senha: '<PASSWORD>!') }
let(:login_page) { LoginPageObject.new }
let... | 74035ceea7c4182af00cb60c1b0e132cda133c5c | [
"Markdown",
"Ruby"
] | 7 | Ruby | FernoSantiago/appResultadosDigitais | 0ac93423d55a7beef07e20e4613e8f89fa3091d3 | 65e43e6d5f3533fa3bcf07f67d12952489c4ec14 |
refs/heads/master | <file_sep>package zencoder
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net"
"net/http"
"time"
)
const (
DEFAULT_ZENCODER_API_ENDPOINT = "https://app.zencoder.com/api/v2/jobs"
DEFAULT_RESPONSE_TYPE = "application/json"
)
type Client struct {
apiKey string
apiEndpoint string
response... | 5f38ddb307597569c65c70bb467d8cc2933050da | [
"Markdown",
"Go"
] | 3 | Go | streamrail/zencoder | 7c5f37e799431826b3e3758ac166673f1401aeca | e42ec54536f34b6edd56e5526dee5c3894b8c3c4 |
refs/heads/master | <repo_name>RashikaKarki/MIT_GSL<file_sep>/contact.php
<?php
if (isset($_POST['name'])){
$name = $_POST['name'];
$email=$_POST['email'];
$phone=$_POST['phone'] ?? "";
$message = $_POST['message'];
$con = mysqli_connect("localhost","root","","contact");
if (... | a1ed31b291ac9583c22634503a2df3b7da0263f1 | [
"Markdown",
"PHP"
] | 5 | PHP | RashikaKarki/MIT_GSL | 1ffac07188cc2e849b463f908262c25a8a1eff9e | ad89c99bb3f2f2ae4d4219b8f76f4e58cbf298d3 |
refs/heads/main | <file_sep>
##install necessary packages
install.packages("tidyverse")
install.packages("gt")
install.packages("cluster")
#load packages
library(readxl)
library(tidyverse)
library(gt)
library(cluster)
#importing data from Excel
ca <- read.csv("C:\\Users\\LENOVO\\Documents\\SmartWatch.csv")
#explore data set
... | 366d40802eb62e3b7498193b09436d0579bddeae | [
"R",
"RMarkdown"
] | 2 | R | kaustubh2599/BAProjects | 2ffcfc6744237412207bf2ffa7bf7bbba8d0f59a | 9870f324fb7d907ec074a378e409ceec754d1e9d |
refs/heads/master | <file_sep>/*jslint node : true, nomen: true, plusplus: true, vars: true, eqeq:true*/
"use strict";
var fs = require('fs'),
unbundle = require('cert-unbundle');
var encoding = {
encoding: 'utf-8'
};
module.exports = {
parsePathSync: function (pathArray) {
var paths = Array.isArray(pathArray) ? pat... | 0784abfbaf03264d1b3e99921895a4ab6c5f09b8 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | bimedia-fr/ca-splitter | baae3061aa58dc25d96ac2348c16717e37fd9569 | 7dc9bf38f167dd930abbafd98a5861e95c446890 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { MenuItem } from 'primeng/api';
@Component({
selector: 'app-menu',
templateUrl: './menu.component.html',
styleUrls: ['./menu.component.css']
})
export class MenuComponent implements OnInit {
items: MenuItem[];
constructor() { }
ngOnIni... | 6902c03087b5084134e2b3950bfda0a766bf5877 | [
"TypeScript"
] | 1 | TypeScript | mhobson/angular-layout-template | 669305ac828a8662f459b4e76acdfdf2b8cf9fef | 8698bf4738db53a1f7711ce167e3546cbed8da1e |
refs/heads/master | <repo_name>rokhos82/mobius-test<file_sep>/modules/mobius.helper/mobius.helper.js
(function() {
/* mobius.helper - containers general helper services and other items
* for mobius projects
*
*/
var module = angular.module("mobius.helper",[]);
})();
<file_sep>/LICENSE.md
Copyright (C) 2020 <NAME>
<fi... | d1d479b2fd531e30c23c25666d5097e714874ebf | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | rokhos82/mobius-test | 4f65e1820fc859edc8a684120900b7a3a73b6ed5 | 791efd3879b2ff0ee09b1e386da0434496a2d553 |
refs/heads/master | <file_sep>package br.com.gustavocaloi.viagens.ui.activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import br.com.gustavocaloi.viagens.R;
public class ListaPacotesActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
sup... | bf62860f2601fd506c1f6f919376aff7afc10f5d | [
"Java"
] | 1 | Java | gustavocaloi/viagens-android | 6d9d7b5e0372110829820b52df19ec9e04d07372 | 2903dcc560b94d0f1d9ecff40c28ee59e659bf15 |
refs/heads/master | <repo_name>thinkful-ei-jaguar/scott-googlebooks<file_sep>/src/App.js
import React, { Component } from 'react';
import Header from './components/Header';
import Form from './components/Form';
import BookList from './components/Booklist';
// const books = [
// {
// title:"Google",
// author:"Joe",
// image:"ht... | 02897369b6fe6eeb23bed15aa3d85e31a70b0d6b | [
"JavaScript"
] | 3 | JavaScript | thinkful-ei-jaguar/scott-googlebooks | 2f96038a414423f5aa7b7ef8a8b524f7733324bb | 8ff65ec5a73fc0efa491fab27583e78eec70e7f7 |
refs/heads/master | <repo_name>Navneeths31/Machine-Learning-methods-for-finding-AQI<file_sep>/Project-1.py
import numpy as np
import pandas as pd
df = pd.read_csv("data set\\state_weather_aqi_data_mf2.csv")
x1 = df.iloc[:,:12].values
z1 = pd.DataFrame(x1)
y1 = df.iloc[:,12:13].values
z2 = pd.DataFrame(y1)
from sklearn.prepr... | 5cc6544635e604b6ca58e7405944113ab7ab4536 | [
"Markdown",
"Python"
] | 3 | Python | Navneeths31/Machine-Learning-methods-for-finding-AQI | e817ad54cbca32ee0d483f56bbf4d8c28f012d09 | 190a14d9860e6af0a23a2121287b274689895c4e |
refs/heads/master | <file_sep>/*
* Copyright 2018 SUSE LINUX GmbH, Nuernberg, Germany..
*
* 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 requ... | 14b65468151e40c8312fae9086ab0461c9d36300 | [
"Markdown",
"Makefile",
"Python",
"Go",
"Shell"
] | 23 | Go | drpaneas/kubic-init | 16ae56074c01fe9f9c66c163f2d609af21f911c4 | d01db0cfc3a55e83ec3042b5adfc25b0debc13c4 |
refs/heads/master | <repo_name>rolandvs/Micropython-scheduler<file_sep>/README.md
Micropython-scheduler
=====================
V1.02 6th Sept 2014
Author: <NAME>
A set of libraries for writing threaded code on the MicroPython board.
Files
-----
There are five libraries
1. usched.py The scheduler
2. switch.py Support for debounced s... | c7f0f4a43a04ad53878c329139ac4321412d56a6 | [
"Markdown",
"Python"
] | 4 | Markdown | rolandvs/Micropython-scheduler | 1252b057a8fa6396e0b1ed9e5610c80a4dfa02dd | 6c1146d5992e05ea454bd1921ef50589b5b9b744 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.