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 | <repo_name>PartMan7/PartBot<file_sep>/pmcommands/mports.js
module.exports = {
help: `Displays the available ports for a term.`,
permissions: 'coder',
commandFunction: function (Bot, by, args, client) {
if (!args.length) return Bot.pm(by, 'Uhh, what ports should I get?');
const sources = Object.values(data.pokede... | 0c6e2c4a579518c35f93c1237b5e1250a8c08cd1 | [
"JavaScript",
"Markdown"
] | 209 | JavaScript | PartMan7/PartBot | 01ee933fc7623c1e1590bbb7d592ebc39d6c7df0 | 77f29eb4f582acc71a32afc381f84e61eb417626 |
refs/heads/master | <repo_name>cocodrips/magazine-style-layout<file_sep>/brute_force_layout.py
from base import Base
from page_utils import PageUtils
import itertools
class BruteForceLayout(Base):
def layout(self, rect, page_set, is_grouping=False):
if is_grouping:
self.grouping()
<file_sep>/greedy_layout.py
# -... | 6000e2c1f9f9a588745b87ae9650bd2c4cd7bbc5 | [
"Python"
] | 15 | Python | cocodrips/magazine-style-layout | f92a9214f8265685ca4dadb45bbc46c94f2aa7aa | 312742c3c30c3e1385e618f7ad843040359dd0b4 |
refs/heads/master | <file_sep>const cheerio = require('cheerio');
const express = require('express');
const request = require('request-promise');
const fetch = require('node-fetch');
// test
let app = express();
app.use(express.static('public'));
app.use(express.json());
// Scrape stuff from codeforces.com and return the contests found... | 4a25c40152a698fa513c6c2af908328e627c9def | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | RohanK22/cp-dashboard | 579bd83347b459c7ee5560cf1b5cf4f672b68154 | ce34d6a788bab1d0f48ce47804258f93c86e8d63 |
refs/heads/main | <repo_name>palagashviliniika/Book-Library<file_sep>/app.js
function Book(dasaxeleba,avtori,weli,Janri,gamomcemloba,fasi,url)
{
this.dasaxeleba = dasaxeleba;
this.avtori = avtori;
this.weli = weli;
this.Janri = Janri;
... | 695c6ea485c376577c56a2e2f088b9625a40439c | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | palagashviliniika/Book-Library | 16c34f87d6f03fdf15b55ab1555736039a22188f | 7505b22e066e5676992e030f1781c909ca6497b2 |
refs/heads/master | <file_sep># Boball
<p>I made this little game for http://2015.js13kgames.com/</p>
<h3>Instructions:</h3>
<p>
Hi,<br>
Just use the mouse to play.<br>
Left click: place one white ball<br>
Right click: reverse the other ball<br>
The goal is to collide your white ball with the other who are in move..<br>
After some level,... | 9c85e8d40de7e9fef196fd193d3d4331e090aa55 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Slayug/Boball | 1c5b59ed54415c0bfc32fdd9e190100ba8e846be | 02baaf1eef8dfb09aeba21b34209460562c362ee |
refs/heads/master | <file_sep>/*
* 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.
*/
package javafxapplication4;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Arrays;
import java.... | db88337f1ad499a58d6b863203007be6021794b5 | [
"Markdown",
"Java"
] | 2 | Java | tomasveraferrer/posaguardies | baab413d164f2f9a14c6dfdeb4dbeed694894f25 | 0b61211d5d25e9e4e4d6feaeaa8ae31356546773 |
refs/heads/master | <repo_name>Garviny/hep-download<file_sep>/hep-directory.js
let iframe = document.getElementsByTagName("iframe")[0];
if (iframe) {
location.href = iframe.src;
}
iframe = document.createElement("iframe");
document.body.appendChild(iframe);
window.console = iframe.contentWindow.console;
function init() {
let data = $vm... | 9cdebe5ca89ecb61b44f20c0482d916588162094 | [
"JavaScript"
] | 1 | JavaScript | Garviny/hep-download | 97e69a91baaa61c89943215380629d63daf6c53e | f5354edcf3c19f24dfb4dd74e3ae16bb5f02d790 |
refs/heads/master | <file_sep>function createPagenationStr(divId,count,numPerPage,pageIndex,callback){
$(".pagination",$("#"+divId)).html("");
$(".pagination",$("#"+divId)).append("<ul></ul>");
//当个数达不到翻页要求则不显示翻页
if(pageIndex == 1){
if(count <=numPerPage){
$(".pagination",$("#"+divId)).hide();
return;
... | bc17382040027481814d93b575c610477b364c2b | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | pinkym/exampleCode | 057ca202ca57f1d9f3385e0dd311a3f69e86388b | d4faf7ef6b73cbd2002c3369ef4d57c6f6e05dd3 |
refs/heads/master | <file_sep>using Aesk.Docx2html.DocxParser.Imp.HtmlElt.Nesting.Base;
namespace Aesk.Docx2html.DocxParser.Imp.HtmlElt.Nesting.List.Base
{
internal abstract class AListHtmlElt : ANestingHtmlElt
{
}
}
<file_sep>using System;
using System.Collections.Generic;
using System.Text;
using Aesk.Docx2html.DocxParser... | d904571507c1050da331d22dad46fcd68f8f4f8a | [
"C#"
] | 23 | C# | Aneskov/docx2html | 2b00844c69c64f02ca5e9206bf3414a5b5f27fb0 | 736bf2704c126a816aa0e54749fd416a89ca4ab8 |
refs/heads/master | <file_sep>const { userModel } = require('../models');
const validators = require('./validators');
const createUser = async (req, res, next) => {
const value = validators.validate(req.body, validators.user.createUserSchema, next);
if (!value) return;
const { result, error } = await userModel.createUser(value);
... | c0ec7284e6a2d24233cead87a8679a952abec413 | [
"JavaScript"
] | 9 | JavaScript | Fesmofet/expressExample | ae446e48fcd9a0f516ced3896e4cd3fd93a2b8b0 | 2093b18c90dd70feb2a705fe160bcb0c3dd320c6 |
refs/heads/main | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SwitchQ : MonoBehaviour
{
public GameObject QKillButton, QTalkButton;
public IEnumerator WaitForSwitch(Image clicker)
{
yield return new WaitForSeconds(0.2f);
clicker... | 40374044ed02c52a14c139d2ca58b744d06a373e | [
"Markdown",
"C#"
] | 32 | C# | arnav444a/Q2 | 939fa3be449d9365196b693154ac81f483f64e0f | fdd892bbed57add2542e684bd0e6090dd3d07fb5 |
refs/heads/main | <file_sep> var array = ["raul" , "andrea" , "mauro", "francesco", "alessandro", "matteo", "martino", "mirko",];
var name = prompt("inserire il tuo cognome");
array.push(name);
array.sort();
console.log(array);
for (var j = 0; j < array.length; j++) {
var elem = array[j];
if (elem == n... | 4893199ea60be08cdbd133b0d7e380826cb57e62 | [
"JavaScript"
] | 1 | JavaScript | Raul-Masnada/js-lista-cognomi | 0628fa036051f5007b52321bf807f0b3f24ca201 | c90c26bdb7f4ad564554a027f4daf2ce59075142 |
refs/heads/master | <file_sep>import javax.swing.*;
import java.awt.*;
public class Renderer {
public void paintComponent(Graphics g){
Game.game.repaint();
}
}
<file_sep>import javax.swing.*;
import java.awt.*;
import java.util.Random;
public class Screen extends JPanel { //zeichnet den Screen = Map
int x ... | f84de074f809347c06fe63c55a93a899b9e61b59 | [
"Java"
] | 4 | Java | LFG-Software/PhiPi-PooPoo | d2abdbb13e38e9dc3b18be3552bf4879bbfffe88 | 0d552a185d0c505d219b875a098a312954aec70d |
refs/heads/master | <file_sep># Code-material-for-colour-sonification-device
Code materials for colour sonification interactive device, which is the assignment of Interfacing for Audio and Music module.
Hello everyone my name is <NAME> and welcome to my code materials for colour sonification device.
For Python code part, please downlaod C... | e7b3d7579c555a7560fb689779af871e75a21ef0 | [
"Markdown",
"Python"
] | 2 | Markdown | PavChu/Code-material-for-colour-sonification | 061cc95ae1ed472f7c31ccd6d1305615895e480b | 804eae96e70ba3a0890e6f7095422b5690db49fc |
refs/heads/master | <file_sep>
var y="";
function rec1(){
var score= document.getElementById("t1");
y=score.selectedIndex;
if(y==2||y==3){
pro();}
}
function rec2(){
var score= document.getElementById("t2");
y=score.selectedIndex;
if(y==2||y==3){
pro();}
}
function rec3(){
var score= d... | a84fcbd39852318a319d97c3c616372bfff03063 | [
"JavaScript"
] | 1 | JavaScript | CChuying/bus | 43347ceefa6769c9684f2c7b95b525d8762a7e84 | 0183c03080f2a4ab6950e14f2c5d8904d0c29f10 |
refs/heads/master | <repo_name>qinbin52qiul/wx-pro<file_sep>/pages/detail/detail.js
// pages/detail.js
//获取应用实例,才能调用全局变量
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
iskebi: false,
iszhan: false,
isqiao: false,
isgeli: false
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/... | 0f41b1a8e93a4a5cde4ad10ca2ca86d9a39049fc | [
"JavaScript"
] | 1 | JavaScript | qinbin52qiul/wx-pro | 007d71a84bee6d4c426af1ade3e75ab10afda173 | d1a50769a22bb928119beb2c8a2c8137fb824965 |
refs/heads/master | <file_sep>import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from WorldCup import *
class MainWindow(QMainWindow):
""" This is the class for the main window of the world cup python statistics api"""
def __init__(self):
super().__init__()
self.resize(400,400)
self.setWindowTitle("PyCup Stat... | 146c2806b3775c7f25ae45c3c0ece29b69afc4d7 | [
"Markdown",
"Python"
] | 3 | Python | kylekirkby/WorldCupPy | a22876da3cc0c3bf5c2bce67aabf17142c8b95cf | 06d6b11576270f98dd4907ffc635ceb34bb0723f |
refs/heads/master | <file_sep>package com.example.flutter_example05
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| ef33ef2e3dd030d3e31e5893389cb092fb1a6901 | [
"Kotlin"
] | 1 | Kotlin | NainAcero/flutter_clean-architect | 3d6f3f7ad652e5952bcc9b0563b43535235b43d6 | fecb43519e326ad37109855a6c4afda20ebd98b0 |
refs/heads/master | <repo_name>aabadp02/SolitarioSwing<file_sep>/README.md
# SolitarioSwing
Clásico juego del solitario hecho en java con swing.
Este fue el primer programa grande que hice en mi vida. Fue un trabajo para
Programación II. El código es infernal. Mal organizado, mal escrito y poco eficiente,
lleno de redundancias y de código... | abcca607d942bd07bd42f24ec9972d5103436b6e | [
"Markdown",
"Java"
] | 2 | Markdown | aabadp02/SolitarioSwing | 9633ae5c1a36437d2b8841937d2fe8301171a103 | 306e5306418281b8e0238019e9972e5360cd4f9b |
refs/heads/master | <repo_name>ganzux/DynDNSUpdater<file_sep>/src/resources/config.properties
url.apis = http://api.externalip.net/ip/,http://myip.dnsomatic.com/,http://icanhazip.com
<file_sep>/README.md
DynDNSUpdater
=============
DynDNSUpdater
<file_sep>/src/com/ganzux/util/dyndns/gui/MainGui.java
package com.ganzux.util.dyndns.gui;
i... | 71afe2cdb8dc2907eed8d6560e320d427e5ee019 | [
"Markdown",
"Java",
"INI"
] | 4 | INI | ganzux/DynDNSUpdater | 09f37f1b83668638e791187d38ae377a4eca077f | 328f3586ae599ca1109f4a5c58c89a4ee86a3a46 |
refs/heads/master | <file_sep>import styled from 'styled-components';
const StyledMainTitle = styled.h1`
font-family: 'Roboto Mono', monospace;
font-size:x-large;
`;
const StyledSecondTitle = styled.h2`
font-family: 'Open Sans', sans-serif;
font-size:medium;
`;
const StyledText = styled.p`
font-family: 'Open Sans', sans-serif... | 2cc3775294a8900341791aacd4519a464f4406fc | [
"JavaScript",
"Markdown"
] | 12 | JavaScript | Lucieo/GetMeAPost | 9e9233d078a3446dc37d4391eb802922fdab01a4 | dccbc75187e96596c4f0c00e54ecb78ee862f52b |
refs/heads/master | <file_sep>// Request module is used to make the multiple GET requests
const request = require('request');
// Bluebird is used to create promises for an asynchronous process
const bluebird = require('bluebird');
// Function which requests initial raw data dump
// Returns the title, budget and year data for each winner
... | d9df70fd8c09d0b2fa98adca4e97c8a659a76691 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | n-white/oscarData | 3b6452ed1caf1c27d62d4250baffbabd25362660 | 72b9b4bf15e40f6db82c490f649e5220e735d8b8 |
refs/heads/master | <repo_name>Eurekainc/Travel-Mate<file_sep>/Android/app/src/main/java/io/github/project_travel_mate/travel/transport/TrainAdapter.java
package io.github.project_travel_mate.travel.transport;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import android.vi... | 02b8a89ea19ce80707d624086c2fe6d8d7b5821b | [
"Java"
] | 1 | Java | Eurekainc/Travel-Mate | 8be7ebb7d57a9b2c518e7676f4cfba08b4449dc1 | 23983a1801c274492c778ac2fca819892003f207 |
refs/heads/main | <repo_name>TwentyE/Schulwebsite_By_J_L<file_sep>/School_Website/online_courses.php
<?php include("meta.php") ?>
<?php include("header.php") ?>
<?php
if (isset($session_fullName)) {
?> <div id="Videos">
<center>
<h1>3 Gratis-Kurse:</h1>
<br>
<h2>Wo ist die Liebe?</h2>
<iframe width="560" height... | 392586bd0e68b277dbdbb11487b23241ea3463d5 | [
"Markdown",
"PHP"
] | 17 | PHP | TwentyE/Schulwebsite_By_J_L | e09bfd21586580a84b6cc2aa28f8b942b55bdc4d | a008cc49e35e4eddb71ae03b1fb73db7e6062b26 |
refs/heads/master | <repo_name>antonybstack/CGWebsite<file_sep>/stattracker.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Carolina Gaming - CodMW Lookup</title>
<meta name="description" content="Carolina Gaming Website">
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href... | 5ddc4db0223c62ae3c884d8ea2cf99afea5e9a14 | [
"Markdown",
"JavaScript",
"HTML"
] | 3 | HTML | antonybstack/CGWebsite | 99781fe2f539468a17766629c75e11130ca622fa | 4a45f591b826b34b365b6dc83f81ea48519257b3 |
refs/heads/master | <file_sep>/*
* Name: <NAME>
* Login: cs8bagf
* Date: 2/22/12
* File: ResizableBallController.java
* Sources of Help: google, TA
*
* This program creates a horizontal and vertical line which intersect.
The user is able to drag around the lines upon clicking and dragging.
Each actionevent has a method that defines th... | dbd2b2ea36deddea487558070497594dbdd6e6b3 | [
"Java"
] | 2 | Java | DrivenBlue/ResizableBall | c5548398d5fefa12f168dc1b1bc0c45e2a09c54f | 933077c16fe341f01043a6486312c5b71a1e6d79 |
refs/heads/master | <file_sep># Docs Equations Calculator
Work in Progress.
## Goals:
As a user, I can:
- [ ] compute mathematical expressions such as `1+2` without leaving Docs
- [ ] compute more complicated expressions that involve simple math functions such as fractions, square roots, logarithms, exponents, etc.
- [ ] compute sums,... | 819239db2bfd04ec3d2a7760074ac95a0d02206c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | jared-hughes/docs-equations-calculator | e770763c2c46eef719ea7d70440d5042d1a73c8f | e01f33ae3d5ef489a85c63c641ddb7ef5371ca89 |
refs/heads/master | <repo_name>eppee/utmaningen<file_sep>/src/main/java/se/per/utmaningen/database/UtmaningenDatabase.java
package se.per.utmaningen.database;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
public class UtmaningenDatabase {
static {
try {
Class... | 1f02564d5c96ef85224eb9a59d9c2e67dd2b72e8 | [
"Java",
"Maven POM"
] | 9 | Java | eppee/utmaningen | 2d0af3b815a78957ba9c5a746a1c9343e5b47398 | 9d29e68347abe6c0038f7b5c568d59fdf29b0994 |
refs/heads/master | <repo_name>jaredmoskowitz/comp20-jmoskowitz<file_sep>/messages/README.txt
README.txt
Lab: Messages, Part 2
COMP 20
<NAME>
1. To my knowledge everything has been correctly implemented.
2. N/A
3. 1 hour
Part 2: Loading the Data From Local Machine:
Opening the file in a browser worked for Firefox, but not Chrome or Safa... | 10a9166d76c7926f345c4b8497160e84de4168c4 | [
"JavaScript",
"Text",
"Shell"
] | 8 | Text | jaredmoskowitz/comp20-jmoskowitz | 53e93c6765996d72f184c6b6dcef680652dd7703 | 2563d115f655a784f7cad0578f3956a347249fef |
refs/heads/master | <repo_name>alcarv/calculadora<file_sep>/README.md
# calculadora
calc project em php
<file_sep>/index.php
<?php
print_r("Hello Word");
?> | 3b2f058cab248e8350d2374836194c2c54ca8fd1 | [
"Markdown",
"PHP"
] | 2 | Markdown | alcarv/calculadora | e7216c38e031cbf904a47f2bb2e2fe57d4add972 | 1bf6a83db2a9f6f7aab287de9c9187730308d16b |
refs/heads/master | <repo_name>cthielen/sympa-sync<file_sep>/models/person.rb
require 'active_resource'
class Person < ActiveResource::Base
begin
rm_settings = YAML.load_file("config/dss-rm.yml")['dssrm']
self.site = rm_settings["endpoint"]
self.user = rm_settings["username"]
self.password = rm_settings["password"]
r... | ef9fae69c0b0c5435735570afd5474dc9c39be6e | [
"Markdown",
"Ruby"
] | 4 | Ruby | cthielen/sympa-sync | 338da5dd2b69b1d3cdef4358886bc6b75235c96d | aaccc6ae86a7cb5346dffb7fd12d5397942c95b8 |
refs/heads/master | <file_sep># INTERNAL TESTING
### Installation
- Ensure you have the latest version of npm and NodeJS LTS version (8.11.1) or higher.
- Also make sure MongoDB is installed.
- Download or clone a git repository:
```
https://github.com/shpp-alyabihova/internal-testing.git
```
- Import collection from ... | 48824ae3df9f3be8bad608ee83e92257283be000 | [
"Markdown",
"JavaScript"
] | 9 | Markdown | shpp-alyabihova/internal-testing | 09a2eb35f2b66e9dfafcaa75a69c728c843c4fdc | b08e282e0d331fd7045a2cbf4087e6bc0291f0b8 |
refs/heads/master | <repo_name>xgbuils/ca-juggol<file_sep>/Gruntfile.js
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint')
// commonjs to module for browser
grunt.loadNpmTasks('grunt-browserify')
grunt.loadNpmTasks('grunt-focus')
grunt.loadNpmTasks('grunt-contrib-copy')
grunt.loadNpmTasks('grunt-con... | 81b2ddb0962957859f5a2900dc6b348c6d4af471 | [
"JavaScript"
] | 2 | JavaScript | xgbuils/ca-juggol | e1155edd62507468b409be2243c18e54a76bbb60 | 09f806eeccc69fb8866c4209351ef3669b54aa26 |
refs/heads/master | <file_sep>Cleaning data method :
1) When we read features.txt and activity_labels.txt files we remove the unecessary columns.
2) When we merge the test and the train files we name the variables by using features.txt file. We name the first column Subject.Number and the second one Activity.
3) In order to filter out ... | 31a0a3affd3884f3cfe4295468dd5a1d9553fb9f | [
"Markdown",
"R"
] | 3 | Markdown | eddiebeherano/Course-Project---Cleaning-Data--Coursera- | cdf63e63088f4231684e43870d38ed82c755c8c3 | c636d45ba4b6b3a6a6576e21732a6b1c12ff9b84 |
refs/heads/main | <repo_name>aureliengremy/rpg-VIF<file_sep>/README.md
# rpg-VIF
RPG classique avec les VIF
##### Source and Idea for this project :
- [link to article from freeCodeCamp](https://www.freecodecamp.org/news/learning-javascript-by-making-a-game-4aca51ad9030/ "built a role playing game")
## git :
- Create gitignore
- Re... | 34d151a6cc751d6f0a9156c32a717b87ac1e8c0f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | aureliengremy/rpg-VIF | ccbd3b74fc578627f6bbfcd5504868ce24d5c139 | 9538a9fe88f36e9015693b7fccfed2bf7b47b360 |
refs/heads/main | <file_sep>
package idiomadosistema;
import java.util.Locale;
/**
*
* @author <NAME>
*/
public class IdiomaDoSistema {
public static void main(String[] args) {
Locale sis = Locale.getDefault();
System.out.println("O seu sistema está em");
System.out.println(... | 2942d5d81b12b2f496525342d0d3f79945445a60 | [
"Markdown",
"Java"
] | 2 | Java | michaelcoitim/IdiomaDoSistema | 2ea31e772c47df5ef80da20301a44d5209ffbbec | 9a4d0ac08aa507f154dc34a7aca1cbce02ada598 |
refs/heads/master | <file_sep>Trong bài này mình sẽ giới thiệu cho các bạn cách để khởi tạo một website đơn giản với Node JS.
# 1. Kiến thức cần biết
Để học bài này các bạn nên đọc trước hai bài viết của mình đó là thể nào là một web server và giao thức HTTP là gì.
1) [Giao thức HTTP là gì ? ](https://sociss.edu.vn/courses/nodejs/lesso... | 89322a83436d8616829782044cb99a3affcf056f | [
"Markdown",
"JavaScript"
] | 45 | Markdown | nghuuquyen/sociss-class-nodejs | e5424f8a4d4dca18e4078c09307f8ff46b3536fb | 4cc0470b76b746cee87eb0bdee7233838223f9d4 |
refs/heads/master | <file_sep>import { Component } from '@angular/core';
import { NavController} from 'ionic-angular';
import { AuthService } from '../../providers/technical/auth-service';
import { LoginPage } from '../login/login';
@Component({
selector: 'page-logout',
template: ''
})
export class LogoutPage {
constructor(public ... | 80ea4ba745e89b4ce1afeba1fe6f055972b2f380 | [
"TypeScript"
] | 11 | TypeScript | sylcastaing/Olaf-mobile | 857685b7e8939f38531d881bf2f60d08143744f7 | 3a278ef4b76db1e335e4d606e2a7aab992f636b3 |
refs/heads/master | <repo_name>notoriouscoder4/RoomDatabaseRetrofit_1<file_sep>/app/src/main/java/com/jsm/roomdatabaseretrofit/Network/Api.java
package com.jsm.roomdatabaseretrofit.Network;
import com.jsm.roomdatabaseretrofit.Modal.Actor;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
public interface Api {
... | 4180a948b3e4d20b7be2891e18ecc2724419cf70 | [
"Java"
] | 1 | Java | notoriouscoder4/RoomDatabaseRetrofit_1 | 815e2840233f2b473c24a82584ff14863e190369 | 56098305de152aa52f2a96d49b4cb831e5d2e352 |
refs/heads/master | <repo_name>BlackMoon-Angle/shopping<file_sep>/src/js/login.js
window.onload = function () {
$('.account').click(function () {
$(this).addClass('active')
$(this).siblings('.borderleft').removeClass('active')
$(this)
.parent()
.siblings('.login_new_tabbody')
... | 4ef3d2cec80a85494f792141433a815622501d96 | [
"JavaScript",
"PHP"
] | 7 | JavaScript | BlackMoon-Angle/shopping | f6782772aec1e07e917dc65a397db8ce118e491a | cbdc0c0e231a5576ec7dbe1d089e4546063c78e2 |
refs/heads/master | <repo_name>madhusweb/devops-practice<file_sep>/madhu-script.sh
#!/bin/bash
echo "Hello world v2"
| fbb3822b44d4f7589322ac6d5bd7d2180f623db8 | [
"Shell"
] | 1 | Shell | madhusweb/devops-practice | 4fab91a6a3be0f088e34dd7a8935984f4e46c35f | 3ba85cd1a26ff416cf811612d4ddc5a2130cb442 |
refs/heads/master | <file_sep># LeafCrap
A scrapper for extracting the strains info and their images from Leafly.
## Legal note
This script is only for personal usage and not for any profitable purpose. We're not responsible for what people use for and leafly's data in under copyright by their brand. Leafly would probably take action aga... | 148a8ef6ec0b41ac3a1fedbed68b807c3d8e8f62 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | leafcrap/leafcrap | 1f043f75092f6e0408a5f00a9e82a8c93cd96474 | e1c78cf588f86a298ce20dd3b575f6f8e0a023bb |
refs/heads/main | <file_sep># The-Pomodoro-Technique<file_sep>#include <iostream>
#include <stdio.h>
#include <windows.h>
#include <conio.h>
int sec=0,min=25,auxmin=25;
int minb=4,auxb=4,minlb=30,auxlb=30;
int pom=0,psr=0;
UINT_PTR timer,timRes;
void CALLBACK Reset(HWND hwnd, UINT uMsg, UINT timerId, DWORD dwTime){
if(kbhit()){
psr... | 0a2f047f490886b882c125ae61643ba8ab2916e8 | [
"Markdown",
"C++"
] | 2 | Markdown | GabrielSilvaL/The-Pomodoro-Technique | 811de9f112e1aaae411f65dede8032142c9d016b | 60ce5d325f3e457e8d66d151858de545f62c33c0 |
refs/heads/soul3 | <repo_name>experimental-platform/continuous-delivery<file_sep>/build.sh
#!/usr/bin/env bash
set -e
DEBUG=/bin/false
${DEBUG} && set -x
${DEBUG} && echo "\n\nALL VARIABLES:\n"
${DEBUG} && set
${DEBUG} && echo "ALL VARIABLES DONE\n\n"
# TODO: does build but not use the built "ubuntu" :(
CHANNEL=${TRAVIS_BRANCH}
func... | 003448fbd023b5c920750120b0246ad3b628ceaa | [
"Shell"
] | 2 | Shell | experimental-platform/continuous-delivery | 6dc60e0a7855fbc1a7ef7c7801c3e18ca299cbed | cf73b8689cd5b7a6074912a7e4828eb120a82580 |
refs/heads/master | <repo_name>ariqnfl/mountnesia<file_sep>/app/Http/Controllers/MountController.php
<?php
namespace App\Http\Controllers;
use App\Location;
use App\Mount;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class MountController extends Controller
{
/**
* Display a listing of the resource.
... | 81732d823768be75a47bf3241ace73483c610cd6 | [
"Markdown",
"PHP"
] | 7 | PHP | ariqnfl/mountnesia | 4ff1b59cbcd443f2d1261fbb05967f1ceefae917 | 6712bae720906d07b59305bcbf023dc69f159d62 |
refs/heads/master | <file_sep><?php
echo "<h1>WELCOME TO THE DASHBOARD</h1>";
?><file_sep><?php
$uname="";
$err_uname="";
$pass="";
$err_pass="";
$err_msg="";
$hasError=false;
$flag=false;
$username="root";
$servername="localhost";
$password="";
$db_name="mydb";
if(isset($_POST["login"])){
if(empty($_POST["uname"]... | 19572a85c4434a06443b066403bcd236d399bf87 | [
"PHP"
] | 12 | PHP | Shashwata-Dey/webtech_php | af32a6df1b9757f52616c242431128023f0b39c3 | ad9f0a369cce56ec6fb5f3685cdc93baa96a4e16 |
refs/heads/master | <file_sep># faktory_worker_node
[](https://travis-ci.org/jbielick/faktory-client)
[](https://coveralls.io/github/jbielick/fak... | 9e75014020c04912934756c9272f571bd8575cb5 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | tbonz/faktory_worker_node | 79cc9af07741e70a53c296e20a5378f3c5acde91 | c9b920a7dfdd84b8fa34156e0b8e9a783f14a2c4 |
refs/heads/master | <repo_name>Mahek1258/p-30-box-game-2<file_sep>/sketch.js
const Engine = Matter.Engine;
const World = Matter.World;
const Bodies = Matter.Bodies;
const Body = Matter.Body;
const Constraint = Matter.Constraint;
var stand1;
var box1,box2,box3,box4,box5,box6,box7,box8,box9,box10,box11,box12,box13,box14,box15;
var ball,sli... | 3957842f32f63f69ebbcf43a640e92d02bdca21f | [
"JavaScript"
] | 1 | JavaScript | Mahek1258/p-30-box-game-2 | bcaf6418508bac06316ca4f60b74a7d337ab6f60 | 7322dcb9bf77ce4c8187b3ae7e687edfeae43e25 |
HEAD | <file_sep>var content = document.getElementById('content');
var image = document.createElement("img");
image.src = "img/" + "one" + "/" + 99 + ".jpg";
content.appendChild(image);
image.onerror = function() {
content.removeChild(image);
};
addAllPics(content, "talking");
addAllPics(content, "one");
addAllPics(conten... | 6b1f8e94eef9c1796ef960af96eb2d898f5ef1de | [
"JavaScript"
] | 1 | JavaScript | Piejak/lexi | 0a678d86d09924abf4ea89ebf3b428ce7e705ace | e05acc2bd18d1351ae0b1de4a57c480ee4bf1e67 |
refs/heads/master | <repo_name>asdoc/decision_tree_project<file_sep>/q02_decision_regressor_plot/build.py
# %load q02_decision_regressor_plot/build.py
# default imports
from sklearn.model_selection import train_test_split
from sklearn.tree import DecisionTreeRegressor
from sklearn.metrics import mean_squared_error
import pandas as pd
impo... | 42be964b2b905477974e66948aeee644bfc6997c | [
"Python"
] | 1 | Python | asdoc/decision_tree_project | c581e4b23cd62231c61408f07fc81c1531fb69f4 | 875a608d78122c7491ac5b554936fc55881f3a93 |
refs/heads/master | <repo_name>yarbsemaj/SaveTheChange<file_sep>/routes/web.php
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes ar... | bc09b42f19b47e1ee9ccc8a62fc0db246d08953d | [
"PHP"
] | 4 | PHP | yarbsemaj/SaveTheChange | f26f0c16c55249c7eb46e4c1d3043adca64f54be | ba07103b2ac871715cea246fb9de36f38c82aa3b |
refs/heads/master | <file_sep>#ifndef SUM_H
#define SUM_H
float sum(float a, float b);
#endif
<file_sep>#include <iostream>
#include "add.h"
float sum(float a, float b)
{
std::cout <<" Called sum with " << a << " and " << b << std::endl;
float s = add(a, b);
return(s);
}
<file_sep>
all: compile_add compile_sum compile_exec
compil... | ff1123a9f2f42eac3726c9bffba9429765deb407 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 7 | C | jaivrat/cpp | 86a15a66d8a1d6e81f225d79d7c99d3c548a4252 | 002ec17443cad140c1426b3c7252314a54a68dfb |
refs/heads/master | <file_sep>
```{r}
library("rstan", quietly = T)
library("tidyverse", quietly = T)
library("magrittr", quietly = T)
##this is where the data is
URL <- "https://raw.githubusercontent.com/carlislerainey/priors-for-separation/master/br-replication/data/need.csv"
```
```{r}
##sy: this function automatically centers covari... | 7a021c51fff6af98b3c7f01377c99c7a1ccdf864 | [
"Markdown",
"R",
"RMarkdown"
] | 8 | RMarkdown | syadgir/bayesian_notes | 182e62dcc795f8307a787c5d2969eecfe1a4145f | c405957755c181e843a4e324b2bbe0e32a670d1e |
refs/heads/master | <repo_name>shihchieh822/todo_list<file_sep>/todo/update.php
<?php
header('Content-Type: application/json; charset=utf-8');
include ('../../db.php');
try {
$pdo = new PDO("mysql:host=$db[host];dbname=$db[dbname];port=$db[port];charset=$db[charset]", $db['username'], $db['password']); //pdo的連接方式
} catch (PDOExcepti... | fef29f8dd7ca0c3a1d4fcf3ad9c55e5049391d80 | [
"JavaScript",
"PHP"
] | 2 | PHP | shihchieh822/todo_list | 080f75c8427fada1812bf753c3241ab4f04d513c | 90b27647b3c34f6910c1893b1f204162603c3c84 |
refs/heads/main | <file_sep>import { AngularFirestoreCollection, AngularFirestore, AngularFirestoreDocument } from '@angular/fire/firestore';
import { Injectable } from '@angular/core';
import { Post } from './post';
import { map } from 'rxjs/operators';
@Injectable({
providedIn: 'root'
})
export class PostService {
postsCollecti... | 42dd9e7513100305b27b77f39591c64b2f70d6b5 | [
"Markdown",
"TypeScript"
] | 9 | TypeScript | ridvanakca/frontend-projects | 624ca5d91b699d53c21e8778966082950621063e | 2c62d0c59bfbcb5cacd42d07e50c57d69029c822 |
refs/heads/master | <repo_name>VereorNox/EldersUnity<file_sep>/README.md
# EldersUnity
Assorted stuff I'm messing around with before moving onto the Unity engine to make a game
<file_sep>/Colonist.cs
using System;
public class Colonist
{
// TODO can make these private if you want to make getters/setters for em.
public string... | e1d45fccbbb68b68fba6885e9f24a292a44dadb1 | [
"Markdown",
"C#"
] | 4 | Markdown | VereorNox/EldersUnity | 02ad994cff0916671b79e7350585cf9a44f76494 | 69e043a01104f06a04ac32d323761ce0139181b2 |
refs/heads/master | <file_sep>use crate::config::Config;
use crate::statistics::{CategoryStats, ContinuousValueStats};
use std::sync::Arc;
use std::time::Duration;
use tokio::stream::StreamExt;
mod config;
mod statistics;
type Result<T> = std::result::Result<T, Box<dyn std::error::Error + Send + Sync>>;
struct RequestResult {
statu... | c4a5bbfe1151630ad93d0ea7ceecf3de6804826a | [
"TOML",
"Rust",
"Markdown"
] | 6 | Rust | alanbondarun/butterfly | fe5b55241dd3e67bafc2566346785de77c1c2b72 | e1a18aba4da39d54d3d35e1beb5761aa77ad44a1 |
refs/heads/master | <file_sep>class canvas
{
constructor()
{
this.width=600;
this.height=400; this.ctx=document.getElementById('canvas').getContext('2d');
}
init()
{
this.ctx.canvas.width=this.width;
this.ctx.canvas.height=this.height;
}
}
class paddle extends canvas
{
constructor()
{
super();
this.ph... | c6cb88a15de783d5fedbf24ab1435dddf9a6e53f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | dalchandra/Javascript-canvas | 47b9307b9e2ffd1e7585f3264bae3fc875a0875a | 4472b0c528a11c5837d42aed6d1eeebd166f3b59 |
refs/heads/main | <repo_name>candracodes/code-quiz<file_sep>/assets/js/script.js
// DEFINE HTML ID ELEMENTS AS VARIABLES
var highScoreLinkEl = document.getElementById("high-score-link");
var timerEl = document.getElementById("timer");
var questionMainContainerEl = document.getElementById("question-main-container");
var questionContainer... | 0a50eb22ba1993a59f630e22208e034ecaa526b8 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | candracodes/code-quiz | e087d620c081f0fec605f055317ac7626402a179 | 507a2206d7b6a61e94f5e97550129ea121a68a6b |
refs/heads/main | <repo_name>rpickett0173/papergainz<file_sep>/hello/apps.py
from django.apps import AppConfig
import datetime
class HomeConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'hello'
def ready(self):
print("starting scheduler ...")
print(datetime.datetime.today())
... | e3d6730a47d36f6acc5b0d713a8709e9c441aaa1 | [
"Python",
"Text"
] | 28 | Python | rpickett0173/papergainz | 617b72f76e24b216f45a181b0fb03ea2dd4d67e2 | cb7dd4f8c743a40b2de68dd20593c9b51158b1fe |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ChtemeleSurfaceApplication.HTML_classes;
namespace ChtemeleSurfaceApplication.Carte_classes
{
public class HTMLTagCarte : HTMLCarte
{
private string _tag;
private HtmlTag.HTMLTagType _tagtype... | c73cf14c6ac1b65a9fec24166ae846a86b0752e1 | [
"C#"
] | 46 | C# | ChtemeleSurface/ChtemeleSurface | 2bc664503bd04936784692c78d0d985ef9bdc9d1 | 0cb1d5ff0005579edb995beb7d3a0a29395ae549 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using Facebook.Unity;
using UnityEngine;
public class Test : MonoBehaviour
{
public UnityEngine.UI.Text outputText;
void Awake()
{
SetupFirebase();
SetupFacebook();
AppsFlyer.setIsDebug(true);
AppsFlyer.setAppsFlyerKey("YOUR_APPSFLYER... | 59024b1fed3f6c4a103c0146f3e0db2db65c03c3 | [
"C#"
] | 1 | C# | egemencanguler/sdk | 6dec21ed46ef26d23350c3100acc9093d8698aa4 | 14022d7d015fb70cf0dfee66bb652978b7e23827 |
refs/heads/master | <file_sep>using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace WpfApp3
{
public partial class shopContext : DbContext
{
public shopContext()
{
}
public shopContext(DbContextOptions<shopContext> options)
: base(o... | 9143a056c45eb450c2043bd29bb146f5d992d444 | [
"C#"
] | 9 | C# | masterworgen/urtk-coursework | faedca63fb39fe8b1d8a271e951ab4c412810a5c | 1ab0223cf42be24ec1e0e31b29fb8d96e29c5e9b |
refs/heads/master | <repo_name>ihrigb/camera-booth<file_sep>/pi/lib/python3.6/site-packages/tfatool-2.5.0.dist-info/DESCRIPTION.rst
TFATool: Toshiba FlashAir Tool
==============================
This package provides easy access to
Toshiba's FlashAir wireless SD card. As a library,
a simple abstraction of the FlashAir API is provided. As... | 9d735e0ce20546d279f9d5b0a174096543ecb39f | [
"Markdown",
"Python",
"C++",
"reStructuredText"
] | 6 | reStructuredText | ihrigb/camera-booth | 5177fb3aeb71c53501b8fdf353b580e6ea9d2cff | 2ef91bf3d0ab2543be4bd9a0211a5b9da69b8362 |
refs/heads/master | <repo_name>gpkc/simple_rest<file_sep>/simple_rest/views.py
from flask_apispec import MethodResource, use_kwargs, doc, marshal_with
from webargs import fields
from flask import abort
class UserView(MethodResource):
pass
class UsersView(MethodResource):
pass
<file_sep>/tests/test_views.py
class TestUserViews:... | 0f4632fec8c1f1de608800eb44d0bb232c4df54d | [
"Python",
"Text"
] | 8 | Python | gpkc/simple_rest | 7f6d09a98190bdde042c5c04c5de8f3260d2387a | d0611c890140636da091a528e3f23b28e126e787 |
refs/heads/master | <file_sep>#include <stdio.h>
int main()
{
printf("\thelloworld\n\t\b\\\n");
printf("bonjour le monde!\n\n");
}<file_sep>#include <stdio.h>
/*strugging with ob1. Wrting code to step through the increments of the while loop.
successful! But still confused. ????*/
int main()
{
long nc;
int w;
nc = 0;
w = ge... | bc686870f8a08937681738b9ec690d270e986832 | [
"C"
] | 4 | C | tremlab/C_babysteps | a1c9e86fc3062ea9785e36d39feeca2cbc196c54 | fe1ce048c6bb5b051613d151ee29ffa2a7eda91c |
refs/heads/master | <repo_name>TildeBeta/Project-Euler<file_sep>/Solutions/Euler4.py
"""
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
Find the largest palindrome made from the product of two 3-digit numbers.
Solution: 906609
"""
def is_palindrome(... | 25ead3ade5508e97c02ee772c1fec2a4559a6766 | [
"Markdown",
"Python"
] | 4 | Python | TildeBeta/Project-Euler | e91c23692979ca9a44fa5da2c32a0d4c4a97ff72 | 4d6bebdb6fdc9658cef673e837bbb12e66a35b1d |
refs/heads/master | <file_sep>package com.chen.cxProject.Controller;
import com.chen.cxProject.Service.Test03Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping... | e2e4a427c2fdf83df9fe1e04e9832a4fc54e21e4 | [
"Java"
] | 4 | Java | welldone1915/CxProject02 | 7263166de901a5e3a849bedd95886f94efe60a7c | a15e82f973112bfa86ba8a954d132b256035f88e |
refs/heads/master | <repo_name>zygeilit/page-layouts<file_sep>/server.js
var connect = require('connect');
var HttpDispatcher = require('httpdispatcher');
var dispatcher = new HttpDispatcher();
var fs = require('fs');
var util = require('util');
var path = require('path');
var serveStatic = require('serve-static')
var port = 8080;
// 承... | d48e096d125003dd7baf81e1011f08d77f4bcce9 | [
"JavaScript"
] | 1 | JavaScript | zygeilit/page-layouts | 49149c496d723df0406cf5bcaa6f11aa26897fa9 | 61df1dc41aad393669f7b96e671ebab9d517848c |
refs/heads/master | <repo_name>fangye945a/linux_c_example<file_sep>/tcp_server_example/socket_server.h
/*******************************************************************************
* Copyright (C) 2017 ZOOMLION
*
* All rights reserved.
*
* Contributors:
* jea.long initial version
*
**************************************... | 6e464c9b7a25766cb154f8981418d03ea8aac7f5 | [
"Markdown",
"C",
"Makefile"
] | 7 | C | fangye945a/linux_c_example | ee7420f57782dadd9e19ae7ea5c28197c3764290 | 5fd5d5f4dc1c8cfb49b2891d57fbec5746431d14 |
refs/heads/master | <file_sep>#
# Genoa - sample initialisation file
#
[GA]
#===
# Initial population - Random / Load / Seed
init.method: R
init.filename: seed.txt
# Run parameters
run.search: True
run.max_generations: 100
run.population_size: 300
;run.nreplace: 50
run.nreplace_percent: 20
run.adapt_interval: 0.1
run.adapt_scale: 0.1
... | ade847ef645bd7982d104a0e7d8a484a572d9db8 | [
"Markdown",
"Python",
"INI"
] | 5 | INI | cdragun/genoa | 84378a177d676a479aa8cfe21bfa940aff337dae | 1bd0ebab524327aa262ccbc8fa779f0142a87e19 |
refs/heads/develop | <repo_name>studiometa/eslint-config<file_sep>/src/overrides/build-files.js
module.exports = {
files: [
'gulpfile.js',
'webpack.mix.js',
'.*rc.js',
'.*rc.mjs',
'.*rc.cjs',
'*.config.js',
'*.config.mjs',
'*.config.cjs',
],
env: {
node: true,
},
rules: {
'global-require': ... | 627c0cd14fcce27c364f8d0732c9dd8b4bd188ab | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | studiometa/eslint-config | 8ec1037f08bbf3af2dafaa43756cbb2e40f0a0bc | b633f2f0ca759a75ff391f9ea6d6b72521525d31 |
refs/heads/master | <repo_name>austitech/Tokenizer<file_sep>/tokenizer.py
from token import Token
class StringTokenizer:
def __init__(self, text='', tokentype=None, keyword=None):
self.text = text
self.tokentype = tokentype
self.keyword = keyword
self.pos = 0 # act as a cursor within self.text
... | d39e586e5056e4e8cbe1e9df5c79c795e646ab67 | [
"Markdown",
"Python"
] | 4 | Python | austitech/Tokenizer | 005bd6772ef3298b222c05e3357bf22961978a57 | f7e770ffeb5aaabffc2de246a04e1c354dfce240 |
refs/heads/master | <repo_name>MajaMarkovic1/climate-changes-maps<file_sep>/services.js
class Service{
createServicesList(services, serviceList, selectLabel){
serviceList.innerHTML = '';
services.forEach(element => {
let option = document.createElement("option");
option.textContent = element.na... | 895f8f7e08bd742a0fe4d489fef4dd45ba7a22a3 | [
"JavaScript"
] | 1 | JavaScript | MajaMarkovic1/climate-changes-maps | bcfc7aaefc0a0c4d38f2068acdf5e4ed7ecd401b | e50bbfb24fcf91438452ce13138d84d432a70779 |
refs/heads/master | <file_sep>#!c:/Python36/python.exe
import os
import argparse
parser = argparse.ArgumentParser(description='[ Unprefix Version 0.1 ] ')
parser.add_argument(
"--path", help=r"python --path C:\Users\TrustedSec\Downloads", required=True)
args = parser.parse_args()
files = os.listdir(args.path)
banner = """
███ █▄... | b3a1a7051f01801bde17000356da3b113cc11bc9 | [
"Markdown",
"Python"
] | 2 | Python | anthrax3/Unprefix | d8b0277b58505106264efc3f2ffcc9caccbff1da | 9804b48c04f964cb127646a5a451c23497df3013 |
refs/heads/master | <file_sep>import { getFilters } from './filters'
import { getTodos, toggleTodo, removeTodo, saveTodos } from './todos'
const renderTodos = () => {
const newTodosEl = document.querySelector('#newTodos')
// filtering todo list based on typed search text
const todos = getTodos()
const { searchText, hide... | 8b518a686a2c14873bcd825b7b8d28df605762a6 | [
"JavaScript"
] | 1 | JavaScript | MallikarjunKPatil/Projects | 7b024f0c1be358afedbf0e17be7d2876d3189115 | 28d453eafe7e327f2c0cc5256a5ce353cf2bd249 |
refs/heads/master | <repo_name>dorber/ortic<file_sep>/psr/advanced/views/counter.php
<html>
<head>
<title>Advanced Application</title>
</head>
<body>
<h1>Hello <?php echo $counter ?> <?php echo $counter > 1 ? 'times' : 'time' ?>!</h1>
<hr>
<?php include __DIR__ . '/_footer.php'; ?>
</body>
</html><file_sep>/psr/advanced/ap... | 1e99fe6fbf3d9bc069ec888490ec4d9edff3a4f6 | [
"Markdown",
"PHP"
] | 24 | PHP | dorber/ortic | 3c17d989e044b653d0aa3a0b359825b60a1b506e | 99280bf5fa846d91ad4adff81aa6fd8f3c39a124 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Newtonsoft.Json;
using JCDecaux_API;
namespace JCDecaux_API {
/// <summary>
/// This class implements the JCDecaux API in order to get all informations about cities and contracts
/// Note : this class also i... | 04441e2f6dbf1ebbf6d81af4fd6932f04e369546 | [
"C#"
] | 7 | C# | kevin-valerio/VLib-WS-SOAP-API | e850f7464dba020e5b9e81f38bc85745dad2c26b | e5f4aa6e48af37edc86fffd63127b0df0e733e10 |
refs/heads/master | <repo_name>crazyfengyu/jewelry<file_sep>/js/common/config.js
function getTodayMonthDays(date) {
var tempDate = new Date("2000-1-1");
tempDate.setFullYear(date.getFullYear());
tempDate.setMonth(date.getMonth() + 1);
tempDate.setDate(0);
return tempDate.getDate();
}
function getTodayMonthOneDaysWeek(... | 0241f0a5418b4e97d9c8a90e62adccf221eb802e | [
"JavaScript",
"PHP"
] | 27 | JavaScript | crazyfengyu/jewelry | 9c4c9d10217219b44d76fd7808422c5cec42fc4c | 49826f66bfb9eacda13bb429feb90d033168b622 |
refs/heads/master | <repo_name>ssathy2/siddsathyam_meteor<file_sep>/server/app.js
if (Meteor.isServer) {
Meteor.startup(function () {
// bootstrap the admin user if they exist -- You'll be replacing the id later
if (Meteor.users.findOne("3M5Wjc9tZuiQxx87P"))
console.log(Roles.addUsersToRoles("3M5Wjc9tZuiQxx87P", ['a... | 338cecc675b815baf7744854128c069c64d66249 | [
"JavaScript"
] | 5 | JavaScript | ssathy2/siddsathyam_meteor | 633b137e2eafa06b53f17adab16c6569bfd13d63 | f353da517b0cf6593e37cb71ae9f44ed96e39e1e |
refs/heads/master | <file_sep>#!/bin/sh
# run flink job
exec flink run /app.jar > /app.out &
exit 0
<file_sep># Flink on Kubernetes.
**Flink achitecture**
<ul>
<li>One active JobManager(JM) </li>
<li>Several TaskManagers(TM)</li>
</ul>
**One job per cluster**
<ul>
<li>Evolving job deployment philosophy</li>
<li>Tie cluster l... | 008100512dc9d82648167d618c46dad066ab8543 | [
"Markdown",
"Shell"
] | 2 | Shell | guozhongtao/flink-k8s | 53422c5677148f8b1e46ccd20072e7bcdc37abc8 | cc48381f271b2e4eac1717f70628e295f7158e67 |
refs/heads/master | <repo_name>helmelix/rss_react_redux<file_sep>/src/routes/channel/containers/channel.js
import { connect } from 'react-redux'
import { fetchChannel, fetchChannelNews, selectNews, cleanSelectedData} from '../modules/channel'
import Channel from '../components/channel'
function mapStateToProps(state) {
return {
n... | 7d87dca88bdbeb29533588b821844121c351c840 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | helmelix/rss_react_redux | 295c4cd0063a61555326a5d574b8191e2e6f7fd1 | e1779a1e546393df516b2d450710a2818b812c18 |
refs/heads/master | <file_sep>-- phpMyAdmin SQL Dump
-- version 4.2.11
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 06, 2015 at 03:06
-- Server version: 5.6.21
-- PHP Version: 5.6.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLI... | d8597e8bcd91cd257b49244d59d40db743bca799 | [
"SQL"
] | 1 | SQL | nicolasruslim/TA_document | 775b346438d6700dc611f99a38d3b962821df952 | 6361ebf64478c44db2a037c70f67259902003c9f |
refs/heads/master | <file_sep>var dodger = document.getElementById("dodger");
function moveDodgerRight() {
var leftNumber = dodger.style.left.replace("px", "");
var left = parseInt(leftNumber, 10);
if (left < 360) {
dodger.style.left = `${left + 1}px`;
}
}
document.addEventListener("keydown", e => {if (e.which === 39) {
m... | 70f1897f7b432c8d170b7e1b372a568badbf522d | [
"JavaScript"
] | 1 | JavaScript | ktbliz/js-eventing-acting-on-events-lab-dc-fe-skills-111218 | d95831b6f112611650843ca53d26f4aabd84b6d1 | dc0be41a23def807bfeeb37de198c4e4b7d24aad |
refs/heads/master | <file_sep>function quickSort(array) {
if (array.length === 1) {
return array
}
const pivot = array[array.length - 1]
const leftArr = []
const rightArr =[]
for (let i = 0; i < array.length-1; i++){
if (array[i] < pivot) {
leftArr.push(array[i])
} else {
... | dcd9ab6f42fea274ef75889abef46371e515d5c3 | [
"JavaScript"
] | 3 | JavaScript | SultanaK/DSA-Sorting | 95b92fbade5d1a454e4131ca5fe443d5c1c7c817 | 686f77591c083cddb8db35ca5c878a791112a4da |
refs/heads/master | <repo_name>seriojakarelin/news-explorer-frontend<file_sep>/src/components/PopupRegister/PopupRegister.js
import React from 'react';
import PopupWithForm from "../PopupWithForm/PopupWithForm";
import * as Auth from '../Auth/Auth';
function PopupRegister(props) {
const [email, setEmail] = React.useState('');
con... | cc3c60e61d78b86448d3da9038276dacbe125b94 | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | seriojakarelin/news-explorer-frontend | ea2de17894627d24ac474ee5042079e25a832782 | 5d0f47d1958b8ae51d0e6126e0f45a35e3954928 |
refs/heads/master | <file_sep>/*
** EPITECH PROJECT, 2021
** player2
** File description:
** player2
*/
#include "rpg.h"
void mv_win2(player_t *player, window_t *win, pbl_t * game)
{
if (sfKeyboard_isKeyPressed(sfKeyS) == sfTrue) {
if (collision_with_wall(game, win, 0, -player->speed) == 1)
return;
win->m... | a55245006cac0d6fa784ac4ed95ed543baab5abc | [
"C",
"Makefile"
] | 62 | C | Artorius104/Tek1-myRPG | 616433c7e06c334d0eee04b355f659e0b8369eab | 865fd4c51843d5b933641f5e3ce070f8288490aa |
refs/heads/master | <repo_name>davidvi11egas/burger<file_sep>/db/seeds.sql
INSERT INTO burgers (burger_name,devoured)
VALUES ('Cheeseburger','false'),
('Baconburger','false'),
('Veggieburger','false'),
('Doubleburger','true');
<file_sep>/config/connection.js
//BRINGING IN MYSQL ASSET
var mysql = require('mysql');
//DATABASE CRIDENTIA... | 2d8768c9b23834e1d18e09f18dcea5d336eedb44 | [
"JavaScript",
"SQL",
"Markdown"
] | 3 | SQL | davidvi11egas/burger | 78e5c95fae5e01fb4d67fd659d848561d06c2026 | 00b7738a8dce055cb88fdc8b8ee5b29077930544 |
refs/heads/master | <file_sep>package com.example.recyclerview4orders;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widge... | c32ce80caf5e0188b2eed777c9acb44ee046de77 | [
"Java"
] | 2 | Java | AmeerSaleem/RecyclerView4Orders | 2d252e5da13a395fcd654ab13ee929c48a1f5786 | c2b7d01cee5d1234b09d0b30382c4f4854bb489e |
refs/heads/master | <file_sep>include $(THEOS)/makefiles/common.mk
SUBPROJECTS += libPImportWebServer
SUBPROJECTS += pimporthook
SUBPROJECTS += pimportsb
SUBPROJECTS += pimportsettings
include $(THEOS_MAKE_PATH)/aggregate.mk
<file_sep>include $(THEOS)/makefiles/common.mk
TWEAK_NAME = PImport
$(TWEAK_NAME)_FILES = /mnt/d/codes/PImport/... | dc0823bb3cd7937cc8166bd44b49fb1e1bad0485 | [
"C",
"Makefile"
] | 4 | Makefile | julioverne/PImport | c2eb64822bed7e8fdadfef055f36b09120641c11 | 8828f4585dd89a85f4c61b58ea5da5526deb9bd7 |
refs/heads/master | <repo_name>cvan/sandbox-aframe<file_sep>/examples/monument/index.js
var AFRAME = window.AFRAME.aframeCore || window.AFRAME;
/* Components
——————————————————————————————————————————————*/
AFRAME.registerComponent('gamepad-controls', require('aframe-gamepad-controls'));
AFRAME.registerComponent('keyboard-controls', req... | 9613ced70cafbe2d36739455a4238580d980e509 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | cvan/sandbox-aframe | b4c1860db5ffefb342abfea674ca770a47ae6a86 | e0acffb8b9bfd0771dd509ca6ead87fb49c45e10 |
refs/heads/master | <file_sep>package com.weiwei.security.dao;
import java.util.Optional;
import com.weiwei.security.vo.User;
public interface UserDao {
Optional<User> findByUsername(String username);
}
<file_sep>package com.weiwei.security.common;
public class Constants {
public static final String DBNAME_TRADE = "t... | 564c38f2ba0d5d39e8c42c17a5c784dad87c0f98 | [
"Java"
] | 4 | Java | HZSF/AuthServer | 9a276a79c3ad182423f2f542a3bb3d1837794cd8 | 254fea9ced07797c7dbe443528d5c0f9d3f58f6c |
refs/heads/master | <file_sep>//função para a validação do formulário
function validaform(frm)
{
//valida nome
if (frm.tf_nome.value == "")
{
alert("Informe o Nome!");
frm.tf_nome.focus();
return false;
}
//valida email
if (frm.CLI_EMAIL.value == "")
{
alert("Informe o e-mail!");
frm.CLI_EMAIL.focus()... | 8e453188aa58c6bd1850a98b5547e1738f6dd35a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | antunesdevweb/store_automacao | a419546531e734fe02bb5dd9cb7c403a018e5854 | f388ed55926c517e8a3480325a3996ed0797de23 |
refs/heads/main | <repo_name>kalleniang/Demo<file_sep>/dist/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>PortFolio</title>
<link rel="shortcut icon" href="favicon/fav... | e8466d7a9b32a41fbcd50f8825aaf5e96f0b855c | [
"Markdown",
"JavaScript",
"HTML"
] | 3 | HTML | kalleniang/Demo | c4382c0e3f99a9ef126da17dc776c0abe8143e96 | dec0680c54adb15a70f62baaef1b6966e57d0e9e |
refs/heads/master | <file_sep> // for (std::list<int>::iterator it=triv_list.begin(); it != upto; ++it){
// Do nothing here as we do not need to grab the data, but currently, the element is stored
// through the iterator - *it.
//} // Tranverse top k elements from list and record time.
// Set up iterator for list so it will o... | 207a050702a1a4055c9dd4430703ffba49acdab4 | [
"C++"
] | 5 | C++ | gching/DataStructureForTesting | 0609a514461e5b646088cbfc8eed04515901459b | 5e9924883911ff9dc1777f066082fc01926d4473 |
refs/heads/master | <repo_name>marangiop/kmer_identifier<file_sep>/README.md
# kmer_identifier
This is the repository for the Bioinformatics Programming and System Management coursework as part of the MSc in Synthetic Biology and Biotechnology.
Kmer_Identifier is a Python-based programme facilitates the identification of short nucleotide... | 4c0322ef9a7600350254da42696080364a64432b | [
"Markdown",
"Python"
] | 2 | Markdown | marangiop/kmer_identifier | e0c57261c56bc43f5703f81dfacc91da5c5d86c1 | b596444d38099bfc199ec56c739284aa81adffb0 |
refs/heads/master | <file_sep>package mx.com.AleDominguez.HolaSpring;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller //controlador tipo spring MVC
@Slf4j
public class ControladorInicio {
@GetMapping("/")
public String ... | bf0e761428a7042f95d34d19a620525456f12cfe | [
"Java"
] | 1 | Java | AleDgz/HelloWorldSpring02 | aebda3e0a9818dd3eb8b4595972ec13bbd0a59ef | e3e55973ea39b7d73666908cfdddeb689844ae5f |
refs/heads/main | <repo_name>SheferSA/space-web<file_sep>/forms1.py
from flask_wtf import FlaskForm
from wtforms import SubmitField, StringField, RadioField, SelectField, PasswordField, BooleanField, TextAreaField
from wtforms.validators import DataRequired
class AddFriendsForm(FlaskForm):
request_id = StringField('Номер запроса',... | dc50ad45456676e394887e0ad5953cd34704f9c2 | [
"Markdown",
"Python"
] | 7 | Python | SheferSA/space-web | d5b949bd6b61948f5e3ef3b835e5bbb03644ac52 | 1292da76fb198b6d8e20d0f09c2ce44d5428eead |
refs/heads/master | <file_sep>import { Matrix4 } from "./Geometry/Matrix4";
import { Point3 } from "./Geometry/Point3";
import { Vector3 } from "./Geometry/Vector3";
export interface Camera {
farClipPlane: number;
nearClipPlane: number;
pitch: number;
position: Point3;
verticalFieldOfView: number;
yaw: number;
}
export const... | 3c38618488429be95eb373c4434adb5c03f8ca15 | [
"Markdown",
"Python",
"TypeScript"
] | 44 | TypeScript | Vavassor/Dawn-Toolbox | 12380acb041d2437f1fd32954867753b0cd09cd8 | bee6f78e3adeb13c3003464571c7f0c0543f4268 |
refs/heads/master | <repo_name>mari8i/kitte-speaker<file_sep>/requirements.txt
flask-restful
playsound
gi
<file_sep>/kitte-upload.sh
curl -X POST -H "Content-Type: multipart/form-data" -F "file=@$2" "http://192.168.1.86/kitte/$1"
<file_sep>/kitte.py
import os.path
import os
from flask import Flask
from flask_restful import Api, Resource,... | 3b32833f81f73508b2f47924547872be740547a2 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 7 | Text | mari8i/kitte-speaker | ea50cb658994c14a6b17719abda59ee1e2f29460 | 22990ebefa20123567bf4acd41df44623825372f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.