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>romanomatthew23/Kuka-Youbot-ECE-470<file_sep>/youbot_ros_hello_world.cpp
//
// Simple demo program that calls the youBot ROS wrapper
//
#include <math.h>
#include <dirent.h>
#include <cstdlib>
#include <iostream>
#include "ros/ros.h"
#include <string>
#include "boost/units/systems/si.hpp"
#include "boost/u... | 195914879c9276918334c4963cb7e32621eeb470 | [
"Markdown",
"Python",
"C++"
] | 3 | C++ | romanomatthew23/Kuka-Youbot-ECE-470 | 354c1d6a51ceb360d0416d6edad21e0b5f2c15e5 | 6b238fa6909b1f707d6b3e7acc88c6a9c4951eb4 |
refs/heads/master | <repo_name>shxx/dva-reactnative-starter<file_sep>/RnDva/src/components/common/CustomNavigationBar.js
import React from 'react';
import { View, Image, TouchableOpacity, Text } from 'react-native';
import { Dim } from '../../utils/config';
import { Actions } from 'react-native-router-flux';
const CustomNavigationBar = (... | fee49bf9570bb3aab3bb62239a61bf4ffd48395b | [
"JavaScript",
"Markdown",
"Gradle"
] | 15 | JavaScript | shxx/dva-reactnative-starter | 6b1b1cdeffb255cbc6e7667ec8a08bea1012e8f4 | edc4ba3b6c7c1cde6dd9ff1222f3329c1dd7828b |
refs/heads/develop | <repo_name>carrielord/FeedTheNeedAngular<file_sep>/src/app/component/postingdetail/postingdetail.component.ts
import { Component, OnInit } from '@angular/core';
import { PostingService } from '../../services/posting.service';
import { MatTableDataSource } from '@angular/material';
import { Posting } from '../../models/... | 2e7e42d7319033529cf34b632ff261b2adb087a4 | [
"TypeScript",
"HTML"
] | 29 | TypeScript | carrielord/FeedTheNeedAngular | 11bea47f7011b67a95e12d8b07bbebcec953c840 | 24d32411ffe2aea304e1c4e0596db7926e7fabc3 |
refs/heads/master | <file_sep>package es.esy.practikality.post_x;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.support.v4.content.FileProvider;
import android.support.v7.app.AppCompatAct... | 944d1138625f416a3b6377f1fd78c01ed6102fd1 | [
"Markdown",
"Java"
] | 4 | Java | Practikality/post-x | 7b0aaabdae52be7747c98baaf473db90be56c7a3 | 8b4bedbd328edeb5509f012ca579ee0e99e091dd |
refs/heads/master | <repo_name>BearCleverProud/Multilingual-Word-Embedding<file_sep>/create_language_pairs.py
import pickle
import torch
import LoadData
import string
import gensim
class Dict(object):
def __init__(self):
self.word2idx = {}
self.idx2word = {}
self.vocab_size = 0
def extract_words(en2frfile, fr2enfile):
en_dict ... | b96066ac48e96cc4b2e1de3051af607517d29d8c | [
"Markdown",
"Python",
"Text"
] | 14 | Python | BearCleverProud/Multilingual-Word-Embedding | 62d557cca67176a1673d5a888dd9f4dcadb697f1 | 39cb4382895696008b0e19d1acc5d64bf95ab972 |
refs/heads/master | <repo_name>maheswaranvenkat/rabocustomerstatementprocessing<file_sep>/src/main/java/com/rabo/utils/CommonUtils.java
package com.rabo.utils;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.apache.commons.l... | fda0504304ed66ad99e870743937a337819e0a1e | [
"Java"
] | 6 | Java | maheswaranvenkat/rabocustomerstatementprocessing | 945e057c9490c9fe7832af7fc3da4f10cd28cd22 | 2154373d7a3fb057b0117df135908e3d31d32c46 |
refs/heads/master | <file_sep># Bi-Longitudinal-Unary-Coordinate-Kneading-Algorithm- (B.U.C.K Algorithm)
This algorithm is an experimental exploration into the parallelization of the creation of coordinate loops to be written into
shapefiles. This prototype was written with python using Anaconda 2 on Windows 10. At the time of this readm... | e66e96b946cce335df96f619553e76df20ae5fbd | [
"Markdown",
"Python"
] | 2 | Markdown | MildApocalypse/Bi-Longitudinal-Unary-Coordinate-Kneading-Algorithm- | a7fef2ce1c249fa228cad8ddf44e98855accb7bc | e4d4b2639c136790863fc402ff8d192f9bdcf80d |
refs/heads/master | <file_sep># spotted-api
An Api for spots locator application
<file_sep>const Mongoose = require('mongoose')
const SpotSchema = Mongoose.Schema({
name: String,
type: String,
description: String,
difficulty: String,
location: {
lat: Number,
lng: Number,
placeId: String,
address: String
},
i... | 4fcbcfeedf058195a90b0ba069b04af6652fda4a | [
"Markdown",
"JavaScript"
] | 6 | Markdown | ValJed/spotted-api | bb083b4c68adeb5416688169ca1f76babf0d567a | a03c3ed9799718f503ae4f312854bd937ae3219c |
refs/heads/master | <repo_name>dkaruli/Profolio<file_sep>/public/js/app.js
var app = angular.module('myport',['ngRoute']);
app.config(function ($routeProvider, $locationProvider) {
$routeProvider
.when('/', {
templateUrl: '../partials/pages/aboutme.html',
controller: 'Home'
})
.when('/Proje... | ff0b3844d61998fb6e337f1a180df7d9ddf1cf17 | [
"JavaScript",
"HTML"
] | 3 | JavaScript | dkaruli/Profolio | d5b8999c08d78ac37a295dade278507430e4190d | 85d7f2777c67414a5499fc19218f3c27c366404d |
refs/heads/master | <repo_name>andy120/Tut2<file_sep>/tut2/tut2.cpp
// Comptut2 2015.cpp : Defines the entry point for the console application.
//211543957
//Include libraries
#include <iostream>
#include <cmath>
using namespace std;
//Fraction structure definition
struct Fraction
{
int numerator;
int denominator;
};
//function pr... | 45f8fc72ef45f04b557d6190185ccaeb6b5d69e8 | [
"C++"
] | 1 | C++ | andy120/Tut2 | 922c7580ec71c564505f3f35f833d0148d2f15fc | 1c0a9e3dff38d9a1038ab0469f0af85dd2d8bbc7 |
refs/heads/master | <repo_name>chhuovanna/secondhand<file_sep>/app/seller.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class Seller extends Model
{
//
protected $table ='seller';
protected $primaryKey = 'seller_id';
public static function getSeller($seller_id)
... | 4bebd0533d6556282eeee583b19938625f1bb37d | [
"JavaScript",
"PHP"
] | 23 | PHP | chhuovanna/secondhand | 3e5d609656aa2c90c7927280bfb4d5914db1c2e9 | b6dc4753c1f15b14de6cf87586e7840e46f34227 |
refs/heads/master | <repo_name>tkggusraqk/alloy-ui<file_sep>/src/aui-button/tests/unit/js/tests.js
YUI.add('aui-button-tests', function(Y) {
var suite = new Y.Test.Suite('aui-button'),
searchButtonCancel;
function assertPosition(input) {
var inputRegion = input.get('region'),
iconClose = input.previou... | 199c13c64d51b4d514ab59a0fba936a5e4db3b27 | [
"JavaScript"
] | 1 | JavaScript | tkggusraqk/alloy-ui | 246700a4af30113ce242afbb8136134554d814a4 | bac329053bef3c877dfc5a1e54e28d2f649e1832 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Wed Nov 28 21:21:08 2018
@author: melan
"""
from Perform_Analysis import get_commits, read_file
#Testing the code
import unittest
class TestCommits(unittest.TestCase):
def setUp(self):
self.data = read_file('C:\\Users\\melan\\OneDrive\\D... | f0d046cf0235ac7a560e9e1ed7e81b033a9b02c6 | [
"Python"
] | 2 | Python | MelanieDBS/CA4_Big_Data | 0829f5a3a4d3e3a67e168e07be128eb2ba8b59ad | c1f1167bed1251c4056355c58be9d0490cfa4401 |
refs/heads/master | <repo_name>JoekingCooper/project_attenuation<file_sep>/README.md
# project_attenuation
This is an mysterious project with no information ...
<file_sep>/notebooks/.ipynb_checkpoints/breed_generation-checkpoint.py
import numpy as np
import random
import os
import pickle
class BreedGeneration:
"""
... | 6ee13ca1cf56a158b78d9acf5feb305915cdafc5 | [
"Markdown",
"Python"
] | 4 | Markdown | JoekingCooper/project_attenuation | d6ac9c16d4d28e7c63c11241e8e3fa98fe996019 | cbbe964ed4ca978f1ad0e5a21a2f85458435abe5 |
refs/heads/main | <repo_name>khamulbr/books-ws<file_sep>/src/main/java/com/nazgulsoft/apis/booksws/security/UserDetailsServiceImpl.java
package com.nazgulsoft.apis.booksws.security;
import com.nazgulsoft.apis.booksws.user.User;
import com.nazgulsoft.apis.booksws.user.UserService;
import org.springframework.security.core.userdetails.Use... | dc3fb1b6b0d79a127af66b72bc264f51839bc15f | [
"Markdown",
"Java",
"INI"
] | 6 | Java | khamulbr/books-ws | 5edce11edd6d964bddbfab333ac6d145766e0dfd | 36dcffd955b77ae877bf7f49860833e549d2fd36 |
refs/heads/master | <repo_name>rijugeorge/RestAssured-SOAP<file_sep>/src/main/java/OD_PS_Automation/APIPayloads/package-info.java
/**
*
*/
/**
* @author riju.george
*
*/
package OD_PS_Automation.APIPayloads;<file_sep>/src/main/java/OD_PS_Automation/API/WebApiBase.java
package OD_PS_Automation.API;
import java.net.URI;
public inter... | 3b9beed65c3de92d0b29bd62f743c1086946c89e | [
"Java",
"INI"
] | 8 | Java | rijugeorge/RestAssured-SOAP | 0febdc1be3ee74595f625004998c40fd7d490e59 | 8dd04265408be447b98317ffdf5ee7fce12d1309 |
refs/heads/main | <file_sep>import { BrowserModule } from '@angular/platform-browser';
import { RouterModule , Routes} from '@angular/router';
import { AppComponent } from './app.component';
import { BugrsModule } from './bugrs/bugrs.module';
import { HttpClientModule } from '@angular/common/http';
import { BugrsSystemComponent } from '... | ca0f86563762f0f42ac681121a51ebea573eaa70 | [
"TypeScript"
] | 3 | TypeScript | StavrosArg/BugReportingSystem | 957ee38c72a93ff901392862cbcbc7112425382f | b82df4e0abee9c6a47bada6576760c9401b0bc45 |
refs/heads/main | <file_sep>
const Engine = Matter.Engine;
const World = Matter.World;
const Bodies = Matter.Bodies;
const Body = Matter.Body;
var ground,paper,dustI;
var wall1,wall2,floor;
function preload()
{
dustI = loadImage("Untitled.png");
}
function setup() {
createCanvas(800, 700);
myEngine = Engine.create();
myWorld = ... | 5714fee75ece8858dba22cbe6f7f711a85489bce | [
"JavaScript"
] | 1 | JavaScript | Sanskaar717/Project-25 | 06c9d1a7cf3d0f87ca2ccdc076f1f089fb6109d3 | 9f11aec6334b994b9bbe5bce66bbe111bbde056e |
refs/heads/master | <file_sep># arduino_interactive
Ergebnisse der Creative Media Summer School an der FH St.Pölten im Jahr 2017
<file_sep>import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { BluetoothSerial } from '@ionic-native/bluetooth-serial';
import { ToastControll... | 4bb3a2e48e407fa8a13b66aee975db10d508aee1 | [
"Markdown",
"TypeScript",
"C++"
] | 10 | Markdown | Woid4tler/arduino_interactive | f87b5f4d460367e7a1d649a81055e7f2a91a80e2 | f590bb5e6ea7017dece0230d581e821e7b5a92e1 |
refs/heads/master | <file_sep>; Configuration file for the SciTE4AutoHotkey toolbar
; March 1, 2009 - fincs
; Aspect settings for the toolbar
[TOOLBAR]
; Number of rows
rows=16
; Number of colums
cols=4
; Space between icons in pixels
spaces=4
; Icon size in pixels
iconsize=16
; Tool definitions
; They are in the following format:
; =To... | 3c3569b0e7800836fc97e6dad8733c6b6c5f6042 | [
"Text",
"INI",
"Lua"
] | 7 | INI | scottrippey/ScottoHotKey | 6479c324ad6ed1a832db588d2745f2e53a4efca5 | 5ee45c8741d4a517a1a635c729923783b26ccc2c |
refs/heads/main | <file_sep>-- phpMyAdmin SQL Dump
-- version 5.0.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 07, 2021 at 02:24 PM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.2.34
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTE... | 31b5c65f742b767580fde36fa6d1ca34780f7fc9 | [
"SQL"
] | 2 | SQL | laraspakaya/prpl2021 | 89758e9ea4de65425aa3b01b941ee05f6c32821b | f7768b523791b35e3d80de1beebf3158c5989f3f |
refs/heads/master | <repo_name>Cafemug/JDBC<file_sep>/src/hotel/gui2.java
package hotel;
import java.awt.Choice;
import java.awt.Color;
import java.awt.Component;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.TextField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.Ite... | c43e521ab89191b17ed3cdbb274b68296e07fedb | [
"Markdown",
"Java"
] | 2 | Java | Cafemug/JDBC | db1bc8ada9714ce2ccb9d19db39ee2d2814f54f7 | 0086d5089000c2c63744656795a043abca2587b0 |
refs/heads/master | <file_sep>import React, { useState, useEffect } from 'react';
import api from './services/api';
import './App.css';
// import backgroundImage from './assets/background.jpg';
import Header from './components/Header';
function App() {
// const [projects, setProjects] = useState(['Desenvolvimento de app', 'Front-end ... | 53de402b6a2e7d1ea148eba4334ee876370e94d7 | [
"JavaScript"
] | 1 | JavaScript | paulapompeo/conceitos-dev | 2d41e86c7aaa921ba457b9a47bad02bd67b9506c | aefe55c361dc4800e42311560ebc0bba86f6de33 |
refs/heads/master | <repo_name>DavidTOUCHARD/Bibliotheque<file_sep>/BibliothequeEnLigne/src/eu/ensup/bibliothequeenligne/dao/ConnectionDao.java
package eu.ensup.bibliothequeenligne.dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
public class ConnectionDao {
... | 5bf69d6a20a775196bb47aa80f43213f52dfc12d | [
"Java"
] | 2 | Java | DavidTOUCHARD/Bibliotheque | 99ce338bc162a4e9f3fffb36fbc223f522d11771 | 547c3b82035361d8aeed218077d9e2e62813450a |
refs/heads/master | <repo_name>sojour/boiler-maker<file_sep>/server/db/database.js
const Sequelize = require('sequelize');
//be sure to augment the db name if necessary
const db = new Sequelize(process.env.DATABASE_URL || 'postgres://localhost:5432/boiler-maker', {
logging: false
});
module.exports = db;
| 7262f813dca4ab4087a8f0a5309d40d3aa8b6c66 | [
"JavaScript"
] | 1 | JavaScript | sojour/boiler-maker | 14be8094e3d868430ed0e62c5f6a8b95761356f6 | c202f7c2725260fa5f14f3f7e745fe649b5f3988 |
refs/heads/main | <file_sep>//
// SDSOrientationAdaptiveStack.swift
//
// Created by : <NAME> on 2021/06/03
// © 2021 SmallDeskSoftware
//
import SwiftUI
import Combine
import UIKit
extension UIDevice {
static public func stableDeviceOrientation() -> UIDeviceOrientation {
if UIDevice.current.orientation.isValidInterfac... | 85d66e3442930dc4c2f717c86586bd11a6014225 | [
"Swift",
"Markdown"
] | 3 | Swift | tyagishi/SDSOrientationAdaptiveStack | 75ecefc443dbf6468b4de744bdd77410581a3938 | f62ac25f2c3bc93312757a573516f133680a0498 |
refs/heads/master | <file_sep>package com.adp.autopay.automation.pagespecificlibrary;
import com.adp.autopay.automation.framework.CustomWebElement;
public class Popup extends CustomWebElement
{
}<file_sep>package com.adp.autopay.automation.cucumberRunner;
import com.adp.autopay.automation.commonlibrary.DataHelper;
import com.adp.auto... | 105a33acb49136c77608123c1069016f2d9e0be2 | [
"Java"
] | 5 | Java | sudheergpalli/WebservicesCucumber | 5629229b28182590459e1a296ae2708dc380ceef | ee3da30f96787a8697a2276c245204d0a0f66715 |
refs/heads/master | <repo_name>s6-debs/s6-portable-utils<file_sep>/src/skaembutils/s6-sort.c
/* ISC license. */
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <errno.h>
#include <skalibs/allreadwrite.h>
#include <skalibs/sgetopt.h>
#include <skalibs/buffer.h>
#include <skalibs/strerr2.h>
#include <skalibs/stralloc.... | c16f9b8b5cdc85ffbb81669d5995424f1a0a8d7f | [
"C",
"Makefile"
] | 3 | C | s6-debs/s6-portable-utils | 536eea15284be9a257b6f97f971e0d8d4a7e437b | f7d56d7f407e255548fb86d822ad1d4a1734de0c |
refs/heads/master | <file_sep># RISC-V emulator in Go
Linux running at ~2Mhz:
```
OpenSBI v0.8
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |... | d5a89793221b20209e80f3459272cc6cc076c447 | [
"Markdown",
"Go Module",
"Go"
] | 4 | Markdown | lukehoban/rvgo | 08a98d284c20e2bc20ab769d54f7124bf6b47542 | 0144e0a89d651b781df089aec19f8b1061a3681e |
refs/heads/master | <repo_name>biwse/biwse-node<file_sep>/src/model/Transaction.js
/**
* Biwse API V1 Reference
* This API documentation generated from OpenAPI specification.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://op... | 08c7618499ce079cfe83b97e8e49b6898375592f | [
"JavaScript",
"Markdown"
] | 15 | JavaScript | biwse/biwse-node | d06a05d6874c662601c075de635f1b215dcc0bac | 6b1e5427b5d57a782ed964d26a26dbf4157fd0b8 |
refs/heads/master | <file_sep>//
// TLBundle.swift
// Pods
//
// Created by wade.hawk on 2017. 5. 9..
//
//
import UIKit
open class TLBundle {
open class func podBundleImage(named: String) -> UIImage? {
let podBundle = Bundle(for: TLBundle.self)
if let url = podBundle.url(forResource: "TLPhotoPickerController", wi... | 5bcf861c99d69f25d87f108752efe6cc8e48f6b2 | [
"Swift"
] | 1 | Swift | 5stralia/TLPhotoPicker | ee450f9aec013901ff2cbdf1d635c9d8dc223fb6 | 83de06cce2ca0f1d48f0f56ca5fe1a1e09baaf1b |
refs/heads/master | <repo_name>cksharma11/bricks<file_sep>/src/paddle.js
class Paddle {
constructor(height, width, bottom, left, speed = 10) {
this.height = height;
this.width = width;
this.bottom = bottom;
this.left = left;
this.speed = speed;
}
moveLeft() {
this.left = Math.max(0, this.left - this.speed);
... | 94ce4a2ad7838849f725f47319ae3d634beb5cf2 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | cksharma11/bricks | 4c93a93ce08a34c0b253c6004e6769c78b0e95eb | 8ff992b0bc564a004a40ba43e9ae07f3e0e25bd3 |
refs/heads/master | <repo_name>aaliszt/CS-II-Data-Structures<file_sep>/Assembler/postfix.cpp
// <NAME>
// CS23001
// postfix.cpp
// Description: Reads in infix expressions from a file and converts them to postfix,
// then puts them in an specified output file or displays them to the screen.
#include <iostream>
#include <fstream>
#include... | 0eb150aa7f8e38f27c9c4927c0033419f8466c4f | [
"Markdown",
"C++"
] | 37 | C++ | aaliszt/CS-II-Data-Structures | 5ff5dcf4c3cbc59e91a810215792a68208ded31f | 4d4ca4a486fa6a15c890f933dda47a100b337468 |
refs/heads/master | <file_sep>package ca.ubc.ece.cpen221.mp4.ai;
import java.util.Set;
import ca.ubc.ece.cpen221.mp4.Location;
import ca.ubc.ece.cpen221.mp4.Util;
import ca.ubc.ece.cpen221.mp4.World;
import ca.ubc.ece.cpen221.mp4.chessPieces.ChessPiece;
import ca.ubc.ece.cpen221.mp4.chessPieces.Queen;
import ca.ubc.ece.cpen221.mp4.comma... | b70884296f89cf80cd94fc3be201c7ae60d073a9 | [
"Java"
] | 6 | Java | tdofher/CPEN221-mp4 | bbaa8290e0c54485d11192bc05d5c224708354b3 | 2ebf8aa89c58cd6eb35c08eb27e0374c153965e9 |
refs/heads/master | <repo_name>sahil2211/BigDataLabs<file_sep>/spatial index/spatial2.py
from rtree import index
import math
import time
import sys
minimumx = 0
minimumy = 0
maximumx = 0
maximumy = 0
class Point:
def __init__(self,x,y):
self.x = x
self.y = y
class Polygon:
def __init__(self,points):
self.points = points
sel... | 18149602b2b31aee825cef1ad3300d605b37cc5b | [
"Markdown",
"Python"
] | 2 | Python | sahil2211/BigDataLabs | d3782b668474887e0c3c4b467dcd41b91e39c75a | 5b91995401af98d1237c0758204e4f028764a381 |
refs/heads/master | <repo_name>TingYinHelen/qiankun-demo<file_sep>/app1/src/main.js
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
Vue.config.productionTip = false;
Vue.use(ElementUI);
function render(props = {}) {
const { container } = props;
co... | 5ff4667b364e2f718ee82fd71d02fadb5cffd1f1 | [
"JavaScript"
] | 1 | JavaScript | TingYinHelen/qiankun-demo | a9d13d4d91b6ecbd702f0f4828da2da4a3e56f40 | f3ed073e1e1f837bf9f25cc96f991d608ca78e0f |
refs/heads/master | <file_sep># MIT License
#
# Copyright (c) 2017 <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 without limitation the rights
# to use, copy, modify, m... | c1ccbe713c83432525c0d384a94b00f442fd9c89 | [
"Markdown",
"Python"
] | 3 | Python | hthompson-a10/bit-bind | ba7eeb704f9efcebced7e8a4c49700458c4fe987 | 91d0f31b73841550f48413a352e9818761fdb292 |
refs/heads/master | <file_sep>// export function
exports.getPI = function(value) {
return 3.14;
};<file_sep>var module1 = require('module1');
ctx.pi = module1.getPI(); | a33c204cb632126b34e2fc4177a123272793e7ad | [
"JavaScript"
] | 2 | JavaScript | richardwilly98/elasticsearch-lang-javascript | e3c03936fdd0caa0407ff108aa22d363ce24c2a1 | 9f1b4fc1a1ce129798287a1ff93021c56132da5d |
refs/heads/main | <file_sep>import pandas as pd
def load_sample():
df = pd.read_csv(
"https://gist.githubusercontent.com/rgbkrk/a7984a8788a73e2afb8fd4b89c8ec6de/raw/db8d1db9f878ed448c3cac3eb3c9c0dc5e80891e/2015.csv"
)
return df.set_index("Country")
<file_sep># dx Design Concepts
## Use cases
- Store a chart view
... | 82328339e6c310046cfce6a7d4eaaed4ee662f6a | [
"Markdown",
"TOML",
"INI",
"Python",
"Text"
] | 11 | Python | nteract/dx | 7a021b9830d844373331341858309b1ba2f60468 | 4109b275d3a0599d627b63989d54b9f2bf69b29f |
refs/heads/main | <repo_name>shmeeli/hw02-4550<file_sep>/calc.js
(function() {
"use strict";
var displayText = "";
var val1 = null;
var val2 = 0;
var currentArg = 1;
var operation = null;
var zero = document.getElementById("zero");
var one = document.getElementById("one");
var two = document.... | a23263a2de106a217a8f4967c3146f9336b3fffc | [
"JavaScript"
] | 2 | JavaScript | shmeeli/hw02-4550 | 032eb1d0178c84487963c13232dc8d2b924a96a3 | f417e1c23b0080834f41fcf7f0f74012d88b2ee6 |
refs/heads/master | <file_sep>#def fizz_buzz(number)
# number
#end
# def fizz_buzz(number)
# if number %15 ==0
# 'fizzbuzz'
#elsif number % 5 ==0
# 'buzz'
# elsif number % 3 == 0
# 'fizz'
#else
# number
# end
#end
def fizz_buzz(number)
if has_zero_remainder?(number, 15)
... | 3e26766ba4a93896e0d33085d88c2ad5a797630c | [
"Ruby"
] | 1 | Ruby | raomanasa/fizzbuzz | 0f1c20e071b4b9e7362d18bf983950c9b93fc7c7 | a50c4c833f84ae01f66f7163d94c45995c0b4bdd |
refs/heads/master | <repo_name>bianliuzhu/componentPack<file_sep>/src/router/index.js
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
const login = r => require.ensure([], () => r(require('@/page/login')), 'login');
const manage = r => require.ensure([], () => r(require('@/page/manage')), 'manage');
const home = r ... | 2d051e3842b640b769520cd5c3722f01c8aa0d89 | [
"JavaScript"
] | 1 | JavaScript | bianliuzhu/componentPack | ee4a5d3f5517ac8ed2428110823acba9b4300fb0 | e208bce7dcd239433902f0b9dbc036f0a56031da |
refs/heads/master | <file_sep>/*
* Name: <NAME>
* Date: May 19, 2020
* Section: CSE 154 AJ
*
* This is the JS to implement the UI
*/
"use strict";
(function() {
window.addEventListener("load", starter);
let gameArray = TEXT;
console.log(TEXT);
let packArray = [true, true, true, true, true, true, true];
/**
* This fun... | fec51b4df081350d62963974b0e5f3d6fa2f1bbf | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Adam-Nicewarner/jackbox-sorter | 0b2c65e89288fc8c8c177979d753acfe364f6587 | ce2eae4949e139e5970f1085783a350057fb32c6 |
refs/heads/master | <repo_name>AKSHARA-T-S-B/javaProject<file_sep>/CyclePriceCalculator/Model/Components/HandleBar/HandleBar.java
package Model.Components.HandleBar;
public class HandleBar {
private PursuitBar[] pursuitBar;
private DropBar[] dropBar;
private RiserBar[] riserBar;
public synchronized PursuitBar[] getPursuitBar() {
r... | 8632541d3cfec3c050710e9e69a740e3888a2fb7 | [
"Java",
"Text"
] | 10 | Java | AKSHARA-T-S-B/javaProject | 188f03cdd8afb000c77b132416813dea4b610c74 | f99bea76065ef4a2bbee4fc893988109dda1619f |
refs/heads/master | <file_sep>filteredArray = []
function buildImages() {
url = '/fetch/api'
d3.json(url).then(data => {
// d3.select(".image_container").remove()
var input = d3.select("#input").property("value");
var input2 = d3.select("#input2").property("value");
var color_input = d3.select("#c... | 373ba962e18951c832887f9a634a74995c3facd1 | [
"JavaScript",
"Python",
"Text",
"Markdown"
] | 11 | JavaScript | vladknezdata/imageRecognition | 74e8c379250c17570c106104b9432275822e7ebf | 7e63002c1a6024fc8ed62587fd40dd7a4e066137 |
refs/heads/master | <file_sep>package sg.edu.rp.c346.id20016584.c346_assignment;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.... | dad48cf65283089591e8b2f2166bd4b0bdc5bfb5 | [
"Java",
"Gradle"
] | 2 | Java | Jaden-Ng/c346_assignment | eeefe6ee3d2cd33a6140c8b4379e41ef12827f2d | 8bdc74778bffc09315358488da33eb0e636034dd |
refs/heads/master | <file_sep>import numpy as np
x = np.array([(1,2.,'Hello'), (2,3.,"world")],dtype = [('foo', 'i4'),('bar', 'f4'), ('baz', 'S10')])
print(x[1])
y = x['bar']
print(y)
y[:] = 2*y
print(y) #4,6
print(x) #(1, 4., b'Hello') (2, 6., b'world')
x[1] = (-1,-1., "Master")
print(x)
x = np.zeros(3, dtype='3int8, float32, (2,3)fl... | 487faa389941a3d542bb94e3cf61aebbf5d78c35 | [
"Markdown",
"Python"
] | 25 | Python | JaeguKim/AI_2017_spring_semester | 9dbeeb724783eec5340d6aca45f82887628ac64f | b8c7749abcfa256f040563d854cb20f71de88b7d |
refs/heads/master | <file_sep># worker-union
Every Node.JS developer is aware of the single-threaded nature of this platform
where everything except your Javascript code runs in parallel..
But what if I tell you that it has become possible to run JS in parallel as well?
The worker_threads module has been added to node.js v10.5.0,
which ... | 182966728383ef5661b9f15069f3abc52d5c7b8d | [
"Markdown",
"JavaScript"
] | 6 | Markdown | AlexTolmachev/node-worker-union | b30c290f3dd598ac2a13ffc80ee9bd30f5df2da2 | 9bfcf04fcab802d4f5425c353c2471d566cb7c89 |
refs/heads/master | <repo_name>pelma24/AdventOfCode<file_sep>/2022/day5.py
from copy import deepcopy
from HelperFunctions import readInputFile
from HelperFunctions import readExampleInput
from HelperFunctions import convertToInt
import re
inputArrangement = [['N','T','B','S','Q','H','G','R'], ['J','Z','P','D','F','S','H'], ['V','H','Z'],... | ba3e93e4b09b283b519c3dda001ea3520a452a67 | [
"Python"
] | 94 | Python | pelma24/AdventOfCode | 6386c09620bae5f444452c62fd45a9560cfd8159 | c01d179e61102d3d8a3330ea18a1dc0b278bebd5 |
refs/heads/master | <file_sep>/*
Navicat MySQL Data Transfer
Source Server : localhost_3306
Source Server Version : 50711
Source Host : localhost:3306
Source Database : lrfbeyond_demo
Target Server Type : MYSQL
Target Server Version : 50711
File Encoding : 65001
Date: 2016-10-31 12:20:21
... | c8881ccb3049f7a054e8a606ea09b0a830ea8c8f | [
"Java",
"SQL",
"Markdown",
"INI"
] | 5 | SQL | TangXW777/Paging | 04d6fa42455f1951ca2a630584997852f3613eaa | a8f8258faea01a5c3bec540dfff2cfd795e558a3 |
refs/heads/master | <repo_name>darkprogrammer/AllProjects_Code<file_sep>/KnollTextiles_source 2/TextTIlesApp/Config.h
//
// Config.h
// KnollTextiles
//
// Created by <NAME> on 1/19/14.
// Copyright (c) 2014 BMAC infotech. All rights reserved.
//
#ifndef KnollTextiles_Config_h
#define KnollTextiles_Config_h
//#define FlickrAPIKey @... | d380e6f70bc342986404284de7887df2e37206f1 | [
"C"
] | 2 | C | darkprogrammer/AllProjects_Code | 734c5fb0ab204b83f66f759c1858771a5f462f08 | 59239cd3bd9a8ce38a883ff6f7e9a902331bb1c0 |
refs/heads/master | <repo_name>sandianshiduofen/Szwechat<file_sep>/Szwechat/line.md
login
/login/login_tel.html 注册验证电话
/login/login_addr.html 注册填写基本信息
/login/login_ok.html 注册成功
order
/order/self_help_order.html 自助下单
/order/order_succeed.html 运单提交成功
/order/send_out.html 发货记录
/order/receive.html 收货记录
/order/branch_info.html 网点详细信息... | d9c5491cedc7eecf6b3dfe146fe173eb13891e80 | [
"Markdown",
"JavaScript"
] | 7 | Markdown | sandianshiduofen/Szwechat | a15d8a2fac158cad06bce1baba9d89cba0000f9e | ed5bbcc9a718fb26f4472aba948fdf79268fa81b |
refs/heads/main | <file_sep># cs33
UCLA CS33 Fall 2019 Nowatzki
<file_sep>/* This function marks the start of the farm */
int start_farm()
{
return 1;
}
void setval_272(unsigned *p)
{
*p = 2462550344U;
}
void setval_192(unsigned *p)
{
*p = 3281293400U;
}
unsigned addval_305(unsigned x)
{
return x + 1481211249U;
}
voi... | 259812d697926cc5d4ca97b71f46f0a20a4b591c | [
"Markdown",
"C"
] | 2 | Markdown | mvttchan/cs33 | caa798ba0a908f37cbc23cae6d2aa099f7b47164 | b47c83fa801c5b202e6464d255e5d3e198c795ef |
refs/heads/master | <repo_name>chunkey711/comfort<file_sep>/app/initialize.js
import $ from "jquery"
import swal from 'sweetalert2'
let result = '';
function addValueToString (string, value) {
return value + ', ' + string
}
function removeValueFromString (string, value) {
return string.replace(value + ',', '')
}
$(document).ready((... | 14c2a74817bd6eaf505e3d4bb56526eda42fe4d7 | [
"JavaScript"
] | 1 | JavaScript | chunkey711/comfort | feaafd4f1d648b2eebd2c743bad494869f07ff78 | c4ba05ac8e66afa195f60480c02e43bc2ecf1cd3 |
refs/heads/master | <file_sep>/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.3/userguide/tutorial_java_projects.html
*/
b... | 6feb4433f9d7d32b2ec82aedbb0e685bf45e00f5 | [
"Markdown",
"Java",
"Gradle"
] | 4 | Gradle | Rahul-Kaura/AutoRoutine | e144d7d1849c70b2d330008d4d921dec71ee446c | a47fbad910e2acfadaa1f210716ad6b44933c041 |
refs/heads/master | <file_sep>$(window).on('load', function() {
$('.flickity--slider').each(function() {
var options = {
contain: true,
freeScroll: false,
adaptiveHeight: false,
autoPlay: true
};
if ($(this).hasClass('justify-content-start')) {
options.cellAlign = 'left';
} else if ($(this).hasClass('justify-con... | 66fcd6db3ffbb724fbc73b3aa39c5de20f6b2ebe | [
"JavaScript"
] | 1 | JavaScript | michalbialkowski/kdmc | 3065e60b7ab4f00d37ca0992dbe436bafa23fb16 | b4a4cef0d20e2c1456b624203baa9987c3d760c3 |
refs/heads/master | <file_sep>var StationNetwork = require('../lib/station-network');
var sn = new StationNetwork();
setTimeout(function() {
var path = sn.shortestPathBetween("0", "70");
console.log(path);
process.exit(0);
}, 5000);<file_sep>var Graph = require('../lib/graph');
var Vertex = require('../lib/vertex');
var graph = new Gr... | 48a248856994bfe52f6702fd8323de028989b4b4 | [
"JavaScript"
] | 19 | JavaScript | renansdias/app-metro-server | d202b5d9a53a452b9214c8fdfb722e5ba4dd46f7 | 21f694e3009a9d2f8e59a375bfa49a813a48f786 |
refs/heads/master | <repo_name>witcxc/funnycode<file_sep>/go/crawl/a.go
package main
import (
"fmt"
"strconv"
"sync"
)
func main() {
var wg sync.WaitGroup
for i := 0; i < 50; i++ {
wg.Add(1)
go func(si int) {
defer wg.Done()
t := strconv.Itoa(si)
for i := 0; i < 90; i++ {
t += strconv.Itoa(si)
}
fmt.Printf(... | 9b769a18840dbf71f06920fd8b1e0c39c10bc2e9 | [
"C",
"Go",
"C++",
"Shell"
] | 15 | Go | witcxc/funnycode | d9bdc43e1e5c54de0566d88726bf326e7b59daed | a71613e19e11bf33437a5c88fc25e03d885daba4 |
refs/heads/master | <file_sep>import type { LoaderContext } from "webpack";
export interface PluginContext {
setOutputCSS?: (css: string) => void
}
export interface ExtendedLoaderContext<T = any> extends LoaderContext<T>, PluginContext { }<file_sep>import chai from 'chai'
import sinonChai from 'sinon-chai'
import sinon from 'sinon'
im... | 1b64782b646a25ce83f94123889fd268d6f16530 | [
"Markdown",
"TypeScript",
"JavaScript",
"JSON with Comments"
] | 33 | TypeScript | tzachbon/css-webpack-plugin-example | 34d7b496e58ed524d1940fd1e350e6ef24e21af7 | 188e8903631e0f1b2a6e5e1efe549b2297aaa21f |
refs/heads/master | <file_sep># ase-assignment2
To run all tests, use `mvn verify` in the `endpoint` folder. To run the application, use `mvn thorntail:run`.
To regenerate pact file, use `mvn verify` in the `endpoint-client` folder.
To package as uber jar, use `mvn clean install package` in `endpoint` folder (+ `verify` to run pact tes... | 1e4f5d288a73147042e4820bada5806fb543374d | [
"Markdown",
"Java",
"SQL"
] | 6 | Markdown | vinbush/ase-assignment2 | a4c3686860600321d95abd8ea128d9cb5022a114 | 8869186597b6a84075354201e207addc07b03427 |
refs/heads/main | <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 modeli;
import domen.Plesac;
import java.util.List;
import javax.swing.table.AbstractTableModel;
/**
*... | 3597132406930632e366d4e0c6112720805b0a8b | [
"Markdown",
"Java"
] | 4 | Java | vasicnada/PlesniKlub | a51f6c0fb96f3e97617c8eef5b8de235ad6427fe | 0e4084f37a8f9aa9291dc19f74d7b1592bb5803f |
refs/heads/master | <file_sep>// The MIT License (MIT)
//
// Copyright (c) 2016, 2017 <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 without limitation the rights
... | f5e6f77e6f7246f57e12743f4f8acc74fa2e7183 | [
"C",
"Makefile"
] | 2 | C | VijitSingh97/Maverick-Shell | b6d5bb5d0e367fddbf8e2917ffa918b8462688b9 | 54954ca4f24ef10ec1597fa92894dad75800884b |
refs/heads/main | <file_sep>import React from 'react';
import styled from 'styled-components';
import { Section } from '../components';
import { THEME } from '../config';
import GeneralLayout from '../layouts/general';
import '../styles/index.css';
/**
尺寸定义全部使用 EM
相对于 BlogContentArea 设置的 FontSize
*/
// https://github.com/markdownc... | 537b5ad4ee5cd0821e0876559918f643aef0924b | [
"JavaScript",
"Markdown"
] | 22 | JavaScript | we-ready/blog | f750ca0e871d52149ea4eb939fdbaae2bf29f3d0 | 494ef55a0c94c94451e807599f731e7a024e7672 |
refs/heads/master | <file_sep>import pandas as pd
import numpy as np
from numpy import inf
from rdkit import Chem
from rdkit.Chem.Draw import IPythonConsole
import PYTHON.chemutils as cu
import PYTHON.mol_tree as mt
import PYTHON.chemfun as cf
from rdkit.Chem import Draw
from rdkit.Chem import AllChem
from rdkit.Chem import Descriptors
fr... | e097afde1de097cb983f18ce7c69d9fbd8a76791 | [
"Markdown",
"Python"
] | 6 | Python | arnabmukho/MSDE_Sosso_alpha | 3bb996436e0d6b10ac6b4f0289ae1871a57ef20b | 8acc9a42ba8e19ab009f275f9a9f4ab7b1513ecd |
refs/heads/master | <repo_name>Baranax/Python-Practice<file_sep>/notes.py
"""
Name :<NAME>
Title :index.py
Version :1.0.1
Copyright :ALL RIGHTS RESERVED
Description:Main Python module for project
"""
# function definitions
def user_list():
print('--Main menu--')
print('"load" - opens a previous stack (if applicab... | 46a2bb9d79ff9c07b8831bfbb45a2dba2b59e821 | [
"Markdown",
"Python"
] | 5 | Python | Baranax/Python-Practice | e7d03415d1ab0ebfc86d1bc5b7ef32c9d4621ed1 | dc55b448ab1104a43ce6befc2940a9d659e2ff9d |
refs/heads/master | <repo_name>pf2019g4/utn-simulador-ui<file_sep>/src/app/premios-detail/premios-detail.component.ts
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { EscenariosService } from '../escenarios.service';
import { MessagesService } from '../messages.service';
import ... | 077aef0a2a72045b231e71867ca699b2fc0602e4 | [
"Markdown",
"TypeScript",
"HTML"
] | 51 | TypeScript | pf2019g4/utn-simulador-ui | 3e8b3b23cf17c45a57bab40a89694421fdc5c100 | 466c6c63df5bfc4e15d062b54b084695bbc24373 |
refs/heads/master | <file_sep>Test::Unit::TestCase.fixture_path = File.expand_path(File.dirname(__FILE__)) + "/fixtures/"
$LOAD_PATH.unshift(Test::Unit::TestCase.fixture_path)
Fixtures.create_fixtures(Test::Unit::TestCase.fixture_path, %w(countries languages translations).collect{|table_name| "globalize_#{table_name}"})
class Test::Unit... | 34a740e4efe651b5eabca84d3666ee8753a29832 | [
"Ruby"
] | 1 | Ruby | HaFrancisca/click-to-globalize | fda5c0d121f90e48dbbe2380bfdfb66ede847117 | bb5176c0a0a9d8760a1546692d92170b7f27468f |
refs/heads/master | <file_sep>import pyautogui as pg
import time
pg.hotkey ("winleft","ctrl","d")
pg.hotkey ("winleft")
pg.typewrite ("chrome\n",.1)
pg.hotkey ("winleft", "up")
pg.typewrite ("netflix.com\n", .5)
time.sleep(2)
pg.hotkey ('tab')
pg.hotkey ('tab')
pg.hotkey ("enter")
time.sleep (1)
pg.hotkey ("tab")
pg.typewrite... | a3cd868c30164cd815ad61fad154bb6a573d512c | [
"Markdown",
"Python"
] | 11 | Python | LiljaK/pyautogui | 62b82582aad8ea833e4577277074de50b972ca4b | 6233b1141707862a448c507dd551b5309c5e1c31 |
refs/heads/master | <repo_name>xiaochuan1719/vue-learning<file_sep>/simple-chapter/chapter01/index.js
// 1. 创建一个 Vue 对象
const vm = new Vue({
el: '#main',
data: {
message: 'Hello, Vue!'
}
});
vm.message = 'Hello, World !!';<file_sep>/simple-chapter/chapter04/index01.js
const vm = new Vue({
el: '#main',
data: {
... | 4aac6b8a7a5efd88df621496dc9a94e1b1147b99 | [
"JavaScript",
"Markdown"
] | 23 | JavaScript | xiaochuan1719/vue-learning | 037169656f160e079c07a1c24333cf854a27baa0 | e685ca9a6c126b5029fac6abb0771bf42f4f4e22 |
refs/heads/master | <file_sep>import { setDefaultTimeout, runOnce } from 'bocha/node.mjs';
import { URL } from 'url';
let __dirname = new URL('.', import.meta.url).pathname;
setDefaultTimeout(3000);
runOnce(__dirname, {
fileSuffix: '.tests.js'
});<file_sep># smartdb-rediscacheprovider
A Redis cache for [smartdb](https://github.com... | 6cbca6e29a04dab13366c8b8f52c7b834e052b60 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | arnesten/smartdb-rediscacheprovider | fe2e6f64f8a5045808349cdeda965d759227cd2a | 644936bb9e07aac3efda3cf7dbde72fee7dc3bf2 |
refs/heads/master | <repo_name>kinwahlai/xcbeautify<file_sep>/Sources/xcbeautify/Version.swift
let version = "0.8.0"
<file_sep>/Sources/xcbeautify/root.swift
import Guaka
import XcbeautifyLib
var rootCommand = Command(
usage: "xcbeautify",
configuration: configuration,
run: execute
)
private func configuration(command: Comma... | 767dc7d119a20f601758b8b287ae753ad4bdb636 | [
"Swift"
] | 2 | Swift | kinwahlai/xcbeautify | 8b9efca24694e879847fa639280a91ea0ff988e0 | 02278065b89db846e454574fadd148110214f492 |
refs/heads/master | <repo_name>NguyenVanLamCNTT/Clone-Trello-Nodejs<file_sep>/server/controllers/users.js
const Users = require('../models/users');
const Accounts = require('../models/accounts');
module.exports.findUser = async function (req, res) {
try {
const username = req.params.username;
const account = await Ac... | f1329ad56f5011ac3b4a8692a81b78abf0faedbe | [
"JavaScript"
] | 8 | JavaScript | NguyenVanLamCNTT/Clone-Trello-Nodejs | 5bcadf9554d1e0340f12fa18a2334ea0bb076136 | 4bc19c376c2bf5c7e277d0238f52a522bdd27ae2 |
refs/heads/master | <repo_name>phantom1996/SOL-India-Website<file_sep>/js/whysolar.js
function auditFn(){
document.getElementById("audit").style.visibility="visible";
document.getElementById("audit").style.display="inline";
document.getElementById("design").style.display="none";
docu... | 8a7b07cd22eb248830f23d6f8b8f5747aead50e1 | [
"JavaScript"
] | 1 | JavaScript | phantom1996/SOL-India-Website | 507dee587253719e33a81558bd54ff1df544d216 | 0ff09da7db7c66338b6034cd9b2d4b435d459e1e |
refs/heads/master | <file_sep>import requests as rq
import pandas as pd
## Dados sobre quedas de meteoritos ##
jsondata = rq.get('https://data.nasa.gov/resource/y77d-th95.json').json()
print(jsondata)
df = pd.DataFrame(jsondata)
df.mass[1]
df.mass = pd.to_numeric(df.mass)
df.mass[1]
type(df.mass[0])<file_sep>#import os
#os.chdir('C:/Us... | 0e07376a530389605c88dad8ed03a361637a5f54 | [
"Markdown",
"Python"
] | 10 | Python | victoraccete/data_science_projects | 42b7e8758d7e4fa04d4675d73eb041274a030662 | 606fc232f2264d1448fd70e6c9983081dccacd5e |
refs/heads/master | <repo_name>velaraptor/nba_mvp_metric<file_sep>/README.md
NBA MVP Metric
==============
By <NAME> and <NAME>
Introduction
===============
At the end of each season, the National Basketball Association designates the most valuable player
(MVP) based on a voting system whereby broadcasters and journalists rank the five be... | 586ca91e5a6cd08ce5c19666cba8bce736776f4e | [
"Markdown",
"R"
] | 3 | Markdown | velaraptor/nba_mvp_metric | c012efa934f9287157d43c28ab7ce23426968007 | ba5d4eb79e977d725a6539e431b306e6f3f913c2 |
refs/heads/master | <repo_name>amoolagundla/OnlineRestaurent<file_sep>/src/pages/login/login.ts
import { Platform} from 'ionic-angular';
import {Component} from '@angular/core';
import {NavController} from 'ionic-angular';
import {HomePage} from "../home/home";
import {AuthenticationService} from "../../services/login-service";
import {Va... | ef043be3318e66c7aef0e472944a3c05e55e8e70 | [
"TypeScript"
] | 1 | TypeScript | amoolagundla/OnlineRestaurent | 0b73694ac25c99d2c8df8177743ff0fd5048accf | 6020cfb7ee42b6ccde285f56ffcd8e39ef73d178 |
refs/heads/main | <repo_name>moomenabid/ACP_CAH_Clustering<file_sep>/Projet_Moomen_ABID.R
load("C:/Users/USER/Desktop/Projects/Datamining/poissons.rda")
poissons<-data
library('GGally')
library('ggplot2')
ggpairs(poissons[,5:10])
library(FactoMineR)
res <-PCA(poissons,quanti.sup=c(3:4),quali.sup=c(1:2))#,graph=FALSE)
round(res$... | abd3518e6d0fdd08f2bdd142cad67975ded05688 | [
"Markdown",
"R"
] | 2 | R | moomenabid/ACP_CAH_Clustering | d325f68c92fe6a7ddfe560db5f83bdbe3e4c0fbe | 0dfad9824e96163c05a4f2879e26c69813b8e298 |
refs/heads/master | <file_sep># Carded
Cartões digitais interativos.
Quem puder ajudar no código seja bem-vindo para criar issues!
<file_sep>/* Variáveis para substituir título do link*/
var instagram = document.querySelector("#instagram")
var facebook = document.querySelector("#facebook")
var whatsapp = document.querySelector("#whatsa... | 848d8a379f11cd825595b549ed715ed80f9a37cf | [
"Markdown",
"JavaScript"
] | 2 | Markdown | PedroRicardoAlmeida/Carded | ea17bc5f8ad74571cc826acb292a9b313b5067d3 | 8c52859b9e2702b991e8246a8ad3e2b0389a598d |
refs/heads/main | <file_sep>import pandas as pd
import numpy as np
import csv
import random
random.seed(10)
import tqdm
def balanceClass():
for year in tqdm.tqdm(["2011","2012","2013","2014","2015"]):
df = pd.read_csv("../Data/players_"+year+".csv")
df1 = pd.read_csv("../Data/team_"+year+".csv")
assert len(df.index) == len(df1.... | c7c9cf0f3f328d34190e3ba5d8108f07e0fa830c | [
"Markdown",
"Python"
] | 9 | Python | SuhasShanbhogue/Sport-Prediction | ed9e1d693be99bfe6bda665866fe2aba97569a0f | 63f328b04f9d3c673cd5158a97b27910844327c7 |
refs/heads/master | <repo_name>arif034/Chat-Application<file_sep>/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>Chat</groupId... | 599b2c919d6f614dfc5cf3ddbbfff37fc583a4a1 | [
"Java",
"SQL",
"Maven POM"
] | 5 | Maven POM | arif034/Chat-Application | c69969bb652257552f0d7a3fd1441ee7a280940e | 2b7f313ff424a19ab3738d135cad1d4516f0d0fa |
refs/heads/master | <file_sep>class RenameSongsGenreId < ActiveRecord::Migration
def change
change_table :songs do |t|
t.rename :genre_id, :genre_ids
end
end
end
| 453cac489e7ab4fa8636ebfc4d7ae5490570424c | [
"Ruby"
] | 1 | Ruby | aprietof/playlister-sinatra-v-000 | 432b8ba76cc3ee9214ca0650d6547a4bbf5a5963 | 880ccba4ebffd4583b663b870fd1f19fe3dad676 |
refs/heads/master | <repo_name>ayodvr/Laravel-POS-application<file_sep>/app/Http/Controllers/SalesController.php
<?php
namespace App\Http\Controllers;
use App\User;
use DB;
use App\Customers;
use App\Product;
use App\Sale;
use App\SaleItem;
use App\SalePayment;
use App\SaleTemp;
use App\Inventory;
use Illuminate\Http\Request;
use Illumi... | dd9bd40c3e0fc1139399431e122f533df46482cf | [
"JavaScript",
"Markdown",
"PHP"
] | 26 | PHP | ayodvr/Laravel-POS-application | 8b231d798cc5d5bd6e0d313e527bdbff2bf2a67c | be2e9efb94130840fffd6d7b593a2ad4e7efe2e5 |
refs/heads/master | <file_sep>package io.github.devas;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
class MessengerApp {
private boolean isRunning = true;
private Sender sender;
private Receiver receiver;
private Configuration conf = new Configura... | fa812c0bd4e73eff9345af7435c395708569d4a8 | [
"Java"
] | 2 | Java | Devas/Messenger | 6b1aa6dba5d00fa27e0e2b30f27ae6754dd1c9e6 | 82b59133d83478d1f8286d63531338ddfae5a7e5 |
refs/heads/master | <repo_name>mama-byte/rails-longest-word-game<file_sep>/app/controllers/games_controller.rb
require 'json'
require 'open-uri'
class GamesController < ApplicationController
def new
@time = Time.new
@letters = []
('a'..'z').to_a.sample(10).each do |letter|
@letters << letter
end
@letters
end... | 7dc6da62a3e8cd2911b0c88e2031614502c8a02e | [
"Ruby"
] | 1 | Ruby | mama-byte/rails-longest-word-game | d0b839c42c40b5cac4d29e1c133cbfa3b0e92b74 | 882558a2a1c70955fcd04dc30847625000fbecce |
refs/heads/master | <repo_name>rcsarv/rockmongo-docker<file_sep>/www/default/vendor/alcaeus/mongo-php-adapter/tests/Alcaeus/MongoDbAdapter/Mongo/MongoClientTest.php
<?php
namespace Alcaeus\MongoDbAdapter\Tests\Mongo;
use Alcaeus\MongoDbAdapter\Tests\TestCase;
/**
* @author alcaeus <<EMAIL>>
*/
class MongoClientTest extends TestCase
{... | cd1a0a956b9a73f9ee252c46bcbc58d048fbc7c5 | [
"Text",
"PHP"
] | 2 | PHP | rcsarv/rockmongo-docker | 95bb64792b819f06c5ad1a618ddb6da03743e7c7 | b2cc4065a159aaf50998d2c292a7774be52145f6 |
refs/heads/main | <file_sep># NativeScript JavaScript Template
This template creates a "Hello, world" NativeScript app using JavaScript.
This is the default template, so you can create a new app that uses it with the `--template` option:
```
ns create my-hello-world-js --template @nativescript/template-hello-world
```
Or without it:... | 713261adcc143f409dcb0a1d63ad8b8b4fb2dc3b | [
"Markdown",
"TypeScript",
"JavaScript"
] | 80 | Markdown | NativeScript/nativescript-app-templates | a5e8e3b8d7272f729d8d4c648815f4038054c703 | cb0dce16eff0dc2e2909b24a7d11af646f77183d |
refs/heads/master | <repo_name>geekmi/NSwag<file_sep>/src/NSwagStudio/ViewModels/ClientGenerators/TypeScriptCodeGeneratorViewModel.cs
//-----------------------------------------------------------------------
// <copyright file="TypeScriptCodeGeneratorViewModel.cs" company="NSwag">
// Copyright (c) <NAME>. All rights reserved.
// </co... | 5a1c4d2c431e918328e86ba06f02120c06905fc2 | [
"C#"
] | 8 | C# | geekmi/NSwag | 7b48e199eb27563a584cdce184d68459641f30e0 | fc5cb330521a88c4467b2b6f3f70bdb09887325d |
refs/heads/master | <repo_name>TheUltiOne/AFK<file_sep>/AFK/Handlers/AFKCommand.cs
using CommandSystem;
using Exiled.API.Features;
using RemoteAdmin;
using System;
using System.Linq;
namespace AFK
{
[CommandHandler(typeof(ClientCommandHandler))]
public class AFKCommand : ICommand
{
public string Command => "afk";
... | 415df6579d2071859ccd0e730371f8fc7a2bc80d | [
"Markdown",
"C#"
] | 6 | C# | TheUltiOne/AFK | 5ca2ba0229ed7a371993aec7659832dd84c069a7 | a986d7a7f6c93cdcc254783bfd9cb84b3065e7fe |
refs/heads/master | <file_sep>export { default as Button } from "./Button/index.vue";
export { default as H1 } from "./H1/index.vue";<file_sep>import { storiesOf } from '@storybook/html';
storiesOf('Views|Toolbar with list', module)
.add('Base', () => (`
<div class="panel pa-0">
<div class="toolbar toolbar--border py-3">
... | 4c83c6d9756581b73a341bd2c4082fdc2f9bb249 | [
"JavaScript",
"TypeScript"
] | 14 | TypeScript | mwildeboer/design-system | 941cb47fabb77d5348ec793b0266ea328e51ebd2 | d6768d7f176134126c6ee0e90a7a7690100d41bb |
refs/heads/master | <file_sep>FROM postgres:latest
LABEL maintainer="<NAME>"
<file_sep># Generated by Django 3.0.7 on 2021-01-13 16:54
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('chronicles_backend', '0001_initial'),
]
operations = [
m... | d9aa9e7f9e67b378c65f3e5dc4bf884614edf78e | [
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 17 | Dockerfile | aitalshashank2/Chronicles | 82204bc75bf4afbc4f97e78e5636e6d88b3ae7bc | 07bc938c911b39dd5e4f33ebaa35fca356e1935c |
refs/heads/master | <file_sep>#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://blog.linuxeye.cn
#
# Notes: OneinStack for CentOS/RadHat 6+ Debian 6+ and Ubuntu 12+
#
# Project home page:
# https://oneinstack.com
# https://github.com/lj2007331/oneinstack
# check MySQL dir
[ -d "$mysql_install_dir/support-f... | 69d6967bc7e4b6c62b1221e8caa4af17a1cca98a | [
"Shell"
] | 2 | Shell | apeny/lnmp | eba29c4c2dcb92060bcaf3b57fbf0d1b8b29f6b9 | 1a5db31f70f9f90fc9e1d4a2d129cd169f10b703 |
refs/heads/master | <repo_name>nguyenthaison/bookinghotel<file_sep>/storage/framework/views/dcdb584f0ffaa671d40225355e752bd7c7d3b130.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, ... | 9ff3317291b27df0ffa2a47d05c9487f11d2fb51 | [
"PHP"
] | 16 | PHP | nguyenthaison/bookinghotel | 789fe8cbba70ad8f001b6dc50ebd711f74c3e4f6 | eecf2f75f680b944fe74e25667a72e55ab46e826 |
refs/heads/master | <file_sep>import torch
from torch.autograd import Variable
from parameterized import parameterized
from embzip.data import load_embeddings_txt, make_vocab
from embzip.model import gumbel_softmax, EmbeddingCompressor
from embzip.data import load_embeddings_txt, make_vocab, load_hdf5, save_hdf5
from embzip.model import... | bf445793d18e2328eb8725738921984fbe783240 | [
"Python",
"Text"
] | 5 | Python | ReiiSky/embzip | 144d0674e0fc174fa14d58fa8125d548ba6fca25 | 5945fa06bbeaddbc00bca88421e233bfe2671525 |
refs/heads/master | <file_sep>import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { environment } from 'src/environments/environment';
import { PersonSummary } from './personSummary.model';
@Injectable({
providedIn: 'root'
})
export class CommonService {
personalDetails: any;
profe... | 45f63405e21e0adfd248cae01703f78f93f4ae20 | [
"TypeScript"
] | 2 | TypeScript | Mahesh3677/Angular-Lazy-Loading-main | 021bfc42f32b06a23a9ccf856947ad32253d00fa | bb0e0dd69953c99629e72e5bb2661b04094a43bd |
refs/heads/master | <repo_name>amusements/great_shows<file_sep>/py_03_for_else/README.md
[參考網站](https://docs.python.org/3/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops)
1. Track & pull branch feature/for_else
2. Copy sample_file.py under the folder py_03_for_else and named as [yourname]_re_rule.py
3. F... | 478f0d052eda8bb96bd44021b999ecc2c82ad200 | [
"Markdown",
"Python"
] | 31 | Markdown | amusements/great_shows | 39f83e47028afe2f739b1c182cfc30dd9a3a1d7b | 57fbd4fa4a6ec3d5bedc29ec784f2242515a910a |
refs/heads/master | <file_sep>#!/bin/bash
source /opt/app-root/etc/generate_container_user
set -e
# User settable environment
DOTNET_CONFIGURATION="${DOTNET_CONFIGURATION:-Release}"
DOTNET_STARTUP_PROJECT="${DOTNET_STARTUP_PROJECT:-.}"
# Private environment
DOTNET_FRAMEWORK="netcoreapp1.0"
APP_DLL_NAME="$(basename "$(realpath "${DOTNET... | 4393ae83c6f3fa555b0671be2d55a9956a58bead | [
"Shell"
] | 1 | Shell | rokkanen/s2i-dotnetcore | 84a69e75a02e2de88544f3b12e7dc11784d85fc3 | e1e7a50e89776857a7e49990052e78888a7d06d5 |
refs/heads/master | <file_sep>
export const CartReducer =(state,action) =>{
const{shoppingCart,totalPrice,qty}=state;
let product;
let index;
let updatePrice;
let updateQty;
switch(action.type){
case 'ADD_TO_CART':
const chack=shoppingCart.find(product => product.id === action.id)
... | 82c414084a5df236281c4335fbaadef33f023024 | [
"JavaScript"
] | 5 | JavaScript | kapilmatre9893/Myshoes | 1392501a36b82af8e9bc709e0e1747483cd8b0d8 | 6b66890fc2abd9e5b647e23963206a145a0adb9a |
refs/heads/master | <file_sep><?php
namespace RegistrashunSystem\Http\Controllers\Admin;
use Illuminate\Http\Request;
use RegistrashunSystem\Http\Controllers\Controller;
use RegistrashunSystem\User;
use Illuminate\Support\Facades\Auth;
use RegistrashunSystem\Role;
use RealRashid\SweetAlert\Facades\Alert;
class UserController extends Co... | 600673380ddb31dbeadb60279e8966848a72477b | [
"PHP"
] | 2 | PHP | Arindo-Mudiare/laravel-5.8-user-registration-system- | db87ba780f6dd961d07ba6042dd97402272d064c | 397ca1b90654e7091cee8b7eefe9d217c0d9ea0d |
refs/heads/master | <file_sep>#! /usr/bin/env python3
from __future__ import division
from __future__ import print_function
ls
import os, sys, inspect
cmd_subfolder = os.path.realpath(os.path.abspath(os.path.join(os.path.split(inspect.getfile(inspect.currentframe()))[0],"src")))
if cmd_subfolder not in sys.path:
sys.path.insert(0, cm... | f73503937eb61fd1a4ebf1211e48ebaf0164418a | [
"Python"
] | 8 | Python | LennardFranz/BT_LF | 4f80a3a18a6f49a663a5dab833c8293fc459601c | d38881b41cc8fdf05f3ffcd97d491b4ea405412c |
refs/heads/master | <file_sep>import logo from './logo.svg';
import s from './App.module.scss';
import card from './news_foto.jpg'
function App() {
return (
<div className={s.App}>
<div className={s.card}>
<h3 className={s.cardLabel}>Семантика в верстке</h3>
<div className={s.content}>
... | 0a3b80b7ae34e52a141551c2f1828d524daa52a9 | [
"JavaScript"
] | 1 | JavaScript | sinvorgena/TestTaskForColibri | 55332d0eb9127b88259710d5b3d8c205836aa6e6 | 9140513762f677f8bafebb3e1f8af2d365da001f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.