branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep># Big_Number_Calculator
The problem is to build a simple calculator that can perform the following operations : +, -, *, /, sqrt(), pow() and log() on big numbers. The idea is to be able to manipulate very large numbers that are out of range for the usual numeric data types (int, float, long int, double etc.)... | a7083a88f4b9c3eabcc67f78c1ee35f585829aa3 | [
"Markdown",
"C"
] | 2 | Markdown | ankursharma-iitd/Big_Number_Calculator | 35ab389656ddfa95948c1851adb5a086dbda728c | e13a46e2ea0eb2c30b25ddb5bff20ff6ff4faaa0 |
refs/heads/master | <file_sep>
#define _CRT_SECURE_NO_WARNINGS
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <iostream>
#include <sstream>
#include <fstream>
#include <cstdio>
#include <Math.h>
#include <windows.h>
#include <shellapi.h>
#include <ctime>
#include <vector>
#include "map.h"
using namespace sf;
Clock mytime... | f1373039d5a324939226b45a0455ddc8dbe2617f | [
"Markdown",
"C++"
] | 2 | C++ | Elhantero/Tamagotchi | a78693c532c53a82f1f6567b2897c25cc80fca02 | 657c517a9a5141040197eb4c2abe29af73f5bf84 |
refs/heads/master | <repo_name>bobiandreev/Methods-And-Debugging-Exercises<file_sep>/Max-Method/Max-Method.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Max_Method
{
class Program
{
static void Main(string[] args)
{
int... | 436ef37776b75c9b2fa104980bcea111aa98edee | [
"C#"
] | 8 | C# | bobiandreev/Methods-And-Debugging-Exercises | 46695559102ad053fb1f77d05157e82767d6f43a | 84faf79818da14cc0195a1b82debb48286624df0 |
refs/heads/master | <repo_name>python-learner123/mypythonlearning123<file_sep>/everything_everywhere.py
#/usr/bin/python
import os
import fnmatch
import sys
# * matches everything
# ? matches any single character
# [seq] matches any character in seq
# [!seq] matches any character not in seq
scriptname=sys.argv[0]
count=0
try:... | d86f42120934aa4bf7add04511d61e1744088e90 | [
"Python"
] | 1 | Python | python-learner123/mypythonlearning123 | 696c2d6c9391673e2b12232a0f5b69a6bdd053e0 | aa1f2a64c98e5a7a8a1ec3bce8ed1e9c26cd38cc |
refs/heads/master | <file_sep># PHP-Ports-Checker
A simple port checker tool in php
<file_sep><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="<KEY>" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="<KEY>" crossorigin="anony... | 4cb1159466fbea7442ddef48eea26ebb4900f391 | [
"Markdown",
"PHP"
] | 2 | Markdown | MEGAMINDMK/PHP-Ports-Checker | ed956c5c3449e1f649951b31ddf863e58ce8df53 | 10d4268f44b080086968cc9e3da6e89f84cb010f |
refs/heads/master | <repo_name>FunPythonEC/xl320_upy<file_sep>/test/main.py
from xl320 import *
import time
dxl = xl320(baudrate=1000000, serialid=0)
dxl.set_control_mode(1, 1)
while True:
dxl.goal_speed(1, 500)
time.sleep(3)
dxl.goal_speed(1, 1500)
time.sleep(3)
<file_sep>/README.md
# Dynamixel XL-320 uPy (MicroPython)
L... | b125af8b7a557b0334afe030d13f2b6696bda24f | [
"Markdown",
"Python"
] | 3 | Python | FunPythonEC/xl320_upy | 947880f1f6c97d12607a5eddf8efae0a5cbf3969 | 4ec2a47110a7eebb01306dfe69f00ad0e03fb567 |
refs/heads/master | <file_sep>package tera.prog;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
// Program entry point
public static v... | 1ad45f5ef047ff8853d031511fd57a526325e169 | [
"Markdown",
"Java"
] | 2 | Java | Terabyte04/Hopson-Programming-Challenge | 1878d42b0cbef2bdf1a4876b459328175796e139 | 95308fb86c65ce87e3f827d109e5fb3951b68dff |
refs/heads/main | <file_sep>############################################################
# CIS 521: Sudoku Homework
############################################################
student_name = "<NAME>"
############################################################
import collections
from copy import deepcopy
###################... | b3d751d8a61b83615d65be061c6c5dec52c8aeff | [
"Python"
] | 1 | Python | avniahuja2000/hw1 | 847446078a12af5cff214c473321a555b84032fa | b5019cd55aa61a18ce23fc0e877950d27542e526 |
refs/heads/master | <repo_name>rmustafa/pagination<file_sep>/README.md
# pagination
Example pagination implementation for collections
You can use maven for this project like
```
mvn test
```
<file_sep>/src/main/java/com/rmustafa/paginate/Pagination.java
package com.rmustafa.paginate;
public class Pagination {
public static void m... | 4f3a2a7d6a3e32eda929f8b66dc419bc5a2a806f | [
"Markdown",
"Java"
] | 4 | Markdown | rmustafa/pagination | a3f342b6f2211295b431c4aac0ea72191045af3d | 602e34eefebba5cb5de407770541652181f2da6e |
refs/heads/master | <file_sep>import React from 'react';
import { IndexRoute, Router, Route, browserHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
import { App, Note, History } from './containers';
const Home = () => <div>Home</div>
const getRoutes = (store) => (
<Router history={syncHistoryW... | 1f7b7d8e363aca60b1b222b2af4ab0b6f79d649b | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | zugarzeeker/saving-money-firebase | 6b60bba23d8ca9ac75c48187f1cf07423be864c6 | f9569df5726b4612191c2a7043dc657c128528f4 |
refs/heads/master | <file_sep>const reviewsRouter = require('express').Router();
const Review = require('../models/review');
reviewsRouter.get('/', async (req, res) => {
const auth = req.currentUser;
if (auth){
const reviews = await Review.find({});
return res.json(reviews.map((review) => review.toJSON()));
}
return res.s... | 51d8b18d91dcc7d8adf7baf1fa7950289bb3237c | [
"JavaScript"
] | 2 | JavaScript | JonWash86/book-bug-backend | 08b73864a990836bc0030aea1725c2c1fb9f63ce | 51a5b313ab87275a6fb88aae0948f35dd2006bc5 |
refs/heads/master | <repo_name>basith374/react-print-test<file_sep>/src/App.js
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import PrintTemplate from 'react-print';
import ReactDOM from 'react-dom';
class MyTemplate extends React.Component {
componentDidMount() {
new window.google.map... | a1ea77649f4f227d20beeca5aed01577af4e3d5a | [
"JavaScript"
] | 1 | JavaScript | basith374/react-print-test | 1b8be4a0f6fa8248de51a44fd51616b4855b8802 | ff03de86720c040b0af6c89a85378ed42751fb52 |
refs/heads/master | <repo_name>VictoriaBrown/Find-PI-to-the-Nth-Digit<file_sep>/FindPItotheNthDigit.java
/*
FindPItotheNthDigit.java
Programmer: <NAME>
Date: July 2016
Purpose of class:
Enter a number and have the program generate PI up to that many decimal places.
Keep a limit to how far the program will go
*/
/... | c245972a15019ee1c9104330b0e092d1f0d1e7c4 | [
"Java"
] | 1 | Java | VictoriaBrown/Find-PI-to-the-Nth-Digit | 1e5eb8687f2d217b875a7f7526f18032516adcb8 | 8cda3da1b9d5938c24445aca11799c37311c071f |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ErnstTech.SoundCore;
namespace ErnstTech.SoundCore.Tests
{
[TestClass]
public class WaveReaderWriterTests
... | 29e6aca6c769187e5b67a2fe74aca772ed35c2cb | [
"Markdown",
"C#"
] | 98 | C# | nernst/synth | 6251748f2c85ced35b1b742e85e14a03a12a8f03 | ca3a52b19f4d40fd75aff184787e4438be35b0c9 |
refs/heads/master | <repo_name>glpayson/pyhr<file_sep>/python/introduction/weird-if-else.py
#!/bin/python3
n = int(input())
if (n % 2 == 0) and (n == 2 or n == 4 or n > 20):
print("Not Weird")
else:
print("Weird")
<file_sep>/prep/warmup/jumping-on-clouds.py
#!/bin/python3
import math
import os
import random
import re
import sys... | 54d673cce11f1c63453bb36745db8330ff0a2975 | [
"Python"
] | 4 | Python | glpayson/pyhr | 1ed5e914dc7a5285d7b2ddf1b9ae29bf547e9e01 | 20e7d1e4ff2a0377538b594784c8049748873b16 |
refs/heads/master | <file_sep>#pragma once
#include "Scene.h"
#include "MainMenu.h"
class Map
{
protected:
int initialScore;
int highScore;
double gravity; //à diviser par l'ecart de temps
/*
enum ElementTypes {VIDE, MUR, ONEWAY, ONEWAY_HAUT, ONEWAY_BAS, ONEWAY_GAUCHE, ONEWAY_DROITE,
PIQUE, SWITCH, GOAL, ROCHER, BOUTEILLE, BOUTEIL... | e9a79c640b8974f6b0c64f542d732975be482087 | [
"C++"
] | 43 | C++ | arthurmougin/projetSFML | e0b4835dc75603cfc41afd4b86f40602e196c300 | 0c210fafe4b6136acdb31247f9a129d5e9653c44 |
refs/heads/master | <repo_name>scherbinin/HW_coursera_algorithms<file_sep>/src/test/java/week3/collinearePoints/PointTest.java
package week3.collinearePoints;
import org.junit.Test;
import week3.collinearPoints.Point;
/**
* Created by scher on 14.08.2019.
*/
public class PointTest {
@Test
public void test() {
Point poi... | 60da2f55ff945a35a2f5a9932a88d1a925ac2411 | [
"Markdown",
"Java"
] | 23 | Java | scherbinin/HW_coursera_algorithms | cf85360b73023cdadbf4c7d78bdd344288a6aa16 | c3e302abfd01f44df0e0117acd02d193fba8caf0 |
refs/heads/master | <repo_name>chigoncalves/cproj<file_sep>/src/main.cc
#include "config.hh"
#include <iostream>
#include <cstdlib>
int
main (int argc, char* argv[]) {
UNUSED (argc, argv);
std::cout << "Project -> \"" << PROJECT_NAME << "\"" << std::endl;
return EXIT_SUCCESS;
}
<file_sep>/CMakeLists-qt.cmake
if ("${CMAKE_CURRENT... | b1f8afd961c62f6d51dd00f88f43f467b55b5afc | [
"C",
"CMake",
"C++",
"reStructuredText"
] | 8 | C++ | chigoncalves/cproj | efe54607b703707d363d5ba2bd9a697946b48f84 | 55ea0c055b3e43b3538aa16326fa52477687b922 |
refs/heads/main | <repo_name>ismailertaylan/ReverseTrianglePattern<file_sep>/Form1.cs
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 TersDuz
{
public parti... | b034f7fdca352fe1b8281eed1edc557b1755b6d2 | [
"C#"
] | 1 | C# | ismailertaylan/ReverseTrianglePattern | e3de56da8c43c80954d5ab4a3deb401fff7eacec | 7168649a3206966b0c58201b2dd71b9c6f84413a |
refs/heads/master | <repo_name>chezhenjun110/ManagementSystem<file_sep>/Ad Tools/Ad Tools/Controllers/HomeController.cs
using Ad_Tools.Log4net;
using Ad_Tools.Models;
using ADTOOLS.AD;
using ADTOOLS.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Xml;
namespace Ad_Tools.Controll... | 6d8ea398325f57f14e683eeb3b1cc82a094c7aad | [
"JavaScript",
"C#"
] | 36 | C# | chezhenjun110/ManagementSystem | e038eaed8af044bc6fe2da05c8f7ef4051fadeff | ac4801c8d62f46061d7d2cd440ebd9aa5fa2dfb0 |
refs/heads/main | <file_sep>#!/usr/bin/env python
# coding: utf-8
# In[1]:
import pandas as pd
# In[2]:
commercial = pd.read_csv('./commercial.csv')
commercial
# In[3]:
# 끝에 5개 데이터만 추출
commercial.tail(5)
# In[5]:
list(commercial), len(list(commercial))
# In[7]:
commercial.groupby('상가업소번호')['상권업종소분류명'].count().sort_val... | 41ea7dd69aab797bca15aa6b862b9e20ae5cadb3 | [
"Python"
] | 1 | Python | dleorud111/chicken_data_geo_graph | e61a3c21252ceb18c133488dfb8ef8849c542da9 | b6c0091cc7dc0610fd7df35a70da7548ab60a322 |
refs/heads/master | <file_sep>import React from 'react';
import PropTypes from 'prop-types';
const CreatorCard = ({
id,
fullName,
comics: { items },
thumbnail: { path, extension },
history,
saveResource,
showSaveItemErrorModal,
isSignedIn,
}) => {
const selectCreator = () => history.push(`/creators/${id}`);
const save... | 05777bf56f2e88933d3d363cff2dc06ef45f9637 | [
"JavaScript",
"Markdown"
] | 68 | JavaScript | matt-taggart/marvel_universe_react | 4ed63b6af9a87bebfb1a0ea115383eb0fe043178 | ed67634ff838bf4ae236688177d498de435b0faf |
refs/heads/master | <file_sep>package testingg;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.testng.annotations.Test;
public class tes... | fd8624a9735845e5f15922e9119ee1e93f0db41b | [
"Java"
] | 1 | Java | nikhiljain86/test | 77ae88acc45a22ae48e5e56c4eb6bb110c6c7817 | 0147fa5f10364538ec5a5b1734cb79144d26b73a |
refs/heads/master | <file_sep>#$<NAME> 10/15/19
import turtle
groundLevel = turtle.window_height() / 2 * -1 + 100
def grass(x, y):
grass = turtle.Turtle()
grass.ht()
grass.width(10)
grass.up()
grass.goto(x,y)
grass.down()
grass.color('green')
grass.left(150)
for i in range(0,3):
grass.forward(... | 40b62f6026588ace43bfa6a67c38bfb3b01bb99d | [
"Python"
] | 3 | Python | Worcester-Preparatory-School-Comp-Sci/turtle-graphics-2-SpencerPaquette | d242343d1877dde82ba02af8095b37ac9859a0b9 | 1d61c9f17b4ac69a64fd1b1d741fe7c6ec5f5c5e |
refs/heads/master | <file_sep>var fs = require('fs');
var input = fs.readFileSync('1.txt').toString().split("\n").map(num => parseInt(num));
const getModuleFuel = (mass) => {
return Math.floor(mass / 3) - 2;
}
const sum = (a, b) => {
return a + b;
}
const calculateTotalFuelPart2 = (moduleMass) => {
const moduleFuel = getMo... | 565ba0d367c83417c3365305905402e215359c6c | [
"JavaScript"
] | 4 | JavaScript | farahanjum/aoc2019 | fe3507893748acb4c7d9d8e92209a62783138926 | 10f11917ad871a83799dca000e469845c4350bc4 |
refs/heads/master | <file_sep><?php
include_once("config.php");
if(isset($_POST['update'])){
$id = mysqli_real_escape_string($mysqli, $_POST['id']);
$ime = mysqli_real_escape_string($mysqli, $_POST['ime']);
$priimek = mysqli_real_escape_string($mysqli, $_POST['priimek']);
$datum = mysqli_real_escape_string($mysqli, $_POST['... | d9385978922490befa525377e1c5f0c6b5e574eb | [
"SQL",
"PHP"
] | 7 | PHP | furchy/Vabljenje2018 | 28115ad1debf246325eac37ea1bfa6f7a11e6256 | 0a8497ea6e8f53101ad425dff27e3bc18ec4ff04 |
refs/heads/master | <repo_name>colombia9503/Posgrados<file_sep>/public/javascripts/app.js
(function(angular){
'use strict';
angular.module('tesisApp',['ngRoute'])
.config(["$routeProvider", "$locationProvider", function($routeProvider, $locationProvider){
$routeProvider
.when('/agregar', {
templateUrl: 'Plantillas/a... | 5f13486117b4c229459d806391a61181b0389b31 | [
"JavaScript"
] | 1 | JavaScript | colombia9503/Posgrados | 3a1bc46e488fe3f0dbdcc42ec5364eac06967c0f | abaf432a0904c1ba16eba113e43011f8cdbeb698 |
refs/heads/master | <file_sep>package com.example.recyclerviewitemfocus
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceSta... | 7018147eaae1449f7f8fbfa58db34caa14cb3e04 | [
"Markdown",
"Kotlin"
] | 3 | Kotlin | codexpedia/android_recyclerview_item_focus_selection | 9b61779b17c007c76ac8125c79778942fcaf7834 | 77d55c29ba0b3f5a551b65172f6097f70fdb71f0 |
refs/heads/master | <file_sep>var slack = require("../../../slack_notify.js");
module.exports = {};
var report = module.exports.report = function(message) {
console.log("SOCKET.IO", message);
slack.notify(message, 'UEDJRTBEZ');
}
var blankStrings = ["null", "undefined", ""];
var isBlank = module.exports.isBlank = function(obj) {
if... | 26122649492613d163b7160665fedb0ac86e2a72 | [
"JavaScript",
"Shell"
] | 3 | JavaScript | samuelokrent/socket-io-debug | 073596294f6a41609bd77e51e8e84d1c9c6dc2c5 | 3914b0824e07b5b2b174f14ebda3074886826ee7 |
refs/heads/master | <file_sep>Shindo.tests('Fog::Compute[:ibm] | image', ['ibm']) do
@image_id = '20010001'
@image = Fog::Compute[:ibm].images.get(@image_id)
tests('success') do
end
end
| 7636fb1cbb6aa05b76a066aea0fe64e84d4fc479 | [
"Ruby"
] | 1 | Ruby | dillards/fog | 4e2619a3e8d68b8faeeb41eb5f30175d930af5b1 | 320d7b05c36fae03067482d840423522c8693510 |
refs/heads/master | <file_sep>module GemsHelper
def has_dependencies?(gem)
gem['dependencies']['development'].empty?
end
end
<file_sep>class StaticPagesController < ApplicationController
def root
end
def favorites
end
def search
respond_to do |format|
begin
@gem = Gems.info params[:search]
res... | b7de205188b3f6cb3175055f6d45b11fb362b5a7 | [
"JavaScript",
"Ruby"
] | 3 | Ruby | edwincarbajal/growth-team-developer-test | 5c7e760095c00e7485f06a9047f2b235ddf79fa3 | 8bb203041eb5499654cdd42cbaef379f5ab4821a |
refs/heads/master | <repo_name>wonkeunchoi/Left4Dead<file_sep>/src/Dead/Battle.java
package Dead;
import java.util.Scanner;
import 글.스토리1;
public class Battle {
public Battle(Zombie enemy, 사람 self) {
Scanner scanner = new Scanner(System.in);
System.out.println("|| 1.싸운다 | 2.남성좀비의 정보를 확인한다 | 3.SafeZone 이동 | 4. 인벤토리 | || ");
int... | c82ef692f1a2e0aeb799903a502b0e4714a40564 | [
"Java"
] | 6 | Java | wonkeunchoi/Left4Dead | 64c068dc446ab1d8f031939d62dadcd354af9e07 | 15e7c312f3a3e9fd9c82fa126ace5783e73f47f3 |
refs/heads/master | <file_sep><?php
$result = '';
if(isset($_POST['submit'])){
if(isset($_POST["birthday"])){
$birthday = new DateTime($_POST['birthday']);
$now = new DateTime();
$interval = $now->diff($birthday);
$result = 'You Birth date is: '.$_POST['birthday']. '<br>'. $i... | 3b2922dabe4096ebcff26cd4560d2023397f1e34 | [
"PHP"
] | 2 | PHP | abdurrahmanriyad/Basic-PHP | f8ba7ab2a1f2c3dcf2e6d560608849f369f66d48 | 13afcfe6e49275f500971bbeabfac89ec99e2b36 |
refs/heads/master | <repo_name>linzhibo/superpoint_visual_odom<file_sep>/superPointNet.py
import glob
import numpy as np
import os
import time
import cv2
import torch
myjet = np.array([[0. , 0. , 0.5 ],
[0. , 0. , 0.99910873],
[0. , 0.37843137, 1. ],
... | 809b087c092fdbf601db88744a68323a8afca06c | [
"Python"
] | 3 | Python | linzhibo/superpoint_visual_odom | 1e92d48c4a9f9423381c7a4a803fd0b9da224535 | 084d3ee3b2ed0875123cd50ea676ffbdbb9d746e |
refs/heads/master | <file_sep>'use strict';
var bodyParser = require('body-parser'),
normalize = require('path').normalize,
spawn = require('child_process').spawn,
crypto = require('crypto'),
express = require('express');
module.exports = GitHooked;
/**
* Create a express app with github webhook parsing an... | 47d394ef5e06f47dcebb8daed096afe235c6663f | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | ScottONeal/githooked | 5dec4f96bac9c88b97c1ceff1bb90343df71f54a | d9cf26e51693796b6d778d2dc11587fa58ab4d7c |
refs/heads/main | <file_sep>
class HashTable {
constructor(size) {
this.values = {};
this.size = size;
}
add(key, value) {
const hash = this.genHash(key)
// Initialize this portion of table
// if it has not yet been defined
if (!this.values.hasOwnProperty(hash))
this.values[hash] = {};
this.val... | 58a658b9509a2e69782c9666ecd96ebd3ac8bdff | [
"JavaScript",
"Markdown"
] | 51 | JavaScript | ClementBuchanan/data-structures-and-algorithms | 773ae626c806fad1a2375681e71abeb0950adffa | 631fd223f1d07f5d4d41d02685e39fec87e556e5 |
refs/heads/main | <repo_name>YashMarmat/TODO-APP-in-React<file_sep>/README.md
# TODO-APP-in-React
See the App in action <a href = "https://9diqy.csb.app/">here</a>
<a href = "https://codesandbox.io/s/advance-todo-bootstrap-fontawesome-9diqy">Sandbox Link</a>
<file_sep>/src/App.js
import React, { Component } from "react";
import "boo... | a3876370a236ee485fbb89adad90f74bbb5be67d | [
"Markdown",
"JavaScript"
] | 2 | Markdown | YashMarmat/TODO-APP-in-React | e285a1f9541ab4e7c919e39fafeb85c7e6e202dd | ee06e60fa2330a5149286ff5e5f38af5f00422ac |
refs/heads/master | <file_sep>
def get_bmi(h,w):
return w / (h*h)
def get_cond(bmi):
if bmi >= 18.5 and bmi < 25:
return 'normal weight'
elif bmi <18.5:
return 'below normal weight'
elif bmi >=25 and bmi < 30:
return 'overweight'
elif bmi >= 30 and bmi < 35:
return 'class I obesity'
... | 26eb03abacde32199c5af0a2d4158e02ececca35 | [
"Markdown",
"Python"
] | 3 | Python | ofekl26/tdd-task | f75a53b64e442844ada47156c0647696d5ebac8a | 30463fb7e4297f9d1069924b6c944363010f4272 |
refs/heads/master | <file_sep>package net.unitecgroup.www.unitecrfid;
import android.app.SearchManager;
import android.content.Context;
import android.content.Intent;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.graphics.drawable.ColorDrawable;
import android.graphics.d... | 1280f93b7dc7d6627079546176c9a51510cf3e3f | [
"Java"
] | 1 | Java | vinnyecosta/AlertDemo | 95234d3c3614cb055c8721eea39a4fee75fa99de | 89d328cc653ddac984e45bfc4de9f19a3c77d003 |
refs/heads/master | <file_sep>(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vega-canvas'), require('vega-scenegraph'), require('vega-dataflow'), require('vega-util')) :
typeof define === 'function' && define.amd ? define(['exports', 'vega-canvas', 'vega-scenegrap... | f0d9fc43e33c161eee4e3035acc9e8621ed13507 | [
"JavaScript",
"Python",
"Markdown"
] | 6 | JavaScript | mitvis/embedding-comparator | 5edc5bea187ca59271f99503c3b16cba63528caa | c6ec8de91c565ce8f267e451474322d53f4f1e57 |
refs/heads/master | <repo_name>waelabed/lec12-wepapi<file_sep>/Consume-wepApi-consule/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace Consume_wepApi_consule
{
class Program
{
stat... | 76d810a74c41bc9e94cefbf474c45304c5de043a | [
"C#"
] | 1 | C# | waelabed/lec12-wepapi | 90c31878fce4ee5c07677fd7fb68e3b0288b1bbc | 1a3e499e18a722e640c27e3318f43a32ab2981a1 |
refs/heads/master | <file_sep>use_frameworks!
target 'iOS_imageSDK_Example' do
pod 'iOS_imageSDK', :path => '../'
target 'iOS_imageSDK_Tests' do
inherit! :search_paths
end
end
| 8605597d36634f3df7e9a9b1de123da6c0cb32c8 | [
"Ruby"
] | 1 | Ruby | JaydeepPatoliya/iOS_imageSDK | 7968476a3b274c62e46dd254ac5d3c97c204b9d1 | bee5c49bb1bef3f093d05d13b63637c5a80b52f1 |
refs/heads/master | <file_sep>package com.wyz.myimagegallery.Util;
import android.content.ContentValues;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.util.Base64;
import android.util.Log;
import com.wyz.myimagegallery.Banco.BancoController;
import co... | 132cf7dfdd92193d3640b1d5db05ea5ef2075ba3 | [
"Java"
] | 5 | Java | Weudrey/Gallery | 9d1fe8caf6db661ffb3b2253fe3e724ae82e4b6c | 47f27f9a31e0813baa1cbf7128b9cb1a1d6d0175 |
refs/heads/master | <repo_name>nareshkumar-h/charity-requestor-ms<file_sep>/src/test/java/com/revature/charityapprequestorms/service/MailServiceTest.java
package com.revature.charityapprequestorms.service;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.tes... | 073f26c3579ced8f9edae24c11441b481722e173 | [
"Java"
] | 3 | Java | nareshkumar-h/charity-requestor-ms | bced5e5a7c381aec2971dfaa66764319e72b85ef | b23306f8ed07daec11fb9e0d6bc8846318d6af82 |
refs/heads/master | <repo_name>zihuxinyu/kmg<file_sep>/kmgLog/logger.go
package kmgLog
import "fmt"
import (
"github.com/bronze1man/kmg/console/kmgContext"
"github.com/bronze1man/kmg/encoding/kmgJson"
"github.com/bronze1man/kmg/kmgFile"
"path/filepath"
"runtime/debug"
"time"
)
type Logger struct {
}
type Priority int
const (
LOG... | e5f1068d96ec86536068e08fd93cb721135db93e | [
"Go"
] | 2 | Go | zihuxinyu/kmg | cb084baeacefb763e1884eda65ad645efe06c740 | e0067ba57d248f53476d5b752627395f9d847e0d |
refs/heads/master | <repo_name>Reynaldi1912/03_praktikum_web_lanjut_satu<file_sep>/database/seeders/AboutSeeder.php
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class AboutSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public... | 644928a7127757c77e79cd13ea3b11cdaf0501a9 | [
"PHP"
] | 6 | PHP | Reynaldi1912/03_praktikum_web_lanjut_satu | 14c15581572287d7c33022d2dbe9580cf422fa2b | 2a5ab96f80104b8d659e25b0eb34599f645ee057 |
refs/heads/master | <file_sep>console.log("script loaded")
window.addEventListener( 'load', function() {
let sendButton1 = document.getElementById('send1')
let sendButton2 = document.getElementById('send2')
let attachButton = document.getElementById('attach-button');
let textArea = document.getElementById('textArea')
console.l... | d65fcac2924956cddcba8e119f48d6be5faa4968 | [
"JavaScript"
] | 1 | JavaScript | AnansiRafa/attachment-checker | 77f7c5332ebe0d539f0614d8948df3afa119ff23 | 5c7259fbbc939343614e4a2207d0d30db3eccaa2 |
refs/heads/master | <repo_name>suryaabednego/tugasweb<file_sep>/tugasWEB.PHP
<?php
$json_string = file_get_contents("http://api.wunderground.com/api/0e4b71198dc78edf/geolookup/conditions/q/IA/mugassari.json");
$json_string2 = file_get_contents("http://api.wunderground.com/api/a657d7d2ba430b38/astronomy/q/IA/mugassari.json");
$json_s... | fb92690b67087135eb3d61dfeaee037fd38ac69c | [
"PHP"
] | 1 | PHP | suryaabednego/tugasweb | c6a182363aa214314cf224245dee5069a545e006 | 3849d6fee05e73bdce905671003216a07ce75312 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using AntaresAzureDNS;
namespace CrossStampFunctional... | 336d3b140ba2a63a26b5c7ca7204d44aa6d82bd3 | [
"C#"
] | 1 | C# | suwatch/CrossStampFunctional | f26fb40045f76ee994385973226696000ac3f682 | 8fc22dd524c928b61f6ffbf0d614b8dad5a9fccc |
refs/heads/main | <repo_name>tnaswin/arabic-to-roman<file_sep>/README.md
# Arabic-to-Roman conversion
A function which turns an Arabic number into a Roman numeral in its minimal form using the "standard" subtractive notation as described on Wikipedia <http://en.wikipedia.org/wiki/Roman_numerals#Reading_Roman_numerals>.
## To execute t... | 4703cbc0c8b3b95c38046466ef14fd53d8ba1c62 | [
"Markdown",
"Python"
] | 2 | Markdown | tnaswin/arabic-to-roman | c3d621b87039b3ba0574ba770cc19b6bc6ac4ac5 | b688589a65855583180245020646f41c2be8976b |
refs/heads/master | <file_sep>#include "ros/ros.h"
#include "std_msgs/Empty.h"
#include "geometry_msgs/Twist.h"
#include "ardrone_autonomy/Navdata.h"
#include "sensor_msgs/Imu.h"
#include <sstream>
#include <iostream>
#include <math.h>
#include <string>
ardrone_autonomy::Navdata msg_in;
geometry_msgs::Twist msgpos_in;
sensor_msgs::Imu ms... | 60d878644b72ab27e9d17f0381656bf4416cc9db | [
"C++"
] | 2 | C++ | ManashRaja/grid_localization | 675e0fca6d37f4d92d360aecb9a7d646ebac3354 | b8d858d7ec21aae5c28213c923cc553128d1bde4 |
refs/heads/master | <file_sep># Generated by mlNewProject at Wed Mar 27 21:08:33 PHT 2019<file_sep><?php
namespace App;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Client;
use App\FeedbackModel;
class AppService
{
private function getServerUrl() {
$ml_host = config('app.ml_host');
$ml_port = config('app.ml_port'... | e4b2779f23e75223538f7cb987ccceacfaa70896 | [
"JavaScript",
"Markdown",
"INI",
"Gradle",
"PHP"
] | 14 | INI | mfgumban/ml-php-sampleforms | 83c2f0ae8bf37be99f9737b5fa8759ecdb417ad0 | e88cdf66f452eebc561c83b693b6a28bbf3649ae |
refs/heads/master | <repo_name>rsnyder49/sessions_controller_lab-v-000<file_sep>/app/helpers/application_helper.rb
module ApplicationHelper
def logged_in?
session[:username]
end
end
| 56bf2cfe315e9aeebf96f18554814ac2f4db3f8a | [
"Ruby"
] | 1 | Ruby | rsnyder49/sessions_controller_lab-v-000 | 6abf952e95aa0072f840a924dd92968faa1df1ed | 5ef02993be56bcb7c53b51086ddd4ca606418bde |
refs/heads/master | <file_sep><?php
class Contact
{
private $personName;
private $phoneNumber;
private $address;
// Contact constructor
function __construct($personName, $phoneNumber, $address)
{
$this->personName = $personName;
$this->phoneNumber = $phoneNumber;
$this->address = $address;
... | 66712c1be23eb24bb74d5b35c833e50cf270bece | [
"Markdown",
"PHP"
] | 2 | PHP | Michaela-Davis/php_address-book | deb79af8d5eda45f85f56a81b713136619383c78 | bf923c5aef4142f3666f480291dbffbcf0bd9b1e |
refs/heads/main | <file_sep># Swagger\Client\PeriodicoApi
All URIs are relative to *https://dc.directchannel.it/ApiRest*
Method | HTTP request | Description
------------- | ------------- | -------------
[**periodicoCallPeriodico**](PeriodicoApi.md#periodicoCallPeriodico) | **POST** /v1/api/Periodico/CallPeriodico |
[**periodicoGet**]... | aa7cb8900438161bb3bd54b39b1d776646e1d3e8 | [
"Markdown",
"PHP"
] | 30 | Markdown | DirectChannel/MentroApiRest | bd62ad6d5ee96b216753f97b7afdc82bea4d2f4f | b193f2ce75bca952dc2831caa730e1a3ea8ef832 |
refs/heads/master | <file_sep>// 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.org/licenses/LICENSE-2.0
//
// Unless required by... | c5ddb4f4c507cd585bc82e281650e3ca716b043d | [
"JavaScript",
"Go",
"Markdown",
"Shell"
] | 18 | Go | recoverlee/battery-historian | 593d011dd7dc086026c6f135204111ef7d5350bc | 95425423b3a578b71958ba4794ab7852151643ba |
refs/heads/master | <file_sep>import inputs
import functions as f
def main():
print(' ----------- Cartola ----------- ')
sair = 'n'
while sair != 's':
print('1) Listar todos os clubes')
print('2) Serie A')
print('3) Outros clubes')
print('4) Classificação brasileirão')
print('5) Próxi... | 12b4109435ca67d4421b8cf816269ddbf68c7700 | [
"Python"
] | 4 | Python | felipe-rosa94/consumindo-api-cartola-fc | f51aa548399c07e9d6ce1cc94cccdf844fde5a81 | 78e139af98685fb1e8bed778547d045d80731642 |
refs/heads/master | <repo_name>Messoras/Live2017Links<file_sep>/script/c8512558.lua
--希望皇オノマトピア
--Utopic Onomatopeia
--Scripted by Logical Nonsense and AlphaKretin
local s,id=GetID()
function s.initial_effect(c)
--Special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMO... | 02b9bb8584020c4b3f06bf274d04ee82d5b96aa0 | [
"Lua"
] | 1 | Lua | Messoras/Live2017Links | 6cf27c798bb086a2de0c57a8b039704e5c37f8d3 | 031c4ea4277eb5176dda97ce4b953d1799a1dd7b |
refs/heads/main | <repo_name>travelbeeee/java-subwayMapPjt<file_sep>/src/main/java/subway/domain/Validator.java
package subway.domain;
public class Validator {
}
<file_sep>/src/main/java/subway/domain/Station.java
package subway.domain;
import java.util.ArrayList;
public class Station {
private String name;
private ArrayList... | 405fa9f2595c5010b087194b1db9854cb3fd2506 | [
"Java"
] | 5 | Java | travelbeeee/java-subwayMapPjt | 541d5d2450c55e57b45a504f6e28fea128759352 | d70eba096accd56148ccde2b8b0dc7405a02cb1b |
refs/heads/master | <repo_name>AShar97/Python-Codes<file_sep>/sort.py
#! /usr/bin/python3
import time
import random
def insertsort(a):
for j in range(1, len(a)):
key = a[j]
i = j - 1
while i >= 0 and a[i] > key:
a[i+1] = a[i]
i = i - 1
a[i+1] = key
def mergesort(a,p,q):
if p < q:
r = (p+q)//2
mergesort(a, p, r)
merge... | 3267d108b559733167b90f4bb02a19dea5d41ff0 | [
"Markdown",
"Python"
] | 9 | Python | AShar97/Python-Codes | 24407f24c93f46197e784aefce5fb8e7d5f769a6 | 3c1bdae6c45a26dd373f7ea24e5cae653d1688f3 |
refs/heads/master | <file_sep><?php
namespace App\Form;
use App\Entity\Tweet;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Validator\Constraints\Length;
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfo... | bf90f535324e5c058d64a114ff2089efddd60799 | [
"Markdown",
"SQL",
"PHP"
] | 6 | PHP | VukasinBabic/twitterApp | 574e041450ccc596e102e918eb113fb652c4f7bf | 102790284f2ad97d1ed836cb30389c508834839e |
refs/heads/master | <file_sep># Hypotenuse-Calculator
takes two arguments and calculates the hypotenuse
<file_sep>/**
*
* This file produces the length of the hypotnuse when given two numbers.
*
* @author <NAME>
* Course: COMP B13
* Created: Jan 31, 2017
* Source File: Hypotenuse.c
*/
#include <stdio.h>
#include <stdli... | f249b9e6da0bdbc84f3389533e7b4bfd80b0ff17 | [
"Markdown",
"C"
] | 2 | Markdown | Adarksoul/Hypotenuse-Calculator | 4ebceb75e98d44fe2c75764347a8a084da61e408 | 1408e5430b2de8d419bf58466f1eb0aa8252981f |
refs/heads/master | <repo_name>ShivaniSingh1501/Aspireathon-WasteBuster<file_sep>/storyqube-dev-mobile-app-master/component/Styles.js
import { StyleSheet, Dimensions, PixelRatio, Platform } from 'react-native'
let { height, width } = Dimensions.get('window');
console.log(height);
console.log(width);
const styles = StyleSheet.create({
... | ce9ecbddc94cf578b513bdeaada46ae2e5c548b9 | [
"JavaScript"
] | 12 | JavaScript | ShivaniSingh1501/Aspireathon-WasteBuster | 167d5789738639719b68f8e9684cbaff40b47321 | f731c4ccc38a21034263df5d22415f1a60282c2f |
refs/heads/master | <file_sep>"""textutil URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
... | 24bb01c6f763bc74674aa3eff56c0d93c083ff49 | [
"Python"
] | 2 | Python | StremCipher/crm1 | 7f99fef5475bdc7e16cac798e54fd56023a365af | 90ece6cd17dacf5b6d7489eb2562a8cbe0dbbd26 |
refs/heads/main | <repo_name>linav92/gestor_project<file_sep>/app/controllers/projects_controller.rb
class ProjectsController < ApplicationController
http_basic_authenticate_with name: "desafiovamoscontodo", password: "<PASSWORD>", only: :dashboard
def index
end
def dashboard
if params[:state].present?
@projects=Proje... | f7749c496934377af5748d5bf2152e3bb5d73277 | [
"Ruby"
] | 2 | Ruby | linav92/gestor_project | 031a68a9f2e355f0913137d401ed75cc208afd48 | 5338e87a75eea5de91cbd2055a83196d35fdc4df |
refs/heads/master | <repo_name>visiting-scientist-3217/ciat_mtods<file_sep>/unittests.py
#!/usr/bin/python
import utility # must be first cause of monkey-patching
import unittest
import traceback
from unittest_helper import PostgreRestorer as PGR
import chado
import os
import cx_oracle
import cassava_ontology
import getpass
import migrati... | f07954937aba585efab5e7893077e7e34d254fd8 | [
"Python"
] | 11 | Python | visiting-scientist-3217/ciat_mtods | 590fa3284fd0147f410c992892c679a4906ea4fb | 43f23eae1077f2bed20b945e01178ce4a75fab3f |
refs/heads/master | <file_sep><?php
session_start();
// connessione con il database
include '../scripts/db-connection.php';
$pagina = $_GET['page'];
//protezione contro mysql injection
$data = $conn -> real_escape_string($_POST['data']);
$descrizione = $conn -> real_escape_string($_POST['descrizione']);
$id_utente = $_SESSION['i... | 8cb9afc58ef12862b2b58ea5ec426e72fc9253de | [
"SQL",
"PHP"
] | 11 | PHP | CamacaroAdriano/to-do-list | 00f4c6d386ddf297640264c2204fe2c1fd2e1da0 | 60be3b89455b7021c5c210fb2f2e92f1a4b592b0 |
refs/heads/master | <repo_name>teguheka/template_mvc<file_sep>/src/main/resources/jdbc.dev.properties
jdbc.driverClassName = org.postgresql.Driver
jdbc.dialect = org.hibernate.dialect.PostgreSQL9Dialect
jdbc.url = jdbc:postgresql://127.0.0.1:5433/test
jdbc.username = root
jdbc.password = <PASSWORD><fil... | d7607e9e9b478f3955ab3f197f7e5536ad4a8f26 | [
"Markdown",
"Java",
"INI"
] | 4 | INI | teguheka/template_mvc | c41e7f90a548d47b08c982972e2090e2bf2f3b72 | 98eec1260544391d8cd5770b0e24069946b81ffe |
refs/heads/master | <file_sep>import logging
import os
from base.webdriverfactory import WebDriverFactory
from utilities import custom_logger as cl
log = cl.customLogger(logging.DEBUG)
def before_feature(context,feature):
print("before feature")
def after_feature(context,feature):
print("after feature")
def before_scenar... | 3fc5495d7af5b2254b0cf14fe343947d86904092 | [
"Python"
] | 7 | Python | ShankuBisai/WebAutomationFramework-BDD | 51ff546023425efdc3fa137371a1824da9706d52 | b18830bbebc9635c972820358c07b649d2f485a9 |
refs/heads/master | <file_sep><section class="dashboard-panel-izq">
<div class="dashboard-box">
<div class="dashboard-box-title">
<span>Productos con mas movimiento</span>
<span class="icono icon-cancel-circle"></span>
<span class="icono max-min icon-circle-up"></span>
</div>
<div class="dashboard-box-conte... | 40f0dd47ddfd5c5e019e7669d1e4110639ea5c14 | [
"Markdown",
"JavaScript",
"PHP"
] | 9 | PHP | moisesHerrera01/SIB | 7223192696cb6be12e108d25d5680b15fbdf5bf0 | d44b34a3b5f0dfd8789d0bc3581f8642ac10601f |
refs/heads/master | <repo_name>yolan90/CardGame<file_sep>/CardGame/ViewController.swift
//
// ViewController.swift
// CardGame
//
// Created by <NAME> on 01/02/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var winnerLabel: UILabel!
@IBOutlet weak... | edadf4d02a86f3a3a5fc89402eb3f8b3b0322747 | [
"Swift"
] | 1 | Swift | yolan90/CardGame | 5fb4d0d425548b435e40e8deee281c4554d1a472 | b05a512cc6531e42836b363ee7ce9a7616cfd0f4 |
refs/heads/main | <file_sep>//
// UnionFindTests.swift
// UnionFindTests
//
// Created by <NAME> on 2020/11/10
// Copyright © 2020 <NAME>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission no... | 9e2dad0cad2e4a309fd9ee0439350267432ef3a5 | [
"Swift",
"Markdown"
] | 4 | Swift | vale-cocoa/UnionFind | d424187bf2d4f966553df089a386ca20990dcaa9 | 04e223bf613e2aa573794e7b371481713e1060bb |
refs/heads/main | <repo_name>ofir3009/Directory-and-Images<file_sep>/CreatingDirectories.py
import os
import matplotlib.pyplot as plt
#import opencv
from PIL import Image
import numpy as np
import shutil
def CreateDirectory(path, name):
'''
Function gets the parameters:
path = the path of the directory we want to ... | 770aff586fda6b42f948897909100f6719058679 | [
"Python"
] | 1 | Python | ofir3009/Directory-and-Images | 05a85447bec187d1790701105e11e61b549f70a5 | 62de5443a4a4562cde53fd6e774401833a17fd00 |
refs/heads/master | <file_sep>#!/bin/sh
#Author: <EMAIL>
#init kubernetes node server
h1() { printf "$(tput bold)%s...\n$(tput sgr0)" "$@"
}
h2() { printf "$(tput setaf 3)%s\n$(tput sgr0)" "$@"
}
success() { printf "$(tput setaf 2; tput bold)✔ %s \n$(tput sgr0)" "$@"
}
error() { printf "$(tput setaf 1; tput bold) %s \n$(tput sgr0)" "$@"... | 2404c4ea724be70ac617d57b7f5fd88aa0a1fa5e | [
"Markdown",
"Shell"
] | 6 | Shell | shiyiwenv/k8s_script | bde434d86fbb33c8ff238b0e2221d463e34b08cf | a1c6e1cb14fc57ab6f37c84b3e52e4a7a1372934 |
refs/heads/master | <repo_name>gayatribhore524/gayatri_guibank<file_sep>/src/com/main/view/deleteaccount.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.main.view;
import com.main.servi... | e1cd3c768a03d7f26d866999cedc91d5dafe12dd | [
"Java"
] | 1 | Java | gayatribhore524/gayatri_guibank | c5b7643b3a10400a5f9f736c59934271f8d9f9a3 | f064c682f95fc840bcd5e12e5a7ff504a4454b97 |
refs/heads/master | <file_sep>/**************************************************************************************
* N.Kozak // Lviv'2020 // ACM // event-driven validator example by JavaScript(NodeJS) *
* file: acmhw28_1.js (renamed to index.js) *
*******************************************... | 89643079377ea7991d6ca09051609bdb0c6411b5 | [
"JavaScript"
] | 1 | JavaScript | RomanLypenko/srcacmhw28_1 | ebc5b9df1f3afce3d3890d861f584b8c3b8e97cb | bc8d25dcf92d382bbc6f77ae84b9638b0b6e16f5 |
refs/heads/master | <repo_name>acejnar/wiasane<file_sep>/winsane/winsane_socket.h
/***************************************************************************
* _ ___ _____
* Project | | / (_)___ _/ ___/____ _____ ___
* | | /| / / / __ `/\__ \/ __ `/ __ \/ _ \
* ... | 9ddd537d660c750935082c0a43429bdf80f7debb | [
"C++"
] | 2 | C++ | acejnar/wiasane | 585d4a30ae7f45cc467e9c2928d419f696af0302 | 91877868dec82df376973191522cecd3ec83fdc3 |
refs/heads/master | <file_sep>using System.Collections;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using NUnit.Framework;
namespace NullabilityMetadataParser.Tests
{
public class NullabilityMetadataParserTests
{
[TestCaseSource(typeof(NullabilityData), nameof(NullabilityDa... | a7b2ecbcf098bfec5b2b3b1613660bdd4ba1e3ab | [
"C#"
] | 3 | C# | roji/NullabilityMetadataParser | 4b20b2f0d5288782fe1b483f91b7f33c8ed144ca | b5e96fed2aaa216f5218bbfd034f6416e62a2fed |
refs/heads/main | <repo_name>fabriziobonavita/python-rest-template<file_sep>/README.md
# Template for python rest services
This repository is serving as a template to base python rest webservices on
The scope of this service example covers:
* Fastapi uvicorn service
* SqlAlchemy setup
* Nox sessions for tests, linting, type checking, ... | e3b68b37ca57fca4d4d93b6e582fda6128ba02a4 | [
"Markdown",
"TOML",
"Python",
"reStructuredText"
] | 11 | Markdown | fabriziobonavita/python-rest-template | 5ebed6c3acb6980ba4aced2bd9c586ed6a39aef8 | eba01274f87143567bed981dcf980b96680fff9e |
refs/heads/master | <repo_name>l236/paxos<file_sep>/main.cpp
#include <queue>
#include <string>
#include <stdlib.h>/*用到了srand函数,所以要有这个头文件*/
#include <stdio.h>
#include <iostream>
#include <list>
#include <vector>
#include <sstream>
#include <time.h>
using namespace std;
class Promise {
private:
bool ack;
long ab;
string av;
... | a6802594d7d1670dd482c23cbfa2e9cdc098c1ef | [
"Markdown",
"C++"
] | 2 | C++ | l236/paxos | 5e7be13a6b8d1be7bc8cec35d5dcdeb5a17d8f9b | 690e7fdfafb1267b201c7482aa0a43d29fdb696a |
refs/heads/master | <file_sep>rootProject.name = 'MyTextInput'
include ':app'
<file_sep>/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
TextInput
} from 'react-native';
export default class MyTextI... | 1343c5ab95e68bfed5b670cf5f6df8764fae46ea | [
"JavaScript",
"Gradle"
] | 2 | Gradle | chenqianwen/MyTextInput | cce09d9ff79196c1156d0f6a1ed648d594553290 | 18f267ef5a1d53e280ac236b020137d9412b0d7d |
refs/heads/master | <file_sep>VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian-jessie-8.0-RC2"
config.vm.box_url = "http://static.gender-api.com/debian-8-jessie-rc2-x64-slim.box"
config.ssh.forward_agent = true
config.vm.define "dev" do |devconf|
devconf.vm.hostnam... | 1138f46f71e6abfbbc9ee2a796a44c3ad415ed16 | [
"Ruby"
] | 1 | Ruby | dominis/box.dev | 9882bd43919a8cb177f05a8fd67c6669f882625b | e05b4b94a890aaa3a1b9e4b7fc317561b21b5e0c |
refs/heads/master | <repo_name>ramonvictor/dumbx-js<file_sep>/README.md
# dumbx-js
[](https://badge.fury.io/js/dumbx)
A very dumb way of using some Redux principles.
# Usage
First of all, instantiate the store:
```js
const Dumbx = require('./dumbx');
const store = new Dumbx({
state:... | 37eb30bcf6414bc340ec4ba00555d69e77d0089d | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ramonvictor/dumbx-js | ce88ebe667996af1099ec45a3ec4cea393de675f | 49b63c1bcfc00b6ff22b6402590579407edd7981 |
refs/heads/master | <repo_name>wwhui/icare<file_sep>/src/main/java/com/sjtu/icare/modules/op/service/IWorkService.java
/**
* @Package com.sjtu.icare.modules.op.service
* @Description TODO
* @date Mar 23, 2015 7:47:52 PM
* @author <NAME>
* @version TODO
*/
package com.sjtu.icare.modules.op.service;
import java.util.List;
import com... | 50fae8de82c5bef70e27e52787e31bea31366ed8 | [
"JavaScript",
"Java",
"Text",
"SQL"
] | 19 | Java | wwhui/icare | d86b84a987447dd2122e0a22bb674a67e7ebad9a | 88f7618014d7469ab137f173f61cd99771201232 |
refs/heads/master | <file_sep>package benjaminpeter.name;
import java.util.List;
import java.util.Iterator;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import net.fortuna.ical4j.model.Calendar;
import net.fortuna.ical4j.model.Component;
import net.fortuna.ical4j.model.ComponentList;
import net... | 699666a3755e7c7f94ea3f80c94c14c64775474f | [
"Markdown",
"Java",
"Maven POM"
] | 3 | Java | dedeibel/list-events-caldav4j-example | b1832a194c4be031c34472c86dec933160ce4a2d | 0beecb40e26b4625ea8f46f4d7bbaa83adf6ac38 |
refs/heads/master | <repo_name>ktvoort123/video-store-api<file_sep>/test/controllers/videos_controller_test.rb
require "test_helper"
describe VideosController do
it "responds with JSON and success" do
get videos_path
expect(response.header['Content-Type']).must_include 'json'
must_respond_with :ok
end
it "must get ind... | cc7f2e2ef64ce1961e16a4d33ee8e37d605ce0f6 | [
"Ruby"
] | 9 | Ruby | ktvoort123/video-store-api | 3dfa714a7a5c2790b7fb7cbb7f7c82bd392663b4 | 0180f80c1b5a30abcf5bf40a591ae22a13ea1f63 |
refs/heads/master | <repo_name>Thomasubert/projetperso<file_sep>/src/Controller/HomeController.php
<?php
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
class HomeController extends AbstractControl... | 5649e4e5b34cd5dfdf16cc75a04d54112dd3516b | [
"PHP"
] | 1 | PHP | Thomasubert/projetperso | 4db91633f49dbc186fcf8bc1dc407c164cf8b3b4 | 4ba7f774204b76e93fe999ca23b06cae558c2c9f |
refs/heads/master | <repo_name>SterlingAr/PasswordApp<file_sep>/PasswordBucket/src/com/passwordbucket/view/EntryListController.java
package com.passwordbucket.view;
import java.util.List;
import com.passwordbucket.MainApp;
import com.passwordbucket.model.domain.Entry;
import com.passwordbucket.model.domain.EntryList;
import com.password... | fa0172c6b166f65cde173164a3e2e9a126da71c9 | [
"Java",
"SQL"
] | 5 | Java | SterlingAr/PasswordApp | 11df53d0a91b226846e8e062abecd7b217348452 | afec290b040c9f1aa49b2f9ce065ffd365a49e05 |
refs/heads/master | <repo_name>jffarias/algoritmos_python<file_sep>/cuadrado.py
def cuad1(num):
print num*num
def cuad2():
n = input("Ingrese un número: ")
cuad1(n)
<file_sep>/buscarEnArchivo1.py
#https://es.stackoverflow.com/questions/38288/duda-con-raw-input
#http://pharalax.com/blog/python-buscador-de-palabras-en-un-... | b6aa5e763bbf98db2538dd5c4301b19c843fdbb7 | [
"Python"
] | 3 | Python | jffarias/algoritmos_python | 0e8d753c2e5c9c6ec592e30fe5423be67b60dd3a | 261dddc0c73aac4cc3fd0b29abf106846a9c06b7 |
refs/heads/master | <repo_name>Andrzej-Marek/Netguru<file_sep>/start.js
const app = require("./app.js");
const db_connect = require("./actions/db_connect");
// const mongoose = require("mongoose");
db_connect();
// const tryToConnectDB = () => {
// mongoose
// .connect("mongodb://mongo:27017/netguru_test_app", {
// // useUn... | 55a572abcfa5c15bc64840f485320f46633def4d | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | Andrzej-Marek/Netguru | b64d94c5a46128b3e1fe3e393d73729a0788fcdd | 4c2d1b6c24fa0778274b7e1d32ea0a2eb7f53385 |
refs/heads/master | <repo_name>RobertoFlores/RevolverETL<file_sep>/DataModel/Entities/Enum.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataModel.Entities
{
public enum DatabaseDriver
{
MySQL = 1,
SQLServer,
SQLite,
... | 7389916eff6401fcdb51dc00868f5ec63f378434 | [
"Markdown",
"C#"
] | 13 | C# | RobertoFlores/RevolverETL | 947aec3f4899d9e68bbb974cea5228032c56cceb | aef7cb0d7a66c175f245a63fcf85b964602eb70b |
refs/heads/master | <repo_name>hildjj/itunes2html<file_sep>/fix
#!/usr/bin/env node
const plist = require('plist');
const pug = require('pug');
const fs = require('fs');
const path = require('path');
const util = require('util');
const PUG = path.join(__dirname, 'fix.pug');
const readFile = util.promisify(fs.readFile);
const writeFile =... | 1e103f34ab8993d191768d1dd0c3d3ee2a2c5dab | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | hildjj/itunes2html | 468794d2c461fa08d16c51bb36873ae9877bb728 | 3f61b6d14d56a90290a9dd134c06c470ec4fac94 |
refs/heads/master | <file_sep>using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
namespace pswdgen
{
class Program
{
static string RandomString(int length)
{
const string valid = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$... | c9c316100cadc59351c3c3db5501b0b819d739ad | [
"Markdown",
"C#"
] | 2 | C# | sarangxyz/pswdgen | 923db2a0e45818390d787a5fce73d8afb14b8305 | 55d4d05e64d26508329139c1fd7754e481d6e901 |
refs/heads/master | <repo_name>gioelevalori/ngbiblioteca<file_sep>/src/app/utenti/utenti-mod/utenti-mod.component.spec.ts
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { UtentiModComponent } from './utenti-mod.component';
describe('UtentiModComponent', () => {
let component: UtentiModComponent;
let fixtur... | 588b7fc1067a4374faf0559e4c054b81eac0e39f | [
"TypeScript"
] | 7 | TypeScript | gioelevalori/ngbiblioteca | 1d0863e73b180f6fb1782688776cc98f5f3dae3b | ef21bfc6a8746eecf277336a8b40a156169d981b |
refs/heads/master | <file_sep>module.exports = {
appId: 'wx3816e88e3c0c6c28',
appSecret: '<KEY>',
// host: 'https://www.sneptune.cn',
host: '172.16.58.3',
token: '<PASSWORD>'
};
// module.exports = {
// appId: 'wxcd0b833018b5cdc1',
// appSecret: '<KEY>',
// // host: 'https://www.sneptune.cn',
// host: '... | 7b18a65ef21779f26d200536b4968358c177fe88 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | powercandy/wx_authorize | 32c71d9737a048ef8059ceb5cb256605547369ce | 8f9a3fe7ec3fb70f191225203731c42d84fd3802 |
refs/heads/master | <repo_name>nickKedro/eshop_project<file_sep>/js/script.js
$('.category').hover( function () {
setTimeout(function() {
$('.category > .subcategory').css({'display' : 'inline'});
}, 500);
},
function () {
var cursorPos = document.getElementsByClassName('category');
setTime... | 111e2f958a3bb847151f077e09c09a33280e0313 | [
"JavaScript"
] | 1 | JavaScript | nickKedro/eshop_project | 4b0673d2c043e38a8914e4af4a5d0395ca9bbc26 | 9eabc2e31d4c58300d27199db998ff47c6f3b987 |
refs/heads/master | <file_sep>sudo virsh net-start default
minikube delete
rm -rf ~/.minikube
minikube start --vm-driver kvm --memory 2000 --cpus 1 --disk-size 10g
helm install ./chart | 4bcd86d8873ae507a604c9088d7b4ef15c540c60 | [
"Shell"
] | 1 | Shell | efidel/kubernetes-ci-cd | b78753b389a2c0212687cee0b03896b423e5f4c6 | 0b8df809ebf87b59a93e061b1f0c8c01da8cbc42 |
refs/heads/master | <repo_name>rystills/N64-Rom-Disassembler<file_sep>/todo.py
'just pretend this string is not here'
''' ADDITIONS
A button for the jumps window which labels all jumps to a function using the function title comment.
A function optimiser which will condense a chosen function down to as little instructions as possible... | cc1ff9cf922ffa86b1f09b11ddd544dab1e35513 | [
"Python"
] | 1 | Python | rystills/N64-Rom-Disassembler | 3a1357f171efb0be3290ff5d3d7dd4642592833d | 23f79ec6fd274b41e5ed024f5d5796d06739346f |
refs/heads/master | <file_sep>//
// Generated By:JAX-WS RI IBM 2.1.1 in JDK 6 (JAXB RI IBM JAXB 2.1.3 in JDK 1.6)
//
package entitlement_v1.relationship.product.information.services.nm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import j... | fc684860bc4ff1cb59eabfc2fbdc7b802599624d | [
"Java",
"Ant Build System",
"INI"
] | 17 | Java | asenguptagithublocalwi/edas-entitlement-migration | e8dbf7fce15a2ac3a224ebc64c385e0b089ef78a | 02d7f0853ab3d4404899af04d3b88e96d62b436e |
refs/heads/master | <file_sep><p align="center">
<img src="https://altyra.com/wp-content/uploads/2018/11/mysql-logo-png-transparent.png" width="200" />
</p>
<h1 align="center">
Mysql
</h1>
## Imagens do Projeto

## Como... | 48d1c11a2fc4f96769d085b1dde5d4111423b9be | [
"Markdown",
"SQL"
] | 8 | Markdown | GustavoNoronhaCursos/mysql | fc551d5b29b10a9786c7cefb75960f26a3db1bb0 | 286d432d1238fa8d6de08cf68d2e43ffe3e752fc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.