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/main | <repo_name>Chintan-collab/Student-Record-Management-System-SRMS<file_sep>/README.md
# Student Record Management System in PHP
**LOGIN DETAILS*
Username : admin
Password : <PASSWORD>
**Thanks to <NAME>**
DON'T FORGET TO CREATE A DATABASE NAMING "model" AND IMPORT THE DATBASE SQL FILE (model.sql)
WITHOUT THE DATABAS... | 9fd38c96fb2232a184a4cd8b87e4a89ade13eb5d | [
"Markdown",
"SQL",
"PHP"
] | 11 | Markdown | Chintan-collab/Student-Record-Management-System-SRMS | 438291cd502e495c17883454c5f6a7e9e4451afb | 855be0feab9558c650a161e730a1a8404e5e73d6 |
refs/heads/master | <file_sep><label for="username">Username</label>
<input type="text" id="username" #username>
<label for="email">E-Mail</label>
<input type="text" id="email" #email>
<button (click)="onSubmit(username.value,email.value)">Submit</button>
<hr>
<button (click)="onGetUserInfo()">Get User Info</button>
<ul>
<li *ngFor="let... | b333e98e3b7b0eea8d3d88501f30dbe47188a03a | [
"TypeScript",
"HTML"
] | 4 | HTML | MAAsgari/http | a8737bd567e397a66b1f50d7413f1d438e13cd27 | 084322e4ce93bcbe6ed81fa560feb3e1001d17a1 |
refs/heads/master | <repo_name>swhtw/knn<file_sep>/knn.py
import numpy as np
from collections import Counter
def readUCI():
with open("iris.data") as d:
content = d.readlines()
content = [x.strip(',') for x in content]
for i in range(0, len(content)):
content[i] = content[i].split(',')
for j in range(0, len(content[i])):
try... | 83da19d8b5ead01d02228f1b8d21d16f1fc8ec82 | [
"Python"
] | 1 | Python | swhtw/knn | cf3c616183a0410ca8cafcca073cd6f7a19a75b8 | 5ab5038097775d6acdff86d5d753a8aa1aa004cc |
refs/heads/master | <file_sep>
#include <iostream>
#include "image_io.h"
#include "image_tools.h"
#include "color.h"
int main()
{
image::ByteImage::Ptr img = image::load_png_file("..\\test.png");
//image::ByteImage::Ptr out = image::RGB2Gray<uint8_t>(img);
/*image::ByteImage::Ptr out = image::ByteImage::create(*img,shape::Rect(96... | ab4c42981854e3e6e03f45d84701fe75bc7a46f9 | [
"C++"
] | 7 | C++ | MicroYY/LibImage | 554b92d199888ac386d757284d81fc9a78992702 | c582aab01ac684c7204779dcdab49dc39f98c223 |
refs/heads/master | <file_sep># Requisites
python3
trackopy: install via pip
# Running
Change the username and password in coin.py to the desired user/pass and then run.
# Sample Output
$ ./coin.py
Pirate Warrior
Coin rate: 0.0% (1)
Win rate: 100.0% (1)
Win rate (1st): 100.0% (1)
Aggro Shaman
Coin rate: ... | 308c9b707b1c7712e6bf42d93c4c38052111e011 | [
"Markdown",
"Python"
] | 2 | Markdown | theanine/coin-counter | 290a9aa4a20ec01151762da328bc7b5778a47b48 | ff4810c5c10f7ee9905c3c9bc7883209b2de8d89 |
refs/heads/master | <file_sep><?php
require('pokemon.php');
//Pokemon feuille//
$Marisson = new Pokemon("Marisson",'60','Niveau Base','Fouet lianes 10','Canon graine 20');
$Marisson -> stats();
$Boguerisse = new Pokemon("Boguerisse", '90', 'Niveau 1', 'Vampigraine 20', 'Poing Dard 50');
$Boguerisse -> stats();
$Blindepique = new Pokem... | e75cd3f93d437c506dfd6a7550847cb87e3e9237 | [
"PHP"
] | 3 | PHP | Romain32190/class-POO | 711ad2e7aa4db441278f5b8676810c8d83fde043 | 9cbcc3c4c68895898f5938cdb9e5fc8da7e5bee9 |
refs/heads/main | <file_sep>include ':app'
rootProject.name='AppClienteVipV5'
<file_sep>package com.gcstudios.entities;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import com.gcstudios.main.Game;
public class Explosion extends Entity{
private int frames = 0;
private int targetFrames = 10;
private int mexAnimat... | 0a67616182a14b24bdff9368effbd8e5f3fd80da | [
"Markdown",
"Java",
"Gradle"
] | 15 | Gradle | LeandroFerraro/Projetos | ccfca3292d9681ba8130e94733406bb1c0455f45 | c9faadf7e46dc352eaffd5cefe50dfa2a1d4ccb0 |
refs/heads/master | <repo_name>ben-x9/twicas<file_sep>/app/components/comment.ts
import { div, img, h, VNode, newlineStrToBr } from 'core/html';
import { style } from 'typestyle';
import { horizontal, horizontallySpaced, vertical, verticallySpaced, center, padding, width, height } from 'csstips';
import { Action as GlobalAction } from 'ac... | 7c639ff9b039bb6370594f4d8692ccd3dc911c94 | [
"Markdown",
"TypeScript"
] | 19 | TypeScript | ben-x9/twicas | 1ba7c2d38eb39e8025b95aa5b433711a5c60cb19 | 68ca1f7b028b100c8a979c5c08fbaeb29d86367f |
refs/heads/master | <file_sep># Copyright 2020 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | 76e992f8e2bd7431fcf71a6d3f1fa64366b74ed2 | [
"Markdown",
"Python"
] | 7 | Python | splunk/TA-VaultSync | 4012c31adf12467dcb940d6dea43050c22670c11 | b5abcb1e34ead944ed7e7b7734b254c4965ff63e |
refs/heads/master | <repo_name>trice-imaging/trice-docker-app-base<file_sep>/Dockerfile
FROM triceio/trice-docker-base:latest
MAINTAINER <NAME> <<EMAIL>>
ENV DEBIAN_FRONTEND noninteractive
ADD bootstrap.sh /root/bootstrap.sh
RUN chmod +x /root/bootstrap.sh && /root/bootstrap.sh && rm /root/bootstrap.sh
EXPOSE 80
CMD ["/usr/sbin/runsvdi... | 89d942e44f3e6c8addf412edbe8a62414d1c758f | [
"Dockerfile",
"Shell"
] | 2 | Dockerfile | trice-imaging/trice-docker-app-base | 4944a33f44bba9597352786236d45a513c05f07f | 5452d31c137fc90b7a94c5035452694ea2161514 |
refs/heads/main | <repo_name>ldcapt/BTVN_Luvina-LA-Course<file_sep>/Day 4 - Data Struct/19_NguyenHoangAnh_Bai34/src/com/luvina/Student.java
/**
* @Project_Name 19_NguyenHoangAnh_Bai34
*/
package com.luvina;
/**
* @author <NAME>
* @since 15 thg 3, 2021
* @version 1.0
*/
public class Student implements Comparable<Student> {
String... | c2a6af60256d9cdfbd2c9492c446473532679782 | [
"Markdown",
"Java"
] | 15 | Java | ldcapt/BTVN_Luvina-LA-Course | 4a4874a6ea3a2b5325c24d2fff95b54b9b8602f7 | e4f19c42eded0b8c631b29251be7cf6aa69a6a79 |
refs/heads/master | <repo_name>ajdelgados/callback-to-promise<file_sep>/index.js
async function execute () {
const request = require('request');
const options = {
method: 'GET',
url: 'https://aws.random.cat/meow'
};
request(options, (error, response, body) => {
if(error) console.log("Error form callback", error);... | 6eb07c3fd3d3212e4ec7a5afc316176f06b66143 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ajdelgados/callback-to-promise | d9643bfe83960af3fcd0ceba044717f35c872c75 | 47579e967317dc0829ff44d2ebcab258dd353011 |
refs/heads/master | <repo_name>szintPisti/widget-service<file_sep>/src/main/java/com/miro/widgetservice/controller/WidgetController.java
package com.miro.widgetservice.controller;
import com.miro.widgetservice.model.Widget;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiRes... | 341acf237a1619625fc549ec38c791f97edc8b09 | [
"Markdown",
"Java"
] | 3 | Java | szintPisti/widget-service | e05ed648eadac0dbdd361c7f77a61e665740d534 | 5ab1badb7d5576ef3f7f9eb8b1f2217c6165af2a |
refs/heads/master | <repo_name>shuixi2013/xposed-art-dump-dex<file_sep>/app/src/main/java/cn/zaratustra/dumpdex/adapter/AppData.kt
package cn.zaratustra.dumpdex.adapter
import android.graphics.drawable.Drawable
/**
* Created by zaratustra on 2017/12/6.
*/
data class AppData(var packageName: String) {
var appName: String = ""
v... | 9bd891863ca77412fee495299b3b3d6d65ea7097 | [
"CMake",
"Markdown",
"Java",
"C++",
"Kotlin"
] | 11 | Kotlin | shuixi2013/xposed-art-dump-dex | a3da7bd54361c4dd089d26e55d68c9492c6a33e5 | eed0180d624b4933fae6098a9eb728f1a4270e65 |
refs/heads/main | <repo_name>Hunt-C/Laravel_practice<file_sep>/README.md
# Laravel_practice
following: https://github.com/chasewwy/laravel_tutorial https://dometi.com.tw/blog/category/%e7%b6%b2%e9%a0%81%e5%be%8c%e7%ab%af%e6%95%99%e5%ad%b8/laravel%e6%95%99%e5%ad%b8/
| fee17e2a67815474bd4100ad714b0891775b1ae2 | [
"Markdown"
] | 1 | Markdown | Hunt-C/Laravel_practice | ffd860587f017532dfd0d3df7c52200a4803c50d | 9d7ffc0f6328431af60afe979fb44fb57d35f234 |
refs/heads/master | <file_sep>
$(document).ready(function() {
$('#btnLogin').click(function(){
loginUtil.login();
});
});
var loginUtil = (function () {
return {
login: function () {
var id = $("#userId").val();
var pwd = $("#userPwd").val();
if(true){
a... | edd4ccb3e0e7d11ee7f670ae0de13e66ba60fd08 | [
"JavaScript"
] | 1 | JavaScript | 2rules/boot-spring-boot | b4cf2f1ab0cc3c29af7baad471b7aa38b63c8dfe | a4f88e922542712c103edbeff1c621fcecf233f9 |
refs/heads/master | <file_sep>import {GET_PHOTOS_REQUEST,
GET_PHOTOS_SUCCESS, SET_MARK, SET_MODEL, SET_YEAR, SET_COST, SET_VALUTA, SET_TRANSMISSION, SET_TYPE, SET_MILEAGE, SET_AMOUNT, CLEAR,GET_CARS,SET_SEARCH } from '../constants/Search'
export function setMark(event,data) {
return {
type: SET_MARK,
mark: data.value
}
}
e... | 6260fc7d426b8c84b2436faa64782304b2fede66 | [
"JavaScript",
"JSON",
"Markdown"
] | 17 | JavaScript | CHUKIN/laba3 | 6bbcc675852ccce60f95e2373fe8115dfb08ea52 | f6157e4a9338327c594885c2bd06a3c60487b42f |
refs/heads/master | <file_sep>let formCheckboxes = document.querySelector('.form-checkboxes'),
formSubmit = document.querySelector('.input-email-wrapper'),
submitButtonMobile = document.querySelector('.input-submit.mobile');
formSubmit.addEventListener('click', () => {
formCheckboxes.classList.toggle('form-active');
formS... | bd22d6c0bb39c0ef7a9d4270683a3e55cea2c4d0 | [
"JavaScript"
] | 1 | JavaScript | pawbie/CSW | 53e1e89151ebee6fa7bf9d4995b0126f9f11edb8 | 6a8ff4ad4ae8b8e84fdd275bd60103de37baa1ba |
refs/heads/master | <file_sep>Hooks:PostHook(BlackMarketTweakData, "_init_projectiles", "M202Incen_BlackMarketTweakData_init_projectiles", function(self, tweak_data)
self.projectiles.rocket_ray_frag_incen = deep_clone(self.projectiles.rocket_ray_frag)
self.projectiles.rocket_ray_frag_incen.unit = "units/mods/weapons/wpn_third_ray_fired_... | 49f3744b6ae2d9669dc359f2dfb98693d234dcd2 | [
"Markdown",
"Lua"
] | 6 | Lua | ax6842/Mess | 6f307db1af368685948088ee2bb0bd1987b5d197 | 57a13edb03c8f18f257cf20c98f256350c64059b |
refs/heads/master | <repo_name>kowalsking/generative_art<file_sep>/index.js
/*
TILED LINES
*/
// function tiledLines() {
// const canvas = document.querySelector('canvas');
// const text = document.querySelector('#rgb-text');
// const ctx = canvas.getContext('2d');
//
// const size = 400;
// // window.innerWid... | 5dbbd952382aeabf9ab47c4042bf258a7d177c88 | [
"JavaScript"
] | 1 | JavaScript | kowalsking/generative_art | 3a5c5d903b180fe782973500b1733dcab80a1b4c | 3ea2d459008e89789abf317e5aa18bdd468edf45 |
refs/heads/master | <repo_name>mjzhou/6vspider<file_sep>/README.md
6vspider
========
Get seed information on bt.neu6.edu.cn
<file_sep>/spider.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
from multiprocessing import Process,Pool
import urllib,urllib2,cookielib,sys,os,types,re,threading,MySQLdb
class torrent:
def __init__(self):
... | 9b24d4497961f863ef1fc0dddd69008d788ff6b1 | [
"Markdown",
"Python"
] | 2 | Markdown | mjzhou/6vspider | 34df035228e034cfe6fa183b06e961a4f7626953 | d9f5355222daec0de74fd25739d0cc420f23ba2c |
refs/heads/master | <repo_name>vjuhnder/UhQAMailer<file_sep>/report.py
#!/usr/bin/env python
# START_SOFTWARE_LICENSE_NOTICE
# -------------------------------------------------------------------------------------------------------------------
# Copyright (C) 2016-2017 Uhnder, Inc. All rights reserved.
# This Software is the property o... | a0b3212ad3de90d18024bba6f17bf2fc96454720 | [
"Markdown",
"Python"
] | 5 | Python | vjuhnder/UhQAMailer | 3ed6f26129e0142acb85a9730eb44d8e1d629678 | 45e67a0eab360f202b0102771426c4e1aae49833 |
refs/heads/master | <repo_name>yanjiangdi/Design-algorithms-to-solve-problems<file_sep>/成绩排序(需要使用到稳定排序).cpp
#include <iostream>
#include <algorithm>
using namespace std;
struct Student
{
string name;
int score ;
}s[10000] ;
bool cmp_0(Student s1,Student s2)
{
return s1.score>s2.score;
}
bool cmp_1(Student s1,Student s2)
{
return s1.sc... | 683171fab8a901224b29caadc7202958d7bb15c5 | [
"Java",
"C",
"C++"
] | 232 | C++ | yanjiangdi/Design-algorithms-to-solve-problems | 1f48cad39982843621696d95fb9ed446291b1169 | 145e1ccb000bbd50309b0cfb8ca459ddc2f4df34 |
refs/heads/master | <file_sep>package qpay
import (
"bytes"
"encoding/json"
"github.com/pkg/errors"
"io/ioutil"
"net/http"
"os"
"time"
)
type AuthResponse struct {
TokenType string `json:"token_type"`
RefreshExpiresIn int `json:"refresh_expires_in"`
RefreshToken string `json:"refresh_token"`
AccessToken str... | 699f7b2023713607c83b33846ebe8d7be1f79bad | [
"Go Module",
"Go"
] | 6 | Go | felagund18/qpay | 13a2be3f90f322a041af37e624e2e14bc91edc40 | 27128d93f9bd0e5c25b476536ecd89b10d8bed00 |
refs/heads/master | <repo_name>Karagul/datascience-olympics_RMD<file_sep>/src/script.R
jforny <- "~/rstudio/OlympicsPrediction/"
dgribel <- "~/PUC-MSc/datascience/olympics/"
path <- dgribel
source_medals <- paste(path, "dataset/medals.tsv", sep = "")
medals <- read.table(source_medals, header = T, sep = "\t", fill = TRUE, stringsAsFactor... | b8c3c1e68aa9fd51f1a383dc6eb4642db863962d | [
"Markdown",
"R",
"RMarkdown"
] | 6 | R | Karagul/datascience-olympics_RMD | 7562f0161689ec150183a290200e284a3f997082 | f2de7ea41f57c7d3e8b4b4bc1266c6ca450e8796 |
refs/heads/master | <repo_name>CaptGillespie/Dojo-Survey<file_sep>/Survey/Controllers/HomeController.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Survey.Models;
namespace Survey.Controllers
{
public class ... | e7fe8851246bb4d354dc2f1fc6be9df98462bf8d | [
"C#"
] | 1 | C# | CaptGillespie/Dojo-Survey | f938cb894ae4d020a846d9be9c9afa47a2cd3246 | d5ed1874938781103d31d2cc62575cbe4d87bd32 |
refs/heads/master | <file_sep>from odoo import http
class BusTest(http.Controller):
@http.route('/bus_test/test', type='http', auth='none')
def test(self):
http.request.env['bus.bus'].sendone('bus_test', {'message':'This is test',
'title': 'Test'})
return '... | a887cbf5b20887d0daa64fe08e29d7f4ae3c129f | [
"JavaScript",
"Python"
] | 3 | Python | fah-odoo/12 | b0eb65f6af6002eab4e48f6cbb5e7d749ae77411 | 9cf8f99ef424f45b96bcfbad03630b88f494a29f |
refs/heads/master | <file_sep><?php
require_once("include/head.php");
$sql = "SELECT * FROM `states`";
$state = $conn->query($sql);
if(isset($_GET['id']))
{
if(isset($_GET['delete'])){
$sql = "DELETE FROM `states` WHERE id ='".$_GET['id']."'";
$delete = $conn->query($sql);
header("Location:state.php");
}
$sql = "SELE... | d60e0eddb8ffff02e92506bb54f6c3deb8458b4f | [
"PHP"
] | 16 | PHP | shubhamsharma3097/mytasktbs | ae86ad1b30ac0088d2f4f3e23631f3e06fb34785 | 6a7d18819c87b2e422fe2fe223df49595d9d5617 |
refs/heads/master | <repo_name>Kirthana-S/kirthana.s<file_sep>/counting 1.c
#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
int count=0;
for(int i=a;i<=b;i++){
int j=i%10;
if(j==1){
count++;
}
if(i==10 || i==100 || i==1000 || i==10000){
... | 6291fa05ce14c4e5b21daa3d00c301b12c9516c0 | [
"C"
] | 3 | C | Kirthana-S/kirthana.s | 521f81e45ad65661e693fbe7d7b3684ad8b44cae | 5010d72a386202c90a47ba08de30c16625fd3ece |
refs/heads/main | <file_sep>// notes array will hold all the notes
let notes = [];
// grab any data from local storage and saved in a 'notes' key
let stored = JSON.parse(localStorage.getItem('notes'));
// if there is any data, spread the data into the notes array
if (stored !== null) {
notes = [...stored];
// this prevents the... | 41ae9a056ca9ee6128cab99e8c8d918ac3cd7107 | [
"JavaScript"
] | 1 | JavaScript | dan-ville/blocknote-js | c75139d8448c7e8d486257d54a90b4f3daacd40f | c93af682ae121a858becbbf9b09d8216438f47dc |
refs/heads/master | <file_sep>import React, {useState} from 'react'
import MovieCard from './MovieCard'
const SearchMovies=()=>{
const [query,setQuery]=useState("")
const [movies,setMovies]=useState([])
const searchMovie = async(e)=>{
e.preventDefault()
const url =`https://api.themoviedb.org... | 5a583e73374c5c6c9dd950946dacbe437a5fe2e7 | [
"JavaScript"
] | 1 | JavaScript | abhi3899/movie-search-app | 17ebc6b06aee9ffff05fc0fea85d9dedeb398e8f | 6637912502d22c7e5fdcc929c9fb7f5a9cc68ae2 |
refs/heads/master | <file_sep>module.exports = {
siteMetadata: {
title: 'This Awesome Site',
},
plugins: ['gatsby-plugin-react-helmet'],
}
| 2cd611ea509ca8027cc82e5d3fb4dd3053f9761f | [
"JavaScript"
] | 1 | JavaScript | jasonmarkbeaton/Gatsby-tryouts | bac153e1b51d2782bb26b60e67231abad3e57415 | 0fb9a24aa75e4639cf9382b54f2161a4a1bf958a |
refs/heads/master | <file_sep>// import firebase from 'firebase/app';
import firebase from "firebase/compat/app";
// import 'firebase/auth';
import "firebase/compat/auth";
export const auth = firebase.initializeApp( {
apiKey: "<KEY>",
authDomain: "chatplanet-8e5ce.firebaseapp.com",
projectId: "chatplanet-8e5ce",
storageBucket: "... | 322ec00e76590fc92eef695189427bd4332d29e1 | [
"JavaScript"
] | 1 | JavaScript | mrBondD1/ChatPlanet | f1882ac1f548e698df6fa944b02794fcd81faf36 | 2e6450f0415d15bee25320dca1316c5a2b7ec235 |
refs/heads/master | <file_sep>from django.shortcuts import render, redirect
from .models import Inventory
# Create your views here.
def inventory_list(request):
inventories = Inventory.objects.all()
query = request.GET.get('q')
if query:
inventories = inventories.filter(
Q(name__icontains=query)|
... | 3cb10fa877837b8f637ed54b7408a10375da477c | [
"Python"
] | 1 | Python | khm56/django_advanced_01 | b2ffda06609f1486329122cc8a327c4b1b2a051b | a48eea637d5d9c3d2653fc8f27426650fd44969d |
refs/heads/master | <file_sep>#!/bin/bash
cat <<EOF
################################################################################
Welcome to the ghcr.io/servercontainers/rsync
################################################################################
You'll find this container sourcecode here:
https://github.com/ServerCo... | 3287d58fe1eaa2e4e8937478c5c5d75bba780cf9 | [
"Markdown",
"YAML",
"Dockerfile",
"Shell"
] | 5 | Shell | ServerContainers/rsync | c315f927a8d63ee7907c08c851eb138b04e1f319 | 85c9a4aeef23b405487ad7d27a98605a5c058fa8 |
refs/heads/master | <file_sep>var gameBox = document.getElementById('box'), playerIndex = 1, players = ['O', 'X'], resultValues = [],
winningCombinations = [[0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 4, 8], [2, 4, 6]];
var numberOfX = 0;
var numberOfO = 0;
var n = 0;
function onClick(s) {
n++;
if (... | 026b3729521089e14ae18e07875a05f5984363de | [
"JavaScript"
] | 1 | JavaScript | zakoyangayane/TicTacToe | e260305992cbad6440bfbeeb4e2f7ec6967fc43f | 90c9a69dd93d13e387eb50a83c4e525d7815ee0c |
refs/heads/master | <repo_name>armandomj/FamilyGame<file_sep>/Assets/Scripts/EventsManager.cs
using UnityEngine;
using System.Collections;
public class EventsManager : MonoBehaviour {
public delegate void GameObjectDelegate(GameObject obj);
public static event GameObjectDelegate OnTouchEvent;
public static void RaiseOnTouc... | 81201f03c66e17093a9c3f091a9efaa7334337fc | [
"C#"
] | 5 | C# | armandomj/FamilyGame | 448988c700988f5ab356dacae47d1f76da15fcdc | d1dd855f235bc31e56adf1fbff9f1ec8712d4b85 |
refs/heads/master | <repo_name>blings0611/Finding-New-Location-of-Wheel-Chair-Charging-Station<file_sep>/2. CLUSTERING/BARRIER_FREE_FINAL.py
#!/usr/bin/env python
# coding: utf-8
# # Wheelchair Charging Stations for the Disabled in Seoul
# ## Import libraries
# In[2]:
# For data manipulation and analysis
import pandas as pd
from pand... | f9e1175798bdba00d8015c5a54bf16b63ebf73e2 | [
"Python"
] | 1 | Python | blings0611/Finding-New-Location-of-Wheel-Chair-Charging-Station | 5a5b3fee7c4c3769f0f848b6ca2a9a516087047d | 9d9d9562e72673eb7ece962f464ca816a25f3c6b |
refs/heads/master | <file_sep>package cast
import (
"testing"
)
func TestOutputs(t *testing.T) {
// where our values come from
producer := make(chan []byte)
// output channels
outputs := make([]chan []byte, 0)
for i := 0; i < 5; i++ {
outputs = append(outputs, make(chan []byte, 1))
}
// init relay, add channels
relay := Ne... | 54efde6df86b7c38c97cf81606721b92d6d1d9cf | [
"Markdown",
"Go"
] | 3 | Go | ProfessorMc/cast | 79863a0070ee029af410b2d9c88811b348f57554 | a66608673239ab3f0671a9c8a821a2ab4b71a6c0 |
refs/heads/master | <repo_name>koolventure/Test-Repo<file_sep>/beta.py
import math
option1 = ('Option 1. Inside Angle Calculator')
option2 = ('Option 2. Midpoint Calculator')
option3 = ('Option 3. Distance Calculator')
print (option1)
print(option2)
print(option3)
insert_option = int(input( 'Please input an option number. '))
if insert_... | deeccccdf7da4e74c05116502a86d177fa0e3677 | [
"Python"
] | 7 | Python | koolventure/Test-Repo | a60a8590c8c977198812e3408ce7e3c4d3c6a426 | a15d3b0915c5e41f4b2457b53efa53a4f2990b90 |
refs/heads/main | <repo_name>igorpoguliai/todo-list<file_sep>/js/script.js
const input = document.getElementById('input-value');
const list = document.getElementById('list');
const form = document.getElementById('form');
const buttonDelete = document.getElementById('button-delete');
const buttonMakeDone = document.getElementById('button... | 812c09af148d9d802f2afe08ad8e938f3c9741fc | [
"JavaScript"
] | 1 | JavaScript | igorpoguliai/todo-list | dc8b93fcdf477043c10c2fc790a0da9b415cfaa1 | 7aa3a06bd738101fc208d1dcb502de905e89028d |
refs/heads/master | <repo_name>Jeckman03/AdventureGameC-<file_sep>/main.cs
using System;
namespace Adventure
{
class MainClass {
public static void Main (string[] args) {
GameTitle();
string characterName = NameCharacter();
Console.ReadLine();
}
private static void GameTitle()
{
Console.WriteLine("---------------... | fffe93923c71325a03077ddacee22df76aa8a314 | [
"C#"
] | 1 | C# | Jeckman03/AdventureGameC- | 4dff30135805bca594730a3a9327ea0d1306787b | 6a260124f6d8f6c91571f32b3272711e7977fd65 |
refs/heads/master | <repo_name>HelenMoskovskaya/572193-mishka<file_sep>/source/js/script.js
var nav = document.querySelector (".navigation");
var navToggle = document.querySelector (".navigation__toggle");
nav.classList.remove ("navigation--nojs");
navToggle.addEventListener ("click", function()
{
if (nav.classList.contains ("naviga... | 8a641fcda6d2b8cdb9e4c69f3114c3a9b0cff0c2 | [
"JavaScript"
] | 1 | JavaScript | HelenMoskovskaya/572193-mishka | 1713db266f53f567c069d0f8389a9802814098ec | d2e7677b077632861321fd6b10c12f560515d21d |
refs/heads/master | <repo_name>DxrosAnys/backend-server<file_sep>/app.js
// Requires
const express = require('express');
const mongoose = require('mongoose');
const bodyParser = require('body-parser');
const cors = require('cors');
var rawBodyHandler = function (req, res, buf, encoding) {
if (buf && buf.length) {
req.rawBody ... | d1ac99da59eba5d11f76112fb258de817c6cc098 | [
"JavaScript"
] | 5 | JavaScript | DxrosAnys/backend-server | a2e1619020b7ba5340add4382c247c13552bb080 | f375f5cbfdad46e559adeb877f392f26d44e65db |
refs/heads/master | <file_sep><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Sun Aug 16 17:47:03 EDT 2015 -->
<title>Index</title>
<meta name="date" content="2015-08-16">
<link rel="stylesheet" type="tex... | 8f1f979621b666b54e6f28a955b52b5992450ae7 | [
"Markdown",
"Java",
"Text",
"HTML"
] | 10 | HTML | CIT-CSE-337-Summer-2015/TheGuessingGame | acb1a6440399f2221284aa57b0e0094660206d32 | 22633cc3674632b961eca4373977b9ace369d82f |
refs/heads/master | <file_sep># Lifeguards-
<file_sep>/*
* first lets remove every interval lies in another interval and subtract the number of removed intervals from k
* now lets sort the intervals ( notice that both the li & ri are in increasing order )
* lets fill dp [N][K][2] , dp[i][j][z] is the maximum amount of time covered by... | e632bde53fa6636aad599cc98c41748128ec5b20 | [
"Markdown",
"C++"
] | 2 | Markdown | besherislambouley/Lifeguards- | 4cde6e1d58f0d871ae149700f833330b4c7d0a79 | 6bec31fbd86428907d801ffa93995f45cbb688e2 |
refs/heads/master | <file_sep>namespace :db do
desc "Fill database with sample data"
task populate: :environment do
make_users
make_microposts
make_relationships
end
end
def make_users
User.create!(name: "<NAME>",
email: "<EMAIL>",
password: "<PASSWORD>",
... | 5b06044e125e5ee41f4bb4ae14ae0ad5a89e716a | [
"Ruby"
] | 1 | Ruby | JC103/sample_app | 69483a0451a8b8de255ea9cb3c1ecd3a80287389 | b4003cf6c7ead31313a3e7316988bae9d5d4b346 |
refs/heads/main | <repo_name>mi-v/img1b<file_sep>/png/reader_test.go
// Copyright 2009 The Go Authors. All rights reserved.
// Copyright 2020 <NAME>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package png
import (
"bufio"
"bytes"
"fmt"
"github.com/mi-v/img1b"
"image/colo... | 6d68c52e62d23f29d19d2fb2dd238cc45d00709b | [
"Markdown",
"Go Module",
"Go"
] | 7 | Go | mi-v/img1b | 220dfd967c790a55cfb09b2f5fe44561687e502d | 4a2562b597cf754a7640b10bf18147cb7ef55274 |
refs/heads/master | <file_sep>#include <pthread.h>
struct station {
int count,toset,set;
pthread_mutex_t trainWait;
pthread_cond_t trainArrive;
pthread_cond_t seated;
};
void station_init(struct station *station);
void station_load_train(struct station *station, int count);
void station_wait_for_train(struct station *station);... | bb7c737ba11ef50a3c20aae03c55788b1b608e9e | [
"C"
] | 2 | C | mohab567/caltrain-threads | 187d0741d48aac014575333f7bdd2dae4648a1ce | 658ce210a8f4060dd5a35f785794f1f0436735bf |
refs/heads/master | <file_sep><?php
namespace Hellpers;
use Exception;
class Pather
{
/**
* @var array Массив запрещенных имен в ОС windows
*/
private static $antiNames = [
'CON',
'NUL',
'AUX',
'PRN',
'COM1',
'COM2',
'COM3',
'COM4',
'COM5',
... | 7ebf40a78cc9a6b0053ebf6171df9b7875b4a584 | [
"Markdown",
"JSON",
"PHP"
] | 4 | PHP | adikalon/pather | 525ae07d508dc479204b371e6be760442277d0e3 | 4cefeabc242b8265c06de648ca10c9368b4c8252 |
refs/heads/master | <file_sep>angular
.module("noteApp")
.controller("homeController", function ($scope, $sce) {
})<file_sep>var app = angular.module("noteApp", ["ui.router","chart.js"])
app.config(function($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise("/") //needs to match "home" url
$stateProvider... | c9cf01f4081ae93f2771b7173f0c2d99ff92894d | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | Roger-Chavez/SmartNotes | 9c73a32b0ab9e409c902bf345bb77c25f2b666e5 | 88bbdb35e5731a99e9035e1c65649442a2100a58 |
refs/heads/master | <file_sep>class CommentsController < ApplicationController
before_action :find_comment,except: [:create]
before_action :authenticate_user!
def create
@article = Article.find(params[:article_id])
@comment = @article.comments.create(comment_params)
if @comment.save
flash[:success] = "Comment successfully crea... | 755b04917462f67f50a1c5bd42ec58ed18205c11 | [
"Ruby"
] | 4 | Ruby | aminesirati/HameldBlog | 9dc698a38d5b00a1aed63285819e0375060c8b98 | 5182407e8417d086cc7d4c24da96eaa9a44ce467 |
refs/heads/master | <file_sep>'use strict';
const uuidv4 = require('uuid/v4');
let path = require('path');
let config = require('../../server/config.json');
let server = require('../../server/server.js');
let ds = server.dataSources.socialcoinDb;
let generatePassword = require('<PASSWORD>');
let senderAddress = '<EMAIL>'; // Replace this... | 5992f5216b222525469636dfa5b4daa3b325cc09 | [
"JavaScript",
"Markdown"
] | 20 | JavaScript | boschpeter/socialcoin-api | d6899e3555b82aabd5b154c7961c0f866f570cfa | aac25907ce642017d563802fea6940d76b620daa |
refs/heads/master | <repo_name>bkopplin/quackathon<file_sep>/Quackathon2020/Assets/Scripts/PlayerController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
float verticalInput = 0;
float horizontalInput = 0;
float jumpForce = 5;
[SerializeF... | 07e98b5eb6ed1c059b9a9f6c36c16c3d11e0c364 | [
"C#"
] | 5 | C# | bkopplin/quackathon | ceaef66ccadaa859cfb59d8529cd52aa462c95e9 | 91858abf56d5f4517b3c515cf9679a0c82fdfc43 |
refs/heads/master | <repo_name>sam-lev/GraphSAGE<file_sep>/eval_scripts/test_eval.py
from __future__ import print_function
import json
from networkx.readwrite import json_graph
import numpy as np
import networkx as nx
from argparse import ArgumentParser
''' To evaluate the embeddings, we run a logistic regression.
Run this script after ... | be034fca86b52a4b8f65e6cb323875e54e58cf91 | [
"Python"
] | 2 | Python | sam-lev/GraphSAGE | 79ffb0d2f88e6e375a5e241a95c48ad98b96ebae | ac629154ce500a091919c56e0d3c0dfef62506ff |
refs/heads/master | <repo_name>kyle-copeland/unity-ui-example<file_sep>/Assets/Scripts/ScrollingText.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScrollingText : MonoBehaviour {
public CharacterSettings characterSettings;
public string sentence = "My body's ready... | 76ac4506f155cad3c924007278011904eb667584 | [
"C#"
] | 6 | C# | kyle-copeland/unity-ui-example | 5c3784fc07166c084b44dd6c54eb82df50c1eab9 | ea98492356f4660e199ca67f3c1c444b92d4bcf6 |
refs/heads/master | <file_sep>// LABA7.cpp: определяет точку входа для консольного приложения.
//
#include "stdafx.h"
#include <iostream>
#include <thread>
#include <mutex>
#include <chrono>
#include <Windows.h>
#include <condition_variable>
using namespace std;
mutex f1,f2,f;
condition_variable cv;
bool ready = false;... | a97571609b4a031ae635e705f279ca36955c3f2a | [
"C++"
] | 1 | C++ | 3gpak/Lab-LP | 4972c6c96c89503a5b93442780dcdcef991c3314 | 4b0243fef5a69be85e886c8c4e7cc51e6b4652ee |
refs/heads/master | <file_sep>#ifndef _FCBF_
#define _FCBF_
#include <unordered_map>
#include <vector>
#include <string>
#include <list>
#include "ReadCsv.h"
#define MISSING_PROB -1
#define LOG2(X) (std::log(X)/std::log(2))
// TODO refactor into structs
#define PROB_HASH std::unordered_map<std::string, std::unordered_map<std::string... | 3e09163d09b0bef6a8564ea32a0a2dae2f7fa9c3 | [
"R",
"C++"
] | 8 | C++ | christophertfoo/FeatureSelection | cc6daaf82ed6ed1a728282a6af77c3f7558c59e4 | 05d574c3268a3180acd4d4ee6f81595256def011 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PropertyChanged
{
class Person2
{
public event EventHandler PropertyChanged;
private int id;
public int Id
{
get { return id; }
... | 4e9ea93db10c2580146f44d947627f40209834d3 | [
"Markdown",
"C#"
] | 7 | C# | devcronberg/os-cs-propchanged | c5e7899d7ffe7d6ce90f84590fb06d9dc393ed4d | 9c587191e871849afac3ac7a22d349f9966d11dc |
refs/heads/master | <repo_name>Jonatthanlopez23/Computacion-en-java<file_sep>/README.md
# Computacion-en-java
Evidencia 1
• Instalación y configuración.
• Uso del programa.
• Créditos.
• Licencia.
<file_sep>/src/clinica/Cita.java
package clinica;
import javax.swing.JOptionPane;
public final class Cita {
private String id;
private... | d32a502006143ee24930ec82ebd6730b7612ff30 | [
"Markdown",
"Java"
] | 2 | Markdown | Jonatthanlopez23/Computacion-en-java | edf6d117b02a2c93127a995675cf4616fc4d66c7 | d7642feb62b9e808fa2b25aba2f462db517c8321 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
namespace SurfboardBrokerScrape
{
class xyz
{
public static string local { get; set; } = "mongodb://localhost:27017";
public static string MLab { get; set; } = "mongodb://wyatt123:<EMAIL>:19055/surfengine";
}
}
<f... | b2b1c1db05b11e54e85ca5356ca65d02caf566f6 | [
"C#"
] | 3 | C# | wyattwade/SurfboardBrokerScrape | f822d07266281fd276813b92aae2b2b8a64f41f1 | 402367eba38ec57e5b3e937905931804eeaf1eb6 |
refs/heads/master | <repo_name>JakoboNazarGuevara/Parking_evaluation<file_sep>/Path/HP/Evaluacion.hp.js
/*this imports my functions from './../Tool/datauto' to be used in this file.*/
const Tools = require('./../Tool/datauto');
/*array and matrix of data to be evaluated by the program 7 cases each*/
var Tparkeo =["Valet","Short","Economy... | 5f1d461a5b3311a9e411c1b257276fa6a3eb201e | [
"JavaScript"
] | 3 | JavaScript | JakoboNazarGuevara/Parking_evaluation | c782788458a8b83660e16c9955a6c35b712818bc | 77c75575d39e40792412d2d8585ce3c9c3102296 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class doigun : MonoBehaviour
{
private GameObject player;
public int zoom;
public int normal = 60;
public float smooth = 8;
private bool zoomedIn = false;
int nn = 0;
// Use this for initiali... | adb72873eb1d97f7849f85f7b41a5af8f2dd82b0 | [
"JavaScript",
"C#"
] | 22 | C# | dienanh2210/demofps1234 | 2f33f6b18bac25491dc2c38be49da757f10283b9 | 696eb73175161d17100c91da5ea20c26f9a6cbdd |
refs/heads/master | <repo_name>Suraj0019/Library_System<file_sep>/member.py
class Member:
def __init__(self, member_id, member_name, book_issued):
self.member_id = member_id
self.member_name = member_name
self.book_issued = book_issued
<file_sep>/application.py
import random
session_name = ''
session_i... | ce407ae46230c4155794f5796dab0310183c400a | [
"Markdown",
"Python"
] | 4 | Python | Suraj0019/Library_System | 2fe1c5938011299ffbe9385f912b00276c1329fc | 68a3c741d639c762a94c1178cdde7379b0014b9b |
refs/heads/master | <repo_name>youyoutech/test_partners_capital<file_sep>/src/helpers/dataAnalysis.ts
import { Survey, MODE_OF_TRANSPORT, SurveyTotalsByMode, SurveyTotals, CostPerKilometerByMode } from "../types";
export function getTotalJourneysByMode(completedSurveys: Survey[]): Record<MODE_OF_TRANSPORT, number> {
return completedS... | cd364dd1023d7c74262bf2911e8daf6fc41caaff | [
"TypeScript"
] | 5 | TypeScript | youyoutech/test_partners_capital | afcd9ccdf259ab1395294bd8cee880dc746dde83 | 22e2c96158ff2b90c9b0815c8b3850abaa3536f4 |
refs/heads/master | <repo_name>tysmitty94/pokemongobarrhaven<file_sep>/ProjectMeowth/Scripts/homepage.js
jQuery(document).ready(function ($) {
var theme = localStorage.getItem('theme');
var themeName = '';
/*
if (localStorage.getItem('theme') === null) {
localStorage.setItem('theme', 'default');
}
*/
s... | 60c2c812a1d37678ab983a72b6d3ab99afc88f4a | [
"JavaScript",
"C#"
] | 9 | JavaScript | tysmitty94/pokemongobarrhaven | 4dd8752d41436c26861d3a1c5b8eeaf28daf58f9 | ff4419b5a8dc7c1e214fb45902dbab1bdeeae29b |
refs/heads/master | <repo_name>Hakuna-Matata-/TestChat<file_sep>/src/main/java/xellos/aka/atan/Collections/testMap.java
package xellos.aka.atan.Collections;
import java.util.Map;
import java.util.WeakHashMap;
public class TestMap {
public static void main(String[] args) {
// Map<Integer, String> map = new LinkedHashMap<Int... | 57cc88086a5edd645f574d0602b39487036f9568 | [
"Markdown",
"Java"
] | 7 | Java | Hakuna-Matata-/TestChat | 9aef4ad84c7c1ffcd30b4876c291a2a6a39bd6c3 | 1cd835410a75aac9b6c612e3fee9a8902cdc8958 |
refs/heads/main | <repo_name>piyush-hack/takeNoteApp<file_sep>/README.md
# CrudsOnMongodb
# open master branch for files related project
### visit live example at
### http://crudsmongodb.herokuapp.com/#freshpage
| 3a3f2b9fea1e3e751e15bb4db3921cd0803f0f01 | [
"Markdown"
] | 1 | Markdown | piyush-hack/takeNoteApp | a27fa459d725b268149e89401be2d4e1f515badb | 10d8a43f4d7fdad4629358c82f9b0dd5e9daed38 |
refs/heads/master | <repo_name>eabell94/eabell94.github.io<file_sep>/README.md
# eabell94.github.io
<file_sep>/multest.rs
[#test]
fn is_this_correct(){
assert_eq!(Some(6), eval(&[Token::Operand(2),
Token::Operand(3),
Token::Operator(Operator::Mul)]));
}<file_sep>/index.md
## About Me... | 68e56796fd0184239042f1406fd868c0e9853a74 | [
"Markdown",
"Rust"
] | 3 | Markdown | eabell94/eabell94.github.io | 47024f7651b97d0ef713c6ec7771cb0f9967eccd | e3a3c0203586e7edfd62e13edf3bfc75b11c3f8d |
refs/heads/main | <repo_name>mdabdulbari/posts<file_sep>/src/views/PostDetails/index.js
import { Button, Card, withStyles } from "@material-ui/core";
import React, { useEffect, useState } from "react";
import PrimaryHeader from "../../components/Header/PrimaryHeader";
import Post from "../../components/Post";
import { getCall } from ".... | fdb0ba83435b9d49ac647306ca51840258f4c96b | [
"JavaScript"
] | 10 | JavaScript | mdabdulbari/posts | dafe48acf9f96c59e8a0dc1bba9afb38bd993d60 | 8a1806a9f798d21986f56bbb3f959b0bcea7a5c7 |
refs/heads/master | <file_sep>package grifts
import (
"encoding/csv"
"io"
"log"
"net/http"
"snow_watch/models"
"strconv"
"time"
"github.com/markbates/grift/grift"
)
var _ = grift.Namespace("reports", func() {
grift.Desc("seed", "Seeds a database")
grift.Add("seed", func(c *grift.Context) error {
stations := models.Stations... | 3e764d1a0fb9ba5aadf5c9d30c9e3f83c5b5da4a | [
"SQL",
"Go Module",
"Go"
] | 7 | Go | jwoods1/snow_reporter | cf7eb231e9351038692649c1b65f9042e98213e1 | a0104e0fc04593fc9091f89351665f11fc518dcf |
refs/heads/master | <file_sep>import { expect } from 'chai';
import sinon from 'sinon';
import { mount } from '@vue/test-utils';
// import Vue from 'vue';
// import Vuex from 'vuex';
// import bButton from 'bootstrap-vue/es/components/button/button';
import store from '@/store';
import LoginForm from '@/components/LoginForm.vue';
// imp... | e30531393ac4fe23293cd60552908dbda0a19905 | [
"JavaScript"
] | 11 | JavaScript | xtens-suite/xtens-client | 67e08fd54368c964368ec80c990fe6a5e5455234 | 08999e4e363248ee02a997ac2e7baeb75cdbe19a |
refs/heads/master | <file_sep>// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NLU.DevOps.ModelPerformance
{
using System.Collections.Generic;
using Models;
/// <summary>
/// Labeled utterance with confidence score.
/// </summary>
public class CompareLabeledUtterance : Labeled... | a602833c71c7341cbe4c5a9a847395985f6b52a6 | [
"C#"
] | 1 | C# | ponarunkumar/NLU.DevOps | 55921b937b3bc6b71313057304bb740a918fbab3 | 6f4f30694ffd9e46ceb4cd812ac6936e583848dd |
refs/heads/master | <file_sep>#Mon Nov 30 17:08:40 EST 2015
org.eclipse.core.runtime=2
org.eclipse.platform=4.4.0.v20140925-0400
<file_sep>/*
* IMUData.h
*
* Created on: Sep 23, 2015
* Author: suyashkumar
*/
#ifndef IMUDATA_H_
#define IMUDATA_H_
class IMUData {
public:
IMUData();
virtual ~IMUData();
};
#endif /* IMUDATA_H_... | b3a29b96b4a7f0b8795bd970f63c7ed136ca22f4 | [
"Markdown",
"JavaScript",
"C++",
"INI"
] | 8 | INI | suyashkumar/BME464_Tremor | 86d236631b54427f849866b83723c7a960074f86 | c64174828f4463539fb2d60a7df2c04b91ff6805 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Soundboard FIPA</title>
<!-- Bootstrap core CSS -->
<link href="ve... | 36998af668c771234814c94b88133d9e314c02d7 | [
"PHP"
] | 1 | PHP | Superjajaman75/soundbox | 7868dddd7e038200053b4e137266507408a019d2 | 6dd77d19e573856a2f932435c07c03e1dde4f550 |
refs/heads/master | <repo_name>SwagWarrior/armory-hardened<file_sep>/hardened/src/bitcoin.c
/**
* Copyright (c) 2014 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including w... | fb2514291424ce800f1b234f26f2e59c5d28f5e0 | [
"Markdown",
"C",
"Makefile"
] | 21 | C | SwagWarrior/armory-hardened | 7fb464c85d22a4bf1b0ad0a8c335ebdd47aa0ed3 | ce03f5573373fcf420d61ca04c9775b4de308b0d |
refs/heads/main | <file_sep>#include <shmem.h>
#include <stdio.h>
#include <stdlib.h>
#define NUM_POINTS 10000
long long inside = 0, total = 0; //long long is double the size of long
int main(int argc, char **argv){
int me, myshmem_n_pes;
shmem_init();
myshmem_n_pes = shmem_n_pes();
me = shmem_my_pe();
srand(1+me); //sets ... | 388fd27977e4cff6b7bd2fd38b66b82ed374d8c4 | [
"Markdown",
"C",
"Makefile"
] | 8 | C | ledd-23/openshmem-code-snippets | b2abcd0211c599f20d5d5ec3753b934b740d99f8 | 558ba45e8129a4384b13cccf02ab7fc996572493 |
refs/heads/master | <file_sep># keras_unet
unet
<file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
from unet_def import *
import cv2
import keras
from keras.optimizers import *
def transform_predict_to_image(predict, save_name):
predict = predict[:, :, 0]
result = np.zeros... | da232d3e09f3d4d0eb5319fe8610a9d870d18a57 | [
"Markdown",
"Python"
] | 2 | Markdown | zzdxfei/keras_unet | d450d044a4889aa459ead39db8724009935124b0 | 6f9e340af3032ef9f04b32d759a3a03cb65bfcb9 |
refs/heads/master | <file_sep>print("Hola Mundo del GitHub")
<file_sep>#Esto lo hice en la net,como lo veo en internet
<file_sep>aca van todos los codigos
vamos a ver si puedo pullear el cambio de nombre y es texo desde mi net: pude hacerlo con >> git pull https://github.com/NickTrossa/repoPrimero.git master
vamos a ver si puedo pushear ... | e3b6dbc40ee449536384cde904c8ec3ac39c9bca | [
"Python",
"Text"
] | 4 | Python | NickTrossa/repoPrimero | 5e7cd7672157b0dfa60dfe56bffb5d8ea209409a | f9c396dd09bf07748378c85f6fec91626f8ecd0d |
refs/heads/master | <repo_name>augustapop/WentToursPOM<file_sep>/WentToursPOM/LoginPage.cs
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WentToursPOM
{
class LoginPage
{
public IWebDriver driver;
public LoginPage(IWebDriver driver)
{
... | a28380c7e569887fb3341628dbc0552bc7ae6688 | [
"Markdown",
"C#"
] | 4 | C# | augustapop/WentToursPOM | 10bfd654c1faca8d2f2ef8663f38a63d373cefc4 | 7781c782eebb84f6671a6fd75e9a75a41b6321ef |
refs/heads/master | <file_sep># ODU17
有妖气app
<file_sep>platform :ios, '8.0'
target 'ODU17' do
use_frameworks!
inhibit_all_warnings!
pod 'SnapKit'
pod 'Moya'
pod 'Kingfisher'
pod 'MJRefresh'
pod 'IQKeyboardManagerSwift'
pod 'HandyJSON'
end
| b0e9da9de706f6f6f14b8d10cb0121b35737e54e | [
"Markdown",
"Ruby"
] | 2 | Markdown | Leungwn/ODU17 | 52c9533975fdcf8553deb2d88acf16a4b0daccb8 | 6b2d24fdd86269bc0f52dec9f0be90d05c1ab323 |
refs/heads/master | <repo_name>kien2929/ci-begin-master-Session-6<file_sep>/src/base/enemy/Enemy.java
package base.enemy;
import base.FrameCounter;
import base.GameObject;
import base.game.GameCanvas;
import base.physics.BoxCollider;
import base.physics.Physics;
import base.renderer.AnimationRenderer;
import base.renderer.SingleImageRend... | 6d09b01e5e8a2b63962794d67ca04229b100f1ef | [
"Java"
] | 1 | Java | kien2929/ci-begin-master-Session-6 | 77a7632f3f0943ebbdac3bbbe7ac838d04655c7b | bfa4963d5fcc7d3edfef56d38251f99c5d88effd |
refs/heads/master | <repo_name>NarimanAB/atomikos<file_sep>/src/main/java/com/example/atomikos/AtomikosApplication.java
package com.example.atomikos;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.spring... | 2e55b7642404d1cc26e3e6ce3f7f54239775c2f1 | [
"Java",
"INI"
] | 3 | Java | NarimanAB/atomikos | 18ae7e6ac53b749294b0b80457650aea8e6877bd | a5630818956330a7a6561a5c4cf62b0dba3e424d |
refs/heads/master | <file_sep>package com.eluctari.sample.graph;
import java.util.*;
import net.jcip.annotations.Immutable;
@Immutable
public final class Graph {
private final Map<Node, Set<Node>> edges;
private final Set<Node> nodes;
public Graph(Set<Node> n, Map<Node, Set<Node>> e) {
// FIXME Is this defensive c... | 42cb47656668f85e684e53f8a1b81e9f161946a1 | [
"Java"
] | 4 | Java | EluctariLLC/simple-graph | 049e33cbe3d38a724d17c46f0fb86b93267f867c | de252da1859ba8d774b1019af7034a28fea7e235 |
refs/heads/master | <repo_name>kuvamdazeus/simple_http_server<file_sep>/server.py
#! /usr/bin/env python3
"""Note: This server uses 8080 as default port"""
import http.server, sys, socketserver, socket, re
args = sys.argv
args.pop(0)
args = " ".join(args)
port_pattern, address_pattern = r"([0-9]+)", r"(^[a-zA-Z][0-9a-zA-Z\.\-_]+)"
# sear... | 6993ae36b0fe0cd5dde313f446fc0f6199c58077 | [
"Markdown",
"Python"
] | 2 | Python | kuvamdazeus/simple_http_server | bfff903329684e872ce95144876cb5ceb1a8351d | 39a41c5b1a2c1d1ea1adba8d59b6c1c66f236f74 |
refs/heads/master | <repo_name>smcrowley8/esu-GameJam<file_sep>/audio_mod.py
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
ffmpeg_extract_subclip("shorter_music.mp3", 4, 40, targetname="background.mp3")
'''
for converting .mp3 to .wav in terminal:
ffmpeg -i background.mp3 -ab 160k -ac 2 -ar 44100 -vn audio.wav
'''... | fe60ba67ff4f670945f09435e2718aa60f03cb05 | [
"Python",
"Shell"
] | 10 | Python | smcrowley8/esu-GameJam | 10792f1619ce8d24b90e0dedd65e7fb61f7e51e3 | d749391e3678e4ded159c741d85f4ea7fbaac853 |
refs/heads/master | <repo_name>achiara311/Lab-2---Room-Calculator<file_sep>/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RoomCalculator
{
class Program
{
static void Main(string[] args)
{
//input
//... | a1f28c32174e65b69ffc0a3ff86c0e9feb0447d8 | [
"C#"
] | 1 | C# | achiara311/Lab-2---Room-Calculator | d1b3469523d076addc936f7227133fe484429ca4 | 1ea3f354e70c02d28fd5df55e3cb65c0c2f1d67f |
refs/heads/master | <file_sep>
import paho.mqtt.client as mqtt
from subprocess import call
import webbrowser
import os
import signal
import subprocess
def callZoom():
openlink()
call(["node", "index.js"])
def disConnect():
print("stop")
call("exit 1",shell=True)
def openlink():
url = 'http://localhost:3000/'
... | 06eedbcffd13cadd62002d0630d16aeba9418f8d | [
"Markdown",
"Python"
] | 2 | Python | thapakorn613/remoteLab-zoomApi | 71f31e19df74aff0e29f3c89aaaff2b834c0eaba | 0bed0868eaa88cf54d7f4ce8b8225ede9d3f6c63 |
refs/heads/master | <file_sep># Sparse Matrix with Python 2.7
Create sparse matrix with non-zero elements in it's diagonal.
<file_sep>import random
import numpy as np
size = 5
ub = 7
def ranz():
return [random.randint(1,100) for i in range(0,size)]
def zero():
return [0]*size
c = ranz()+zero()+zero()+zero()+ranz()
outer = []
counter ... | 7d87b906f4a768f068e4d9de112c59f299cb6aba | [
"Markdown",
"Python"
] | 2 | Markdown | herukurniawan/sparsematrix | 21cd092d1eabd7c1afa669eeb3412ed28eb42f0d | 82fd84393752fce0d79d488470ad18398f4fde94 |
refs/heads/master | <file_sep>require 'parser/ruby24'
def traverse(node, visitor)
visitor.__send__(:"on_#{node.type}", node)
node.children.each do |child|
traverse(child, visitor) if child.is_a?(Parser::AST::Node)
end
end
class Visitor
def on_if(node)
cond = node.children.first
if cond.type == :int
warn "Do not... | 9abb42366c2f94b32e92ad14191fa9e651145221 | [
"Ruby"
] | 2 | Ruby | pocke/rubykaigi2017 | ddec55e4bbddc3b8e6766d05d396af6320cae275 | 206a574870e3d184ef2b79dcb77b7b05da0b883e |
refs/heads/master | <file_sep># Mean Value Adjuster
A python class to adjust the mean(average) value of a dataset by weighing each
value based on its z - score. Values closer to the mean are considered "better"
and so are given more weight.
# In ranking systems
Adjusted mean be used to give toll votes less weight.
# Example
```python... | 315d84b166ec0adca646fb57ae59c427ca8ee0c9 | [
"Markdown",
"Python"
] | 2 | Markdown | Rayraegah/mean-value-adjuster | 04cb005998b47770209985d615543235efd82007 | 44264f2ecbe7be6db1929747e18bc864bc34bb63 |
refs/heads/main | <repo_name>Jehyeop-Yu/PEGweb<file_sep>/javascript/GameDi_test_list.js
var list1 = ['메인','액션','스포츠','레이싱','인디','시뮬레이션']
var list2 = ['main','Action','Sports','Racing','Indi','Simulation']
var MenuBarList = function(){
for(var i=0; i<list1.length; i++){
document.write('<li onclick="Select(this)" id="'+list2[... | d9dcab5393e3fe564bbe9dbd40d6914f799281e4 | [
"JavaScript"
] | 3 | JavaScript | Jehyeop-Yu/PEGweb | 22c8cb53b1b4b3a3df0061ea24dd293a660417b1 | 728af223b5b74826a058bd67e598288fb5a1a0e0 |
refs/heads/master | <repo_name>TimRlm/letai<file_sep>/app/src/main/java/timerlan/letai/Osnova/BdTat.java
package timerlan.letai.Osnova;
import java.io.BufferedReader;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.ByteBuffer;
import java.nio.charset.C... | 010e5862d88ac34c135062e26b4dfc24d131c353 | [
"Java",
"INI"
] | 7 | Java | TimRlm/letai | 9c74b0ae59708b1f38e44fa6fb624994c25ea1d3 | d7a254126329a15f9be1fcc766d3a709deb4e3b9 |
refs/heads/master | <file_sep>import React, { useContext, useEffect, useLayoutEffect } from 'react'
import Navbar from './components/Navbar/Navbar'
import Cart from './components/Cart/Cart'
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom'
import DetailProduct from './components/DetailProduct/DetailProduct'
import ... | 98638de37562b6a2fbabb8968f06fd2a901092f2 | [
"JavaScript"
] | 13 | JavaScript | cuadros-code/react_e-commerce | 96979d1ca60ec33c023f9602476a2788a210eab3 | ec011617203376e0ccb6168ac2a36601f9383d85 |
refs/heads/master | <repo_name>jwwinship/CS2301_HW3<file_sep>/src/BingoCard.c
//
// Created by John on 11/28/2020.
//
#include <stdio.h>
#include <string.h>
#include "BingoCard.h"
#include "marker.h"
//A list of markers in the space
LLNode* markerList;
//TODO: add functionality for a second type of linked list, which will keep track of... | 5489975a074f9d03aa9afc1bdc176ef1df915e73 | [
"C",
"CMake"
] | 12 | C | jwwinship/CS2301_HW3 | bce62b76691b25b128bddaec559dabfa87d066e7 | b3d95f0d424f39d30cdb78ceebb63a01196fc444 |
refs/heads/master | <repo_name>fmca/PlaceChat<file_sep>/src/com/fuzuapp/model/resultados/IRedeSociaisAdapter.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 com.fuzuapp.model.resultados;
i... | 926e36a0f290e45151013ce336311aa81f759ad9 | [
"Markdown",
"Java",
"SQL"
] | 12 | Java | fmca/PlaceChat | d74fefaf5ed33e56b96859fb33a3bfe9452c0d9d | 979cbbee8fe5cd1b36af9e285f8637eedc3f2336 |
refs/heads/master | <repo_name>Nirob143/Nirob143-Droow-Creative-Showcase<file_sep>/assets/js/main.js
// Carousel Slier
$(".carousel-active").owlCarousel({
items:3,
margin:0,
loop:true,
autoplay:true,
autoplayTimeout:3000,
responsive: {
0: {
items: 1
},
... | 409d8b6922997bf9f4cf7d4bbe7336c45447eef7 | [
"JavaScript"
] | 1 | JavaScript | Nirob143/Nirob143-Droow-Creative-Showcase | ecf5c4f7323f803079310c51ac34d4db9262f014 | 411e536841bc28bb03bcddecc3bea55a307ecd92 |
refs/heads/master | <repo_name>OneWang/FlowLayout<file_sep>/Example/Podfile
use_frameworks!
platform :ios, '8.0'
target 'OWWaterFallLayout_Example' do
pod 'OWWaterFallLayout', :path => '../'
pod 'MJExtension'
pod 'MJRefresh'
pod 'SDWebImage'
target 'OWWaterFallLayout_Tests' do
inherit! :search_paths
end
end
| 3bb21c49e0688dc31c01558b37f4b887a84db861 | [
"Ruby"
] | 1 | Ruby | OneWang/FlowLayout | 6946235f77234fe4da3e1183b2fc7519bce4f186 | 0accf2424398ceb5978608143082ef9ae850d25c |
refs/heads/master | <repo_name>ProfReynolds/KnowledgeSystems<file_sep>/src/CognitiveServices.VisionLibrary.Tests/ComputerVisionApiTests.cs
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using CognitiveServices.VisionLibrary;
using CognitiveServices.VisionLibrary.ComputerVision;
using NUnit.Framework;
usin... | 13004c98e706d6f1488663f1c92ebc5956be7940 | [
"Markdown",
"C#"
] | 12 | C# | ProfReynolds/KnowledgeSystems | a318ac6b9eefae998cf4c0127ffb9d52ad142d69 | ff979c07b0dee9049e78a5c9581b38a3d454de84 |
refs/heads/master | <file_sep>module sequoia-backend-assignment
go 1.14
require (
github.com/0xAX/notificator v0.0.0-20191016112426-3962a5ea8da1 // indirect
github.com/codegangsta/envy v0.0.0-20141216192214-4b78388c8ce4 // indirect
github.com/codegangsta/gin v0.0.0-20171026143024-cafe2ce98974 // indirect
github.com/go-redis/redis v6... | 4fff2bb99304c47fc023f8dfbac0cdde495a1f60 | [
"Go",
"Go Module",
"Markdown"
] | 7 | Go Module | simbathesailor/golang-learn | 9649ac4c584aaa9eb88c44d1ca793dbd52b70c16 | a524360655be5229988ad0e44939f311bc9fc66d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.