branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>import { Component, OnInit, SimpleChanges } from '@angular/core';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss']
})
export class HomeComponent implements OnInit {
logIndex: number = 0
name: string;
oldName: string;
logIt(msg: string... | fd7e6f1db514878cda66b44948c140e4e4a6a425 | [
"TypeScript"
] | 11 | TypeScript | LarissaLin/Angular | 35514ab09bef146e5f31d065cab71936209155e0 | 50df9e255c8b4776daeb1445881a56af4cb3adae |
refs/heads/master | <repo_name>sirakoff/hackerbay-backend-task<file_sep>/test/test.js
let chai = require('chai');
let chaiHttp = require('chai-http');
let should = chai.should();
let app = require('../index.js');
chai.use(chaiHttp);
describe('GET /thumbnail', () => {
let token = "";
let url = "http://images.unsplash.com/profil... | 4b5da4b87f265093564ca8cbcd13a94385e91edf | [
"JavaScript",
"Dockerfile",
"Markdown"
] | 4 | JavaScript | sirakoff/hackerbay-backend-task | b4df7032ce894a3866c49614e771ce3a7c35c7d0 | dae5ec63b7e60fa701f6fa4d3d773b739f39f726 |
refs/heads/master | <repo_name>spbisya/CassowarylayoutIzya<file_sep>/app/src/main/java/com/okunev/cassowarylayout/Mainscreen.java
package com.okunev.cassowarylayout;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.ViewGroup;
import android.widget.TextView;
imp... | 79bb5149abb471c91def1d0d423708f3a9037e44 | [
"Java"
] | 3 | Java | spbisya/CassowarylayoutIzya | d410efee51943155bab38d39386b2c33e9b69a60 | c868c301841d5c298297da2aacbe8ca5d70ddb49 |
refs/heads/master | <repo_name>Maehmaciel/FuncCargo<file_sep>/CadastroFuncionariosEmpresa/src/java/Aula/CriaJson.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 Aula;
import java.io.StringR... | d532fdb1245e6594f0b87cddae4e790f11fd5482 | [
"Java"
] | 1 | Java | Maehmaciel/FuncCargo | 1e70d172b12470cdabfcb11a4238727e152b93e5 | 7512a639767fb2e3dfcd6ff46cedff4b9d5d6af9 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Week 2 Assignment"""
from datetime import datetime
import urllib2
import logging
import csv
import argparse
import sys
# 'http://s3.amazonaws.com/cuny-is211-spring2015/birthdays100.csv'
parser = argparse.ArgumentParser()
parser.add_argument('--url', help=... | 96040ef716a262686fb326b9ace549fa0d71821c | [
"Python"
] | 1 | Python | moshun8/IS211_Assignment2 | 9dc88459a21814f0a18c208f2164cb8f63f22f0c | b0cea9ad9b15880d8d2f963106b93f4dc400f12b |
refs/heads/master | <file_sep>Flask
Flask-SQLAlchemy
SQLAlchemy>=0.6
Flask-WTF
Flask-OpenID
Flask-OAuth
Markdown
Flask-Assets
Flask-Mail
<file_sep># -*- coding: utf-8 -*-
from hashlib import md5
from werkzeug import generate_password_hash, check_password_hash
from lastuserapp.models import db, BaseMixin
from lastuserapp.utils import new... | 96fb25022f7c3b2f7989ce40d9f7f74247845fb7 | [
"Python",
"Text"
] | 4 | Text | lifeeth/lastuser | b920462dede9322cb80f8466d451eddf41a4c44a | f1e31a5c14d8f31e07a1bc489a42a836fecc1729 |
refs/heads/master | <file_sep># 2020.12.01
# https://programmers.co.kr/learn/courses/30/lessons/42840
"""
문제 해결의 아이디어:
모의고사의 문제 번호를 1번학생(a), 2번학생(b), 3번학생(c)의 답안의 수로 나눈
나머지를 찾고, 이 나머지가 세 학생의 연속적인 답안의 인덱스에 해당한다는것을 생각하여 해결했다.
"""
def solution(answers):
answer = {'1':0, '2':0, '3':0}
a = [1, 2, 3, 4, 5]
b = [2, 1, 2, 3, 2, 4, 2, ... | f465aef44343eace66ac741c3cdf76897c5177db | [
"Markdown",
"SQL",
"Python"
] | 17 | Python | taeha7b/coding-test | f0cdcf46239fa71b9dca5dbd29d8c69ed0ab1f77 | 7cdf74b177f969707db3d7d7133830e3fbeafbc4 |
refs/heads/master | <repo_name>ComicScrip/express-contact<file_sep>/index.js
require('dotenv').config();
const express = require('express');
const cors = require('cors');
const nodemailer = require('nodemailer');
const PORT = process.env.PORT || 5000;
const app = express();
app.use(express.json());
app.use(cors());
const transporter = ... | 368c6b0f73fed3642a09d04903c58ece5894afe5 | [
"JavaScript"
] | 1 | JavaScript | ComicScrip/express-contact | fded4aaf50fe7ad8ff7247cae98dbf5d910593d9 | c2329f74300b6fca2e5aebaa0b27424054bcf9f5 |
refs/heads/master | <repo_name>afewvowels/CPP-PRG-03-17-Math-Tutor<file_sep>/PRG-3-17-Math-Tutor/main.cpp
//
// main.cpp
// PRG-3-17-Math-Tutor
//
// Created by <NAME> on 10/6/17.
// Copyright © 2017 <NAME>. All rights reserved.
//
// Write a program that can be used as a math tutor for a young student. The program
// should display... | 950860ed26920e06e7763961e4b3f0d8e7f3185c | [
"C++"
] | 1 | C++ | afewvowels/CPP-PRG-03-17-Math-Tutor | 1bba4316bc6e5592eee562a01095afaa15eb50cd | 51682e28630b2b9dabfdd5d458f70474219554a9 |
refs/heads/master | <repo_name>cardro/flaskTest<file_sep>/flaskr/__init__.py
import os
from flask import Flask
def create_app(test_config=None):
# create and configure the app
app = Flask(__name__, instance_relative_config=True)
@app.route('/hello')
def hello():
return 'Hello, World!'
from flaskr import t1... | 497277a2217a99f3a8f0a943855dc7a305a4752e | [
"Python"
] | 3 | Python | cardro/flaskTest | 3554c45eb5579c843d7a464ae9bbc32359b7c2ba | d73f157d291f1625555d2fbed6fdba74de10b13a |
refs/heads/master | <repo_name>ankitanallana/Bash-Scripts<file_sep>/delete_repos_org.sh
#!/bin/bash
orgname="$1"
filename="$2"
exec 3< $filename
while [[ ! $orgname ]]
do
read -p "Please enter an organisation under your organisation " orgname
done
while [[ ! $filename ]]
do
read -p "Please enter a filename to read the list of repos ... | f0e193d045e5dcf99683668ae4d5192fcbb689da | [
"Markdown",
"Shell"
] | 4 | Shell | ankitanallana/Bash-Scripts | 72267e6ba002078d104de0ccc219f2e2ced8208f | dea5939c49a84b7169f4ac9cf997a7d58ea913b5 |
refs/heads/master | <repo_name>alencosoft/FitbodTest-GreggBaron<file_sep>/app/build.gradle
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.fitbod.my.test"
minSdkVersion 25
ta... | cfd0139187efb619b62662e2a6259b8fe8a1d400 | [
"Kotlin",
"Gradle"
] | 8 | Gradle | alencosoft/FitbodTest-GreggBaron | 80f2dd0ae1cf369bf554590ae6a45e3d39f6b452 | a31f99d9691877866b4548c1309edc1d77af8e08 |
refs/heads/main | <repo_name>msociety/react-utils<file_sep>/hooks/useMouseEnterLeave.js
import { useEffect } from "react";
const useMouseEnterLeave = (ref, { onMouseEnter = null, onMouseLeave = null, timeAfterLeave = 400 }) => {
useEffect(() => {
let leavingTimeout = null;
const mouseLeaveHandler = event => {
leavingTi... | 1bc34ee3b0a8ec3b3c999ed2272f16386c812e3f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | msociety/react-utils | ddf3d32dc3cb633581ca22a120cb769c14d4612d | 5db396e63504550ee1cbff39822493ba71638155 |
refs/heads/master | <file_sep>> "An Outlook Add-In to build an agenda."
# Agenda Builder
<p align="center">
<img src="readme_assets/demo.gif" width="800">
</p>
## Development
Start development server:
```terminal
npm run dev-server
```
[Sideload add-in for testing](https://docs.microsoft.com/en-us/outlook/add-ins/sideload-outlook-... | 7361840a8c0003164c3598b9ee4c0173b12abb86 | [
"Markdown",
"TypeScript"
] | 5 | Markdown | schachdavid/agenda-builder-add-in | 700d0facadc95a62c1501935a3f45ea9fbc2ba8f | 87912bbdbdaafdac967b4ffa67baa3fa50dd3976 |
refs/heads/master | <file_sep><?php
/**
* Created by raheel.
* Date: 4/4/2017
*/
class Home extends MY_Controller
{
function __construct()
{
parent::__construct();
}
function index(){
die("hello from ci hmvc and my base URL is : ".base_url());
}
} | 0682b1202c8fcf00ee2dce9512d4cb314c9a5944 | [
"PHP"
] | 1 | PHP | zohaibtariq/ci-hmvc | 468d943fd78515bc940042f2afedf04b8d018695 | be40183e71111cba5a95e091b035fb62b4da2365 |
refs/heads/master | <repo_name>brianyamasaki/JavaGameFramework<file_sep>/gameEngine/src/main/java/com/yamasaki/game_sprites/VerticalWallImage.java
package com.yamasaki.game_sprites;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.ArrayList;
public class VerticalWallImage extends SpriteImage {
private final int WIDTH... | 47710b6c0f5c05d4e3c3b7838f6ce5f61693471b | [
"Markdown",
"Java"
] | 9 | Java | brianyamasaki/JavaGameFramework | a269e0e63cc5c1bf1bc1dd16c27683801e039b6b | ce01eaacad19890b398596095e5d0f97a7660883 |
refs/heads/main | <repo_name>hiltzaile/hiltzaile<file_sep>/komutlar/yetkili-uyar.js
const Discord = require('discord.js');
exports.run = (client, message, args) => {
if(message.author.bot || message.channel.type === "dm") return;
if(!message.member.hasPermission("ADMINISTRATOR")) return message.channel.send(`**👎 Bu Komutu Kullanmak İç... | b04f6b9bab0366b6897e8a88e8b755a5f5d0c3c3 | [
"JavaScript"
] | 25 | JavaScript | hiltzaile/hiltzaile | 40e882e58011fedeb4b7a20446a0f03ead957dd0 | 667120bfe3654006385ea054c9fa0e86a9498f4f |
refs/heads/master | <repo_name>therackstar/SiliconFeelings<file_sep>/app/server.js
#!/usr/bin/env node
// Setup ========================================================================
var express = require('express'),
mongoose = require('mongoose'),
config = require('config'),
app = express(),
path = require('path'),... | 5ad7be98c2449963497380595a131ee030cf6be4 | [
"JavaScript"
] | 1 | JavaScript | therackstar/SiliconFeelings | 348c565b09e8bb54c60001fbe36c6f494dc318c0 | 3f56d5c98d5c5892be457607799e955cf8feedac |
refs/heads/master | <file_sep>require 'spec_helper'
describe ClcRubyApi do
it 'has a version number' do
expect(ClcRubyApi::VERSION).not_to be nil
end
it 'does something useful' do
expect(false).to eq(true)
end
it 'logs in successfully' do
Client.login("joeschmo", "savvis123!")
expect.(response).to be_success
e... | a44b31974815e82cb92d9d5023c8aab9600f3ec7 | [
"Ruby"
] | 5 | Ruby | tonycapone/clc-ruby-api | 46e5af2e6e75ce767779e9ac14d19edbbf116357 | 8e1505afb8f9a1416a2dc6e7403e00aeb96a0756 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
typedef struct node {
int value;
struct node* next;
} LinkedList;
LinkedList* llCreate() {
return NULL;
}
void llDisplay(LinkedList* ll) {
LinkedList* p = ll;
printf("[");
while(p != NULL) {
// printf("%d, ", (*p).value);
printf("%d, ", p->val... | fca2fd5cfad3140bba1b99078a2c1aa0ba8c1ffa | [
"C"
] | 3 | C | quaranpn4020/cs252 | 47fd19d122d37a109993e3037f3dbf7fe752d819 | 59d09ddad4ed35085397ba1ac90915ee16172868 |
refs/heads/master | <file_sep>var request = require('request'),
later = require('later'),
htmlParser = require('htmlparser2');
var config = require('./config');
(function() {
var slackNotification = function(param){
var opt = {
uri: config.slackService,
method: 'POST',
json: {
... | 49e94115fcdd084a57c4122e9bffb4f28adfa258 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | marlinl/aqi2slack | 0b8c8881a03850bd38687104dda37975582b4d68 | 45a0d25e5c32799d7605ba640aabf93867af309a |
refs/heads/master | <file_sep>$(function() {
$.ajax({
url: "../json/show-1.json",
success: function(response) {
// console.log(response);
var div1 = $('#main div[class=main-cont]');
//遍历生产商品展示
$(response).each(function(_index, _value) {
// console.log(_value.src);
var temp1 = response[_index],
var div2 = $('<d... | 424611f8d16309bbb1f3e9d02c994a8b89b8cbe0 | [
"JavaScript"
] | 6 | JavaScript | bellmit/yiwugou-1 | 9346b2550ef3787031fa39115141e0e5e1e9c8ff | 85256ef1121ed82b919ba0ee610c0afe56b2dc7d |
refs/heads/main | <repo_name>borisskert/spring-javafx<file_sep>/src/test/java/de/borisskert/examples/springjavafx/TestBeanConfiguration.java
package de.borisskert.examples.springjavafx;
import javafx.application.Application;
import javafx.application.HostServices;
import org.springframework.context.annotation.Bean;
import org.springfra... | 42a6f8325cc18007d9bc6daaf780d57346dcf370 | [
"Markdown",
"Java"
] | 3 | Java | borisskert/spring-javafx | 24fdf07c9d194f08a6f784f6755a37aa224c5daf | a8ccd09aed6aede316932d6e42a160c7139fb83c |
refs/heads/master | <repo_name>ozancakar20/GZS<file_sep>/Görsel + Veritabanı (C##)/Gaz_Sensoru/Veritabanı.cs
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;
nam... | ed80179d260872d7558134c0e1ffe29ce9d4cc7e | [
"Markdown",
"C#",
"C++"
] | 5 | C# | ozancakar20/GZS | fae1cc690134f46c61e3b01fd2e10e00f2120abd | 9eeebc32257eece8beef735027d944f9708b4bcb |
refs/heads/master | <repo_name>yuri-coder/BoringRepository3<file_sep>/client/src/app/pet.service.ts
import { Injectable } from '@angular/core';
import {HttpClient} from "@angular/common/http";
@Injectable()
export class PetService {
constructor(private http:HttpClient) { }
all(cb){
this.http.get("/api/pets")
.subscribe(data=... | b93f574baf7fb59e8d2e04393950b9cf4f8dc7ff | [
"JavaScript",
"TypeScript"
] | 8 | TypeScript | yuri-coder/BoringRepository3 | 7a7a0a90d9b68a10a8886dc95aeba89d7db17985 | b3fd629a5ffbe5240e5ddebed60de475f9248a75 |
refs/heads/master | <file_sep>print("_____________")
print("SELMAT DATANG")
print("-------------")
print("--PERKALIAN--")
print("by TraperWaze")
print(" ")
#
first=input("Masukkan angka : ")
second=input("Kalikan dengan : ")
print("HASIL: ")
print(str(first)+" x "+str(second)+ " = "+ str(first*second))
print(" ")
<file_sep>n=float(input("... | c3b1c4c83f4594de0fbddc34affa820410e0c619 | [
"Python"
] | 3 | Python | traperwaze/pythonify | 882a6d2e55f7965ba7a27785d16409180e3adada | ea96dfdbcf07b3773fc50534ab0346e3c2d08255 |
refs/heads/master | <repo_name>mattgd/reddit-DadJokes-Alexa<file_sep>/index.js
'use strict';
const Alexa = require('ask-sdk-core');
const snoowrap = require('snoowrap');
const reddit = new snoowrap({
userAgent: 'App for /r/dadjokes Alexa skill.',
clientId: process.env.REDDIT_CLIENT_ID,
clientSecret: process.env.REDDIT_CLIENT_SECRET... | 5d067710eeaa25792aa5a689e3b789f09dfd0f04 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mattgd/reddit-DadJokes-Alexa | 3474e082e9cd60575d3c4b8527c93e49a3961538 | ccd4a117eaa64e1457f50093bbebaa0c9bb7f12b |
refs/heads/master | <repo_name>Bithrop/cs325-game-prototypes<file_sep>/HW0/js/main.js
"use strict";
function make_main_game_state( game )
{
function preload() {
// Load an image and call it 'logo'.
game.load.image( 'Ghost2', 'assets/Ghost2.png' );
game.load.image('sky', 'assets/sky3.png');
game.load.image('luigi2'... | d6682124e0959b90ad77ae2aef20732b81521e6a | [
"JavaScript"
] | 2 | JavaScript | Bithrop/cs325-game-prototypes | f4432fb96891d24875979bbb7ee5302c0fddbf29 | 843146f592cb88323a7d8b6558c9b34cdc094c7b |
refs/heads/master | <repo_name>alexpwls/dinosaur-project<file_sep>/README.md
# Project: Dinosaurs ![alt text][logo]
[logo]: https://alexpwls.github.io/personal-blog-website/images/favicon/favicon-16x16.png "Purple dot"
Demo link: [https://alexpwls.github.io/dinosaur-project/index.html](https://alexpwls.github.io/dinosaur-project/index.ht... | 58531d454cb6246172a5ac5e70ca3d49d2e0db86 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | alexpwls/dinosaur-project | 1f4066171d21cb136383c59b4dd14f63bcc6f54a | c5c2975be98190bcb9fd88ce0135e74de3f72ddd |
refs/heads/master | <repo_name>oss05/Internship<file_sep>/Internship/dboxjs/core-master/lib/bk/bars/utils/averageLines.js
/*eslint-disable*/
// TODO: Update example
function AverageLines(options) {
var vm = this;
vm._config = options.config;
vm._chart = options.chart;
vm._data = options.data;
vm._scales = options.scales; ... | efcd94745b595a391c31f494655eb99063b5f32b | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | oss05/Internship | c8467c4d475b335f7689c9e623db412be25b1b83 | 941a2b701fcb626fd8076dc74e60926e02a4fb15 |
refs/heads/main | <repo_name>dhruvg1999/fetcher<file_sep>/src/App.js
import React from "react";
import './App.css';
class App extends React.Component {
constructor(props) {
super(props);
this.state = {
data: [],
loaded: false
};
}
componentDidMount() {
fetch("https:... | a9b0609ab318bc91e609e1446134a737952324a1 | [
"JavaScript"
] | 1 | JavaScript | dhruvg1999/fetcher | bd025f0a2278fc92ed8f2e1133079e0fdca43e5d | 5a36cf77c7181c73c6aa1a773ec6e01873bab6f4 |
refs/heads/main | <file_sep> $(document).ready(function() {
var expandThisID ="";
var slideThis = "";
var divPosition = 0;
// slide active accordion header up to position
function slideACC () {
if ($("div").parent().attr("class") == "panel-group") {
expandThisID = $(this).data("section");
divPosition ... | 196635e4b8e3a371126b6c48ec889da1f8cc6ef5 | [
"JavaScript",
"HTML",
"Markdown"
] | 5 | JavaScript | chelsg73/heal-public | fc283a9fa7084a5463e50b4b12f61a7542c185b8 | 24e65a054e1f91e6da6b16c4251c0d7186efb566 |
refs/heads/master | <file_sep>player1 = { x = 160, y = 710, w = 20, h = 20, speed = 150, angle = 0, active = true, dead = false, deadDur = 0, highlight = false, head = nil, shirt = nil, pants = nil, animation = { angle = 0, step = 0 }, exitAngle }
player2 = { x = -100, y = -100, w = 20, h = 20, speed = 200, angle = 0, timer = 0, attack ... | 178a0c2e6fba96abc18c940de26fec91f03793d2 | [
"Markdown",
"Lua"
] | 3 | Lua | HappyStinson/en-svensk-tiger | e653f8839774dbc34a584598e03b7299dc6edfae | 10cad6f67cedc0d8d6b8f9aac1f8bf61240dc173 |
refs/heads/master | <file_sep>class NumberParser {
/**
* Our "production" code to be tested.
* @param {string} numbers
* @returns {number}
*/
sum(numbers) {
let [a, b] = numbers.split(",");
let result = Number.parseInt(a) + Number.parseInt(b);
return result;
}
}
/*
I'm using the mo... | 77780dca138154c8a0589369589dec9aa219b65e | [
"JavaScript"
] | 1 | JavaScript | elisherer/aout3-samples | c4a15decc5f8b0727e61dab628eb901116b4ad70 | 4c1747f91ea38085e676bf1dafda968ab51114f0 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from django.db import models
from models import Widget
from grouping import create_group, add2group
#
# Headers
#
create_group('headers', 'Заголовки')
class HeaderWidget(Widget):
header = models.CharField("Текст заголовка", max_length=255, blank=True, default="Заголовок")
... | 72a3f41a94202d6d378c222c5cfa9e68155109bb | [
"JavaScript",
"Python",
"HTML"
] | 196 | Python | vakhov/python-django-projects | 6f296aa75d7692eb5dcb68ef4ce20cadee9dc9e6 | c312b8bcd94aa448a2678c156ff4936e4a68f668 |
refs/heads/master | <repo_name>h4g0/esc-trabalhos<file_sep>/assignment4/ex1.pbs
#!/bin/bash
#PBS -l nodes=1:ppn=24:r432
#PBS -l walltime=02:00:00
#PBS -V
module load gcc/5.3.0
cd assignment4
metrics="instructions,cache-misses,branch-misses,cpu-migrations,branches"
make
#perf stat -e $metrics ./bin/sort 1 1 100000000 > tests/perf_stat_... | 545aaa3e5094728ff005797ef89f40d8cba5f485 | [
"Markdown",
"Makefile",
"Python",
"C",
"C++",
"Shell"
] | 27 | Shell | h4g0/esc-trabalhos | c2eec1a3546c257cc173373fc3257efb5e55fd0e | bccfd5049f1d5bad2511df0017892fac1af5305b |
refs/heads/master | <repo_name>CrevolutionRoboticsProgramming/OffseasonVision2019<file_sep>/src/main.cpp
#include <iostream>
#include <string>
#include <fstream>
#include <functional>
#include <yaml-cpp/yaml.h>
#include <opencv2/opencv.hpp>
#include <boost/asio.hpp>
#include "Config.hpp"
#include "MJPEGWriter/MJPEGWriter.h"
#include "Thr... | c92c34564b37989460fdeac000f35a6f19fd41d6 | [
"C++",
"Shell"
] | 4 | C++ | CrevolutionRoboticsProgramming/OffseasonVision2019 | 29791fca986333ca803349c6f78dfff7ee3b2a52 | b6f1dd3383fc2afbd6b8e24346cae32911a7f804 |
refs/heads/master | <file_sep>package lightoutpuzzlesolver;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
class lightout
{
int mat[][];
int x,y;
int n;
JLabel l[][];
Panel p,p2;
Label count;
Button sol;
Random random;
JFrame f;
int cnt,cnt2;
// another cl... | c0e987e66e64580e2fb425531f09e9724c40a7f8 | [
"Java"
] | 1 | Java | adityans1923/LightOutPuzzleSolver | 81b62fe605665b1bfcc3e872db831e89c1eb4ec8 | 1e1de753a165a3c3b6bfecdb88bd2b85551427da |
refs/heads/master | <file_sep>using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MainMenuManager : MonoBehaviour
{
[SerializeField]
private Button vuforiaButton;
[SerializeField]
private Button arFoundationButton;
[SerializeField]
private Button reactButton;
[S... | d2db6e60e7140c7cd0109810524f9df8c1cd9f98 | [
"Markdown",
"C#"
] | 6 | C# | kuliyhog/Avanade_Unity | 29ddf67b3fcd0f0f1bb730e52f55b7011bbac990 | f3c1929946ca05d0e2ba78041e4f3faafe8f24be |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import { StyleSheet, Text, View, TouchableOpacity, NetInfo } from 'react-native';
import IconIoni from 'react-native-vector-icons/Ionicons';
import GridView from 'react-native-super-grid';
import Box from './Box';
import Search from './Search';
export default class ... | f0326b52d7c60b068970ef6e35da5cc46367d65c | [
"JavaScript"
] | 3 | JavaScript | luismy10/ApiPokemonReactNative | fe4cce3b0bc36bf3d98396a75d8c4c1f3865c3df | 547eff9e2d7ea0d144edf6fda6f6ef2746e5279b |
refs/heads/master | <repo_name>tec-csf/TC2017-PF-Otono-2019-tlacuachis<file_sep>/secuencial/NQueen-Secuencial.c
/*Proyecto Final de Algoritmos
<NAME> - A01025211
<NAME> - A01025210
Descripción: Problema de las N Reinas resuelto secuencialmente
*/
#include <omp.h>
#include <stdio.h>
#include <stdbool.h>
//Variables globales
in... | 72dd60d2d79bcca6e3eabb50247fb5003eebd41b | [
"Markdown",
"C"
] | 3 | C | tec-csf/TC2017-PF-Otono-2019-tlacuachis | 4f4d129985768bd03d7f6084809f45b03057feaf | 67db7100907385bd98d691d3fcc2361c8484c6c0 |
refs/heads/master | <file_sep>export class Day {
public matin = {
debut: String,
fin: String
};
public soir = {
debut: String,
fin: String
}
constructor (matDeb, matFin, soirDeb, soirFin){
this.matin.debut = matDeb;
this.matin.fin = matFin;
this.soir.debut = soirDeb;
this.soir.fin = soirFin;
}... | e2af92e73844d0d4165dfab5e97d72e16f900d43 | [
"TypeScript"
] | 2 | TypeScript | laviagicien/planning | a0c0186bfe262b8f9a2badfe98e4a3e1f176f009 | a79dffeb67a73b77b0b68f44f01a5f50285cd9e3 |
refs/heads/master | <file_sep>namespace Desafio___Tetris.Model
{
public class Board
{
public static readonly int LineCount = 16;
public static readonly int ColumnCount = 10;
public RetanguloTabuleiro[][] Matrix { get; set; }
public Board()
{
}
}
}<file_sep>using Desafio___Tetri... | 753329e6fd38936d1146359412408d75d07c5263 | [
"C#"
] | 38 | C# | tiago-ifrs/Desafio---Tetris | 4a40f34e8f98a833c312497a3d1b473278a80dc1 | 060d5795c388ba82fb060a40806f58af51c48808 |
refs/heads/master | <repo_name>15056158Celest/MedicineReminder<file_sep>/app/src/main/java/comfirebasestudentapp/example/a15056158/medicinereminder/addMed.java
package comfirebasestudentapp.example.a15056158.medicinereminder;
import android.annotation.SuppressLint;
import android.app.Fragment;
import android.support.v7.app.AppCompatActiv... | e2afd6758ebc544fd3e13ebc48ad0477f46309ff | [
"Java"
] | 3 | Java | 15056158Celest/MedicineReminder | 76eb20ebbb5ba87d947b23dc7185bcf8dc4a129f | a51eefa5d1ed498362af7bb2ea42f3edb89d1bbb |
refs/heads/main | <repo_name>noufal85/Udacity-Data-Streaming-Project1<file_sep>/consumers/faust_stream.py
"""Defines trends calculations for stations"""
import logging
import faust
logger = logging.getLogger(__name__)
# Faust will ingest records from Kafka in this format
class Station(faust.Record):
stop_id: int
direction_id: st... | f8d8f9e3092c73b72769f0a6e96a21da9bea9c81 | [
"Python"
] | 1 | Python | noufal85/Udacity-Data-Streaming-Project1 | b6b57e992cd105d36892b3e3d91ddf126e8d4146 | 77dca1b73266e291772ccb16cd51c1c3fdd7743f |
refs/heads/master | <repo_name>adrienlepert/rails-task-manager<file_sep>/config/routes.rb
Rails.application.routes.draw do
# get 'task/index'
# get 'task/show'
# get 'task/create'
# get 'task/update'
# get 'task/destroy'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
... | 4e7f0c82509db13239e556f7ab1083d5319da478 | [
"Ruby"
] | 1 | Ruby | adrienlepert/rails-task-manager | abf72f834b796f28adc910238390ae437d22c22a | 6a3bc85a2079de74436c1ea9e0bbc7caf38f26a4 |
refs/heads/master | <repo_name>danbriechle/LaughTracks<file_sep>/spec/features/users_sees_comedian_new_page_spec.rb
RSpec.describe 'Comedian New Page' do
context 'As a visitor' do
it 'shows a form to input a new comedian, that form works, then redirects to /comedians ' do
visit '/comedians/new'
fill_in 'Name', with: 'J... | d005db85b42d756c7b603b2722b702cb94b8c18e | [
"Ruby"
] | 6 | Ruby | danbriechle/LaughTracks | adb93ae09fcecf5f96eca2b640881faf58436a85 | d5c8db1ec345a5fd4e07729c74ee6fad77ac0f99 |
refs/heads/main | <file_sep>package confirma.noitificacao;
import confirma.domain.Cliente;
public interface Notificador {
void notificar(Cliente cliente, String mensagem);
}
<file_sep>package confirma.noitificacao;
import confirma.domain.Cliente;
import confirma.domain.Produto;
public class EmissaoNotaFiscal {
private Notificado... | a52ece0959e6c382c530676e7c828b18a9d510d3 | [
"Java"
] | 2 | Java | sumaeta/Notifica-o-de-compra | cbe67c997ca713ae99f09f234e82d5e22cde375f | b85c69a554da39febffdc426a56a784c9d8f0896 |
refs/heads/master | <repo_name>ArmanSauyenov/Inherritance_BooksAndTransport<file_sep>/Vehicles/Classes/Transport.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Vehicles.Classes
{
public enum Vehicle { MersedesBenz, BMW, Lexus, Toyota, Volvo, Kia, Hyund... | 2f17ea17a5467fd7dec43a3d07243d17e1c3b45c | [
"C#"
] | 15 | C# | ArmanSauyenov/Inherritance_BooksAndTransport | 4bb699175a1cb7696e5f6d038046bbcfd0eed33c | aecf20610fb8239db64df06b09df779604af4693 |
refs/heads/master | <repo_name>frankverhoeven/tactician<file_sep>/src/Handler/Middleware/EventManagerMiddleware.php
<?php
declare(strict_types=1);
namespace FrankVerhoeven\Tactician\Handler\Middleware;
use FrankVerhoeven\Tactician\Event\CommandFailedEvent;
use FrankVerhoeven\Tactician\Event\CommandHandledEvent;
use FrankVerhoeven\Tacti... | b53c9f86d5f48d416f4de4b5352b8d6cb3a20fbe | [
"Markdown",
"PHP"
] | 31 | PHP | frankverhoeven/tactician | 5610c8ad6216b630013b63989d4de5734caf5176 | 48254753913d91a0c34fe87af612106d117ef5c3 |
refs/heads/master | <repo_name>TaffarelXavier/converter-classe-para-funcao<file_sep>/utils/ConverterHtmlToReact.js
const handleEstrutuaReactNextJs = entrada => {
let reactApp = `import React, { useState } from 'react';
import Head from 'next/head';
const App = () => {`;
reactApp += `
return (
<>
<Head>
<title>Título aqu... | 756de5f2142e059d99d6b7f7ef3beb957a493991 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | TaffarelXavier/converter-classe-para-funcao | 6f91cb1a6ab02a4ab2837c438f57ed09fe77b41f | 4aefb68cc5e19a0d8a42e559eca989913381e4c2 |
refs/heads/master | <file_sep>Piece = require('./../piece');
GameBoard = require('./../board');
class King extends Piece {
constructor(param) {
super(param);
this.type = "King";
this.init();
}
isValidMove(startx,starty,x,y) {
if(x > GameBoard.length || y > GameBoard.height) {
return false;
}
if(startx - x <= 1 && startx ... | c6c6c5cad1ce8f3fc59e4a5432e9222348c03d46 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | joetheplatypus/chess | f038e70c726038fdaebf532629a309e71649e5fd | ac8571b2d80e361cf7bddfb8389e9c6ec3c14e5c |
refs/heads/master | <repo_name>GerganaL/Spring-Advanced<file_sep>/musicdb/musicdb/src/main/java/bg/softuni/musicdb/model/binding/AlbumBindingModel.java
package bg.softuni.musicdb.model.binding;
public class AlbumBindingModel {
//TODO
}
| a9bce8c4f5b03aa95ca1b9876a4acd80c0de3312 | [
"Java"
] | 1 | Java | GerganaL/Spring-Advanced | f5724484306c69f90f704c0071df51089b43c41b | ba863f8f0d492d1c51bc7f2af6614fc0d6afa40f |
refs/heads/master | <file_sep>const request = require('supertest');
const app = require('../../index');
const expect = require('chai').expect;
const MESSAGE = require('../../MESSAGE.json');
const instance = require('../instance');
const Question = require('../../db/question');
const Qcategory = require('../../db/Qcategory');
const api = '... | 8ae8d7fd136d58540a9fb305e87d06a8b15a6aeb | [
"JavaScript",
"Markdown"
] | 15 | JavaScript | chesterchenn/colors-api | deaad4b915116bcc2420024c1b5243524c0415a0 | 9660cdda98a59ef32ba8873ceabf7aa514af2aac |
refs/heads/master | <repo_name>Dr102/smstwillio<file_sep>/test.php
<?php
echo "hello wold from php " ;
?>
<file_sep>/send.php
<?php
// this line loads the library
require('twilio/Services/Twilio.php');
$account_sid = '<KEY>';
$auth_token = '0<PASSWORD>';
$status = status ();
if(isset($_POST['submit'])){
$sms = t... | 9b9ec5e5953ac6d15e405bc6aa700ca0eb2d403a | [
"PHP"
] | 2 | PHP | Dr102/smstwillio | 68b913edd9fe3d8c7de6400bdaec884e68e8502b | 9b5475ccdc05f31fc56bc77775bd6b3299e3b64e |
refs/heads/master | <file_sep># -*- coding:utf8 -*-
'''
index page.
'''
__all__ = []
__version__ = '0.0.1'
__author__ = 'GalaIO'
from flask import Blueprint
import app
# 通过实例化一个 Blueprint 类对象可以创建蓝本。
user = Blueprint('user', __name__)
# 动态加载到app的路由链表中
app.fetchRoute(user, '/user')
from . import views<file_sep># -*- coding:utf8 -*-
'''
A... | 6c993d7fa11475bc861d6e5b8d534816b1fdb85d | [
"Markdown",
"Python",
"Shell"
] | 21 | Python | GalaIO/GalaCoding | 35639ce6598d17519432fd988ca47da985665307 | 9d4d205f817d40347470fc2fc1a23d745282865e |
refs/heads/master | <file_sep>import React from 'react';
import Movie from "./movie";
import * as d3 from 'd3';
import {FormattedMessage} from 'react-intl';
import MovieDetail from './movieDetail';
export default class MoviesList extends React.Component {
constructor(){
super();
this.state={
movies:[],
... | 9d58a14c321ddfcdc4e544435b5b04a17107e22d | [
"JavaScript"
] | 3 | JavaScript | dianyQuintero/parcial2web | 53ef7283471fbb42c7a3e3e27713681e3fe3b50b | 095fa6fc4ee761d5dbf1b46eeec303721b6040dc |
refs/heads/master | <repo_name>LarsonYong/Tetris<file_sep>/more.js
var cubeW=20;
var canvas=document.getElementById('can');
var ctx=canvas.getContext('2d');
var score=document.getElementById('score');
var canWidth=canvas.width;
var canHeight=canvas.height;
var nextInfo = {}, staticCube= [];
var next_canvas = document.getElementById('can2'... | 6b109e611b6c39cfb64b9fd41e49bd7d5aeadeab | [
"JavaScript"
] | 3 | JavaScript | LarsonYong/Tetris | 303e6d6057150fb979a6db975a35af2e005b7780 | c0c393184a82bb51104112d618a6bacb0da77f14 |
refs/heads/main | <file_sep>package com.example.myapplication;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class SecondActivity... | 7207dbee58f37b0deb604ef29c5d68b52e5128ba | [
"Java"
] | 1 | Java | FreylGit/android | 98fbfc952b25b29ad2306ee519ee04d8e7368730 | 035bead68cd1c5b4b6b4e91f2911a38c105ba533 |
refs/heads/master | <repo_name>DustinRoundy/Starwars<file_sep>/src/app/character/character.pipe.ts
import { Pipe, PipeTransform } from '@angular/core';
import {Character} from "../models/character";
@Pipe({
name: 'character'
})
export class CharacterPipe implements PipeTransform {
transform(characters: any, args?: any): any {
re... | 51311532d6f83a5b4c9928158cde9bdcccddc638 | [
"Markdown",
"TypeScript"
] | 17 | TypeScript | DustinRoundy/Starwars | 874e01e8a7297efaa5a9b1c8ba15cf358f2220f0 | d4f60f1d63a0c3e8bffb2e9ec7932d5a33bbc39f |
refs/heads/master | <repo_name>IMCG/Dat3M<file_sep>/dartagnan/src/main/java/com/dat3m/dartagnan/parsers/program/visitors/boogie/PthreadsFunctions.java
package com.dat3m.dartagnan.parsers.program.visitors.boogie;
import static com.dat3m.dartagnan.expression.op.COpBin.EQ;
import static com.dat3m.dartagnan.expression.op.COpBin.NEQ;
import s... | f3b0f63fae1edae9446c85bd95e5d67c51a27a43 | [
"Markdown",
"Java",
"C"
] | 17 | Java | IMCG/Dat3M | 030845b2f46386a48b4597734215bc5ed9f433e4 | 10437ec4424e24a9dfda59241898ba9e2d464a47 |
refs/heads/main | <file_sep>import java.util.Scanner;
public class TugasPraktikum4Nomor1 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int n = input.nextInt();
int[] array = new int[n];
int fpb = 0;
for (int i = 0; i < n; i++) {
array[i] = in... | f09a5ebf3ee78010926cb4eec4c076aa57f1b68e | [
"Java"
] | 11 | Java | Riofuad/LABPP2020 | 3e5c997c426ecbc0bd0ed2aab9559672406f02e6 | 41db733aa99fbc0c267c573899722f956b8f7491 |
refs/heads/master | <repo_name>mjc-gh/jquery.map.js<file_sep>/README.markdown
jQuery.map.js v2
=============
Overview
--------
This is a simple jQuery Google Maps API v3 wrapper. It provides map initialization as well as the methods to add a set of markers, center and zoom the map. You can also access the Google "map object" directly ... | d7c9e8f3c06e86abdf55546435790418a47ab10c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mjc-gh/jquery.map.js | 1a06fa57edca3a8be940105580561475b735b31e | ead90df4ce811b91f2b30b25b8704c5658a31b1c |
refs/heads/master | <repo_name>WVKIA/Java-MultiThread<file_sep>/src/PhilosopherEating/FixedDiningPhilosophers.java
package PhilosopherEating;
import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class FixedDiningPhilosophers {
public static void main(String[] args) th... | ff2d2d2838548fffffe9f26016779bf274d9e362 | [
"Java"
] | 6 | Java | WVKIA/Java-MultiThread | 167b0e83a2b5cfa31038939608c776117e890a0b | 3a2e1433db035ab26118229a17e112d172f60d8e |
refs/heads/master | <repo_name>cpe202fall2018/lab0-cpcampbe<file_sep>/planets.py
def weight_on_planets():
weight = input("What do you weigh on earth? ")
intWeight = int(weight)
print ("\nOn Mars you would weigh", intWeight * .38,
"pounds.\nOn Jupiter you would weigh", intWeight * 2.34, "pounds.")
if __name__ == '__main_... | a368d7686cf8114ad66232c567592a75454ae4b8 | [
"Python"
] | 1 | Python | cpe202fall2018/lab0-cpcampbe | f4c37609633821bf0e172d95318e084720a0d49e | a67c81741a3d5634a29cd34d59f1b8f266732f8a |
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.Net;
using System.Net.Http;
using System.Net.Http.Headers;
namespace CurrencyConv... | 67cc1cac9917706ef118e6081d31cefc6c398ad7 | [
"C#"
] | 1 | C# | kanarekha/Currency-Converter-Static | e8901abb81a68e6b472b7a8c857d0eb6245b4188 | 373422c6129369ca0e80433bd62eb51c5ed07143 |
refs/heads/master | <file_sep>namespace JMMServer.API.Model
{
public class Search
{
public string query { get; set; }
}
}
<file_sep>using JMMServer.PlexAndKodi;
using JMMServer.PlexAndKodi.Kodi;
using Nancy;
using Nancy.Security;
using JMMServer.API.Model;
namespace JMMServer.API
{
public class APIv2_common_Modu... | cb14af414137a2414f679a2ece8d812797450508 | [
"C#"
] | 7 | C# | monsieurtaco/jmmserver | d3f5727d41aa5e897ccd4593447690ed59332915 | ed4f2060b5d0f9ea15aca82d4d4c08cf48f914c8 |
refs/heads/master | <file_sep>$(document).ready(function() {
// use this for paralax if needed
$(window).scroll(function() {
s = $(window).scrollTop() - 20;
w = $(window).width();
// sticky sidebar
console.log("working");
$('.title').css('margin-top', '-'+s+'%');
// parralax effects
// if (w > 800 && s < ... | 0631e52e71cdeb613d3e68d097fc371d7b3d4383 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | KopiSusu/Comic | b17ae20aaddea71ae77a308380e482a6b940b0f3 | 61cea310a9b875f1dbf04c3b2de6994236e7fa5b |
refs/heads/main | <repo_name>leefreemanxyz/tdl<file_sep>/github-search-api/src/timestamp.ts
export function createTimestamps(message: string) {
return function (target: any, name: string, descriptor: PropertyDescriptor) {
const method = descriptor.value;
descriptor.value = async function (...args: any) {
const startTime ... | ae823d73be864fabbfbe672a279d5ddc4942f990 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 7 | TypeScript | leefreemanxyz/tdl | 5ecdbd76c0aedf82c7e2d65cc2eece269f30f230 | 5f14dece661de013081ea5255919ef7f7fd9fb87 |
refs/heads/master | <file_sep>class CreateBitstream < ActiveRecord::Migration
def up
if Sinatra::Base.settings.environment == :test
execute("CREATE TABLE `bitstream` (
`bitstream_id` int(11) NOT NULL,
`bitstream_format_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`size_bytes` int(11) NOT ... | 8bbadd7f0cf639231b46311d77303a905fee362b | [
"Markdown",
"Ruby"
] | 43 | Ruby | dimus/DspaceTools | 7a5871985b44323637144cf327354676970872cf | 777236f25f59eecbc160cb1f2c9dcf09f1776785 |
refs/heads/master | <repo_name>NicolasMarino/Dolar-API-Uruguay<file_sep>/README.md
# node-projects
<file_sep>/database/db.sql
CREATE DATABASE linksapp;
USE linksapp;
-- USERS TABLE
CREATE TABLE users(
id INT(11) NOT NULL,
username VARCHAR(16) NOT NULL,
password VARCHAR(60) NOT NULL,
fullname VARCHAR(100) NOT NULL
);
ALT... | 4d46aed4a54c96537de25a1a8ef405c5d660bff7 | [
"Markdown",
"SQL"
] | 2 | Markdown | NicolasMarino/Dolar-API-Uruguay | f0d32655945f0e7f5dce7282ef4cb58d2f96fed7 | 01aa863c2a35ad6002b41f54b7a46ee20610959e |
refs/heads/master | <file_sep>Dado("que acesso o site para realizar o desafio") do
@home.load
end
Quando("efetuado o clique no botões One, Two e Four") do
@home.click_btn
end
Quando("efetuado o clique no botões One, Two e Four dentro no Iframe") do
@home.scroll
@home.iframe_btn
end
Então("certifico que os botões nã... | 0b858c6f71c8fe6a9c76d1c1e796fff8211e377a | [
"Markdown",
"Ruby"
] | 4 | Ruby | vanzella25/Test_webjump_Otavio | 06d884f7949c6ac2f2caf409a7cae64f9fcff107 | a65be51ad14b429bd52ca0113773ca48a160836c |
refs/heads/main | <file_sep>import * as functions from 'firebase-functions';
import * as dotenv from 'dotenv';
import * as admin from 'firebase-admin';
import axios from 'axios';
admin.initializeApp(functions.config().firebase);
dotenv.config();
const firestore = admin.firestore();
exports.createUser = functions.firestore
.document... | 6817855d7de73da58b43816d72a3e5a0f60df5b5 | [
"TypeScript"
] | 1 | TypeScript | mackbrowne/petition | c74f9ca081666f52f57b8b4a1ca44bc4f8f995b2 | 0000eae78888d254f7aed0d891c20b984dbef137 |
refs/heads/main | <repo_name>caicohr/react-learning<file_sep>/src/index.js
import React from 'react';
import ReactDOM from 'react-dom';
import './App.css';
class Clock extends React.Component {//after the React.DOM finds this
constructor(props) {//First, initiate the value
super(props);
this.state = {date: new Date... | f495dd536bd91cc04736d82d9b726c55f81f7fc7 | [
"JavaScript"
] | 2 | JavaScript | caicohr/react-learning | f103c9d38a43adf5c054460478b9584b83638e7d | b4b48bc6a65b1ecfb294ce5d2cc291c2366f0014 |
refs/heads/master | <file_sep>package fd.group;
import java.util.stream.Stream;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframe... | a1358a57b187b87d91463b0aeed4c384b6b50ba2 | [
"Java"
] | 4 | Java | fodebailo/boutique | ee5e9bf050e469fdfb9f9d8e2d8d2593bbfb876e | 2cccb7e6219ecb7491d4b4e287f76ebbedc0824a |
refs/heads/master | <repo_name>oliverglue/vs_test<file_sep>/SQLQuery1.sql
select * from tas.dbo.InDocument
test
| ac998424198bf2b9f6d88394bb4a5ee7c1d8f1ec | [
"SQL"
] | 1 | SQL | oliverglue/vs_test | 30b72317ebf07cea41fb12c75d3dd93fed06b00a | 3fc6b971adac40b527b336df78f8c9b1d9d66dec |
refs/heads/master | <file_sep>

# Github Search 🔍️
Feel free to check out the finall [result](https://mateuszkornecki.github.io/github-search/).
## About the project
This website was created during WTF - 'Co ten frontend course'. <b... | 5fd43854cf6a7fa0cc49f5601a2d6fc09bf0399e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mateuszkornecki/github-search | 3d2221e31311c23ae8bc2b9c821bd22d010b241f | 4a4bb56ac4925d3d425b23413bca62ae616f440b |
refs/heads/master | <file_sep>export interface CategoriesGet {
drinks: ICategory[];
}
export interface ICategory {
strCategory: string;
}
<file_sep>import { CategoriesActions, ECategoriesActions } from '../actions/categories.actions';
import { initialCategoriesState, ICategoriesState } from '../state/categories.state';
export const ... | bb8881369b736103c204be3cd554ab06b644f497 | [
"TypeScript"
] | 20 | TypeScript | liliia2/Drink-test | 8ad81fc3a3b5435110b3fc101ddde0d5136518b6 | 65f3ef9eab93c025e46102fe94eee2205bec908b |
refs/heads/master | <file_sep>from flask import Flask
app = Flask(__name__)
@app.route('/<string:paste_id>', methods=['GET'])
def get_paste(paste_id):
pass
@app.route('/', methods=['GET'])
def home_page():
pass
@app.route('/', methods=['POST'])
def post_paste(paste_txt):
pass<file_sep>import os
import unittest
class TestAp... | 0198e22e6639a785988470853f91b5926a6637d0 | [
"Python"
] | 2 | Python | kdbeall/pypaste | 24ae202ac771a879578538c9e2b4e35ce5fb0181 | ad806b70c5e05a46dbfb7329a3a7ec165466a546 |
refs/heads/master | <repo_name>marnathali/Kaizenware<file_sep>/src/modelo/dao/UsuarioDAO.java
package modelo.dao;
import java.io.Serializable;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.criterion.Restrictions;
import modelo.dao.utils.GenericDAO;
import modelo.dao.utils.Sesion;
import modelo.dto.Usuario;
... | 0cbb820013fadb5a7d759d847faf8a7a0f804002 | [
"Java"
] | 4 | Java | marnathali/Kaizenware | ab6c9615c2c98a57a066fa42fa9aa0946826cfd5 | 8cdd5e70657b0e8da8e0a45d89223727281c1ff8 |
refs/heads/master | <file_sep># puts numbers entered by user in order
ordered_numbers = []
number_count = 0
while number_count < 3
puts "Please enter a number:"
ordered_numbers.push(gets.chomp)
number_count += 1
end
puts
puts ordered_numbers.sort
# next: allow user to enter number of numbers
# **************************************... | 9930f4b3de853d49a09161ce75f602d113cb3d3d | [
"Ruby"
] | 4 | Ruby | radcliff/GA_studyhall | 5974392fadc1e96eb8aaf7eacd479575823c945d | a69374381066f35d4a865f55ce5208ad15448b9a |
refs/heads/master | <repo_name>Pod-Point/react-native-md-textinput<file_sep>/lib/Underline.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable ... | e3657ee185d467320746b3d7fd874cddf2b8a27c | [
"JavaScript"
] | 2 | JavaScript | Pod-Point/react-native-md-textinput | 3024a779dd2fa0ef29b0380b4a2c67cc88950d12 | 703bde4039a6e0a4b3ab75f049c00fd373ad28bc |
refs/heads/master | <repo_name>ebruispir/class-5-project-cookit<file_sep>/frontend/src/component/Filter.jsx
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import clsx from 'clsx';
import ExpansionPanel from '@material-ui/core/ExpansionPanel';
import ExpansionPanelDetails from '@material-ui/core/Expansion... | bc1a2e0b0006a31a8a670c0c1ab07f45543703c1 | [
"JavaScript"
] | 5 | JavaScript | ebruispir/class-5-project-cookit | d0cdeddde6d7c28cde4394739cf6cbde2af67fb4 | db08cd9f66a6f8e9a90830002abb9957225bac92 |
refs/heads/master | <file_sep>package dbUtils;
import java.sql.SQLException;
import java.util.List;
import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.BeanListHandler;
import com.mchange.v2.c3p0.ComboPooledDataSource;
public class test {
// 需求:向user表插入一条数据
public void test1() {
// 第一步:创建query... | 20e7e104a12d59e39e53f2008d59737cd5e80c40 | [
"Java"
] | 1 | Java | luoxiang01/dbUtilsTest | c06d6875de63881376780495a77c528e962f2f7a | 532e3c7e2408385a1fbc3d6b7e98056d8422b5e5 |
refs/heads/master | <file_sep>using Microsoft.SqlServer.Server;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BS_Notatn... | 44307a862454be0532078d08eb73c3a95c6e2a90 | [
"Markdown",
"C#"
] | 2 | C# | BladeStudios/BS-Notatnik | 82edb61b88cf154b24bd96feb23104284675854c | 2dec0b925443ad4490e275802d1a913c2dd8df22 |
refs/heads/master | <repo_name>tuxiaomao/study_Java21days_1st<file_sep>/src/day01_环境准备/day01_2答案.java
package day01_环境准备;
public class day01_2答案 {
public static void main(String[] args){
System.out.println("HelloWorld");
}
}
| 731bf1c00441d4a7943b39bf90039856569d0b92 | [
"Java"
] | 1 | Java | tuxiaomao/study_Java21days_1st | 8931b13277f7976378fe09b399d539188ed7e7f3 | 2a03cec274bf525c06071706ffcccf09d4c6f3f0 |
refs/heads/main | <repo_name>MikeVaida/CS50<file_sep>/Week2/string.c
#include <cs50.h>
#include <stdio.h>
#include <string.h>
int main(void)
{
string s = get_string("Input: ");
printf("Output: ");
// int n = strlen(s); - this can be included in the for loop
// for (int i = 0; s[i] != '\0'; i++)
// for (int... | 65b8cfedda15ea91ce599a5fdef2fe1a8eb46af5 | [
"Markdown",
"C"
] | 5 | C | MikeVaida/CS50 | 51565ac95c165ee19844217fe27048ddad4fe89a | 2a0ab1cee0680f0c368ff60b41e7b60d27d0a9d3 |
refs/heads/master | <repo_name>Yu-Zhou-1/path-planning<file_sep>/scenes_models/scene_config.lua
function sysCall_init()
-- do some initialization here
L, W = 10, 2
generate_floor(L, W)
lookdown_viewport(L, W)
-- visualize_path({0,0,0.5,1,1,0.5,2,4,0.5})
delete_path()
end
function sysCall_nonSimulation()
-- is ... | 16c7e3f31197cc4936b5edc6b1e10f1498b3962d | [
"Markdown",
"Python",
"Lua"
] | 5 | Lua | Yu-Zhou-1/path-planning | 668ef90e6dd12724447f19a2d469bbbefeee6716 | e810808aec34f2c79eeb1156f57d9e928d4ba280 |
refs/heads/master | <repo_name>iamtimsmith/.blank<file_sep>/README.md
# .blank
A blank wordpress template with no styling. This contains everything needed to get a theme up and running and add your own styles.
### Files Included
This repo contains all of the basic files needed to get your Wordpress website up and running using standard w... | a78660e3f643cfc10f27ca868b8bf21e060d149d | [
"Markdown",
"PHP"
] | 3 | Markdown | iamtimsmith/.blank | 0c02e3a5da8dc0c06ff39932f2f88aefd8889f8d | c251550c6719f767a007b87bb8ba9b35a179e1dd |
refs/heads/master | <file_sep>import Log from "../Util";
import {IInsightFacade, InsightDataset, InsightDatasetKind, ResultTooLargeError} from "./IInsightFacade";
import {InsightError, NotFoundError} from "./IInsightFacade";
import {QueryHelper} from "./QueryHelper";
import {DatasetHelper} from "./DatasetHelper";
import * as fs from "fs-e... | 8f5745ce74fe20df178b118424934d9d31bae5f7 | [
"TypeScript"
] | 8 | TypeScript | KimDinh/CPSC-310-2020W2 | e9cf359b229392bcc4729047c9ee9e2f26a52c85 | 56e6251761c3511ef62333a500328be088d65bdc |
refs/heads/main | <repo_name>SelcanKaraturk/50-Projects<file_sep>/Project31-textEffect/script31.js
const textEl = document.getElementById('text');
const speedEl = document.getElementById('speed');
const text = 'I love Programming';
let idx = 1;
let speed = 300 / speedEl.value
writeText()
function writeText(){
textEl.innerText = te... | 14b65593c77e5d0c217aca64dd8943b9f6863cc4 | [
"JavaScript"
] | 1 | JavaScript | SelcanKaraturk/50-Projects | 3f14120cf61eda566c2be980d7826808a5723701 | d2992868ce22e64938b59dfd027b999ad36dc457 |
refs/heads/master | <repo_name>T-era/Trism<file_sep>/Trism_Slime.js
Trism.Slime = function(r, g, b) {
this.R = r;
this.G = g;
this.B = b;
this.rgb = function(lvl) {
var pow = Math.pow(0.92, lvl*lvl*lvl);
return "#" + toTwoChar(this.R) + toTwoChar(this.G) + toTwoChar(this.B);
function toTwoChar(v) {
var hexa = Math.flo... | 588fecbc0dcbe26d966ebf2134306694c2f76aae | [
"JavaScript"
] | 10 | JavaScript | T-era/Trism | c5f3dd5c4db26e2da679e8b3a33a921d080d3dd4 | a864d206e2608bd5412fddc560441e8cd7a50e09 |
refs/heads/master | <repo_name>miklbarre/website<file_sep>/src/Website/HomeBundle/Controller/HomeController.php
<?php
namespace Website\HomeBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Ht... | b620f6b4a5f41d9b47618edeb9db26db5f0f60e9 | [
"JavaScript",
"Markdown",
"PHP"
] | 11 | PHP | miklbarre/website | c527de6fadce66babfd62e3373b7dc297374c63c | d3cf20abb458d74a30f4680a9f6f0da07ae72aa3 |
refs/heads/master | <file_sep>//
// UserLogInViewController.swift
// Final project
//
// Created by 徐乾智 on 4/30/19.
// Copyright © 2019 徐乾智. All rights reserved.
//
import UIKit
import VideoSplashKit
import Firebase
class UserLogInViewController: VideoSplashViewController, UITextFieldDelegate {
// MARK: - Outlets
@... | dd4e0c66de51b2a12d4e7741dea88d06072cc040 | [
"Swift",
"Markdown"
] | 25 | Swift | Tanggy123/ios-final-project | 2681936174da427f08d703ece16ab8a671221777 | 796f47608d68464ba85fe5fafb23d3e0e2d530ba |
refs/heads/master | <file_sep>import pygame
import math
import random
# Color Constants
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
BLUE = (0, 0, 255)
GREEN = (0, 255, 0)
RED = (255, 0, 0)
DARK_GREEN = (11, 46, 2)
BROWN = (41, 21, 2)
YELLOW = (239, 184, 16)
MAGENTA = (204, 0, 153)
LIGHT_BROWN = (153, 102, 34)
SKY_BLUE = (179, 255, 255)
OCE... | 5dc94bd465686c774aaf2c51beb435ca148ca319 | [
"Python"
] | 2 | Python | BlackIcePenguin/MotionTesting | dc3ebba562fa591084f4ecae4ccddadbe6744dfe | abd0870d8943a3d90cb2c95bb437b43842055081 |
refs/heads/master | <file_sep>function alerta() {
alert("Este é um alerta!!!");
}
function pressionou() {
alert("Tecla pressionada!!!");
}
| 070bdd1a2d4db04b424ae9b20fe292acd5826eb6 | [
"JavaScript"
] | 1 | JavaScript | eudemartonatto/WebApplication1 | df38141bde4ca693c4ea1e9a33f055097423db62 | 89e1fca5e370cdbbabff6a0961764a07617e4341 |
refs/heads/master | <repo_name>basecamp/sentinel<file_sep>/config.go
package main
import (
"flag"
"gopkg.in/BlueDragonX/yamlcfg.v1"
"gopkg.in/yaml.v1"
"io/ioutil"
"os"
"strings"
)
const (
DefaultConfigFile = "config.yml"
)
type StringArray []string
func (strs *StringArray) String() string {
return strings.Join(*strs, ",")
}
f... | 9eb83566d65385f5c246a47583f8d3e8f7c21f9d | [
"Go"
] | 10 | Go | basecamp/sentinel | daa156f833c3a9f96367c24e760dc27d664ab24c | c54526fb0caaee016553db58cd49fa8e5bf16f1b |
refs/heads/master | <repo_name>Illidan877/python<file_sep>/短信验证/README.md
验证码 存redis
判断短信验证码是否正确
正确redis删掉
<file_sep>/定时任务/README.md
1. 安装定时任务包:
```
pip install django-crontab
```
2. 设置settings.py
```
INSTALLED_APPS = (
'django_crontab',
...
)
```
3. 创建应用下的 cron.py 添加任务
4. 在django项目的**settings.py**中添加以下命令
```pyt... | e3c344dd0e19dddf4c842de0dd3f9062e5e1f826 | [
"Markdown",
"Python"
] | 12 | Markdown | Illidan877/python | 7e00d313073e431cc9c4db58c6b2a25222aebbc6 | a01bcfcaee6a7ee0e52c451961e22d5ed7a96583 |
refs/heads/master | <file_sep>package com.ycy.jsbridge.jsbridge;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.text.TextUtils;
import android.webkit.WebResourceError;
import android.webkit.WebResourceRequest;
import android.webkit.WebView;
import android.webkit.WebViewClient;
publi... | ff231356eda54d2091b75b9d4670a7025bb25806 | [
"Markdown",
"Java"
] | 4 | Java | snailycy/android_jsbridge | 678b4040ec3899a41fbd784d17c0fab303ea854b | 6f8b3859b96d710abd166e67cc462d183a282f34 |
refs/heads/main | <file_sep><?php
class FelInvoicePluginConfig
{
public function __construct() {
}
/**
* adds an input field for saving user authkey
*/
private function set_user_auth_keys() {
$auth_keys = array(
array("form_key"=>"fel_invoice_auth_user", "option_key"=>"fel_invoice_plugin_... | b3ca189e7bcb8afe52320d7dbd4492c1328da546 | [
"JavaScript",
"PHP"
] | 14 | PHP | devops-milan/wordpress-fel-invoice-sync | cd30bd1094bc817522efe15fdfb8703a0e2b6d8b | 7f00f90067347a94cffdd56b967e97fb097888cc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.