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 | <file_sep>package com.zylear.gobangai.core.robot;
import com.zylear.gobangai.bean.Point;
public interface GobangRobot {
String key();
Point think(int[][] tryChess, int gameDepth, int executeDepth, int calculateColor);
}
<file_sep>package com.zylear.gobangai.ui;
import javax.swing.*;
import java.awt.*;
imp... | 68a8d6a0f738466372b4ab11f02df842030eab03 | [
"Markdown",
"Java"
] | 15 | Java | zyLear/gobang-ai | 4f5671006972a5433c09f27c0feaed79299a06be | c07484e7bec75c1de91b0f01e8531b1bb6721cd9 |
refs/heads/master | <repo_name>pedromorgan/revel-www<file_sep>/app/controllers/utils.go
package controllers
import (
"bufio"
"fmt"
"os"
"os/exec"
//"//io/ioutil"
"html/template"
//"path/filepath"
"strings"
//"github.com/revel/revel"
"github.com/russross/blackfriday"
"gopkg.in/yaml.v2"
"github.com/pksunkara/pygments"
)
type... | cbcf1548dce37e406e97dae26f1ab349d1eb8516 | [
"Markdown",
"Python",
"Go"
] | 7 | Go | pedromorgan/revel-www | d848e8f9f1fdc21e0a3d2ce58e16aed51fac1e55 | 434e4499ac54405f74925fd77685f840393c1253 |
refs/heads/master | <file_sep>import java.awt.Graphics;
import java.util.ArrayList;
import java.util.ConcurrentModificationException;
public class Map {
private static Tile[][]map;
private final int nTiles = Data.getNumTiles();
private static int floor=-1;
private static ArrayList<Trap>traps=new ArrayList<>();
pri... | 644a64bbb42e9a6cbde7d56b92b4cec6661861aa | [
"Java"
] | 3 | Java | choltsclaw21/DungeonCrawler | f2330f0c2f85152740ecf234317b8b1e9a3ca37e | bea9fc8d15cffe93cacfec1fb85b377e778440c0 |
refs/heads/master | <repo_name>5l1v3r1/rec-music<file_sep>/src/requirements.txt
starlette<=0.13.6
uvicorn
fastapi
pydantic
python-multipart
scikit-learn
pandas<file_sep>/README.md
# rec-music
Music recommender deployed on heroku
## [Medium](https://medium.com/@sdamoosavi/deploy-music-recommender-on-heroku-e0dce3d924ef)
<file_sep>/src/D... | 81a8dd3aaba8cc949e6329a6a4fc103fb4160dee | [
"Markdown",
"Text",
"Dockerfile",
"Shell"
] | 4 | Text | 5l1v3r1/rec-music | 58c8ffc143141b895188b648a30fda89dc2f439b | 5061de51c50a8aca2450da8cd5899096fbf07179 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# coding: utf-8
# # Task #5: To explore Business Analytics
# Task
# Perform ‘Exploratory Data Analysis’ on the provided dataset ‘SampleSuperstore’ You are the business owner of the retail firm and want to see how your company is performing. You are interested in finding out the weak are... | 64d8935df555d3f2124a38daef742483dac7ef15 | [
"Markdown",
"Python"
] | 5 | Python | mukeshsablani3126/TSF-Internship-Task | aa5c2fc669b731879990b2bde99c44bbacb65661 | 3aac021dcdbd42703df635536ddbb841e34f3338 |
refs/heads/master | <file_sep>package facebook4j.examples.signin;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import java... | 74d3777ce7037eed2ee04ff32894db2650f09468 | [
"Java"
] | 7 | Java | sowmiyavelusamy/Facebook-Album-sort | 978494e444c78fe37ea7c3a32b724b459e5c15ad | 81703a596fa5d879b4e1cc39d94bfe826b08ee4d |
refs/heads/master | <repo_name>HiroshiKubo/RSSImagesCrawler<file_sep>/download_image_lib.rb
require 'open-uri'
require 'fastimage'
def downloadImage(url,path)
url = "http://"+url.to_s unless /http:\/\/|https:\/\// =~ url.to_s
url = URI.encode(url)
#puts "保存先を入力してください(fullPathがおすすめです)"
path = path.split("\n")[0]
path += "/" i... | bed64d9cf264b88dc58d5bd9aeb9940855f62cb6 | [
"Markdown",
"Ruby"
] | 3 | Ruby | HiroshiKubo/RSSImagesCrawler | 805f7dee1ea96fedb9f700d7dd807a85480f6161 | 1d1d9644c8e1615d96ed3c79a66a8817ac08b39c |
refs/heads/master | <file_sep> <div id="board">
<div class="page">
<div id="ui-global-0">
<div class="tiles tilemenu azure-left">
<?php echo $TILES_0; ?>
</div>
<div class="listmenu azure-right">
<?php echo $TILES_1; ?>
</div>
<div id="main-container" class="bands container azure-center">
<?php ec... | ef19c99637354d8c8f16090752462ba73d4fceb8 | [
"PHP"
] | 3 | PHP | angelsinghrahul/tprexecutive | 51c19797ca8131aa187ceffabc6f3a8e74799763 | 25229211df0ad9e065cf47373d702ad811a09c12 |
refs/heads/main | <file_sep>from kivy.app import App
from kivy.lang import Builder
from kivy.uix.screenmanager import ScreenManager, Screen
from kivy.uix.boxlayout import BoxLayout
from kivy.properties import ObjectProperty, StringProperty
from kivy.uix.widget import Widget
from kivy.storage.jsonstore import JsonStore
from kivy.uix.rec... | 4ae66faafc085bf4ed3640be9923e10b78e7de9c | [
"Python"
] | 1 | Python | stoichitescumaria/TrackYourFinance | ca630f08d54173c7f5fa8cefb7fd3dd808caa25c | 92c29857336d1312ba4c1b0d9a0bf45f668225df |
refs/heads/master | <file_sep>var audioOn = true;
function audioToggle(){
audioOn = !audioOn;
document.getElementById("soundOnText").innerHTML = audioOn? "on" : "off";
Howler.volume(audioOn? 1 : 0)
}
var audio_gameStart = new Howl({
src: ['src/audio/gameStart.mp3']
});
var audio_gameEnd = new Howl({
src: ['src/aud... | a94d332832e474448396d2af3aa53600f12fe99c | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | PetPumpkin/cow_town | c5d934236af259104358af4b3496e4c9339675e6 | a7a5c92d4d068b8184bbb137c0be18ba392dbd43 |
refs/heads/master | <file_sep>package com.keyno.keynospringsample;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class KeynoSpringSampleApplication {
public static void main(String[] args) {
SpringApplication.run(KeynoSpr... | 2bc1053131e3599f3bc871408c18501c3d0e949b | [
"YAML",
"Markdown",
"Gradle",
"Java",
"Dockerfile"
] | 8 | Java | keyno63/keyno-spring-sample | 049d68d3e53a21b58eb4daaa0db70f209d68df01 | 2e119838c45f9b9965887f8f62e1e1c81cd8c52b |
refs/heads/master | <repo_name>ZeroDuck/SSM02<file_sep>/src/main/java/com/zxj/pojo/Record.java
package com.zxj.pojo;
import java.math.BigDecimal;
import java.sql.Date;
import java.util.Objects;
public class Record {
private int rid;
private int userId;
private int bookId;
private Date borrowTime;
private Date return... | 5bee87655c416a3548550ea966718a7368d4dca6 | [
"Markdown",
"Java",
"INI"
] | 8 | Java | ZeroDuck/SSM02 | 21b129ca4b18bf31c50ed7d0c9ec9cd75e1827a7 | 29180722a02030b9ee4fa2bef3d4c5adb47650b9 |
refs/heads/master | <file_sep>#include <stdint.h>
#include <stdio.h>
#include <immintrin.h>
#include <math.h>
#include "parameters.h"
#include <stdlib.h>
#include <string.h>
#include "ntt.h"
#include <omp.h>
#include <time.h>
#define TESTS 100000
uint64_t start, dif, finish, mintime = 0xffffffff, maxtime = 0;
extern const uint32_t ne... | 80f352f3907c454e200a8778f7fd2989d553d86d | [
"Markdown",
"C",
"Makefile"
] | 10 | C | KandiyIIT/dilithium_ntt_avx512 | d7e40208034bad0da130c9b44d7e8e4f32a06f24 | 038ae370d8ef7c72568c3af60c3502178bb91089 |
refs/heads/master | <repo_name>alexander-kuznetsov/usersCrud<file_sep>/src/main/java/Test.java
package main.java; /**
* Created by Suntey on 13.02.2017.
*/
import main.java.model.User;
import main.java.service.UserService;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import java.sql.Timestamp;
import jav... | a818f7a66fc7bdeebf7e6ea41018206d1deee64a | [
"Markdown",
"Java",
"SQL"
] | 5 | Java | alexander-kuznetsov/usersCrud | 3bb5b725d1bebe7985dd759ea12e15a5d84f413e | 6895f5ad334529b71d1c5fab72321a483b715a27 |
refs/heads/master | <repo_name>aaronslin/CBMM_shuffle_pixels<file_sep>/disp_slurmout.sh
for file in "$@"
do
echo -n $file" ";
cat $file | grep "Iter" | tail -n 1;
done
<file_sep>/filename_paths.py
import os
ROOT = {
True: "/home/aaronlin",
False: "."
}
def get_shuffle_maps_path(isOM):
return os.path.join(ROOT[isOM], "shuffle_m... | 6f5dbb5769d3ef9283f8a1f69fa4440a290826af | [
"Python",
"Shell"
] | 9 | Shell | aaronslin/CBMM_shuffle_pixels | 3e68c7effe790834100d3b0ab74ee370d3cc1d50 | 4f919f7a7d1a7a8964542a0c30b87088763b3fb5 |
refs/heads/master | <file_sep>'use strict';
angular.module('leagueItemSetsApp')
.controller('ChampionsCtrl', function ($scope, RiotService, SmartItemsService) {
RiotService.PatchVersions.Get().then(function (patchVersion) {
var latestPatch = patchVersion.data[0];
$scope.dataDragonURL = '//ddragon.leag... | 9aff91c0b8e9ab7b6adbb8828e166257cf9ef41c | [
"JavaScript",
"Python",
"HTML",
"Markdown"
] | 9 | JavaScript | kennyw728/league-item-sets | 945850468c9f8944f75f7b879848d4d44a5cf602 | d3fca46385046b92fee3d6d923381ad0d74dd7ce |
refs/heads/master | <repo_name>rhodgkins/RDHCommonCrypto<file_sep>/RDHCommonCrypto/Random.swift
//
// Random.swift
// RDHCommonCrypto
//
// Created by <NAME> on 21/09/2014.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
import Foundation
public func secureRandomData(withLength: Int) -> NSData? {
let length = withLeng... | ad8ede16c1cc842c0a260eb810d2df87da412ba1 | [
"Swift",
"C",
"Markdown"
] | 10 | Swift | rhodgkins/RDHCommonCrypto | 1d20ac90a3f7e5090e56154097ad454d17e4472b | 8c4690e459bcf9c77d25050a7a443753bceb85c6 |
refs/heads/master | <repo_name>MusytasyfaSyauqonyD/PRPL2017-E-1600018210-Musytasyfa-Syauqony-D<file_sep>/README.md
# PRPL2017-E-1600018210-Musytasyfa-Syauqony-D
Perangkat Rekayasa Web Resto
<file_sep>/search_barang.php
<?php
$host = "localhost";
$username = "root";
$password = "";
$db_name = "kasir";
?>
<!DOCTYPE html PUBLIC ... | d1ad7a334865ca2bf0917f43ffc2a174b7cb9fac | [
"Markdown",
"PHP"
] | 12 | Markdown | MusytasyfaSyauqonyD/PRPL2017-E-1600018210-Musytasyfa-Syauqony-D | 0bbfdfb74070de0f18784fe2cf46088f3d3fdb7d | 1953254191a718b8433bc16b2b0c218d8c606695 |
refs/heads/master | <file_sep>$(document).on('click', '.dropdown-toggle', function () {
//console.log("Selected Option:"+$(this).text());
var el = document.getElementById('age');
var h = el.getElementsByTagName("h4");
var old = "年號:";
h[1].innerHTML = old + $(this).text();
});
$(document).on('click', '.dropdown-menu l... | 8c91d8fa571ffd64a2b08d713ee21c2af084e294 | [
"JavaScript",
"PHP"
] | 2 | JavaScript | Merlin-chu/Digital_Humanity_final | ebbfc1889c43375a5978f8262c197178ece7ce0c | e63cadfac93515ed42fec36fbfe31be2dc049c54 |
refs/heads/master | <file_sep>class SlackNotifier
def initialize(username = "DovePong", icon_emoji = ":table_tennis_paddle_and_ball:")
@webhook_url = ENV["SLACK_WEBHOOK_URL"]
@username = username
@icon_emoji = icon_emoji
end
def send(text)
return unless @webhook_url
headers = { 'Content-Type' => 'application/js... | e1138d85b3553f31e8e399bb9099ff118fa28ddd | [
"Ruby"
] | 2 | Ruby | paloma-group/elovation | b1e5f6ef3c61cc50b9607a4d68a099f70fd604f7 | 09ef659a5c4f772309781ddb6de5ac222ee7ad95 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
"""
2D Controller Class to be used for the CARLA waypoint follower demo.
"""
import numpy as np
import cutils
class Controller2D(object):
def __init__(self, waypoints):
self.vars = cutils.CUtils()
self._current_x = 0
self... | b092caba1798666320691331551f53e78a192227 | [
"Markdown",
"Python"
] | 2 | Python | Rajdeep-Thakur/Self-Drive-controller | f256e627142a1aa52c4b4f31b1ca5fb232621195 | b60aaa52978fdc9d157447ae28fb38b911dfe8e7 |
refs/heads/main | <repo_name>gabrielromagnoli1987/intercorp_challange<file_sep>/src/main/java/com/example/intercorp/controllers/ClientController.java
package com.example.intercorp.controllers;
import com.example.intercorp.dto.ClientDetailDto;
import com.example.intercorp.dto.ClientDto;
import com.example.intercorp.dto.KpiClientsDto;
im... | 350640260c78f298ac21af4e93d3c0e634000d0f | [
"YAML",
"Markdown",
"INI",
"Java",
"Dockerfile"
] | 6 | Java | gabrielromagnoli1987/intercorp_challange | c126b292b9b0fd1ba782b58069874c2db9b49958 | 14528f4fd88a7693bd16c4a887036dc1dd185d8a |
refs/heads/master | <repo_name>Jase7/33bits<file_sep>/IgnoreThreads/README.MD
This is a simple script-plugin for the board http://33bits.gamestribune.com/foro/
I use the browser's localStorage function to allocate the threads
<file_sep>/limitarFirma/limitarFirma.php
<?php
if(!defined("IN_MYBB"))
{
die("Direct initialization of thi... | 4d494b2e701cf23a8c548bae5fa1717e215febd6 | [
"Markdown",
"PHP"
] | 3 | Markdown | Jase7/33bits | 4e622f336e59a981ffe3db54260f231b6324962e | c8282a7e0d293a6f86a8e67925e9cdc5d2bb3846 |
refs/heads/master | <file_sep>### Dataset
I used a PostgreSQL database.
The database structure can be found in `./database/schema.sql`. There's just one table with a couple of columns, which represents the ImageNet tree structure using MPTT. It's a pretty common algorithm for storing hierarchial data structures in a relational database,... | 50d2882bd179b09153411a14919aa98bd36b4c05 | [
"Markdown",
"SQL",
"JavaScript"
] | 3 | Markdown | green2k/pali-operam | 6de006a50d85e384d0855be40b9daf30b0aaaaad | 9f5bc9cc9b406bd074022e6a5848060363aca593 |
refs/heads/master | <repo_name>ProkhorZ/training<file_sep>/JavaScript/README.md
Between 2000 and 2002, I wrote a few scripts in unstandardized JavaScript as a hobby. **All the descriptions and comments are in Dutch.** These are standalone scripts that weren't integrated into the rest of my website.
* **kleurenkiezer.html** is a simple co... | 5304aec962708d447f3eabaa965ca691da6b52a8 | [
"Markdown",
"C",
"Python",
"C++"
] | 11 | Markdown | ProkhorZ/training | c0dfa728ede274e88f475fa34c5e11cd55d75d44 | 6a77eea5751f869993600cbcd3eacd304dad20b0 |
refs/heads/master | <file_sep>EDM proxy for infecting files on-the-fly
========================================
Offensive Proxy server
POC for infecting PE files, ZIP files, Office documents on the fly during a HTTP MitM.
For SSLstrip 2 you will need [dns2proxy-hsts](https://github.com/LeonardoNve/dns2proxy_hsts)
> TODO: pip ... | 06fd7a8a388ad31610b512a07b4c6e953774b778 | [
"Markdown",
"Python",
"Shell"
] | 14 | Markdown | zprian/edm | a05a985e839d233ffcd1aaf32d72d93c57eed429 | 77b1bd056ed5828ba7af56d211c8a47449a0a95b |
refs/heads/master | <repo_name>ivanz125/problem_24<file_sep>/24/Created.cpp
#include "stdafx.h"
#include "Created.h"
Created::Created(Grant* grant) : GrantState(grant) {}
std::string Created::getState(){
return "created";
}
bool Created::sendApplication(){
grant->setState(grant->stateWaiting);
std::cout << "Application sent\n";
ret... | bcd5e1b752d82c63b277ed44e354569e707fedbe | [
"C++"
] | 11 | C++ | ivanz125/problem_24 | 75a385205c8ca21e1fa68efd354d5b89de8fbd10 | 349d524c50ceb864fe081fbfca91833612f79ce8 |
refs/heads/master | <repo_name>laliczeljko/laliczeljko<file_sep>/js/main.js
// Initialize and add the map
function initMap() {
// Your location
const loc = { lat: 44.837673, lng: 20.416835 };
// Centered map on location
const map = new google.maps.Map(document.querySelector(".map"), {
zoom: 14,
center: loc
});
// The m... | 78824af363d3dcea31b92e320829e9ed74393aa2 | [
"JavaScript"
] | 1 | JavaScript | laliczeljko/laliczeljko | 5ee7eb3ea374c10161b971bd66cf120ace4ed5d7 | e868e068c810afb8c0b4197bfcea211d7666f336 |
refs/heads/master | <repo_name>AnuragKurumaddali/CalendarDemo<file_sep>/app/src/main/java/com/raj/calendardemo/MainActivity.java
package com.raj.calendardemo;
import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.util.Log;
import android.widget.Toas... | c8b51c61c09e1345a1b2dc8055c4b932723f656a | [
"Java"
] | 4 | Java | AnuragKurumaddali/CalendarDemo | 7fc4935cdd4158c7478e6a6a91f503945023f1b1 | 5c5a532f8ccbd8f765ae43664dd735893d6a7007 |
refs/heads/master | <file_sep>const mongoose = require('mongoose');
const vampireData = require('../populateVampires');
/************************************
Create Schema:
const vampire = {
name: '<NAME>',
hair_color: 'brown',
eye_color: 'brown',
dob: new Date(1971, 2, 13, 7, 47),
loves: ['cereal','marshmallows'],
location... | e367d31eed950807ca05daed0cdb6e234837fe81 | [
"JavaScript"
] | 1 | JavaScript | aprudhomme9/wdi-13-hw12-mongoose-vampires-hw | de861128eaf2b3bc06022acd98f1ec51d22d5c64 | 803606a67e8cca87697fe820ab2c11a5ced4a8d7 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
import re
import socket, xbmc, xbmcaddon
from StringIO import StringIO
import urllib2, gzip
# Merci à l'auteur de cette fonction
def unescape_callback(matches):
""" function docstring """
html_entities = \
{
'quot':'\"', 'amp':'&', 'apos':'\'', 'lt':'<',
... | fe2cf469a9522f72da803f15ddb19552c9bae69e | [
"Markdown",
"Python"
] | 4 | Python | service-paradis/plugin.tva.videos | 4101815beae2b371e2b4b0deba8d248070a84896 | 64196df42dfa9031338667f351652886e0484a5b |
refs/heads/master | <file_sep>#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
extern crate libc;
use libc::{c_int, c_uint, c_longlong};
#[derive(Debug)]
#[repr(C)]
pub struct katatsuki_Track {
pub FileType: c_uint,
pub Title: *const u16,
pub Artist: *const u16,
pub AlbumArtists: *const u16,
pub Album: *con... | d8b8db6a58d153a8559b4c0bfaacafc95c1cc57c | [
"Rust"
] | 2 | Rust | jbelke/seiri | 172353683304e481618de9117993afb61ef48671 | fb39435a0de642c499121f4650438a1d715a920a |
refs/heads/master | <repo_name>Coen-Townson/ssh-selector<file_sep>/sshs
#!/bin/bash
# Renders a text based list of options that can be selected by the
# user using up, down and enter keys and returns the chosen option.
#
# Arguments : list of options, maximum of 256
# "opt1" "opt2" ...
# Return value: selected index... | f98685457e945020d79875f0c08410af4cc2d947 | [
"Markdown",
"Shell"
] | 2 | Shell | Coen-Townson/ssh-selector | 8eb74ea9f116ada5ddde519753dc4b6be4e5c530 | 8f7244074c32cc5bd4f7f4ed912b39a5a8d8eede |
refs/heads/master | <repo_name>joseamena/netpify<file_sep>/configuration.py
import os.path
import json
import logging
CONFIG_FILE_PATH = "netpify.conf"
DEFAULT_CONFIG = {
"location": "espol",
"name": "medidor1",
"id": 1234,
"mode": "single_phase",
"voltage_source_1": "L1",
"time_interval": 300
}
config = {}
d... | 8d078fd702cc6d8a88e3f6a85066368b44db26cc | [
"Python"
] | 7 | Python | joseamena/netpify | b561bf688a79050a562faaa211756b23fd48a4c8 | 4218be81a5d700b0c908993dbfa4dd08535b4731 |
refs/heads/master | <repo_name>rangoPipe/webPart<file_sep>/src/redux/reducers/common/context.ts
import { createContext, changeConnection } from "../../actions/common/_actionName";
import { IContextProps } from "./IContextProps";
import { IAction } from "../../namespace";
const defaultState:IContextProps = {
http: undefined,
conte... | a96fe3cb589229e333ce71fc806021ea03db761c | [
"TypeScript"
] | 88 | TypeScript | rangoPipe/webPart | d4dd9947555683f9a63c715a5c71d9050ce1a1d1 | db327e73160f996a0f50809f4ef6aa9c216b4d38 |
refs/heads/master | <repo_name>Turmolt/Project-V<file_sep>/Assets/_Project/Scripts/Work Stations/Quench.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BackwardsCap
{
public class Quench : WorkStation
{
public Inventory Inventory;
public ParticleSystem ParticleSystem;
... | 570f0f1e5284383974d9a7825543ba7ef23fbdf7 | [
"C#"
] | 24 | C# | Turmolt/Project-V | 5efdd43427a2d4ea72e7a8e07d26ca292e9d6e20 | c20e14275367bda751ff0c365489470199ecc4c2 |
refs/heads/master | <repo_name>yabanjin25/SimpleTwitterClient<file_sep>/app/src/main/java/com/codepath/apps/mysimpletweets/fragments/UserTimelineFragment.java
package com.codepath.apps.mysimpletweets.fragments;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.widget.SwipeRefreshLayout;
impor... | a6149b0005a2277502f20bb402393746e8394b34 | [
"Markdown",
"Java"
] | 7 | Java | yabanjin25/SimpleTwitterClient | 90c71947a7815fd8f65f46261697544f5791c0fe | 85f63bd81ec291e1472fb1c9807b40bac38b84a7 |
refs/heads/master | <repo_name>Summer-Frontend/33-<file_sep>/miniprogram/pages/recipes-content/recipes-content.js
// pages/recipes-content/recipes-content.js
const db = wx.cloud.database();
Page({
/**
* 页面的初始数据
*/
data: {
showmodel: true,
array: ['炒菜', '面食', '泡菜', '汤类', '烘培'],
multiIndex: 0,
recipesValue: '',
... | e5785a7319f11db72ef697747ed6350b9325fe14 | [
"JavaScript"
] | 2 | JavaScript | Summer-Frontend/33- | 00219992c6de8dc80926bb60e0478a794088999b | 22b2e14d481d88d4be0a381e2d9b2b96964c824a |
refs/heads/main | <file_sep>package com.example.calculator;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import java.util.Stack;
import android.os.Build;
import android.os.Bundle;
import android.text.SpannableStringBuilder;
import android.util.Log;
import android.view.View;
import android.w... | 466bbbccf0a3fa40c21e1e299c80574e42c0eb07 | [
"Java"
] | 1 | Java | ashusri16/calculator_android | e947b1c718964044b3d7f917bc0c1e5e54033cb0 | c5b286fa41c4b36bb57a1bf4aa03777d785bdd87 |
refs/heads/master | <file_sep># Vim_setup
### Description
This is just a tiny bash script that I run whenever I want to setup vim on a new machine. </br>
This is, of course, what I *personally* like to have for my vim setup. </br>
I can be ran on both centos or mac(with brew).
The .vimrc in this repo is deprecated. I have a separate repo... | dc7ce77495cd57002f4988f318e4d9663cacd44a | [
"Markdown",
"Shell"
] | 2 | Markdown | paperjuice/vim_setup | 5e079a1f68ae437defe98180d3253acf63b44019 | ddf581b850296bb69f4e02a769d82de3f88fe934 |
refs/heads/master | <repo_name>AdySan/adysan.github.io<file_sep>/src/controls.jsx
var React = require('react'),
_ = require('lodash');
var Controls = React.createClass({
updateYearFilter: function (year, reset) {
var filter = function (d) {
return d.submit_date.getFullYear() == year;
};
if (r... | e1bd77d159924d39c07e65f2441b5e447a7e5681 | [
"JavaScript"
] | 1 | JavaScript | AdySan/adysan.github.io | 03bf3332e0f85b731c9afc020a2616ba80d3391c | 67c531d07f32ee9fc456bded669aafef76c42a54 |
refs/heads/master | <repo_name>edufg88/gandhi-prototype<file_sep>/Gandhi-Prototype/lib/cBullet.cpp
#include "cBullet.h"
#include "cGame.h"
#define _USE_MATH_DEFINES
#include <math.h>
cBullet::cBullet( int type, int x, int y, int vx, int vy )
{
this->type = type;
this->x = x;
this->y = y;
this->vx = vx;
this->vy = vy;
... | a7109719291d3fb1e3dabfed9405d2b340ad8a89 | [
"C++"
] | 32 | C++ | edufg88/gandhi-prototype | 947f2c6d8a63421664eb5018d5d01b8da71f46a2 | 0ea3c6a7bbe72b6d382fa76f23c40b4a0280c666 |
refs/heads/main | <file_sep>#!/usr/bin/env python
# coding: utf-8
# In[1]:
get_ipython().system('pip install pandas')
# In[3]:
import pandas as pd
# In[1]:
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
# In[6]:
df=pd.read_csv("C:/Users/a8463/Desktop/SG_CA/mba.csv")
# In[7]:
df.head(10)
# I... | 84acc66fda4e1f9481ec28fb1ae6c0bf167962f7 | [
"Python"
] | 1 | Python | YSureshKumar1993/DS | 7b2b2e15de3083f0a97e500842724c89a70e2fdc | cfa9a350681edcbc021851e84dcea2e670c4dd74 |
refs/heads/master | <file_sep># influx-adafruit-io<file_sep>import configparser
import requests
#import urllib2
import json
import time
from influxdb import InfluxDBClient
from influxdb.exceptions import InfluxDBClientError, InfluxDBServerError
from requests.exceptions import ConnectionError
from Adafruit_IO import Client
config = config... | e46195e4f53f112249cd378bd55cdb1f7d1f7dec | [
"Markdown",
"Python",
"INI"
] | 3 | Markdown | HaywardPeirce/influx-adafruit-io | 93bc002a893d02eec2e096beb9215f0ffbbb1031 | e68b41fbd5ee82e4e7d5fe3da5da6398a886fe5e |
refs/heads/master | <repo_name>martin-bobek/PrimePairSets<file_sep>/Source.cpp
#include <algorithm>
#include <chrono>
#include <iostream>
#include <limits>
#include <memory>
#include <set>
#include <tuple>
#include <vector>
class TupleSet;
class MinTuple;
typedef std::unique_ptr<TupleSet> pTupleSet;
template<size_t N>
class Pow10 {
publi... | e24ffe723f4cd89b24e0e73988fc6e7019b2a031 | [
"C++"
] | 1 | C++ | martin-bobek/PrimePairSets | 64beac81f702a2278074f7e0e15108b7e89ed9dc | 0e3337881eda5e64a25763198591b661b262d2ee |
refs/heads/master | <file_sep>import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
#from .Expense import Expense
class Investment_Snapshot:
def __init__(self,
annual_taxable_income,
current_investments,
expected_pct_dividends,
min_living_... | ffc58ed1f24739591da4e2db24b92c366088bff8 | [
"Markdown",
"Python"
] | 6 | Python | DaringDane/Calc_Invest | 5eb7fdc293fa75217fe8b3be21964f15661f23f2 | ae90290ad11a5e6ff2cbc5731ed71dade2f4d539 |
refs/heads/main | <repo_name>PetuchovArtem/AQA_HW3<file_sep>/src/main/java/com/it_academy/practice/junit_basics/Main.java
package com.it_academy.practice.junit_basics;
import java.util.*;
public class Main {
public static void main(String[] args) {
System.out.println("Введите 2 числа, каждое на новой строке");
Sc... | a378b7858d83615f554cdf9050b46c0bcaf06089 | [
"Java"
] | 1 | Java | PetuchovArtem/AQA_HW3 | da2f91243aafab21b108a032cf9aaf16007ed48a | a94c5fce00b127c12a0dfc1dbc8f857db90e3f04 |
refs/heads/main | <repo_name>the-pudding/lenna<file_sep>/src/utils/bubbleChart.js
import _ from "lodash";
import raw from "$data/data.csv";
export const getYearRange = (step) => {
if (!step) return [];
if (step === 9) return [1972, 1990];
if (step === 10) return [1991, 2010];
if (step === 11) return [2011, 2021];
};
export cons... | 0c3bfeb2047d77536c09c283018c84e44db3dc54 | [
"JavaScript",
"Makefile",
"Markdown"
] | 7 | JavaScript | the-pudding/lenna | ee1b00d567d22baf4043bec5a591eca0e31b1fe8 | e940e7a8eb71c6cca8093bfe327383a6d5f081b5 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Order;
use App\User;
use Illuminate\Http\Request;
class EmployeeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$employees = User... | 64d3efb049fce44a77dd7afa03a8d87509aa0744 | [
"PHP"
] | 8 | PHP | Bishnupkl/LunchHourManagementSystem | 3e2d816f5ec878973a3377a434f5f7aeb76ec197 | 281f9296d1fe71d38f12c8cd8abb33c4cc6d3603 |
refs/heads/master | <repo_name>bf4/tictactoe<file_sep>/lib/pieces.rb
class Piece
attr :type
def initialize(piece)
@type = piece
end
end<file_sep>/lib/game.rb
require_relative "./player"
require_relative "./board"
# require "byebug"
#Comment out lines 18 and 94 befor running tests
class Game
attr_accessor :players
attr_reader :playe... | c644f5127330d7e7cae226fe851066e3c648b1c7 | [
"Text",
"Ruby"
] | 10 | Ruby | bf4/tictactoe | 9fa5c1e99022b95ebb7ae28766f1e9c0cc478e73 | 0b03a89c13eca006bb27c19be65495a558808598 |
refs/heads/master | <file_sep>import { Component } from '@angular/core';
import {ITask} from "./tasklist/user.interfase";
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'angular-tasklist';
taskInput = ''
tasks: ITask[] = []
er... | 0dfd7c01e6457df5f84e41f885657d9ea745e1eb | [
"TypeScript"
] | 1 | TypeScript | AnitaRosikhina/angular-tasklist | 43d587904319e402189b90ea693190efd950a986 | fc36de0a4918ef4bb17b1aa2d45b8539c801cf21 |
refs/heads/master | <file_sep>/*
* Дан отсортированный массив различных целых чисел A[0..n1] и массив целых чисел B[0..m1]. Для
каждого элемента массива B[i] найдите минимальный индекс элемента массива A[k], ближайшего по
значению к B[i]. Время работы поиска для каждого элемента B[i]: O(log(k)).
n ≤ 110000, m ≤ 1000.
in ... | 21c271c7ee2e7493212bb02ec53a5e4401df2854 | [
"C",
"CMake",
"C++"
] | 18 | C++ | slavyanskii/workspace | 9200c18db05aceac2f847cdfd28b85546788c16a | 292a465fd3b5c62e55690f2f7b2581e852d9835e |
refs/heads/master | <file_sep>'use strict';
app.controller('DeleteCtrl', ['$scope', 'notifier', '$location', 'DeleteAllPeopleResource',
function CreateCtrl($scope, notifier, $location, DeleteAllPeopleResource) {
$scope.deleteAll = function() {
DeleteAllPeopleResource.deleteAll()
.then(function() {
... | 3926257ebdc524b1fc9022aaf432391b9701037c | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | TsvetanKT/BgPersonGeneratorClient | 65532a32f3eda1bf0a07fe67343b7962ae44e7fb | 94435eeadd5a816d2b10dde33b93b4accf892e3f |
refs/heads/master | <repo_name>umaqgeek/green-packet-umar-checkout<file_sep>/config/dbconnect.php
<?php
// development
// $dbhost = "localhost";
// $dbuser = "root";
// $dbpass = "";
// $dbname = "paygate_greenpacket_db";
// production
$dbhost = "tj5iv8piornf713y.cbetxkdyhwsb.us-east-1.rds.amazonaws.com";
$dbuser = "yxvw19x64x9huqqz";
$d... | f5ac4598ee2b503494dce81644d3cde52759c617 | [
"Markdown",
"JavaScript",
"PHP"
] | 9 | PHP | umaqgeek/green-packet-umar-checkout | 65b68ac83c04d9a835e7713d95ead8faa644b850 | 245c81dba6a6131c174fea61e8996d376b103ef3 |
refs/heads/master | <repo_name>Anuva07/Hire_Driver<file_sep>/app/src/main/java/com/example/asus/hire_driver/OwnerLogin.java
package com.example.asus.hire_driver;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Gravity;
import android.view.LayoutInflater;
import... | f59083a3cfb0c8558a68ea14625150469eb913d8 | [
"Java"
] | 2 | Java | Anuva07/Hire_Driver | 44e1d6fc1e7cdd3040119c54ebb80963058b97aa | 4b0c5a647adf3bd15f8b473ccd932f0ae1399d33 |
refs/heads/master | <file_sep>## Treehouse
This repo is for all my course files completed through teamtreehouse.com
You can see my Treehouse profile [here](https://teamtreehouse.com/shaybromer)

<file_sep><?php
define("YE... | 34d0e8c365dd9a40ec51db23d30c4e64cae86897 | [
"Markdown",
"PHP"
] | 2 | Markdown | shaybromer28/Treehouse | d0330f113c4fba55fb6a1844bf217d8523e425f7 | df7751a13fce72677d1a1bc1b607e7e106fba7f4 |
refs/heads/master | <file_sep>import random
pieces = [
"grasshopper", "grasshopper", "grasshopper",
"ant", "ant", "ant",
"fly", "fly", "fly",
"wasp", "wasp", "wasp",
"beetle", "beetle",
"spider", "spider",
"scorpion", "scorpion",
"ladybug",
"roach",
"mosquito",
"firefly",
"pillbug",
"centipede"
]
random.shuffle(p... | 7b864c18c707a1adaee8379ee742e3a6ef76a18f | [
"Markdown",
"Python"
] | 2 | Python | chriscauley/hive | 90ce8cc8f4aa49f9d78b03357441e2d33aa75b5a | afcc42ed0c8837c62b85dd14314943ca63932576 |
refs/heads/master | <file_sep>names = "My name is <NAME>"
for name in names.split():
print(name)
<file_sep>import pyowm
location = input("Enter your location: ")
def weather(location):
owm = pyowm.OWM('911f5d4e3775dd19dad4fe18c959af1a')
observation = owm.weather_at_place(location)
w = observation.get_weather()
w.get... | e35382c2e9370c1b3020f1463ab072b3a48c0b53 | [
"Python"
] | 18 | Python | cupux/python-tasks | 450bf6981fe2b3161f38bb22d584a6d5b30441c1 | c5a58c5bbfc2ccb29d1ca04163f706104cff0963 |
refs/heads/master | <repo_name>machew333/OverAchiever<file_sep>/app/src/main/java/com/trill/overachiever/LoginActivity.java
package com.trill.overachiever;
import android.app.Activity;
import android.content.Intent;
import android.content.IntentSender;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;... | 4af7f5a8ed994df5c3d79ddbd6f94d73ec6bc6b3 | [
"Markdown",
"Java"
] | 4 | Java | machew333/OverAchiever | 7b457aed53ea645eb324c1d6af7718f430a03e87 | ab5e62bae73f5d97aeefaf47c1e8fb6e579554a7 |
refs/heads/master | <file_sep>package ecole;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.anno... | 477a39dcb17b90191b4b116aaf2a389e13e91ba5 | [
"Java"
] | 2 | Java | lotentique/projetJEE | d8e6a7d1aa644f8bd75963f48efc924fcc94a19b | 6bd0311c65de6473f5e78e180585f484eddcefe2 |
refs/heads/master | <repo_name>mhernandeza/widget-front-end<file_sep>/app/tweet.ts
export class Tweet{
text: string;
creationDate: Date;
id: number;
authorName: string;
profileImage: string;
screenName: string;
constructor(text: string, creationDate:Date, id?:number, authorName?: string, profileImage?: string, screenName?: strin... | be673129145f4fc804e121ebb6aeba6025fe0f2e | [
"TypeScript"
] | 7 | TypeScript | mhernandeza/widget-front-end | 492c4330e7ffb90a28180b3ff79bb7f95615167e | 236c1b01274af32934cbd9118a1e51eb224fdfc0 |
refs/heads/master | <file_sep>#include<iostream>
#include<math.h>
#include<stdio.h>
using namespace std;
class roundrobin
{
public:
void queue(int arr[], int n)
{
for( int i=0; i<n; i++)
{arr[i]=-1;}
}
bool check(int r_burst[], int n)
{
bool robin1 = true;
int i;
for( i=0; i<n; i++)
{
if(r_burst[i]>0)
{
... | f6dbee3cb0d425d995fcf6a51312a3ef92f7e1f2 | [
"C++"
] | 2 | C++ | himansusharma30/Ten-students-s1-s2-s3-s4-s5-s6-s7-s8-s9-s10-are-going-to-attend-an-event.-There-are-lots-of-gift-s | fd11376858a44f18b233eac5ec79fd5203fc2b00 | add51d146595469c5d0c31889a78c08df45192dc |
refs/heads/main | <repo_name>chaitra1403/Data-Structures-Using-C<file_sep>/2stack.c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
//#include<ctype.h>
char stack[20][20];
int top=-1,size;
void push();
void pop();
void peek();
void display();
void main()
{
int ch,n;
printf("enter the limit\n");
scanf("%d",&size);
do
... | 4b719eb1b1c30468a0e0784142fb7132971a89e3 | [
"Markdown",
"C"
] | 8 | C | chaitra1403/Data-Structures-Using-C | 3ddc6b9a1b9ca60155d0f1db5b6c6b0c0e687642 | 8766e92b1bc1b4583e71e4542e772ca4e6fd57a1 |
refs/heads/master | <file_sep>package bean;
import java.util.ArrayList;
/**
* L'utilisateur suit les followers (est abonné)
*
* @author emmanuel_plaisance
*
*/
public class Following {
private String userName;
private ArrayList<String> following;
public Following(String User, ArrayList<String> following) {
t... | 1dde82e94c7ac316cc08b7153370c05f7c38bc4a | [
"Java"
] | 9 | Java | Ootawara/twitterRedis | 97dbc6ced288f6fb8d7a0aca0bc68562f80be3b8 | e3e02aa1689abba5d4f35a6e83c302867a28b269 |
refs/heads/master | <file_sep><?php
namespace Tattler\Decorators\DB;
use Tattler\Objects\TattlerAccess;
use Tattler\Base\Decorators\IDBDecorator;
use Objection\Mapper;
use Objection\LiteObject;
use Predis\Client;
use ReflectionClass;
class RedisDecorator implements IDBDecorator
{
/** @var Client */
private $client;
/** @va... | 1eb8a1d5d69a60a06dfe265091fd674a5e1aaeca | [
"Markdown",
"SQL",
"PHP"
] | 47 | PHP | Oktopost/Tattler-php | b3e59d6c1537de4de7c4353c9abcf5a50c486d1f | 3448e9a99c5e3c155e2d92f37563cdf9c60c434d |
refs/heads/master | <file_sep>package com.tuiyi.allin.third.jsdk;
import com.tuiyi.allin.core.AdError;
import com.tuiyi.allin.core.AdErrorCode;
import com.tuiyi.allin.core.entity.AdEntity;
import com.tuiyi.allin.core.splashad.CustomSplashAd;
import org.json.JSONException;
import org.json.JSONObject;
import cn.imeiadx.jsdk.jy.mob.JyAd;
... | 5176af041bda45c34c550641248681cbe569ebff | [
"Markdown",
"Java",
"Gradle"
] | 27 | Java | tuiyi2020/allin_android | f8be4246dd8a399181a1aff7a57d04f2821b4761 | ea72968226db4622bf189aab13a008346efe6672 |
refs/heads/main | <file_sep>function provjeri()
{
var pitanje01 = document.kviz.pitanje01.value;
var pitanje02 = document.kviz.pitanje02.value;
var pitanje03 = document.kviz.pitanje03.value;
var pitanje04 = document.kviz.pitanje04.value;
var pitanje05 = document.kviz.pitanje05.value;
var rezultat = 0;
if (pitanj... | f7ef7aaa74f092786697833b3db8b5e5bbc474d3 | [
"JavaScript"
] | 5 | JavaScript | IvoGulin/Geometrija | d88e9d2ffb74a6f37f19ada075f329da5881903a | fe6add6b977fee6b18a955edd54d5544b9701d60 |
refs/heads/master | <file_sep>package com.masterpiece.FreeSportCamp.controllers;
import java.util.HashMap;
import javax.validation.Valid;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
imp... | e4c878bc02b6803eea02a6dba3664f4d6c205b3d | [
"Markdown",
"Java",
"TypeScript",
"SQL"
] | 32 | Java | AnnaRobin/Free-Sport-Camp | 9a4bc1eec5c30e6b605837bf8c0e1f0eeb7d8417 | 02cae5e9f70797595da26ced67406680fd04b8ee |
refs/heads/master | <repo_name>JucoskiCristian/BotDicord-v13<file_sep>/commands/flash.js
const { SlashCommandBuilder } = require('@discordjs/builders');
const { MessageEmbed } = require('discord.js');
var count = 0
module.exports = {
data: new SlashCommandBuilder()
.setName('flash')
.setDescription('Flash Errado'),
... | dee79d1e1237adb7677013d09063f5bb00555e29 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | JucoskiCristian/BotDicord-v13 | 94155fd3b94fdf50ff0eaeaf81fd5dec2a9c4f84 | 6fad29777a694ca4b15cfddb1c6fa9c40f6f9661 |
refs/heads/master | <repo_name>LiuXPeng/shortTextClassification<file_sep>/辅助脚本/en2ch.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'english text translate to chinese'
__author__ = 'lxp'
import time
import translate
def test():
shuruwenjian = input('请输入要翻译的文件名: ')
shuchuwenjian = input('请输入要输出的文件名: ')
s = input('是否清楚现有输出文件的内容,输... | 303e1f14d1bfb7d6cd0e1ef57061fa891c2839a5 | [
"Markdown",
"Python"
] | 10 | Python | LiuXPeng/shortTextClassification | 0db531eb1a54885a16c0ca1c6724ed1c60126905 | ff1971f5461e716e2734cfc3775f7484ebbcc082 |
refs/heads/master | <repo_name>andrewglynch/python_financials<file_sep>/run_analysis.sh
python date_parameters.py
python data_analysis.py
<file_sep>/date_parameters.py
# set libraries
import datetime
today = datetime.datetime.now()
current_year = today.year
oldest_year = today.year - 20
<file_sep>/data_analysis.py
# set up initial libr... | fce127c58ea5e0e2c878b639923e7f165f79a21d | [
"Markdown",
"Python",
"Shell"
] | 4 | Shell | andrewglynch/python_financials | a60e318b7aa0755c1c504f65e3427e3d4cdd40e2 | e6efdd4eacb89fae3b0b0b3cbb1da359791f01e7 |
refs/heads/master | <file_sep>#include "DIY_Hash_Map.h"
#include "cPerson.h"
#include <iostream>
int main_DIY_HASHMAP()
{
sPerson michael;
michael.first = "Michael";
michael.last = "Feeney";
sPerson robin;
robin.first = "Robin";
robin.last = "Bobbin";
sPerson fraser;
fraser.first = "Fraser";
fraser.last = "Fareast";
sPerson ja... | f417df2caa333913bd09bab6827452744ffbc4a7 | [
"Markdown",
"C++"
] | 27 | C++ | anguspoole/GraphicsEffects | 8a9f29bd6a20d23e3caee416c3ed8b8b3c92f7c9 | ce8f2424306091e922f79fa32f82130eca0d8585 |
refs/heads/main | <file_sep># ArtinWedderburn
A package for numerically computing irreducible representations of semi-simple algebras over the complex numbers.
### description
Take a semi-simple algebra with basis `e1, ..., ed`. The multiplication tensor is defined by
```
ei ej = sum over k m[i,j,k] ek
```
The algebra unit vector is ... | e7fccba482f94e4823d192f2a22adec35d7b0270 | [
"Markdown",
"Python",
"Shell"
] | 8 | Markdown | JCBridgeman/artin_wedderburn | df7560b622b0ff800ad89f4f659ff37b93c4e0da | 29bf769944c1c8c28b6a74407abb7e97a92b57e8 |
refs/heads/master | <repo_name>reimersoftware/elasticsearch-ktx<file_sep>/src/main/kotlin/dev/reimer/elasticsearch/ktx/client/SnapshotClientCoroutineExtensions.kt
@file:Suppress("UNUSED")
package dev.reimer.elasticsearch.ktx.client
import dev.reimer.elasticsearch.ktx.util.awaitAction
import org.elasticsearch.action.admin.cluster.reposit... | 22efd78ec1ed75cbf559d9960364038dc2e7a45a | [
"Markdown",
"Kotlin"
] | 14 | Kotlin | reimersoftware/elasticsearch-ktx | 1b56c6b4817207a7233305abffa9fcc6c8200b3d | ea8f02d285808d76cbf719d894af427b67164ae7 |
refs/heads/master | <repo_name>money222/EloPlugin<file_sep>/src/eu/moneypvp/EloUtils.java
package eu.moneypvp;
public interface EloUtils {
FileManager fm = new FileManager();
default Integer getElo(org.bukkit.entity.Player p) {
return fm.getConfig().getInt(p.getName());
}
default void setElo(org.bukkit.entity.Player p, int... | 1f1be4b6ad5916cc77f7bc864bdc852428183e1e | [
"Java"
] | 4 | Java | money222/EloPlugin | 4245fd3f2fba8eeaf9ebb8930db6daaa9aa8c9f3 | ce4e8463c5df1cff342f3fdb4cb5433f309568fb |
refs/heads/main | <repo_name>Mockyy/ServiceREST<file_sep>/index.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>JSON</title>
<link href="style1.css" rel="stylesheet">
<!--<link href="icon.jpg" rel="icon">-->
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
... | 4bf0dba6c309c3384b2c95a9e608d4c54951742e | [
"PHP"
] | 2 | PHP | Mockyy/ServiceREST | 9ac9769cb1e26e3b6baf0750d2faf6b8b9a4949a | 71fda3e48d0de2e2bb92b5f093b9d44acd66657f |
refs/heads/master | <repo_name>OuhscBbmc/suku-cqi-1<file_sep>/analysis/month-performance-1/month-performance-1.md
---
title: Skeleton Report 1
date: "Date: 2020-02-29"
output:
# radix::radix_article: # radix is a newer alternative that has some advantages over `html_document`.
html_document:
keep_md: yes
toc: 4
toc_float: ... | 6f47815530813d3c7c0596648c80b9a5b777a976 | [
"Markdown",
"R"
] | 3 | Markdown | OuhscBbmc/suku-cqi-1 | 36cd2f27204436666418bf44e07d6a9d3b0bf733 | 0bd7c8dcef76a0be110bf9e201045dd91c478d58 |
refs/heads/master | <repo_name>aronspringfield/Loaf<file_sep>/Loaf/Loaf/Presenter/Window.swift
//
// Window.swift
// LoafPlayground
//
// Created by <NAME> on 26/04/2019.
// Copyright © 2019 Palringo. All rights reserved.
//
import UIKit
class Window: UIWindow {
override init(frame: CGRect) {
super.init(frame: frame)
... | 90a17d33a3d0207c1b9f31eb257d2931b5b6fa81 | [
"Swift"
] | 3 | Swift | aronspringfield/Loaf | ae4fc3e770ea3b386445233c62acc2e0cfe94f41 | e0fd16421a1e96282b901a1e758e392b94eb363f |
refs/heads/master | <file_sep>class EditContactsController < ApplicationController
before_action :set_edit_contact, only: [:show, :edit, :update, :destroy]
before_action :admin_login
# GET /edit_contacts
# GET /edit_contacts.json
def index
@edit_contacts = EditContact.all
end
# GET /edit_contacts/1
# GET /edit_cont... | b21d6bc7476fd6ba0f2667d91d544a09c8d34451 | [
"Ruby"
] | 12 | Ruby | Donja/holo_collections | 9cbabb1c4ef5cc32a1a7778577365488d2fdcc62 | 28b31084aba040c369a95cae97bfb5b664d09198 |
refs/heads/master | <repo_name>bartfrenk/constraints<file_sep>/constraints/traversal.py
from collections import deque, defaultdict
def multi_paths(adj_fn, start, singles=False):
"""List disjoint paths from start to all reachable vertices.
:param adj_fn: The adjacency function of the graph, see `bfs`.
:param start: The start... | 6b8a631e9b6fb3db0691e3d6a62ae37d90ebd61d | [
"reStructuredText",
"Markdown",
"Makefile",
"Python",
"Text"
] | 18 | Python | bartfrenk/constraints | ef5f865307cc58e416f464882f74153614775c2f | e309a4a21a9e3b4150695810b67b4fa3cc53e987 |
refs/heads/master | <repo_name>fttrobin/eos<file_sep>/test/tests/linear_set_test.cc
/**
* @author: <NAME> <<EMAIL>>
*/
#include <gtest/gtest.h>
#include "eos/linear_set.h"
namespace eos
{
namespace tests
{
TEST(linear_set_should, insert_unique_values_in_order)
{
eos::linear_set<int> sut{10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
ASSERT_... | df41d72fe064da840608b57db9462485686b35e1 | [
"Markdown",
"CMake",
"C++"
] | 6 | C++ | fttrobin/eos | 0210d6ccbff9f3b4753c0c889ee05ecbb172e84a | 27f75e5fa5d30ed15242b88a720a46e3e3083ba9 |
refs/heads/master | <repo_name>hseniht/Dreamaze-Polymeric<file_sep>/js/custom.js
$(document).ready(function() {
$('#example').DataTable( {
// "order": [[ 3, "desc" ]]
responsive: true
} );
} );
var ages = [12, 17, 8, 21, 14, 11];
console.log(ages);
console.log(ages.findIndex(cur => cur >= 18));
console.log(ag... | eb7036d5b3792949d9420b2e90d44c8071320dc4 | [
"JavaScript"
] | 1 | JavaScript | hseniht/Dreamaze-Polymeric | c5376b6e7e7b3167efa83abb09ff2952cf41eef2 | 928607fbc7e1efdde3ce8ab4afe4e6045a5f7047 |
refs/heads/master | <file_sep><h1>Principal Component Analysis and KMeans Clustering Algorithm</h1>
<p> Steps that I have followed <p/>
<ol>
<li>Data preprocessing</li>
<li>Principal Component Analysis</li>
<li>Kmeans Clustering</li>
<li>Plot clusters</li>
<li>Elbow Method for finding the optimal number of cluster... | 8fe952ef2bf39cd5eaa80e408193134ca3a59176 | [
"Markdown",
"R"
] | 2 | Markdown | mhmtsrfglu/k-means-clustering | 04b5388e70d87a2b51734b7c6f07cbd6bfe882ad | 13c2e40514c85bf05c3ea9b160097a20977162be |
refs/heads/master | <repo_name>wanwanpp/ElectronicBusinessPlatform<file_sep>/src/main/java/com/wq/core/service/product/impl/TypeServiceImpl.java
package com.wq.core.service.product.impl;
import com.wq.core.bean.product.Type;
import com.wq.core.dao.product.TypeDao;
import com.wq.core.query.product.TypeQuery;
import com.wq.core.service.pro... | 15ee732348122f339ee1a6008cf739a9df8fbd3a | [
"JavaScript",
"Java",
"INI"
] | 24 | Java | wanwanpp/ElectronicBusinessPlatform | 4b45c0754311123178ab5e7d75f1af8b73b8114c | e4cc5dd719d17f9dc666d8d7189282f1447995da |
refs/heads/master | <repo_name>andrebianco/editor-grafico<file_sep>/README.md
# Editor Gráfico
Teste de desenvolvimento de um Editor Gráfico.
# Explicação
Dada uma matriz de tamanho MxN na qual cada elemento represente um pixel, crie
um programa que leia uma sequência de comandos e os interprete manipulando a
matriz de acordo com a des... | d024a0fbab9aa27fa4403b5b2f82aafc11e70e72 | [
"Markdown",
"Python"
] | 6 | Markdown | andrebianco/editor-grafico | cff713d42d419bfb898820338ea399db8f5e7ad6 | 749175b24ea7c7e57d96340bd2424934a2b5c7c1 |
refs/heads/master | <file_sep>/* Formulário para Whatsapp */
/* Abre janela Whatsapp com nome e mensagem inseridas*/
function contactWpp() {
let nome = document.querySelector(".form-name");
let mensagem = document.querySelector(".form-msg");
let link;
// formularios estiverem em branco
if (!nome.value == "" ... | 1c09a280d185c7e508286c35b6fa748fe752ce7e | [
"JavaScript"
] | 2 | JavaScript | edinhotorres/photoart864 | 189596b0bb5a0e30a34d3ac94cbd32b40480dba0 | a69e0e7d14ddd5b8384bf5ba11ce30999862b2ab |
refs/heads/master | <repo_name>matheusmontenegro/Delicia-e-Cia<file_sep>/Delicia e Cia/src/java/DAO/ProdutoDAOint.java
package DAO;
import Bean.Produto;
import java.sql.SQLException;
import java.util.ArrayList;
interface ProdutoDAOint {
public void cadastrar(Produto produto) throws SQLException;
public ArrayList<Produt... | 2962075a893b311925ba90fefbcbf47bdc577349 | [
"Markdown",
"Java"
] | 13 | Java | matheusmontenegro/Delicia-e-Cia | 2465e75a664da257c23173a72f3fca56127462e3 | 3344aa5f589efd811fd6872ff253a26894a4548b |
refs/heads/master | <repo_name>Akhmadjon-dev/technomed_qonBanki<file_sep>/client/src/styles/pages/app.js
import styled from "styled-components";
export const StyledApp = styled.section`
background-color: var(--bg-light);
.top-app {
margin-left: 20px;
margin-bottom: 20px;
display: flex;
align-items: center;
justify... | af3451b649c1662e3bbedddeda290b6587b09412 | [
"JavaScript",
"Markdown"
] | 22 | JavaScript | Akhmadjon-dev/technomed_qonBanki | 03cf552a83561375dd85c25bd0ea079a164a703b | 9d362dc092b09fb1f31d009cd6bd5a00a0a97000 |
refs/heads/master | <repo_name>akasfei/bugfree-obst<file_sep>/src/models.h
typedef struct DataObject
{
int dataInt;
char dataText[255];
}DataObject;
void swapDataObject (DataObject * obj1, DataObject * obj2)
{
DataObject *temp;
temp = obj1;
obj1 = obj2;
obj2 = temp;
return;
}
DataObject *DO_New_s (char * data... | 06911fbdd7943667cb8f078242b42afee7f57cf8 | [
"Markdown",
"C"
] | 7 | C | akasfei/bugfree-obst | 5622470b2c750aa1a683b92ce77d56f46511eaaf | 083579c93625f7c4ea320545b853409eeab92665 |
refs/heads/master | <file_sep>data<-read.table("household_power_consumption.txt",sep=";",header=TRUE,stringsAsFactors=FALSE,dec =".",na.string="?")
data$Date<-as.Date(data$Date,"%d/%m/%Y")
subdata<-subset(data,subset=(Date >="2007-02-01" & Date <="2007-02-02"))
DateTime<-paste(subdata$Date,subdata$Time,sep=" ")
subdata$Date<-as.POSIXct(Da... | 72bfa4aa21b7c4b36e43456709510d99850a3977 | [
"R"
] | 4 | R | yoya86/ExData_Plotting1 | 27a1aaa1facb8564c62e0eed8bfca9fcef3bd15e | 8dd72f32eef2b5c3026dc085a12579a4e9bc4eb5 |
refs/heads/master | <repo_name>LynnYuki/Load<file_sep>/app/src/main/java/activitytest/example/com/load/MainActivity.java
package activitytest.example.com.load;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.w... | cdc50cc9c6bba63a00466d671d4cf75a7775ddd1 | [
"Java"
] | 1 | Java | LynnYuki/Load | 96a280ce0b8304a62c849ab6887a753f9192c527 | 6aada4168326e23e87d2f769b1bcb32039a59430 |
refs/heads/master | <repo_name>MonicaGalicia/42_Apis<file_sep>/Trello2/js/main.js
var inputLista=document.getElementById("input");//input inicio creado en html
function addLista(){ //crear tarjeta 1
var parrafo=document.createElement("div"); //div añadir lista
parrafo.setAttribute('class', 'tarjeta');
document.body.appendChild(p... | 43d0a624f587d3ebc43d79d71bd5154a54293b11 | [
"JavaScript"
] | 1 | JavaScript | MonicaGalicia/42_Apis | 4f5fecea5c4bd0f529154cd33dccfbb54f2a9e5a | b301ded390b6c1f847cb61951182bf4d220494a3 |
refs/heads/master | <repo_name>Kouznetsov/rn-closable-modal<file_sep>/ClosableModal.js
import React, {Component} from "react"
import {
View,
StyleSheet,
TouchableWithoutFeedback,
Modal,
Dimensions,
Platform
} from "react-native"
import {getBottomSpace, getStatusBarHeight} from "react-native-iphone-x-helper"
class ... | 0104c2db481d109c515bcba14497e7769db0c4f7 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 4 | JavaScript | Kouznetsov/rn-closable-modal | 433ff0f150390088698d3e45e6a14c6d5b3a6215 | 519d87bf5f974016170cad06865a475607e375c6 |
refs/heads/master | <file_sep>
import numpy as np
import matplotlib.pyplot as plt
from scipy import fftpack
from scipy import signal as ss
from how2spectro_Morlet2 import morlet2
from how2spectro_Morlet2 import cwt
class lib2:
"""
Class used for tutored project INSA 4 GMM
Attributes:
image : numpy ndarray of shape (Nx,... | 09f78613b6a255e9e7f266dd3f5622360d949123 | [
"Python"
] | 8 | Python | eobroets/CESBIO | c12c37ea17e0f636e326f0375030d5088ef80b28 | 8c5bc141640a74d5d25dc846d47b3a739e0e101c |
refs/heads/master | <repo_name>rurik65/Tetris-in-windows<file_sep>/README.md
Tetris in wndows
Из окна прекрасный вид на горы. Всё бы хорошо, но что-то пошло не так и сверху прямо на подоконник
падают фрагменты кирпичной кладки. Хорошо,что можно управлять этим падением.
Сборка mvn compile assembly:single
Запуск java -jar tetris.jar
В пр... | 73d77c201d84376f7172509a0a742381cadea628 | [
"Markdown",
"Java"
] | 2 | Markdown | rurik65/Tetris-in-windows | 0cdeff72350631a7b095c74ab4f5f7ab06238b08 | fd3170e8d854581827fb171a05a816f434c61c7e |
refs/heads/master | <repo_name>Fantasm4/CardAuxiliaryTool<file_sep>/class.Auxiliary.php
<?php
/***************************
Card Auxiliary v0.1b
This tool was created for auxiliary the user in creating a tester.
Auxiliary's:
getToken
cookieKill
valid2Captcha
delimitArgument
validEmail
validExternalEmail
randomCPF
va... | 3103e99b05e1e164ca95fdb14971e58ab95cab2c | [
"Markdown",
"PHP"
] | 3 | PHP | Fantasm4/CardAuxiliaryTool | f06d3c8f916f65e3c4a473b6e7d86c62897e7912 | 2cfc6452cad6b88fb57d751495c45fb5470b9ae9 |
refs/heads/main | <file_sep># test-node-react-deployment
# test-node-react-deployment
# test-git-workflow
# git-workflow-2
<file_sep>const express = require('express')
const app = express()
app.use(express.json())
const path = require('path')
app.use('/api/v1/test', (req, res, next) => {
res.status(200).json({ name: '<NAME>', messa... | 7fee062f5a074bd42df777d6869727560d1a9b28 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | dijiflex/git-workflow-2 | 2423ba7ca7f381233d6cd0d72f6f9fb65e0490f1 | e8995db1877f91106391e24b10de56f4b82c75e6 |
refs/heads/master | <repo_name>atselvan/go-pgdb-lib<file_sep>/constant.go
package pgdb
const (
dbConnectionErr = "DB_CONNECTION_FAILED"
dbConnectionErrStr = "there was an error connecting to the database : %v"
dbCloseErr = "DB_CLOSE_FAILED"
dbCloseErrStr = "there was an error closing the connection to the ... | 8cfd2702706c7215cca329d36b291a981d77af7a | [
"Markdown",
"Go Module",
"Go"
] | 8 | Go | atselvan/go-pgdb-lib | b03c99d12bdcd414ab3324cb923bdd0eac184fd4 | caf2cdc6b368b7f849d9667cc6a998a8771b08c5 |
refs/heads/master | <repo_name>AustinArrington87/plantgroupwebapp<file_sep>/lazy_requirements.txt
django-js-reverse==0.7.3<file_sep>/scripts/setup_db.sh
#!/bin/bash
NAME="plant_webapp_$PLANT_WEBAPP_ENV"
psql -U postgres -h postgres << EOF
CREATE USER $NAME WITH PASSWORD '';
CREATE DATABASE $NAME;
GRANT ALL ON DATABASE "$NAME" TO $NAME;
E... | 536177c85ad17c2eff6f50150bf47a6d4769479b | [
"Markdown",
"Text",
"Shell"
] | 5 | Text | AustinArrington87/plantgroupwebapp | 28f1dcda0163a226eca5ecf1ec2faad6ee32b982 | 86ede4e307d3debb5af5e700f532101589df3cd1 |
refs/heads/master | <file_sep>struct nodo{
int informacion;//Donde se guarda la información
struct nodo* siguiente;
};
struct nodo* crear(int dato);
struct nodo* agregarEnLista(struct nodo* cabeza_lista, int elemento);
void mostrar_lista(struct nodo * cabeza_lista);
<file_sep>#include <stdio.h>
#include <string.h>
#include <stdl... | e5cfb3f74d3e018275f82e1629c0e37b651209cd | [
"C"
] | 3 | C | COFExC0DE/C-lista-punteros | 21356bbdd84bde8d8e82abc602323108fad1abe2 | d9e81edfe24fc2870124be15a52f2cab594dd162 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.