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>export LANG=en_US.utf8
java -jar statuses-0.1.0-SNAPSHOT-standalone.jar $*
| 2e35980a562fa839fac8dae45a60ce49f6ad60fe | [
"Shell"
] | 1 | Shell | aheusingfeld/statuses | a7ad6a18d2c9caa98639bf0cf5a79bd3ac79b317 | 09d75a1707eb8fa0fa0b5344c342dc48a0d58556 |
refs/heads/master | <file_sep>package tn.esprit.managedBeans;
import java.io.Serializable;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import myentities.Employe;
import myentities.Role;
import servicesimpl.EmployeService;
@ManagedBean(name = "employeBean")
@S... | a35821200225ac22b5cabe6478bafccbe138e71f | [
"Java"
] | 2 | Java | YessineAmor/jsf-crud | 887ae996451b91521a98039a7a384a2ac520b827 | 2920307f355fcae12db2298b3c8d3b0b4a2df496 |
refs/heads/master | <file_sep>#pragma once
#include <lua.hpp>
#include <luabind\luabind.hpp>
#include <dzaction.h>
void init_dzAction(lua_State *state)
{
luabind::module(state)[
luabind::class_<DzAction>("Action")
];
}<file_sep>#pragma once
#include <dzaction.h>
#include <luabind\detail\conversion_policies\native_converter.hpp>
n... | f2fc4b20378dc0b24476caef4f558f0e7b3c6f75 | [
"C",
"C++"
] | 8 | C | mattiascibien/luadaz | 88821c00f1bf873c5a61bd8e7d99e307a4a0f55e | feb62957be8751bfbdbc4c65979fd31ea16dfa7e |
refs/heads/master | <file_sep># :cupid: Tindev
A Dating App for Developer [https://tindev-app.web.app/](https://tindev-app.web.app/)
## Plan of Action
- [x] HEADER
- [x] Tinder Card
- [x] Button at bottom
- [x] Chat Screen
- [x] Individual Chat Screen
<file_sep>import firebase from "firebase";
const firebaseConfig ... | 59f3b126d682afc3ef0431c16047fafed86b6e29 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | RocktimRajkumar/Tindev | 355a33583697758c7f506227c23a9ebadee1eb8d | cf054cd67d5d0ef974dfee647e6e58122e8eeb0c |
refs/heads/master | <file_sep>using OutraCoisaConsole.Dominio;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OutraCoisaConsole
{
public class GeradorDeRelatorio
{
public TimeSpan MelhorVoltaCorrida(List<Corrida> listaCorrida)
{
... | e778a8b09b94b8984a7bbe9c7bc234a8b5f7b44c | [
"C#"
] | 6 | C# | camilamorg/OutraCoisa | 8b9653b1e3576fc0e8df833325c6e50dca190934 | 9aaac8862884e93f8f98266c4b2c69618dc6a95b |
refs/heads/master | <file_sep>/* traemos los elementos desde el formularios */
const form = document.getElementById('search-form');
const searchField = document.getElementById('search-keyword');
const responseContainer = document.getElementById('response-container');
let searchedForText;
/* Le agregamos el evento submit al formulario y l... | 4559b2fe1011ece31e328df53ffe32ec0c3db0da | [
"JavaScript"
] | 1 | JavaScript | cynthia1171/XHRProyectDemo | 4f2c1e05d64d23c3b4297b65906b84a9a644cfe2 | c3d5e0d763fa3636541a6b00bed22a1112615bd9 |
refs/heads/master | <repo_name>Quizer1349/code_parts<file_sep>/OrientalChuShing_Swift/OrientalChuShing/Views/WorkingHoursTableViewCell.swift
//
// WorkingHoursTableViewCell.swift
// OrientalChuShing
//
// Created by <NAME> on 11.09.15.
// Copyright (c) 2015 itinarray. All rights reserved.
//
import UIKit
class WorkingHoursTableViewC... | a5850af8fef25e2e03db202d84c9a8308140669a | [
"Swift",
"Ruby"
] | 34 | Swift | Quizer1349/code_parts | 48f27a977d747a60eba19e2c4aaf2b2ae307a848 | 26e06dcc2becff64b20c25618b09c7ace72f49bc |
refs/heads/master | <file_sep># Artifactory
Terraform automation for artifactory
<file_sep>#!/bin/bash
logfile="/var/log/aws_userdata.log"
echo "$(date):start of userdata script" >> $logfile 2>&1
# Mount EBS volume /data/artifactory
/sbin/mkfs -t ext4 /dev/xvdf >> $logfile 2>&1
/bin/mkdir -p /data/artifactory >> $logfile 2>&1
/bin/... | 45cb630ee613f2eb6658f56be6bbece562379299 | [
"Markdown",
"Shell"
] | 2 | Markdown | ecogit-stage/artifactory | a43091c3dff36dba3337780e59994300ca848a32 | fb0f1f2ed2ca18cba66ccd75dec09980ddc058d6 |
refs/heads/master | <file_sep> ---Binary Search---
# Write a function that takes in a sorted array of integers as well as target integer.
# The function should use binary search algo to determine if the target integer is contained in the array and should return its index if it is, otherwise -1
def solution(arr,target):
mid=len(arr)... | 69c648ed531898d123c77eb9123d8a3453bd7406 | [
"Markdown",
"Python"
] | 2 | Python | P-Bharti20/Coding-Problems-Arth | 8a33283fc017c1251c64e05fbfa0678518904857 | abb75f4839dfa7797113d334a49027979c07fb73 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TakeAction.Models.Task
{
public class TaskEdit
{
public int TaskId { get; set; }
public string TaskName { get; s... | ae0d68dafd78ebe452b2e888404459f476ea0568 | [
"Markdown",
"C#"
] | 28 | C# | kinnejs/TakeAction | 63f915ec29e127b596aeb106a3c2f1983514f4a9 | 650314a75fa09176f316846dbbb5c6614d7c4949 |
refs/heads/master | <file_sep>const bodyParser = require('body-parser')
const authRoutes = require('./routes/auth')
module.exports = app => {
app.use(bodyParser.json())
authRoutes(app)
}
<file_sep>// Mock axios in our unit tests, so that no one
const axios = require('axios')
const mockApiPort = 9090
const axiosInstance = axios.cre... | e58d42d8877caed6b741310e0a4d3b29e8d74108 | [
"JavaScript"
] | 6 | JavaScript | stonetingxin/vue-enterprise-boilerplate | df5609e76aa901a9161c5fd87fc19fb5eb387b2c | 0116b4f545c2c343f02c821f5fcaa4eff00fefae |
refs/heads/master | <file_sep># Recycler-View-android-BJP
A custom recycler view for an private application called bharat
<file_sep>package Adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wid... | 2ae0e9c4ecb2ca94dbeac3e986bce6f6d4176533 | [
"Markdown",
"Java"
] | 2 | Markdown | Hiteshgautam01/Recycler-View-android-BJP | fef72a73010123a9f9ac12427cf5e96df13be2b1 | 08d9b9898eb347aabdf08cdae25b1eab44148848 |
refs/heads/master | <repo_name>LublubXT/Azi-Tec-Team<file_sep>/app.js
const express = require("express");
const bodyParser = require("body-parser");
const ejs = require("ejs");
const mongoose = require("mongoose");
const session = require('express-session');
const passport = require("passport");
const passportLocalMongoose = require("pass... | 3da7d0263b9e112712fdb9498c113b1c09ba14b9 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | LublubXT/Azi-Tec-Team | 668a1c031c8a08e7d5556b11dba84a9069d767b4 | 65d2344ed6819f31f3d97a69af02b7cff5ed104e |
refs/heads/master | <repo_name>zyyang/fuguang<file_sep>/server/bin/openerp-server.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
#
# This program is ... | 595c2060573ae684c80e9ad5df0f0242b6ef80f4 | [
"Python"
] | 1 | Python | zyyang/fuguang | 5553a33e9e498ec25512cf7854113cae1aebecb6 | 9830ba4f6b75ccb025e406aae402d8b56d7912c7 |
refs/heads/master | <file_sep>import os
import matplotlib.pyplot as plt
import pandas as pd
def core_nmr_T2dist(nmr_df, micp_df, common_id_list):
"""
:param df: T2, Por, BVIPorがあるdf。複数サンプルが縦に共存することを前提としている(groupbyで回す)
:return:
"""
# T2 distributionのグラフ描画
# 参考 (http://sinhrks.hatenablog.com/entry/2015/11/15/22254... | 1aafc4537426d353ee41e47b902c0a690d573142 | [
"Python"
] | 6 | Python | griCe14807/PPRT | e6a0c3c96d20996c973c6f5c42e71227d7c19967 | 5dcc197db501953b9906b71f293273ef9420651e |
refs/heads/gh-pages | <file_sep>module.exports = {
currencies: {
url: 'https://openexchangerates.org/api/latest.json?app_id=8556217a83d84985930d67d6cf934289',
symbols: {
USD: 'US$',
CAD: 'CA$',
HKD: 'HK$',
SGD: 'SG$',
AUD: 'AU$',
THB: '฿',
JPY: '¥',
GBP: '£',
EUR: '€',
CZ... | 4dd17944031eb6024e5eedc2793100860752df12 | [
"JavaScript"
] | 4 | JavaScript | paulmillr/mnp | e7b5b8f79f26d5d9ba111fd71863dfde07979a32 | 0348953711cb5a1f8dd2fbe2196f2137fd8622bf |
refs/heads/master | <file_sep>import { Component, TemplateRef, Inject } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { RequestOptions } from '@angular/http';
import { IBook } from './book';
import { Observable } from 'rxjs';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/catch';
i... | e7850acfe6d595c0b506336f1139974606778dce | [
"C#",
"TypeScript"
] | 6 | TypeScript | sp1805/NHibrenateAngularNetCore | 515bdd4453ede1cc437559f94666f4e35f935b35 | fe9075a1e2ce3fa35113c6dfe5ab9488556c620b |
refs/heads/master | <file_sep>import {ParseModel, ParseCollection} from '../parse';
var Message = ParseModel.extend({
});
var MessageCollection = ParseCollection.extend({
model: Message,
url: 'https://dietz-server.herokuapp.com/classes/ChatMessage?include=owner'
});
export {MessageCollection as default, Message};
<file_sep>var Ba... | 20eb95e26625f8cd1b5e8ed9d9e226bbc05cdc18 | [
"JavaScript"
] | 7 | JavaScript | tiy-greenville-july-2017/11.4-react-review | ebf232dc1920d7966d91cfbb14a8a2bd7999d955 | 5273d5c41edfcecd62472112134bab1351fda2b2 |
refs/heads/master | <file_sep>//
// Mission.swift
// CryptoniteCev
//
// Created by alumnos on 09/03/2021.
// Copyright © 2021 user177257. All rights reserved.
//
import Foundation
import UIKit
class Mission{
private var _id : Int
private var _icon : UIImage
private var _description : String
private var _isFinis... | fcc73469d08eb62356e9bd803613a85c292eae91 | [
"Swift",
"Ruby"
] | 54 | Swift | CryptoniteCEV/app-cryptonite | 401d33302e19ec1724cfc2774c1a8b07da5f39b1 | 9cd05fddd75bb888e964bfa9921aa5d96f74a8cc |
refs/heads/master | <file_sep># Generated by Django 2.2.7 on 2019-12-05 06:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('TechnicalCourses', '0004_allcourses_startedfrom'),
]
operations = [
migrations.AlterField(
model_name='allcourses',
... | bf2594051ad5978f6a43b78a399ab260e84987b8 | [
"Python",
"Text"
] | 3 | Python | shinystaratnight/djangorest-website-serializer | 76644c6ee7ef78ac57bdded0c9a889e4bc7143a6 | c5fcfe8cb1197ef6b150b51607150cc1dfaea873 |
refs/heads/master | <file_sep>var ReasonReact = require("reason-react/lib/js/src/reasonReact.js")
var ReactMotion = require('react-motion')
exports.motion = function (props) {
var motionProps = Object.assign({}, props)
delete motionProps.render
return ReasonReact.wrapJsForReason(ReactMotion.Motion, motionProps, props.render)
}
e... | 0dca030ecabb60d43a8b6fe912f260e96ea7a4a1 | [
"JavaScript"
] | 1 | JavaScript | SentiaAnalytics/bs-react-motion | 4e90b2d56347b92d25d924b57df8c61449c4c8fc | e41a1ce368a2714da956ee1e556d7cb81ccdf250 |
refs/heads/master | <repo_name>alokedip20/AI_LAB<file_sep>/Assignment3/8puzzle.py
import sys
goal_state = [1,2,3,8,0,4,7,6,5]
FLAG = 0
class node:
def __init__(self, state,parent,move,depth,h_val,node_cost):
self.state = state
self.parent = parent
self.move = move
self.depth = depth
self.heuristic_value = h_val
self.cost = n... | 8e6b35d2fab8118c42d2850f2064d89298fa95d2 | [
"Python"
] | 2 | Python | alokedip20/AI_LAB | 551edff7e7ac302df76cf32707d480ec867d8393 | 04553a2d14f3bae9985813f455d493b90b588171 |
refs/heads/master | <repo_name>ZHNLN0/js_fullStack<file_sep>/js/leetcode/LRU/readme.md
LRU 缓存 最近最少使用原则
Least Recently Used
操作系统
node fs 硬盘,内存
内存有一定的大小,比较精贵
硬盘用不完
内存是代码的运行空间 空间有限
假如现在空间为2 存放变量 2个
第三个变量
<!-- 1 put(1)
2 put(2)
3 放不下了 -->
[] 数组 内存2就是 length 2
原则:最近最少使用
1 put(1,1)
2 put(2,2)
3 get(1) 从内存中取出值 返回1 ... | 04bee861ce1366832ba203beb05d86b352086ed0 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 164 | Markdown | ZHNLN0/js_fullStack | 9f3c9a0f5b428d9c5b5063fa7479d0875e822615 | 834b67a59634245447d82c5e63fa0b688f455a38 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Math; //Usando using static
using static System.Console; //Usando using static
using System.Globalization;
namespace NovidadesCSharp6
{
class Program
{
stat... | ca266adf108588489a8940d0634977dddfa29c5a | [
"C#"
] | 1 | C# | higorcesarqn/novidades-C-Shape-6.0 | 3fb6dde09717335e5789f0a204f470be5853b932 | 7419ea39bae3fe7b6945d6fd88df789b4cc91b11 |
refs/heads/main | <repo_name>Cyao118/DenseNet-with-pytorch<file_sep>/README.md
# DenseNet-with-pytorch
使用pytorch实现DenseNet,完成完整的代码框架,从建立数据集、设置参数、训练网络到推理测试。
使用方法详见知乎:https://zhuanlan.zhihu.com/p/385606979
<file_sep>/dataloaders/cfg.py
# -*- coding:utf-8 -*-
##数据集的类别
NUM_CLASSES = 2
#数据集的存放位置
DATASET_DIR = r'/media/jzdyjy/EEB2EF7... | 1004d92df4cd61f13772f26151212d0fb68a8715 | [
"Markdown",
"Python"
] | 2 | Markdown | Cyao118/DenseNet-with-pytorch | 1d3c5241c63a71e353e55260a89e36467bbdb1f1 | 015d47741545a7ba7533df3a5caf11973cbc1551 |
refs/heads/main | <file_sep># database-manager
Application for managing PostgreSQL database
<file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Npgsql;
namespace projekt38
{
public pa... | 12169a19040f432109d40969721169d193cd255b | [
"Markdown",
"C#"
] | 2 | Markdown | michal-skowron-dev/database-manager | 14af3356d3f410a9ebf0b8c376e07d351ab349d5 | 5c891448e0205b121dd5c2891edb5fd60a3ddde4 |
refs/heads/master | <repo_name>ApplicationPlatformForIoT/sample-collection<file_sep>/sdk/gateway/ingest/nodejs/index.js
var httpServiceUri = "<from registration ticket of gateway>";
var httpServicePath = "<from registration ticket of gateway>";
var gatewayID = '<from registration ticket of gateway, tag DataCollectorId>';
var sensorID = '<... | 2202a55c141b13b675a5ddb899e7f41d2afbe232 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | ApplicationPlatformForIoT/sample-collection | 0cbe41e4f6925c00f289262d5f538e90b5a599cb | f33be9c168694ae374944f7a39378da2085cbe71 |
refs/heads/master | <repo_name>afrixea/TimberWordpress<file_sep>/includes/analytics.php
<?php
if (defined('WP_ENV') && 'production' === WP_ENV) {
add_filter('wp_resource_hints', function ($hints, $type) {
if ('dns-prefetch' === $type) {
$hints[] = '//www.google-analytics.com';
}
return $hints;
... | bbe8d0b753b622e7f4a3ca2e30dd9de14d778a41 | [
"PHP"
] | 15 | PHP | afrixea/TimberWordpress | e42c6ba58de57ac86ae7f1d5c7492735673182b6 | 74d55639223c70989f5c52cbba06ce59716b05ec |
refs/heads/master | <repo_name>haensl/pwm-season-simulation<file_sep>/season-simulation.ino
// uncomment to do a dry run
// #define DRY_RUN
#include <Process.h>
#include <Math.h>
#define COLON ":"
#ifdef DRY_RUN
#include <Console.h>
const byte DRY_RUN_DAYS_PER_MONTH = 30;
#endif
typedef struct Time {
byte hours;
byte minutes;
byte... | 3951206ac85f9380d6968a0d846a1c57e6c9f0f2 | [
"Markdown",
"C++"
] | 3 | C++ | haensl/pwm-season-simulation | 23b7b3de051de125cf38693050c85b33bc78b753 | 13c80739a29b16177d6cde24588f67d86046cd0b |
refs/heads/master | <file_sep>from data_source import DataSource
import argparse
import json
class IngestWorker:
def __init__(self):
self.__ds=DataSource.get_postgis_idc()
self.__cursor = self.__ds.cursor()
def __del__(self):
self.__ds.close()
def has_scene(self, scene_id):
sql = f'SELECT... | 721f0ec8f6a1ae2dfcccfc486d3fe51e64392cd4 | [
"Python"
] | 2 | Python | kbae1230/GIS_data_preprocessing | 820b8a38546eac3fde298ce67b749a4683d375a4 | 6228b965324fdd7c2f153b902d2b1bf361deb37e |
refs/heads/main | <repo_name>ErminDZ/FridayEx1<file_sep>/src/main/java/ci/Friday.java
package ci;
public class Friday {
public Friday() {
}
}
| cbc50bb8b9ec1e39b18fc956c355d939f3fd1085 | [
"Java"
] | 1 | Java | ErminDZ/FridayEx1 | 065ce43c208d4d0ae434c8b5347072ac1e9af48f | 6961ba022c56450dfedc89204e5f52b3f754d5e2 |
refs/heads/master | <file_sep>const express = require('express');
const app = express();
const session = require('express-session');
const server = require('http').createServer(app);
const io = require('socket.io')(server);
//-----------------------------------------------------------------------------
server.listen(process.env.P... | 2deddcdaf2e8a04bc2460e5c0454a4771f059589 | [
"JavaScript"
] | 1 | JavaScript | legendstrange1992/server-fashion-shop | c817a1555e995d696ec04299bf62648fdedc0634 | 3c84737af6c36ebaca0343c211e35624feb209fe |
refs/heads/master | <repo_name>GitShini/Demo<file_sep>/src/test/java/Learn/UdemyE2EProject/Listeners.java
package Learn.UdemyE2EProject;
import java.io.IOException;
import org.openqa.selenium.WebDriver;
import org.testng.ITestContext;
import org.testng.ITestListener;
import org.testng.ITestResult;
import com.aventstack.extentreports.Ex... | 61b3b1a38684e7f6f5ac2e6dbdf21ac82de2be21 | [
"Java"
] | 5 | Java | GitShini/Demo | 24e0a9d29acc7d4b15e4755205358cc02ce482f1 | d5da7d7a6d5a4e16694827b4837e6c19c14e685b |
refs/heads/master | <file_sep>package cma.otto.spacetaxi;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class Exercises {
private final RouteParser routeParser = new Route... | fde98b88cb29159ee56ffa14730800297f01f094 | [
"Markdown",
"Java",
"Maven POM"
] | 12 | Java | holzig/spacetaxi | 691e9d2ef25f33cbe0a46ca49477aa0a983ec0fc | af638fcb499db6d0d2ed1695303e3c4d728e8196 |
refs/heads/main | <file_sep>import { Fragment, useEffect, useState } from 'react';
import { getRandomNames } from '../api';
const PokemonForm = ({
pokemonName: externalPokemonName,
initialPokemonName = externalPokemonName || '',
onSubmit,
}) => {
const [pokemonName, setPokemonName] = useState(initialPokemonName);
useEffect(()... | 0c370b122411af77d6ac8e408b9dca00a1109aff | [
"JavaScript"
] | 8 | JavaScript | zetsme/pokemon-cache-context | 2de62bcdcd0b9899db9b33f52b3aa0837803eff9 | fafffe8cdca92de6312a2238b82a291ebd9bf646 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using COMMON;
namespace DAL
{
public class CategoriaDAL : AbstractDAL
{
#region propiedades y constructores
public Categoria Cat { get; set; }
... | cf06c55ea7dfba1760bde40b97c9aa9088e29fc3 | [
"C#"
] | 7 | C# | aspeti/Distribuidora | 09d7e5c75f85ad7421d840a1b5d9375b58df4915 | b6dfff910a9afc46056b514da9e190d96a7b79a4 |
refs/heads/master | <file_sep>//通用帮助类
export class ComHelper {
static PageSize: number = 15;
//判断是否空值(null或者undefined)
//val:需判断的内容
static isEmptry(val: any): boolean {
if (val == null || typeof (val) == 'undefined' || val == '') {
return true;
}
return false;
}
//字符串填充
//str:需填充的字符串
//len:填充到个数
//p... | 87b83872fcf8d6bfb325031a0423ac767355ee51 | [
"Markdown",
"TypeScript",
"HTML"
] | 110 | TypeScript | dabintang/IOSysV4_Ionic4 | 232040ca5ef51c95bb0166043f44d328b8402e6f | f33469d10a2d69469e0be8e87f4eb3907650c1f2 |
refs/heads/master | <repo_name>ValerieLoveland/codingbat<file_sep>/warmup-1/everyNth.java
/*
* Given a non-empty string and an int N, return the string made starting
* with char 0, and then every Nth char of the string. So if N is 3, use
* char 0, 3, 6, ... and so on. N is 1 or more.
*/
public String everyNth(String str, int n) {
Strin... | acef26b7a86b53c3454413aa76ceeba10e89d808 | [
"Java"
] | 9 | Java | ValerieLoveland/codingbat | 1abadb47dc5671367f986e8d1bf65169f04e64db | d7e4399b5e76565a788a22d77b492fb0566a4b39 |
refs/heads/master | <file_sep><?php
if((isset($_POST['name'])&&$_POST['name']!="")&&(isset($_POST['tel'])&&$_POST['tel']!="")&&(empty($_POST['spam_hidden']))){
$to = '<EMAIL>';
$subject = 'Обратный звонок';
if(isset($_POST['comment'])&&!empty($_POST['comment'])){
$msg = $_POST['comment'];
}else... | 48f78b5f6aebfbb0ed7b6e17537e031de86f189c | [
"JavaScript",
"PHP"
] | 2 | PHP | mainden7/Tess | c1c41f9ecff45b2c9fc327d1fb231c920232ad3c | d095e8962375426593f966703b4abe8ad25d0927 |
refs/heads/master | <file_sep>using System.Runtime.Serialization;
namespace GestaoClientes.Api.Models
{
[DataContract]
public class Cliente
{
[DataMember]
public int ID { get; set; }
[DataMember]
public string CPF { get; set; }
[DataMember]
public string Nome { get; set; }
... | 3b80a8bd716fbc8540c8ea6399fbf79f63172e18 | [
"Markdown",
"C#"
] | 7 | C# | david-inacio/Teste-Remoto-FA | 9ab8179653c544938894c7affd3baa1b6fc8e94f | 5ef6185cefa6923463b068fe4cc707798dd21b8e |
refs/heads/master | <repo_name>jrothwell/room-booker-app<file_sep>/www/js/controllers.js
var api = "http://172.20.10.4:3030/";
angular.module('starter.controllers', [])
.service('sharedProperties', function () {
var requiredCapacity = 4;
return {
getCapacity: function () {
return requiredCapacity;
},
... | b188c7becb8f358497660163f83c3499f099dbb2 | [
"JavaScript"
] | 1 | JavaScript | jrothwell/room-booker-app | be1a5bb177b0b419d078959f645d426089a03f45 | 480b2592109fcf97851d61ac0763ad4093ae0c48 |
refs/heads/master | <repo_name>jos-m/Social-Media-Dashboard<file_sep>/docs/js/scripts-min.js
const totalFollowers = document.getElementById('total-followers');
const switchContainer = document.getElementById('switch-container');
const cardNumbers = [...document.querySelectorAll('.card__number')];
let totalFollowersNumber = 0;
const getR... | ef61bc2582aaeddd50a68a1a89ecddaf30ec15d6 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jos-m/Social-Media-Dashboard | cce90c5185a66e421f7e12d280e87d21c8c63beb | ee1ad9d765a3d7202407f1e1bb5f647a7b666423 |
refs/heads/master | <file_sep>package com.hongcd.cloud.bms.controller;
import com.hongcd.cloud.bms.service.BookTypeService;
import com.hongcd.cloud.common.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.P... | 284ab96ab7a4ca933dfc10897bee286eec08a6c1 | [
"Java"
] | 3 | Java | hongcd/spring-cloud-demo | 614d0a3963e7a39ca46e292bcf81c9bfc3f16f9c | ea332c8662cdcefd91509267a2a3ad3e02b1e636 |
refs/heads/master | <file_sep>中文文档请见 [这里][readmecn]
## Installation
There are two ways to install, the first and recommended way is via `Package Control`:
1. Make sure you have `Package Control` installed, see <https://packagecontrol.io/installation>
2. Search for `Direct Copy` using `Package Control` and install
Another way ... | b7e72614357ea01c271d5d123f1bdf393a800316 | [
"Markdown",
"Python"
] | 3 | Markdown | unifreak/SublimeDirectCopy | 4469ac4759e468c93cd4250f93208c9125e9eba4 | e335773ddbd281b81f6978a112b3a99a75792940 |
refs/heads/master | <repo_name>carltonf/vagrantfiles<file_sep>/ceph-docker/Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ceph-builder"
config.vm.box_check_update = false
config.ssh.insert_key = false
config.vm.network "private_network", type: "dhcp"
config.v... | 7f45f0351fed7de54799d816b88cffee9b9825f1 | [
"Ruby",
"Shell"
] | 26 | Ruby | carltonf/vagrantfiles | 5304c5969248eb5dce6008d7c41c309da66cf783 | b3751da211fbc6c94b5e0cfa839a3587fd68a2ed |
refs/heads/master | <repo_name>OmarShahen/Mini-Registration-System-with-C<file_sep>/Mini Registration System/main.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct Address
{
char country[20];
char city[20];
};
struct Birthdate
{
int day;
int month;
int year;
... | 402c796f677d0e1b78053c12f94b396454f4f768 | [
"C"
] | 1 | C | OmarShahen/Mini-Registration-System-with-C | 8eb7b29c26794ecbe710506d032ec6e40b17bc8e | e9eedfe967c3f89d2ea5fa37d3de202548c8b791 |
refs/heads/master | <repo_name>tkeeley/Social-Media-Site-Clone<file_sep>/email.php
<!--
Phishing is very illegal!
Please do not use this in any way that will get you in trouble.
This is just to demonstrate how easily you can create a site that looks like a popular trusted site
-->
<?php
$EmailFrom = "<EMAIL>";
$EmailTo = "<EMAIL>";
$Su... | 49453d9101f8b95ea8310399ac736bb3711291b7 | [
"Markdown",
"PHP"
] | 2 | PHP | tkeeley/Social-Media-Site-Clone | 4714372d4a7b14954e48756c9e1e9904c6ac4fbc | a43fae42b572a63851edada51dc1c6fce636cbc4 |
refs/heads/master | <repo_name>chrismullins/mnelab<file_sep>/README.md


MNELAB
======
Graphical user interface (GUI) for [MNE](https://github.com/mne-tools/mne-python).

The following Python pac... | f8c648fba12624bc23742daab67bdc965e83abb5 | [
"Markdown",
"Python"
] | 2 | Markdown | chrismullins/mnelab | 45b76daf2b07e1d65686158f30d6200f26b39bd1 | 7bcd1a3a4c3f25758e51780bab12e2acab50e1e0 |
refs/heads/master | <repo_name>jean553/libraries-loading<file_sep>/static_library/sum.c
#include "sum.h"
#include "mul.h"
int sum_and_mul(int first, int second) {
return first + mul(first, second);
}
<file_sep>/README.md
# Libraries loading
This is a short personal memo about static/shared libraries loading process.
## Sources
Bas... | 8b60e85d53e0eccb05ca4d17d381aeb44b3e7a86 | [
"Markdown",
"C"
] | 6 | C | jean553/libraries-loading | 2a0f2b82966a878f7feb8703e8e2b99edd4d00b1 | 3465f619cfca6277bf0f2ecc4ed2442aa24d17e7 |
refs/heads/master | <repo_name>jsantoso/docker-php-7.4-cli<file_sep>/build_and_push.sh
#!/bin/bash
docker login
docker pull php:7.4-cli
docker build -t jsantoso/php-7.4-cli:latest .
docker push jsantoso/php-7.4-cli:latest<file_sep>/README.md
# docker-php-7.4-cli
PHP 7.3 CLI for Laravel artisan
<file_sep>/Dockerfile
FROM php:7.4-cli
WO... | 4b3e1c85cfbb3afb5afdd30438afa23ae166694c | [
"Markdown",
"INI",
"Dockerfile",
"Shell"
] | 5 | Shell | jsantoso/docker-php-7.4-cli | 2e212d21557b8d9412cf9e30308f7a1c5b3fd588 | 5e02206a10f7529bbaea1c608824882c1f553a0c |
refs/heads/master | <file_sep>package shulamit.hila.letsmeet.servieces;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import com.mapbox.mapboxsdk.geometry.LatLng;
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.OnMapReadyCallback;
public class InfoWindowSymbolLa... | 494367d173bdb046f3b9f318ef94b65eb136e391 | [
"Java"
] | 5 | Java | shulamitco/LetsMeet | 7d029814b64f730adb5502095973ff4c3d263344 | c9db24f78eab2d6bacf2f1ab2e8adc32df2d0f2d |
refs/heads/master | <file_sep>module GossipsHelper
def owner?(user)
user.id == params[:id]
end
end
<file_sep>class AddAdminToUsers < ActiveRecord::Migration
def change
add_column :users, :admin, :boolean, :default => false
add_column :users, :remember_digest, :string
add_timestamps :users
end
end
<file_sep>class Go... | 21aa83fee9b12085c94b139c7e3fc685e5242b86 | [
"Ruby"
] | 3 | Ruby | nonsenseless/members-only | c6b7a0ebc5e16ed57487abf4446b6e91a39ac0d4 | fc6c3dc0e375fa57bb8c186ed3b3ef8d619aefe1 |
refs/heads/master | <repo_name>rbacquie/hangman_node<file_sep>/word.js
var Letter = require('./letter.js')
function Word(words) {
this.word = words;
this.letters = [];
this.wordFound = false;
}
module.exports = Word;<file_sep>/letter.js
function Letter(letter, check) {
this.letter = letter;
this.checkGuess = fals... | 697372efd85a04856debf1cf9b2d0d72044c8438 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | rbacquie/hangman_node | 12770856edb757fb43eb32280322feb8f071157b | dcaf5dba8310f57b835a68fc7947c57717b07c67 |
refs/heads/master | <repo_name>bazilab16/Projects<file_sep>/IbuCollection/IbuCollection/BLL/Helpers/ExcelToSqlExporter.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace IbuCollection.BLL.Helpers
{
public class ExcelToSqlExporter
{
... | 1bbc8af570444aa75ec0e014de84b68f290fa79f | [
"C#"
] | 2 | C# | bazilab16/Projects | 0d4b22e4680a660a24e4acdb392ca29f13d73d00 | 5cc183235dd04643d52509bc223744980b60ce63 |
refs/heads/master | <repo_name>RoDKoDRoK/RoDKoDRoK-main<file_sep>/rodkodrok/deploy/package.chain.deploy.php
<?php
//list des packages to deploy dans l'ordre
$tabpackagetodeploy=array();
//PREMIERS PACKAGES OBLIGATOIRES PAR DEFAUT POUR TOUT DEPLOIEMENT !!!!!!!!!!!!!!!!!!!!!!
//packages genesis.starter
$tabpackagetodeploy[]=array();
$tabp... | e0ddae377143dbdaea7438f483e6e7c1fdfc81e9 | [
"JavaScript",
"Text",
"PHP"
] | 30 | PHP | RoDKoDRoK/RoDKoDRoK-main | aa6a30f15ab158a27ffcdc8f740edff793fed7c0 | 91e11dc646979e98ea1a1f21144fe2da44569126 |
refs/heads/master | <repo_name>frontapp/docker-pritunl<file_sep>/rootfs/init
#!/bin/sh
# Prepare system for OpenVPN.
mkdir -p /dev/net
if [ ! -c /dev/net/tun ]; then
mknod /dev/net/tun c 10 200
fi
# Database.
pritunl set-mongodb ${DATABASE_URI}
# Network.
pritunl set app.reverse_proxy true
pritunl set app.server_ssl false
pritunl s... | 98e627de79ee1f811b0390781768e22b9a1f3fae | [
"Dockerfile",
"Shell"
] | 2 | Shell | frontapp/docker-pritunl | 16956f8011fe2c6b22b0fa8da0a6af71f85c7cbe | db557e4558eefd32ad21cf6a8bdbfb2bdb7bdad3 |
refs/heads/master | <file_sep> var ctx = document.getElementById('myChart').getContext('2d');
var chart = new Chart(ctx, {
type: 'bar',
// The data for our dataset
data: {
labels: ["HTML", "CSS", "JS", "PHP", "RUBY", "PYTHON", "JAVA", "RUBY"],
// Information about the dataset
datasets: [{
... | 92d197d7bc8bb41515cd0c6f7e18a1056dabd9f4 | [
"JavaScript"
] | 1 | JavaScript | oyinkan/ProDevs | 6192c7ae652b26ec8dc560e2193b1463a132eb4f | d060f9cfb9e9ffdda3d043b777a226dc637fe01a |
refs/heads/master | <repo_name>achowdhury3762/AnimalAPI<file_sep>/README.md
<NAME>
3303
The problem I encountered was accidentally setting my list's adapter to itself. After running a debugging check, I had realized that was my problem. Another problem that arised was getting a reference to the activity inside my adapter. At first I had... | e55161a6e9e1ba0c3a9800cc414d3c68d5cb496a | [
"Markdown",
"Java"
] | 2 | Markdown | achowdhury3762/AnimalAPI | 680ab9fd1534b39c729d9a0736e0ef35f595bfb8 | 75816ac4ef1eec1ab518488db5957170362458a7 |
refs/heads/master | <file_sep># CHAMAQUI
ProjetoIsaias
<file_sep>package br.com.uniara.projeto;
import java.util.Scanner;
import org.jgroups.JChannel;
import org.jgroups.Message;
import org.jgroups.ReceiverAdapter;
public class JGroupsCluster {
public static void main(String[] args) throws Exception {
Scanner scan = new Sc... | 309162872a8a7a7015986c61c06e11a58c9c8b38 | [
"Markdown",
"Java"
] | 2 | Markdown | isaiasVitor/CHAMAQUI | 2a971b856dc9fdf016fb3cc1802320090ba2b53f | 9e530b6cd1ea7fb6b3d89f2d50709a21a5295ce1 |
refs/heads/main | <repo_name>cl1ckname/Spartify<file_sep>/requirements.txt
aioredis==1.3.1
asgi-redis
asgiref
async-timeout==3.0.1
attrs==21.2.0
autobahn==21.3.1
Automat==20.2.0
autopep8==1.5.7
backcall==0.2.0
certifi==2021.5.30
cffi==1.14.5
channels==3.0.4
channels-redis==3.3.0
chardet==4.0.0
constantly==15.1.0
cryptography==3.4.7
daph... | 0ff653fd17332b9bf4af7d7bf1db8cdd80fc097b | [
"HTML",
"JavaScript",
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 59 | Text | cl1ckname/Spartify | 3c45236e3f8803af9d01ac638e3d10a834ab7b7d | ee470d0351362509aec050b3e7c6fa41370e3391 |
refs/heads/main | <repo_name>Solar-2020/Interview-Backend<file_sep>/cmd/handlers/router.go
package handlers
import (
httputils "github.com/Solar-2020/GoUtils/http"
interviewHandler "github.com/Solar-2020/Interview-Backend/cmd/handlers/interview"
"github.com/buaazp/fasthttprouter"
)
func NewFastHttpRouter(interview interviewHandler.... | 35ec082fd493af43135a3df6134d50f32dc0e52c | [
"Go Module",
"Go"
] | 12 | Go | Solar-2020/Interview-Backend | a4bfd211979c23de08b2535bcd32f96228ffa7de | 85c523e68daeb8183e7821cc45643333ffea0280 |
refs/heads/master | <file_sep>#include <iostream>
#include <thread>
#include "client_socket.h"
#include "socket_exception.h"
int main(int argc, const char* argv[])
{
try {
ClientSocket client("127.0.0.1", 30000);
std::string sendBuf;
std::thread receiver(&ClientSocket::receiveHandler, std::ref(client));
... | 4d78c5fec36e46388a2c4c46f9f8c9447356b037 | [
"CMake",
"C++"
] | 9 | C++ | CandySunPlus/simple_socket | 3f0882a7a14fe94334f6d74be49709f4f3322bcd | 30988e7f1b76acc27c387dac570b9b2d544235ce |
refs/heads/master | <repo_name>mattkerkstra/mattkerkstra.github.io<file_sep>/apps/code_snippets/scripts/custom_anchors.js
"use strict"
b4w.register("custom_anchors_main", function(exports, require) {
var m_anchors = require("anchors");
var m_app = require("app");
var m_cfg = require("config");
var m_data = require("data");
var m_sc... | 1555b28347d9f1a99bf9ea38a3693d572ccec241 | [
"JavaScript"
] | 10 | JavaScript | mattkerkstra/mattkerkstra.github.io | 3ef0da1342955b3ea22f07da57bede1ed48b1017 | aa6914b69b3e3ac9bfd7d4fb93bc1a35d6f2eca3 |
refs/heads/master | <repo_name>cornydox/abbas-v2<file_sep>/assets/js/coin.js
function Coin(index){
this.index = index;
}
Coin.prototype.update = function(delta_s){
var boost = abbas.data.getBoost();
coin[this.index].x = (coin[this.index].x - delta_s * boost);
};<file_sep>/assets/js/preload.js
var preload = (function(){
var img_path... | e89361f55fbd494efe1dea68b6e3576f08750525 | [
"JavaScript",
"PHP"
] | 13 | JavaScript | cornydox/abbas-v2 | bb3ab2bc1465bd0cda771f2c93fb68bcdb21c037 | f47ba98121e5974b5379910bbaa4ad74320a3c52 |
refs/heads/master | <file_sep>package ds.stack;
public class App {
public static void main(String[] args) {
Stack theStack = new Stack(10);
System.out.println(reverseString("chinonso"));
}
public static String reverseString(String str){
Stack theStack = new Stack(str.length());
for... | 12b4d158070346e22b422513db628e419e04b8a2 | [
"Markdown",
"Java"
] | 10 | Java | conwabueze/DataStructurePractice | 3e419eacf6cc4534daa0ce6137258bec3728056a | dae90c5ec7bfc93ebf5e8cfed020856f6af2e8f7 |
refs/heads/master | <repo_name>thacypherbot/thacypherbot-main<file_sep>/functions/textRecordMessageAfterConfirmation.js
// This function is used to send a message embed that contains the recorded text Object.
// It shows the whole message on reaction with the note.
const Discord = require("discord.js");
const textRecordMessageAfterConfir... | 27275a67679dc581f3b7aef5bb35c8528959355d | [
"JavaScript"
] | 17 | JavaScript | thacypherbot/thacypherbot-main | 338caf9f27cfced1829b56655bcb25e78339e9d8 | a851836d6ee4968f332144b8158e1b4ee414f54d |
refs/heads/main | <file_sep>url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
dir <- "C:/Users/Arun/Documents/Exploratory Data Analysis/data.zip"
data <- download.file(url,dir)
unzip("C:/Users/Arun/Documents/Exploratory Data Analysis/data.zip")
data <- "C:/Users/Arun/Documents/Exploratory Da... | b1ccbf598f7fa5ec443462120c16cd14cc4a04e2 | [
"R"
] | 1 | R | arunkumard001/Exploratory-Data-Analysis | 35aae02ca6240f54c3f3aefad36d2a8a2d578bcd | 41bf2d29baf4b394467129d74eb1bbb1e79b12c0 |
refs/heads/master | <repo_name>xyl1t/Tetris<file_sep>/Tetris/Model.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Threading;
using System.Diagnostics;
namespace Tetris
{
public class Model
{
Random random = new Random();
boo... | 7eb20c337b507a9051113d733f5b263b5bea6cbb | [
"Markdown",
"C#"
] | 5 | C# | xyl1t/Tetris | 575a729deb9b9cac28f38f4a36c370b967090e06 | be2b326abd559c739eae8b801d7c7ecb4b180131 |
refs/heads/master | <repo_name>IkarosKappler/text_replacer.sh<file_sep>/text_replacer.sh
#!/bin/bash
#
# This script replaces the text pattern PATTERN by the text REPLACEMENT in all
# files from the passed file list.
#
# Note that each entry of the file list consists of
# <input_file> : <output_file>
#
#
# @author <NAME>
# @date 201... | 8c5c144f05b9de0b7e15cda247ffaae14be2e604 | [
"Markdown",
"Shell"
] | 3 | Shell | IkarosKappler/text_replacer.sh | ce45121d003632791407cd4f37da5364ee4352ae | 748710abc4958a742b59b09083e8f42af85a2cb7 |
refs/heads/master | <repo_name>abhisekdas0fficial/templates<file_sep>/element hover effect/main.js
const icard = document.querySelector(".icard");
icard.addEventListener("mousemove", e => {
icard.setAttribute("style", "transform: rotateX("+(-(e.layerY-150)*10/150)+"deg) rotateY("+((e.layerX-225)*7/225)+"deg);");
});
icard.addEventList... | 4f404dd298d96bd4f8fb9345e1550835b08b2fd6 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | abhisekdas0fficial/templates | 995366fefb6d4676a2274538bf91340b55458e5c | f528ef2eb17cf22498aef2925954f72b06fe6799 |
refs/heads/master | <repo_name>josias-m-soares/api-aspnetcore-ddd<file_sep>/Api.Service.Test/Login/QuandoForExecutadoLogin.cs
using System;
using System.Threading.Tasks;
using Domain.DTOs.Login;
using Domain.Interfaces.Services.Users;
using Faker;
using Moq;
using Xunit;
namespace Api.Services.Test.Login
{
public class QuandoForExec... | c61ec4ba5c60e8f1d687f6534cafdff7d5734c95 | [
"Markdown",
"C#"
] | 33 | C# | josias-m-soares/api-aspnetcore-ddd | 2477e705093ebdefdebb12ba6fdf76b9171ef71d | 49592c6fd2972e0b05455fed32872868a49e2f24 |
refs/heads/master | <repo_name>Hi1talib1World/massar-javaProject<file_sep>/src/main/java/info/UserInfo.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package info;
/**
*
* @author admin
*/
publ... | 55f7fdff163e8b3556173fb0f01c7de8dd8d5196 | [
"Java"
] | 4 | Java | Hi1talib1World/massar-javaProject | 7e1853179115aafd1699f1b30d155e0e72d8c338 | aea38012586ef18ef9b5f26959f62cf7d9652573 |
refs/heads/master | <repo_name>nguyentienlinh2611/sapoApi_demo<file_sep>/src/main/java/com/sapo/apiclothes/controller/ApiAttributeValue.java
package com.sapo.apiclothes.controller;
import com.sapo.apiclothes.model.Attribute;
import com.sapo.apiclothes.model.AttributeValue;
import com.sapo.apiclothes.service.AttributeService;
import com.s... | 4ccf51891ad1b932e929c03bf394a6e9c5861570 | [
"Java"
] | 3 | Java | nguyentienlinh2611/sapoApi_demo | 0adbcc28137f7ccc498c491d01963f707bc9a61c | 4c53cd9553b62ca74b3a102e2600030d8e9a714f |
refs/heads/main | <repo_name>iloveflag/YanZhao-Mole<file_sep>/Server.py
import requests
class Server:
title = "发布了新消息,请查看"
desp = "请点击进入:"
ServerUrl = "https://sctapi.ftqq.com/{SendKey}.send"
def __init__(self, school):
self.desp += str(school.url)
self.title = str(school.title)+self.title
def sen... | c11816145250a6c9ba629f35e6d6b80cada8860f | [
"Markdown",
"Python"
] | 4 | Python | iloveflag/YanZhao-Mole | de1aa742e9e376b27c527ecbfb091f5ccdf662a7 | f913a76839a8d92821ee61e6970d87d1ada8d39a |
refs/heads/master | <file_sep>using System;
namespace HabsPolymorphism2
{
public class Goal // the base class to be inherited
{
public virtual void Score()
{
Console.WriteLine("Score a Goal");
}
}
public class Blueline : Goal // first child class
{
public override void Score()
{
Console.WriteLine("GOOOOAALLL."); /... | d9c91e175f45cbce8d5442d22dcf17a47be33749 | [
"C#"
] | 1 | C# | lauren-lil/Habs-Polymorphism-example | 4c085900af5040a5c66b36ee309f16d0ee5bd1eb | 4c887e6ba2338bb57f3b4b6082fc8511d89d7b23 |
refs/heads/master | <repo_name>hitarthdoc/ecmh<file_sep>/src/common.c
/*****************************************************
ecmh - Easy Cast du Multi Hub - Common Functions
******************************************************
$Author: fuzzel $
$Id: common.c,v 1.3 2005/02/09 17:58:06 fuzzel Exp $
$Date: 2005/02/09 17:58:06 $
*******... | c016b5929cb4c5332f8a700d4ddbe76704faffa2 | [
"Markdown",
"C",
"Makefile",
"Shell"
] | 22 | C | hitarthdoc/ecmh | 523110291b67accbb90d918287d30c565d6aff4c | 3995a982824bc3315522175d1645c99cc4108546 |
refs/heads/master | <file_sep>#include "drake/bindings/pydrake/systems/lcm_py_bind_cpp_serializers.h"
#include "drake/bindings/pydrake/systems/lcm_pybind.h"
#include "drake/lcmt_contact_results_for_viz.hpp"
#include "drake/lcmt_image_array.hpp"
#include "drake/lcmt_quaternion.hpp"
namespace drake {
namespace pydrake {
namespace pysystem... | 1b6ce4d730844f948a2de9d68e340e3c93fc8722 | [
"C++"
] | 1 | C++ | nadah09/drake | b07f2af6410dd437609f14c7959b65f36f644731 | a382efec7722ec6b5f4417dd309fea23f091cc8f |
refs/heads/master | <repo_name>soolaugust/design-pattern-demo<file_sep>/src/proxy/Service.java
package proxy;
// 需要使用的服务
public class Service {
public void method(){}
}
<file_sep>/src/chain/of/responsibility/HandlerInterface.java
package chain.of.responsibility;
// 处理者接口
public interface HandlerInterface {
// 处理函数
// true表示已处理完,不需... | 63e9bba2a330ee7a29aa77a2078e9b45b3686a27 | [
"Markdown",
"Java"
] | 7 | Java | soolaugust/design-pattern-demo | f72c079a2da9f75a3faba839f2608894bd747c38 | 24a3e8bcfd4cc77ffd057b35ab19b7d7bb91ad46 |
refs/heads/master | <repo_name>Giffee/DiplomaProject<file_sep>/app/src/main/java/com/sergey_kost/diploma/diplomaproject/HelpActivity.java
package com.sergey_kost.diploma.diplomaproject;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MenuItem;
import ... | a29dd21723e05712456fd7e26776a7469b286948 | [
"Java"
] | 1 | Java | Giffee/DiplomaProject | 19fb85cbd9cb94fc4ab17564a5e87efeb4a1392d | f527d4eb26d98778ea4857064b0ffa36c55d25d1 |
refs/heads/gh-pages | <repo_name>mrdcs92/calculator<file_sep>/calculator.js
/*
<button> elements for the buttons, <button>7</button>
<input> element for the display
.value changes contents of the display
*/
/*global math*/
var div = document.createElement('div');
div.id = 'calculator';
document.body.appendChild(div);
var inputArea = doc... | 3e73a580078eea4b0855bb8891d4a95749c81b38 | [
"JavaScript"
] | 1 | JavaScript | mrdcs92/calculator | fcc5df5ad197e3b3df1e95df85e996f617a44ce6 | ee41c8ecb65328527a1e99e56dabc4d00d01e025 |
refs/heads/master | <repo_name>ntkathole/testblame<file_sep>/setup.py
from setuptools import setup
setup(
name='TestBlame',
version="0.1",
description="collect the failed tests from junit report and send across report based on there commit history",
author="<NAME>",
author_email="<EMAIL>",
py_module=['testblame'],... | ae4c7f2bef3c7b419cf12e6d2d117e17437b3a28 | [
"Python",
"Shell"
] | 2 | Python | ntkathole/testblame | 6e9fcac9c47f3867da48dcf7ee9e5ab990338970 | 82587891722ee5dd431c90a8cf5bb25fb8f69371 |
refs/heads/master | <repo_name>Mehigh17/ImageMatcher<file_sep>/src/main/tests/ImageDataProviderTest.java
package main.tests;
import javafx.scene.image.Image;
import main.services.ImageDataProvider;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import java.util.HashM... | f5b565406025ee301adf8dd851a7228474b72827 | [
"Markdown",
"Java"
] | 5 | Java | Mehigh17/ImageMatcher | 62f9445afab395b98facdf76de2969b6b565ce41 | 6ff8ea1ecf96d593d5466b75980899ec3cc9f7ae |
refs/heads/develop | <file_sep>'use strict'
const PIPELINE_CONFIGS = 'pipeline_configs'
let execPipeline = require('../../core/pipelines/execute-pipeline-command')
let query = require('../../db/queries')
let success = require('../utils/responses/success')
let created = require('../utils/responses/created')
let error = require('../utils/r... | c38052144a334a47276cae548da64d589a8312d5 | [
"JavaScript"
] | 3 | JavaScript | nater1067/mc-core | 728feeaa109f80af78f81e990ce5c974d4d22f3e | 0fb01269f2965d50b50e6b61ecaf0931d9b9e2c6 |
refs/heads/master | <repo_name>Guolewen/Sreedhar2011<file_sep>/table1.py
import pandas as pd
from collections import Counter
import time
import numpy as np
facility = pd.read_csv(r'D:\wooldride_econometrics\paper_liq_replicating\Sreedhar\data\facility.csv')
facilitydates = pd.read_csv(r'D:\wooldride_econometrics\paper_liq_replicating\Sr... | 4d04e3ea1bd2f00e3367a00392bb0a84189fbaf0 | [
"Python"
] | 1 | Python | Guolewen/Sreedhar2011 | 44fa9fa6fe4452d9447168d7131db03ae11eade2 | 56f37b523cb7d79fce890e6b912627d1301533dd |
refs/heads/master | <repo_name>felixlberg/nativescript-app<file_sep>/src/app/web/web.component.ts
import { Component } from "@angular/core";
import { Page } from "tns-core-modules/ui/page";
@Component({
moduleId: module.id,
templateUrl: "./web.component.html",
})
export class WebComponent {
public webViewSrc: string = "https:/... | de9be957fcd8235f2dd1e66e9e5e6ebd862fc823 | [
"Markdown",
"TypeScript"
] | 4 | TypeScript | felixlberg/nativescript-app | c7466ee81aafc98a92ed4482b03577137d52855e | 501fbc78c9664cb7315c8cd1553016def554e93b |
refs/heads/main | <file_sep>import React from 'react';
import {View,Image} from 'react-native';
const Webstep = () => (
<Image source={require('../assets/wtlogo.png')}
style={{width:150,height:70}}
/>
)
export default Webstep<file_sep>import React from 'react';
import {View,Image} from 'react-native';
const Shadow = () =>... | 2e8ce2de4dcdd5f42045ba00b784a1b4fb47b3d3 | [
"JavaScript"
] | 2 | JavaScript | sujoy21198/Team | 11cf63733d5e491b2a4d27b34b77076e51ac153c | 1c6f122861c716fab63fbb80fce7a5b1b5ace51c |
refs/heads/master | <repo_name>jesp209i/ParkingLotSystem<file_sep>/BusinessLogic/IParkingLot.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLogic
{
public interface IParkingLot
{
void ParkingACar(Car car);
void ParkedCarLeav... | 3dc731f8fba4f6997c5c3ddea027e980de36a083 | [
"Markdown",
"C#"
] | 5 | C# | jesp209i/ParkingLotSystem | fd297c6e604cdc3d80ea6f89ef5903563e2c832b | 55e42262355d298f7e3436b0657de5569564f260 |
refs/heads/master | <repo_name>fgpayano/laravel_teachme<file_sep>/app/Http/Controllers/TicketsController.php
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Entities\Ticket;
use App\Entities\TicketComment;
use Illuminate\Auth\Guard;
use Illuminate\Rout... | f5d164a2863fe34be06f7b25201f931a9bb9919f | [
"PHP"
] | 9 | PHP | fgpayano/laravel_teachme | 1489aaf6953deb807728a95d961b62a3a83bfd88 | f0f48760dab516b58284552ae9952581841cf70a |
refs/heads/master | <file_sep>export PATH="$PATH:/root/vendor/bin"
<file_sep># docker-php
A Dockerfile that installs an Nginx / PHP-FPM based environment that also contains Solr 4, MariaDB, Redis, ElasticSearch and MailHog.
## Usage
### Install the common instances (MariaDB and Mailhog)
```bash
$ docker pull mariadb
$ docker run --name... | ddaa22b412c84ff72b077f02165da33273a3c5ab | [
"Markdown",
"Dockerfile",
"Shell"
] | 4 | Shell | CitrusSolutions/docker-php | bf9bdd2202ff7eeb50f1e05588ac7159ad18f467 | b0c584f5953ae09c2455030eb9f5036dfcb6eb17 |
refs/heads/master | <repo_name>luanachen/IngresseChallenge<file_sep>/IngresseChallenge/Model/Channel.swift
//
// Channel.swift
// IngresseChallenge
//
// Created by Luana on 11/04/18.
// Copyright © 2018 lccj. All rights reserved.
//
import Foundation
typealias Channel = [ChannelElement]
struct ChannelElement: Codable {
let sc... | cf402b1ba2f230120d90627a44e8e156858a5840 | [
"Swift",
"Ruby"
] | 6 | Swift | luanachen/IngresseChallenge | 8bab0cc9798ef1807dbac64bd52c865f24466477 | b96ecb2a65340622d22157c037514783c9d98205 |
refs/heads/main | <repo_name>asim9895/graphql_social_media<file_sep>/utils/validation.js
const user = require('../graphql/main/user');
const validateRegisterUser = (username, email, password, confirmPassword) => {
const errors = {};
if (username.trim() === '') {
errors.username = 'Username is Empty';
}
if (email.trim() ==... | d688254a580b21f3a5f2ab887bed92632d33eb1c | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | asim9895/graphql_social_media | fe09064a3f4648b25da041ad2523cc3c5d5e2499 | 38691ddcd526f72f7d0969152c863fd2074b24c4 |
refs/heads/main | <repo_name>EricTronGit/SolarSystem<file_sep>/solarsystem/src/pages/saturne.jsx
import saturne from "../assets/saturn.png";
function Saturne(){
return(
<div className="saturne">
<span className="textTitre">Saturne</span>
<div className="imgMercuryContainer">
<im... | 8ef8fef5c4fe3571b7cf9fee3288ffca690120b4 | [
"JavaScript"
] | 7 | JavaScript | EricTronGit/SolarSystem | 94c858a8987ab66fba6c1419feb81d83ae7d61c6 | ff259f6835d272fd218fa6f814b7bcbd2981acfd |
refs/heads/master | <file_sep>class Solution {
# XOR: number with itself is 0, with 0 its the number, order doesn't matter its commutative
public:
int singleNumber(vector<int>& nums) {
int x = 0;
for (int num : nums) {
x ^= num;
}
return x;
}
};
<file_sep>class Solution {
int sum... | a3831157f3124b8d9f13eae9d48644b32a5e6324 | [
"Markdown",
"C++"
] | 6 | C++ | zainhuda/april-challenge | 92f2702d90a5d113b65ef5b354a0de14892abf96 | 803bd02bd0cd4bd9c1b5a7760aa4d655e2442262 |
refs/heads/master | <file_sep># food_tripping
Django rest Api for finding narest 10 best restaurants with rating along with ubergo fare to travel to these restaurants from your location.
# Software Requirement
Django,
Django Rest Framework,
Django Rest Swagger
# Uses
python manage.py runserver
<file_sep>from rest_framework import ser... | bfb6a9701e9dec5b4e7c8f557dd1e09cb5a33a73 | [
"Markdown",
"Python"
] | 6 | Markdown | Applebit/food_tripping | dcc6e5667b9ebb4f9dc11dba88ca35990458a408 | 9150504c73123f12921634d22af82e2064c648a7 |
refs/heads/master | <repo_name>Pratzn/heroku-cv<file_sep>/public/js/custom.js
/*=========================================
Template Name: New - Personal Portfolio Template
Author: assiathemes
Version: 1.0
=========================================*/
$(document).on('ready', function () {
"use strict"; // Start of use strict
/*---------... | fbc90a9a085aeb4602550d2b7b2aa9e3e1186f83 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Pratzn/heroku-cv | 841b7b99ea8d783a202397babfba60e791850f08 | bde125ff46e7f634aae098e1988416659088f1fa |
refs/heads/master | <repo_name>romabug/angularResful<file_sep>/学习笔记.js
CLI常用命令
ng new project-name - 创建一个新项目,置为默认设置
ng new project_name --routing (pls routing files)
ng build - 构建/编译应用
ng test - 运行单元测试
ng e2e - 运行端到端(end-to-end)测试
ng serve - 启动一个小型web服务器,用于托管应用
ng deploy - 即开即用,部署到Github Pages或者Firebase
// test it
// try jenkins
... | a11d5b845f0f0078a09dd294c23198fc9f49a903 | [
"JavaScript"
] | 1 | JavaScript | romabug/angularResful | 8780d7b5cd6588a68eb309f15f9577f20acc46d7 | 0d39c2b6b7cda79752bf8dc59410d333bc79d9ff |
refs/heads/main | <file_sep>import random
import numpy as np
import collections
class MonteCarlo:
def __init__(self, root_node, root_player):
self.root_node = root_node
self.root_player = root_player
self.child_finder = None
self.node_evaluator = lambda child, montecarlo: None
self.isInside ... | 8c6cc616753df53fa34c715d2faa49407ad1534d | [
"Markdown",
"Python"
] | 8 | Python | licaiwang/Exp-monte-carlo-tree-search-reversi | 13219d641319e6e22526b47ff6bf499f8a4e6617 | 9714d638b0f38ef5f4e8fa6bffb725ae29293a06 |
refs/heads/master | <repo_name>Loganathasanjeev/ustproject<file_sep>/remainder.sql
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Oct 24, 2019 at 06:09 AM
-- Server version: 5.7.23
-- PHP Version: 7.2.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
STAR... | 7238dc14fd13489f93013a58c04812e8bd757172 | [
"SQL",
"Python"
] | 2 | SQL | Loganathasanjeev/ustproject | 9e62a914da1044197cba16a2677c259fb0c6e8af | f8353b6afe0a428f435dbe689e9622b45bc0d41d |
refs/heads/master | <file_sep>livegraffiti
============
A program that uses a video feed to show live progress of your light graffiti
<file_sep>#include "testApp.h"
//--------------------------------------------------------------
void testApp::setup() {
ofBackground(0,0,0);
videoPlayer.loadMovie("smalll.mov");
videoPlayer.s... | 1791f5552e390749070ce22599bd2759b07785d6 | [
"Markdown",
"C++"
] | 3 | Markdown | markkorput/OF-lowresser | 722f6caf807da7498b7e7af5e94fb01b903a71f6 | ce6089caf8c6307635abc1d1cdc7d5775bace6bd |
refs/heads/master | <repo_name>AminSamir83/boolean<file_sep>/index.php
<?php
/**
* Created by PhpStorm.
* User: HP
* Date: 08/11/2018
* Time: 11:53
*/
$a="0";
$b="TRUE";
$c=FALSE;
$d=($a OR $b);
$e=($a AND $c);
$f=($a XOR $b);
echo "FALSE TRUE FALSE TRUE FALSE TRUE"
?> | 9888363992cf664ac108c9aecd33cae781a1d1c7 | [
"PHP"
] | 1 | PHP | AminSamir83/boolean | b06c7e13c0a98983d0e5a0cccf02a1c9ba7ceadd | 374456c155636b0a7b9fcb9ce45fd1b36b714cb6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.