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># scrapy_redis_project
a distribution spider demo
Requirements:
python:2.7
scrapy:1.4.0
scrapy-redis: https://github.com/rmax/scrapy-redis
fake-useragent:https://github.com/hellysmile/fake-useragent
mysqlclient:
Redis >= 2.8
how to deploy the scrapy-reids project on a new mac
1、creat... | aeaaeb2dbd64ffcf6de0f8aaad0e5689bea8643c | [
"Markdown",
"Python"
] | 3 | Markdown | AaronChiu2017/scrapy_redis_project | c2caebaf29b65a1bb2d4f89b3c76ee9a80ae40a8 | 1512ba4505520bd519778605184a34245854192b |
refs/heads/master | <repo_name>mlcheng/js-dom<file_sep>/todo/to_do.js
/* exported ToDoApp */
/* global Component */
'use strict';
class ToDoApp extends Component {
constructor({ loadTemplate, elementRef }) {
super();
loadTemplate('to_do.html').for(this);
this.elementRef = elementRef;
/**
* @type {Array<{
* label: st... | c0fdec4284b3a9c550fc96b39951ad1fe9e7babc | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | mlcheng/js-dom | 76e185797f6cf3217dfe2021f78c0c107e9287b7 | d2e8ab2bb9e9fddd0716df731a71f08c7f420813 |
refs/heads/master | <repo_name>ifilandra1/rpr-t3-z1<file_sep>/src/ba/unsa/etf/rpr/tutorijal03/Program.java
package ba.unsa.etf.rpr.tutorijal03;
import java.util.Scanner;
public class Program {
public static void main(String[] args) {
Imenik imenik = new Imenik();
while(true) {
System.out.println("Unesi... | 15140c54e5b02fafb99f4f61d1c5e92dcbb40aa9 | [
"Java"
] | 1 | Java | ifilandra1/rpr-t3-z1 | 97c703fd62cfb3ff2ca05e3f9cde4b761f39f0e8 | 488a70db046983464b3df3fbf6005d288d5f0050 |
refs/heads/master | <file_sep>SET FOREIGN_KEY_CHECKS = 0;
DROP TABLE IF EXISTS `street`;
CREATE TABLE `street` (
`street_id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`parent` int(11) NOT NULL,
`pinyin` varchar(100) NOT NULL,
PRIMARY KEY (`street_id`),
KEY `index_parent` (`parent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;... | 6463de1cba55ab22d945793c255bd7635a39531c | [
"Markdown",
"SQL"
] | 2 | SQL | modrick/China-Division | 9be54cbadd5494c1fcddfd8b91b027a6f44b2f75 | c7b01906609c36295d3e8af1944fc9a3376cfc3b |
refs/heads/master | <repo_name>petitsarr/counter<file_sep>/src/features/counter/counterSlice.js
import { createSlice } from '@reduxjs/toolkit';
export const counterSlice = createSlice({
name: 'counter',
initialState: {
value: 0,
},
reducers: {
increment: state => {
// Redux Toolkit nous permet d'écrire une logique ... | c3a6e7d0b46ecf0177d8360f4f64a24969ae80ac | [
"JavaScript"
] | 1 | JavaScript | petitsarr/counter | c8035f874748ed967b04b0386ca937650dd56408 | 8971cab166ae342643ed5a75218dbb35715dbec0 |
refs/heads/master | <repo_name>Wedina/svg<file_sep>/paint.php
<?php
include 'classes/Rectangle.php';
include 'classes/Circle.php';
include 'classes/Ellipse.php';
include 'classes/polygon.php';
include 'classes/etoile.php';
$rect = new Rectangle(100, 50);
$rect->setPosition(300, 20);
$rect->setColor('tomato');
$rect3 = new Rectangle(100,... | 94dbbed6eecb720ecf61ad4e8d2c9e5a0dea3f0f | [
"PHP"
] | 5 | PHP | Wedina/svg | 46f1a1579747b1ba606e541cd7da039150580369 | c9fe2188e79a89687f285da0ccb91377b6f3e3b6 |
refs/heads/master | <file_sep>using IdentityModel;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace CoderzoneGrapQLAPI.Models
{
public class Programmer : IdentityUser<Guid>
{
[Key]
... | b582b1835aa8c63f9b08b1f3b731b95bea847e8b | [
"C#"
] | 36 | C# | Pandop/coderzone-api | 8fb23e419dd8aa19ecb384b5061539b9dfd15a9c | 01683ba667a596a4fe9ad1204ee3d985bcfe2c27 |
refs/heads/master | <repo_name>x0xr00t/HTB-CTF-Bot<file_sep>/ToDo.md
In short a crap load. Muhaha. Is there a need or want to continue this project.
- Scan.php need to figure out how slack processes the php results as html and \r does not process to seperate php output.
- Add scans as subprocesses with wait commands to make sure the user... | 58c18e6709dff05ff61289b7027eaae0fc1bf0c0 | [
"Markdown",
"Python",
"PHP"
] | 5 | Markdown | x0xr00t/HTB-CTF-Bot | 52540c0f32c2b80fd15b92e5227cc66e79acf76b | aa571aa5db6d553106ef7d091825b9c88ae2a214 |
refs/heads/master | <file_sep>from app import app
from flask import render_template
from app.forms import LoginForm
from flask_login import current_user, login_user
from app.models import User
from flask_login import logout_user
from flask_login import login_required
from flask import request
from werkzeug.urls import url_parse
from flask... | 2a296611eb3fcab6bb8cee7e28fd7a4d84ab4926 | [
"Python"
] | 2 | Python | wanchinglim/cs3235 | 62ad36bf9c5a8ad8e5dfaad09403eba96dfbe275 | 92029cbc055dbed8045f6456ef4c8d7c9c005cc7 |
refs/heads/master | <file_sep>import java.util.regex.Matcher;
import java.util.regex.Pattern;
/*****************************************************
*
* 95-772 Data Structures for Application Programmers
*
* Homework 1 My Array implementation
*
* Name: <NAME>
* ID: jiaqiluo
*
* Description:
* handling array list problem,... | c187b590a5ea656e543d9abe7c49835a49b56c0c | [
"Java"
] | 2 | Java | calvinq1990/data-structure-implement | bf9af82adfdb7e718ff02255506a984b76a11eb9 | 39175442ddaa1917063ce8f72289523cab9e9d63 |
refs/heads/master | <repo_name>floxyao/text_classification<file_sep>/TextClassification/FileTokenizer.java
package TextClassification;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
public class FileTokenizer {
private String file_name;
private ArrayLi... | f0b2a7ae4b5c96bae74f257a76c4399c649b8c99 | [
"Java"
] | 3 | Java | floxyao/text_classification | 4061e4b40667f1ee67de64699461659156b1173d | e7cea22b6ccfe70dd1ebd539bc8caa6eb38add5e |
refs/heads/main | <file_sep>import firebase from 'firebase';
const firebaseApp = firebase.initializeApp({
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
apiKey: "AIzaSyDmFm6ZQ7bwa-T0l_sHGaCuOn4SdfIMTak",
authDomain: "lets-chat-fe169.firebaseapp.com",
projectId: "lets-chat-fe169",
storageBucket: "lets-ch... | bd376c1471f970c4164b9185b40fc5ed6d8363d1 | [
"JavaScript"
] | 1 | JavaScript | eakansh125/lets-chat | 8a6d8dc56de79a1aa6b9085781e8a8c0779b736f | d1703b7d77ced3ac70a8ab2402422876285b28a2 |
refs/heads/master | <repo_name>JangWH/jblog<file_sep>/app/controllers/articles_controller.rb
class ArticlesController < ApplicationController
before_action :set_article, only: %i[show edit update destroy]
http_basic_authenticate_with name: 'admin', password: '<PASSWORD>!', except: %i[index show search]
def index
@articles = Art... | 50f07ae91fa3f6a0c9ab21570f41d0a908a99203 | [
"Ruby"
] | 4 | Ruby | JangWH/jblog | 79def920faf2f4a7efa311977378a0044fa06168 | 48a36dcc69d3ca7a244c6a16096d344c03195b69 |
refs/heads/master | <repo_name>suchita-thorat/SeleniumMavenJunit<file_sep>/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.x... | d758f4797e905b24a267c24ad90f579fda940710 | [
"Java",
"Maven POM"
] | 3 | Maven POM | suchita-thorat/SeleniumMavenJunit | 05e506915b720875ef7fa62d571ceca8b1ca9bf2 | fcef5548a2fd9b4bb3c8a3b4759e47b503c02dc6 |
refs/heads/master | <file_sep><?php
namespace Oleksiil\ImageUploader;
class ImageUploader
{
private static $allowedFileTypes = array(
'image/jpeg',
'image/gif',
'image/png'
);
private static $maxFileSize = 1 * 1024 * 1024; // Bytes
public static function upload($dir = '../upload', ... | 885901cb4f5eff7e8380da3c4e7abb3c62c87564 | [
"PHP"
] | 1 | PHP | lexa13/uploader | e086244420d639b52f8640c84afc0d99725bd76d | b6866d1068b4e2837efab11be11c5b29ffcaf1f5 |
refs/heads/master | <file_sep>#
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(lmtest)
library(ggplot2)
library(plotly)
library(rpart)
library(rpart.... | 10007d33b13a0da6e3d6dfb57b29ea3cd37d2d3a | [
"Markdown",
"R"
] | 4 | R | PriyankaC2121/Birthweight_R | beb8ef8f73f93a0a531b76cc1c5d8efdafa0fe1d | 96c15aefb58c00f5d8c94ed8ecfabeee5c893eb6 |
refs/heads/master | <file_sep><h1>How well do you know me</h1>
<p>This is a game created using Javascript. This is a CLI app. and used repl.it to host it. You can always use this game to test your friends how well they know you.</p>
<p>Please enjoy the game by hitting below url: https://replit.com/@harshakomarlu/How-well-do-you-know-me?e... | b98f0804fb68a341793e4508316829d80d7ec082 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | SriHarshaKV01/How-well-do-you-know-me- | d6dfdc9daa18df1fd9b864e21c1d039161ad89f4 | 357122f6dbbd98b2a0ac1625155eda9b3eaac5a1 |
refs/heads/master | <repo_name>jeffstagg/PortfolioRails<file_sep>/config/application.rb
require File.expand_path('../boot', __FILE__)
# Pick the frameworks you want:
require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to... | 0671b0e53163495798f11d03e75c25c7be17a59c | [
"Markdown",
"Ruby"
] | 27 | Ruby | jeffstagg/PortfolioRails | 95059ccb72f7f31a990cbb3ed4a4af921ac69a34 | 90cf2c3bd59608ea28feb4e1ce7da97d61c59693 |
refs/heads/master | <file_sep>/*
* 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.
*/
/*
* File: List.h
* Author: tiara
*
* Created on May 26, 2019, 4:49 PM
*/
//header file List.h
typedef int ElementT... | db27c4c77c6e6e7ee1a985b2b8b03f041ac078f4 | [
"Markdown",
"C++"
] | 3 | C++ | tiarabell2013/COMP280-PROGRAM1 | 162f8bf2959749d6e3c3c22fb69645cd0494d1e6 | 27b42d8272f5ec92891be29905bd3f0dd758a918 |
refs/heads/master | <repo_name>JamesG3/CPU-instruction-simulation<file_sep>/Result/readme.md
- These are the output files of the two example testcases.
- *dmemresult.txt* shows the final situation in the data-memory.
- *RFresult.txt* shows the situation of register files every time when a instruction is executed. <file_sep>/MIPS.cpp
#inc... | 5465633e4283e7e3028149500613b41587e9f3c5 | [
"Markdown",
"C++"
] | 3 | Markdown | JamesG3/CPU-instruction-simulation | 48325345613c0c18033e38e48be662ebe9cc820f | 864f6c91a1bc33184856358202b82015a2f32bd5 |
refs/heads/master | <file_sep>using Hotel.BUS;
using Hotel.ListForm;
using Hotel.ListForm1;
using Hotel.Repost;
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 Ho... | 69ff4703eb3ef4735eb3647a1a4bf6eff6e3348d | [
"C#"
] | 1 | C# | dieuninh1997/DoAnADO.NET | a10d4fcae81d72fe861804f8ba5b0eec27547279 | 13aaf3ab3e21e06e470ba35e9a2e2afc9c1dcdc4 |
refs/heads/master | <repo_name>dbystruev/Chat-Bot-Horoshkola-9<file_sep>/Chat Bot/ChatBotTableViewController.swift
//
// ChatBotTableViewController.swift
// Chat Bot
//
// Created by <NAME> on 25/02/2019.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
class ChatBotTableViewController: UITableViewController {
... | 5422152146bef0796e4c1d4c9d9b65c39cc9e87c | [
"Swift"
] | 1 | Swift | dbystruev/Chat-Bot-Horoshkola-9 | 6922bee650808d9748e306c69cc52ef7aa93f819 | 69b9c79eff876e593a06bc553c3b7d0465118d8c |
refs/heads/main | <file_sep>package com.example.SpringBootActuator.monitoring;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
import org.springframework.stereotype.Component;
import java.util.Map;
import java.util.stream.Collectors;
impor... | 0f3c1d4c8b3d38d8f70d7ad0fb66d8e1b0332c23 | [
"Markdown",
"Java"
] | 2 | Java | michael-steinert-repository/SpringBootActuator | 38efa235dacb6102385bb3a3bc1384a10dbdefae | 8285e4f7025131f86eb66ecf645736b850e15126 |
refs/heads/master | <file_sep>from datetime import datetime, timedelta
from enum import Enum
import requests
import json
import re
import time
import pandas as pd
import json
import numpy as np
class ProfitLossType(Enum):
ACCOMPLISHED = 'accomplished'
UNACCOMPLISHED = 'unaccomplished'
class VirtualStockAccount():
... | 4097529a3b3f10f3668198e768bd30bd97ee6b40 | [
"Markdown",
"Python"
] | 3 | Python | koreal6803/CmoneyVirtualAccount | fdceeafa26cb4050f8cfd82ecba616fe0cf27c40 | 862b7f03d5deecd0dea0d270e9f6527e7195b877 |
refs/heads/master | <repo_name>adrianabuelvas298/Examen_Android<file_sep>/MyApplication/app/src/main/java/com/example/adriana/myapplication/RegistrarFragment.java
package com.example.adriana.myapplication;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Patterns;
import android.view.LayoutInflater;
i... | 03bef490d7160503752d3ec81827b497afe08fad | [
"Java"
] | 1 | Java | adrianabuelvas298/Examen_Android | 0c499d43ba708b3cbf724b186b3ad81f460ad2f4 | 4e33861d58ddf3deb9f30487998bd2fff276407d |
refs/heads/master | <file_sep>#!/usr/bin/php
<?php
include 'common.php';
echo date('Y-m-d H:i:s').' Beginning Crypto Deposits processing...'.PHP_EOL;
ini_set('display_errors',1);
$CFG->session_active = true;
$transactions_dir = $CFG->dirroot.'transactions/';
$transactions = scandir($transactions_dir);
$transactions = (!$transactions) ? ... | 759c1b46ac17b8f66b059ed0efad8c1bc51d9a33 | [
"PHP"
] | 14 | PHP | cuncode/wlox-cron | 73b0f5788abfe5c6d47d19a48ace806083790992 | b04344cd31fab10085402d778821a7af7a025542 |
refs/heads/master | <repo_name>rbcn2018/kazamimi<file_sep>/README.md
# kazamimi
マウスカーソル下のウィンドウに対して以下の処理を行う
閉じる
最小化
最前面固定
最前面固定解除
<file_sep>/WindowsFormsApp1/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
static ... | 94572c2c08538168ed31b3963300dbd9dc2344f2 | [
"Markdown",
"C#"
] | 3 | Markdown | rbcn2018/kazamimi | 615d9b220c342d3faed0772fd15c90850da7c627 | 148cad82abab09f3d2a9b4177ffcb42f1a8b2369 |
refs/heads/master | <repo_name>MuhammadHamza12/InventoryPWA<file_sep>/js/index.js
var Sprodname=document.querySelector('#Spname');
var ProductName=[];
var db;
var dbName='InventoryManage';
var request=indexedDB.open(dbName,2);
var StoreName='InventoryData';
request.onsuccess=function(event){
console.log('Database open successfully... | 1bc9e8234d6dd04e6a73b81b3696baa741db85fa | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | MuhammadHamza12/InventoryPWA | e513fc4df9d4301f524ffc103775f435be4f6c67 | e3d748b63cfac7b1275860e707440ab34ff6c95d |
refs/heads/master | <file_sep>public class Main {
public static void main(String [] argv) {
Solution solution = new Solution();
solution.solve();
}
}<file_sep>import org.junit.jupiter.api.Test;
import java.util.*;
import static org.junit.jupiter.api.Assertions.*;
public class SolutionTest {
@Test
publi... | 64501c2e186784061e72e13300ccb452701faeb5 | [
"Java"
] | 2 | Java | Valaxim/InterviewTask | 6ab7734332f8910a6c13d8bd99fcb1d0248a8263 | 552d6829a6740269da952dce61f66fe3ad661bbb |
refs/heads/main | <file_sep>export interface WordFrequency {
getWord(): string
getFrequency(): number
}<file_sep>import { mostFrequentNWords, mostFrequentWord, splitText } from './helpers/TextUtils'
import { WordFrequency } from './types/WordFrequency'
import { WordFrequencyAnalyzer } from './types/WordFrequencyAnalyzer'
export cla... | 633a56b484641d122c6ff0faac6115afa7804185 | [
"TypeScript"
] | 5 | TypeScript | cuno/word-count | 5995c05ec102a57cc71a1efbe682f3873c15de68 | 64e05925911082d578a48abb7e924e18ad4edc91 |
refs/heads/main | <repo_name>mytourbook/mytourbook-dojo-toolkit<file_sep>/rql/test/js-array.js
var assert = require("assert"),
Query = require("../query").Query,
executeQuery = require("../js-array").executeQuery;
var data = [
{
"with/slash": "slashed",
"nested": {
"property": "value"
},
"price": 10,
"name": "ten",
... | 9df944713526da50c92503541829ba482a381c5c | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | mytourbook/mytourbook-dojo-toolkit | a36160ccfb96a3dea4c2ef518436dacc2412c7e6 | 60e7af040ae4ab9050c914e680b9d2fcd6040a0f |
refs/heads/master | <repo_name>FrostForth/stats<file_sep>/requirements.txt
gunicorn
django
numpy
matplotlib
seaborn
pandas<file_sep>/statsweb/stats.py
"""
Created on Fri Nov 29 17:40:01 2019
@author: Kaitlin
1. Provide library of functions:
- intialize
- sample
- graph
- stats
- output
2. Execute functions depending ... | a018e6703fc565ad20972cff931b54b9f71676c5 | [
"Markdown",
"Python",
"Text"
] | 4 | Text | FrostForth/stats | ad2c83ce27045b6a5d7fd05b157c92c81f26ad96 | 09724e8cd387c4bb0a6178dc051e4db454be7e57 |
refs/heads/main | <file_sep>import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output, State
import plotly.graph_objects as go
import numpy as np
import skrf as rf
from skrf.time import detect_span
external_stylesheets = [
'https://stackpath.bootstrapcdn.com/b... | e4f66d9baae53c7cdc0e7266a1565df129bc51f1 | [
"Markdown",
"Python"
] | 3 | Python | mkusnir/dash-apps | 75374100a2a60db0129ef94357d90d00d163a612 | af59487c14f0ae87e7b568bba4323f80a579831d |
refs/heads/master | <file_sep>import React from 'react';
import './App.css';
import { Route, Switch } from 'wouter';
import { Container } from 'react-bulma-components';
import NavigationBar from './components/NavigationBar';
import Home from './views/Home';
import NewPost from './views/NewPost';
import ViewPost from './views/ViewPost';
... | bdda4363976a8aa64846b0d3be26f3476820f56b | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | nico1311/react-blog | d9ed842943e06b6a7c9e7b620718fbd633b078ba | 94d47742c3ae525a1cbfb1b2df901e8b4628d1b4 |
refs/heads/master | <repo_name>cyx1231st/pyingx<file_sep>/pyingx/lib/__init__.py
__author__ = 'Yingxin'
<file_sep>/pyingx/api/versions.py
from pyingx.api import wsgi
class Versions(wsgi.Resource):
def index(self, req, body=None):
return {'version': '1.0', 'author': 'cyx'}
<file_sep>/pyingx/api/wsgi.py
import routes
import ro... | affade790b5f1bdfeee346cbc9e97808e286f51e | [
"reStructuredText",
"INI",
"Python",
"Text",
"Shell"
] | 23 | Python | cyx1231st/pyingx | 01aa2663983737bbbfbf23b024e6af5e0190b8ba | 6f726b57b5950ffa033c76c524e333191adf10f1 |
refs/heads/master | <file_sep>import React, { Component, PropTypes } from 'react';
import { TouchableOpacity, View, Image } from 'react-native';
export default class ConfigScreen extends React.Component {
static defaultProps = {
isMens: false,
shirtStyleToggler: null,
showColorPicker: null,
showCaptionEditor: null,
... | fd1c2550e49ba06ab48b7e6481f65878ac6d6f30 | [
"JavaScript"
] | 8 | JavaScript | rodnolan/shirtshop-react-native | c4690b23f20fc29fa2139a6048c09a125931d5c8 | d19a1bc58e0e40e9510235d8b7e49dd0b6da2045 |
refs/heads/master | <file_sep>import {Component, OnInit, ViewChild} from '@angular/core';
import {MatPaginator} from '@angular/material/paginator';
import {NewsHeader} from '../model/NewsHeader';
import {WebService} from '../service/web.service';
import {NewsCategory} from '../model/NewsCategory';
import {MatSort} from '@angular/material/... | a7be567e6190da1559281da897ed5858d166a4b2 | [
"TypeScript"
] | 5 | TypeScript | farukkose19/matriks | 0dbfcad301067f6dfebdc6f02a51d91c46a8b1bf | 47b5db6a50955d6a80f37be3e79d5d15afd9ec1f |
refs/heads/main | <repo_name>yanwawav5/blog<file_sep>/Blog.Dto/Blog/TagListDto.cs
namespace Blog.Dto.Blog
{
public class TagListDto
{
public string TagId { get; set; }
public string TagName { get; set; }
public string IconFontClass { get; set; }
public int Sequence { get; set; }
public in... | 7301cbe75206dd4db54eaa61090cd6ddcee44d43 | [
"Markdown",
"C#"
] | 58 | C# | yanwawav5/blog | 26caca9a27450375b382dd83e855f59024af299c | e989c28948cf951f8a8a410b81778883e650a15b |
refs/heads/main | <file_sep>const input = document.getElementById("input");
const btnAdd = document.getElementById("add");
const btnClear = document.getElementById("clear");
const btnDel = document.getElementById("btndel");
const ul = document.querySelector("ul");
const li = document.getElementsByClassName("list__item");
//////////////... | 74d0cedc3abdf795098a4f0104a04e0ad8235fcc | [
"JavaScript"
] | 1 | JavaScript | uxMohsen/todo-app | ea863d079318b3f194d7fa50fca167acd7e0c8bd | 44841bff3f2286cad85053bd0f6b38b093f0bbdf |
refs/heads/master | <file_sep># introsde-2017-assignment--client
University of Trento
Introduction of Service Design Engineering
2017 Fall
#### Name: <NAME>
#### Email: <EMAIL>
#### Server code: https://github.com/julcsii/introsde-2017-assignment-2-server
#### Server base URL on Heroku: https://sde-assignment-3.herokuapp.com/
#### Ta... | df8424055559150e3cd9cdc8f0d4331bb3d98cab | [
"Markdown",
"Java"
] | 2 | Markdown | julcsii/introsde-2017-assignment-3-client | 3a7cb87f17d54785ad317b9ac651f403e632c20f | 597d9026ba2a7c9db3383d5ecded00b4cb2f0ad9 |
refs/heads/main | <file_sep>import React from "react";
import {
Section,
SectionText,
SectionTitle,
} from "../../styles/GlobalComponents";
import Button from "../../styles/GlobalComponents/Button";
import { LeftSection } from "./HeroStyles";
const Hero = (props) => (
<Section row nopadding>
<LeftSection>
<SectionTitle main c... | 9c7e46fe137cadea5ac7cf3fc42f1e289678096c | [
"JavaScript"
] | 2 | JavaScript | JaredBrown1/My-portfolio | 6b373991299f926b55f9f9ce470a67e279433839 | c8e56fb083932f11d2b3476a3d592fba7996bba1 |
refs/heads/master | <file_sep>
var http = require('http'); // 서버 구동을 위한 node 내장 모듈 불러옴
var fs = require('fs'); //파일 읽기, 쓰기를 위한 node 내장 모듈 불러옴
// 404 error message : 페이지 오류가 발생 하였을때
function send404Message(response){
response.writeHead(404,{"Content-Type":"text/plain"}); //단순한 글자 출력
response.write("404 에러...");
response.en... | 6c34613e697302e528e2a1a9e71bde23c5cfdae3 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | patissier-boulanger/our-fisrt-project---momentum-clone | 59209bea2ffd4aec222a99f05234c3603790ac88 | c9bf5090c4250ca21432d50659768682f2d870af |
refs/heads/master | <file_sep>//////////////////////
//rfw menu specifics//
//////////////////////
$BCM::DefaultMenu = "RFW";
//initial menu
$BCM::Menu["RFW", 1] = "static" SPC "Inventory\nEquipment\nCrafting\nOptions\nHelp";
$BCM::Transitions["RFW", 1] = "2 3 4 5 6";
$BCM::PrevState["RFW", 1] = "0";
//inventory
$BCM::Menu["RFW", 2] = "... | 353eebc500ff168d0c1b5193cdc6d412b28f9c5c | [
"C#",
"Text"
] | 31 | C# | Visolator/Gamemode_ReverieFortwars | 72bf967916fc63400f17fe29fd76c3169ea998bb | 74644a466ee8a47ddc9c4d13b8b297cde2c18b42 |
refs/heads/master | <repo_name>lavriv92/morning-lohika-demo<file_sep>/src/public/app.js
(function App() {
let textarea = document.querySelector('[data-input="comment-form"]');
let comments = document.querySelector('[data-list="comments"]');
let button = document.querySelector('[data-button="send-button"]');
const predictValidati... | a011f3e02e4c736e38212652326e63c34d6ea179 | [
"JavaScript"
] | 2 | JavaScript | lavriv92/morning-lohika-demo | 4232b4f31a375296917bc5a2ec50c116c1f01310 | fd4af756c0bdcb10efa460b95e076b58c4b2997e |
refs/heads/master | <file_sep>
const footer = `<p>Copyright © 2020 <NAME></p>
<p>All rights reserved.</p>`
exports.homeGuest = (req, res) => {
res.render('index', {
root: '/test',
title: 'Home Guest',
footer: footer,
photoID: 'https://i.picsum.photos/id/184/'
})
}
exports.testGuest = (req,res) => {
res.render('./test/test... | 3ae730679aded7adc69f030278d212e7b7d15fb7 | [
"JavaScript"
] | 4 | JavaScript | ivo-kalendar/project4 | 2094358bd35bc98e31f71a92c9f05343366c5a15 | 06990e2c9bd51fd56c5638cefe133cadafb0a8de |
refs/heads/master | <file_sep>import cv2 as cv
import matplotlib.pyplot as plt
import numpy as np
import math
# 计算灰度直方图
def calcGrayHist(I):
h, w = I.shape[:2]
grayHist = np.zeros([256], np.uint64)
for i in range(h):
for j in range(w):
grayHist[I[i][j]] += 1
return grayHist
def equalHist(img):
# 灰... | a1d5e6ae28ca52a78f199c2e93e38c4e8d01243d | [
"Markdown",
"Python"
] | 5 | Python | HannibalQsp/text_recognition | 8e681aa3c6248c3bf6430644e8d46ee5d1f94077 | 3945504c91a7a7ec7f82289d5fd1aedb88407ab0 |
refs/heads/master | <repo_name>BoghaFisch/lab4<file_sep>/js/model/dinnerModel.js
//DinnerModel Object constructor
var DinnerModel = function() {
//TODO Lab 2 implement the data structure that will hold number of guest
// and selected dinner options for dinner menu
// The api key
var apiKey = "<KEY>";
// Dish to be shown in dish... | 331054d97233451c7d19a2722c0f6d3529497afe | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | BoghaFisch/lab4 | c395c5161b2393dece4e870c90a081afb5a30d5f | f60c208147b9fb63ccae3a6178a86bf46748f322 |
refs/heads/master | <file_sep># SoftRender
cpu simulate the 3d graphic render pipeline for learning
<file_sep>// *********************************************************************
// Name: SoftRenderApp.h
// Date: 2017/02/12 04:12
// Author: sai27
// Description:
// *********************************************************************
... | 630a2825e9c8d0ea23087612829480852406a7d3 | [
"Markdown",
"C++"
] | 4 | Markdown | sai27/SoftRender | a917d371ef780e62e86bbd8999ba908d7f5f5619 | ade8280ca199c2f2e100fc79946a8e029d99ea7a |
refs/heads/master | <repo_name>fbodr/slackmsg<file_sep>/README.md
# slack webhook with kotlin dsl
This is "quick and dirty" example(study) on using slack webhooks for sending messagens, and using kotlin dsl for creating the message.<file_sep>/src/main/kotlin/org/fabiodarosa/slackmsg/client/SlackClient.kt
package org.fabiodarosa.slackms... | 92ea4a5bfb2f306292f2c98bf2491be564d1ba45 | [
"Markdown",
"Kotlin"
] | 5 | Markdown | fbodr/slackmsg | 2c108617f7628ec65d0569886263f60e39f25761 | 7675807ca6cdb431ec214e2000388d3862c32076 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { FormGroup, FormControl, Validators } from "@angular/forms";
import { CRUDService } from '../crud.service';
@Component({
selector: 'app-update',
templateUrl: './update.component.html',
styleUrls: ['./update.component.scss']
})
export class Upda... | 0786fe7e98fe71f673169e79cb83c462fa88f721 | [
"Markdown",
"Python",
"TypeScript"
] | 9 | TypeScript | Shaubs/filed-flask-angular | 3ac48a29d73891a14c8081ffc76321e66f2fa3b1 | a237fa3f3bffa9a1ac572f2e05af6739b86d6c2f |
refs/heads/master | <repo_name>jrmax/MyDevoxxApp<file_sep>/README.md
# Devoxx Windows Mobile App, "My Devoxx"
This was the official Windows Phone App for Devoxx Conferences 2015 and 2016. It is compatible to Windows Phone 8.1 and Windows 10 Mobile.
**The project has been discontinued!**
## Setup
Just get the code, open it in [Visual St... | 448bc3b2b31982aeee9edff210d149d64ee5db05 | [
"Markdown",
"C#"
] | 14 | Markdown | jrmax/MyDevoxxApp | daebb792f1868e04aa6363486e10a66e598251e7 | d9b6e409f1fa69729eb3dda26d6c724a4fec4c26 |
refs/heads/master | <repo_name>Kxyaaad/CloudKit_Demo<file_sep>/CloudKit_Demo/Tools/ActivityIndicator.swift
//
// ActivityIndicator.swift
// CloudKit_Demo
//
// Created by Mac on 2020/4/20.
// Copyright © 2020 Mac. All rights reserved.
//
import Foundation
import UIKit
class ActivityIndicator {
lazy var loading = UIActivity... | 8bd846f6b7af59cef5457fcb3b220e6cb9c59522 | [
"Swift",
"Ruby"
] | 15 | Swift | Kxyaaad/CloudKit_Demo | e6ee5979a9253c069ba5ba144a68e0c022859a33 | 5567861a6051d3509b393b8fe68ebb58f93c1abe |
refs/heads/master | <repo_name>kikyoluka/Simple-version-of-werewolf-kill<file_sep>/js-2-5.js
//简化获取dom操作
const byID = (id) => {
return document.getElementById(id);
};
const boxes = byID("boxes");
//杀手和平民数组
const killsArr= JSON.parse(localStorage.killsArr);
const peopleArr= JSON.parse(localStorage.peopleArr);
//被杀手杀死的玩家数... | 4fa45e24b8c2f452e56ea88314a3c4da844319ba | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | kikyoluka/Simple-version-of-werewolf-kill | de9635c2950ab1ab839aa70bbb6063ae05f25d6f | 591420461ac577900e726b17be111fd8ec922a1d |
refs/heads/master | <file_sep>import numpy as np
import os
import os.path as osp
import random
import sys
import torch
import yaml
from utils.dotdict import DotDict
from data.ImageDataset import ImageDataset
import utils.im_manipulation as ImageManipulator
import matplotlib.pyplot as plt
from torchvision.utils import save_image... | f7b3a7d469a1d369727f7acb2a5769d3bc85998b | [
"Python"
] | 9 | Python | InsertCoolNameHere/squint | 2d9822d8bb185ced80f3812b0228ffffd5ed4901 | cabf3a98c215e78d2fade8363010428cc904b187 |
refs/heads/master | <repo_name>pbloem/cleartxt<file_sep>/other-questions.md
# Other questions
Here are some other questions that people have asked.
## Are there any other security issues like these I should watch out for?
Yes, many.
As noted above, the main way to avoid security holes is to use standard solutions rather than your own... | 3e3ae3310c9eadcd5a33d4a0e906c207a9927dc9 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | pbloem/cleartxt | 6ae76875aa39989b969bfca754bda69e550a9a1d | dcb201a89dd242dab9419086199eadb05381c6be |
refs/heads/master | <file_sep>const config = require('../../../config.js')
const apiai = require('apiai')
const apiAiService = apiai(config.API_AI_CLIENT_ACCESS_TOKEN, {
language: "en",
requestSource: "fb"
});
const sessionIds = new Map();
module.exports = {
apiAiService,
sessionIds
}
<file_sep>'use strict';
const config = requi... | a01c54521e543b120e79f89600b23a283adc9eeb | [
"JavaScript"
] | 2 | JavaScript | mariajcb/chatbot-facebook-nodejs | 57adf7f823f7bcc084ea80c654e741e497bbc888 | 5fcd3646dd3f3aca6819790cfb4e100feb975723 |
refs/heads/master | <repo_name>tingxia/brownHome<file_sep>/routes/events.js
/**
* Created by Bev on 4/23/17.
*/
var unirest = require('unirest');
var parseString = require('xml2js').parseString;
const TIME_PERIOD_PARAMETER = 'TimePeriod'; // used in BrownEvents intent
const EVENT_CATEGORY_ENTITY = 'EventCategory';
module.exports = {
... | 48991d9af5ca8da553c70d1c737337242c0d4fb5 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | tingxia/brownHome | 2e65887256e4edd55b6cd2791e0d716b96d62b0b | 2bdaa31e2033c288dfd5b325974e6837e34934e3 |
refs/heads/master | <repo_name>niklasad1/tockloader<file_sep>/tockloader/main.py
#!/usr/bin/env python3
import argparse
import atexit
import binascii
import contextlib
import glob
import json
import os
import struct
import subprocess
import sys
import tarfile
import tempfile
import time
import argcomplete
import colorama
import crcmod
i... | b57cddb1ceb36e3d6d4482b32501e7cf0bf0327b | [
"Markdown",
"Python"
] | 2 | Python | niklasad1/tockloader | 097cc0f905f75bed44b09c8d47fd84d441673683 | 2ff5589373de4f47e5ea76db54e7f5f6a9d6077e |
refs/heads/master | <repo_name>GeorgiZhelezov/Linked-List-of-Schools<file_sep>/ListOfSchools/main.c
#include"func.h"
int isSorted = 0, firstZero = 0, isDeleted = 0;
int main() {
/*===========================================================================
TODO:
-optimize code !!!;
-fix editing when 2 schools with the same ID exist ... | 2aa26ab22577c8239e1725fd3623f2c0fd06ec03 | [
"Markdown",
"C"
] | 4 | C | GeorgiZhelezov/Linked-List-of-Schools | 25d4ea5069448305b88f5c898c35b77a85c000f1 | 56efbeacfebb072779d6ba8ceb6092789d8a1d77 |
refs/heads/master | <file_sep>package ATTEST;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
public class ParallelBrowser {
@Test
@Parameters({"Browser"})
public void testOne(... | 885db235f3def7f76155553d56a1ed55f8e6f840 | [
"Java",
"HTML",
"INI"
] | 7 | Java | RAJVEER011989/My-Repository | ccd07474b46c841f12e3231d7b9842e0e308497e | ce7ad12de541991bc69ba784c6adb4728e2877a5 |
refs/heads/master | <file_sep>package com.dh.spt.db;
import java.util.Date;
import java.util.List;
import org.hibernate.Hibernate;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import com.dh.spt.db.model.ComplaintTypes;
import com.dh.spt.db.model.Complaints;
/**
* Utilities class to inter... | 9d1d6d39e19f735fab28eabea16e6dbc75b30d7a | [
"Java"
] | 5 | Java | pavan496/spt-web | bcd97a0964bd94e351e00d5e15b98c1ff7d2a9e4 | 9283f1a010159fd0a84263a4954f285b780f81e0 |
refs/heads/master | <file_sep>/*
* ============LICENSE_START===================================================
* Copyright (c) 2018 Amdocs
* ============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... | 7e7de0b9cd3dcc3b33b8ff076b3b431d12a38200 | [
"Java"
] | 2 | Java | onap/logging-analytics-pomba-pomba-network-discovery-context-builder | 942ca53c0a64a21bca4cee84ab7462ff3f629951 | 75e278bb07e2a55e453662b10449f2ea0acd054b |
refs/heads/master | <repo_name>Dejssa/JSoundSynthesizer<file_sep>/src/SoundGenerator/PlaySL.java
package SoundGenerator;
import javax.sound.sampled.Clip;
import javax.sound.sampled.LineUnavailableException;
import java.io.IOException;
import java.util.Queue;
/**
* Class provide generation of bit sound like windows beep (WINAPI 7,8,8.1,... | db4663b19a6f3523282afdf05fd310bedfa09fd1 | [
"Markdown",
"Java",
"INI"
] | 5 | Java | Dejssa/JSoundSynthesizer | e2f46db9b65c7ca0e30b1804d153a1f1650dd26d | 5b98d5826f6594f0fccaff47f5fdbf9e342c2d44 |
refs/heads/master | <file_sep>import React from "react";
import "./styles.css";
import { utils } from "./Utils";
/**This is using fragement to return multiple */
export const StarsDisplay = props => (
<>
{utils.range(1, props.count).map(starId => (
<div key={starId} className="star" />
))}
</>
);
| bb5b02e48088bed63da4f6712eb3e89f47a7d425 | [
"JavaScript"
] | 1 | JavaScript | kamrul1/React-Star-Match-Game | 2340e369bf0b6c9f414b60864133806bb1d78d7a | 55b8398c254f7f6fe9b29135ac87532b92814c5c |
refs/heads/master | <repo_name>ShinyRin/HAHA-NO-4STAR<file_sep>/CHANGELOG.md
# Changelog
- Support ticket scouting allowing you to finally reach the highest tier of whaling.
- You can now change the command prefix. I can work alongside other bots.
- You can now filter by last name. Holy whiskers you go Kurosawa sisters.
- The bot is no lo... | a1c83239162e9587ca86e3ae998e90ccd4767352 | [
"Markdown",
"Python"
] | 3 | Markdown | ShinyRin/HAHA-NO-4STAR | 3ba475295c64422c3d02b3e6a7c095862137ca85 | d85600455d6b0cf005157e5eb6e6a4d9c04247ca |
refs/heads/master | <repo_name>eduucaldas/Rush_Hour<file_sep>/README.md
# Project Rush_Hour
## How to use?
1. Download jar file and optionaly tests folder in the same directory
2. run : "java -jar rush_hour.jar" from terminal and follow in screen instructions
3. Want to solve your puzzle? Write it in the format described in the rush_ho... | 5ad8d03a2da22ec2daf1306ee0c3928d13b64ad1 | [
"Markdown",
"Java",
"Python"
] | 4 | Markdown | eduucaldas/Rush_Hour | bea3867c856f1fc2692238fdc6f5fd022482d4bb | d10ba79f44fb8f4240466b5d7517d5293b685b59 |
refs/heads/master | <file_sep>// No need to modify these dependencies and variables below
var steem = require('steem');
var fs = require('fs');
require('events')._setMaxListeners = 0;
var prompt = require('prompt');
var colors = require('colors');
var version = "@Tippy ALPHA v0.0.13";
steem.config.set('websocket', 'wss://gtg.steem.house:... | 92b59e8005a693d5b8d0d909ab4deec9d6dec4d2 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | KLYE-Dev/Tippy | c5df797a20d511049c049bf6f7c0d776a330c07c | e3c4722245a40bdd134d3ec7eeaaf896cb10884a |
refs/heads/main | <file_sep>import turtle
import json
from tkinter import *
from tkinter import messagebox
from PIL import ImageTk, Image
from random import choice, shuffle, randint
from cryptography.fernet import Fernet
from login.login import LoginPasswordManager
# ---------------------------- CONSTANTS -----------------------------... | 62f4fdcdaf8258fc824ffe40eedd6ea6bf620a03 | [
"Markdown",
"Python"
] | 3 | Python | prajwal-c/Password-Manager-GUI | c65b6c2ba1c662a7b4470847b244ffff36b2a218 | 0ad41882a3c4472ef52912dff0ce856e1b369347 |
refs/heads/master | <file_sep># 世紀商城 - 電商網站:
> 一起來征服世紀吧! 這是一份 Vue Cli32 電商 side Project

## Demo
https://chiachipai.github.io/empireShop/
## 簡介
此商城使用 Vue Cli3 製作的 SPA 網站
功能包括:
- 前台
- 電商展示(商品分類、單一商品介紹)
- 購物車
- 下單、結帳
- 優惠券
- 最新消息(串接 Facebook 資訊)
- 後台
- 登入系統
- 商品管理(CRUD)
... | 69add025dda3b9180b9bbcc30193a329fa577ec9 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | ChiaChiPai/empireShop | 365d8af1df2d70408ec4d4f54e5323111a4eb4f0 | e96191d5c8d880923b2cf9ee7ee66bdd0a1aaef1 |
refs/heads/master | <file_sep>package com.iot.controller;
import com.iot.domain.QQUser;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;... | 582a76ffe57f5526bb247e816e542381760b6090 | [
"Java",
"INI"
] | 2 | Java | StaticWalk/qq | 08efdfc0af90bd4793fff9445504abb2ecc28392 | 376e06422b6dc55aa27ac0605bdb041c9000c33e |
refs/heads/master | <repo_name>zachw000/SFMLPlatformer<file_sep>/README.md
# SFMLPlatformer
A simple platformer designed to either be played audibly, OR visually.
<file_sep>/src/VideoMode.cpp
#include "headers/VideoMode.hpp"
namespace video {
static sf::VideoMode* VideoModeHandler::getVideoModes() {
sf::VideoMode* res = malloc(this... | 3248700a1e4a8aa652464a52f4430ba86c57a9d7 | [
"Markdown",
"C++"
] | 3 | Markdown | zachw000/SFMLPlatformer | f26e305d3b0206c3110760773a2c308127c4aa23 | 44e7bd863480f7cf80a7ee47a069c6eedcfc2720 |
refs/heads/master | <file_sep>Spree.config do |config|
config.use_s3 = true
config.s3_bucket = 'qapfybucket'
config.s3_access_key = "<KEY>"
config.s3_secret = "<KEY>"
end
Spree.user_class = "Spree::LegacyUser"
| ce5bc32d3455417e463070746d52c07ea7345fbd | [
"Ruby"
] | 1 | Ruby | thashreeb/spree | c83eb5a30f670063119e954d5b45609509cf4385 | 43fa8fc49c220905275dbd327cef47f7757bd690 |
refs/heads/main | <file_sep>/**
* @file The wrapper for a specific test suite.
*/
const colorize = require('./colorize');
const { stub } = require('./stub');
/** @typedef {import('../index').MockData} MockData */
/** @type {MockData | undefined} */
let mockData;
/**
* Set the mocks used for simulating `fs` methods return values.
... | c8af92671d9111398580f0fd0a8fdae4d16a0073 | [
"JavaScript",
"Markdown"
] | 20 | JavaScript | jens-duttke/check-outdated | b36b2f8bfebc4d891649a1c8b7b3b9ae0d0afbcd | c478f217931aeda827b44d34646be7d317ba7c9a |
refs/heads/master | <file_sep>/*
*********************************************************************************************************
* uC/OS-II
* The Real-Time Kernel
* PORT Windows
*
*
* ... | 4621288ce3171cb3822be37e511c2eb920cfb2a1 | [
"C"
] | 1 | C | RemiLatapy/INF3610_Lab1_P1 | 5e07b5c48a7e1a2e5d43fe3b5e6dc2b58051f035 | 3202fc9720323efe5538237f2791282a1e7647f2 |
refs/heads/main | <repo_name>shreydd/ferb-latin<file_sep>/script.js
var btn = document.querySelector('.btn-translate');
var inputText;
var outputWindow = document.querySelector('.outputArea');
var url = 'https://api.funtranslations.com/translate/ferb-latin.json';
// var url = 'https://lessonfourapi.tanaypratap.repl.co/translate/yoda.jso... | 69e842e80aada886b1a3e305d2f134f5200ee9e8 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | shreydd/ferb-latin | 9ff862172bb3535129baa6e377a4e3b582c1a95b | 9da5b6e23d46496e6cb920c315a73cfde5682e23 |
refs/heads/master | <repo_name>qq592302116/blog<file_sep>/src/main/java/com/li/blog/module/article/entity/ArticleStatus.java
package com.li.blog.module.article.entity;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
@Data
@TableName("blog_article_status")
public class ArticleStatus {
private Long id;
p... | c78b628ab8ccbba4a308cbf3ab1e8023baa97308 | [
"Markdown",
"Java",
"SQL"
] | 25 | Java | qq592302116/blog | c3f9f0762aa5145862581629b7ff3517a30d25f3 | af7d90b835ecc872ca9d91f8259667bca1d7eaba |
refs/heads/master | <file_sep>using System;
using System.Linq;
namespace TicTacToeFinal
{
class Program
{
static void Main(string[] args)
{
TicTacToeGame call = new TicTacToeGame();
Console.WriteLine("Welcome to the Tic Tac Toe Game");
char userInput = call.ZeroOrCross();
... | b72c33e7ce1a3b485ce7093808c5d48a34c0f52a | [
"C#"
] | 2 | C# | prajval-chauhan/TicTacToeFinal | 6ed588a631effd8d6906e0decb71fc670cad6185 | 47ec264bf220d4f8430b521f0099769d332e542a |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BlockController : MonoBehaviour
{
public int x, y;
private Vector3 firtTouchPosition;
private Vector3 finalTouchPoition;
private float swipeAngle;
private bool canMove;
p... | f441caa98520ee29ae7ddc5d013be8d99ea42620 | [
"C#"
] | 4 | C# | book1317/unity-numberpuzzle | 67667bc001676674a0e7cdbc5450c5cd48187bcd | 813c90a0bb519c71bdc89b22e6b076e8669e7a9c |
refs/heads/master | <repo_name>sdaudishvili/nextjs-project<file_sep>/DUMMY_DATA.js
export const aboutUs = {
title: 'About Us',
image: 'https://colorlib.com/preview/theme/samira/images/about_intro.jpg',
description:
'Praesent fermentum ligula in dui imperdiet, vel tempus nulla ultricies. Phasellus at commodo ligula. Nullam mo... | 13e9dee3b2c20962949fdeaaa10cea98415f6e7c | [
"JavaScript"
] | 67 | JavaScript | sdaudishvili/nextjs-project | 450253a91fb9520fed408c23acfdbdd6f37789d8 | 3091051ef2dd88d61af9af1cef5667ff92fbbeff |
refs/heads/master | <repo_name>juanmarcoscabezas/simple_shell<file_sep>/get_commands.c
#include "shell.h"
/**
* get_commands - Gets the commands
* Description: This function gets commands & break them in tokens
* @argv: arguments passed to the shell
* @cmds: commands passed to the shell
* @envp: enviroment variables passed to the sh... | c9eba8bd8f9e6a9927995f64f3d7efc6c5afea9e | [
"Markdown",
"C"
] | 13 | C | juanmarcoscabezas/simple_shell | 37a792b59189819cd044f39c2ffae4164cd7c7c9 | 28704269f5fae6102154279b90bd80283f60054d |
refs/heads/master | <repo_name>kustomzone/WebExpress<file_sep>/js/materialdesign/ripple.js
var Ripple = class Ripple {
static makeRipple(element, xpos, ypos, height, width, time, fadeoutopacity) {
var $rippleElement = $('<span class="ripple-effect" />'),
$buttonElement = element,
btnOffset = $buttonElem... | 52fe8445d18591bbc6d8227574f0133beb8c53d7 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | kustomzone/WebExpress | 426f7dec718d2bea8f2b0af50ec00dabd38f985a | 8f559132f7c451969fae18d578083e5fd196b725 |
refs/heads/master | <file_sep>import React from 'react';
import '../styles/social-links.scss'
const SocialLinks = (props) => {
return (
<ul className="social-links">
{
props.socialData ? props.socialData.map( (item, index)=>
<li key={index}>
<a href={item.link} title={item.title} target="_blank" re... | 2136deed8e18f09c6efab0986609e95fb1399f9e | [
"JavaScript"
] | 11 | JavaScript | akhatri/portfolio-website | 91acb53cd134fd4e2ba4e3009bb83fa3cf4a1b38 | e363a49f05fde35a906d1b4ea12ac96389464833 |
refs/heads/main | <file_sep>const inquirer = require("inquirer");
require("colors");
const questions = [
{
type: "list",
name: "option",
message: "What would you like to do?",
choices: [
{ value: "1", name: `${"1".green}. Create task` },
{ value: "2", name: `${"2".green}. List tasks` },
{ value: "3", ... | edf6984450e2dd9eeea39e13fe1a80e4a6c14e3f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | jela3105/tasks-node | edba176188a0463512ed664dc5a4d953abd95dbf | c512898a03255a8beba71cc0dad2bf603f3c153f |
refs/heads/master | <repo_name>JMistral/Iceberg<file_sep>/utils.py
import pandas as pd
import numpy as np
import pylab
import colorsys
from scipy.ndimage.filters import uniform_filter
from scipy.ndimage.measurements import variance
from skimage.transform import rotate
def RGB_HSV_composite(data):
rgb_arrays = []
for i, row in da... | c49f26b1064ebcd7587a6f989f346967eba110f7 | [
"Python"
] | 2 | Python | JMistral/Iceberg | 7f9e6c6bbed8c87e7a5fe17ff47d72855650d81d | 7c17d32074e79be587800e7ae943e658f7823662 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TupleProposal
{
class Program
{
static void Main(string[] args)
{
var a = (1, 2);
Console.WriteLine("Type of a : {0}", a.GetType());
... | 63036a10e9add45a6a230e4ab295f40ecd4004d9 | [
"C#"
] | 1 | C# | 20chan/csharp-tuple-proposal | cae4b07840d24807b872bd1f15348f55d9487ae3 | 1b1561f31a8f61be8a2f368df1c8a9ef27beca91 |
refs/heads/master | <file_sep>class NtpPlugin < Scout::Plugin
def build_report
if `ntpq -p` =~ /\A\*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s?\z/
peer = $1.to_s
delay = $8.to_f
offset = $9.to_f
report("peer0_name" => peer)
report("peer0_delay" => delay)
report... | 4727c27f383d594986909529b9f976aaffc5685e | [
"Ruby"
] | 1 | Ruby | fjg/ntp_sync | e15788780fc1f2910c582ce5fcca2dd78bee9495 | a4ac36ffc82bf9da1becd8280459f43a2e37f33f |
refs/heads/master | <repo_name>AngelicaMVG/buscaminas<file_sep>/assets/js/main.js
var vacios= [];
var vaciosLength = document.getElementsByClassName('vacio').length;
var tabla = document.getElementById('tabla');
var num1 = [];
var num1Length = document.getElementsByClassName('num1').length;
var num2 = [];
var num2Length = document.getElem... | 4966013d1d1e2bd8005cdb7cdbd73bc2c55cbda4 | [
"JavaScript"
] | 1 | JavaScript | AngelicaMVG/buscaminas | 72c0315a9342398467134905fd6a378fa4ef334e | 5fc211d7adeb77bb0437fcfd2a835b409f2c0a37 |
refs/heads/master | <repo_name>TomasVotruba/drift<file_sep>/src/PHPUnit/ClassMethod/MethodToPestTestRector.php
<?php
namespace Pest\Drift\PHPUnit\ClassMethod;
use Exception;
use Nette\Utils\Strings;
use Pest\Drift\PestCollector;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Closure;
use PhpParser\Node\Expr\FuncCal... | 9102305b7858fb75543a77cde88b68f4fcafb4c9 | [
"PHP"
] | 7 | PHP | TomasVotruba/drift | 3f9c23bc82e79706529f78f6587f46332cd722ea | 332c24b6fddbe1c176b48a9c799156435b15b641 |
refs/heads/main | <repo_name>laneskell/pokedex_swift<file_sep>/Pokedex/Pokedex/ViewModel/ParsePokedex.swift
// Created by <NAME> on 06/07/21.
import Foundation
typealias ParseReponseDict = [String: Any]?
typealias PokemonSpriteDict = [String: Any]
class ParsePokedex
{
func parseAllPokedex(response: ParseReponseDict) -> PokedexMo... | 212253273c47bca58268a3c36dcb2596334dc798 | [
"Swift"
] | 9 | Swift | laneskell/pokedex_swift | f75df6f9eb2e1cb9ece602f7bd985d897c77cae1 | 4c0a8851f8383aa8537b6cd114903fa85bca690e |
refs/heads/main | <repo_name>JanhaviMakwana/Twitter-react-app<file_sep>/twitter-frontend/src/store/reducer/auth.js
import * as actionTypes from '../actionTypes';
export const initialState = {
user: null,
error: null,
isUpdated: true
};
const reducer = (state, action) => {
switch(action.type) {
case actionTypes.... | f9fab6d1f84b16a57213daa0e3dd50322552ea66 | [
"JavaScript"
] | 18 | JavaScript | JanhaviMakwana/Twitter-react-app | 7805b9b4aab18f4e8cafa26e06d9ac60bf7690c2 | 3950614b21b07110244f7c62473013659b6df20a |
refs/heads/master | <file_sep># @provair/seed
> The provair client seed and server seed generator
<file_sep>import prog from 'caporal';
import {assert} from 'ts-essentials';
import {PassThrough} from 'readable-stream';
import fs from 'fs';
import {Randomizer} from '../randomizer';
export const DEFAULT_WIDTH = 64;
export const DEFAULT_O... | 445b750da4d704ec128adeeff75a709975cb1da8 | [
"Markdown",
"TypeScript",
"JavaScript",
"JSON with Comments"
] | 44 | Markdown | provair/provair | 6a57c15d704c598098c16d64db4303193af85c0b | 96c56f025e4a80fc49dbaa25be80a013c6aaedd8 |
refs/heads/master | <file_sep>package com.taifan1.mapper;
import com.taifan1.domain.*;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.type.JdbcType;
import java.util.List;
/**
* 多
*/
@Mapper
public interface UserMapper {
//查询出所有用户
@Select("select * from user")
List<User> getUser();
//根据用户名模糊查询用户
... | 70438a1aecb2bacbc97f5694cfd1e4c5b4d94f60 | [
"Java",
"SQL",
"Gradle"
] | 27 | Java | cuiyongwei/taifan | 2aecb6c7db6889e52a3a5d8692c92a2dcdcc930a | d0009ec19fa5e0c600520245fe3365dd48c50a27 |
refs/heads/master | <file_sep>package com.sovize.evlab2_pdm_00046517.interfaces
interface comunicacion {
fun enviarnumero(img: Int)
}<file_sep>package com.sovize.evlab2_pdm_00046517
import android.net.Uri
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import com.sovize.evlab2_pdm_00046517.fragments.BtnF... | 038c427e920129b976320d8ba2167637e642094d | [
"Kotlin"
] | 2 | Kotlin | Venrique/EVLab2_PDM_00046517 | e199450c306480514382cac479a67832a9e52e38 | 4c6aa91bf10bc076546a63be6b78291cab67e356 |
refs/heads/master | <repo_name>ramponnamanda/coding-challenges<file_sep>/io/pyprojects/all/StackMax.py
if __name__ == '__main__':
N = input()
stack = [[0,0]]
for i in range(int(N)):
inputstring = input()
tokens = inputstring.split(" ")
query = tokens[0]
if query == "1":
item = int(... | dedb85222cbc2ed977ff9af397f8f3fe8a241f7a | [
"Markdown",
"Python"
] | 8 | Python | ramponnamanda/coding-challenges | 23cab53e2030888678062082de552fce23f7e2a5 | 78cc4b8efa953a509df65f41632e765a4f0803c3 |
refs/heads/master | <repo_name>marckassay/spypkg<file_sep>/lib/utils.ts
import * as child from 'child_process';
import * as fs from 'fs';
import { promisify } from 'util';
import * as path from 'path';
const fse = require('fs-extra');
// TODO: remove this to make it public; currently conflicts with orginial function
const readFileAsync2 ... | b5b16e5d6680ebbade3521161908acda3c4c1251 | [
"JavaScript",
"TypeScript",
"Markdown",
"Shell"
] | 9 | TypeScript | marckassay/spypkg | 74c99bcda666cdefe0651796dc7bb6ba3487d31d | c6bee8afef5272586242ee76ce9034c2cda4ab40 |
refs/heads/master | <repo_name>PranjanPatel/JrDash<file_sep>/application/views/TODO/register.php
<!DOCTYPE html>
<html>
<head>
<title>Registration Page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/... | 631b754dd2231303087a7a76ecda18b6bf346267 | [
"PHP"
] | 6 | PHP | PranjanPatel/JrDash | 3757ddb7f19f6e03d9ef344d800c05152c82f6ee | b6dcfd394cf0f1bde3dea8c14cf856f8e553e6b7 |
refs/heads/master | <file_sep>APP_ENV=local
APP_DEBUG=true
APP_KEY=<KEY>
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=<PASSWORD>
CACHE_DRIVER=file
SESSION_DRIVER=file
<file_sep>## Set Up Instructions
(If any commands fail, try either restarting your console or running them with `sudo`)
Make sure you're in ... | 1e1792255dc517b2211e8597c762a597ea2e4cb2 | [
"Markdown",
"Shell"
] | 2 | Shell | SDHacks/TESC | 3a6a847e6dc940bcb58201a6339a0e4e7fea93a1 | cd249c355fa8d9c3ede99d1ca7f108fb3868bfbb |
refs/heads/master | <repo_name>Jjaraa/EjercicioAyudantiaBanco<file_sep>/Banco/src/dao/BancoDaoImp.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 dao;
import static dao.Conector.conectarDB;... | 0b967fba4c475e2ed9a45e91ee4291562c5e0123 | [
"Java",
"INI"
] | 4 | Java | Jjaraa/EjercicioAyudantiaBanco | 9082753a8f63c472db23723104190e6978874d2b | 5721fa3375ceae4806752ab28c8588f70890a0f0 |
refs/heads/master | <file_sep>import React, {useState, useEffect} from 'react';
import base64 from 'react-native-base64';
import {
Container,
TitleSlider,
Slider,
Variaveis,
ValueSliderText,
Picker,
UploadButton,
UploadButtonText,
ScrollView,
Cultivo,
CultivoRow,
ContainerButons,
IconStyled,
TextInput,
} from... | 20100a2cda6ae9686545e5447047544f9f29d19b | [
"JavaScript",
"C++",
"Markdown"
] | 13 | JavaScript | JosefButzke/greenhouse-system | c58eeb055037a03eea349be7644df9ffcd998c62 | bf1ecae472ab7282d8249f78926372cbf27b4a4d |
refs/heads/master | <file_sep>
package emberekoop;
import java.time.LocalDateTime;
public class Ember {
private String nev;
private String szulDatum;
private String szulHely;
public Ember(){
}
public Ember(String adatSor){
String[] adatok = adatSor.split(";");
... | 018b5cde724aa9330f7718e63e6a6eb044e17d2b | [
"Java"
] | 1 | Java | Pallagidj/EmberekOOP | b48680a45afd247733cbbb2d5e98eda59dadca65 | ad3c4e24b044b1281c81e6191df265e4ae91bd7e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.