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>mato75/bitchin-timers2<file_sep>/platforms/ios/www/js/timers/helpers.js
'use strict';
angular.module('ParseTime.Module', ['Constants.Module'])
.factory('ParseTime',['HOURS', 'MINUTES', 'SECONDS', function (HOURS, MINUTES, SECONDS) {
return {
hmsToMsOnly: function (str) {
var p = str.split(':'),
... | cdb1cbf60e8b2c70da90fcb2aaedbb6d309b37fa | [
"JavaScript"
] | 12 | JavaScript | mato75/bitchin-timers2 | 9ec788f427377c6fac6d948303c3cb85b1507a16 | 0aff0e2a27c2b3fe8359f3a42753859c8d08641d |
refs/heads/master | <file_sep>require "pry"
def starts_with_a_vowel?(word)
word.scan(/\A[aeiouAEIOU]/).length >= 1 ? true : false
end
def words_starting_with_un_and_ending_with_ing(text)
text.scan(/un\w+ing\b/)
end
def words_five_letters_long(text)
text.scan(/\b\w{5}\b/)
end
text = "hello my name is daniel the great"
puts words... | 7fd920cac8c9f34e9094b2472b70272621d69bfe | [
"Ruby"
] | 1 | Ruby | danpaulgo/regex-lab-v-000 | 6c4580a67c8fce9905edcc63683222bb123bdc7d | 03504a3bbf815bab130789f56d8bb6cc54c7bef3 |
refs/heads/main | <file_sep>rasa~=3.3.0a1
rasa-sdk~=3.3.0 # if you change this, make sure to change the Dockerfile to match
paho-mqtt==1.6.1
click==8.0.4
-r actions/requirements-actions.txt
<file_sep># Jokebot - Rasa Demo Bot
This is a Rasa demo bot. You can try the bot out at [https://avkana.com/jokebot](https://avkana.com/jokebot).
... | d3c5e5035fc6230a17258bf7812663d125d6f371 | [
"YAML",
"Markdown",
"INI",
"Python",
"Text",
"Dockerfile",
"Shell"
] | 13 | Text | rgstephens/jokebot | b9a1eafacdc38fa21c5a328aafaeb2d5a1fb86b8 | ca181dc8d704a8647cbdd3df35dddf280554bfd9 |
refs/heads/master | <file_sep>from __future__ import unicode_literals
from django.db import models
from django.contrib.auth.models import User
class UserProfile(models.Model):
"""
Description: User profile of the person
"""
user=models.OneToOneField(User,null=True,blank=True)
mobile=models.CharField(max_length=180)... | 404fef6f289671484f638fcc9d57820da8dc9e8b | [
"Python"
] | 8 | Python | projecttaras/EPICS-proj | 4739f4c01c15689f129ced326608ca8898d8bc4a | a9070783af5ab0d47559de093ef97c7170b959c4 |
refs/heads/master | <repo_name>soju6jan/downloader_video<file_sep>/logic_aniplus.py
# -*- coding: utf-8 -*-
#########################################################
# python
import os, sys, traceback, re, json, threading, base64
from datetime import datetime, timedelta
import copy
# third-party
import requests
# third-party
from flask im... | 73ba3b8932e2bd641876aced1d2cfc768ee4ed1a | [
"Python"
] | 2 | Python | soju6jan/downloader_video | 4eb10cacf1487136e4225f77a036740f9da10128 | dc3762110ce14714fd562c00446649e1a5b5faf0 |
refs/heads/master | <repo_name>glllcs/fabcontroley<file_sep>/functions.php
<?php
/**
* Theme functions and definitions
*
* @package fabcontroley
*/
if ( ! function_exists( 'fabcontroley_theme_defaults' ) ) :
/**
* Customize theme defaults.
*
* @since 1.0.0
*
* @param array $defaults Theme defaults.
* @param array Custom... | 217734c42405cd7abe2168ad96333d99e2ebcc34 | [
"PHP"
] | 2 | PHP | glllcs/fabcontroley | 7838c927e4e354ac17608c90c958aacc006d2a51 | 9cedba6e824b593971ff13e7ebc8acf809f35075 |
refs/heads/master | <repo_name>deepaknalore/DistributedSystems-P2<file_sep>/Socket/client_threaded.py
#Taken from: https://www.geeksforgeeks.org/socket-programming-multi-threading-python/
# Import socket module
import time
import socket
import argparse
from datetime import datetime
ipList = ["c220g1-030811.wisc.cloudlab.us", "ms0619.ut... | b04982789496611589b05010560cc668739076d9 | [
"Markdown",
"Python"
] | 10 | Python | deepaknalore/DistributedSystems-P2 | 56824142f39b5ade0588faff96edd410ab7e2f72 | 3464ca72d5f2ad2978f9cf173f6ecf4b080ae463 |
refs/heads/main | <file_sep>package com.lwazir.project.schoolManagementsystem.errors;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.BAD_REQUEST)
public class UserAlreadyExist extends RuntimeException {
public UserAlreadyExist(String message) {
... | 4cb71c3ac6f2b3d0fa214f8041b876d7f47cecf4 | [
"JavaScript",
"Java",
"Markdown",
"SQL"
] | 45 | Java | wazir12/SchoolManagementSystem | 47d79453de3964bfa7e552e87b790149d3fd4ced | 9aebb1cfd54d68e7e37e7394887448683dedbd62 |
refs/heads/master | <file_sep>// Brunch automatically concatenates all files in your
// watched paths. Those paths can be configured at
// config.paths.watched in "brunch-config.js".
//
// However, those files will only be executed if
// explicitly imported. The only exception are files
// in vendor, which are never wrapped in imports and... | 085129f843a151044dec47c22890d6352aa5ed6d | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | michaelmang/full-stack-react-phoenix | a157f789b8bcabc4609b580f0ef44279962a0d44 | b1ef9ca8a310b6ba6f538bf8f1febc87b6355686 |
refs/heads/master | <file_sep>package com.practice.mlkitnlp
import android.os.Bundle
import android.provider.Telephony
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.textclassifier.ConversationActions
import androi... | a3735643839cbe819a164c3572dd557e56591517 | [
"Kotlin"
] | 4 | Kotlin | divyanshutw/MLKit_NLP | dc4d7e34393727d3b7ee67d7578afd7225742681 | 4b161b11e5300805ab22e1b8bf61a66b77600937 |
refs/heads/master | <file_sep>#include <arpa/inet.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h> // string manipulation
#include <sys/socket.h>
#include <unistd.h> // read, write
#include "strfunc.h"
#include "request.h"
#define BACKLOG 10 // queue length
#define MAX_HEADER_SIZE 65536
... | 2a2de5ccbf26526ec55b89d4841da4171cc222c2 | [
"Markdown",
"C",
"Makefile"
] | 41 | C | howarde8/NetProgAndAppl | 66365632e417b5124f6f3b59a65132e0d5d12369 | 0545b6a414d46916e4bec038d8542182ed8618b8 |
refs/heads/master | <repo_name>sunning97/MusicPlayer<file_sep>/app/src/main/java/com/example/giangnguyen/musicplayer/SongAdapter.java
package com.example.giangnguyen.musicplayer;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
impor... | 818c7a20d47b09570d26aabe0b8d1e743fb02466 | [
"Java"
] | 1 | Java | sunning97/MusicPlayer | d9c4a8bac108c4fb7950f5fc30cbd77d144609bd | 4471ed60f83255e395f20810a4659db0e5d4c655 |
refs/heads/master | <file_sep>/* <NAME>
Assignment 1 */
//libraries for the program
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//Linked List Node created with global variable head.
struct node
{
char name [50];
int id;
struct node *next;
} *head;
//Prototypes
int deleteId(int num);
int dele... | c1baf26615230fbd189e7bb0e3fee9fa92254fba | [
"Markdown",
"C"
] | 2 | C | ChrisKanazeh/COP-3502-Assignment-One | 59c8614f9111502871520ce6ce40c6e36cba39b3 | 7ef0cd71d47bd1bd82c5009640bcb808713c532d |
refs/heads/master | <repo_name>uriJuhasz/CXX_benchmarks_5<file_sep>/benchmarks/TimeMeasurement.h
#ifndef TIME_MEASUREMENT__CXX
#define TIME_MEASUREMENT__CXX
#include <string>
#include <functional>
namespace TimeMeasurement
{
using std::string;
using std::function;
void measure(const function<int()>& f,string s);
}
#endif
<fil... | 8ca906cf592b376452b8352ef626363217c16c3f | [
"Makefile",
"CMake",
"C++"
] | 11 | C++ | uriJuhasz/CXX_benchmarks_5 | ec739181af3f7d44bd2da2e91c30a42ba37d8ff6 | 4b293ba586856f648bc4c9c9ef26c6e8d5e16a9e |
refs/heads/master | <repo_name>Roderich25/EmoticonSentiment<file_sep>/scripts/scoreEmoticons.R
setwd('C:/etc/Projects/Data/_Ongoing/EmoticonSentiment/')
#####################################################
##Part 0: Acquire Bundle of tweets with emoticons####
tweets <- readLines("data/tweetswithemoticons.txt")
#a vector of characte... | 1cdbaa7a54bb1203cd21154cad5413cd3b279511 | [
"Markdown",
"Python",
"R"
] | 3 | R | Roderich25/EmoticonSentiment | 758b92e40194bd730686ebebc54cdf603d56e0b3 | b08123aa8b589cd2dcf2023bee2037c9903d64f0 |
refs/heads/master | <file_sep># LoopingVideoView
[](http://cocoapods.org/pods/LoopingVideoView)
[](http://cocoapods.org/pods/LoopingVideoView)
[
{
//检测token是否存在
$token = request()->header('token');
i... | 56d83eb271be58e5ee0ef0fe0882fb43852421e5 | [
"PHP"
] | 12 | PHP | RickyXux/laychat | 593964d3a4ca869db24348463d4905910c140178 | 28d67cecfd61a28af304649e0084011dc5d46400 |
refs/heads/master | <repo_name>Jbx81/music-library-viz<file_sep>/src/components/BarChart.js
import React, { Component } from 'react';
import * as d3 from 'd3';
import { albums } from '../data.json';
const w = 900;
const h = 500;
export default class BarChart extends Component {
constructor() {
super();
this.state = {
alb... | 0cc14b727343f162802fcc121f3bb72b1b306f90 | [
"JavaScript"
] | 1 | JavaScript | Jbx81/music-library-viz | 9f13e37637bd39b0ad8532932620e5124537665a | 686c8f2deb6d3b0dfb8f3c28b12e14de0362e55d |
refs/heads/master | <repo_name>ChrisMcCat/TerminalCleaner<file_sep>/src/main/java/com/jjdd8_ism/HelloPrinter.java
package com.jjdd8_ism;
public class HelloPrinter {
private static final String printer = "Hello";
public static void helloPrint(){
System.out.println(printer);
}
}
<file_sep>/src/main/java/com/jjdd8_ism/Main.java
packa... | 7fe6959bbdf253cb524432e115dc9fe48ba2a574 | [
"Java"
] | 2 | Java | ChrisMcCat/TerminalCleaner | 964d8822c280ca9f00676f0bc163214134bef0da | e3b1c28cda429a44dd03ed185b23fa7cc607f6cc |
refs/heads/main | <file_sep>import React from 'react';
const Footer = () => {
return (
<div className="p-3 bg-dark text-white text-center mt-3">
<div className="container">
<div className="row">
<div className="col">
... | 6042ce8605000a7e2e734c940eb9605fed54a105 | [
"JavaScript"
] | 3 | JavaScript | AroojAzhar/Javascript_Learn | a490ea37d07d0c7dc0c03efa324b7bcd2dfff8b7 | 9d8d9f09733ccc66b021b2dafa2dcac1aaf63696 |
refs/heads/master | <repo_name>namikingsoft/cloudfront-sandbox<file_sep>/bin/purge.sh
#!/bin/sh -e
aws configure set preview.cloudfront true
aws cloudfront create-invalidation \
--distribution-id ${CLOUDFRONT_DID} \
--paths '/*'
<file_sep>/README.md
Sandbox of CloudFront [![CircleCI][circle-badge]][circle-url]
=======================... | c6a48d80d88dc40058cd163f877ccd8d0a35ac04 | [
"Markdown",
"Shell"
] | 3 | Shell | namikingsoft/cloudfront-sandbox | 93893a8aeda048a40b6b07d31642faf3cfa87fe8 | 775d8805991f7d1e1ed09e77b6bf76dcab9456e8 |
refs/heads/master | <repo_name>birlax/react-learning<file_sep>/first-react-app/app/src/component/bGrid/js/bGridRow.js
import React from 'react';
import ReactDOM from 'react-dom';
import '../css/style.css';
import Cell from './bGridCell.js';
class Row extends React.Component {
constructor(props) {
super(props);
this.state = {
... | feba00d26975928b1101cde49d9060b3e6d43579 | [
"JavaScript"
] | 3 | JavaScript | birlax/react-learning | 264938522d31dd7cc4493bfcc03339d701e7a97c | dfdb4644b9e614a24e058e83663f7c70aa06b9aa |
refs/heads/master | <repo_name>kemalaraz/Weather-prediction-in-Australia-via-Machine-Learning<file_sep>/tables/Info.md
### File for evalutation tables
<file_sep>/README.md
# Weather-prediction-in-Australia-via-Machine-Learning
This repository focusses on the rain prediction over Australia. The dataset was gathered from Kaggle (https://ww... | feb8b8934dae933797d5b16180bb500dac919cc6 | [
"Markdown",
"Python",
"R"
] | 4 | Markdown | kemalaraz/Weather-prediction-in-Australia-via-Machine-Learning | 412e190dfa5e702fab2d1114eaf0707bd4b3e066 | 3df682df772deae448f75a0ef85c122949d64d84 |
refs/heads/master | <repo_name>ArnoldKrumins/angular2<file_sep>/src/app/models/user.ts
/**
* Created by arnoldkrumins on 10/12/2015.
*/
export class user{
public name:string;
public age:number;
public gender:string;
constructor(name:string, age:number,gender:string){
this.name = name;
this.age = age;
... | e69558f6b6d4c2ca3a3169ef20054fadc21ea68e | [
"TypeScript"
] | 2 | TypeScript | ArnoldKrumins/angular2 | 055cef33610c72ad842f95e49163f6a1156f8d7d | 0073261aa57d68be91befa6c5324195ca7e786b1 |
refs/heads/master | <repo_name>Offroadcode/umbraco-backoffice-visualization<file_sep>/BackOfficeVisualiser/resources/doctype.api.resource.js
angular.module("umbraco.resources").factory("doctypeApiResource", function ($http) {
var doctypeApiResource = {};
doctypeApiResource.getViewModel = function () {
return $http.get('/umbraco/back... | 5466a881488edc583095c01caedd17b4e9dec1c9 | [
"JavaScript",
"C#",
"Markdown"
] | 16 | JavaScript | Offroadcode/umbraco-backoffice-visualization | 71178ce5b3939df653a4173b0396ba7f6aa60474 | 7f36fbc99ac0914a6e2b07e652ae8cc4af3bf8a9 |
refs/heads/master | <file_sep>package pe.com.cernafukuzaki.java.mockito.webservice;
import static pe.com.cernafukuzaki.java.mockito.webservice.WebServiceComprarLibroResponse.WebServiceComprarLibroResponseMensaje.OK;
public class WebServiceComprarLibroService {
private WebServiceComprarLibroPort webServiceComprarLibro;
public WebSer... | 4804529484657ea89e32ed41822c07cf98997b35 | [
"Markdown",
"Java",
"Maven POM"
] | 9 | Java | fcernafukuzaki/cernafukuzaki-java | 9c24e4131c4da13dc743c68ffcd2d621c2d801a7 | 8f7ae2b2eefbc30493a4cfc95d8724574580a6dc |
refs/heads/master | <repo_name>Lee-App/Stick-Overflow<file_sep>/stickoverflow/templates/registration/login.html
<!-- 로그인 -->
{% extends 'stickoverflow/base.html' %}
{% block content %}
{% load static %}
<link rel = "stylesheet" type="text/css" href = "{% static 'stickoverflow/style.css/' %}"/>
<!-- 로그인 되어있는 경우 -->
{% if request.... | 35c2ad81696c8e380e49f352b3155d3b150c8add | [
"Markdown",
"Python",
"JavaScript",
"HTML"
] | 11 | HTML | Lee-App/Stick-Overflow | 8ea48ddafd1263a54969d744868f2eefb92c734f | dd82d8682248f5590ad965384027ad383a7f5d55 |
refs/heads/master | <repo_name>matt-fff/vscode-debug-python-in-docker<file_sep>/requirements.txt
ptvsd==3.2.1
<file_sep>/src/config.py
"""
Container for Config
"""
import os
import logging
logger = logging.getLogger(__name__)
class Config(object):
"""
Extracts config information from environmental variables
"""
def get... | 15680da061027df6023e56e4aec57b6d5545a81e | [
"Markdown",
"Makefile",
"Python",
"Text",
"Dockerfile"
] | 6 | Text | matt-fff/vscode-debug-python-in-docker | 8d3da7ebfcb4bb13da87ef1a86c3f879b72d5886 | 5eff139dc5734cbbc7c2ddd4b3187402b40eba79 |
refs/heads/master | <file_sep>bs4
futures
ipywidgets
jupyter
lxml
matplotlib
nltk
numba
git+https://github.com/HazyResearch/numbskull@master
numpy>=1.11
pandas
requests
scipy>=0.18
sklearn
sqlalchemy>=1.0.14
tensorflow>=0.12.1
theano>=0.8.2
<file_sep><img src="figs/logo_01.png" width="150"/>
**_v0.4.0_**
[;
set_include_path(get_include_path() . PAT... | e4fd2704462e16bd4976ab34ba4e44a0da45589d | [
"Markdown",
"JavaScript",
"PHP"
] | 4 | Markdown | kicksapp/kicksapp-wordpress | 3d4c01d4e7baa014b93443ae6c06f991e1f3d006 | 536329f9b42fd177d92aede8094f2003c4d06153 |
refs/heads/master | <file_sep>package it.hembik.primatest.view.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androi... | 9432b5ca5ef96e93bf129a11a939d769469eb61d | [
"Kotlin",
"Gradle"
] | 17 | Kotlin | yaroslav-hembik/TestApp | 5c2c530215de4e1e7d4c76e531e8b6b55cd36d4d | a564a5a80e11586e352a4bd72a5bc8b0d47ce635 |
refs/heads/main | <file_sep>using System.ComponentModel.DataAnnotations;
namespace Commander.Dtos
{
//se usa la notacion de datos para validar
//cuando se envia al api la data incompleta
//como resultado devolvera un 400
//NOTA PARA MI: NUNCA RETORNES UN 500
public class CommandCreateDto
{
[Required]
... | fce877ea69d7d01e081ba8c5466559b8ff98475e | [
"C#"
] | 2 | C# | mrPity28/NetCoreApiRest | ca5037331c46d112ca687fee633cd430d267c5f4 | 2f5c925284db823d5a087199f212804920f300c3 |
refs/heads/master | <repo_name>axcs1212/Animation-timer01<file_sep>/Animation timer01/ViewController.swift
//
// ViewController.swift
// Animation timer01
//
// Created by D7703_23 on 2018. 4. 5..
// Copyright © 2018년 D7703_23. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var myIm... | ff3405b9f46d081c892f2097226a9f1947964ff0 | [
"Swift"
] | 1 | Swift | axcs1212/Animation-timer01 | 141a28db09217b01811fc5b056ca4988d24af775 | 6659617164549f4f804ba58ea8da0bb778c61297 |
refs/heads/master | <file_sep>Parallelel Sorting by Regular Sampling
==================================
Implementacion del algoritmo Parallel Sorting by Regular Sampling utilizando MPI.
<file_sep>psrs: psrs.c
mpicc -o psrs psrs.c -Wall
quickSort: quickSort.c
gcc -o quickSort quickSort.c -Wall
<file_sep>#include <stdio.h>
#include <s... | a100f8bea9b1b8e331c8593b39c0aa500d2b4913 | [
"Markdown",
"C",
"Makefile"
] | 4 | Markdown | jmloyola/ParallelelSortingByRegularSampling | 0b8ef4af3cd4eb8b11525b3c5abcb1666783d760 | fc6c87b43317ce11453e6a8f3888e7f51c217ce9 |
refs/heads/master | <file_sep>import numpy as np
import hyperparameter as hp
import preprocess
class Batch(object):
def __init__(self, preprocess):
self.preprocess = preprocess
self.batchMatrix = np.zeros((hp.BATCH_SIZE, hp.SEQUENCE_LENGTH), dtype=np.int32)
def createBatchMatrix(self, data):
ind... | d47a85102fd56d715698893c18d4a8bef0f5c9c3 | [
"Python"
] | 7 | Python | gulperii/autoencoder | 438819de38b5d35cd6be9b8155a0f51b90631ec8 | bd05b72ec57ad9b72a5022435883d015122d9a20 |
refs/heads/master | <repo_name>Zazzy1/24-10-2019<file_sep>/Lab5/Lab5/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
namespace Lab5
{
class Program
... | 912376401ab871af0b8420e040439a41bea98f95 | [
"C#"
] | 1 | C# | Zazzy1/24-10-2019 | ef3fb626125da4c1135f158484db2c9b4b7c23ca | 4efd0d196aa41553182fbf6b9453eaf64f90b6c0 |
refs/heads/master | <file_sep>exports.fixtures = [require('./rooms')]
<file_sep>const Joi = require('joi')
exports.getFreeRoomsSchema = Joi.object().keys({
city: Joi.string().required(),
from: Joi.date().required(),
to: Joi.date()
.greater(Joi.ref('from'))
.required(),
})
exports.getRoomsSchema = Joi.object().keys({
city... | e1620a7aac1ab530b75bd275a1957045697ea053 | [
"JavaScript",
"Markdown",
"Makefile",
"Dockerfile",
"Shell"
] | 55 | JavaScript | bondiano/peregovorik-be | c4959f8e534f8cd76e0f6fda9bcd28a5eb49c9b5 | a8a9703e5f9b61838367acb15ecf38baaaade45e |
refs/heads/main | <file_sep>server.port=9896
spring.jpa.show-sql=true
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
spring.datasource.url=jdbc:oracle:thin:@localhost:1521:orcl
spring.datasource.username=system
spring.datasource.password=<PASSWORD>
spring.jpa.hibernate.ddl-auto=update
<file_sep>package com.example... | 7662e8c0f9bd452e2b896246f291d0a83710a3f4 | [
"Java",
"INI"
] | 3 | INI | rijwan-khan-zensar/masterbranch | 76b4dc1b61985779f61ba93b7243352ceafd18af | 872f4531c15ab7aa95866e88598d25102701c96c |
refs/heads/master | <file_sep>class DictionaryLoader
attr_reader :words
def initialize
@words = []
end
def load_words
file_lines = File.readlines("5desk.txt")
file_lines.each do |word|
@words << word.strip
end
@words
end
def save(result, filename)
File.open(filename,"w") do |file|
file.write result
end... | 89142fcc572a9ed0f88142fdfd33cb085a9a86d5 | [
"Markdown",
"Ruby"
] | 3 | Ruby | sicknarlo/assignment_file_ops_sprint | a9edc8c4f4cdd8448ba23c1fcb135dab0e4b57fe | 08b658c83fdd1d79e57476becdb255b9673cda99 |
refs/heads/master | <repo_name>DeusAnimaX/SeleniumTestCases<file_sep>/src/utils/Util.java
package utils;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
public class Util {
public static String getMacChromeDriver() {
String url = "chromedrive... | f05fffbfc257f51a9310d8a2e549617e0e4b7d8f | [
"Java"
] | 2 | Java | DeusAnimaX/SeleniumTestCases | e1361a8f40e00d530f637b448c03340133bf44fc | ad3498072cb2ed26fc01fdc8df7bac3c133ea11e |
refs/heads/master | <file_sep>
### Routes
`lowest-price`: Input the item id to see its lowest price (`/lowest-price?id={}`)
<file_sep>import requests
import json
import re
from bs4 import BeautifulSoup
headers = {
'user-agent': 'my-app... | dc5b9db559e0a077647daea77db76cb762922587 | [
"Markdown",
"Python"
] | 3 | Markdown | murtinha/RO-market | 57f801374b9052c31ec14a07afa2c56356d20f5c | 45edc35ed2fce5500a3f1a26e499757bc9aa3bdd |
refs/heads/master | <file_sep>package com.example.supratik.booklisting;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.vi... | 7101349d5f970984ec571b908ef73656ec821ca6 | [
"Java"
] | 2 | Java | supratikkoley/Book_Listing | 21e614b3d447595f5cd3a83f63cc77fcddd85e25 | f0ca199382227dbb0854844b900e62dafb6a66a0 |
refs/heads/master | <file_sep><?php
class TG_Vendor_Model_Action extends Mage_Core_Model_Abstract
{
function notifyVendors($observer = null)
{
$incrementId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
#$incrementId = '100000091';
$order = Mage::getModel('sales/order')->loadByIncrementId($incrementId);
$ven... | b46c08f81575232d4f880c60eca56f102cf05dc7 | [
"Markdown",
"HTML",
"PHP"
] | 23 | PHP | asad01304/TG_Vendor | 25d0bd4b78e5e7a8f4f72f407a13ecb5b5f92891 | eaaa7163222f641f9ee289d060325a4a635bb674 |
refs/heads/master | <repo_name>atereshkin/render.arabica<file_sep>/app.py
import os
import subprocess
import string
import random
import tempfile
import hashlib
import re
from flask import Flask, request, send_file
import svgwrite
app = Flask(__name__)
def random_string(length):
return ''.join(random.SystemRandom().choice(string.a... | 37f7a68ac23b261be8c7d96b3c33cccb47ae226e | [
"Python",
"Dockerfile"
] | 2 | Python | atereshkin/render.arabica | 8642467fdd371a69358f0f4a8e1d1f84f73cb964 | 8873bd927365a6eb5bae1be52e0917de788a0e12 |
refs/heads/master | <repo_name>kdgosik/apps<file_sep>/README.Rmd
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
# Web applications <img src="http://logo-logos.com/wp-content/uploads/2016/10/Docker_logo_logotype.png" width=100 align="right" /> <img src="https://www.rstudio.com/wp-co... | 03c1769d18cd504de487ee2187ab0e558b18f128 | [
"R",
"Markdown",
"Makefile",
"Dockerfile",
"Go",
"RMarkdown"
] | 8 | RMarkdown | kdgosik/apps | 102d8fd93ccd69fe754ed432bc1d904cbc40b814 | 0490ed1908ee7f09be42f75638fd04ac5ab995d2 |
refs/heads/master | <repo_name>IanHooper613/portfolio<file_sep>/react-portfolio/src/components/ProjectItem/index.js
import React from 'react';
import './style.css';
function ProjectItem ({ project }) {
console.log('proj ', project);
return (
<div className='card mb-3'>
<div className='row'>
<div className='col-md-4'... | 87ba7527f79d948338b013b2c409e0e531733d0c | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | IanHooper613/portfolio | 5fcebda206cd577f73838d78c9bfad652edae0f0 | fe63e999ac7d7161a90e517dc524d9c1d5522f04 |
refs/heads/master | <repo_name>tommyxst/jdcloud-website<file_sep>/js/shouye1.js
/**
* Created by win7 on 2016/5/25.
*/
//$(function(){
// document.body.style.zoom=0.95;
//})
function changediv() {
var i = 0;
document.getElementById("slider" + (i % 4 + 1)).style.display = "none";
i++;
document.getElementById("slider"... | 6359879dd08bdfeb2bf8c23981bd3716abe18304 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | tommyxst/jdcloud-website | dee21829a7e2010a32a94e00e316f830fe313117 | 5f36b8f969a2b89830ca74112248603ff4638d48 |
refs/heads/master | <repo_name>krlossl87/TP06StrackTracers<file_sep>/Desktop/TrabajoPractico3/src/trabajopractico3/Cliente.java
/*
* 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 trabajopractico3;
... | 8ef1f9ce39de3230ec0b5259ce533036c1df9c78 | [
"Java"
] | 2 | Java | krlossl87/TP06StrackTracers | ffc7b510156383eeabd0d19c5755c84dfd9fb8bd | b06ec814a2dcb1d3ce580d8d5d0c9cee65617619 |
refs/heads/master | <repo_name>Thomas-de-Brouwer/eet_nu-ios<file_sep>/eet.nu/ResultViewController.swift
//
// ResultViewController.swift
// eet.nu
//
// Created by User on 12/04/15.
// Copyright (c) 2015 User. All rights reserved.
//
import UIKit
class ResultViewController: UITableViewController {
@IBOutlet weak var textvie... | de51236f453e9108e67ad1dce133e1917c2474e1 | [
"Swift"
] | 3 | Swift | Thomas-de-Brouwer/eet_nu-ios | 83d584afb3a7963e00b3d418db85fb23cb1e5bb7 | 1472f2c9f445b56fb06fe994cf37868ed1b35445 |
refs/heads/master | <file_sep>// Assignment Code
var generateBtn = document.querySelector("#generate");
function randomizer(arr){
var randoIdx = Math.floor(Math.random() * arr.length);
var randoEl = arr[randoIdx];
return randoEl;
}
function generatePassword(){
var select = []
var newChars = []
var newpassword =... | 532a882084e22a67d2838422cec786749d198efe | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ajhuff7/password-generator | e697c7a790354f44120011376d5da5b9d2a258b6 | 61192035c941bf3a19d32df2ec0be50dc02618ff |
refs/heads/master | <file_sep>this is a read me file
this is project to explore git hub features
from
gireesh
<file_sep>#include<stdio.h>
int main()
{
printf("this is my first text file.this is created for the testing git");
printf("\nhello world..");
return 0;
}
| be936df11ca5b5a2001603a01776faeec6ee2f79 | [
"Markdown",
"C"
] | 2 | Markdown | gireeshcse/testgit | 5b3a2c4d085e97a369e3dcaacdf5aa7e11a65265 | a831244607eea6c62ea2c5b4821903943c4328a8 |
refs/heads/master | <file_sep>#include <iostream>
#include <time.h>
using namespace std;
int main() {
// initialize random seed
srand(time(NULL));
// generate a random number btw 1 and 100
int secretNumber = rand() % 100 + 1;
int userInput = 0;
// enter the loop. notifies if number is not numeric
// also notifies if... | bb455a409ed9c2542bd4343b5d2d2707a2fb111d | [
"JavaScript",
"C",
"C++",
"Markdown"
] | 13 | C++ | NamraOnPC/Scrap | a4645566bc9162032534043d8ea1e8e444ffa802 | a515612a587d7c05e4ad03dfb3711bd5c857b8a2 |
refs/heads/main | <repo_name>emersong2112/bubowlQr<file_sep>/app/Services/UtilsService.php
<?php
namespace App\Services;
/**
* Class utilsService
* @package App\Services
*/
class UtilsService
{
/**
* utilsService constructor.
*/
public function __construct()
{
#call your models, repositories and anothe... | c1d7fed983bd3109703d038d236c9133182c3253 | [
"PHP"
] | 16 | PHP | emersong2112/bubowlQr | 5ba21b38f714cf47556d003d7ed1ecd17fa3ea12 | c4681b2ef3ff7e9fe86ff762746c024528c3d299 |
refs/heads/master | <repo_name>Menachem35/Recent-post-plugin<file_sep>/plugin-menachem-adweek.php
<?php
/*
Plugin Name: Menachem ADWEEK Code assessment
Plugin URI: http://www.glikdesign.com/
Description: a plugin assignment for the Adweek WordPress Developer Role.
Version: 1.0
Author: <NAME>
Author URI: http://... | 32e63961ce52642eaa1c694a7642db56a397fa4b | [
"Markdown",
"PHP"
] | 2 | PHP | Menachem35/Recent-post-plugin | 36b70ea166075c387ba6b15f6e62d00e78db0d9a | 14b883d30a179a7600c21d36aa77a54786fdbae1 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.shortcuts import render, HttpResponse, redirect
import random
from datetime import datetime
# Create your views here.
def index(request):
if 'total' not in request.session:
#request.session['updated'] = False
requ... | 2275c9cf7ba5ad3146a3286725d10eae7c60153f | [
"Python"
] | 1 | Python | Unknonymous/Ninja_Gold | 4ae573acf21a84637be11d5cc574e7fb4dd15fb2 | a4778040fe6f29aaf3ad3133f7a9600ba08d31aa |
refs/heads/master | <repo_name>jeffersonjuliano/advpl<file_sep>/Aulas/Relatorio/RelSimples/SQLQuery3.sql
SELECT A1_COD, A1_NOME, C5_NUM, C6_QTDVEN, C6_PRCVEN,B1_DESC
FROM SA1990 SA1, SC5990 SC5, SC6990 SC6, SB1990 SB1
WHERE SA1.D_E_L_E_T_= '' AND C5_FILIAL = '01'
AND SC5.D_E_L_E_T_ = '' AND C5_CLIENTE = A1_COD AND
C6_FILIAL = '01' AND SC6... | 8f26bfc6df7372a6a35a5e292a0f8aeef86ad76d | [
"SQL"
] | 1 | SQL | jeffersonjuliano/advpl | 5e3b265330e1a7a476877b0d75ad7a79561bb2f4 | 8cb6bcecea8b9e7d652accc45e3e29c07a59a07b |
refs/heads/master | <file_sep>module.exports = {
plugins: {
"posthtml-extend": {
root: './'
},
"posthtml-include": {
root: './'
},
"posthtml-expressions": {
"locals": {
"mainMenuItems": {
"playground": {
title: "Playground",
link: "/",
activeMenuItemLink: "/"
},
},
}
},
},
};
| 92d8bbd40fce3f6fb0c05b1e803545492fe46664 | [
"JavaScript"
] | 1 | JavaScript | int0x33/phpstan | 12e0a1db53a08562b9405bf72c428e7e46bc402f | ea5d525cbce4f3cecfa8062b6606e4ce4fb318b2 |
refs/heads/master | <file_sep>var addToBasket = document.getElementsByClassName('buy');
Array.from(addToBasket).forEach(function(el) {
el.addEventListener('click', function(){
changeButton(el);
changeOpacity(el);
});
});
function changeButton(el){
el.innerText = 'تم الطلب';
el.style.backgroundColor = '#1dd1a1';
}
func... | a730cd459605bf8162279cf4cdf844aa6d067911 | [
"JavaScript",
"Python"
] | 2 | JavaScript | bibaflower1/frontend-backend-difference-workshop | 04a1543b6c9aa95624850699ea7509e8eac859db | e281ea44a4381e3ff8e9d266d5050d59a1408c49 |
refs/heads/main | <file_sep>import me.tongfei.progressbar.ProgressBar;
import me.tongfei.progressbar.ProgressBarBuilder;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
im... | 00e23ab14a1ae1fd38d146b951daec559af03579 | [
"Java"
] | 1 | Java | dhampir1/Audience_v1 | 009ee57b913e06c5cdc19ec3ac3b006850dd71b6 | 37a54135716f9e3f2cba72f397fd60cfc168c394 |
refs/heads/master | <repo_name>eiffelqiu/ass<file_sep>/README.md
ass
=======
####Apple Service Server was written with Ruby/Sinatra and Sequel(Sqlite3), it provides push notification with web admin interface ####
Feature:
=======
1. 'ass' is a rubygem, simple to install.
2. only need to provide pem file.
3. no need to setup database(... | 7bdb85856247044e9f145b7c62cab0358c4bdaac | [
"Markdown",
"Ruby"
] | 7 | Markdown | eiffelqiu/ass | bf1dedb95677ae666879a494fb02a323baaf4981 | 859bb5188ba517e404a0bb508f70f72030d8330a |
refs/heads/master | <file_sep>/// <reference path="../node_modules/angular/angular.js" />
// Module - same thing as a namespace
// Each namesace has a classe (controller)
// Each Controller has methods and properties
// Directives connect HMTL and Angular > Module > Controller(anything starts with 'ng-'
//Expresions (anthing inbetween... | 312d7eb4a5396f82f9c6c8e7d8361323b7b5451a | [
"JavaScript"
] | 3 | JavaScript | micwhit/Angular-Ecommerce | 4dbd77099e0d76c931e7c572f854573c53f98f36 | 39ba9532ba9cdd37d2d4b4811a8d56cf5590f3f7 |
refs/heads/master | <repo_name>rocketmobile/cassandra_migrations<file_sep>/README.md
[](http://badge.fury.io/rb/cassandra_migrations)
[](https://codeclimate.com/github/hsgubert/cassandra_migrati... | c51d9e54a584e2a3a3990bebac7a7731ab1675e0 | [
"Markdown",
"Ruby"
] | 3 | Markdown | rocketmobile/cassandra_migrations | c4ff2f97e95debb65e093cfa1e8a244f5c427b5d | ae1efcfa82d072b2ea8055c43a429c73240253a6 |
refs/heads/master | <file_sep>#!/usr/bin/env ruby
def is_prime(n)
# anything over n/2 won't divide into n
half_n = n / 2
(2..half_n).each do |d|
if(n % d == 0)
return false
end
end
return true
end
def get_nth_prime(n)
primes = [2]
i = 3
while (primes.count < n)
primes.push(i) if (is_prime(i))
# Count by two to skip... | 1d8940d3169a8a2640e70ea374f260161b723785 | [
"Ruby"
] | 12 | Ruby | tomwatts/project_euler | 10751783aca006b7ca37cb85640b14e7b8143d50 | 47d7aeac724df1ab02b75a6f31b254213ed7eed5 |
refs/heads/master | <repo_name>EwaldJa/polymovies-client<file_sep>/README.md
# Client VueJS Poly'Movies
### <NAME> & <NAME> - WebServices 2020/2021
Ce repository est un client [VueJS](https://vuejs.org) réalisé dans le cadre de notre cours de WebServices à Polytech Lyon.
Ce client est utilisé pour consommer les données d'une base de do... | aa898246ba086521ba44057a2200a1af37f95ff0 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | EwaldJa/polymovies-client | 3168428be5cab1f416357b3e8d8000b69d15eb02 | 16598094175c5ab9e1d2930a2f8b229867ae6502 |
refs/heads/master | <repo_name>panzi/mathfun<file_sep>/src/mathfun.c
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include "mathfun_intern.h"
bool mathfun_context_init(mathfun_context *ctx, bool define_default, mathfun_error_p *error) {
ctx->decl_capacity = 256;
ctx->decl_used =... | 5842e969bc7b7ff65c34690ba260e1295c885ad6 | [
"C",
"CMake"
] | 17 | C | panzi/mathfun | 001c1b4a5be4693c976008ae76027a8727fa560f | 9282210cd0cb848acf8d62d3bd92b8739506d83a |
refs/heads/exo1 | <repo_name>MarieJoss/Simpson_work<file_sep>/src/components/Avatar.jsx
import React from 'react';
const Avatar = ({image, firstName, lastName})=>{
return <div>
<img src={image}/>
<h1>{firstName}</h1>
<h2>{lastName}</h2>
</div>
}
export default Avatar;
| 45536d15abe04c819f42eebfa28dc20aaf1634e7 | [
"JavaScript"
] | 1 | JavaScript | MarieJoss/Simpson_work | f76491e8111c14a25c7a5bd21e43dc19b3443c81 | d7ad192c699d128e7aeddf03e44a6330ad0dd7dc |
refs/heads/master | <file_sep>package com.my.package;
/**
*
* About
* -----
*
* A utility class for dynamically setting the height and width of screen objects in android,
* based on the current screen dimensions.
*
* Also has some methods for grabbing screen data, such as the height and width in pixels.
*
* Android devices c... | 1570c3723ea48cab7a838e9a4c3e7ba8f7456148 | [
"Markdown",
"Java"
] | 2 | Java | skumar2998/ScreenUtility | 8f6d9186d7fb006077a1085738e0cd7f461188aa | eed64e97adf330c1c9964495a8f7a0978e371001 |
refs/heads/master | <repo_name>bnguyen14/StockCharts<file_sep>/stock-chart-angular/src/app/charts/charttimeseries.ts
import { Charttime } from './charttime';
import { Chartdata } from './chartdata';
export interface Charttimeseries{
list: Charttime[];
}
<file_sep>/stock-chart-angular/src/app/charts/charts.module.ts
import { NgModule ... | 8b561d81eb0a7d9d3ffeb3d6548ef73d9377d919 | [
"Java",
"TypeScript",
"INI"
] | 13 | TypeScript | bnguyen14/StockCharts | 65aba0d2a8b90da934531df79476a3d67de555f0 | e0e20f6aba8e760993207f5be51aca52cd9fbfb0 |
refs/heads/master | <repo_name>Sheynckes/Seader<file_sep>/README.md
# Seader
本项目开发一个txt阅读器,主要实现以下功能:
- 生成全书的词频统计(简单的计数);
- 给出选中单词的释义(关联本地词典);
- 通过next按钮顺序查询其在文中出现的位置,并高亮显示该单词;<file_sep>/Seader.py
# -*- coding: utf-8 -*-
import os
import tkinter as tk
from tkinter import filedialog
import string
import urllib
from bs4 import BeautifulSo... | 4a42335c3d8232e758d94113a557ae7de5510d3c | [
"Markdown",
"Python"
] | 2 | Markdown | Sheynckes/Seader | 8b703a875a64e2a01ec0e3f04577a763599d0f34 | 309125a5ef09271a14a0d75dbbf71980a8f60d90 |
refs/heads/master | <file_sep>require "e1505to_okamura/version"
require "bigdecimal"
module E1505toOkamura
# Your code goes here...
print 'Please set price(without tax) : '
price = gets.chomp.to_i
print 'Please set sales_date : '
date = gets.chomp.to_i
#日付を元に消費税率を設定
if date < 19890401 then
taxrt = BigDecimal("... | 5698e9cd8d5a71bd8e468aa3bc9937fc4c1a9f63 | [
"Ruby"
] | 2 | Ruby | okamuratakeshi/e1505to_okamura | 64b2104da10a62214e47ec6e7f099ecbf7ab0728 | 26c25a65c9f8318835461372d2a4850701bac088 |
refs/heads/main | <file_sep>#define IR_SENSOR_RIGHT 11
#define IR_SENSOR_LEFT 12
#define MOTOR_SPEED 180
//Right motor
int enableRightMotor=6;
int rightMotorPin1=7;
int rightMotorPin2=8;
//Left motor
int enableLeftMotor=5;
int leftMotorPin1=9;
int leftMotorPin2=10;
void setup()
{
//The problem with TT gear motors is... | a5d0be7cc3161925cf2ff61f08d5f9f806e5700d | [
"Markdown",
"C++"
] | 2 | C++ | Rhevathi/LineFollowerRobot- | ed1202f7e7e88c642b585218aa7c5e14ea0653f8 | e32da51363243f119420e97321b1127c6b1be53e |
refs/heads/master | <repo_name>koslibpro/python-web-crawler<file_sep>/modules/frontier.py
__author__ = 'koslib'
import logging
class Frontier:
FRONTIER = []
INDEXED = []
def __init__(self):
link = "http://stanford.edu"
self.FRONTIER.append(link) # initialize frontier list
def load_frontier(self):
... | 87ccdee96ea2901bf3932082ec9a35548f78dfac | [
"Markdown",
"Python",
"Text"
] | 9 | Python | koslibpro/python-web-crawler | c1812dc552c36358d3bc61b83230c3a097298a6f | 2737a553ceadbb625d913671adb3d08a0254938c |
refs/heads/master | <repo_name>sayan711/Fahrenheit2Celsius<file_sep>/src/com/company/Main.java
package com.company;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("What is today's temperature in fahrenheit?");
... | 046bab4101d9816ed5d3d12c6b800b6974877f52 | [
"Java"
] | 1 | Java | sayan711/Fahrenheit2Celsius | b32e785a2e6050261e04519ab1a8302116885676 | b76ba1b647010d8639aa52d9d9ce86110056dd14 |
refs/heads/master | <repo_name>egovaflavia/Training-CIShop-Codepolitan<file_sep>/application/views/layouts/app.php
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="<NAM... | c7ccfd50012252b0f63285da961780f61ba446cd | [
"PHP"
] | 1 | PHP | egovaflavia/Training-CIShop-Codepolitan | c298b2a1e613c6e55fcc023a401ede9e283516da | 986f55d200462643f6589a8102ff6b8d37db3884 |
refs/heads/master | <repo_name>cubejs/raptor-dust<file_sep>/lib/widgets-helpers.js
exports.addHelpers = function(dust) {
var InitWidgetsTag = require('raptor/templating/taglibs/widgets/InitWidgetsTag');
dust.helpers.initWidgets = function(chunk, context, bodies, params) {
return dust.invokeRenderer(InitWidgetsTag, chunk, ... | 27ded0dc6b163e8d320697f8507c82be7e4fa07d | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | cubejs/raptor-dust | 3d1fab6ef4407d48b8e88a4ad9be9ee0b30bbd57 | aa94ebfbb92ccfbd8621bfaa9bd89e5409197d03 |
refs/heads/master | <file_sep>import React from 'react';
import { Link } from 'react-router-dom';
const PageNotFound = () => {
return (
<div>
<h1>Page Not Found</h1>
<p>Woops! Looks like you're a little lost? <Link to={HomePage}>Go Home</Link></p>
</div>
)
}
export default PageNotFound
<file_sep>import React... | 25dcc99b4a38acafb3592f08ddc961a378df166a | [
"JavaScript"
] | 20 | JavaScript | DavidMVie/dmvie-site | 1764045bceabb477eb2775036873cffe308a7217 | a177c828b217cf9028e85631bd246e57bb7c42db |
refs/heads/master | <file_sep>require("webduino-js");
require("webduino-blockly");
//variable about webduino
var myFirebase;
var dht;
var mTemp=0,mHum=0,bRain=0,uid=0,i=0,flag=0;
//variable about linebot
var linebot = require('linebot');
var express = require('express');
var bot = linebot({
channelId: '1519721522',
cha... | c473108a2e83075f2fbf30adaaf18487fbae3daa | [
"JavaScript"
] | 1 | JavaScript | lixingxing41/linebot | 5016b2761db6993cee9916c34587f90c4a1ef599 | 6f909517de8558c24b1f29219de3976b52f4a1a0 |
refs/heads/master | <repo_name>g360codes/stark<file_sep>/R/hello.R
#' time_to_got
#'
#'
#' @return
#' @export
#'
#' @examples
#' time_to_got()
#' for(i in seq_along(1:100)){
#' time_to_got()
#' print('----------')
#' }
time_to_got <- function(sound = 1) {
td <- as.numeric(as.POSIXct('2019-04-14 21:00:00', tz = 'EST')) - as.numeric(... | 37e60f5472aa80fc5f5b00e679eb883f798c7a3f | [
"R"
] | 1 | R | g360codes/stark | bc83a319b83b12ccc354de891514169fb605cfda | c846f299fc7196328683d54d31891d542538f929 |
refs/heads/master | <repo_name>iFreeForAll/Glitch-Garden<file_sep>/Assets/Scripts/MusicManager.cs
using UnityEngine;
using UnityEngine.SceneManagement;
[RequireComponent(typeof(AudioSource))]
public class MusicManager : MonoBehaviour {
public AudioClip[] levelMusicChange;
private AudioSource audioSource;
private int activeSceneInd... | 148cf713c6e38d3f0e68a3e2dc8a3e8809f65368 | [
"Markdown",
"C#"
] | 2 | C# | iFreeForAll/Glitch-Garden | 1a47af90b9b32c77dcf316389b0b8526239dd4eb | ab94b786588afc2a3f8dc64d54189821657e1115 |
refs/heads/master | <file_sep>import { Component } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
// importamos el servicio de translate para usarlo
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
// utilizarl... | 9be15690c102419800b8d03341a2258bcce60d3d | [
"TypeScript"
] | 1 | TypeScript | brayanhdz5/translate-with-angular | 2799cdab017fb3580842960dc33250fa501acd8a | 65606722f759d947a4854aa87073e275c1253420 |
refs/heads/master | <repo_name>developer-ranavishal/searchPost<file_sep>/app/src/main/java/com/example/searchpost/network/PostOfficeInfo.kt
package com.example.searchpost.network
class PostOfficeInfo<T> : ArrayList<PostOfficeInfoItem>()<file_sep>/app/src/main/java/com/example/searchpost/view/PostOfficeListScreen.kt
package com.example.se... | 0e2aa2f4a6125b0febbc1e133539f7cd3d1c8d81 | [
"Kotlin"
] | 11 | Kotlin | developer-ranavishal/searchPost | fe34852c0f3e403a0ace9a4a08b16a4fd9e78b50 | 332585d8e45358fa4fd01a2f2171371f54bceb53 |
refs/heads/master | <file_sep>
import requests
import time
import ujson as json
from instagram_network import settings
def get_response(endpoint, params={}):
if params != {}:
r = requests.get(endpoint, params=params)
else:
r = requests.get(endpoint)
tries = 0
max_tries = 5
while tries < max_tries:
... | 125de275673978ebc2a3d1b1304eb840066a1cd2 | [
"Markdown",
"Python"
] | 6 | Python | BrandwatchLtd/benj-instagram-network | f67313969f52eaeb1ce8d75f34a9e92b6de724b3 | 51e7e6f3b748f3fc1ab1a70761594e3b89193d9b |
refs/heads/master | <file_sep>var fernando = {
Nome: "<NAME>",
CPF: "83547098",
Nascimento: "22/02/1990",
poster:"https://remax.azureedge.net/userimages/12/A_2514de4f9b1c4845be3eb22dddb0c999_iList.jpg"
};
var tbody = document.getElementById("tbodyPessoas");
var btnSalvar = document.getElementById("btnSalvar");
var txfNome = docu... | f4230d68abebde56d487d77ffc489fadc39a94af | [
"JavaScript"
] | 1 | JavaScript | Aron201/javawebpratico2018 | a9b235c0a16b0459999ae8807e530b7ca89e7cf1 | 07101b45bdac08572b0f73f5a1fd42a43f3d5c00 |
refs/heads/master | <repo_name>ob0420/odoo.hospital<file_sep>/patient.py
# -*- coding: utf-8 -*-
from odoo import models, fields, api, _
from odoo.exceptions import ValidationError
class SaleOrderInherit(models.Model):
_inherit = 'sale.order'
patient_name = fields.Char(string='Name')
class HospitalPatient(models.Mod... | f3bbaf9164693ff6d584349eb9546ec70e128c63 | [
"Markdown",
"Python"
] | 3 | Python | ob0420/odoo.hospital | 73df6ccb86a4c4e5f276ac21658bea1c33f4a953 | 027858421d0204b1911e213c6779cd97ae558304 |
refs/heads/main | <file_sep>package com.gfg.article.sharedviewmodel
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
class... | 24b12449ea7b10f0385c4c7740183efa3704e6f5 | [
"Markdown",
"Kotlin"
] | 4 | Kotlin | Anju1415/Blogathon-GFG | 4347b8d750fccf5d65b7e42bd748c9df6458413c | 1105b946fb9b7510e6041c8e5156967c8f358d25 |
refs/heads/master | <repo_name>osyun0101/SampleEmpty<file_sep>/SampleEmptyApp/Data.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SampleEmptyApp
{
class Data
{
// Dataオブジェクトの数
private static int num = 0;
// データの値
p... | d5ac3f246fc51b9e2dab956858a476b6d78837e2 | [
"C#"
] | 7 | C# | osyun0101/SampleEmpty | 6adbc3a571d49cb37704a53a2b828010a1e936ec | 9d9cece4daf1c8ff06b1c5a0f4d31265ae7968b3 |
refs/heads/master | <file_sep>class About < ActiveRecord::Base
validates :bio, presence: true
end
<file_sep>class WelcomeController < ApplicationController
def home
if About.last
@bio = About.last.bio
else
@bio = "Emily is the best"
end
@list = Composer.all.sort_by{|x| x[:name]}
end
def calendar
... | e4223c3956e5da90ad2c63ab16f0d682c8bce31b | [
"RDoc",
"Ruby"
] | 6 | Ruby | jefflembeck/Senturia | 6a952b9ee29e954b5c602d2a2976cc2314535eab | 156249863215a0968be869cb9a3303dd04001836 |
refs/heads/master | <file_sep># miyanky
elflmai
<file_sep><?php
echo 'hello world';
ecoh "other";
dpfjfmf skfhdfrpgkwk
qk
baboyam
bbbbabo<file_sep><?php
echo '<div> hello</div>'; | 6eac010d54ce372756063c568b62c1d6344e9d10 | [
"Markdown",
"PHP"
] | 3 | Markdown | kimmg12/miyanky | f1d8ae54e996310b44cd5c846f1189f6d21d0758 | 918be15b1c4c44e8e7106f47347582fe943a8fce |
refs/heads/master | <repo_name>rita08113/arcademakecodewhacamole<file_sep>/main.ts
namespace SpriteKind {
export const background = SpriteKind.create()
export const 按鈕 = SpriteKind.create()
export const 道具 = SpriteKind.create()
export const 人物 = SpriteKind.create()
}
function 遊戲內容 () {
if (game_1 == 2) {
scene.... | 61ab26cccd2fbcf8ca19581db3cb4bf57c8e600c | [
"TypeScript"
] | 1 | TypeScript | rita08113/arcademakecodewhacamole | 0c1277fe0b04c536fe36cfa70c0d03d468096f2f | 5fdfb6efa2f87a3f1f33a23de7f56bac8d7568a5 |
refs/heads/master | <repo_name>emersonbnp/health-monitoring-api<file_sep>/src/main/java/com/healthmonitoringapi/controller/UserController.java
package com.healthmonitoringapi.controller;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.sp... | d41c47f8eeae66df87b8743895bc55cdb3c68af9 | [
"Java",
"Dockerfile",
"SQL"
] | 20 | Java | emersonbnp/health-monitoring-api | d2d003fece9a5076d1995c8098772e42763d09dd | 047b77a8c1a28339ecd2560264335b22aa0c309e |
refs/heads/main | <repo_name>jaxteam/vite<file_sep>/src/router/index.test.ts
import { createMemoryHistory } from 'history'
import React from 'react'
import ReactDOM from 'react-dom'
import MicroApp, {MicroRoutes, MicroContext } from './index'
describe('测试路由', function () {
// it("memory",function(){
// history.push("/hello/a... | c8b6250be66d241d1669cafaf51559b2ab068468 | [
"TypeScript"
] | 2 | TypeScript | jaxteam/vite | f874c60522b37506a5b841ad0159c88651a98e5f | 1d93c29d431c5a714e576bda9836ed73300f30c5 |
refs/heads/master | <file_sep>using System;
using NUnit.Framework;
using Prova.Tests.ForTestable.Features;
using Prova.Tests.ForTestable.Types;
using TechTalk.SpecFlow;
namespace Prova.Tests.ForTestable
{
[Binding]
public class DefaultDependenciesSteps : Steps
{
private readonly TestableContext _context;
pub... | e2aef2f43565d27bbd495b8f9f903296fcfd9996 | [
"C#"
] | 24 | C# | jcono/Prova | a01dbba9420f2c4236ef83c94095ee4bdd36fba5 | 2a519e0ea17a387345a81105e3d863a2d8b67cc2 |
refs/heads/master | <file_sep>
# Virus Simulator
This is a simple Python application that simulates the spread of a virus within a population.
## Features
Beyond the given specifications for this assignment, a few things were ... | d07023afabe6c2108334edfd2b960b57506a7ab8 | [
"Markdown",
"Python"
] | 2 | Markdown | NeedsSoySauce/Virus-Simulator | 59d59bbd0d422707be33667e4b49b2d726a1f962 | a2782daca00f15c0a6a9c6d915b7decfeeb152a1 |
refs/heads/master | <repo_name>jhorikawa/HoudiniHowtos<file_sep>/Live-0118 Lava Loop Animation for Mobile with VAT and Unity/LavaAnimationVAT/Assets/MeshIndexFormat.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeshIndexFormat : MonoBehaviour
{
// Start is called before the first frame... | a6bee8c09caeeade50743a1d95c121336d01f2f4 | [
"Markdown",
"C#",
"C"
] | 4 | C# | jhorikawa/HoudiniHowtos | ce178576514ad79e5cbcd3c383fc7f579148ce9c | e2bb2fcfea314588f4f960a5077a5f94854f1b94 |
refs/heads/main | <repo_name>AlmightyLks-SCP/GamemodeManager<file_sep>/GamemodeManager/GMM.cs
using Synapse.Api.Plugin;
using CustomGamemode;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Diagnostics;
using GamemodeManager.EventHandler;
namespace GamemodeManag... | a60ce11411639fdcd205a5eaf2faef747f08f9f6 | [
"Markdown",
"C#"
] | 8 | C# | AlmightyLks-SCP/GamemodeManager | a404c186d7f97ec0191a9da992af744f2dd753be | c88d5d54b1804dbc8e7e0c2363c6f6e11f9bc9b3 |
refs/heads/master | <file_sep>// guess pegs: 6, in different colors (these are possible options)
// key pegs: black/white to indicate yes/no
// code: 4 of 6 code peg colors, in specific order
// easy: no duplicate colors
// hard: duplicates allowed (special feedback rules)
// number of turns: 12, 10, or 8
// code is set (random generat... | 8771ebb828c23bf7b90664077a3279d987797465 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lsr488/mastermind | b93b6a006d629a267ef22e96674a4e85ceb40ca3 | 86a191f42523b4b15fdcd74c9f6c671ec3f11de1 |
refs/heads/master | <repo_name>dagint/CFN-VM-Import<file_sep>/README.md
# CFN-VM-Imporit
## Summary:
This is an AWS cloudformation template to automate the creation and setup of the required IAM policies and roles to use the import export process. It will also create the bucket which should be used to upload and import the virtual machi... | 53d0a46c4982fa9e100a20b781004dc8d8ebc609 | [
"Markdown",
"Python"
] | 2 | Markdown | dagint/CFN-VM-Import | 71765d907a35e7da366f9720a6e2424614b76d93 | a64761da19432be23a8b69c042d1d08f9f7629f4 |
refs/heads/master | <repo_name>Ashok98485/Demystifying-Disease-Identification-and-Diagnosis-Using-Machine-Learning-Classification-Algorithms<file_sep>/README.md
# Demystyfy-medical-data-
The exponential surge in healthcare data is providing new opportunities to discover meaningful datadriven characteristics and patterns of diseases. Machi... | b11e4ab6e403e52dddf93f4673d4f1cfd7c8e58d | [
"Markdown",
"R"
] | 3 | Markdown | Ashok98485/Demystifying-Disease-Identification-and-Diagnosis-Using-Machine-Learning-Classification-Algorithms | 997196b3abca40c7c4c8f43d41d707558c05a541 | 961132548afdf4efcd286eabd9c86d2017112de0 |
refs/heads/master | <repo_name>BouquetTristan/Entrainement_24h<file_sep>/sources/class.c
/**
*\file class.c
*\brief This file contain the class use in the game
*\author <NAME>, <NAME>, <NAME>
*\version 1.0
*\date 13/02/2017
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include"../includes/global.h"
#include"../includes/ca... | 8ef91f7f5924ad7190b8d63e07db4f00ab0ce3bf | [
"Markdown",
"C",
"Makefile"
] | 17 | C | BouquetTristan/Entrainement_24h | e1df9241320fdf700f2530a3b94f2d0f3138ca11 | 061fcf691d96fd464ee249d20b41222bc93e30a0 |
refs/heads/master | <repo_name>kafwihi/mvc<file_sep>/Controllers/CarsController copy.cs
/*using System.Web;using System.Web.Services;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.L... | 5254d0ab7878d1e8077c60b0186e708a36be0f03 | [
"C#"
] | 4 | C# | kafwihi/mvc | 2c83270fd1e5178860031514033c6d226411736e | c023c5ea41b5256d53e6ebb290568778867fd2fd |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.