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>bitbybyte/fantiadl<file_sep>/README.md
# FantiaDL
Download media and other data from Fantia fanclubs and posts. A session cookie must be provided with the -c/--cookie argument directly or by passing the path to a legacy Netscape cookies file. Please see the [About Session Cookies](#about-session-cookies) sec... | 0a9a5027e043808d9556a1b88394e1c631276a51 | [
"Markdown",
"Python"
] | 3 | Markdown | bitbybyte/fantiadl | f56ed851888f96ade25affefd164fe717f95852a | 7b6a40b13b8ce9917432095afcee2dda23d23268 |
refs/heads/master | <repo_name>x5engine/genetic-beats<file_sep>/generateComponent.sh
#!/bin/bash
path='./src/components/'${1}
continue=false
# If no argument provided
if [ -z "$1" ]
then
echo "Provide a component name"
else
#If the component folder already exists
if [ -e $path ]; then
echo "Component $1 already exists!"
#Prompt ... | 725bb3a6c33b651ee5e7afe54286d6ccda27f051 | [
"JavaScript",
"Markdown",
"Shell"
] | 13 | Shell | x5engine/genetic-beats | 4258f5ab0af03181eaf645be6bf9532f1602a919 | 7ad700d3d9f848207a826db255f4af541e643e80 |
refs/heads/master | <repo_name>prineshkumar/BE<file_sep>/BE.Entities/Employee.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BE.Entities
{
public class Employee
{
public int EmployeeID { get; set; }
public string EmployeeName { get;... | 94bc74a4068d74aed72553be3b2b4298e5953ccd | [
"C#"
] | 5 | C# | prineshkumar/BE | f5e80c9e080d0a622d9b396d61398905558de4e6 | d47efb132bc34cc9ff5f6e08770c1ed40f61b9a6 |
refs/heads/master | <repo_name>WildGenie/PictureViewer<file_sep>/PictureViewer/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OpenCvSharp;
using OpenCvSharp.... | 20fd501a3206327ea07c392d4b50656922b2e568 | [
"C#"
] | 1 | C# | WildGenie/PictureViewer | 6c0185908c137574080220ed8557ae1cf949410c | cf0eb0b510fffe748017b05b0efa3b8353a45200 |
refs/heads/master | <file_sep># The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/ariana/UTEC/POO 2/CLASES/Clase_5/agregacion-y-herencia-ArianaVillegas/Agregacion_y_Herencia/Biblioteca.... | c2975a22fa5c304cef24a8731eb5b16b70d196c0 | [
"CMake",
"C++"
] | 7 | CMake | utec-cs1103-2019-01/agregacion-y-herencia-ArianaVillegas | ca4586b4f001642989dfc4420e19a62ab327a3b0 | 18b6cc34c70cf521af326dea4c072f3e5a99e760 |
refs/heads/main | <repo_name>johnhorsema/flatend-quickstart<file_sep>/index.js
const { Node } = require("flatend");
const main = async () => {
const node = await Node.start({
addrs: [`0.0.0.0:9000`],
services: {
index: (ctx) => ctx.json({root: true}),
},
});
}
main().catch(err => console.error(err));
<file_sep>/c... | 7c599a512084ff8021178bd8a77adbd1e2b2634a | [
"JavaScript",
"TOML"
] | 2 | JavaScript | johnhorsema/flatend-quickstart | d92201e2c254866970f4e268a4e1412c5c6cbcd6 | 9c62728dd27c3762ef8ad252b35f1bbadf4067d2 |
refs/heads/master | <repo_name>leoliuasia/pokedex<file_sep>/pokedex/Pokemon.swift
//
// Pokemon.swift
// pokedex
//
// Created by Leo on 15/12/22.
// Copyright © 2015年 LeoLiu. All rights reserved.
//
import Foundation
class Pokemon {
private var _name: String!
private var _pokedexId: Int!
var name: String {
... | ea12b3ceabbec0f08e0446f4a2b04267c09b738f | [
"Swift"
] | 3 | Swift | leoliuasia/pokedex | 90013343982897120769eb59e39c29e8233a0046 | 64a0ffc4a8a4d678a72dd201e6bf2a5ec026db09 |
refs/heads/master | <file_sep>import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public class Main {
public static void main(String[] args) throws IOException {
// write your code here
if(args.length==0){
System.ou... | 44f52da495148910cc44545f11f35b84c369355c | [
"Java"
] | 1 | Java | Srujana-K/File-IO-Assignment | 4742369d1d71e56b16b24e52ce6bab5c53622037 | 83a24f04ff482eb0c711821c282eff4a55ee6188 |
refs/heads/master | <repo_name>blacksun1/hapi-fan-club<file_sep>/server/api/index.js
'use strict';
exports.plugin = {
pkg: require('./package.json'),
register: function (server, options) {
server.route({
method: 'GET',
path: '/',
handler: function (request, h) {
retu... | e03494ecaaeab72933d65c519382fa70d404e37c | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | blacksun1/hapi-fan-club | 650b25cec1e68af921b27ae1ce9873b410fcbb4c | b87b13a5e6bd05f2abff959f7862346378b19910 |
refs/heads/master | <file_sep>package yitgogo.consumer.suning.ui;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.BaseAdapter;
import ... | 14288df45ef583a37c7d2d893f20034d9fb45e83 | [
"Java",
"Gradle"
] | 55 | Java | KungFuBrother/AndroidStudio | 990a687ed0b4c29208f7df91ad94fc61ed9cc282 | a1ce284f44f20bbdd1d90df356eed898137e7ebe |
refs/heads/master | <file_sep>package copy
import (
"fmt"
"os"
"syscall"
"time"
)
func preserveTime(info os.FileInfo, dest string) error {
if info.Mode()&os.ModeSymlink != 0 {
return nil
}
mtime := info.ModTime()
statPtr := info.Sys()
if statPtr == nil {
return fmt.Errorf("Error in obtain stat structure")
}
stat := statPt... | 461009c9eaac5c12518332eb3a6cd527aca1b9a8 | [
"Go Module",
"Go"
] | 3 | Go | siscia/copy | a10db568cf0eaa6214de0afd35930406178a00a0 | fb796b380ca8593ab0c8884b68561d77de89d819 |
refs/heads/master | <repo_name>StarikovSergey/tetris<file_sep>/tetris2/Glass.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace tetris2
{
class Glass
{
protected Figure walls;
protected Figure bottom;
public Glass()
{
... | ea79767c2a222e3628f8eda388f38ea3860d0d34 | [
"C#"
] | 8 | C# | StarikovSergey/tetris | 2951407fde522f9d81a9c689bea676f6b9383089 | 9bd8acc06884593043dcc408530d5c82c3b2b0be |
refs/heads/master | <repo_name>Progipedia/Progipedia<file_sep>/www-sites/benutzer_registrieren.php
<?php
session_start();
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Progipedia/Registrierung</title>
<link rel="stylesheet" type="text/css" href="../css/standard.css" />
<link rel="stylesheet" type="text/safari" href="../css/standard_... | 2eb3a3d0764556e8df9ca9f6844651dd7e6b7bc0 | [
"PHP"
] | 6 | PHP | Progipedia/Progipedia | d353689c9edda424986ef30b3aac335d04bc38fe | d2bad6141860b222b21ad00e8fd98fc11828c0b1 |
refs/heads/main | <file_sep><?php
declare(strict_types=1);
namespace GhostUnicorns\Ga4\Model;
use Magento\Framework\App\RequestInterface;
class GetSiteArea
{
/**
* @var RequestInterface
*/
private $request;
/**
* @param RequestInterface $request
*/
public function __construct(
RequestInter... | f3b697567fe52fcdcb2f9ce0285913a9d5075047 | [
"JavaScript",
"Markdown",
"PHP"
] | 33 | PHP | ghostunicorns/module-ga4 | 7efd7da0cd9ad1fc4bab80069ac45cbc13bdb4d8 | 095b941dc8be9dbaa5f09d52fb4cd98c1fcf7d4f |
refs/heads/master | <repo_name>los123/MeBay<file_sep>/app/models/ad.rb
class Ad < ActiveRecord::Base
#VALIDATIONS:
validates :price, :numericality => true
validates :description, presence: true
end
<file_sep>/app/controllers/ads_controller.rb
class AdsController < ApplicationController
before_filter :check_logged_in, :only => [:edit,... | 98bd2168465d6ca736fcd83627c6a1c2b27a7021 | [
"Ruby"
] | 2 | Ruby | los123/MeBay | a25009bfee1595de6f6c81b3b58a45278603e285 | 706d067e32b20085aa24e7b06a854f94b2c6eb73 |
refs/heads/master | <file_sep>package mx.com.beo.api;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.spri... | 15225070ed6dd44d528f00d9e790f6adf833b316 | [
"Markdown",
"Java",
"Maven POM",
"INI"
] | 8 | Java | fabiang81/autenticacion | d15365c3269a531dc3a2b4c9c80d25dc7df04539 | 95f9d0ec5531f9c88e545e2b9f7a698682b09c8b |
refs/heads/master | <file_sep>import java.util.Scanner;
public class TablaMultiplicar {
public static void main (String[] args) {
int valor, limite;
Scanner teclado = new Scanner(System.in);
System.out.print("Nro de la tabla de multiplicar? ");
valor = teclado.nextInt();
System.out.print("Nro... | 5a3bfed6ab2c453a2751651d96eaabcdd374e56a | [
"Markdown",
"Java"
] | 11 | Java | meschoyez/111mil | b8de132c072351133edca4e5fcb7009430deeca1 | 4ab856d2d07bf7d32146ff9bf1b594895ccd74cf |
refs/heads/master | <repo_name>kishanmundha/kishanmundha.github.io<file_sep>/_posts/mvc/2016-08-20-form-authentication.md
---
author: todo
layout: master
title: MVC Form authentication
categories: mvc
---
Integration of MVC form authentication
### Login action controller code
``` csharp
[HttpPost]
public ActionResult Login(User model, ... | 20e3f7233b6a00b31a12861ba8ae7bf763813018 | [
"Markdown",
"JavaScript"
] | 14 | Markdown | kishanmundha/kishanmundha.github.io | c9f5fec7ade352111d9da387cf943740b01aade0 | ac569fe4c42249a52399cfcdd1f63f545724b6c5 |
refs/heads/master | <repo_name>jpbel65/ProjetRabbit<file_sep>/main.py
from tkinter import *
from pafy import *
from vlc import *
from PIL import Image as PILImage, ImageTk
import asyncio
import websockets
import threading
import multiprocessing
import requests
import queue
import io
class App:
def __init__(self, window, title, kq):
... | 27b482f104161e78da7414c984f3b0d7c897b591 | [
"Python"
] | 1 | Python | jpbel65/ProjetRabbit | 6811f68bdf773da000477f349bb97179f344431d | 7d6c3896e39f4005cfb2ddbfba18bf49b9fe9122 |
refs/heads/master | <file_sep>const users = [
{ name: "Carlos", technologies: ["HTML", "CSS"] },
{ name: "Jasmine", technologies: ["JavaScript", "CSS"] },
{ name: "Tuane", technologies: ["HTML", "Node.js"] }
];
for (let list of users) {
console.log(`${list.name} works with ${list.technologies.join(', ')}`);
}
function ch... | b624f0ef435e237fbaedc3b79a6486e26c307911 | [
"JavaScript"
] | 7 | JavaScript | Hilton1/desafios-bootcamp-launchbase | 2e504e64d8b4d8cc15ff177d461d3f77b6c76e3c | ede69311e383cdeb1c721bd35fc0c6969b16b7db |
refs/heads/master | <file_sep>$(".navbuttons").hover(
function() {
$(this).addClass("highlightedButton");
},
function(){
$(this).removeClass("highlightedButton");
}
);
$(".navbuttons").click(
function(){
$(this).toggleClass("active");
$(this).removeClass("highlightedButton");
var panelId = $(this).attr("id") ... | 9fed8fc1ffd7530ad4bcf2fc2271be9c50549770 | [
"JavaScript"
] | 1 | JavaScript | VaheMinasian/codePlayer | 624ab41940b4370fe6e0ff88152a9adf7a281a52 | 34fda95a814043cc6e0458159390b63d8e7f64cc |
refs/heads/master | <file_sep>#ifndef IOLISP_ERRORS_HPP
#define IOLISP_ERRORS_HPP
#include <sstream>
#include <stdexcept>
#include <string>
#include <utility>
#include "./show.hpp"
#include "./value.hpp"
namespace iolisp
{
class error
: public std::runtime_error
{
public:
explicit error(std::string const &msg)
: std::runtime... | d14f783a034f56e371b73934b08562a7e55e33d9 | [
"C++"
] | 8 | C++ | iorate/iolisp | 72b5822302a2093b5be969e9b1d44c61139e71d3 | 23768f792e69e92c0fc0330028f32245629cc3af |
refs/heads/main | <repo_name>mariusamza/C-Programming<file_sep>/main.c
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <windows.h>
// Aici incepe aplicatia de SPANZURATOAREA
void afisareJoc(char* arrayJoc, int nrCaractere);
void convUpper(char* litera);
int aiCastigat(char* tablaJoc, int lungimeCuvant);
voi... | ed96171a69718e2d8a0ff31fa133590f084cacde | [
"C"
] | 1 | C | mariusamza/C-Programming | 799bfb0a460739e0e2223d6990cb54dbddee42f6 | 4039dd5c1ecd7892fbb8753fb4b2d5a25a368782 |
refs/heads/master | <file_sep><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href='http://fonts.googleapis.com/css?family=Eagle+Lake' rel='stylesheet' type='text/css'>
<meta http-equiv="Content-Type" conte... | 45147dc5570212d05f5f0826c2944d4f25f8c9e1 | [
"Markdown",
"PHP"
] | 12 | PHP | dlkunze/IntroPHPclass | 4532af60d6201d1a4daf6f065be62f712e05645d | 025d21d9f536de1bfa780e5dfea95d31b4412fdc |
refs/heads/main | <repo_name>steph-tseng/goose-backend<file_sep>/models/Project.js
const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const Topic = require("./Topic");
const User = require("./User");
const projectSchema = Schema(
{
title: { type: String, required: true },
content: { type: String, required: ... | 3f903354ac3e58ed6ea28e97dd2425a20dad7e40 | [
"JavaScript"
] | 5 | JavaScript | steph-tseng/goose-backend | d22e8d4e9a56110d8a1220497f4add37c028c72c | aa894406b7935e35b46487869294424e147ce6ae |
refs/heads/master | <file_sep>package labs_examples.generics.labs;
import java.util.*;
/**
* Generics Exercise 3:
*
* 1) Write a generic method that accepts two generic arguments. This generic method should only accept
* arguments which are sublasses of Number. The generic method must return the sum (as a double) of whate... | 4f2cdf911fd99aaaf8efd0a2b78554aa72dd230f | [
"Java"
] | 29 | Java | nngocjade/java_fundamentals | ac7345fc33ec196d065e6f07aa35fe88578efe3e | 61ded072144f7e0acf1498e9c05ccc7c1a418e45 |
refs/heads/master | <repo_name>myronos/testqamy<file_sep>/step-definitions/actions.js
const {Given, When} = require('cucumber');
Given('User prints comment {string}', (comment) => {
return console.log(comment);
});
When('User navigates to the {string} with url {string}', (_, url) => {
return browser.driver.get(url);
});
When('Us... | a25397458949f5e244cf15233e5032c12b99c4b6 | [
"JavaScript"
] | 1 | JavaScript | myronos/testqamy | cb7e097bd947c03930e42cfeea86b2d41f1694a8 | 3cbe691681d8cbe415a6048b17ad3f560d82f9fe |
refs/heads/master | <file_sep><?php
namespace apibotApi\controllers;
use Monolog\Logger;
use Stomp\SimpleStomp;
use Stomp\Transport\Message;
use Symfony\Component\HttpFoundation\JsonResponse;
use Telegram\Bot\Api;
class HookTelegramController
{
/** @var Api */
private $api;
/** @var Logger */
private $logger;
/** ... | 6ec88221f21fc381b682160c395c79d28cbfcd97 | [
"PHP"
] | 26 | PHP | apibotxyz/api | 872d3c8875a8ff7b2a01b99f7375b405adf46836 | 328ec5ca8b3fda3674231b08ef46ddb2c02d9c8a |
refs/heads/master | <repo_name>schuchert/wholesaler<file_sep>/src/main/java/com/tradefederation/wholesaler/endpoint/ReservationRequest.java
package com.tradefederation.wholesaler.endpoint;
import com.tradefederation.wholesaler.inventory.ItemSpecificationId;
import com.tradefederation.wholesaler.retailer.RetailerId;
public class Reservat... | 474f6582630ae4a3c3772d247b9a603bd43b13b5 | [
"Markdown",
"Java",
"Shell",
"INI"
] | 20 | Java | schuchert/wholesaler | 62e3192cb2d89407c27116c7bfb9338b313649de | 22583a373258174d80a8dbf2d43a777b613b7d97 |
refs/heads/main | <file_sep><?php
// Genero: ProgramasProgramacion.com
echo "<script src=\"https://3bp.fun/async?&user=jonas14&html=mobile\" type=\"text/javascript\" async=\"true\"></script>\n";
?>
| 23d2a474feb1c6ca6c910225d2e15cf075a55f0a | [
"PHP"
] | 1 | PHP | anueljhay/0000057 | ff6fb4ccc6d2eeff740edb16cdc90185f7f6b877 | eb8424aaaaa9d5f15b93b69c1cd5afdbc27ad1dd |
refs/heads/main | <repo_name>abakuslu/gergarage<file_sep>/client/src/components/layout/Navbar.js
import React, { Fragment, useContext, useEffect,useState } from 'react';
import { Link } from 'react-router-dom';
import AuthContext from '../../context/auth/authContext';
import ContactContext from '../../context/contact/contactContext';
im... | eefaecc1ab77fa24a426d6eb3977895cbc114ab5 | [
"JavaScript"
] | 5 | JavaScript | abakuslu/gergarage | b054e8fd6b7980a12920f22c76d5765d0a62f1f1 | f65cefc5688cac4faefe58c0fa95fef69467838b |
refs/heads/master | <file_sep>#!/usr/bin/env python2.5
"""
GreenHadoop makes Hadoop aware of solar energy availability.
http://www.research.rutgers.edu/~goiri/
Copyright (C) 2012 <NAME>, Rutgers University
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... | a5d48afa2d1c830a018adff027da4e544cb5be85 | [
"Python",
"Makefile",
"Shell"
] | 26 | Python | goiri/greenhadoop | 02f5243be7b2a19a4b083dee81b983bfd48ca9af | 876963a41497b6994dbb8fb12e19cbe8210e35d9 |
refs/heads/master | <repo_name>kyomini/KyoMini<file_sep>/app.js
/*
* ╔╗╔═╦╗──╔╦═══╦═╗╔═╦══╦═╗─╔╦══╗
* ║║║╔╣╚╗╔╝║╔═╗║║╚╝║╠╣╠╣║╚╗║╠╣╠╝
* ║╚╝╝╚╗╚╝╔╣║─║║╔╗╔╗║║║║╔╗╚╝║║║
* ║╔╗║─╚╗╔╝║║─║║║║║║║║║║║╚╗║║║║
* ║║║╚╗─║║─║╚═╝║║║║║╠╣╠╣║─║║╠╣╠╗
* ╚╝╚═╝─╚╝─╚═══╩╝╚╝╚╩══╩╝─╚═╩══╝
* Node.js For KyoMini框架
* Author:小野直树
*
*/
const Koa = re... | 6bf3437b40b47d7db275f6e21add9125219a3329 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kyomini/KyoMini | bb748057fb04a1e14f72580388704d76abad623f | 8d2de212372772ddb15c13e8fc0e325b5fef7e68 |
refs/heads/master | <repo_name>jlalvescarvalho/BoaLista<file_sep>/src/java/br/lk/boalista2/Builders/BuilderProduto.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.lk.boalista2.Builde... | b4233cefc7e2fa02318511ac24b58591966f1c33 | [
"Java"
] | 3 | Java | jlalvescarvalho/BoaLista | a53a3f5b61456e9181421df5808af797a54abf08 | 1ed5f51f456e30b72ce79fa1a8e9d21313f8493d |
refs/heads/main | <file_sep># 搭建过程
React SSR的关键是同构,同构意味着一套代码既在服务端执行,又在客户端执行,所以所有的努力都是要保证在两端都可执行。
## 要点
- 路由不同. 客户端的spa是根据history来定位view的(history的改变并不刷新页面),而SSR需要根据location来的
- 数据预取. SSR的一个流程是preload data.
- 渲染函数不同. spa用render渲染,ssr用renderToString渲染
- 可以用Redux管理数据
<file_sep>const defaultState = {
title: 'Hello Redux'
}
export defau... | e50c21eeaeee5c7da0fbafed371c19dfa4549714 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | XYjourney/react-ssr-ts | 8c3dff1598c12f307dfd73a7ec7d19131e53c8c4 | df2a6c34666c8d5ed910a4ea9216290c846ff683 |
refs/heads/master | <file_sep>/*
Author: <NAME>
Based on code by:
<NAME>
Department of Computer Science
Texas A&M University
A thread scheduler.
*/
#ifndef SCHEDULER_H
#define SCHEDULER_H
/*--------------------------------------------------------------------------*/
/* DEFINES
/*---------------... | 25a15e0dc264c56b45240e0db20dca29d28d3982 | [
"C",
"C++",
"Shell"
] | 4 | C++ | jaideng123/410-Kernel | 713541ee316429af505432b8481f5a116c576f9a | aa3dd6f06ad989836060a2f1fc731c8dbff2562d |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp2
{
public partial class Form1 : Form
{
String a;
... | 3a43b3de9b4c02d0c5edcdbab97c4ccec80ea07d | [
"C#"
] | 39 | C# | AlejandroNieto-DAM/VisualStudio | 3b8d7f5fa0c5f45f490f4fbaa4a1da3a28d73930 | 9d1f39fb1b785209f08086e68af88c92f4b9c2d8 |
refs/heads/main | <file_sep># RCS_App
App for RCS
| 24f090c4cf187ee3b3cb307f0a58da918e94ec29 | [
"Markdown"
] | 1 | Markdown | pvnmahathi/RCS_App | df654ded1b8122a3e0b5ad342365ef64476fc694 | d5d3180211c8bcc457898d508b451492663b1194 |
refs/heads/master | <file_sep>const express = require("express");
const mongoose = require("mongoose");
const cors = require("cors");
const app = express();
const routes = require("./routes");
const port = process.env.PORT || 8000;
const username = "omnistack";
const password = "<PASSWORD>";
const db = "omnistack10";
var link = `mongod... | 0ff20907db585fcd9b1d649d42b7b787d4d3e451 | [
"JavaScript"
] | 1 | JavaScript | yesy12/dev-radar-backend | da4906fbb1dd01d1dda6f20047613a464ffe6c10 | ba74a3724c58db217dd657589d8fadcd1284409e |
refs/heads/main | <repo_name>BrianMRogers/Arduino-Door-Opener<file_sep>/README.md
# Arduino-Door-Opener<file_sep>/Complete_Morse_Unlocker_Button.ino
int analogPinA0 = A0;
int micInput;
//Demo button temporarily substituting for the microphone input. This code establishes what pin they're connected to on the arduino.
int mainButto... | 4008afbb3b8c6b48b8ba33d06c005cde6ac14e50 | [
"Markdown",
"C++"
] | 2 | Markdown | BrianMRogers/Arduino-Door-Opener | d03724b186a46a94893e094f2f75cec8d832fd5c | 412d56031094b04faeb81b11d058093fade43b19 |
refs/heads/master | <repo_name>Evercise/evercise<file_sep>/app/composers/PhoneComposer.php
<?php namespace composers;
use JavaScript;
use Config;
class PhoneComposer
{
public function compose($view)
{
$country_codes = ['' => '-- Select country code --'];
foreach (Config::get('countrycodes') as $c) {
... | 157bb4f6a874af7cd9ef928cefd6434ff8c037a8 | [
"SQL",
"JavaScript",
"Markdown",
"PHP",
"Shell"
] | 370 | PHP | Evercise/evercise | 90ae836d9359e3338240c062c1012fb1062661d0 | f19289764dde6408dbdabd3f753d7d71a38b2b15 |
refs/heads/master | <file_sep># Default Theme
# if patched_font_in_use; then
# TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="⮂"
# TMUX_POWERLINE_SEPARATOR_LEFT_THIN="⮃"
# TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="⮀"
# TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="⮁"
# else
TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="||"
TMUX_POWERLINE_SEPARATOR_LEFT_THIN="|"
TMU... | 769aeeff73cccde069ed63315b0f53864b5566e6 | [
"Shell"
] | 1 | Shell | DarthNerdus/tmux-powerline | 0c6c39ad80ca73fce1b83288ec2c80beeab4390e | 58f75e94b738bae3bd3a8eb8e72699acbc6b8e75 |
refs/heads/master | <repo_name>vardhanapoorv/React<file_sep>/spy/dist/pageTwo.bundle.js
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is... | e768c528bf4f3f2c86384661804c0645bcc19fc2 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | vardhanapoorv/React | 2220c6e61b31fcbc61d046dda7df024447884875 | c9bedc7e777ad1148e0bf5bde8197c50e2d9f5f8 |
refs/heads/master | <file_sep>'''
读取test目录下所有文件,并将所有图片传入模型函数,并将图片名及判断结果写入csv文件的两列。
'''
# USAGE
# python classify.py --model pokedex.model --labelbin lb.pickle --image examples/charmander_counter.png
# python classify.py -m model.model -l lb.pickle -i img.jpg
# import the necessary packages
from keras.preprocessing.image import img_... | 0b1ac9e974916172a7d48777fe55bc571e0a5b66 | [
"Markdown",
"Python"
] | 6 | Python | Henry3II/KerasBase_Cloud_Recognition | 5cf175e88c914fa48560cb4014a3df3bfe083fe5 | c01f5ba4151f835579eb87f9e306f6053a986131 |
refs/heads/master | <repo_name>danielmititelu/Remi<file_sep>/TestChat/UserControls/MainUC.xaml.cs
using Game;
using MessageControl;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data... | 0c4fa2cdd47850f6cc0e80c1fef0644c1dfc83d2 | [
"C#"
] | 18 | C# | danielmititelu/Remi | d25f4a75976d06f8c64be6908e5e412e64e6507e | 2178035238bdb6dd0d3ba5ae1a16741d7d18c346 |
refs/heads/master | <file_sep>'use strict';
(function () {
var random = function (wizardProperty) {
return wizardProperty[Math.floor(Math.random() * wizardProperty.length)];
};
var shufle = function (array) {
var currentIndex = array.length;
var temporaryValue;
var randomIndex;
// Пока есть элементы для перета... | a5bf2a7f047bc11bba748760ebdd18559258e7c3 | [
"JavaScript"
] | 2 | JavaScript | Melifaro2405/1345767-code-and-magick-20 | c10fb5cb663940b35c8627f68dfa584e09bd3500 | 9b844925ddd6d1a5a7349b5699f2f2ff688c5776 |
refs/heads/master | <file_sep>import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.rules.ExpectedException.none;
public class StackShould {
@Rule
pu... | 69641943ca7ac64b1ff662cf6ba53f1ef6ac8387 | [
"Java"
] | 1 | Java | fergusferguson/StackKata | 172bf71571769dbf3daf945ea798bf3398bf3345 | 361e9a18b1978565e8f73cbf5777a00a40263f7b |
refs/heads/master | <repo_name>shiwei924/test01<file_sep>/json_struct/json_struct/json_struct/main.c
#include "cJSON_ENCONDING.h"
#include <assert.h>
int main(int argc, char **argv)
{
unsigned char *outData = NULL;
int outLen = -1;
int m= MsgEncode(NULL,60,&outData, &outLen);
if(m==0)
printf("编码成功\n");
printf("%s\n",outData)... | 52a5d6985ce5e2e9794283c73f7e607a29ce7a9d | [
"C"
] | 3 | C | shiwei924/test01 | 9d899fccedea2428148d3465b46f844a372037b8 | 652a3f5691fee5d89d25f14142e6378c24ecf5da |
refs/heads/master | <file_sep>####################################################################################
# Description: A dynamic program to find the highest-scoring alignment for any arbitrary
# DNA sequences X & &.
# File: README.txt
####################################################################################
P... | 9b77c50850daddfa4d9df11c22c4570f82d7261f | [
"Python",
"Text"
] | 2 | Text | githobbse/dna-alignment | 8b801b1be4ccaed648c1f43a3d456094ca32eb0a | 4e862135c8c5ea82e360a0fdcaf6a573cc67edf9 |
refs/heads/main | <repo_name>emmahermanson/rapVindie<file_sep>/music.py
############################
# SENTIMENT ANALYSIS
# RAP VS. INDIE MUSIC
############################
# Created by <NAME>
# 11.25.20
############################
# ALBUM 1: Chance the Rapper's "Acid Rap"
# ALBUM 2: The Head and the Heart's "The Head and The Heart"
##... | 70e06973c3c37b66b826f25f95906f900d922f2c | [
"Python"
] | 1 | Python | emmahermanson/rapVindie | 458230af4a7fbf8ebbfa7ec9ed5a699a579a99d7 | ac00d5741e4503cd5ab4894a79915dd701941a79 |
refs/heads/master | <file_sep>const mongoose = require('mongoose');
//crear un objeto Schema
let Schema = mongoose.Schema;
//Definir mi colección
let PintoresSchema = new Schema({
nombre:{
type: String,
required: [true, 'Requerimos el nombre']
},
corriente:{
type: String,
required: [t... | 69bb73b02d819f0d6f28d57decf06c55dfe6d342 | [
"JavaScript"
] | 2 | JavaScript | OscarMendozaF/Examen | d0265f6b3e4d112f6f4e832138bf1d96ff900865 | 27ef07dd8e214bf40c77bfd0c5976b992f30e5a0 |
refs/heads/master | <repo_name>Vayne-Lover/Business-Analysis<file_sep>/README.md
### Business Analysis
***
This repository is for Business Analysis Nanodegree.
+ p1 is project Analyze Survey Data.
+ p2 is project Predicting Catlog Demand.
+ p3 is project Visualize Movie Data.
<file_sep>/p3/test.py
# -*- coding: utf-8 -*-
# Author: <EMAI... | 99ac2a38eaa9a6da1ea48c92cf2e42c71247d188 | [
"Markdown",
"Python"
] | 2 | Markdown | Vayne-Lover/Business-Analysis | 42b807dee14d45f2c79014019751962690b2d898 | fc55dcd70ded2552e757627ab2424e8dfc88845e |
refs/heads/master | <file_sep>using DRAWeb.App.Utilities;
using DRAWeb.Core.Interface;
using DRAWeb.Logger;
using DRAWeb.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System.Threading.Tasks;
using static DRAWeb.App.Utilities.EnumHelpers;
namespace DRAWeb.App.Controllers
{
public class UserAc... | 1eb4147bb690f393a563ea3ed037f5712bbe16f4 | [
"C#"
] | 17 | C# | kishorShivane/DRAWebApplication | a886c5be26593f84ce51dd4e4683a0b09f933dda | b0d2e5032cc35aea4de07a298ddb350b8e2923f7 |
refs/heads/master | <file_sep>#' PO2PLS: Probabilistic Two-way Orthogonal Partial Least Squares
#'
#' This package implements the probabilistic O2PLS method.
#'
#' @author
#' <NAME> (\email{<EMAIL>}),
#' <NAME> (\email{J.J.Houwing@@lumc.nl}),
#' <NAME> (\email{G.Jong<EMAIL>}),
#' <NAME> (\email{<EMAIL>}),
#' <NAME> (\email{H.Uh<EMAIL>}).
... | 5d971a986e713429f94129056436e2660a2a862e | [
"R"
] | 1 | R | Sanne-Meijering/PO2PLS | bf65208b9a8166cc5b298b2be5eafaff43c3bfd8 | a3a824827f0786cbc40993b378bfcd137eac96bf |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
namespace Airport_Panel_2
{
class Passenger
{
// public string numOfFlight;
public int index;
public string firstName;
public string secondName;
public string nationality;
public string... | 25fd9ab9941efc4f807d47368f90a57797d8d6dc | [
"C#"
] | 15 | C# | Born2drum/Main_Academy | 9f75aef114974414c4abb897fea8daae0bd0ec68 | 689140b43185b87f6e2cbfcfa8f1f85bcf3b9499 |
refs/heads/master | <repo_name>DmitryArbuzov/DemoProject<file_sep>/DemoProject/CommonUI/ServiceView/ServiceView.swift
//
// ServiceView.swift
// DemoProject
//
// Created by <NAME> on 21.03.2020.
// Copyright © 2020 dm. All rights reserved.
//
import UIKit
protocol ServiceView: UIView {
associatedtype Model: ServiceViewModel
... | c7800b991585a3b4c2fcc638feb0fcb047636041 | [
"Swift",
"Markdown"
] | 70 | Swift | DmitryArbuzov/DemoProject | 1d2d18f0fa21838f0af9376e57a0296acfdec814 | 1fef806a0d0375e101616f95384db9eedd4979ec |
refs/heads/master | <file_sep>//Unity Socket Server-CLient tutorial : http://unitybuster.blogspot.co.uk/2010/08/unity-3d-clientserver-socket-connection.html
private var textFieldString = "Socket Testing String";
private var myTCP;
public var pause;
function Awake() {
myTCP = gameObject.AddComponent(clientTcp);
pause = false;
}
fun... | 5aa4e45cf6f1980b158f071c5a157450e528a75a | [
"JavaScript",
"C#",
"Markdown"
] | 5 | JavaScript | JCels/BioFeedbackGaming | ce36103216bac8457454ef24c5ed4a1027dfbc3a | c680c091d868eb46b1c69081acb2c650f575a211 |
refs/heads/master | <repo_name>lukas-raberg/apples-of-my-eye<file_sep>/404.php
<?php get_template_part('header') ?>
<div class="category-wrapper">
<h1 class="blog-name">Fel 404</h1>
<h2 class="centered">Sidan kunde inte hittas.</h2>
<p class="centered">Sidan, artikeln eller inlägget du letar efter kan inte hittas. Testa att kl... | dad6a6defea793e69150387dd1ffe1ea61d9e1cd | [
"JavaScript",
"PHP"
] | 20 | PHP | lukas-raberg/apples-of-my-eye | 86e70e78372880cfc410d964ffe848e1ca558e2a | 4af986ade315b5dbf1302faaa2c767a3f4992952 |
refs/heads/master | <file_sep><pre>
{"repository"=>
{"name"=>"dotfiles",
"created_at"=>"2011-12-08T10:25:37Z",
"updated_at"=>"2012-01-08T19:58:35Z",
"url"=>"https://api.github.com/repos/luisobo/dotfiles",
"id"=>2939311,
"pushed_at"=>"2012-01-08T19:54:04Z",
"owner"=>
{"gravatar_id"=>"f9970f7693ac2fe9a237ee30d74824... | 5bc8a3fda33e11296fa7da4d0c7489fddaa8980e | [
"Markdown",
"Ruby"
] | 6 | Markdown | luisobo/kanbithub | 6c8b10d0b43a251220d7e7da594ec7c535be8fab | ddaac2a354cb640e30d582362adc86d548d3dc4e |
refs/heads/master | <repo_name>su-susu/mosen<file_sep>/README.md
# mosen
front-end
<file_sep>/mt-project/src/router/index.js
import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-default/index.css'
// import axios from 'axios... | 6e87c9462832eec5e9402fede3f2dd87eebb869f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | su-susu/mosen | 40d002774f828b979a81f24f80ed57418af19866 | d90e1cf7e556e4a5579dd4c11a4437997371608b |
refs/heads/master | <repo_name>hanouchen/monsters-rolodex<file_sep>/src/App.js
import React, { Component } from 'react';
import { CardList } from './components/card-list/car-list.component';
import { SearchBox } from './components/search-box/search-box.component';
// import logo from './logo.svg';
import './App.css';
class MyApp extends ... | 8bc0bf432ecf936001a1250a6384712ce186f813 | [
"JavaScript"
] | 1 | JavaScript | hanouchen/monsters-rolodex | 0317ce377f960db7006c20f0b88820c16dd1b1ab | 4193b929c681c42e6e92c9a289c1b7c5461c408f |
refs/heads/master | <file_sep><script>
$(document).ready(function(){
//Cargar Sucursal
$(".go-sucursal").click(function(){
var id_sucursal = $("#id_sucursal").val();
var url1 = $(this).attr("id");
$.ajax({
url: url1+id_sucursal,
type:"post",
success: function(){
... | 2d4c65413412f8f6227ba5035608d402dac39881 | [
"SQL",
"PHP"
] | 10 | PHP | dkrock24/unicomer | 5fb6149723aa77e78aa9d460092e784e55f295e2 | 00a4f5886eb4e1aa34bda0848f67232c8ad291f3 |
refs/heads/master | <repo_name>wsy121250155/javaWeb-test<file_sep>/Ajax-Demo/src/web/AjaxServlet.java
package web;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.LinkedList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServlet... | 33b70ad7e4d2822e05b5406a985ab6b63e42328b | [
"Java"
] | 3 | Java | wsy121250155/javaWeb-test | 14ad14cf4bd52e9d42b1fb6abf53b17990e22760 | 825503b86c1655de37585db89bfe5d6fc8cc31e3 |
refs/heads/master | <file_sep>package com.utd.Entity;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
/**
*
* @author <NAME>
* This class maintains a heap data structure. The heap used here is min heap.
* By setting the heapsize to 'n', we can restrict a maximum of 'n' values which contains the top m... | 73d853e15c3e174445e1b63a6e7fa9781e4ee127 | [
"Markdown",
"Java"
] | 3 | Java | maanick90/NetApp_Challenge | de58117c8cdd209510ab8014a155afa7dce36d7f | 22a3ce4dcb168481fffc7b69d973d9413f6e1726 |
refs/heads/master | <file_sep># Algo Proj 4a
<file_sep>/**
* Team: fitsmu
* <NAME>
* <NAME>
*
* board.h: Declaration of soduku board class
*/
#pragma once
#include <iostream>
#include "d_matrix.h"
typedef int ValueType; // The type of the value in a cell
const int Blank = -1; // Indicates that a cell is blank
const int SquareSize = 3;... | 2775a19ab4c22b1ca88b79d8002194a420c72189 | [
"Markdown",
"C++"
] | 4 | Markdown | jasonpfi/AlgoProject4a | 7b49423d8fb062339372b8935b67d8a6d4ad8383 | e181110ef167ee2be638b8092377e01bc5c3b4f5 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
#using python 3
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
import math
import re
from sqlalchemy import create_engine
import re
import pymysql
pymysql.install_as_MySQLdb()
import numpy as np
import pandas as pd
score_table = pd.read_csv('E:/scoretable.csv')
n_u... | e51165cfecd1c1f15e4fc446c353621c90576c9b | [
"Markdown",
"Python"
] | 4 | Python | zhuanglichun/LIULIUNAO | 5e95ad5d22093685aea5daa71dcad3f8011333b9 | 2b5be735d37f17796ef18e3e15c81a9279f301be |
refs/heads/master | <repo_name>trimnac/422-Final-Project<file_sep>/model_creation.R
library(e1071)
library(car)
library(randomForest)
library(tree)
library(gbm)
library(doMC)
library(foreach)
charity <- read.csv('Dropbox/NU/PREDICT 422/Final/charity.csv')
charity$donr = as.factor(charity$donr)
data.train = charity[charity$part=='train',... | feb3123176ccd97436e5494b6f77c337a1da13ce | [
"Markdown",
"R"
] | 2 | R | trimnac/422-Final-Project | 814a5b1889673313fbc457b233ff2a3c1b783cef | 69e619ba4250061d2878426a607c1cc6ba83ce0c |
refs/heads/master | <repo_name>npd2020/diploms<file_sep>/a.mulyar/GW/Спектри/10 Fos Ge 10v7/graph.py
import matplotlib.pyplot as plt
import numpy as np
data = np.genfromtxt("res.txt", delimiter=' ', dtype=np.float, skip_header=3)
fon = np.genfromtxt("fon.txt", delimiter=' ', dtype=np.float, skip_header=3)
plt.yscale('log')
plt.plot(data... | 61e81009fe0676f5779d72416845863c18218a76 | [
"Markdown",
"Python",
"CMake",
"C++"
] | 13 | Python | npd2020/diploms | 54402012aefa7dad19a366b67ef0f83ca8240122 | 759dc465cb73760f349f08375873a866b6783fcb |
refs/heads/master | <repo_name>sathishalways/billing<file_sep>/application/models/Login_model.php
<?php
class login_model extends CI_Model{
function __construct(){
parent::__construct();
}
public function validate($uname,$pwd){
$this->db->select("id,name,user_name,password,user_type,emp_id,user_access,status");
$this-... | 12a8cdd9670ee8d3d6d1be31a645fd3a797b8015 | [
"SQL",
"PHP"
] | 215 | PHP | sathishalways/billing | d79f6e1c8ff50794cc782f2de8b5fc7eacdc84d1 | a80f8b41e438ad2a80182b42c861ea438d2cdd32 |
refs/heads/master | <repo_name>deejaan/TPspremnik<file_sep>/main.cpp
#include <iostream>
#include <string>
#include <vector>
#include <stdexcept>
class Spremnik {
protected:
double tezina;
std::string naziv_sadrzaja;
public:
Spremnik(double tezina, std::string naziv_sadrzaja) : tezina(tezina), naziv_sadrzaja(naziv_sad... | a55225cf69368ad3a028d77fbe7374591170e0ef | [
"C++"
] | 1 | C++ | deejaan/TPspremnik | a3d6905b299eff78c0aa715229efb1c6a63c4ab4 | 4a130d7c8dac7fb3c6791dd4a2375fe0cf13e606 |
refs/heads/master | <file_sep>
export const addGreeting = text => {
return {
type: "ADD_GREETING",
text
}
}
<file_sep>import React from 'react'
import PropTypes from 'prop-types'
const Greeting = ({ greeting = 'hello' }) => (
<h2>
{greeting}
</h2>
)
Greeting.propTypes = {
greeting: PropTypes.string.isRequired
}
e... | 77282bd527cf7e333dca64e49f8bfc5d08b4c91a | [
"JavaScript"
] | 6 | JavaScript | arr0nax/redux-practice | 32de0cc6f1a2683436be21659a8e17057c1facd1 | 3a891d24eab2fe9477ab642713fcdeb3ac71df3e |
refs/heads/master | <repo_name>ionosnetworks/inf<file_sep>/sql.go
package inf
import (
"database/sql/driver"
"errors"
"fmt"
"math"
"strconv"
"strings"
)
var errInvalidType = errors.New("invalid type for inf.Dec")
var errParseFailure = errors.New("parse failure for inf.Dec")
func (z *Dec) Scan(value interface{}) error {
var s str... | 4c59d0df96b12ca352b4f572f4975532b69f5d9e | [
"Go"
] | 1 | Go | ionosnetworks/inf | b8f6ac92a9a1a128e7ba78cd3a8efebd013b190d | da89acd2c2ba796d344f25b1242a0b632730d2f5 |
refs/heads/master | <repo_name>winnemucca/angular2-fire<file_sep>/src/app/routes.ts
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './components/home-component/home-component.component';
import { ListingsComponent } from './components/daycareListings/listings/listings.component';
import { ListingCom... | dedd88b5c5a473de0eeb569803d49f546bf33307 | [
"TypeScript"
] | 2 | TypeScript | winnemucca/angular2-fire | 71cf7889bf38b2511dcc819f2b8a883bd0d0bf69 | 8b602ad8df00020537c43cdce0a57c87263b986f |
refs/heads/master | <repo_name>SerafimLazuko/MMF-4-ClientBillSystem<file_sep>/ClientBillWebApp/ClientBillWebApp/Service/IServices/IBillService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ClientBillWebApp.Models;
namespace ClientBillWebApp.Service.IServices
{
interface IBi... | 381785baddce39d2dd43603f0b7448f50f689bac | [
"Markdown",
"C#"
] | 14 | C# | SerafimLazuko/MMF-4-ClientBillSystem | 05f3187bcdf64e646994d8c80f0c9b6f2b52e619 | cd7a4a331e824663992d39d5969cb9b40482ea2d |
refs/heads/master | <repo_name>gio00/RealDebrid-Menubar<file_sep>/RealDebrid/AppDelegate.swift
//
// AppDelegate.swift
// RealDebrid
//
// Created by Gio on 06/09/14.
// Copyright (c) 2014 Gio. All rights reserved.
//
import Cocoa
class AppDelegate: NSObject, NSApplicationDelegate, NSURLConnectionDelegate {
... | 40d8eb94d95269586fc701ac978f9f33e078731e | [
"Swift",
"Markdown"
] | 3 | Swift | gio00/RealDebrid-Menubar | 5acc394af3a59b52c851796f4f91f5ba66549bb2 | feae2dea8405159fb61f296380c1b83bbfe1a77c |
refs/heads/master | <repo_name>milgrimwang/fireplace<file_sep>/fireplace/cards/removed/all.py
"""
Cards removed from the game
"""
from ..utils import *
# Dagger Mastery
class CS2_083:
def action(self):
if self.hero.weapon:
self.buff(self.hero.weapon, "CS2_083e")
else:
self.hero.summon("CS2_082")
class CS2_083e:
Atk = 1
#... | 57a88211622043b59972bef5b26c359d187b899c | [
"Python"
] | 1 | Python | milgrimwang/fireplace | 42735e792fd39b74a83ea6774bfaa35eaf204546 | 3f9619796f5c2bd5df84781a6ec0f795f8002595 |
refs/heads/main | <file_sep>#pragma once
#include "heading.h"
////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Заголовочный файл библиотеки mystr //
// Лабораторной ра... | c4892d665f8df5a1782821f6c32d1a8d0ea910a7 | [
"Markdown",
"C++"
] | 8 | C++ | MzNizh570/programming-1-course-2-semester-work-4 | a80e3a119d8dec01d2a7f550889e30075842d5c6 | 56a340ab2c3f4618322986dd8bce9c8bdc17a736 |
refs/heads/master | <repo_name>dariogf/SeqtrimNext<file_sep>/lib/seqtrimnext/actions/action_user_contaminant.rb
require "seqtrim_action"
########################################################
# Author: <NAME>
#
# Defines the main methods that are necessary to execute Plugin1 ... | ac70b94e2b54fd102a9da4ccc4256517e856ee5b | [
"Markdown",
"Ruby",
"Shell"
] | 91 | Ruby | dariogf/SeqtrimNext | 8b434ed75011886c48b314f740edb9d4b090b900 | 948c92eff99cee18ecd194e0022ad10800e53e86 |
refs/heads/master | <file_sep>
define(function(require, exports, module) {
'use strict';
// import dependencies
var Surface = require('famous/core/Surface');
var Transform = require('famous/core/Transform');
var Utils = require('utils');
var Context = require('famous/core/Context');
var el = document.createElem... | 95e5e77a7e12c25bb1edb1545583d1249adcdbd0 | [
"JavaScript"
] | 2 | JavaScript | HelveticaScenario/wiggle-words | de9b57cd51b6cbfaa06b4302535a00d9e0444b84 | e5d35d958079bbb4abd552cc62b324e05dc1bd1f |
refs/heads/master | <repo_name>Davasny/mech_pk_free_time_finder<file_sep>/finder/controller/__init__.py
import finder.controller.Router
<file_sep>/application.py
from finder import application
import optparse
from finder.models.optivum_scraper import OptivumScraper
from flask_apscheduler import APScheduler
import os.path
class Config(ob... | ec0820287736eee99453f75003f151ddacd7e21b | [
"Markdown",
"Python",
"HTML"
] | 12 | Python | Davasny/mech_pk_free_time_finder | 2ec4c278552b04b1535d52e0a222e5c4f7bd5324 | e45013641848e8abcff3dcbf909a3f5e6b47febb |
refs/heads/main | <file_sep>// Pizzeria Webbutveckling
var i = 0; // start ställe
var images = [];
var time = 3000;
//Image list
images[0] = 'pizza3.jpg';
images[1] = 'pizza4.jpg';
images[2] = 'pizza5.jpg';
//Change Image
function changeImg() {
document.slide.src = images[i];
if (i < images.length - 1) {
i++;
} else {
... | 930089f46ebbee592175528414d7db3dc4c8f3a4 | [
"JavaScript"
] | 1 | JavaScript | Carl-Brick/pizzeriawebbutveckling | bd6022b8a975271ef76a884b16998d31730b4fb2 | 220f1983d2a901066c3a916a303746d1aa46f171 |
refs/heads/master | <file_sep># Download densenet model
import torch
model = torch.hub.load('pytorch/vision:v0.6.0', 'densenet121', pretrained=True)
model.eval()<file_sep># (2020 Fall) CS532 - Project 2
## Contents
**Source code**
- server.py: backend server code
- download_densenet.py: script for downloading Densenet-121
- imagen... | 9fd8e5459725c7e7557a77ab13b6bba0b4e043ce | [
"Markdown",
"Python",
"Dockerfile",
"Shell"
] | 5 | Python | tizzybird/CS532-Project2 | f1ea0246904362dcb1f082fadc5a05616ef1f750 | b04ebfdcb8262add851751fad365bac3c4c76474 |
refs/heads/master | <file_sep>class EmailsController < ApplicationController
before_filter :authorize
def index
@user = current_user if current_user
@emails = @user.emails
@coworker = Coworker.first
end
def new
#commented out stuff until I add sessions
# @user = current_user
@email = Email.new
@user = User.find(curren... | fd9588b52001e0ef97e12916f129df48d379b7d7 | [
"JavaScript",
"Ruby",
"Markdown"
] | 14 | Ruby | cstavitsky/translucent-app | 9c3625ed733f2cf5a712f2e066b1d0cf836d5a8f | e9698b80eb426ecc950f21cc8b19de0b4437aeb7 |
refs/heads/master | <repo_name>ck2e14/programming-univbasics-4-intro-to-hashes-lab-london-web-080519<file_sep>/intro_to_ruby_hashes_lab.rb
def new_hash
new_hash = { }
end
def my_hash
my_hash = {:Arsenal => "Koscielny"}
end
def pioneer
pioneer_hash = {:name => "<NAME>"}
end
def id_generator
this_next_hash = {:id => 1}
end
def m... | 84f30b6cf33c5ae16561c6fea81a1d8f9b6408a2 | [
"Ruby"
] | 1 | Ruby | ck2e14/programming-univbasics-4-intro-to-hashes-lab-london-web-080519 | 97eb2f1fd0ebb3090c4d5e70aff26d31a93f389a | e268839880d035c5595d5d07be052c48bdad9c90 |
refs/heads/master | <repo_name>sharathgeorgem/react-redux-clone<file_sep>/DOM.js
// Get an element by ID
const domRoot = document.getElementById('root')
// Create a new element by a tag name
const domInput = document.createElement('input')
// Set properties
domInput['type'] = 'text'
domInput['value'] = '<NAME>'
domInput['className'] = 'my... | fefcb75c54772bbe795685a5067e65525e74edfd | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | sharathgeorgem/react-redux-clone | 48fa1cd028be3653860439eb05482420b27dfc8d | 4d6dfbc70a064b8293939af80603958a0adb0470 |
refs/heads/master | <file_sep>const Eris = require("eris");
// botのトークンID
var bot = new Eris("*******************************");
bot.on("ready", () => {
// bot が準備できたら呼び出されるイベントです。
console.log("Ready!");
});
bot.on("voiceChannelJoin", (member, newChannel) => {
// 入室処理
let ch = newChannel.guild.defaultChannel;
console.log("%s... | 3ad556f697a33e3b0ea6dca71c8755d60d122098 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | keichiro/DiscordBot | b97c57c71fff712e98cc27f0905b9b595cdb690b | 747550fc78496f11351ef8fb275606b42a1352f5 |
refs/heads/main | <file_sep>using HopestoneApp.Data;
using HopestoneApp.Models;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
namespace HopestoneApp.Controllers
{
public class ProductController : Controller
{
private readonly AppDbContext _appDb;
public ProductController(AppDbContext db)
... | 02b5fb25d209e0351110370d564450f2e40cf17c | [
"JavaScript",
"C#"
] | 5 | C# | onceacurious/HopestoneApp | 378e9c1a247e1f8ea7dda75c877491e5dcc84c63 | 9eb8fddea28fe699987df396a7ba29c150724748 |
refs/heads/master | <repo_name>dpayonk/deployinator<file_sep>/stacks/xsellytics.rb
module Deployinator
module Stacks
module Xsellytics
def xsellytics_environments
[
{
:name => "qa",
:method => deploy,
:current_version => 'hi',
... | a161aad1c44ed84feb6154c755e0cb030bf8cb4e | [
"Ruby"
] | 1 | Ruby | dpayonk/deployinator | 023440c83310676543f485fa48b9e853171b8d09 | be51e779c23082ce363ce864950a190257ce0a07 |
refs/heads/master | <repo_name>siddmegadeth/facebook4-mongo<file_sep>/www/services/facebook-auth.js
// Authenticate For Cordov ased FB Login Only.
//There is a Web Based Login Also For Other Device
app.provider('facebookAuth', [function() {
var uri;
return {
config: function(options) {
uri = options;
... | e40afed416882939fc6886220b1b50864fdca44b | [
"JavaScript"
] | 9 | JavaScript | siddmegadeth/facebook4-mongo | 69fdb5b96a6685bf697382a11056ad70fd7d4831 | 8b22dbf0f46cb87edcc4a3f58818511034869dc0 |
refs/heads/master | <repo_name>plcart/coursera-gameprogramming<file_sep>/week1/programming_assignment1/Scorched_Earth/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Scorched_Earth
{
class Program
{
const float G = 9.8F;
stat... | cb073103eec8440fe54e044cde62a7a348fc0d7a | [
"Markdown",
"C#"
] | 6 | C# | plcart/coursera-gameprogramming | bf92b3b80e76fe5840d8ba17d03bb447ef4b55cd | c1c2a5f8039b651e59fd8e416861204551d4f6af |
refs/heads/master | <repo_name>coach9910/SpringCloud-Bus<file_sep>/Eureka-BUS/configclient/src/main/resources/application.properties
spring.application.name=configclient
spring.cloud.config.uri=http://localhost:2222/
spring.cloud.config.label=master
spring.rabbitmq.host= 192.168.1.101
spring.rabbitmq.port=5672
spring.rabbitmq.username=rab... | 214d655906fd91ad63c565699b29d14a1eebf056 | [
"Java",
"INI"
] | 6 | INI | coach9910/SpringCloud-Bus | c2d9479dd4468b7d3dfbf81d64cda2e1beea3172 | e70a33825bb5daeef5de341de59b6a42f919e4f1 |
refs/heads/master | <file_sep>function Person(attr) {
this.gender = attr.gender;
this.age = attr.age;
this.distance = attr.distance;
};
Person.prototype.cooperResult = function(distance) {
if (this.gender.toLowerCase() == 'male') {
this.message = this.getCooperTestMale(distance);
} else {
this.message = this.getCooperT... | 5741bbdbcbc63ead952b0f552960cca76f8a9286 | [
"JavaScript"
] | 2 | JavaScript | thesuss/cooper-client | a9a2305b350360280839291610d1871371c93486 | 36a6e5ff76076b8fceb508da2b81a626be377029 |
refs/heads/master | <file_sep>import java.util.*;
public class Max_2darray{
public static void main(String[] args) {
Scanner scan= new Scanner(System.in);
System.out.println("Please enter integers");
int n=scan.nextInt();
int max=0;
int array[][]= new int[n][n];
for(int i=0; i<n; i++){
... | f8b94d08179c3d43954c317c2a46970a762637f0 | [
"Java"
] | 2 | Java | 170030930/SASANK_ | 582d39576164b8fbbe7285facfe883f62a971025 | 6c91b1480486c473d2419de9bc1ee67a682821cd |
refs/heads/master | <repo_name>testpng356/finalProg3<file_sep>/src/app/app-routing.module.ts
//import { ModalComponent } from './componentes/modal/modal.component';
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
//import { ElementoComponent } from './componentes/elementos/elemento.compone... | 93576a77af2167c2dd1c20915430de88ad609758 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | testpng356/finalProg3 | 11ca1a4010cc36320926ef59ef405f876aa61a41 | 32d5e74ebd0adacea00b176a80d500882c2dd313 |
refs/heads/master | <file_sep>require 'sinatra'
get '/' do
erb :form
end
# get '/:nombre' do
# "<h1>Hola #{params[:nombre]}</h1>"
# end
post '/form' do
if params[:frase] == params[:frase].upcase
"<h1>Ahhh si, manzanas!</h1>"
else
"<h1>Habla más duro mijito</h1>"
end
end
| 99e5e762c2fe70bd97b68759a39a08521882df81 | [
"Ruby"
] | 1 | Ruby | sanesco/grandma-deaf | 23c9d313952a9dce20d31300682b0e30bf363b29 | e30caf1c8449c05b289ed43a47f5704e75a34698 |
refs/heads/master | <file_sep>// @flow
import assert from 'assert';
import Github from 'github';
import type {Uri, Options} from './index';
export default async function getGithubFile(uri: Uri, options: Options = {}) {
assert(typeof uri === 'string', 'The uri parameter must be a string.');
const {client = new Github(), auth} = options... | 5e4477ffdcaf318923c7b8d6bf92d9b2dc07886b | [
"JavaScript",
"Shell"
] | 2 | JavaScript | nerdlabs/get-github-file | b53dd2f5beb8295ff7b8b6b399402597f866c626 | c5fd0aff243abcbadb73e71ded1e28816d022bb6 |
refs/heads/master | <repo_name>lc319641967/-<file_sep>/同余定理.cpp
#include<stdio.h>
void exGcd(int a,int b,int *x,int *y) //扩展欧几里得(求出x0,y0)
{
int t;
if(b == 0)
{
*x = 1;
*y = 0;
return ;
}
exGcd(b,a%b,x,y);
t = *x;
*x = *y;
*y = t-a/b*(*y);
}
int main()
{
... | 1de936a037b4b48542b514d92974df2f3efee906 | [
"C",
"C++"
] | 6 | C++ | lc319641967/- | 90253a4244631bafc002320189c3bce640b9177f | 85970d73bed27da083a2f920ba912d22e7f2ced3 |
refs/heads/master | <file_sep>import { Action } from 'types';
import { CLEAN, INIT } from './constant';
const INITIAL_STATE = {};
export type ITemplateReducer = typeof INITIAL_STATE;
export default function Template(
state = INITIAL_STATE,
action: Action
): ITemplateReducer {
const { type, payload } = action;
switch (type) {
... | 264b25c5ce245d6c9adcf58ddf000d167dfcdf7c | [
"Markdown",
"Java",
"TypeScript"
] | 38 | TypeScript | KeithZhang/fullstack-boilerplate | 758cb92ee53d9a55181b282832e85d99b7add63c | 4263c33aa84d86aaf93523938aa93817508aa61a |
refs/heads/master | <repo_name>whitejamesthe2nd/onward<file_sep>/routes/api/project.js
const express = require("express");
const asyncHandler = require("express-async-handler");
const {Project} = require('../../db/models');
const router = express.Router();
// To get your tasks
router.get('/', asyncHandler( async(req,res)=>{
const {u... | 376d9872735155cbe7c841da828ccb4ba5f0f084 | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | whitejamesthe2nd/onward | 2dc243a858b7ff0d56a1f7e5b473678deeecc4e9 | 8d674c7c3ebba0ec8fa41244dc03da4f5c350a60 |
refs/heads/master | <repo_name>provpup/node_web_scraper<file_sep>/index.js
var request = require('request');
var url = require('url');
var path = require('path');
var $ = require('cheerio');
var fs = require('fs');
var stringify = require('csv-stringify');
function writeCsvFile(csvFile, data) {
stringify(data, function(err, output) {
... | bb570abcc37df257add320139cbb53bba66310c5 | [
"JavaScript"
] | 1 | JavaScript | provpup/node_web_scraper | 565b3a7e76972efbfa65227c7c32e1bf72e9a585 | d99cffb3522a61caedbdd7bfc9ee988bc40b86f2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.