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>guojianping1234/JavaDemo<file_sep>/src/main/java/com/myspringbt/demo/dataSource/DataSourcesConfig.java
package com.myspringbt.demo.dataSource;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework... | b74dc6bcfcd6356799a54fab00bd67fed26250ee | [
"Java"
] | 2 | Java | guojianping1234/JavaDemo | df11a62c1f046c22731237b3044b7a829e90e86e | 3e96933f10250f1f203776499631594da4a87971 |
refs/heads/master | <file_sep>/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_info.c :+: :+... | 47f040e734cc40f99781302a3eb0f9c6fbc1975b | [
"Markdown",
"C",
"Makefile"
] | 4 | C | iles982/Lem_In | c2058a372f5627a74f527db516d8b669e317e6ec | 6357d50da6f93dac9e818fd6b870b578e603a0ce |
refs/heads/master | <file_sep># v3schools - Basic HTML Editor
## Functionalities covered
##### 1) List out the programs in dropdown
##### 2) Allow to Edit & Run the code
## Technology Stack
##### HTML, CSS Javascript, Jquery, NodeJS
## Software Requirement
##### NodeJS
##### ExpressJS
##### Chrome Browser
## Steps to Run the app
##... | 47c76df6294e04c0b8deb0d8c26a04486becae79 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | webtech-thozha/v3schools | eed6516a0243042705c4be22d446f021505f5cb0 | 725c211c46caaf9e115d99f5e57fd6c8b441d51c |
refs/heads/master | <file_sep>#define BOOST_PYTHON_STATIC_LIB
#include <boost/python.hpp>
#include <boost/thread/thread.hpp>
extern double prog;<file_sep>svipul
======
Proof of concept of Python-Boost::Python two-way communication
<file_sep>from django.http import HttpResponse
from django.shortcuts import render
from django.http impor... | cfbf329b179000dc3e0a00b9eaf1bbb369f7d55b | [
"Markdown",
"Python",
"C++"
] | 6 | C++ | fabiomdiniz/svipul | 095be5011b1130847c15f99425a15fc0c9d58cfb | a30252e9758abb8dcf5627f8fa501ea0281933bc |
refs/heads/master | <file_sep>var bio = {
'name': 'Tania',
'role': 'Java Developer',
'contacts': {
'mobile': '029838882',
'email': '<EMAIL>',
'github': 'stromnt',
'twitter': '#stromnt',
'location': '5 Martin Crescent, Westville, South Africa'
},
'welcomeMessage': 'Welcome to my h... | e0bf78418be5c0f5e50f7ad790655cc565b02ca1 | [
"JavaScript"
] | 1 | JavaScript | stromnt/frontend-nanodegree-resume | 9555a1692a529b8dca54cf7c8cd68b5147ca5826 | abf4e59a32267b22de2c53503c61ced6e5ccefad |
refs/heads/main | <file_sep>package com.example.demo.mapper;
import com.example.demo.model.User;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface UserMapper {
public User login(String username, String password);
public int register(User user);
public int del(String[] ids);
... | 28319a287173336f806333ec6ba4a693b15175a0 | [
"Markdown",
"Java"
] | 2 | Java | milandexiaohonghei/Usermanager | a04fcd22902a1538ec510c9c0c80aed674323ce4 | c79a98ea23c2a77231d7ee1240cc18ad16743e7a |
refs/heads/master | <repo_name>kap256/CookieTools<file_sep>/test.js
function rawFormatter(val) { return Math.round(val * 1000) / 1000; }
var formatLong = [' thousand', ' million', ' billion', ' trillion', ' quadrillion', ' quintillion', ' sextillion', ' septillion', ' octillion', ' nonillion'];
var prefixes = ['', 'un', 'duo', 'tr... | a1a29a5c93b8878ac893fe2ecdcc3be4211501d3 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | kap256/CookieTools | 1a7bc2371a9d417621404264047c74665cd4a136 | 1ebd40d8d49e458055f08722affd1ea3827f8538 |
refs/heads/master | <repo_name>hkage/git-tools<file_sep>/commands/git-lost-commits
#!/usr/bin/env python3
import argparse
import subprocess
# Copied from SO http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'... | e1022d860500dbd5f55c7598df66353d46bdc882 | [
"Markdown",
"Python"
] | 2 | Python | hkage/git-tools | 921369d064bf2986bbe2c5a910c4a937ee76680b | 5ce4e2e80a7c7b4ddc950287a41e4551e8455f41 |
refs/heads/master | <repo_name>rogerbraun/QuickImage<file_sep>/config.ru
require "./app.rb"
require "rack/timeout"
use Rack::Timeout
Rack::Timeout.timeout = 5
run Sinatra::Application
<file_sep>/app.rb
require "rubygems"
require "bundler"
require "open-uri"
require "cgi"
Bundler.require
get "/" do
redirect "/index.html"
end
get "/fav... | 35105571b33e1b018da4ef760d38554a2b12fd07 | [
"Ruby"
] | 3 | Ruby | rogerbraun/QuickImage | 55fd5d6f04c462626692dc3f31d0088b3dcd91f0 | a3b9f7f92c7f902c4404b9712fabcef217e78b7c |
refs/heads/master | <repo_name>SPuerBRead/Small-tools<file_sep>/SubDomainQuery.py
import argparse
import requests
import re
class SubDomainQuery():
def __init__(self):
UrlList = []
def Query(self,url):
data = {'domain':url,'b2':1,'b3':1,'b4':1}
Queryre = requests.post('http://i.links.cn/subdomain/',data = data)
file = Queryre... | 1774eaffb1c2e39996ad32a3dae7f1e3b0a8f2ac | [
"Python"
] | 2 | Python | SPuerBRead/Small-tools | 4548d6f03ca7907236f8c97bd556d5d61d43a782 | 76e3ef0ead47098482a736de07e1437e1c3dbb17 |
refs/heads/master | <repo_name>prise-3d/Thesis-Denoising-autoencoder<file_sep>/image_denoising.py
# main imports
import os
import json
import pandas as pd
import numpy as np
import argparse
# model imports
from keras.layers import Input, Conv3D, MaxPooling3D, UpSampling3D
from keras.models import Model
from keras import backend as K
from... | 22aded9d235581d15a9968dad963039297c85c35 | [
"Markdown",
"Python",
"Text"
] | 6 | Python | prise-3d/Thesis-Denoising-autoencoder | 2a9d995fc69578897bcf0ba57792e1c430e5993e | c1aeab7da92871b51a30f3692f2345b85e6578b6 |
refs/heads/master | <repo_name>JustinCredibleGIT/volumetric-explosions<file_sep>/Volumetric Explosion Sample/Common.h
#ifndef COMMON_H
#define COMMON_H
// =======================================================================
// Global register indices
// =======================================================================
#def... | 6f5052aa2b113471ed03d0bce678fbadf8147528 | [
"Markdown",
"C",
"C++"
] | 3 | C | JustinCredibleGIT/volumetric-explosions | c0e2ff4f71a0f7dbb0ae7c766fbc972884053b4f | 3fc3f94b09fffbaa04b3697d9020f2a50b0e397b |
refs/heads/main | <repo_name>alexg-rgb/cssGrid<file_sep>/script.js
livingPlace = prompt("Tell me where you live \n 3 questions left");
reasonWhy = prompt("Now tell me why you live there \n 2 questions left");
greatPlaceQ = prompt("And do you like this place \n 1 questions left");
favouriteTea = prompt("What's your favourite tea ? \n La... | 70a788a66153e82df8e9ae409cfb0ccdc4cf7d6f | [
"JavaScript"
] | 1 | JavaScript | alexg-rgb/cssGrid | a70f768092731891724d8b1b7682502fd7d0a7b4 | 4ab098330feda584ee499dcd686f055b7fac6d5b |
refs/heads/master | <file_sep>package test.com.ctrip.platform.dal.dao.configure.file;
import com.ctrip.platform.dal.dao.configure.DataSourceConfigureConstants;
import com.ctrip.platform.dal.dao.configure.file.PropertyFilePoolPropertiesProvider;
import org.junit.Assert;
import org.junit.Test;
import java.util.Map;
public class PropertyF... | 67ab5fdcc775efe1598f7f24de4b7e45c31b82a1 | [
"Java"
] | 6 | Java | gaolufree/dal | b33b74c7dccb27c0293d3abf82c4658c25e7c642 | 97e18dfdcbce87550e2292c7a417b4c0f1791cf4 |
refs/heads/master | <file_sep>/*12
Entregable_10 con clases
Programa: proyecto control de ingresos hospitalarios
Estructura: selectiva multiple y repetitiva do while y while con arreglos y objetos
Autor: <NAME>
N° lista: 7
Fecha: 5 de marzo del 2015
Implementar la clase Medicamento (Superclase) y Medicamento_perecedero (Subclase) del p... | 2eedf618a8f7cb3637ed817ec98d670a62394c7d | [
"Markdown",
"C++"
] | 2 | C++ | luigisdeveloper/61-ProyectoHospitalConcluido | 422695ad4c6bfe19788bb849959ce8440ae723e2 | a451b0c8bfb1688adaa168e8228454ebbb2d4dd9 |
refs/heads/master | <file_sep>import lozad from 'lozad';
import 'intersection-observer';
if (module.hot) {
module.hot.accept();
}
IntersectionObserver.prototype.POLL_INTERVAL = 100;
const observer = lozad();
observer.observe();
const lazyLoad = () => {
const images = document.querySelectorAll('.lozad');
for (let i; i < images; i+... | fa4b839260cd6b9bf3001e879c4e729505e6b0a1 | [
"JavaScript"
] | 1 | JavaScript | InBracketsIO/boilerplate-static | 1a4dd0fa876e0f9c16f13a3ce2d1499a3bc4c426 | 36a25678049ca365a5cb91c3cd799da6875ca9ed |
refs/heads/master | <file_sep>package uk.co.jimmythompson.robocleaner.geometry;
import org.junit.Assert;
import org.junit.Test;
public class CoordinateTests {
@Test
public void getXShouldReturnSpecifiedXCoordinate() {
Coordinate coordinate = new Coordinate(1, 0);
Assert.assertEquals(1, coordinate.getX());
}
... | 294d4257dc03452226fa2b8ca918adaf3cd42928 | [
"Java"
] | 16 | Java | jimmythompson/robo-cleaner | d646a853211db29637d9fc6803ec585751b2ff81 | 428051d3fca09f4ec743259c641913d506fc44b6 |
refs/heads/master | <repo_name>KELiON/cerebro-mac-apps<file_sep>/Readme.md
# cerebro-mac-apps
> Plugin for searching and launching applications on MacOS [Cerebro app](http://www.cerebroapp.com)
Note: this plugin on MacOS works better, than `cerebro-basic-apps`.

## Usage
Search for any application on your machine.
... | f4bd6854b9377c269d6fb708d60c13ced53737cb | [
"Markdown",
"JavaScript",
"Shell"
] | 4 | Markdown | KELiON/cerebro-mac-apps | dc00d5bce85fca926a665046277f1e9669ad5e18 | 8793e165e590c61f1d340ecc68e11236ea9c7c0a |
refs/heads/main | <file_sep>import React from 'react';
import { MapContextProvider, MapContext } from './contexts/Map.js';
import Map from './contexts/Map';
const App = () => {
return (
<>
{/* <BrowserRouter>
<MapContext.Provider>
<Switch>
<Route />
<Route />
<Route />... | 5c5f8ce8aceccd40b87c52836de27662e850c872 | [
"JavaScript"
] | 1 | JavaScript | jeremy93130/bars | ce1196d2768d0272a38e6e87c552cae5da1b0475 | 0f1124f3baea01655f42c165004b361de6cea006 |
refs/heads/master | <file_sep>"""
The ``elmo`` subcommand allows you to make bulk ELMo predictions.
Given a pre-processed input text file, this command outputs the internal
layers used to compute ELMo representations to a single (potentially large) file.
The input file is previously tokenized, whitespace separated text, one sentence per... | 9c1e87ccf7b4a9e9509862db462eaeeed7d0875a | [
"Markdown",
"Python"
] | 8 | Python | HMJW/DepSAWR | 15c87dadd7a4389d92054fcf89a09dead75c6a82 | d81250f10a58d8ca89fc6051801f328fc00b4fc4 |
refs/heads/master | <file_sep>package com.example.hp.firechat;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.... | a3fe78a82c9f6f38c31b8985bcd9c8f755bdcafa | [
"Java"
] | 11 | Java | AjayKannuri/FireChat | e5691407c234ccc660713033599631e54414e638 | 6eabc808cb5fcd5f476e704e145f4868737e0d17 |
refs/heads/master | <file_sep>import React from 'react'
import css from '../../lib/css/'
import styles from './styles'
import Tabs from 'react-responsive-tabs'
export default ({
tabs = []
}) => {
const getTabs = () => tabs.map(tab => ({
...tab,
content: (
<div
className={css(styles.content)}
dangerouslyS... | e8ca363925067657596733954f4ea737d5ac29ce | [
"JavaScript"
] | 39 | JavaScript | everydayhero/step-a-thon | 1869d8ab3e062c9348538a82f08201eadd8f321e | 32ebe563ff6836e427b8293a7635ae056892d92c |
refs/heads/master | <file_sep>/*
* Author: <NAME>
* Date: 12/14/2020
* Period: 7
*
* About: Represents a 3-Dimensional Cube object
*/
// Two imports - Scanner and Math Class from the Java Standard library
import java.util.Scanner;
import java.lang.Math;
// Class that represents a Cube object
public class Cube {
// Field declarat... | c3934b0b900b449ef4ada53a353f90a502b5645e | [
"Markdown",
"Java"
] | 6 | Java | MahanthMohan/Java-Programs | b0816a2f63ccee659115e9deb53c5bb67c2c1324 | cbd8bcbd3089b9003c2b3784ddacceeea75dc7e2 |
refs/heads/master | <repo_name>ikles/konfor<file_sep>/js/common.js
jQuery(function() {
jQuery('.mini-cart .titlecart').html('Корзина');
jQuery('.productdetails-view.productdetails .vm-price-value').prepend(jQuery('.box-container2 .availability.out-of-stock'));
jQuery('.productdetails-view .vina-des-wrapper .price-box .vm-price-va... | 2e025ab104e9cedd95295ba8f5e2da33f8117e23 | [
"JavaScript"
] | 1 | JavaScript | ikles/konfor | 353e7fe806dcbcb537034a1b8408fb951dabf005 | 4184a10170df9ea7e209d365282b187ddfbbd913 |
refs/heads/master | <file_sep>/*angular.module("myApp", [])
.controller("myFirstController",['$scope', function ($scope){
console.log("This is form controller");
$scope.hello="hello world";
}]);*/
angular.module("myApp").controller("myFirstController", function ($scope)
{
let Student=... | d1e6ec58488872594a0e1de3332e6f443fbd0f46 | [
"JavaScript"
] | 1 | JavaScript | bhagyasree2895/angular_sample_app | 987e8259b58af2cf3fa544e775135513b7736d7e | 7eec98a05673c7b82241f164a7beaf55ff8d7822 |
refs/heads/master | <file_sep>from django.shortcuts import render
from . import models
from django.db.models import Q
from django.core.paginator import Paginator
# Create your views here.
app_name='blog'
PAGS = 1
def index(request):
queryset = request.GET.get('buscar')
publicaciones = models.Publicacion.objects.filter(estado=Tr... | fa1acd4d39dda365f4f95e6f76f923b2d4541d4e | [
"Python",
"Text",
"HTML"
] | 8 | Python | Alex-MSX/django_blog | fd68ecf69ff7f2d9310c851d98ec330dfb56d9bb | 0bb4fc57a9e1e8786fd821145d44eadde7837bdc |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Repositories\CommentRepository;
use App\Repositories\UserRepository;
use App\Repositories\NewsRepository;
use App\Http\Resources\Resource as NewsResource;
class ResourceController extends SiteController
{
/**
* Display a l... | bc892d9ccf88905e5301e8c5ccd9856a89b8d0b3 | [
"PHP"
] | 10 | PHP | AndreyDuda/news | b0c6768ca7a02631b3f4f52121664feb5b724e42 | f1f2341b7ae696ccc5f570cc292437f29b7c29f4 |
refs/heads/main | <file_sep>from rest_framework import status
from rest_framework.response import Response
from rest_framework.generics import GenericAPIView
from .serializers import GoogleSocialAuthSerializer, FacebookSocialAuthSerializer
from rest_framework.permissions import IsAuthenticated, AllowAny
class GoogleSocialAuthView(Gene... | dbd6065df85340374192ad2a3b7b8d005a80cc7e | [
"Markdown",
"Python"
] | 12 | Python | pvfarooq/tfora_social_auth | 3cd0a0b365371d67a1b784000a31193141129875 | 98c2a187f8c1661172d2e617912fff24c20d9d41 |
refs/heads/main | <file_sep>var bg, bgimg, play, playimg
var gamstate = "serve"
function preload(){
bgimg = loadImage("images/bakery.jpg");
playimg = loadImage("images/play.png");
}
function setup(){
createCanvas(1200, 800);
bg = createSprite(600, 400);
bg.addImage(bgimg)
bg.scale = 2
play = createSprite... | 051644038ce8cdbef08eea4634b33d9501377cb5 | [
"JavaScript"
] | 1 | JavaScript | Nayana-01/p-44 | d12c7b41f32474dd942f79ef51d6f0dfddfb16dd | 400cf5be88769f42be25682c9f8c4aa1c2122968 |
refs/heads/main | <file_sep>#Dataset from COVID-19 Radiography Dataset on Kaggle
#start imported libraries
import os
import shutil
import random
import torch
import torchvision
import numpy as np
from PIL import Image
from matplotlib import pyplot as plt
torch.manual_seed(0)
print('Using PyTorch version', torch.__versio... | 319dbb3bf83a8f302b6bdcd75075b110820efa12 | [
"Markdown",
"Python"
] | 2 | Python | mgg39/AI-Detecting-Covid-with-Chest-X-Ray | d6079a1d2a1443807e21698cf62836c66ba93c63 | 557ec62f90c1dc651c0f40cdf3a8ae34897de4a3 |
refs/heads/master | <repo_name>weiyufangchen/yanxuan-react<file_sep>/README.md
## react项目
### day01
```
1. 复习react相关知识,语法,和作用
2. 搭建脚手架项目
3. 配置stylus语法编译
4. 搭建路由和页面底部路由切换
5. 首页静态页面完成
bug:
样式重叠
多个文件的样式类名相同,导致样式被覆盖
解决方法:修改类名
```
### day02
```
完成5个路由页面和手机登录,邮箱登录页面,并完成登录验证、定时器等功能
动态添加数据完成80%
bug:
1. 数据为null或者undefined
解决:绑定数据之前判断数据是... | c0245f99d97131edd46629deab028f66c867dc8d | [
"Markdown",
"JavaScript"
] | 19 | Markdown | weiyufangchen/yanxuan-react | 3ff0cf819f378e147800c17c7e7708c428e6d1c2 | 4c98ab73d7867a09a2f41ad2a9691b9036d0bb11 |
refs/heads/master | <repo_name>erodriguezv/LocalScripts<file_sep>/deploy.py
#!/usr/bin/python
import sys
import os.path
import os
# ######################################################################
# we define the environments
environments = {
"dev": {
"host": "switch.zion",
"user": "zato",
"pickup": "/za... | 9676a0026f1cd2c96b92d446964c26d504293fba | [
"Python"
] | 1 | Python | erodriguezv/LocalScripts | b67d0e2d2cf77e44857f4d0c9d76f1c0769a85f1 | 1286b906a044a4a68238ccb361e69fd6ce6cc5a1 |
refs/heads/master | <repo_name>lbenvenutoc/cibertec-java-adv<file_sep>/src/main/java/pe/edu/cibertec/dao/impl/UserDaoImpl.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pe.edu.cibertec.dao.impl;
import org.springframework.stereotype.Repository;
import pe.edu.cibertec.dao.U... | 5bd42c29352b9c8136363d10de4e00498b185894 | [
"Java"
] | 1 | Java | lbenvenutoc/cibertec-java-adv | 99e4d7c3116da4c5e7c77809a4b8b4a1e93fb7fd | 02a2f4b3a3589fcef0eb111ad5bdcd2bfeb02b9b |
refs/heads/master | <repo_name>JavaJames93/next-express-strapi-base<file_sep>/app/next.config.js
require("dotenv").config();
module.exports = {
exportPathMap: function () {
return {
'/': { page: '/' }
}
},
env: {
API_URL: process.env.API_URL
}
}<file_sep>/app/src/pages/section.js
import React from 'react';
impo... | 716edbb8ec834b8550b1e5a73b61a66c9ecbe9c9 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | JavaJames93/next-express-strapi-base | df7e9f2492a6abe75df0e732df7d2c478f6774e0 | cad21fab519dd750956c943e9ece767f405bcc08 |
refs/heads/master | <file_sep># MyWebApp
This is a series of pages to show off my skills learned from the UDEMY Web development Couse.
List of features:
1. Search for movies, series and games from the IMDb website. The search will return a grid of posters. You can click on each poster to retrieve more informaiton about the chosen item.... | 7175dbeaa31abda69f08e2f27a2beb399da1b0ca | [
"Markdown",
"JavaScript"
] | 2 | Markdown | peterjdrb/MyWebApp | ad27f4c1120e5e5b16265457d97f6a01b46a3f89 | c9d5b6db75e76e7dbc446e715e346225ab080f3b |
refs/heads/master | <file_sep>$('.emailUs').on('click', function(ev){
ev.preventDefaults;
window.location.href = 'mailto:<EMAIL>?subject=ContactUs&=Hello,';
});
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
center: {lat: 39.6400, lng: -86.8630},
zoom: 16,
});
var marker = new googl... | 850011567abe7df3a9d0b7474c760660d2d3e258 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mklic17/cafe-roy | 6c88c92adb7a4bd8231fb883f64a6db89877a803 | 6c8ed07f0fd60243d5a2b12bfdb501c0e72c2a70 |
refs/heads/master | <file_sep>---
layout: post
selection: music
lang: en
permalink: /music/
---
# Music
Music is one of the things I like the most of all. All about it.<br />
I've struggled a lot to be able to play guitar decently enough. The guitar is my musical instrument, is the one I know the best, I feel comfortable playing it, al... | c0b8d0919a2fcba8bc665aa107d64d73b3ec9019 | [
"Markdown",
"JavaScript",
"HTML"
] | 51 | Markdown | roymacdonald/roymacdonald.github.io | e782d8ebb6db87a9322f9a1a11a0100471f87cf5 | f83767a84a86e2be94f86a82b8beb330303c03c7 |
refs/heads/master | <repo_name>akashkumar916/Bobble_internship_answer<file_sep>/Solution_2.cpp
#include<bits/stdc++.h>
using namespace std;
#define ll long long
//Number of alphabet
const int alpha=26;
//Structure for my tree
struct trie{
trie* children[alpha];
bool is_leaf;
};
//Making the new node
trie* new_node(){
trie* temp=n... | 9da0a2685611d8e690a36878ca027df84468331d | [
"Markdown",
"C++"
] | 4 | C++ | akashkumar916/Bobble_internship_answer | f80962a55e77c54908836aa8711966a8b5046084 | 8ac6e8a15ac44cd25207c2c4d3505dc7e8b06075 |
refs/heads/master | <repo_name>ZFK07/Digitized-Elibrary<file_sep>/E Library/.picasa.ini
[4.JPG]
backuphash=6849
[4 - Copy.JPG]
filters=finetune2=1,0.000000,0.000000,0.000000,00000000,0.017544;
backuphash=8373
[11855917_10153226486778411_1021952139985994376_n.jpg]
backuphash=10538
[principal.jpg]
backuphash=36757
<file_sep>/article/js.js
f... | cffe05cff9a9a9620cd57b6b1418f744e77c55ba | [
"JavaScript",
"Markdown",
"INI"
] | 5 | INI | ZFK07/Digitized-Elibrary | 9368dda96f809d682bbe7e7c891990f5e738039b | b4b884c81fbec6289d28d41e47387926efa01af5 |
refs/heads/master | <file_sep>'use strict';
import './../assets/css/master.css';
import angular from 'angular';
import ngAnimate from 'angular-animate';
import uiRouter from 'angular-ui-router';
import routing from './app.config';
import header from './directives/_shared/header';
import nav from './directives/_shared/nav';
import sideB... | a6dbead3a16080a69ac75c6acaf62b838d1ab498 | [
"JavaScript"
] | 12 | JavaScript | rpasqualone/etms_v2 | 7fd7d0d8538fdc941d9c98d4f0b3fc7121b4ad48 | 8cc9a04d727f9fabe6f7e4e9a90eb2cdf4becbd1 |
refs/heads/master | <repo_name>MewenLr/dummies<file_sep>/dummylib/README.md
# dummylib
## Steps
- create folder /libray
- run cmd build library
- add main entry in package.json
- import library and style in project
<file_sep>/dummylib/src/test.js
import DummyButton from './components/DummyButton.vue'
export default DummyButton
<file... | 561e87ab475956a9fbda545207906742555105f0 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | MewenLr/dummies | 500ae64e60c9f691b3032e69335dc55d94eeb82a | e0e0304f5e524c85759d9a0fedccce58fb89f37b |
refs/heads/main | <repo_name>lynch0571/idiom-game<file_sep>/README.md
# idiom-game
成语接龙(ChengYuJieLong)小游戏,使用图论(Graph Theory)和递归(Recursion)等算法实现成语接龙和求特殊成语链,如自环、N连环、Max链等。
## 使用图论中的有向邻接矩阵描述成语之间的关系
#### 邻接矩阵(Adjacency Matrix)概念
> 简单来说,邻接矩阵是表示顶点之间相邻关系的矩阵,图论问题经常会用到。 设G=(V,E)是一个图,其逻辑结构分为两部分:V和E集合,其中,V是顶点,E是边。 因此,用一个一维数组存放图中所有顶点数据;用一个二维数组... | bff2d9075c9748e14178090346676bc1586d2a84 | [
"Markdown",
"Java"
] | 5 | Markdown | lynch0571/idiom-game | d4dc9915191e4a009dd06738a3c3aac3d8634819 | 5891f3942f8dd9194738df1fc3e86a38f1e566a9 |
refs/heads/master | <repo_name>Justin-Collier/sweetshoelaces<file_sep>/public/script.js
/* Project: Individual Student Project
Author: <NAME>
Date: Mar 1, 2017
Purpose:
*/
//function to add values of selected check boxes and display total.
// array storing products to display
var products = ["S round shoelace ... | e089d00f3887e5fd9d2bfa85e007355ff3e0a990 | [
"JavaScript"
] | 1 | JavaScript | Justin-Collier/sweetshoelaces | 15de49769c829f552a1274bbe872290a22051913 | 12adecd0155e8ab3c1e5c5f8a168a1f09d0c57be |
refs/heads/master | <repo_name>cherrry/static-tag-cloud<file_sep>/src/tag-cloud.js
'use strict'
var assign = require('object-assign')
var distribute = require('./distribute')
var shuffle = require('./shuffle')
var DEFAULT_NUM_OF_BUCKETS = 4
var tagCloud = function (tagDefs, options) {
// only process tags with positive count
tagDe... | ab33d75445083a5650a9113e5fb7e69e07e75041 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | cherrry/static-tag-cloud | 331fc27204da4a4614dc043acd6f85ce1a040002 | 7121849cfe61dcba21b9f404857b5c550b8f6c08 |
refs/heads/master | <repo_name>ShenGX1992/WebSocket<file_sep>/README.md
# WebSocket
WebSocket-transferClient:基于Qt编写WebSocket通讯客户端
<file_sep>/transferclient.cpp
#include "transferclient.h"
#include "ui_transferclient.h"
TransferClient::TransferClient(const QUrl &url, QWidget *parent) :
QDialog(parent),
m_url(url),
ui(new Ui::T... | 1b6f0bb6852d97ec64b6ab285eed892237125641 | [
"Markdown",
"C++"
] | 4 | Markdown | ShenGX1992/WebSocket | f8c470b4722caef7caad3a219552862c16298296 | 683b5d24fa722c9bf7ce1fd77753699396a8e628 |
refs/heads/master | <file_sep>using System;
public interface IRepository<T> where T:IEntity
{
public Class1()
{
}
}
<file_sep>using Microsoft.VisualStudio.TestTools.UnitTesting;
using ConsoleApp1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp... | 7dbaee4e95fdd0312b4a4747067c2cbca449975e | [
"C#"
] | 6 | C# | aymaneleya/GenericRepositoryPattern | 49de710b09528ed103e534f6113573ceb21cf721 | 1817a83ce66d80bee4751c4aca735beafe97e557 |
refs/heads/master | <file_sep>export interface DbDoc {
_id?: string;
timestamp?: Date;
}
export interface Serie extends DbDoc {
name: string;
nameAlt: string;
image: string;
url: string;
chapter: number;
}
export interface Category extends DbDoc {
name: string;
}
<file_sep>export const CustomElement = (tag: string) => (c... | efd3f6ffd60145eae588b04399a7153272a1237e | [
"JavaScript",
"TypeScript",
"Markdown"
] | 46 | TypeScript | Kingomac/Series-List | 6426fb6e62f6029030737bbfed3e9e805cbd9dc8 | adde1068c32e020bab0192653767e6e2435a1a2d |
refs/heads/master | <repo_name>marcsi19/macaron<file_sep>/src/components/cartItem.js
import React from 'react'
const cartItem = (props) => {
const { product, removeFromCart } = props
return (
<div key={product.id}>
<div className="cart_product_main" >
<div className="cart_product_img">
<img src={product.i... | d42e4ac73bb42078d04823c5e8fddbf2c6044e7b | [
"JavaScript"
] | 7 | JavaScript | marcsi19/macaron | 12402b4ec81dbe3478a49aec0bb352d42beeb360 | bdb3f9de58cbcbca54f5bf0000bf581e002381da |
refs/heads/master | <repo_name>savaslabs/D8Default<file_sep>/Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doin... | b30288ad0d8dbf7da6583ca1226a31f6e615a9cb | [
"Markdown",
"Ruby"
] | 2 | Ruby | savaslabs/D8Default | 6d09a4ce64af80eeb8653c4c157055fe266dd22b | 3bbed124f895f3bd7f213e99f6d5c045ab87ae8b |
refs/heads/master | <repo_name>vannicaruso/jdbcdslog<file_sep>/build.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="jdbcdslog" default="all">
<presetdef name="javac">
<javac includeantruntime="false" />
</presetdef>
<property file="build.properties"/>
<!-- Uncomment the following property if no tests comp... | aae6c6dbb48b1f3eb41ca26a222c6d70e6b3f4aa | [
"Java",
"Ant Build System",
"INI"
] | 4 | Ant Build System | vannicaruso/jdbcdslog | 5791461e4cdca72a9ea3618449c188c599fe370c | 54e33aaa5d454ccedd0cc9072376c846a5dd5872 |
refs/heads/master | <repo_name>bersanibond/Study-Time<file_sep>/Study Time/ViewController.swift
//
// ViewController.swift
// Study Time
//
// Created by <NAME> on 8/10/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
import AVFoundation
class ViewController: UIViewController, UITextFieldDelegate {
@I... | 16298595b39eb9ce3e2ada9963b043172d81b0a1 | [
"Swift"
] | 2 | Swift | bersanibond/Study-Time | 49d972a1227295a81b84236588014d4c6cf1f97b | a5e182211765b59ecb3debe831ece027bacf9a2f |
refs/heads/master | <file_sep>require 'spec_helper'
describe 'profile_passenger' do
let :facts do
{
:operatingsystemrelease => '6.5',
:operatingsystemmajrelease => '6',
:osfamily => 'Redhat',
:architecture => 'x86_64',
:concat_basedir => '/dne'
}
end
context 'with defaults for all parameters' ... | 26e39557535bda1227be70e217ab7a1d4de7db1d | [
"Ruby"
] | 1 | Ruby | eshamow/eshamow-profile_passenger | 61622862fdcdce7fbfb3582d90c68c7e1350500f | d3f230cde85bd16105a8f2dc6a5d4a161dda65f3 |
refs/heads/master | <file_sep>public class Steuerung {
private GUI gui;
private Spieler[] spieler = new Spieler[2];
private WortListe wordlist;
private int aZustand, aktiverSpieler;
Steuerung(GUI gui) {
this.gui = gui;
}
public void gedruecktStart(String name, String name2) {
spieler[0] = new Spieler(name);
System.out.pri... | 1a9b6e21bb9ca17b930ea7f97ef2661a2ddeabcf | [
"Java",
"INI"
] | 4 | Java | superflo22/WoerterBilden | 21df0d70c31c78fdad54938cf8444786f2f5f289 | da1b38a8545c9746fb85fcb723ce0f889325f3f8 |
refs/heads/master | <repo_name>zzg20082009/mincore<file_sep>/pagemap1.c
/* 这个程序先查看进程的maps文件(/proc/PID/maps),获取进程的逻辑地址空间的映射,然后打开/proc/PID/pagemap文件,
由逻辑地址去获得该逻辑页面是否分配的有物理块,如果有物理块,则打印出物理块的编号。通过查看/proc/PID/smaps文件,本程序正确*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unist... | 70b13130e14a53e1a57a594c1849f9aa13613be3 | [
"C"
] | 5 | C | zzg20082009/mincore | 0a52ffc55366eb674ef2fa0944fa98795458497b | f48e3d4c5282e6b48a739cf7b49c0cdc98efcbec |
refs/heads/main | <file_sep>let height = screen.height;
stream = null,
audio = null,
mixedStream = null,
chunks = [],
recorder = null
startButton = null,
stopButton = null,
downloadButton = null,
recordedVideo = null;
click = 0;
n = 1;
blobUrl = null;
console.log(height);
if (height < 640) {
let videoH = documen... | cacbd955fc2dea5f27dbe7d263edfe72920b7015 | [
"JavaScript"
] | 1 | JavaScript | miktae/recordscreen | 402fcef3fdbc96218899f7c53a7d1ba07b098e5b | 5a718963d374b962e924dca4c2a1c240b27de2f9 |
refs/heads/master | <file_sep>import pytest
@pytest.mark.usefixtures("setUpBeforeAll")
class TestSampleOne:
# @pytest.fixture(scope="class")
# def setUpBeforeAll(self):
# print("I will be in same file and execute before all test cases")
# yield
# print("I will be in same file and execute after all test c... | 5c3bc2fb466173b57478e398abc9a02d6e299f99 | [
"Markdown",
"Python"
] | 46 | Python | letscodedjango/py-se-bootcamp | 302e2acb69f4aaefbb2fe6361083c9135b000394 | 4ce63b9accb23867fb5afdf5235ed782e39a4902 |
refs/heads/master | <repo_name>prady00/QuickTest<file_sep>/src/main/java/com/prady00/emails/PackCreatedMail.java
package com.prady00.emails;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mail.MailException;
im... | 21485611ee301d7957ccbaf5fe1c044f3d68480a | [
"Markdown",
"Java"
] | 5 | Java | prady00/QuickTest | 77e0ff552a60a15cf24896e9e0fef01941b95aa5 | fb4dbd5d33091efa0351a9d778618be9faaa4710 |
refs/heads/master | <repo_name>IbrahimAdDandan/axess-front-end<file_sep>/src/app/interceptor.interceptor.ts
import { Injectable } from '@angular/core';
import {
HttpRequest,
HttpHandler,
HttpEvent,
HttpInterceptor,
HttpErrorResponse,
HttpParams,
HttpHeaders
} from '@angular/common/http';
import { environment } from "../envir... | cb8c3388e5ef8dcf453ab1238f5bef300aa5742d | [
"TypeScript"
] | 26 | TypeScript | IbrahimAdDandan/axess-front-end | 8a50f1bcc6fd0edd1dba522cccc32191cf17e744 | 3fd80a9929a562e7e8b8f972af132a789e04f6a0 |
refs/heads/master | <file_sep># remove original files and create link from sync folder
function link()
{
rm -v ~/$1;
ln -sv ~/linuxrc/$1 ~/$1;
}
link .bashrc
link .bash_aliases
link .vimrc
<file_sep># alias config
# file system navi
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
alias ..="cd .."
alias ...="cd ../.."
alias ... | 4a97fbaf8d0fc75eb35c63463dc049275c1ea729 | [
"Markdown",
"Shell"
] | 3 | Shell | ianxvy/linuxrc | cab99524f0a12ed3bf261cfe384a6b85be059a90 | 6a700c9a9d1ba9a27a93c2d32b31e6f61a776199 |
refs/heads/master | <file_sep>class CreateElementCWController{
constructor(API, ToastService){
'ngInject';
this.API = API;
this.ToastService = ToastService;
}
$onInit(){
this.deleteNote();
}
deleteNote(){
this.title="";
this.photo="";
this.note="";
}
... | f89f83acc95e0fae475426510ad1d3e0ffbb8652 | [
"JavaScript",
"PHP",
"Markdown"
] | 4 | JavaScript | fairchance2all/ARW | 3fb0e632863d2446e25d49ffd4bf7a446c5561a8 | 418cd6e82f3f133e669eb595f6a73beacf01eff1 |
refs/heads/master | <file_sep>from tkinter import *
import random
import time
FIRST_GEN_CHANCE = 0.2
PIXEL_SIZE = 2**4
POPULATION_SIZE = int (1024 / PIXEL_SIZE)
MUTATION_CHANCE = 1 / 100000
TIMER = 0.0
WIDTH = PIXEL_SIZE * POPULATION_SIZE
HEIGHT = PIXEL_SIZE * POPULATION_SIZE
STATE_RULES = {0: 0, 1: 0, 2: None, 3: 1, 4: 0, 5: 0, 6: 0, ... | 1904dedd0000c562d7b1d760e3b8b651d5ae3ef9 | [
"Python"
] | 1 | Python | rp-goeuro/conway_life | 047a21bb9c3245fd58e1b32e0ed66f62c3a2aa02 | c742bcb1300a8d4973c606dfdc791267a4b3e381 |
refs/heads/master | <file_sep>import RECEIVE_DATA from '../types/data';
import { postsList } from '../helpers/postsData';
const initialState = {
postListing: [],
};
export default (state = initialState, action) => {
switch (action.type) {
case RECEIVE_DATA:
return {
...state,
postListing: state.postListing... | f8de334f0789bae4a8a850e8ae14a6de40d76bce | [
"JavaScript"
] | 15 | JavaScript | thanglv2/react-training | 690e55abf4e781d12dba0a2e1bd91cbe221f9c1a | 1e40fbc2268aad28cbb46de323bb0f5ca113de86 |
refs/heads/master | <file_sep>/**
* @license Copyright 2017 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.org/licenses/LICENSE-2.0
* Unless required by applicabl... | a5ab12ea99c857472deeb30dd2537e3dd6a051d8 | [
"JavaScript",
"TypeScript"
] | 6 | JavaScript | yagoubigithub/lighthouse | 06a0a45b478565e6fa90636a41d440a41a40b74c | b820618a75c3619ee15457ef7f5d2d01a5b52cd5 |
refs/heads/master | <file_sep>import java.text.NumberFormat;
import java.util.Scanner;
public class ConverNumberstoWordMain {
public static void main(final String[] args) {
ConvertNumberstoWord cntw=new ConvertNumberstoWord();
String choice = "";
int n;
Scanner s =new Scanner(System.in);
... | 7be692c21404e45bd8a8c1c25c61a02b088ae4ad | [
"Java"
] | 1 | Java | BhaskarReddyKarka/Devops | 8067a02e430b1bd738159786422f99959f6c934e | 0ef213569b1895774303fb0c59bb546c309aa0ec |
refs/heads/master | <repo_name>Bento-Code/react-github-api-user-search<file_sep>/gruntfile.js
'use strict';
module.exports = function(grunt) {
var pkg = grunt.file.readJSON('package.json');
var pre = './';
grunt.initConfig({
pkg: pkg,
pre: pre,
less: {
development: {
options: {
paths: ["<%= pre %>publ... | 4afa1ca6abcfb6702b3e90ba5192e52baa7f864a | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Bento-Code/react-github-api-user-search | 93a2190659a6d6b3e179eac7ca96804e490fe9d8 | 1f9ca8ca27c914fe409939001fb93c6ebb61e0da |
refs/heads/master | <repo_name>NicolasHenault/Intro_JQuery<file_sep>/scriptjquery.js
$(function(){
// // $("body").addClass("alert");
// $("button").click(function(){
// // alert($(window).height() + " px");
// // $("div").hide(2000);
// // $("div").show(2000);
// $("div").height(800).width(600);
// });
... | d5756018e0bdd34cb78cf295317def4962eddea9 | [
"JavaScript"
] | 1 | JavaScript | NicolasHenault/Intro_JQuery | 3e6288e62c78028a4a110e2509c786772fac3545 | a214db3e3240621dab6ce6125b5dedf66d3c3b92 |
refs/heads/master | <repo_name>matthewsaaronj/coms_w4995_applied_ml<file_sep>/hw_1.py
# -*- coding: utf-8 -*-
"""
Homework 1
"""
import pandas as pd
# Task 1.2
def fib(n):
a, b = 1, 1
for i in range(n-1):
a, b = b, a + b
return a
# Task 1.3
def load_pop():
pop = pd.read_csv('./data/population.csv')
return po... | ab33d938878df021d21c449d8cf6a0c904b81c2c | [
"Markdown",
"Python",
"Text"
] | 4 | Python | matthewsaaronj/coms_w4995_applied_ml | c14b483cfb56c1bc89de109504b1d4f79132a3cd | bd7d39e883a95269aa5ca045ff58b77b241464c5 |
refs/heads/master | <repo_name>paladin952/FlickrClient<file_sep>/src/utils/strings.js
import I18n from 'react-native-i18n';
I18n.translations = {
en: {
tab_photos: 'PHOTOS',
tab_groups: 'GROUPS',
members: 'members',
member: 'member',
empty_data: 'There is no data',
network_error: 'Chec... | 2f5394598e89154312d32e4e598d7d9b8e7f6300 | [
"JavaScript",
"Markdown"
] | 16 | JavaScript | paladin952/FlickrClient | ef919c5d659f4eeb8f25f317f90134ce0ef3b788 | 525f8a2727dc52e3282a0251901cb9bcf21de08a |
refs/heads/master | <file_sep>
window.onload = function () {
var answer=0;
var num1,num2;
var display = document.querySelector('input');
//console.log(display);
var isCalculating = false;
var operator = '';
function setDisplay(num){
if(isCalculating === true){
display.value = answer;
}
else{
if(display.value === '0'){
... | 4f0f26e4da9b91cfbb717590e1ea77024b06d720 | [
"JavaScript"
] | 1 | JavaScript | Ishagoyal/Calculator | 29dad4ec264d1a616b33931e28437369a76108e4 | 8acb51e7283d93e1725f93d9faf692c3d3955784 |
refs/heads/master | <repo_name>HenriqueBuzin/pyDcm2hbase<file_sep>/dcm2hbase.py
import os
import time
import pydicom
import hashlib
import datetime
import happybase
class Hbase:
def __init__(self):
self.conn = happybase.Connection('localhost')
self.table = self.conn.table('prontuary')
def insert(self, exams):
... | 7ab0b521f5e28f11269ce7476f481c381e48b91d | [
"Markdown",
"Python"
] | 3 | Python | HenriqueBuzin/pyDcm2hbase | 7c38367d941c8babb926525f532a4ed7d8b79a3d | d12714bf3c5916170be6a32b314b50a4095e53fd |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FHole
{
public partial class Worker : Form
{
private readonly Fitnes... | 72e7baaf5b1dc5393c7dfc61dfc7b6fbc90ebe51 | [
"C#"
] | 5 | C# | shamssamedli/C-final-project | fdc1947c842f0aa28a53f8727d3ffa5deb80237e | aa83abb1fb26d416e25d8233fef0149aae76918c |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
namespace Morfologia
{
class Morfologia
{
byte[,] maska;
int maska_rozm;
public Morfologia(int rozmiar, int kat)//konstruktor elementu st... | 748a8fc874a5a8f2ec14b0f7f574f5e220ca928c | [
"C#"
] | 2 | C# | lycha/image_processing | e071711f72e32e42c367937ef5c1585c0269f480 | 6b605ec83b1de324434785e309962b58e14041f6 |
refs/heads/main | <repo_name>madebyalex/ar-realcomp-test1<file_sep>/AR_RealComp_Test1/ViewController.swift
//
// ViewController.swift
// AR_RealComp_Test1
//
// Created by Alexander on 15.11.2020.
// Copyright © 2020 <NAME>. All rights reserved.
//
import UIKit
import ARKit
import RealityKit
class ARController: UIViewController {... | da72c2ea866acac643066a85291bd7257db23f5e | [
"Swift",
"Markdown"
] | 2 | Swift | madebyalex/ar-realcomp-test1 | 88fc4094ac373dcf27b996f680501173f80c859b | 8d83efa839dfd2dfba9ce26faddad10ab6f2b99d |
refs/heads/master | <file_sep>##############################################################################
# Copyright (c) 2003 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# ... | d00de14ef94c87cbcce00853772228579c608575 | [
"Python",
"Text",
"reStructuredText"
] | 6 | Python | zopefoundation/zope.filerepresentation | a05b8cea50d2b3554ad4aa139823d20b8f996554 | 1b543a9e84740b19f6df5bbbd973a7ec2e03dfeb |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BombBox : MonoBehaviour
{
public GameObject cannonBall;
public static bool cannonBallExists;
List<GameObject> currentCannonballs = new List<GameObject>();
private void Update()
{
if (Game... | 6f96c9668b4d86fb61638fdee173851bc1771dd3 | [
"C#"
] | 26 | C# | Kalcen/1-5-18 | db3f9d3b020e5379849e320a76e56441521a8e09 | 3f83eb823cbf4980ab0947a479e00bbe3696ed04 |
refs/heads/master | <file_sep>## Jadoo, the space alien has challenged Koba to a friendly duel. He asks Koba to write a program to print out all numbers
## from 70 to 80. Knowing perfectly well how easy the problem is, the Jadoo adds his own twist to the challenge.
## He asks Koba to write the program without using a single number in his... | d03a52d732fb5990b0bb1f238f981187fcb0773b | [
"Python"
] | 1 | Python | ZainebPenwala/HackerEarth-Python | b9c9e7ca1e481d24b13f3a1d2e1d39f9a50a5d15 | 31913b19bb66ec8c937bd07e9864b59aa8a1d2a0 |
refs/heads/master | <file_sep>//
// Bubble.cpp
// learningBubbles
//
// Created by <NAME> on 4/15/15.
//
//
#include "Bubble.h"
Bubble::Bubble(){
pos = ofVec2f(300, 300);
vel = ofVec2f(ofRandom(-10,10), ofRandom(-10,10));;
rad = 30;
myColor = ofColor(ofRandom(255),ofRandom(255),ofRandom(255));
rot = 0;
}
vo... | f9cd796e7612156ec401597402a29104cd4b47fe | [
"C++"
] | 2 | C++ | EDPX3701-AdvCoding/Bubbles_Example | 1606236e028dc21c30939187902160e419c015bb | 5bfd6acdf865de7758ff69f4ace7e4eb64eb8980 |
refs/heads/master | <repo_name>dulhaniAshish/GIFted<file_sep>/script.js
const input = document.querySelector('input.search');
const container = document.querySelector('#container');
const loader = document.querySelector('.loading');
const modal = document.getElementById('myModal');
const img = document.getElementById('myImg');
const modal... | c6470ec396b9500571aa06ea3c03b0741a4f2a03 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | dulhaniAshish/GIFted | c9df2b576440eeb5cb84c10d0f8a923921c873e6 | 2c9a41cc79d69664ccf7c6155e7c5ed875bbc786 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
// import axios from 'axios';
// import axios from '../../axios'; //load the axios.js that we created our instance in
import Posts from './Posts/Posts';
// import FullPost from './FullPost/FullPost';
import NewPost from './NewPost/NewPost';
import './Blog.css';
import... | f521d44a81cbb4062a4a8091f614789a3d7862e7 | [
"JavaScript"
] | 4 | JavaScript | steve-short/react-ajax | e6ffa7647d5f6b7fd7126dd79d93a03c8177e490 | 1616784e9c62409c0d0fbaaf761a1123f4236c82 |
refs/heads/master | <repo_name>vankhoenhadat/FirstRoR<file_sep>/app/helpers/rooms_helper.rb
module RoomsHelper
end
class RoomValidator
include Veto.validator
validates :name, :presence => {:message => "Tên phòng không để trống"}
validates :minrate, :inclusion => 0..100
end
<file_sep>/test/controllers/bookingtests_controller_test.rb... | 0d6717081f22182a46e06f150f935ed10679aaf9 | [
"Ruby"
] | 6 | Ruby | vankhoenhadat/FirstRoR | 8c859a8acca953b7ba770ea0ee269c9c5334fd9a | 739b5240a6b18234e3be7f263e47268e9711bf3a |
refs/heads/master | <file_sep>package com.jamtu.fragments;
import static com.jamtu.fragments.LocaleJokeListFragment.JOKE_TYPE;
import android.os.Bundle;
import com.jamtu.adapter.ViewPageFragmentAdapter;
import com.jamtu.basefragment.BaseViewPagerFragment;
import com.jamtu.utils.AppOthers;
/**
* 发现页面
*
* @author lijq
* @created 201... | d8520c7f212545b8b63a922cf99de34057e1fa70 | [
"Markdown",
"Java"
] | 19 | Java | JamTu/Joke | a692a5c9e6bf4a4d747ac64c275e7c35c2fc7d42 | 0f1cba22499bb05b0c11e54c84a8ebbb8efebf12 |
refs/heads/master | <file_sep>#include <sst_config.h>
#include "sst/core/serialization.h"
#include "sst/core/element.h"
#include "sst/core/component.h"
#include "macsimComponent.h"
using namespace SST;
using namespace SST::MacSim;
static Component* create_macsimComponent(SST::ComponentId_t id, SST::Params& params)
{
return new macsi... | 71213bcff0d24d6a10bb8170ecd3bab9853a40af | [
"Makefile",
"C++"
] | 5 | C++ | MortezaRamezani/macsim | a37436db886dc3c1416ce4fa46673c5e8dce6d17 | 413ce268ec40cfa93111bd317a2ab7e3c03b2eab |
refs/heads/main | <file_sep>package com.pfe.tunhome.repositories;
import com.pfe.tunhome.models.Offer;
import com.pfe.tunhome.models.Category;
import org.springframework.data.jpa.repository.JpaRepository;
public interface OfferRepository extends JpaRepository<Offer,Integer> {
}
<file_sep># TUN-HOME-FE<file_sep>package com.pfe.tunhome... | c62f0befe417d68b241b4e71383796034f64c139 | [
"Markdown",
"Java"
] | 6 | Java | amal58/TUN-HOME-Bk | aa2bfe6d82b0c5ef73a062a00420b70bc0a72bb1 | 41951c8ba5a18e9763f4a0b9e9477ded937c9a2c |
HEAD | <repo_name>kofron/erlkm<file_sep>/Makefile
all: get-deps compile dialyze test
get-deps:
@./rebar get-deps
compile: get-deps
@./rebar compile
dialyze: compile
@dialyzer -r ebin ebin/*.beam
test: dialyze
@./rebar eunit
| a38174703d4c5c79969363e558c482422f518735 | [
"Makefile"
] | 1 | Makefile | kofron/erlkm | bbbb60081739a6e69c4072c478262ff9a59d563f | d2a2d19ce899816b6a2435d6545262db4a499e1a |
refs/heads/master | <repo_name>Leaf27/CS542<file_sep>/HW3/Relation.java
package DB3;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
public class Rela... | 643381de03804035077ba685a886bc09e2f75c69 | [
"Markdown",
"Java"
] | 8 | Java | Leaf27/CS542 | 0be9de4d479403842e668af12088c877fced1657 | cd70e4f942a8a0493fe3cee82b3a1000a9080ce3 |
refs/heads/master | <file_sep># Refactor Udagram app into Microservices and Deploy
## How to Run Project
Clone repo:
` git clone -b 06-ci https://github.com/naoussi/cloud-developer.git`
- Install dependencies for the frontend,
- navigate to the directory _cloud-developer/course-03/exercises/udacity-c3-frontend_
- Run `npm in... | fadfe56a593d62db4ad8cc9750a0e3068585c9fa | [
"Markdown",
"TypeScript"
] | 2 | Markdown | fanyui/cloud-developer | 1dac83070d9512baa6fee0d1b945c093889d344c | bed1e204077b91d8d067bad301d5fbd0abcc8831 |
refs/heads/main | <repo_name>LiborV/trello-vue<file_sep>/src/store/index.js
import { createStore } from 'vuex'
import { data } from '@/data.js'
const list = {
namespaced: true,
state: {
lists: data
},
mutations: {
AddNewList (state, title) {
const listMaxId = state.lists.length
... | c30eeb6e25e4c749d33faaf615a63f16e26322ce | [
"JavaScript"
] | 1 | JavaScript | LiborV/trello-vue | bbc049781e6a4c81f969a4e5e8156cff0654cb58 | 1452607ee9fa3ab174c7c9c56dd6045b89916375 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public struct CUSTOM_VERTEX
{
public Vector3 pos;
public Vector3 normal;
public Color color;
public CUSTOM_VERTEX(Vector3 pos, Vector3 normal, Color color)
{
this.pos = pos;
this.normal = nor... | 420a3be63b7c1ae9fc7e58f6c7b5ecb098c6e92f | [
"C#"
] | 1 | C# | cafealpha/UnityTexquad | 1224a4785df2924b5d58e0f43d99ff46cc63dfdf | 0a7a7423eeb82b896d311e90ca1329f2e1ada06f |
refs/heads/master | <file_sep>package gotimer
// NewTime - 新しいgotimer.Timeを生成する
func NewTime(hour, minute, second int) Time {
sec := (hour*60*60 + minute*60 + second) % (24 * 60 * 60)
if sec < 0 {
sec = 24*60*60 + sec
}
return Time(sec)
}
// Time - 時分秒を秒にした構造体
type Time int
func (t Time) hour() int {
return int(t) / 60 / 60
}
... | d0aafa4972eccd8db6b0fcbf26c96e6d005170fa | [
"Markdown",
"Go Module",
"Go"
] | 8 | Go | tsuchinaga/gotimer | db7034abbb37f6a42fac9914ac484614e64b9a20 | 31edec1e2c1aace82aa7ddf521684736dd725997 |
refs/heads/master | <repo_name>sergw/apps<file_sep>/TODO.md
## [TODO](TODO.md)
* Add sublime plugins
* Add gems
* Add pips
<file_sep>/prepare-reinstall-os.md
# Подготовка системы к переустановке или апгрейду
1. Найти все git-репозитории
`find . -type d -name .git | sed '/dotfiles\/\.vim\/bundle/d; /\.cache\/mm-interfaces/d'`
2. TODO П... | 021af84f92159b9b1068071ae349c572806a9a74 | [
"Markdown",
"Shell"
] | 10 | Markdown | sergw/apps | d2ad9d8ca3dcf2c166806083b4d131fc67943d39 | a438f589cf55f030ad7d245df16972d39892e605 |
refs/heads/master | <file_sep>//
// Created by adam on 2018-12-14.
//
#include <GL/gl.h>
#include <iostream>
#include "Game.h"
#include <algorithm>
Game::Game(int gridSizeX, int gridSizeY)
{
m_grid = Grid(gridSizeX, gridSizeY);
m_pathfinder = Pathfinder(&m_grid, getRandom(gridSizeX), getRandom(gridSizeY));
createObstacles()... | 12b5586d0ea169e10fed78aad0f7ec3a6bf8b0ce | [
"CMake",
"C++"
] | 10 | C++ | adagun/pathfinder | 5e3942bebb473b42e41fd1387b934adbc83b0e48 | 894294da92a5ad795696efbdf476bb13b8bac5b2 |
refs/heads/master | <file_sep>package me.lb.service.system.impl;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import me.lb.model.system.Perm;
import me.lb.model.system.Role;
import me.lb.service.common.impl.GenericServiceImpl;
import me.lb.service.system.RoleService;
import org.springframework.stereotype.Servi... | 3a33966b73390d1e4502104dd45009cc5d701a5e | [
"Java"
] | 7 | Java | Charlemin/platform-ng-master | fa5c4639e2ed5a3122b0f5643388159f4e58c9fd | f403c2ce2faa1b69b94b4c876b3b0bfc460052fb |
refs/heads/main | <file_sep>{% extends 'layouts/main.html' %}
{% block title %}MyFridge{% endblock %}
{% block content %}
<div class="row">
<div class="col-sm-6">
<h1>MyFridge</h1>
<p class="lead">Eat Clean. Clean Earth</p>
<h3>
<a href="/recipes"><button class="btn btn-primary btn-lg">Find a Recipe</button></a>
</h3>
<h3>... | 00d56d5ed7a76b5df2475bf3bb0c7d09ba2b7eb7 | [
"Python",
"Text",
"HTML"
] | 6 | HTML | aranyah/enactusHacks | be007d1c3340b8d43de74c00f477b84664e27c03 | ab88e9769bb7311e7bce65af57e09e8089f307ac |
refs/heads/master | <file_sep>import pandas as pd
import unicodedata
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
url = "https://www.lds.org/temples/list?lang=eng"
driver = webdriver.Chrome("/Users/danemorgan/chromedriver")
def scrape(url):
driver.get(url)
driver.implicitly_wait(5)
#pu... | 355c9a81f5e220363a7d8216784a31338399609f | [
"Markdown",
"Python"
] | 2 | Python | deadlift1226/LDS-Temple-Scraper | b9b1c4b302147f0f475d824e422fe658df8ba501 | 7c1c51b44b606b9b448183eb684b0accc7b8e9f1 |
refs/heads/main | <repo_name>ashitosh098/js_week1_function_API-task<file_sep>/anonymous_function/titleCap.js
//anonmyous function to rotate array by k times
var titleCap = function (){
//create array of string
var arr=["ChilBule", "AshitoSH", "GUVI"]
//apply map method on string
var title =arr.map((ar)=>{
//convert all charact... | c574956642dc57c425bdcc809c58416908ffd3de | [
"JavaScript"
] | 9 | JavaScript | ashitosh098/js_week1_function_API-task | f0f0c92ad7ae0af6ce3d441f8935ee0992a63d94 | 68102942d0c23d1179533a4cebc21ba60ad0ee2c |
refs/heads/master | <repo_name>RonanZer0/overwatch<file_sep>/sv_admin.lua
overwatch = {};
overwatch.commands = {};
function overwatch.PlayerSay(ply, text, silent)
ply.memode = ply.memode or false;
local silent = silent or false;
local cmd = string.gsub(string.gsub(string.gsub(string.lower(text), " (.*)", ""), "!", ""), "/", "... | 46ca700b514ce198f793406f58c4286fe669a6bb | [
"Lua"
] | 1 | Lua | RonanZer0/overwatch | b55dc46d2b0ca622057f35593b982399f6bfd8a1 | bf3ac111261b44a8840086f9f011c8999aba7211 |
refs/heads/main | <repo_name>mwoodward1990/vanilla-portfolio<file_sep>/script.js
const projectsContainer = document.getElementById("projects");
const projects = [
{
image: './images/coffee-shop.jpg',
link: 'https://coffee-shop-shopify-context.netlify.app/',
github: '',
name: 'Coffee Stop',
description: 'Full stack... | eec5b6e77b8e87d618b06c9607600461043f8610 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mwoodward1990/vanilla-portfolio | 4393ee292fb894ab35151a6f2f6412cb0a5667e5 | 3e35b0aa84e73af148b71999a1dd7b1cd16551e6 |
refs/heads/master | <repo_name>MichaelYungLee/heliedge<file_sep>/Assets/Scripts/AudioOffset.cs
using UnityEngine;
using System.Collections;
public class AudioOffset : MonoBehaviour
{
IEnumerator Start ()
{
Random.seed = System.DateTime.Now.Millisecond;
yield return new WaitForSeconds(Random.Range(0f, 1.5f));
GetComponent<AudioSou... | ecb88fa204fb792cefd1834b9205f5039de3a006 | [
"Markdown",
"C#",
"Text"
] | 8 | C# | MichaelYungLee/heliedge | a15d06a802121139fe56c0ac6288fbf543373a96 | f81d9541c1c7cbaf4e906f5596effaf8a330bfaa |
refs/heads/master | <file_sep>/*
* Wiring :
* Sensor Pin | Arduino Pin
* ====================================
* + | VCC
* - | GND
* S | A4
*
*/
int analogInput = A4;
float vout = 0.0;
float vin = 0.0;
float R1 = 30000.0;
float R2 = 7500.0;
int value = 0;
voi... | 00b16c7750ea50734473ee703aea6994d3ba1e8c | [
"Markdown",
"C++"
] | 2 | C++ | laurensius/Arduino_Uno_DC_Voltage_Sensor | 5d6dc72f3a0f384b73fc3f865abb8c49c813d31e | 7703ce5396f2f057d3932ab9e8f18f1f9e5b65fc |
refs/heads/master | <file_sep># shannonthurston.github.io
This is a simple place for storing my little test and demo files that I build in my spare time.
It will hopefully become a nice portfolio site in the future.
<file_sep>var app = angular.module("CodePlaygroundApp", []);
app.controller("CodePlaygroundAppCtrl", function ($scope, $t... | 30d6fd16883ce773f7830a2c78b752be307ad159 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | shannonthurston/shannonthurston.github.io | 595c1f851b47a3f4caf5816c2b24db066d7d20e4 | 36f7c1e25e22e43623a8972e5f009190d378d652 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.