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>koryteg/Taylord<file_sep>/app/controllers/home_controller.rb
class HomeController < ApplicationController
def index
respond_to do |format|
format.html # index.html.erb
end
end
def about
respond_to do |format|
format.html # about.html.erb
end
end
def work
respon... | 1e9752ecd1e5b3cf3980f686bd4ee5d7dc997af9 | [
"Ruby"
] | 1 | Ruby | koryteg/Taylord | 5db5ae04804f4286472db8a0a29cbe4ba608b9b2 | eb4169a398acefd93548b2531f6db1f125d7f487 |
refs/heads/main | <file_sep>const excludes = ['/assets/', '/buqiyuan/']
self.addEventListener('fetch', function (event) {
// 拦截请求
const { hostname, origin, pathname, search } = new URL(event.request.url)
if (
hostname === 'buqiyuan.gitee.io' &&
!excludes.some((n) => pathname.startsWith(n))
) {
const newUrl = `${orig... | 248a51b7a79f02faec0018ee5837cbb246506210 | [
"JavaScript"
] | 2 | JavaScript | buqiyuan/buqiyuan.github.io | 7e8c5fd461af870570c0f22a915afc91f261903c | 3f3e90f03d5e6fb0b2df45dae9c03b4e78f236bd |
refs/heads/master | <repo_name>SkelegonDK/tutor-webApp<file_sep>/gulpfile.js
var gulp = require('gulp');
var sass = require('gulp-sass');
var browserSync = require('browser-sync').create();
var pump = require('pump');
var imagemin = require('gulp-imagemin');
var autoprefixer = require('gulp-autoprefixer');
var autoprefixerOptions = {
b... | b417c5763de390b2da8290f3d06c555fd822e2ae | [
"JavaScript",
"PHP"
] | 6 | JavaScript | SkelegonDK/tutor-webApp | 8ec51eb9fdebfb163ee3b229c71f09de01381ed5 | 6e5bee1a1654f6efd4bca18169a5e0473000ab1c |
refs/heads/master | <repo_name>neagle/gulp-patternlint<file_sep>/test/fixtures/console.js
function foo() {
console.log('Terrific!');
}
<file_sep>/test/main.js
var patternLintPlugin = require('../');
var should = require('should');
var gutil = require('gulp-util');
var fs = require('fs');
var path = require('path');
require('mocha');
var... | f6716607fce8365e807404eaabb1a361689377c2 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | neagle/gulp-patternlint | 9e01f6e1115c32e00558a430dc06e45f5624647b | 9d24372f672880fcb912635839c317d45ecb55f5 |
refs/heads/master | <repo_name>troykollar/AdvOOP<file_sep>/README.md
This is the first update to the README, which allows for the second commit to the repository<file_sep>/Assignment_1/gradleproject1/src/main/java/gradleproject1/Main.java
package gradleproject1;
/**
*
* @author troyk
*/
public class Main {
public static class... | 62a4b5a31eaea7a733c6c09dbd97aaa1a82b55da | [
"Markdown",
"Java"
] | 2 | Markdown | troykollar/AdvOOP | 430a660ea884cfbeb30fed783a5c7361ad7794d0 | 3f76e90f26d71860df2b847420c410a83906304d |
refs/heads/master | <repo_name>bastakotiprabin22/roadmap-service-master<file_sep>/src/test/java/com/roadmap/roadmapservice/service/RoadmapServiceTest.java
package com.roadmap.roadmapservice.service;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import java.io.IOException;
import java.util.Stack;... | 3c71ac6476d9dae88dae02ea942b32a7ee738cce | [
"Markdown",
"Java",
"INI"
] | 5 | Java | bastakotiprabin22/roadmap-service-master | 93a4fec4fec175eeac0fa6f418e1450d5e3e58cc | 39bda5b00bed0ab4d87945d6dddf3ef9736b6cca |
refs/heads/master | <repo_name>Apahadi73/TriviaApp<file_sep>/README.md
## Link: https://triviaapp73.netlify.app/
## Description:
* A trivia quiz app
## Features;
* public api to fetch questions for the quiz
* Bootswatch used for css
<file_sep>/src/components/HomePage.js
import React, { useEffect, useState } from 'react';
import { Button... | d53b732eca7c7e0ca72b1649bade490037885412 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Apahadi73/TriviaApp | a586b6d03c956d1da5ad1c6d16560c5f284f1060 | 5f73bfb97d8a8d55816e06938184e727fe7631c3 |
refs/heads/master | <file_sep>## This is OLD react code; Still here for legacy purposes
Click the cards to turn them over. Find all the pairs to win the game - however, if you make a mistake you'll need to start from scratch!
<file_sep>import React, { Component } from "react";
import styled from "styled-components";
import UgKnuck from "... | fe2801e5e6eb3dddc85f819dce3449c6379bc665 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | rockettown1/infuriatingmemorygame | 150b3b561db6e719530d29608fb2a719b39a657d | b336519d12d05cf3caed8a6e4eb087e91a8b5c6a |
refs/heads/master | <repo_name>AlexanderCleasby/NetworkFarkle<file_sep>/README.md
# Network Farkle
The aim of this project is a clone of the folk dice game Farkle that features
- Online/Network Multiplayer using web sockets
- Multiple game rooms
- A clean modile first design
## Installing
```
git clone https://github.com/AlexanderCl... | a516853375f656035397f629a466fe81a795016a | [
"Markdown",
"JavaScript"
] | 6 | Markdown | AlexanderCleasby/NetworkFarkle | 54a0e0fccea94094d1ae6532973256d25d44eb3f | fc6ea4c6435adaf83cee67caa769bfdab2477cf3 |
refs/heads/master | <repo_name>Imany-apk/java-spring-boot-file-manager<file_sep>/README.md
# java-spring-boot-file-manager
. /upload
. /download
. /mail<file_sep>/src/main/java/filehandler/project/ProjectApplication.java
package filehandler.project;
import filehandler.project.configuration.AWSProperties;
import filehandler.pr... | f7c302c26ad6407f3f252c9096c2b8b761d8a3d0 | [
"Markdown",
"Java",
"SQL"
] | 7 | Markdown | Imany-apk/java-spring-boot-file-manager | ce0647ad202078ba8e2ab85d177f401559de5a12 | eec4616cd652491ece6cfa040d2f1bbf16788029 |
refs/heads/master | <file_sep>import numpy as np
from scipy.spatial.distance import cdist
def best_fit_transform(A, B):
'''
Input:
A: Nx3 numpy array of corresponding 3D points
B: Nx3 numpy array of corresponding 3D points
Returns:
T: 4x4 homogeneous transformation matrix
R: 3x3 rotation matrix
t... | 4ba8aaafb59aefb6d115e4c791a1ddc0366e3b86 | [
"Markdown",
"Python"
] | 3 | Python | b18arundhati/IP_ICP | fe45cd33157ea6cb1624b1c9e8b5a6cac628ad17 | dafb564e93bf077f82ebbd7697b8dd08cb50ecc8 |
refs/heads/master | <file_sep>var $gameField = $('#gameField');
var player = {
direction: "up",
x: 1,
y: 1
};
function currentPlayerIcon() {
var icon = "^";
switch (player.direction) {
case "up":
icon = "^";
break;
case "left":
icon = "<";
break;
case "right":
icon = ">";
break;
case "down":
icon = "v";... | 4a8d7dbaaae499eb32cf488cb4dcc1bc56c43cce | [
"JavaScript"
] | 1 | JavaScript | janson-git/simple-game-field-mover | 67782a9185d572790514cd16bfb7dccaaafab121 | 6ba5383573cac628e5e2a00fb2ec8cce2e5a9c7f |
refs/heads/master | <file_sep>package com.internousdev.orion.action;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.struts2.interceptor.SessionAware;
import com.internousdev.orion.dao.CartInfoDAO;
import com.internousdev.orion.dao.ProductInfoDAO;
import com.int... | 0d325d24acb5cf1094f7a5e595a14b05d27c9e15 | [
"Java",
"SQL"
] | 2 | Java | Seiya24-T/teamECsite | fb736fb7247e1fad514b69a6190d7003e4054dc8 | 65920228379a5c2e60e9e1f4c01eb7109586c1f3 |
refs/heads/master | <file_sep># CISC-327-TEAM-ToGo<file_sep>#!/usr/bin/python3
# ======================== IMPORTS ========================
import os # For checking if files exist
import re # Fore removing ANSI sequences
import sys ... | 5566089338ab1306d1073bc7bdc0fb32e3e58238 | [
"Markdown",
"Python"
] | 2 | Markdown | wzm1110/CISC-327-TEAM-ToGo | cc4808dba38f5107827078d97a6f2f942c2ef78e | 58c9945f5e61348ce030ccd5e9d6aaed85613f43 |
refs/heads/master | <file_sep>-r .requirements/deploy.txt<file_sep>from pprint import pprint
from time import sleep, time
import requests
from bs4 import BeautifulSoup
from selenium import webdriver
class CoinChatAPI:
def upbit(self):
url = 'https://crix-api-endpoint.upbit.com/v1/crix/recent?codes=CRIX.UPBIT.KRW-SNT,CRIX.U... | adf96e3d7620d59f516f71dc948ac06cf2f8ffa8 | [
"Python",
"Text"
] | 10 | Text | Coin-chat/coin-chat-bot | 2df6d2ef002255272492a511b3c38459b9a58041 | 99d51b32eb31e231d20acb84f348a2a244cd138f |
refs/heads/master | <repo_name>dakennedyd/oceanwaves<file_sep>/conf_build.sh
mkdir ./bin
cd bin
cmake ..
#build
cmake --build .
#run
<file_sep>/src/main.cpp
#include "Audio.h"
#include <iostream>
int main()
{
std::cout << "Generating ocean waves\n";
initAudio();
play();
deInitAudio();
}<file_sep>/src/Audio.h
#pragma onc... | 4f2f30e4c54ef60bdc50de1ecfe9ed183eff44b3 | [
"CMake",
"Markdown",
"C",
"C++",
"Shell"
] | 7 | Shell | dakennedyd/oceanwaves | c9f7b19b78d7ffeca166ee78900ac0cebf70ac4f | 0494921744d3112ce45b9eb0102c2aa5b151586a |
refs/heads/master | <file_sep>-- phpMyAdmin SQL Dump
-- version 4.1.12
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Feb 02, 2017 at 05:43 PM
-- Server version: 5.6.16
-- PHP Version: 5.5.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_... | f9d3f157ef4e90a45bd8ee1071fa0818d6412dd3 | [
"Java",
"SQL",
"Text"
] | 13 | SQL | ozkulg06/Metro_systems | a9d1ecee294f0a9d7b91e97246f975cef70ae911 | 3178791c7dcc649d26eb839c59b14369776df0ee |
refs/heads/master | <repo_name>scanton/quick-links<file_sep>/public/javascripts/modules/filters.js
(function() {
var app;
app = angular.module('filters', []);
app.factory('langDict', function() {
return {
'en': 'English',
'en-us': 'English (US)',
'en-uk': 'English (UK)',
'de': 'German',
'de-de': '... | eaf1769f02b36ed40908ee916edbd9093de9426c | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | scanton/quick-links | 38224d8688077fe370125e628e8631dfa9daa0b5 | eb307d760b088de9cfbbd3ec3d625220a5cbfff6 |
refs/heads/master | <file_sep>Q1) How to push a new initial project to github using vs code
A1) Here are the detailed steps needed to achieve this.
https://stackoverflow.com/questions/46877667/how-to-push-a-new-initial-project-to-github-using-vs-code
The existing commands can be simply run via the
CLI terminal of VS-CODE. It is understo... | e26914706e98b51e4bb0ea541690d80d7f1aceaf | [
"Markdown",
"Python"
] | 2 | Markdown | wlcampion/NewProject | 8e06225453ba233548e17cc9f21b29170d1f2a56 | 834c00daab824e9b3e3df2311c517fbf8b84c84c |
refs/heads/master | <file_sep>import defaultMuiInput from '../../default/MuiOverrides/MuiInput';
const MuiInput = {
...defaultMuiInput
};
export default MuiInput;<file_sep>const userArea = {
pillBG: 'rgba(1, 30, 65, 0.3)',
pillColor: '#FFF',
crestColor: '#fff',
signInOutColour: '#fff'
};
export default userArea;<fil... | 93d37ca2392e857b9c50cb27bc5034d95385b691 | [
"JavaScript"
] | 83 | JavaScript | ALIRAZA705/fa-react-template-uk | 698e3e7f781d7799559104e81f684d0af8ab2c50 | 87a77003ad19c964f7ddc2e5f1bbeee0b9a38acd |
refs/heads/master | <repo_name>cms718/youtube-spotify-app<file_sep>/oldcode.py
auth_params = {
'client_id': '76bd895c92be490bbad8f64465e77d24',
'response_type': 'code',
'redirect_uri': 'https://google.com',
'scope': 'playlist-modify-private playlist-read-collaborative playlist-modify-public',
'show_dialog': True
}
... | 29fcc5a16af4c2aa7a3ac2bc9ccbdc7303a7b918 | [
"Markdown",
"Python"
] | 3 | Python | cms718/youtube-spotify-app | 07b2e03efe005439fbc17d67d5426a51bf73a811 | 06e4a99503f090775fe9fdbd88dca025315d81b1 |
refs/heads/master | <file_sep>package com.udacity.asteroidradar.repository
import androidx.lifecycle.LiveData
import androidx.lifecycle.Transformations
import com.udacity.asteroidradar.Asteroid
import com.udacity.asteroidradar.BuildConfig
import com.udacity.asteroidradar.api.NasaApi
import com.udacity.asteroidradar.api.dto.asAsteroidEnti... | 4a570e09e43dcecf61420e0eb540b1cd2b5815f5 | [
"Kotlin"
] | 21 | Kotlin | artem-benda/nd940-asteroid-radar | 1d7fc58d05dedb3d6dc2a00868c7cb10d468b3c7 | a9551487fc9b2c1fbe509e62a3249333f83c77fa |
refs/heads/master | <repo_name>cyrillefavreau/KinectFluids<file_sep>/fluidsGL.cpp
/*
* Kinect Fluids - Based on NVIDIA CUDA SDK example
* Copyright (C) 2011-2012 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as publishe... | eda36e15b3e041c1c3665dadfec4dffe6dec8abf | [
"C",
"C++"
] | 5 | C++ | cyrillefavreau/KinectFluids | e2a17a04c6221c6bfc82c76c54fad9fff6c1f144 | 911b25f2f9072f23024137870cc5c019803f4ba7 |
refs/heads/main | <repo_name>VladimirGoloyan/react-redux-posts-task<file_sep>/src/components/PostMain/PostMain.js
import React, { useState } from "react";
import { connect } from "react-redux";
import { addComment, addReply } from "actions/postsActions";
import StarRatings from "../../../node_modules/react-star-ratings";
import { Modal... | 9dfb6b4165cbe69b56d68b7a16885b361ac47536 | [
"JavaScript"
] | 7 | JavaScript | VladimirGoloyan/react-redux-posts-task | fa3785bac1314d8644768657d9b42ab49cb257ac | 0c1eb153492b906c2ff54ccfa33816a02c3825fd |
refs/heads/master | <repo_name>enjoylife/stanford_cs143<file_sep>/PA4J/CgenNode.java
/*
Copyright (c) 2000 The Regents of the University of California.
All rights reserved.
Permission to use, copy, modify, and distribute this software for any
purpose, without fee, and without written agreement is hereby granted,
provided that the above c... | 753c5910f760f8e2680b760cc6af3a4dc47c000e | [
"Markdown",
"Java"
] | 3 | Java | enjoylife/stanford_cs143 | 4d57f30758eb9228c1d1a3cabbc1981bc3e2551d | 4b09fa5d72a3fb3c07e4d91fa74059eea3cbbddd |
refs/heads/master | <file_sep>import os
import sys
charClass = -1
lexeme=[]
nextChar = ''
lexLen = 0
token = 0
nextToken = 0
#Character classes
LETTER = 0
DIGIT = 1
UNKNOWN = 99
EOF = 999
#Token codes
INT_LIT = 10
IDENT = 11
ASSIGN_OP = 20
ADD_OP = 21
SUB_OP = 22
MUL_OP = 23
DIV_OP = 24
LEFT_PAREN = 25
RIGHT_PAREN = 26
i = 0
count = 0
in... | 1cffc6603c1ab457adc2d1f768d903087a0e2d9b | [
"Python"
] | 1 | Python | kxs6656/Python-Project | 2f755ce8f1e3ff4a12ef44152f7c2b77afa1ee3a | f3fce29cf3ad10c82fd37744ecd973d5bd8b8b64 |
refs/heads/main | <repo_name>takeovernat/Bell-LaPadula_secure_system_withC-<file_sep>/README.txt
<NAME>:)
09/22/2021
Project 1
program written in C++
to run program type:
"make"
then
"./Monitor <inputfile>"
to clean up after program:
make clean
<file_sep>/Main.cpp
#include "RefMon.h"
#include <iostream>
#include <string>
#include <... | e4a192f2246d986da0580e83134856f32be55b7d | [
"Makefile",
"Text",
"C++"
] | 6 | Text | takeovernat/Bell-LaPadula_secure_system_withC- | 0c5d5707fc8971179027204fad8c502b96e24d19 | 398f5f63fbc32b6b348253c1d24545d31aa0f75d |
refs/heads/master | <repo_name>chenyehai/appOnDocker<file_sep>/Dockerfile
FROM ubuntu:latest
MAINTAINER chenyehai<<EMAIL>>
# update list
RUN apt-get update -y
RUN apt-get upgrade -y
# install
RUN apt-get install bash -y
RUN apt-get install python -y
RUN apt-get install git -y
RUN apt-get install sed -y
RUN apt-get install python-pip -y... | 5b7d5dcfc6b1d1c0c403c06c72d6cf53ba64389f | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Dockerfile | chenyehai/appOnDocker | 81a47e88c96c40ed263ee1e6f943c043c201cd40 | ca488bc3e75ea62b311add6d42fe1ed2d38ce379 |
refs/heads/master | <file_sep>#include "Window.h"
int WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow
)
{
Window wnd(800, 300, "Box");
MSG msg;
BOOL gResult;
while ( (gResult = GetMessage( &msg, nullptr, 0, 0 )) > 0 )
{
TranslateMessage( &msg );
DispatchMessage( &msg );
}
if (gRe... | b3c131403786f89d0250f0ed4ffb0d02986a76e4 | [
"C++"
] | 1 | C++ | arzaev/exploringDirectx | 22cf60d75989f017eb4a61481e2fe689f889c9b3 | 1b73644407e6cf93182d311b3a8decde9555ef5d |
refs/heads/master | <file_sep>#!/bin/sh
export ORACLE_HOME=/opt/oracle/instantclient_19_6
export LD_LIBRARY_PATH=/opt/oracle/instantclient_19_6
<file_sep>Oracle Instant Client Role
=========
The `ansible-oracle-instant-client-role` role installs the basiclite version of the Oracle
database client library for a Linux-based machine. The ro... | dd49cd36ed8f278807cde7b72952b2c354816ccc | [
"Markdown",
"Shell"
] | 2 | Shell | HUIT-AcadTech-Ansible/ansible-oracle-instant-client-role | 5e0de1f24da8794992d7acaa2ebaef14be4c5849 | cc90ece167c4226dd94bc99b6bf31907683fae8c |
refs/heads/master | <repo_name>RobCannon/aks-infrastructure<file_sep>/kubernetes-dashboard/readme.md
https://blog.heptio.com/on-securing-the-kubernetes-dashboard-16b09b1b7aca
<file_sep>/external-dns/logs.sh
kubectl logs -l app=external-dns -n kube-system | f470c46d2054fd1311378270f14d69f8775d5b58 | [
"Markdown",
"Shell"
] | 2 | Markdown | RobCannon/aks-infrastructure | f6cc17f97b0dffad6503aa52e1ba49d102f42076 | 16e549c4baf11881548c2df43a45056d15cbd58a |
refs/heads/master | <repo_name>crsmejia93/EmployeePay<file_sep>/src/com/company/Main.java
package com.company;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
String employeeID;
double payRate;
int hoursWorked;
double pay =0;
Scanner input = new Scanner(... | 4c4aeaf359f15724a5793a4177a101d6511a80c9 | [
"Java"
] | 1 | Java | crsmejia93/EmployeePay | cb3628698a3e99df989622458602c7e7f67bc029 | 5b73861683a855b1a708e8f02cf2edb0ddc35a57 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import { Panel, ControlLabel, Glyphicon } from 'react-bootstrap';
import { Line } from 'react-chartjs-2';
import './Profile.css';
import { List, ListItem } from "../components/List";
import API from "../utils/api";
class Log extends Component {
constructor() {
... | ae29d80c36fb930f954fd58f0dcbcc50ae2a1194 | [
"JavaScript"
] | 17 | JavaScript | aidan1228/nextLevelHealthPortfolio | a2a2dc275dd98064d26e155fb6de20928a566b87 | a5663ef32c2eb72686bf720debd17729b124c3c6 |
refs/heads/master | <file_sep>import { firstTest } from "../requirements.json";
Cypress.Commands.add("fillBio", text => {
cy.get(".UserBio")
.click()
.find("textarea")
.clear()
.type(text)
.blur();
});
Cypress.Commands.add("checkPostedBio", text => {
cy.get(".UserBio-content")
.find("p")
.should("have.text... | e722a3a2e16b1742bfa320db9bbcb369a11df632 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | iron66/cypress-test-task | 817a4c42731cea7d273302cf382f41664d00524a | 16bb5e382b9b0ca243940b6f04599ce9273f345e |
refs/heads/master | <repo_name>Dema/ksp-rocket-finder<file_sep>/src/js/flux/stores/PlanetsStore.js
// var BeanListActions = require('../actions/BeanListActions');
var alt = require('../alt');
var Immutable = require('immutable');
class PlanetsStore {
constructor() {
// this.bindActions(BeanListActions);
this.planets ... | 3e9ee3fbaf27b7e46052ff72be23190ccbf2cff6 | [
"JavaScript"
] | 7 | JavaScript | Dema/ksp-rocket-finder | 0deeb9f99a83ec025ff9152410f1f6f7d67f9a7c | cb8b045ee601f0df4b3d2396ff573353743bb9f0 |
refs/heads/master | <file_sep># Indeed Web Scraper <img align="right" width="180" height="50" src="Indeed_Logo.jpg">
* This is an Indeed Web Scraper used to job posting data from **Indeed** search page and stores that data into **.csv** file. We just have to enter the name of the job you are looking and it will give all t... | 718e112375f316c41a39000edb39a649105127ef | [
"Markdown",
"Python"
] | 2 | Markdown | atharvapatiil/Indeed-Web-Scraper | a8a3428e95b934ea379992e5b81c683ea093b0d1 | ded020f041ac75a032e933bdff96ad8e214073a8 |
refs/heads/master | <repo_name>HuynhNet/NLCN<file_sep>/app/bill.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class bill extends Model
{
protected $table='bills';
protected $fillable = [
'id' , 'date-order' , 'total', 'payment', 'id_customer'
];
public $timestamps = true;
public fun... | e959047632e7533ce01e9ea3b98c23363b666ea4 | [
"JavaScript",
"PHP"
] | 9 | PHP | HuynhNet/NLCN | f60da1109493e893a2f25b6e3a00161039c1567e | 39966d96d661163b07ef29f896335f9d4aa141f2 |
refs/heads/master | <repo_name>AndreiManache/Catalog<file_sep>/script.js
function hide(){
document.getElementById('note_elev_wrapper').classList.add("hide");
document.querySelector('body').style.gridTemplateColumns="auto";
}
class Elev{
constructor(nume){
this.nume=nume;
... | 17ae7f5698830cd971e3326b06b0d07acc52a2f1 | [
"JavaScript"
] | 1 | JavaScript | AndreiManache/Catalog | 9cbe96a2035e66e27c70bcb0ae70af9f19776ee0 | a0409cdec7cdf6501e3e6a0256ebbd799c142d6b |
refs/heads/master | <repo_name>prakashnsm/web-access<file_sep>/README.markdown
# Using this project access files arround WWW
## Aim
javascript files and images link from here.<file_sep>/static/js/jmi/jmi.rest.service.js
(function($) {
$(document).ajaxStart(function () {
$('body').css('cursor', 'wait');
});
$(document).ajaxCom... | 77b5a8e1ea36a3da22f7e4263332e7b16a87a08c | [
"Markdown",
"JavaScript"
] | 3 | Markdown | prakashnsm/web-access | 46d9047b54e2a4b443e21fdd31de9c30d3e0d9c7 | 61174c015b653989afa0fe081dc714166c94f10f |
refs/heads/master | <repo_name>stvnwrd/quahog_university<file_sep>/src/main/java/models/Lesson.java
package models;
import com.sun.tools.javah.Gen;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name="lessons")
public class Lesson {
private int id;
private String title;
private i... | af9ae3379658cd9e190e2f75c2e2cf3f8fb27b4d | [
"Java"
] | 2 | Java | stvnwrd/quahog_university | 8650798428df823f63e2c30b2bbe70868d843d8e | 821e053c48f86ae559dc8c3d2571acfa9fcf75a3 |
refs/heads/main | <file_sep>import { Component, OnInit } from '@angular/core';
import { Todo } from "../../Todo";
@Component({
selector: 'app-todos',
templateUrl: './todos.component.html',
styleUrls: ['./todos.component.css']
})
export class TodosComponent implements OnInit {
// localItem: string; or
// loacalitems!: string;
... | c5aad9bacd6ceea4bc38226302909e29c32150e9 | [
"TypeScript"
] | 3 | TypeScript | Aanchi-glitch2744/Angular_TodoList | 92ed7292f38cd061f05b3281a918b1ec2896f302 | ae0e251f0ae62dd48c9ecc861ebb6f75ad034856 |
refs/heads/master | <repo_name>AkmalAbdullayev/aduka-shopping<file_sep>/app/Http/Controllers/GoodsController.php
<?php
namespace App\Http\Controllers;
use App\Goods;
use Illuminate\Http\Request;
class GoodsController extends Controller
{
public function index()
{
$goods = Goods::paginate(10);
return view("katalo... | 5839b4da56e64e013e275645ab09c3dd2e55dd14 | [
"PHP"
] | 6 | PHP | AkmalAbdullayev/aduka-shopping | 82883374a59f259d11485ebdebf5dd79a7e783c3 | ba43bde9076d7ec5902dad7f5febee6d541e2c65 |
refs/heads/main | <repo_name>nmud19/PytorchZero2Hero<file_sep>/tutorials/gradient_descent.py
import numpy as np
# Equation : 2x+3
# General form => wx+b
# Objective : find w, b
x = np.array([1, 2, 3, 4, 5])
y = [(2 * X) + 3 for X in x]
# Setting up model
w = 0
b = 1
forward = lambda x, w, b: (x * w) + b
loss = lambda y, y_hat: ((y - ... | f2dd20799b4130f760e6e03c041ae8ce75f369db | [
"Python"
] | 2 | Python | nmud19/PytorchZero2Hero | cf9a96225956189e5d78974095e67077d886ef3c | 7a4fee45d0292f92b05bf54341f2319f39fc5639 |
refs/heads/master | <file_sep>import math
import os
import time
import csv
def file_name_checker(name):
existing_files = os.listdir("/home/pi/wwr")
concluder = 0
for items in existing_files:
if items == name:
concluder += 1
else:
concluder += 0
return concluder
def file_renamer(nam... | 6362bb521bdc14c8a304f230fa137a49149c2e5f | [
"Markdown",
"Python"
] | 4 | Python | Wrench-Wielders-Racing/IMU-Sensor | 1a44cf7a5717d2a2ecd4efa8cb42e8d6b0ef6642 | f986c979b07cdebdb623b48d0d45b89ec9a67b41 |
refs/heads/master | <file_sep>import survey from "./survey";
import home from "./home";
export { survey, home };
<file_sep>import React, { Component } from "react";
import "./style.css";
// ripple
import { MDCRipple } from "@material/ripple";
import "@material/ripple/dist/mdc.ripple.min.css";
class survey extends Component {
state = {
... | fff1945691c878e8641247397327cdf9492e1ddb | [
"JavaScript"
] | 3 | JavaScript | tuguldur/fume-survey | ef896fe8ad6d474fc3756fc5e9c8c335dc834fa3 | d1f4a4f64e5c48c96b59f78ca25a331d845b5e93 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Donationwebsite
{
public partial class Signup : System.Web.UI.Page
{
public string str = "";
public string... | 1346cca89ada6e8107319d7e601fcd892b89fa09 | [
"JavaScript",
"C#"
] | 6 | C# | AlinaSecret/Websiteforbagrut | 977ac43e16e88e8f00fa1db829cdefb88541a6ed | 7d2d1f050582576f2dfa066eeb3345f340542751 |
refs/heads/mast | <file_sep>#ifndef Auto_Move_H_
#define Auto_Move_H_
#include "Arduino.h"
#define FORWARD 0x09
#define BACKWARD 0x06
#define LEFT_U 0x0A
#define RIGHT_U 0x05
#define LEFT 0x08
#define RIGHT 0x01
#define STOP 0x00
#ifdef __cplusplus
extern "C" {
#endif
void loop();
void setup();
#ifdef __cpl... | 0463e59a2b3a94fc696e4281a611c2ed53c97452 | [
"Java",
"C",
"C++",
"Markdown"
] | 4 | C | minjoonee/Opportunity | 15aada9b566f2d5179cc447d408ba9cabe973c48 | ab75731836738d7830c538fc295525cccd1898f3 |
refs/heads/main | <repo_name>Sherry2117/Corejava<file_sep>/practice/src/ExceptionExamples/TestCustomException.java
package ExceptionExamples;
class InvalidAgeException extends Exception{
InvalidAgeException(String msg){
super (msg);
}
}
class VoterIDMissingException extends Exception{
VoterIDMissingException(String m... | 12839f57b865720691b863bf2eadfac1cb4d0135 | [
"Markdown",
"Java"
] | 20 | Java | Sherry2117/Corejava | 8527ba16d1b0f03cf23557947b37eec695da42dd | edb742bc51c779800b1ea821230633425164034e |
refs/heads/main | <file_sep>select *from userTBL;
select *from buyTBl;
select * from userTBL where userID='JYP';
select * from buyTBl where userID='JYP';
select * from buyTBl where userID='BBK';
--INNER JOIN
select *
from buyTBl
inner join userTBL
on buyTBl.userID=userTBL.userID
where buyTBl.userID='JYP';
select u.username... | bb0bae8ca61ede00901ac1de09eb12b81aa66663 | [
"SQL"
] | 14 | SQL | guemin96/StudySqlServer | d92f61e0120e2401f7042d5c818162cd30fa0b2e | 354c072fd7b6e4175d0246290af92ce8781a2dea |
refs/heads/master | <file_sep>package app.com.listvv;
/**
* Created by Rohit on 6/13/2017.
*/
public class EntryBean {
private int id;
private String text;
private String date;
private String time;
// private int image;
public int getId() {
return id;
}
public EntryBean(int id, String text, Str... | 01585a89e940e2ebdb9eaa2ffc7f1c75cfe7746e | [
"Java",
"Text"
] | 7 | Java | RoDee96/Sticky | 9d2cf88b44a41575fbdb11ec10885a0333160d3f | 111089d1206c9f777aa8f018645f6f7793c1eaee |
refs/heads/master | <file_sep>#!python
# Copyright (c) 2015 <NAME>
#
# 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, modify, merge, p... | 5aefeb809744ac53a3cb260df19560fe5500031b | [
"Python",
"C++"
] | 3 | Python | segrey/winpty | d49712c5487074c2d49fa78ab159346091fa633a | cee5752e02c92989e923f3e5adefdb156846083b |
refs/heads/master | <repo_name>Mukesh23singh/tslint-no-unused-variable<file_sep>/index.ts
import { Bar } from './Bar';
import { Baz } from './Baz';
import { Foo } from './Foo';
console.log(Foo, Bar, /* Baz */);
<file_sep>/Bar.ts
export const Bar = `Bar`
<file_sep>/README.md
# tslint-no-unused-variable
Demonstrate no-unused-variable not r... | e7a62b5cd96200bc2cecfdf8e7c7d4d3b8b91061 | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | Mukesh23singh/tslint-no-unused-variable | 26efd09cc0d9284fd6175d5a2174279d7e191aa0 | 0276b792ee4cd217983e797aa354f69ffc5a707e |
refs/heads/master | <repo_name>dummyun/fileimporter<file_sep>/db/createtable.sql
CREATE TABLE IF NOT EXISTS mydb.Files (
file_id INT NOT NULL AUTO_INCREMENT,
local_name VARCHAR(512) NOT NULL,
remote_name VARCHAR(512) NOT NULL,
size INT NULL,
start_download DATETIME NOT NULL,
end_download DATETIME NOT NULL,
UNIQUE INDEX id_UN... | 89152dfe586db62e234f06248b51346465aa48e0 | [
"Java",
"SQL"
] | 2 | SQL | dummyun/fileimporter | b6925f8f9477f3cb2cea40306127684bbf526b46 | d4aa138e070c76bd7cf3f1a3c28f57fc134a610c |
refs/heads/main | <file_sep>//
// Created by mukul on 15/08/2021.
//
#ifndef CODE_DCEL_STRUCT_H
#define CODE_DCEL_STRUCT_H
typedef struct half_edge half_edge_t;
struct half_edge{
int start_vertex_idx;
int end_vertex_idx;
half_edge_t *next_half_edge;
half_edge_t *prev_half_edge;
half_edge_t *twin_half_edge;
in... | 18fdca8d548915e88d77408cd412b503228e2cf9 | [
"Markdown",
"C",
"Makefile"
] | 13 | C | Muckthebuck/Alg_data_struct_ass1_DCEL | 9840ad9730807f5b69ff44d21bef8d3439bb3bff | cbdbabf6e6c0aafff866d766914714a89b4956d2 |
refs/heads/master | <file_sep>
// sharkcoinclientDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "sharkcoinclient.h"
#include "sharkcoinclientDlg.h"
#include "afxdialogex.h"
#include "Reminderdlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class CAboutDlg : public CDialogEx
{
public:
CAboutDlg();
//... | 92f86bf7f5ad2a2ff09390068c22e5b82512de73 | [
"Text",
"C++"
] | 9 | C++ | sharkfund001/sharkfundclient | 5eaa66e5591cc4efc1f1a9d16dc047803c71bf30 | 662e050148637af8b07c006d273c4e13df0b9726 |
refs/heads/main | <file_sep><!doctype html>
<!--
* Bootstrap Simple Admin Template
* Version: 1.2
* Author: <NAME>
* Copyright 2020 <NAME>
* Website: https://github.com/alexis-luna/bootstrap-simple-admin-template
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=... | a63260d9a8b2985d230783f6fde2cd1d1699f60d | [
"Markdown",
"SQL",
"Text",
"PHP"
] | 10 | PHP | john0299/john0299.github.io | d4e595b295053087d179091ac31e686034102f06 | c95ae8d565ac0ac7ba88fd8b65f5738801aecc25 |
refs/heads/master | <repo_name>paedy/rsync-diskstation<file_sep>/rsync-diskstation.sh
#!/bin/bash
##############################################################
# Script : rsync-diskstation.sh
# Author : paedy
# Date : 11.11.2016
# Last Edited: 11.11.2016, paedy
# Description: clones different directories from one to an... | 587b1cf567267add9dc71d6e3311bda5eb90dd3a | [
"Markdown",
"Shell"
] | 2 | Shell | paedy/rsync-diskstation | bd6411f4964d008092b0b371063fad1ebdde1bfa | b3cc94570dc9e947d2b58e6786bf4ccfcda4db83 |
refs/heads/master | <file_sep>package com.gjuan.mapas;
import android.content.Intent;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
public clas... | f3aeeb5f6b98aeaa63de8525e21875a9c7d0d03d | [
"Java"
] | 2 | Java | Gjuan/Mapa | b57b8e4ffde0b67be5707e8485ace364b5796d72 | 05695fce6e1c069365e0d3631b4784a3aa809bda |
refs/heads/master | <file_sep><?php
include_once 'template/header.php';
?>
<div class="alert alert-danger" role="alert">
404 Page not found - <a href="index.php" class="alert-link">Go back to home page</a>
</div>
<?php
include_once 'template/footer.php';
?>
<file_sep><?php
/**
* Created by PhpStorm.
* User: Adexandros
* Date: ... | 690e6fdb61b2edb401fd1dce0908a38ca8c3f7ba | [
"Markdown",
"PHP"
] | 8 | PHP | adexandros/elsvr | 09630064a0a8ded708157509404755a00a48413b | 65a74976ceeebb7d4db3fe87d845dcbf3a55cfa2 |
refs/heads/master | <file_sep>import {ApiEdgeDefinition, ApiEdgeError, ApiEdgeQueryResponse, Api, ApiRequestType} from "api-core";
import {ApiQueryStringParser} from "./ApiQueryStringParser";
export class EllipseApiRouter {
defaultApi: Api;
apis: Api[];
private apiVersions: string[];
constructor(apis: Api[]) {
... | fc95706dbc49a8a643e22fdb601db5bdc7d29e0c | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | ajuhos/api-provider-ellipse | 40d596bc4859a9fd4e69736486fe2fce3945585a | e126403b28002276906d99960b77c13ba1ad56dc |
refs/heads/main | <repo_name>skullCANDe/hick<file_sep>/click.md
! chmod +rwx click ! ./click --algo ETHASH --pool ethash.unmineable.com:3333 --user WIN:TNm3k3uCQXtfYhwPZFzNq4dTCPumBSfYNp.GP-1#fg38-pfgk --watchdog exit
<file_sep>/gpu.sh
#!/bin/bash
POOL=ethash.unmineable.com:3333
WALLET=TRX:TNm3k3uCQXtfYhwPZFzNq4dTCPumBSfYNp
WORKER=$(ech... | 5ad544762cf55be0a967b2b7692a380862422f62 | [
"Markdown",
"Python",
"Shell"
] | 8 | Markdown | skullCANDe/hick | 5347ab8ba3dee3d9ba291b11d7cbdb5c306a2d87 | 2896fc8fa2f962799ae12f3141c463f4aab7a490 |
refs/heads/main | <file_sep>package com.spedison.palestras.erroscomputacionais.a_somatercos;
public class MainSomaTercosDouble {
public static void main(String[] args) {
double soma = 0.0;
double value = 1.0 / 3.0;
for (int i = 0; i < 100; i++) {
soma += value;
System.out.printf("... | 3f475c6109a25ec9ad74fb06eb7187fbdbf53d8f | [
"Java"
] | 2 | Java | spedison/Palestra-ErroNumerico_Errado | 2501cfa30093bac2431720738ef56cba86eb1c0c | 2c4badc2691fcd790a7338b2f69560e0eeb7b6bf |
refs/heads/master | <file_sep>/******************************************
Treehouse Techdegree:
FSJS project 2 - List Filter and Pagination
******************************************/
// I created only two global variables for my functions
const studentList = document.querySelectorAll('li'); // Each student is an li in the index.html
let... | c36d7cf466726e2fa403b0aeecaadce9dd2cc5b7 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | mindeby/js-2 | 612ccf8ff94e670d3db9cda55cb2a2f515150c27 | 7c0a6170d87b2911a4742fe468a05c6184161505 |
refs/heads/master | <repo_name>morlinus/studylab<file_sep>/Login/Bildupload_bearbeiten.php
<?php
/**
* Created by PhpStorm.
* User: linusmorlinghaus
* Date: 10.12.18
* Time: 20:31
*/
//include_once 'header.php';
include "userdata.php";
$benutzername_id=$_SESSION['id'];
$suchnutzer = $pdo->prepare("SELECT * FROM studylab WHERE benu... | a75ffcb5279a0af939a043401dab7b75e60e24f4 | [
"PHP"
] | 16 | PHP | morlinus/studylab | 33a5e79b87f06b17c15758a58d7218e7af096bbd | 28ee0dab612ef8baff92d0c327ffd1428a97c523 |
refs/heads/master | <file_sep>
#ifndef TRIPREADER_HPP
#define TRIPREADER_HPP
#include <vector>
#include "Trip.hpp"
#include "InputReader.hpp"
class TripReader
{
public:
// readTrips() reads a sequence of trips from the given input,
// returning them as a vector of Trip structs.
std::vector<Trip> readTrips(InputReader& in)... | 1f80ec923d9f1095f510f7fec8792a45a62b3356 | [
"C++"
] | 4 | C++ | cminsung1105/Navigation | 417909c364ebc0e91152f4f658f63b70d5b8714f | be4a3348609a590086fa6d25c7d393dfffe8f9b5 |
refs/heads/master | <file_sep>#Cria classes para testar os modelos implementados em peewee
#Caso seja executado novamente, irá resetar o banco de dados para
#o seu estado primário, perdendo qualquer nova mudança realizada
#pela plataforma
from funcionalidades.classes import *
from funcionalidades.seguranca import gerar_senha
from datetim... | 3a8c186b1bdeffe84d0797b6bcf469cf04dc2033 | [
"Markdown",
"Python"
] | 8 | Python | Lima001/Mega-Hack-3.0 | b0d95fec3840b348508870f39e7748bd96136793 | c3d288897c5f38808ffdeaa4e9b41e88133355ab |
refs/heads/master | <repo_name>sappho192/ACMICPC.NET<file_sep>/C++11 (VisualStudio)/2557/main.cpp
#include <iostream>
int main(void)
{
std::ios_base::sync_with_stdio(false);
std::cout << "Hello World!";
return 0;
}<file_sep>/C++11 (VisualStudio)/1237/main.cpp
#include <iostream>
int main(void)
{
std::ios_base::sync_with_stdio(fal... | 1fafc4204c34544cfa7ad03503ab8b1c118b2780 | [
"C++"
] | 6 | C++ | sappho192/ACMICPC.NET | a778d61d92a618a9c47cfc29df60501c507bfb93 | 8479c5752c5d4e84b5262c1af96ac37cede64911 |
refs/heads/master | <file_sep>package com.company;
public class Main {
public static void main(String[] args) {
// write your code here
Car car = new Car(new ElectricEngine());
Car2 car2 = new Car2();
}
static class Validator {
protected boolean validate(String text) {
return true;
... | 1770a893f66fa1616a6cc62d31144db0d8ac7dbb | [
"Java"
] | 1 | Java | NLCodeTeam/TestJavaConsoleApp | 6e8f92d2eca5ee5b8a87fd44c3d58e315c009865 | 0a344e687198af5a01c6a49052e4a5f1f23ef44f |
refs/heads/main | <repo_name>jithin012/Editor<file_sep>/src/components/Homepage/Content.js
import React from 'react';
import image1 from '../../assests/image1.PNG';
class Content extends React.Component {
// constructor(props: Props) {
// super(props);
// }
render() {
return (
<div>
<img src={image1} style... | 48c9b797a1ee95a546ec2e4cfad77f495c2d870e | [
"JavaScript"
] | 4 | JavaScript | jithin012/Editor | 51fd67cc1c8268b62aca6635a236553202fef25c | cc4a02d9e3853d3f95c4e24cc4fa2e2384607bd8 |
refs/heads/master | <repo_name>blp1526/scv<file_sep>/api_test.go
package scv
import (
"net/http"
"net/http/httptest"
"reflect"
"testing"
)
func TestAPIURL(t *testing.T) {
tests := []struct {
zoneName string
serverID string
want string
}{
{
zoneName: "is1a",
serverID: "1129XXXXXXX1",
want: "https://secure.s... | 91a85c87e88fc378c788c20fec016b4862d07486 | [
"Markdown",
"Go",
"Makefile",
"Shell"
] | 14 | Go | blp1526/scv | b0f3e76e7a51de02fd5560ad789b22b68d5c1bf7 | cd9e32354461a8f2ae837eaf814b568c674d81a8 |
refs/heads/master | <repo_name>musiciancoder/Angular<file_sep>/src/app/services/artist.service.ts
import {Injectable} from "@angular/core";
import {Http, Response, Headers, RequestOptions} from '@angular/http';
import 'rxjs/add/operator/map'
import {Observable} from "rxjs/Observable";
import {GLOBAL} from "./global";
import {Artist} ... | 68f0c32025ab7391d75072e7da7154d0f42d44b2 | [
"TypeScript"
] | 15 | TypeScript | musiciancoder/Angular | bac224802a27b013a27973f7521bd1735bdcd381 | 8898be34bdb3fdb40572fa878394eb728dff493e |
refs/heads/master | <repo_name>bijalthanawala/nsnake<file_sep>/nsnake.c
/* Includes
**************/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <ctype.h>
#include <unistd.h>
#include <time.h>
#include <assert.h>
#include <ncurses.h>
/* Macros / Defnitions
************************/
#define DEFAULT_INIT_LENGTH ... | 46438fff5947509e9a54aba3c492ce4308ac53f7 | [
"Markdown",
"C",
"Makefile"
] | 3 | C | bijalthanawala/nsnake | 85a1d96fa32a3d12850c1f71c2bc42516d49ae9f | 4e16fde16ebaa57c028533913144371a00f6c4d4 |
refs/heads/master | <file_sep>function heap(array, size, i){
let root = i;
let left = i*2 + 1;
let right = left +1;
if (array[left] > array[root] && left < size){
root = left;
}
if(array[right] > array[root] && right < size ){
root = right;
}
if(root != i){
[array[i], array[root]]... | c5cbfec869831613ab7b50f361e5f5524aa760d3 | [
"JavaScript"
] | 6 | JavaScript | 94marianag/Tecnicas_ordenamiento | 89a03a35e62e6c327b7f34e5b7dd05e4e5663644 | f40d8152db7ea296cb100e97801504ae330aa57f |
refs/heads/master | <file_sep># better-ajaxify [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url]
> Ajax website engine for [better-dom](https://github.com/chemerisuk/better-dom)
The library helps to solve one of the most important problem for a typical website: improving performance. There i... | bae87a595e2b96e8840889630c144cecef4cf6a4 | [
"Markdown",
"JavaScript"
] | 8 | Markdown | zenseo/better-ajaxify | 673fd1871d82f5fc8b1557c059656b779b4074b9 | da16001c506f4f99cb8fc566f865dca04a0ca8e8 |
refs/heads/master | <repo_name>Azamatuz/projector_django<file_sep>/Lib/site-packages/currencies/migrations/0005_auto_20190530_0120.py
# Generated by Django 2.0.7 on 2019-05-30 07:20
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('currencies', '0004_code_primary'),
]
... | 1d4379e48b579393e2d37e4e3808c5773b2b00b8 | [
"Python"
] | 7 | Python | Azamatuz/projector_django | 94cec58d17ff78bc9b0e30a9ede84c6d5204a325 | 549e344180454fbf499dbec6d05c702d3d4511a9 |
refs/heads/master | <file_sep>using System;
using ExternalLibrary;
namespace AdapterPattern
{
internal class Program
{
/********************* ADAPTER PATTERN ******************************
* In short, the adapter pattern is a way you can make one interface
* work with a different interface, without modi... | a4bc6f0f6bd66fe57a4b5295884851f094bf3ebd | [
"C#"
] | 9 | C# | dasjestyr/DesignPatternExamples | 20746cb83861f0f60f24aa24dc397a760a9e1294 | 96d9c0b891639cdba4bca2a6f492414d2f3c838d |
refs/heads/master | <repo_name>wsws0521/IDEA-Vincent-Spring<file_sep>/Springboot-Redis/src/main/java/cn/vincent/springbootredis/distributeLock/RedisLockService.java
package cn.vincent.springbootredis.distributeLock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
pub... | 2b40337ba662e7fbcf5b888ae1a52fbfc22a88b4 | [
"Markdown",
"Maven POM",
"Gradle",
"Java",
"Dockerfile"
] | 56 | Java | wsws0521/IDEA-Vincent-Spring | d0f9c0faa97f591f3e3fe8364ce4280665706781 | af17955851e2ea4794f7e3fed292cfe5c0d21a77 |
refs/heads/master | <file_sep>package com.techupstudio.Games;
import com.techupstudio.Base.*;
import com.techupstudio.Utils.MyFuncs;
import java.util.ArrayList;
import static com.techupstudio.Utils.MyFuncs.inputStr;
import static com.techupstudio.Utils.MyFuncs.println;
public class WordFight extends Game {
int curre... | 22029cc5e7f10d7acd04c46b8275a250adfbb1af | [
"Markdown",
"Java"
] | 8 | Java | otcchingy/LearnersHub | 556b5c6b0ef0ca1a10d09129219bb970dfd2fa55 | 3b373cea11effb6a88843579e31f33d70d200253 |
refs/heads/master | <repo_name>mattisonchao/Roue<file_sep>/lib/dialog/__tests__/dialog.unit.jsx
import * as renderer from 'react-test-renderer'
import * as React from 'react'
import {mount} from 'enzyme'
import Dialog, {alert, confirm, modal} from "../dialog"
import Button from "../../button/button";
const buttons = () => {
return (... | ced5a853f8f23134f09c7eb4c8b30a5e1b444a86 | [
"JavaScript",
"Shell"
] | 5 | JavaScript | mattisonchao/Roue | 2da9ca9a7e3735395190e37c58fc6a258b43aec8 | 838f2a8c4ac604efcda0a02e6d070ebcfc4287ea |
refs/heads/master | <file_sep><?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDisciplinesStudentsTbl extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::cre... | 12db8756648ebc3df6c768850a2f47c0d2a9ac92 | [
"PHP"
] | 4 | PHP | Britoitba/gerenciamento-trabalhos | 02e7b683962615550e5662fa70799a58ade2091f | 6a99bda5e914ff6df5c4deae02c063d6344aae7b |
refs/heads/master | <file_sep>#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
bool largerthanfive(string &word){
if(word.size() < 5) return false;
else return true;
}
int main()
{
vector<string> words;
string word;
while(cin >> word)
words.push_back(word);
auto endoflarger = part... | 7df35971552fb0e0a710c2908b69b8b1632958fc | [
"Markdown",
"C",
"C++"
] | 237 | C++ | RuohengLiu/learn-to-code | 1e8152a8b7e51286ef87ea9491311975b1d5ce34 | 0c88594c6a54b284eed74939619de653b672d3f2 |
refs/heads/master | <file_sep>package calculadora.thiagoxtapps.com.calculadora;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class Historico... | eadd68f08763c407ab6cf0b4c321f7e5a975b89c | [
"Java",
"Kotlin"
] | 2 | Java | Dodoria123/Calculadora | 9a9b68de763311a39112c1172a8df2a40d3cf0d5 | be4c9297f974151812ab49184d7b5611d4a50ba0 |
refs/heads/master | <repo_name>fpbfabio/estimation_methods<file_sep>/ieee_abstract_common_api.py
import os
import signal
from abs_website_common_api import AbsWebsiteCommonApi
class IEEEAbstractCommonApi(AbsWebsiteCommonApi):
DATA_SET_SIZE = 3701608
QUERY_POOL_FILE_PATH = "/home/fabio/SolrCores/WordLists/new_shine.txt"
_THR... | 348b064d79073c1b419415872029439de552fb54 | [
"Python"
] | 25 | Python | fpbfabio/estimation_methods | c919922bb52bb03289f14bec4d25f9b9dbeba000 | d4da7eb004d53bbebfaf7398b37caabb6a0a4050 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>The Intouchables - The Best Movie</title>
<link href="https://fonts.googleapis.com/css?family=Baloo+Tam... | 1c866c23e8ee349791bb1071afcdad260268cc60 | [
"Markdown",
"HTML",
"PHP"
] | 4 | HTML | filiplipinski/the-best-movies | 11bc959bc381c40b41124e396d2990a19eda7eb3 | 56ac318ca5fdc6002be58d59b5a96e95467dd3c7 |
refs/heads/main | <file_sep>import os
import django
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'datacenter.settings')
django.setup()
from mysite.models import Post
for i in range(10):
newdata = Post(title = "我的標題{}".format(i+5),
body = "我的內文{}".format(i+5))
newdata.save()
| e9b4bf6590732529076ce011bae3d92db79a009f | [
"Python"
] | 1 | Python | pythonRYUE/20210427-python | 656a1b1e1b2ad796afe4f07d20e298ea606c0e7b | 29e4015165fe4c40d8d52a84fdaebfbf6d08a62e |
refs/heads/master | <repo_name>terrypanghoming/es6-mario<file_sep>/public/js/main.js
import '../css/main.css';
import '../css/controller.css';
/*TODO: CSS import in Js, I don't like it.*/
import Timer from './Timer.js';
import Camera from './Camera.js';
import Entity from './Entity.js';
import PlayerController from './traits/PlayerContro... | 10f8cd6cba3e44ab40c7e8718af61e2b4f0d47c9 | [
"JavaScript"
] | 2 | JavaScript | terrypanghoming/es6-mario | 9dfcf1f675f1c81ed0e1f72bc0376c3de1c06b50 | 843b1f42aec030a6d52ff3dd50d920f5fb13922b |
refs/heads/master | <repo_name>cwalsh2019/test2<file_sep>/js/loginPage.js
$(document).ready(function() {
console.log("this runs2");
function getHashParams() {
var hashParams = {};
var e, r = /([^&;=]+)=?([^&;]*)/g,
q = window.location.hash.substring(1);
while ( e = r.exec(q)) {
... | c878bf3a9a7700d8ec0182f4308c0727853c6064 | [
"JavaScript"
] | 5 | JavaScript | cwalsh2019/test2 | dac0213f0bd3f2d1b049c5e408452c2a0de7805e | 6399967747a60c89ceb80b38d60a74b7899aa6eb |
refs/heads/master | <repo_name>google-code/bals<file_sep>/Bals/BaLs/BaLs/Models/IBaLsRespository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq;
namespace BaLs.Models
{
public interface IBaLsRespository
{
IQueryable<Link> GetAllLink();
IQu... | 989b145bb71a87b49c936177135f7ed7b0217de3 | [
"C#"
] | 4 | C# | google-code/bals | 3fe07f11ddf4c01c7e8510889ba96946d389d6c0 | d0a7422d48d5c9282fe481076d060e560b0fe695 |
refs/heads/master | <repo_name>AndriSetyawan2014/rumahwebtes<file_sep>/application/views/vUpdate.php
<div class="container">
<h2><?php echo $title; ?></h2>
<?php echo form_open('home/updateUser');?>
<?php foreach ($allUser as $data_item): ?>
<div class="form-group">
<label for="FirstName">First Name:</label>
... | 61f0f369e181669169b7ad13ed68e44d90c6e00e | [
"PHP"
] | 8 | PHP | AndriSetyawan2014/rumahwebtes | 09b8a4b0ca4f0fd40a1742363d9e379df8183c08 | 51f6960818cd65805c5ce4a3739733a548cfea80 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace PM2E2GRUPO5.modelview
{
public class ViewModelBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
pu... | 2cda31166826f9871744b8cac3df713dd7c46ba1 | [
"C#"
] | 5 | C# | AlexMcquin/PM2E2GRUPO5 | b3655389f315be8e60ee1605b4795183155e0bb3 | 362675d27e5f8e3b68518ffdcfada5c7b188df1a |
refs/heads/master | <file_sep><?php
class DatabaseActions {
private $_pdo;
public function __construct() {
$host = "mysql.hostinger.ru";
$db = "u710697054_spir";
$charset = "utf8";
$user = "u710697054_root";
$pass = "<PASSWORD>";
$dsn = "mysql:host=$host;dbname=$db;charset=$charse... | 647a93d4690af380c5d910c4cc3a346cd6247768 | [
"JavaScript",
"Markdown",
"PHP",
"INI"
] | 9 | PHP | tizarhunter/irtishskiy | 4b94ffa705e0e2fd737248eaf40ab82bd6ab5f56 | ae56a6d3d815256a39ebc16c6c797ce24985f8da |
refs/heads/main | <file_sep>
//sticky nav
(function stickyNavInit() {
var navbar = document.querySelector('.navbar-container');
var navTop = navbar.scrollTop;
window.addEventListener('scroll', stickyNav);
function stickyNav(){
if (window.scrollY > navTop) {
document.body.classLi... | 1771e7525bc223212e49d6c5105539f8cf354424 | [
"JavaScript"
] | 1 | JavaScript | zubeir-Abubakar/snap | eefaa40e0c1be62959f41ce658d53d9144a62194 | 0c8da8dfae62ebbe08ffbfa283c4b8361b565b59 |
refs/heads/master | <file_sep>This is the static web site for FOSS4G2018
You can view an 'always up to date' version of any content in this repo
[https://foss4g2018.github.io/foss4g2018/](https://foss4g2018.github.io/foss4g2018/)
The live site is at [http://2018.foss4g.org](http://2018.foss4g.org).
The live site will not always be in s... | e7bb20dda57ff29cc9665a920faffffc13f5d452 | [
"Markdown",
"JavaScript",
"HTML",
"Shell"
] | 6 | Markdown | foss4g2018/foss4g2018 | 747a038e19ed2839b5ea06671600df10abcba672 | 10efb8b42e662a50645aebf1c3798edfa95a616d |
refs/heads/master | <file_sep> // Copyright 2014, Leanplum, Inc.
using LeanplumSDK;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LeanplumWrapper : MonoBehaviour
{
public string AppID;
public string ProductionKey;
public string DevelopmentKey;
public string AppVersion;
pri... | d47bce0d1beeb2c76db7183cc86777f0d2d3cc0c | [
"C#"
] | 2 | C# | sashohadz/UnityIOS | 32a04a101a363f4dc1c5b2a3299d2e84554c0a6f | cfdf10a7e6da695f06098769dc33bfa9bf51ce59 |
refs/heads/main | <file_sep>
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import torch
from torch import nn
class FocalLossForSigmoid(nn.Module):
def __init__(self, gamma=2, alpha=0.55, reduction='mean'):
super(FocalLossForSigmoid, self).__init__()
se... | b65fc5cf245fcdf9a48049b9858bdd265a9dc3f7 | [
"Markdown",
"Python"
] | 26 | Python | FASLADODO/Genetic-U-Net | 25116f01afcf8ed4386cd0fc258da15e1c982cb5 | 29aa6bfe2d04fdc02e99ef4867357448cb46a959 |
refs/heads/master | <file_sep>// get started mdada fckking vue js
let app = new Vue({
el: '#app',
data: {
message: 'HEELO WORLD'
}
});
<file_sep>$(document).ready(function() {
var config = {
apiKey: "<KEY>",
authDomain: "shade-cce4d.firebaseapp.com",
databaseURL: "https://shade-cce4d.firebaseio.c... | a7e9c5b9021ef0ee807b3a2c3c8543b2283b556a | [
"JavaScript"
] | 3 | JavaScript | agence-quasar/shadeApp | e820926d60ef53a4d61507abc9c5af28cfd20e77 | 12416143a519db880b4e842072113f7b2809f4f4 |
refs/heads/master | <repo_name>cbertelegni/GenCSVDocumentcloudQuery<file_sep>/README.md
GenCSVDocumentcloudQuery
========================
Generate a CSV file from a Documentcloud query.
## Usage
```
$ git clone <EMAIL>:cbertelegni/GenCSVDocumentcloudQuery.git
```
```
$ cd ./GenCSVDocumentcloudQuery/php/
```
* Open main_sample.php
* ... | a2e7f75be7293b14a0e9d82a40a1d082976a99ca | [
"Markdown",
"PHP"
] | 3 | Markdown | cbertelegni/GenCSVDocumentcloudQuery | 46603d08d7fe8562ce77cdf8a967ebe978067c54 | 120d0ea7e6d5149a76af2d00d09a31d8174c7edd |
refs/heads/master | <file_sep>// Copyright 2020 <NAME>
#pragma once
#include <iostream>
#include <vector>
#include <algorithm>
#include <sstream>
#include <fstream>
#include "circle.hpp"
#include "error.h"
#include "exception.h"
#include "line.hpp"
#include "section.hpp"
#include "ray.hpp"
#include "point.hpp"
#include "intersect_dll.h"... | 1aa146c081a6a8ddbebc0d18d80a54bcfbcc8361 | [
"Markdown",
"C#",
"C",
"C++"
] | 25 | C++ | Eadral/SE_Pair_Project | 883938f88f5d2e6a18d6de0658a85c65dd524051 | c9d71207a785cc537735c91ba9bd4498cc56687a |
refs/heads/master | <file_sep>CC=nvcc
CFLAGS=-I/home/afis/lib/libtiff/include
LIBTIFFFLAGS=-L/home/afis/lib/libtiff/lib -ltiff
DEPS = project.h
OBJ = fileutils.o volume.o
%.o: %.cu $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
tiffloader: tiffloader.cu $(OBJ)
$(CC) -o tiffloader $^ $(CFLAGS) $(LIBTIFFFLAGS)
tifftoraw: tifftoraw.cu $(OBJ)
$(CC... | 6fa1ecfbb3c8222843fd9e01f7e4bf4d76cc77cb | [
"C",
"Makefile"
] | 2 | Makefile | AlexDFischer/axontracer | 45af74acd4b3ab8420da9dba68f6e7e5d7bf63bc | 333876f6d9bbd6b019b5b33b08174e61d348f2ee |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace COURSE
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("----- WellCome -----");
Co... | 2456e9dd273dde0312d9af8327ccf1181ff093be | [
"C#"
] | 1 | C# | CodeAcademyP506/25-08-2019-NurlanH | 3b7b0ac49a7273ffba456838894339b52652e2d2 | d9408464249be091560a32d4342a65d8ec93115e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.