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/main | <repo_name>mnallammai/SiameseMethod<file_sep>/Siamese.c
#include<stdio.h>
void printmatrix(int n, int magicSquare[n][n]){
for(int i=0; i<n; i++){
for(int j=0; j<n; j++)
printf("%d ", magicSquare[i][j]);
printf("\n");
}
}
void fillMagicSquare(int n){
int magicSquare[n... | e8a4b9fe9951e4cf4420bf7f4551876285dcc181 | [
"C"
] | 1 | C | mnallammai/SiameseMethod | 67ecdbdf976426f580f4793c01306c15f4a8cba4 | 6713fc263c2e54173f4c7a5d7631f0e5647f148a |
refs/heads/master | <file_sep>package com.kevin.zwk.lx_slidingmenu_0628;
import android.os.Bundle;
import android.support.design.widget.NavigationView;
import android.support.design.widget.Snackbar;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatA... | c8978d8fcacd185afcdd78f18e73bf17078993e7 | [
"Java"
] | 1 | Java | ZhangWenkaidyy/lx_slidingmenu_0628 | 9b7125500c42d767fb9d12cf9c35ebeb2b9cd8f0 | 52f7cf4860d35fecc1ab8f1495b9662c9b4d6b84 |
refs/heads/master | <file_sep>import axios from 'axios'
import { Message } from 'element-ui'
import store from '@/store'
import { getToken } from '@/utils/auth'
import router from 'router'
import { Notification } from 'element-ui'
// 创建axios实例
const service = axios.create({
baseURL: process.env.BASE_API, // api的base_url
validateStatu... | 94bc04aaeedafc92f9b4b6b2113ce85cad1379f1 | [
"JavaScript",
"PHP",
"Markdown",
"Shell"
] | 41 | JavaScript | Lucipher/vue.lumen | 2037b9f731678758831b6231337e5506ce45a8f6 | c49d74a76dec2631ce7875db9cdd971df4a8c5cb |
refs/heads/main | <repo_name>JoseVale99/EXAMPLE-API-REST<file_sep>/routes/api.php
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\CategoryController;
/*
|--------------------------------------------------------------------------
| API Routes
|-------------------------------------------... | 684e7cf12c3dd2c763916ffe4562944b0da88dde | [
"PHP"
] | 3 | PHP | JoseVale99/EXAMPLE-API-REST | 665eb2e3fd85e730191b4d11ab17d20dce5c700a | 28b6801296e111b9da3df5a326799cedf999034f |
refs/heads/master | <repo_name>cjlapao/angular-asdaqrcode<file_sep>/src/app/qrcode/qrcode.component.ts
import { QRCodeGeneratorService } from './../qrcode-generator.service';
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-qrcode',
templateUrl: './qrcode.component.html',
styleUrls: ['./qrcode.componen... | e7928ae6400aa9de2e803fe09ff92ab808306392 | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | cjlapao/angular-asdaqrcode | 1da13ed7aecb3bdd1debeff856a4a280b9f07e01 | dfb2282cb28c55630ca58f7ce307d1277126d6fb |
refs/heads/master | <file_sep><?php
error_reporting(E_ALL || ~E_NOTICE);
include 'getCookie.php';
echo '<script language="javascript">';
//turn to index page
echo "window.location.href = '../index.php?q='+$q+'&q0='+'$q0'+'&q1='+'$q1'+'&q2='+'$q2'+'&q3='+'$q3'+'&check=1'";
echo '</script>';
?><file_sep><?php
//judge the statu... | 423ca3db022717b0aac259d501e2f53fe384753d | [
"JavaScript",
"PHP"
] | 16 | PHP | lining2333/Project2_QA | 56f243fa2788aa5c3a0b14317ff06d1571325e5e | a4cf7c56493dc00dc4ee8d87265f36eb3f160f2b |
refs/heads/master | <file_sep>
local PathJoin = require('path').join
local Logger = require('logger')
Logger:new(PathJoin(__dirname, 'console.json'))
local log = Logger.getLogger('console_logger')
log:error("Should be logged")
log:warn("Should be logged")
log:info("Should be logged")
log:debug("Should be logged")
log:trace("Should be lo... | d3d6288b255682b2505c3fbe598b2702073ca71e | [
"Markdown",
"Makefile",
"Shell",
"Lua"
] | 18 | Lua | gsick/luvit-logger | ff241751781e35f287baf968c7fa8b86813e5d46 | 110fa0c4a4425ce7811108a180c4649fd956d13e |
refs/heads/master | <file_sep>var express = require('express');
var router = express.Router();
/* adminUpdate page. */
router.get('/admin/update/:id', function(req, res, next) {
var id = req.params.id
if(id){
Movie.findById(id,function(err, movie){
res.render('admin', {
title: '后台更新页面',
... | 098b920700129d32861f00e9508b17475c856bf7 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | xiaotiandada/Movie | bb97617a3542b2dcb9983aee6515d09f82d41801 | b8b7943fdef1ffbb001f4e6017ff4fea859cf111 |
refs/heads/master | <repo_name>ytyaru/Shell.IFFFT.Tweet.20211002185752<file_sep>/src/secret_example.sh
IFFFT_EVENT=IFFFTで作成したwebhooksのイベント名
IFFFT_KEY=IFFFTで作成したwebhooksのキー名
:: https://maker.ifttt.com/trigger/{event}/with/key/{key}
<file_sep>/src/run.sh
#!/usr/bin/env bash
set -Ceu
#---------------------------------------------------------... | a90bc54a911e55863058fdb673698551aa4c7b5c | [
"Shell"
] | 2 | Shell | ytyaru/Shell.IFFFT.Tweet.20211002185752 | f1d07b4cc0f1446d4ac99de4420baccca7b7d252 | 2676dbb5a8da0280b9ac35ce90150fa0739450fc |
refs/heads/master | <repo_name>PikaAntias/Hr-Management<file_sep>/src/pages/user/index.js
import React, { Component } from 'react';
import './style.css';
import { Switch, Route } from 'react-router-dom';
import Background from './bg-01.jpg';
import { Link } from 'react-router-dom';
import {rrfProps, fire} from '../../store';
const style_a... | 4e952aeba287e0c669614e162f106e9dacf3e6db | [
"JavaScript"
] | 7 | JavaScript | PikaAntias/Hr-Management | 36e39c00fcd132761358c2f4f2c4df8b4ebea6ac | 7f296634de39854a1a9f373aa527ed6cc97d3f96 |
refs/heads/master | <repo_name>Blueberryy/nZombies-Unlimited<file_sep>/lua/nzombies-unlimited/huds/unlimited.lua
HUD.Name = "Unlimited"
if SERVER then return end -- Not really necessary, but hey, we save a bit of loading and memory since the server would discard this anyway
--[[-----------------------------------------------------------... | e6e9c68e1894a81425a53365dd64d9f4c1cd3435 | [
"Lua"
] | 12 | Lua | Blueberryy/nZombies-Unlimited | 80571f83d9630d69f25e9f49edc8a1adc8e05672 | 675c78ac4da83f71ef2c4400ec13f97a01e9d671 |
refs/heads/master | <file_sep># ooPractice
Object Oriented JavaScript Practice
<file_sep>
//let myPerson = {
// firstName: "Paula",
// lastName: "Suarez",
// fullName: function () {
// return this.firstName + " " + this.lastName;
// }
//}
//replacing above with below
function Person(firstName, lastName) {
// construct the object us... | ea1116609adcd5e0df5bd6356edb733bbc406d64 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | 5uperN1na/ooPractice | 3c194878d5a9609a07a578a14b2b72637b5df75e | 7a2a00c22248d8326ac066cfd6fafc51779c9325 |
refs/heads/master | <file_sep>/**
* TCSS 305 – Winter 2016.
* Assignment 3 - EasyStreet
*/
package model;
import java.util.Map;
/**
* This Human child class extends from
* the AbstractVehicle class for the easystreet program.
* @author <NAME> (Cindy)
* @version 6.0
*/
public class Human extends AbstractVehicle {
/**
* ... | 5b85ccd10ac25a09088add6cc8975edcf232a264 | [
"Java"
] | 3 | Java | cwang0828/EasyStreet | c8953b030b0a71865a666c26a4d7a644f8026ead | 9752160f27339afc7ce7fb118cc27690d708be66 |
refs/heads/master | <file_sep>export default {
routes: [
// {
// path: '/login',
// name: 'login',
// component: resolve => require(['components/Login.vue'], resolve),
// meta: {
// tokenRequired: false
// }
// },
// {
// path: '/register',
// name: 'regis... | 1e3030690fe797922d383479acc97a551b455337 | [
"JavaScript"
] | 1 | JavaScript | kennCK/ABang | 88c5453cc32922a6d3c7fce726147c1b760afcc4 | e7be0ea32f076a8513f50810efd1cc26fd16f752 |
refs/heads/master | <repo_name>yingshangwei/drogdemo<file_sep>/FSM/FSM.cs
using System.Data;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 对象状态机
/// </summary>
public class FSM
{
private Dictionary<string,IState> StateDict; //存储状态的字典
public IState CurState = null;... | b36b6806266c306117959ddbbd058bad2dd2f02b | [
"C#"
] | 3 | C# | yingshangwei/drogdemo | f25b1c536031e607a3d6077e2003a5712211c887 | c1a6b2c48bf5398414a1017371d0b6e338528492 |
refs/heads/master | <repo_name>sergeche/xsl-tracer-backend<file_sep>/src/ru/imobilco/xalan/Trace.java
package ru.imobilco.xalan;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
i... | 7a2f059339a7f937cec256eec3cff7cd0a3f173b | [
"Java",
"Ant Build System",
"INI"
] | 7 | Java | sergeche/xsl-tracer-backend | 08bc3ca6e4cdd620f467b4fd7cb5a1eb6a632750 | 6738e5c2c249848b745f867a111c8a84861d91e6 |
refs/heads/master | <repo_name>jzluo/ECG-deidentifier<file_sep>/README.md
# ECG-deidentifier
Programmatically de-identifies ECG tracings. Exports as SVG
<file_sep>/deid_ecg.py
import argparse
import csv
import os
import re
import sys
import xml.etree.ElementTree as et
from collections import defaultdict
# from dateutil import parser
from... | 8d20d65f2c7ea8134bc0abe7a65534fd3d99dd9e | [
"Markdown",
"Python"
] | 2 | Markdown | jzluo/ECG-deidentifier | e3763377bc613da07e6aff5b6ecf8474e75475cc | 7af94e8fc69168b1d903419421cbb5cd24f97299 |
refs/heads/main | <repo_name>RollinBarrel/binary-domaim<file_sep>/config.h
struct SensConfig {
unsigned int base;
unsigned int ads;
unsigned int sniper;
unsigned int accel;
bool toggleADS;
bool invertedX;
bool invertedY;
};
SensConfig* initConfig();<file_sep>/README.md
# binary-domaim
Mod for Binary Domain a... | 9aac530f02ee3f918c417896af662fee63e2f7ea | [
"Markdown",
"C",
"CMake",
"C++"
] | 6 | C | RollinBarrel/binary-domaim | 090b829598173d81ae02208442143b9dfc4ba4b6 | 6789bccb897fab198fb1da2d2863cf5722dcd7ab |
refs/heads/master | <repo_name>stoneldp/learn-Java<file_sep>/Java Language Base/数据类型.md
**Java 语言中数据类型分为两大类:** 每种基本数据类型的数据所占内存的大小是固定的,与软硬件环境无关。基本数据类型在内存中存放的数据值本身。引用数据类型在内存中存放的是指向该数据的地址,不是数据值本身,它往往由多个基本数据组成,因此,对引用数据类型的应用称为对象引用,引用数据类型也被称为复合数据类型。
- ### 基本数据类型;
- 整数型
- 整数类型(byte;short;int;long);
- 整数有正整数、零、负整数,其含义与数学中的含义相同;Java语言的... | 3d5b4017b96ff4b31bcde7c303e9dc98421640be | [
"Markdown",
"Java"
] | 4 | Markdown | stoneldp/learn-Java | c78812f49bf8511184732f3d02d979dbe762b3b7 | da9fb0516a76837b002a0a9d7e5dca5cdcf641b4 |
refs/heads/master | <repo_name>EnriqueGambra/Pascal-Compiler<file_sep>/README.md
# Pascal-Compiler
I will be implementing part of a compiler for the language specified below. The language is a subset of Turbo Pascal, lacking its arrays and records for purposes of simplicity. The project will include a scanner, symbol table, parser and (ti... | 244ce725662cc9161c4ca6c04b371facbb700a53 | [
"Markdown",
"Java"
] | 2 | Markdown | EnriqueGambra/Pascal-Compiler | 5506bb275db0e2452629be5584948bc83155a799 | 649ac22fe4b021882e8afd74074a7bfa73d3823c |
refs/heads/main | <file_sep><?php
const STUDENT_NAME = 'student name';<file_sep><?php
namespace Igophper\Student;
class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = true;
/**
* Register th... | 25a053d327eac350ed10bac852d25dd3b425862e | [
"Markdown",
"PHP"
] | 5 | PHP | igophper/student | ba5cf5e2dfaa281f7c82b6a377ee19e72a2d8377 | 5713592adf8324ddb37a680a6cf4ad29bbbb2082 |
refs/heads/main | <repo_name>williansammer/UdemyFull-Stack<file_sep>/Back/src/ProEventos.Persistence/PalestrantePersist.cs
using System.Threading.Tasks;
using ProEventos.Domain;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using ProEventos.Persistence.Contratos;
using ProEventos.Persistence.Contextos;
namespace ProEventos.Pe... | 5783a0aed6901730bfb9926aafc93f00c30ac57b | [
"C#",
"TypeScript"
] | 7 | C# | williansammer/UdemyFull-Stack | ca0b044724d9ac7d6127bcf00ef9626eafee70d6 | 3ea561930c9ac7f4fc875c5fd8de657f7089cc97 |
refs/heads/master | <file_sep>
// l = the length of each "slice"
// i = the number of pieces
// s = the potential string of m&ms on each slice
function eat_cake(string){
var l = 0;
var s = "";
for(var i=string.length; i>0; i--){
if(string.length % i == 0){
l = string.length / i;
s = string.su... | f012244a4c2402679fa8e8db35ea6547c3567c5d | [
"JavaScript"
] | 1 | JavaScript | lilyleaverton/letthemeatcake | a8a0652460abf77ca68d1edce8f68d26fdecbea6 | ad8608d8393f1e311ebb2b655f696d3417e60bea |
refs/heads/master | <file_sep>local bnet = {}
local get = require 'battlenet.get'
function bnet:realm_status()
local uri = "https://us.api.battle.net/wow/realm/status"
return get(uri)
end
return bnet
<file_sep>local bnet = {}
local get = require 'battlenet.get'
function bnet:pets()
local uri = "https://us.api.battle.net/... | 4104965ed2eb6f9c47e5297d7cd47490f6157369 | [
"Markdown",
"Lua"
] | 19 | Lua | jsimpson/battlenet | 597785b46f92a7f775572de936da6fff14b87b65 | 5fa27ec63f5f8e1e025bd389e47bee6ae9243402 |
refs/heads/master | <file_sep>package shoot;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Point;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import javax.swing.ImageIcon;
import javax.swing.J... | b1334aff66c0dea20001200ab20353ecff95ff35 | [
"Markdown",
"Java"
] | 6 | Java | yeshunlong/java | 15d96bf70b436ed8ac815297939c371292522777 | 2924cbf05f61d6888036567fbad71d73c1865610 |
refs/heads/master | <repo_name>0xqq/DataWall<file_sep>/Model/SysCustDevice.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class SysCustDevice
{
[Key]
... | be60296bfad63532abcb3b0eae8b98ee6f8e8213 | [
"JavaScript",
"C#",
"Markdown"
] | 25 | C# | 0xqq/DataWall | a5e0d2dfb692f3193c97eed84c524ca0400fda40 | 23bc0b04afdec2e641b7ab461b747dd50ec363ba |
refs/heads/master | <repo_name>Cleyrauz/Friends_Homework_Hibernate<file_sep>/src/main/java/models/Writer.java
package models;
import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.CascadeType;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Table(name="writers")
public class... | a2ce7d1c4f6f0ed6698bc1a675a99533f27ab91d | [
"Java"
] | 4 | Java | Cleyrauz/Friends_Homework_Hibernate | 4063d41f081ea03f68cea63373ca0156f240b69f | a4bac38bb7da1fd97ea8e0860011cbde7c413253 |
refs/heads/master | <repo_name>Eluinhost/mystery<file_sep>/server/config/environment/index.js
'use strict';
var path = require('path');
var _ = require('lodash');
// All configurations will extend these options
// ============================================
var all = {
env: process.env.NODE_ENV || 'development',
// Root path of se... | 7b52f4897d2c0d52b93c66c592af9a0f4580705f | [
"JavaScript",
"Markdown"
] | 27 | JavaScript | Eluinhost/mystery | ada98c8e3d7b360bdaf9c34547d7a727db5a91a6 | 65454a7437746b1f14af7a152ab72ab97e32c325 |
refs/heads/master | <repo_name>hedytech/website-v2<file_sep>/tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'black-pearl': '#051c26',
'froly': '#f1888a'
}
}
},
variants: {},
plugins: []
};
<file_sep>/src/components/InstagramFeed/index.js
import { useEffect, useState } from 'r... | e4c9a75ed9c51ca6e5333375d410acc3c476f97e | [
"JavaScript"
] | 6 | JavaScript | hedytech/website-v2 | 31b64d14f1703f197e95158208c24f3cef2d46af | 1960097ab3e65c3d5a1da5761b00b852723b6ad7 |
refs/heads/main | <file_sep>fx_version 'bodacious'
game 'gta5'
author '𝐍𝟑𝐍𝟑#9580'
contact 'https://discord.gg/ppVjYQKT2r'
ui_page 'nui/badland.html'
client_scripts {
'@vrp/lib/utils.lua',
'client-side/*.lua'
}
files {
'nui/badland.html',
'nui/badland.js',
'nui/badland.css',
}<file_sep>----------------------... | 87d944b28c88e6998e1c20abfb461de8cdce3f27 | [
"Lua"
] | 2 | Lua | berm2k/B3_Elevador | 45f014d32ac3dc70e276385f0645843eb69a6451 | e35697640ced407fbbb6da2d3bccd819839ff00c |
refs/heads/main | <file_sep># PraktikumProdas07102020
Saya <NAME>
Dari D4 Manajemen Informatika
NIM : 20051397078
UNIVERSITAS NEGERI SURABAYA
<file_sep>/*<NAME>*/
#include<iostream>
using namespace std;
int main()
{
char nama [14];
int totW;
int jam,totJ;
int menit,totM;
int detik,totD;
int w;
cout<<"===========... | 5e414dda19f71260ef418ba6b5a17a7b8fa8fb47 | [
"Markdown",
"C++"
] | 2 | Markdown | jasminesm/PraktikumProdas07102020 | c3fe90c0ea4d9e2bb6e11c0d811dc0c919818638 | 8ec402b41c97fd7c00849c3cd4f071e2d56a5b36 |
refs/heads/main | <file_sep><?php
//for dev purposes
//fire this in browser to get the code image
/*
use Ayeo\Barcode;
require_once('vendor/autoload.php');
$builder = new Barcode\Builder();
$builder->setBarcodeType('gs1-128');
$builder->setFilename('bar.png');
$builder->setImageFormat('png');
// $builder->setWidth(700);
$builder->setH... | 91de69570c87ed16439dd4e844a1c4796e9ffee0 | [
"PHP"
] | 8 | PHP | luisjosecruz/invoice | 91bb8b5b569f9175e7647ce257ab1fefca800c0f | 2795d766bdcd5eb549593bfe94d6425cc107859c |
refs/heads/master | <file_sep>
import entity.Product;
import java.util.Scanner;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author pupil
*/
class ProductCreator {
public Product ret... | 621bfb199331a62fa83a31e61743006cdddd36fd | [
"Java"
] | 3 | Java | Grigorjevskaja/KTVR17Shop | 6da892975a4f0a016a09d83bc1ff55c124b7730f | ac254cdaadaa6cbdc1aa3120fc20f194ccc72ad0 |
refs/heads/master | <file_sep>#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <fcntl.h>
int file_exists(const char* fileName) {
FILE *file = NULL;
if (!(file = fopen(fileName, "r"))) {
return -1;
}
return 0;
}
int rmmod(const char *modname) {
return syscall(__NR_del... | f1a9a2396d7da6f5d1af77cf39556205c01c2fc0 | [
"Markdown",
"Makefile",
"INI",
"Java",
"C"
] | 17 | C | augustoraphael/ea-aodv-for-android | 1f0014ee9f60ba9f7f3ebf1b1bee4a4eb88cbda8 | dddf45a83058e543cb12f6101876bec5c17bf463 |
refs/heads/master | <file_sep>#include "TProboscidea.h"
TProboscidea::TProboscidea()
: TAnimal()
, SpecName("")
{}
TProboscidea::TProboscidea(const std::string &name)
: TAnimal()
, SpecName("Proboscidea")
{}<file_sep>#ifndef LAB6_THIPPOPOTAMUS_H
#define LAB6_THIPPOPOTAMUS_H
#include "TArtiodactyla.h"
cl... | 9a3d1964567db1ae7293b70fe9f1457611c08b68 | [
"C",
"C++"
] | 17 | C++ | n0k8t/Lab6_Zoo | 11e488367f7302b5633416967a66c07ecb9af9d0 | ee7ef6eb5fc426743a3ba02de38af329075f31ab |
refs/heads/master | <file_sep>import os
print("Hello BOT")
print("who the hell are you not doing this")
print("testing...")
print("working on") | 5b4dd416a5da5cf2e22438b1bcc54cfc28096efa | [
"Python"
] | 1 | Python | taybur43/Chatbot_dialogue_flow_with_python | bb1d67b4e135679e3040aa8c08732ea4a7960895 | c872a758bdc801e7c2a74a2c28883eb7abb8ae8f |
refs/heads/master | <repo_name>aakrandan/To-Do<file_sep>/ToDo/ViewController.swift
//
// ViewController.swift
// ToDo
//
// Created by Ananth on 16/08/20.
// Copyright © 2020 Infosys. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
let tableView = UITableView()
var tasks = [String]()
var ti... | caedb2d39474eaaeaa34824da921678095919249 | [
"Swift"
] | 2 | Swift | aakrandan/To-Do | 050044b1a579c7e48df283b565931e00f840d62b | b8ed9bb2a849740f39ed310a83e8237f3c57e53c |
refs/heads/master | <file_sep>import sys
from PySide2.QtWidgets import QApplication, QWidget, QVBoxLayout, QSlider
from PySide2.QtGui import QPainter, QPaintEvent, QPen
from PySide2 import QtCore
from PySide2.QtCore import QTimer, QTime
class monPainter(QWidget):
def __init__(self, parent=None):
super(monPainter, self).__init... | f13a5ed684531ee44640f4874e79f9c53f9211fc | [
"Python"
] | 2 | Python | bc2h/QtPython_ExoDessin | 256f089857992e13e5068c7002a0c1e09ec9f3cd | ca43055f8f99f2f8dc51160cd85acc6147a11b45 |
refs/heads/master | <file_sep>import React, { Component } from "react";
import { BrowserRouter as Router, Switch, Route, Link } from "react-router-dom";
import "bootstrap/dist/css/bootstrap.min.css";
import "./App.css";
import AddCamera from "./components/camera-add.component";
import CameraList from "./components/camera-list.component... | 14cbe8146c62d2921628ad33e1c1288a1a864d0d | [
"JavaScript"
] | 3 | JavaScript | RadwanNizam/SlewToNearestUI | 2ff5c94d14b1c4ba75ea5dc11a25689dbc14a77d | faf0cfbe538b7bb8033abcce0c1eca928c0ea8e7 |
refs/heads/master | <file_sep>module Geo_Helpers
include Bounding_Box
#####################################################
# Module for generating users within a given area for
# testing clustering methods. Must be included in console
# environment manually if needed.
######################################################... | 7b7167c7dd3d743c2ce46429987ddedf6208add3 | [
"Markdown",
"Ruby"
] | 17 | Ruby | h90barron/cf_api | 08c6800207b55fc53be839f7b609861ddf387243 | c872ea2f7fe67a174c87af5597f02c99604d863a |
refs/heads/master | <repo_name>YelenaGodlevskaya/test-automation-school<file_sep>/module1/src/test/java/test/automation/school/test/WebElementState.java
package test.automation.school.test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.Firefo... | 3f4e371dd7598bea863a6e8a3220896352cd313a | [
"Java"
] | 1 | Java | YelenaGodlevskaya/test-automation-school | 723325ae194b4911d9f9899ad0978f7f112885ed | 154cfa3d2e1c1953f295e85bb87c6b63f338ee85 |
refs/heads/master | <repo_name>dushivani/hacktoberfest-2018<file_sep>/data_structures/linked_lists/CircularListC++.cpp
#include <iostream>
using namespace std;
template<class T>
class CNode
{
public:
CNode<T> *next;
T info;
CNode(const T& el, CNode *n=0)
{
info=el;
next=n;
}
};
template<class T... | 340a7449afbf51dc7d1cb214bb502ce475dc84aa | [
"C++"
] | 2 | C++ | dushivani/hacktoberfest-2018 | b30330d1a8d5653b63a34d48ec8cd22d826566aa | b8d5072788ce7332284e017d68e25bfcec924658 |
refs/heads/master | <file_sep>//
// PromoCollectionViewCell.swift
// Ovo
//
// Created by <NAME> on 04/12/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
import SnapKit
class PromoCollectionViewCell: UICollectionViewCell {
override init(frame: CGRect) {
super .init(frame: frame)
setupVie... | 6d8cc1c6ced570a50b14ef649754fa5352b7aa43 | [
"Swift",
"Ruby",
"Markdown"
] | 13 | Swift | Asykur/IOS_OVO-Clone | 9c982b2bbdaad2fa8539284f337a804b64e4537c | d6d9dd278391f99232da7b9d9ecd35e4ce413dd3 |
refs/heads/master | <repo_name>NazarUsov/zano<file_sep>/src/wallet/wallet_helpers.h
// Copyright (c) 2014-2020 Zano Project
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "wallet2.h"
#include "view_iface.h"
namespace ... | 0b7483588b07600abd78b71ab2e5fcfe544d541e | [
"TypeScript",
"C++"
] | 7 | C++ | NazarUsov/zano | 04ba1f64f47fb65ac5757d0b1e50342a38184265 | 8c1757e1140a774e8bf3d5e535146379aab214b2 |
refs/heads/master | <repo_name>sharma1nitish/catalogure<file_sep>/app/models/product.rb
class Product < ApplicationRecord
ransacker :categories,
formatter: proc { |category_id|
category = Category.find(category_id)
category_ids = category.childless? ? [category_id] : category.leaves.pluck(:id)
ProductsCategory.uniq... | 831f4f51bf5b6a1864e101861b97779679161c9b | [
"Markdown",
"JavaScript",
"Ruby",
"Shell"
] | 16 | Ruby | sharma1nitish/catalogure | 785e7381d3cea5341f0ff62f9f45cba2c0f65a17 | a7b713dbc64c5ac3106c001aa9983c25b2ad0cc2 |
refs/heads/master | <repo_name>ashishbhate/gqueues-date-fix<file_sep>/background.js
browser.tabs.onUpdated.addListener(
function(tabId, changeInfo, tabInfo) {
browser.tabs.sendMessage(tabId, {reload: true, d: {tabId, changeInfo, tabInfo}})
},
{urls: ["*://*.gqueues.com/*"], properties: ["url"]}
);
<file_sep>/READM... | 8231854c36fa9803edba4a5e4def6531b47d2ec5 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | ashishbhate/gqueues-date-fix | 04e372bc039b31638eedda124497b8e101e77577 | 2ef40722ce386ab52d942764ece21bca75433cd0 |
refs/heads/master | <file_sep># Fractal Todo Manager
> Full stack Django/React/Redux Todo app that uses token based authentication with Django Knox.
##### Features:
##### Add, Edit and Delete Todo
##### Add Todo To Bucket
##### Authentication (Login And Registeration)
## Quick Start
Create a virtual env for this project
Clone this p... | 019628bc264518afd298e1340a2734b3cdeba566 | [
"Markdown",
"Python",
"JavaScript"
] | 6 | Markdown | smitcode/Fractal-Todo-Manager | 032c33beb3b4369057cbe955cea6988aeada90dc | 105fc74f17c173857948420f0ebc70b29e430ce2 |
refs/heads/master | <repo_name>lsmucassi/filler-wethinkcode<file_sep>/Makefile
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile ... | d16d4963728e62a3639479eb95ece2da59429586 | [
"Markdown",
"C",
"Makefile"
] | 3 | Makefile | lsmucassi/filler-wethinkcode | db9d1160585f280a7cb07bbfc364e20dab517333 | 74fd125da1cda9c441fad3bab6e15621d140e5e2 |
refs/heads/master | <repo_name>vlcpl/M1_Veille_React_Constraint_Solver<file_sep>/src/Components/NextSolutionComponent.js
import React, {Component} from 'react';
import Card from '@material-ui/core/Card';
import CardContent from '@material-ui/core/CardContent';
import Typography from '@material-ui/core/Typography';
class NextSolutionCompo... | 32dcbccf45489fdfe2788654a31d1e3033341382 | [
"JavaScript"
] | 1 | JavaScript | vlcpl/M1_Veille_React_Constraint_Solver | 40b84fae2b6e54db1a986505cd1b49cc5be47bbf | 373381485aa1928f5b3ba174131a3c8fe3998e9c |
refs/heads/master | <file_sep>import fetch from '../utils/apiFetch';
/*
* /api/v1/users
*/
export const authUser = (email, password) =>
fetch('/users/auth', {
method: 'POST',
body: {
email,
password,
}
});
export const userFromToken = () =>
fetch('/users/self', {
method: 'POST',
});
export const re... | 27b39a9418b953e448f496a8e4939d7c3c8e93ab | [
"JavaScript",
"Markdown"
] | 18 | JavaScript | DawsonG/DoItApp | 61c66277155c5c06c79d5771537ddf205506b268 | da1691cfc3666d8527c6e911ff8a7c442a0ea158 |
refs/heads/master | <file_sep>##############################################################################
### This script takes the samsung data and returns a tidy data set that contains
### only info on averages and standard deviations.
### The resulting data set is a csv file with column names.
### The activity labels are set to be s... | b89fa60d4352e42cc308596733774e81460002b8 | [
"Markdown",
"R"
] | 2 | R | azambranog/projectCleaningData | dbf5e1457fa4e425bfea46a315f6f1e72b1fba4f | f315b46eda1e4c657c2c8ddb63692c021a226d51 |
refs/heads/master | <repo_name>ddarino/labanca-ads<file_sep>/app/models/advertisement.rb
class Advertisement < ActiveRecord::Base
# El Aviso pertenece a un usuario, creo la asociacion
belongs_to :user
end
<file_sep>/app/controllers/application_controller.rb
class ApplicationController < ActionController::Base
protect_from_forgery
... | 19b116d379b7545da1e403016ca36739f4f38739 | [
"Ruby"
] | 9 | Ruby | ddarino/labanca-ads | b2b32e32f0cd7b4638864a0a4f02f580e6ee520e | 698aa0b2df9dc0b662542fff40a08c1f023d93d7 |
refs/heads/master | <repo_name>fragnatic62/Flask-Demo<file_sep>/app.py
from flask import Flask, render_template, json
app= Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@app.route('/about')
def about():
return render_template('about.html')
@app.route('/contact')
def contact():
retur... | bad8653f0d3dc78b59cd73953539d26bca6ac78a | [
"Python"
] | 1 | Python | fragnatic62/Flask-Demo | fa3f16f93791091a5bb52ceb8a094d83bca9273d | 354fa1c8d2f114cc0a49fc2114208fc69d107502 |
refs/heads/master | <file_sep>from django.shortcuts import render
from django.http import HttpResponse
from django.template import loader
from .models import *
from .services import obj2json, errorRep
from fetch_data.conn import dbconn
from pymysql.err import ProgrammingError
# Index
def index(request):
return render(request, 'index... | 621281af90949f326680c703be4e1aeafccaf99a | [
"SQL",
"Python"
] | 9 | Python | zdy963/MLP | 59b1d321c664b545c151ad4fd8d19a6fa7f71ea1 | 2c14cfafc633058b491ec9fef179b9908c75e4cf |
refs/heads/master | <file_sep># s2
Super Simple WordPress Theme
This WordPress theme shows only content on your page.
No titles, no meta, no blog loop.
Sample Content
```html
<div class="flex bx">
<div class="md-c1_2">
<div class="fill bgc" data-src-background=""></div>
</div>
<div class="md-c1_2 p1">
<h1>P... | 64b88b1a920c4aa6de95605fcd157a6f3d412e70 | [
"Markdown",
"PHP"
] | 3 | Markdown | metinsaylan/s2 | 7e1add6c6fe656339be995fb38a6b535976c7d43 | 957dc66561a5aa7d32e9b5b80377d5bac3a8721a |
refs/heads/master | <repo_name>stoikerty/the-melting-pot<file_sep>/README.md
the-melting-pot
===============
A place where I draw mind into digital matter.
<file_sep>/z_Archived/snapshot 2014 05/serve actions/source/js/main.js
require.config({
baseUrl: 'js',
paths: {
'requestanimationframe' : 'polyfills/requestanimationfr... | 151b514081d755c4e772c8f4abea22aeeb080af5 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 19 | Markdown | stoikerty/the-melting-pot | 07d58a5164d77b89b14ddbf958be8f4d4fe1b440 | 0bebcfff63fa27819349dda08e1bc6be21474045 |
refs/heads/master | <repo_name>psahu-deqode/wipro-cloud-functions<file_sep>/lib/logger.py
import logging
logging.basicConfig(filename='cloud_functions.log', level=logging.DEBUG,
format=f'%(asctime)s %(levelname)s %(name)s %(threadName)s : %(message)s')<file_sep>/fullfillment/hud_rel.py
from lib import logger
from full... | 642d41b682e0fbeb7a2072dfeade254ab64b7d05 | [
"Markdown",
"Python",
"Text"
] | 16 | Python | psahu-deqode/wipro-cloud-functions | c27d59f855a007c50f139ec63f175570a9569565 | 77d0b2bcfcfd80cd8a7ee9236ec8e1afbd68a0b5 |
refs/heads/master | <repo_name>Shalex9/app-film-card<file_sep>/src/app/toolbar/toolbar.component.ts
import { Component } from '@angular/core';
// import { RouterModule } from "@angular/router";
@Component({
moduleId: module.id,
selector: 'toolbar',
templateUrl: './toolbar.component.html',
styleUrls: ['./toolbar.component.css']
})... | 855e4a7e34e8ead65410834db43161c068426d40 | [
"TypeScript"
] | 2 | TypeScript | Shalex9/app-film-card | 028d6a9b133eaaad14d2122f930e7f29ba7dce91 | 8354188bdef0154379e7c650f1fac4c0df91ee0e |
refs/heads/master | <repo_name>WeatherThemes/Zipper<file_sep>/index.php
<?php get_header(); ?>
<body>
<div class="container-fluid">
<!-- Navigation -->
<div class="tm-nav">
<nav class="navbar">
<button class="navbar-toggler hidden-md-up" type="button" data-t... | bada05772cff05056c4681c8da7fa58429f2003d | [
"Text",
"PHP"
] | 4 | PHP | WeatherThemes/Zipper | 2078c73d250aae83bf2fe533dfbb4d17e4d278f0 | 47088afea6cdb82772c1978afe4c6cf7b613f9d2 |
refs/heads/main | <file_sep>#include <stdio.h>
#include <stdlib.h>
typedef struct Element{
int *data;
struct Element *next;
}Element;
int push(Element **stack,int *data);
int pop(Element **stack,int **data);
int createStack(Element **stack);
int deleteStack(Element **stack);
////////////////////////////
... | aeed03943bd6d3b410cd13921c7035503fddb1f2 | [
"Markdown",
"C"
] | 2 | C | amaraoussama94/stack-implementation-in-c-using-a-linked-list | 9b3da017ce49fbe483f678245b8372a22e59f1cb | f0d256ab6114b03cda1d1eefa7fe3144a4214959 |
refs/heads/master | <repo_name>rvladimiro/QuickCode<file_sep>/interactive-plots/plotly.R
# Clean it up ------------------------------------------------------------------
rm(list = ls())
require(plotly)
# Create the dataset -----------------------------------------------------------
# Fake monetisation vars
fmv <- data.frame(
date =... | 6032f6dd24a82dcff0af4b4602997492ba2145cb | [
"Markdown",
"R",
"RMarkdown"
] | 21 | R | rvladimiro/QuickCode | 61172ddfa93fa055dd9eb744488ab0c41d8b33f2 | 17394b13b0f03dadcbc6f7105ac93d91e9642b46 |
refs/heads/master | <file_sep>import React, { Component } from "react";
import "./App.css";
import soundFile from "./sounds/Hypnotic Clock Sound.52d08540.m4a";
class App extends Component {
constructor() {
super();
this.state = {
year: 0,
month: 0,
monthDays: 0,
day: 0,
week: 0,
hour: 0,
... | a330f0dcc39f1372e079772d35dc9dd9524b105c | [
"JavaScript"
] | 1 | JavaScript | cvassia/timeCode | 91f9cafb5eb5c194bcdbd45fdb779a6a49d82bcc | 765c51441db6dd8a44410ff3b73836c3a965477a |
refs/heads/master | <repo_name>Frannyontech/patrones_y_ciclos_anidados<file_sep>/Desktop/Desafio_Latam/ruby/semana2/desafio anidados/patrones.rb
n = ARGV[0].to_i
# metodo letra_o(n)
def letter_o(n)
n.times do |i|
print '*'
end
print "\n"
(n - 2).times do
print '*'
(n - 2).times do
prin... | cebd706c9a957ef6409089dd007e532413195140 | [
"Ruby"
] | 4 | Ruby | Frannyontech/patrones_y_ciclos_anidados | eb2f9f36508aa3200a4663745f28c38f42141de7 | 7aec58619e445a672a1dd050dcbcd38721d0b52b |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net;
using System.Text;
using SnmpSharpNet;
namespace EntPhysicalTableTree
{
public class SNMPUtil
{
public static List<T> GetTable<T>(string ip, string oid) where T : class, new()
{
... | 7718698ceb63163166694c4a3274bc05f4b436d4 | [
"C#"
] | 5 | C# | celery94/EntPhysicalTableTree | 961aa537cbab21cf611061c6932c8f09fe184d55 | 71be38d9fee065bbbabe36854a151561d69a54ac |
refs/heads/master | <repo_name>cp-venture/reaction-marketplace<file_sep>/lib/graphql/resolvers/Query/index.js
import shops from "./shops.js";
export default {
shops
};
<file_sep>/lib/graphql/resolvers/Query/shops.js
import getPaginatedResponseFromAggregate from "@reactioncommerce/api-utils/graphql/getPaginatedResponseFromAggregate.js";... | 7e10110515873aa03a1fa8653cb9b5054555916a | [
"JavaScript"
] | 3 | JavaScript | cp-venture/reaction-marketplace | 4d88f030144002714e043080dee1f3f3bb459f12 | 7425ecf64ffeaaaf10add31a965c47cd5c19079f |
refs/heads/master | <repo_name>yuanbosoft/taka<file_sep>/src/main/java/com/tiandetech/takka/old/TakaActor.java
package com.tiandetech.takka.old;
import akka.actor.UntypedActor;
public class TakaActor extends UntypedActor
{
@Override
public void onReceive(Object arg0) throws Exception
{
System.out.println("Into TakaActor...... | ea1dc4d8b06c92eb54864ef5a85b86bad66465c0 | [
"Java"
] | 2 | Java | yuanbosoft/taka | bb05b3636e49c9da7c33f143cde682e734027135 | 88b377b2cefdb0ecd0e1f2a381226003479d5e45 |
refs/heads/main | <repo_name>titaniumbutter/traceability-lab<file_sep>/server.js
const express = require('express')
const path = require('path')
const app = express();
var Rollbar = require("rollbar");
var rollbar = new Rollbar({
accessToken: '<KEY>',
captureUncaught: true,
captureUnhandledRejections: true
});
app.use(express.js... | 9b36428778bec366cd2d0ac9100c52afa5b64df9 | [
"JavaScript"
] | 1 | JavaScript | titaniumbutter/traceability-lab | fddde22280f1c857d78425942f60d3d3af330913 | 2a78d911de09b5feb99216a4ac1198357e89f271 |
refs/heads/master | <repo_name>alxmrph/artist-database<file_sep>/artist_database/artistdb/models.py
from django.db import models
# Create your models here.
class Genre(models.Model):
name = models.CharField(max_length=20, unique=True, blank=False)
def __unicode__(self):
return self.name
class Artist(models.Model):
name = mod... | 401545b0eebe4ddecf6f7da872f6076a14ecd1e4 | [
"Markdown",
"Python"
] | 5 | Python | alxmrph/artist-database | aed7d16d3a47c01db888a54aba40b7623cbe1f2b | 9122a483f9d12eb72415c1e9f7a45e33fc006b14 |
refs/heads/master | <file_sep>package com.management.controller.mian;
import com.management.entity.Notice;
import com.management.entity.Pay;
import com.management.mapper.NoticeMapper;
import com.management.mapper.PayMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
im... | 706de06254909e4af2fc96e4805afbe108c03a5d | [
"Java"
] | 15 | Java | zxy1998329/management | 5089a06e6616fcfeb9e36a04ed8e0f7ab22fb242 | 7a584e17c7dbb20865cdfe2cb86d80e220bc48ea |
refs/heads/master | <repo_name>abhakthan/javagql<file_sep>/README.md
# javagql
Java Spring integration with GraphQL
# Run
> mvn clean install
> mvn spring-boot:run
> http://localhost:8080/graphiql
{
orders {
id
orderNo
custNo
totalCost
}
items {
id
orderId
unitCost
docNumber
productName
p... | dfb45e2ad3d77cfb58f48ae16fd8799790fcd94c | [
"Markdown",
"SQL",
"Java"
] | 5 | Markdown | abhakthan/javagql | 43c0f6c58394f670c652fe2ddaee436f77eb383a | 05ba0c69211bae59ed6d67bf7f0aaec0cecd5e84 |
refs/heads/master | <repo_name>rohitiskul/flutter_preferences<file_sep>/ios/Classes/SwiftFlutterPreferencesPlugin.swift
import Flutter
import UIKit
public class SwiftFlutterPreferencesPlugin: NSObject, FlutterPlugin {
public static func register(with registrar: FlutterPluginRegistrar) {
let readerWriterCodec:PreferencesReaderWriter... | 43ea7a41d2e11942f3b08ae6183e7ccb56888e36 | [
"Swift",
"Java",
"Markdown",
"Gradle"
] | 5 | Swift | rohitiskul/flutter_preferences | 50b64eb449636db79ecf674ad289740b19b45e73 | 62851f1afd52ca28b2435d28b5e98ab71ea7b180 |
refs/heads/master | <repo_name>jpdias/Library-Enterprise-Distributed-App<file_sep>/Warehouse/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.Serializati... | 19e72291af370fe7ba75c642c16a7e79f40e07a4 | [
"JavaScript",
"Markdown",
"Makefile",
"C#",
"PHP"
] | 33 | C# | jpdias/Library-Enterprise-Distributed-App | d5b6e105e44fc1c675f14c42836f34cb2a595395 | 96224544f20cb4386445e3e4fb3401f6ebb91dc0 |
refs/heads/master | <file_sep>import Interpriter
import os
directory = os.getcwd()+"\\"
file_paths = []
for root, dirs, files in os.walk(directory):
for file in files:
if file.endswith('.es'):
file_paths.append(file);
## print(file_paths)
print(str(file_paths.index(file))+" - "+f... | b0a10450389dfb9129ad3d86fd5029298cfd7501 | [
"JavaScript",
"Python",
"Markdown"
] | 6 | Python | Haz001/EnSim | 0a0c83f02bedd3b2060b1369978ee47c1b2bcdeb | 24cae68000418913deb02646895d1aaf6a6e8fd0 |
refs/heads/main | <repo_name>SaiAnvitha-k/Bestenlist<file_sep>/day2.py
#How to print a value:
print("30 days 30 hour challenge")
print('30 days 30 hour challenge')
#Assigning String to Variable:
Hours = "thirty"
print(Hours)
#Indexing using String:
Days = "Thirty days"
print(Days[0])
#How to print the particular character from cer... | 9c76b21e87704667ee8a0074e9aae5af44b8f5d9 | [
"Python"
] | 19 | Python | SaiAnvitha-k/Bestenlist | 9a90a5f88754d21881151603ed4fb5a3f3c52c8d | 31ab0dfa7776766a98fc2705754398fb0cb46079 |
refs/heads/master | <repo_name>egor1989/FEM_editor<file_sep>/src/core/Model.java
package core;
import java.util.ArrayList;
import editor.Drawing;
public abstract class Model {
private Time time; //Global time scale in model;
private PointsSet<MeshNode> modelNodes; // Global model nodes
private PointsSet<MeshNode> cont... | 68d71087f99906faa2797258e29538e1919e3d73 | [
"Java"
] | 5 | Java | egor1989/FEM_editor | 4d424e8a70024e1b04ac816214f33637d743d6e4 | 5435a1e0185030fa68b86841273b31037fd397fc |
refs/heads/master | <file_sep>#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include <stdbool.h>
int main()
{
int arr[6][6], c;
for (int arr_i = 0; arr_i < 6; arr_i++)
{
for (int arr_j = 0; arr_j < 6; arr_j++)
{
scanf("%d", &arr[arr_i][arr_j]);
... | e9acc171b2fc0311dc2954c9381ef5bbab59592c | [
"Markdown",
"Java",
"Python",
"C",
"C++"
] | 10 | C | rajharsh81070/HackerRank-Solutions | 8159eb34aa24cd33d4638f8ec36ea06db0b078f3 | bf78c4d2c09927e1a224bb6c2d22226ad5c679d5 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
import re
import requests
class GithubUserSpider(object):
URL_DB = {
"home": "https://github.com/username",
"starred": "https://github.com/stars/username?direction=desc&"
"page=page_number&sort=created&_pjax=%23js-pjax-container",
"... | 986d90501de5b52f5f99d620fc2f9cc8d816d76b | [
"Markdown",
"Python"
] | 2 | Python | amaork/spider_study | f430df6738abcef37f297265e2fb1075bb3bbb8b | a81dc281ced6493b8d938775a87873c1e41dc497 |
refs/heads/master | <repo_name>moonzwu/VulnerabilityObserver<file_sep>/PsirtPageAnalyzer/views.py
from django.shortcuts import render_to_response
from django.template import RequestContext
from PsirtPageAnalyzer.models import BusinessUnit
# Create your views here.
def index(request):
alphaTbl = "abcdefghijklmnopqrstuvwxyz"
bus ... | 0dde107039106260887a1e76f6cf1dab9a80e032 | [
"Markdown",
"Python",
"JavaScript"
] | 17 | Python | moonzwu/VulnerabilityObserver | 414f9316ac7bda05fe89b8cfe128e31e91bd4ed8 | 49094de254d6dae6ef98f607d4dbcbac7a7b3b63 |
refs/heads/master | <file_sep># coding: utf-8
import httplib, mimetypes, mimetools
import os
from multiprocessing import Process, Queue
from bs4 import BeautifulSoup as bs
from util import *
import re
import time
from winsound import Beep
from win32com.client import Dispatch
import zipfile
from cStringIO import StringIO
import stat
c... | b23753771f898341229ec720516f9a8986952c23 | [
"Python"
] | 4 | Python | JangChangHwan/welbook | 9ac1972219c76ba3b6bf920ab7a63fb7ea02416a | b0f585359c6287ea001d45d0fe406d56d46621f2 |
refs/heads/master | <file_sep>var wifi = require("Wifi");
var f = new (require("FlashEEPROM"))();
var server = "m14.cloudmqtt.com";
var options = {
port: 16639,
username: "bpltewxc",
password: "<PASSWORD>"
};
var id;
var idLight;
var relaysState = {};
var accessWrite = true;
var accessRead = true;
var queueStore = [];
var ... | f1c6d5599d9950e21308fec2b8ae24da136c3216 | [
"JavaScript"
] | 2 | JavaScript | AlbyRolf/MQTT_relays_ESPRUINO | 93e7bf87e366b2e122e19f337b4cddb5244a217f | b1bb68e0286a1aa0a5eaa4c1a0a5966bdb137ef9 |
refs/heads/master | <file_sep>// ==UserScript==
// @name [HSE] LmsUserProjects_Min
// @namespace https://hse.devredowl.ru/customs
// @version 1.0 beta
// @description User Own LMS
// @author <NAME>
// @match https://lms.hse.ru/student.php?ctg=personal*
// @require http://devredowl.ru/PublicJS/jq330.js
//... | 95d9f97b5b54bafa7d424546274d6ca5b700ac40 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | DevRedOWL/HSE | 5e4009e918ae65a479bf9cc5d3b049e1be863b45 | 0e9d3520038c9d32772fc36df5a6334076d29796 |
refs/heads/master | <repo_name>ZafarMuslimov/UzbekWriters<file_sep>/app/src/main/java/com/example/uzbekwriters/BiographyFragment.java
package com.example.uzbekwriters;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android... | 9de88293ef47495672a7188d2a3ae0aaf739fc6b | [
"Java",
"Kotlin",
"Gradle"
] | 5 | Java | ZafarMuslimov/UzbekWriters | ab9ad5380f1915ebebca52e52fc1a2b1f5363761 | 81aea5ee7875bff9757287e468eba47fc4b413f0 |
refs/heads/master | <file_sep>#Exploratory data analysis code
## Get univariate distribution
setwd("the location of ur data")
project_dataset<-read.csv<-("datasetname.csv")
install.packages("Hmisc")
install.packages("pastecs")
library(Hmisc)
library(pastecs)
nums <- sapply(project_dataset, is.numeric)
Hmisc_result<-descri... | e5f6a11c9f013bd2c787ad5df1a6b0735c07a79c | [
"Markdown",
"R"
] | 3 | R | roshanzubair/Telecom-churn | 3b06ffe272bdc75c1f5569173b0e97a3781cd8f5 | 31a7388603dce7f8230f11fd2400406e224d8fca |
refs/heads/master | <file_sep>require("dotenv").config();
var keys = require("./keys.js");
var Spotify = require("node-spotify-api");
var spotify = new Spotify(keys.spotify);
var fs = require("fs");
var axios = require("axios");
var moment = require("moment");
var action = process.argv[2];
var parameter = process.argv.splice(3).join(" ")... | 1bfc2a6e1bbfb17257f7993741d84716c3555f9e | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | deadmosquito/liri-node-app | d45e3ffd1331c5c085c79239ddb86f53802bac14 | d663b4fc07a20eccdeeb1ce5aaae9bc9d7871369 |
refs/heads/main | <repo_name>IsmoiljonAkbarjon/Auth-files<file_sep>/server.js
const express = require('express')
const app = express()
const mongoose = require('mongoose')
const dotenv = require('dotenv')
const morgan = require('morgan')
const UserRoute = require('./routes/users')
const AuthRoute = require('./routes/auth')
const UploadR... | 44906feeb5b3bf696345ce3ea683696b3ce54e79 | [
"JavaScript"
] | 3 | JavaScript | IsmoiljonAkbarjon/Auth-files | 6574990f31a457c9014cbc45ced6a61b6fa3c735 | eccd4196378391b8f03daf0977e1e08af005b722 |
refs/heads/master | <file_sep>class GameObject {
private o_id: string;
}<file_sep>declare class GameObject {
private o_id;
}
declare class StateMachine {
private _attributes;
private _states;
currentState: State;
init(): void;
constructor(attributes: StateMachineAttribute[]);
SetAttribute(key: string, value... | 91c13ee4f21b4023413d5fe3f3bfb7f8d1b4d74d | [
"TypeScript"
] | 5 | TypeScript | SergheiGurgruov/OnionEngine | 7f828d109bed40d355f80c6fa22881ff72599c56 | 0ce23249d00ba2b9171ddf3a4f7f0cab579b5963 |
refs/heads/master | <repo_name>LysenkoAnton/GameStore<file_sep>/GameStore.Domain/Entities/ShippingDetails.cs
using System.ComponentModel.DataAnnotations;
namespace GameStore.Domain.Entities
{
public class ShippingDetails
{
[Required(ErrorMessage = "Enter your name")]
public string Name { get; set; }
[Req... | 6c33d768ed27207cb7f3c970c34ee447a254032d | [
"Markdown",
"C#"
] | 3 | C# | LysenkoAnton/GameStore | 498c665fb514cd21d5191b6973dd14ed9a8cd7f1 | 2a3bc375a8cb8006eee8cdd1c9c7498b611c095d |
refs/heads/master | <repo_name>HiIAmKarthiK/demo-jest<file_sep>/functions.test.js
const functions = require('./functions');
// toBe() for primitive values
// toBeFalsy() -> 0,null,undefined
// toBeEqual() -> for objects/arrays
// toBe()
test('to be equal to 4', () => {
expect(functions.add(2, 2)).toBe(4);
});
// toEqual()
test('shoul... | 4a00401d11684ea672b423bff6d75be86b284f85 | [
"JavaScript"
] | 1 | JavaScript | HiIAmKarthiK/demo-jest | 6e7571804d2f1ddb03a36a8edc1c82323b18acc8 | ce53b0cec97b591425441750a3bfc66c3a77123b |
refs/heads/master | <file_sep>package example.yunus.a13reasonswhy.Fragments;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.support.annotation.NonNull;
import android.support.v4.app.... | bf70143446cb22b57186a404460d0b6c87fbf6da | [
"Markdown",
"Java"
] | 2 | Java | burakekmen/13ReasonsWhy | 1ada82a2fc27fa0bb8eccceec33ae6d2ec228618 | 1348c470b21d527afc7b1d0943fdc934ce8af85b |
refs/heads/main | <repo_name>chintaiann/Gratia-Backend<file_sep>/README.md
# Gratia
Simple full stack application that allows users to log something they are grateful for.
| cbd470ca3b58085cec2818395cbc43ec497189cc | [
"Markdown"
] | 1 | Markdown | chintaiann/Gratia-Backend | b8aef6b41b7b702a62f8d824b2abf9a0395be189 | 9bfd6ed68a56464ddc1a7dc099ed03733e77e479 |
refs/heads/main | <repo_name>dikibaehaqi/pratikum2<file_sep>/README.md
# pratikum3
## Latihan lab 1, lab 2 dan Tugas Latihan
### membuat Lab 1 dan Lab 2
tentang penggunaan end, penggunaan separator dan string format


### membuat program penghitung luas dan keliling lingkaran
ini adalah hasil pro... | acd4f53466ebe3e37d4f64da9483ba57ac2959d9 | [
"Markdown",
"Python"
] | 3 | Markdown | dikibaehaqi/pratikum2 | b944bb1bc92ea288b8a1c5b387cde99d71ede7c1 | f7d2f976237e72831aa97a6436384cb355faae3b |
refs/heads/master | <repo_name>eugenekon95/ContactManager<file_sep>/db/migrate/20210531143537_add_user_ref_to_contacts.rb
class AddUserRefToContacts < ActiveRecord::Migration[6.1]
def change
add_reference :contacts, :user, foreign_key: true
end
end<file_sep>/config/routes.rb
Rails.application.routes.draw do
get 'dashboard/index'
... | a1b01f23c7a61ab896a0f19fa32a9adfe8a2d1cc | [
"Ruby"
] | 4 | Ruby | eugenekon95/ContactManager | 9c9f9eba586b3be8630a80b1b0298a227c463a2c | 930b41267c6508fccba094e78631f8616103b047 |
refs/heads/master | <file_sep>import React, { Component } from 'react'
import './App.css'
import axios from 'axios'
class App extends Component {
state = {
venues: []
}
componentDidMount(){
this.fetchVenues()
}
loadMap = () => {
loadScript("https://maps.googleapis.com/maps/api/js?INSERT_API_HERE&callback=initMap")
... | 376f087a3f7d35d055161c321152d8df482507de | [
"JavaScript"
] | 1 | JavaScript | Hansen1992/HiddenMuseums | 858a2fd199972a116bcdda1d24bbc947457ab991 | cb95810a1cdfb10f88d5c0697fc13a7cda171a8f |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import './Particles.css';
import Particles from 'react-particles-js';
import particlesConfig from './config/configParticles';
import Header from './HeaderComponent/Header';
import About from './AboutComponent/About';
import Skills from './SkillsComponent/Skills';
imp... | 9c4d269d1d90cd0eb8b1445b86b40c243a2c5e1f | [
"JavaScript"
] | 4 | JavaScript | FrancisAbouNader/React-Project | ca82bd5c0980387f374560295d3c90a73ee5f294 | b2878a4ea59d9f23343b8678da25dca988dfe8a7 |
refs/heads/master | <repo_name>nerdaliciousCH/UdacityAndroidNanodegree_SandwichClub<file_sep>/app/src/main/java/com/udacity/sandwichclub/utils/JsonUtils.java
package com.udacity.sandwichclub.utils;
import android.util.Log;
import com.udacity.sandwichclub.model.Sandwich;
import org.json.JSONArray;
import org.json.JSONException;
import o... | 704875e406af2fb84eb96fc62338d68e1d7cb03f | [
"Java"
] | 1 | Java | nerdaliciousCH/UdacityAndroidNanodegree_SandwichClub | ec915927526bff616022f88ab114bb30e5249b2a | 81a4749f84b9ff6cb476eac9c8d7132e52680194 |
refs/heads/master | <repo_name>leroyjvargis/icfoss-iot-trvdaas<file_sep>/log/index.php
<?php
$link = mysqli_connect('localhost', 'root', 'root', 'TRVDaA') or die("MySQL Error: " . mysql_error());
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Traffic Rule Violation and Detec... | 6e371271cc2d127a0507c469662a93ac9eee366f | [
"Python",
"PHP"
] | 5 | PHP | leroyjvargis/icfoss-iot-trvdaas | c69bb92edb1c5d87f5bcbdd6fc6b8ab0ae7e4976 | 72b3fc2792a2cc23f45e5b71d8979d96801f07b6 |
refs/heads/master | <file_sep>using System;
using System.IO;
using System.Reflection;
namespace DeepLinkBackdoor.UITest
{
/// <summary>
/// Main configuration file for local UI testing. This implementation should cover most cases.
///
/// More advance usage scenarios might include multiple configurations for
/// mu... | 83c1f77eebbec9937386054f7b1484d615aa1be5 | [
"Markdown",
"C#"
] | 5 | C# | vvolkgang/XUTSample.Deeplink | 933c93e2e457af91a311eb8583983428e6a0fd93 | 989d16f952e7286bbd245d3f37608cd3de6cda49 |
refs/heads/master | <file_sep>function addNumbers (...numbers) {
return numbers.reduce((sum, n) => {
return sum + n;
}, 0);
}
module.exports = addNumbers;
<file_sep># THIS IS A GARBAGE TEST REPO, PLEASE IGNORE
# my-really-fast-module
[![npm-version][npm-version-badge]][npm-version-href]
[![build-status][build-status-badge]][bui... | c2e8528b7d61adaa9bbc3b49fba26d34bedde58f | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | scott113341/my-really-fast-module | 3e3d2b1999d5a972bb5ce018836588fb1a02bbfa | 84146e66ad43d1e4af6f2ddc841f9d871f6733cc |
refs/heads/master | <repo_name>manu-03/Overtale<file_sep>/README.md
# Overtale
(TEMPORARY NAME) RPG ComputerCraft game
It might start being text-based, but i'll try to make graphics
<file_sep>/main.lua
--Function Defining
function drawText(_x,_y,_line1,_line2,_line3)
w, h = term.getSize()
local x = _x or 1
local y = _y or h-3
ter... | 723fdf8c62c10347d7571d7338a1e42637ef2746 | [
"Markdown",
"Lua"
] | 2 | Markdown | manu-03/Overtale | 77a60ba8c2a1845ab904585b6b4e87fa042836d7 | 3994196462e1e5009980741f4ae174ce358d4432 |
refs/heads/master | <repo_name>JuarezCout/trabalhoArqOrg<file_sep>/MemoriaRam.java
package trabalhoArqOrg;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
public class MemoriaRam implements Runnable {
private static final Object In... | 64e14eb9c5d87fab9213e5bfd7324e0a3b0dd0e3 | [
"Java"
] | 5 | Java | JuarezCout/trabalhoArqOrg | 50aace49669c55a0e3b86f6c6b602eec3e64020f | 954fb2a44517385859d97f032b7571fa2eb6a4e6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.