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>import json
import decimal
from flask import Flask, request, jsonify
from database import get_connection
# from flask_marshmallow import Marshmallow
app = Flask(__name__)
def json_encode_decimal(obj):
if isinstance(obj, decimal.Decimal):
return str(obj)
raise TypeError(repr(obj) + " is not JSON ser... | bd562d91eed4f87e0d2eb311418294a8eaabf3d5 | [
"Python"
] | 2 | Python | datnt-dev/min_price_sql | 7ba36ad1cdedbe457c75be9b1d75750da73218fd | 70cbb094b18f3aea14896e51a02991fde8bd8b15 |
refs/heads/master | <repo_name>mazoruss/chatterbox-server<file_sep>/server/request-handler2.js
var fs = require('fs');
var path = require('path');
// var bodyParser = require('bodyParser');
var defaultCorsHeaders = {
'access-control-allow-origin': '*',
'access-control-allow-methods': 'GET, POST, PUT, DELETE, OPTIONS',
'access-contr... | c9167cc8322a28ad4caf733d7539357739e91d53 | [
"JavaScript"
] | 2 | JavaScript | mazoruss/chatterbox-server | ce3ec097da731038f3c0b101ea8c51f400958ffc | aecddb2ef2ac53505b744ad48d5888f392f00ad5 |
refs/heads/master | <repo_name>xw5/first_uniapp<file_sep>/backupData/ulick.js
export default uLikeData = [
{
"id": "marvel-1026",
"name": "毒液:致命守护者",
"poster": "http://172.16.58.3:88/superhero/MARVEL/Venom/poster.png",
"cover": "http://172.16.58.3:88/superhero/MARVEL/Venom/cover.png",
"trailer": "http://172.16.58.3:8... | ba24d2ca6fb6af57b46dfaedb728cf032b874e95 | [
"JavaScript"
] | 3 | JavaScript | xw5/first_uniapp | 112f933fc7a9695e67669c90396f272c414ec03f | eb86cc4d857b6b01c81e363d7d08a5afee252543 |
refs/heads/main | <repo_name>mohamedelshafie/Simple-chaining-hashing-project<file_sep>/README.md
# Simple-chaining-hashing-project
a structure representing student information consisting of the following:
Student name
Student ID (integer)
Student date of birth in 3 integers (day, month, year)
Student score of last year ... | 27ea596634b03c45cbf4117187dd0d84f79e2c24 | [
"Markdown",
"C"
] | 2 | Markdown | mohamedelshafie/Simple-chaining-hashing-project | b776d0ecd53a707ee264072f20f380b8fae28000 | f1d1e130676a8d3c1cce9bd4fe9f84466cb114e3 |
refs/heads/master | <repo_name>VeniZhang/xiao_tuan_ti<file_sep>/xiaotuanti.py
#!coding:utf8
#group_num = input("how many groups you want to create?")
#node_num = input("how many nodes in one group") #print group_num, node_num
import time
import math
class Network_():
def __init__(self):
self.group_num = 0
self.node_nu... | 0d09eacc2e757e5527bfd507c9159b7398a5a7a5 | [
"Python"
] | 1 | Python | VeniZhang/xiao_tuan_ti | f447b9e73d276b7a47c37c4ab0d73d6b440375dd | 579256c30b6a3fc237c10946469633c75d5467e8 |
refs/heads/master | <file_sep>This file is not longer used. Please review documentation.
<file_sep>
//-------------------------
//TIP Configurator Utility
//
//Owner: Troux TSG
//
//Author: <NAME>
//
//Updated By: <NAME>, <NAME>
//
//Updated Date: August, 2008
//
//Date: May, 2006
//
//Copyright (C) 2006 Troux Technologies... | 23cc9ab81423bafa401eeeedc780adee7ab61df6 | [
"JavaScript",
"Java",
"Text"
] | 18 | Text | vhellem/dovcap | 9ab49d9a0770adacbece1952dc90dbf2c80f76db | bdbd93cd0ffb35877eee40846bc26be67681dcb0 |
refs/heads/master | <repo_name>Janini24/WorkyWork<file_sep>/WorkyworkV0/src/exercises/C10R17.java
package exercises;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Scanner;
public class C10R17 {
private static double num1 = 0, num2 = 0, result = 0;
private static Scanner j = new Scanner(System.in);
... | b6e465c50229c6569e865feee7282a74135ba481 | [
"Java"
] | 10 | Java | Janini24/WorkyWork | 33fa6b059d123f9842a75a1b95e3b4bfd5978e0e | afcc442bbbf8611fad661be6f4c3a1b4ee5c4fc8 |
refs/heads/master | <file_sep>/*
* AVR_registers.h
*
* Created on: Sep 16, 2019
* Author: Nour
*/
#ifndef AVR_REGISTERS_H_
#define AVR_REGISTERS_H_
#include "standard_library.h"
/* General purpose I/O registers and bits */
#define PORTA_R (*(volatile uint8 * const)0x003B)
#define PORTB_R (*(volatile uint8 *... | f85d11cbeb62c3d85ab64d272a2ba38231127e0f | [
"C"
] | 58 | C | NourAlaaeldin/AVR_Projects | 5867a2058db407abf368ad50ff6b789b75434630 | 9c019e442ceeaa1a2375c1bbb50a794c26546fe3 |
refs/heads/master | <file_sep>
numbers = {};
base = 2;
power = 2;
combo_cnt = 0;
duplicate_cnt = 0;
while (base <= 100):
power=2;
while (power <= 100):
combo_cnt += 1;
n = base**power;
if (numbers.has_key(n)):
numbers[n].append((base,power));
#print "%d; %d" % (power, base)
duplicate_cnt += 1;
else:
numbers[n] = [(ba... | 61a03723b20e101caefe4140558a23f65c476bd5 | [
"Makefile",
"C",
"Python",
"Text"
] | 50 | Python | smb33186/Another-Project-Euler-Work | d387c643ebebe90ce7166e42165536083b0d4074 | 660381078c96004f4955592bddff6805a55d7f3d |
refs/heads/master | <file_sep>#include "push_motor.h"
void Push_Wheel_Stop()
{
TIM_SetCompare1(TIM5,1520);
}
void Push_Wheel_CW()
{
TIM_SetCompare1(TIM5,PUSH_CW_SPEED);
}
void Push_Wheel_CCW()
{
TIM_SetCompare1(TIM5,PUSH_CCW_SPEED);
}<file_sep>#include "Start_Task.h"
uint32_t test_dT_1000hz[3],test_rT[6];
static void Loop_1000Hz... | bb926827651ed3b08b7552b5f9776fe320b72ae6 | [
"Markdown",
"C"
] | 52 | C | 13651924886/2020SUES_BDT-Hero | c278bb39a3511792f51b5669c3f8deeae4628afe | 45364098c594b240d36cf830c727bc72ccd05c11 |
refs/heads/master | <file_sep>import React, { useState, useContext } from "react";
import "../../styles/index.scss";
import { Link } from "react-router-dom";
import { Card, ButtonToolbar, CardGroup, Button } from "react-bootstrap";
import PropTypes from "prop-types";
import { Context } from "../store/appContext";
export const Planets = p... | d95f8b761e777b299a0ade2c688e36606ad20ba8 | [
"JavaScript"
] | 1 | JavaScript | YeiDiaz/Star-wars-Swapi | 538a9753205277b4264251ec6f86c1052d19c351 | fa030f4a6a24f164528a1962abbe496f95faa0ad |
refs/heads/master | <file_sep>package sample;
import com.mongodb.BasicDBObject;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.control.Alert;
import javafx.scene.contr... | 81b0964ebb2c653c75336a5490f360ccf7bcce60 | [
"Java"
] | 6 | Java | Saranga99/Java-FX-cw-01--Priyalal-Srores- | d4d6068ae5866bfffff1767ce431e6f2e82934ec | dbd48c1b4ed5883718ab75cc1339452868546f2d |
refs/heads/master | <repo_name>huangtiancai/webgl-threejs-thingjs<file_sep>/threejs/2.初识Three.js/app.js
// 声明全局变量
var scene, camera, geomerty, material, mesh, renderer, stats;
// 调用
init();
animate();
// 初始化
function init() {
// 实例化场景
scene = new THREE.Scene();
// 实例化相机
camera = new THREE.PerspectiveCamera(75, window.innerWidth... | 8f33506ab545c2f74af35bf3f3cd822fee13d621 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | huangtiancai/webgl-threejs-thingjs | 40cdab8074f8a3443e211221aca0a027a429e39c | ccc81da8542878fdf902df76c8c8cdc4b2a009fa |
refs/heads/master | <repo_name>StanleyGoldman/NRules<file_sep>/src/NRules/Tests/NRules.IntegrationTests/TwoFactOneForAllCheckRuleTest.cs
using NRules.IntegrationTests.TestAssets;
using NRules.IntegrationTests.TestRules;
using NUnit.Framework;
namespace NRules.IntegrationTests
{
[TestFixture]
public class TwoFactOneForAllCheckRule... | bcbe17a923cd2040bc04b14b586a709c4a1caf98 | [
"Markdown",
"C#"
] | 96 | C# | StanleyGoldman/NRules | c9547bd9e2c55e933ba902b6a7897f884833aa2a | ef189d225c36e03eb69a3005c147ca1c2f51ec8d |
refs/heads/main | <repo_name>GirishKaradas/firebase-lyo4-1<file_sep>/src/Pages/MiddlePage/ListUsers.jsx
import { v4 as uuid } from 'uuid';
import moment from 'moment';
import {
Avatar,
Box,
Button,
Card,
CardHeader,
Divider,
IconButton,
List,
ListItem,
ListItemAvatar,
ListItemText,
Typography
} from '@material-... | c68c54b7c9b31c9d1ddce2cdb91bbc86ef7f2395 | [
"JavaScript",
"Markdown"
] | 101 | JavaScript | GirishKaradas/firebase-lyo4-1 | 39aeecd4d021b72aadfa70cb1fb5790c588711cc | 7a7a9b64ca661c99230b31e0ff1bec07744434af |
refs/heads/master | <file_sep>## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function -- OK
## The 'makeCacheMatrix' function creates a special "matrix" object
## that can cache its inverse. Per the assignment instructions, we
## are to assume matrix supplied... | 3d3591540070a07e7bec5313772da9720ed35bc5 | [
"R"
] | 1 | R | jmasih/ProgrammingAssignment2 | cfc81798540087856b88675ea9ef2ca3586c0a2b | d74b6a378d4131fe2e7fb2137986d131913a2bf7 |
refs/heads/master | <file_sep>#include <iostream>
using namespace std;
void PrintSpiral(int arr[10][10],int r,int c){
int startCol=0,startRow=0,endCol=c-1,endRow=r-1;
while(startCol<=endCol && startRow<=endRow){
//print first row
for(int i=startCol;i<=endCol;i++)
cout<<a... | fa4f744e887ac0b62cb138f65553d5ed89ad883a | [
"C++"
] | 1 | C++ | Manit1/2d-Spiral-print | b8a06b0dc78fe90d13b7517f845a7167ebb6a3b6 | 86015d4322b27385c84e9f8690560768bdb609c1 |
refs/heads/master | <repo_name>JJMo22/Spoon-Knife<file_sep>/cacheSolve.R
cacheSolve <- function(x, ...){
s <- x$getsol()
if (!is.null(s)){
message("Boo ya")
return(s)
}
data <- x$get()
s <- solve(data,...)
x$setsol(s)
s
}
| fbc38824a1dba8e8d29fec8b30a721b273b560da | [
"R"
] | 1 | R | JJMo22/Spoon-Knife | ee8bb1dbf67054bff567f27da2e671b087fb9f4a | 8c6d27723ada100e6bfe63eabdc7e896e473106a |
refs/heads/master | <file_sep># i'm a comment
import urllib2
import json
import googlemaps
gmaps = googlemaps.Client(key='')
def get_html(url):
"""
Does a thing
:param url: a URL
:return: the URL (opened)
"""
return urllib2.urlopen(url).read()
def api_call(origins, destinations):
gmaps.distance_matrix(ori... | 69afb00756d39390a39af321502752e824bb9777 | [
"Python"
] | 1 | Python | armsnyder/where-should-we-live | 5290dfb544595cfd4ee7841e5fd8be573c21f463 | 2c7c574669a35b033ad362b8e05a3935059c3442 |
refs/heads/master | <repo_name>santerinogelainen/osu<file_sep>/osu.Game.Tests/Visual/Editing/TestSceneEditorSamplePlayback.cs
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics.Audi... | 7cc2775a9b4dcff27e6de3097a7b4f33e647d2b5 | [
"C#"
] | 4 | C# | santerinogelainen/osu | eb47eb150519b6c28e71f2a7588eb4c5c39e2a59 | 571d8d8d90255cc997ad4f6af32982e68f4ad495 |
refs/heads/master | <repo_name>sd-2019-30238/assignment-1-lucadanadrian<file_sep>/assignment3/src/main/java/com/books/assignment3/handler/impl/BookRequestHandler.java
package com.books.assignment3.handler.impl;
import com.books.assignment3.handler.RequestHandler;
import com.books.assignment3.model.command.BookCommandDTO;
import com.books... | 749868ee6f3a74d7ec0f10c0c7fd7c2d6fd52d8a | [
"Java"
] | 21 | Java | sd-2019-30238/assignment-1-lucadanadrian | 59c9f093e4090ff9a7c8fa172499d8b288203a45 | c99e0e206b7cfb2c3f004a7e8c86a475a3fd71cb |
refs/heads/master | <repo_name>alexishiniker/NasaImages-Starter<file_sep>/README.md
# NasaImages-Starter
Add your API key retrieved from: https://api.nasa.gov/
<file_sep>/app/src/main/java/edu/washington/recyclednasaimages/NasaContentDownloader.kt
package edu.washington.recyclednasaimages
import android.content.Context
import android... | 9964c30e0e7b765fab1d6c6a07b44d17d727ffd6 | [
"Markdown",
"Kotlin"
] | 4 | Markdown | alexishiniker/NasaImages-Starter | 240372e697de23ca604bc195f238072091814105 | ec66d772e21bd0e4bfc8a91d64358df97c47cb5a |
refs/heads/master | <repo_name>sjwoods/python-challenge<file_sep>/PyBank/main.py
import csv
import os
budget_data = os.path.join('..', 'PyBank', 'budget_data.csv')
total_months = []
total_profit = []
monthly_profit = []
with open(budget_data, newline="") as csvfile:
csvreader = csv.reader(csvfile, delimiter= ",")
csv_header = n... | b1de7b41835aae2da02d2beba65aa99628a976d8 | [
"Python"
] | 2 | Python | sjwoods/python-challenge | d92a041858fdac38d63255feddd570adccb1a3ca | 56eda441ddd80a0d45004eb845bc2124bdc4d933 |
refs/heads/main | <repo_name>luronava/portafolio-progra-II<file_sep>/Ejercicios/src/Parte4/main.java
package Parte4;
public class main {
public static void main(String[] args) {
for (int i = 0; i < 20; i++) {
System.out.println(Random.getValor());
}
}
}
<file_sep>/Ejercicios/src/Parte5/Baló... | 81caf82995ad2ff0c9819f8972256e3d02e23ecc | [
"Java"
] | 6 | Java | luronava/portafolio-progra-II | fc7a3362ce0c12e252b59c21153b059d696d0a56 | 56bf2773945fdc149c9076e8ed2c5a79b4efd7a3 |
refs/heads/master | <file_sep>import React from 'react'
export default function AppFocusLog(props) {
if (props.isLoading) return null
if (!props.log) return null
//
const lines = props.log.split('\n').map((line, idx) => <p key={idx}>{line}</p>)
return (
<div className="container">
<h3>Logs</h3>
<div className="C... | 13644c6326b837d1990860ce8261b32a79899efc | [
"JavaScript"
] | 10 | JavaScript | MichaelTSS/data-mechanics | 80123347f8fdf13436a1f3313b2fd2e24a891776 | 3654d5d1ab8bf37499067be0473de4b9223077a9 |
refs/heads/master | <repo_name>cquito2/recentCode<file_sep>/README.md
# recentCode
this is repository to display all the current code I have worked on
<file_sep>/BST/Node.java
//===========================================================
// <NAME> 9.16.2019
// Node class to be used in BTS class
//==========================================... | 3372d5caa5ceff2c02f782f06c783a578e488e7d | [
"Markdown",
"Java"
] | 3 | Markdown | cquito2/recentCode | b2dfab68aa0392c7a601f8dae9d830b8205aff33 | 87b2bf17bfa40c5cff892d1dae8225637ed54411 |
refs/heads/main | <repo_name>trinhhungfischer/GEP<file_sep>/Cart-pole-v0/Cart_pole_v0.py
"""
||========================================================||
|| This is my label for every program which coded by Hung ||
||========================================================||
"""
import gym
import random
import matplotlib.pyplot as plt
... | f5b58e62e2e7871a5ec55a81c8f11d7962779218 | [
"Markdown",
"Python"
] | 9 | Python | trinhhungfischer/GEP | 946775a4029bd75d2555b7b85432a4c6f87397fe | 4df92eaef23ccd465c99364547aed1fb7d147eb3 |
refs/heads/main | <repo_name>melodygr/Time_Series_project<file_sep>/user_functions.py
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import time
import itertools
from datetime import datetime
from statsmodels.graphics.tsaplots import plot_pacf
from matplotlib.pylab import rcParams
from stats... | feac270d14db8fe6a36ba91f12b1c891f9d0c6f5 | [
"Markdown",
"Python"
] | 2 | Python | melodygr/Time_Series_project | 19a68d8999560e1aa89c6f8b2b24b671f5eb3a4c | b49406b41352af5b5fec7db8ae2796f1ca10cd48 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RightCommand : ICommand
{
public string Name => "Right";
public void ExectueCommand (Player player)
{
player.MoveRight ();
}
}<file_sep>using System.Collections;
using System.Collections.Ge... | 0d55ee6cd9c47674d398d3547225786f8d2463eb | [
"C#"
] | 9 | C# | ahmedsabry22/Command-Pattern-Tutorial-Ahmed-Sabry | 1b96cd32ad7b72f830a530f9e790a86eba0e75d9 | f8bcce6df5786fa1fc9aa9e2967e5e88530209ce |
refs/heads/master | <repo_name>rokborf/react-widgets<file_sep>/packages/react-widgets/src/Widget.js
import React from 'react'
import PropTypes from 'prop-types'
import cn from 'classnames'
class Widget extends React.Component {
static propTypes = {
tabIndex: PropTypes.node,
focused: PropTypes.bool,
disabled: PropTypes.bool,... | 848076c9455fad254ca465064204e75b94948c07 | [
"JavaScript",
"Markdown"
] | 25 | JavaScript | rokborf/react-widgets | 4f7452738283e7f6e7327d81144246fc2b56f645 | 34a848c60ce93d90167d98bf7d1fadd3ce8e321f |
refs/heads/master | <repo_name>EverMario/The-way-to-PM<file_sep>/README.md
# daily-P.M.<file_sep>/Java language/Singleton/Client.java
public class Client {
public static void main(String[] args) {
Singleton object1 = Singleton.getSingleton();
Singleton object2 = Singleton.getSingleton();
object1.showMessage()... | 17060c29c1ba1d062f44b3848617d8836133b9d7 | [
"Ruby",
"Markdown",
"Java",
"C",
"C++"
] | 8 | Markdown | EverMario/The-way-to-PM | f85c68e9c6630dfdc6491a8d94b2d9d7d1b66a7a | 052ae7c760337678f0e94d55abc2597e2e9deb5c |
refs/heads/master | <repo_name>dineschandgr/UnitTest_Junit_Mockito<file_sep>/src/test/java/io/springboot/starter/hello/HelloControllerTest.java
package io.springboot.starter.hello;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
import static org.springframework.test.web.servlet.result.MockMvcResu... | c91ce6f67580a68008a658a7d09aa9c54136af02 | [
"Markdown",
"Java"
] | 4 | Java | dineschandgr/UnitTest_Junit_Mockito | 984effec02ff5a6301d432aa9754ac23825b8375 | c203cfb17ce6809ab46574ded3586818b42b8865 |
refs/heads/master | <repo_name>bozus94/php_shopping<file_sep>/includes/views/categorias/ver.view.php
<div class="d-flex flex-row">
<?php
require('includes/templates/aside.php');
?>
<main class="ml-5">
<h2><?= isset($category) ? 'Categoria: ' . $category->nombre : ' La categoria no existe' ?></h2>
<div clas... | 9bdea3a18a59cd5f8e62e829514bae01bfb80bf4 | [
"PHP"
] | 31 | PHP | bozus94/php_shopping | 25dfcf6661e6c71111aa3e5ece3b44adba3f6f85 | 0c8fac728a061c7c256996e05d5826d910ab8655 |
refs/heads/master | <file_sep>function startTimer(){
window[0].exportRoot.scr_timer.grc_start.dispatchEvent("mousedown")
}
function setTimer(hour,minute){
let interval = setInterval(()=>{
let sound = new Audio('https://www.jothamhernandez.com/beep.mp3')
sound.src = "https://cdn.videvo.net/videvo_files/audio/premiu... | 09df5ca870bcbcd9f17598c2bc8d3063146da1fd | [
"JavaScript"
] | 2 | JavaScript | jothamhernandez/snippetFiles | 1d6a08d1c87982f01af5f3fa19be0f4d42d39450 | af26350aa5aa71a3e059b6cc7c8bc2ac4076bbdf |
refs/heads/main | <repo_name>zukhriddinakhmedov/User-generator<file_sep>/script.js
const btn = document.getElementById("mainBtn")
const displayUsers = function (users) {
const row = document.querySelector("table")
row.innerHTML = ""
users.forEach((user, index) => {
row.innerHTML += `
<table class="ta... | 3f4cbc63b642227858303072b2223d5e96a1caa5 | [
"JavaScript"
] | 1 | JavaScript | zukhriddinakhmedov/User-generator | e9d2d2882e070224ca822f0181a6242529144506 | 9dc0eac96ccce3c22a1f000fa0dfae6c6487b034 |
refs/heads/main | <repo_name>ravikiran-ds/assistant-and-hate-speech-recog<file_sep>/hate_speech.py
# -*- coding: utf-8 -*-
"""
Created on Sun Oct 25 12:10:30 2020
@author: HP
"""
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df=pd.read_csv('hate_speech.csv')
#lookin at the shape of the dataset
rows... | d02ccadd3ae64f678c2c35041f29c2bb1dcf1429 | [
"Markdown",
"Python"
] | 4 | Python | ravikiran-ds/assistant-and-hate-speech-recog | 70d929105da7c12bcbeb0aeb57dfa62ffcf342c5 | aebf2e7b93af6abab3595acf55ad03454b89d9aa |
refs/heads/master | <file_sep>DynNPC:RegisterNPC("Junkie", {
Model = "Thug",
Animation = "Scared",
Dynamic = true,
ShouldRelocate = function(self)
for _, Plr in pairs(player.GetAll()) do
if Plr:isCP() and Plr:EyePos():Distance(self:EyePos()) <= 160 then
return CurTime() - self.LastRelocate > 10, 60
end
end
return CurTi... | 02a033d0ee3946acb089a160671494ec7c8eff47 | [
"Lua"
] | 13 | Lua | CodedNil/dynnpc | e23b79a8b3a14d87de0a175c3b2f5c3cd3702ed9 | 0d911ab0cefe4165cedcfb6c91cd8dce4998e722 |
refs/heads/master | <file_sep><li [ngClass]="{'list-group-item': true,
'list-group-item-success': postLoveits > 0,
'list-group-item-danger': postLoveits < 0}">
<div [ngStyle]="{color: getColor()} ">
<div class="row">
<div class="col-md-8">
<h2>
{{ postTitle }}
</h2>
</div>
<div class="col-... | 5262c8580ab5ee7c118e6eea8583e5ece32806b6 | [
"TypeScript",
"HTML"
] | 2 | HTML | Hassenne/OCblogAngular | 27f29fc436a1f9c6ba073226ea13c7ec07da750f | 218313f44b2c9b0ffb5e83dc3e3a78f803475565 |
refs/heads/master | <repo_name>cireli9/cnn<file_sep>/README.md
# cnn
LeNet CNN coded in Python from scratch (NumPy)
<file_sep>/pool_layer.py
from __future__ import division
from conv_layer import BaseConvLayer
from collections import OrderedDict
import numpy as np
dtype = np.float32
class PoolLayer(BaseConvLayer):
def __init__(self... | 9be519be550ef53a2d376e9fa74fac41920e0b10 | [
"Markdown",
"Python"
] | 2 | Markdown | cireli9/cnn | cc2cda392e857e100a264af121722e73ebbadd10 | e282ddc10d045375bd9cf6721b56c5f18ca250cf |
refs/heads/master | <file_sep>import * as ReactGA from '../../src';
jest.mock('../../src/utils/loadGA');
describe('event()', () => {
const spies = {};
beforeEach(() => {
spies.warn = jest
.spyOn(global.console, 'warn')
.mockImplementation(() => {});
spies.info = jest
.spyOn(global.console, 'info')
.m... | 4f30c283f67c5b050ffbac6427ce0c59bf7c5d91 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 21 | JavaScript | react-ga/react-ga | 087837dc03d482549ded7669ac559df0c7cc5498 | b96c36f54aecaec7d840a34bcbad0c865c2798fb |
refs/heads/master | <repo_name>icorvoh/Java-To-Learn<file_sep>/src/Test_10/Test_1011.java
package Test_10;
public class Test_1011 {
public static void main(String args[]) {
Circle2D c1 = new Circle2D(2, 2, 5.5);
double area = c1.getArea();
double radius = c1.getRadius();
double perimeter = c1.getPerimeter();
System.out.println... | 71c1875b8cdb9e49a1a0da67c258656d0e818cdd | [
"Markdown",
"Java"
] | 9 | Java | icorvoh/Java-To-Learn | 61aff29b55a616ca5c7b89e616614118fa586e2e | 355d9100d5835c1022fac576363dc5bc8a6d1c9e |
refs/heads/master | <repo_name>speed57/dentacoin-hub-app<file_sep>/src/app/forgotten-password/forgotten-password.component.ts
import {Component, OnInit} from '@angular/core';
import {FormBuilder, FormControl, FormGroup, Validators} from '@angular/forms';
import {Router} from '@angular/router';
import {AuthenticationServiceService} from '.... | 4adfdd2b825d56c998875368081fa2d596564458 | [
"TypeScript"
] | 30 | TypeScript | speed57/dentacoin-hub-app | cdd72bf3cc07d5673760cb0a87186a44d97eb2b4 | ead5e3fffc97f8c14d0c07519ab5fdef4857fa83 |
refs/heads/master | <repo_name>shenxiaolinZERO/MyProject02_MunicipalManagement<file_sep>/MyProject02_MunicipalManagement/MyProject02_MunicipalManagement/readme.txt
0325.readme
modify
0326£ºadd a setDateTime function at assessor.html
0327£ºresearch modal !dismiss<file_sep>/MyProject02_MunicipalManagement/MyProject02_MunicipalManagement/网站... | bce639167a81a5148bc5eca8cbab05d79155170e | [
"JavaScript",
"C#",
"Text"
] | 20 | Text | shenxiaolinZERO/MyProject02_MunicipalManagement | 315b02e566d4df520eccae517ee4d54a62c69257 | 33b90aae6c62bc381a02ff36a93706a17d32f0e4 |
refs/heads/master | <repo_name>JudeBake/svnserve_svndmin<file_sep>/README.md
# centos_svn_ssh_svadmin
CentOS SVN Server setup for ssh and SVNAdmin Web UI
<file_sep>/Dockerfile
# From CentOS
FROM linuxserver/openssh-server
# Install Depedencies
RUN apk update
RUN apk add --no-cache subversion
# Setup sebversion
RUN addgroup -S svn-tunnel... | d818721f9cc27d9a5a00372b2e702ffbe1d8a07c | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Markdown | JudeBake/svnserve_svndmin | d6cf447e31c62b2d64183bff2b231a879ab90631 | 6d728c582ed145a3bf0fee68577f921b7711ea4e |
refs/heads/main | <file_sep>
#include "minitalk.h"
static t_msg g_msg;
void get_len(int bit)
{
g_msg.c += ((bit & 1) << g_msg.size);
g_msg.size++;
if (g_msg.size == 7)
{
g_msg.len *= 10;
g_msg.len += g_msg.c - '0';
g_msg.c = 0;
g_msg.size = 0;
}
}
void get_bit_by_bit(int bit)
{
g_msg.c += ((bit & 1) << g_msg.s... | f44dbc638a703c7205fd8880ea5f224a5dab0d80 | [
"C",
"Makefile"
] | 4 | C | zensushi/minitalk | 2e284face95dc09f730614a07c7400351d7d9998 | d649d441422aa6eadb8df59125c3c958c87a8877 |
refs/heads/master | <file_sep>package com.uw.hw6b;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Iterator;
public class Dijkstra {
private String filePath;
private SimpleGraph simpleGraph;
private Hashtable<String, Vertex> hashTable;
private ArrayList<DijkstraHeapNode> calculatedPath;
public static Dij... | 2bc0aa53e71eb6b0a4fded7ba43a7a5d490d6d51 | [
"Java"
] | 2 | Java | sharmasamiksha/dijkstra | 4248cbdb8b663b5d2f54c95a9f8b8f5d6ac84d3e | 8977924cc50c2ee0b93020573e25126104972f33 |
refs/heads/master | <repo_name>roman-zm/multMatrs<file_sep>/fraction.cpp
#include "fraction.h"
#include <iostream>
fraction::fraction()
{
numerator = 1;
denominator = 1;
}
int gcd(int first, int second){
int q;
if( first%second == 0) q = second;
else {
while( first%second !=0 ){
q = first%second;... | 1be3ccd407f91a35159ed7b47cdd433a88e38c63 | [
"C++"
] | 5 | C++ | roman-zm/multMatrs | e0690455582d595a03deb06dfbe3298349086c4b | 8530e6f95973250e92d04e5e4108335dbb05e924 |
refs/heads/master | <file_sep>import { UserDb } from './user-types';
export interface FlightApplyDb {
id?: number;
uid?: string;
passenger_name?: string;
passenger_mobile?: string;
departure_flight_number?: string;
departure_time?: string;
back_flight_number?: string;
back_time?: string;
ID_number?: string;
flight_app... | 687f41c7edc39574a82759b9a9710590b09d7880 | [
"Markdown",
"TypeScript",
"Dockerfile",
"Shell"
] | 21 | TypeScript | QinJianqing/trip-assistant-TST-ING | cca04f6809f4c02ac31919b967ebf6f7c7f9a4a8 | 9ed1a747b56c53b97821bb0f24eb2eb1869a0128 |
refs/heads/main | <repo_name>jcarnes1/assignment7<file_sep>/Mod9.R
weightLoss <- read.csv('WeightLoss.csv', stringsAsFactors = FALSE)
barplot(wl1 ~ X, data = weightLoss, col = "red")
barplot(wl2 ~ X, data = weightLoss, col = "green")
barplot(wl3 ~ X, data = weightLoss, col = "blue")
data <- structure(list(w1 = c(weightLoss$wl1), w2 = c(... | fe46ac3b2066715973c27cf2b05958435ffd4311 | [
"R"
] | 1 | R | jcarnes1/assignment7 | 1beda44707f20c3d8109961ce2308a64500e1284 | 5f9adf8a621d2796b1587fcff7559e26540f19d7 |
refs/heads/master | <file_sep>/*
Created by Ivan
in 18/12/2020
Description: Interpretation of the date differential calculus.
*/
public class DiesEntreDates_Iván_Bosch extends CalcularDiesEntreDates{
//Builder
public DiesEntreDates_Iván_Bosch() {
}
int diesMesInicial;
int diesMesDesti;
int diesMes;
... | 4e89b19ad2fa30b6517d43e67d70ac7e4d433bd9 | [
"Java"
] | 1 | Java | Mike-Elitas/Dates | 53091923ccc375885e06379af023feede1bf38db | ba9979a2409c4ca1d05191ef4928c56723d7c4cf |
refs/heads/master | <repo_name>saqibalich1/saqib<file_sep>/assets/chat/index.js
function doIt(){
$.get(base_url('chat/ans'), function(data, status){
generate_message(data,'user');
});
}
var INDEX = 0;
function generate_message(msg, type) {
if(msg == ''){return false;}
INDEX++;
var str="";
str += "<div id='cm-ms... | 407c3fee48f4f020f8f44fc85501c30d05c40b7c | [
"JavaScript"
] | 5 | JavaScript | saqibalich1/saqib | 0bca411ac8352411f534400a5dedc3e282181ae1 | 70015f819715204e4e147a52a40b31dcb1631a64 |
refs/heads/master | <repo_name>SeokSeth/pairbnb2<file_sep>/app/controllers/listings_controller.rb
class ListingsController < ApplicationController
before_action :require_login, only: [:new, :edit, :show]
def index
end
def new
@listing = Listing.new
end
def edit
end
def show
end
end
| e14088a9c30d7f222d7e1d40380f2c7727319fe4 | [
"Ruby"
] | 1 | Ruby | SeokSeth/pairbnb2 | a7b88d860cd274411d139e1284ce5e7b5ee3656b | 926e37ccd34ade6a61bb933d6f9a5b2c045b53a1 |
refs/heads/master | <repo_name>dzemianenka/REST-Blog<file_sep>/src/main/java/com/demosocket/blog/exception/UserAlreadyExist.java
package com.demosocket.blog.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(value = HttpStatus.BAD_REQUEST)
public class Us... | 500e83b776cac3b7eb254dfdf6825f785d8f855a | [
"Markdown",
"Java",
"Dockerfile",
"SQL"
] | 27 | Java | dzemianenka/REST-Blog | de2e5481d40faf7666a795c1e64dff7eb796cdad | f4f862884dddbe5fb56f4e70d67801d8f9e24c98 |
refs/heads/master | <file_sep>// 1.
// * Create a Human constructor function that takes in a name and age.
// * Add a prototype function ageOneYear that ages the humans age.
// * Add a prototype function eating, that logs "mmm, mmm, mmm, I'm love'n it".
// * Create an instance of the Human class.
// * console log your humans a... | c36aa069bea5915438201e83feb861e0e62286d2 | [
"JavaScript"
] | 1 | JavaScript | treaganbirbal/constructor_assignment | cbe2adf7569af63d93f7fbe00e46783f82e0ec0c | 921a873323b7ef165acd5f03d258a823c432b1b9 |
refs/heads/master | <repo_name>emipa606/CallofCthulhuCults<file_sep>/Source/CultOfCthulhu/CultsDefOf.cs
// ----------------------------------------------------------------------
// These are basic usings. Always let them be here.
// ----------------------------------------------------------------------
// -------------------------------... | f6bc8440ed0be7b960761a681daff1823aa82b06 | [
"Markdown",
"C#",
"Text"
] | 139 | C# | emipa606/CallofCthulhuCults | 1d5f2824fd8bee700430695c08f326d2bfb386ec | a881b96077de87ebd4236402ba59e7cc2157e5f0 |
refs/heads/main | <repo_name>chaturdev/hotloading<file_sep>/index.js
const fs=require('fs');
const path = require('path');
const async=require('async');
//joining path of directory
const directoryPath = path.join(__dirname, 'plugin');
//to keep existing file in json
var __existingFiles=[];
let i=0;
setInterval(async()=>{
ifFirs... | b670da551c7fbe41a6e2f530e60770c6a7201740 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | chaturdev/hotloading | 6e4de7a6bc2705886c62493f622318f31bc77be1 | 6e4bb330520d77b8fc2e81d4ba1b39186a8d67d0 |
refs/heads/main | <file_sep>from china_ui import *
from country_ui import *
from main_ui import *
import sys
#render_dayly_chart('05-01-2020','05-01-2021','India')
#print(list(flat_country_data('01-01-2021','China')))
if __name__ == '__main__':
app = QApplication(sys.argv)
MainWindow = QMainWindow()
ui = Ui_MainWindow()
... | 92ab61674153ab01b8aa01caac952511ca95392d | [
"Markdown",
"Python"
] | 8 | Python | MuQingWen/PythonWork-COVID-19 | aee3f3dc364dd66326bf32c27159dd1ac021fa4b | 9dca424d8f606a0f2dc4c409d2f8937eff6009e5 |
refs/heads/master | <file_sep># U10316040_1032JavaProject
1032JavaProject = 撲克牌遊戲
<file_sep>
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import j... | 20ae0064bf179b87d8240f2e71305f2eb7b2a7e6 | [
"Markdown",
"Java"
] | 4 | Markdown | U10316040/U10316040_1032JavaProject | 32d2a09e3a62e33c186952d0cabc8518dfe3f08c | c3b7aee3992eb44897b47b6f248ee4aead4583f6 |
refs/heads/master | <file_sep>import React from 'react';
const CryptoList = (props) => {
const currencyList = props.cryptoArray.map((currency, index) => {
let arrow = '';
if(currency.class === 'green') {
arrow = String.fromCharCode(8593);
} else if(currency.class === 'red') {
arrow = ... | cdd7276dffffbd0fa5dbeb33fcf7922a7f84606a | [
"JavaScript"
] | 2 | JavaScript | pawelSowinskiPortfolio/react-kurs_gitcoin | dd549287703ddc8534ce9c745039d3aafdf09314 | a804f2e3c2d2306a0844d6ac33a67cc4a563afeb |
refs/heads/master | <repo_name>xRouty/Custom_SQL<file_sep>/customvendors.sql
/*
-- ################################################################################### --
-- ____ __ ____
-- /\ _`\ /\ \__ __ /\ _`\ ... | 99ae1b8ea25829730c06ad71f75c073e0cd0777a | [
"Markdown",
"SQL"
] | 2 | SQL | xRouty/Custom_SQL | 4424e4edba38f3f7704650314058dd2c11dc71c9 | c6040ab7536ce77b95affd0a1662cc312283db2f |
refs/heads/main | <file_sep>module github.com/reymandhan/treasure
go 1.16
<file_sep>package main
import "fmt"
// initial map
var treasureMap = [6][8]string{
{"#", "#", "#", "#", "#", "#", "#", "#"},
{"#", ".", ".", ".", ".", ".", ".", "#"},
{"#", ".", "#", "#", "#", ".", ".", "#"},
{"#", ".", ".", ".", "#", ".", "#", "#"... | f8e5ff19b28ca5b7b6b578ee35756e14bf548ab9 | [
"Go",
"Go Module",
"Markdown"
] | 3 | Go Module | reymandhan/treasure | c17f179c418f9eb4d501bf66a7610498b467b1f3 | 3921594e0808c7e3c946e246e8fbf6f445211a55 |
refs/heads/master | <file_sep># Http Client Factory
This library is aimed at improving the development experience for REST-like calls in
NodeJS. It builds off the Node `http` library. It's inspired by the
System.Net.Http.HttpClientFactory library in .NET.
##Basic Usage
```javascript
var HttpClientFactory = require("http-client-factor... | ce27ec68216a6ea2317a1427afe2c127d82c314d | [
"Markdown",
"JavaScript"
] | 3 | Markdown | mdickin/httpClientFactory | cd1f3ee170bca83b72fced6b01efa6e2a223fc0a | ea8779fd434f5021fce5494e7ac96cbbbadad47a |
refs/heads/main | <file_sep>
#class person
#include.edades
#end
#puts person
module edades
edad = 17
def menor_edad
print "INgresa tu edad "
user = user.chomp.to_s
if user <= edad
puts " Eres menor de edad"
end
end
def mayor_edad
end
class edad_clase
end
class llama_... | da5328e461e17de493a3eaa3fe7cb99011386e47 | [
"Ruby"
] | 12 | Ruby | oscarandres31/reposcar | d85d993e50b4ade57f845e137f893ddc04feff45 | 8106cfe39eb0ec579dacded322af870b94fb1032 |
refs/heads/master | <repo_name>fdl-jgo/show-interface1<file_sep>/README.md
rostiti
=======
A Symfony project created on August 24, 2016, 8:51 pm.
<file_sep>/src/AppBundle/Controller/DefaultController.php
<?php
namespace AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\... | 85f1e9756303c497114bf506f900b197e6be7618 | [
"Markdown",
"JavaScript",
"PHP"
] | 6 | Markdown | fdl-jgo/show-interface1 | 89b657e548b573c25e1439f136116099be178ff7 | 3b10385b9be1092ef09ed157f7c059d08bb41da9 |
refs/heads/master | <file_sep>package com.zcx;
import io.netty.buffer.ByteBuf;
/**
* Package: pack.data
*
* @author loafer
* Description:
* Bcd 码的字节码实现
* Date: 2021/4/13 13:11
* Version: 1.0
*/
public abstract class Bcd extends BaseInformationElement {
protected byte[] value;
protected String strValue;
... | 63531b24f64361490d51d3a7234f2a8b3beda015 | [
"Java"
] | 3 | Java | zcx1218029121/zoom | 3722239f5210ae588f6220d98cd23dcbe6ae67b3 | 05975480d250056c8ae26d04e055dea395c73b90 |
refs/heads/main | <repo_name>georgmao/serverless-starter-templates<file_sep>/README.md
# serverless-starter-templates
A collection of starter examples for common serverless use cases
* [Queue Processing](queue-processing-sqs-lambda)
This template deploys a SQS resource and a Lambda function to process the records in SQS.
It enables th... | 057bd7f55f317e814206d9ad4dd6a3ba1f942882 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | georgmao/serverless-starter-templates | 179d13b64a65e9485fd8ade04574192c85b675bf | 74cf78cca21cc2183418190c619f309b7591b223 |
refs/heads/master | <repo_name>crisgol/svelte-form<file_sep>/packages/lib/src/types.ts
import { JSONSchema7, JSONSchema7Type, JSONSchema7Array } from 'json-schema'
import { ErrorObject } from 'ajv'
export interface JSONSchema extends JSONSchema7 {}
export interface JSONSchemaArray extends JSONSchema7Array {}
export type JSONSchemaType =... | 827979e5777ecef718ee59f323f8f20a9fae7a11 | [
"TypeScript"
] | 4 | TypeScript | crisgol/svelte-form | 9b5e5521e0c15a3e90eee92c7a2929314fac5449 | d864e79651dfbc272e063061b5cab6ddd849cae9 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
# Department : 保障部
# Author : 王卓诚
# Create_date : 2018-05-15
from datetime import datetime
from FundNavSpiders import GGFundNavItem
from FundNavSpiders import GGFundNavSpider
import json
import time
class FuTengInvestSpider(GGFundNavSpider):
name = 'FundNav_FuTengInvest'
sit... | 3591ab22e1cc0fc1362f909017a8aa5c2b53bd92 | [
"Python"
] | 292 | Python | Wnltc/ggscrapy | bf929112e14b875a583803fe92980fe67129bdac | ef7e9559ce6140e7147f539778e25fc7f6cbee4c |
refs/heads/master | <repo_name>sdtsztom/Tools.Efficiency<file_sep>/plugin.ini
[Common]
FolderName=Tools.Efficiency
AppName=Tools for efficiency
AppName_2052=效率工具
AppName_1028=效率工具
AppGUID={10b03cc5-df10-429a-a46f-f5d930c7a440}
AppType=Tools
AppVersion=0.1
PluginCount=4
SupportVersion=2
[Plugin_0]
Caption=add_button
Caption_2052=添加按钮
Capt... | 5050492ae6a5e2b2ff81d152e6f9205b6e0ae189 | [
"Markdown",
"JavaScript",
"INI"
] | 3 | INI | sdtsztom/Tools.Efficiency | 118356da4b4852d1ab58eae801c2df248753aa4d | be7af0510eb3403645a7128b9343678a1ee64a01 |
refs/heads/master | <file_sep>;(function (window,undefined){
function Hotspot(){
this.init();
}
Hotspot.prototype = {
init :function(){
this.onHotspotHover();
},
//定位点显示隐藏
onHotspotHover:function(){
var hotSports = this.$$('Hotspot'),
len = hotSports.length,
i,
... | 7ac2c6647012bc41eb69bae7d6582c23fbc394fd | [
"JavaScript"
] | 1 | JavaScript | zhangcw4014/mouse-hover | d03020b702ff66888b286bfb9fb24ccf8a4fd35b | bc3231aa31b3e2e1fa35823737841a6b620ceedc |
refs/heads/master | <repo_name>jacobsyentl/PuzzleBobble<file_sep>/src/Game/View/MultiPlayerPane.java
package Game.View;
import Game.Controller.MPController;
import Game.Database.Player;
import javafx.event.EventHandler;
import javafx.scene.control.Label;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx... | f184d52c0ad3081fc559b4fff215b423a491568f | [
"Markdown",
"Java"
] | 13 | Java | jacobsyentl/PuzzleBobble | 2e38b81de8f7f38d994b3bda1f749ed987ce6ee8 | 8517bd9e217f93f181ff3edfc0a40388f47393ba |
refs/heads/master | <repo_name>santiagoesdras/keneth_esta_bien0.0<file_sep>/kenethhueco.js
var kenethestabien=0;
var pedirperdon=0;
var prompt = require('prompt-sync')();
var laculpaesde = prompt("La culpa es de Esdras?");
if ((laculpaesde==="Si")||(laculpaesde==="si"))
{
console.log("Si la culpa es de Esdras");
console.log("<NA... | 49e1b56a090abdc98404b3868c19ba2cad3056c7 | [
"JavaScript"
] | 1 | JavaScript | santiagoesdras/keneth_esta_bien0.0 | e9f59cf092b85124d93b01bf9978e0cf18430504 | 59f1fbf89a4b8f1904527293587a04c8e02db010 |
refs/heads/master | <file_sep>"""
Pygame P01.1
Description:
Moving a player with Mouse (no clicking necessary)
"""
# Import and initialize the pygame library
import pygame
import sys
import os
import math
# Tells OS where to open the window
os.environ['SDL_VIDEO_WINDOW_POS'] = str(460) + "," + str(40)
# helper function that proces... | 58d99abb42f1fbd773810b6d006b86a2909e364e | [
"Markdown",
"Python"
] | 17 | Python | Pirhomega/4443-2D-PyGame-Matamoros | 73a3f11a98c2e562d6ea5b1cae0d7c0396bac6ba | efb97c101c50d595fb24e8d82c279e8d3e7a3df6 |
refs/heads/master | <file_sep>using Libs;
using Owin;
namespace WebApp
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.Use((context, next) =>
{
return context.Response.WriteAsync($"{Constants.Feature1}<br/>{Constants.Feature2}<br/>{Constants.Featur... | 01f63ff50df7364a42aa0685774cbd519534a394 | [
"Markdown",
"C#"
] | 3 | C# | cchongchong/git-branching-versioning | 59b148aa3cadbe6b8404fb03e2a4808698846079 | d6d93636749c7032cca432448b0e0286e4ae6b4d |
refs/heads/master | <file_sep>This is one of my old projects; it was created in 2011.
It doesn't work on platforms that don't allow execution of heap.
Today I fixed it for 64bit Linux. Compile with -m32 flag.
# BFJIT
bfjit is a fast, optimizing heap/aot compiler for brainfuck.
The program directly translates the brainfuck code into 803... | ce5d3ea7410e1520948ceabce4afd56541f93022 | [
"Markdown",
"C",
"Makefile"
] | 3 | Markdown | chtisgit/bfjit | 33feec24b286aed102dcdab5d08a24c7141b85d5 | bc70d04841492f4b10d1077b8c63dab3c9850e47 |
refs/heads/main | <repo_name>BUUZKA/kalkulator<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;
using System.Net;
namespace WindowsFormsApp1
... | 8f22360dc22b12c9b371143f418b3eb69b94ebc2 | [
"C#"
] | 1 | C# | BUUZKA/kalkulator | 079425813cb7caab46ab53cd02ed37cbf2059ce6 | 674c25fd7a78645da993797e6b1316788ba0690d |
refs/heads/master | <repo_name>bcompter/Data-Structures<file_sep>/linked-list/linked_list.h
#ifndef LINKED_LIST_H
#define LINKED_LIST_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
/**
* A node in our list
*/
typedef struct Node Node;
struct Node {
Node * next;
Node * prev;
int data;
};
/**
* Our linked... | f4856a9e95f2a69824ddacf0dd522d9c4122155b | [
"Markdown",
"C",
"C++"
] | 6 | C | bcompter/Data-Structures | 4366763d23b2ba63087898ad68e0a9ebee0b8b4c | a1de004be05f4d7c09f2f40860144c1b13db963d |
refs/heads/master | <repo_name>danonechik94/Tic-Tac-Toe<file_sep>/src/com/Haven/Field.java
package com.Haven;
public class Field {
private final char[][] field;
private static final int DEFAULT_FIELD_SIZE = 3;
private static final int MIN_FIELD_SIZE = DEFAULT_FIELD_SIZE;
private static final int MAX_FIELD_SIZE = 10;
... | 6b9a4a7889f748f3e63be3a493dd18c497439543 | [
"Markdown",
"Java"
] | 2 | Java | danonechik94/Tic-Tac-Toe | 534b9f12697c3c2b3bbad425d1ca4013d348e87f | 3966f4c27279f175728d689b0a72ebda92fd7702 |
refs/heads/master | <repo_name>pebblecode/tanks-for-nothing<file_sep>/Assets/Menu.cs
using UnityEngine;
using System.Collections;
using System.Timers;
using UnityEngine.UI;
public class Menu : MonoBehaviour {
Timer tmr = new Timer(1000);
public float spawnWait;
public float startWait;
public float waveWait;
public int tankCou... | 6ef52c9c0367d6c4228d53b2ced058b8dc6c8d87 | [
"Markdown",
"C#"
] | 11 | C# | pebblecode/tanks-for-nothing | fbb056e99ee2baf0d192e07867322fa67c3b1986 | a39590e8da299cd83986055440bf31d1b58214f9 |
refs/heads/master | <repo_name>Juilee2610/Java<file_sep>/trip application/src/main/Main.java
package main;
import java.util.Scanner;
import serviceUtil.Service;
import util.Util;
public class Main {
public static void main(String[] args) throws InterruptedException {
Scanner scanner = new Scanner(System.in);
System.out.println... | 0a28a56515b40ae30fa9a6fdd4b8e300cd5f193d | [
"Java"
] | 2 | Java | Juilee2610/Java | 17b60b2411e70c27b2f1600e402d166ede7048e5 | c403052fdb2add78f2ae26c58a39c29631674a68 |
refs/heads/master | <repo_name>coby193/Ph20<file_sep>/Ph20Set3Oscillator.py
import math, numpy, sys
import matplotlib.pyplot as pplot
# Exciting change
# Read input, optional last argument plots errors instead of values
filename = sys.argv[1]
initialx = float(sys.argv[2])
initialv = float(sys.argv[3])
step = float(sys.argv[4])
cycles = i... | 317b7b348608cd50f470d2839515ee305f36766e | [
"Markdown",
"Python",
"Makefile"
] | 3 | Python | coby193/Ph20 | 302a6f4c7ce6d7a6635798d7532f6cac9c2c7bd8 | 5601b6ecd51ea7fa0c3fbfb3c208bd0c42a5d8b5 |
refs/heads/master | <file_sep>package com.example.mehmetsabir.puzzlegamekotlin
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.Button
import java.util.*
class CustomAdapter(buttons: ArrayList<Button>, columnWidth: Int, columnHeight: Int) : BaseAdapter() {
private var mB... | c3ad0d2885da682ab9a90a0fa1844216308c6170 | [
"Kotlin"
] | 4 | Kotlin | mskahraman/GameForSmartAlarm | 89fe717d5de1d7763c9f2d267725397eadab158e | ed94efeef3f7ea983e328daa90d36e003c6a99b5 |
refs/heads/master | <repo_name>NicosaurusRex99/FunTNT<file_sep>/src/main/java/naturix/funtnt/proxy/CommonProxy.java
package naturix.funtnt.proxy;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.client.model.ModelLoader;
import net.minecraftforge.fml.common.... | a397ceecca73be9b6635f248bc55b8214a08e985 | [
"Java"
] | 1 | Java | NicosaurusRex99/FunTNT | 54388485963d169f8c045bdcdcdeeb93df2f2c2a | 5aa5e80c00b9b13281d7d395dd5d211ed24b43b1 |
refs/heads/master | <file_sep>/*
* \copyright Copyright 2013 Google Inc. All Rights Reserved.
* \license @{
*
* 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-... | 752d26ecdba2229f14f1000c05a84eadb60c0e57 | [
"C++"
] | 1 | C++ | sulian0/google-api-cpp-client | eb942f15b496c92d136a70cbc963ed70e47793fb | 820d05fce30e82a5bd6462fc4708398b31269c6a |
refs/heads/master | <file_sep>import { Card } from "react-bootstrap";
import ImageEvent from "./ImageEvent.jpeg";
export const Gallery = () => {
return (
<div>
<div>Gallery</div>
<div id="cards">
<Card style={{ width: "18rem" }}>
<Card.Body>
<img style={{ width: "15rem" }} src={ImageEvent} /... | 1018ef162b01a78a11840eef41f4d508a2c1d4ce | [
"JavaScript"
] | 6 | JavaScript | kevinmuchene/hope-generation | 4620d16fdada40b3a9c098846918a358b91f0bf7 | c7efd00635c6464dc0e0d9ca5b6667b1cccf7889 |
refs/heads/master | <repo_name>hunglv51/MyTimer<file_sep>/Timer/INotifier.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace WorkTimer
{
public interface INotifier
{
void Notify(string s);
}
}
<file_sep>/ConsoleTimer/Program.cs
using System;
using WorkTimer;
namespace ConsoleTimer
{
... | da4b9f4eb1c5bf4a09df61439bf8b6a419138fcd | [
"C#"
] | 7 | C# | hunglv51/MyTimer | c164e1a819fec2e75afb97c0deb17cf723b70a2e | c0ad82ca4e82221a340602ddd32562ddbfd6e2b4 |
refs/heads/master | <repo_name>Expanduino/Expanduino-Python<file_sep>/expanduino/classes/meta.py
#!/usr/bin/python
from expanduino.subdevice import Subdevice
from expanduino.codec import *
from enum import IntEnum
from functools import lru_cache
from cached_property import cached_property
class MetaSubdevice(Subdevice):
class Command(... | 40ca022f789b274e63870354299e393d2ce93c97 | [
"Markdown",
"Python"
] | 12 | Python | Expanduino/Expanduino-Python | 468b97091c5808158e05895cc1a9fb244dfdc6c7 | 0ae562a7eef5a41a854cb4f9e5e7f8e76c57e1f0 |
HEAD | <repo_name>joannecheng/chicago_density<file_sep>/geojson_collect.rb
require 'json'
require 'pg'
conn = PG.connect :dbname => 'my_spatial_db'
geojson = { "type" => "FeatureCollection", :features => [] }
conn.exec("select st_asgeojson(geom), (cook_census_data.p001001/st_area(geom)) as density from cook_census_tracts LEF... | edfefed2f95f658d827ecff428391d5011614959 | [
"Markdown",
"Ruby"
] | 2 | Ruby | joannecheng/chicago_density | 4660726151ef33dac14908954892ee74c69d6ef7 | c2c176213d0bbf1a6b16c67030db6ebdce4e7cdd |
refs/heads/main | <file_sep># ModernArt
https://rosettayh.github.io/ModernArt/
<file_sep>const portfolioData =
[
{"Realism (1840s-1880s)":
[
{"Realism (1840s-1880s)":
[
"",
"In its specific sense realism refers to a mid nineteenth century artistic movement characterised by subject... | 97ed5c61668d2678bec8ba4907b4001313b56353 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | RosettaYH/ModernArt | 7f553276d12b6fcf91d0cad8c4bfc5ce1b3e6f7f | effb322e5917f961e57ea7d018488de6d4442394 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { AuthService } from 'src/app/services/auth.service';
import { CarService } from 'src/app/services/car.service';
@Component({
selector: 'app-admin',
templateUrl: './admin.component.html',
styleUrls: ['./... | 878d57f2e487d412557a4cd27441e47d776c0d4d | [
"TypeScript"
] | 3 | TypeScript | dudesup/register-system-angular | bf2c69c0a9a9204d2f40f807d12037fa3276bb22 | 36151dc6b7dc61711c276903af191b672255d5d2 |
refs/heads/master | <file_sep>#define GPS_RX 3
#define GPS_TX 2
#define GPS_Serial_Baud 4800
#include <SoftwareSerial.h>
#include "TinyGPS++.h"
//Libs referente ao display
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>
Adafruit_PCD8544 display = Adafruit_PCD8544(11,10,9,8,7);
// Software SPI (slower u... | 4faa956cc61424f9eec59ae226db61c8992cb16d | [
"Markdown",
"C++"
] | 2 | C++ | wfp2002/calculo-rpm-por-velocidade-arduino | 6e6d140370df2518ca177c87539bc760694975c8 | 4bcea77564ba564521c3c79caa9b55dedc48fb95 |
refs/heads/master | <repo_name>QwXm/SignSystem<file_sep>/src/config/AppConfig.java
package config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRep... | 987f37015b838bb2703cc73f57f7e57124787404 | [
"Java"
] | 3 | Java | QwXm/SignSystem | 5a7bcd012d6cc25ea78d864622dc6446314a65b5 | ef844d7712ec9b16a5ce9fef925352cb2cbff261 |
refs/heads/master | <repo_name>sumenkov/alien_invasion<file_sep>/game_finctions.go
package main
import (
"fmt"
"github.com/veandco/go-sdl2/sdl"
)
// Подгружаем картинки
func textureFromBMP(renderer *sdl.Renderer, filename string) *sdl.Texture {
img, err := sdl.LoadBMP(filename)
if err != nil {
panic(fmt.Errorf("loading %v: %v", f... | 6b8b387f00c2f194a9acabf3937d4781439749e5 | [
"Go"
] | 5 | Go | sumenkov/alien_invasion | da5cd893687af634ecd9e24e0d86ca81877560a9 | 0cc3bf1ea1d0dc9a5ceb7ada5eb41fd7e86a1e62 |
refs/heads/master | <repo_name>yzp3/TaskPathPlan<file_sep>/pages/myMap/myMap.js
// pages/myMap.js
// 引入SDK核心类
var QQMapWX = require('../../libs/qqmap-wx-jssdk.js');
// 实例化API核心类
var qqmapsdk = new QQMapWX({
key: '<KEY>' // 必填
});
Page({
/**
* 页面的初始数据
*/
data: {
longitude: 116.46,
latitude: 39.92,
scale: 13,
... | 738ae5c56706be876aeaede2056688a0a08cb28e | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | yzp3/TaskPathPlan | df4b0800dbd43cc5ea1aa793159e73be3de6e2bb | 0f0c5725830e7608edfa412fbe80510a2ce6ce35 |
refs/heads/master | <repo_name>microsoft/onnxruntime-tvm<file_sep>/python/tvm/micro/__init__.py
"""uTVM module for bare-metal backends.
uTVM (or the micro backend) enables provides support for bare-metal devices.
Its targets currently include a host-emulated device which is used for testing,
and JTAG-based openocd device which allows act... | 4c4378386eb09182f1baec6f6636119682e29bfd | [
"Markdown",
"Makefile",
"Python",
"C",
"C++"
] | 112 | Python | microsoft/onnxruntime-tvm | 984dc1b111aeb02c8a8c68e9724ecff814db11ff | 2e4a64b3358d43a15a586c1da9d323326c4fcafd |
refs/heads/master | <repo_name>chestergrant/TinyGP<file_sep>/tiny_gp.py
import sys
import math
import random
class tiny_gp:
POPSIZE = 100000
ADD = 110
SUB = 111
MUL = 112
DIV = 113
FSET_START = ADD
FSET_END = DIV
DEPTH = 15
MAX_LEN = 10
GENERATIONS = 10000
TSIZE = 2
CROSSOVER_PROB = 0.9
PMUT_PER_NODE = 0.05
def __init__(s... | 3e7445955c11ca7a516caa4a66f68297863e1bc6 | [
"Python"
] | 1 | Python | chestergrant/TinyGP | 63a6c26a2f11dac0a2ff91f44c41d23cbcd00010 | 4565013568cff0cad31e0bbc702a12b5220e1569 |
refs/heads/master | <repo_name>CSer2294365315/coolweather_Q2<file_sep>/app/src/main/java/com/cmxCor/weather/service/AutoUpdateService.java
package com.cmxCor.weather.service;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.content.SharedPreferenc... | 74d024648e1eebb0c3d0c2c4a4f82768ed789482 | [
"Java"
] | 5 | Java | CSer2294365315/coolweather_Q2 | 7034fd0c3ae4ac8569e9c27bd4bc3279851160f0 | 385c72c07a9a3457de1358e907d41f3d12f781bd |
refs/heads/master | <file_sep>$('.submenu-icon').on('click', function() {
var $submenu = $(this).parent().siblings('.submenu'),
pointingRight = 'matrix(-1, 1.22465e-16, -1.22465e-16, -1, 0, 0)',
WEBKITpointingRight = 'matrix(-1, 0.00000000000000012246467991473532, -0.00000000000000012246467991473532, -1, 0, 0)',
MOZpointingRig... | eac49db98035c099828d835b2703be26dde0c2a3 | [
"JavaScript",
"PHP"
] | 5 | JavaScript | shaun0072/FiftyShadesofGreen | b5d364a5a61e07fa1160698129598b0b9c9bf335 | e5daca1faec7e24ce948fa467be2046d43e07058 |
refs/heads/master | <repo_name>Zebrilus/kicktipper<file_sep>/src/de/nufta/kicktipper/Game.java
package de.nufta.kicktipper;
import de.nufta.kicktipper.KickTipper.Mode;
public class Game implements Comparable<Game> {
public enum Result {
WON, LOST, DRAW
};
static volatile int counter = 0;
final private String t... | 2c018e3f61ef8114516a33966a65a932e52f8dd5 | [
"Markdown",
"Java"
] | 3 | Java | Zebrilus/kicktipper | 9d68829c6b8bae0f40d3da6fb7118aa1198d2e0b | 3bee97a1457d77a94c58af87f830d22663a7dcdc |
refs/heads/master | <repo_name>twobraids/pytn-midi<file_sep>/framework.py
#!/usr/bin/env python3
from configman import (
configuration,
Namespace
)
from configman.converters import (
class_converter
)
from iostreams import (
StdInStream,
StdOutStream
)
from transforms import (
PassThrough
)
required_config = Nam... | 472829d3d67baa16d9efa456d26ab85f6a9689c7 | [
"Python"
] | 3 | Python | twobraids/pytn-midi | ed78a5821492f78aa08a39971e4a80171d1a7a85 | f54455cbd5590718b0b6f458c18fd3c5affb443a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.