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>thomasmcgill/EPIB613_2019<file_sep>/README.md
# EPIB 613 - Introduction to Statistical Software
Department of Epidemiology, Biostatistics and Occupational Health, McGill University
## <NAME>
<EMAIL>
## Term
Fall 2019
## Course Syllabus
- [Syllabus](EPIB613_Syllabus_2019.pdf)
## Lectures
- [Lecture 0: Course ... | de6b2af67bcf51c8cbdc76d09923bbd5794b3876 | [
"Markdown",
"R"
] | 11 | Markdown | thomasmcgill/EPIB613_2019 | ea7a450693cece491bab7e939f1ed8aea52a2b86 | 6798d1e05e21b8a06ec503a8d5db27f86f5a6af1 |
refs/heads/master | <file_sep>import React, { Component } from "react";
import AreasModal from "./areasModal";
import Graphic6 from "./../../assets/img/layout/graphic6.svg";
import Graphic7 from "./../../assets/img/layout/graphic7.svg";
import Graphic8 from "./../../assets/img/layout/graphic8.svg";
import Graphic9 from "./../../assets/img... | 58229789e9e383deaf5dd11d32fb6c9f9f62fec5 | [
"JavaScript"
] | 2 | JavaScript | DesignSuccess/digitalit | ace89f6a43913c11c2ee4d170d6cd21822b9d22b | 2919d14ff9fa72b0c439c27ed8c5830f7dcb6562 |
refs/heads/master | <repo_name>williamfligor/cowtalk<file_sep>/precache-manifest.2c93b7cac68f8279841b5c84a8b5e55d.js
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "a5ac327d56c7b0f97afd16aec75b7842",
"url": "/index.html"
},
{
"revision": "85586f7cef999fad7bcd",
"url": "/static/css/ma... | f8649fe94d9799fdd30017372b4ef93aefa98c6e | [
"JavaScript"
] | 1 | JavaScript | williamfligor/cowtalk | 5d066ae4d87ee1e220f16318186e7d0684dd23a4 | c5107c7fe3d0392395f444f03d2e4164a4e70c18 |
refs/heads/master | <repo_name>NaStillmatic/FirebaseCloudMessagingTest<file_sep>/FirebaseCloudMessagingTest/Controller/LoginViewViewController.swift
//
// LoginViewViewController.swift
// FirebaseCloudMessagingTest
//
// Created by Pang on 2017. 10. 23..
// Copyright © 2017년 HwangByungJo. All rights reserved.
//
import UIKit
import F... | d3ed3d709a0312c5f6abba5a62d5a5558e968f7e | [
"Swift",
"Markdown"
] | 3 | Swift | NaStillmatic/FirebaseCloudMessagingTest | 837b8a0485bb26ce5831fa709f95540f78f87e52 | d3ce707bc5184f93830f5bc4b5e27b339cca81c6 |
refs/heads/master | <file_sep>import os
import base64
import flask
import bcrypt
from init import app, db
import models
@app.before_request
def setup_user():
"""
Figure out if we have an authorized user, and look them up.
This runs for every request, so we don't have to duplicate code.
"""
if 'auth_user' in flask.ses... | eb3f800d99a160674ffe58471d2fa3df66e4391a | [
"Python",
"HTML"
] | 3 | Python | 2sourapples/WebDev | 185ab7c03b76bf72cf11e516c82042945536f14b | 563c40a9fff33662721bd9c33f50a4adb51ea111 |
refs/heads/master | <repo_name>ARozputnii/loto.rb<file_sep>/лото.rb
print "Enter your age: "
age= gets.chomp.to_i
if
age < 18
puts "You are blocked LOOSER"
sleep 3
exit
elsif
age > 18 && age < 50
print "Hello friend, enter your name: "
elsif
age >= 50
print "Hello oldman, come on, lose your pension, ente... | ddca576e586f349f9251ffabd79b1818568bb0ba | [
"Markdown",
"Ruby"
] | 2 | Ruby | ARozputnii/loto.rb | c0deb06d046cf64164927e043368fd6f47102ef0 | be13247ffd33b02b16427aa0338dfb1058e88982 |
refs/heads/master | <file_sep>require 'test_helper'
class CreateArticlesTest < ActionDispatch::IntegrationTest
def setup
@category = Category.new(name: "sports")
@category.id=1
@category.save
@article = Article.new(title: "sports", description:"hghghghghghghg",user_id:1, category_ids: [1])
@user = User.create(user... | 10ff79c5354e09221381c7847b067cc83893efac | [
"Markdown",
"Ruby"
] | 6 | Ruby | BobanJankovic/AlphaBlog | 95c79085ebd765e4044ace236c4cd4ced62894ca | 4307a5c99b8a16b18a6f976d6c0320a19ad1531e |
refs/heads/master | <file_sep>package it.polito.tdp.spellchecker.controller;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.Label;
import javafx.scene.control.TextArea;
pu... | 65c5760e55dd3f1b49ce873039c5654ed40f4abf | [
"Java"
] | 1 | Java | salvatorecaristo/Lab2 | eef7cd8faf836a60aa9362a06a24fc163cd65a53 | f5a076822047ba30688486d6d8be5ae06be1477d |
refs/heads/master | <file_sep>## Coursera R Programming from Johns Hopkins University:
## makeCacheMatrix: This function creates a special "matrix" object that can cache its inverse.
##cacheSolve: This function computes the inverse of the special "matrix" returned by makeCacheMatrix above.
##If the inverse has already been calculated (an... | f77f320b9816a13b6d6b9f2738c35801f7132653 | [
"R"
] | 1 | R | MadDragon/ProgrammingAssignment2 | cace57b5632fdca4d5d56f2bcf9f0f6a3d3f2d6a | 80ad6cca2dbd97a1670c75f14456a55c603dac6d |
refs/heads/master | <file_sep><!DOCTYPE html>
<!--
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.
-->
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<pre>
... | 3bd3d8b4263ef45e212599349b1c2016397c09ad | [
"PHP"
] | 2 | PHP | betogroo/game | cc779107840825942065d67048c5a190797cbd4b | 686bd379d227a9017bc46ae75dc651c434b4b4a4 |
refs/heads/master | <file_sep>import React from 'react';
import helloworld from '../assets/images/helloworld.jpg';
import ComfirmationQuestions from './ComfirmationQuestions';
import NewTicketForm from './NewTicketForm';
import PropTypes from 'prop-types';
class NewTicketControl extends React.Component {
constructor(props) {
super... | 3053af57ac86a681b9664a07758bae6041d63bc1 | [
"JavaScript"
] | 1 | JavaScript | AAWhang/React-help-queue | 62fe80fa16bca361c6d42e1e465ccb13a1f3f5d0 | 8387faac886cf69481673fe654b3673af48b2722 |
HEAD | <file_sep>(function(){
//插入html
var oContainer = document.getElementById("container");
var oTransformersBox = document.createElement("div");
oTransformersBox.innerHTML ='<a id="transformers-x" href="javascript:">x</a><img src="./transformersimages/bianxinjinggang_kuanping_0000.jpg" id="op-transformers-img"><sty... | fafcf0c053b76612c1e6fdb458af8735be4ef403 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | div-wang/Project | 4c4868ed7ac8458c03e0311fb6c1709d8a680fdc | b8bb0d9d6c928d1819f55f7a876c7b7713ccc03f |
refs/heads/master | <repo_name>grachiele/portfolio_website<file_sep>/src/components/ResumePDF.js
import React from 'react'
const ResumePDF = () => {
return (
<embed src={require("./Resume.pdf")} width="100%" height="1000px" type="application/pdf" />
);
}
export default ResumePDF;
<file_sep>/src/components/NavBar.js
import React ... | dc688aa046e4f8677b10e455d3157e3b5518d848 | [
"JavaScript"
] | 6 | JavaScript | grachiele/portfolio_website | 0bae22b0e8f6337129dd230fb008f71b9d7e22d0 | 672a6dfec5e28d3c20485c4a346d2ec27beabe8d |
refs/heads/master | <repo_name>zhuyuhui1997/JXNUDiscuss-master<file_sep>/README.md
# JXNUDiscuss-master
this is JXNUDiscuss by bmob
<file_sep>/app/src/main/java/com/example/zyh/jxnudiscuss/MainActivity.java
package com.example.zyh.jxnudiscuss;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
imp... | 1adaf1961e37a60a44cdc4c12e33d63d63740b95 | [
"Markdown",
"Java"
] | 3 | Markdown | zhuyuhui1997/JXNUDiscuss-master | 6a93400f38954a460a92d7a01bc8cc903f79872f | 88a8caf4145d086605d8ddc0a922701679ae9032 |
refs/heads/main | <repo_name>Scopecr/Scopecr<file_sep>/calculator/calculator.c
#include <stdio.h>
#include <math.h>
int main(void)
{
int x = x;
int y = y;
printf("Enter value of x: ");
scanf("%d", &x);
printf("Enter the value of y: ");
scanf("%d", &y);
printf("the result of the sum is: %i\n", x + y);
} | 5801af15adcb112b6b6f34b8391e19d0e3139b8c | [
"C"
] | 1 | C | Scopecr/Scopecr | ad923fa4faebcd3d276435b6d9297639f5c35068 | 024f0b8ac3e6b4ae93ac1b2537d06c32ff288ecf |
refs/heads/master | <file_sep>
const btnHamburger = document.querySelector('#btnHamburger');
const body = document.querySelector('body');
const header = document.querySelector('.header');
const overlay = document.querySelector('.overlay');
const fadeElems = document.querySelectorAll('.has-fade');
const box = document.querySelectorAll('.b... | ca1d6b4434ff0b82d4561fa728f152dc4a01ec3f | [
"JavaScript",
"HTML",
"Markdown"
] | 7 | JavaScript | locnguyenhuu0024/ilgenglish | 98668a28f4499f310add02c1af7f2e74da1f9d9a | f849b9c0e9cd2bd0fc7b27d679016bcc63e851ac |
refs/heads/master | <file_sep>package com.craftofprogramming;
import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.mockito.exceptions.base.MockitoException;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.Co... | 2a7ccd25c9dcc718bcad22b68c3b814217fc47d5 | [
"Java"
] | 6 | Java | joash97/mockito2-course-code-samples | f6fc835514688900c1aaab1ebd7003ac3f1b899e | e97ceeb8ba9ee9ec14cbc57bbba6624d24b242a0 |
refs/heads/master | <file_sep>import streamlit as st
def info():
st.sidebar.image('Images/Ned_Logo_Emblem_T.png')
st.title('Information')
st.header('Steps To Connecting To Server')
st.subheader('Creating SSH Keys')
st.text('You will first need to create SSH Keys for your server. After the keys are connected to the server, place t... | 1377ccb73ac38334261ff658beb4efbd27ed361d | [
"Markdown",
"Python"
] | 8 | Python | blueskies14/Ned-Server-Monitor | dcffbbf76da021897a8d00be7232c697b038a34e | 0bb36a0eabdb78d1b58f2862b8806abfa5e82e47 |
refs/heads/main | <file_sep>import { NextFunction, Request, Response } from "express";
import { CommentModel } from "../entity/CommentModel";
import { MovieModel } from "../entity/MovieModel";
export const commentOnMovie = async (
req: Request,
res: Response
): Promise<Response | void> => {
try {
const { movieId } = req.param... | 54c7faa6721988c4d9242ebb59609fcf26d3e258 | [
"Markdown",
"TypeScript"
] | 10 | TypeScript | maximdave/max-ng-backend | 9d6e1787f81c7cba4ff8a0794a6b8eb9a12ce541 | bef395fd9a16c25325540b8c5f419d25edfc1671 |
refs/heads/master | <file_sep>module.exports={
user:'<EMAIL>',
pass:'<PASSWORD>'
}<file_sep>fs = require('fs');
var ProductEntity=require('../../model/product-entity')
var ImageFolderPath = require('../../config/image-folder-path')
module.exports.findProducts=(req,res)=> {
console.log("@@@@@@@@@@@product@@@@@@@@@@@@@@");
P... | e81a25dad9f4c6f274fde4688c7ebf6dc7663547 | [
"JavaScript",
"TypeScript"
] | 11 | JavaScript | sumedha-b/web-store-project | cffa24a94908fb7e2e4b115e5dbd32354df87858 | 6968a4d07114d2203efad1fd80a54785b71246fb |
refs/heads/master | <repo_name>wigiels14/CarWashServer<file_sep>/src/main/java/database/OrderDatabaseManager.java
package database;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import server.Server;
public class OrderDatabaseManager implements DatabaseManager {
... | 3e67c9ea66eada97415e12f7a343eb4975be6f79 | [
"Java"
] | 2 | Java | wigiels14/CarWashServer | c6698c99e316377cf34e2328ee171b832c2f2fef | 1e23caa4c805a529b14cd4e62e911dc68613845f |
refs/heads/master | <file_sep>package edu.wc.cs152.anniefarm;
import android.graphics.Canvas;
import android.graphics.PointF;
import android.graphics.RectF;
import android.util.Log;
/**
* Created by shaffer on 4/27/16.
*/
public abstract class Sprite {
private BitmapSequence bitmaps;
protected Vec2d position;
public Spri... | fa4f216260d95db9765e699da5806aee686cd5ad | [
"Java"
] | 6 | Java | hannahpi/AnnieFarm | e965991de45256d5d6c84f7aba386b627ed29bb2 | 372546e75b60dce1993062dc706cadae1e1a8889 |
refs/heads/master | <repo_name>cloesthilaire/housing_warmup1<file_sep>/R/exercise1.R
# load these package ------------------------------------------------------
library(scales)
library(mapview)
# exercise1--bike commuters -----------------------------------------------
DAbike <-
get_census(
dataset = "CA16", regions = list( CSD =... | 05efac3897126f3a4ae2ca3180dc1499ac590cd4 | [
"R"
] | 18 | R | cloesthilaire/housing_warmup1 | 3e18ca5932c444da6696dbd74b87269fc8b7f48e | a1d03997c3a6c55a4427c22592bd2f0a6740da85 |
refs/heads/master | <file_sep><?php
$page_title = 'HvZ rules';
$require_login = false;
require '../knoopvszombies.ini.php';
require 'module/includes.php';
require 'module/general.php';
?>
<!DOCTYPE html>
<html>
<head>
<?php
require 'module/html_head.php';
?>
<link href="//<?php echo DOMAIN; ?>/css/page... | 0236fb8b0cfae25d7d274ef5008d33db757fe512 | [
"PHP"
] | 16 | PHP | Rylinks/knoopvszombies | 097a4691facdd2082906cbb7c6e7456d8e623c31 | 2f8dfeb11536f4f3f21d6dfe1c424402485b0490 |
refs/heads/master | <file_sep><?php $__env->startSection('main_content'); ?>
<?php echo $__env->make('partials/banner', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<div class="album text-muted">
<div class="container">
<div class="row">
<?php $__c... | 8619536a892cfb3897697004c5463765cd023af8 | [
"PHP"
] | 10 | PHP | king-ting/blog_project | d8395755c2b6c419dbceb6740d91f825673b650e | 3f70c257a0f794f808726a600deb0c04e0786521 |
refs/heads/main | <repo_name>H4ltor/TP_Angular<file_sep>/script.js
function add() {
var task = document.getElementById("taskName").value;
document.getElementById("list").innerHTML +=
'<li>'+task+'<a href="#" onclick="del(this)"> Supprimer</a></li>';
}
function del(a){
a.parentNode.parentNode.removeChild(a.parentN... | 7457fb9863e7fc087a94611a6b4f604b36ab36d9 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | H4ltor/TP_Angular | 60f0e8396be9a463b24b4f113d9ee52224ea8b4e | 7697899c3b1949267c9a8252b400915b2f46475f |
refs/heads/master | <repo_name>phpnl/phpnl<file_sep>/src/phpnl/service/Slack.php
<?php
namespace phpnl\service;
class Slack
{
protected $team;
protected $token;
protected $info;
function __construct($team, $token)
{
$this->team = $team;
$this->token = $token;
$this->refresh();
}
fu... | b26a72a9e93364ffa7ea9aa24d2ecb876bb865db | [
"Markdown",
"HTML",
"PHP"
] | 4 | PHP | phpnl/phpnl | da4b3a43cd2c0a87424de4bf043aa7537fd2d6d1 | 5b3fa4d66dd2fe5027c62ab53493f278b1da544b |
refs/heads/main | <file_sep>const discord = require("discord.js");
module.exports = {
name: "unmuteall",
aliases: ['unmute all',],
description: "Mutes everyone mic",
run: async(client, message, args) => {
var a = message.id;
let b;
if (!message.member.hasPermission('MUTE_MEMBERS')) return message.reply("You do not hav... | aab95d7a66e52852c05a5295456bc79feb480a3c | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | rihannaquinn/LavaBot | 3f59e26db4282c73ae422b5d30f430127d5a05c7 | c7ceae3eebf9e9d4fceb1ba0cdd2de9a554a786d |
refs/heads/main | <repo_name>mtaufiqhidayat03/work-order-api<file_sep>/app/Http/Middleware/RateLimitAccess.php
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Response;
use Illuminate\Cache\RateLimiter;
use Illuminate\Routing\Middleware\ThrottleRequests;
class RateLimitAccess extends ThrottleRequests
{
prot... | d9f40e80000467909b9fb30bc8e9e25ccda780ff | [
"PHP"
] | 11 | PHP | mtaufiqhidayat03/work-order-api | 756e188eada407e08da90eff61c739bc3ba8736b | a52bed9b35dd4328f90fba8faf6e1a240dec0d8d |
refs/heads/main | <repo_name>PveOnly/BE-C-Pong-Game<file_sep>/headers/Balle.h
#ifndef BALLE_H
#define BALLE_H
#include "Raquette.h"
#include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
using namespace std;
class Balle
{
public:
int vitesse;
int x_init;
int y_init;
int x_b;
int y_b; ... | 82fbcc39d2dd0366a1ae01a9d1836014afcc0d07 | [
"Markdown",
"C++"
] | 8 | C++ | PveOnly/BE-C-Pong-Game | c19d13f2034d6cd6313c2e91e00f3bcceec7307a | eabc943cc390b7eecdc9ab91d568c277acd67c3c |
refs/heads/master | <file_sep>import numpy as np
import tensorflow as tf
import os
import re
from learning.data_generators import FixedDataGenerator
from learning.encdec_evaluate import evaluate_with_perplexity
from models.encdec_model import create_training_graph, create_prediction_graph
def train_model(conf, all_data_dir, model_save_... | 0cc2f81391391a0bc07a3521d74a98e19608ebb5 | [
"Markdown",
"Python"
] | 18 | Python | dokaptur/neural-fanfiction-generator | 41b2305f96d97beb6752b306ebd8e05e14ffae12 | f4a99e50ef31165b008c3435887f4273e3de0bd7 |
refs/heads/main | <repo_name>kahmnkk/server-kit<file_sep>/.prettierrc.js
// links
// https://prettier.io/docs/en/configuration.html
// https://prettier.io/docs/en/ignore.html
// http://json.schemastore.org/prettierrc
// https://www.codereadability.com/automated-code-formatting-with-prettier/
module.exports = {
bracketSpacing: true,... | 8d3cc41fa08421d51d86fa459972ad47bae28526 | [
"JavaScript",
"SQL",
"Markdown"
] | 18 | JavaScript | kahmnkk/server-kit | 75d6529da63c2218ff7a34aa66f65bd1bf1ec5b9 | c2700951cdd264a10b65b6dec1a60112d652ec5a |
refs/heads/master | <file_sep>package com.example.guia7labmoviles;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Toast;
import java... | 13800a208928423e2d33596c23130bcf966ff73c | [
"Java",
"Gradle"
] | 4 | Java | yamileth-sandoval/guia7LabMoviles | 59b750c1d9c4a47e6eb7e988d339166d944d0e25 | b11f1d265dc87f371d79e03a8026386e80d96dc1 |
refs/heads/master | <file_sep>
<!--Page Header-->
<div class="mb-5">
<div class="page-header mb-0">
<h4 class="page-title">Team Overview</h4>
<div class="row">
<div class="col-12">
<button type="button" class="btn btn-success" data-toggle="modal" data-target="#add-modal"><i class="fas fa-p... | 143f573b4c3ace51851d9ede74497e914ba8bc19 | [
"JavaScript",
"PHP"
] | 32 | PHP | maticangroup/general-erp-front-end | e3506e256464ccf701c9d03d79d06cc0c18c20d3 | 0857ab4b98ef217544b301d706f0ccd9c0b828f6 |
refs/heads/master | <repo_name>RainingOnBothTheRain/Python<file_sep>/Geometry edge detection/几何图形边缘检测.py
#2020.02.24日 2020.02.25日修改,加入显示选中后的图片,但无法清除该位置,永远停留
#imread读取中文路径报错,PhotoImage()只能读取png文件
#
#要运行该程序首先要安装opencv库
################################################################################
#import S
#导入tk库用于建立tk界面
impo... | f6ecd3f6328239625d8a65bcd32171dfa483f54b | [
"Python"
] | 2 | Python | RainingOnBothTheRain/Python | 23046dc2cfd54bef5a0f164549eeaeae617b57bf | 49e1ed7aa6f25c0f20db004edf9bbe574cb28a53 |
refs/heads/master | <repo_name>ermac0/mi-home<file_sep>/PlanckHome/IDoorSensor.cs
using System;
namespace PlanckHome
{
public interface IDoorSensor
{
event EventHandler Opened;
event EventHandler Closed;
}
}<file_sep>/MiLight/MiLight/MiBulb.cs
using PlanckHome;
namespace MiLight
{
public class MiBulb : I... | 66dd4994c3f74e6aa900145042236506cddf7dac | [
"C#"
] | 27 | C# | ermac0/mi-home | 9df26da3523a6a54eaec792cb3bcabe8854f3218 | 40d3a88930c6db8023bd13e3311740195831f705 |
refs/heads/master | <repo_name>QJesus/Mystique<file_sep>/Mystique.Core/Contracts/DefaultReferenceLoader.cs
using Microsoft.Extensions.Logging;
using Mystique.Core.Interfaces;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Mystique.Core.Contracts
{
public class DefaultReferenceLoader : IReferenceLoader
{
... | 2643f542f08ef0b224218220bc24729de7dac72e | [
"C#",
"Shell"
] | 18 | C# | QJesus/Mystique | 064636cbb123b7e80e34e6934d649f3806247c3a | cc29dd86ba4672de824978b7f008cce7fa628b3d |
refs/heads/master | <file_sep>
package com.erby.casestudy // name ng library package ay erby.casestudy
import android.app.Service //android.app-naglalaman ng high-level classes na maaaring matawag para sa pagbuo ng Android Application model
import android.content.Context // ito ay library package na kapag dineclare or tinawag, lahat ng a... | db5a4fb225ed15dab241964ea0314f65ef2dfc47 | [
"Kotlin"
] | 3 | Kotlin | estrellamjane/CPA_LINK | 5e623738d86924c4f2c8268800170b5ca6410f33 | 079e58601a417ae368ab30fdd0b70d4bef5a6435 |
refs/heads/main | <repo_name>ZhuYanSu/ts-nodejs-docker<file_sep>/README.md
# ts-nodejs-docker
## Goal
1. 練習使用 docker multi-stage build 搭建 hot-reload docker 開發環境 + 上線環境
1. 使用技術
- docker
- dockerfile
- docker-compose
- typescript
- nodejs
- nodemon
- make
> 參考: [Setting up Docker + TypeScript + N... | 5135599e5fe1859eddcfe9f0b70e7020ea76a2b9 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | ZhuYanSu/ts-nodejs-docker | dc865af0e02d8ed735af0b05b49075b9eb1d1194 | 5928f8aa3e543789026d184b3cb6c12e9228400c |
refs/heads/master | <file_sep>rm -rf dist/ .cache/ release/ node_modules
yarn --ignore-engines
./node_modules/.bin/electron-builder install-app-deps
./node_modules/.bin/parcel build node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js --no-source-maps
./node_modules/.bin/parcel build node_modules/monaco-editor/esm/vs/edito... | ed2490de5fde15eb9e2e128fea46419b93e91b46 | [
"JavaScript",
"TypeScript",
"Markdown",
"Shell"
] | 13 | Shell | filipesabella/ProcessingP5 | eed6a4d3e0498f9e0b1bb2950632a75740a267b0 | 467873572a2b22f93b157f5ffec5f5eb8909d7b3 |
refs/heads/master | <file_sep>View the skill-tree by loading `skill-tree.html` in this directory!
viz-js sources downloaded from <https://github.com/mdaines/viz.js/releases>
<file_sep>use fehler::throws;
use serde_derive::Deserialize;
#[derive(Debug, Deserialize)]
pub(crate) struct SkillTree {
pub(crate) group: Vec<Group>,
pub(c... | 17ebc134f0bffeab1f42b751292687b5a56bdf1d | [
"Markdown",
"Rust",
"JavaScript",
"TOML"
] | 7 | Markdown | oli-obk/skill-tree | 74624c12a2977effaddb71e1fc85bbaf4f5f9c2a | 6b1dde9b566c4e9444fef8d456838a668280ee98 |
refs/heads/master | <file_sep>import numpy as np
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.pyplot as plt
from scipy.integrate import odeint
###Euler method
# parameters
T = 5
h = 0.1
# x' = ax
a = 1
initial_x = 1
t = np.arange(0,T,h)
x = np.zeros(t.shape)
x[0] = initial_x
for i in range(t.size-1):
x[i+... | 54e9a5bff961069f0f094bf4867ead5c4b4b414f | [
"Markdown",
"Python"
] | 15 | Python | advvix/py-course | e76ecabc0421584d30548b941e19a5079e8382d6 | 2d2e77f684dcd7511e2f124483c434899b491f8a |
refs/heads/master | <repo_name>GreggNicholas/Unit-04-Postmortem<file_sep>/app/src/main/java/com/example/unit_04_assessment/Model/Echinoderm.java
package com.example.unit_04_assessment.Model;
public class Echinoderm {
private String animal;
private String image;
private String wiki;
public Echinoderm(String animal, Strin... | e41568eec52cfdec33abeeb2ed8ce06a648a5729 | [
"Java"
] | 3 | Java | GreggNicholas/Unit-04-Postmortem | 07a5edab4e26e8eaed01f33177dcf84892df4779 | ad21ab873168ce7c4507d28b7ec29bfd7d3f60f1 |
refs/heads/master | <repo_name>vieira-gabriel/IDJ_Game_engine<file_sep>/README.md
# IDJ
https://github.com/vieira-gabriel/IDJ
<file_sep>/include/State.h
#ifndef STATE_H
#define STATE_H
#define INCLUDE_SDL_IMAGE
#define INCLUDE_SDL_MIXER
#include "Sprite.h"
#include "Music.h"
#include <SDL_include.h>
class State
{
private:
/* data */
... | 3519a8ef49bedf181fa7c9d86f4fedc09ee9b59c | [
"Markdown",
"C++"
] | 7 | Markdown | vieira-gabriel/IDJ_Game_engine | 0b3ef4ce4440808451862fa4c5be54eaceb14fb6 | 6e60027ae023b10be155181d62c7f53b926da7d7 |
refs/heads/master | <repo_name>jshaughn/manageiq-api<file_sep>/app/controllers/api/automate_workspaces_controller.rb
module Api
class AutomateWorkspacesController < BaseController
def edit_resource(type, id, data = {})
obj = resource_search(id, type, collection_class(type))
obj.merge_output!(data)
end
def decryp... | bd060debcefd49cd973ba0307ed43a32241f574e | [
"Ruby"
] | 1 | Ruby | jshaughn/manageiq-api | 42813a23b65b485609033cbaa8d65041549b2e6b | c42fcfb5d5e0d1f3eeca2d989a210f3b25efe998 |
refs/heads/master | <file_sep>
define(function(require,exports,module){
var a = require('./m3.js');
function show(){
alert(test);
alert(a.a);
}
exports.show = show;
});
<file_sep>define(function(require,exports,module){
function show(){
alert(1);
}
exports.show = show;
});
<file_sep>var b = 2; | ccd0260be6f25f808a6b5cac885edcf29c2673b8 | [
"JavaScript"
] | 3 | JavaScript | cpplee/Seajs | 5cf52fbb776b3c5ea05b5e6fe82497623eaa2d36 | f83e7207a7e5f116ab11cc682d6d976eb86a87c5 |
refs/heads/master | <file_sep>package com.example.demo.practice;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.*;
/**
* @author Andrew
* @since 2020-10-11
*/
@Slf4j
public class CFutureExample {
public static void main(String[] args) throws InterruptedException {
ExecutorService es = Executors.newFixedTh... | 0649bbac2f467120c0f1aa448d31a4d08086a062 | [
"Java"
] | 2 | Java | rheehot/spring-webflux-sample | 0ed553807d37d25007c38b6c0ac958a9d3469ae7 | 9bcd5a931f9617f1e3954767e0083b51c347cc7d |
refs/heads/master | <repo_name>ranjanabha/shopapp<file_sep>/php/getShopDetailsByShopId.php
<?php
session_start();
require("{$_SERVER['DOCUMENT_ROOT']}/shopapp/constant/application-constant.php");
try{
$shopid=$_SESSION['shopid'];
$shopdetails=getShopDetailsByShopID($shopid);
echo json_encode(['OPERATION'=>0,'SEARCH_RESU... | 98687f99d5a64356648de91b779ca4fb7830d2c0 | [
"Markdown",
"PHP"
] | 42 | PHP | ranjanabha/shopapp | 5e2689681aaec93521e6ee98877332b8bda5b99f | c9514f7bcfcffcf10d776bc5f3756f4d5f1642d6 |
refs/heads/master | <repo_name>noseeevil/Visualization-AR-iOT-MQTT-<file_sep>/Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/GenerateObjectAnchor.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.iOS;
using UnityEngine.UI;
public class GenerateObjectAnchor : MonoBehavio... | fb0022ec30162c5a3bf093f442c5d76ff1ba3d9a | [
"C#"
] | 2 | C# | noseeevil/Visualization-AR-iOT-MQTT- | 51a03aef8918cf28d5af6b147f029c7ec0f147e6 | a831f73aea8e33b8f2afd3b1d2e0c0bf1acfe871 |
refs/heads/master | <repo_name>daniellundmark/Platform-Testing-Simple<file_sep>/README.md
# Platform-Testing-Simple
Simple examples of using the Rhino test facades
<file_sep>/src/test/java/com/gearsofleo/testing/simple/BetTest.java
package com.gearsofleo.testing.simple;
import java.util.List;
import javax.annotation.Resource;
import or... | d3062a573b41be1bb79f2225bd64e362b3b0586f | [
"Markdown",
"Java"
] | 3 | Markdown | daniellundmark/Platform-Testing-Simple | 79af83c65c4b862fc6720b9783eb59b226406bc2 | 70d4255b9e314e6048f579aefad4454e09cda328 |
refs/heads/master | <file_sep>package com.wafermessenger.restcountries;
/**
* Created by <NAME>. on 16/08/18.
*/
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import androi... | 9fc4d040b0bbd88d071177f1ef0e50b183719229 | [
"Java"
] | 1 | Java | juniorug/RestCountries | 2e25a2ea900ac19ca86fa0aa8b9014ec75a423c5 | 7e9d089fc9e4e99789a1f839d20b66fe5603e4af |
refs/heads/master | <repo_name>ssmith151/Comrade-Miner<file_sep>/miner comrade v2/Assets/Scripts/EquipmentManager.cs
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class EquipmentManager : MonoBehaviour {
private Text currentEquipmentNotice;
public GameObject tractorBeam;
public GameObject miningL... | 0a1db70114d63bf4c965fcb73bddace4d8c287ee | [
"C#"
] | 4 | C# | ssmith151/Comrade-Miner | b404d8f5e293fb8eb7f5c03de39282dd0fd56b0a | efe0f9afa36a6f946eb46512ce7c3f9b0f3c3bc2 |
refs/heads/master | <file_sep>'use strict'
import { WeatherInfo } from './datatypes'
import MetaWeather from 'metaweather'
export class Weather {
constructor(metaWeather) {
this.metaWeather = metaWeather
}
async getWoeidByQuery(query) {
const response = await this.metaWeather.search().query(query)
i... | 8af6b11926e4ff17add0fbf5fc1db986c740c190 | [
"JavaScript"
] | 8 | JavaScript | trszdev/webdev-task-1 | 425e53b4e6c932bf82e7c82a6f268af371ff0db9 | c13a8be63e5fa4d116c2fb43b6af220c9a1efa3a |
refs/heads/master | <repo_name>DmitroHorbenko/social-network<file_sep>/src/components/Dialogs/Dialogs.jsx
import React from "react";
import s from './Dilogs.module.css'
import DialogItem from "./DialogItem/DialogItem";
import Messages from "./Message/Message";
const Dialogs = (props) => {
debugger
let state = props.dialogsPage;
... | b6d6e94dbe5760be9c136c6719d89e7f72ecf1cd | [
"JavaScript"
] | 8 | JavaScript | DmitroHorbenko/social-network | a0c6a396a9aaf65ec376cf29aa4a2425c9acac67 | 0f66540218be8e12d9e3177432600631e3ead693 |
refs/heads/main | <repo_name>nomanajmal007/test_project<file_sep>/config/routes.rb
Rails.application.routes.draw do
resources :pages
devise_for :users, path: '',path_names: { sign_in: 'login',sign_out:'logout',sign_up:'register' }
resources :users
resources :businesses
resources :tasks
root to: 'pages#index'
# devise_for ... | a06c5db2a24e897042a4bf883dcde90900d10fc3 | [
"Ruby"
] | 11 | Ruby | nomanajmal007/test_project | 8cf082626494903f98e81af414248443a5e0b9e7 | 4babaa5a921d1ad93174dfec29f0082e8e8a6be7 |
refs/heads/master | <repo_name>Aryan-Barbarian/sep-website<file_sep>/app/models/brother.rb
class Brother < ActiveRecord::Base
has_many :jobs
has_many :companies, :through => :jobs
has_and_belongs_to_many :ventures
belongs_to :pledge_class
accepts_nested_attributes_for :jobs
def image()
base = "brothers/"
if ((self.image_url).nil... | ef693d5c7b0e40a03762237231d5c2d8f0ddb3b2 | [
"Python",
"Ruby"
] | 16 | Ruby | Aryan-Barbarian/sep-website | cc4f9a512c1074ad635d14043deed15e0db42a82 | 3245badce1e1151eef01de7c85fb1a04914b9501 |
refs/heads/master | <file_sep>
from itertools import chain, combinations
from aimacode.planning import Action
from aimacode.utils import expr
from layers import BaseActionLayer, BaseLiteralLayer, makeNoOp, make_node
# my imports
from layers import ActionNode
#import io
class ActionLayer(BaseActionLayer):
def _inconsistent_effects(... | 0bbb430f0c7141c8d5ea83c2874315d7b00987b4 | [
"Python"
] | 2 | Python | fileung/UdacityAINDProject2AirCargoProblem | 44191a1f0894e78acae86f54080c9fd07165b1c4 | 58419e2a9d5601061370578a6dc62f4430bff1d0 |
refs/heads/master | <file_sep># filter-component
<!-- Auto Generated Below -->
## Events
| Event | Description | Type |
| -------------- | ----------- | ------------------------------------------------- |
| `filterChange` | | `CustomEvent<{ country: string; year: numb... | d7e178129d7b480f4ca59379112cab2b77016ef3 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | dipankar-datta/stencil-example | a5a198fa8eb8f285193e7d6b000cf98a2e903662 | 4f2111ebdf1358d8509a68da0abbe05161b83d1d |
refs/heads/master | <repo_name>shouwy/SeriesFront<file_sep>/src/app/service/etat.service.ts
import { Injectable } from '@angular/core';
import { AbstractService } from './AbstractService';
import { environment } from '../../environments/environment';
import { EtatModel } from '../model/etat.model';
@Injectable()
export class EtatService ... | 222b57bcd6b4a3829c28bff9ec8e057ab1e1b986 | [
"TypeScript"
] | 17 | TypeScript | shouwy/SeriesFront | bb50dbdbabb5322d0988faa8251f692e92cf37c5 | 4e58d5237eb3f3bb5bfdd92dbe177b93c73e5e82 |
refs/heads/master | <repo_name>JiheeSon/CSE351_Exercise3<file_sep>/README.md
# CSE351_Exercise3
We solved a data challenge regarding twitter classification as a group project.
https://datahack.analyticsvidhya.com/contest/practice-problem-twitter-sentiment-analysis/
## Problem statement
The objective of this task is to detect hate... | a7f73bdb17947fd12a322b4363f577b9a95ce732 | [
"Markdown",
"Python"
] | 2 | Markdown | JiheeSon/CSE351_Exercise3 | c0ae4a3bf1574185d47f354c8556fac87c3e94c7 | 6d0c1ffe62e1fdbfe0b502ee04b3f24c6b42d052 |
refs/heads/main | <repo_name>matt0202/rentabilidad<file_sep>/emprendedor1.rb
#El producto planea venderse en 50 dólares.●
#Se espera tener 1000 usuarios al año.●
#Los gastos del año son 20000 dólares.
#Las utilidades se calculan como :_𝑝𝑟𝑒𝑐𝑖𝑜𝑣𝑒𝑛𝑡𝑎𝑠*𝑢𝑠𝑢𝑎𝑟𝑖𝑜𝑠−𝑔𝑎𝑠𝑡𝑜𝑠
#Los impuestos aplicados a las utilidades son e... | 983cc664132d62c724889870794517abfb369327 | [
"Ruby"
] | 2 | Ruby | matt0202/rentabilidad | d162d0ffe3bbe85fbf15bacb73b78fd86023500c | 894d5dae72b1b8c82459dc38d56a31b30c8bd577 |
refs/heads/main | <repo_name>developerharo/django_addressbook<file_sep>/contact/models.py
from django.db import models
from django.urls import reverse
class Contact(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)
phone = models.CharField(max_length=20, blank=True)
email =... | 132f70c01b9aac509ada0e1d6407c72849ee3ee7 | [
"Markdown",
"Python"
] | 4 | Python | developerharo/django_addressbook | 75fbf842f25614ec5bd413e36d1ce24bc217643b | c47d279c2a44f6120fd32411cfaea3584e1ca8ca |
refs/heads/master | <file_sep>using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using System.Collections;
public class PlayerDisplayItem : MonoBehaviour {
[SerializeField] protected Text haveItemNameCount;
[SerializeField] protected Image itemImage;
[SerializeField] protected Image selectedImage;
[SerializeField] p... | 3e0337a8a648ce3e1ebb804dd8114fcecfdb0302 | [
"C#"
] | 69 | C# | BaikSeongHyun/ProjectStoreUpgradeGameClient | e902016fd5ce9350d0de3d8bf8bd64c1f8ecc915 | dc98de7db1f7705df2bf2f1b90bf13110f496299 |
refs/heads/master | <repo_name>EshanSaxena/Assignment12.3<file_sep>/README.md
# Assignment12.3
JS code to implement
Write function named map that takes 2 parameters, first is an array and second is a
callback function that accepts single parameter
Map function should iterate on the array and invoke the given callback, capture the
return v... | eb09b8b5f535ebd3839b72abd6e67f8b97fc186a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | EshanSaxena/Assignment12.3 | 8a5aa3f28cc8b9c836b188ca1cb9ccddaaf047b2 | a362ed42e4f5f9c06a073c24aa81957b2a7eeb8c |
refs/heads/master | <repo_name>j2FunOnly/binary_search_mocha_example<file_sep>/test/binarySearchTest.js
const assert = require('assert');
const binarySearch = require('../lib/binarySearch.js');
describe('binarySearch', () => {
const arr = [1, 2, 4, 5, 8];
describe('item found', () => {
it('return index of the item found', () =>... | 3a98d4b5c9187319840692c780aab8db4d41e1cc | [
"JavaScript"
] | 2 | JavaScript | j2FunOnly/binary_search_mocha_example | c1d2b425dcb88b71238151b659e85b62aa73b555 | ee6a62224520411e6cac16c65d93d0fffc21ab9d |
refs/heads/master | <repo_name>Evergreen901/HTML_Kummanie<file_sep>/index.html
<!-- HTMLコード -->
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Kummanie Online School</title... | 6aa63da9a87f82eaadae39b7cea5bdaf300903ae | [
"JavaScript",
"HTML"
] | 2 | HTML | Evergreen901/HTML_Kummanie | 83df59d27936cd862a3866b832c676efb334e032 | 92722171c122b454fbbc8634273462222253f238 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;
namespace myFavpasTime
{
public partial class Home : System.W... | a830668c64043b8ce05e51b1fc9b9890653e5b9f | [
"C#"
] | 1 | C# | asish312/favPassTime | 11674360195eb19d7b2f7747a025a72b72637562 | 103bb89c95b01add975ca56fb7d2ce8d8e4caa05 |
refs/heads/main | <file_sep>abstract class abstractClass1{
public abstract void myMethod();
}
public class abstractMethod extends abstractClass1{
public void myMethod(){
System.out.println("This is abstract method");
}
/*abstract class can only be accessed by inheritance.
It cannot be accessed by ... | b46b51becd648b66d00283d9c69d4f698fde6321 | [
"Java"
] | 4 | Java | aahlad2000/Java-Topics | 10ee6b09ef78b92aa6601577c080c2244ccd613a | 95015830ffc1155970038e1cb58ce2e3e6620125 |
refs/heads/master | <file_sep>def differInOneChar(sequence1, sequence2):
diffCount = 0
for idx in range(len(sequence1)):
if sequence1[idx] != sequence2[idx]:
diffCount += 1
return diffCount == 1
inputFile = open('input', 'r')
inputIDs = inputFile.readlines()
inputFile.close()
for line in inputIDs:
... | 6043476d3160203ba184f049e87ad725df156011 | [
"Python"
] | 17 | Python | Bihanojko/AdventOfCode2018 | 9bce866219ec6f686cc350fd0cb1df51c6de9e30 | 9875bea474391e72aa0d25ed1031b6b589e199d2 |
refs/heads/master | <repo_name>CarosZch/my_react<file_sep>/src/react/Component.js
class Component {
constructor(props) {
this.props = props
}
setState(pritialState) {
// 修改状态
console.log(pritialState)
}
}
export default Component<file_sep>/src/react/createElement.js
/**
* 虚拟DOM对象
*/
class Element {
constructor(typ... | ce25e4c1cc9439afa1b07efacfe99dc1f04a981c | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | CarosZch/my_react | b57bad3d65e5526d6ce0675377c51fc787c9783f | 62e58bd596e62562c750b72e462ec231fcb89b3b |
refs/heads/master | <repo_name>LuanBSPinheiro/Tasks<file_sep>/app/src/main/java/com/example/tasks/viewmodel/LoginViewModel.kt
package com.example.tasks.viewmodel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import com.example.tasks.service.HeaderModel
import com.example.tasks.service.listener.APIListener
impo... | 654ece4719261dd7b8f602a5f01282ff1b74cd58 | [
"Kotlin"
] | 1 | Kotlin | LuanBSPinheiro/Tasks | e7aca0f736a8701258b6402b78f04c121247fa3d | 25310adb7e6b74f64f8d60a4fc4b78cecea5e543 |
refs/heads/master | <repo_name>cuphan/ubuntu-nginx-server<file_sep>/provision.sh
#!/bin/bash
apt-get update
apt-get -y upgrade
apt-get install -y build-essential
apt-get install -y libffi-dev
apt-get install -y libssl-dev
apt-get install -y python-dev
command -v pip &>/dev/null || {
wget https://bootstrap.pypa.io/get-pip.py
python g... | 06c9373069f985ac28416ef29b25cd844ac4a98c | [
"Markdown",
"Shell"
] | 3 | Shell | cuphan/ubuntu-nginx-server | f3326ce7d7e7e2222afaf0a5e12528b0320097f9 | 6666bd97835d60b24a0718073926160e41d4108a |
refs/heads/master | <repo_name>yzchen/ssl-bad-interface<file_sep>/remote-machine/gen-cert.sh
#!/bin/bash
if [[ ! -n "$1" || "$1" = "-h" || "$1" = "--help" ]] ;
then
echo "generate certificates for server and attacker"
echo "usage: ./gen-cert remote-mode(server) net-interface(enp3s0f0)"
echo "example: ./gen-cert server eno1"
e... | 2f3b96a7a6141105b011c38393f3a81698520237 | [
"Markdown",
"C",
"Python",
"Shell"
] | 8 | Shell | yzchen/ssl-bad-interface | 8575dafcfed11bf90008fbb1f265c53fce06db41 | 1aa30862318d0f6e129d80ae8831782d105a3531 |
refs/heads/master | <repo_name>MounaKaroui/EmbeddingPythonCpp<file_sep>/CallPython.cc
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later v... | cff46a6c7b431329d5c4700c7797221d03f04ce5 | [
"C++"
] | 2 | C++ | MounaKaroui/EmbeddingPythonCpp | 4cda8c8d119cfb86676994cf93ea24418ef9147c | 3498b5c778dbed36ff5e16a07aca4a4b27fc12b1 |
refs/heads/master | <repo_name>cuarti/react-blocks<file_sep>/lib/components/util/index.ts
export * from './FontIcon';
<file_sep>/test/stories/index.ts
import './scaffolding';
import './layout';
import './buttons';
import './inputs';
import './form';
import './util';
<file_sep>/lib/components/index.ts
export * from './layout';
export... | 0946307e935263eae950b91b69250491d397e2f2 | [
"Markdown",
"TypeScript"
] | 17 | TypeScript | cuarti/react-blocks | 3e3b1622e6c96fa5bd3078d0b5aa729d891d1de2 | e136e8da0e1d39a176129b08569434ea0acb4098 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Assignment2.models;
namespace Assignment2
{
public partial class BedList : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs ... | 69c9e7f0d159c3882a9dd8ff819018d55707fff2 | [
"Markdown",
"C#"
] | 14 | C# | king-paul/Green-Park-Hospital | bf80358a91600080eeacf89e68c77b1cb5969fa8 | 5ce97be37e605ad472df562a07d0551aed090046 |
refs/heads/master | <file_sep>from multiprocessing import Process
import os
def run_proc(name):
print('运行的子进程: %s(%s)' % (name,os.getppid()))
if __name__=='__main__':
print('Parent process %s.' % os.getppid())
p = Process(target=run_proc, args=('test',))
print('Child process will start.')
p.start()
p.join()
p... | 2059e97fbfa3da3de2e3fe2f0f22f828d18426a4 | [
"Markdown",
"Python"
] | 23 | Python | guoheFast/PythonStudy | 5ec08c212db1623308827985ee30508dd495c1d3 | e738ecfaf56e65ef9cfad0501ffca9fc59258659 |
refs/heads/master | <repo_name>peacefulwarrior/gitTest<file_sep>/bfInterpreter/main.cpp
#include <iostream>
#include <fstream>
#include <string>
#define TESTING
#define MEM_SIZE 30000
/*++++++++++++++++++++++++++++++++[>+>+<<-]>>+++++++++++++++++++++++++<<++++++++++[>>.-<.<-]*/
typedef char byte;
std::string loadFile(const std::strin... | ad80572b43c204d50d6f933d0f6c5ddff5dc2bc0 | [
"C++"
] | 1 | C++ | peacefulwarrior/gitTest | 1e4f6bcdc3e95e66afda19970da12028d7704dbf | 73856bdb08ad7717c4f9b30ba075488b45704472 |
refs/heads/master | <file_sep>var app = require('express')();
var http = require('http').Server(app);
var io = require('socket.io')(http);
var users={};
app.get('/', function(req, res){
res.sendFile(__dirname + '/index.html');
});
io.on('connection', function(socket){
socket.on('new user',function(data, callback){
if(data in u... | cc65ccf1c91f4f389071552b41a126968b1bd434 | [
"JavaScript"
] | 1 | JavaScript | elegans18/agodevgit2 | 5d23a3710a61fd8c8fd49ceefe41b9fcff56c24c | 13e55d33e73393e843bdc2c67b76ee73811bc465 |
refs/heads/master | <file_sep>#%%
import yfinance as yf
import datetime
import pandas as pd
import os
def reader(ticker, interval="1d"):
if interval == "1d":
days = 360
else:
days = 60
ticker = str(ticker)
now = datetime.datetime.now() + datetime.timedelta(days=1)
start = now - datetime.timedelta(days... | 0a3c4e0631e909195986b38c19ecb1524c4fb287 | [
"Python"
] | 1 | Python | radioxen/tradioxen | 3f709ad6e8d1b3215ac0be0c6952db723338d8f4 | e7b954a8f52bc697025ffa99e456a1ca13237dfe |
refs/heads/master | <repo_name>grensoft/sistemaventa<file_sep>/SistemaDeVenta/src/Formularios/frmPrincipal.java
package Formularios;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
public class frmPrincipal {
private JFrame frame;
/**
* Launch the applicat... | 71e7089828f39f1ea2974bf30dd79da4c09af521 | [
"Java"
] | 1 | Java | grensoft/sistemaventa | f758f46fa0b04a16812ee2360a03e3fd96181420 | e4bcf2aaf890813e55ece1cb754cffa6377a628d |
refs/heads/master | <repo_name>varshakasar/AutoIncrementUsingMongo<file_sep>/routes/index.js
const express = require('express');
const mongoose = require('mongoose');
var autoIncrement = require("mongodb-autoincrement");
const router = express.Router();
mongoose.connect('mongodb://localhost/test');
var db = mongoose.connection;
//handle m... | 4c803eaa57ef80f2c725c6072d44e23a3f1520db | [
"JavaScript"
] | 3 | JavaScript | varshakasar/AutoIncrementUsingMongo | db3f3641b39312db6dcd19d8e2314ce5090b2010 | a78d1f51b7439e8cd3a1c5dcba4359ca3d8f7d44 |
refs/heads/master | <file_sep>import { tMinimalData } from "../index.d";
export const minimalDataDefinition = {
"vehiculousado:VehiculoUsado": {
position: "vehiculoUsado",
attributes: ["version"]
}
};
export const allDataDefinition = {
"vehiculousado:VehiculoUsado": {
position: "vehiculoUsado",
attributes: [
... | 7b201de19ee7db5b8ae4fb666b82cbe49b36498f | [
"Markdown",
"TypeScript"
] | 93 | TypeScript | onefacture/cfdi-to-json | 9546e6d7b7f021c6c6a9ac9ba57aad4ec8969b42 | c2f92fa9e90f7da37f57c5ebd058bcc2b347a80e |
refs/heads/master | <repo_name>youyouxiaomusang/mySurvey<file_sep>/src/mycxf/Server1.java
package mycxf;
import org.apache.cxf.endpoint.Server;
import org.apache.cxf.jaxws.JaxWsServerFactoryBean;
public class Server1 {
public static final String address = "http://192.168.10.24:9999/cxf0519_server";
public static void main(Strin... | 9577bc4c3687786d6996769d276fd4a603d44267 | [
"Java"
] | 2 | Java | youyouxiaomusang/mySurvey | 467c029b2b4a57ea0d13dcc4ee7896742535d529 | f94f01bdc98aa5c89d7b1835ffe006bc41f3f134 |
refs/heads/main | <file_sep>#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <pthread.h>
#include <semaphore.h>
#include<sys/shm.h>
sem_t coronaPatient;
sem_t fluPatient;
sem_t Stop;
int virusType(){
return rand() & 1;
}
void * Admit(void * param){
int key=shmget(12329, 1024,IPC_CREAT | IPC_EX... | aa6b4d965a82b8eb02ae566ec396259a54e228e4 | [
"C"
] | 1 | C | Bsirohey/OS-Assignment3 | b68ea95b39bd2ee3b7b7abbcda68960781c83727 | f85d636c0865eae638ade95f28c9d03f2d56ad5a |
refs/heads/master | <file_sep>let data = {
src: "../image/vue.png",
title: "vue.js~手牽手,一起克全家福"
};
let vm = new Vue({
el: "#app",
data: data
});
<file_sep>(function() {
function jsonToQueryString(json) {
return Object.keys(json)
.map(function(key) {
return encodeURIComponent(key) + "=" + encodeURIComponent(json... | 74f6bee9afba434145ed9d9d3c9c6caab30d3635 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | Thomas-2019/practice | d0dda3f3f9e1904b95a4d490bfeada16c590b11f | 0da3bf713aa9be95b577dabefe99aa09e39b0c7d |
refs/heads/master | <repo_name>lk46/BookBorrow<file_sep>/BookBorrow/src/top/vist/bookborrow/dao/TestUtils.java
package top.vist.bookborrow.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.junit.Test;
import top.vist.bookborrow.utils.JDBCUtils;
publi... | 27e4b23b446ad5ccb0132a9d89034d6abd8aef25 | [
"Markdown",
"Java",
"SQL"
] | 11 | Java | lk46/BookBorrow | 40429daf85a95eac81fc2e0bc8f5f1b1cffc0579 | bc4e42e2b36c4c63836cb0e18fd0af59691f61c3 |
refs/heads/master | <repo_name>FeketeSz96/MultiparadigmaaZH<file_sep>/src/main/java/com/example/birthay/BirthayApplication.java
package com.example.birthay;
import com.example.birthay.reader.BirthdayReader;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.Com... | 14465566207b706244e77c9e12dfc6dc6964529a | [
"Java"
] | 1 | Java | FeketeSz96/MultiparadigmaaZH | bffc77fbc2df052929b9372aeaeff9dd9f2faea9 | 04089a9e9a4b1dc1f752492b04c56beee9511b21 |
refs/heads/master | <file_sep> public class Calculadora{
int x,y,soma,subtracao, multiplicacao;
float divisao;
public void soma(){
soma=(x+y);
System.out.println("A soma é " + this.soma);
}
public void subtracao(){
subtracao = (x-y);
System.out.println("A subtração é " + this.subtracao);
}
public void multiplicacao(){
m... | e410251761303324a22874c96397237446773c24 | [
"Markdown",
"Java"
] | 3 | Java | brunatobias/lp2 | 3b312635e118bccfd36f1285761c6152d68d9976 | f9d01d5437ba8c4be0c30bf7e04fa06996bf5593 |
refs/heads/master | <repo_name>YuHangZM/LibrarySystem-1<file_sep>/LibrarySystem/src/com/cc/library/dao/impl/BorrowDaoImpl.java
package com.cc.library.dao.impl;
import java.io.Serializable;
import java.sql.SQLException;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Sessio... | 5745853e47340267f89ec400aa521f8fd96c30ca | [
"Markdown",
"Java",
"SQL"
] | 27 | Java | YuHangZM/LibrarySystem-1 | e292626fc0c6867b69fedcf0b5a41f81f4db5f4f | 523ef194df6a5a73e6972307f47332286f26ba32 |
refs/heads/master | <file_sep>var should = require('should');
var assert = require('assert');
describe('Test Framework', function () {
it('should have mocha installed and running.', function () {
assert.equal(true, true);
})
it('should have the should library installed and running for fluent testing.', function... | fc31d70d1094898daafa36c3ef45eac1b25e7182 | [
"JavaScript"
] | 1 | JavaScript | LeiShi92/BeerBeer2 | 777bfaa82606222898778748510c0a3a7584976c | 32ffbecb06a1fd574bf9bcc84f76fe0ac267c470 |
refs/heads/master | <repo_name>Leoleo710/Calculator<file_sep>/src/feetToMeter/AreaCalculator.java
package feetToMeter;
public class AreaCalculator {
public AreaCalculator() {
}
public double area(FeetMeter f1, FeetMeter f2) {
return f1.toMeter()*f2.toMeter();
}
}
| 751c8efb1ba17e913b84825797890b0e129862fa | [
"Java"
] | 1 | Java | Leoleo710/Calculator | b299d80ad21f29e5b17e5dea8f32b34e63d55bba | c21f1c9eb13538e63ad2ef0b2b1d2ec4ee17d501 |
refs/heads/master | <repo_name>ibenzyk/doc<file_sep>/index.php
<?php
echo "<h1> Hello Iegor </h1>";
?> | d5129041ca895e0d3bf59e36824544b0d99ecad8 | [
"PHP"
] | 1 | PHP | ibenzyk/doc | 2176f70ad1803c3c3c36f93faa925ad70c0ef756 | fa1d1cbcfa186a9aa1a65c2fed98b2f1a69872ba |
refs/heads/master | <repo_name>jtatarow/DCGAN<file_sep>/dataloader.py
import tensorflow as tf
def fasion_mnist():
dataset = tf.keras.datasets.fashion_mnist
(train_images, train_labels), (test_images, test_labels) = dataset.load_data()
return train_images, train_labels, test_images, test_labels
def mnist():
dataset = t... | 4868ee70231b4f0d5be6dba0dccd7520e43411d9 | [
"Python"
] | 3 | Python | jtatarow/DCGAN | 3528650ed559c7fbf8e1844247c13e41c5f90d7b | 606f8d4d3dd24ee620605c2dc0c394e8e0016fb6 |
refs/heads/master | <file_sep>import { Routes } from '@angular/router'
import { LastVisitedComponent } from './last-visited/last-visited.component';
import { WeatherComponent } from './weather/weather.component';
export const allAppRoutes: Routes = [
{ path: 'weather-component/:stad', component: WeatherComponent },
{ path: 'last', co... | 578b436a8febee27d5dd536c3c624e33cf9d1a50 | [
"TypeScript"
] | 5 | TypeScript | Robbetest123/Angular_React | c4f9946c353fe70c71257d5f8a75e7c31fd24641 | b470621c3c9ec8352538d721208f8cdfce92fb63 |
refs/heads/master | <file_sep>import { HexagonCell } from "./HexagonCell"
export class HexagonMap {
private cells: Array<HexagonCell>;
private row_count: number;
private col_count: number;
public constructor(row_count: number, col_count: number) {
this.row_count = row_count;
this.col_count = col_count;
... | cc11260a86e01c52adedd0ba7d0c5b1edaa8ab4e | [
"TypeScript"
] | 5 | TypeScript | pomodorozhong/HexMap | 7001b43c2ba6c25dfb2a072c33f5577262574a3d | 33d6c76bc4af3c25d2a0b8208225189553720985 |
refs/heads/master | <repo_name>arvind0937/topojson<file_sep>/lib/topojson/scale.js
var type = require("./type");
module.exports = function(topology, options) {
var width,
height,
margin = 0,
invert = true;
if (options)
"width" in options && (width = +options["width"]),
"height" in options && (height = +opti... | 00c279f6e862892463e74bc7a6e32abe2e3cdd1a | [
"JavaScript"
] | 1 | JavaScript | arvind0937/topojson | 286395200bae38b2475b0e404e189b1a81c78ead | 7e12dda802c518f6973c7dada8738dce91e46502 |
refs/heads/master | <file_sep>/* eslint-disable no-console */
/* eslint-disable indent */
/* eslint-disable strict */
const drillArray = require('./array');
function main() {
drillArray.SIZE_RATIO = 3;
let arr = new drillArray();
arr.push(3);
arr.push(5);
arr.push(15);
arr.push(19);
arr.push(45);
arr.pu... | 74b0d68fa2979df59f8ca1d8ec722eb9694557d8 | [
"JavaScript"
] | 1 | JavaScript | thinkful-ei-heron/DSA-Arrays-Wesley-Andrea | e2508e8b58ee4bd6a38130ad504c9bd267b47a2d | b77885b855025d41f19e7f546a1ba667da243baa |
refs/heads/master | <repo_name>gitgeorgec/music-store<file_sep>/src/container/user.js
import React, { Component } from 'react';
import ProductItem from '../components/productItem'
import HeadphoneImg from '../img/malte-wingen-381988-unsplash.jpg'
import { getUser} from '../api/api'
class User extends Component{
constructor(props){
... | 290d200b7e2ce39d1ece2ce38228fba5ec5864ae | [
"JavaScript"
] | 14 | JavaScript | gitgeorgec/music-store | b8f636b00960e4c22974d3c9fef24b44acd1c1d5 | 7d33adb9246e26bb668dba3526dee5cd3bbf6d0d |
refs/heads/master | <file_sep># grunt-email-builder [](https://travis-ci.org/yargalot/Email-Builder)
Inline css into HTML or inline css into styletags for emails. You can then send files to Litmus for testing.
## Getting Started
Install this grunt plugin nex... | 120dee348ba01c011824742537d30fc146bd0429 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | AgtLucas/Email-Builder | 5419e1c2e0b66059c4c0a8a91ccdffb4499f5471 | c8c639db199b68d64c490b172f8c9494010fc578 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.