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>Hazer/sentry-java<file_sep>/sentry/src/main/java/io/sentry/marshaller/json/SentryJsonGenerator.java
package io.sentry.marshaller.json;
import io.sentry.marshaller.json.connector.JsonGenerator;
import io.sentry.util.Util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
i... | c3af24a3a298154cce83c26d64292c01987e7c8c | [
"Markdown",
"Java",
"reStructuredText"
] | 11 | Java | Hazer/sentry-java | 0a7c8feaed05cc425b13ee158ae72a52fd0c09f2 | 23a64ed9374dcc8ecc9853afd06e34c37fb36a27 |
refs/heads/master | <repo_name>kevkim11/Marshawns_Skittle_Crusher<file_sep>/lcdnumber.h
/** @file LCDNumber.h
@author <NAME>
@date
@brief This is a header file for the LCDNumber class. The class is defined within this header file.
This file contains the list of functions and variable used in LCDNumber.
The LCDNumber cl... | 2d510fd425cecc3c9cce1aaa667f927222dbf7a7 | [
"Markdown",
"C++"
] | 11 | C++ | kevkim11/Marshawns_Skittle_Crusher | 9cdd135a6ed2f25391f35261d7ac8da7bbb1f64a | 11eb06a4cd685f8e91de8781a5454f95c11d91dc |
refs/heads/master | <repo_name>headquarters/eslint-config-payscale<file_sep>/strict-addons/vanilla-js/index.js
/* Rules for vanilla javascript */
module.exports = {
rules: {
// enforces getter/setter pairs in objects
'accessor-pairs': 'off',
// enforces return statements in callbacks of array's methods
... | e71d2334ae5973fabe89825e8a49dd84e8e74d19 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | headquarters/eslint-config-payscale | d8c44485dafab712a915e2ddb10ecc3820f8c4f0 | 50f3cd120aae49ae2b6b5010ad798355b83d5781 |
refs/heads/master | <repo_name>ashley4140/ConnectFour<file_sep>/src/GameBoard.java
import java.awt.*;
import javax.swing.*;
public abstract class GameBoard extends JLabel{
public static void main(String args[]) {
JFrame frame = new JFrame("Connect Four");
JPanel panel = new JPanel();
panel.setBackground(Col... | c571cc3b52f7c892a27cc597651aed99ae15c2de | [
"Java"
] | 1 | Java | ashley4140/ConnectFour | 6da81f3123d3e1e29ea1464c508934a9d2a5f265 | ca81043724ba4c42dafe12a45652f0296444946a |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use App\Models\Employee;
use App\Models\Specialist;
use App\Models\Hardware;
use App\Models\Software;
use App\Models\OS;
use App\Models\Location;
use App\Models\Solution;
use App\Models\FAQ;
class MainController extend... | 71d0381ad2356d54a76edecf75cfc7159cf0447f | [
"PHP"
] | 5 | PHP | JamesThanni/Laravel-Helpdesk-System | 909816c8325b29ed4de8422d3da7d59c70f1b92b | e66e960e83009fab158933102abde72bf22a35ee |
refs/heads/main | <file_sep>INSERT INTO Categories (CategoryName, CategoryClass)
VALUES ('Snowboard&Ski', 'boards'),
('Bindings', 'bindings'),
('Boots', 'boots'),
('Snowwear', 'clothing'),
('Accessories', 'tools'),
('Other', 'other');
INSERT INTO Users (UserID, UserEmail, UserPassword, UserName, UserC... | 31232cd904f207426f4f42af4cda1379b70885d4 | [
"Markdown",
"SQL",
"PHP"
] | 20 | SQL | tati267/php_1 | a6492c8e93ef0ae2d33ed687d53f6439d31d05cc | 59feb2dbcf227c9e47ccde05ac8090330ecc3030 |
refs/heads/master | <file_sep># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' ... | 144897dda23201760ca7c93b34d7120e5d585dc7 | [
"Ruby"
] | 1 | Ruby | Appiopini/rails-mister-cocktail | 610414b4c67e60f2fd8660ff9cd47f59c65bab32 | 4b291e3478f75e4c28311c446bcf8b3f0e963519 |
refs/heads/master | <file_sep>class Init {
constructor(sensor, motor) {
this.sensor = sensor;
this.motor = motor;
console.log('App initialized');
/*
* Setting interval to test out sensor every second.
*/
// setInterval(this.interval.bind(this.sensor), 1000);
this.motor.forward();
// Check if ... | 0ee575c79c5f96f8dfbaddd33446e7850e021cd3 | [
"JavaScript"
] | 2 | JavaScript | georgeneokq/PiTest | a27646bd7aff3a6aefa4983c28276de0ca416777 | 901d03f56b7444c4ac81e6b68c250f57d8cce152 |
refs/heads/master | <repo_name>firstandthird/hapi-micro-mail<file_sep>/README.md
# hapi-micro-mail
[Hapi](https://hapi.dev/) plugin for posting emails to your [micro mail](https://github.com/firstandthird/micro-mail) email server. You will need to either set up or have access to a micro-mail instance to use this plugin.
## Installation... | c62bfe1ac542021bb3b3b483e4314a9e7689f7c3 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | firstandthird/hapi-micro-mail | 325efb78814aa55e4fbb9dc940731be6fad41d64 | 1b6b7672c5010ab4cab1746dbe3de5ad2b910f4e |
refs/heads/master | <file_sep>package me.jfenn.alarmio.adapters
import android.animation.Animator
import android.animation.ArgbEvaluator
import android.animation.ValueAnimator
import android.annotation.SuppressLint
import android.app.AlarmManager
import android.content.Context
import android.graphics.Color
import android.os.Handler
impor... | 23c984a6f1de06888c5ab54d4608e77567f7b00e | [
"Kotlin"
] | 1 | Kotlin | Hoffa25/androidalarmapp | 98606a2dda9f593c427bac15e2c4533124fbca6b | 7a31f08febac94a6c80b75dafc2e648a6ce38192 |
refs/heads/master | <repo_name>wozane/react-tests<file_sep>/src/App.test.js
import React from 'react'
import { shallow } from 'enzyme'
import App from './App'
describe('App', () => {
const wrapper = shallow(<App />)
it('should have `th` "Items"', () => {
expect(wrapper.contains(<th>Items</th>)).toBe(true)
})
it('should have... | 9327afac1527761332f738c700f0b4902521ad7c | [
"JavaScript"
] | 1 | JavaScript | wozane/react-tests | a76dda88fbc8f7c732b8ab1bfe9d2f11c6177565 | 98fb20e8ca3bee008f9a39779b11cdb61373f579 |
refs/heads/main | <file_sep>g++ read_TH02.cpp ../TH02_dev.cpp ../../Grove_I2C_Com/I2C_Com.cpp -I.. -I../../Grove_I2C_Com/ -li2c
<file_sep>/*
I2C_Com.cpp
Driver for DIGITAL I2C Communication
Copyright (c) 2021 <NAME>
Website : https://github.com/zieglermax/Grove_RPi_Lib
Author : <NAME>
Create Time: ... | 52324c4885759e940c97d8e9d870d46857b01da0 | [
"Markdown",
"C++",
"Shell"
] | 4 | Shell | zieglermax/Grove_RPi_Lib | 2bb3fe81ed9c5e95a6fa45b06eb8e7af1c47b6f7 | b28249e1f29f048dedf85c7b953a0f7b42a47741 |
refs/heads/main | <file_sep>#Find targets
setwd('F:/<PASSWORD>')
source('InstantExam.R')
load('Combined2018PassingData.RData')
plays$targetReceiver = NA
for(i in 1:nrow(plays)){
plays[i,'targetReceiver'] = strsplit(strsplit(strsplit(toString(plays$playDescription[i]),' to ')[[1]][2],' ')[[1]][1],'[.]')[[1]][2]
}
#May al... | 3e90112284c2043f38b70dc3a84691eee2341fd3 | [
"R"
] | 28 | R | prestonbiro/BigDataBowl2020 | 5162c1407ac439797b02a50ea4fd64997589457a | 3743442cc3c835982865a7a3291599ef1151e6b1 |
refs/heads/master | <repo_name>apellis/manin_schechtman<file_sep>/ms.py
# =====================================================================================
# ms.py
# code related to Manin-Schechtman theory for arbitrary elements of S_n
# (c) <NAME>, 2013
# ===============================================================================... | 2c40ef3a869e68f0016ff214768d6b2234841bc1 | [
"Markdown",
"Python"
] | 2 | Python | apellis/manin_schechtman | 0d402d62fd434740fb51a20220309277275f6145 | 6344e518842a2b71629cd693d7006330f85b7fbf |
refs/heads/master | <file_sep>//
// MemeTableViewController.swift
// MemeEditorV2
//
// Created by <NAME> on 7/26/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
class MemeTableViewController: UITableViewController {
// MARK: properties
var data: [Meme] {
let object = UIApplication.shared.de... | be489400c01d4746b34a4a311cd6c79f576f4897 | [
"Swift"
] | 4 | Swift | JMallian/MemeEditorV2 | 1e60670e6ca636021675834b0c33f60188b70fdc | 4cae2a7c483a9b656d1e45b8121fdc9ab96d27e8 |
refs/heads/master | <file_sep>import pymongo
from pymongo import MongoClient
import twitter_credential as tc
from tweepy import API
from tweepy import Cursor
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
import tweepy
import csv
from collections import OrderedDict
client=MongoClient... | 252b7d84dba300d0e0b39bf8c1e6a6a5e24b9ed4 | [
"Python"
] | 1 | Python | nithinaakash/pymongo | b12337e2af492318f5104858e561fb6cfa67c574 | 508ad8cc4c1d836dcf99be04a06bc99f7ee75f4a |
refs/heads/master | <repo_name>zoya-sh/TDD-Kata-FindAPerson<file_sep>/FindPersonTests.py
import unittest
from Crowdmap import Crowdmap
class FindPersonTests(unittest.TestCase):
def setUp(self):
self.crowdmap = Crowdmap(["I met Or A. at Chabad house Bangkok", "We found Or A. R.I.P at Langtang valley"
,"MissingCowboy","Lassy Co... | 710319f509ddc6feb76eefebaacd79a2b9d48176 | [
"Python"
] | 2 | Python | zoya-sh/TDD-Kata-FindAPerson | 2eac31686588ebb197b1afe479001ba116216abb | bce2e67432462dc8404c7d57d2043a053eef15bb |
refs/heads/master | <file_sep>import './index.pug'
import * as Reveal from 'reveal.js'
import 'reveal.js/css/reveal.css'
import 'reveal.js/css/theme/black.css'
import * as hljs from 'highlight.js'
import 'highlight.js/styles/gruvbox-dark.css'
Reveal.initialize({
});
hljs.initHighlightingOnLoad();
| dc9f3d724132da58e67d8038044e31437cb4c708 | [
"TypeScript"
] | 1 | TypeScript | deemson-talks/git-rebase-flow | fbe424a40d40bb3bf7cf8a5d4a755b6d6df50f5a | f211b8ab2fbe0b7f817ba89e544d8c5243b763fc |
refs/heads/master | <repo_name>cimm/pvpulse<file_sep>/pvpulse.ino
// PvPulse
// Sends an MQTT message on each pulse generated by the kilowatt meter.
// Will reconnect via ethernet to the MQTT broker if disconnected (but
// will only learn it’s disconnected after a pulse).
// The onboard LED indicates if the board is connected or not.
#in... | 764e4556cff300dca59f82b458f6c17aacc5f702 | [
"C++"
] | 1 | C++ | cimm/pvpulse | 0793afdc2f54ef18cb4778c6a464c1347c282a15 | 94cf7270d16bab420c33ea4c36ded31132efa3e5 |
refs/heads/master | <repo_name>douglas20345/linux-tibia-ip-changer<file_sep>/setup.h
#ifndef SETUP_H
#define SETUP_H
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sys/types.h>
#include <dirent.h>
using namespace std;
class Setup
{
public:
bool saveSetup(string, string);
string loadSetupValue(stri... | 3d7ea7023841b897573bc57ca806845facf3d320 | [
"Makefile",
"C++",
"Shell"
] | 19 | C++ | douglas20345/linux-tibia-ip-changer | 4ed6e6bf61306388673ae16be8a3ffda1f75db24 | c3df07ba212bc1ec742d0e125f147c7c95c03524 |
refs/heads/master | <repo_name>mitalikhundiwala/arcatalog-console<file_sep>/src/lib/firebase.storage.ts
import { firebase } from './firebase.auth';
console.log(firebase);
const storage = firebase.storage();
const storageRef = storage.ref();
export default class FirebaseStorageService {
static uploadFile(file: File): Promise<string> {... | a871a650df3d8a08fdfe0d5c4d8f09617b330600 | [
"TypeScript"
] | 5 | TypeScript | mitalikhundiwala/arcatalog-console | 2dca4317c7f0275960fb8e6f6838ac874c11df42 | f7e281798d97db67e9aa18de9f5b56047500aed5 |
refs/heads/master | <repo_name>filipepiressemait/testapimagento2<file_sep>/config.sample.php
<?php
/**
* Created by PhpStorm.
* User: filipe
* Date: 22/09/17
* Time: 00:48
*/
define('USERNAME', NULL);
define('PASSWORD', NULL);
define('URL', NULL);
define('PARAMS1', '/index.php/rest/V1/integration/admin/token');
define('PARAMS2', '/i... | b6903c77b277a8fdf55595b4a6adeec086c829f6 | [
"Markdown",
"PHP"
] | 3 | PHP | filipepiressemait/testapimagento2 | 1267000e07e1d486a6db08b989130ffdbd9788ef | 9c199d26353ed20a39357e1f4df8a4cc9707cb0d |
refs/heads/master | <file_sep>import firebase from 'firebase';
const firebaseConfig = {
apiKey: "AIzaSyATd7bNDhU6s4sh0qy1x7WheWheq0kw-aw",
authDomain: "twitter-d81b1.firebaseapp.com",
projectId: "twitter-d81b1",
storageBucket: "twitter-d81b1.appspot.com",
messagingSenderId: "62739218711",
appId: "1:62739218711:web:3a9c397a867... | fa33546203df3212d60a00160e880fc03c85ec20 | [
"JavaScript"
] | 1 | JavaScript | triforze1-git/twitter-clone | c9715b511ac552fef4127571a73cacda8ba131c5 | 555a305f6aa562b00b1a2dc905969489ffdfe993 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2017-07-06 08:01
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('product', '0001_initial'),
]
operations = [
migrations.RemoveField... | 7df947a2e59a972fe0db696c4ee505ce360f212b | [
"Python"
] | 10 | Python | AndrewMishchenko/dspsl | 6a50c1b9977193e080ccfeb321780cde8829fa01 | 2a96e745deea7dc71957996a7cfc44093020cd19 |
refs/heads/main | <repo_name>ducanhald/to-do-list<file_sep>/src/App.js
import { useState } from "react";
function App() {
const [JOB, setJOB] = useState("");
const [jobs, setJob] = useState([]);
const submit = () => {
setJob((pre) => [...pre, JOB]);
setJOB("");
};
return (
<div className="App">
<input value=... | 027b04a99e623d008bf5565d6bdf9cba3312ee94 | [
"JavaScript"
] | 1 | JavaScript | ducanhald/to-do-list | c863700b85dd4db12d26fdf8fc0d6152e8d95c6c | 833035cafaa4d856521155846f5f5881ef8d47a5 |
refs/heads/master | <repo_name>sereg/agar-live<file_sep>/world/split.go
package world
import (
math2 "agar-life/math"
"agar-life/math/crd"
"agar-life/math/vector"
"agar-life/object/alive/animal/behavior"
"agar-life/object/alive/animal/species"
_const "agar-life/world/const"
"agar-life/world/frame"
"math"
"agar-life/object/alive... | 9449d5fa55a7b5cb76cc2e464924e8f0d127134d | [
"JavaScript",
"Go",
"TypeScript",
"Go Module",
"Dockerfile"
] | 56 | Go | sereg/agar-live | 92e7c76b17baccaba4ef6ae440147684e3244329 | 960943d6f874e6acffbb48d36a73a8de08ecf813 |
refs/heads/master | <file_sep>spike-angular-and-elasticsearch
===============================
download : https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-version.tar.gz
start : ELASTICSEARCH_HOME/bin/elasticsearch
default url : http://localhost:9200
health check : http://localhost:9200/_cat/health?v
list a... | ba72dfc86ccbce81e226a8ac8073af27e34b82fd | [
"Markdown",
"JavaScript"
] | 2 | Markdown | boyone/spike-angular-and-elasticsearch | 74f701142bb431b21b63b9c44d33f6dfa4dc81b7 | 6660a381234c373815e6510d3cd107c0ab03c9ae |
refs/heads/master | <repo_name>evettetelyas/koroibos<file_sep>/app/helpers/importHelper.js
const fetchHelper = require('../../app/helpers/fetchHelper')
function formatNa(data) {
switch (data) {
case "NA":
return null
default:
return data
}
};
async function formatter(data) {
var array = []
fetchHelper.asyncForEach(data, as... | 51d511803e66a82fe3da0f5e8693ee62731db5cf | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | evettetelyas/koroibos | 69d3337f876e817bf69ca6bfbec9610f7ed58ded | 5cb1b48e5e7b028343f0a561ae19de9803199258 |
refs/heads/main | <file_sep>const Constraint = Matter.Constraint
const Engine = Matter.Engine;
const World = Matter.World;
const Bodies = Matter.Bodies;
const Body = Matter.Body;
var stone, boy;
var tree;
var mango1, mango2, mango3, mango4, mango5, mango6, mango7, mango8;
function setup() {
createCanvas(1300, 600);
engine = Engin... | f9b3411de8b6d0ab52cc7dd15c63e722f3da14a9 | [
"JavaScript"
] | 1 | JavaScript | Pratham12345678/Mango | e450d1e68d5cbaffe9aba1edfdc30dfb840adc49 | c2d8f21aa2f22ce3e102a8977057264c2cafa5e1 |
refs/heads/master | <repo_name>shinhf/TutorialM3Binding<file_sep>/Tutorial_M3_Binding_Hamburger/ViewModels/AnimalsViewModel.cs
using System.Collections.ObjectModel;
using Tutorial_M3_Binding_Hamburger.Models;
using Tutorial_M3_Binding_Hamburger.ViewModels.Commands;
namespace Tutorial_M3_Binding_Hamburger.ViewModels
{
public class An... | 88a2d9da99b06eefe1c74daa1423bc26dc7e1346 | [
"C#"
] | 5 | C# | shinhf/TutorialM3Binding | a5e9dc72331d04ba7eafb43f1cfe6881b4d7fd4f | 3a09c15b8d60fd02c1fa256cba6057311a47a0fe |
refs/heads/master | <repo_name>jsilgado/personal<file_sep>/spring-aop-timer/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<grou... | bf78b61aba76ccedcc542919c62f7b32cfac2b48 | [
"Java",
"Maven POM"
] | 4 | Maven POM | jsilgado/personal | 85cb1453647073743550a1d129ee4c880d79ad4b | fed0c549762350f9f34ee33a2322a628fefd0b04 |
refs/heads/master | <repo_name>amarunko/laravel-echo-ios<file_sep>/README.md
# Laravel Echo IOS
This is a project by [Bubbleflat : find your perfect roommate and flatsharing](https://bubbleflat.com)
This project is wrapper to use [Laravel Echo](https://github.com/laravel/echo) in Swift IOS project
This only work for **socket.io**, NOT... | 0bc0475fdd399f39b87f47416e79a8175f5134f1 | [
"Markdown",
"Ruby",
"Swift"
] | 13 | Markdown | amarunko/laravel-echo-ios | d312396aa8d0eab884eec4d17af0508117a61983 | 008e793547af7fa1701779737e2d4523e4f9de17 |
refs/heads/master | <file_sep>// Sempre que comçar um projeto node rode no terminal um npm init para
// gerar um package.json. Importante para guardar versões de libs que
// pode ser usado no projeto.
// Exemplo: underscore
const underscore = require('underscore')
// Importante aqui: quando importamos uma lib nesse formato, Node assume
... | 3c47d8f7ade3285314fd5497a83556e1d5f11f85 | [
"JavaScript"
] | 37 | JavaScript | gmbarroso/learning-nodejs | 9e8e2814a9476c3f032fc36b41d10ce8de5f6a62 | f856fa982951729b4d473c4849354593731cc3bb |
refs/heads/master | <repo_name>achmadrizkin/flutter_calendar<file_sep>/android/app/src/main/kotlin/com/example/todolist_app/MainActivity.kt
package com.example.todolist_app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 37091f83a189db163f1e462ba830e96b01348f5f | [
"Kotlin"
] | 1 | Kotlin | achmadrizkin/flutter_calendar | 831b73b00aeae0e52103eb343eca2d7d668f6661 | cea6df1d7d1a99b316b7794fb918f22c61e3e37d |
refs/heads/main | <file_sep>//#include <stdio.h>
//
//int main()
//{
// //prob1-1
// printf("花城 将英\n");
//
// //prob1-2
// printf("123\n456\n789\n");
//
// //prob1-3
// printf("%d + %d = %d\n", 1, 1, 1 + 1);
// printf("%d + %d = %d\n", 2, 3, 2 + 3);
//
// //prob1-4
// printf("%d + %d + %d = %d\n", 1, 2, 3, 1 + 2 + 3);
... | 49a4c6c511cc1a66cdcca72d9e020f655403d5c1 | [
"C++"
] | 1 | C++ | Hanashiro-Shoei-20/SubeSubeGani | 4e0ff44988c99428cb3591ef33ae372dfd7becb2 | db50aba049ea52cf0176570d42d4ec20474ee951 |
refs/heads/master | <repo_name>Zerixx/Ronin<file_sep>/src/ronin-world/Client Communications/Packet Handlers/TradeHandler.cpp
/*
* Sandshroud Project Ronin
* Copyright (C) 2005-2008 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008-2009 AspireDev <http://www.aspiredev.org/>
* Copyright (C) 2009-2017 Sandshroud <https://githu... | 3fbfa5478386434ec98f1eeefcadbeb12e1b5157 | [
"Markdown",
"C++"
] | 17 | C++ | Zerixx/Ronin | c0056aebe1163d673625411646f5c44a9202b2fb | ca2536ea84e57a53b567d68cfe06821746ca7e33 |
refs/heads/master | <file_sep>#Python Selection Sort
def selectionSort(array):
for i in range(len(array)):
minValue = i
for k in range(i + 1, len(array)):
if array[minValue] > array[k]:
minValue = k
array[i], array[minValue] = array[minValue], array[i]
ret... | b34e02cd3f1840474064561d069d71f19309d117 | [
"Markdown",
"Python"
] | 2 | Python | cdsefcik/SelectionSortPython | eacd9d5cc8c7dd32625499e180cc36b6dc665e48 | 01a63bdaaf10aa74097562b57215c5315a3cf114 |
refs/heads/master | <repo_name>nickstoian/houghTransformLineDetection<file_sep>/main.cpp
//<NAME>
//CS780 Image Processing
//Project 8.2 - Hough Transform
//This program needs 3 command line arguments
//argv[1] "input" for text file representing the binary input image
//argv[2] "output1" for the result of the houghAry with header i... | fd8caf8a90653c13447a604c01b381313902a86c | [
"Markdown",
"C++"
] | 2 | C++ | nickstoian/houghTransformLineDetection | 6fe873749b3dc10aaff83e45ffccce868bc723fd | 24c1a317a7526d204b886286771997ecb1d0659e |
refs/heads/master | <file_sep>package com.offcn.springbootdemo1.controller;
import com.offcn.springbootdemo1.bean.User;
import com.offcn.springbootdemo1.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
i... | a53914e75f70ffcca521fc9a6069fbb20bc552b5 | [
"Java"
] | 1 | Java | wangju68/springbootDemo1 | bb53ab91f0bdaffc72b68a2d4493162fdca47a88 | db3bc4b1dd909586c7e3ef4b5f407ef0e139f6e3 |
refs/heads/main | <repo_name>kiruba-r11/Dynamic-Fragments<file_sep>/app/src/main/java/com/example/dynamicfragments/MainActivity.kt
package com.example.dynamicfragments
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.add
import kotlinx.android.synthetic.main.activity_main.*
class Ma... | 36cae7a525877350107c6f68142f1f3166cad909 | [
"Kotlin"
] | 1 | Kotlin | kiruba-r11/Dynamic-Fragments | e44e90ec9950698928cec176e6c81e41be639cb2 | 1bd95939fe0d406517502f102b27747d8fbe1a9e |
refs/heads/master | <repo_name>omochalov/test_task<file_sep>/test/categoryServic.js
/* eslint-disable no-undef */
process.env.NODE_ENV = 'test'
let Category = require('../models/category').model
let Product = require('../models/product').model
let categoryService = require('../services/category')
let chai = require('chai')
chai.should(... | 0c89e6c9f9e11034cf460c6ac7826b5d47f41b9b | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | omochalov/test_task | 71cb76717411c55d4d8ef98a257a6fb35b344779 | cb566192b8f5a38c044b4a1002970b7940adbb86 |
refs/heads/master | <repo_name>klokik/PlaygroundGSoC<file_sep>/FailedRegionGrabCut.cc
#include <iostream>
#include <opencv2/opencv.hpp>
extern int depth_height;
extern int depth_width;
extern float depth_data[];
int main() {
// cv::Mat depth(depth_height, depth_width, CV_32FC1, &depth_data[0]);
cv::Mat depth = cv::imread("depth_2.pn... | ed9432b8774c01ed3e69badecc1b1f27af9bbb8e | [
"CMake",
"C++"
] | 5 | C++ | klokik/PlaygroundGSoC | a8d0de12c36ebe64b6ff1a83df4da4f5bc7acfdc | 1c61443ae7c29920b66b6896cb050601f98c102e |
refs/heads/master | <file_sep># Getting-Cleaning-Data-Course-Project
Peer-graded assignment of Coursera Getting and Cleaning Data by Johns Hopkins University
# Data Source
Data collected from the accelerometers from the Samsung Galaxy S smartphone.
A full description is available [at the site](http://archive.ics.uci.edu/ml/datasets/Hum... | 4e79b5109567e45a6d956cfe138e449e819da5b1 | [
"Markdown",
"R"
] | 3 | Markdown | alekseidudin/Getting-Cleaning-Data-Course-Project | c4210da28ce558dce1a171937c5f7ac27e50c5ec | f3c818c77ec787c8efdcff503b76de8b5e4922b1 |
refs/heads/master | <file_sep>#!/usr/bin/env python
#*********************************************************************
#*
#* Copyright (c) 2014-2016
#* All rights reserved.
#*
#* Software License Agreement (BSD License)
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provide... | 567eba73caa58da4fb88968ac4d687e35666d975 | [
"Markdown",
"Python",
"CMake"
] | 8 | Python | gitAnto/mavros_controllers | 2e6967a9e9ab65fc457afdbc591603728f2a6b63 | 66034c807032815e3f7a444132e272ff71c75a7b |
refs/heads/master | <file_sep>$(function(){
$('#image').dblclick(function(){//appel de la fonction au double clic sur l'image
$('#image').css('width', '500px')//change la taille de l'image à 500px
})
})
| b14aebddc0dab48dea293c2f40564062417b1c53 | [
"JavaScript"
] | 1 | JavaScript | Tonyio83/exercice2JQuery2 | bd76936ed8645d2e469b904618e2a0d11a9b2029 | 186637728acd79f1144ff1345614774d622017bd |
refs/heads/master | <repo_name>lukeyoung92/Silverado<file_sep>/a3/checkout_page.php
<?php include_once('Functions/checkout_functions.php');?>
<!DOCTYPE html>
<html>
<head>
<?php include_once('Includes/head_data.php');?>
<title>Checkout Page</title>
</head>
<body>
<?php include_once('Includes/header.php');i... | 3b7e05990c1c0a65a0d766222afefb4d5de60cf8 | [
"JavaScript",
"PHP"
] | 13 | PHP | lukeyoung92/Silverado | 2a88ba854d9357451cf51108a56905c02ff6d4f7 | 257c7123d7271b0470022b63e524add521436afd |
refs/heads/master | <file_sep>/*
Copyright (C) 2007-2010 Butterfat, LLC (http://butterfat.net)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy... | db242a170adc727ae19944e375d711f01b0e03fe | [
"Markdown",
"Makefile",
"M4Sugar",
"C++",
"Shell"
] | 18 | C++ | paranoid/mod_auth_openid | b7d6ce77b5469083ee80d578693273e5fe618c83 | 64c9aac801eaab6ffcd085e346c4ffde0122fbf1 |
refs/heads/master | <file_sep>import React from 'react'
import { Link } from 'react-router-dom'
import { motion } from 'framer-motion'
import { FiX } from 'react-icons/fi'
import './styles.css'
import Bar from '../../../assets/bar.jpg'
import Hoteis from '../../../assets/hoteis.jpg'
import Restaurantes from '../../../assets/restaurantes... | e2e5d53366c94b65080df1a4fc1d83a0b6bcdad7 | [
"JavaScript"
] | 4 | JavaScript | HEINRICK7/Booking_app | c8c71bbf38c0201fc9d8573c06a912947fe36fec | 146a68b874fd7d98818e04d4cee46fa2a3c2390c |
refs/heads/master | <file_sep>#!/bin/bash
# Set up Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Set up Solarized colorscheme
git clone git://github.com/altercation/vim-colors-solarized.git ~/.vim/bundle/vim-colors-solarized.git
cp -R ./.vim ~
cp ./.vimrc ~
# Install Plugins through Vundle
vim... | 8828f70eaef644437b8d59ca750f415036c97cf8 | [
"Markdown",
"Shell"
] | 2 | Shell | oys/vimrc | da9409bbe268bba14c2a96fe1b90a6afd73c396b | 709db5234e0bf461eeae6063445681774d0f35f2 |
refs/heads/master | <repo_name>charDevMDP/AbstractFactoryPattern<file_sep>/MakerFactory.py
class MakerFactory:
def create_f(self,factory):
return factory<file_sep>/Preguntas.py
from abc import ABC, abstractmethod
class Preguntas(ABC):
@abstractmethod
def preguntaHora(self):
pass
@abstractmethod
def p... | 926b681e18ac2ee83a61d8d4a456c622fe1618a7 | [
"Python"
] | 7 | Python | charDevMDP/AbstractFactoryPattern | c3122b33fd4f27e82c8b10ad0b311411fa26fbe3 | f7695e4e2cd14ac9179dd1f623bd6ae8aa6b1c69 |
refs/heads/master | <file_sep>class WellcomeController < ApplicationController
before_action :require_login
def homepage
render "wellcome/homepage"
end
end
| 3887d91c100287cfdf7b483d45e1709c6db1de3a | [
"Ruby"
] | 1 | Ruby | DianaBaRo/has_secure_password_lab-online-web-sp-000 | 74f5716f31f21329cacedb9681eae8512ba5aa37 | 83ca5285eff6f43b25f18b8470871fd76762bbea |
refs/heads/master | <repo_name>SidRaghib/OnlineCart<file_sep>/SpringMVCAnnotationShoppingMart/src/main/java/org/raghib/springmvcshoppingcart/dao/AccountDAO.java
package org.raghib.springmvcshoppingcart.dao;
import org.raghib.springmvcshoppingcart.entity.Account;
public interface AccountDAO {
public Account findAccount(String ... | 7bef541cb584f78fc2e7a6bf9b66d8a8cfeb1d2f | [
"Java"
] | 1 | Java | SidRaghib/OnlineCart | f60e6817036c224f39d6e1eb1fea8aeb5d3cbe28 | c2e00634a51bc7ab1aeabc6db8674d35b8490405 |
refs/heads/master | <repo_name>jchen114/TouchesApplication<file_sep>/app/src/main/java/edu/activeauth/umcp/touchesapplication/ScrollPackage/ScrollImageAdapter.java
package edu.activeauth.umcp.touchesapplication.ScrollPackage;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.... | 2a5eccb47a1f24dc2e50fed20e88084a1aba0cf4 | [
"Markdown",
"Java"
] | 3 | Java | jchen114/TouchesApplication | d40a58766702b961bce23610f12191384e1117d8 | 2ce76b0352539a292f3476da3b2ad3fefeeead34 |
refs/heads/master | <repo_name>biletnam/events-manager-seats<file_sep>/CONTRIBUTING.md
# Contributing
Pull requests welcome! We used the Events Manager plugin to coordinate TEDxCheyenne 2016, and managing *who* was sitting in each purchased seat was burdensome. This plugin aims to alleviate the individual seating burden, so that you ca... | 9db11ea8ff526e98b41442f895e92dbeac3c8618 | [
"Markdown",
"PHP"
] | 6 | Markdown | biletnam/events-manager-seats | 93ce807e30839471dfc0a76c7387207e33c02300 | 988102aa763cc6bdeb74d11d04ca716cc3aa41bc |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace WindowsFormsApp3
{
public partial class Form1 : For... | 82f297eb3f31baaddbc737a14680bba3e9a8b0cb | [
"C#"
] | 7 | C# | SOUMITRA-GTHB/Equestion | e42630138fb48d12fd9da01a35f379eb1f1d305d | 210dff9c86592add3e576c1358815ee2ea6cc53c |
refs/heads/master | <file_sep># AuthenticationApi
All URIs are relative to *http://localhost/api*
Method | HTTP request | Description
------------- | ------------- | -------------
[**authGet**](AuthenticationApi.md#authGet) | **GET** /auth | Authenticate a user by giving an Authorization Grant.
[**profileGet**](AuthenticationApi.md#prof... | 027ed016470c0515675f418bda62e05509075e62 | [
"Markdown",
"Java"
] | 19 | Markdown | SoftwareForScience/jiskefet-api-java | 60404538c406e2de394cf6b1d9ffa95b1a3ab2de | 365b916549531504a023ac75021ec44e94f451e2 |
refs/heads/master | <repo_name>scottmorr/Readme.generator<file_sep>/ReadME.md
# Project Title: Readme
Created in Node.Js. READMe was created using NPM Inquirer. Inquirer provided question prompts to better assist in READMe completion. Included in this README are images of the created project with video highlighting project usage.
... | 1b968e042fccdde26c5b23a4d2639446a8e90e52 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | scottmorr/Readme.generator | f043d00f8f9a4d88566779848ef1cdec58d553fd | 3b30bdffaa1e2f2f27d0e81dd9bcf3c7b6711939 |
refs/heads/master | <file_sep><?php
$hostname="localhost";
$user="root";
$password="";
$database="tuaplicacion";
$link = mysqli_connect($hostname, $user, $password, $database) or die("No fue posible conectarse.");
?><file_sep><?php
require_once("coneccion.php");
require_once("geolocalizar.php");
$nomb = $_POST["nombres"];
$a... | 3d77033e01413978730425621d1add85e006a8c2 | [
"PHP"
] | 3 | PHP | jasa1704/landing-page | 1ba7a4a67f3e9d284ea93b498fd80b8158845953 | a7de4353242e755b26eda1367dc941dfef441347 |
refs/heads/main | <file_sep>package com.exercise.weatherdemo.ui.place.adapter
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.exercise.weatherdemo.R
import com.exercise.weath... | 3f1b078f2bb06702d9e98ac29fa49f7929d62a4a | [
"Kotlin",
"Gradle"
] | 20 | Kotlin | lchiway/WeatherDemo | a7b11bac4bdbb17d44028088883ba8d71e9fe2c3 | 0b1a425df9d095ca4fe0ba1b95149e4409309e29 |
refs/heads/master | <file_sep>$(document).ready(function() {
$("#jscpt").click(function() {
$(".j-gone").toggle();
$(".j-text-showing").toggle();
$("#jscpt").addClass("backgroundnew");
$("#jscpt").removeClass("style");
});
$("#opts").click(function() {
$(".o-gone").toggle();
$(".o-text-showing").toggle();
... | e9bceb62fe31b5192dea63f4f497029c422763bd | [
"JavaScript"
] | 1 | JavaScript | albelka/flashcards | 407bb7ec7e893c5ee6511a9f3bc406fcdb7c36a4 | 9faf49ddbab1bf9ecd7483ea34e2727f46226815 |
refs/heads/master | <repo_name>pavan-kanchupati/Img-upload<file_sep>/src/components/card/Home.js
import React from 'react';
import './card-style.css';
const Home = ( props ) =>{
return(
<div className = 'card text-center'>
<div className='overflow'>
<a href="" >
<img src= {props.imgsrc} ... | 39fc68e0b2e64ae6bec49843a6a7011a88a18fe9 | [
"JavaScript"
] | 2 | JavaScript | pavan-kanchupati/Img-upload | 87607927bdbe23eed7f81cae9c58e2835f241e76 | 69f01ff18188dedfee5ffa4d13fa22cb35a7763e |
refs/heads/master | <file_sep># require_relative 'bingauto'
# require 'sinatra'
get '/' do
@query = Query.last
erb :main
end
post '/' do
@query = get_random_query
@query = body_parser(@query, send_request(@query))
redirect back
end
<file_sep>require 'uri'
require 'net/http'
require 'json'
def get_info ## for command line prog... | 067594e08df4357a9cfb5d2e7429e73cb7b681ac | [
"Markdown",
"Ruby"
] | 5 | Ruby | SeanMNorton/but-its-not-google-feud | 74c867e32162911442df0682eae3cd9206894a42 | 4f6299450cc673092d02ab0088adb33ad212c914 |
refs/heads/master | <repo_name>lxj0276/SuzhouNewPaper<file_sep>/readme.md
##说明
## 代码是刚学python时写的,很久都没维护,一直放在服务器上面,想要抓的关键字放到szrb.txt上
<file_sep>/crawlszrb.py
#coding=utf-8
'''
想要爬取的关键字列表存在 szrb.txt
'''
import re
import chardet
from datetime import datetime, timedelta
from time import strftime, sleep
from email import encoders
from ema... | 59cbd6f6e1375548944aae33875d24e5285a7263 | [
"Markdown",
"Python"
] | 2 | Markdown | lxj0276/SuzhouNewPaper | 1adc6b3f026689b86c3d7bdb3c692a6e46392bde | e01bb530a16df1960f44959d84ec2b31f370c0c9 |
refs/heads/master | <file_sep>Sinatra Classic Template
========================
This is a template for a basic Sinatra Classic application. It uses Bundler to manage dependencies and ERB for views.
The template includes a blank "style.css" stylesheet to include application-specific CSS and includes jQuery from the Google CDN.
Hope this... | a73d227df1e7f01c46249b8ab7e461597bc61397 | [
"Markdown",
"Ruby"
] | 3 | Markdown | brandonhilkert/pipeline_pr | 9f2f8f07832f46cd6a3ce6bec4617e3e91aae4e5 | 8000f5ab847525aff27bff68122565aca4bae00d |
refs/heads/master | <repo_name>SplittyDev/Tesseract<file_sep>/build
#!/usr/bin/env bash
if [ -d "$HOME/opt/cross/bin" ]; then
export PATH="$HOME/opt/cross/bin:$PATH"
else
echo "Couldn't find crosscompiler."
echo "Please install your crosscompiler to ~/opt/cross"
echo "The executables should be located at ~/opt/cross/bin"
echo "... | c15d3fffda3da5a3247150d5d7af3339224e40d1 | [
"C",
"Shell"
] | 31 | Shell | SplittyDev/Tesseract | 5d87cd1fe445a45c91986c959e081ddefe838b11 | c62759e9130ab3180ef6c1e0448258900e156bd6 |
refs/heads/master | <file_sep>print("Este programa te saluda...")
def bienvenida (nombre ):
print(f"Bienvenido {nombre}")<file_sep>texto = input("Ingresa un texto...: ")
unico = []
may = []
min = []
for i in texto:
if i.isnumeric():
if i not in unico:
unico.append(i)
unico.sort()
elif i.isspace... | bf79983c4a3abd1eeb6ec04a74c98350de0568b1 | [
"Markdown",
"Python"
] | 7 | Python | HG2905/pythonProject1 | 51245d9607c73228b8a609d640b6011381dbef1f | 9c16801ff151b3d14c55efaffff1338f32b488e4 |
refs/heads/master | <file_sep>fit_RL <- readRDS("_outputs/fit_RL.RData")
loo_RL <- extract_looic(fit_RL,NULL)$looic
aic_RL <- extract_otheric(fit_RL,NULL, np = 2)$myAIC
bic_RL <- extract_otheric(fit_RL,NULL, np = 2)$myBIC
waic_RL <- extract_otheric(fit_RL,NULL, np = 2)$myWAIC$waic
# rm(fit_RL)
fit_RLnc <- readRDS("_outputs... | c15f8226913fa174cab560b32f64ec31cafd5825 | [
"Markdown",
"R"
] | 21 | R | lei-zhang/sit_stan | be3e2adcf2ce2751ed6e243672f35b16938c7b53 | d475d22393a34891beeb07577baf70c97eb76ab1 |
refs/heads/master | <repo_name>matt90github/BestPropertyMalta<file_sep>/app/database/migrations/2014_02_11_181504_create_interests_table.php
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateInterestsTable extends Migration {
/**
* Run the migrations.
*
* @retur... | 6eacf64a55e32e3c43c0658ff50aef1d37354a87 | [
"JavaScript",
"PHP"
] | 55 | PHP | matt90github/BestPropertyMalta | 96f37ba5d8bebfa592a620d0510857d470462ebf | 6a0d54b6198097c6047781f4bfce84add91b65cd |
refs/heads/master | <repo_name>CytronTechnologies/DIY-PR15-PIC16F876A<file_sep>/MPLABX/PR15.X/nbproject/Makefile-variables.mk
#
# Generated - do not edit!
#
# NOCDDL
#
CND_BASEDIR=`pwd`
# default configuration
CND_ARTIFACT_DIR_default=dist/default/production
CND_ARTIFACT_NAME_default=PR15.X.production.hex
CND_ARTIFACT_PATH_default=dist/de... | d8858be9ff8951694d363181bdbece5f9b74eba8 | [
"Markdown",
"C",
"Makefile"
] | 3 | Makefile | CytronTechnologies/DIY-PR15-PIC16F876A | 7477353372430688cb5593eb7817030acc561b8b | 5ab78ea01302f14bee13acb2510cb5c870ac7585 |
refs/heads/master | <repo_name>abhishekSolanki01/algo-ds<file_sep>/binarysearch/upperboubd.cpp
#include <iostream>
using namespace std;
long long int solve(long long n,long long int x)
{
if(x==9)
{
return n/9;
}
else
{
if(x<=n%9)
{
return n/9+1;
}
else
return n/9;
}
}
... | 53747c2364798e99a779f92ced652b953a98ed87 | [
"C++"
] | 1 | C++ | abhishekSolanki01/algo-ds | c9f79012040bdee20972370c7735daf6007a08ab | 1f68fecb1e053c3618e4b5a9f0a44921f9d25d1a |
refs/heads/master | <repo_name>modgeosys/downloads<file_sep>/app/models/document.rb
class Document < ActiveRecord::Base
has_many :downloads
belongs_to :license
def file_path
"#{RAILS_ROOT}/documents/#{filename}"
end
def file_url
"http://downloads.asapisystems.com/#{filename}"
end
def last_modification_tim... | 3e3942254441a9756d3daf883555ff9842e3a1db | [
"Ruby"
] | 10 | Ruby | modgeosys/downloads | 0d547831e6486d88c525eb677f02b16d5f3863d8 | ef9ab494fc0547598a8011ee900988085939bb9f |
refs/heads/master | <file_sep>var groupMethods = function(hook, methods) {
for (var method in methods) {
if (methods.hasOwnProperty(method)) {
(function (oldMethod) {
oldMethod = function() {
var params = Array.prototype.slice.call(arguments),
res = hook.c... | bfbfea78e1bee10ca1ad737e4a89d067a1062fe7 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | zhe1ka/meteor-hook-server | f3df2f42a9177c62100017e7ad46aa7f80b11057 | 823a8db9d1b9886226b5a143749ae1f64e5deb7b |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
namespace DynamicProgramming.Domain
{
public class EightQueens
{
int GRID_SIZE = 8;
public void PlaceQueen(int row, int[] columns, List<int[]> results)
{
if(row == GRID_SIZE) {
results.Add(columns);
... | 083c4026879060f5765321d4478113d344d0b145 | [
"Markdown",
"C#"
] | 84 | C# | dtfirewind/Algorithm | 493276205456ba689eb21663b5413377770b746f | a9b64a4b7aca60ebf94dd38f4855e416005804ac |
refs/heads/master | <repo_name>React-Moon/todoList<file_sep>/frontend/src/template/menu.jsx
import React from 'react'
import { Navbar, Nav } from 'react-bootstrap'
export default props => (
<div>
<Navbar bg="purple" variant="dark">
{/* Logo menu */}
<Navbar.Brand href="todos">
<i className="fa fa-calendar-... | fe44c41961ba15dff8c080bef065a72b0ec6a8cd | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | React-Moon/todoList | 168bdecda2fc19dbce1e2b1d5b2b197e94841d2a | 1a4b85046d56a0f4010d1457179f428ae4011618 |
refs/heads/master | <repo_name>BenSlabbert/java-sonic<file_sep>/src/test/java/com/github/twohou/sonic/IntegrationTest.java
/*
* This Java source file was generated by the Gradle "init" task.
*/
package com.github.twohou.sonic;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.test... | ad6d6cf31d49a1b5c4294414dc809e25c62032c4 | [
"Markdown",
"Java",
"Gradle"
] | 6 | Java | BenSlabbert/java-sonic | ee42d5c81785807d5ffe1ba0959b3bd4f24d8b4d | 7c41a6421a1baae883f0c8145d7b23baf7bb0b8f |
refs/heads/main | <repo_name>ZYCGary/code-challenge<file_sep>/app/Http/Controllers/Api/CarController.php
<?php
namespace App\Http\Controllers\Api;
use GuzzleHttp\Client;
use Exception;
use Http;
use Illuminate\Http\Request;
class CarController extends Controller
{
public function index()
{
try {
$url = "ht... | 4bd46df0a3d18f365d536a931a045f3128059e17 | [
"PHP"
] | 8 | PHP | ZYCGary/code-challenge | 743af732d4fc90130c971dd7c124f42e107ffd10 | ee94a6474ea8fab15b5f1fffc754c361748babeb |
refs/heads/master | <file_sep>package entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;
@Entity
@Table(name="CHANCELLOR")
public class Chancellor {
private Integer id;
... | d51fdb4fa6fe08f744169946d1197dbfb5d5708f | [
"Java"
] | 1 | Java | samuelpucat/aass | bf4e20641ff66aff283cb8009e4befd11f9601ff | 2265c32494dfb12c069a3b7213e76215b98da1f7 |
refs/heads/master | <file_sep>package jp.ac.chiba_fjb.oikawa.appcall;
import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import android.widget.TextView;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
//以下の呼び出し内容を表示する
// http://join/id=パラメータ
public class MainActivi... | 906ecd149cb852cd2fe33f93fd3392e94524beaa | [
"Java"
] | 1 | Java | SoraKumo001/Android-AppCall | 8a7cdceafba90f976df15129b8f1c4d86f0a05fb | bb39523629e75e2b5a2619d7b01c493f6b62e6e1 |
refs/heads/master | <file_sep>class Hashr
module Delegate
module Conditional
def method_missing(name, *args, &block)
if (args.any? || block) && @data.respond_to?(name)
@data.send(name, *args, &block)
else
super
end
end
end
end
end
<file_sep>class Hashr
module Delegation... | e527e7125499b9a08ea77dd11cfd754cd5f1ba01 | [
"Ruby"
] | 12 | Ruby | renee-travisci/hashr | e99327c2e379f9a0a996ce35314b3ed812136acd | 78531ecbf5c7649a821f2aebb326ccf26ee91fb7 |
refs/heads/master | <file_sep># Blesta "ISPAPI" Registrar Module
[](https://github.com/semantic-release/semantic-release)
[{
n+m
}
suma.dos.numeros(33,4)
menor.dos.numeros <-function(n,m){
min(n,m)
}
menor.dos.numeros(6,6)
<file_sep>/R/suma.dos.numeros.R
suma.dos.numeros <-
function(n,m){
n+m
}
<file_sep>/package1/R/me... | 032f241b25b0140aa4fe4e569fa34318c27683a0 | [
"R"
] | 3 | R | semartin3/master2016 | 2c4577547eb323a134c74f74895eda36492e8426 | 244500669288d46aca0ca1b81fa1d0e6a5e8a05a |
refs/heads/master | <repo_name>moonlight83340/Bash_test<file_sep>/ctoh.sh
#!/bin/bash
for name in *.c ; do
touch ${name%%c}h
done
| 756d740b6b0ad79d605e1799636ee815f7398666 | [
"Shell"
] | 1 | Shell | moonlight83340/Bash_test | 4ca986c9e365bb366917c2c05d99a08b5923298f | 64151993f485966bab7c18c920b9e0a02a7ed24a |
refs/heads/master | <repo_name>rpeterson/zamboni<file_sep>/mkt/developers/tests/test_forms.py
import json
import os
import shutil
from django.conf import settings
from django.core.files.storage import default_storage as storage
from django.core.files.uploadedfile import SimpleUploadedFile
import mock
from nose.tools import eq_
from test... | 51ebee1aae82052e36f1d868e7a5157027881dc6 | [
"Python"
] | 1 | Python | rpeterson/zamboni | 7d8a4a14f11a3adb5cf306a40e77371372e8e79b | fb1bae485c078a5deb482c5a601b016bceeb8e71 |
refs/heads/master | <file_sep># GameOfLifeSharp
 
Example implementation for the (Conway's) Game of Life. See [Wikipedia entry](https://en.wikipedia.org/wiki/Conway's_Game_of_Life).
<file_sep>namespace... | 6600890d3c22953c54f6d15cbed82f448f9f55bb | [
"Markdown",
"C#"
] | 4 | Markdown | genericFJS/GameOfLifeSharp | aeac9dcbaccb014cde88b6a6ec676810c8e31d46 | 6c179e5d742aa34e6c70f0b449e4797bbbe8913d |
refs/heads/main | <repo_name>aeither/Discovery<file_sep>/packages/discovery-dapp/components/mobile-menu-toggle.js
import React from "react";
import {
Box,
Drawer,
DrawerBody,
DrawerHeader,
DrawerOverlay,
DrawerContent,
DrawerCloseButton,
useDisclosure,
VStack,
Tooltip,
SimpleGrid,
} from "@chakra-ui/react";
import ... | 4fb4161178ed0b7806a200446a369d7587fc92f8 | [
"JavaScript"
] | 5 | JavaScript | aeither/Discovery | eb3f729d93b5d8da66069182e923581795471f53 | a5a8827cf4d6eb30e08e5d257fdeb68c7972dbfd |
refs/heads/master | <file_sep>'''
Created on 07.05.2012
@author: alekam
'''
from django.conf import settings
from django.core.management.base import BaseCommand
from shpaml import shpaml
import os
class Command(BaseCommand):
help = "Find SHPAML templates and compile its to HTML Django templates."
requires_model_validation = Fal... | 56879bc0ff92a6c861a8b7b0175ac999b9cfb976 | [
"Python"
] | 1 | Python | alekam/shpaml | 9fe8b03e0912fa42d9228757f6734f063e5ec0ba | 0d533061b7bd5ea236d680376924a2af17ccba34 |
refs/heads/master | <file_sep>package xmlGenerator.GUI;
import java.awt.AWTException;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.util... | b00b2a1634251c18e2a7899265bec03585057ae1 | [
"Java"
] | 11 | Java | polocea/XML-generator | 2275e838c011ab8d7ae53f66d42c54bb4f21f235 | d5379e7156b59dc90085d55928059562bfd4eafa |
refs/heads/master | <file_sep>#!/usr/bin/python3
#
# Copyright 2017 Canonical, Ltd. Authored by <NAME>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any la... | 03e08517dd592a618a161e1d47b93dd84153f6b1 | [
"Markdown",
"Python"
] | 2 | Python | ktsakalozos/blog-post-federation | 890589cac5e0fd2d6a3ba4a21ce8052c06afba34 | 4cfe0ef6165cf8568db7eecff89c4095d88cefd0 |
refs/heads/master | <repo_name>woxry/test2php<file_sep>/server/structure.sql
-- STRUCTURE INDEX
-- Instructions: Run the code in the console, when you alredy log into your Mysql user
-- 1- CREATE DATABASE (nombre de la base de datos)
-- 2- VIDEO GAMES TABLE
-- 3- DEFAULT VIDEO GAMES
CREATE DATABASE test2_db;
CREATE TABLE IF NOT EXISTS... | d1acea94d7a48af8e7c29f2858f558f05d9523ac | [
"Markdown",
"SQL",
"PHP"
] | 5 | SQL | woxry/test2php | dcfe16ac25490630262de134d60149117c867751 | 146e25aa1bcd6de777c844ad3a2a90bcb16da6e3 |
refs/heads/master | <repo_name>mulargui/healthylinkx-ux-graphql<file_sep>/src/components/providershortlist.js
import React, { Component } from 'react'
import { SELECTED } from '../actions/actiontypes'
import { NewSearch } from '../actions/action'
export class ProvidersShortList extends Component {
constructor(props) {
super(props)
... | 8263c5262a0d09a4806ea964678881e4fb8b2975 | [
"JavaScript",
"Dockerfile",
"Shell"
] | 10 | JavaScript | mulargui/healthylinkx-ux-graphql | 63c0a20ad1ad2c0bc2f513a762d25b498772e2b0 | ca760127f27391dc4e69f162d5c01f64cb21d24d |
refs/heads/master | <file_sep>require 'pry'
class String
def sentence?
if self.end_with?(".")
true
else
false
end
end
def question?
if self.end_with?("?")
true
else
false
end
end
def exclamation?
if self.end_with?("!")
true
else
false
end
end
def count_sentences
self.split(/[.?... | 07d43be722760e83e92e2e859c9a6b05f3ca549e | [
"Ruby"
] | 1 | Ruby | Gamoundo/ruby-oo-self-count-sentences-lab-nyc04-seng-ft-041920 | 148cc0948879a1b8b283fa7dd8b55e3c6ced935e | 9e53238c60305263464180dfe06ba2ba11b69396 |
refs/heads/master | <repo_name>leoslamas/ios-courses-swift<file_sep>/Snapchat/Tinder/UserViewController.swift
//
// UserViewController.swift
// Tinder
//
// Created by <NAME> on 20/10/2014.
// Copyright (c) 2014 Appfish. All rights reserved.
//
import UIKit
class UserViewController: UITableViewController, UINavigationControllerDeleg... | e44eb1e08d5abe59e8e7ca14319c81bf3f21e376 | [
"Swift",
"Markdown"
] | 8 | Swift | leoslamas/ios-courses-swift | ee9f123b85c328cf4bfc961a7715d4b7b5ff96fe | 98c12bd6061429f31ca653b5cfe55010c247550d |
refs/heads/master | <file_sep>var template = require('./templates/param.hbs')
var BSON = require('./lib/bson')
var cssAnimEventTypes = require('./lib/anim-events')
xtag.register('compose-shell-param', {
lifecycle: {
created: function(){
this.params = xtag.queryChildren(this, 'compose-shell-param')
this.group = !!this.pa... | 152e9cb23acc2ab04fa8aad6a692eef777e3572d | [
"JavaScript"
] | 1 | JavaScript | codepope/shell | 72f0af2dfb624d33b3e309845ca1b242a25cd910 | 5f5339e161f4abb184f936c7c5836d44fbdf98e5 |
refs/heads/master | <repo_name>rmiller02/LeapYear<file_sep>/LeapYearTest.java
package LeapYear;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.Test;
public class LeapYearTest {
@Test
public void returnsBooleanIfLeapYear() {
LeapYear leapYear = new LeapYear();
assertEquals(true, leapY... | 60d465bed46e4337e503a5eb7cda278604295cc8 | [
"Java"
] | 1 | Java | rmiller02/LeapYear | 5ae6ce8ff622ef6b14becdbc994e8dbf3aed32be | 1f8556e05ff9021f45c2313bc20d080f5bedd265 |
refs/heads/master | <repo_name>tata8k/squidb<file_sep>/squidb-tests/src/com/yahoo/squidb/test/TestDatabase.java
/*
* Copyright 2015, Yahoo Inc.
* Copyrights licensed under the Apache 2.0 License.
* See the accompanying LICENSE file for terms.
*/
package com.yahoo.squidb.test;
import android.content.Context;
import android.database.sq... | 0c5af3ddd62e2e431f56a193cc86710532d39d2f | [
"Java"
] | 3 | Java | tata8k/squidb | 60812d852d1ccca0a1868b921b9544d0db436105 | 542d3fd0db88b5418ce77de37f07256f22d3446e |
refs/heads/master | <repo_name>Ryddan/Games<file_sep>/BolinhaVermelha/teste.cpp
#define ALLEGRO_STATICLINK //sempre linkar isso
/*#include <stdio.h>
#include <allegro5/allegro.h> //biblioteca allegro
// Nossa conhecida função main...
int main()
{
// Variável representando a janela principal
ALLEGRO_DISPLAY *janela = NUL... | eec04e3d7c1768d07539739f0049b1296dbf4f75 | [
"Markdown",
"C#",
"C++"
] | 9 | C++ | Ryddan/Games | 62b52d5f79d3ebc3e7162182944b0b26f10d6bac | f88d0b7b9fcbd37b1a88f0b76bccbf22d82444a0 |
refs/heads/master | <file_sep>"""
MAIN VERISON
<NAME>
CMETE1
<EMAIL>
"""
from tkinter import *
from tkinter.messagebox import showinfo
import pickle
from operator import *
from time import *
import random
class Model:
"""Model handels all calculations """
def __init__(self, master, name, mines, rows, columns):
self.na... | 81ed3fb8c46c967bc4ba12b48c01a21a6ccfc7a0 | [
"Markdown",
"Python"
] | 3 | Python | JoelWeidenmark/Python-Minesweeper | 0ee8d9c281e7e79b2eeeff8d160f23674950f62f | 8864de4f2367e1a39f2f30822a10656b52199d51 |
refs/heads/master | <repo_name>ANelson82/brazillianEcommerce<file_sep>/str_len.py
x = '48436dade18ac8b2bce089ec2a041202'
print(len(x))<file_sep>/olist_geolocation_dataset.sql
CREATE TABLE public.olist_geolocation_dataset
(
geolocation_zip_code_prefix character varying(32),
geolocation_lat numeric(18,15),
geolocation_lng numeri... | 773d857b927deff64f8e3516727d5d363371ce4a | [
"SQL",
"Python"
] | 6 | Python | ANelson82/brazillianEcommerce | a2455550b984a0f6d87f309cc3535fba592cd900 | b5a5f0e357379c4b5282787aa258f93caec4bbe0 |
refs/heads/master | <file_sep>require 'test_helper'
class MyCommentsHelperTest < ActionView::TestCase
end
<file_sep>class ProfilesController < ApplicationController
before_action :authenticate_user!, only: [:new, :edit]
def new
@profile = current_user.build_profile
end
def create
@profile = current_user.build_profile(pro... | ed7a0d6e43c08268bc7fd334c8ef00cd3ce9d9b1 | [
"Ruby"
] | 7 | Ruby | yuichi-masuda/tt_community | 6e63bb891dd502e7cfa217cadca65a587aa5cb46 | af114d58d181cc3cb055570962a7150713fedb41 |
refs/heads/master | <repo_name>rohitsiddha/herokutestapp<file_sep>/app/models/post.rb
class Post < ActiveRecord::Base
attr_accessible :name, :tweet
end
<file_sep>/README.md
herokutestapp
============= | 7de41ac5527a4222717878611634f0813491fbab | [
"Markdown",
"Ruby"
] | 2 | Ruby | rohitsiddha/herokutestapp | 5bcf3cc3904f524b2b5a7253050b93423e672626 | 01525f5ad106e5ed073a6ce6551b61da7daeaf8a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.