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>alekseizhezvaev/vue-notes<file_sep>/src/store/modules/note.js
import Vue from "vue";
import {
ADD_MESSAGE,
SET_NOTES,
DELETE_NOTE,
SET_GRID,
SET_SEARCH,
} from "../mutationTypes";
export default {
state: {
search: "",
message: false,
grid: true,
note: {
title: "",
de... | 3e448759a12c13c1c0edf39dbd93b5aad022bb9d | [
"JavaScript"
] | 2 | JavaScript | alekseizhezvaev/vue-notes | fc722ed68372c2f0e666a41fac563bec3af50df9 | bda1b5a51e0ef01896df90e545322bbb43c0a364 |
refs/heads/master | <file_sep>export const appRoot = '/'
export const signIn = '/sign_in'
export const signUp = '/sign_up'
export const home = '/home'<file_sep>import React from 'react'
import { Redirect } from 'react-router-dom'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { isAuth } from 'selectors/au... | 08a43a1e20db28744b6c674bd9da4ec11c39b76f | [
"JavaScript"
] | 11 | JavaScript | Kadaverin/incode | f8c7c0166791e842db946b43a390cd223721205a | b8f96500d08231425b8264204ad2726a8ce62152 |
refs/heads/master | <file_sep>using System;
using System.Linq;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Driver;
namespace MongoPractice
{
/// <summary>
/// copied from mongodb university
/// </summary>
public class HW2_1
{
/*Write a program i... | bcbaeb89d9d0dfe9c9b8bea398898d9c0c7e8e30 | [
"C#"
] | 3 | C# | KWJ2010/MongoPractice | 6eb3c36b6c9e6185b6932fb724252412deb53d50 | 9d6c83d4ff45d82678d0ac3e04447611b6c0a5ab |
refs/heads/master | <file_sep>import { Component, OnInit, AfterViewInit, ElementRef, Renderer2, ViewChild, Input } from '@angular/core';
import { forkJoin } from 'rxjs';
import { switchMap, switchAll, flatMap } from 'rxjs/operators';
import { Router } from '@angular/router';
import { Player } from '../shared/player';
import { Team } ... | eb23dbd3671fc49b3f616f335938af2f8db176f4 | [
"TypeScript"
] | 11 | TypeScript | cremmers/Fantasy-Track-Angular | f72e4319877f31b8ca228864f2a47f605a3c9d42 | 942fe2b924bdca0d3ba261f294a6af19847859b3 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace WebVentas.Areas.Users.Controllers
{
[Area("Users")]//Especificamos la Area del controlador
public class UsersController : Controller
{
public IAction... | 49dbe9bfdf32880e6be4362e0fa668fe0424a192 | [
"C#"
] | 1 | C# | gcajal/WebVentas | c6841addb0ba40309f0bee5f8a9b3d402127e5d7 | d6b22ef72e1edf813a2e7ddfa1308d304af31d6d |
refs/heads/master | <file_sep>/* eslint-disable react/prop-types */
import React from 'react';
// import PropTypes from 'prop-types';
import Popup from 'reactjs-popup';
import MapView from './MapView';
import '../styles/PopupCard.css';
const PopupCard = ({
listing,
date,
time,
venue,
address,
ticket,
location
}) => {
retu... | 8a79788bcaecbbfeb6e6bcb3d10399ff99a306bb | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | ellriffs/tonight-app | 1ce2f76dd9e3e18f2f5c7df654eb05ca9a7d1824 | b18de73a34f2404439b58a7e0817e7e3d4952742 |
HEAD | <repo_name>asutherland-aa/aa-data-science-alex-branch-test<file_sep>/old_investigations/generate_everything.sh
# This is an example of using various scripts to generate everything
declare -a countries=('United States' 'China' 'Japan' 'South Korea')
#declare -a countries=('United States')
declare year=2012
declare month... | 65b66154dd7d425ea1601251d9c89a8125e72450 | [
"SQL",
"Markdown",
"INI",
"Python",
"Text",
"R",
"Shell"
] | 284 | Shell | asutherland-aa/aa-data-science-alex-branch-test | 16dead254d7ebedd056e1b508a73a81429093964 | 4e998ded625514ea749b1510dad21aa9a695b54d |
refs/heads/master | <repo_name>chrisk3/php_misc<file_sep>/advanced2.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="A really awesome site!">
<title>PHP Assignment</title>
<link rel="stylesheet" href="advanced2.css">
</head>
<body>
<table>
<?php
// Write a program ... | 5c8b455ba6f6a08b188e863b967dfa4f388e24c7 | [
"PHP"
] | 2 | PHP | chrisk3/php_misc | 334e9e0545b3efbde861ceb3c8359c96c49ee0a9 | 846c5590289b9191e7c734efaf8486f493a0ff2d |
refs/heads/master | <repo_name>fengbujues/BlogTestProjectByJSP<file_sep>/src/org/blog/controller/registServlet.java
package org.blog.controller;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.... | 74e1580dd2c76db0edfc73ea2873597ac323d134 | [
"Java"
] | 2 | Java | fengbujues/BlogTestProjectByJSP | 4136735f4994b163006db594df14978336a11d88 | 9c5743e58d2a3d93e55c8e29b5d584a9785abbd0 |
refs/heads/develop | <file_sep>/****************************************************
** ���ߣ� Halower (QQ:121625933)
** ��ʼʱ�䣺2015-02-01
** ������jqGrid��չö��
*****************************************************/
using System;
namespace HalowerHub.JqGrid
{
[Flags]
public enum GridOperators
{
Add = 1,
Edit = ... | 83550a1b02b7cad561981b549ca1a78f40d5170b | [
"Markdown",
"C#"
] | 39 | C# | halower/JqGridForMvc | ad3e00ca1f4e9d9761015fe2c5411f41be7051a9 | dfa0c8cf2d506f105ca0fa64399d78226362b58c |
refs/heads/master | <file_sep>#!/bin/bash
#init led & button
echo 25 >/sys/class/gpio/export
echo out >/sys/class/gpio/gpio25/direction
echo 23 >/sys/class/gpio/export
echo in >/sys/class/gpio/gpio23/direction
#infinite loop
while [ 1 ]
do
#led ON
echo 1 >/sys/class/gpio/gpio25/value
echo "-----> Test for Raspiaudio MIC+"
echo "------P... | 0da6ee4b29d7db2db0b46ad7101f5b7a6379908d | [
"Markdown",
"C",
"Python",
"Shell"
] | 7 | Shell | AzureMentor/LoveBirds | 8472fbe42f414e04022cabf522f6d9241cae7f74 | 00684f141e765b0218a55a8833a49d7606d18e9f |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Redirect;
use Schema;
use App\Skilllang;
use App\Http\Requests\CreateSkilllangRequest;
use App\Http\Requests\UpdateSkilllangRequest;
use Illuminate\Http\Request;
use App\User;
class SkilllangController extends Controller... | 2747a9967c0724d38bcf71fd6d374221d5fe4b91 | [
"Markdown",
"PHP"
] | 23 | PHP | fajars87/fajarsuryanto.com | 1585c9b6b9640cbc9c2e33638a3ef9433d62bd8c | 268e02e9ca1cc40ea3c01a5a209fd96806fe12c9 |
refs/heads/master | <file_sep>package com.qw.sample.utils;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.provider.ContactsContract;
import android.telephony.TelephonyManager;
import android... | b478a1bfe509b826e8982d88f01e40ee7b7d6bfd | [
"Markdown",
"Java",
"Gradle"
] | 20 | Java | soulqw/SoulPermission | 1a5c1fa88e043282e153a9a8c0d5e8c04b71633c | 6630bd5b6d64ba45715a2a922e0393e79d4170ff |
refs/heads/master | <file_sep>"""{{ cookiecutter.plugin_short_description }}."""
from pathlib import Path
from typing import List, Dict
import os
import shutil
import subprocess
import sys
import time
import traceback
from fuzzywuzzy import process
{%- if cookiecutter.use_notifications == 'y' %}
from gi.repository import GdkPixbuf, Noti... | 454e9bbd54c9992c2dce58deb82690d77482d548 | [
"YAML",
"Markdown",
"TOML",
"Python",
"Dockerfile",
"Shell"
] | 61 | Python | bergercookie/awesome-albert-plugins | 706a2b9b73f303af31eb3cc7fada91791ee867d0 | 85c19c2057c909cca0975bd49d4755bd8af8087e |
refs/heads/master | <repo_name>echiacchiarini/OpenISA<file_sep>/ISA100.11a-master/ISA100_11a/code/current/nano-RK-well-sync/projects/SAMPL/slip-clients/pkt-scripter/.svn/text-base/main.c.svn-base
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
... | 7a42c524382734a4acd28ec73fc41fc548d263ea | [
"Markdown",
"C",
"Makefile"
] | 47 | C | echiacchiarini/OpenISA | b0d49a6e02aa7cf064dff93fc1806598eb2165b7 | f47f946b5917c614db22791029bbcfa66e7b165a |
refs/heads/master | <file_sep>The serverInit.sh script has been created to be run on a debian like system
that runs bash shell scripts and requires the mongodb-org-3.4.list file to be
added to install MongoDB.
The purpose is to deploy a MEAN application as taught by Coding Dojo.
At this time, it only clones GitHub repos.
To use this s... | 775f8ffab8ee6fc463be1ba27bbe0ebb5c982ac1 | [
"Markdown",
"Shell"
] | 2 | Markdown | globedasher/mean_deployment | 311dcf973ad6847bf84f8f657e35bd7b1c334ef5 | e91f68e1efcc03187e3390dfde87da6bb69ec467 |
refs/heads/master | <repo_name>tovarb/solucion-curricula-js<file_sep>/mi-primera-web/app.js
alert("Bienvenida al curso de JS")
| cbcdbb34ee9e56500bfa1d61f9da1e458d5674f5 | [
"JavaScript"
] | 1 | JavaScript | tovarb/solucion-curricula-js | 669117772c51f4b93e47780c45eb961ab485fb32 | 74d39cef3fc63e450503098ae10e2bbc4f70c6bd |
refs/heads/master | <repo_name>vijaychopra/ProgrammingAssignment2<file_sep>/cachematrix.R
## makeCacheMatrix and cacheSolve functions are used together to find inverse of a matrix.
## makeCacheMatrix caches the value of the inverse of the matrix so that it can be looked up
## in the cache when we need it again instead of recomputing it.
... | 664582714297a400c965b8421db658f67454ce0f | [
"R"
] | 1 | R | vijaychopra/ProgrammingAssignment2 | e00740cc1d00be1fb471e261677f0508cc12a773 | f9686eeacaae93f9c142ec63f0960f664a111663 |
refs/heads/master | <repo_name>steviesovak/LIRI-Bot<file_sep>/keys.js
console.log('Keys is loaded');
var twitterKeys = {
consumer_key: 'jvoKd1Z25wNcIVc271qxvq0jO',
consumer_secret: '<KEY>',
access_token_key: '<KEY>',
access_token_secret: '<KEY>',
}
module.exports = twitterKeys;
exports.spotify = {
id: process.env.SPOTIFY_ID,
... | 85c86c189d8f7da33882549c8fb2a839d1580273 | [
"JavaScript"
] | 1 | JavaScript | steviesovak/LIRI-Bot | e41cd40b2f73355dcd101a04e07808feeb595a9b | 32bcb96096e4c14665ba49e230774c01b5fc9a3d |
refs/heads/main | <file_sep>package com.example.demo.controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org... | 7f73a95fb7c0f80c27172f3647a89d9c717b70f9 | [
"Markdown",
"Java",
"SQL"
] | 5 | Java | AmyOuY/SpringBootMVCdemo | 5dd86c95ffa51dc37b1f8e89b43fe8508158fa70 | 8309e2b97a41ca3da7277d6f8c5c3066c8b14641 |
refs/heads/master | <repo_name>szomolanyi/TicTacToe<file_sep>/README.md
TicTacToe game - FreeCodeCamp project.
<file_sep>/src/unit_test.js
/*jshint esversion:6*/
const ft = require("./func_tools.js");
function unit_test() {
test_analyse('analyse move 1 ... ', ft.analyseMove(0, [], 'x'), {'trinities': 0, 'pairs': 0});
test_analyse('a... | 92c55385be0cf132be131e7ba46baaa77ca4db11 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | szomolanyi/TicTacToe | 8073ba8ced4a46f2c3707af085a60e37289676ac | 9d3b5955e38666938e047a11fbef202557ee549b |
refs/heads/master | <file_sep><?php
class L{
// Переменная для подключения к бд
static private $connection;
static private $arr;
static private $freeze = false;
static private function describe($table){
$q = mysqli_query(self::$connection,"DESCRIBE `$table`");
$qu = mysqli_query(self::$connection,"SELECT COUNT(1) FROM `... | bfb737bf5d4ec26daa28404d576a60af15e8420b | [
"PHP"
] | 1 | PHP | PeGrina/Lyricon-ORM | 7d757ba5883158b79c6c71bb8e4bedb899be3dc8 | 226620336f3bbae43d3470b21044d48c8f57df91 |
refs/heads/main | <file_sep>import requests
import json
from matplotlib import pyplot as plt
url = "https://apidojo-yahoo-finance-v1.p.rapidapi.com/market/v2/get-quotes"
querystring = {"region":"US","symbols":"AMD,IBM,AAPL,NKE,TSLA,FB,AMZN,NFLX"}
headers = {
'x-rapidapi-key': "<KEY>",
'x-rapidapi-host': "apidojo-yahoo-finance-v... | ff6fada3e162a40c36dc51afe34b52bc824ecc7f | [
"Markdown",
"Python"
] | 2 | Python | spencerkrebs/finance-matplotlib-python | 3f9f920578eddc2e68f397adee9290a59876a447 | be3503aa5304609b7034999dc84e49e73b413476 |
refs/heads/master | <file_sep>GCO
===
Gestion Commerciale Online
<file_sep><?php
mysql_connect("localhost", "root", "");
mysql_select_db("gestion");
$idcmdfour = $_GET['idcmdfour'];
//Import des élément de devis
$sql_cmd_four = mysql_query("SELECT * FROM `cmd_four` WHERE idcmdfour =".$idcmdfour);
$donnee_cmd_four = mysql_fetch_array($sq... | f2d853feb54e3643f9a509dadcd5daa968205510 | [
"Markdown",
"PHP"
] | 29 | Markdown | jbabinot/GCO | 1b9a31686050bf5e3d6ee6044c998ec7ab0b3005 | fb30a5e056de6de136e6a49f7d94599f1c4ff8d8 |
refs/heads/master | <file_sep>import LidFormModel from './lid-form-model';
export default class LidFormRepostModel extends LidFormModel {
constructor(obj = {}){
super(obj);
this.vu = obj.vu || false;
this.certificate = obj.certificate || false;
}
}<file_sep>export default {
siteId: undefined,
commen... | d9453dbac1f58a6a18d7427b69066d2633f656d9 | [
"JavaScript"
] | 9 | JavaScript | AntoXaPRO/ds-web-platform-client | 1a2c3fe58f2cf90ab842c517bbd505c0967afa5d | e412c97893c462651bedf90ee87051590c384e64 |
refs/heads/master | <repo_name>wahyu6070/kopigo<file_sep>/kopigo.go
package kopigo
import (
"fmt"
)
func hello(){
fmt.Println("hello world")
}
<file_sep>/go.mod
module github.com/wahyu6070/kopigo
go 1.13
| 4bf3a2edf3ad6ab0272bee898ad232a9aaa5d38b | [
"Go Module",
"Go"
] | 2 | Go | wahyu6070/kopigo | f65266bb91a5e29d88703c5b12e19bd514e63030 | fd4f29824baa0a3275c0ec102f5783233d114a42 |
refs/heads/main | <repo_name>GoncaloNevesCorreia/tic-tac-toe<file_sep>/README.md
# Tic Tac Toe With Socket.IO
Este projeto suporta uma conexão em tempo real entre dois jogadores, com Socket.IO, um chat de conversa e sessões de utilizadores.
<file_sep>/modules/user.js
const fs = require('fs');
class User {
constructor() {
t... | 97c9926ca2c6c4b51e30d8c2fba8612e39662d0f | [
"Markdown",
"JavaScript"
] | 6 | Markdown | GoncaloNevesCorreia/tic-tac-toe | 8943d72cc4fa22d9dd890a76965c96a438855ed6 | df763459af20df1fb6efb645ad382427e1ed46d7 |
refs/heads/master | <file_sep>import numpy as np
import pandas as pd
import copy
import math
# 计算某一属性中的最大增益的对应的分割点和增益值
def splitpoint_gain(data, ii, Species):
data1 = copy.deepcopy(data)
data1 = data1[data1[:,ii].argsort()]
splitpoint = [] # 切分点的集合
species_num = [] #所有分裂点之前的分类情况
L = len(data1)
n1 = 0... | 5725f260e3331b0e0e31166f1356198f7f315b82 | [
"Markdown",
"Python"
] | 5 | Python | Hello430000/Python | 6976ce5b75b26634bc6d7abe4fb04c728317c086 | b2d64d3698d790270081a401281de3fdc1b163fd |
refs/heads/master | <repo_name>19narek97/github-users-list<file_sep>/src/view/Users/Users.js
import React from "react";
import {Col, Row} from "react-bootstrap";
import "./Users.css"
import UsersList from "./UsersList";
import Skeleton from "antd/es/skeleton";
import {Input} from "antd";
import FormUser from "./FormUser";
import Button fr... | 9ea4cae4843dada98ffe9b8557846dde9301940c | [
"JavaScript"
] | 6 | JavaScript | 19narek97/github-users-list | 4d36b51e22494adb16d40e2e8295f8a67f0cd3fb | 8659f63d0f5a264f6bad88b962d0c7a6540f5c73 |
refs/heads/master | <repo_name>GeetanjaliNaik/WeatherApp<file_sep>/app/src/main/java/com/geeta/weatherapp/data/weather/LocationModel.kt
package com.geeta.weatherapp.data.weather
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "locationData")
data class LocationModel(@PrimaryKey
va... | b45c69dac9ede4765cc5534bfb4786bfb5da2691 | [
"Kotlin",
"Gradle"
] | 39 | Kotlin | GeetanjaliNaik/WeatherApp | 486b9fea69206c6b2163c3e5f4ca5be709f9c75c | 267d81177aa9427e3eca655fa013a52874a928a0 |
refs/heads/main | <file_sep>#include <entt/entt.hpp>
#include "pch.h"
#include <Kiss/systems/spriteMove.h>
#include <Kiss/systems/SpriteSheet.h>
#include "assets/data.h"
using namespace kiss;
ecs::flipbookData Anims[] = {
{ 1.f, id::spr::RectAnim1, 3}
};
namespace ecstest
{
entt::registry world;
void init(f32 w, f32 h, int numEn... | 10c1d9d9119b6d12700451290e5a0721022bb2b9 | [
"Markdown",
"C",
"C++"
] | 9 | C++ | Paolo-Oliverio/KissBasicSample | fab3d893581c350528bf6c119dde464cdbe2f12e | 311c478e3b103706e6cd799ec56375182cdc5b74 |
refs/heads/master | <repo_name>GGStudio/Clear-Sudoku<file_sep>/app/src/main/java/com/ggstudio/clearsudoku/engine/Group.java
package com.ggstudio.clearsudoku.engine;
import com.ggstudio.clearsudoku.engine.Enums.*;
public class Group {
public Cell[] cells;
public GroupType type;
public Group(GroupType groupType, Cell c0, Cell ... | 9518530fb521ac1b770556f8dad927711084d98f | [
"Java"
] | 7 | Java | GGStudio/Clear-Sudoku | 0a4622b53cacf53b853029feea0e70ea4109d85d | 55ee01ab042f148b6d83b0ab75bda39981d02582 |
refs/heads/master | <file_sep>#!/bin/python3
from pwn import *
context.clear(arch='i386')
filename = './write432'
elf = ELF(filename)
io = process(filename)
# gadgets
r = ROP(elf)
pop = p32(r.edi.address)
mov = p32(0x8048543)
bss = elf.bss()
# main
r.raw(cyclic(44))
# 1st write
r.raw(pop)
r.raw(p32(bss))
r.raw(b'flag')
r.raw(mov)
... | 2d55cdbe293c9324901293ddd85609e6f2080317 | [
"Markdown",
"Python"
] | 16 | Python | oopsmishap/rop-emporium | 81d86ce6fb5d5a8b98a1ac7f313c209e51202891 | add1fd24716429e162d3cf20ea3b72f3223539a1 |
refs/heads/master | <repo_name>Morigun/PathCreator<file_sep>/PathCreator/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace PathCreator
{
class Program
{
static ElementPath[,] ep;
/*Текущий путь*/
... | 41de11a20b5a6996ef7e450151d1e2a203a6c6b4 | [
"C#"
] | 4 | C# | Morigun/PathCreator | 3a779aa8bb6d1a97e549ad01a400d96a202fd515 | 8e4ec4b77f7ca58884f5278b82c2e65a40dafec7 |
refs/heads/master | <repo_name>B15IP/PIPv37<file_sep>/PIP/OrganizatoriEveniment.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class OrganizatoriEveniment : System.Web.UI.Page... | ebdd49ca09fdc0a4135a26198df92c9ffacb553a | [
"C#"
] | 8 | C# | B15IP/PIPv37 | 2eb03115bc05ba618725c04d46c82945fb068266 | 73b5141dfb54213e70aedf995d16f666a63e32a7 |
refs/heads/master | <repo_name>santhi-swaroop/assignment<file_sep>/os.c
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include<string.h>
#include<unistd.h>
#include <signal.h>
struct bridge {
int north_waiting;
int north_crossing;
int north_consecutive;
int south_waiting;
int south_crossing;
int south_consecutive;
... | 0793be325df2fc83f4a66d842fb27b8c6884bf78 | [
"C"
] | 2 | C | santhi-swaroop/assignment | 2da0915b5672d90da1145934e96f1fa6a146e16f | 9c81260b85c82f787517526ebc8d5eb0142ea9cf |
refs/heads/master | <file_sep>#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
__visible struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanu... | 8cc4233b3511648867d315f02097fe430afa63c1 | [
"Java",
"C",
"C++"
] | 48 | C | urotanke95/RobotPrograms | f0f45f0072e801350e17f8ec60b5db3443928c4f | e2316771c0cb823eb88aad2cea94f7e183c2a838 |
refs/heads/master | <file_sep># code-library
[](https://travis-ci.com/nju-calabash/code-library)
[](https://codecov.io/gh/nju-calabash/code-library)
Standard Code Libr... | 2ef6256735de73244c0f17f276aecb637049c012 | [
"Markdown",
"Makefile",
"Python",
"C++",
"Shell"
] | 12 | Markdown | nju-calabash/code-library | 5db8e05c9fa415cb0b0191e75dc62bd1e0445b4e | 5a104b6b7a8d4d66d7289a45438b18675b4e2be1 |
refs/heads/master | <repo_name>tjaart/fluent-proc<file_sep>/FluentProc/ProcessRunner.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Tests
{
public class ProcessRunner
{
public ProcessRunner(string processPath)
{
ProcessPath = processPath;
... | 19f46fea96f00c566399e8e65c30e4dcf410e3f3 | [
"C#"
] | 5 | C# | tjaart/fluent-proc | 327608ad06a7e4c9d7888d502d79c102ad886afa | 30802a5ea2702a027ba4a500245720b8bde22803 |
refs/heads/master | <file_sep>
module.exports = {
"server": {
"baseDir": ["./src", "./build/contracts"]
},
"port": process.env.PORT || 3000,
"open" : false
}
<file_sep>var ZainCoin = artifacts.require("ZainCoin");
module.exports = function(deployer) {
deployer.deploy(ZainCoin);
}<file_sep># zaincoin
Simple i... | f7de74588159222f1de528099ab7280604634ddd | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | sprect8/zaincoin | fa3410d846130b4ad92d2a48f60419ac2b905eb2 | 0a752b499d01f618e2e8e8ee5edbdfb6a356c6b3 |
refs/heads/master | <repo_name>fanzeyi/castform<file_sep>/Cargo.toml
[package]
name = "castform"
version = "0.1.0"
authors = ["<NAME> <<EMAIL>>"]
[dependencies]
actix = "0.7"
actix_derive = "0.3"
actix-web = "*"
clap = "*"
failure = "0.1"
futures = "0.1"
hyper = "0.12"
hyper-tls = "0.3"
http = "0.1"
serde = "1.0"
serde_derive = "1.0"
ser... | 5f2920903934b603a041bd63a0b496e0763c5cb2 | [
"TOML",
"Rust"
] | 7 | TOML | fanzeyi/castform | e367208c574b8cd50a1a6a12133be68b469710bf | d7f23dceb0a5a27bc6c3d415d566e4ba1b50572b |
refs/heads/master | <file_sep># Qoala Devops Test Case 1
# Before you begin (Python >= 3.8)
## pipenv
### Install pipenv
If `pipenv` is not yet installed, please do by `brew install pipenv` or `pip install pipenv`.
To bootstrap the project after pipenv is installed, do `pipenv install`. To activate the python virtual environment use `... | cb5e2eabc1f43ae62bec208d0880b0b988fabb42 | [
"Markdown",
"TOML",
"Python",
"Makefile"
] | 4 | Markdown | qoala-engineering/devops-test-case-1 | 90a86f1e39b2eaaecd11fd1954d56337682f0ace | 6550551c597c5aefc18f319eaa27d4284495ba7c |
refs/heads/master | <repo_name>TheCoderDream/Native-JS-Github-Profile-Searcher<file_sep>/app.js
const githubApiService = new GithubAPI();
const ui = new UI();
let toasterIsActive = true;
const searchUser = document.getElementById('searchUser');
document.addEventListener('DOMContentLoaded', () => {
searchUser.value = '';
});
searchUs... | 049f82ccb7579c90e970d8e193735c6d2309ea4f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | TheCoderDream/Native-JS-Github-Profile-Searcher | bb9c8edef7dc05e6b4ce207cf4f3f3775ff2dbe7 | 7f425c680b5f1e48e131a77966f991cd44eefb18 |
refs/heads/master | <file_sep>import React, {Component} from 'react';
import {
StyleSheet,
Text,
View,
ScrollView,
TextInput,
TouchableOpacity,
Alert,
Image,
} from 'react-native';
import {getUser} from './../module/login/store/action';
import {connect} from 'react-redux';
import EmpImage from './../common/image/emp2.jpg';... | e4910fcda1144cff88f68cd8f09a598def6788d0 | [
"JavaScript"
] | 3 | JavaScript | Navyasiddi/DemoLogin | 35178ae97d9801ec3d40ccb8e0515de260ec768a | 0b9bf7d5049a679f90a979bdf62d2dd74c6b5ead |
refs/heads/master | <file_sep>import re
class Assembler(object):
def __init__(self,stringStream):
self.lines = stringStream.split()
self.output=""
self.symTable={
"SP":0,
"LCL":1,
"ARG":2,
"THIS":3,
"THAT":4,
"SCREEN":16384,
"KBD":24576
}
l... | 99fabfe3be2608b7c4135884e45cca81eb19b16d | [
"Python"
] | 4 | Python | hubbazoot/ecs07 | 833e727d70e9c179cd30cdf24b75f79551a053b3 | 9bde72e587041525b82aebe3ae16b7d0cdd60e4b |
refs/heads/master | <file_sep># Pokedex
Pokedex made with PokeAPI.
<file_sep>angular
.module('pokedexApp', ['ui.router'])
.controller('HomeController', HomeController)
.config(function($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise('/home');
$stateProvider
.state('home', {
... | 62b51e05399b22a7cbf95168e59a7306889e3ec7 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | almermbn/pokeapi | b36611ebea1919e814b1ec5817f7601abaf028a5 | 4fb3c0618c09efa5740b0461be17f0c3f70d77bb |
refs/heads/master | <repo_name>Julone/QianDianQM<file_sep>/vue.config.js
const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const webpack = require('webpack')
const isProduction = process.env.NODE_ENV === 'productio... | 43621bff22b45a526b138b99aa55c02647d4899a | [
"JavaScript",
"Markdown"
] | 16 | JavaScript | Julone/QianDianQM | 0df22ff5b70ef20e01b2fd4a879894b520acf9fe | 7d26175de614be292e40aa22c2a132817b840ab2 |
refs/heads/main | <file_sep>import re
import json
import js2xml
import requests
import datetime
from slugify import slugify
from itertools import repeat
from bs4 import BeautifulSoup
class SimeparAPI:
def __init__(self, municipio):
if not municipio:
raise Exception(
"É preciso informar um código... | f5bf6a7eb9cbc1b675e19a210763fb15ab4f1e55 | [
"Markdown",
"Python"
] | 3 | Python | aniltonjunior/simepar-api | e8b15c50d0bd26dbf8cb9356cfe76cf756337353 | 3fbe3bff54c2e71ffe3d03a8cbb7c217e16f9814 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <conio.h>
int main(int argc, char* argv[])
{
FILE *in;
fopen_s(&in,"pict.jpg","rb");//открываем указанный в аргументе файл для чтения в бинарном режиме
if (in==NULL)
{
printf("Can not open the file");
_getch();
return 1; //выход
}
fclose(in);
_getch();
return... | 3b1204a1f310c71a5758c61db30ef45e79883046 | [
"C"
] | 1 | C | emeraldtune/sepia_filter | c25ce3c04e2ddbf319897b5e38e2fc2b2a9e7e58 | ebb33aec785ecb353379f65a558783ff5de362ea |
refs/heads/master | <file_sep># -*- coding:utf-8 -*-
import requests
import json
import time
"""
目标:尝试爬取西瓜视频
"""
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36",
"cookie": "td_cookie=2895957341; wafid=aa79e1cd-16dc-421b-b94d... | a2b4dd5d34fa89f02ccaf9585d0b4b9dfe96e2c5 | [
"Python"
] | 1 | Python | pengjinfu/Net-Spider | 570c2c79a2c160260bd3b6a7dd884f6885f91e31 | 720691393606493a02032bee6bcd66515fbb1ebc |
refs/heads/master | <file_sep>import React from "react";
import { View, Text, StyleSheet, StatusBar } from "react-native";
import PropTypes from "prop-types";
import { MaterialCommunityIcons } from "@expo/vector-icons";
import { LinearGradient } from "expo-linear-gradient";
const weatherOptions = {
Haze: {
iconname: "weather-fog",
... | 011fed2734551e81eaa7acd7b3f3d1e6e21ad8a8 | [
"JavaScript"
] | 1 | JavaScript | hyun-jip/zivi_weather | 9f85ac4783c1a0ee0053153a2f46aa6afbd3f80b | 0afd89042de50a4e29859c3b3efd632d15e1edb6 |
refs/heads/main | <file_sep>player1name=localStorage.getItem("player1name");
player2name=localStorage.getItem("player2name");
player1score=0;
player2score=0;
qturn="player1";
answerturn="player2";
document.getElementById("player1name").innerHTML=player1name+" : ";
document.getElementById("player2name").innerHTML=player2name... | a2f6ec8e6e2161928715c738aa15032d379b8c58 | [
"JavaScript"
] | 1 | JavaScript | SSD2009/Guessthe-word | a21286a654dee2c4a38019c58f2bd5317afdfaf1 | dc99595af73ba34b50f9cc957490f490d845eaf7 |
refs/heads/master | <repo_name>Tomiaz/kinesivan-starbound-mods<file_sep>/CreativeMode/objects/wired/scriptbox/scripts/randomweapons.lua
-- Randomized weapon script
function randomweapons(panel)
self.weaponRarity = "common"
self.weaponLevel = 1
self.weaponClass = "assaultrifle"
self.guntext = ""
self.slider = Slider(75, 50, 120,... | 0a4c92783be69c40e55927bbf34b393a93bbca6e | [
"Lua"
] | 7 | Lua | Tomiaz/kinesivan-starbound-mods | e8337a70cc3d91b014316b1163ae70bbf65a7061 | 0c4f11a60a063fb4bbf04b5657e27c12f70a9f5b |
refs/heads/master | <file_sep>import * as types from './types';
import { getStreams, getHasPlayed, getIsFirstItem, getIsLastItem } from '../reducers';
// Sockets config
const SOCKETS_HOST = `ws://${window.location.hostname}`;
const SOCKETS_PORT = 8000;
const SOCKETS_ENDPOINTS = ['/stream/1', '/stream/2'];
let sockets;
// Action types
ex... | 9f2433b9703fe6a3895c8f6e1f59c1e77f2ea5bc | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | soyguijarro/matchdux-client | 529075d3e22b8707100b62b768f07c9bfb67d878 | 5791c84a8e2af8e452c1d2d8c1276f8126f68918 |
refs/heads/master | <file_sep>package com.eekrain.amikomparking;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerVie... | 8e40ed5d2e909b0d740d662b1ff6106342161e05 | [
"Java",
"Gradle"
] | 6 | Java | irfan1775/AmikomParking12 | 749fc724301eb4c017695eb2c1ef33d645522b26 | 17a6cc73d682a7c7555add65f275017c41f52502 |
refs/heads/main | <repo_name>MehboobSingh/Nabonett<file_sep>/NabonettWebAPI/Controllers/UserController.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Core;
using Core.Entities;
using Microsoft.AspNetCore.Mvc;
namespace NabonettWebAPI.Controllers
{
[Route("Users")]
public class UserController: Controll... | 1810d87c613b5447c54a4cd46ab64f8af9243adf | [
"C#"
] | 4 | C# | MehboobSingh/Nabonett | f5a5970fa085b8358234bb3a6e2381d9a3cebb33 | 16e9dd3a269c8f1c23d35accbc1d18f9bc4141d9 |
refs/heads/main | <repo_name>TaifBinEid/Builder<file_sep>/PizzaDesignPattren/PizzaDesignPattren/Program.cs
using System;
using System.Collections.Generic;
namespace PizzaDesignPattren
{
public interface IPizzaBuilder
{
// This is the basis for building any pizza
public void BuildDough();
public void Bu... | 045284a1b2152da7517980ea0db0c70051e4615e | [
"C#"
] | 1 | C# | TaifBinEid/Builder | 4b839f24f1fbb76d8563d29f38b85d954d11c8a9 | c902d143af39608c607931ef70a7696ffb0d9cc4 |
refs/heads/master | <file_sep>package by.ansgar.catcher2d.main;
public class Main {
public static void main(String args[]){
new GamePanel();
}
}
<file_sep>package by.ansgar.catcher2d.util;
import java.awt.RenderingHints.Key;
import org.lwjgl.input.Keyboard;
import org.lwjgl.opengl.Display;
import by.ansgar.catcher2d.entity.En... | 9a2a3be33e6f76fd217e16e7595b79c3e7a249b6 | [
"Java"
] | 5 | Java | kirilamenski/Catcher2D-LWJGL- | 831acc20a2effd650a11d552c2ac5a6b2769b095 | 02452ccc7b4557b29e76155acb1134cf8efe71b8 |
refs/heads/master | <file_sep>import pyttsx3
import datetime
import speech_recognition as sr
engine = pyttsx3.init('sapi5')
voices = engine.getProperty('voices')
engine.setProperty('voice',voices[0].id)
def speak(audio):
engine.say(audio)
engine.runAndWait()
def wishMe():
hour = int(datetime.datetime.now().hour)
if... | 42fc2a3d24b4d5626cbf0c36b9fa92077caa4b25 | [
"Python"
] | 1 | Python | Vishal-Saroj/DomdooUsingPython | d2e00a6d3fb08597ffca27705e75443d67a5427a | 3a4c4079d68f9300a79b23a709e3dacd0bec9dfe |
refs/heads/master | <file_sep>#!/bin/bash
sudo yum update -y
sudo yum install -y httpd
sudo bash -c 'cat << EOF > /var/www/html/index.html
<HTML>
<HEAD>
<TITLE>
Hello World
</TITLE>
</HEAD>
<BODY>
<H1>TEST</H1>
<P>This is test "hello world" HTML document.</P>
</BODY>
</HTML>
EOF'
sudo systemctl restar... | 863c9978dbfb1b702e17fd6feb462672ee1bb478 | [
"Shell"
] | 1 | Shell | barkayw/hello-world-html | 41561240ed84e63b55ab2b240b100d06709f41dc | 55236f067617b39bfa57f7d5e2aa8db988d3741a |
refs/heads/main | <file_sep># Capstone-Project-Manager
This project is building project manager used to save building and employee details
## How to use
User must input project details such as building type,erfnum,cost and employee details such as names,numbers and emails.
all info will be save and a receipt will be printed out
<file_se... | 09da38920e8f5a638de870433ce83b9eeac08779 | [
"Markdown",
"Java"
] | 3 | Markdown | cloudeuz/Capstone-Project-Manager | c5e38ad14d6e1ef5e05059a7d4cf99a2d6dfc903 | bd5de8352de32897be5dac28390ffb294d6005dd |
refs/heads/main | <file_sep>var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
var name1 = 'Niraj3';
var datajson = { title: 'Express3', loginname: name1 };
res.render('index', datajson);
});
module.exports = router;
| 8f1e5c082023d14765b0b7deed6415bb1df1a835 | [
"JavaScript"
] | 1 | JavaScript | NirajChamp/myExpressApp | d34e86c104894e3fbe5bc708124c4cff3da58aef | a030a90ce3ed79b21cc1583a69f29c7798a9c102 |
refs/heads/master | <repo_name>GastonLell/budget-control<file_sep>/src/components/ExpenseItem/ExpenseItem.js
import { Stack, Text } from "@chakra-ui/react";
import PropTypes from 'prop-types';
const ExpenseItem = ({description, count}) => {
return(
<Stack d="flex" direction="row" justifyContent="space-between" p={2} borderBot... | 604c5628c58486020843e2d47443c42df9009e13 | [
"JavaScript"
] | 4 | JavaScript | GastonLell/budget-control | 406cad060fa4fa68132a6fb7fd0b546b066ecca2 | e8ee6e124a32dbe5a744b1a5feee7fcec4c41fb4 |
refs/heads/master | <file_sep>class AppointmentsController < ApplicationController
before_action :set_appointment, only: [:show, :edit, :update, :destroy]
before_action :set_objects
# GET /appointments
# GET /appointments.json
def index
@appointments = Appointment.all
end
# GET /appointments/1
# GET /appointments/1.j... | 61f0f06013144b6fa72f88706ab2a18dd8d8e561 | [
"Ruby"
] | 1 | Ruby | pchhatwal/sandbox | 03c67d9b9975fe1d1cda472d52463f1dc01991c3 | 01748e1dde892f6937c31c9cd45318cc2173ee6e |
refs/heads/master | <repo_name>TechLord-Forever/codemeter<file_sep>/CodeMeter/CodeMeter.HttpService/Migrations/Configuration.cs
namespace CodeMeter.HttpService.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMig... | cb7ac3adec5ed1db3d75a68f9da7158b5d383069 | [
"JavaScript",
"C#",
"Markdown"
] | 18 | C# | TechLord-Forever/codemeter | 5787ea21fc84d5f12d73c281a86ef7833850bf2a | 4c33f909c476feceaafd2320a78a30e9fcec2553 |
refs/heads/main | <repo_name>itstep-python05/HR_DEP<file_sep>/hrdep/config.py
from flask import Flask
from flaskext.mysql import MySQL
app = Flask(__name__)
app.config['MYSQL_DATABASE_HOST'] = 'TarasKorneev.mysql.pythonanywhere-services.com'
app.config['MYSQL_DATABASE_USER'] = 'TarasKorneev'
app.config['MYSQL_DATABASE_PASSWORD'] = '<P... | 2a00a5a89a626525cabade8704ef2c132807285a | [
"Python",
"Shell"
] | 2 | Python | itstep-python05/HR_DEP | 0c0068ba49048c9acb80337c02cffe3383542164 | 69fce3277060dd2bdf1b7a4adcc381047631a6eb |
refs/heads/master | <repo_name>kyledws/musicplus<file_sep>/MusicPlus/Models/Playlist.cs
using System.Collections.Generic;
namespace MusicPlus.Models
{
public class Playlist
{
public string Name { get; set; }
public List<Song> Songs { get; private set; }
}
}<file_sep>/MusicPlus/Models/Album.cs
using System.Co... | 42119fa87c59247ab7d33fdfd0432e1b802c89e7 | [
"Markdown",
"C#"
] | 7 | C# | kyledws/musicplus | 7e092c6fb4bd9291514e3e66953bf24bd2ddada6 | ef56940a1a4869e53d1b7e349de58211161f00be |
refs/heads/master | <repo_name>sazelkhokhar1/helloworld<file_sep>/credentials.py
import mysql.connector
import os
mydb = mysql.connector.connect(
host="localhost",
port="3306",
user="root",
passwd="<PASSWORD>"
)
print(mydb)
SQL2 = "CREATE TABLE sys.customers (name VARCHAR(255), id VARCHAR(255))"
SQL3 = "INSERT IN... | 4fe3b39f77c2c23a6e39022d8dacbdd962a049f6 | [
"Python"
] | 1 | Python | sazelkhokhar1/helloworld | 84e137df370fc7c6054873184bbe9cf3c43d3117 | 7d6a197944602b08eecda0788440d42695b5d6e9 |
refs/heads/master | <repo_name>rra-am1x-2017/blokcijferapp<file_sep>/src/pages/home/home.ts
import { Component } from '@angular/core';
import { NavController, AlertController } from 'ionic-angular';
import { RapportenProvider } from '../../providers/rapporten/rapporten';
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})... | 0e7152d3cc9c490af36543cbd95477122a577e60 | [
"TypeScript",
"PHP"
] | 5 | TypeScript | rra-am1x-2017/blokcijferapp | c066907dedaef8077fbfc7db4da310d0a3f93cba | 2680a0b1bc213d582915510392c3d885b9d8ddb4 |
refs/heads/master | <file_sep># Use an official java runtime as a parent image
FROM openjdk:8-jdk
COPY friend.management-1.0-SNAPSHOT.jar /home/friend.management-1.0-SNAPSHOT.jar
# Make port 8080 available to the world outside this container
EXPOSE 8080
# Run friend management when the container launches
CMD ["java", "-jar", "/home/fri... | a4646e4e42cae127ab47962c66b683223b0272db | [
"Markdown",
"Java",
"Dockerfile",
"YAML"
] | 5 | Dockerfile | yaserwang/friend_management | d24dc0b653e79afbcd5461d0b870670ea57cdf5a | 1eb26e82a52c518b99cfd743ee265c303609697b |
refs/heads/master | <file_sep>import React from 'react';
import { Link } from 'react-router-dom';
import "./Header.css";
import SearchIcon from '@material-ui/icons/Search';
import LocalMallOutlinedIcon from '@material-ui/icons/LocalMallOutlined';
import { useStateValue } from './StateProvider';
import AccountCircleOutlinedIcon from '@mate... | 294bde1941b2522ef8dd22ab905e25f2dbb2b862 | [
"JavaScript"
] | 1 | JavaScript | haziqothman/HHD-tech | c77ba5a11adce252fc7e9eb60d9c6925a9abb803 | 16cfd014803eec402b41f6a72e1e1430c4ed0640 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApp2
{
public class MessageViewModel : INotifyPropertyChanged
{
private string _contenu;
public string Contenu
{
... | 2beecf9d47e5f4a3dee329ed14e56c37a1c33465 | [
"C#"
] | 2 | C# | antoine4790/WpfApp | 6589521f22044dd54bad1e404bfe2a3ea4cb0704 | ccc1ed20d88f07061fb0eef90a90dfcd3f98f00e |
refs/heads/master | <repo_name>destimon/python-telegram-bot<file_sep>/bot.py
from datetime import datetime
import telebot
from profanity import profanity
from config import config
bot = telebot.TeleBot(config.token)
help_message = "/time - Get actual date\n/word [WORD] - repeat word"
time_message = "The actual time is: " + str(datetime... | 87bd74593aa8c4c6a3fbea3de32b2c9eccedfa89 | [
"Markdown",
"Python"
] | 3 | Python | destimon/python-telegram-bot | 273519a8ea2471bb053c75edaa7532819b0a16b6 | 8e9deea775fc1560f6dcfcd7f157755ad0526fae |
refs/heads/master | <repo_name>hieuthanh1999/StoreHongAn<file_sep>/views/sanphamlienquan/sanphamlienquan.php
<!-- related product area start-->
<div class="related-product home2">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="product-title">
... | f90ebf154ba3f0e2c8edb2f3ff43936d3016ee83 | [
"SQL",
"PHP"
] | 64 | PHP | hieuthanh1999/StoreHongAn | 0d6ca45b212e12ecb9a45642348c9e97a7884c03 | 2fe9dc9e78eef4f5813c74952361de09485d19d9 |
refs/heads/master | <repo_name>swilczynski/ZendServerWebApiModule<file_sep>/config/api/version-1.9.config.php
<?php
return array(
'min-zsversion' => '8.0',
'console' => array(
'router' => array(
'routes' => array(
'apmGetUrls' => array(
'options' => array(
... | 63a67a62cf8c56507f763b5866440098cf36be26 | [
"PHP"
] | 1 | PHP | swilczynski/ZendServerWebApiModule | 46636ebc18ecf39401f82c7d6da2b474b4082e45 | b0d2bb053e8b11cc7b6f72819f5d1e87684cb986 |
refs/heads/master | <file_sep>using System;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
namespace Hilos
{
/// <summary>
/// Lógica de interacción para MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public delegate void actualizarIU(TextBlock textBlo... | f30b102dedc306a8b6f5d392ac3fa032ac2faa71 | [
"C#"
] | 1 | C# | BaezCrdrmUV/contador-hilos-bet160 | ef58a99991506e08ed11b7566924eb50ea802198 | efab493309e46e67caca276e3c0412b47d95c339 |
refs/heads/master | <repo_name>tianqy/ll1_syntax_analysis<file_sep>/README.md
# ll1_syntax_analysis
LL1型语法分析程序(c#)
该项目由c#语言开发,基于winform实现了界面操作。设计界面无控件,控件全部在代码中完成,所以界面都能完好还原,移植方便。
此程序在固定文法和分析表的基础上完成分析功能,要求操作的时先输入符号串,选择开始分析后进行语法分析。
<file_sep>/LL1/Process.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Te... | 9e042b8a39a3ec5e026e92f9851ff3d39155924b | [
"Markdown",
"C#"
] | 3 | Markdown | tianqy/ll1_syntax_analysis | 8c8e3b9aaf7618632aa923333fbd6c5dca240856 | f710cfad6bc9071134a32005555264fc4d3608f3 |
refs/heads/master | <file_sep>let display = document.getElementById("display");
let gradeHigher3 = document.getElementById("gradeHigher3");
let femaleWithGrade5 = document.getElementById("femaleWithGrade5");
let maleSkoje18 = document.getElementById("maleSkoje18");
let femaleOver24 = document.getElementById("femaleOver24");
let maleOver2S... | 7787b35c778fdd1c0b01ae3d12dde26ab139f1cc | [
"JavaScript"
] | 8 | JavaScript | Dejan-Stojkoski/Homeworks-JSAdvanced | 1470b8c7628961481e76cf2653d21294861d4fbb | 6fad8f875d03b7a9352d5e6f120ef662521ece49 |
refs/heads/master | <file_sep>package repository
import (
"github.com/go-foward/abroad/domain/agency/dbmodels"
)
// AgencyCreator interface
type AgencyCreator interface {
Create(agency dbmodels.AgencyDatabaseModel) (*dbmodels.AgencyDatabaseModel, error)
}
// AgencyEditor interface
type AgencyEditor interface {
Save(agency dbmodels.A... | ca4ad54586feb7f70528d2068325605e8f7971b3 | [
"SQL",
"Makefile",
"Go",
"Go Module",
"Dockerfile"
] | 17 | Go | lucas-rds/golang-abroad | 0a58d1e7a3bc477f768ba4568e2243c76620632a | 29b22ef1e65088f1447ffb4ce5365ec04cf4509a |
refs/heads/master | <file_sep># Design-Patterns
Code from the course by <NAME>
<file_sep>// Pimple Idiom
// hiding the implementation of a particular class by sticking it to its
// implementation.
// By this we are hiding the details of the implementation.
// The details go to the cpp files and are not provided to the client of the code... | a5310d40c3afd619edb5ac33416c3bd7239afa3b | [
"Markdown",
"C++"
] | 4 | Markdown | ArshaShiri/Design-Patterns | 6cdfa2ab2b6a20f07cc229ad0d9c1824997b4814 | 34b3dcac41dcc36c188d40924a463264f0bcaf71 |
refs/heads/master | <file_sep>#!/bin/bash
awk -vORS="" -F"[][ ]" '{print $1}' a_out.txt >> testvector.txt
awk -vORS="" -F"[][ ]" '{print $1}' b_out.txt >> testvector.txt
awk -vORS="" -F"[][ ]" '{print $1}' c_out.txt >> testvector.txt
irun \
-clean \
-access rwc \
+define+TEST=20 \
-input run.tcl \
tb.sv \
decoder.v
... | 79bb6bf0555f29e95e5cb6546a0c77487a0ae549 | [
"Markdown",
"Shell"
] | 4 | Shell | jakesanggulee/PTM-Packet-Decoder | 3facd07ee54054e9ad4ebc481dea9fa44eb3d840 | 03fa306ee3d5cb4289790a0247debcd67a9ea25e |
refs/heads/master | <file_sep>/*!
* Demo v1.0.0 (https://www.ringer.it)
* Copyright 2017-2020 <NAME>
* Licensed under the GPL-2.0-or-later license
*/
console.log("WE LOVE TYPO3");
<file_sep><?php
namespace Ringer\Demo\ViewHelpers;
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInte... | d71d26035f159d94252c438f7ea8736b2e94e2e4 | [
"JavaScript",
"PHP"
] | 2 | JavaScript | kwm-code/demo2 | 89e47254da20e62b31eb109e3e5ace297cddd932 | 6fb52d463fa2c7dd0600f9fe492c1b4abc9dd77d |
refs/heads/main | <repo_name>MHAsenjo/solicitud-datos-personales<file_sep>/programa1.py
#este es un programa, que pregunta tu nombre, apellido, edad, direccion, fecha de nacimiento
#email, telefono. Además, debe sumar la edad y año de nacimiento
nombre = input("buen dia, estoy completando ti ficha, por favor dime tu nombre: ")
apellido ... | f852721ce147c849668c65f349a3a3ab906ca406 | [
"Python"
] | 1 | Python | MHAsenjo/solicitud-datos-personales | d8d82e1a86e5c87ec477afdcd0aa3b7244869e51 | f0646f6b447a5688ec8112fdffd2f38b06bd14ae |
refs/heads/master | <file_sep>/********************************************************************************
STARTING MAP
********************************************************************************/
function initialize() {
var mapOptions = {
center: { lat: -34.397, lng: 150.644},
zoom: 8
};
var map = new google.maps.Map... | 97b4b70ba854661aaf38d61144711672750f5dc8 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | Jordan-Holt/FarAway | 0d6fea7fb355e9314ed5a3b87dfd82f8e7a8e831 | 2ccc785ac8db6d2b4f1a7186d1c105a89439b318 |
refs/heads/master | <repo_name>firefinchdev/Simple-Notes<file_sep>/app/src/main/java/com/softinit/notes/AddEditNoteActivity.java
package com.softinit.notes;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import a... | d6b49b844709db1a904297bfa738736cde8696bd | [
"Markdown",
"Java"
] | 3 | Java | firefinchdev/Simple-Notes | 6c9f1e873cf4348a220ae84723840564ea6165cf | 137a97a040b7988ba2eddca8a54a76b4f364b17e |
refs/heads/master | <repo_name>fossabot/comfygure<file_sep>/api/src/domain/environments/get.js
import environmentsQueries from '../../queries/environments';
export default async projectId => environmentsQueries.selectByProject(projectId);
<file_sep>/api/src/domain/environments/get.spec.js
import get from './get';
import environmentsQuer... | 02d7da4a16b86df3a71b427cf65d784a67ae327b | [
"JavaScript",
"Makefile",
"Markdown"
] | 8 | JavaScript | fossabot/comfygure | 97c81893d4d36a9dce6469e94701322147568326 | 14cabe25c5858568b5c276c44a7aa8c89e961e57 |
refs/heads/master | <repo_name>EmilGabriel81/MVPDemo<file_sep>/app/src/main/java/com/unn/mvpdemo/Presenter.java
package com.unn.mvpdemo;
import com.unn.mvpdemo.Contract.IView;
public class Presenter implements Contract.IPresenter {
IView view;
public Presenter(IView view) {
this.view = view;
}
@Override
p... | 8d04331bc7ac134aef74f4d80ea98539b098e91f | [
"Java"
] | 2 | Java | EmilGabriel81/MVPDemo | 107cfde872b00974a10bb8e6b401679824c85e54 | 6449363d03b42eb423022758c530973854bd34f1 |
refs/heads/master | <repo_name>leandrobaena/tournament_java<file_sep>/database.properties
url=jdbc:mysql://localhost:3306/tournament
user=root
password=<PASSWORD>
<file_sep>/README.md
# tournament_java
Manejo de campeonatos de fútbol en java y mysql
<file_sep>/src/entities/Championship.java
package entities;
/**
* Campeonato o compet... | cbe8696ecac1529834dc424ea85b2ae60452400a | [
"Markdown",
"Java",
"INI"
] | 3 | INI | leandrobaena/tournament_java | 6d6892008a325961e66a304204e83b6c56f50f3e | 832d634615d8c2e8cb1813a97fc8eaad50b5d1a7 |
refs/heads/master | <repo_name>mainul35/sm-trading-erp<file_sep>/grails-app/assets/javascripts/fusion/fusion.requestManager.js
Fusion.requestManager = {
beforeSubmit: function (e = null) {
return e
},
onSubmit: function (e = null) {
return e
},
afterSubmit: function (e = null) {
return e
... | 2c76df6a47d5c12566ca2fca843a542b5c533ab4 | [
"JavaScript",
"INI",
"Gradle"
] | 10 | JavaScript | mainul35/sm-trading-erp | 16b41a694fd66b9e620643ad756e40738dbb088d | 27ee4a51714368c963602f4b40e270359877d5e1 |
refs/heads/master | <repo_name>MaximkaStar/reflection<file_sep>/Reflection/Man.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Reflection
{
public class Man
{
public string Age { get; set; }
public string Name { get; set; }
p... | 7261cc312a8b7d4cc95972bfa9a0cefb5229d5b2 | [
"C#"
] | 2 | C# | MaximkaStar/reflection | 9b51bfac493863d26158353dcacc53758a53ef13 | b8f049c912447ff3be38c43cb3dc886f4e669eb2 |
refs/heads/master | <repo_name>Bzour97/gallery-of-horns<file_sep>/README.md
# Class - 02:
## Number and name of feature: Feature #1: Display images
Estimate of time needed to complete: 60 Minutes
Start time: 1:00
Finish time: 2:15
Actual time needed to complete: One hour & 15 Minutes
-------------------------------------------------... | 2260d4bd62691b892a98f21d2a5c092bc79b94fe | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Bzour97/gallery-of-horns | 560a20a998f991c38828e8bb6dd5d7815aba2532 | e219548064f0d7ad6efbb717e712cce3721175dc |
refs/heads/master | <repo_name>wyw64962771/fairing<file_sep>/kubeflow/fairing/constants/constants.py
import os
TEMP_TAR_GZ_FILENAME = '/tmp/fairing.layer.tar.gz'
DEFAULT_IMAGE_NAME = 'fairing-job'
DEFAULT_BASE_IMAGE = 'gcr.io/kubeflow-images-public/fairing:dev'
DEFAULT_REGISTRY = 'index.docker.io'
DEFAULT_DEST_PREFIX = '/app/'
DEFAULT_C... | d260f1492f1d3cffb72bd4e8c67da7b0724fa5d5 | [
"Python",
"Text"
] | 28 | Python | wyw64962771/fairing | 0cc639870ea3f773c5ae8a53c0ab16d4cda2ea6c | 3be92ab22d596a360c6f8d70f678b3ada265e649 |
refs/heads/master | <repo_name>smouksassi/interactiveforestplot<file_sep>/inst/shiny/text/howto.md
1. Upload your data file in csv format. R default options for `read.csv` will apply
except for missing values where both (NA) and dot (.) are treated as missing.
`read.csv("yourdata.csv", na.strings = c("NA", "."))`
2. The uploaded data wi... | 28b9fa418414a76f171cfb51896141730834df78 | [
"Markdown",
"R",
"RMarkdown"
] | 17 | Markdown | smouksassi/interactiveforestplot | 3a67629d13d29a16ad94f94cacacae5bfada7eef | 4346dcde123cd4599c0baa6ccd07ca89a3b29e07 |
refs/heads/master | <file_sep>#ifndef BATTLEFIELD_PROVIDER_H
#define BATTLEFIELD_PROVIDER_H
#include <map>
#include <unordered_map>
#include <vector>
#include "CommonDefinitions.h"
#include "tinyxml2.h"
class BattleField;
class BattleFieldFactory;
class MegamanData;
/* Persistent object that provides an appropriate battlefield map each ... | c5bce8f5377339ec8e1ed574ae2f2b33d5c2cd2b | [
"C++"
] | 4 | C++ | michaelconnor1996/michaelconnor1996.github.io | cdc4f4556db90b099f31b66cfab2f58362200788 | 749ebd7396730ba32dd92e5106811b5390e5e62a |
refs/heads/master | <repo_name>BrettBiba/chrome-stock-ticker<file_sep>/content/find-symbols.js
/**
* @file
*/
var initChromeStockTicker = function() {
var markup = '<div id="chromeStockTicker">';
var markup = markup + ' <cst-bootstrap></cst-bootstrap>';
var markup = markup + '</div>';
$('body').append(markup);
var... | 90b62f7aa8a683ab052eded1a6e37a49c4135363 | [
"JavaScript",
"Markdown",
"Shell"
] | 17 | JavaScript | BrettBiba/chrome-stock-ticker | 8aafbe04ac80ea0932bc17b4fdc4f4f2d065370c | 3489c8118377786ad460239c809a35ea71eb6325 |
refs/heads/master | <file_sep>class QuestionandanswersController < ApplicationController
def new
@qanda = Questionandanswer.new
end
def create
@qanda = Questionandanswer.new(qanda_params)
if @qanda.save
flash[:notice] = "Question Saved Successfully"
if params[:questionandanswer][:more] == '1'
redirec... | 031ca9f6530a2e305653a4795cab6a52f2e3eb29 | [
"Ruby"
] | 3 | Ruby | owaiswiz/QandA | a3262095c138357d1e069d968a7b410e0a498f22 | 1d66f7a8490de67080289f5ca18dd20c60d35fb4 |
refs/heads/master | <file_sep>t2 = q0*q0;
t3 = q1*q1;
t4 = q2*q2;
t5 = q3*q3;
t6 = q0*q2*2.0;
t7 = q1*q3*2.0;
t8 = t6+t7;
t9 = q0*q3*2.0;
t13 = q1*q2*2.0;
t10 = t9-t13;
t11 = t2+t3-t4-t5;
t12 = magX*t11;
t14 = magZ*t8;
t19 = magY*t10;
t15 = t12+t14-t19;
t16 = t2-t3+t4-t5;
t17 = q0*q1*2.0;
t24 = q2*q3*2.0;
t18 = t17-t24;
t20 = 1.0/t15;
t21... | 52d49d7294bbd9b1212eef4f2f40f0757ddfda84 | [
"C"
] | 1 | C | Yvaine/InertialNav | e657e3d83e5da1fa6c95daa4e849a74d3baee683 | 2934d51a043e57ebec539f328ff6e0f6c7c961bd |
refs/heads/master | <file_sep>require 'features_helper'
RSpec.describe 'Edit a bike part' do
let(:repositories) do
{
bikes: BikeRepository.new,
part_types: PartTypeRepository.new,
parts: PartRepository.new
}
end
before do
repositories.each(&:clear)
@bike = repositories[:bikes].create(na... | 31551dfc93f575e2b39a52f1708cf3d2a1340e63 | [
"Ruby"
] | 9 | Ruby | pazjacket/vyper-_-upkeep | c0d3b8d9dfd4812b23a004211879481cf3eb2203 | e61571dd6e0f78e9e6a26e2683067a2dbd1bdba4 |
refs/heads/main | <repo_name>Jay-Sharma18/HackerRank-Problem-Solving-Algorithm-Lisa-s-WorkBook<file_sep>/README.md
# HackerRank-Problem-Solving-Algorithm-Lisa-s-WorkBook
Find special problems in the book(special problems are problems in each chapter that have the same no. as the page they are on))
<file_sep>/LisasWorkBook.java
package J... | ac0f6bb02836de733747b91db1229cb4df2aa11d | [
"Markdown",
"Java"
] | 2 | Markdown | Jay-Sharma18/HackerRank-Problem-Solving-Algorithm-Lisa-s-WorkBook | 575b73d2407e1366dc5dfc43bab55fe63dbad3da | 4224803fcd9dc5c6c46b282438e8432b3ddec751 |
refs/heads/master | <repo_name>Lumpouille/FTP<file_sep>/src/features_cd.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* features_cd.c ... | 62f31b9afa7c649e90d4f509eb5c1557a131273d | [
"C",
"Makefile"
] | 12 | C | Lumpouille/FTP | 589096384f4c5c844b42c2dac97548e165bc2c32 | 63c9816a082a76a7f97ddd246f759dbf52b00cf3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.