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>package com.mcs.punch.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.mcs.punch.R;
import com.mcs.punch.bean.DepartSignCount;
import java.util.... | 0ab37fec2c4863c4c02cd39bcf89f90177711132 | [
"Java",
"Gradle"
] | 239 | Java | fengshengxiong/mcs | c4ed98bddc172be75d5b26ac69a1ea95eadac997 | 9f8ad70070d7a4a610c80d5fb191804eb56182b5 |
refs/heads/master | <file_sep>package com.validtor;
import com.bean.Address;
import com.bean.Bank;
import com.bean.PersonalVO;
public interface Validator {
boolean isDataEmpty(String data);
String addressValidator(Address address);
String personalValidator(PersonalVO pb);
String bankValidator(Bank b);
} | d24125a3fcc056c7c0d796d0ed5e358ce57f9a74 | [
"Java"
] | 1 | Java | AnkitaPB/SpringJDBCTemplate | 1c1238027b84638e403b0ac34800c68fc4536ca8 | 910eb56532058d8024e073b1401ce4797534a5d6 |
refs/heads/master | <file_sep># 5a-weapp
基于5a.css样式的微信小程序组件库
https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html?search-key=npm
<file_sep>Component({
properties:{
value: {
type:Number,
value:false
}
}
}); | 288a40d5178e8d3f434d71651bf3ea94fbd7db36 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | any86/5a-weapp | b275888625f3a0813343585933cfeb9953d43a12 | 5d7483081a021be9375170f7e7669bb94f40718a |
refs/heads/master | <file_sep><?php
/*
* This file is part of the WITH package.
*
* (c) <NAME> <<EMAIL>>
* <https://github.com/adhocore>
*
* Licensed under MIT license.
*/
namespace Ahc\With\Test;
use function Ahc\with;
use Ahc\With\With;
use PHPUnit\Framework\TestCase;
/** @coversDefaultClass \Ahc\With\With */
class WithTe... | 4f7eed61b7cefbaf71b5d126e8a4048f7c447aca | [
"Markdown",
"PHP"
] | 4 | PHP | adhocore/with | 8f730c79f5078614f814e40c66d880d9aa502cfa | c9723777e446918dff748ddde16ef9d916d803ca |
refs/heads/master | <file_sep>fsm = {}
local testmsg = ""
fsm.states = {
['MODEL STATE'] = function(dt)
-- this is WHAT HAPPENS when in this state
-- it is also WHAT CAN HAPPEN when in this state
end,
-- here's a couple of sample states
['idle'] = function(dt)
testmsg = "you are in an idle st... | 0823c6a3589ef22473dd1c6c45484e6301e4e14c | [
"Markdown",
"Lua"
] | 2 | Lua | kodlc/fsm | 8bed79ab676389e920a4345388660eaaea8f754e | 5dec8f32da73167b3cfa8e05d9a10e904d745e30 |
refs/heads/master | <file_sep>using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Library
{
public class Node : IAcceptVisitor
{
private int number;
private string nombre;
private int edad;
private List<Node> children = new List<Node>();
publi... | 20061ca4f15c8f0607d8f90fa48c8924217cfb09 | [
"C#"
] | 7 | C# | JuanGambetta/FamilyTree | 526597678333a1139b435b4654a321eae7b57e13 | a513844f81918bb06ab056ade5afe3b317bf43ef |
refs/heads/master | <repo_name>tommygaessler/kamstrafam<file_sep>/functions.php
<?php
/**
* Kamstra Fam functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Kamstra_Fam
*/
if ( ! function_exists( 'kamstrafam_setup' ) ) :
/**
* Sets up theme defaults and registers support ... | 19485c9dcd6093502172c9155fdcb75b8e8a7bbf | [
"JavaScript",
"Markdown",
"PHP"
] | 6 | PHP | tommygaessler/kamstrafam | fbf1e65d0e3b164b3cab4f59cfb4becb1576d4a9 | ca580ec683c464533754ea07e9fb16d727274378 |
refs/heads/master | <file_sep>#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->comboBox->addItems({"Sin(x) + Random Value","Cos(x) + Random Value", "Sin(x)", "Cos(x)"});
ui->comboBox_2->addItems({"Uniform ... | b04b57542f7b8470db3bafc6ff7a4de5d22abf3b | [
"Markdown",
"C++"
] | 12 | C++ | akukhta/Tasks | 535ccc87a3fc8ad76a6181175b5b7bba8ca4de54 | 4624a6aee38ff4ff3c1c8b2b7651b325bfdf9ac7 |
refs/heads/master | <repo_name>agbanusi/Question-Answering-using-BERT<file_sep>/question and answer BERT.py
import pandas as pd
import numpy as np
import zipfile
import os
import wget
import shutil
print(os.listdir("C:/Users/Ademola/Desktop/dataset/json_data/input"))
url= 'https://storage.googleapis.com/bert_models/2018_10_18/u... | 07865eef33481a537f01b1006bb9f3b9e7f17894 | [
"Markdown",
"Python"
] | 2 | Python | agbanusi/Question-Answering-using-BERT | 3a39998588c9cb04abc21c4e881f330c52fd47a2 | 943183b4dc341e66ead2d679acf21afc3105ad55 |
refs/heads/master | <repo_name>kikkia/mucky-stuff<file_sep>/Modtest1/Class1.cs
using System;
using System.Collections.Generic;
using System.IO;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using UnityEngine;
using UnityEngine.Profiling.Experimental;
namespace MuckModTest {
[BepInPlugin("me.kikkia.test", "testMod", "1.0.0"... | 7bf6524ad77de53a805abe7cef2a02d75d96ba09 | [
"C#"
] | 2 | C# | kikkia/mucky-stuff | aa0b71d0a52fa5558b72921ba17258e35b28e9e6 | aee095765a5e41fc50f5009159bbc54327f98929 |
refs/heads/master | <repo_name>Happylife56/canteen-admin<file_sep>/src/filters/index.js
//金额类型
export const moneyType = val => {
if (val) {
return '¥' + val;
} else {
return '¥' + 0;
}
};
//数据类型
export const dataType = val => {
if (val) {
return val;
} else {
return 0;
}
};
<file_sep>/src/store/modules/placing... | 0e0fdf8b3bb7ee7c68a8a89a93b2553c437ffff2 | [
"JavaScript"
] | 7 | JavaScript | Happylife56/canteen-admin | cbd8b38ae3e38fb4b36f081b835f68ba6a3befe8 | ed18d92164cbf0c205b567ed5643d9c953647bb1 |
refs/heads/master | <repo_name>akhilchandran/concurrent<file_sep>/c/reader_writer.c
#include<pthread.h>
#include<unistd.h>
#include<semaphore.h>
#include<stdio.h>
#include<time.h>
#define sem_signal(sem) sem_post(sem)
pthread_mutex_t roomempty, noreader, writers;
int BUFF = 0,numreader = 0;
void lockwriter()
{
pthread_mutex_lock(&norea... | e01ae6bccd35877d4cb20e9af8a052a3623aa35f | [
"C"
] | 2 | C | akhilchandran/concurrent | 24810c8f9f747f2b9001a390695c7c1958732809 | 2bccf1551dbe040d9b1d2df28c2f10d552019bcd |
refs/heads/master | <file_sep># Random point problem
The goal of this problem is to generate a random point inside a given polygon. You should modify the ```generate_random_point``` inside randompoint file to make it return a point in tuple format ```(x,y)```.
This functions recieves a polygon as an input.
The polygon is a sorted list o... | 10eb56db0a6a1acfdf9a704443af973ba676dea6 | [
"Markdown",
"Python"
] | 4 | Markdown | OoXoSoO/porygon | e78f1c8ee9c04532ceede67cf0d85be84abd6f5f | 116de728adff42a86b67f6bebd29fc45715bc33c |
refs/heads/master | <file_sep><div align="center">
<h1>Python Text Parser</h1>
</div>
> A python program that can read-in data from a specified txt file.
> Developed by <NAME>, under Apache-2.0 Licence.
## Libraries
- Regex
- OS
## How to Use
Download the project and run in any python console to read print the parsed contents of Fil... | 852e1e97d8ede5dfecbf24b6d42c790d1058bf36 | [
"Markdown",
"Python"
] | 2 | Markdown | chculton/PythonTextParser | 7023115f1efdeb45a8a6a45c5d2649350100ee98 | d34ea20b8f93f5e67cb779aa1e63898b5350f556 |
refs/heads/master | <repo_name>LudovicLemaire/42-DSLR<file_sep>/describe_object.py
import pandas as pd
import numpy as np
import utils
import json
import sys
import math
def describe(dico_objects):
ordered_describe = ['count', 'unique', 'top', 'freq']
dico_size_chars = {}
for label in dico_objects:
dico_size_chars[label] = len(labe... | 9003ea71b89b4e76939889c2177c03abfcbf14d4 | [
"Markdown",
"Python"
] | 12 | Python | LudovicLemaire/42-DSLR | 87a3596c8d32ca2d21b579e6294fb093210c2f11 | f9c4e11b6e4499d63684f06d4193a601c5bb5bf6 |
refs/heads/master | <repo_name>Pratikshitt/PlayerManagement<file_sep>/dbmsapp/migrations/0012_auto_20200523_1142.py
# Generated by Django 2.2.2 on 2020-05-23 06:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dbmsapp', '0011_player'),
]
operations = [
m... | d9ccb48232e06aeba5fe1bcd45ce2d7856498b64 | [
"Python"
] | 16 | Python | Pratikshitt/PlayerManagement | d40a64c44bf620ccdedac7cbb4f9283fab92a740 | 8cd441008425846fb863925e36d69c2a8f978009 |
refs/heads/master | <file_sep># Converting Transcriptomics JSON data to BioSamples JSON schema for API submission
# @fuqi 2019-09-13
# When converting transcriptomics data to BSD format, it can be devided into 3 parts
# Part1: attributes exist both in BSD and trans, might under different names
# Part2: Additional trans metadata, all belo... | c95db5499e54e894f2c2e52e7e6cfb81ec93e34e | [
"Markdown",
"Python",
"R"
] | 10 | Python | ebi-ait/FAIRPlus | 65ffb7cb8cf83ed4fec5312c947fda07631cf6a0 | 9f6288695e3eaaa37e8643f56da6afc5e17a9611 |
refs/heads/master | <repo_name>chernpuikei/IonaServer<file_sep>/src/Log.java
import java.util.ArrayList;
/**
* Created on 2018/1/5.
*/
class Log {
static void array(String header,String[] array,int cpg) {
int groupCount = array.length/cpg;
String finalPrint = "+"+header+"+\n";
for (int i = 0;i<groupCount;i+... | d4ffa88860d58f45b8d8994ef53a50b499e31e02 | [
"Java"
] | 3 | Java | chernpuikei/IonaServer | 7a771d47ff45a1a2716ec4a782b1dba50c076161 | 8e9e11158028b8f59240bd721ca03a05dac201a7 |
refs/heads/master | <file_sep>declare function whoisParser(whoisData: string): any;
export = whoisParser;
<file_sep>import camelCase = require('camel-case');
function whoisParser(whoisData: string): any {
const lines = whoisData.split('\n');
return lines.reduce((val, line) => {
const index = line.indexOf(':');
if ... | 9553b9737ab93b5cc1d936f4ef09917c84d0d408 | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | zhangweijie-cn/whois-lookup-parser | abf7d464fed62f2221977ea17dd7dc2f289c8cd0 | a797f9641f3892f61e86c9976c4ba8c3383bd3ad |
refs/heads/master | <file_sep>--Создание таблицы с категориями
CREATE TABLE Category
(
id INT PRIMARY KEY,
name VARCHAR(255) NOT NULL
);
--Создание таблицы с продуктами
CREATE TABLE Products
(
id int PRIMARY KEY,
name VARCHAR(255) NOT NULL,
id_category int FOREIGN KEY (id_category) REFERENCES Category(id)
);
--Запрос на в... | e8ae2edd240ba670862cff74211e24655b09752f | [
"Markdown",
"SQL",
"C#"
] | 4 | SQL | ChRP19/ShapeAreaLibrary | de0884b549e9950eee51cabee8fc4e6d873f34f8 | 9250eecd8442fe637d45c57d6514ce373e2412ae |
refs/heads/master | <repo_name>cmorgia/oracle12c-vagrant<file_sep>/Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define 'ansible-vm', primary: true do |c... | 754910e45925deda96943b695aab910b9992bc53 | [
"Ruby",
"Shell"
] | 2 | Ruby | cmorgia/oracle12c-vagrant | bd9862c761730d140f4f49274e92c49bd93b0b53 | 4e6150e3ed8def6cee8f4163d63bcc5ce26cc748 |
refs/heads/master | <repo_name>T882200/wp_course_site_bkp<file_sep>/upgrade.sh
sudo apt-get install python-software-properties -y
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update -y
sudo apt-get install php7.2 php-pear php7.2-curl php7.2-dev php7.2-gd php7.2-mbstring php7.2-zip php7.2-mysql php7.2-xml
sudo apt-get install lib... | a57d87f4d00567ae80837b6cd210b475803fdc97 | [
"Shell"
] | 1 | Shell | T882200/wp_course_site_bkp | f5cbc936f0d8c1c4e11afcffd62a2144987d0a7f | adcbfdac98df6421e6c5f782656dd7b02bacab94 |
refs/heads/master | <repo_name>dpatru/canvasplay<file_sep>/canvasplay.js
var canvas, ctx, width, height;
function setCanvasProperties() {
canvas = document.getElementById("canvas");
ctx = canvas.getContext("2d");
// I'm not sure why the following should be set,
// but without the following 2 lines this code
// does not w... | 0624d5def1b1cf6ce1800d867242aa26cc19c56f | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | dpatru/canvasplay | 478cdc17bfd710fd901328082466cdc7cbe7847e | a11c2c81c5912373b1a5860d6903d280c27a2d5f |
refs/heads/master | <repo_name>tczaude/mva-overlay<file_sep>/Documentation/scripts/nginx_bump.sh
#cd www-servers/nginx
awk \
'/^# .*https:\/\/github.com/{print gensub(/.*(https:\/\/.*\/tags).*/,"\\1","",$0)}' \
nginx-1.9.3.ebuild | while read taglink; do
curl -s ${taglink} | awk \
'/href=.*archive.*.tar.gz/{print "https://github.com" g... | 20d6df95cb1ef9710ec4cd38e4060e3d101fa695 | [
"Shell"
] | 1 | Shell | tczaude/mva-overlay | 8f7078ac0b2f1b76cf57900ca09569bf4eb426df | 0cbc03b18d933d62c2818bbaf763cd08f23b1081 |
refs/heads/master | <file_sep>
interface MyName {
String computeName(String str);
}
interface NumericTest {
boolean computeTest(int n);
}
class Lambda {
public static void main(String args[]) {
NumericTest isEven = (n) -> (n % 2) == 0;
NumericTest isNegative = (n) -> (n < 0);
System.out.println(isEve... | 9da6dc3fea0f9aeda34ef4699413bdd95a8bdc10 | [
"Java"
] | 1 | Java | rajendrauppal/knot-java | 1594f3afad81acdda08f153f5d82ec6b851ec307 | 8494f441fe7cf7d5f7c08c58c8e35e1040a30a15 |
refs/heads/master | <repo_name>Cloudxtreme/cromwell<file_sep>/Rakefile
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "cromwell"
gem.summary = %Q{Lord Protector of your scripts}
gem.description = %Q{A very simple wrapper over Signal#trap method that allows you to easily pr... | 33251a12c7ffc9554029953db7a66ae8e728158d | [
"RDoc",
"Ruby"
] | 11 | Ruby | Cloudxtreme/cromwell | b4fea0623abab02909532e278e18206de8ecdb73 | 9a77f4a9989f580fb9b359f9f0510e6fe5a7231f |
refs/heads/master | <repo_name>kv2000in/TempMonitor<file_sep>/README.md
# TempMonitor
# Extract sensor data from ipwebcam json and plot it using plotly
<file_sep>/TempMonitor.py
#!/usr/bin/python
#Copyright <EMAIL>
#ipwebcam sensor data to CSV file
#Usage : python TempMonitor.py http://192.168.1.126:8080/ ambient_temp
# Will save ambient... | 23e88639990f86ac741534d2be7c175c93c2a0d2 | [
"Markdown",
"Python"
] | 3 | Markdown | kv2000in/TempMonitor | c722bacc964a03ee08ac9c291e0a568f330da8b6 | fa00139aa4c5bc1da3451250c1e2dbc58e2ff12a |
refs/heads/master | <repo_name>matsta25/PlaszczakTeodor2dOOP<file_sep>/plaszczak.h
#ifndef PLASZCZAK_H_INCLUDED
#define PLASZCZAK_H_INCLUDED
#include <iostream>
using namespace std;
class Plaszczak{
char wyglad;
string imie;
int posX;
int posY;
public:
Plaszczak(char='?', string = "brak", int = 1, int =... | 7977165d1d3a6ae3b64708797de01ca4a91528ad | [
"Markdown",
"C++"
] | 6 | C++ | matsta25/PlaszczakTeodor2dOOP | 0c2454b9996338b4e8a239bb61f6d7309e7e4ce4 | ef6bdc1008e40dc42c5d9c0d8d1daa3eb6cd9029 |
refs/heads/master | <file_sep>using System;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Res.Scripts.UserInterface
{
public class UiManager : MonoBehaviour
{
public KeyCode key = KeyCode.LeftControl;
public void ChangeState()
{
foreach (Transform child in transform)
... | b73855db7f4a6afdf513208e55b44ce77ec92020 | [
"JavaScript",
"C#",
"Markdown"
] | 19 | C# | Ambrelux/PFE | df0976b4ec3d66d00f5adf453454c29d94e685d2 | fb86044ae7aaf352ac9ce235d53dc42496a08be6 |
refs/heads/master | <repo_name>paridhi-saxena/Embedded-Projects<file_sep>/Labs/Lab1/Code/nbproject/Makefile-variables.mk
#
# Generated - do not edit!
#
# NOCDDL
#
CND_BASEDIR=`pwd`
# default configuration
CND_ARTIFACT_DIR_default=dist/default/production
CND_ARTIFACT_NAME_default=Prog1.X.production.hex
CND_ARTIFACT_PATH_default=dist/defaul... | 6d9e263b043bef0e83b53c229cd3336001435912 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 11 | Makefile | paridhi-saxena/Embedded-Projects | 6e1ee39f4dd9e953d9b556ea7fc963c9acd36eb6 | e1b238e349a7ec863daa19cf7fc23f7071ee5758 |
refs/heads/master | <file_sep>jeux: main.o
gcc main.o -lSDL -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_gfx -o jeux
main.o:main.c
gcc -c main.c
<file_sep>#include <stdio.h>
#include <stdlib.h>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <SDL/SDL_mixer.h>
#include <SDL/SDL_ttf.h>
#include <SDL/SDL_rotozoom.h>
int main()
{
int q... | 197809e82f74e0794167a75c085fc767745e463d | [
"C",
"Makefile"
] | 2 | Makefile | youssefselmi/zoom | 882dcc905fbf1b564de06962486dc9a18db07072 | 9cb3de602dec4c7ad5f9b6a8fc73c293414e6155 |
refs/heads/main | <repo_name>Ands97/Calculator-React<file_sep>/src/App.js
import './App.css';
import { StateProvider } from './contexts/stateContext'
import Calculator from './components/Calculator';
import History from './components/History';
const App = () => {
return (
<StateProvider >
<div className... | c81dd2f55d3bd73b2a99379fe7879e11a6a6adee | [
"JavaScript"
] | 2 | JavaScript | Ands97/Calculator-React | 9c90beda59f6e363b4a011bc8e494981d771416d | eac963fe05dc5cfbf599ffc2d0b6b505c6953d9c |
refs/heads/master | <repo_name>sanya-saxena/BikeShareDataAnalysis<file_sep>/bikeshare_2.py
import time
import pandas as pd
import numpy as np
CITY_DATA = { 'chicago': 'chicago.csv',
'new york city': 'new_york_city.csv',
'washington': 'washington.csv' }
def get_filters():
"""Gets inputs from user till valid... | bf8f0069749fa1d07d7e5e9c6280fc76a2c318ad | [
"Python",
"Text"
] | 2 | Python | sanya-saxena/BikeShareDataAnalysis | cca31326b6bf94814cd8d6126241285ee57a002e | 882ad2ee8d4133dc585178f8acb67c4bab743281 |
refs/heads/master | <file_sep>USE TP3_VETERINARIA
CREATE TABLE dbo.GHA_Lugar
(
CodigoLugar BIGINT IDENTITY(1,1) NOT NULL,
DescripcionLugar VARCHAR(100) NOT NULL
)
ALTER TABLE dbo.GHA_Lugar ADD CONSTRAINT PK_GHA_Lugar PRIMARY KEY (CodigoLugar)
CREATE TABLE dbo.GHA_Lugar_Estado
(
CodigoLugarEstado BIGINT IDENTITY(1,1) NOT NULL,
CodigoLu... | 4e8c50d352fe798971836f28f80c769c15aab4f2 | [
"Markdown",
"SQL"
] | 5 | SQL | D4rksung/upc_tp3-bd | 2b44dce3d7fdb243eb65ccaea0e020b0db09ea85 | 158fe67f1a2ac8bc8276cf08e6a6a0cdecc0c320 |
refs/heads/master | <file_sep>//
// DeckOfCards.h
// Everything
//
// Created by <NAME> on 6/18/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#ifndef __Everything__DeckOfCards__
#define __Everything__DeckOfCards__
#include <stdio.h>
#endif /* defined(__Everything__DeckOfCards__) */
<file_sep>//
// concepts.h
// Everyt... | 50ddaf3af807b3844bd4fb1b056450d71fadb3de | [
"C",
"C++"
] | 12 | C | zhaoshin/everything | e1123498be313817fcd26ba381628e56bd117b2c | 50faf56a1c1ec5df947afdb6a255de1152273dea |
refs/heads/master | <file_sep>export KTL_LAST_NS="${KTL_LAST_NS:-kube-system}"
if (which k3s &>/dev/null); then
kubectl="k3s kubectl"
alias crictl='k3s crictl'
else
kubectl="kubectl"
fi
ktl () {
local ns=${KTL_LAST_NS}
local args=("$@")
local i=0; local k=0
for arg in "${args[@]}"; do
if [[ "${arg}"... | ace6a0a88d5b522af49032a6ce71de002b77eae8 | [
"Markdown",
"Shell"
] | 7 | Shell | kantravikumar/ansible-k3s | 2f37eb4ffc9c91163c75c468ddf7bd1255147cc2 | d65493f155fcd2fc48d1d37770bd654832b2a5a0 |
refs/heads/master | <repo_name>EXPEXE/BloomCountingFilter<file_sep>/FilterTest/BloomFilter.h
#pragma once
#include <bitset>
#include "FilterInterface.h"
class BloomFilter : public FilterInterface
{
public:
BloomFilter();
virtual void AddText(string Text) override;
virtual void SubText(string Text) override;
virtual string GetFilter(... | fe6a5c4c8fc826d8795ed883db5b42cf797c8170 | [
"C++"
] | 7 | C++ | EXPEXE/BloomCountingFilter | 2ea6242cb4affff7441458b86f9819746a5e703d | b36606e0215e9cf8198549d1d2153bb72253b72c |
refs/heads/master | <repo_name>leililei/X5_official_novel<file_sep>/x5.php
<?php
set_time_limit(0);
$catalog=json_decode(file_get_contents('http://x5.qq.com/novel/update/catalog.json'),true);
for($i=0;$i<count($catalog['novelList']);$i++){
$json=json_decode(file_get_contents('http://x5.qq.com/novel/update/chapter' . $i . '.json'),tru... | 38c6574f05a15593972df6544bad76774ebfca34 | [
"Markdown",
"PHP"
] | 2 | PHP | leililei/X5_official_novel | 5b58f3e6731ecd86f9ca917f4ad1c58b06de01f6 | 3527258a83e68170b0ef4cec66de4671f55fc80d |
refs/heads/master | <file_sep><?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Recipe extends Model
{
// On utilise une factory du nom de RecipeFactory
use HasFactory;
// Précision du nom de table de la base données
protected $table = 'recip... | b56d3ec7f54b56d947ce69920cb3c2adf0b9846b | [
"Markdown",
"PHP"
] | 9 | PHP | iineshinju/TP2_Recettes | 35ae23f508eec23069489c19a168fce4fbd7daaf | dee9299c2ae3ffe480a3701baf9292f4e076311a |
refs/heads/master | <repo_name>wesleymbuakoto/Java-Data-Structures-and-Algorithms<file_sep>/README.md
# Java-Data-Structures-and-Algorithms
These are some implementations that I have done in data structures and algorithms course
Sort is an implementation of insertion sort and merge sort
Sort2 is an implementation of Heap sort, Qucik So... | fe9ab607ffdb6e2890f0c23194cdebecd35268cd | [
"Markdown",
"Java"
] | 2 | Markdown | wesleymbuakoto/Java-Data-Structures-and-Algorithms | 7e40ebd37d5f5e5be46a10c65265f83374e7fcd0 | 3f307104c73beef1d37f7f40ebaaec1ae660f7b5 |
refs/heads/master | <file_sep>import React from 'react';
const Li = props => {
return (
<tr
data-toggle='tooltip'
data-placement='top'
title='Click to Update Status'
onClick={() => {
props.handler(props.data);
}}
>
<td>{props.sn + 1}</td>
<td>{props.data.tIssue}</td>
<td>{... | d285b17b2f8848208e2051602cce34ffb48281af | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | krishna7860/Masai-sprint-4 | 71c5d2739992cde9d6f731ac77e71c8874fc2687 | a4c0eb7265edee7b4523b90dc7c63f90364ba970 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace PPE2
{
public partial class FenAjoutClient : Form
{
public FenAjoutC... | 555b078d3a6002051409480b06988bb9bcfa52b4 | [
"C#"
] | 5 | C# | FloDev91/PP3-Pignade | b430c8575d6af209988677c7650d0429bd10baf9 | 21ae6d7f5371dc6c058f0d96dc35f791eb8a7cb0 |
refs/heads/master | <file_sep>namespace SocksProxy
{
/// <summary>
/// Specifies the type of proxy servers that an instance of the ProxySocket class can use.
/// </summary>
public enum ProxyType
{
/// <summary>No proxy server; the ProxySocket object behaves exactly like an ordinary Socket object.</summary>
... | 97f57fe09146668013ab1ad021ea4d931052195a | [
"C#"
] | 4 | C# | DmitriyV/SocksSupport | d6e64f3ead675c3c9bbe255d54b0c7c892e9df5e | 2630c7262e6af246b3c04c209f7f1b2ba4b6cef5 |
refs/heads/master | <file_sep>/*
* lectura json a api tar.mx
*/
$(function() {
$(".resultado").html(':-)'); //ready
});
/* función que lee del api */
var leer = function(tipo) {
var numero=0;
if(tipo == 'dv') {
numero = Math.floor((Math.random() * 1000000) + 1);
$(".resultado").prepend('Consultando DV de '+numero+'\n'... | 31fad886a1674d52c9b12951556c8d2361f8ed4f | [
"JavaScript",
"PHP",
"Markdown"
] | 3 | JavaScript | cuatl/apiExample | 10f46502fe8ffc83563357cac9f769883e788a97 | 0841aea2a2db6763efdc1bfd994f71a7ac55da08 |
refs/heads/master | <repo_name>SunnyIzr/rb-theme<file_sep>/scripts/cart.js
var CartEvents = {
init: function(){
this.QtyBtns()
this.addQtyBtns()
this.minusQtyBtns()
// this.getToken()
// this.commentSubmissionBtn();
// this.sizingSubmissionBtn()
},
QtyBtns: function(){
$('.upDownButton').click(function(e)... | ad7944252109ab63f96be37fbdf5489047b685d9 | [
"JavaScript"
] | 1 | JavaScript | SunnyIzr/rb-theme | 11be5bf8df9acd81aca2b9b4ff7c87e71825a7e1 | 2599d34792b1a13fdac1f27773ecb7095ba66cce |
refs/heads/master | <file_sep>#' ---
#' title : "DS Capstone Quiz 1"
#' author : B.F.C
#' date created : "18/2/2013"
#' date modified : "23/2/2013"
#' History :
#' "23/2/2013" : try to read one line at a time
#' ---
# get the data : data dir
datadir <- "projdata/final/en_US"
# open en_US.twitter.txt
# fname <- "en_US.twitter.txt"
... | 9456942f1810d1dfe963a1527d060289e61294b9 | [
"Markdown",
"R"
] | 8 | R | Brufico/DScapstone | 03e847ae5570bfe136d4815abc215d28fd24b4c7 | 84cdda66cd6642b632ab04af4686b915997dcd44 |
refs/heads/master | <repo_name>swgilani/Database_GUI<file_sep>/export.sql
--------------------------------------------------------
-- File created - Thursday-November-28-2019
--------------------------------------------------------
--------------------------------------------------------
-- DDL for Table BRANDS
----------------------... | ee60d3b71bafce1538f487b1f82d216e491b0347 | [
"SQL"
] | 1 | SQL | swgilani/Database_GUI | 03a3164e763ead3a25919b33907dd0e681cd8ae6 | 8cda2f2a636dca7ac3350d1e3bed0bff9020c356 |
refs/heads/master | <file_sep>var winnerText = " ";
var pizzaHut = " ";
var dominos = " ";
var hit = false;
function setup() {
createCanvas(1275,600);
}
function draw() {
background(235,255,255);
var makeBoxes = function(statePositions){
for (var i = 0; i < statePositions.length; i++){
strokeWeight(1);
fill(300);
rec... | 1600e0581066abcaed1ec091df15e1766ef57365 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jillbook/Final | 51695250959b6180f96277c6efcab0df9fecfd08 | 2f95c6a1b5a44acb97b76cca2538dd03e241bc13 |
refs/heads/master | <file_sep>/******************************
Team Name:<NAME>
Date: 9-25-2019
File Name spc12-16.cpp
Description:
Your group project is on page 717, assignment number 16 - Customer Accounts.
You will use the starter template that I have provided below to design and write this project.
You should each ta... | 193dba607226b235884e5747cc8e06c5ba2be5a9 | [
"C++"
] | 1 | C++ | corneliaprim/COSC1437-TERMINATORS | 148430938e7f0f3fcd83cec33db50d7ef03d2281 | f4f421bb8fb3d83dfa1c07b5fec953b63cc0c195 |
refs/heads/master | <file_sep>import React from 'react'
import ReactDOM from 'react-dom';
import TopNavBar from './components/TopNavBar'
import SideBarMenu from './components/SideBarMenu'
import DashBoard from './components/Dashboard';
export const VIEW_DEFAULT = 1
export const VIEW_STATITICS_BYYEAR = 2
export const VIEW_STATITICS_BYM... | 0db2d1ce8b8e69c1cc4975e491655b14c3f7047e | [
"JavaScript",
"Java",
"INI"
] | 11 | JavaScript | javiercruzado/spring | 9be6774664d837ab7819f4436986648f62bdaa97 | 291e95794c05e1c41d4659ec8083df59fce7aefd |
refs/heads/master | <file_sep>all :
g++ -o add-nbo add-nbo.cpp
./add-nbo thousand.bin five-hundred.bin
<file_sep>#include <stdio.h>
#include <netinet/in.h>
#include <stdint.h>
int main(int argc, char *argv[]){
FILE *fp = fopen(argv[1],"r");
FILE *fp2 = fopen(argv[2],"r");
uint32_t x, n, m;
fread(&n, sizeof(n), 1, fp);
fread(&m, ... | e8c9f4c9fde6b3fdb69c1363cd7d741f4d933cbe | [
"Makefile",
"C++"
] | 2 | Makefile | doom9757/add-nbo | 826b960cc13e16c00157d882b0884beaf9648113 | 2c435c34f13a2d547dea33dcb4b434d71029fc9d |
refs/heads/master | <repo_name>deleonio/esbuild-loader<file_sep>/src/interfaces.ts
import webpack = require('webpack');
import {Service, TransformOptions} from 'esbuild';
import {Except} from 'type-fest';
export type Compiler = webpack.Compiler & {
$esbuildService?: Service;
};
export type LoaderOptions = Except<TransformOptions, 'sour... | 4827b223dd88bba9deb25af602ca80e21eec23e3 | [
"TypeScript"
] | 1 | TypeScript | deleonio/esbuild-loader | c3f732db7439d3248ef3ef9b24ea7f0fcf9269e0 | 2cdf05249e4966c9f6cb4ec478adb795483a88d8 |
refs/heads/master | <file_sep>
#ifndef AK2_BASE64
#define AK2_BASE64
extern int base64_encode(char* in, char *out, int len);
extern int base64_decode(char* in, char* out, int len);
#endif<file_sep>#include <stdio.h>
#include <mqueue.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#inc... | 7876cc7175a68b283aec7297331badb33ca20d6c | [
"C",
"CMake",
"C++"
] | 14 | C | JakubSokolowski/ASM-Crypto | 7352c8a3e83cf7c89c2678db293178ef15c76c54 | 1cb865e7bf5febda0ed06c516804eca31cd92051 |
refs/heads/main | <file_sep>package main
import (
"bufio"
"fmt"
"log"
"os"
"strconv"
"strings"
)
func loadDataFromFile(name string) []string {
file, err := os.Open(name)
if err != nil {
log.Fatalln(err)
}
defer file.Close()
scanner := bufio.NewScanner(file)
scanner.Split(bufio.S... | 0c160c51de229aabf83c8aee259cbef5fb87fcd0 | [
"Markdown",
"Go"
] | 9 | Go | birenderjit/Aoc2020 | 1573ef31b9ed259241f8aa87d8a5bf44fd1bff81 | 6cff0bde62d638fb36b6b2075c9f62081dbfd14d |
refs/heads/master | <repo_name>emreerhan/STAT545_participation<file_sep>/cm105/powers/R/pow.R
#' Apply a generic power
#'
#' Meant for internal use only.
#'
#' @param x Vector to apply power to.
#' @param p Exponent
#' @return The vector x raised to the power of p
pow = function(x, p) x^p
<file_sep>/cm105/powers.Rcheck/00_pkg_src/powers/R... | 56740507868fdf5012c59360cd4259080fcd8e94 | [
"Markdown",
"R",
"RMarkdown"
] | 21 | R | emreerhan/STAT545_participation | 55051a01b0fc0cc7609cd9d74a12b1a27a26ea3f | 0346541ab7d0fd59c00132dd6645f389ca8c3eab |
refs/heads/main | <repo_name>TaylorHardaway/js-intro<file_sep>/main.js
console.log("hello I am a main.js file")
| 5cbff493435e27d4b59048d5950289c8037dd06e | [
"JavaScript"
] | 1 | JavaScript | TaylorHardaway/js-intro | 4f5e540a7375e933e96bfc64e050aabce3b88374 | e007da9af965bec32af5c142813c2eee7d700e25 |
refs/heads/master | <repo_name>UkiOnna/AspNet-ProductShop<file_sep>/Asp-FirstLesson/Attributes/Adult.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;
using System.Web.Mvc;
namespace Asp_FirstLesson.Attributes
{
public class Adult : AuthorizeAttribute
{
... | 9ef85eff436c710260b3607987f8723ad1fa588a | [
"C#"
] | 17 | C# | UkiOnna/AspNet-ProductShop | ac785ef6c769b0a0839955577c022958ca8dbf07 | a91928476f97bbc8682f87e72a06cc58aa7a0c89 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- mode: python; coding: utf-8-unix -*-
# http://cp1.nintendo.co.jp/moon
import re
class Bars:
def __init__(self, init_str):
self.data = list(init_str)
return
def __len__(self):
return len(self.data)
def __setitem__(self, index, item):
... | 82fb86448dfbb2bfb43a429724ce78a16cbc3cc6 | [
"Markdown",
"Python"
] | 7 | Python | ser1zw/CodePuzzle | afa582487c594ff12590cefbcf8252cee1326a34 | ba995d16e2d3fa0d54d090d3badde3b89ed8ffd3 |
refs/heads/master | <file_sep>package works.langley.suzakinishi.service;
/**
* オーディオフォーカスイベントを簡素化するためのインターフェイス。
* Android 2.2(API Level 8)以上で有効。
*/
public interface MusicFocusable {
/**
* オーディオフォーカスを取得した際に呼び出される。
*/
void onGainedAudioFocus();
/**
* オーディオフォーカスを失った際に呼び出される。
*
* @param canDuck docked... | 654d461f45fa4e726c028b4f0e175f80998a0413 | [
"Java",
"Gradle"
] | 10 | Java | yysk/suzakinishi | 28fc5be41a9001fdff9fd9e43e6135e06912eb55 | efacc9d9565f64952b22e4383569881b29fc05ef |
refs/heads/main | <repo_name>lathne/studio-ghibli-quebrando-paradigmas<file_sep>/src/locations.js
import { newFilter } from './data.js'
import data from './data/ghibli/ghibli.js'
const films = data.films
const scenery = document.getElementById('scenery-images')
const printLocations = (locationsList, film) => {
let locationImages... | 2948071a6bf21c1b97e33da7210c18f5c7bcbf43 | [
"JavaScript"
] | 1 | JavaScript | lathne/studio-ghibli-quebrando-paradigmas | 02873820b09cdd4e69c04b9e4df2e593fa5c5c75 | 2d2855fb16635205f6958dcac660ee265cbda14f |
refs/heads/main | <repo_name>shubhamd99/react-native-movie-search<file_sep>/src/store/configureStore.js
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import { persistStore, persistCombineReducers } from 'redux-persist'
import AsyncStorage from '@react-native-community/async-storage';
im... | 6792d0ff086a488b74ad20e8396001fccb92743a | [
"JavaScript",
"Markdown"
] | 15 | JavaScript | shubhamd99/react-native-movie-search | fd46b2dd8ca80987c50911ce40014c9cb89e0589 | a8da88ae37a937e7241f93a38c2644a0dac27ef3 |
refs/heads/master | <repo_name>saurabh3949/CarND-Behavioral-Cloning<file_sep>/README.md
# Behavioral Cloning Project
In this project, I trained a Convolutional Neural Network which learns to predict steering angles for autonomous driving.
The goals of this are the following:
* Use the Udacity Car driving simulator to collect data of good... | c19b7b6a0fa21797447df109d4db4394d3da6ea3 | [
"Markdown",
"Python"
] | 3 | Markdown | saurabh3949/CarND-Behavioral-Cloning | f6fa556e16c17eae9431d756d64575764f3bddad | 775ca0176a48f492d7d6cde3e1506b9907b09c83 |
refs/heads/master | <file_sep>package com.beingteach.materialloginsignup;
import android.os.Build;
import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import me.everything.android.ui.overscroll.Ov... | 66047e4b8b903d41a2681f9d190060a09fa513e6 | [
"Markdown",
"Java"
] | 2 | Java | vermat516/Material-Flat-Login-Signup | b16a3eced56f68ebe32e91822d8e08df8b4e1568 | 6ec4927e1e44a1ef8c6bf52cea9dac96ebcc9a62 |
refs/heads/master | <repo_name>ivan-khr85/heropa-test<file_sep>/client/src/pages/CourseDetails/fixtures.js
import React from 'react';
export const courseDetailsTabsConfig = [
{
name: 'Content',
key: '1',
component: (<h3>Content tab content</h3>),
},
{
name: 'VMs',
key: '2',
component: (<h3>VMs tab content</h... | ffd0de75e81b67bb234ed814ee430a27bfe0f9bc | [
"JavaScript",
"Shell"
] | 34 | JavaScript | ivan-khr85/heropa-test | c11db45f2673cf08f8aaa9daea645ea93a2c7d34 | c90479fa39fd8744a16ddc4e31c17d415c1e4de7 |
refs/heads/master | <file_sep>#!/usr/bin/env python2
__version__ = '0.2.1'
| 9bc771c9d2ddab10d7410698d25a59cb869d2e56 | [
"Python"
] | 1 | Python | luke-oneill/bayesian_changepoint_detection | cc9f52e381c65eb88661642094c8b998fa2a2c4f | ab593ec11dcdff2be3bdfdb254a03810584b88ba |
refs/heads/master | <repo_name>MAOEROVO/maoernav<file_sep>/maoernav.js
$(function(){
$('.maoernav1').addClass('fa fa-navicon ')
$('.maoernav1').click(function(){
$('#maoernav').children('li:eq(1)').toggleClass("rot_20 has");
$('#maoernav').children('li:eq(2)').toggleClass("rot_40 has");
$('#maoernav').children('li:eq(3)').to... | e8049ce9dd1dc67e93944536c59f4fc890a9e9cc | [
"JavaScript"
] | 1 | JavaScript | MAOEROVO/maoernav | 5c1cf70452deff3021fc7bae54a35327e0fd9e4d | f84a74318de7802c21df52b25a4957e0ddfc3c0d |
refs/heads/main | <repo_name>Itided/Uchat<file_sep>/Server/libmx/src/mx_get_substr_index.c
#include "../inc/libmx.h"
int mx_get_substr_index(const char *str, const char *sub) {
if (str == NULL || sub == NULL)
return -2;
char *substr = mx_strstr(str, sub);
if (substr == NULL)
return -1;
retu... | 0e56e9b5abd1dff496ea6c86764c25d2a88cf231 | [
"Markdown",
"C",
"Makefile"
] | 118 | C | Itided/Uchat | f3e53dca53041027a883fb9af0a83fc8d35b8ba1 | 8dff409901c8b0bafbab8d61b4cc7fa6549fb349 |
refs/heads/main | <repo_name>actuarial-tools/dash-starter-kit<file_sep>/index.py
from app import app
import dash_html_components as html
import dash_bootstrap_components as dbc
import router
from view import header_bar_view
layout = html.Div([
header_bar_view.layout,
router.layout,
])
app.layout = html.Div(layout)
if __name__... | dd724ca24734c549cd7264b52189de8d9cb094dc | [
"Markdown",
"Python"
] | 10 | Python | actuarial-tools/dash-starter-kit | b5497c61af41cc22dd784a0428218442b9db979b | edb64fd3d4c4fe347fed45b33e52e0aac915dfeb |
refs/heads/main | <repo_name>gbessiaka/js_omelette_miniprojet<file_sep>/public/js/main.js
//OBJET PERSONNE AVEC PROPRIETÉS ET METHODES:
let personne = {
nom: "Saliou",
lieu: "bruxelles",
argent: 300,
mainDroite: [],
mainGauche: [],
seDeplacer(lieu) {
this.lieu = lieu.nom
lieu.personnes = this.nom... | 8b996184106f23b856e87086707d25a6500b70e6 | [
"JavaScript"
] | 1 | JavaScript | gbessiaka/js_omelette_miniprojet | 1593848088867ac3f910e2380ff674a866839b6c | 991b46931b04942bf1472a48e0c1fd4c4690b0ef |
refs/heads/master | <file_sep>import React, { Component } from 'react'
import LocationDropDown from './locationDropDown'
class ThaiLocationSelectForm extends Component {
state = {}
provinces = [
{
name: 'กรุงเทพ', id: 1, districts: [
{
name: 'บางรัก', id: 1, khwangs: [
... | 1c18a78b7777c62257449555457d8ae9327614f4 | [
"JavaScript"
] | 1 | JavaScript | dringnakub/register-app | dd47d3384abefd60d0ce62fdf0eff9baee60efca | ef8fe37e94cc5d94544145f37673d160860da4ab |
refs/heads/main | <file_sep># go-tiny-ecommerce<file_sep>module github.com/thvitti/go-tiny-checkout
go 1.13
require github.com/hashicorp/go-retryablehttp v0.6.8
<file_sep>package main
import (
"encoding/json"
"fmt"
"html/template"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
"github.com/hashicorp/go-retryablehttp"
)
type Re... | c50ca37c10900066c141d32ed23dda0495d7f54a | [
"Markdown",
"Go Module",
"Go"
] | 4 | Markdown | thvitti/go-tiny-checkout-example | 18fd3d52d0bbf9efa7efb9254d70e29f6ac0576b | e33e815637d99c6432dbcf51cecb63ad8fb7c735 |
refs/heads/master | <file_sep>
let value1 = document.getElementById('value1')
let value2 = document.getElementById('value2')
let value3 = document.getElementById('value3')
let inpSpeed = document.getElementById('inpSpeed')
let stop = document.getElementById('stop')
let btnstop = false
let values = [
'😋','😎','😁','🤑','😭','😡','�... | 26f4d0ccb3e56b9fdf42217ddb5c1a155f47442b | [
"JavaScript"
] | 1 | JavaScript | shubhamjain-mlvt/Casino-slot-machine | 7b36ae17684e1d99f473efa01aeb98cb5429aecf | 3d903516fe463bb4fcbb3a86b0a5de42fa03c1c9 |
refs/heads/master | <file_sep>var check = function() {
if (document.getElementById('password').value ==
document.getElementById('confirm_password').value) {
document.getElementById('message').style.color = 'green';
document.getElementById('message').innerHTML = 'matching';
} else {
document.getElementById('... | 35b12a94f58795b9719e6659f0c9e59f79887ed0 | [
"JavaScript"
] | 1 | JavaScript | DavidAdalem/PracticeLab2 | 19b3c473fe3c539cf0c10d14d1afa519aabaf645 | c591212f0545a4c542b93745b43191004cd66a59 |
refs/heads/master | <repo_name>tafazzul1414/scavenger<file_sep>/app/build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
applicationId "ca.dal.cs.scavenger"
minSdkVersion rootProjec... | b4812a4141f7e1e6ffda78bde44a6d07d94c5fe2 | [
"Java",
"Gradle"
] | 4 | Gradle | tafazzul1414/scavenger | f582194ce6f59412221d52df5124b26bc6cf365d | d729d704a455c560d9e127d510ce9b16278b9ade |
refs/heads/master | <repo_name>vtt-info/ESP32-2<file_sep>/ESP-IDF/ChangeFrequency.cpp
//
// File ChangeFrequencyFSM.cpp
// Author: <NAME>
// FSM - Finite State Machine - to change blu led (LED 2) blink frequency with BOOT button (BUTTON 0)
//
#include <stdio.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freerto... | b8196b1f0324eb454f235ebbfa8b174a1d9e59d7 | [
"Markdown",
"Python",
"C++"
] | 6 | C++ | vtt-info/ESP32-2 | 2b74778a2e6e6869155e05f03738557e558db459 | 2a737a109797f33a34e059e993c83306f8bdf7b9 |
refs/heads/gh-pages | <file_sep>/*
@Name:mBox v2.0 弹层组件移动版
@Author:陈国军
@Date:2016-2-28
@官网:http://www.jayui.com/mBox/
*/
(function(window, undefined) {
var $QM = function(elem) {
return document.querySelectorAll(elem);
}, doc = document, JM = {}, FM = $QM.prototype;
JM.timer = {};
JM.endfun = {};
JM... | cfd527796709de76086605200ae28e8660b044f8 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | cometwo/mbox | 61b83beba36304fcf808bc713b566037e6682216 | 5f3a2f6430bc66bd48b0a03377022c0b4fc5daca |
refs/heads/master | <file_sep><div class="figure">
<?php print $data['image']; ?>
<div class="legend">
<?php print $data['legend']; ?>
<div class="credit">
<?php print $data['credit']; ?>
</div>
</div>
</div>
<file_sep><div class="vcard">
<div class="n">
<span class="given-name"><?php print $data['n']['given-name']; ?></sp... | ad2782f3db9e0a9cb45b21fe6784a2a9a61a348d | [
"PHP"
] | 5 | PHP | bangpound/microformats | f7fe9ade1500fe765b00dc6c576cae16e8c882ed | d85daf42d8d4b1f794cb334e4aa2e9147f5c6f66 |
refs/heads/master | <repo_name>AndresDaCosta/.NET<file_sep>/README.md
# .NET
todo sobre .NEt
<file_sep>/ConsoleApplication1/CalculoDia.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/*
@author: <NAME>
@date: 24/09/2015
*
* descricion: Clase que calculara que dia... | 3f9e67f0044792a457d00f02d6ee2cfc540222ba | [
"Markdown",
"C#"
] | 7 | Markdown | AndresDaCosta/.NET | 35e6b7828085bae414c6b7d6469fbd133a5bf8fb | 56fa117d75b210a7d9abc112cdd489cec1b31912 |
refs/heads/master | <repo_name>zyongbo/DecentralizedAirbnb<file_sep>/DAirbnbWebApp/src/app/renter/component/add-listing/add-listing.component.ts
import { Component, OnInit } from '@angular/core';
import { FormGroup, FormControl } from '@angular/forms';
import { Listings } from '../../../models/listings.model';
@Component({
selector: 'a... | 2a3c4ed3d14ec156f51cdd662dc70ed2ff017b78 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 11 | TypeScript | zyongbo/DecentralizedAirbnb | e2c76e1c492f33f17afab8946e484a9d06544b05 | 90db50ae81a5ec053006ed79057bd86c15b6d759 |
refs/heads/master | <file_sep><div class="row home-content-wrapper home-backgroundcolor">
<div class="col-xs-12 home-content">
<?= $title ?>
<p>
<img src="<?php echo base_url() . "assets/img/home_01.jpg" ?>" class="home-img">
</p>
<?= $content ?>
</div>
</div>
<div class="row home-backg... | 63b70656c0b457e2ddf330a5ad6b0adc85defbea | [
"JavaScript",
"PHP"
] | 49 | PHP | Anc0/BrankoConnect | 50d6459347356b429178a59cb0d43bae5c32a933 | a8a613a15365dd7aca8f1ebab106188af1119bbc |
refs/heads/main | <file_sep>import React, { useEffect, useState } from "react";
import Home from "../../Components/Home/Home";
import Products from "../../Components/Products/Products";
import { connect } from "react-redux";
import { fetch_api_products, fetch_api_discover } from "../Actions/Actions";
import { change_page } from "../Acti... | 3b296833953b3b9dda2ce6d1e8c09b365eb6614e | [
"JavaScript"
] | 16 | JavaScript | nguyenhoang98/products-hook | 116249ee0732f32b045c036c9058acbb2c4c3eb4 | 053f9d2c34d04fe02b8e2bf39e2d464bdeebe41d |
refs/heads/master | <repo_name>haiboli/macrc<file_sep>/.bash_profile
alias cnpm='npm install --registry=https://registry.npm.taobao.org'
alias vi='vim'
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
source ~/.git-completion.bash
source ~/.bashrc
[ -f /usr/local/etc/profile.d/autojump.sh... | 2dd047d3384be6211cbe6c0355790bbaf17b3aa1 | [
"Shell"
] | 2 | Shell | haiboli/macrc | b77aea233919faec531d24cf301f7f981f5f4700 | e599d8c4eef57ef5580d6891d76338d9cf3c00ea |
refs/heads/master | <file_sep><?php
/**
* Created by AmotiveTech.
* User: elnikov.a
* Date: 21.02.19
* Time: 15:20
*/
namespace AmotiveTech\UnifiedSearch;
class Request
{
/**
* @var string
*/
private $controller;
/**
* @var string
*/
private $action;
/**
* @var string
*/
priv... | cb60859bcfd157e2ca5c0a2403c780272da2cbe9 | [
"Markdown",
"PHP"
] | 26 | PHP | Avtomotive/USearch | 01e3b16c493ed22030a1ad2ce15062c8d68aa64f | d98fd57fcbb3f0f20a72003ed6d9bd15df2e90a7 |
refs/heads/master | <file_sep>import React from 'react'
import TagBadgeList from './tag-badge-list.jsx'
class Article extends React.Component {
render() {
return (
<li className="list-group-item">
<img className="img-circle media-object pull-left" src={ this.props.userIcon } width="32" height="32"/>
<div class... | c4311a71ba6a5ab0967b46e2a4807f98ac55a248 | [
"JavaScript"
] | 5 | JavaScript | akihokurino/electron_qiita | d0819f9238c1d244de0b5223faddd782178177ee | 8cb57047f56d904641b8194c6ed2786bc139bd8c |
refs/heads/master | <repo_name>marksun2015/gn_sample<file_sep>/sample2/build.sh
#!/usr/bin/bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
OUT_DIR="${SCRIPT_DIR}/out"
ARGS_GN="${OUT_DIR}/args.gn"
rm -rf "${OUT_DIR}"
gn gen "${OUT_DIR}"
if [ "$1" = "arm" ]; then
echo "is_custom_toolchain = true" > "${ARGS_GN}"
fi... | e73a6a4d45d4f8b3bf956bc89a9ec3aefd4424c3 | [
"Markdown",
"Shell"
] | 2 | Shell | marksun2015/gn_sample | 17cf081bba3e21facbfb1e9f8d49bd17fb705cb5 | baf12a218dfa4f2adcd3379df224ef690d37be1c |
refs/heads/master | <repo_name>jwwmygit/gzhipin-client_test<file_sep>/src/redux/reducers.js
//包含多个用于生成新的state的reducer函数的模块
import {combineReducers} from 'redux';
import {AUTH_SUCCESS,
ERROR_MSG,
RECEIVE_USER,
RESET_USER,
RECEIVE_USER_LIST,
RECEIVE_MSG,
RECEIVE_CHAT,
MSG_UPDATE
}from './action-types'
import getR... | bbefbb90d8d477ec8842a047e25b14fc55430060 | [
"JavaScript"
] | 8 | JavaScript | jwwmygit/gzhipin-client_test | c186fecc42708bd460c169f4242ab72a2f5b1530 | 207a02e9f890a2427b697af559311b54e99ef890 |
refs/heads/master | <repo_name>obrtks/mendel<file_sep>/README.md
# mendel
Build script to build arm trusted firmware, u-boot and linux for google edge tpu dev board.
The script is based on the repo image of mendel linux (release-day)
<file_sep>/run.sh
ROOTDIR=~/mendel
function build_linux
{
pushd linux-imx
make ARCH=arm64 CROSS_C... | ed5640759cfcaf66c65a051913c98d64428400e2 | [
"Markdown",
"Shell"
] | 2 | Markdown | obrtks/mendel | 5693d2866ed832c77ecaa2e84c26a706e35a0913 | 0c80a8d2a0dac729f99671eb4fe11585e6a7901b |
refs/heads/master | <file_sep>"use strict";
Object.defineProperty(exports, "__esModule", {value: !0});
var e, t = (e = require("he")) && "object" == typeof e && "default" in e ? e.default : e, r = Object.freeze({});
function n(e) {
return null == e
}
function i(e) {
return null != e
}
function o(e) {
return !0 === e
}
func... | 2a046d7f0234b711f7810cfc18d192f11ce90533 | [
"JavaScript"
] | 1 | JavaScript | conrado-l/vue-server-renderer | 94c124df6a0f3687c0d2f3340b00990f96c0f0d8 | f5b502c88402de17e202b14526b02228121bc43f |
refs/heads/master | <file_sep>package ph.remerico.firebasesample;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.os.Build;
import android.os.Handler;
import android.os.Looper;
import android.support.v4.app.NotificationCompat;
... | a3ea41d7ab900eb5b10f834bbd12aac5d7b0572f | [
"Java"
] | 1 | Java | remerico/fcm-test-project | 3c98279c8bd999760c31bc04c1b39b0bae5a9e72 | d979f0f05389b42d99b2899d2f81e4a1b0637503 |
refs/heads/master | <file_sep><?php
/**
* @access protected
* @author <NAME> <info[woof-woof]msbios.com>
*/
namespace MSBios\Content\Resource\Form;
use Zend\Form\Element;
use Zend\Form\Form;
/**
* Class TextPageForm
* @package MSBios\Content\Resource\Form
*/
class TextPageForm extends Form
{
/**
* @inheritdoc
*
... | bbe38822096bd9334c2de3b9a366c9199900a433 | [
"Markdown",
"PHP"
] | 2 | PHP | msbios/msbios-content-resource | b769edd024649d8894ba9373f498762ea77fd005 | 7614f5c0410bd80501c5dfc095073d3f1dd3c7d3 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Libraries\Images as Images;
class ImagesController extends Controller
{
protected $user;
public function __construct()
{
$this->middleware('auth');
$this->user =... | 84f3299d039e0f98adce1992daa62c8fbab9dcff | [
"PHP"
] | 20 | PHP | lauritosway/s2b-18 | 1a637badc49066807864a2ae1c58aa101d85ea56 | 739cf25925059cf4222bf1b53b5cd57066960c18 |
refs/heads/master | <file_sep>import Vue from 'vue';
import VueRouter from 'vue-router';
import Chat from '../views/Chat.vue';
import Login from '../views/Login.vue';
import store from '../store';
Vue.use(VueRouter);
const routes = [
{
path: '/',
name: 'Chat',
component: Chat,
meta: {
requireAuth: true,
},
... | 2fc6104d6ed66d4c07e949e5e25b1489e29e9a2e | [
"JavaScript"
] | 1 | JavaScript | Zaklo/chat-client | dc04422bfad7e27ef91c723578c4bd3837c496ff | 87484451014ce6147fe8b3347fad5ec08adb29a8 |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { RouterModule } from '@angular/router';
import { ListPage } from './list.page';
import { MqttService } from '../servic... | a93b4daff0575890e365837f1be0d1fdc3b3672e | [
"TypeScript"
] | 7 | TypeScript | leoalmeida/hbapp | 56b5a926ba37f8495855b5cba3e22119f0893b84 | 61b7d2a058259e587b9b6e645e68d90abfe02394 |
refs/heads/master | <repo_name>avi-jkiapt/node-real-time-chat<file_sep>/app.js
var express = require('express');
const http = require('http');
var socketIO =require('socket.io');
var app = express();
var server = http.createServer(app);
var io = socketIO(server);
app.use(express.static('public'));
io.on('connection',(socket) => {
so... | 4bc83bf0ebdd9bf032de7d1c88d8002efc1d1831 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | avi-jkiapt/node-real-time-chat | 4033b4e111283d28eeb0c5a9046e3458efc47dd2 | 0030164ef546cd0814d1fb65769279d5f17b1891 |
refs/heads/master | <file_sep>import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route } from "react-router-dom";
import history from './history';
import Login from './Components/Login';
import Todo from './Components/Todo';
import { createStore } from 'redux';
import { Provider } from 'react-redux'
import todoA... | 6442221e77f0103c1175a270cd863345a291fd88 | [
"JavaScript"
] | 3 | JavaScript | SarveshKargutkar/Todos | fae688295ba588308dddc904f3d0d4aa3c2e5b11 | 669ed997459a6eb3ba37b2d9cb1c6244b692efe5 |
refs/heads/master | <file_sep>import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.Select;
public class Helper {
static WebDriver driver;
static Select s;
public static void launchBrowser() {
System.setProperty("webdri... | 4fe0827f5d537c1fb75cd19cd535488bab7fc4eb | [
"Java"
] | 5 | Java | Muttembaka/Git | f30fcec6a08c0a3e20ed8e3e1e4f8ada864a0087 | ce6fd994428d7fbba3071c480d9214a044519f95 |
refs/heads/master | <repo_name>Gabrielr2508/vantage-api<file_sep>/api/controllers/vantageApiController.js
'use strict';
var mongoose = require('mongoose'),
read = mongoose.model('read');
exports.list_all_reads = function(req, res) {
read.find({}, function(err, readData) {
if (err)
res.send(err);
res.json(readData);... | 93a0a4c1ac4ba1274dc4afa405374f04d346339a | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Gabrielr2508/vantage-api | 38c8e6d69b8d58915ef574234646a1f91bfdfc23 | 221258b61f138a2fb4fa208e8cc0adc22376ad39 |
refs/heads/main | <file_sep>
def show_question(quetions, options):
result = 0
for number in range(len(quetions)):
print(quetions[number]['question'])
for option in options:
print(option, quetions[number]['options'][option])
answer = input("Type the option of your answer: ")
... | 6bf2d0851a5889929b4743b9b72ac95c0b9d8fba | [
"Markdown",
"Python"
] | 2 | Python | AkashTalware/a-basic-quiz-game | 97c799652599388c5905e934ad154e284385867e | 0b6e6d7686731be6b3d658d7c81d25bdfd8db82b |
refs/heads/main | <file_sep>SELECT 'ФИО: <NAME>';
SELECT userid, movieid,
(rating - MIN(rating) OVER (PARTITION BY userId))/((MAX(rating) OVER (PARTITION BY userId))-(MIN(rating) OVER (PARTITION BY userid))) AS rating_deviance_simplex,
AVG(rating) OVER(PARTITION BY userid) as avg_rating
FROM(
SELECT DISTINCT userid, movieid... | 2dd4e97d931410f174ff13245fc7534c0b3f2647 | [
"Markdown",
"SQL",
"JavaScript"
] | 6 | SQL | ComaZzo/data_management_hw | cbb34c248f46ee477893df3b62bc99f7c503c6be | 29068265267dd1cc5f52348039150d1e14048668 |
refs/heads/master | <file_sep>const path = require("path");
module.exports = {
css: {
loaderOptions: {
sass: {
data: `@import "@/style/buefy.scss";`
}
}
},
configureWebpack: {
resolve: {
alias: {
"@services": path.resolve(__dirname, "src/services/")
}
}
}
};
<file_sep>export... | 80781babe3b9f3da1620c6c69df59e22b657a2ca | [
"JavaScript"
] | 6 | JavaScript | Esquimor/wallet-blockchain | fffa7b997c079c15a781bf4dbabbc4d0253c2e3e | 8ec3f974cf8e1f1d69ae5af3555e7acbe2e348f6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.