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>/*
* Copyright 2008-2020 <NAME> <<EMAIL>>
* Copyright 1998-2001 <NAME> <<EMAIL>>
*/
#include <ctype.h>
#include <getopt.h>
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/syslog.h>
#include <sys/types.h>
#include ... | 5564a2632c647afddcbcce8ce0dcd7eebd6902e3 | [
"Markdown",
"C",
"Makefile"
] | 12 | C | kseistrup/jail | 3a799c069ef91550001e3119076042700ba45982 | c311b9bd5fc68a062fd19e44c58146c3e77e10cc |
refs/heads/master | <repo_name>sylvainma/findutc-api-client<file_sep>/serveur.php
<?php
// URL de l'API
$API = "http://assos.utc.fr/findutc/api/v1"; // API serveur test (ne pas mettre / à la fin)
//
// Authentification auprès de l'API
//
$key = "la clée de l'API ici";
// Stream_context pour passer un header avec file_get_contents
stream... | 9182e1cd5b6760f992f5a94e560c4da22f3eeadd | [
"Markdown",
"PHP"
] | 2 | PHP | sylvainma/findutc-api-client | c9fca553711f80d0ead55036087e3a19698cb96b | 7894544fc26b98e6031aa28b5cb8499c5e1ce715 |
refs/heads/master | <repo_name>rhycrea/django-rehberi<file_sep>/README.md
# django-rehberi
### Anlatım: [rehber.pdf](https://github.com/rhycrea/django-rehberi/blob/master/rehber.pdf)
Django çatısını kullanarak hızlı, esnek ve düşük maliyetli(çabuk) web sitesi geliştirmeyi öğrenmek isteyenler için başlangıç seviyesinde bir rehber hazırla... | 08eeda385fac422ba1afa37f2669a5c2b3bbcfbd | [
"Markdown",
"Python"
] | 3 | Markdown | rhycrea/django-rehberi | 9ddc0d76c4e52dc62cbdb7f5cdd29cbe52526b73 | e84507c2159d4d42750657817ab3ea5924b67f98 |
refs/heads/master | <repo_name>leptodon/transparent_edittext<file_sep>/app/src/main/java/ru/edittext/transparent/MainActivity.java
package ru.edittext.transparent;
import androidx.appcompat.app.AppCompatActivity;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.ViewGroup;
import eightbitlab.com.b... | 3438a18fb73141bf50d426d85c9ea99daa0e651d | [
"Java",
"Gradle"
] | 2 | Java | leptodon/transparent_edittext | 34cf3152a51c6440014269b40f46b1b01d39752b | 9b20312f6b19026fdc36129b202f3ee39deee7c2 |
refs/heads/main | <repo_name>AlexeyZip/Hotel<file_sep>/app/js/main.js
// SLIDER
const sliders = (slides, dir, prev, next) => {
let slideIndex = 1,
paused = false;
const items = document.querySelectorAll(slides);
function showSlides(n) {
if (n > items.length) {
slideIndex = 1;
}
if (n < 1) {
slideIndex ... | 22c38bdb94e6c7c8e3a7a2fa65b2c12753167ce9 | [
"JavaScript"
] | 1 | JavaScript | AlexeyZip/Hotel | 22031230c378e8be59776ec6ae465d4cd8f9c304 | 62cbc1d34270579ad0cdc156595ba2667ea6f997 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { Sellingproduct, Widget, ChartType } from './sellingproduct.model';
import {
widgetData, revenueAreaChart, projectionsDonutChart, incomeBarChart,
recentuserAreaChart, salesStatusChart, productData
} from './data';
@Component({
selector: 'app-... | ef8c67ad1c9b30aa37b1aa37f51a12218742b261 | [
"TypeScript"
] | 34 | TypeScript | floricelhernandez/angular-batools-front | 13a7ad7aecf07268c86775e23c5f629a1c56fbc7 | 2885059edd2e3caf6df17e26c8e84486e7cfedc6 |
refs/heads/master | <repo_name>wuchuhengtools/gbk-parser<file_sep>/src/index.ts
import chineseDic from "./chineseDic"
import chineseDic2 from "./chineseDic2"
import chineseDic3 from "./chineseDic3"
import chineseDic4 from "./chineseDic4"
import chineseDic5 from "./chineseDic5"
import asciiDic from "./asciiDic"
export const decodeByHex =... | c75efde1cd75f80e4bdf2c24c76af3fd3f73e437 | [
"Markdown",
"TypeScript"
] | 4 | TypeScript | wuchuhengtools/gbk-parser | 5ebb355d066ffd702d77ca0f93f9ab4c6f51ada9 | 27798989d02774f30dac37dbee36042cc8e145cc |
refs/heads/master | <file_sep>package com.example.sksha.tictactoe;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.PictureDrawable;
import android.os.Bundle;
import android.support.annotation.DrawableR... | c92ae1ddb89e964f8a445d5816f849970d42bbd2 | [
"Java"
] | 1 | Java | saranshkmr/TicTacToe | 6aae15bae5e24b58e5ff038cd8bb1c5024724b16 | 6171b04aaa966caf9109f0f010ba83adb47eef9d |
refs/heads/master | <repo_name>SilverStripers/apm<file_sep>/src/Extensions/SiteTreeExtension.php
<?php
/**
* Created by <NAME> (<EMAIL>).
* User: nivankafonseka
* Date: 6/3/18
* Time: 1:08 PM
* To change this template use File | Settings | File Templates.
*/
namespace SilverStripers\AMP\Extensions;
use SilverStripe\Control\Contro... | 3c67f70260585d79f0ce9a91a35e9164f62262f5 | [
"PHP"
] | 3 | PHP | SilverStripers/apm | 1711282dfe9722ece865f9b31182edb610b288a8 | db02459da2d0f7983fc1ea370fd8649b3ab5b59f |
refs/heads/master | <repo_name>phber/spraktek_dd2418<file_sep>/regression.py
# coding: utf-8
import pandas as pd
import re, csv, nltk, time, json, itertools, os
from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer
from nltk.corpus import stopwords
import gensim
import matplotlib
import matplotlib.pyplot as plt
fro... | 2dd9c092e6174681a2de5ea7ba6bb2f3617ce56f | [
"Markdown",
"Python"
] | 5 | Python | phber/spraktek_dd2418 | 6d69fb0c2ce856ae0ff6a213b4ff33bcbb1ae430 | 2e62183ade2b1c74878283ba78054d451dc36156 |
refs/heads/master | <repo_name>ybw2016/fast-functional-programming<file_sep>/src/main/java/com/fast/programming/service/condition/CheckCondition.java
package com.fast.programming.service.condition;
import com.fast.programming.enums.AreaEnum;
import com.fast.programming.enums.StockType;
import com.fast.programming.service.FeatureBase;
imp... | cee0e3dd2960da2d7d435f212a51b410fc68c591 | [
"Markdown",
"Java"
] | 28 | Java | ybw2016/fast-functional-programming | 071f9c7b11d779beb19f0d8759d02e4adaa88f48 | 52ee313e0129b899839a71d2086dcacc91148174 |
refs/heads/master | <repo_name>ankitgyawali/reddit-analytics<file_sep>/client/app/config/constants.js
;(function() {
angular
.module('reddit-analytics')
.constant('CONSTANTS', {
'ENVIRONMENT': 'DEV',
// 'ENVIRONMENT': 'PROD',
'NUMBER_OF_WORDS_IN_WORDCLOUD': 50,
'API_URL': { DEV: 'http://localhost:3002', PROD:... | fb9f7ff971c4490cfda30499d4f00b149fdd3d0a | [
"JavaScript",
"Markdown",
"INI",
"Python",
"Text"
] | 30 | JavaScript | ankitgyawali/reddit-analytics | e9237ad55c69c12e9478a28288df75f0441e9376 | 495fe45482c78759b3eefbaaefa3e8bc12f89e94 |
refs/heads/master | <repo_name>fiolbs/nbpresent<file_sep>/bin/screecast.sh
byzanz-record -w 1200 -h 768 -x 5 -y 105 nbpresent/static/nbpresent.gif -d 30
<file_sep>/README.md
# nbpresent
> remix your Jupyter Notebooks as interactive slideshows

## Installation
```shel... | 78825915a3c0031c7a61f9ad8adffe5a99fdc989 | [
"reStructuredText",
"Markdown",
"JavaScript",
"Python",
"Shell"
] | 8 | Shell | fiolbs/nbpresent | 3b6da27f8b97e30348c909ae959684bdeb992a23 | 21f33a4c43c15454d439d28f746303565fc56cc3 |
refs/heads/master | <repo_name>flyeven/reality<file_sep>/lib/reality/wikidata.rb
module Reality
using Reality::Refinements
module Wikidata
class Link
attr_reader :id, :label
def initialize(id, label = nil)
@id, @label = id, label
end
def inspect
"#<#{self.class}(#{[id, label].compact.jo... | 8df37c79801bf34ce93851fb31e4cc680c8c8aa9 | [
"Ruby"
] | 1 | Ruby | flyeven/reality | 8bae7fcf199b203cc078b47cfb4a63d0a4863321 | fc83d32be9319d75bb0ed8cc7e56724f6e2dce71 |
refs/heads/master | <file_sep>using StackExchange.Redis;
using System;
namespace Oraculo
{
class Program
{
private const string canal = "perguntas";
private const string time = "Kensiderio";
static void Main(string[] args)
{
Console.WriteLine("Oráculo está observando!");
... | e57b6b73f7ba97578aa5365f31bd50130210d98e | [
"C#"
] | 1 | C# | kenzo09/Oraculo | 95f469d3a4389eaab32a5c51ae09e9d8cf74a2d7 | 7d88ddb7fd48ecd4164ef96938e9c48bcd6942a2 |
refs/heads/main | <repo_name>jmsull10/Java-Thread<file_sep>/Factory.java
import java.util.Scanner;
/**
* Factory class to start five threads.
*
*/
public class Factory
{
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
System.out.println("Please enter a Memory size: ");
int memorySi... | d329f10eaa8556a0b6b12a0a4cff9f42715462eb | [
"Java"
] | 2 | Java | jmsull10/Java-Thread | d67d9f0a2767a19f41c494521b0f8260234ac34f | 46b5058c18bbe1052cdba431a00555da7875505f |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { FormGroup, FormControl, Validators } from '@angular/forms';
import { NgxSmartModalService } from 'ngx-smart-modal';
import { Card } from '../model/card';
import { DoingService } from './doing.service';
@Component({
selector: 'app-doing',
templat... | 84bc374690e71c0d5284bdfb494066ef52ccc859 | [
"JavaScript",
"TypeScript"
] | 7 | TypeScript | jobson-batista/kanban-app | 94ba931d45a9b890ba68897dc9c50a7e096fe015 | 466b58955d5e23f3455d1d568414d368e6a0dda6 |
refs/heads/master | <file_sep>const Joi = require('joi')
exports.schemaCreateUser = {
name: Joi.string().required().min(3),
email: Joi.string().required().email({ minDomainAtoms: 2 }),
mobile: Joi.string().required().min(11).max(11),
password: Joi.string().required().min(6).max(20)
}
exports.schemaLoginUser = {
email: Joi.stri... | b0c0693a0520b57fe4c4a730f8f9a67e94772367 | [
"JavaScript",
"Markdown"
] | 17 | JavaScript | robertomiguez/spa | f2e01581028fe88976a9f69a5b8b829a5881ec1d | 5db4dc98710d09809cacb87fff0a944b3889388e |
refs/heads/master | <file_sep><?php require_once("includes/session.php"); ?>
<?php require_once '/functions/functions.php'; ?>
<?php confirm_logged_in(); ?>
<?php include '/includes/header.php'; ?>
</br> </br> </br> </br> </br>
<div class="wrapper1" id="wrapperid">
<div id="staffheader">
... | 1f24efab7a970864d2da4e3cd9528171d75f387f | [
"PHP",
"INI"
] | 16 | PHP | MShaheer/PHP_Site_complete_CMS | 0575dd65107cca9ba98ce939f4ff1282338f7cde | 47945a1c71e134ad8ef6d808f86f343f36f4c23e |
refs/heads/master | <file_sep>var saudacao = "Ola papai";
console.log(saudacao);
var x = false;
var y;
y = 5;
console.log(typeof x);
var dia = 12;
function imprimirChamada2() {
var dia = 12;
console.log("Chamada 2 : ", dia);
}
function imprimirChamada3() {
var dia = 12;
}
imprimirChamada3();
console.log("Chamada 3: ", di... | 64c96ca4184381244406490e34ae7c11ee3f775e | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | gustavobborges/topicos-especiais-ads-05 | d1f5a7da3a2c8fb2607db120c305ad7feafd6a09 | 38d9659a23c9676a914a5e14aecdac7cb9f1cee9 |
refs/heads/main | <repo_name>yogeshyamana/LeetCode<file_sep>/FindDuplicatNumber.cpp
/*
Input: nums = [1,3,4,2,2]
Output: 2
Input: nums = [1,1,2]
Output: 1
*/
#include<bits/stdc++.h>
using namespace std;
int FindDuplicateNumber(vector<int> num){
map<int , int> my_map;
for(int a : num){
my_... | ec1f5451dce40ca10a555ae27a1cd275f23e5c1c | [
"C++"
] | 3 | C++ | yogeshyamana/LeetCode | e867ef2f9a9f86a0ed93495d124409d4cfe1e8bf | be72571767f2239400d020c8af3606e60ea31f0b |
refs/heads/main | <file_sep>#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>
bool loShuMagicSquareCheck(int array[3][3])
{
int rowTotal = 0, colTotal = 0, diag1Total = 0, diag2Total = 0;
bool result = true;
int squareTotal[8];
// sum of rows, columns, and diagonals
for (int row = 0; row < 3;... | 40dbb867d2e97f41476fd1c146af8cd8a2b05bac | [
"C"
] | 2 | C | phillipche-cpp/second_in_class | 97506e0339251483d4101c5ad34ab8a7efb53403 | cde7bc307e7f0d0a03485e83415d19e610cb0ef9 |
refs/heads/master | <repo_name>palpico/CyberSecurity<file_sep>/compose/production/pgadmin/Dockerfile
FROM dpage/pgadmin4:4.26
COPY ./servers.json /pgadmin4
<file_sep>/cybersecurity/tema2/models.py
from django.db.models import Model, CharField, PositiveIntegerField, ForeignKey,\
DecimalField, DateTimeField, PROTECT
from django.utils.t... | d40667fc0decbd71ffd683f7025bd3f7ee45135f | [
"SQL",
"HTML",
"Markdown",
"Python",
"Dockerfile"
] | 14 | Dockerfile | palpico/CyberSecurity | ec5110d11b76e0c3e347ef3b98b675bdca4779b4 | 6670b9c0bbe6005ca399e51404464ab3a292fd5e |
refs/heads/master | <file_sep>import { createStore } from 'redux';
import { ICountriesState } from './modules/countries/types';
import rootReducer from './modules/rootReducer';
export interface IState {
countries: ICountriesState;
}
const store = createStore(rootReducer);
export default store;
<file_sep>import { ICountry } from "... | 57656acac1da137a53e4164621971d41a889af98 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | ViBrandao/countries-search | da01762c0c0db4a08573623a544285ee14f6786d | a54f21b5b6a6087fe2d03d42f6b04afe20d8f60b |
refs/heads/master | <file_sep>import React from "react";
import Layout from "../components/layout";
import SEO from "../components/seo";
import MainContent from "../components/mainContent";
import RelativeLinks from "../components/relativeLinks";
import "./index.css";
const IndexPage = () => (
<Layout>
<div className="container">... | 0bd9bcacdecfe6321170a71cb61f920e34206725 | [
"JavaScript"
] | 3 | JavaScript | lonelyplanet/front-end-candidate-react | 580d678a7eb9d1b30722594e6ffc2fffc71e6bdb | 7f8e3ea0c32d34a4b97b6732eff7c5103ed06ae2 |
refs/heads/master | <repo_name>gpiantoni/pygosd<file_sep>/bashscript.py
import shutil
import os.path as op
from nipype.interfaces.base import (
TraitedSpec,
CommandLineInputSpec,
CommandLine,
File,
BaseInterface,
traits,
Directory,
BaseInterfaceInputSpec
)
class SymbLnInputSpec(CommandLineInputSpec):
i... | 7776c4e1b6ccf7593ee81847637bf6b933c3a7ed | [
"Python",
"Shell"
] | 6 | Python | gpiantoni/pygosd | b41fa47169907e021ebfffaafa9ae4c35329d27a | 97f979ddd934935d78f141fe93aecc010a7ed5b0 |
refs/heads/master | <repo_name>THeK3nger/obsidian-juliandate<file_sep>/README.md
## Obsidian Julian Date Plugin
This is a simple plugin that add an hotkey for inserting a Julian Date. The Julian Date is the continuous count of days since the beginning of the Julian Period and is used primarily by astronomers for annotating astronomical... | cb27f5d59c56b8734597ae39482fbffbda370c0f | [
"Markdown",
"TypeScript"
] | 2 | Markdown | THeK3nger/obsidian-juliandate | a364eabcb5a5b375efa03dd4b8e7c683c8a7113f | 9c224e45834c958cbf62d372f0d60e7fc1e67204 |
refs/heads/gh-pages | <repo_name>vramirez122000/public-transport-maps<file_sep>/process-osm-file.py
__author__ = 'victor'
colors_by_route = {
'TU': '4d8327',
'E10': '583c64',
'E20': '5268b5',
'E40': '6598dd',
'T2': '43aad6',
'T3': 'bf6a4b',
'T4': 'e3591b',
'T5': 'e561de',
'T6': '225226',
'T7': '792f4... | aefe32bd17aa37ab6e574904e19bf33961fe1a1c | [
"Python"
] | 1 | Python | vramirez122000/public-transport-maps | 4866b7134e554908ec41bd375ac1e030b979f535 | 8c08dd32f357fb58fed336aeae8c97470b0f90ab |
refs/heads/master | <repo_name>robertlandreaux/signuptracker<file_sep>/db/tables.sql
`CREATE TABLE public.signups
(
user_id integer NOT NULL,
thing_id integer NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
deleted_at timestamp without time zone,
id bigint NOT NULL DE... | 02300639b75bec986b6f42df17f4a17de5b54a1b | [
"JavaScript",
"SQL",
"Markdown"
] | 4 | SQL | robertlandreaux/signuptracker | 8d6e67fad6d49a243335259fd6bc8c91d71dc85f | 756a74e680ad8f13c9eed632b4f206ea4406d7a2 |
refs/heads/master | <file_sep>package com.myProject.model;
public class Awsservice{
private String name;
private int serviceId;
private String description;
public String getName()
{
return this.name;
}
public void setName(String name)
{
this.name = name;
}
public int getServiceId()
{
return this.serviceId... | 6c7996d3d4e4e66a0b5b66d21334f00832f6162f | [
"Java"
] | 2 | Java | farooqsmasher/demo | 0fce960eafb46d5c310054c6842384f0c11efa32 | 046aec092f9541733806ecddb8d9f8fde9cdac1c |
refs/heads/master | <repo_name>DouglasBurns/TopReco<file_sep>/LikelihoodAnalyserOutputPlots/GenJetDiffs.py
'''
Created on 08 May 2015
@author: <NAME>
CSV
'''
from __future__ import division#divide now does float
import ROOT
from ROOT import gROOT, gPad, gStyle, TChain, TFile, TTree, TMath, TH1, TH1F, TCanvas, TLegend, TLatex, kRed, ... | 39a1386428950593e21bacf75666105782434a76 | [
"Python"
] | 5 | Python | DouglasBurns/TopReco | 20d6ace513c754c74b31f48596624c61d54d9706 | cde131a20e0215358e6d32e6c6882f2cb69050c4 |
refs/heads/master | <repo_name>kaarelr/budgetwise<file_sep>/setup.py
from setuptools import setup
setup(name='budgetwise',
version='0.2',
description='Easily calculate budgets for your company',
url='https://github.com/kaarelr/budgetwise',
author='Cloudberry',
author_email='<EMAIL>',
license='MIT',
... | 037c91bb6f182541c2a53ec3cb19ab9f41f68286 | [
"Markdown",
"Python"
] | 4 | Python | kaarelr/budgetwise | bb0ffa5b3e9a8ebf126bab41e10d0da867293507 | edcd80361db62293eab29411afc778da57b50d94 |
refs/heads/main | <repo_name>bcfernandez/Demo-SpringCloud<file_sep>/demo-Discovery-ws/src/main/java/es/myorg/trm/discovery/DiscoveryService.java
package es.myorg.trm.discovery;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix... | f7fccce93e5e7a0c2bc361beddbc0a8c6b3e634a | [
"Java"
] | 1 | Java | bcfernandez/Demo-SpringCloud | 652281bd12dfc3e02effa8a0e01b77e2b8bb063a | af349f783bbeaac834bc283f831afd740ac0795c |
refs/heads/master | <repo_name>cedric-h/2021<file_sep>/math.h
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef float f32;
typedef double f64;
#define PI32 3.14159265359f
#define TAU32 6.28318530718f
#... | ad0811a5c94a284f33611e3eed95f5c331d7e7e4 | [
"Markdown",
"C",
"CMake"
] | 5 | C | cedric-h/2021 | a1745dde086cd4a04fea304cc185eafe7b393d9e | 3446ef9967e3c198a5414b163adf1bb2c48c8134 |
refs/heads/master | <file_sep># mta_playerNum
An MTA:SA player count REST API written in PHP.<file_sep>local curr = 0
function updatePlayerCount()
local max = getMaxPlayers()
-- Call the REST API
fetchRemote('http://localhost/.api/?curr='..curr..'&max='..max, function(data) end)
end
addEventHandler('onResourceStart', resourceRoot,... | e8e04ce08fdee7beeca5ec35189ad81998da677f | [
"Markdown",
"PHP",
"Lua"
] | 5 | Markdown | szekelymilan/mta_playerNum | 5e405b3ac017977f893f525032b8a283d43e4e37 | 64d08d4f795bcc312df58de03f5ef8c12fb6c04e |
refs/heads/master | <file_sep>package com.lukeshannon.springconference.service;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
import com.lukeshannon.springconference.model.Speaker;
import com.lukeshannon.springconference.repo.SpeakerRepo;
@Service
public class SpeakerService {
priv... | 0b01919282e9f2a3a91a058ee6eca5af9dcd3d23 | [
"Markdown",
"Java",
"Shell"
] | 12 | Java | afournier-pivotal/caledonhillsracing | 086106e48987a6733ed7930908199cb70ee1f149 | d1a9f42c70c56184fa426a2f345ec61a587089d2 |
refs/heads/master | <repo_name>dillonmcroberts/project-euler-multiples-3-5-web-0716<file_sep>/lib/oo_multiples.rb
# Enter your object-oriented solution here!
class Multiples
def initialize(limit)
@limit = limit
end
def collect_multiples
current_number = 1
numbers = []
while current_number < @limit
if current_n... | e9fb31163d1ff203d0c3c5421719eee76bb073ef | [
"Ruby"
] | 2 | Ruby | dillonmcroberts/project-euler-multiples-3-5-web-0716 | 312b98a85adeb0863fc1b86dd6c7aaff893ba588 | e18260bfbaba3d5659d5bc2bad0e4eba2b76e453 |
refs/heads/master | <repo_name>SphtKr/lorawan-biketracker<file_sep>/BikeTracker/LoRaWAN_GPS_feedback.cpp
#include "Arduino.h"
#include "GPS_Air530.h"
#include "cubecell_SSD1306Wire.h"
#include "secrets.h"
extern SSD1306Wire display;
int32_t fracPart(double val, int n)
{
return (int32_t)((val - (int32_t)(val))*pow(10,n));
}
void di... | 2276c71af135d30f1f55b69481c5f2eab6f34618 | [
"C",
"C++"
] | 3 | C++ | SphtKr/lorawan-biketracker | b4058e78b5b81124572dc5735922d117276bfea5 | b597918b36eb3168406407b646bac960bf2a48c0 |
refs/heads/main | <repo_name>Yasaswini-Jaladurgam/Part-5<file_sep>/bloglist-frontend/src/components/Blogs.js
import React from 'react'
import Blog from './Blog'
const Blogs = ({ blogs, users, handleLikes, handleRemove }) => {
return (
<div>
{blogs
.sort((a, b) => b.likes - a.likes)
.map(blog => {
/... | 098b96188fbdff054871ff50ddba830c0764033b | [
"JavaScript"
] | 4 | JavaScript | Yasaswini-Jaladurgam/Part-5 | 3d404950d926be59c3587a29f9e501b97a37df7c | 5901ff8f2eb6ef525aba024a0a775bce0fcf67bf |
refs/heads/master | <repo_name>maxinehehe/DjangoStudy<file_sep>/myblog/blog2/views.py
# -*- coding: utf-8 -*-
# from __future__ import unicode_literals # 必须出现在文件的开头
from django.shortcuts import render # 生成应用时自动添加 render 渲染的意思
from django.http import HttpResponse
def index(request):
# return HttpResponse('Hello,World!')... | 6fc364785b92a596065ed70b5750a7f8e5122fe5 | [
"Python",
"Text"
] | 5 | Python | maxinehehe/DjangoStudy | 36efdecfa85faf564a9e4df59496a63b247fef3f | f91bc0e7ba7701fb3f79923706e142bdddef00c3 |
refs/heads/master | <repo_name>Charoenrit/DotProject<file_sep>/Treehouse.SimpleConsoleApp/Program.cs
using System;
namespace Treehouse.SimpleConsoleApp
{
class Program
{
public static void Main(string[] args)
{
//This is a comment
string greeting = "Hello World";
string name =... | db62358e03821a616a31eff7488bb9c51771770f | [
"C#"
] | 2 | C# | Charoenrit/DotProject | 6c3f927142f8caa6593bb8ca90819a74712f2349 | e920f03b6100dc131c29bea4f7aa8be66b0d857c |
refs/heads/main | <file_sep>package net.blogjava.welldoer
import java.util.*
data class LoggingEvent(val timestamp: Date, val level: Level, val message: String, val threadName: String, val threadId: Int, val loggerName: String) {
constructor(timestamp: Long, level: Level, message: String, loggerName: String): this(Date(timestamp),... | aae678169f2ffb5590007e049f6c4d63d5181017 | [
"Markdown",
"Kotlin"
] | 11 | Kotlin | welldoer/LoggerK | 81e10a08ecbf78bb9505e305597bca60db7f100d | a1fd1643bcf28642482e8d9db93f2ff5431297ef |
refs/heads/master | <repo_name>witsaint/ui-structure-vue3<file_sep>/examples/docs/zh-CN/row.md
## mtl-row
```html
<mtl-row>hello word</mtl-row>
```
### Attribute
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------- |---------- |------------ |-------- |
|title | 标题(label) |String, Number |————|———— |
### Slot
| 名称 ... | 5d87a7efeb8aa3867055765eb09e336e81b23d70 | [
"Markdown",
"JavaScript"
] | 13 | Markdown | witsaint/ui-structure-vue3 | b0fcd8e214b1a41b02f1d155ae2585c287707a35 | 8da57a59c02c60c8e75ec893cc69eb60b8695b44 |
refs/heads/master | <file_sep>// from data.js
var tableData = data;
// this section of code creates event-listeners for all the interactive parts of the page
var dateform = d3.select("#datetime");
var button = d3.select("button");
var clear = d3.select("#clear-btn");
var cityform = d3.select("#city");
var shapeform = d3.select("#shape");... | be8b0007d67f41c58c94b48cfe8df6a6f7e3cebe | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | msflores10307/javascript-challenge | eeb747a1488a021b453bd80eb6e57561e77693b2 | 0b35a93eafb874827d58a9ba5c2958d817b15a29 |
refs/heads/master | <repo_name>shylonezeng/lab_system<file_sep>/core/urls.py
from django.conf.urls import patterns, url
from core import views
from core.models import Event
from core.views import IndexView
event_detail_info = {
"queryset": Event.objects.all(),
}
urlpatterns = patterns('',
url(r'^(index/$|$)', views.index, ... | 70a85371545c582bca548a66847f1e0595208265 | [
"JavaScript",
"Python",
"HTML",
"Markdown"
] | 13 | Python | shylonezeng/lab_system | 737c49b3f42236cdcc2124dffe6ffe5a69aefdc6 | 270b72b3fe03ce7ff236b3fd02fd3db81c9ba501 |
refs/heads/master | <file_sep>DROP DATABASE HotelDatabase;
CREATE DATABASE HotelDatabase;
USE HotelDatabase;
DROP TABLE IF EXISTS Hotel;
CREATE TABLE Hotel (
HotelID int NOT NULL AUTO_INCREMENT,
`Name` varchar(50) NOT NULL,
Street varchar(30) NOT NULL,
City varchar(30) NOT NULL,
State varchar(30) NOT NULL,
Country varchar(50) NOT NULL,... | e362d6ed1ab5d1130b4eba45f0501ef611dc3f96 | [
"Markdown",
"SQL"
] | 4 | SQL | therealsanchit/336final | 2226cfacce17c28e8a78de7061c203c94d354552 | d8bce607427a6118dea10babb5d595e226dca0b5 |
refs/heads/master | <file_sep>cmake_minimum_required(VERSION 3.15)
project(barriera_ciclica)
set(CMAKE_CXX_STANDARD 20)
add_executable(barriera_ciclica main.cpp)<file_sep>file(REMOVE_RECURSE
"CMakeFiles/es_thread.dir/main.cpp.obj"
"es_thread.exe"
"es_thread.exe.manifest"
"es_thread.lib"
"es_thread.pdb"
)
# Per-language clean ... | 50d483fb26da5fb2d1a7b45b249863320e184f2e | [
"CMake",
"C++"
] | 40 | CMake | CuriousDolphin/cpp_labs | 8431fd94bec8287b9179a8325573eb597b657563 | 2a6b2977f089da59e9344faab7720c7f4b16f43f |
refs/heads/master | <repo_name>jav1jav/js_learnings<file_sep>/02 building routes.js
//*************************
// ***** build routes ***
//*************************
// build a router
const express = require("express");
const router = express.Router();
// access to database models
const models = require("../models"); //or dbs
const P... | ecfd269818f47f6ce626e335107aced6fb306505 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | jav1jav/js_learnings | d64cc04c341a5f7bb71b5b62233c4e12977a35a6 | cb77c09317c408d3efc8ab9c7d0eeaf9660351ac |
refs/heads/master | <repo_name>Uno-dos155/eagle2<file_sep>/src/main/java/com/bird/util/PersonValidator.java
package com.bird.util;
import com.bird.model.Person;
import com.bird.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.Errors;
import org.springframework.val... | dbdd4b873c21030ddc05165572017c1c6aa04cdb | [
"Java"
] | 8 | Java | Uno-dos155/eagle2 | f1abf903ff613d3afab670baee997c2e9da0c4aa | db5a3fd86c810945d64cb84f3b8f30c498d0f584 |
refs/heads/master | <repo_name>dania2007/NFORUN02<file_sep>/README.md
# NFORUN02
* this is my game<file_sep>/Assets/scripts/Character.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Character : Unit
{
[SerializeField]
private float speedRun;
[SerializeField]
private float ju... | a944696578a8abde94e115fbe77d388ef0190c1e | [
"Markdown",
"C#"
] | 3 | Markdown | dania2007/NFORUN02 | 65d3d5836f5029969be5500cb302c69d59e90277 | 53bcf3f986289029dd9a1a4b9e07306aee844a6d |
refs/heads/master | <repo_name>designfischer/talent-files<file_sep>/backend/src/database/dbconnection.js
const knex = require('knex');
const configuration = require('../../knexfile');
const dbconnection = knex(configuration.development);
module.exports = dbconnection;<file_sep>/frontend/src/Pages/Description/index.js
import React, { use... | 8732d3d190d7bb2bcf4d9b77a1ad3d1bc0fa7d2c | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | designfischer/talent-files | 136bca259814b2f9dfc95921f8b58456a53af5a8 | 7bda1e3e3f5de5b194975a9920bf0a76e3762e28 |
refs/heads/master | <repo_name>daerwang/rapidmsg<file_sep>/Makefile
# # Use 'make V=1' to see the full commands
#使用安静模式可以不看gcc,g++的参数
CC := gcc
CXX := g++
CPPFLAGS := -std=c++0x -O2 -g -fPIC
PROTOFILES := $(wildcard ./proto/*.proto)
PROTOHEADERS := $(addsuffix .pb.h, $(notdir $(basename $(PROTOFILES))))
PROTOCPPFILES := $(addsuffix .pb... | 40fc0ab4f44ebd2660e6150966e1892b1dbf7fb2 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 5 | Makefile | daerwang/rapidmsg | fdbd56f8955d12749efa130fd221287e74839926 | 27fd60b30988b0da7bdcccf354d078dca924ff60 |
refs/heads/master | <file_sep># FriendFInder https://friendfinder-123.herokuapp.com/
Pet Friend Finder is an app that helps find your most compatible pet type. This is primarily an exercise in setting up an Express server and handling routing. On the front end the user fills out a survey form, and on the back end an Express server handles... | 89a9c9c5fddabd5715ca9ff1f9eb0c9ce98c02c0 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | gnenov89/FriendFInder | 225c8e335d8671e1479fc73ef7c5832d143350c3 | 4ce4fdd74991c7c82239969aa00439953b76e839 |
refs/heads/master | <repo_name>s-westphal/go-tchart<file_sep>/widget_pie.go
package tchart
import (
"errors"
"fmt"
"math"
"github.com/s-westphal/termui/v3"
ui "github.com/s-westphal/termui/v3"
"github.com/s-westphal/termui/v3/widgets"
)
// PieChartWidget line chart widget
type PieChartWidget struct {
PieChart *widgets.PieChart
... | 5a85cf2e0cddb75cd5f85b2e2bbcaba30eeef57a | [
"Go Module",
"Go",
"reStructuredText"
] | 19 | Go | s-westphal/go-tchart | 37065b819c6087b12c41ffe73588e7cd8d898c6e | 2466f69dc97e99ffd815abbdc427175f03ea47b8 |
refs/heads/master | <repo_name>coder-ka/realization<file_sep>/src/components/company.jsx
import React from 'react'
import Container from './container'
import Contents from './contents'
import Content from './content'
import Main from './main'
import Header from './header'
import Footer from './footer'
export default class Company exte... | a8505753d14a2332fb05028bbe29306e12bc4f19 | [
"JavaScript"
] | 16 | JavaScript | coder-ka/realization | a50804e1bfee9147286fd9aee7d93ed69dee3b22 | 3a14c01eb9d37d39135a09753982cbb478841d38 |
refs/heads/master | <file_sep>-- by slp13at420 of EmuDevs.com
-- simple world chat WITHOUT the '#chat' command...WTF you say?
-- just change to /1 channel . the channel can be changed below.
-- and chat away.
-- names are clickable for whispers and sub menu.
-- request by Lstm 4/27/2016.
local channel_name = "World Chat";
local channel_... | 2212f511d0c8a95611c3258cffafa57118ede1e3 | [
"Markdown",
"C++",
"Lua"
] | 4 | Lua | Shirokosmiles/World_Chat | 1182eb556a15da59ce656cfa7130757a1844e4a8 | 8de850578d9fc9a9787daa1af420d4def5a25057 |
refs/heads/master | <file_sep>import requests
import json
import sys
import urllib2
import os
import zipfile
'''
Makes Requests to Content API
Takes 2 command line arguments
argv1 = gallery_id
argv2 = access_token
*OPTIONAL PARAMETER:
argv3 = social_platform
Currently only saves 'medium_image' on line 45
'''
def make_request(page, so... | f72036c6836394e63815c020718ac0793a534a29 | [
"Markdown",
"Python"
] | 2 | Python | mafrahim/Offerpop-API | 6f2f4f9664f1163e15f675aaba050bda132f12c1 | e4cbdc48d0c1dcbed1502e4060a090ca7a2f9812 |
refs/heads/master | <repo_name>trapd00r/matrix<file_sep>/src/matrix.h
/* matrix.h
* author: Floff, trapd00r
*
* included in matrix.c
*/
#ifndef __MATRIX_H__
#define __MATRIX_H__
/* includes
*/
#include <stdlib.h> /*calloc(), free(), atoi(), atof(), srand()*/
#include <string.h> /*NULL, strlen()*/
#include <stdio.h> /*printf... | 6a982459b4ca5e7d398d3c9214fc1dc6d2f52667 | [
"C",
"Makefile"
] | 3 | C | trapd00r/matrix | eaabbde0e8f665b67f779cd465a14ef41d29f5d2 | dccab6b6b1548597e9d90226f2f7ca55dc57f084 |
refs/heads/master | <repo_name>AthleteInAction/wambl-golf-1.0<file_sep>/Golf/SignupCtrl.swift
//
// SignupCtrl.swift
// Golf
//
// Created by <NAME> on 4/3/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
import UIKit
class SignupCtrl: UIViewController {
@IBOutlet weak var name: UITextField!
@IBOutlet weak var emai... | 6356afcd1735a263c27ba2023af2018a8bf6c47e | [
"Swift"
] | 8 | Swift | AthleteInAction/wambl-golf-1.0 | 5f18ef379365eacd36e8d9cd210870431e1fb1d4 | 7675685652767f87f6973d394d53558ecb5cd746 |
refs/heads/master | <repo_name>pascal1796/codeacademy<file_sep>/DemarrerCrypto.java
import java.util.ArrayList;
import java.util.Vector;
public class DemarrerCrypto {
public static final int CAR = 1;
public static final int NUM = 2;
public static final int MIN = 1;
public static final int MAX = 25;
public static void main(String[... | aeb1a915ac761fd8cfd9c98e9be80222ae06970f | [
"Java"
] | 2 | Java | pascal1796/codeacademy | 712529cd74ac0f5257476b95e8bec2341f7b4cce | 5ef2680d7c87b70ad67f64775c5b353eb493556f |
refs/heads/master | <repo_name>Erica-Wang/HTN2018<file_sep>/app.py
from flask import Flask, request, Response
import os
from kik import KikApi, Configuration
from kik.messages import messages_from_json, TextMessage
import unirest
import json
import pyrebase
import fuzzyset
import sys
from googleplaces import GooglePlaces, types, lang
fr... | f965c6234cfc95988ed21915ccd9cd4af5b8eb01 | [
"Markdown",
"Python",
"Text"
] | 3 | Python | Erica-Wang/HTN2018 | 4d3620632532725d67d33cb17ccd152510db0f30 | b46208548f226724eedd6699aa7cc01b981354f0 |
refs/heads/master | <file_sep>/* realization list v1 */
#ifndef LIST_H
#define LIST_H
#include <iostream>
#include "node.h"
class List
{
public:
List();
List(std::size_t size, int value = 0);
List(const List & list);
~List();
public:
void insert(std::size_t pos, int value);
void erase(std::size_t pos);
void ... | 62907f01080dc0fa04dcc0006560baccc4204dca | [
"C++"
] | 10 | C++ | legolego621/JuniorDeveloper-course | 10598f7c93eea63578e89f3bb7ff204e9b404b38 | 6ec43dcb31399f7b056d54eb77ebf55182f86eea |
refs/heads/main | <repo_name>DSPenetrationHub/CTF2<file_sep>/final.js
var password = "<PASSWORD>"
var response_pass;
while(response_pass != password){
response_pass = window.prompt("Enter the password")
}
alert("you got it");<file_sep>/jqerry.js
var password = "<PASSWORD>"
var username = "VITCYBERWARRIORS"
var response_pass... | 1a4973a2c895621aa64c7c10e32c9eacc7932849 | [
"JavaScript"
] | 2 | JavaScript | DSPenetrationHub/CTF2 | 82af83c553f2dda091c86401309afab2883bcfca | 483ec198c00f5779c8865d3666b6d9d3561cb735 |
refs/heads/master | <file_sep>const PZ = require("./config");
const path = require("path");
const CompressionPlugin = require("compression-webpack-plugin");
const IS_PRODUCTION = process.env.NODE_ENV === "production";
function resolve(dir) {
return path.join(__dirname, dir);
}
module.exports = {
lintOnSave: false,
configureWe... | 94de36cb3e1cfb3d0587d80f16480472e286e372 | [
"JavaScript"
] | 3 | JavaScript | yangjjfc/electron-test | 8ffe4ec87b6e8656e99f0fc833afbe1ef933b1cc | ce697b0ae6a68bd1db2ddd4079c9787ebf70b568 |
refs/heads/master | <file_sep><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Request Organ</title>
<link rel="stylesheet" href="css/... | b5d1fafb1c4f17507a1d4a668c85c2fd7bee330a | [
"SQL",
"PHP"
] | 9 | PHP | AnushaMisa/Organ_Donation | c25b1e08f3779bb517f0d948a6461a2ddffda6c5 | 70042df534c07dafdf0b92b0e61b8abf7bc2b77d |
refs/heads/master | <repo_name>abrieff/Portfolio<file_sep>/Congressional Partisanship Viz/final_proj/application.windows64/data/preprocess.rb
file = File.new("house113.csv")
d_leader_id = "P000197"
r_leader_id = "C001046"
people = {}
# person = {person_id: id, party: party, person_name: name, state: state,
# congress: 1, votes... | 3f50bbfb2c5eb4ca277db11ee66715b35734fad1 | [
"Markdown",
"Java",
"Ruby"
] | 3 | Ruby | abrieff/Portfolio | 2de92cb21b75028df217dae3cd120f5f79e8c6fa | f1f1bf4c9ce1189aba76046178d7c2a37e0af694 |
refs/heads/master | <file_sep>using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(KINGS_VET.Startup))]
namespace KINGS_VET
{
public partial class Startup {
public void Configuration(IAppBuilder app) {
ConfigureAuth(app);
}
}
}
| 840c16760962e0a3f487e3d8467aa9ae3ae774e6 | [
"C#"
] | 1 | C# | darkstar23/KINGS_VET | 76bc86b9774a7280efdf434c82c4945f809598a3 | 7eafda3d5513912e1d3aabc30996bdf6b6540e29 |
refs/heads/master | <file_sep>// #White Level - addition(3, 2) ➞ 5
// 1. Create a function that takes two numbers as arguments and return their sum.
function add(a, b) {
return a + b;
}
function add(a, b) {
let sum = a + b;
return sum;
}
function add(a, b) {
if (typeof a !== "number" || typeof b !== "number") {
return "So... | 24693ebb25b9bdff520a5af1c668d537526be5be | [
"JavaScript"
] | 1 | JavaScript | tindoann/Hackate_one | f4513a0e55442a9c5b50dca66b7d5763d4317086 | 3cc76e58b91afbdbb6fb398e92304bc767aa14ff |
refs/heads/master | <file_sep>package thiagodnf.cardapioru.bot.commands;
import java.util.ArrayList;
import org.springframework.stereotype.Component;
import thiagodnf.cardapioru.bot.model.User;
import thiagodnf.cardapioru.bot.services.CommandService;
import thiagodnf.cardapioru.bot.utils.CommandArgs;
@Component
public class RuSemAlert... | bcbf6be16aba76289636acaced46c4498b574434 | [
"Markdown",
"Java",
"Maven POM",
"INI"
] | 18 | Java | thiagodnf/cardapio-ru-bot | 3f400af2521f36919aa3ee1674a857c85185b1b0 | bb32a50bbc4137a570c7412f0f8fb0efb102e036 |
refs/heads/master | <repo_name>TriCodeIT/Review-DataCamp-learnpython-Exercise<file_sep>/set.py
#To find out which members attended both events, you may use the "intersection" method:
#To find out which members attended only one of the events, use the "symmetric_difference" method:
#To find out which members attended only one event and not... | a0decbed06d9e3fc7c6d0e93cf481eb25d79e6e7 | [
"Python"
] | 4 | Python | TriCodeIT/Review-DataCamp-learnpython-Exercise | 4d6532377a31204db8218761ef45a651b773408e | ab48e4c099cbeaf3cfceb58b4e2f7b11d937b076 |
refs/heads/master | <repo_name>rasor/nko2017-smack<file_sep>/src/types/facebook.d.ts
/*
---
definition file of the js Facebook SDK
author: [<NAME>](http://www.github.com/mientjan)
license: [MIT License](https://github.com/mientjan/typescript-facebook-definition/blob/master/license.txt)
*/
export interface IFacebookAPIMoviesResponseData... | ee1d81113729482b807dcff6b5bee8d668123891 | [
"TypeScript"
] | 2 | TypeScript | rasor/nko2017-smack | 750e65eef407f92af927b1d656736027dae953d8 | c2897827c07fefed0de32033f6e1be25eb747e4f |
refs/heads/master | <repo_name>AndrewJLang/Linear-Regression-using-RMSE<file_sep>/HW1.py
#<NAME>
#Linear Regression using RMSE algorithm
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import time
import csv
plt.xlabel('Days Fished')
plt.ylabel('Sockeye Harvest')
plt.title('Days fished vs Harvest Coun... | 00ecc612ee8e089f1348918a421c79679d11b39b | [
"Markdown",
"Python"
] | 2 | Python | AndrewJLang/Linear-Regression-using-RMSE | b0ef63377d30d61ae26521194331956fbb3b32a6 | 5dae0ae48d498e7edac5b645762a18b8c4cf9b2c |
refs/heads/master | <repo_name>amcrisan/EpiDesignPattern<file_sep>/analysis/ebolaTreePrep.R
#code from the following online tutorials
#https://www.r-phylo.org/wiki/HowTo/InputtingTrees
#https://bioconductor.org/packages/release/bioc/html/ggtree.html
#data from:https://github.com/nickloman/ebov/blob/master/phylo/beast/Makona_728_cds_ig.MC... | 69784123626eae9603ed8e05857c8760a94fc642 | [
"R"
] | 6 | R | amcrisan/EpiDesignPattern | 877cfd8c37677cfade69ff23ca75aca5f92bec0e | b3762954531ba41ffcf15ef34cfccd449964f53b |
refs/heads/master | <repo_name>cosgab/Pebble<file_sep>/README.md
# Pebble
Pebble repository
<file_sep>/src/pkjs/config.js
module.exports = [
{
"type": "heading",
"defaultValue": "GC Watch Config"
},
{
"type": "text",
"defaultValue": "Choose colours."
},
{
"type": "section",
"items": [
{
"typ... | e49df30d4ce70fd750fdee5c95f49a9990720daf | [
"Markdown",
"JavaScript"
] | 2 | Markdown | cosgab/Pebble | 9a0274666bbe012e8aa8c26591bd1fa1f0043597 | 1291080a6409b8a1eee8cf478a99c7526954d4af |
refs/heads/master | <file_sep># gossdeep
//比较相似度
Fuzzy_compare("3:YD6xL4fYvn:Y2xMwvn","3:YD6xL4fYvn:Y2xMwvk")
//提取文件模糊hash
Fuzzy_hash_file("/var/www/shell.php")
//提取字符串的模糊hash
Fuzzy_hash_buf("MXi4oyu")
## gcc fuzzy.c -fPIC -shared -o libfuzzy.so
### error while loading shared libraries: libfuzzy.so.2
#### 方法一:
* 将/usr/loca... | f1e0fae5da5ab59b03790533e465219efc916746 | [
"Markdown",
"Go"
] | 3 | Markdown | MXi4oyu/gossdeep | 910ce0bb54ce3b9d60d34febae3d0a17a281accf | 97651feb0c30750483955b44c66f54016fcc9b76 |
refs/heads/main | <repo_name>sam1cutler/HikeTrackerAPI<file_sep>/test/hikes-endpoints.spec.js
const knex = require('knex');
const supertest = require('supertest');
const app = require('../src/app');
const helpers = require('./test-helpers');
describe('Hikes Endpoints', function() {
let db
const {
testUsers,
tes... | 50981c9f335b7d37911db0da3eeaec052975b8f6 | [
"JavaScript",
"SQL",
"Markdown"
] | 9 | JavaScript | sam1cutler/HikeTrackerAPI | 2a1033c4203c9c093336b7c00dd82b621d0efeb8 | f6bc534c562f32e79659e84f8808daea01039d6b |
refs/heads/master | <repo_name>msamatar0/ClientSocket<file_sep>/Poker.java
import java.util.*;
/**
*
* @author msamatar0
*/
public class Poker{
static int[][] testDeck = {
{3, 2, 4, 5, 6}, {1, 2, 5, 13, 23 }, {19, 20, 15, 23, 14 },
{52, 51, 50, 1, 23 }, {5, 15, 17, 29, 44 }, {5... | eb8c01dcdbfc501c5cb822ab5df8f58a688dc6d1 | [
"Java"
] | 1 | Java | msamatar0/ClientSocket | b9775d0ef10bcad656f70c0219da2c574d2f4c28 | ab8ae5096fec8a826f83a8d33052f4897f606f00 |
refs/heads/master | <repo_name>razziel89/kmc<file_sep>/include/votca/kmc/event.h
/*
* Copyright 2009-2013 The VOTCA Development Team (http://www.votca.org)
*
* 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
*... | 1477fb73b101a32d111f0a5a13354ead9fffff33 | [
"CMake",
"C++"
] | 13 | C++ | razziel89/kmc | 22b1d67991a60533266bceffb41057aa70c475bf | f7a4946759cee795792ab8faaef6c6db2b7afcd6 |
refs/heads/master | <file_sep># Description site
The site is made according to the terms of reference contains all the requirements. There are 4 sections in it, which in itself describes various functional (about me, rezume, contains a video). The site is adapted to the size of the phone.
## Installation
In the terminal enter the comma... | 91326183a53cb19211d6ff2a1695a58af32f8b74 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | akylaibekbolsunova/akylai-site | b946ed41e691e664b883e4237047ac895880bdcd | dc1eb9ba9c45671d0792318dd86427aed738270a |
refs/heads/master | <repo_name>GERMAINJimmy/gestionnaire-de-contact<file_sep>/README.md
# gestionnaire-de-contact
Bienvenue dans cette activité !
Elle va vous permettre de mettre en oeuvre une grande partie des compétences étudiées durant le cours. L’objectif de cette activité est
d’écrire un petit gestionnaire de contacts dans le fich... | 2de4d6ec2e7ec406e7d11567441839f1707fbcde | [
"Markdown",
"JavaScript"
] | 2 | Markdown | GERMAINJimmy/gestionnaire-de-contact | c926c1d2c456392dedad127363155ca269434fe2 | 400b0df478e44d049f627dcdd8f73612fac271b8 |
refs/heads/master | <file_sep>def insertion_sort(sequence_of_numbers):
for i in xrange(1, len(sequence_of_numbers)):
key = sequence_of_numbers[i]
j = i - 1
while j >= 0 and sequence_of_numbers[j] > key:
sequence_of_numbers[j + 1] = sequence_of_numbers[j]
j = j - 1
sequence_of_numbers[j + 1] = key
return sequence_of_nu... | 7ac8cf914be8149f4568e4467814b71189a50b8f | [
"C",
"Python"
] | 2 | Python | Bunny4teen/Algorithms | a857263ce5def4c8741e9b6860e0e52cba5c3213 | 6324adf9a93ccc367e8e0c92dd6547fc156d8cdf |
refs/heads/master | <file_sep>/*
* Fermat.h
*
* Created on: Apr 15, 2014
* Author: mdbesoain
*/
#ifndef FERMAT_H_
#define FERMAT_H_
#include <stdbool.h>
void evaluateSingleNumber(long n, bool printInfo);
#endif /* FERMAT_H_ */
<file_sep>AED-Tarea1
==========
Tarea 1 Algoritmos y estructuras de datos
<file_sep>#include<stdio... | 8690fad666a6e5a0ff3ae4a30d6b359d2efe1540 | [
"Markdown",
"C"
] | 4 | C | mdbesoain/AED-Tarea1 | 37f9a71b61b7fb057a4107a90166fa37342759a1 | 5a18b99f82ce4e876e61a5818a58bb91f80f0457 |
refs/heads/master | <file_sep># codama-tinker-driver
codama driver for Tinker Board S
## build and install
build, install driver
```
$ sudo make KERNEL_SRC=/lib/modules/$(uname -r)/build all ARCH=arm
$ sudo make KERNEL_SRC=/lib/modules/$(uname -r)/build install ARCH=arm
```
insert overlay driver setting
Add last line in /boot/hw_intf.con... | a4b068f0556973d666a9066a6cf16e4a4b14f135 | [
"Markdown",
"C",
"Makefile"
] | 4 | Markdown | srchack/codama-tinker-driver | 83eb179622c5ae539967093f9755102ee6507bcf | 437d7034b14e42adbf095d6052870870b92a1399 |
refs/heads/master | <repo_name>mezz64/mqtt-broker-docker-image<file_sep>/mosquitto-broker.sh
#!/bin/bash
echo 'SERVICE: mosquitto broker'
exec mosquitto -c /mosquitto/config/mosquitto.conf
<file_sep>/README.md
MQTT broker docker image
========================
MQTT broker docker image. Based on phusion/baseimage and mosquitto
Run image ... | 0124513714b897a08d48eed1a5ff3bed5a566bb2 | [
"Markdown",
"Shell"
] | 2 | Shell | mezz64/mqtt-broker-docker-image | d8202c8cccee46a2c7252876c5c350f005012afa | 60073e78b08d9642f754e603b6b99084c1a9a98e |
refs/heads/master | <file_sep>package com.zhsj.pay.bean.result;
import java.util.List;
public class BillData {
private Record record;
private List<GoodDetail> goodDetails;
public Record getRecord() {
return record;
}
public void setRecord(Record record) {
this.record = record;
}
public List<GoodDetail> getGoodDetails() {
... | 22b5860d65bfb1c8ffc7789c0040aa40926a1439 | [
"JavaScript",
"Java"
] | 44 | Java | zhsj01/pay | c0184675b671305885887368ece092a688ddc009 | b6f36871cc8a631fb5bdb9b289b105e4df0992af |
refs/heads/master | <repo_name>hptumovil/HPTUMovil<file_sep>/src/pages/appointments-form/appointments-form.ts
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams, AlertController, ToastController, ModalController } from 'ionic-angular';
import { ContentPage } from '../pages';
import { Camera, CameraOpti... | 7d0a52e8ccc510e5d608791427f7e4041bae1ff0 | [
"Markdown",
"TypeScript"
] | 41 | TypeScript | hptumovil/HPTUMovil | b9cd2f4164c8feb3397e84ea1c5cbbd5d050b751 | 8461eb9083de2ddf52d565eaa8ee26077e9bdee9 |
refs/heads/master | <repo_name>maheshgawade07/DevOps-repo<file_sep>/welcome.py
print("Welcome To Git Training")
print("Testing file modification")
<file_sep>/README.md
# DevOps-repo
| 7726129b702597a345a0961cf7da72f09dc74ac6 | [
"Markdown",
"Python"
] | 2 | Python | maheshgawade07/DevOps-repo | f37913e2058eeae1720a709f610c65a9c886dc87 | fceeb36ac92c1360b17ebe872712d17bb1974d8b |
refs/heads/master | <file_sep>using OAuth2Example.Auth;
using OAuth2Example.DAL.Models;
using OAuth2Example.DataServices;
using OAuth2Example.Utils;
using System;
using System.Web.Http;
namespace OAuth2Example.Controllers
{
public abstract class BaseController<TModel> : ApiController where TModel : BaseModel
{
private re... | 56081b120886e0a8202fb185a7d3942bfa45fbb0 | [
"C#"
] | 37 | C# | bobby-jordan/OAuth2 | cca8ce2ee526d516d8e4ab7d0cb4fdf2ee463c00 | 7dcf86da529f1a08c608b8b083a474bd977f8c4e |
refs/heads/master | <repo_name>DizzyThermal/MacroBot<file_sep>/src/main/java/com/stephendiniz/macrobot/GUI.java
package com.stephendiniz.macrobot;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.Actio... | 25509fbb447a569b2382b93545a19a8f01db2158 | [
"Java"
] | 1 | Java | DizzyThermal/MacroBot | 1de653a061a1d7548751a34335e979e5cfd9ee40 | 323f657195759458d80ab26290ac4f04496181bf |
refs/heads/master | <file_sep># Cityway
A Spring boot application that exposes a rest endpoint to figure out if two cities are connected. The cities are in a text file under resources/fixtures. Syntax to support the text file “origin(comman)destination”. If the origin leads to destination, then destination can also be origin. The mapping ... | 232c2c2f0fca3eead1e59caad72de975a392e78c | [
"Markdown",
"Java",
"Gradle"
] | 7 | Markdown | sheharyar12/cityway | 2078b861ee22a41839f57e2e1000cd6c526db083 | 02bf1d5716c1f557a5a2c34836e8b0d274a7f2f6 |
refs/heads/master | <repo_name>tushar479/Twitter_Tweet_Categorization<file_sep>/TwitterCategorization_App/apps.py
from __future__ import unicode_literals
from django.apps import AppConfig
class TwittercategorizationAppConfig(AppConfig):
name = 'TwitterCategorization_App'
<file_sep>/TwitterCategorization_App/Classes/naivesbayes.py
#... | 28bd2a5daf3bfcb93b32200ffd728253b6d4c9c5 | [
"Python"
] | 5 | Python | tushar479/Twitter_Tweet_Categorization | 98f64cf46bb50eed772c3bb031aedee01a8d1ffe | cec3c42c54c34bc823335c9ea3716c9a8cbf66f1 |
refs/heads/master | <file_sep>-- [[
-- @cond ___LICENSE___
--
-- Copyright (c) 2016-2018 Zefiros Software.
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation ... | 14424e760c7a0c43490dbf8ee9eb0416073f2854 | [
"Lua"
] | 1 | Lua | zefiros-software-legacy/simdpp | 363e34d6ef3cd4bfbf711af8d13dd0fd5f919629 | 5601b5049f5dfc198227ea6e389fb74c23715cf1 |
refs/heads/master | <file_sep>using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices; //To use C Win32 functions
//Source of TouchCalibrate fu... | 2681b73e1ded5752ebdbbdd601dba476c6b0907c | [
"Markdown",
"C#"
] | 2 | C# | Raulonthetest/TouchCalibration | a81bed94ecd8bc5146cb11f2ed7cb681f26c1862 | cdb84031303863cd5f0d3126da1a6da678c3064e |
refs/heads/master | <file_sep>package com.example.doubleoauth;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
import java.util.Set;
@RestController
public class GreatRestcontroller {
@GetMapping("/api/call")
public Map<String, Obje... | 276e7ac0db220ded556e83e7ac704f585f31ab7d | [
"Markdown",
"Java"
] | 4 | Java | jeromewaibel/doubleoauth | cf54b2f0ba3827f022b945dc046a6e05ad6c784d | ed2068c8a14019c379871a090c9e5a338e1f1697 |
refs/heads/master | <repo_name>ryanj-openquire/efs_cache<file_sep>/lib/efs_cache.rb
require 'efs_cache/version'
require 'efs_cache/manager'
require 'efs_cache/file_entry'
require 'yaml'
require 'fileutils'
require 'logger'
require 'securerandom'
module EfsCache
class << self
def configure
raise RuntimeError, 'EfsCache has a... | 4dc21f9a9c715c0d3c5e9bdc86fcff168f0a79bd | [
"Ruby"
] | 3 | Ruby | ryanj-openquire/efs_cache | e92329dcdfad0280c88e1420f140ae784669b6a1 | 0888470018ab2710e90f59ca905ea699bfc80d46 |
refs/heads/master | <file_sep>source 'https://rubygems.org'
ruby '2.2.2'
gem 'jekyll'
gem 'jekyll-assets'
gem 'jekyll-gist'
gem 'capistrano-jekyll', require: false
gem 'capistrano-bundler', require: false
gem 'capistrano-rvm', require: false
| 12d7387283bd8720328ff3c32e13b5cfb61aed55 | [
"Ruby"
] | 1 | Ruby | Matthew-Rafty24/sesharim.github.io | e103efaf07fe9195e6f054f9feb7f71fff6f26c0 | 15a5b2c43b5c6aec36fa164b43ee6f0404f07f13 |
refs/heads/master | <file_sep><?php
namespace Magento\Movie\Model\ResourceModel;
class Movie extends\Magento\Framework\Model\ResourceModel\Db\AbstractDb {
public function _construct() {
$this->_init('magenest_movie','movie_id');
}
}<file_sep>SELECT `main_table`.*,
`director`.`name` AS `director_name`,
group_concat(actor.... | ffcd5f55ec08f036ed2029a43bbdc9e7e7fe2188 | [
"SQL",
"PHP"
] | 5 | PHP | KhangMagenest/m228 | 029e7b1ee3a75843a7d5b339ec8dbe862f87ff5c | b64167b2701a41ef130cb665188b2255573075bb |
refs/heads/master | <file_sep>package ru.itis.inform.store;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import ru.itis.inform.store.dao.ItemsDao;
import ru.itis.inform.store.dao.ItemsDaoCsvBasedImpl;
import ru... | 0ece231751d4ece8b5f00aa853cf0a7eacdb4e51 | [
"Java",
"INI"
] | 3 | Java | flutty351/safina_402_2016 | 1ea1698b97bb1f023e78dd07a6782b2cb937aef5 | 9e426091164e58830101dc7bcb0c386d57f93878 |
refs/heads/main | <repo_name>created-with-love/react-modal-clock-tabs<file_sep>/src/components/Modal/Modal.jsx
import React, { Component } from 'react';
import { createPortal } from 'react-dom';
import './Modal.scss';
// import IconButton from '../../components/IconButton';
// import { ReactComponent as CloseIcon } from '../../icons/clo... | 9e41fa3a0bddc78d84ec727980962ce75f0cc6b3 | [
"JavaScript"
] | 1 | JavaScript | created-with-love/react-modal-clock-tabs | a72802de4f3af949861a90c20b5f2f0108ec3862 | 5eb6812c37f8860cd38b132dbedacebc683ada72 |
refs/heads/main | <repo_name>sansiddh/diab-ret-kaggle<file_sep>/data/datasets/diabretin.py
from os.path import join
import numpy as np
import pandas as pd
import torch
from PIL import Image
from skimage import io
from torch.utils.data import Dataset
# Create dataset class
class DiabRetinopathyDataset(Dataset):
def __init__(self, ... | ac4641c1dc39700945a92e64befd7187ce078a03 | [
"Markdown",
"Python"
] | 5 | Python | sansiddh/diab-ret-kaggle | 40d8f8b6dd5723b01926deccfc187548991d4f7a | cb6ce6e581c80cf30a1e1b1f78f1818b342525a5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.