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.kronsoft.medicaloffice.controller;
import com.kronsoft.medicaloffice.dto.MedicalProcedureContentDTO;
import com.kronsoft.medicaloffice.dto.MedicalProcedureDTO;
import com.kronsoft.medicaloffice.service.MedicalProcedureService;
import org.springframework.beans.factory.annotation.Autowired;
import ... | 6f35417d25a8ca9da718c7eab9600e6b892c8e9d | [
"Java",
"INI",
"Gradle"
] | 10 | Java | ciurea-gabriela/medical-office | 7aa54e220629f41c9af525af4838b376ca20f232 | acbc4c66bb3a9f3d836ee9eeebc0800aab6905db |
refs/heads/master | <repo_name>elmedina1/SauceMaven<file_sep>/src/main/java/pages/LoginPage.java
package pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class LoginPage {
//define driver object
private WebDriver driver;
//define locators
private By username = By.id("user-name");
private By passwor... | cedb43f3736e63dd60b2627226f1ec221a428ac3 | [
"Java"
] | 2 | Java | elmedina1/SauceMaven | 168e0bbc29a7a235667e8e0445293b4eda8aef53 | 881f3ee41a1e5348178ce73eec3dda7b18e7eb9b |
refs/heads/master | <file_sep>"""
Unit tests for Primes package
"""
import unittest
from desc.primes import is_prime
class PrimesTestCase(unittest.TestCase):
"""
TestCase class for is_prime function.
"""
def test_two_is_prime(self):
"Test that two is prime."
self.assertTrue(is_prime(2))
def test_three... | 594aa738a40b1aaf900516794e55a86dc6131054 | [
"Python"
] | 1 | Python | jchiang87/my_Primes | bd306e0c9dfd6cd476c23094c072b73d9da18a18 | 643f9229677268d9276e4f9e32a71744f6eb958a |
refs/heads/master | <file_sep>function takeANumber(line, name) {
line.push(name)
return `Welcome, ${name}. You are number ${line.length} in line.`
}
function nowServing(line) {
if (line.length === 0)
return "There is nobody waiting to be served!"
return `Currently serving ${line.splice(0,1)}.`
}
function currentLine(line... | efdecd7b097473f1010c6c988d08da4b91ea1b52 | [
"JavaScript"
] | 1 | JavaScript | cwgabel/js-deli-counter-js-intro-000 | c32d22ca764befc02a070a251b1cd1476bb1b4f2 | 57a7a4651d72813efb9c09587fb4288681a45c5c |
refs/heads/master | <file_sep>
function loadRobotThree() {
var robotThreeGroup = svgContainer.append("g").attr("id", "robotThreeGroup");
robotThreeGroup.on('click', showKeyOptions);
var robotThreeGroupBody = robotThreeGroup.append("g");
var robotThreeGroupHead = robotThreeGroup.append("g").attr("id", "robotThreeGroupHea... | 1ae3837d2ae1b6f4ccd1549cb111397abe8ac49b | [
"JavaScript",
"C++",
"Markdown"
] | 8 | JavaScript | dbrown725/JokeBot5000 | e9c270d8c7bbe30c128ce186f914b44274746300 | ca8d9c29863776bf2fd6428c5389aeb5e5143a69 |
refs/heads/master | <file_sep># k6-performance-testing-example
<file_sep>import { group, sleep } from 'k6';
import http from 'k6/http';
// Version: 1.2
// Creator: WebInspector
export let options = {
maxRedirects: 0,
};
export default function() {
group("page_3 - https://www.christopheradams.com/", function() {
let req, res;
... | 6b5cc04e2e15653bc01dd24533082bbe5ec27b11 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | gitchrisadams/k6-performance-testing-example | a9c49acf497e1f0d33a30669baf58b8b492a0f2d | b8a160196fc8d410e0635e2d53966e8b7379cdd0 |
refs/heads/main | <file_sep>[API]
; Server name
server_name: your_server_name_here
; Profile ID
profile_id: your_profile_id_here
; IFB API Key
ifb_key: your_api_key_here
; IFB API Secret
ifb_secret: your_api_secret_here
[List]
; Filename of input CSV
csv_in: example.csv
; Update
update: True
<file_sep>#-------------------------... | 78a1ce5c7381d317fb42a21da6f9f83a8ac467ef | [
"Markdown",
"Python",
"INI"
] | 6 | INI | bdevoe/ifb_syncer | e7606c954a59c09fe8c7e21925a48423d2678af6 | ae262489dcab752599c0313071efc0775c3ea225 |
refs/heads/master | <file_sep>r"""Insert mock data into database.
Inserts into the tables without FKs first:
>>> c = Schema("Country", [Column("code", "TEXT", None),
... Column("name", "TEXT", None)])
>>> u = Schema("User", [Column("name", "TEXT", None),
... Column("country", "TEXT", Reference(c... | 3cca0e1118226c3677c33439aee0989be02c4c87 | [
"Python",
"Text"
] | 6 | Python | mrgriffin/mock-db-data | e9ecc221c6249d5365996913a70f2ce7b0517380 | 57c64057a520945b1cb73594e8570ce84a0aee76 |
refs/heads/main | <file_sep>export const state = () => ({
content: "",
color: "",
snackVisible: false,
});
export const mutations = {
showMessage(state, data) {
state.content = data.content;
state.color = data.color;
state.snackVisible = true;
},
closeSnackbar(state) {
state.snackVisible = false;
},
};
expo... | 217aef8b0a157c63e58ddbe700db1a06f99c2287 | [
"JavaScript"
] | 1 | JavaScript | josifovicmilan/svedocanstva-client | 14cb0f3f6abc5db6a84d80f2dfc54bde38dda70f | 2a2646d4104bcfc53145e7d8a2daa777284b57a5 |
refs/heads/master | <file_sep>package tests;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import base.TestBase;
public class TestSigninPage extends TestBase {
@BeforeClass
public void classSetup(){
headerSection.signinLink.click();
}
@Test
public void testSigninWithV... | 259cdf3e74a7cdfd418c8c215bf7fba204122b50 | [
"Java"
] | 2 | Java | mdabedinny/regressionTest | 1ce96634b9e0b8085025ee9682e118572a748874 | 9bff42c9e1d05d4dcada8db152b6c0a0d8025a5d |
refs/heads/master | <repo_name>leonrinkel/nrf5-sdk<file_sep>/.vscode/undef.h
#ifdef __APPLE__
#undef __APPLE__
#endif
| 060e870b6838d2f1323994698c6bb5184e069bfd | [
"C"
] | 1 | C | leonrinkel/nrf5-sdk | cd24de36339db778bd77c75163d82c41cb6ad63c | b1d1c203f164438c61ee9902a676d4bba7c36464 |
refs/heads/master | <repo_name>elMepox/Telman_lab_3-4<file_sep>/MPI.py
from prettytable import PrettyTable
def f1(x, y):
return x ** 2 + y ** 2 - 4
def f2(x, y):
return x * y - 2
def alpha(x, y):
return x / (2 * (y ** 2 - x ** 2))
def betta(x, y):
return y / (x ** 2 - y ** 2)
def gamma(x, y):
return y / (2 * ... | 8bfc8e92c6278b26d06c9838b38063843999ca94 | [
"Python"
] | 2 | Python | elMepox/Telman_lab_3-4 | 2cbeaaf84b291aa127a83183df7a92514cb46cf7 | 6a201b459159852dd2c77a0d169e51589964d2c3 |
refs/heads/master | <repo_name>dragonmaster-alpha/emp-sig<file_sep>/src/utils/date-time.js
import { zonedTimeToUtc, format } from 'date-fns-tz';
const formatDate = (date) => format(date, 'yyyy-MM-dd HH:mm:ss.SSS');
const getClientTimeZone = () =>
Intl.DateTimeFormat().resolvedOptions().timeZone;
export const genCurrUTCTime = () => {
... | 8e1454a7990273364d83d6d8486c5c7cafccbd79 | [
"JavaScript"
] | 55 | JavaScript | dragonmaster-alpha/emp-sig | 9b8670e241a988ec20ee7f005ca24075b59ccb2d | 64f4e71568519638782b1d47ffcda3931deabf8e |
refs/heads/master | <file_sep>package legacy
const (
P2KH uint8 = 31
P2SH = 90
P2KHTestnet = 66
P2SHTestnet = 127
)
// Address is a structure which has a raw unpacked version of a legacy
// address.
type Address struct {
Version uint8
Payload []uint8
}
| 186d92b0cd577e7bd331acd85e0d630f3a994e4e | [
"Go"
] | 1 | Go | proteanx/cashaddr-converter | 29f81f78aa1acd3d61b11248b6d88429bb541507 | 512b27c8d529b59435b516e86a99e2bac37e32d7 |
refs/heads/master | <repo_name>pegasus1992/Calculadora<file_sep>/README.md
# Calculadora
Este es el desarrollo del laboratorio # 7 de la asignatura COSW - Construcción de Software de la Escuela Colombiana de Ingeniería.
<file_sep>/app/src/main/java/com/edu/eci/cosw/calculadora/model/Calculator.java
package com.edu.eci.cosw.calculadora.mod... | 45a589ffe80315cb92ce5232d39b7a29f024d0e0 | [
"Markdown",
"Java"
] | 2 | Markdown | pegasus1992/Calculadora | 736af922a0d90991f8cb5be7be1e2a910eb38481 | 9d28099a25b9bb22169e8b0e3b77b4e1461385ef |
refs/heads/master | <repo_name>sc0ttj/Project<file_sep>/docs/cms/js/modules/translation_manager.js.md
# translation_manager.js
This module shows a Translation Manager UI, which lists all the
languages available in a searchable table.
Translations can be enabled by clicking the ENABLE button next
to the desired language.
Enabling a t... | 397c47105f6b0a6a99152d95364c629cdcd2d5cd | [
"Markdown",
"JavaScript",
"PHP",
"Shell"
] | 56 | Markdown | sc0ttj/Project | f42d7d809b56aa8a4618a72fb34207967c2f8443 | 6e0f9cdd7fd921ff44926ab95be01b99d9062ba2 |
refs/heads/main | <file_sep>public class Lo {
}
| 277cd764d62079e7ac18ab4def138947591b4e73 | [
"Java"
] | 1 | Java | vuhoangmylinh/TestRepo | 15b7d43fcde005c27f60ab9d1c6ef9b8dbe9e64c | 3280417c5e4f17eb35f5b6837c72a27c8323c8e9 |
refs/heads/master | <repo_name>koentsje/forge2-eclipse-ui<file_sep>/org.jboss.forge.eclipse.plugin/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</model... | 839b24445520ffaba8ba413993d5212b33d1ed30 | [
"Java",
"Maven POM",
"INI"
] | 8 | Maven POM | koentsje/forge2-eclipse-ui | 037a73e48247c2d8ece828ce55c04e3b7e569ce7 | 1e61c1dfa75963270d718f7af39a37c8765fda23 |
refs/heads/master | <file_sep>// The author disclaims copyright to this source code.
#ifndef THINGSPEAKLOG_H
#define THINGSPEAKLOG_H
#include <Arduino.h>
#include "Log.h"
class ThingSpeakLog : public Log {
public:
ThingSpeakLog(String field, String writeKey);
virtual ~ThingSpeakLog();
void setup();
void log(String value);
private:... | c31537c92345b9af76c9c5092f683c73bf5c29d1 | [
"Markdown",
"C++"
] | 19 | C++ | johanvdp/SolarBoilerMeter | 7cc5d25431e2b48cce6678d9c3a4c929a54d243a | 36edb1edb84452678e904955e7b26827d7116fbb |
refs/heads/master | <repo_name>johntom/ss-angular-demo<file_sep>/conf.js
module.exports = {
webServer: {
port: 3002
}
};<file_sep>/server/routes/demoRoute.js
// server/routes/demoRoute.js
// we can apply middleware to http requests as well as rpc
var mw = require('../middleware/demoMiddleware.js');
console.log(mw);
/**
* This... | 9b9e5c04997f5a47f8e0b589d38dced7cb877711 | [
"JavaScript"
] | 4 | JavaScript | johntom/ss-angular-demo | 0710a078ff450058e44b845456394f8c9ea582c1 | 23d4334a7bb204b3e2b8b749b99bdd589ea3254d |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { AuthService } from '../auth.service';
import { UserService, UserModel } from '../user.service';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css']
})
export class LoginComponent impl... | e76ab8f6cbda6d4cd56bb9f59d03020ccf7767c0 | [
"TypeScript"
] | 4 | TypeScript | BrandoJesus/angular-umzdwe | 21fdb191948e8c7fd7a76d5a8513716961512910 | 3ea957d9f709cbde987be139870cdc61ef2504ca |
refs/heads/master | <file_sep>#ifndef ZJF_UTIL_H
#define ZJF_UTIL_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#define UNUSED(x) (void)(x)
void suicidef(const char* format, ...);
FILE* fopen_or_die(const char* name, const char* mode);
#endif
<file_sep>#include <stdio.h>
#include <string.h>
int tra... | e34ea835c5557957aeec87a4072a51e108af24c1 | [
"Markdown",
"C",
"Makefile"
] | 7 | C | zjf/sega | 0bfc082bf82932e82246d28e56b921f54776c6fd | 227f0bd2611dcf851d1ea722c657e30390857a19 |
refs/heads/master | <file_sep>#include <LiquidCrystal.h>
int echoPin = 2;
int trigPin = 3;
int speakerPin = 5;
int redPin = 4;
int greenPin = 1;
int yellowPins[] = {6, 7};
int rs = 12;
int enable = 13;
int d4 = 8, d5 = 9, d6 = 10, d7 = 11;
LiquidCrystal lcd(rs, enable, d4, d5, d6, d7);
void setup()
{
Serial.begin(9600);
lcd.beg... | d86d39a11198b839d5cbec5114f7930f4ad09e0e | [
"Markdown",
"C++"
] | 2 | C++ | SpPap/arduino-parking-sensor | e03fa30f40cbc44ee432e3724ba9344f471dd760 | 40f25a3b308056e1575519f090b42768ea393bdb |
refs/heads/master | <file_sep>using FlowerShopIT.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media... | da1b11910e1ec8ee2ab60982a26a3d4a59f6a0cf | [
"C#"
] | 8 | C# | chicacode/FlowerShopIT | 9145d8d29825e5b3c3374bd75180e5ba742fdc58 | 7bb192b06ba1586fabb78d6dd36b87327f3f8a4d |
refs/heads/master | <repo_name>vakhokoto/Simple-Web-in-Java<file_sep>/HW5Web2/src/Info/Product.java
package Info;
/**
* This is class for storing item information
* includinf ID, name, price and image name
*
* @author <NAME>
* */
public class Product {
private String id, name, imgName;
private double price;
public Prod... | aac67baf98d5081903305bfe7439e4d02a6a113c | [
"Java"
] | 3 | Java | vakhokoto/Simple-Web-in-Java | 6e51e5aba776e8cf6574e15c9de090db07490db7 | 720c3d5d1f75b609647783cbdfb2a2ca42a9dcd4 |
refs/heads/master | <repo_name>adeen-s/Euler-Solutions<file_sep>/Euler2.java
import java.io.*;
import java.util.*;
public class Solution
{
public static void main(String[] args)
{
Scanner stdin=new Scanner(System.in);
PrintStream stdout=new PrintStream(System.out);
long i=1,j=2;
long c=3,N=stdin.nex... | c7161bf92ea9bebb08e13d62387a114d253ca081 | [
"Markdown",
"Java"
] | 5 | Java | adeen-s/Euler-Solutions | 95336171c3fd335d76d900a994a54543a987b944 | 2fcc1c62c9be2249bc3d5720d576189a290acc9f |
refs/heads/master | <file_sep>server.port=8083
spring.profiles.active=@spring.profiles.active@
management.server.port: 9001
management.server.address: 127.0.0.1<file_sep>package com.jnj.atm.model;
import java.util.Date;
/**
* @author <NAME>
*
*/
public class ErrorDetails {
private String txnID;
private Date timestamp;
private in... | 64a3bc3b9d1929f272c34fb685610bafb0fa01f7 | [
"Java",
"INI"
] | 6 | INI | busybalu/atm | 25fe7b001491f9d4b20a8e7188959c24ae29c067 | 5b4cbce374e5f4366507866efcdaec6e89ec2647 |
refs/heads/master | <file_sep>#include <iostream>
#include <cstdint>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <cassert>
std::int64_t ans = 1e11; // int64_t тк ответ может переполнить int32_t, 1e11 точно больше ответа
struct Point final {
std::int32_t x;
std::int32_t y;
bool operator... | 6934b1c7115f7aaec2630a9deeb7f505338a7f96 | [
"C++"
] | 1 | C++ | salkaevruslan/JBTask | 124c23176189b637a8e8f20444b7952d335c7950 | 11378c28263b4dba76faed15a6947fb46819b93b |
refs/heads/main | <repo_name>davionchai/nodejs<file_sep>/README.md
# nodejs
side projects
<file_sep>/pi/pi.js
// Calculating up to 15 decimal places as of the latest update
// Formula based on Chudnovsky algorithm
const bigDecimal = require("js-big-decimal")
class PiToTheNthDigit {
constructor() {
this.C = 640320;
};
... | dce390ee8af5cef0dbba0d20518101d2ff53b590 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | davionchai/nodejs | f1fc228e6092f37dd90766300a4cb2c8c8bf8114 | 7d350312a404bc1d7a69063e502c6e96aff641cc |
refs/heads/master | <file_sep>class NonPositiveError(Exception):
pass
class PositiveList(list):
def append(self, num):
if num > 0:
super().append(num)
else:
raise NonPositiveError
a = PositiveList()
a.append(2)
a.append(0)
<file_sep>s = input()
t = input()
ans = 0
while t in s:
ans +=... | 5959f8af944e8146bc56ba1d9f1a673a26a21e1e | [
"Python"
] | 22 | Python | gonchandrei/stepic_python | 7dafba3d63fb029d76d63c79c5365e8ca664935a | be10845902ed0728464dcee1f6cf2e8206eacf11 |
refs/heads/master | <file_sep>#!/bin/bash
# Copy System Wide Environment Configuration Files
echo 'Copying intel-openvino.conf file to /etc/ld.so.conf.d/'
cp intel-openvino.conf /etc/ld.so.conf.d/
echo 'Copying intel-openvino.sh file to /etc/profile.d/'
cp intel-openvino.sh /etc/profile.d<file_sep># Intel(R) Distribution of OpenVINO... | 5b7739480bd5a826a83694695c5c9035c588e29e | [
"Markdown",
"CMake",
"C++",
"Shell"
] | 4 | Shell | odundar/openvino_cmake_startup_project | 67bbc0921a89f19b932178b13495553f8c088735 | cd1c64b66e0e390b3358b1a529670dce65181fd0 |
refs/heads/master | <repo_name>jeffwhite-619/rusticity<file_sep>/README.md
# jwrusty
Exploring the Rust language
Going through the tutorials in The Rust Programming Language online book and experimenting with them a bit.
<file_sep>/guessing_game/src/main.rs
extern crate rand;
use rand::Rng;
use std::io;
use std::cmp::Ordering;
use std:... | 0ea72fe8d65ac56f6a15660dda229decf21571ec | [
"Markdown",
"Rust"
] | 2 | Markdown | jeffwhite-619/rusticity | 6b71a73c2bfc547d00bbd4021841e4eb1ff5ea96 | b571c5e6eadcc3f1aac6eb51bccf9d8352632f6b |
refs/heads/master | <repo_name>siaahmadi/utils<file_sep>/readme.txt
Here, I was unaware of the possibility that a listener could be added for the 'ContinuousValueChange' event
of the sliders and everything could be updated that way. Rather, I took an awry path of piping events to the
Figure and then having the spikepatch and linkedslider ... | 36e64d5b3dddcd8d68ac0fc3e087d7e027cee4ce | [
"C",
"Text"
] | 2 | Text | siaahmadi/utils | e48ae037310c2064749e8a1bb7be9260fa808ec1 | 4ece62e878a45c9a72d3102516d68ac6d02bf6e6 |
refs/heads/master | <file_sep>-- ============================================================
-- Nom de la base : CINEMA
-- Nom de SGBD : ORACLE Version 7.0
-- Date de creation : 30/10/96 12:09
-- ===================================================... | 9a528528f92cd173416584adfadf92ffdda52d90 | [
"Markdown",
"SQL"
] | 4 | SQL | touatiosema/DBMS-oracle-training-queries | 096eb54599ae97b902bf83a8c713a489afd9b396 | 4454ff0fb6d31c725b956e4b60401914eeef282d |
refs/heads/master | <repo_name>ChristopherGondek/django-compressor-heroku-buildpack<file_sep>/bin/compile
#!/bin/bash
cd "$1" || exit 1
env_dir=$1
acceptlist_regex=${2:-''}
denylist_regex=${3:-'^(PATH|GIT_DIR|CPATH|CPPATH|LD_PRELOAD|LIBRARY_PATH)$'}
if [ -d "$env_dir" ]; then
for e in $(ls $env_dir); do
echo "$e" | grep -E "$accep... | 4c6906f217ee317ab3425ae7cbe559da59bad4dc | [
"Shell"
] | 1 | Shell | ChristopherGondek/django-compressor-heroku-buildpack | 506ae40e4daac8f27ba208472dd86c10d8db12b4 | 0b0d28b3139bf78d38ffdef1664fd37131ace5cf |
refs/heads/main | <file_sep>#include <Arduino.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <SPI.h>
#include <RtcDS3231.h>
#include <SD.h>
#include <Adafruit_BMP280.h>
#include <ADS1X15.h>
#define ACS712_30 0.065
#define BUZZERPIN PA5
#define COMMA String(",")
#define DIRECTION_DIVIDER 45
#define MAP(x, in_min, in_max, o... | 457b82ebb4fe7bc68b9a7925a860bb3263869fcf | [
"Markdown",
"C++",
"INI"
] | 3 | C++ | koson/STM32F3-DataLogger | 88e3c0755a26162dd2e1bc89e584c2ad8d578f97 | d460e5f16fed60bcc07b7eb5af39188ab5417283 |
refs/heads/master | <repo_name>Ajaodolapo1301/info<file_sep>/app.js
var express =require("express")
var bodyParser = require("body-parser")
var cors = require("cors")
var app=express()
var authRoute = require("./routes/api/auth")
var userRoute = require("./routes/api/user")
var staffRoute = require("./routes/api/staff")
var fileUpload = r... | 08ec9755610f531f1ef7c159af0a6eba9816357c | [
"JavaScript"
] | 2 | JavaScript | Ajaodolapo1301/info | 1f258bac33091cb403e2a2528d74cf5594f823e4 | 177fdcdb7a6ffc3e01eb095f4c17f8009fbdacfd |
refs/heads/master | <repo_name>ceemos/dwmstatus<file_sep>/dwmstatus.c
/* made by profil 2011-12-29.
**
** Compile with:
** gcc -Wall -pedantic -std=c99 -lX11 status.c
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdint.h>
#include <inttypes.h>
#include <time.h>
#include <X11/Xlib.h>
static Display *dpy;
void s... | 51490d37b340bb719d57a678a3f1e32d16ca9c04 | [
"JavaScript",
"C"
] | 3 | C | ceemos/dwmstatus | 9f4392cd57b50969fd72e70f4a7161d76fd55ba2 | 11e3bdec4347139100be3c2cec12f6678a5f89fc |
refs/heads/master | <file_sep>import * as React from 'react';
import './SelfieClassifier.css'
import Camera from 'react-html5-camera-photo';
import axios from "axios";
import 'react-html5-camera-photo/build/css/index.css';
export class SelfieClassifier extends React.Component {
state = {
cameraOn: true,
image: null
}
rend... | 4050713fa6ae08de60cb39f54f05566f78ef2461 | [
"JavaScript"
] | 2 | JavaScript | raveen-singh/web | c164d41184484a765bd52158b350ee5fc887738f | ba8b4549c7016c150a2e857025ce4d17cd1e6510 |
refs/heads/master | <file_sep>#if PLAYMAKER
using UnityEngine;
using System.Collections;
using HutongGames.PlayMaker;
namespace Devdog.InventorySystem.Integration.PlayMaker
{
[ActionCategory("Inventory Pro")]
[HutongGames.PlayMaker.Tooltip("Use a triggerer.")]
public class UseTriggererFsmObject : FsmStateAction
{
... | ae80e0f77e3fb787d93bef0901fb058bcf1526a2 | [
"C#"
] | 27 | C# | dmcguire3762/Wilderness | 5c05841ea9cfb6f6ba14f0580effaba662e7e050 | e28b87874de340053d6fa8fd2ad535b6051588eb |
refs/heads/master | <file_sep>/*
* Request handlers
*
*/
// Dependencies
// Define the handlers
const handlers = {};
// Users handler
handlers.users = (data, callBack) => {
const acceptableMethods = ['post', 'get', 'put', 'delete'];
if (acceptableMethods.indexOf(data.method) > -1) {
handlers._users[data.method](data, callBack);
... | 60e2eb907bdb02f787909de0327b4d738637afe7 | [
"JavaScript"
] | 1 | JavaScript | jehincastic/NoFrameWorkApi | 43793b0f8d9923899c60473a66db1d9db8abf4c7 | 6fef1756f3b1041bf605a86bfcd5f1d9b2fae334 |
refs/heads/master | <file_sep>#!/bin/sh
scriptDir() {
path=$0
while test -L "$path"; do
cd "$(dirname "$path")" || exit 1
path=$(readlink "$(basename "$path")")
done
cd "$(dirname "$path")" && pwd
}
bin_dir=$(scriptDir)
libexec_dir=$bin_dir
COMPILE_COMMANDS_JSON=$PWD/compile_commands.json
export COMPILE_C... | 540903945b1947de5994ad92b34edbe26bc51d07 | [
"Markdown",
"Makefile",
"C++",
"Shell"
] | 7 | Shell | again1943/code-index | c3ac9c802353a6b4c56f19c3ad351d5477922585 | cb60cda4af50faeea65ce807906e71e28f26a799 |
refs/heads/master | <file_sep>import time as t
import random as r
import subprocess
def install(pack):
subprocess.call(f'pip install {pack}')
try:
import numpy as np
except:
install('numpy')
import numpy as np
try:
import pygame as pg
except:
install('pygame')
import pygame as pg
class filler:
def __i... | cad58f8090082aed598689609cf268a91304f7da | [
"Python"
] | 1 | Python | Ddmitriy0102/Tetric_project | ebffa5f376eefca6a40576b6afc5bff2525545f0 | 214d3b3d10a215d1af00c55bb6159d99a5a181c3 |
refs/heads/master | <file_sep>/** ════════════════════════🏳🌈 实用功能 🏳🌈════════════════════════
* 利用 composition-api 实现的一些实用功能
** ════════════════════════🚧 实用功能 🚧════════════════════════ */
import {
customRef,
nextTick,
watch,
watchEffect,
WatchSource
} from "vue";
class PromiseObj<T, Err = Error> {
pending = true;
... | 58cf7657126500a3787a93f0f3a70da97e7d4469 | [
"Markdown",
"TypeScript"
] | 11 | TypeScript | 2234839/vue-demo | 01c1d3973c7cafd5a91c722c66da9983c6a685b7 | 41391b0d0dcdd2840b567e9e9fc5b00b75af36e2 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from public import public
import runcmd
@public
def get(path=None):
if not path:
path = os.getcwd()
cmd = ["git", "status", "-s"]
r = runcmd.run(cmd, cwd=path)._raise()
return r.out
@public
class Status:
path = None
ou... | eb3d48aef0f3c65f0eebad8ee61d8f3151784228 | [
"Markdown",
"Python"
] | 2 | Python | looking-for-a-job/git-status.py | 413a71ee98bafbe10a6a181f7b09a27b376c04e6 | 9abbde7aa7413a1f6c92ae97b318b7b411d99f30 |
refs/heads/main | <repo_name>pranaymudhiraj/Book-Store-Application<file_sep>/src/app/home/home.component.ts
import { Component, OnInit } from '@angular/core';
import { waitForAsync } from '@angular/core/testing';
import { Book } from '../models/book-model';
import { Cart } from '../models/cart-model';
import { BookService } from '../ser... | 4f140b86425f18606aae287522148120539b9c7d | [
"C#",
"TypeScript"
] | 22 | TypeScript | pranaymudhiraj/Book-Store-Application | 82c995507ca67f3eef5f461e44827e24750893cf | 1875d31a7f4ee695f79f2af8af0254b2cfb603b9 |
refs/heads/main | <file_sep>using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace KIPLModel.Migrations
{
public partial class v4 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Kines_Cabinets_C... | e7ad0b5436a6484cfbd8566e51dda2c242adebb1 | [
"C#"
] | 6 | C# | FMLCAPS/BackKIPLFM | 85e71d0f1cf79e8a2d02155e7dfb16786d1bb9ad | 509f55745eb0551010ac0e873a419043d2680519 |
refs/heads/master | <repo_name>alkaitagi/INNO-S20-SP<file_sep>/python-server/README.md
# Task
We need to have a server that sends the list of all available instructions to a Virtual Assistant app client and receives instructions from the Web Editor
The server also should send the selected instruction and all media files to the client.
##... | 9c0a2fa51a77f0fdc046145ec03402ccb3182cfb | [
"Markdown",
"JavaScript",
"Gradle",
"Java",
"Python",
"Shell"
] | 10 | Markdown | alkaitagi/INNO-S20-SP | 2c0c85630117a0d677c4622cfc2356b7f26227be | f7b3b1a28cbebcbc6629d1189e8e22d42d434afc |
refs/heads/master | <repo_name>wireframe/rspec-lintable<file_sep>/lib/rspec/lintable.rb
require "rspec/lintable/version"
require 'rspec/matchers'
require 'jshintrb'
require 'json'
# ensure that response body is valid "lintable" javascript.
# this matcher should *not* be used for negative assertions (ie: should_not be_lintable)
#
# exampl... | 94fe5f5fde0c9192d044cdd734a86285a2d5c0c4 | [
"Markdown",
"Ruby"
] | 3 | Ruby | wireframe/rspec-lintable | 9e9a33421807c1c8f071839acf4ddfd803051dc9 | 45c21437241b71a6332e1696ab0228d6edf78b07 |
refs/heads/master | <file_sep>var vue = new Vue({
el: "#app",
data: {
currentEnvironment: ['pc', 'ios'],//当前运行环境
authorized_address: 'http://game.flyh5.cn/game/wx1da84b6515b921cd/jan_blessing_tdw',//后台端授权地址
requestUrl: 'http://game.flyh5.cn/game/wx1da84b6515b921cd',//请求接口地址URL
userInfo: {},//个人用户信息
friendInfo: {},/... | 1137c78f635a2185f2cee50bfa5eb02c3777ec13 | [
"JavaScript"
] | 2 | JavaScript | qq377677616/wc190610tuandaiwang | ce8811bd7b98550f5cab40cb3ba683a4d28e497f | 1597912d4a9f478125cdff9703abc1c02d509aaf |
refs/heads/master | <file_sep>require "wiringpi.rb"
class POMP
def initialize()
@s = WiringPi::GPIO.new
@s.mode(1,PWM_OUTPUT)
@s.pwmWrite(1,0)
end
def give_water
@s.pwmWrite(1,800)
sleep(0.2)
@s.pwmWrite(1,450)
sleep(0.3)
@s.pwmWrite(1,500)
sleep(0.9)
@s.pwmWrite(1,0)
end
end
<file_sep>r... | 2c43cd5e904e27ab3f9c28fa4974711d2a5f5ec1 | [
"Ruby"
] | 9 | Ruby | miyamotohirosi/saibaiman | 70df27da8cca4cd7bd9fe475a1549fa09d32d6c1 | 299c3c569dec8f3cf63bcea53e46e010ac4e75e2 |
refs/heads/master | <file_sep>#!/bin/bash
export a=$1
s="${a}"
s=${s/c:}
path=${s//\\//}
echo "Moving to $path"
<file_sep>#!/bin/bash
unixpath=$1
echo $unixpath | sed 's/\//\\/g' | sed 's/home/\\rvc-nas-06/g' | sed 's/shsv/\\rvc-nas-00/g' | sed 's/00\\DTV/05\\DTV/g' | sed 's/00\\RCarSW/08\\RCarSW/g' | sed 's/00\\SS2/08\\SS2/g'
<file_sep>#... | ee7381a5dbe7a1b01ebd7f8614f0165275760c37 | [
"Markdown",
"Shell"
] | 6 | Shell | ThreeNG/linuxfoundation.org | e6808a29c2ce82668b5f30a79298188b133cbf34 | 85a2b6186ac83bb7f7c3717f267e60cf9a84876e |
refs/heads/master | <repo_name>wzl821202210/DateTimePicker<file_sep>/backup/datetime.js
/**
* Created by xty on 2016/8/4.
*/
var dateTimeComponentCount = 0;
function getDateTimeComponentCount() {
return dateTimeComponentCount++;
}
function validateSupportType(typeArr, type) {
var support = false;
typeArr.f... | d86fece92118fb848fad98c21b3a092a3c3364fa | [
"JavaScript"
] | 1 | JavaScript | wzl821202210/DateTimePicker | 9622720a0cae787da0402ed9b4411bd32b1da164 | 7eaf06feb3c40835259dc4bcd64159d032d9af3e |
refs/heads/master | <file_sep>(function(e, t, n) {
"use strict";
var r = t.Modernizr;
e.SKEWSlider = function(t, n) {
this.$el = e(n);
this._init(t)
};
e.SKEWSlider.defaults = {
speed: 1e3,
easing: "ease",
skew: -25,
width: "100%",
height: "100%",
slidePercent: 75,
centered: true,
preloadCount: 2,
moveFx: false,... | d70fbd46f99cc47048de52d84950715c1b73dcc3 | [
"JavaScript"
] | 2 | JavaScript | smanzar/service-repair | 38d1671dd4df661cd55cff4faba78fd73c9aa225 | b48b3ee98867c74fb4fc90ba76e9f78c19451d14 |
refs/heads/master | <repo_name>SaxenaKartik/rating_project<file_sep>/rating_api/serializers.py
from rest_framework import serializers
from rating_api import models
class UserSerializer(serializers.ModelSerializer):
"""Serializes fields for User Model"""
class Meta :
model = models.MyUser
fields = ('username', 'pas... | 0887acf1a5d95bd84b9c9ce22a774e6c8ef4c1f6 | [
"Markdown",
"Python",
"Text"
] | 8 | Python | SaxenaKartik/rating_project | f4fa1e3f40b1d8a610c2ec21a22171fcff982b1e | 2aa2e7ef194eaba3d5b8d5a4d23b19be065e8910 |
refs/heads/master | <repo_name>luislicona/prueba<file_sep>/MiTienda/src/main/java/com/domain/controlador/package-info.java
package com.domain.controlador;<file_sep>/MiTienda/src/main/webapp/js/funciones.js
/*
*/
function funcionTry() {
alert("Registro correcto");
}
function funcionSalir() {
alert("Hasta pronto");
}
function pa... | 8cf344e08a7777ccd68e20e1b6d3da7f39592c4a | [
"JavaScript",
"Java"
] | 7 | Java | luislicona/prueba | 8b75dd9b68b67f252f8557ca997b5554b1e5519b | aff01c9a01b83f5ef9661452b42cb4089d3407ea |
refs/heads/master | <file_sep>test: node_modules/
@NODE_ENV=test ./node_modules/.bin/mocha \
--require should \
--harmony \
--bail
node_modules: package.json
@npm install
clean:
@rm -rf node_modules
.PHONY: test clean
<file_sep>
var request = require('supertest');
var koa = require('koa');
var methods = require('methods').map... | d66afd6bd5ab59f323aaf182066a4842033a0a7e | [
"JavaScript",
"Makefile",
"Markdown"
] | 5 | Makefile | mojn/koa-dispatch | 4f8a2673593869d64ba726d70839f657b1a39697 | 56c54fabeb18d2477013151db623fb0753403b87 |
refs/heads/main | <repo_name>SKNarayan/JavaProgramming<file_sep>/Interview/src/number/swapNumber.java
package number;
import java.util.Scanner;
public class swapNumber {
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
System.out.println("Enter your first number to swap");
... | 50f8908a21e991bacb9ba11024e061b05ca53040 | [
"Markdown",
"Java"
] | 18 | Java | SKNarayan/JavaProgramming | fd58cbac21cdf3e0b4aab640950b462ce93f1193 | 5f50ec874605218732c117c51e942968401e24da |
refs/heads/master | <repo_name>salahtobok/adrPhpPattern<file_sep>/AdrPhpPattern/includes/configuration/config.inc.php
<?php
/**
* Created by PhpStorm.
* User: salahtobok
* Date: 26-09-2017
* Time: 12:33
*/
//include system constants
require_once 'declaration/constants.inc.php';<file_sep>/AdrPhpPattern/includes/system/declaration/aut... | aa2ee35baf8bb8609c7424902750663703e9694c | [
"PHP"
] | 18 | PHP | salahtobok/adrPhpPattern | 7da5ab501374b451dd0ffd7cdb5dd6aa48472675 | 0bdac20d1c3edd28da3fb71a4632fe024f8e8a36 |
refs/heads/master | <file_sep>from gradcam.gradcam import GradCAM, GradCAMpp
from gradcam.utils import visualize_cam
from gradcam.grad_cam_viz import gradcam_plot
__all__ = ['GradCAM', 'GradCAMpp']
<file_sep>## Team Members
* <NAME>
* <NAME>
* <NAME>
* <NAME>
## Dataset Preparation for Monocular Depth Estimation
* We have a total of 3... | 5b4d0d13532fb309509ece39e4d352bb83986a71 | [
"Markdown",
"Python"
] | 7 | Python | PrashantShinagare/EVA5_TEAM | 280765ae81465e9bb2f1133ced2d504d0fee7c0c | a52f4c881e69a739276b5525e3029529d9116261 |
refs/heads/master | <repo_name>sigsegv42/request-log-analyzer<file_sep>/lib/request_log_analyzer/file_format/haproxy_tcp.rb
module RequestLogAnalyzer::FileFormat
class Haproxy2 < RequestLogAnalyzer::FileFormat::Base
extend CommonRegularExpressions
# substitute version specific parts of the haproxy entry regexp.
def self.c... | 39b743b147b496b6e7dfa28e704675e29432be42 | [
"Ruby"
] | 1 | Ruby | sigsegv42/request-log-analyzer | 24d15d066b2559ee97ac42b9af9fd742142a65de | 3373a50b0d97a938c2ee0f566f71387e93d1e94a |
refs/heads/master | <repo_name>xiaowing/automailer<file_sep>/src/automailer.py
#!/usr/bin/env python
#coding: utf-8
import smtplib
import sys, getopt
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from confreader import MailfigReader
class MailSender:
def __init__(self, host, us... | 83fd1b0873d03c29890d24650e3865e9e3eedaba | [
"Markdown",
"Python"
] | 3 | Python | xiaowing/automailer | 0eb89da7036a79f17bde17c5e02188c0f0c1505b | 1256457e7464660845cc6aa818b0e9a3f4cad6bc |
refs/heads/master | <repo_name>ajandorek/vue-store-front<file_sep>/index.js
const bodyParser = require('body-parser');
const express = require('express');
const mongoose = require('mongoose');
require('./models/Items');
const app = express();
const Item = mongoose.model('items');
const PORT = process.env.PORT || 5000;
app.use(bodyParser... | 9b402551009c754f51a35964a4068d3a387bdc59 | [
"JavaScript"
] | 1 | JavaScript | ajandorek/vue-store-front | d03a78a820f9908092e32770048ef281e412cb01 | a14845c6ca2c3d5dfaed9a5a1d8203c74959fecd |
refs/heads/master | <file_sep><?php
defined('BASEPATH') OR exit('No direct script access allowed');
use Illuminate\Database\Capsule\Manager as Capsule;
use Illuminate\Container\Container;
class Orm
{
protected $_CI;
function __construct()
{
$this->_CI =& get_instance();
switch (env('DB_DRIVER', 'sqlite')) {
case 'mysql':
... | 4389aaf8414a4a58b69ddead06222ef7ce2dcd39 | [
"PHP"
] | 11 | PHP | ngintul/maya | dac195599cca12f94865c4f2c7b9e4d620bb1a72 | ae44f38f372c68e210d71099760bad3473ca246f |
refs/heads/master | <file_sep># CD-UI-NEXT
:art:项目初始化
<file_sep>import LoadingVue from './Loadingbar.vue'
import { createApp, App, ComponentPublicInstance } from 'vue'
interface CILoading {
loadingInstance: App
loadEl: ComponentPublicInstance
start(): void
update(value: number): void
finish(): void
}
interface CLoadingProp... | 539fccfdd2b28faa2c85727a27b581e73612e40f | [
"Markdown",
"TypeScript"
] | 5 | Markdown | caidix/cd-ui-next | bcfd16928b1d64e0a2a7016c0cb5bf19e7f42e84 | 10f0b3e8376dd9fbe2f90100df79ab5dbc3339f9 |
refs/heads/main | <file_sep>package com.natetheprogrammer.alarmipator;
import android.app.Notification;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.widget.Toast;
import androidx.core.app.NotificationC... | 610e0263155f49cc41ae034ec0755615dbe21f7a | [
"Java"
] | 2 | Java | n8bar/Alarmipator | 3afd2ab3d28c0b023d61706d533c18f2813ddda6 | 4fadc2fe7ec891ca281083672624115325d30512 |
refs/heads/master | <file_sep># mavenweb
maven webapp
maven web工程
<file_sep><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.jason... | 469c800acc82872a9b42ad603fc025f49ecaf893 | [
"Markdown",
"Java",
"Maven POM"
] | 3 | Markdown | chenack/mavenweb | b5815699abbf4f2301b105ffe9dd528608111d0f | d0c39d536a7216b9d9b2c5456c6fcd632e1721a9 |
refs/heads/master | <repo_name>gabrielhfgomes/entregando_mercadorias<file_sep>/app/models/route.rb
class Route < ActiveRecord::Base
attr_accessible :distance, :map_id, :source, :target
validates_presence_of :distance, :map_id, :source, :target
belongs_to :map
end
<file_sep>/app/controllers/algorithms_controller.rb
class AlgorithmsCo... | f2979edcd5e9ed6fd180a4cc668df9a52359ff8a | [
"Ruby"
] | 7 | Ruby | gabrielhfgomes/entregando_mercadorias | 3c12d02201392e1e50d59d7b40f7e92d0542b722 | 372714d76de47c5466fc721704cefc6b75f2a5d5 |
refs/heads/master | <repo_name>lobida/pylevelup-project<file_sep>/pyinit-project/pyinit/zzz_ezinstall.py
# content of zzz_ezinstall.py
if __name__ == "__main__":
from ezinstall import install
install(__file__)
<file_sep>/README.rst
#################
PyLevelup Project
#################
VCS
===
Using Git-Flow as version control ... | 0cd08477402bc63385fba33efe3efb8aee709b77 | [
"Python",
"reStructuredText"
] | 4 | Python | lobida/pylevelup-project | a3bd98951d695a73a4269e38e49071466ee4d95b | 7e0fd9904152ad7ca9719cdff223a3d7f8f647ff |
refs/heads/master | <file_sep># glite-info-update-endpoints
This component is used with Top BDII and is intented to update LDAP endpoits for EGI.
BDII documentation is available here: https://gridinfo-documentation.readthedocs.io/
`glite-info-update-endpoints` is a cron job that runs every hour to download
the list of site BDII URLs tha... | cbb8d743056f38938165a888b7b3b14f92c24b26 | [
"Markdown",
"Python",
"Text"
] | 3 | Markdown | enolfc/glite-info-update-endpoints | d19a4fed53ae2c0caad2593164ca7300552d0027 | d7ce2d2d5921e4c1efd24ddfc2022bcf5277deb8 |
refs/heads/master | <file_sep>package pe.edu.ulima.myapplication;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import java.util.concurrent.... | 176133c33c4be1f95cfa2091e5b4f309a4136994 | [
"Java"
] | 1 | Java | joseluisgd/hilos | 39cb97d40683e0d39e0bb234cd8bae2a32afd672 | 30e9f30ad9de57c2c1ad5e2912af40a61b67f2c5 |
refs/heads/master | <repo_name>rbricheno/RAK811-encoding<file_sep>/example.c
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
const char *hexdigits = "0123456789ABCDEF";
/*
* Each ASCII byte is encoded as two hexadecimal digits.
* The resulting buffer is suitable for use as "datahex" in
* function rk_sendData(type, port, da... | e5c7769ec0ebc4f1037d91f35156a3657292b822 | [
"Markdown",
"C"
] | 2 | C | rbricheno/RAK811-encoding | 8dd23a998e7407ed93b11a0536f1da6d4521065d | f3166f1cfd36a30e2f3e4c3ec1d5bd99b9aaeb90 |
refs/heads/master | <repo_name>njsoria/ebayData<file_sep>/app.js
const request = require("request");
var createError = require('http-errors');
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
var logger = require('morgan');
var indexRouter = require('./routes/index');
var usersRou... | 3bf33cd09b9e78d1fe6142bfb06580879706a397 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | njsoria/ebayData | c7d3179fea1fbb574e69af03bcc557375c7638c6 | 61d60c3c73b3e3be4a6c1411a424c3fb930c302e |
refs/heads/master | <repo_name>dineshyuwa/Predicting_Price_Of_Car<file_sep>/RealLifeExample.py
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from statsmodels.stats.outliers_influence import variance_inflation_factor
from sklearn.preprocessing import StandardScaler
from sklearn.model_selection... | 54c1ccd42183976d358bc3acd52044bbf6d55f4d | [
"Python"
] | 1 | Python | dineshyuwa/Predicting_Price_Of_Car | 163d1e3d52590bca070f1db33bdfa3f8922fe9af | f663b4d2dcd635167efdd3900f82d395a8a64b5c |
refs/heads/master | <file_sep>#!/data/data/com.termux/files/usr/bin/bash
nohup aria2c --enable-rpc --rpc-listen-all &
echo -e "\033[31maria2服务已在后台运行\033[0m"
if [ -d "$HOME/webui-aria2" ] ; then
cd ~/webui-aria2
nohup node node-server.js &
echo -e "\033[31maria2面板已在后台运行\033[0m"
echo -e "\033[31m请用chrome浏览器打开,localhost:8888\033[0m"
... | 44e63b8932daca4df0c47f9d47990945f0bce77d | [
"Markdown",
"Shell"
] | 3 | Shell | weichefool/zstermux | 67930c84d132446ba2a65c589e14df1470c048c9 | acb5fef3efa38186ae47216d2391397cbda73467 |
refs/heads/main | <file_sep>CREATE SEQUENCE public.pessoa_idpessoa_seq
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 1
CACHE 1;
CREATE TABLE public.pessoa
(
idpessoa bigint NOT NULL DEFAULT nextval('pessoa_idpessoa_seq'::regclass),
nome character varying(80) NOT NULL,
sexo character varying(9),
email character varyi... | c36d44c2766fe856ac7f51d6cf0c4637fbabf948 | [
"Java",
"SQL",
"Dockerfile",
"Markdown"
] | 7 | SQL | joserobertobbezerrajnr/softplayer | 60d0ce5e816cb5e0ed7f41150da88214d619ea78 | d287e3f0cec7867516721c323315ea6e1caf1d3d |
refs/heads/master | <repo_name>ab33/r5<file_sep>/cs.js
/* HTML5 videos revealer. <<EMAIL>> */
chrome.extension.onRequest.addListener(
function(req, sender, sendResponse) {
var response = '{result:' + decorate() + '}';
sendResponse(response);
}
);
function decorate() {
var digged = 0;
var videos = document.getElementsByTagName('... | c194acbef5eb6adbbcd99e7694cbdf920ca0c919 | [
"JavaScript"
] | 1 | JavaScript | ab33/r5 | 2d2e424ddb073b0912021591837720bfb31173aa | 8a314113672a24bec4d6db3cd4253edd20038651 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04_ByteBank
{
class Program
{
static void Main(string[] args)
{
ContaCorrente contaDoVitor = new ContaCorrente();
contaDoVitor.titula... | f85e1c49bf2732925a0884db7dedcae02e838eb3 | [
"C#"
] | 4 | C# | BrunnaMaiaradaSilva/ByteBank | 6c4b95f5b8ea1e8f9d54ec9a5621e1a007513530 | 0152e0b5e06b4e284bba1a62765bfa90c8af3bf9 |
refs/heads/master | <repo_name>MrTriskin/UMUNC_setup-infomag<file_sep>/umunc/src/components/SelectFieldMultiSelect.js
import React, {Component} from 'react';
import SelectField from 'material-ui/SelectField';
import MenuItem from 'material-ui/MenuItem';
/**
* `SelectField` can handle multiple selections. It is enabled with the `multip... | 13e5760666501d2076588807e60f0aa66e587793 | [
"JavaScript"
] | 45 | JavaScript | MrTriskin/UMUNC_setup-infomag | ccec62833d5d557c61dd9db3962ca05d0e6caa99 | 3b51d62442829c3123d57631007406cfc2926635 |
refs/heads/master | <file_sep># 计算saliency准确率的方法 #
*测试此代码可令 DATASET_NAME 取 test*
1. 运行test_matlab_en.m,测试matlab环境
2. 要测得数据存放如下所示
所有图片都不要包含隐藏图片
执行以下命令后,再计算
```bash
cd ./input
find ./ -name ".*" | xargs rm
```
- 输入原图: input/images/[DATASET_NAME]
- gt-fixation: input/bmaps/[DATASET_NAME]
- gt-density-map: input/dm... | 0a6c82a3658241d2dcad4b662d2b25e24452e070 | [
"Markdown",
"Python"
] | 3 | Markdown | 6clc/saliency | d2ac826d6aa030ae300a3e4c29be63e34143fcb1 | d71d9f6106f64c2a332decb25b89e271488cc4f2 |
refs/heads/master | <repo_name>EvanDAB/star-wars-game<file_sep>/assets/javascript/game2.js
//No Array
var dispE, health, attackPower, counterAP, rey, mace, kylo, star, playerH, playerA, defenderC, defenderH, fightProgress;
$(document).ready(function () {
dispE = $('.enemies');
image = $('.character');
attackPower = 0;
rey... | aa35bb34f0cc1bec2f3c1d68701b46cfab4e310b | [
"JavaScript"
] | 2 | JavaScript | EvanDAB/star-wars-game | 73978e73c56b99f2d0075cdc5db4db4248e9d821 | 804598f633ca5ca2076329d8371ee6537efd3cc8 |
refs/heads/master | <repo_name>justinlboyer/MotionControl<file_sep>/doYouUseProsOpus.py
# -*- coding: utf-8 -*-
"""
Created on Sat Jan 28 10:42:07 2017
@author: justinlboyer
"""
from vectorSubsets import yesNo, taskFull
import numpy as np
# this script computes opus weighted on whether or not the respondent uses their prosthesi... | 1ff7a8f606b8110e3b6d2ac529a6e811d49e57c2 | [
"Python"
] | 19 | Python | justinlboyer/MotionControl | 0ea972b00e9b5870388c160b107a5cc5a15fc71d | b9e81941c6fef8495d80cd5646f5c694ef5ca00b |
refs/heads/master | <repo_name>i82gaarj/is-clinica-medica<file_sep>/requisitos.md
## Extracción de requisitos
#### Partes interesadas:
* Secretario
* Desarrolladores
#### Datos que gestiona el sistema:
* Pacientes
* Nombre
* Apellidos
* Fecha de nacimiento
* Teléfono
* Dirección
* Sexo
* Historial médico
* Enfermedades
... | c24a81cd42afd8c7c4e2235662ebde1cb075be8a | [
"Markdown",
"Makefile",
"C++"
] | 48 | Markdown | i82gaarj/is-clinica-medica | 1fef8f4d5202f6f1aa7a883c6bbcdb30c13efbd7 | f4e4ad2006c1ee843e21e49a62963c462b4806bc |
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.Threading.Tasks;
using System.Windows.Forms;
namespace TestForECSArticle
{
public partial class Form1 : Form
{
int rowOfLas... | c5136f5cba49b49610b9fd607f5e7ac49d57b224 | [
"C#"
] | 1 | C# | doctaman/DataGridView-EditedFormattedValue | e8ffdb71e97f5c37858b5c54c7fd7893ae97b5d5 | 707b8268c819e91f82903f9720557ede88df19b4 |
refs/heads/main | <file_sep>// ********Dərslərin qeydiyyatı *********
var app=angular.module('myApp', []);
app.controller('myCtrl', function ($scope) {
$scope.order_name='';
$scope.order_status_list={
name : false,
surname : false
};
$scope.order_status=false;
var local_storage=window.localS... | d99d1e54bbca5540251637db78722f32fcf7a853 | [
"JavaScript"
] | 1 | JavaScript | qurbanzadefidan/ProSyS-Exam-Program-Project | 5aece8ec83d3598f0fdb49913e9544298ba9422a | 377edc05ca64b30b0c4e3cc85c4ef8d21cff07ea |
refs/heads/master | <repo_name>1214903993/platform<file_sep>/up_web/src/main/java/platform/service/impl/TagAndModelServiceImpl.java
package platform.service.impl;
import com.wyh.platform.Repo.TagRepo;
import com.wyh.platform.entity.dto.TagDto;
import com.wyh.platform.service.TagAndModelService;
import org.springframework.beans.factory.an... | 2ce5f0892368bbd42a1d6b5e42a46f0b05263ad6 | [
"Java"
] | 3 | Java | 1214903993/platform | 5939f6e711417a75702438329f10c6b6edc78577 | 7ab8d9ba711a515188b1dfb2c65e30a27169ec38 |
refs/heads/master | <repo_name>auxillary1902/MLProject<file_sep>/svm.py
import pandas
from sklearn import model_selection
from sklearn.model_selection import train_test_split
from sklearn import svm
from sklearn import metrics
dataframe = pandas.read_csv("satisfactionmain.csv")
array = dataframe.values
# X1 = dataframe.iloc[:,7:23]
# Y1 =... | 2e450c0e8e09b390032ef7e256314d1680b0facd | [
"Python"
] | 2 | Python | auxillary1902/MLProject | 8cc4ca2bf0d97dadc79844653d2dbc40a4b936eb | d3d460df9ad1f1b257b41b1622a01c1f8e818d3c |
refs/heads/master | <file_sep># Structure-de-donnees-en-Java
Il s'agit de parcourir les structures de données, la complexité et les méthodes algorithmiques en Java
<file_sep>public class Hanoi {
public static void main(String[] args) {
/* Just for a Test*/
HanoiTower(4, 'X', 'Z', 'Y');
}
static void HanoiTo... | bb1858ec196ba288c265dda71cfa562a739036b1 | [
"Markdown",
"Java"
] | 3 | Markdown | gittka/Structure-de-donnees-en-Java | 84cfc6f08e858cf9a731202e732789f64db0c04b | d1cdbc9b2513c45880ad0e37ff9ab5c938a0d6d4 |
refs/heads/master | <file_sep>## 项目
保存项目代码文件,项目中重要文件已过滤<file_sep>package com.lin.StateAssess;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;
/**
* 求取求平均判断矩阵
*/
public class ComputeAverageMatrix {
//单例
private static final ComputeAverageMatrix instance = new ComputeAverageMatrix();
/**
... | 7467a8f93a2f5622c26935e40ef2b414d14a16d5 | [
"Markdown",
"Java"
] | 4 | Markdown | HuanChen1025/NanAn_Project | adb1f45f372562095b9c4444c5ae8d240a6bc51a | a47a3d1e9ea82afffabcc1eb73fc82830de8a95b |
refs/heads/master | <repo_name>mwissig/crepuscular<file_sep>/db/migrate/20190624163501_add_column_to_slot.rb
class AddColumnToSlot < ActiveRecord::Migration[5.2]
def change
add_column :slots, :biggest_prize, :integer
add_column :slots, :biggest_winner_id, :integer
add_column :slots, :biggest_win_date, :datetime
end
end
<fi... | 2fb551ff38947ecc8ceea246cc4f22997306f5a5 | [
"Markdown",
"JavaScript",
"Ruby"
] | 42 | Ruby | mwissig/crepuscular | 95e4eac67efeff549c628c0d2a28413559aea969 | e50cb67c5d77499e531c34f18c3081e257009bcd |
refs/heads/master | <repo_name>mczuckermann/TrainScheduler<file_sep>/assets/javascript/app.js
// Initialize Firebase
var config = {
apiKey: "<KEY>",
authDomain: "mz-train-scheduler2.firebaseapp.com",
databaseURL: "https://mz-train-scheduler2.firebaseio.com",
projectId: "mz-train-scheduler2",
storageBucket: "mz-train-sc... | e7ea976d2ebd019387db2d53eacaf6beec19c621 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mczuckermann/TrainScheduler | dab16f9e73d5a6ec6e9b8650db93db36eea61686 | 1af40960c20cfcc0494c34e9fdd00355c143a63c |
refs/heads/master | <repo_name>wolf-dominion/solving-sol<file_sep>/630/script.js
// declaring variables
var canvasWidth = 400;
var canvasHeight = 400;
var canvasColor;
var complete = 0;
function setup() {
frameRate(10);
canvasColor = color(0);
createCanvas(canvasWidth,canvasHeight);
background(canvasColor);
}
function draw() {... | e1cc147c035171ceaee1dea8c17da38a25a0f61e | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | wolf-dominion/solving-sol | 0e1d8db712692d7073e278f91aa253352da3f2eb | ffe5e6d8966b03bbc2b6f8eeed2b0c3c0afa2a26 |
refs/heads/main | <file_sep>#!/bin/bash
clear
cd ..
rm -rif usr/etc/motd
cd $HOME
printf "\033[91m+++++++++++++++++<<GHAFO>>++++++++++++++++\n\r"
printf "\033[92m+ am toola drustkrawa +\n\r"
printf "\033[92m+ GHAFO +\n\r"
printf "\033[92m+ snapchat {ghafar3822} +\... | cfeed86ab14a2e3883c7476e31befdf69597dbf8 | [
"Python",
"Shell"
] | 7 | Shell | Ghafo/BNXT-M4168 | 141bd40f5259593e2484f82f7912a9837188c0ba | 9450294257bc36c24b27342f36eb9ea5c71286e9 |
refs/heads/master | <file_sep># Bazenr
Calc. de baze de nr.
<file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
int numar, baza, baza2, numars... | 6860bcc4e70bf5348b103b6852e19984071873b5 | [
"Markdown",
"C#"
] | 2 | Markdown | buksarafael/Bazenr | 04f468390015dbda285e8ad87eaf89667c0af290 | 7c05d9d9008e5c7a9830b88be4d5a98a337994f5 |
refs/heads/master | <repo_name>nahidsaikat/scrumate<file_sep>/scrumate/core/user_story/views.py
from django.conf import settings
from django.contrib import messages
from django.shortcuts import render, redirect, reverse, get_object_or_404
from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage
from django.contrib.auth.dec... | 9beb6276f17e5d174b7827ee73974d65bf302c60 | [
"HTML",
"TOML",
"Markdown",
"INI",
"Python"
] | 100 | Python | nahidsaikat/scrumate | 11a63f1cc361261a7023eceafc2a27e29561dca0 | 8a3bec242b5b6ff02f1a5b8309e777f154e7c338 |
refs/heads/stable-7 | <repo_name>adam6806/SpongeCommon<file_sep>/src/main/java/org/spongepowered/common/mixin/core/item/recipe/smelting/MixinFurnaceRecipes.java
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permis... | 1f4a9e3eaf02641fbb1b94cfe023ae0830202cd1 | [
"Java"
] | 1 | Java | adam6806/SpongeCommon | b8fb9fad34fb7ca3ffc1f47433225cb60ab8822b | 09c6085706a9e34bc9f1b8953b20e65d63723d4f |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Contoso.Data;
using Contoso.Models.SchoolViewModels;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
namespace Contoso.Pages
{
public class AboutModel : PageModel
{
... | 5edf77183047688700fb5d987048cfffc7e69195 | [
"C#"
] | 4 | C# | emiliobs/Contoso | 50a3c6d40bb05f82183e79793a18cfcbcfee10e4 | 0f4227b353e8311f73fdd6dced3f2e118a7654ea |
refs/heads/master | <repo_name>LoboAdrian/IsSteggAFurry<file_sep>/index.py
from flask import Flask, redirect, render_template, send_from_directory, request
import json
import os
#Init App
app = Flask(__name__)
#Rate Limit // Doesn't work with PythonAnywhere
#s = sched.scheduler(time.time, time.sleep)
rate_limited_ips = []
#def clear_rat... | 155d442ea8783df585616803b753d5873f1f718b | [
"Python"
] | 1 | Python | LoboAdrian/IsSteggAFurry | a17eab2d71c027de3bd033cf24d2e40d0150b925 | 1f7d56bdfdb0fe04dc6d666275dbf9015e167663 |
refs/heads/master | <file_sep>using PrototypeApi.CustomModel;
using PrototypeApi.Models;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
namespace PrototypeApi.DataAccess
{
public interface IPrototypeDataAccess
{
IEnumerable<Films... | 887fbfcb6efa0698178abc1564f0c5a03ae55ebf | [
"C#"
] | 12 | C# | shafinizar/Shafeeque-StarWarsApi | 6f2f041d10ea45bf171fd4e27daf4242dfe026c1 | 2fda5ea8c04959a5cc5f61a93d69330040eeb3c4 |
refs/heads/master | <file_sep>'use strict';
const dataPhotos = [];
const names = ['Олег', 'Миша', 'Саша', 'Петр', 'Оля', 'Маша', 'Катя', 'Аня'];
const comments = ['Всё отлично!',
'В целом всё неплохо. Но не всё.',
'Когда вы делаете фотографию, хорошо бы убирать палец из кадра. В конце концов это просто непрофессионально.',
'Моя баб... | 21449b0de7d2d946f597a2c046ad0a369c724a0b | [
"JavaScript"
] | 1 | JavaScript | maksymchaus/837717-kekstagram-21 | a6df328bbfa375f676ae141e64325ed4dbf3acdc | 355fc8f986023f02f5b8421230ddd3f1fcac9ced |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.