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>lg0812/new-point<file_sep>/src/index.js
import React from 'react';
import ReactDOM from 'react-dom';
import {createStore, applyMiddleware} from 'redux'
import {Provider} from 'react-redux'
import {Route, HashRouter} from 'react-router-dom'
import thunk from "redux-thunk"
import logger from "redux-logger"
imp... | e6e50e0946755a43f983a85e8669485aa68e7fbd | [
"JavaScript"
] | 1 | JavaScript | lg0812/new-point | 712050eef8f1e5881dca4663bc9b793bbca46817 | 5d75f36d4de983bba6a14b829198f6fb6efe2756 |
refs/heads/master | <repo_name>compomics/ProteinAssociationPair<file_sep>/sourceCode/ProteinPairWithCommonPepCheck.py
__author__ = 'surya'
######################################################################################################################################################
##################### ## import methods and file... | 475efa36e927247ff64677e60f4d0cfbec8f471e | [
"Markdown",
"Python"
] | 19 | Python | compomics/ProteinAssociationPair | 85aee777935477a55e7d2089c671433220e04d84 | 19f8b000c457af6adea8220feb04de9fdbf45f8f |
refs/heads/master | <file_sep># include <stdio.h>
#include <cs50.h>
int main (void)
{
int a= 500;
int b=250;
int c=200;
int d=100;
int e=50;
int f=25;
int g=10;
int h=5;
int r=1;
int i=0;
int amount;
amount= get_int ("amount:");
while (amount>= a)
{
amount= amount-a;
... | 79946dc5745635d22a8c4411884a3e4583335851 | [
"C"
] | 2 | C | Farka2674/homework | 02ce4707f7ae4fa42ffe702ac4abd8e66da8682a | 37b9fa3d94e0a700ff40cbc210e854ae62f8178a |
refs/heads/master | <repo_name>zjucsxxd/SeamCarving-4<file_sep>/Lab01-ImplementHere.cpp
//--------------------------------------------------------------------------------------
// File: Lab01-ImplementHere.cpp
//
// DV1212 Lab01: RayTracing
//
// Copyright (c) <NAME> 2010. All rights reserved.
//-------------------------------------------... | 3277c70cf9795bf9f799b32767a3715bec6ebfd5 | [
"C++"
] | 1 | C++ | zjucsxxd/SeamCarving-4 | a2557704b4029f90fb5be86ff76a22238d23e824 | 82026cf183f499e8c0d54602e961d27d90321eaf |
refs/heads/master | <file_sep>72 path=dashboard/front/graficos/inc/grafbar_grupo_mes.inc (cópia).php
27 mtime=1472213540.591005
26 atime=1472231792.49111
<file_sep><?php
function plugin_dashboard_install(){
global $DB, $LANG;
if (! TableExists("glpi_plugin_dashboard_count")) {
$query = "CREATE TABLE `glpi_plugin_dashboard_c... | 7715e9bbcfbcab91bb763b2fde24b145d220656a | [
"PHP"
] | 4 | PHP | orouet/GLPI-Dashboard | 0a20fc1b73d7dbbf7979d33f7a9c5c937b80881a | 933d515191fcb62ddd7c3a73aed51b8f0fed6207 |
refs/heads/master | <file_sep>$(function () {
//when document ready, init the plugin so any exisiting DOM element of this plugin inits with the plugin behaviour
$('.money').money();
//$.fn.money();
//$(".money").each(function () {
// $(this).money();
//});
//$(document).ready(function () {
// $(".m... | 16111448b96204d99c42e4bb55bacc7d993fd79a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mehdiromi/domchanged | 4144664da474ea552149b71d2209d03a8fe8f5cf | f8e24be19773737b895441a5c1bb97b189891306 |
refs/heads/main | <repo_name>fefe4/blog-front-end<file_sep>/src/components/newBlog.js
const NewBlog = () => {
return(
<main>
<form action="http://localhost:4000/api/blogs" method="POST">
<label for="title">Title</label>
<input name="title" type="text" />
<label for=... | 1be861c58cec844462da4f14f2f45bc976e8c257 | [
"JavaScript"
] | 4 | JavaScript | fefe4/blog-front-end | 8c3de94f4d8a0b1bf8bf4c6f60a30d6dab41b6bf | ca691412cc9ce8b2c973f4c9cb8c5e048342e019 |
refs/heads/master | <repo_name>jonwho/lolxin<file_sep>/lib/lolxin/dto/league_list_dto.rb
module Lolxin
class LeagueListDto
attr_accessor(*%i(
tier
queue
name
entries
data
league_id
))
def initialize(data)
@data = data
initialize_with(data)
end
private
def initial... | ae321a53cb45eb1c50edf332556af3075f8ac35d | [
"Markdown",
"Ruby"
] | 35 | Ruby | jonwho/lolxin | ce6071189feb6d4dc772199118e1388e28db50e0 | 11205b4c1f2f2dc017abc38cdcd7a1e6d31a3800 |
refs/heads/master | <repo_name>rizafahmi/hyperapp-counter-app<file_sep>/src/lib/request.js
import axios from 'axios'
import { API_URL } from '../constants'
const getRequest = url => {
return axios
.get(url, {
headers: {
Authorization: `Token token="<KEY>"`
}
})
.catch(err => console.error(err))
}
export... | 641d9bbfbf8a855f51fa768f999c28b55647b46f | [
"JavaScript"
] | 2 | JavaScript | rizafahmi/hyperapp-counter-app | 45d7afe3b448eedf9f5059d3b4c440c74ba1b45b | 7aa98b6b75b1d0b3ce3b6ed0ab3d4b02c79b1d46 |
refs/heads/master | <file_sep><?php
class DataLayer {
private $conn = null;
public function OpenConnection ()
{
$json = json_decode(file_get_contents('dataobjectserver/common/dbmetadata.json'), true);
$this->conn = new mysqli(trim($json['dbserver']),trim($json['dbuser']),trim($json['dbpwd']),trim($json['dbname']));
}
publ... | 6f44cfb07a6da9aa4c57df1f7b778a294ce67a68 | [
"PHP"
] | 1 | PHP | peterbarraud/dataobjectserver | aa081699a20ddb8ea6b41407518f4d6710475801 | 1f513bf82cbda43599cfd7157df82ad2d26e250c |
refs/heads/master | <file_sep>package airfrov.com.androidhomework.ui.pets;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import airfrov.com.androidhomework.app.Constants;
import airfrov.com.androidhomework.ui.pets.cat.CatFragment;
import ai... | b30dafb184b18c2587e8437a8c41c8d6e518befa | [
"Markdown",
"Java"
] | 8 | Java | mudeleon/AndroidHomework | 83e238a5fa26cdba5314c6ae46d116c9543df097 | baf43b2404d2732eacc2b46876261803d110c5a7 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package test;
/**
*
* @author Administrator
*/
public class App {
public static void main (String[] args){
... | 74c039bdaa141345cee588646ffed02ab310066a | [
"Java"
] | 1 | Java | pradeep2005s/try | 422edb5d364b85948fd44c9e5e8d0204e9dbfb25 | f5feb49af340dbd66dbf2beba5ac76482cbef384 |
refs/heads/main | <repo_name>SienaCSISAdvancedProgramming/IteratorMethod<file_sep>/README.md
# IteratorMethod
Class example of a method that operates on an Iterator
<file_sep>/IteratorMethod.java
import java.util.ArrayList;
import java.util.Iterator;
import java.util.TreeSet;
/**
Class example of a method that takes an Iterator as a... | a23389c93bd75653d455988331952784c8e96871 | [
"Markdown",
"Java"
] | 2 | Markdown | SienaCSISAdvancedProgramming/IteratorMethod | 1b22e229796df46af786586ceea4cbee621e6e99 | 31bf9fec27cec749329f597d1910490d90ea5f6c |
refs/heads/master | <file_sep># WindowsApp
Code for Windows / Windows Phone app
This repo is intended for Visual Studio 2015; it may work with other versions though. This includes the code for both Windows desktop and phone which use some shared files as well as some independent files. In Nov 2015, both Windows desktop and phone had app... | 77b277e57107a0e889298f72310f90cbdb3c761c | [
"Markdown",
"C#"
] | 4 | Markdown | wearhaus/WindowsApp | 8763bec57b38e7fbe5d5095a1aaa744b1098a493 | 8476eaaa4b6a4b184c34d224423fee674b8ed89b |
refs/heads/master | <file_sep>import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';
import Button from '@material-ui/core/Button';
import TextField from "@material-ui/core/TextField";
import SendIcon from '@material-ui/icons/Send';
import ChatBubbleOutlineIcon from '@m... | fc02b7746b3d8c2e9f193a6036aea56cd5d4670e | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Justsecret123/TP3-Multi-Lyon | 9535b96717612fb4fa1d2cdd60396e65a4cec69a | a6024f4c5bcbfccc0838dd7d2c647aac83c3e4f1 |
refs/heads/master | <repo_name>lufe089/rubySample<file_sep>/README.rdoc
== README
Ejemplo de aplicación Ruby usando Scaffolding
Prueba de versiones
<file_sep>/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file.
ProyectoRailsLuisa::Application.config.session_store :cookie_store, key: '_proye... | a24d54687ba7eb45f777b13f595bed852aea9806 | [
"RDoc",
"Ruby"
] | 3 | RDoc | lufe089/rubySample | 164910a10a1ca5da0b7fe3d2ef7203f30e357817 | 1490b6f1ea3db74641a55bc985b73aae9e9a653e |
refs/heads/main | <repo_name>G-Lan/CS4156TeamProject<file_sep>/src/test/java/InfluencerProfileTest.java
import static org.junit.Assert.assertEquals;
public class InfluencerProfileTest {
/* //@Test
public void getInfluencerProfile() throws GeneralSecurityException, IOException {
InfluencerBoardResource resource = new Inf... | 985254622fb9b721ae9f454d61870723d52d4177 | [
"Java",
"Python",
"HTML"
] | 13 | Java | G-Lan/CS4156TeamProject | 2bdf8e98fe2d80b46db2cd0e8bcf217e093f9600 | 3dc2ae4c9622dc95e28f1281efbf753fad876624 |
refs/heads/master | <file_sep>from flask import render_template
from app import appName, db
@appName.errorhandler(404)
def not_found_error(error):
return render_template('404.html'), 404
@appName.errorhandler(500)
def internal_error(error):
db.session.rollback()
return render_template('500.html'), 500
<file_sep># FlaskSand... | 0c1cddf32f488f72c202c38552511e7cc4c2bbc9 | [
"Markdown",
"Python"
] | 3 | Python | grigorevmp/FlaskSandbox | 8337d414d54f3d3b8f45e1b8cdea549513a74f60 | 458b3fa77b33442a217bd1e92d433faa4e3a92e6 |
refs/heads/master | <repo_name>ityyc/MyOkhttp<file_sep>/app/src/main/java/com/tuba/yuanyc/myokhttp/http/JsonResponse.java
package com.tuba.yuanyc.myokhttp.http;
import org.json.JSONObject;
/**
* Author :yuanyc
* Time :2017/6/9
* Description :
*/
public class JsonResponse extends DefaultHttpResponse {
private JSONObject jsonObje... | 045cbee1737630e6c7260d723c51beda2521fbe9 | [
"Markdown",
"Java"
] | 12 | Java | ityyc/MyOkhttp | 09ec8fba1aea4ac03e137e3b949865dc71edfa8b | 35569bb22d854af37217ae7c1ba716869121b11b |
refs/heads/master | <file_sep>from django.urls import path
from apps.sab import views
app_name = 'sab'
urlpatterns = [
path(r'AddToCart/',views.VisitAddToCart),
path(r'ATResult/',views.VisitATResult),
path(r'ResetCart/',views.VisitResetCart),
path(r'CheckCart/',views.VisitCheckCart),
path(r'CheckResult/',views.VisitC... | 1c603854340af284cb5bd7cc060429732211d86e | [
"SQL",
"HTML",
"Markdown",
"Python",
"Shell"
] | 63 | Python | Gwzlchn/SE-Project-2019 | aecb9dc6f924494f5a38716b7764e5a782260be7 | 73aae500758d4b00186b7a858f1643f5f4e4d5dc |
refs/heads/master | <repo_name>frontjss/filtersv<file_sep>/filter/shop/views.py
import requests
from django.shortcuts import render, get_object_or_404, render_to_response, redirect
from django.utils.crypto import get_random_string
from .models import Category, Product
from filter.cart.forms import CartAddProductForm
from django.template.c... | 74bf50edb3b7bac997bd895357f65e0d3d155d9f | [
"Python"
] | 2 | Python | frontjss/filtersv | 379f7f3cee4c13f22a0ccde63e2eea1f85df3299 | df0fc69ca30fea531a2af253a534783e95df6165 |
refs/heads/master | <repo_name>kailashpatel2006/mysamplejenkinsproj<file_sep>/file.java
modified
added new line
added cod
| e0d631b8ed1eca50f002b40d822716b8a87fac73 | [
"Java"
] | 1 | Java | kailashpatel2006/mysamplejenkinsproj | 96abe146fc9c714226da155637eff549e95269cc | 0a1518827751b36d4cbbf24b4d9400a445f6c5ad |
refs/heads/master | <file_sep>'use strict';
import { Message } from './data/messages'
import {EventTarget} from 'event-target-shim'
export class PolynoteMessageEvent<T extends Message> extends CustomEvent<any> {
constructor(readonly message: T) {
super('message');
Object.freeze(this);
}
}
type ListenerCallback =... | e8f55ecf4c3ee6a03628cd893a3e62eab67ffbbd | [
"TypeScript"
] | 1 | TypeScript | garynth41/polynote | 40a17c3b8fab4793632ad06c2c360fc592f00406 | f69249c5b9f34960cc5c2f24661cdc30d8b28c84 |
refs/heads/master | <repo_name>absent1706/gae-error-reporting-demo<file_sep>/main.py
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.or... | 7601518304fd82ce84934935e49fbd0c49856ae5 | [
"Markdown",
"Python"
] | 2 | Python | absent1706/gae-error-reporting-demo | 211c36271254f2d159c59c20a26edca070df3662 | 7c9aa5e7a99135ab3f0af6d20dfa4da31d172595 |
refs/heads/master | <repo_name>luguotao846211/react-ts-demo<file_sep>/src/index.js
import React from 'react'
import ReactDOM from 'react-dom'
import App from 'Src/App'
import './index.less'
if (module && module.hot) {
module.hot.accept()
}
ReactDOM.render(<App name='123' />, document.querySelector('#root')) | 97e60874f1f354285338fc1e8826562df9f6f8e7 | [
"JavaScript"
] | 1 | JavaScript | luguotao846211/react-ts-demo | 5f529cfa168d9450d845394cf306a14eb13d3feb | b8654529ccfec79668272d59d0fac0dc972713d2 |
refs/heads/master | <repo_name>jppotess/twilio-contact-info-node<file_sep>/messaging.js
// Messaging functionality
var config = require('./config');
var client = require('twilio')(config.accountSid, config.authToken);
client.sendMessage({
to: config.testNumber,
from: config.twilioNumber,
body: "Here's Johnny!"
}, function(error, ... | 59677f2c98416476c8700eef4d82cd6cfebcb348 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jppotess/twilio-contact-info-node | 5d9ef260bb6a7c6ca813086db7d7facd419bed38 | 10f1e0a7b6a0c6a05af9089ca51ed809b023790d |
refs/heads/master | <file_sep>
const fi = (function() {
return {
libraryMethod: function() {
return 'Start by reading https://medium.com/javascript-scene/master-the-javascript-interview-what-is-functional-programming-7f218c68b3a0'
},
each: function(collection, func) {
let dataSet = (collection instanceof Array)... | 2cfb0a5b39898987312c04a57c5f2b1239ee16e5 | [
"JavaScript"
] | 1 | JavaScript | JTSwisher/js-advanced-functions-functional-library-project-onl01-seng-pt-100619 | f6fd0831ff7f71124460096900ad5b49a94381a9 | d12f5ab3cbaadbfc30add4d8edfb70f7ebec9319 |
refs/heads/master | <repo_name>cmercada86/GardenBotServer<file_sep>/models/water.go
package models
type(
Water struct{
time int
delay int
}
)<file_sep>/communication/gardencomm.go
package communication
import (
"encoding/json"
)
type (
GardenBotCommunication struct{}
)
type m... | 23dd6c0f8a9bb79faa061f9670c89a59e677c534 | [
"Go"
] | 3 | Go | cmercada86/GardenBotServer | e03df829ba624767350d01734cc578793d3eb28c | c3851c7ec1b3a700e9ef37c5b9fc507713758022 |
refs/heads/master | <file_sep>----- Services -----
Le Loan approval est composé de 4 services dont 3 se trouvent sur Google App Engine et 1 sur Heroku.
Sur GAE se trouvent "AppManager", "AccManager" et "CheckAccount".
Sur Heroku se trouve le service "LoanApproval".
AppManager comporte 5 méthodes:
-d'ajout d'approval (POST) : url -> http... | e48e441262a3713f905f404f2b3ff42e87ec10cc | [
"Text",
"PHP"
] | 2 | Text | mik42000/CloudProject | b87323b24c0c4b9f45b8c4bdf031545458ad3b47 | 08bb4f0fd7b1408f0ee754fd99e37a247043696a |
refs/heads/master | <file_sep>print("123455555")
print(12344)
<file_sep>print("1234444.py")
print("new-api branch")
| b03745b80631cbc9dd9be25e3b8cacad7fac3475 | [
"Python"
] | 2 | Python | ekh-test/test-rp | 5e26bc9c0fd2a823a05b46cb136b71df66acf02d | 6c8ad7a7c2cde1b0b6e62c33309c897b5c118938 |
refs/heads/master | <file_sep># Path settings
typeset -U path
path=(~/bin $path)
# Locale settings
export LANG="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_CTYPE="de_DE.UTF-8"
export LC_COLLATE="de_DE.UTF-8"
export LC_TIME="de_DE.UTF-8"
export LC_NUMERIC="de_DE.UTF-8"
export LC_MONETARY="de_DE.UTF-8"
export LC_PAPER="de_DE.UT... | baa7a3cdeb0292da0ee32b293037fd1fbafae7a5 | [
"Shell"
] | 5 | Shell | cyphex/dotfiles | b2366b7058b3670e607a376ea2052bc7b9d43854 | 3ce5698b497b147e138eac3055f084dfcbf8a85c |
refs/heads/master | <file_sep>import axios from 'axios';
const API_RESPONSE = {
name: "<NAME>",
email: "<EMAIL>",
role: "Software Engineer",
insta: "@mika_whippet",
profile_img:
"https://pbs.twimg.com/profile_images/982394336456396801/KRv7pJaI_400x400.jpg"
};
const API_COLUMNS = [
{
field: "title",
ti... | 356eba08cc5828c58ac126a7821dad65b7e7c90e | [
"JavaScript"
] | 1 | JavaScript | Scheevel/sb-vue-easy-table | 9f188139ee4173b5f6a86dd7eba76a4855d744c7 | 33761a2b6855aad3c8b601b4a7f562300d9a2539 |
refs/heads/master | <file_sep>package com.altieri.weatherapp.data.gson;
import com.google.gson.TypeAdapterFactory;
import com.ryanharter.auto.value.gson.GsonTypeAdapterFactory;
@GsonTypeAdapterFactory
public abstract class AppAdapterFactory implements TypeAdapterFactory {
// Static factory method to access the package
// privat... | acaf830f4fb6057aaf8c793c3914b1024349e9b4 | [
"Java",
"Gradle"
] | 12 | Java | robertoaltieri/weatherapp | b28f3a54f023cc07c593dd8e48094729ee3e2583 | 468b5dac4452bbad38c18d763154de0552861bf7 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PongClone
{
public class Wall : MonoBehaviour
{
public BasePlayer side;
public Action<Wall> onHitBall;
private void OnTriggerEnter2D(Collider2D collider)
... | 50acae893a7b7e73af3109962318c5a018c6698d | [
"Markdown",
"C#"
] | 29 | C# | ToyMachineGraphics/Pong-Unity-Clone | 4918726ec43e74e462876046f089a0269f2937b3 | eb30664daacfc879cf9444e1269041548228079e |
refs/heads/master | <file_sep>#include <Arduino.h>
#include <SPI.h>
#include "Adafruit_BLE.h"
#include "Adafruit_BluefruitLE_SPI.h"
#include "Adafruit_BluefruitLE_UART.h"
#include "Adafruit_FreeTouch.h"
#include "BluefruitConfig.h"
#define FACTORYRESET_ENABLE 0
#define MINIMUM_FIRMWARE_VERSION "0.6.6"
#define MODE_LED_BEHAVIO... | aca25c1c8293d3325004fc2bdd09a5c21981fbb7 | [
"C++"
] | 1 | C++ | CalculatorSP/gameboygloves2 | ec8a3468ef32aea519f8c99e8870c58ea2c9a267 | 92756b2e2823c5972c8b6b96727899256ff2a9fa |
refs/heads/master | <repo_name>sherbet-lily/031702303<file_sep>/partitionI.java
import java.util.ArrayList;
public class partitionI {
String name;
String telephone;
ArrayList<String> address = new ArrayList<String>();
public String getName(int ch,String ogdata) {
return ogdata.substring(2,ch);
}
public String getTelephon... | 9e163065b934347d2b45bf08f0e6730ddb912e3e | [
"Java"
] | 1 | Java | sherbet-lily/031702303 | 26396041f8188ba87ca74d742b3eab45df7469a4 | 367c6b17d07016787db39d34283cd60d5c221b45 |
refs/heads/master | <repo_name>mibsbalsante/spotify-wrapper-player<file_sep>/tests/intro.md
# training with unit test tools
## video 78 | skip, only, bail
```javascript
// alt: use --bail (or `npm test -- --bail`) to stop test when some case fail
describe('Main', () => {
describe('Method A', () => {
context('Case 1', () => {
... | abd8087bd542298e8bc62ee5028395dc9e9eaf6c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mibsbalsante/spotify-wrapper-player | 8f93b6779df1ccd1d50975ec1e6c6c21de68a07d | c4731d9cfcf1bd986c8d7cdc53cf0e37217421f0 |
refs/heads/main | <file_sep>import React from "react";
export default function ListItemPage(props) {
const { value } = props;
return <p>{value}</p>;
}
<file_sep>import React from "react";
import { BounceLoader } from "react-spinners";
import { css } from "@emotion/core";
export default function Loader(props) {
console.log(props.... | f8ebb5040a2b0fcc5008182e5109e8e1507e587f | [
"JavaScript"
] | 4 | JavaScript | kehinde-elelu/honestgame | 742e3d9ec2e89dac7efde6aee68e34b50a3880be | 733db32e7160e948c51bd461a276181c02c0d933 |
refs/heads/master | <repo_name>sat0yu/sandbox<file_sep>/abc/019/A.py
# coding: utf-8;
from __future__ import division, print_function, unicode_literals
from future_builtins import *
strlist = raw_input()
arr = [int(x) for x in strlist.split()]
print(sorted(arr)[1])
<file_sep>/arc/031/C.cpp
#include<iostream>
#include<stdio.h>
#include<vec... | 381526e036c451f68507783f29e1bd1051fa132b | [
"C",
"Python",
"C++"
] | 62 | Python | sat0yu/sandbox | aecdd28d2f585d73ec18847ddddac93ef3772371 | 9e51e78391de3ec877ab75e5bb3f354cc1813ef8 |
refs/heads/master | <file_sep># Bouncing Boxes
This is a simple test/demo for the Elegoo 2.8 inch TFT display (ILI9341).
<file_sep>/**
* ==========================================================================
* Elegoo ILI9341 TFT LCD test/demo: bouncing boxes
* ======================================================================... | b3a17611eb73996c7e4c5841d46d64e2c6486a41 | [
"Markdown",
"C++"
] | 2 | Markdown | dexterbg/BouncingBoxes | 030724018a7c1bcb2b06c6b038d3111842982cbc | 62a46a9ac57b9cd16a976a471b7af57131d11d92 |
refs/heads/master | <repo_name>DNwin/tickets<file_sep>/app_api/models/user.js
/**
* Created by dennis on 3/5/16.
*/
"use strict";
var crypto = require('crypto');
module.exports = function(sequelize, DataTypes) {
var User = sequelize.define("User", {
userId: {
type: DataTypes.INTEGER,
primaryKey: tru... | a9ce068739dde263854ac228aee04669bc057bf4 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | DNwin/tickets | ce9360f3f72caab8a57d9da984343d0256300ed5 | 217d17891fd3f77b70fa66b8afa69489b816b0dd |
refs/heads/master | <repo_name>Damir2805/CalcArea<file_sep>/CalcArea/Program.cs
using System;
namespace CalcArea
{
class Program
{
static void Main(string[] args)
{
CalcTriangle(); // Here methods are called
CalcCircle();
}
/*All the methods are defined here*/
stat... | 8f613b881ef14be1ccd78ae9b35508cf568b5056 | [
"C#"
] | 1 | C# | Damir2805/CalcArea | 4408e746c0bc8ed0f0f4942fb4813ba73820da36 | ba4aa2d1f4ae3905f6451ec89ce00ab7b18806ba |
refs/heads/master | <file_sep>import numpy as np
def work_on_title(combine):
for dataset in combine:
dataset['Title'] = dataset.Name.str.extract(' ([A-Za-z]+)\.', expand=False)
for dataset in combine:
dataset['Title'] = dataset['Title'].replace(['Lady', 'Countess', 'Don', 'Dr', 'Rev', 'Sir', 'Jonkheer', 'Dona'],... | 9e02cebe572565f48e479396dd7550134d77ee76 | [
"Markdown",
"Python"
] | 5 | Python | vrublevskiyvitaliy/machine-learning | 2b37d24631a08c6730fb0b0fbea56d15a7f90b85 | 537d1de993dd808048347485e938fe4b197abc01 |
refs/heads/master | <repo_name>stigbosmans/EscapeGameArduino<file_sep>/mol-driver.py
import serial
import time
from socketIO_client import SocketIO, LoggingNamespace
ser = serial.Serial('COM3', 9600, timeout=0)
socketIO = SocketIO('localhost', 3000, LoggingNamespace)
def process_code(code):
if code.find(';')>-1:
ar=code.spli... | 55739db58945726bc36f8f68e05c0431175a9182 | [
"Python",
"C++"
] | 2 | Python | stigbosmans/EscapeGameArduino | cc54f6fe860a04a9b442a3aaa1e73ab3e48b4d3b | da2ce3a0b3fe12bb03b6a3a30ca1c7b27a00f051 |
refs/heads/master | <file_sep>package Crypto;
import java.awt.*;
import java.awt.event.*;
import java.math.BigInteger;
import javax.swing.*;
/**
*
* @author <NAME>
*/
public class KunciPublikDialog extends javax.swing.JDialog {
private ecdsa.Point pubKey;
/**
* Creates new form KunciPublikDialog
*/
public KunciP... | b88d4f23b51e90c6446d131c1ae4a1ec621bd2d8 | [
"Java"
] | 2 | Java | cilvia-sianora/EmailClientCrypto | c9e96d62ecae6a509d6c1ff3c76e0944e5087143 | 05b6c8fc192c6b001cf724e7e29e305fa8b69750 |
refs/heads/main | <file_sep>
import csv
def read_csv(file, mode='r'):
"""
read from csv file
:param file: csv file path
:param mode: [select] read format. defalut:r
:return: array []
"""
data = []
with open(file, mode, encoding='utf-8') as f:
csv_reader = csv.reader(f)
for row in csv... | 536aad808b209031657f20bbf7f0ecfebdacdd89 | [
"Markdown",
"Python"
] | 5 | Python | opendwlab/dwcv | a1dbcc486acf094e93662fbbb1438925a7e3dd69 | cccf15bd0b69db11db3bc9214508cb77d9cafdc3 |
refs/heads/master | <repo_name>hyongbai/android-sdk-sample<file_sep>/Example/src/com/liquidm/sdk/example/VideoAdFromXmlActivity.java
package com.liquidm.sdk.example;
import android.app.Activity;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import com.liquidm.sd... | 1827b1adef6e01a486cb66af36ab64b85ce48cee | [
"Markdown",
"Java"
] | 6 | Java | hyongbai/android-sdk-sample | bc3758269d081e25780dacaf107fffc13f00eaa9 | 5d84076d0efc1b202567db339aa7c81bf79863b2 |
refs/heads/master | <repo_name>echo818/pay<file_sep>/pay-think/pay.sql
/*
Navicat Premium Data Transfer
Source Server : pay
Source Server Type : MySQL
Source Server Version : 80011
Source Host : localhost
Source Database : pay
Target Server Type : MySQL
Target Server Version : 80011
File Encoding ... | 7b7d911df11809d10d9c5bd51b52edf15ab38ebc | [
"JavaScript",
"SQL",
"Markdown",
"Shell"
] | 5 | SQL | echo818/pay | 37413b8933c798885fae730d2491ff61307b2bee | 66e6e655577f809879e360c8299cf266a02e94a0 |
refs/heads/master | <file_sep>#include "bird.h"
#include "point.h"
#include "velocity.h"
#include "flyingObject.h"
using namespace std;
Bird :: Bird(Point initialPoint)
{
point = initialPoint;
}
void Bird :: hit()
{
}<file_sep>/***********************************************************************
* Program:
* Assignment 03,... | 5ade7005e9e1c3f0016f84dd60daa54f86b641e6 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 78 | C++ | ajshiff/linuxlab | decc8012842b88281f6f1b889a267be017586207 | 1fc6cbc027034ec8397b25134dc3bf50ea42d1dc |
refs/heads/master | <file_sep>package com.android.example.appdebug
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import java.lang.Double.parseDouble
import kotlin.reflect.typeOf
class MainActivity : AppCompatActivity() {
... | 13b2657c4420b36bff17afd1a4910428d9cf1e5a | [
"Kotlin"
] | 2 | Kotlin | mayalb/AndroidApps_TP2 | 2c5e993bf45ed81ebc06b72bb944970f5e42c467 | 49b01b24e13232599c8a399c41376750571d2bc6 |
refs/heads/master | <file_sep>from setuptools import find_packages, setup
setup(
name='src',
packages=find_packages(),
version='0.1.0',
description='This is a project about wine.',
author='<NAME>',
license='',
)
| bce15ca0189cbcc03406b126bd9df1185c3360ab | [
"Python"
] | 1 | Python | ktmbrown/wine_reviews | 3ed0a189c6b5d619c02d4296cdf0770f9181675b | 0178f0866df0fa6e5b255e57db133e066edfa4f1 |
refs/heads/master | <file_sep># sandbox-github-actions
<file_sep>import os
str = os.environ['INPUT_COUNTED_STRING']
print(len(str))
| 354b5ebf8f3e1fed0887ef1db38dd3520f6850a9 | [
"Markdown",
"Python"
] | 2 | Markdown | fchiba/sandbox-github-actions | 32d1057c1160aabc2d39ee3b4c60e8a964341c0e | 20348949be9d22e439332fbff80cf74f4922167d |
refs/heads/master | <file_sep>import Base from "./Base";
class CodingLanguages extends Base {
private uuidCode: string;
private readonly dataKey: string = "data_coding_languages";
constructor() {
super();
this.uuidCode =
process.env.REACT_APP_WAKATIME_CHARTS_UUID_CODING_LANGUAGES || "";
}
protected getUuidCode(... | e87f53069f9f197e687fe4f5e713f19d1028cff9 | [
"Markdown",
"TypeScript",
"Shell"
] | 7 | TypeScript | renatosoares/renatosoares.github.io | ec80c4031c5f4b81244d37f1ca640677473b5a93 | a0307901b5a336433a76c5b27ea228feedc8e310 |
refs/heads/master | <repo_name>firstock/scraping<file_sep>/naverNewsGetLink.py
# coding: utf-8
import pandas as pd
import numpy as np
df= pd.read_csv('data/naverNewsSomePressLinks.csv', index_col=False, header=None)
len(df)
## 긁으려는 거 외 링크 지우기
# 133개 지움
exceptList= ['www.kukinews.com', 'news.kukinews.com', 'www.seouland.com', 'nownews.seo... | fd194c306760648a5ecc0067315387940ff20e78 | [
"JavaScript",
"Python"
] | 7 | Python | firstock/scraping | e43fcd11ad8d423c9be8ee7197dd523a19924225 | 5c6d10f11b758d3343f534a590ef81091241c504 |
refs/heads/master | <file_sep># Selenium-TestCases
This repository contains the selenium automation test scripts tried on different web applications automation.
<file_sep>package autoSeleniumPrac;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.Alert;
import org.openqa.selenium.WebElement;
... | cfffff2fc738ee2e68680a16e86c112a716a2161 | [
"Markdown",
"Java"
] | 2 | Markdown | Balaji-NH/Selenium-TestCases | 95b587aeaa5dfba84ffc873179a7e63aa477126a | bf8b6ac3bb0e8f88aa1236f5145d7645b94ff65f |
refs/heads/master | <repo_name>hoyin2013/exports<file_sep>/test.py
# coding: utf-8
import imapclient,re
import pyzmail
#提取邮件里面的链接
def getDowmlodUrl():
url = None
#这里是腾讯企业邮箱,其他的自行百度
imapObj = imapclient.IMAPClient('imap.exmail.qq.com',ssl=True)
#邮箱和密码
imapObj.login('<EMAIL>','<PASSWORD>!')
#默认收件箱
imapObj.sele... | b1ba5d082dba55fa3e3babbc770673dae62f1740 | [
"Markdown",
"Python",
"Text"
] | 9 | Python | hoyin2013/exports | 098c662664fca3eaf7c25bb7761308c43702a8c9 | 09150646cc1fc8c9259c4b21d48a1fbe752f60ed |
refs/heads/master | <file_sep>package com.cg.dao;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Reposito... | 49b926b93d493efc947b52cc691a4302bc5c7fe9 | [
"Java"
] | 9 | Java | ricksen100/Spring-Projects | 6da09ccd0ec5b179a330f91937c2d99c85855011 | a2680c193091375c2c651eef8e71273aaac05a33 |
refs/heads/master | <file_sep>@javax.xml.bind.annotation.XmlSchema(namespace = "http://dao.ws.soap.pupeu.edu.pe/")
package pe.edu.pupeu.soap.ws.dao;
<file_sep>package pe.edu.pupeu.soap.ws.cliente;
import java.util.List;
import pe.edu.pupeu.soap.ws.daoImp.ClienteDao;
import pe.edu.pupeu.soap.ws.daoImp.ClienteDaoImpService;
import pe.edu.... | 45d014f8c8730e1f0d17c1e4ff7e313e45bb7165 | [
"Java"
] | 2 | Java | EliasMH123/Soap-reporteventas | 9a8d0ad302f88d20e14cefb880b7a9c2757fbf1b | b29b2e30ba5370322bc18fbc6855604cf73b9dd4 |
refs/heads/master | <file_sep>import React from 'react';
import d3 from 'd3';
import $ from 'jquery';
export default class Layout extends React.Component{
constructor(){
super();
this.state = {id: "test"};
}
componentDidMount() {
this.serverRequest = $.get(this.props.source, function (res) {
var res... | 3927373487044f9e2c9461ad3a3a86583ea3dc69 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mstaebler/d3-bar-chart | 2210ad8e6c8b8d5af6bb47130e371c9a5c8fae2a | d233fdacf82222e3a8a66444f09c4076dcc8d1f0 |
refs/heads/master | <file_sep><?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateWorksTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('works', function(Blueprint $t)
{
$t->increments('id');
$t->strin... | 259f7c51008d23fdefacf197f1a32a3843e4deba | [
"PHP"
] | 3 | PHP | sheikhu/appsite | f0df1b6bdedbf9b8b54733f4e65327a6826e11d6 | 019eb5e941dc3266bce6162a684d24ebaf2ad4bb |
refs/heads/master | <repo_name>zhaopingfu/TestDemo<file_sep>/TestLazyFragment/app/src/main/java/com/zhaopf/testlazyfragment/fragments/PopularFragment.kt
package com.zhaopf.testlazyfragment.fragments
import android.os.Bundle
import android.util.Log
import android.view.View
import com.zhaopf.testlazyfragment.adapter.PopularVpAdapter
import... | a0289c6b1678348e71c4b45a12a2c84eac78c8b1 | [
"Markdown",
"INI",
"Gradle",
"Java",
"Kotlin",
"Shell"
] | 148 | Kotlin | zhaopingfu/TestDemo | 90a8c74278d5a7d588403298651393aa6d6d1a10 | 21036af76d2314c43b96b8226c2894b49bb505ff |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Tue Dec 27 09:01:21 2016
@author: joaquin
"""
'''
Distintas funciones de visualización de datos
'''
import matplotlib.pyplot as plt
import scipy.signal as sig
import numpy
import matplotlib.pyplot as plt
def ajusteCuadratico(datos_crudos, graficar = False):
maxim... | eb5ac06c34df180af2e633179a3e691d792cfcce | [
"Markdown",
"Python"
] | 3 | Python | joacoFisico/Analisis-Acciones-RAVA | 6e250f1d5d64d3eeffeb2205c8a65de8e471d595 | 4d7a8b19ce1597175648dbec107fcb4cfd0060ac |
refs/heads/master | <repo_name>lkasdolka/BubbleDatingServer<file_sep>/src/edu/bupt/util/HXTool.java
package edu.bupt.util;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuch... | ba436b39c3eafebb964daedb8b78e5c01bf4589b | [
"Markdown",
"Java"
] | 4 | Java | lkasdolka/BubbleDatingServer | 2978a5d9aca630d55aa40266a5a071bac6257462 | e14e83dafeb9e948d99c817123d123883e6213a6 |
refs/heads/master | <file_sep>//Array of images and data for html doc
var photoArray = [
{
image: '../images/roadtrip2017_1c5.jpg',
description: 'Happy to have made it to the top. What a great Hike!',
likes: 0,
visible: true
},
{
image: '../images/roadtrip2017_1ab.jpg',
description: 'Even Otto was tired after... | ef63091119e37ce967d95e05a8ad81a2e251e584 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | emilykuplic/photo_gallery_wk4 | 95f48791e46611caf5053640d601467f793f760d | 274ce179024db5137e0455430138fcc9759481e0 |
refs/heads/master | <repo_name>elliotjr/CSSE2002<file_sep>/Assignment3/src/festival/gui/PlannerController.java
package festival.gui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.FileNotFoundException;
import java.io.IOException;
import com.itextpdf.text.DocumentException;
import festival.Event... | fdfdb8651062d829a3d340ff584c1be73f2ab92a | [
"Java"
] | 2 | Java | elliotjr/CSSE2002 | de469762bdb02754ce33fc7640a98a9cd01bd4af | 82bfa3c6938a8d06c28a65c3b961c42f86284d10 |
refs/heads/master | <file_sep><?php
$flag = "CTF{th1s_1s_gi3_13ak}";
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Version v5</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="script.js"></script>
</body>
</html> | bd912ef3fe4e52834ab09c1f5ec8af8f191092c6 | [
"PHP"
] | 1 | PHP | toyraynei/gitleak | 1470696ef56a03e3462f3f41e1722b7985fa4a71 | 75929ed6e7fb013bfa60efbc054bd9c8f1ace1a6 |
refs/heads/master | <repo_name>jeronimofagundes/rss-to-kindle<file_sep>/test.php
<?php
require('vendor/autoload.php');
$url = 'https://jeronimofagundes.github.io/feed.xml';
$feed = new ezcFeed;
$feed = ezcFeed::parse($url);
var_dump($feed->item);
<file_sep>/README.md
# rss-to-kindle
Sends RSS articles to Kindle
| 35938510c5cc741d7d3bd15e31ce6233f4c0ae99 | [
"Markdown",
"PHP"
] | 2 | PHP | jeronimofagundes/rss-to-kindle | 99e32759f429236a227e0ff7e0b104675e63b847 | cbaff121ef23b6aee5697c6d891b1ddc04993aa4 |
refs/heads/master | <file_sep># 1 for Checking Account
# 2 for Savings Account
def extract_money(account_type, amount):
print("Amount to extract "+str(amount) +
" account_type is "+str(account_type))
if(amount % 500 == 0 and amount > 0 and 0 < account_type < 3): # conditions to be checked
flag = 1
if(a... | c6826414207691d86c0a0367973b9765d4a95539 | [
"Python"
] | 1 | Python | hiren2599/ajmera_practical_round | 9d700aa76caf5d966b5f19867f1e9fc93b35f4b9 | f14c45eda90db3111bdf2b7524ebe46f49fd1d68 |
refs/heads/master | <repo_name>jtertil/pytest<file_sep>/case1/test_phonebook.py
import pytest
from phonebook import Phonebook
@pytest.fixture
def phonebook(tmpdir):
"""test"""
return Phonebook(tmpdir)
def test_lookup_by_name(phonebook):
phonebook.add("Bob", "1234")
assert "1234" == phonebook.lookup("Bob")
def test_c... | a42a28485e0619604446df496cf8affb65337787 | [
"Python"
] | 2 | Python | jtertil/pytest | 7f270b8d8d1dfb75998345295a9353e5d4762a64 | 4e104d868d83cd5cb4ba3f765213feedf877e098 |
refs/heads/main | <file_sep>package com.estudantes.repository;
import com.estudantes.entities.Estudantes;
import org.springframework.data.jpa.repository.JpaRepository;
public interface EstudantesRepository extends JpaRepository <Estudantes,Long> {
}
| c08abdfe114eea440de3fab223f9b2eba3caa77c | [
"Java"
] | 1 | Java | gabrielguariglia/fatec_backend_estudantes | 0a2a2a4ddeed6e977a1f89e3e9121adb1d090e7f | ea14a512735cc9d6c16bc24519bebfb0e255c1a5 |
refs/heads/main | <repo_name>SpiriitLabs/poliris-bundle<file_sep>/Models/Annonce/Photo.php
<?php
/*
* This file is part of the composer-write-changelogs project.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sp... | 0dadf6fff957608f75263abfcf900e83d07304c9 | [
"Markdown",
"PHP"
] | 78 | PHP | SpiriitLabs/poliris-bundle | 06fe20c10b5d80b5ccb5778f9aafb8a865ad4d71 | 74f5604b6273839e5e393a74554d8e917079ad55 |
refs/heads/master | <file_sep>import numpy as np
import pandas as pd
import sys
def topsis_solution(a, b, c):
df=pd.read_csv(a).values
dfbaad=df
df = df.astype(float)
weights=list(map(float,b.split(",")))
impacts=list(map(str,c.split(",")))
(x,y)=df.shape
summation=list()
for j in range(0,y):
temp=... | 99613ab1b35af41cdd3364ac18893b995a3f0401 | [
"Markdown",
"Python"
] | 2 | Python | manaskhatri/Topsis | e2897630124af247a4afafd519feac7d8dabfe88 | 58f2da0cacefa26ebd9d77bf891c2b2dd06349d2 |
refs/heads/master | <repo_name>bbferka/docker<file_sep>/indigo-knowrob/indigo-knowrob-daemon/Dockerfile
FROM knowrob/indigo-knowrob-base
MAINTAINER <NAME> <EMAIL>
USER root
RUN mkdir /home/ros/.ssh/
ADD rs_openease /home/ros/.ssh/id_rsa
RUN touch /home/ros/.ssh/known_hosts && \
ssh-keyscan -T 60 github.com >> /home/ros/.ssh/known_hos... | 7017a6fe45071562d8c22c08d1a576c31218e73e | [
"Python",
"Dockerfile",
"Shell"
] | 5 | Dockerfile | bbferka/docker | 14ebf75c439a2bd1ee2b245deaa9f30723571210 | 0d2881c2f727539a2351aac4e71fed818bb1a6ba |
refs/heads/master | <repo_name>gre-ory/lite<file_sep>/test.py
#!/usr/bin/python
# ##################################################
# import
import lite
import unittest
import sys
import cgi
import os
# ##################################################
# lite unittest
class LiteUnitTest( unittest.TestCase ):
# #############... | f0928b81b5beeaead224e317a80248e33616d2f8 | [
"Python",
"INI"
] | 3 | Python | gre-ory/lite | 44902ed9d19d789b96ce40c0c90508829a77395e | 898034a61ffcdae7567ba8bc3a9832b189cd8488 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class Gun : NetworkBehaviour {
public Transform muzzle;
public GameObject projectile;
public float timeBetweenShots = 0.1f;
public float muzzleVelocity = 35;
float nextShotT... | e6e4702d90b17271e98022133dfe8657bb0fbb69 | [
"C#"
] | 7 | C# | benediktwerner/Boxhead | 2588ba093a81efffb3050a2cabf5e95c4e258980 | 70ba56f1869249e05547eb57434e4f4b4b8f6827 |
refs/heads/master | <file_sep>android_listview
================
listivew tayyar manba
<file_sep>package mouse.simple;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
impo... | 38e17303035d3e84454d3afac195e11f983f76f9 | [
"Markdown",
"Java"
] | 3 | Markdown | birogul2014/android_listview | 2d5deee076f7f0b5ce907a0b11c915fa67304a50 | 54fbe5af34cabb7bc34942bd089cb058602f5576 |
refs/heads/main | <repo_name>ScottStanton/Python-Ticker<file_sep>/README.md
# Python-Ticker
This is a small program to get stock values from Yahoo and display them on the command line.
This program is a way for me to learn two new items.
1. Python
1. Git
I guess I'm also learning markdown by writing this readme file.
If you like this... | 02c35d0c2fbd6dd11e07c3768fb96ddf78cd6c75 | [
"Markdown",
"Python"
] | 2 | Markdown | ScottStanton/Python-Ticker | 9f55ce79fa20cf93531a461d833e42f79e848599 | 46bfb06f9357d5434b870ad20c38bc767d6c1895 |
refs/heads/master | <file_sep># coding: utf-8
import os
import sys
import webbrowser
import pyqrcode
import time
import re
import random
import xml.dom.minidom
from safesession import SafeSession
import json
from collections import defaultdict
import multiprocessing
import mimetypes
class WeChat:
def __init__(self):
self.m... | a1ad71108dd9cd2229dbfc7e49409667abe84144 | [
"Python"
] | 3 | Python | stoneSJH/WechatClient | 549ef3c0858247aad48d0d8fdc561d0acb994464 | 19055029b2d944a368169b94e065f8059de3c65a |
refs/heads/master | <repo_name>KillerDeveloper/VPN_Android<file_sep>/app/src/main/java/com/example/vpnandroid/MainActivity.java
package com.example.vpnandroid;
import androidx.appcompat.app.AppCompatActivity;
import android.net.VpnService;
import android.net.VpnService.Builder;
import android.os.Bundle;
import android.os.ParcelFileDescr... | 91b813b2adff39485b2088b5ee56cb4731987c06 | [
"Java"
] | 1 | Java | KillerDeveloper/VPN_Android | eb0864c5089d165e3dd39e2eda76ccae9384e62c | 43c1c5365f0bfacdd59ee0ebac36fb0fee80e803 |
refs/heads/master | <file_sep>class Calculadora
def soma(n1, n2)
n1 + n2
end
def subtracao(n1, n2)
n1 - n2
end
def multiplicacao(n1, n2)
n1 * n2
end
def divisao(n1, n2)
case n2
when 0
0
else
n1 / n2
end
end
def calcular(n1, n2, op)
case op
when '/'
n1 / n2
... | 87352d802fdac306378b0904cfebaecfba017c19 | [
"Ruby"
] | 1 | Ruby | tuannyruiz/codesaga-ruby | 06bffbb61f9d5718668ec6bf01925f95da118e24 | 0adc73e28eb5b4c9bb1177f69497a770ff5fa2d9 |
refs/heads/master | <file_sep>package warrior2;
import java.util.ArrayList;
public class Board {
private int position;
private ArrayList<Cell> cases;
private Gobelin mob;
private Menu menu;
public Character mag;
private final int BOARD_SIZE = 64;
public Board() {
this.cases = new ArrayList<Cell>();
this.menu = new Menu();
... | a9626a29fb7e5ddddae0527051c901fd9e24dc07 | [
"Java"
] | 11 | Java | Git-Sebastien/Warrior2 | bd38b9bee98f71bf2f225f15e93dd920e318f6e0 | 247b4f4b98fe2a496527f2c04e48e5fe5a2b65c2 |
refs/heads/master | <file_sep>package com.guan.panegame;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.view.KeyEvent;
/**
* 实现主角及主角相关元素的类
* @author Administrator
*
*/
public class Player
{
//主角的血量与血量图,血量默认为3
private int playerHp=3;
private Bitmap bmpPlayerHp;
//主角... | a7d5b571da23176dca8ad4c9a3e5cb87cfa377eb | [
"Java"
] | 3 | Java | guanMac/android_paneGame | 9f1ded4b9b08f6826ac074d98e3b5a6f202eb06f | 4d134248d3fb5d8b3314d5ec4bd43a7d046b20f6 |
refs/heads/master | <file_sep>package myfirst;
public class Remote {
public static void main(String[] args) {
System.out.println("Hello this is remote page");
}
}
<file_sep>module myfirst {
} | 1abfc55532ccba4a6782457358a6f79e33d74eea | [
"Java"
] | 2 | Java | ypavankrishna/iderepo | 752fdf2aaf6799d2181a5b746c9053132735953e | 7daf1296b625dd07cc680402d7a375bcc9a59a64 |
refs/heads/master | <file_sep>/* File: inlineEdit.v3.js
Title: Mootools inlineEdit Plugin
Author: <NAME>
Url: http://justinmaier.com
Date: 2008-06-06
Ver: 1*/
var inlineEdit = new Class({
Implements: [Options,Events],
options: {
onComplete:$empty,//passes element
onLoad:$empty,//passes element,input
onKeyup:$empty,//passes... | ad946e0726998173b23556b82c331ff9c964e0a9 | [
"JavaScript",
"Ruby",
"Markdown"
] | 8 | JavaScript | alexgb/wordsworth | 0b861a7c9f2e731fc9d82b6e1527912a33bb6ac8 | 66963e623a9d0fcce332c91192cfa4eb37a42248 |
refs/heads/master | <repo_name>iamdavidmichaelmoore/triangle-classification-v-000<file_sep>/lib/triangle.rb
require 'pry'
class Triangle
attr_reader :length1, :length2, :length3
def initialize(length1,length2,length3)
@length1 = length1
@length2 = length2
@length3 = length3
@lengths = [length1, length2, length3]
en... | 2191c1dc3663f8e6bbc6475232eeb2e468cbae90 | [
"Ruby"
] | 1 | Ruby | iamdavidmichaelmoore/triangle-classification-v-000 | f7a25b7333cc05a7c7e3440ffc419e9f716a06a9 | 0f6268aa411ee5dccf1eaa12a8f80112865feb8a |
refs/heads/master | <file_sep>-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 21, 2019 at 12:04 AM
-- Server version: 10.4.6-MariaDB
-- PHP Version: 7.1.32
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40... | 92460592e95fd22dec44b77c292a34eafbe9d387 | [
"SQL"
] | 1 | SQL | washie254/cleaaranceSystem | 77ba9bdc97f4f2e3c43000628fac94a53a82fda1 | 65436902d5bcd5d976537fb19942c5115be8e2aa |
refs/heads/master | <repo_name>varunchanddra/SLAM_with_YOLO<file_sep>/bbox.h
#include <stdio.h>
#include "darknet.h"
// #include "stdio.h"
// #include "stdlib.h"
// #include "opencv2/opencv.hpp"
// #include "image.h"
// image ipl_to_image(IplImage* src)
// {
// int h = src->height;
// int w = src->width;
// int c = src->nChan... | 3a17e2806d709db1754f0225d82d130a686d5ca8 | [
"C",
"Python",
"C++"
] | 3 | C | varunchanddra/SLAM_with_YOLO | fa5d1f18a8bad3594903ec6c5c3932af813e5598 | 2bad2a7a51ba9d8b217485d300cd3b6a1d84b8f9 |
refs/heads/master | <repo_name>buddalasunil999/RserveCLI2<file_sep>/RServeCLI2.Example/RserveExamples.cs
//-----------------------------------------------------------------------
// Copyright (c) 2011, <NAME>
// All rights reserved.
//-----------------------------------------------------------------------
namespace RserveCLI2.Examp... | 042cebf14d67373474e7913c3f94660d4f923b9e | [
"C#"
] | 1 | C# | buddalasunil999/RserveCLI2 | 5299e8316068070983c258411b6af4c171718e0b | 6ddd1a2df298fdf4e48abddf04ae777a7644c8e9 |
refs/heads/master | <repo_name>englishphilosophy/hume-texts-online<file_sep>/texts/n/12.md
---
layout: 'texts'
text: 'N.12'
tab: 'text'
---
<file_sep>/texts/h/vol5/full.md
---
layout: texts
text: 'H.Vol5'
tab: 'text'
---
<file_sep>/texts/m/app1.md
---
layout: 'texts'
text: 'M.App1'
tab: 'text'
---
<file_sep>/texts/mol/index.md
---
layout:... | 987fc9ac3783ea5f5c2a2e0be652f01f14096aba | [
"Markdown",
"JavaScript"
] | 222 | Markdown | englishphilosophy/hume-texts-online | a6423214815f1d89b603b2618d53dabb9c5d9930 | 49a48d4d283c7b268f9e72bdbab6917b732b9712 |
refs/heads/main | <file_sep>// Write your code here.
import './index.css'
const WinOrLossCard = props => {
const {currentScore, onClickPlayAgain, isWin} = props
const resultImage = isWin
? 'https://assets.ccbp.in/frontend/react-js/won-game-img.png'
: 'https://assets.ccbp.in/frontend/react-js/lose-game-img.png'
const res... | e4fdcb7c37837d829a3103843eb9343423f55d02 | [
"JavaScript"
] | 2 | JavaScript | sahusuneel777/Emoji-Game | e80dbaccb68dbae1d45faa923c51abdd1d420843 | ff59b9779e1b955ff3dd438998676afc03772e5a |
refs/heads/main | <repo_name>Reksa4/get<file_sep>/4dz.py
from gpio import GPIO
import time
def runninDark(count,period):
x = 0
GPIO.output(0,1)
GPIO.output(1,1)
GPIO.output(2,1)
GPIO.output(3,1)
GPIO.output(4,1)
GPIO.output(5,1)
GPIO.output(6,1)
GPIO.output(7,1)
for i in range(count):
GPI... | f4cc7cb41379c699e7433f17bc91e641947c84a8 | [
"Markdown",
"Python"
] | 5 | Python | Reksa4/get | 554ab1a816bc1bbf9791fe3acc03b8a215cbe62f | 46ee0b89849ba50184b60f927a424df47b0bbc24 |
refs/heads/master | <repo_name>zjjfx88/demo_pro<file_sep>/webqo/views.py
from django.shortcuts import render, HttpResponse
import time, json
import requests
from bs4 import BeautifulSoup
import difflib
def debug(request):
if request.method == 'GET':
return render(request, 'webqo/debug.html')
elif request.method == 'PO... | c8589dbaf573acc2263e2b13a3211537775f6e1e | [
"Python"
] | 3 | Python | zjjfx88/demo_pro | 97ead80d504eff4a1bcf32e05eecb9b6a8445510 | db9c5257af3037442624be32d278bbe5db59f547 |
refs/heads/master | <repo_name>Nafiz43/Poritran<file_sep>/app/src/main/java/com/example/poritraanvolunteer/WaitingForApproval.java
package com.example.poritraanvolunteer;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
public class WaitingForApproval extends AppCompatActivity {
... | c36652e0bca47e725c2f6bd110ff21cea70db1cc | [
"Java"
] | 2 | Java | Nafiz43/Poritran | 4f4e86e0828ce2d4ac67ec86f424d306b32b67c0 | 1d2ba817611c005c77825a5fe8c4b21e682ac880 |
refs/heads/master | <file_sep>// from data.js
var tableData = data;
console.log('we are totalling running app.js')
// YOUR CODE HERE!
function createtable(data){
var tblbody = document.getElementsByTagName("tbody")[0];
for(var i = 0; i < data.length; i++){
var row = document.createElement("tr");
var... | d9f8efed6a70f51592642a58ddd87e25c0e638f8 | [
"JavaScript"
] | 1 | JavaScript | anyx8860/javaskscript_intro | d0e27b94f9e7662d7bb0c054294e065e2969171e | 820c0a34ddd43a9035157d5d33245d6177b4f186 |
refs/heads/master | <repo_name>iwanbazz/assignPhp<file_sep>/test2/file_types/Type_C.php
<?php
return [
'columns_size' => 5,
'columns_header' => [
'Field_A',
'Field_B',
'#Field_C',
'Field_D',
'Field_D*'
]
];
<file_sep>/test2/src/ExcelValidator.php
<?php
namespace IwanBazz;
use PhpOffic... | 8064d388a990093f1bfbaab1ea3b691fcf88789c | [
"PHP"
] | 6 | PHP | iwanbazz/assignPhp | d520fd602032e0b6e4e711f75851a9f8af917f8d | 8c7d7cfcf597845b990fd13da17a8fe011219a5e |
refs/heads/main | <repo_name>Nuglif/TestingComparison<file_sep>/README.md
# TestingComparison
Comparaison de librairies d'assertions sur Kotlin/Android.
<file_sep>/app/src/test/java/com/example/testingcomparison/AssertJTest.kt
package com.example.testingcomparison
import org.assertj.core.api.Assertions
import org.assertj.core.api.ListA... | ad18ef91ba318bbd1b74de7c8a378689baf13498 | [
"Markdown",
"Kotlin",
"Gradle"
] | 6 | Markdown | Nuglif/TestingComparison | 971c23293c88adfd2c33636c2d4e910d67e9d41d | 66a48455f8756e3b03214f0dbd4887a374800d08 |
refs/heads/master | <repo_name>conyourface/pysites<file_sep>/getcontent.py
from requests_html import HTMLSession
session = HTMLSession()
# tlist=[]
# mylist = [ ]
# i=1
# while i<3:
# url='http://www.snqbbs.co/forum.php?mod=forumdisplay&fid=2&orderby=dateline&orderby=dateline&filter=author&page='+str(i)
# i=i+1
# print("正在查询第",i,"页")
#... | 8ce9cfcfa7eac45d2c3c6a01a59cbcedf5da45e1 | [
"Python"
] | 1 | Python | conyourface/pysites | 625dbf7d6c97ab62ae70767253f9a266ba4e6a32 | 32713dbbfd53fc20d1e1f86da2786631f455c54e |
refs/heads/master | <file_sep>package server;
import com.google.gson.Gson;
import models.Game;
import models.GameStorage;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
import java.util.*;
@Controller
@RequestMapping("/api/games")
... | a76b67849fd95fddaf39a497e04ed9593e603d4e | [
"Java"
] | 2 | Java | brandon-fenty/12-restful-server | cbd18feb0633a9b2727a1c0159b8dc5b9153c612 | 9e85a58ccb738326c7a172ccd259960b5e866d18 |
refs/heads/master | <file_sep><?php
namespace yii2patterns\traits;
/**
* Class SplObserver - Трейт для реализации интерфейса \SplObserver
* @package yii2patterns\traits
*/
trait SplObserver
{
public function update(\SplSubject $subject) {
$this->handle($subject->getContent());
}
}<file_sep><?php
/**
* Created by Php... | e727acb3a32577855f2ca12a95484c576ef163dc | [
"PHP"
] | 8 | PHP | kurlovichdv/yiipatterns | 27f66d3cf1f5a947147e29cc8997d11aafb4e523 | a0eb4a61bbba2e6c7898a944e54d028edf5b6368 |
refs/heads/main | <repo_name>Mati2206/my-first-chess<file_sep>/main.pyw
import pygame
from CONST import *
from Figures import Figures
import os, sys
class Game:
def load_image(self):
self.images = {}
for img in os.listdir("images") :
self.images[img.replace(".png", "")] = pygame.transform.scale(... | 8cdf4904951182bb457b3b989d387bafb21b416b | [
"Python"
] | 3 | Python | Mati2206/my-first-chess | 69db0b4ea507bed7ee6a0c58124500c8a4fb9f94 | a4a2f1fa04ce9241522c3b8a1101844e1f33cb3c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.