branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <repo_name>elemanhillary/scadaBackend<file_sep>/middlewares/checkToken.js
import jwt from 'jsonwebtoken';
import dotenv from 'dotenv';
import db from '../models';
dotenv.config();
const { tokens } = db;
export const checkToken = (req, res, next) => {
const token = req.headers.authorization.startsWith('Bearer') ? re... | a672b0374db0c15bb4fdae2332d4f3a2d0f16c4f | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | elemanhillary/scadaBackend | 700184535cbfea9f79e808c89d68c16dbb47e574 | bc9a755faaf38ba88fff8764ca4f1bd7533b7ca1 |
refs/heads/master | <file_sep># Jacoco + Spring boot + Maven
## 用法
在项目目录下,执行如下命令
```bash
$ ./mvnw clean verify
```
在浏览器打开 `target/site/jacoco/index.html`,即可见到

点击 package `afar.jacoco.demo`,跳转到 package 内,查看其测试覆盖率情况

点击 class `User`,跳转到 class 内,查看其测试覆盖率情况
 {
// put your setup code here, to run once:
Serial.begin(96... | 579143a19ff040847a6fad5e286adf492aaaaca6 | [
"C++"
] | 1 | C++ | ranieri72/drone | be70566de7d61d35194624dcc8ddfda52fbf6912 | 975971feecab07874e37c1f967d70fb291dad8b7 |
refs/heads/master | <repo_name>burgechris/RobberGame<file_sep>/dog.cs
using System;
using System.Collections.Generic;
namespace GamePlay
{
class Game
{
public string Name { get; set; }
public List<string> DefenseItems { get; set; }
public string DogName { get; set; }
// public str... | ca0561051171a6c6783725e5c95a988cb25e2a23 | [
"C#"
] | 2 | C# | burgechris/RobberGame | 7c35013a081c344f98063073b7f429830a3c4f0b | 74f92fab1cd30440ccf0002f39228a9d0de6a0e5 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Thu Apr 18 09:39:03 2019
@author: Callum
"""
#Neural Network to predict premier leauge matches
from random import randint
# Importing the libraries
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from keras.preprocessing.text i... | 8fb8aeec9bb19e8b4f816efa97ed3bf37048eb33 | [
"Markdown",
"Python"
] | 2 | Python | CallumAlexander/Premier-League-Match-Prediction | 1042ce3f8bd851a7466a4997889ad1ccb036cd68 | 0c92578b1e3a4bc355b784bdaebd0620f2beec1a |
refs/heads/master | <file_sep># Lecture Comics
Final proyect web - api with node, express and mongo, 3 collections, can authenticate users via JWT, create categories, comies by categories and effectuate CRUD operations
<NAME> - Group 2
<br>
<h2>Dependencies</h2>
<ul>
<li>Bcrypt</li>
<li>dotenv</li>
<li>express</li>
<li>ex... | dad099e4a85c969747a213df8fc1878dbdd8a21b | [
"Markdown",
"JavaScript"
] | 5 | Markdown | diego-fly/Api-Node | 6fa576df1406b85381258b16d423372d79fa6faf | 61d582b38f85b8f7aca1c224006f81f4ebc5a12a |
refs/heads/master | <repo_name>Mellcap/dj_rest<file_sep>/views/views.py
# -*- coding: utf-8 -*-
from django.http import HttpResponse
# Create your views here.
def homepage(request):
return HttpResponse('Hello, World!')
<file_sep>/core/exceptions.py
# -*- coding: utf-8 -*-
class APIExceptions(Exception):
'''自定义异常类'''
def __... | 8827e56daef13452d572f3865678d707ecfde469 | [
"Markdown",
"Python"
] | 9 | Python | Mellcap/dj_rest | b719964fc8ab35c2342be9f5828b62a8c2297972 | 6bf6c76946abd70a3699150d1708af2161c3e6e0 |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class BasicGUI : MonoBehaviour {
void OnGUI ()
{
GUI.contentColor = Color.red;
GUILayout.Label(gameObject.name);
}
}
<file_sep>using UnityEngine;
using System.Collections;
public class ReferenceToBasicGUI : MonoBehaviour {
... | 5a1a7b3d51943ce650a86815a55a1125870b4d27 | [
"C#"
] | 2 | C# | AndreDragu/GitHub_Scripts | 48ce4daf14ff034465d1cb964df36a4c1254c988 | c4c1931206de6195e524902a87c9b9904d9afe3f |
refs/heads/master | <file_sep>import {Link} from "./Link";
import {Node} from "./Node";
export class Simulation {
id : string;
nodes : Node[];
links : Link[];
constructor() {
this.nodes = [];
this.links = [];
}
}
<file_sep>import {Component, Injectable, OnInit} from '@angular/core';
import {Node} from "../model/Node";
... | 786dafe22c35a81882fa7ce7d1ac0e0c036d6648 | [
"Java",
"TypeScript"
] | 15 | TypeScript | jakubmodzelewski/simulator | 40281903be14148f007f1e8c728b90f4c0dee88a | c722c6959826db5c6d3b9bab5269e2ba0226d899 |
refs/heads/master | <repo_name>MichaelBel1/rails-yelp-mvp<file_sep>/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{... | a4e04fec17e20bc05d8b21738ba528bcd68caed3 | [
"Ruby"
] | 1 | Ruby | MichaelBel1/rails-yelp-mvp | 4f241e3afab37cce602c1456ba30b6de2d03bb77 | 97fb76f0dcd4791cae6b43217a3452dff9fbf577 |
refs/heads/master | <file_sep><?php
$access_token = '<KEY>';
// Get POST body content
$content = file_get_contents('php://input');
// Parse JSON
$events = json_decode($content, true);
// Validate parsed JSON data
if (!is_null($events['events'])) {
// Loop through each event
foreach ($events['events'] as $event) {
// Reply ... | 01a1fea81862df293f49f6bd4c19331630fc0559 | [
"PHP"
] | 2 | PHP | NumberNine9s/LABTESS | 2b707b78aebdbae99ccfcfe21fcdb32af6be2d0c | 0123aa40cc6736dfc78fdb2383c37bd31d77cb78 |
refs/heads/master | <file_sep>## Kaggle: Titanic
Getting started on Kaggle with the Titanic dataset
<file_sep>"""
simple_classifier.py
* date: 2016-05-22
* author: harizo
A simple classifier for the Titanic dataset, to test Kaggle submissions
"""
import numpy as np
import pandas as pd
import scipy.stats as stats
from sklearn.pipelin... | a71be06ac721b826ccccfdb8d9dd399bce4bd90c | [
"Markdown",
"Python"
] | 2 | Markdown | hrjn/kaggle-titanic | 529a2d0faf6fe726da866e776f8bc0b9c56c73c1 | 0c1b3f1cabc6c784c4cf0a6216ca9a439b1c05cd |
refs/heads/master | <repo_name>btford/readme-good<file_sep>/README.md
# readme good [](https://travis-ci.org/btford/readme-good)
naive judge of the quality of a markdown readme for an open source project
## Install
```shell
npm install readme-good
```
## Usage
... | a99a65f33249ddd5b6d7c92e12c925dadea94672 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | btford/readme-good | d9905a19237253fdbcef6ab145c196fb0feb17ef | bbb3b877e3628702775f4b3033bb5a8bd421b909 |
refs/heads/master | <repo_name>Athena-iOS/WebImage<file_sep>/WebImage/Classes/WebImage.swift
//
// WebImage.swift
// Kingfisher
//
// Created by 王小涛 on 2018/4/12.
//
import Foundation
import Kingfisher
import KingfisherWebP
public func enableWebp() {
KingfisherManager.shared.defaultOptions = [.processor(WebPProcessor.default), .c... | 4ef406f739064dac39535dc56f74524c9e404a30 | [
"Swift",
"Ruby"
] | 3 | Swift | Athena-iOS/WebImage | 9c86c670afd4636c3fbeac3c6d4f312bbffad7f3 | fc2684860103ad57c9f99a30bf7a9c860fe96821 |
refs/heads/master | <file_sep>import React from 'react'
export default function Hand1() {
return (
<div className="hand1">
<div className="hand-col1"></div>
<div className="hand-col2"></div>
</div>
)
}
<file_sep>import React from 'react'
export default function leg1() {
return (
... | b7b94abab6c86c5504d24658dd8d5433e3bd9dd4 | [
"JavaScript"
] | 15 | JavaScript | kenzizi/Gumble | 32d30aba59491b894d2c4d924c187a7d861c7dc3 | 94b3aed18e257be192c6873c0f71aa3794704cd8 |
refs/heads/master | <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.Threading.Tasks;
using System.Windows.Forms;
namespace Levelset
{
public partial class Form1 : Form
{
public Form1()
... | c10fc2079fa3d22413f5105247a258d1b544c232 | [
"C#"
] | 1 | C# | YouDiyu/Levelset-Mumford-Shah | 17b4b756a64462f062007b9d3f7e88db8d9c19e3 | 7a1cf458aab3e8777e9f64d0c80781fed4064826 |
refs/heads/master | <file_sep># Kinect_handwritten_digits_recognition
Using Kinect and OpenCV I prepared a program that recognizes numbers written on the floor.
Inside the code, there are functions that use the Kinect depth image to recognize objects close to the floor.
Click on image to see how it works on youtube
[:
dataframe = dataframe.copy()
if column... | 704514f2a67543156140743acd3aeaf7c7e77bfd | [
"Markdown",
"Python"
] | 6 | Python | kirtov/ctipy | ace9f19dcaa9456e27d7528ecbf2d446b36c7fcd | 6e40ea655caa33c029c329811774af02481c9435 |
refs/heads/master | <repo_name>TonyYanOnFire/PptxGenJS<file_sep>/demos/modules/demos.mjs
/**
* NAME: demos.mjs
* AUTH: <NAME> (https://github.com/gitbrent/)
* DESC: Common test/demo slides for all library features
* DEPS: Used by various demos (./demos/browser, ./demos/node, etc.)
* VER.: 3.6.0
* BLD.: 20210403
*/
import { COMPRES... | d7695f09a4328b11b8896b6fe9aba0346d5f640d | [
"JavaScript"
] | 1 | JavaScript | TonyYanOnFire/PptxGenJS | b97d28a7aef413389d02f0dcb3f6d727dc1980e5 | e3f0fc726154cc9195205cceba9a5f5344404976 |
refs/heads/master | <repo_name>cybermyv/web-client-example<file_sep>/services/services.js
//--сервисы
import 'angular-resource';
let services = angular.module('services', ['ngResource'])
.service('AromaService',
function($resource) {
return $resource('/api/v01/aroma/:id', { id: '@id' }, {
update: ... | 57eb6757cbbcdef1b18d7840ff5e0904329e709f | [
"JavaScript"
] | 4 | JavaScript | cybermyv/web-client-example | f5e81ff87c9622b7ce066297cecf4d2aaba697c3 | 6856e74186773db305d5c75d1fa5c28e967dda85 |
refs/heads/master | <file_sep><?php
namespace Narration\Console;
use function call_user_func;
use Symfony\Component\Console\Command\Command as BaseCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class InvokableCommand extends BaseCommand
{
/**
* @var \callable
... | a672f52b62346b63755360046564b212392624f4 | [
"PHP"
] | 4 | PHP | narration/console | 75863d2a941e99865ac16f566154628141d181ff | 030f1c700be4952a12d3914fcc9fa7de0a091f29 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import { Doughnut, Pie, Bar } from 'react-chartjs-2';
export class UnassignedPeripheralChart extends Component {
constructor(props) {
super(props);
this.state = {
chartData: {
labels: ["Keyboard", "Mac charger", "Mouse"... | d7d636916fddff97d1178383b956413f6e798bf8 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | gelgorriaga/SAM | ef33118c62b62810e11ed0e20f921c4d735aac7c | 0d5dd6911d86b08c7d1f16f2300aac3d95e725eb |
refs/heads/master | <repo_name>modulexcite/FluentSharp.VisualStudio<file_sep>/FluentSharp.VisualStudio_2010/ExtensionMethods/VisualStudio_2010_ExtensionMethods_Document.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
u... | 1a961b646059f672c6b0ebffaa830c6b5ca6a17f | [
"Markdown",
"C#"
] | 10 | C# | modulexcite/FluentSharp.VisualStudio | ac630c6585620f8fed801d5c64a1e7a9ce21584e | a5eb9b4de1616c6d1ace534d8132fd84c4114144 |
refs/heads/main | <file_sep>
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 4 06:57:28 2020
@author: Soodabeh
"""
from sklearn.datasets import fetch_20newsgroups
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.feature_extraction.text import TfidfTransformer, TfidfVectorizer
from sklearn.pipeline impo... | bc9340bf3cc38b5b4c668faddcf0425c3508af88 | [
"Markdown",
"Python"
] | 3 | Python | sdb-tbs/Scikit_20newsgroups-Text-classification | 9c7d264a0a5bad3c6e681a7bd8203fab208beb4e | be86a12edb83f9d20f3e7fd8cac8d1a3ec62e9ce |
refs/heads/master | <repo_name>kipyegonline/sondiko<file_sep>/src/pages/404.js
import React from "react";
import Link from "next/link";
import Layout from "../components/Layout.tsx";
export default function ErrorMSg() {
return (
<Layout>
<div style={{ padding: "2rem", margin: "1rem auto " }}>
<p style={{ textAlign: "c... | b6d8508322196ac2db6ae13a4f043d53558f1c66 | [
"JavaScript",
"Markdown",
"PHP"
] | 6 | JavaScript | kipyegonline/sondiko | b79673d14d25a409bf903fbde6521393c50539ca | d73da817b31dee9fe07d539b0d0d04cc672ec8fc |
refs/heads/master | <repo_name>sangeetavishwanath/Seismi<file_sep>/README.md
# Seismi
Seismi is an iOS application written using Objective-C that can be used to view publicly available earthquake data using [SeismiKit](https://github.com/sangeetavishwanath/SeismiKit).
## Installation using Cocopods
[CocoaPods](http://cocoapods.org) is a ... | afef9012521f13c9b6b229b5ef5712e04a4ea320 | [
"Markdown",
"Ruby"
] | 2 | Markdown | sangeetavishwanath/Seismi | 2e6f3582ab695547ce929d9a78c0d0e80f4bdcb9 | 92c6260f42e1df120dfde36739c10c28644699b0 |
refs/heads/master | <repo_name>DonkeyHot/mail-helper<file_sep>/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>LAPSA Mail utility</nam... | 7db8268c26f5ef962ab6a9349cdb4cafb4c2367e | [
"Java",
"Maven POM"
] | 12 | Maven POM | DonkeyHot/mail-helper | 7167069b85504242388d6f974f1e01c7b9ce9d11 | 182c0f060bd0625b8aca3be754add6fc3c9d27ff |
refs/heads/main | <repo_name>SamAsh11414/Coding-Suggestion-Bot<file_sep>/Main.py
import discord, json, asyncio, pymongo, random
from pymongo import MongoClient
from datetime import datetime
with open('config.json') as f:
data = json.load(f)
Token = data['DiscordToken']
MongodbCredentials = data['MongodbCredentials']
client... | 07c124317aec3cbc6e934f53a3897b8c726c4159 | [
"Markdown",
"Python"
] | 2 | Python | SamAsh11414/Coding-Suggestion-Bot | 7a59dfd9b9454e66d30df953c1ad573e9925f20b | 6cb998b8206827d58b03004963a7101ad338c041 |
refs/heads/master | <repo_name>etoup/etoupcom<file_sep>/routes/web.php
<?php
Route::get('/', function () {
return view('html.welcome');
})->name('home');
Route::get('/about', function () {
return view('html.about');
})->name('about');
Route::get('/contact', function () {
return view('html.contact');
})->name('contact'); | ede950734954a07d25ae63e9c97afff0e2d54b6c | [
"PHP"
] | 1 | PHP | etoup/etoupcom | c20e9229dc656fa58dd64c805e4825783c351436 | 2f676d2ad05e203384229a6d9987e9c04f0b31b7 |
refs/heads/master | <repo_name>vladimirgor/phpII.8<file_sep>/theme/view.php
<p><b><?=$title?></b></p>
<p><?=$content?></p>
<a href="/index.php?c=article&a=Show_all">Back</a> | f6cb8c92afc4853b072ba6f318da6536e409773b | [
"PHP"
] | 1 | PHP | vladimirgor/phpII.8 | 4e0d4038e2c80754e334365db56f9c7189a7da74 | 0b61a41f0a41e72318cda7b61ed422e44d2b3f99 |
refs/heads/master | <repo_name>michelle-zheng/stock-analyzer<file_sep>/mvp.py
import numpy as np
import statistics
def analysis(stock_1, stock_2, monthly_returns):
# List of weights of stocks
weights_stock_1 = np.array(list(range(0, 41)))/40.0
weights_stock_2 = 1 - weights_stock_1
weights = np.array([weights_stock_1,weig... | 3033f61d300aa62924c99f9dc5b4d6c673adb3dc | [
"Markdown",
"Python",
"Text"
] | 7 | Python | michelle-zheng/stock-analyzer | 268045d0324420390900a464a7101a6657e8cbbd | fa80324fc5175cd76c2ef0136466fd90e32af53c |
refs/heads/master | <repo_name>Guitjerry/schoolApp<file_sep>/src/com/sushe/dao/hostelMapper.java
package com.sushe.dao;
import com.sushe.entity.Hostel;
import com.sushe.entity.Hostel;
import com.sushe.entity.HostelBuild;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;
import java.... | a65d7381d111b2dd9021d07d2beb9b615f563953 | [
"JavaScript",
"Java",
"Markdown",
"INI"
] | 23 | Java | Guitjerry/schoolApp | 8eebaf315edee76fb49bd38fd5455d305187814b | 3f7ffe8fde9af08e8259631db6707832bf78e377 |
refs/heads/master | <repo_name>Grub-Reactor/simon-menu<file_sep>/client/components/app.js
import React, {Component} from 'react';
import MenuModal from './modal.js';
import Category from './category.js';
var image = ['https://s3-us-west-1.amazonaws.com/grubreactor/abstract-barbecue-barbeque-bbq-161519.jpeg',
'https://s3-us-west-1.ama... | 6416bd0fb46629ad827c5771c0d13c60ed0adc2e | [
"JavaScript"
] | 4 | JavaScript | Grub-Reactor/simon-menu | 51898eec743c3c59289a29d67c836664bd22bbb4 | 76c6f42238ddd007ad61d31b610b2d70beb95c51 |
refs/heads/master | <repo_name>anthonymonori/python-minigames<file_sep>/pong.py
'''
The MIT License (MIT)
Copyright (c) 2016 <NAME>.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including with... | 25f5d088050ccdb4ac695ffc7b49e3837cdeda55 | [
"Markdown",
"Python",
"Text"
] | 8 | Python | anthonymonori/python-minigames | f3300632a910c8b40c3c64eec9e7dc842f29e515 | 88a896c89ba6c53f99e4117f45fcb8d3fb9cc542 |
refs/heads/master | <repo_name>nburwell/mobile-control<file_sep>/assets/javascripts/controller.js
var socket_wrapper;
var motion = {};
var lastLogged = new Date();
function run()
{
socket_wrapper = new SocketWrapper( { host : location.hostname, port : 8080 } );
socket_wrapper.connect();
socket_wrapper.bind('socket:message', funct... | ced6d561f84fe99f99f765adeb3431b12628400b | [
"JavaScript",
"Ruby",
"Markdown"
] | 5 | JavaScript | nburwell/mobile-control | fb6274265caa197e68eeb20a82a2cff106a23510 | 32c1a741dfe79476d278da1de5c7f5231d2c3c14 |
refs/heads/master | <file_sep>// absolute beginning, before page has loaded
$(window).on('load', function() {
});
// when page loaded
$(window).load(function(){
});
//when resizing
$(window).resize(function(){
});<file_sep>CREATE DATABASE `mysqldb` ;
CREATE USER 'dbuser'@'localhost' IDENTIFIED BY '<PASSWORD>';
GRANT SELECT, INSERT, UPDATE... | 302bb049d7823cb2aecfdab4c6e81ebead459220 | [
"JavaScript",
"SQL",
"PHP"
] | 3 | JavaScript | wimsijbers/full_custom_web_init | 6c469dd4650956bda9b5787abd9bcf41c8142d7e | 975adc58765cb037bfe7cd91f867e8bdc1c40018 |
refs/heads/master | <repo_name>d-yuri/shinu_bot<file_sep>/telegram-bot-call-back.php
<?php
$data = json_decode(file_get_contents('php://input'), true);
$token = '<KEY>';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http:///telegram-shinu/telega.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,http_build... | 2e98997130dce6fb61ff1ddbb5363b1de17d4837 | [
"PHP"
] | 1 | PHP | d-yuri/shinu_bot | 3d7c85445b79ada2d8dfd73db3826f7be9a432e2 | e763173cb783f22fd320d67c109efd5a3bfb6f03 |
refs/heads/main | <file_sep>import { createStore } from 'redux';
import states from '../reducers/states';
export default store = createStore(states);<file_sep>import React, { Component } from 'react';
// import { Dimensions, View, SafeAreaView, TouchableOpacity, Text, Alert, StatusBar } from 'react-native';
import { createAppContainer... | 1d56e3fa979a70a60b66d62a5dba29f1c442b2ca | [
"JavaScript"
] | 3 | JavaScript | anilkumar2273702/technostack | 8c341a1a289dea0d0c37650076de175ec0daa63a | f9b7ef3501955098aaa07166714bec4ba3224f75 |
refs/heads/master | <file_sep>var bunyan = require('bunyan'),
config = require('npcp');
var base_url = config.baseurl + '/teachers';
exports.bind_routes = function (server) {
server.get(base_url, exports.index);
server.post(base_url, exports.create);
server.get(base_url + '/:id', exports.read);
server.put(base_url + '/:id', ex... | 43bdb9e2830fd2abf7681285bd6bb2ad6a210ea4 | [
"JavaScript"
] | 2 | JavaScript | cheke-git/gradex-api | 308c3f4063af662c9264f9f44ee9283bbbca6b96 | 090e8f71529278f9b53d6a85c659737251ce092a |
refs/heads/master | <file_sep>///<reference path="../../../node_modules/rxjs/operators/catchError.d.ts"/>
import {Component, OnInit} from '@angular/core';
import {HttpClient, HttpClientModule} from "@angular/common/http";
import {Observable} from "rxjs/Observable";
import {catchError, retry} from "rxjs/operators";
import {Http} from "@ang... | 3fe650940cf7364595cb0a51473fc30544cdb865 | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | AmirMenjli/front-connected-people | 2b1e0a1ea2f83871486260a378c16c5aa74365dd | b950be9c859f93bafb8285cc802c56267f595fa7 |
refs/heads/master | <file_sep>Package.describe({
"summary": "Build mobile apps with simple HTML‚ CSS‚ and JS components."
});
Package.on_use(function (api) {
api.add_files("lib/fonts/ratchicons.eot", "client");
api.add_files("lib/fonts/ratchicons.svg", "client");
api.add_files("lib/fonts/ratchicons.ttf", "client");
api.add_fil... | fc245edbd0506016b11c27f3eb74590ce22aebfa | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lacom/meteor-ratchet2 | 6743f4fd5398bbc29b1b2c4a881c6c19b49d39bd | 305b1b442cbcc863812f225cc7f55fe0ea490abc |
refs/heads/master | <repo_name>caoruyi/lagent<file_sep>/Makefile
###########################################################################
# Copyright (c) 2007 National Research Center for Intelligent Computing
# Systems. ALL RIGHTS RESERVED. See "COPYRIGHT" for detail
#
# Release Under GPL v2
#
# Author: <NAME> <<EMAIL>>
##############... | 55dcc16f0466eedccf2dcea6923322b5113edfec | [
"C",
"Makefile"
] | 14 | Makefile | caoruyi/lagent | 7d5b2305f8148112fa854e47018284b7c628a851 | a5a8175945a2cd028194c5760c3c70e3f3992c31 |
refs/heads/master | <repo_name>galileo-ebel/Powershell<file_sep>/querying.sql
$SqlConnection = New-Object System.Data.SqlClient.SqlConnection
$SqlConnection.ConnectionString = "SERVER=[SERVER];Integrated Security=true;DATABASE=master"
$SqlCmd = New-Object System.Data.SqlClient.SqlCommand
$SqlCmd.CommandText = "SELECT name FROM sys.datab... | 4a4d0539812799de845144ebd106c166c10f2ec2 | [
"Markdown",
"SQL",
"C#"
] | 6 | SQL | galileo-ebel/Powershell | f7a3693c2cea1716133ff6000a1b519b649a6ea5 | 35dbec638f6de4d23c89c61efb0df82794ec1e64 |
refs/heads/master | <repo_name>imakashsahu/Complaint-Corner-Web-App<file_sep>/users/complaint-history.php
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['login'])==0)
{
header('location:index.php');
}
else{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Conten... | 960c9bcded1c2c2fb9ca2fe2a9544d53aeb5697c | [
"Markdown",
"SQL",
"PHP"
] | 12 | PHP | imakashsahu/Complaint-Corner-Web-App | 21bec770732be995b654e59ca84f7d360d9b52b6 | 64e1364b694ee29a8a2a1fd40620f33cccab38a6 |
refs/heads/master | <file_sep><br>
<div style="width:97%; margin-top:2%; margin-left: 20px; position:relative; background-color:#0a2c54">
<span class="kotak">
<b>RSA</b>
<i>TOUR</i>
</span>
<div class="text-rotator">
<label style="margin:0">Welcome Home, Rachmatoellah Semesta Alam Tour & Travel</label>
</div>
... | 5461cb2df465672dc99e12cde120a2d8758c8c30 | [
"Markdown",
"SQL",
"PHP"
] | 17 | PHP | awaleilmo/Rachmatoellah-Semesta-Alam-Tour-dan-Travel | aa4bbc2b0506661045449d67f2ebb3162bdb63b6 | e5186c94ecf64f784ace889c241ef041bdeab18c |
refs/heads/master | <repo_name>darshanbhatta/fun-one<file_sep>/src/server/config.js
module.exports= {
privateKey: process.env.PRIVATE_KEY || 'sslcert/privkey.pem',
certificate: process.env.CERTIFICATE || 'sslcert/fullchain.pem',
httpsPort: process.env.HTTPS_PORT || 8080,
httpPort: process.env.HTTP_PORT || 8080,
}<file_sep>... | 1dc66e2d50927aee22c4a55e463b888942b140d1 | [
"JavaScript",
"YAML",
"Markdown"
] | 19 | JavaScript | darshanbhatta/fun-one | 83d86dc019edc1cafa9a1c7899c0a54795574022 | a6fbb31f6a2d7f4df8bb2d274f925d1c025ad991 |
refs/heads/master | <repo_name>pksumesh/sbc-common-components<file_sep>/python/requirements.txt
Flask-OpenTracing==1.0.0
opentracing==2.0.0
# We want something like: jaeger-client>=3.8,<4
# But Scope Manager support not officially released in Jaeger at the time of writing.
# This is using branch 'feature/opentracing-2.0-support' in @yuri... | a00d4a8c5f284828e052f2310900b5ad36ecdf6e | [
"Markdown",
"Python",
"Text"
] | 4 | Text | pksumesh/sbc-common-components | 32a98c02885637335c4511a70f84c2b02d871fbe | bfcde7f8eedfc55425a062fda6511a3bd1090e62 |
refs/heads/master | <repo_name>khadhranisinda/r-servation-d-hotel<file_sep>/src/Controller/HomeController.php
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class HomeController extends Abstr... | c17494a434f9756c2f5c8cf9734fcd8f23dff9e5 | [
"PHP"
] | 1 | PHP | khadhranisinda/r-servation-d-hotel | 641740a1276892913311cffed6a435c10de39c83 | 508114f61478baefa19ab94467490a3382d22730 |
refs/heads/master | <file_sep>
k-Nearest Neighbors.
To use this code start with kNN_script.m
The code can be used for classification or regression.
To contact me: <EMAIL>
<file_sep>
Radial Basis Functions.
To use this code start with RBF_script.m.
The script explains in detail how this technique works.
The code can be used for clas... | 17f043a38a6cbcdc3abd5a1c7de37f38cebd1deb | [
"Markdown",
"Python"
] | 18 | Markdown | martin-merener/Machine-Learning | 82cffd657722728420f8c6b0367e6c41befe07f1 | ca1726330e66ffc7d0940bb59d166ddcbe22d6f8 |
refs/heads/main | <repo_name>PatrickRatzow/NCsvPerf<file_sep>/NCsvPerf.Test/CsvReadable/Benchmarks/PackageAssetsSuiteTest.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Attributes;
using Newtonsoft.Json;
using Xunit;
using Xunit.Abstractions;
namespace Knapcode.NCsvPerf.CsvReadable.TestCa... | d00bb9b17cb8d1970df2cfc8c6fc777dfeb291c5 | [
"C#"
] | 12 | C# | PatrickRatzow/NCsvPerf | 39dd97605fce38c9729e0e7fa8719d34b758b8b4 | b6f2c0898a06bb18df4c9d8de8761326e4e17371 |
refs/heads/master | <file_sep>import { Router } from "express";
import * as homeController from "./controllers/home";
import * as contactController from "./controllers/contact";
const router = Router();
router.get("/", homeController.index);
router.get("/contact", contactController.getContact);
router.post("/contact", contactController.... | 94d6d5f4fe6fac1830a01a42da1c56b609a63504 | [
"Markdown",
"TypeScript",
"Shell"
] | 7 | TypeScript | roggeo/product-page | a5f859e5d23e1ac08a274c75bc89149e25e6dafd | 181ab2556b2661d1bfa0fb8b0bfdbf30ef4580da |
refs/heads/master | <file_sep>const express = require('express');
const db = require("./data/dbConfig.js");
const server = express();
server.use(express.json());
server.get('/', (req, res) => {
res.status(200).json({message: 'Welcome'})
})
server.post('/api/accounts', (req, res) => {
db('accounts')
.insert(req.body)
.t... | 49b0806a935f358ccd46945c1ebf3b08e69f3cb3 | [
"JavaScript"
] | 1 | JavaScript | hudson-m-c/node-db1-project | 821eb5bad2f2880ba9f380c6503b4c6bfc42f0ae | 2d43801e883b3086c2a1c3dc61a30bde3e555eef |
refs/heads/master | <repo_name>ericwidjaja/Pursuit-Core-iOS-CustomCells-Lab<file_sep>/Project/ProgrammaticUserCells/ProgrammaticUserCells/Controllers/ViewController.swift
import UIKit
class ViewController: UIViewController {
var users = [User]() {
didSet{
userTableView.reloadData()
}
}
la... | da642ca468a0ea2ca0fa31bbc3b5966b9822c6cf | [
"Swift"
] | 1 | Swift | ericwidjaja/Pursuit-Core-iOS-CustomCells-Lab | d51cec713ad55062f51d99444b34d2c364a1b147 | c9a16dd393892e96f97e6ad5af815f21d275b53b |
refs/heads/master | <repo_name>ihassanein/GPA435LAB2<file_sep>/Option_Script.sh
#!/bin/bash
#
# Un script qui roule les options pour la programme
#
mode_ligne() {
}
while getopts :qlcf:o: OPTION
do
case $OPTION in
q) OptionQ=1
;;
l) OptionL=1
;;
c) OptionC=1
;;
f) OptionF=1
fichier_entree=$OPTARG
# if [ fichier... | 82e5362879d112cd66b485a213a894392bcfc86b | [
"Markdown",
"Shell"
] | 3 | Shell | ihassanein/GPA435LAB2 | 5dfaf74a2026d5b1dd623240720c6b5686414d72 | 881083ec784fe9320c2bc088cbf0b255ae1ec85f |
refs/heads/master | <file_sep>
package Adicionales;
import javax.swing.JInternalFrame;
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
public class InternalFrameImagen extends JInternalFrame
{
private panelImagen pi = new panelImagen();
public InternalFr... | 15d9e6f3a8a4a87d731fed46939ba2508fed430f | [
"Java"
] | 1 | Java | jorgerodriguezc/proyecto_programacion | 062988f1fa01445361e470faf0e683d2e0c5048f | af5155c49d5c9d3812b91b950400ff97e940256f |
refs/heads/master | <repo_name>PyHSI/orange-spectroscopy<file_sep>/orangecontrib/spectroscopy/widgets/owfft.py
import sys
import numpy as np
from AnyQt.QtWidgets import QGridLayout, QApplication
import Orange.data
from Orange.data import ContinuousVariable, Domain
from Orange.widgets.widget import OWWidget, Input, Output, Msg
from Orang... | ad10f77b28a29e5f27eb2eaf8ca232ec052401bf | [
"Python"
] | 5 | Python | PyHSI/orange-spectroscopy | 0a4d7771e00d4da257b5502b733a9f10a5eea469 | 6fe7bf0a8f2a2e0d79f0cceef13930a171faf93b |
refs/heads/master | <file_sep>document.addEventListener('DOMContentLoaded', () => {
let btnShow = document.querySelectorAll('.btn-show');
// Dropdown description slide
btnShow.forEach((item) => {
item.addEventListener('click', (e) => {
let target = e.target,
list = target.closest('.more-inf... | 0fa8e1d2ed2bd46324435c620d78166112dbd8ce | [
"JavaScript"
] | 2 | JavaScript | moongue/portfolio | cd513402f4af44828b558da1f3f208e20da32d29 | ce2940531a17c115194897c84bea905168eb8544 |
refs/heads/main | <file_sep># pong-mlccc
MLCCC Python Pong Game (pygame)
An exact replica of the pong game made in MLCCC 2021 pygame summer camp.
Took me a while.
<file_sep>import pygame
# 1 initial game
pygame.init()
screen = pygame.display.set_mode([800,600])
pygame.display.set_caption("Happy Face")
keep_going = True
pic = ... | 15ab1b84f4a148f3cf90ba70b459a7bbc0a7c12f | [
"Markdown",
"Python"
] | 2 | Markdown | nothingg124/pong-mlccc | 36944f0387e89ed015175d0ee6b7e58f3872b864 | 4a20df628fba6a9353c8d51800e2992de824a7ea |
refs/heads/master | <file_sep>export default class NewsModel {
title: string = ''
url: string = ''
author: string = ''
points: number = 0
commentsTotal: number = 0
createdAt: string = ''
}<file_sep>import AlgoliaSearchResultModel from './AlgoliaSearchResultModel';
export default class HistoryModel {
text: string = ''
resu... | 697a4bbf3c508bc886264e4d5cf9925c26054c35 | [
"TypeScript"
] | 5 | TypeScript | matheusgoc/hacker-news-search | 1bda4786610bdb422de4fb005c0f960547bcc44f | 4f0a0e02e70b73889b58064e90da040966df0ad0 |
refs/heads/master | <file_sep>package theCap;//Imports til JFRAME
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Ellipse2D;
import javax.swing.JFrame;
import javax.swing.JPanel;
@SuppressWarnings("serial")
public class Game2 extends JPanel {
//Methode paint(), der "maler" ting på canvas... | 688812fac2f46a48d53143a570b00def7511d5f6 | [
"Markdown",
"Java"
] | 4 | Java | theCaptain420/MiniTennisGame | 7c4b5b9bbd56c82647ea97ff63aed49ac7ecbbcc | 09e36410ef30ccd029431aa48afc86615ae64d85 |
refs/heads/master | <repo_name>valentin9202/hackatonPrestige<file_sep>/template/event.html
<!DOCTYPE HTML>
<!--
Forty by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Generic - Forty by HTML5 UP</title>
<meta charset="utf-8" />
<meta na... | ef31493857d1dbbf668563d07dd8e61418079326 | [
"JavaScript",
"HTML"
] | 2 | HTML | valentin9202/hackatonPrestige | 25f2cc327eb519ab6898fd564c51be387f20ac69 | 8730b339c3a80912d89485c4522c2772ed7d1945 |
refs/heads/master | <file_sep>package myorder.dto;
public class ProductDesc {
private int orderid;
public int getOrderid() {
return orderid;
}
public void setOrderid(int orderid) {
this.orderid = orderid;
}
private String id;
//private String type;
private String mileage;
//private String diagonal_length;
priv... | 0b2c2767ef754a6173ca2b8775d4a171e7d335ac | [
"Java"
] | 4 | Java | ayushchoukse1/CMPE-273 | 9f9d8cc8258552ebd75e0f619affb3ab9657546f | e1a4fa3f7b392ae819212e0fb1723c175e6d3100 |
refs/heads/master | <file_sep>import React from 'react';
import { PageHeader, Row, Col } from 'antd';
import styled from 'styled-components';
import { COLORS } from '../../config';
const Header = styled(PageHeader)`
background: ${COLORS.PRIMARY};
span {
color: ${COLORS.TEXT_LIGHT};
font-weight: 600;
font-size: 1.5rem;
... | 1b28629240c09a23383ec03fb5d5d97d17271e2e | [
"JavaScript"
] | 7 | JavaScript | usmantahirr/ReactBaseApp | 4eb232852f614985c79bbe6e736f8f6d2d19d36a | e4c088b2cc4e87a551d800cf4416f94ce319ba9e |
refs/heads/master | <file_sep>using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(TableauVIZ_ASPSingleSignIn.Startup))]
namespace TableauVIZ_ASPSingleSignIn
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
}
<file_se... | 4ecedad22a104b954f3212f2691464ea496d4622 | [
"Markdown",
"C#"
] | 2 | C# | jadidihosein68/TableauASPSingleSignInMVC5 | 97a929261a2e10926e32f74fc885cdc76fd8be7d | e9f1f66d5ae6c154abaa0274874e14a4ed35d218 |
refs/heads/master | <repo_name>codeforpdx/website<file_sep>/_sponsors/xray_fm.md
---
name: xrayFM
link: https://xray.fm/
logo: /assets/images/sponsors/xray.png
---
<file_sep>/_sponsors/pizza_jerk.md
---
name: <NAME>
link: https://www.pizzajerkpdx.com/
logo: /assets/images/sponsors/pizza_jerk.png
---
<file_sep>/_products/dwellingly.md
---
... | 1921f63e8fd388059266749c2517f24e87fc6794 | [
"Markdown",
"Ruby",
"Dockerfile"
] | 29 | Markdown | codeforpdx/website | 658ac57a9bd085ceccb3b3ecb549c281becdeec0 | 20128cea7773cd03ae2ca5371a4d7d3967e8674d |
refs/heads/master | <repo_name>bransonsmith/ChristmasLists<file_sep>/src/app/_services/item.service.ts
import { Injectable } from '@angular/core';
import { of, Observable } from 'rxjs';
import { Item } from '../_models/item';
import { ITEMS } from '../_mock-data/mock-items';
@Injectable({
providedIn: 'root'
})
export class ItemService ... | bed51827c5a94fba8a04ef2dd09bc868423994d8 | [
"TypeScript"
] | 6 | TypeScript | bransonsmith/ChristmasLists | 427ebb9b1d271f65f9498d990857177600c5ebac | fe83cd5f937a9c01530f7799c3c9229454ef14e2 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { FetchService } from '../fetch.service';
@Component({
selector: 'app-pricing',
templateUrl: './pricing.component.html',
styleUrls: ['./pricing.component.css']
})
export class PricingComponent implements OnInit {
result:any;
constructor(priva... | 6589787cd450c53bc9bb2d26c26bddce35c0371b | [
"TypeScript"
] | 5 | TypeScript | sunilbehera91/website | 5a5a9b80de2329d5342b54f3ddc685fb82e37f7d | 99903a4f5770cd202811065ded31df7f9ab746c8 |
refs/heads/master | <file_sep>#Fri Nov 20 13:38:40 PST 2015
org.eclipse.core.runtime=2
org.eclipse.platform=4.5.0.v20150603-2000
<file_sep>package org.teachingkidsprogramming.section04mastery;
import org.teachingextensions.windows.MessageBox;
public class Password
{
public static void main(String[] args)
{
// Specification - cre... | a39cb75e84365054de630c1e9201003a8a75d588 | [
"Java",
"INI"
] | 7 | INI | TheEfren/TKPSource | 66ab5d497b47db365c73a5ec7e55e7d1e9277eab | 3cb2b9367f91f626ef849ed1665085f1e11ef5e2 |
refs/heads/main | <file_sep>const burgerIcon = document.querySelector("#burger-icon");
const burgerMenu = document.querySelector(".burger-menu");
let isClicked = false;
burgerIcon.addEventListener("click", () => {
if (!isClicked) {
burgerMenu.classList.add("burger-menu-show");
isClicked = true;
} else {
burgerMenu.clas... | 1630f3e5a926e79f4d964f8c2631945cac480481 | [
"JavaScript"
] | 1 | JavaScript | romanjeanelie/frontendmentor_insure-landing-page | eeb03efe988e21cb65f927158944728835f4f87f | 50ff6044ca0db18b31b64913094115fe421c4620 |
refs/heads/master | <repo_name>ruffythepirate/scala-challenges<file_sep>/chapter 9/tabbedfile.js
hsa
<file_sep>/README.md
# Content
* Chapter 1 - The Basics (A1)
* Chapter 2 - Control Structures and Functions (A1)
* Chapter 3 - Arrays (A1)
* Chapter 4 - Maps and Tuples (A1)
* Chapter 5 - Classes (A1)
* Chapter 6 - Objects (A1)
* ... | 5484de4d5326956801f704124edbf87502e38e29 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ruffythepirate/scala-challenges | 582df667ee2be9c0030f820246bab121cb182dc7 | 5508375dd12a1ffa8f4af7a3a1d990e26429b7d7 |
refs/heads/master | <file_sep># YCN-s2member-to-ConvertKit
YCN s2member to ConvertKit plugin that will register users to a specific form list in your ConvertKit account based on the parameters set in the plugin file.
<file_sep><?php
/**
* Plugin Name: YCN s2member to ConvertKit (Form List ID:<FormId> Tag ID:<TagId>)
* Plugin URI: https... | 46c60863e69fcd03b9b4c615585aefb667e3031a | [
"Markdown",
"PHP"
] | 2 | Markdown | billreed72/YCN-s2member-to-ConvertKit | 055901d1649287584a3e7d87eb75d0dcc2ba2455 | 32019867ed57724c29631f60d90d8644e426a0da |
refs/heads/master | <repo_name>yuliuspratama/Ruckus_Middleware_API_To_Server<file_sep>/middleware.py
import json
import requests
from HTMLParser import HTMLParser
from requests import session
from bs4 import BeautifulSoup
import time
import sys
url = "https://HOST/cas/login"
urlsesson = "https://HOST/wsg/api/public/v8_0/session"
url2 =... | 5cf6cc3220e4aecdcc07a22a3e84b749471dffce | [
"Markdown",
"Python"
] | 2 | Python | yuliuspratama/Ruckus_Middleware_API_To_Server | d5e02e4f39a3183601817da51a0cb5910509eddc | 3bfa0554fcf1f7be9d5827dd4eb64351e761e22f |
refs/heads/master | <repo_name>jimmylin212/liborrow<file_sep>/mainsite/modules/parser.py
import re, urllib2, logging
from ..models import Books
class Parser:
def ntust_book_page_parser(self, record):
link = 'http://millennium.lib.ntust.edu.tw/record=%s*cht' % record
title_ptn = re.compile('\<td class\=\"bibInfoData\"\... | 116f61fe623b6c2e47488ef7c659da6aa716144f | [
"Python",
"HTML"
] | 6 | Python | jimmylin212/liborrow | dd20ed64ebdf7a87b18a6552769ff1735f954955 | 02b153272f4a6bea75b3b6488f905f0582468717 |
refs/heads/master | <file_sep>import React, { Component } from 'react'
import PropTypes from "prop-types"
import "./index.css"
export default class ControlButton extends Component {
static propTypes = {
onChange : PropTypes.func.isRequired
}
render() {
return (
<div className="control-button">
... | 65b994f6ad83a9137b98f7bc85c97e5446eed826 | [
"JavaScript",
"Python",
"TypeScript",
"Markdown"
] | 57 | JavaScript | HehongGit/learn-note | 7267f0c25bb8dd6c0bb3340a0eb16f8cec8bc270 | 89318a8841bf80178db74da6d47b6b45c0002d74 |
refs/heads/master | <repo_name>maxgerhardt/esp-open-rtos-ping-example<file_sep>/ping_helper.c
#include <string.h>
#include "lwip/opt.h"
#include "lwip/mem.h"
#include "lwip/raw.h"
#include "lwip/icmp.h"
#include "lwip/netif.h"
#include "lwip/sys.h"
#include "lwip/timeouts.h"
#include "lwip/inet_chksum.h"
#include "lwip/prot/ip4.h"
#includ... | 73d406a2bebaef93046979a60830496c1a5b0a83 | [
"Markdown",
"C",
"Makefile"
] | 6 | C | maxgerhardt/esp-open-rtos-ping-example | 425bbcdfcd21b489ab4b1c434f2dfab9a8feaeb0 | 27357c06bee338ab6a763b31cffb0bbc5e298a7f |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace EIS.Core.Domain
{
public class DM_DONVI
{
public virtual long ID {get;set;}
[Required(ErrorMessage = "Bạn chưa nhập tên !")]
[StringLen... | 726f37366975f91159c39a9e5c8176567933a1a1 | [
"JavaScript",
"C#"
] | 171 | C# | thachgiasoft/Code | f1e6439e2f287b420a9944c006cb1b1f8e3c2cc6 | 9eb0a6e278e2f20def5e4f6e437a728165593d05 |
refs/heads/master | <repo_name>Julian1503/Project-ConstructionManagement-WPF<file_sep>/GestionObraWPF/Views/ViewControls/Caja/CajaMenu.xaml.cs
using System.Windows.Controls;
namespace GestionObraWPF.Views.ViewControls.Caja
{
/// <summary>
/// Interaction logic for CajaMenu
/// </summary>
public partial class CajaMenu : U... | 70a693b569a96afa02207b4e2e56e73ccf794e0d | [
"Markdown",
"C#"
] | 191 | C# | Julian1503/Project-ConstructionManagement-WPF | 4228b305786a6aa55c0a694c481e360eb2641717 | 09221cfdadc49a4a8692f55c3198e0c32a0558e1 |
refs/heads/master | <repo_name>yuievon0ee/ASIA_3D_End_107051039<file_sep>/README.md
# ASIA_3D_End_107051039
ASIA_3D_End_107051039
<file_sep>/3D_End_107051039/Assets/NPC.cs
using UnityEngine;
[CreateAssetMenu(fileName ="NPC資料",menuName ="Yui/NPC資料")]
public class NPC : ScriptableObject
{
[Header("蝙蝠對話1"),TextArea(1,5)]
public s... | 38ee520e01e6ef71b51231fe42325b567fbbe123 | [
"Markdown",
"C#"
] | 3 | Markdown | yuievon0ee/ASIA_3D_End_107051039 | 93505c4a367987259b2a2fc36ea9229b6f692167 | 55a96b4616c6315d2bae2c338eadf86ce33c599b |
refs/heads/master | <repo_name>xmazu/logAggregator<file_sep>/src/main/java/com/getmada/config/LogsDataSource.java
package com.getmada.config;
import com.getmada.repository.InMemoryLogsRepository;
import com.getmada.repository.LogsRepository;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation... | 0d18ef22d2ab1ea8ae927300683a9d17ff4ce04d | [
"Java",
"INI",
"Gradle"
] | 7 | Java | xmazu/logAggregator | 83e76355e1b94741d0f75c2f485abda0f99f2e57 | 86d99f8a531a05f18a4a8d24546c30a359c4aeea |
refs/heads/master | <repo_name>isseikida/SpringSample<file_sep>/src/main/java/com/example/demo/login/domain/repository/jdbc/UserDaoJdbcImpl.java
package com.example.demo.login.domain.repository.jdbc;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.a... | 8bd4c459608aa3f6ee6ffc2a62d6fbae4849c804 | [
"Java"
] | 2 | Java | isseikida/SpringSample | 9fab8966b5246cbf3638a04a1183d2a340398c61 | 0dd13d5536d229ddc4aaec091beecbbc7c360e72 |
refs/heads/master | <file_sep><?php
$tab=array(120, 40, 51);
array_push($tab,32);
print_r($tab);
?> | bfaf0f7a4267339c635f7de9c62e187a692cca1e | [
"PHP"
] | 1 | PHP | kamil7pl/dokladanie_do_tablicy | 26d9eebd3149c12c86c267268a88955de6443ff0 | 343c995cff8a8431090e886ad94884e13ae7a700 |
refs/heads/master | <repo_name>LaurentGirard/Echecs<file_sep>/doc/html/search/files_0.js
var searchData=
[
['cell_2ecpp',['Cell.cpp',['../_cell_8cpp.html',1,'']]],
['cell_2ehpp',['Cell.hpp',['../_cell_8hpp.html',1,'']]],
['chess_2ecpp',['Chess.cpp',['../_chess_8cpp.html',1,'']]],
['chess_2ehpp',['Chess.hpp',['../_chess_8hpp.html',... | 336a743633518220cb16a51099a5a93febf54456 | [
"JavaScript",
"HTML",
"C++",
"Markdown"
] | 64 | JavaScript | LaurentGirard/Echecs | d204da3387531c5fcf30c05af7e35b27dfdba44a | 3fcbc3b2fac7c67f89e3282a086f3e040ff581f2 |
refs/heads/master | <repo_name>ncjoes/ConTra<file_sep>/includes/processor.php
<?php
use League\Csv\Reader;
//CONSTANTS
define('DS', DIRECTORY_SEPARATOR);
if (!ini_get("auto_detect_line_endings")) {
ini_set("auto_detect_line_endings", '1');
}
//capture all POST data
$IN = $_POST;
//set defaults
$stage = isset($IN['stage']) ? $IN['s... | 5ad12f5e111804c61efd92a017050434a5f2e49f | [
"Markdown",
"PHP"
] | 4 | PHP | ncjoes/ConTra | 4bc773c6bc636a8dc6965e090e9be70024be20b6 | f59af68bd7aaaac5dc9c4b15e94afbd9dc39ebdc |
refs/heads/master | <file_sep>package com.example.na_ocene
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.provider.MediaStore
import android.view.View
import android.widget... | c4c81126c5bee608df536e67870917343977aad4 | [
"Kotlin"
] | 1 | Kotlin | kaczks/Na_ocene | 5e9b5661cd38dc944da99763d928db06022848e0 | b3230bf1ce3daa8f189ce2e22f44cd618cc965c2 |
refs/heads/master | <file_sep>def reverse_each_word(sentence)
reversed_array = sentence.split(" ").collect { |word| word.reverse }
reversed_array.join(" ")
end
| 70c23b8c7fa764c222747b01ef14a689aa5818e7 | [
"Ruby"
] | 1 | Ruby | drumnation/reverse-each-word-web-0217 | c26015dcacfeafc6edb47f3068553f0386f62bd4 | 3672b547b42947e1efb21a43aa95ffb724e5518f |
refs/heads/master | <repo_name>edumaxsantos/Javalin-React<file_sep>/target/classes/public/precache-manifest.205b145dfe21feb3666d4be6a7f070b1.js
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "57827acfd2295bd708e267d3551d7b8d",
"url": "/index.html"
},
{
"revision": "d0473ab4e71dfbeae7ad",... | a41bbb8f07085e69b9cf7079211045c9a26ecca1 | [
"JavaScript",
"Java"
] | 3 | JavaScript | edumaxsantos/Javalin-React | 616cbe90674bf8a0e11c60acf1cdb495c174c2f6 | 49d4b88696905ea22086f0214f8e4043daca4547 |
refs/heads/master | <repo_name>ChenvsJian/we<file_sep>/js/ajax.php
<?php
header("Content-Type: application/json; charset=utf-8");
echo $_GET["username"];
// echo $_GET["userphone"];
// echo $_GET["usertext"];
//
// echo 'hello';
?> | 7151ff7f7f9cffefe775b2f533e626de6e825ec3 | [
"PHP"
] | 1 | PHP | ChenvsJian/we | 74347b1fd0460e9d0e70bc15497917f32f255b8e | 6abf11fff3a0322cd65ea883039e1189974c6253 |
refs/heads/master | <file_sep>from backend.Price_get.get_data import check_data
# print('run')
# print(check_data("https://www.chemistwarehouse.com.au/buy/65966"))
# 'https://www.chemistwarehouse.com.au/buy/65966'
# 'https://www.chemistwarehouse.com.au/buy/65968'
# 'https://www.chemistwarehouse.com.au/buy/65967'
#... | 964886d360db598d0d1fd7d5e7828905d2dede2f | [
"Markdown",
"Python"
] | 8 | Python | yangyu823/PriceTracker-backend | b00213d4373b3b37b24c0b30ecc6f4c1917ac3f8 | f18f876c56777cdac49fc8ee1022f1d24a89544e |
refs/heads/master | <repo_name>japinol7/alphabetsoup<file_sep>/setup.py
from setuptools import setup
setup(
name='alphabetsoup',
author='<NAME> (japinol)',
version='1.0.2',
license='MIT',
description='Alphabet Soup Solver.',
long_description='Alphabet Soup Solver v. 1.0.2. Solves an alphabet soup finding a given ... | 8553630adce7821dfab9b10771fd2f6b66f2f322 | [
"Markdown",
"Python"
] | 6 | Python | japinol7/alphabetsoup | 85a1a6716c854d40e8eba1e2a5cb1d4755b44773 | 39ce8787950cd7a3310e9cfe8d5daea75b1e6e07 |
refs/heads/master | <repo_name>roe-el/TicTacToe<file_sep>/README.md
#TicTacToe project for FreeCodeCamp.
<file_sep>/script.js
$(document).ready(function() {
'use strict';
console.log(player1XO + " " + player2XO);
var $btns = '.top-left-btn,.top-middle-btn,.top-right-btn,.middle-left-btn,.middle-middle-btn,.middle-right-btn,.bo... | 226fb80942db384c2eb6d1ad5219c5f0e45c49c2 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | roe-el/TicTacToe | 42bd4ce837b76cdad1e96530f425bd04d365d1fa | c549bbb0f70c2aad5a8524e5991dc8adcbbda42e |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Football4Cash.Models;
namespace Football4Cash.Controllers
{
public class HomeController : Controller
{
public IActionRe... | 87e5afe1d1139b43ea1d1503366781b9466c677e | [
"C#"
] | 2 | C# | ernest2358/Football4Cash | 56f1fa589bd80477a81554ea1087735f90ff2cc8 | c7c7c43477a4c0574082b656cbf726e117a1e7bf |
refs/heads/master | <repo_name>tim284/chatTest<file_sep>/public/organizer.js
function addEvent(event){
source.events.push( event);
$('#calendar').fullCalendar('refetchEvents' );
}
function setEvents(events){
if(events==null)
return;
$('#calendar').fullCalendar('removeEventSource', source);
source.events = [];
... | 328b409010bd7a843ffe2eac271e540ebf0e3395 | [
"JavaScript",
"Text"
] | 4 | JavaScript | tim284/chatTest | c860d37d6fcdd3eec369d298e9bd38f164691b82 | a7ea80f943510edf137890ae668393c6c6019f4f |
refs/heads/master | <file_sep>FROM python:2.7
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
ADD requirements.txt /code/
RUN pip install -r requirements.txt
ADD . /code/
ADD hosts /code/
ADD key /code/
<file_sep>Django==1.9.7
djangorestframework
ansible==1.9.4
docker-py==1.8.1
<file_sep>from django.contrib.auth.models import User, ... | dc4f396925c2de5a0927d63fac3b9193712fc490 | [
"Python",
"Text",
"Dockerfile"
] | 4 | Dockerfile | alexeygolovin5587/docker | e2704de8f300a54c24665a0c41c2c51472363e77 | 9100880d624fc80e3da379f99c4904e804766615 |
refs/heads/master | <repo_name>SanikaVanjari/DaggerHiltApp<file_sep>/settings.gradle
include ':app'
rootProject.name = "DaggerHiltApp"<file_sep>/app/src/main/java/com/practice/daggerhiltapp/TestViewModel.kt
package com.practice.daggerhiltapp
import android.util.Log
import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.... | f388c02313bbd8502f0386c07644cca0811ef599 | [
"Kotlin",
"Gradle"
] | 2 | Gradle | SanikaVanjari/DaggerHiltApp | 4cfdd8f780f96337d9eb9445b910716223ebce18 | 5c4f0d63adcf3408ac3d7ebe449fa058b7af16db |
refs/heads/main | <repo_name>koushikkhan/data-structures<file_sep>/README.md
# data-structures
learning data structures with Python
<file_sep>/trie.py
"""
Implementing trie data structure in Python
"""
# define trie node
class TrieNode:
"""
Trie node
"""
def __init__(self, char):
# take the character to be sto... | 99426d7efb37019712629bd126cffc5d40e0fe87 | [
"Markdown",
"Python"
] | 2 | Markdown | koushikkhan/data-structures | bdedfdf897bd09764ad4aef3848e0dd41fe105cf | c9cfd1e7fa86314adaa6f161b85af61bcd237754 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import {DataServiceService} from "src/app/services/data-service.service";
import { GlobalDataSummary } from '../models/global-data';
import { DateWiseData } from 'src/app/models/date-wise-data';
import { merge } from 'rxjs';
import { map } from 'rxjs/operator... | 3429febb51cc5745c41aed11e02593a732afd0d3 | [
"TypeScript"
] | 1 | TypeScript | abhiram040/covid-app | f75ac3c2540d3f7b7eabfd9961d737d396d6733b | de619242c6dab4e930c3d61af69852b9e17ce2a0 |
refs/heads/master | <file_sep>#include <string>
#include <iostream>
#include <cctype>
int main()
{
// Initialize variables
float fFirstNumber = 0, fSecondNumber = 0, fResult = 0;
std::string sInput, sFirstNumber, sSecondNumber;
// Print menu to the screen
std::cout << "Welcome to my calculator!" << std::endl;
std::co... | 03e110bbe880c12883118cf2a94f4a9ca138e99c | [
"Markdown",
"C++"
] | 2 | C++ | rkononovs/Simple-Calculator | fbc9cc493108e80c2026e2283b7c1be9d681bdb6 | 8101569368eff114690927be0842415ddf9f582b |
refs/heads/main | <repo_name>muratcancicekk/CarBook-CoreData<file_sep>/MyCarProje/MyCarProje/ViewController.swift
//
// ViewController.swift
// MyCarProje
//
// Created by Murat on 2.11.2021.
//
import UIKit
import CoreData
var carModelsArrays = [String]()
var carIdArrays = [UUID]()
var selectedCar = ""
var selectedCarId : UUID?
cl... | 5068172cfeb01fd99b0d7bea3d06c078bfc9dbfa | [
"Swift",
"Markdown"
] | 4 | Swift | muratcancicekk/CarBook-CoreData | 70b8b0a2629b84364c2f1dc098f267a0dffc2df6 | b20f1e4cecce568c239732fd6917286faaadc955 |
refs/heads/master | <repo_name>chen2584/unittest-mstest<file_sep>/TestService.Tests/IsEvenTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestService.Tests
{
[TestClass]
public class TestService_IsEven {
private readonly TestService _testService;
public TestService_IsEven() {
... | 7fed70a22d3d13f25f80bb8fc88826e597bd0ce0 | [
"C#"
] | 2 | C# | chen2584/unittest-mstest | 7357a53e7c20f3af47997c749d8f8ba363084adf | b702d24af5f566b6812e6a66c4d0d96c6f4bd146 |
refs/heads/master | <file_sep>(function() {
var countDownInterval, time;
var tick = function() {
$('#time').text((time + '').length == 1 ? '0' + time : time);
switch(time) {
case 12:
$('#timerImage').attr('src','img/icream2.png');
break;
case 10:
$('#timerImage').attr('src','img/icream3.png');
break;
case ... | daa5490f809073439e6a201081f09330e0012307 | [
"JavaScript"
] | 5 | JavaScript | david-haber/codecountdown | 794767d332f202ee23f7fd7b202e212cb317a9f3 | b198a6db5c5202b956cbd55f9da4b924a8ccee05 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.