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>nhatmaiquang/react-youtube<file_sep>/src/components/App.js
import React from 'react';
import SearchBar from './SearchBar';
import youtube from '../apis/youtube';
import VideoList from './VideoList';
import VideoDetail from './VideoDetail';
import Clock from './Clock';
import ThemeDisplay from './ThemeDisplay... | 8f0d6b4ef412d5b9caa1e1950548c9fb0b156d34 | [
"JavaScript"
] | 2 | JavaScript | nhatmaiquang/react-youtube | 4998c1aefdc7c92fc468b254e4fc8a172470802f | 11b3a8d2b8cad186790b40b66f47190464286462 |
refs/heads/main | <repo_name>devashish-gupta09/Sports-Analyzer<file_sep>/README.md
# Sports-Analyzer
Sports Analyzer provides a multi-dimensional way to analyze, view and process
the performance data as per the need of the user. This program works in multiple
sports categories including: Football, Basketball, Cricket. It uses real-tim... | 0333abb05d804f7491c8817a98bd128347f5ad4c | [
"Markdown",
"C++"
] | 2 | Markdown | devashish-gupta09/Sports-Analyzer | 76aa7c4f8b387dc2d1b880ed4caedef52b4b8999 | 8fce7d0495b51ac2c1afbf098ac9f2e96b66184f |
refs/heads/main | <repo_name>Vevark/ZOO_Attack_PyTorch<file_sep>/README.md
# ZOO: Zeroth Order Optimization Based Adversarial Black Box Attack (PyTorch)
This repository contains the PyTorch implementation of Zeroth Order Optimization Based Adversarial Black Box Attack(https://arxiv.org/abs/1708.03999) using MNIST and CIFAR10 dataset. Th... | 36588c82fdf56c69b482fac1c58daeed151d3ab5 | [
"Markdown",
"Python"
] | 3 | Markdown | Vevark/ZOO_Attack_PyTorch | ab003a1c16944a82b6ab9bfb392cebd8c0dc7814 | b6fb34ed32b15aefd3839837203886db1fdf1528 |
refs/heads/master | <file_sep>
// ALL INCOME/EXPENSE CARDS GO HERE
let cardSelector = document.querySelector(".examples");
// SHOW/HIDE ALL CARDS
let viewSelector = document.querySelector(".allItems");
// FORM
let backEnd = document.querySelector(".send");
// let iDoNotWantIt = document.querySelector(".delete");
// MODAL
let editModal ... | b19945792fcb5821cb0e3cc56f5b6a1e6d3da9fd | [
"JavaScript"
] | 1 | JavaScript | tawhidali123/monthly_planner | 2d3febe1d075ac3d0567d3a0abd126869bb0d9a5 | 21b00c340c1f19a9f6f6f98034ad83070e1dddd7 |
refs/heads/master | <file_sep>file = File.read "input.txt"
code_characters = 0
memory_characters = 0
file.each_line do |line|
code_characters += line.chomp.length
line.gsub!(/(\\x\d{2})|(\\)|(\\")/,'a')
line.gsub!(/\W/, '')
memory_characters += line.scan(/\D/).count
end
puts code_characters - memory_characters | 3c5b116c43ef602aef919e76a46ff9ceb3bcc13e | [
"Ruby"
] | 1 | Ruby | charuths/Day8 | 574028060329f7e2790a063e5fdfba0348183f99 | c4e1859bace144dde014af9b8bb40088991a8e73 |
refs/heads/master | <repo_name>priyanka-herur/SVG-MetaRefresh2014<file_sep>/README.md
SVG-MetaRefresh2014
===================
Modern Graphics for the Web- MetaRefresh 2014
You can view the presentation at:
http://priyanka-herur.github.io/SVG-MetaRefresh2014/#/
<file_sep>/js/animations.js
$( document ).ready(function() {
$( "p" ).te... | 8b4fad3b49864f9e1cd0a76db7374c0635746662 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | priyanka-herur/SVG-MetaRefresh2014 | 83e39f88ba4497efbc6246774c9e5b8527e9141a | 954af7e761d9b04bc16795405450208431d26133 |
refs/heads/master | <file_sep>package zombieproject;
import java.util.Scanner;
public class battle
{
public static void battle()
{
Scanner input = new Scanner(System.in);
String[] zombieName = {"The Winter Zombie", "Dr. Zombie", "Obamazombie", "FrankinZombie",
"Count-Zombula", "<NAME>", "Soda... | 3f72ed91b74ba9e574c005ea4a9eb80f48cad7b9 | [
"Markdown",
"Java"
] | 5 | Java | dreadnought101/zombieProject | f099281fbbc45931b0e7a72d6da63fcb63f4df82 | 0586ad8d9ec9dea6f54904ad6abcffc2fa7a5d95 |
refs/heads/master | <file_sep>package cs3331;
/**
* @author <NAME>
*/
public class Player {
private int playerName;//will be useful for the future
private char symbol;// should be 1 or 2 will be useful for the future
private boolean isReal;// will be used later on once AI is implemented
public Player(int currPlayer, ch... | 89251482a358d9b7ce92213a6514bbfdae09a028 | [
"Java"
] | 3 | Java | AFTorres15/HW3Connect5 | 52011ad22416cb44c458d83c8b0bb24f71234ff1 | d43109d1f22159de55f412bd376402213dfa6365 |
refs/heads/master | <file_sep>from collections import OrderedDict
import os.path as osp
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.distributed as dist
from torch.nn.parallel import DistributedDataParallel
from utils.data_utils import create_kernel
from utils.dist_utils import master_only
class Base... | afd87fedbbccea7c8b29e1ca49e6848d19e5354f | [
"Markdown",
"Python"
] | 2 | Python | zzg-tju/TecoGAN-PyTorch | 15d87000ed35d2037317144f54fa0e3d64f34e2f | 2ecd148417cb741f95e29c3d75158f259edbf9a2 |
refs/heads/master | <repo_name>Retardvoldy/project_euler<file_sep>/euler002.py
##Even Fibonacci numbers
##Problem 2
##Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:
##
##1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
##
##By considering the terms i... | 19b5752bf4684984fe32f7f2a18f501584563a19 | [
"Python"
] | 1 | Python | Retardvoldy/project_euler | 5e38b3fc12e0b57a13fd1ac47573feb48df1b89f | 2d2e4e84f5746020c517b479c1fa7a0e3526c303 |
refs/heads/master | <repo_name>Chrhernk/package-finder-64<file_sep>/HKTRY3/HKTRY3/Source.cpp
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
srand(static_cast<unsigned int>(time(0)));
//seed random number generator
//int secretNumber = rand() % 100 + 1;
//random number between... | f207796fb9a13a80def235f4875a9933e07cc9a2 | [
"C++"
] | 1 | C++ | Chrhernk/package-finder-64 | d29d8008d3c01ac3d3eb1b6b458248e2b90d63ee | 2370af7ee9ecbb08a42054116040351c95bfe985 |
refs/heads/master | <file_sep>const { json } = require('express');
let Lead = require('../models/lead/lead.model');
exports.getAllLeads = async (req, res) => {
console.log(req.body);
await Lead.find()
.then(leads => res.json(leads))
.catch(err => res.status(400).send('Error: ' + err));
};
//GEt lead by ID
export... | 97c3fb4642ab65c68a8ee97a7ada4c7f08d68689 | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | diddyp20/LeadManagerApp | c44506c883c17b07281583ba505b98682e87e773 | ffcf761c81490993594f4a7b383f48c62587700d |
refs/heads/master | <repo_name>studflexmax/pyviz<file_sep>/content/charts/histogram.md
title: Histogram
author: studflexmax
date: 2016-04
[TOC]
### Quick Dirty
:::python
sample_dataframe.hist() # Option 1, PREFERED

:::python
sample_dataframe.plot(kind='hist') # Option 2
![... | f3881b6e313fe85cb174f864cf3b239e42e922b2 | [
"Markdown",
"Python",
"Text"
] | 13 | Markdown | studflexmax/pyviz | 99ed96e56c90ce2002d09b2d04e2307a981cf5a8 | 4d2dd5955c5479ad062393036c31da77693694f5 |
refs/heads/main | <file_sep>import { HttpClient, HttpErrorResponse, HttpParams, HttpHeaders } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Observable, throwError } from 'rxjs';
import { catchError, tap } from 'rxjs/operators';
import { NotificationService } from 'src/app/notification.service';
import... | f3d8bb4c88c659e1d2f0276137d3bd6c6559d943 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | hongthang152/shopify-challenge-frontend | 5f7a86b9b178320d93407275491aac59db7e7ab0 | b18913f1e0106893c479fd320a4e3f88422ceee7 |
refs/heads/master | <file_sep>AppharborLogTesting
===================
AppharborLogTesting
<file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using log4net;
namespace AppharborLogTesting
{
public partial class _Default : System.Web.UI.P... | d44dec65be35c7b1565f5e14b73bc7d0f6d7fbd5 | [
"Markdown",
"C#"
] | 2 | Markdown | mohanvkumar/AppharborLogTesting | bfee4d9dee90948f9aa4044b8a852cdbf7767b66 | 9c3edcfb2e6daa67855a43918536735e7efb3712 |
refs/heads/master | <repo_name>LauraDiosan-CS/lab04-craciungabi<file_sep>/LAB4-prob3/apartament.h
#ifndef APARTAMENT_H
#define APARTAMENT_H
#include <bits/stdc++.h>
class APARTAMENT
{
private:
int nrAp;
int suma;
char* tipAp;
public:
APARTAMENT();
APARTAMENT(int nr, int su, char* tip);
APARTAMENT(co... | 3f101c11721f62cfa5a3ab24d092ba19f1024b49 | [
"C",
"C++"
] | 7 | C++ | LauraDiosan-CS/lab04-craciungabi | 00298133e17853e96bfaa1c91ec5799e77277807 | 0135c544121ead99efe263710d56f003ee00d02d |
refs/heads/master | <repo_name>felipestgoiabeira/projeto-ceuma<file_sep>/server/src/routes/alunos.js
const express = require("express");
const router = express.Router();
const auth = require ('../config/passport/auth')
const alunoController = require('../Controllers/AlunosController');
const cursosController = require('../Controllers/Cur... | 3a426622cd03dc1f56b770a1d465eaf56583d84d | [
"JavaScript",
"SQL",
"Dockerfile",
"Markdown"
] | 31 | JavaScript | felipestgoiabeira/projeto-ceuma | 9868e0bcdfba71fd7c72044a83d4eb8c09dad454 | 5ac7b6d9262224efe80581e16db410f745c4bbe4 |
refs/heads/master | <repo_name>faizinahsan/JagaSehatAdmin<file_sep>/app/src/main/java/com/example/pbo/jagasehatadmin/DataPengguna.java
package com.example.pbo.jagasehatadmin;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.ListView;
import com.google.firebase.data... | b23a34f57589a121238102735317e8937bc7cee3 | [
"Java"
] | 1 | Java | faizinahsan/JagaSehatAdmin | ec548a7b206597c4fc44e68185a343d8af0361d8 | bf38828f58bd2a9bb6414277c7b5dd1ef6b44344 |
refs/heads/master | <file_sep>
var express = require("express"),
mysql = require('mysql'),
bodyParser = require('body-parser'),
PORT = process.env.PORT || 8081,
app = express();
app.set("view engine", "ejs");
app.use(bodyParser.urlencoded({extended: true}));
app.use(express.static(__dirname + "/p... | 184dae8df82592b2219b312b2d3385fdc790b7cf | [
"JavaScript"
] | 1 | JavaScript | KaloyJS/JoinUs | 849628bc5a916443d5f94c8043fb80d04c0d213f | b92f47bc56bcc5a75639db8d2e8ec5ba394da88f |
refs/heads/main | <file_sep>document.getElementById('submit_btn').onclick = function System() {
var name = document.getElementById('name').value;
var surname = document.getElementById('surname').value;
var birthday = document.getElementById('birthday').value;
var email = document.getElementById('email').value;
... | 82afbe59e1b22fa17ac558da096fbab79736afe8 | [
"JavaScript"
] | 1 | JavaScript | Nikita88888/My-data | ecb5a9d39b3be50b69812eeca3fa14c3d0e83709 | 1def1616368f2379beb1064a82e2e0220f26cd94 |
refs/heads/master | <repo_name>Kavan-Patel/IoTGameController<file_sep>/main.cpp
/* Includes */
#include "mbed.h"
#include "XNucleoIKS01A2.h"
/* Instantiate the expansion board */
static XNucleoIKS01A2 *mems_expansion_board = XNucleoIKS01A2::instance(D14, D15, D4, D5);
Serial serialCom(SERIAL_TX, SERIAL_RX);
/* Retrieve the com... | c17223ab5446a36165081b1aba85208516387249 | [
"Markdown",
"C++"
] | 2 | C++ | Kavan-Patel/IoTGameController | 209f24c7479e5469e8436948fbb8db80824804c9 | 2569da820e90dea0a2c514d6b0b00e23ebd9a330 |
refs/heads/master | <repo_name>phny/my_simple_stack<file_sep>/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(myloger)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC -mavx")
set(src
./stack.hpp
./main.cpp
)
add_executable(my_stack ${src})
<file_sep>/main.cpp
/*****************************************... | 61927dcee314f7447bcd7971bb2e00c7cd2ca6b0 | [
"CMake",
"C++"
] | 4 | CMake | phny/my_simple_stack | 5d2abec67e115a8273c87e44522806269094c931 | 8bd6e59a6f7a299182c70d23c4d78c56eac7ad21 |
refs/heads/main | <file_sep>package io;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.swing.JFileChooser;
... | f0dac03171d113413828dd220755b8efbb216a83 | [
"Markdown",
"Java"
] | 33 | Java | sauloaires/software_codes-Trend-detection-in-annual-streamflow-extremes-in-Brazil | 6c67de23bb0f4b060c70527ccc37801f8f34b94d | f7738bd7bc247ed35390410c826dd68e6df27f7c |
refs/heads/master | <repo_name>junuylia/datasciencecoursera<file_sep>/help/server.r
#This is the server code for the data product project help
library(shiny)
# It is a help documentation
shinyServer( function(input, output) {
})
<file_sep>/help/ui.r
#This is the ui code for the data product project help
library(shiny)
shiny... | 9ed60bf084736b57d30a1f566369bedd1daf94de | [
"R"
] | 4 | R | junuylia/datasciencecoursera | bbff9fd54f644a551fb7521a5d3c57b9ead03768 | 98a9fe1072e12f7cb5f5b357ce5d7ad8881ae241 |
refs/heads/master | <repo_name>HenryBenaye/Boo-7df659ba<file_sep>/boo.php
<?php
$a = true;
var_dump($a);
$b = false;
var_dump($b); | ca798a4d9411e4e47876422c106c38f9a70c2997 | [
"PHP"
] | 1 | PHP | HenryBenaye/Boo-7df659ba | 4c157fde21e673dfccd5bb2032b6ec603d2a348f | a8fad06589d61eff07543dab2b8fb267abbe5fba |
refs/heads/master | <file_sep>package com.example.usuario.pruebagoogleservices;
import android.app.Activity;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.widget.Button;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.Google... | 81cf80b85fadac77eca98f8d0715cf414ff6600a | [
"Java"
] | 1 | Java | ildsiempre/PruebaGoogleServices | d370b32ac207b06db91454831183368e2ea4bded | 4c1df0d0ff7ab4cf36d53ae1b30eb65442bae08a |
refs/heads/master | <repo_name>rixtox/xplayer<file_sep>/js/main.js
$(document).ready(function() {
myPlayer = new xPlayer({
options: {
target: '#xPlayer',
json: 'songs.json',
thumbnailbg: 'img/empty_thumbnail.jpg',
autoplay: true
}
});
$(window).on('keypress', function(e) {
switch(e.keyCode) {
case 32: // space
... | 5f6ae4365d444c6b1d1d6c94e501ade516202164 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | rixtox/xplayer | f31ea78f6206af9fc4326efaff77ba5f4772f80a | 5f52848dad6418c12eedce51f87eaaf28e8d3632 |
refs/heads/master | <file_sep>package com.darkfire;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.EditText;
import android.widget.ListView;
import android.widge... | 86b759926f5a5f3e5362d1efcfb776459a182a5b | [
"Java",
"Text",
"INI"
] | 14 | Java | sidd-pandey/Nimble | 8695f8adff1f73f1bade1e2dcd6954519fb85eb1 | d24a20e9f874cd36b298bbdb3457dd3963c6b34a |
refs/heads/main | <file_sep>
AI = {}
function AI:load()
self.img = love.graphics.newImage("assets/ai.png")
self.width = self.img:getWidth()
self.height = self.img:getHeight()
self.x = love.graphics.getWidth() - self.width - 50
self.y = love.graphics.getHeight() / 2 - 50
self.yVel = 0
self.speed = 500
self.timer = 0
self.rate... | 244c9d582e28e2d2c9f17da43cc31c507aaf40b4 | [
"Lua"
] | 5 | Lua | SuperHydroman/Pong-The-Game | 2883b7264745f3388e28bbae50096def35ec3db9 | 6e47bed43ec4ef2a1ea25332f7391141e69f264b |
refs/heads/master | <file_sep>package nl.codecentric.game;
import java.util.Iterator;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badl... | a863464d97cd74f6baa2e17d1e580017526b5b9a | [
"Markdown",
"Java",
"INI"
] | 3 | Java | coding-with-craftsmen/codecentricGaming | 2d9a064f825a8e7b5bd481c2b242009b01e4d3c3 | e966299e39b69c11c58bfc1974787a79ddc29fd4 |
refs/heads/master | <repo_name>hoivikaj/pubscripts<file_sep>/xrdp1804.sh
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install xrdp -y
sudo apt-get install gnome-tweak-tool -y
sudo sed -i 's/allowed_users=console/allowed_users=anybody/' /etc/X11/Xwrapper.config
sudo bash -c "cat >/etc/polkit-1/localauthority/50-local.d/45... | f5deebc79a4d2203c74e74598458537a03c53efc | [
"Shell"
] | 2 | Shell | hoivikaj/pubscripts | 8b31ba15fb698097df2639f68db23319c6849a9e | d5b6bcc49fec80de65c39d31ba0346e1351ba221 |
refs/heads/master | <file_sep>//
// ShellSortTest.cpp
// algo
//
// Created by raof01 on 8/2/15.
// Copyright (c) 2015 raof01. All rights reserved.
//
#include "gtest/gtest.h"
#include "ArraysMatch.hpp"
#include "ShellSort.h"
static int result[] = {7, 17, 18, 25, 28, 47, 53, 62, 69, 83, 86, 95};
// ShellSort
TEST(TestShellSort, Pos... | 6c8b51390819e22cec188678cd34881855e87efb | [
"Markdown",
"C",
"CMake",
"C++"
] | 115 | C++ | raof01/IntroAlgo | bc8871f25106aceac57305fc9be0e47efd053239 | a89e9df82e337876b20ea3ac673e2de279ed8531 |
refs/heads/master | <repo_name>nj222dt/Front-page-New<file_sep>/php/handler/KLIhandler.php
<?php
class KLIHandler{
private $database;
private $session;
private $loginmodel;
public function __construct(Session $session, DataBase $database, LoginModel $loginmodel){
$this->database = $database;
$this->ses... | da7056ac545f6574028b8664d9634671e8bc4f5b | [
"JavaScript",
"PHP"
] | 14 | PHP | nj222dt/Front-page-New | 49f4ce223a859600943614086905364d28491738 | b4454a0eb880d2268f48f55b94c7654afad427fd |
refs/heads/master | <file_sep>var curRun = undefined;
function loadRunList() {
$.ajax({
url:"/runs",
}).done(function(data) {
if (!Array.isArray(data)) {
console.log("Didn't get an array for the run list.");
return;
}
data.forEach(function(runEntry) {
var newRunE =... | b2dae35ccddff3b9d47589de0bad9864bbb0438b | [
"JavaScript",
"Shell"
] | 5 | JavaScript | getfilament/Phil | 33f32dd5824063188dc5ddc510094cde110d301c | e46ca104a1ef19e9b06f6de7930f204a45cda16b |
refs/heads/master | <repo_name>qbaty/veui<file_sep>/src/managers/overlay.js
import { uniqueId, remove } from 'lodash'
import Vue from 'vue'
const tree = []
const treeNodeIndex = {}
let baseZIndex = 100
class TreeNode {
children = [];
isTopMost = false;
constructor ({ id, parentId, isTopMost }) {
this.id = id
this.parentId... | e8b39873403318a71a762d9cbc8ba1d07358f979 | [
"JavaScript"
] | 10 | JavaScript | qbaty/veui | ab96047af95931e9238ce301730f3f1a3aaf4174 | a40ae134901e8f6befb982eb52dfcf18a32caa88 |
refs/heads/master | <file_sep>using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using Syst... | 233472270a7f4ded4eb2c1bb19762eed5554aaeb | [
"C#"
] | 7 | C# | ttystota/Application-Processing | 4df793a23377a35b768e73e34a7d51ed2fd4910e | 540dc4fc8b8bd53f324fce65091f437883d41eea |
refs/heads/main | <repo_name>faiber1986/covid19_web<file_sep>/src/components/Covid.jsx
import axios from 'axios'
import moment from 'moment';
import React, { useEffect, useState } from 'react'
export const Covid = () => {
const [title, setTitle] = useState('Global');
const [dataDate, setDataDate] = useState('');
const [sta... | 390a0d551b9bc2575402fe6459e4e91bf24b0790 | [
"JavaScript"
] | 1 | JavaScript | faiber1986/covid19_web | 40c6ea53799eb520d6f0c5ec10b159f4b705d934 | 4e17949250b450d039e1f6e627eed0ab08a47823 |
refs/heads/master | <repo_name>BrisingrGaunt/Projecte_final<file_sep>/M7/projecte_kevin/application/controllers/Client.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Client extends CI_Controller {
public function index()
{
$info=$this->session->flashdata('informacio');
$data['info_c... | 6fd8af54a5ba4d535e2c31aeb7662c77431eaa19 | [
"JavaScript",
"Java",
"PHP",
"SQL"
] | 39 | PHP | BrisingrGaunt/Projecte_final | e66cb553034507e289ad42a60e05a13e2f9820b2 | 6f0d04aa687bd9a838bd0121ccb2acc9b63bd1b5 |
refs/heads/master | <repo_name>CA-DevTest/SV-as-Code-UnitTest<file_sep>/devtest-unit-test-java/src/main/java/com/ca/devtest/sv/devtools/utils/FreePortFinder.java
package com.ca.devtest.sv.devtools.utils;
import java.io.IOException;
import java.net.ServerSocket;
import java.util.concurrent.ThreadLocalRandom;
/**
* @author gaspa03
*
*/... | 6624ffee8811142c25cc8d74e82cf1a625f845a4 | [
"Java",
"Maven POM",
"AsciiDoc",
"INI"
] | 60 | Java | CA-DevTest/SV-as-Code-UnitTest | df96e46ccfd4c5a6ee25db632923d1e429a52843 | 516b08d979b86300a4e7982ea9eee2d3b456e5b2 |
refs/heads/master | <repo_name>HuangYongXuan/el-common-components<file_sep>/README.md
# el-common-components<file_sep>/src/mixins/MdMVVMObject.js
export default {
props: {
value: {
type: Object | String | Number | Array | Boolean
},
formRef: {
type: String,
default: 'form'
... | fce976d046dc454df1608692d9728ed829cdadbb | [
"Markdown",
"JavaScript"
] | 3 | Markdown | HuangYongXuan/el-common-components | a5a6b462dba05c10a270980c3f9b430d5aec0bd3 | fc5ee93eeb5aa1e4becd8efda724848f2503b80d |
refs/heads/master | <repo_name>anushajoshi06/example_application<file_sep>/app/src/main/java/com/example/example_app/Dashboard.java
package com.example.example_app;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import ... | 1ddf30533bfc86f4a156bce6a7a70c8ce937fbe4 | [
"Java"
] | 1 | Java | anushajoshi06/example_application | 47532852b2950e2eac2687a6b62e87db54720dc8 | 5b45300e4ece020ec82dade000ad8391b17e71d4 |
refs/heads/master | <repo_name>simon-rock/emacs_config<file_sep>/doc/regexp_test.py
#coding: utf8
import re
import string
text = "JGood is a handsome boy, he is cool, clever, and so on..."
content1 = "hello.cpp"
def match_case(content, regexpstr):
prog = re.compile(regexpstr)
res = re.match(prog, content)
if res:
... | f5f06f19d6bbb3c1e7001a105a79efd4e1d558a0 | [
"Python",
"Shell"
] | 3 | Python | simon-rock/emacs_config | a3969bdfb6491c1f6fceda482d27062ca23e41fd | 883aed39b2cdd3276790c8c86373ae8bc626180c |
refs/heads/master | <file_sep>angular.module('myApp',[]).
controller('ControllerA',function($scope){
$scope.title = 'Angular Power';
$scope.bannerh = 'Angular Templates';
$scope.message = 'Hello from this App';
$scope.bannerp = 'Dynamic Home page';
$scope.fheading = 'Core Angular';
$scope.theading = 'HTML template ... | d53e89f8da0475074543f9fc7e86d5c605d5b558 | [
"JavaScript",
"PHP"
] | 5 | JavaScript | UxDeveloper82/tres-demo | 3535cf58d9bab0f3ff6c8e892e202ba888414e71 | 28e6be8f77070338f0052050a8e2f172c74d273e |
refs/heads/master | <file_sep>import logging
import cv2
import numpy as np
import socket
import sys
import time
from senseact.communicator import Communicator
class RealSenseCommunicator(Communicator):
"""
Intel Real Sense Communicator for interfacing.
"""
def __init__(self, host='localhost', port=5000, height=480, widt... | cc3860dca80d9f766354eba5abefb51aec61e2a2 | [
"Markdown",
"Python",
"Shell"
] | 33 | Python | utiasSTARS/robust-latent-srl | 6979acba62ade7056d1b2e6c55439e39ffd51d33 | b8c3131c525a13838c01363c6dccf137f0096584 |
refs/heads/hubs/master | <file_sep>#!/usr/bin/env node
var generator = require('./lib/generator');
var async = require('async');
var fs = require('fs');
var path = require('path');
var glob = require('glob');
var optimist = require('optimist');
module.exports = generate;
var FORMATS = {
'json': {template: 'json.template', extension: 'json'... | 58752e6b0773159bed688363b94e9fe4c6ba92b3 | [
"JavaScript",
"Markdown",
"Shell"
] | 6 | JavaScript | MozillaReality/spritesheet.js | edce7f45d9f1f5997850fba0d0034a44fceda8c5 | de1810dd66d1ccaee44bf490b531bc2c55b2f861 |
refs/heads/master | <repo_name>davidfang/dolphin<file_sep>/utils/requestshelper.py
# -*- coding: utf-8 -*-
import requests
from settings import PROXIES
class RequestsHelper(object):
def __init__(self):
pass
@classmethod
def get(cls, url, params=None, **kwargs):
return requests.get(url, params, proxies=PROXI... | 6e9cc00ee5df466b55a8b56670ef1988e190a1ab | [
"Markdown",
"Python"
] | 7 | Python | davidfang/dolphin | c492b369b963ded2865b96d29e8c0a895082f0ac | ef4dc29a1f096dd4b945636930ca5a0d50fdb1ae |
refs/heads/master | <file_sep>//
// ServerManager.hpp
// SocketServer
//
// Created by tng on 16/4/5.
// Copyright © 2016年 tng. All rights reserved.
//
#ifndef ServerManager_hpp
#define ServerManager_hpp
#include <stdio.h>
class ServerManager
{
public:
ServerManager();
~ServerManager();
void showLaunchLog();
vo... | fffde85de98554bfa17b0bd799b95ead128ef890 | [
"Markdown",
"C",
"C++"
] | 5 | C++ | tang4595/SocketSer | 0033084172e3c010ee15f6e5ccd4fbcda5671b80 | 060eb29322335123dd460b11c674c484d314fa75 |
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 stoppeklokke
{
public partial class frmStoppeklokke : Form
{
int i =... | 90dc5a35eec242a614e0cb6a093c6c27c6376ba2 | [
"Markdown",
"C#"
] | 2 | C# | ERR0000RR/stoppeklokke | af751d474fe77218b0b7b7ef335c9ee6a8450c08 | aae76899b4f4cce24384710b9635876e5a3d1e36 |
refs/heads/main | <repo_name>GRGR22/GEEKBRAINS<file_sep>/C/vim.c
#include <stdio.h>
int main() {
int input;
printf("Enter number");
scanf("%d, &input");
printf("Ypu entered number %d, we are doubled them for you%d", input, input*2)
return 0;
}
<file_sep>/README.md
# GEEKBRAINS
Study materials are located here
<file_sep>/C/P... | 3615745533e0fc9ff11c4322a8e2af074f0ee52f | [
"Markdown",
"C"
] | 3 | C | GRGR22/GEEKBRAINS | 5d83fc058829fae83fcb5e2bb1f1e300d4c93e32 | 2531d15f442667a8c44b8396fb2d2847204c0198 |
refs/heads/master | <repo_name>hszy00232/developExperience<file_sep>/JavaScript常用代码片断.md
## 克隆数组
javascript设计时,漏掉了数组的复制功能。在ES5中,开发者经常使用concat()方法来克隆。
```javascript
var colors = ["red","green","blue"];
var cloneColors = colors.concat();
console.log(cloneColors); //["red","green","blue"];
```
在ES6中,可以使用对象数组结构来实现
```javascript
let colors ... | e61923e7e3a8936c70e066655f035fc253e1513d | [
"Markdown",
"JavaScript"
] | 5 | Markdown | hszy00232/developExperience | f34b04d7a01f755e6a0221bf668e6b84d2bb4387 | 48a14f2e57e7381388d46063dcf1a37926ef8c2c |
refs/heads/master | <repo_name>Danilgor/untitled<file_sep>/src/table/table_by_days.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>WB</title>
</head>
<body>
<h1>Данные за всё время</h1>
<script>
let products = [
{date: '22.06.2021', price: 1735, qty: 3},
{date: '21.06.2021', price: 17... | 0456d9c87300375e2fac5257124c174e2014d7d9 | [
"JavaScript",
"HTML"
] | 4 | HTML | Danilgor/untitled | e853fbc0b6c049ec9b5c62b992de5378f062d6e7 | 2a18a66b3a9bf8e7ff50363148284ba5b2f1b1b0 |
refs/heads/master | <repo_name>hhjyhxw/house-pre<file_sep>/pages/home/home.js
var {APIS} = require('../../const');
var { request } = require('../../libs/request');
var homeData = require('../../data/data-home.js');
var homeListData = require('../../data/data-homeList.js');
var { checkAppLogin } = require('../../libs/user');
Page({
/**... | 7722ba139bbea78a5ecc368a5b8f07cd834845e7 | [
"JavaScript"
] | 2 | JavaScript | hhjyhxw/house-pre | 36ad24ba6fb94b32f1055de1d1314e9ef18e6b7d | 649002362e7a1c33d20f20c0a5596e6f052639b0 |
refs/heads/master | <repo_name>ziyouchutuwenwu/hex_str<file_sep>/src/hex_str/hex_to_str.h
#ifndef HEX_TO_STR_H
#define HEX_TO_STR_H
/*
#include "hex_str/hex_to_str.h"
int main(void) {
char rx_buffer[] = {0xC8, 0x32, 0x9B, 0xFD, 0x0E, 0x01};
char hex_str_array[32] = {0};
int len = hex_to_str(rx_buffer, sizeof(rx_buffer), hex... | 36566f23eed56b87a7efbb4d0590e3f3feb9a18d | [
"Markdown",
"C"
] | 4 | C | ziyouchutuwenwu/hex_str | 4eddaa7bd9df32797291ca5654c90e0fb61feb34 | ba931e59cbf13238de97e7a4bf178e64ea932ff7 |
refs/heads/main | <repo_name>zhaoweixs/spring-cloud-study<file_sep>/oauth2/oauth2-study-02/oauth2-code-client/src/main/java/com/example/oauth2codeclient/controller/CodeController.java
package com.example.oauth2codeclient.controller;
import com.fasterxml.jackson.databind.ObjectMapper;
import okhttp3.*;
import org.springframework.securit... | 3f1d879ff4eef2a5c3f349294bf1ebf4bb115c15 | [
"Markdown",
"Java"
] | 8 | Java | zhaoweixs/spring-cloud-study | 5c3d56e74c36bb174b2b9ff3aecc0e18bac10646 | e57284823f8dfaf529df16ccede0242c0f86c8d0 |
refs/heads/master | <repo_name>danielmessi13/OpenCV-Python<file_sep>/README.md
# OpenCV-Python
Teste com OpenCV usando Python (LAPESI)
<file_sep>/Reconhecimento_OpenCV/reconhecimento.py
# coding=utf-8
import cv2
import numpy as np
# carregar as imagens
img1 = cv2.imread("ESTEIRA0.jpg")
img2 = cv2.imread("ESTEIRA1.jpg")
img3 = cv2.imread(... | d521dd56fbed45c5a2ccd51af07c7dc56181e58d | [
"Markdown",
"Python"
] | 3 | Markdown | danielmessi13/OpenCV-Python | 7335ac2809750ab2ab6722eaa726e134bc53f363 | f0bb20674bd80710a72f6e2cd1b0356ef2dd7653 |
refs/heads/master | <repo_name>m-den-i/embedded<file_sep>/Lab5/hello_timer.c
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kobject.h>
#include <linux/sysfs.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/timer.h>
static int delay = -1;
struct timer_list timer;
static void hello(unsigned long a... | e45f9a7ef3efec847f5cc24ee94894d43a509b2d | [
"Markdown",
"C",
"Makefile",
"Shell"
] | 9 | C | m-den-i/embedded | 28b116b7581e93a41e6dfd4c520f8a29c3322af2 | a1741bbfe929b3cbb80d2b3f1e8eed84659982e0 |
refs/heads/master | <repo_name>magnusahlstroem/cpR<file_sep>/R/cpr_functions.R
#' This function checks if the cpr-number is a real cpr-number.
#'
#' @param cpr a character vector representating the cpr-numbers. must be 10 digits long and containg no '-'.
#' @return logical indicating whether the cpr-number is real or not
#' @author <NAME>... | 25ab5b5d2edcf967a6dba5fbe73dd3e386d031e6 | [
"R"
] | 1 | R | magnusahlstroem/cpR | b9a713478664dfa5a0012b7f189ef3b470ad2bb1 | fd139f21f3c56bb1c92f3a6b81b41394b3930f3b |
refs/heads/main | <file_sep>#include <FastLED.h>
#include <OneButton.h>
// This example also shows one easy way to define multiple
// animations patterns and have them automatically rotate.
//
// -<NAME>, December 2014
#if defined(FASTLED_VERSION) && (FASTLED_VERSION < 3001000)
#warning "Requires FastLED 3.1 or later; check github for... | daefc7c33acd3245e3647370a4e615c470d5f3d8 | [
"C++"
] | 1 | C++ | ProperPort/ArcticKiwii-Pegboard-Lights | b12b921e90714c317fd56fc9c2a551e83b49e97a | 2f11eae751023d99a4fcadee00ebc4559c2774ad |
refs/heads/main | <file_sep># License: All rights reserved
(c) 2021 UvA
<file_sep>module.exports = {
stories: ['../src/**/*stories.@(js|mdx)'],
features: {
postcss: false,
},
addons: [
{
name: '@storybook/addon-docs',
options: { configureJSX: true },
},
'@storybook/addon-a11y',
'@storybook/addon-... | b86ded7e14812b97fac6ee49727f284a3116a430 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | Lefthandmedia/design-tokens | 6f631b269ba8de263213f5e80e801ee7ba0a086d | a006e6a7e7aa9afca562dc7e7df7d2f84966d228 |
refs/heads/master | <repo_name>rchliu/smag-rpg<file_sep>/src/game1/Flasher.java
package game1;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.Timer;
public class Flasher {
boolean flash = true, flashing = true;
Color buttonBlue = new Co... | 03bd67ed60269868fbf50151e6419699b30489b7 | [
"Markdown",
"Java"
] | 10 | Java | rchliu/smag-rpg | 381f75390d17d1774944bd75329d7f1234ac291c | 0bc233ff77cf3b0e5732537aefbe0fcefa104846 |
refs/heads/master | <file_sep># WebScraping_Games Request
Este projeto foi construído baseado em uma das funções de trabalho de um amigo,
vale ressaltar que o projeto está adaptado a ambiente totalmente fictício, e não será utilizado comercialmente.
## Tarefa:
O funcionário de uma loja de venda de games deve contar a quantidade... | 41469b1a40cb73c89a40e4bae0ed3f04b7b80ee6 | [
"Markdown",
"Python"
] | 4 | Markdown | Alisson-tech/WebScraping_Games | ad2d88575282830c830c17429da3e84592409138 | 8d0fbe09423abf36ba106cbe5117ed3d0c548838 |
refs/heads/master | <file_sep># spring-boot-with-rabbitMQ
Project to communicate two spring-boot services using RabbitMQ
Run rabbitMQ using docker ("https://hub.docker.com/_/rabbitmq")
<file_sep>package br.com.andremoresco.produto.service;
import br.com.andremoresco.produto.repository.ProdutoRepository;
import br.com.andremoresco.produt... | edbdd543ff0d209631b17b32591337e477604903 | [
"Markdown",
"Java"
] | 3 | Markdown | andremoresco/spring-boot-with-rabbitMQ | 46c19ce751808129a1bd7e5dfb8305c7239017d8 | 72dd7b4d55b52cc2e3d3abff92ca0337751e0d5e |
refs/heads/master | <repo_name>letanthang/demo_go<file_sep>/mongo_crud/main.go
package main
import (
"context"
"log"
"time"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
)
const (
database = "test_db"
collection = "post"
replicaSetName = "mongo-rs"
)
var Client *mongo.Client
type Po... | 3b6753bacb258bcc9928f6373cec8d596d1adfdf | [
"Go Module",
"Go"
] | 44 | Go | letanthang/demo_go | 7c5f3cdcdfc8064c48b4aa8ec5c83d888e1c0e71 | 3426a4e6b682a3f35b677b6b854066a66c3c120d |
refs/heads/master | <file_sep># prereqs: iterators, hashes, conditional logic
# Given a hash with numeric values, return the key for the smallest value
def key_for_min_value(name_hash)
values = name_hash.collect {|key, value| value}
sorted = values.sort
name_hash.each do |key, value|
if value == sorted[0]
return key
e... | 2aceaf107af726e87c296ea272f906898476f715 | [
"Ruby"
] | 1 | Ruby | Gingertonic/key-for-min-value-v-000 | 07fb1856acfa490cdae2f1fa578622abbd15d6a9 | cdd7bcfa31c50f89cb4e39458b3cf1b8f6ba13fa |
refs/heads/master | <file_sep>#!/usr/bin/ruby
require 'cgi'
require 'rubygems'
require 'fitgem'
require 'pp'
require 'yaml'
require 'erb'
# Prepare CGI
cgi = CGI.new
puts cgi.header
page_headline = "Sign Up Here!"
page_contents = ""
# Load the existing yml config and periods
database = YAML.load(File.open("fitgem.yml"))
periods = YAM... | d7e1eb3a80433ab4b68a6d71a3ecb23883bf3813 | [
"Ruby"
] | 1 | Ruby | ChrisMagellan/fit-challenge | 01be6faea293ce5f1d31b443b037e6ef88d6c691 | e99b356b38961fb1cb1a47f15ff0816cc440c48d |
refs/heads/master | <file_sep>import Counter from './Counter.svelte';
const counter = new Counter({
target: document.getElementById('svelte-counter'),
});
export default counter;<file_sep>import svelte from 'rollup-plugin-svelte';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
impo... | 8095641fae3acdb3922e7bd5e5af9b97043760e8 | [
"JavaScript",
"TypeScript"
] | 2 | TypeScript | anthonylegoas/sveltekit-compile-components-sample | b7f72195db0e4793e85d6684bb1db1a195f58fc6 | 6b58d59d444c2362d4c6ddafb8e1c05c99608733 |
refs/heads/master | <repo_name>Elguava/P_Prog_Week-3-Assign-2<file_sep>/R_prog_ Week 3_assingment 2 _ caching function.r
## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
inv_mx <- NULL
se... | 32930ebee639fa10dff7f2149a3fb19318473f54 | [
"Markdown",
"R"
] | 2 | R | Elguava/P_Prog_Week-3-Assign-2 | dc81ddd2bfd0ae7765c18c854e86d589b16032de | b454ba2f58c9d0376f36cad304515411273ad062 |
refs/heads/master | <file_sep>package com.totnghiepluon.duancrm.Customers;
import android.os.Bundle;
import android.view.View;
import com.totnghiepluon.duancrm.Base.BaseFragment;
import com.totnghiepluon.duancrm.R;
public class CustomersFragment extends BaseFragment {
public static CustomersFragment createInstance() {
Bun... | 2f6bffb1476a4ed440608b7ff39775b77a2b47e9 | [
"Java"
] | 3 | Java | linhlq58/DuAnCRM | 344e1f901c417a377590c569782ea6279be2c71c | b61f37b362409276831648456a34661dedbd28ca |
refs/heads/master | <file_sep>#!/usr/bin/env python
try:
import mock
except Exception:
from unittest import mock
import straceexec
import glob
import os
import json
import pytest
class TestStrace:
def remove_test_files(self):
files = glob.glob('test_output*')
for output_file in files:
os.unlink(ou... | 663d066231cadf1069442cd28701df9c9c1e86c8 | [
"Markdown",
"Python"
] | 4 | Python | dandedrick/straceexec | 31eb5753d94ea15562c5048580df9d1ebe262c81 | e5b85ed140680856814d9c45ced52eb6275e9d2c |
refs/heads/master | <file_sep>#!/usr/bin/env python
#
import errno
import feedparser
import hashlib
import itertools
import logging
import optparse
import os
import re
import string
import sys
import threading
import time
import urllib
import xml.dom.minidom
logging.basicConfig(level=logging.WARNING,
format='[%(leveln... | 20fd3ae50ac2c3587d4e1519584fcb13162b8be3 | [
"Markdown",
"Python"
] | 2 | Python | damonws/plogaster | 908c4cfbbc1188b6d102c7e3524a988258812b51 | e55410ac7d2e52066cdbab4ea4569cb314599044 |
refs/heads/master | <file_sep>class Appointment < ApplicationRecord
belongs_to :user
belongs_to :lesson
validates :start_time, presence: true
end
<file_sep># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created a... | 60d3b8bb19c56a5d30566cbb57dea6f65ae2d38a | [
"JavaScript",
"Ruby"
] | 9 | Ruby | KazeIU/teachme | b9a49dea620658ad44c212b7874f1e343a204af3 | cee23e16f4cefe8f9a34d18659258a2dea2955ea |
refs/heads/master | <repo_name>Ramsabarish123/Wishes<file_sep>/README.md
# Wishes
docker-compose.yaml is the base file to start the project.
Excecute this file using follwing commands:
docker-compose up --build mysql
docker-compose up --build app
If we execute above commands two services mysql,app will get started in differnet con... | 0e7a810cd2afb1f0f619b8158ffbb38accc7afb3 | [
"Markdown",
"Python",
"YAML"
] | 3 | Markdown | Ramsabarish123/Wishes | 0a2c6790594c470312aa20cf92665ca4f8e34be7 | d6546b57e56fdf589b6b829b426d4d0f7995f733 |
refs/heads/master | <file_sep># get_data.py
import requests
import json
print("REQUESTING SOME DATA FROM THE INTERNET...")
#----- part 1 --------
request_url = "https://raw.githubusercontent.com/prof-rossetti/intro-to-python/master/data/products/2.json"
response = requests.get(request_url)
response_data = json.loads(response.text)
pr... | 40a1602f912c01930e62b1da53fbf486917fd1f9 | [
"Python"
] | 1 | Python | alexkuvshinoff/web-requests-exercise | bf35ef9a3ceb6785e26d8c1bf029ec1ad66b1ee7 | 1a24c3edbddff90ae8a27136b11863b8f6cc2c33 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Spyder Editor
This is a temporary script file.
"""
#'docker run --rm -p 8888:8888 \
# rpy2/rpy2:2.8.x
import csv
import pandas as pd
import numpy as np
import matplotlib.pylab as plt
from statsmodels.tsa.arima_model import ARIMA
from statsmodels.tsa.arima_model import ARIM... | 217532c06e87579fd7273c82889e58a120bd6cb5 | [
"Markdown",
"Python"
] | 3 | Python | davinci07/Trading- | 7fe4024a35200d7685ed7c20f48779e0e5a6a298 | 2a13a3fcf6dcb74500aba52ebbf8da93542b29ae |
refs/heads/master | <file_sep>#!/bin/python
from . import API
from . import dataset
from . import backtest
<file_sep>#!/bin/python
#from subprocess import run
from subprocess import Popen, PIPE
import random
from copy import deepcopy
import operator
from functools import reduce
from urllib import request, parse
import json
import reques... | 008cef1271d91b7861029e4405c167125c463f40 | [
"Python"
] | 3 | Python | donkykong017/japonicus | 27765d659095bba3024d82cee8a820a103cb3b66 | aac550139a67b0c70a6671ca02669d02a0204982 |
refs/heads/master | <repo_name>Keerthi-143/Telecom<file_sep>/plans.php
<html>
<head>
<title><center>Post Paid Plans</center></title>
</head>
<?php
<body>
<form><input type="text" value="plans.php">
Plan Name:<input type="text" name="plan name">
Monthly Rental:<input type="text" name="monthly rental">
Free Internet:<input type="te... | d9ee18cacf3a8887d8e47b9736e8ac529c11474a | [
"PHP"
] | 2 | PHP | Keerthi-143/Telecom | 9f3d9d98e9366846edcf369a147d9e7348f7e8ec | ab7d02af4fd7b10c72c79cbf8447a160fdfe5111 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package davidchavesmultiagent.psoalgorithm;
import java.util.ArrayList;
import java.util.Comparator;
/**
*
* ... | bffadffc005b0f6ea9652bd53be903cd78da50bd | [
"Java"
] | 2 | Java | dachafra/TSPpso | 275ce4197c70cc97586be1b278db629d97c480d2 | 24b2e435ebbd6ca59db3226ecb02314d8b991cf6 |
refs/heads/master | <file_sep># Overlay It Plugin
~Current Version:1.0~
Author: <a href="http://github.com/joshhannan"><NAME></a>
This is a WordPress plugin that shows an Overlay Popup as desired.<file_sep><?php
/*
<a href="http://test.com"><img src="http://placehold.it/500x500" /></a>
Plugin Name: IP Overlay Plugin
Plugin URI: htt... | bcd6de4f079c542aa6d31a58ba0317a8b71b0a71 | [
"Markdown",
"JavaScript",
"PHP"
] | 3 | Markdown | joshhannan/ip-overlay-it-plugin | fb51c20a813af781461bcd421eaefb7387c80344 | d0994002e23aa141988820a7626593393bb327e8 |
refs/heads/master | <file_sep>apply plugin: 'com.android.application'
dependencies {
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
compile project(':library')
}
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
defaultConfig {
applicationId "uk.co.senab.photoview.sample"
... | be4f9618d3f1a9a961bc3471d7a9f94607f93b9a | [
"Java",
"Gradle"
] | 3 | Gradle | bastiotutuama/FrescoPhotoView | d105b1c27715642451eac18d9d0ee82a320fe60a | b650862f08fa81e3c57beae520d9fc3b4bdbf3c9 |
refs/heads/master | <repo_name>asidwell/fs_scripts<file_sep>/recon1.sh
#!/usr/bin/env bash
#send first recon-all to cluster
pbsubmit -c "recon-all -subjid $1 -i $FS_PROJECTS_DIR/$1_MR.nii -all" -m <EMAIL> -f
<file_sep>/README.md
# fs_scripts
scripts for Freesurfer viewing/recons
<file_sep>/recon2.sh
#!/usr/bin/env bash
#send edited recon-... | d4e137f40cd17fba6352159aa3da7904156a0872 | [
"Markdown",
"Shell"
] | 3 | Shell | asidwell/fs_scripts | a5476ca87cdf8a1a968e6f5fdfcf648671e89b27 | c1d6a869c27bd71eb72c19c75738ffc981b59beb |
refs/heads/master | <repo_name>KOOTSTHEHOOTS/Smorse<file_sep>/9.Smorse.py/asmorse.py
''' Challenge [2019-08-05] Challenge #380 [Easy] Smooshed Morse Code 1
https://www.reddit.com/r/dailyprogrammer/comments/cmd1hb/20190805_challenge_380_easy_smooshed_morse_code_1/
'''
import string
morse = ".- -... -.-. -.. . ..-. --. .... .. .--... | c57e9f8752bba0ea6aeaecdd7384fa639a0d509f | [
"Python"
] | 2 | Python | KOOTSTHEHOOTS/Smorse | af99cfaf3ff14262ac23282bc60c0c92a23cdfc0 | 4fac16565fa35d6f1ed73eb061a727ad3262e4cf |
refs/heads/master | <repo_name>zhanglun/Node-Authentication-demo<file_sep>/raw-node-authentication/app/routes.js
var User = require('./models/user');
module.exports = function(app, passport) {
// =====================================
// HOME PAGE (with login links) ========
// =====================================
app.get('/', fun... | 93bef29954417591ae83620f2778b7dba7d6cf8a | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | zhanglun/Node-Authentication-demo | dde038fce6b5be73e618df750ccbf1b9c12b7158 | a6f6cb6ab99b7acfac34d80949949ed0bf89d971 |
refs/heads/master | <file_sep><?php
$servername = "localhost";
$username = "u939969079_test";
$password = "<PASSWORD>";
$dbname = "u939969079_test";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_... | f77b108df7450e1650e4f7e5a369e2dabc4ac126 | [
"PHP"
] | 1 | PHP | salim3dd/RecyclerView_moredata1 | ad085f2e78055acd1c88677d92c82fe6832b91f3 | d553ff989eb1f2b7f28657c4a2863d8f7cae86b9 |
refs/heads/master | <file_sep>from flask_wtf import FlaskForm
from wtforms.fields.simple import FileField, TextAreaField
from wtforms.validators import InputRequired
from flask_wtf.file import FileRequired, FileAllowed
class UploadForm(FlaskForm):
description = TextAreaField('Description',validators=[InputRequired()])
photo = Fil... | 897e6dbbc00d29759e6a693ed83a910ab5cc3130 | [
"Python"
] | 1 | Python | Keneil-Thompson/info3180-lab7 | 185b1fc406a74d558cf7f7c0a7042cdd925650b8 | 053319a18aefda1fbbec0a74034d881904a139e0 |
refs/heads/master | <repo_name>ss2102/djangogirls<file_sep>/minhnd/bin/django-admin.py
#!/Users/minhnd/Project/Django/djangogirls/minhnd/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| f5b6027248af9f6b3a8cf816f6f6d24ef6f7743a | [
"Python"
] | 1 | Python | ss2102/djangogirls | 25f039a9894383f1fa64b2ad1725456095f2430c | 2f1a55f1a471b71aa575711b7731eb4bb97ba4f9 |
refs/heads/master | <file_sep># DM-6162
Untitled-copy6.ipynb investigates the quirky noisy image in https://jira.lsstcorp.org/browse/DM-7376
It also attempts to compare the result to standard ZOGY, and those results seem poor.
Future work will be to look at spatial variation of correction kernel.
<file_sep>import numpy as np
impor... | b75a53931c2fd2422326e088a77f933d9c3e8f04 | [
"Markdown",
"Python"
] | 2 | Markdown | djreiss/DM-6162 | 2fae9c2baa43d0b1365934c152bf14685334476f | 55fe22267bb4e31b83ef19fa1632922284815e86 |
refs/heads/main | <repo_name>immahesh1/OS-Automation<file_sep>/README.md
# OS-Automation
## A mini project
## used <a href="https://www.npmjs.com/package/robotjs">RobotJs</a> and NodeJs to automate the operating system to open few required app.
To install Robotjs --> npm install robotjs
### just give <b>node index</b> and it will open ... | cbee2b480dde670483c1d4088a6f0584ebefc6c2 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | immahesh1/OS-Automation | f0954c87d2ca57de0b814f3749c811a19f51ca5c | 6f6f51cc71ebc5ddbe9f97808fa7cd3ec1a98e04 |
refs/heads/new_webprofiler | <file_sep><?php
namespace Drupal\webprofiler\Panel;
/**
* Interface for dashboard panels.
*/
interface PanelInterface {
/**
* Render a panel.
*
* @param string $token
* A profile token.
* @param string $name
* The panel name.
*
* @return array
* A render array for this panel.
... | 13ca41cbaab841a6d1db836c25b80c22628bd6ca | [
"PHP"
] | 25 | PHP | wellnet/devel | d751c1e63f4f5a81211fbeee3cf6305e96d7e3f2 | 10036c5d8a7f865abb0a21b65be8f72d1b2aeb89 |
refs/heads/master | <file_sep>package com.example.anvanthinh.music;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.media.AudioManager;
import android.os.IBind... | 4576782a84de5180b62b0a6fccab5eca0b86cf06 | [
"Java",
"Gradle"
] | 11 | Java | anthinh123/Music | 29b0253adc1a22932b6cd7151356ff106cb16b6b | 756d48b1d02490f20c0b831d8f5c348a57bd865b |
refs/heads/master | <file_sep># Board-Game-Review-Predictor
Can we predict the average score humans will give a new, yet-to-be released board game?
We can use the given dataset to train a model and make this prediction.
<file_sep>import pandas as pd
import matplotlib.pyplot as plt
from sklearn.cluster import KMeans
#first step of dat... | 8ffcaff691d8c94e90b33fc9d4799e735194fa6e | [
"Markdown",
"Python"
] | 2 | Markdown | tdshah/Board-Game-Review-Predictor | 4ebf0e5204bfbc183d595f8ff00b66acbf5195ff | 4a959202da980c4aca92307828e5cfebbc213013 |
refs/heads/main | <repo_name>AkshithaRajavel/django-web-app<file_sep>/sudokumain/views.py
from django.shortcuts import render, redirect
def find(l):
try:
return l.index(0)
except:
return -1
def valid(j, L, x, n):
n1 = int(n ** 0.5)
if j in L[n * int(x / n):n * (int(x / n) + 1)]:
r... | fa3358a9607e031632005dcd5a4820ad50a30690 | [
"Python"
] | 1 | Python | AkshithaRajavel/django-web-app | 39e0eaf2111550d0a40f1f604c5e956c8e8c7166 | 1baa0564b06d930cd62037badf9dd70ce3252fc7 |
refs/heads/master | <file_sep>'use strict'
var FMM = (function() {
var FMM = {};
var add_field_grids = function(field1, field2, add_fn) {
for(var cell_key in field2){
if (field1[cell_key] === void 0) {
field1[cell_key] = field2[cell_key];
continue;
};
field1[cell_key] = add_fn(field1[cell_key], field2[cell_key]);
... | b9a9d850cdb2d9d9bf50fff21c21b3819a01be0a | [
"JavaScript",
"Makefile",
"Markdown"
] | 4 | JavaScript | davidson16807/fast-multipole-method | 95cd9bb499a893b0e176745400c21aefe6cf7382 | 0d50ec299681a73d9f062bf4950ca73b3d0e646d |
refs/heads/master | <repo_name>mthang1801/track_corona_status<file_sep>/src/actions/page.js
import * as types from "./types";
export const changePage = url => dispatch => {
let type = "";
url = url.replace("/", "");
switch(url){
case "global" : type = types.GLOBAL_PAGE ; break;
case "countries" : type = types.COUNTRIES... | 874f27ff61b256c8ffb959f2528029d0096babd8 | [
"JavaScript"
] | 24 | JavaScript | mthang1801/track_corona_status | a073ef93f61ee6a38dc8bfa73f76c5c4d7fcf1a0 | 623865ce9ec20143873ca9e8a9397d402e9dc064 |
refs/heads/master | <file_sep># Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html
import scrapy
class RateItem(scrapy.Item):
# define the fields for your item here like:
RoomTypeID = scrapy.Field()
RoomTypeName = scrapy.Field()
RoomTypeCode = sc... | 5107ef1b20b2fbc9305bf5b885fc830679f4cfcc | [
"Python"
] | 5 | Python | seselinfeng/pms_scrapy | cf9b83bff2037d8bb4e3c98dcf94a43534e61bc1 | a6540ae1550a520baf2da43cc97e02a37041d3ce |
refs/heads/master | <repo_name>VoidTsundere/DereRPG<file_sep>/DereRPG/Data/Engine.py
import json, os, random, time
#Tables-----------------------
xpTable = [100,150,200,250,300,350,400,450,500,550,600]
hpTable = [100,110,120,130,140,150,160,170,180,190,200]
mpTable = [10,20,30,40,50,60,70,80,90,100]
maxLvl = 10
class System:
cla... | 54c0ef524ffa3e094038696259788e176c9e568f | [
"Python"
] | 5 | Python | VoidTsundere/DereRPG | a7daaa0b8e9e8b46c4182af101d96f0e814b5b96 | 1d2fe239ffa3d94ef3aceb3b90be4542f5e43796 |
refs/heads/master | <repo_name>dimitri-yatsenko/nvidia-docker-compose<file_sep>/bin/nvidia-docker-compose
#!/usr/bin/env python
import subprocess
import argparse
from jinja2 import Template
from os.path import isfile
import yaml
import json
import sys
import re
GPU_DEVICE_PATTERN = re.compile(r'/dev/nvidia\d+')
# support Python 2 or 3
i... | 55b94075f33ed3a79306169102b42862de7af4f6 | [
"Python"
] | 1 | Python | dimitri-yatsenko/nvidia-docker-compose | 5840c5be237c91a7bede636bfa14066b5265e859 | d78b55e84a8f5359a3c3a3f1be8d62073f28f970 |
refs/heads/main | <repo_name>edgarlunaa/formulario-incorporacion-benficiario-cti-ctd<file_sep>/src/app/components/autorizacion-tutelar/autorizacion-tutelar.component.ts
import { Component, OnInit } from '@angular/core'
import { FormGroup, PatternValidator } from '@angular/forms'
import { FormlyFieldConfig, FormlyFormOptions } from '@ngx... | 29170f62fa2f4df3b695b4452cfffc52068b2f63 | [
"Markdown",
"TypeScript",
"HTML"
] | 9 | TypeScript | edgarlunaa/formulario-incorporacion-benficiario-cti-ctd | b620b37da89ab089318d33c0519efa4133d953d2 | 25fca14a93f1e91ae80504d78e688c3b02670e7d |
refs/heads/master | <repo_name>Luisky/incremental_comp<file_sep>/data_comp_linux.py
#!/bin/python
import subprocess, os, tarfile, shutil
import MySQLdb
from bz2 import decompress
LINUX_DIR = "linux-4.13.3"
LINUX_TAR = LINUX_DIR + ".tar.xz"
MAKE_J4 = "make -j4"
def init():
if not os.path.isdir(LINUX_DIR):
tar = tarfile.op... | 47664fef5cebca1e5aff6a844e276cce75348188 | [
"Markdown",
"Python"
] | 2 | Python | Luisky/incremental_comp | 6df49546aa5b91ab6b814259b33585572c7597bf | 54dc6da0dc83f402b3a2d5e3b2d5bc703ad01d51 |
refs/heads/main | <file_sep>// TODO: Include packages needed for this application
const fs = require ('fs');
const inquirer = require('inquirer');
const generateMarkdown = require('./utils/generateMarkdown');
// TODO: Create an array of questions for user input
const questions = [
{
type:"input",
name:"name",
... | f17a0fea53cc04f234f3ae90106b897d562226aa | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | cMfarris/read-me-gen | a68ec4d0813c46d5efde429a4ca9591848c78a95 | 69a7ece2535584b084a3bd77aa072dd5c087c949 |
refs/heads/master | <file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<file_sep> <KEY>
<KEY>
<file_sep> <KEY>
<file_sep> <KEY>
| 55c305c93a69e9f0b5280912683e5c1ed2269e60 | [
"Shell"
] | 13 | Shell | st01tkh/loom-chroot | 66196d713f9580475ff5b332da16a35270a9dad7 | a30bd5a2742ceb289a6986332da5a6cec419b735 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.