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>hypernova-studios/ShantyJam4<file_sep>/UnityProject/Assets/Scripts/BreadControll.cs
๏ปฟusing System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BreadControll : MonoBehaviour
{
public GameObject p;
// Start is called before the first frame update
void St... | 8be8c5acee98cb53e5a8f7f54042a8d6d07d9615 | [
"C#"
] | 6 | C# | hypernova-studios/ShantyJam4 | 1981f349dd5cf04304ee52446aa40b8cb0de6968 | 6ad519670310e027684abee47623643e6bb9000d |
refs/heads/master | <file_sep>{% extends "base.html" %}
{% block title %}{{title}} - Online invest dictionary{% endblock %}
{% block dict %}
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/json/json-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/connection/connection... | 9ad33f1d55b8c0663d6cf63b9c0505ddb376fb64 | [
"Python",
"HTML"
] | 5 | HTML | walleleung/hedge-fund | eeeffb30a20635a8f1442c1d953537bf918a64da | ad5b470839b310a25050ff7bb3c07b46effbaecc |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
"""
Created on Fri Mar 22 18:16:57 2019
https://blog.naver.com/rickman2/221337023577
https://radimrehurek.com/gensim/wiki.html#latent-dirichlet-allocation
http://www.engear.net/wp/topic-modeling-gensimpython/
https://lovit.github.io/nlp/2018/09/27/pyldavis_lda/
@author: ad... | db8e3f168566c0fd859a9ee2a4e276c5b4d7c4b2 | [
"Python"
] | 1 | Python | sschoi2427/Korean_LDA_HDP | 87e31f65ad6d2cb8fb57918d61ce28c731feff6b | 0ff209b1913cad7ba6f13688f46243a51163b415 |
refs/heads/master | <repo_name>aqurilla/faceswap-tps-dl<file_sep>/README.md
# FaceSwap using Thin Plate Splines and Neural Nets
This project implements face-swapping using two approaches - a traditional geometric approach using thin plate splines for face warping, and secondly using [PRNet](https://github.com/YadiraF/PRNet).
:
name = "wavpack"
version = "5.1.0"
description = "WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode"
... | 445adcaa6e2f64fd25801e3ef227a813053a7156 | [
"Markdown",
"Python"
] | 2 | Python | conanos-mirror/wavpack | 0e39f1fc50e1ac021804d31157de7d81c5341c97 | 7f90d0e8d20af10609de1388dff912eb2e968aee |
refs/heads/master | <repo_name>ebrahims1902/NOC_Model<file_sep>/app.py
from flask import Flask, render_template, request
import pickle
import numpy as np
from numpy.core.numeric import outer
app = Flask(__name__)
model = pickle.load(open("NOC_MODEL.pkll", 'rb'))
@app.route('/')
def helloworld():
return render_template('home.html')... | 70ce7a71f5a67c0aae43f521684bbaff4b158116 | [
"Python"
] | 1 | Python | ebrahims1902/NOC_Model | d6133d290a37a87df53bf88b48f5b74beaca516b | 3ece16165e692a1fb0105f2b57d817aad154b36d |
refs/heads/master | <repo_name>3Rs-And-Scott/tutorial_sheepolution<file_sep>/README.md
# tutorial_sheepolution
This is the result of following a [love2d tutorial](http://sheepolution.com/learn/book/contents). You can spawn circles and rectangles that will move to the right. The rectangles will appear filled when they are colliding with t... | 25f730155961de799289b70e88115e555c09f52c | [
"Markdown",
"Lua"
] | 3 | Markdown | 3Rs-And-Scott/tutorial_sheepolution | 46a11dd1af0be9cae19f850148ff077ef63ca232 | 3e1f47b42299fd38d8a18e41e600bcb81806ab8b |
refs/heads/master | <repo_name>kiranpuram/ERP_MavenJenkins<file_sep>/src/test/java/ERP/Helper.java
package ERP;
//import org.testng.annotations.Test;
import jxl.Sheet;
import jxl.Workbook;
import org.testng.annotations.BeforeTest;
import java.io.FileInputStream;
//import java.io.FileNotFoundException;
import java.util.Iterator;
import... | 0b21d7198b6b4efd0bae0702666b322f9faac0f9 | [
"Java"
] | 1 | Java | kiranpuram/ERP_MavenJenkins | aaba8c118eb00bc1e9ce10d6533bf0e1514210db | 617b79e07676929ddbc6679022ebdbaa9462fb37 |
refs/heads/master | <file_sep>package zabi.minecraft.maxpotidext;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class Log {
public static final Logger logger = LogManager.getLogger(MaxPotionIDExtender.MOD_ID);
public static void i(CharSequence msg) {
logger.info(msg);
}
public static... | e1dc074929d39a51b8c550cea1285171fe17c165 | [
"Markdown",
"Java"
] | 5 | Java | zabi94/MaxPotionIDExtender | 82b5c485b8f9d819a5e08325fc3e3124c3b12e63 | daa402820a42d9e5962bf4c84a767c1685ab2110 |
refs/heads/master | <repo_name>cmeekuk/dotfiles<file_sep>/.zshrc
# __ __
# ____ / /_ ____ ___ __ __ ____ _____/ /_
# / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \
# / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / /
# \____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/
# ... | 83c88b79d9107de4caac61943242d9316992ee29 | [
"Shell"
] | 2 | Shell | cmeekuk/dotfiles | e8616082a3c9b595cf2827bc38a579f8eb625e93 | ca3c82ed6ff4528d3c60dd4f75f150fe80fca871 |
refs/heads/master | <file_sep># MOBIWEB
A Responsive Website for Workshop of Web and Application Development
<file_sep><?php
require('conn1.php');
require_once('header.php');
extract($_POST);
if(isset($save))
{
//check user alereay exists or not
$sql=mysqli_query($conn,"select * from reg_details where email='$e'");
$r=mysqli_num_rows($... | 3050570a54f389ad915e1bb6a89ce59a173fd543 | [
"Markdown",
"PHP"
] | 4 | Markdown | sanilup1234/MOBIWEB | fb902e3e7f3029f7d78d1965c853aa2a49b22026 | fa6b00008e0abbb2e1b9481006c2f8404e6c6062 |
refs/heads/main | <file_sep><?php
require ('connection.php');
if(isset($_GET["id"])){
$person_id = $_GET["id"];
}
else{
$person_id = 0;
}
$query = "SELECT * FROM characters WHERE id = :id";
$result = $conn->prepare($query);
$result->bindParam(":id", $person_id);
$result->execute();
$person = $result->fetch()... | a8fd54ecc521dc5bf67ea782abc1288a4f9396f5 | [
"PHP"
] | 1 | PHP | JoranS1/dynamic | 5ecf16707bd2f23e66017f8dd149b775018b0be9 | 7f3b1b492de2b8456116cd56bca8e81bd779f52a |
refs/heads/main | <file_sep>import json # to parse the files
import pandas # read the csv
import glob # looping through all the files in a folder
import os # do folder in operating system
if not os.path.exists("parsed_files"):
os.mkdir("parsed_files")
df = pandas.DataFrame()
for json_file_name in glob.glob('json_files/*.json'):
#... | 4d6f2f4a7861f240c340ea9fb28882428b35e8e0 | [
"Python"
] | 2 | Python | dorissuzukiesmerio/tmbd_webscrapping | 21595d995ca12f9fa15dd8b2e66afffff23b205b | eee5df052111ffbd6ae95a955cefa5c376efbd98 |
refs/heads/master | <repo_name>MichalPokorny/admt-challenge<file_sep>/main-project/src/Main.java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.util.regex.Matcher;
import java.util.regex.Patt... | 481aeaa7742236fbd20b80a08ffe4931052b497f | [
"Java",
"Python",
"Shell"
] | 5 | Java | MichalPokorny/admt-challenge | 7f21ff4df1ce74c4096c7faf6f6df6ba2bd0dee5 | e5146541399700e5795216fdeeee16a1805b5b3c |
refs/heads/master | <repo_name>LazVegas/Github-API-Profile<file_sep>/src/redux/ducks/github.js
// imports
import axios from 'axios'
import { useEffect } from 'react'
import { useSelector, useDispatch } from 'react-redux'
// 1. action definitions
// Need to get the users
const GET_USER = 'gh/GET_USER'
// Need to get the repos
con... | 91a7e92a346d4fdffa922facae9795ec1f72b8c5 | [
"JavaScript"
] | 2 | JavaScript | LazVegas/Github-API-Profile | 70018dc6116fb867267cbba52c2ed2bc82948f07 | 56a629b67bb211e1803d7c10a8c2360268162011 |
refs/heads/master | <file_sep>myApp.controller('ViewParkController', ['ParksService','UserService', function( ParksService, UserService) {
console.log('view park controller created');
var self = this;
self.UserService = UserService;
self.UserService.getuser();
// this updates the user info
self.ParksServi... | 88cd2b1404de3852efac3765ddf4561d2bca14f3 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | loganolzenak/DogParkSolo | 3bcef7ebf9f29dd680f811a92c69b887af86a18d | 8b38af9f84c19452cc4f21dd7feedfcfce73bc9a |
refs/heads/master | <file_sep>import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/**
* Created by IntelliJ IDEA.
* User: AnhNBT (<EMAIL>)
* Date: 10/22/2020
* Time: 2:43 PM
*/
public class App {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
List<Bill> b... | 162928dfab288695eee840d058f9f78b796b8caf | [
"Markdown",
"Java"
] | 4 | Java | anhnbt/day-14-java-slack-exercise-3-bill-manager | 0e5908ea45872fb9cb2ac8cc7ad84b73cef62d35 | 7484d9329266f76b4f06db992b8ad60f729e270f |
refs/heads/master | <file_sep>package hr.fer.ga.crossover;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import hr.fer.ga.Strategy;
public class KPointCrossover implements Crossover {
private Random rand;
private int k;
private double mutationRate;
public KPointCrossover(... | 9ee1f621ee40cad6e5eca30dcda246e84d6e11bb | [
"Java"
] | 2 | Java | fsosa98/bachelor-thesis | c65961db1f37ecc724a000cd6ba8378b9cfce864 | 71161251388b201e8eca48758ce13ec5620d692d |
refs/heads/master | <file_sep>const name = "nombre";
var hola = 1;
let perro = {
aรฑos:"21",
altura: "21cm"
};
console.log(perro);
let saludos = "<NAME>";
const saludo = () => {
alert(`saludo ${saludos}`)
}
| bc1bd92225ca5fe8810f7cce5694936e1a3c199a | [
"JavaScript"
] | 1 | JavaScript | SebastianGasca/PrimerProyecto | 8f951e2af629e5f74dd176244b6c96f8204163e1 | c6b401209b7f0d6796c147f33ae58e7932d90d51 |
refs/heads/master | <file_sep>package Lecture07.Project1B;
/** Project 1B code is below
* @author xerfat (at 2021.04.01)
*/
public class OffByOne implements CharacterComparator {
@Override
public boolean equalChars(char a, char b) {
return a - b == 1 || b - a == 1;
}
}
<file_sep>//package Lecture02.Project0;
/**
... | c4506682dce9fa779d53dc9c35018c95b8e8c50f | [
"Java"
] | 8 | Java | xerfat/CS61B-sp19 | a596b6d36da685463165218e2cfa135b5a55be3c | 0248580612485eacebb5d97836501313c578bed3 |
refs/heads/master | <repo_name>tihandjan/codica-test-client-side<file_sep>/src/app/app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { MaterializeModule } from 'angular2-materialize';
import { Angular2TokenService } from 'angular2-token';
import { AppRoutingModule } ... | fb9f8f7dd681a0d05c8694a2e7c976898ae64aef | [
"TypeScript"
] | 5 | TypeScript | tihandjan/codica-test-client-side | 32bf7e10dfadd66be6addf0cb1cf4c9d44d689bb | 8aebfd6699a23b71c57e091fa24a5282b55075a3 |
refs/heads/master | <repo_name>stevenalexander/node-addressbase-example<file_sep>/README.md
# Node AddressBase example
Sample NodeJS application to consume [OS AddressBase](https://www.ordnancesurvey.co.uk/business-and-government/products/addressbase-products.html) data into a Database and provide a simple location lookup service display... | c86b060e220696b3406a59b3b7504424f9a81fd6 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | stevenalexander/node-addressbase-example | 0fe196549906023284fb38195daace88e70b6894 | 22ae361726db664cc0d4e52611af39dc17ccf2f2 |
refs/heads/master | <file_sep>package by.gsyrov.regex;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class SearchWithRegEx {
private ArrayList<String> matchesArray= new ArrayList<String>();
private String regValue;
protected SearchWithRegEx(String regValue) {
this.regValue = re... | 1448b3e3fb6802766b7466695294b6e747bee72f | [
"Java"
] | 2 | Java | OSmol/study | e24d72ce37fb0abf7c4890c10a5bede7465b2d7c | c9b744324cbd7d1a59b5d8794855fa745b043998 |
refs/heads/master | <file_sep># zinit plugin configuration files for oh-my-zsh
**backup .zshrc**
- incr-0.2.zsh
- alias.zsh
<file_sep># Add Program environment path
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
export PATH="/usr/local/opt/python@3.10/bin:$PATH"
<file_sep>#---------... | a5fee9cea5bfe9a906714d9ad72dc39a4a6bf2a8 | [
"Markdown",
"Shell"
] | 4 | Markdown | JakeYue/misc | 6dd4f81a2af278f217f5cd7bd912594305da1cca | 9f2f377f44a85190b4a595c260f5f735926d9b8e |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App;
use Session;
use DB;
class dasboardController extends Controller
{
public function index(Request $request) {
//if(!Session::get('login')) { return redirect('login'); }
Session::put('l... | 6c5dd7cbdc74b672457c370c5e8741d4e3d95e0d | [
"PHP"
] | 1 | PHP | SepianusGulo/nms-master | fac2c31d9434e25be5d099830f771ba6b5f38122 | 4440384b2252cd77eee32b78d99042ea95c0e120 |
refs/heads/master | <file_sep>#!/bin/bash
DROPLET_NAME="do-sshuttle-server"
DROPLET_FILE=/tmp/droplet-vpn.json
echo "do-shuttle v0.0.1"
echo "<NAME> <<EMAIL>>"
echo "Transparent Proxying over DigitalOcean Droplets"
prefix="[ds]"
echo
if [ ! -f $DROPLET_FILE ]; then
echo "$prefix <--- Getting $DROPLET_NAME Droplet information..."
DR... | 747d3a22e00ae0baa6898501a63d1fe60a106fdd | [
"Markdown",
"Shell"
] | 2 | Shell | f/do-sshuttle | 91a94154d0e9d4309bf62357a5d7dad91750e077 | c48666d6f7850abbb2c0d5f016ff71792e5a4ed5 |
refs/heads/main | <repo_name>GabrielCampos07/lessashoes<file_sep>/Front/LessaShoes-APP/src/app/app-routing.module.ts
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AuthGuard } from './auth/auth.guard';
import { DashboardComponent} from './components/paginainicial/paginainicia... | 80549ce68c7fdd6bddd27e98fe72ba86636b0f85 | [
"Markdown",
"C#",
"TypeScript"
] | 27 | TypeScript | GabrielCampos07/lessashoes | c201fe126a93e3dec2187543c8fb1821c113f46c | 9e24d33d1a60669465d250090d642bd08f8cab33 |
refs/heads/main | <file_sep>class StrainFinder::Strains
attr_accessor :id, :name, :race, :flavors, :effects
@@all = []
def initialize(attributes)
@name = attributes[0]
attributes[1].each {|k, v| self.send("#{k}=", v)}
save
end
def self.all
@@all
end
def save
@@all << self
end
def self.select_b... | 8ef8934d23c8f4bd298de3bc8bbe78bf43d159a7 | [
"Ruby"
] | 6 | Ruby | burns1916/strain_finder | f1420f944963b647138aad5d7ecbc4a1042b7960 | 7a33cecf30f4776057fe9ceb51dea66616be1b7a |
refs/heads/master | <file_sep>//app.js
//Create flight module
var flightApp = angular.module("appModule", []);
//Register controller with module
flightApp.controller("appController", appController);
flightApp.controller("headerController", headerController);
function appController($scope) {
$scope.title = "InsureFlight | Flight ... | 4588b8ec749ca3ad257233aed51af0b533dc0686 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Dicondur/client | 6e61584b2d932c8ec238e6031bfa158543faf5b8 | c34cd28f6ac8f7a6f72928cc6a2938b566d30189 |
refs/heads/master | <file_sep>module.exports = (req, res, next) => {
if(req.user && req.user.usertypeId && req.user.usertypeId !== 1) {
next()
}
else{
req.flash('error', 'You must be logged in as an instructor or an administrator to view this page');
res.render('403');
}
}
<file_sep>var express = require('express');
va... | dcc803b601721c84f308aa0bc3da4a59af35e9e3 | [
"JavaScript"
] | 5 | JavaScript | brandiw/school_tool | 6d8224e0429866873eaba4da83a235c358da5dad | eb74312ac3dd001064d3d19eb36700b1e0db2874 |
refs/heads/main | <repo_name>dansal182/clt_simulation<file_sep>/t_test_sim.py
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from math import sqrt, gamma, pi
from matplotlib.animation import FuncAnimation
def get_t_val(simvalues):
return (simvalues.mean()) / (simvalues.std() / sqrt(len(simvalues)))
def ge... | 4fe307255fc8f0315dc72c501eab53456377ee4c | [
"Python"
] | 1 | Python | dansal182/clt_simulation | 07346345fbe5052086aa2ec8cfd0638f797f3909 | a892481cd432df2b8cdc98d6bb27d2dcd3787e31 |
refs/heads/master | <file_sep>๏ปฟusing PearXLib;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
usin... | b548a06e9c204faab7877d347f2dd9a1ac9486b8 | [
"Markdown",
"C#"
] | 2 | C# | PearXTeamLegacy/old_xRandomer | 0ced4b2f61aa7c43c725ea2fe62fcb80ca315a3e | f00554b4a98f368a4fdaf07859c040804e888b84 |
refs/heads/master | <file_sep>
$('body').scrollspy({ target: '.navmenu' });
// When we click on the LI
$("ul.qcontrols li").click(function(){
// If this isn't already active
if (!$(this).hasClass("active")) {
// Remove the class from anything that is active
$("ul.qcontrols li.active").removeClass("active");
// An... | d296d75a9a34184d55c2cb6008dcd95dd2d00692 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | nitinkul/spandan2015 | 10feea0b31f39ce5269bf015cc45c605e3f83d22 | 6a32966f5d50a55f5151d21ef0bf5644869793f7 |
refs/heads/master | <file_sep>def ivarsmooth(flux, ivar, width, weight=None, profile=None):
"""Generates an inverse variance weighted 1d spectrum.
flux- science spectrum to be smoothed
ivar- inverse variance spectrum of the science spectrum
width- the number of pixels to be smoothed
weight- weight to be applied per pixel (... | f3ea0b33ace007475efbcd12cf8210f0974a102c | [
"Markdown",
"Python"
] | 3 | Python | themiyan/astronomy | 5a80be11b48283d38c75100f085ea04d4a236ca9 | 00d423d238b24b2668866306a00adf4225da2319 |
refs/heads/master | <file_sep>package br.com.mussumlanguis.ast;
import java.util.ArrayList;
public class WhileCommand extends AbstractCommand {
private String condition;
private ArrayList<AbstractCommand> commandList;
public WhileCommand(String condition, ArrayList<AbstractCommand> commandList) {
this.condition = condition;
th... | 845db1c4a300a693c1399a526627904b7c8fe7d4 | [
"Markdown",
"Java"
] | 9 | Java | arthurhf/mussum-languis | dd8228b39ef5d7cc7eec95eb9af37b5ffbe1fe95 | 6826569bd921d2208e413721aa7881c34912a30a |
refs/heads/master | <file_sep>* Helm Chart
* Better comparison for when to update stateful set
* Add webhook to reject changes which would cause a failure to update the statefulset (immutable containers, etc)
* Controller references for all child resources
* CRD for "docker image", will ensure a Cluster has an image present in the kind co... | 4be495059facbdeab77c8fc1cafb23fdb50b05e9 | [
"Markdown",
"Go",
"Dockerfile",
"Shell"
] | 13 | Markdown | meln5674/kind-operator | 1a08c3b30dc30b36b06b3f6f086a7ae5e2d1bbc7 | 34a66a9f232fa951dece012f5a16ce22e1222437 |
refs/heads/master | <file_sep>import React from 'react';
import './Body.css';
import ImageArray from './ImageArray';
class Body extends React.Component {
constructor() {
super();
}
renderContent = i => {
console.log();
};
render() {
const mpZero = {
margin: 0,
padding: 0
};
const active = {
... | 0265c745482c10be308adba89a67e651fff9971a | [
"JavaScript"
] | 4 | JavaScript | sam3106/Samagram | 8a7e450a29610605ce292060b50fd4aaa5da9451 | 2fd26403db20acf654677acdd1411db7de246b54 |
refs/heads/master | <repo_name>kitori-kitori/Online-faculty-feedback-system<file_sep>/README.md
# Online-faculty-feedback-system
an online system for university students to rate their Lecturers/ faculty
<file_sep>/dbconfig.php
<?php
$conn=mysqli_connect("localhost","root","kitori","feedback_system")or die(mysqli_error());
?> | 51c3d78f99c0f7ab4b201a1bf6920f376c6b7e8c | [
"Markdown",
"PHP"
] | 2 | Markdown | kitori-kitori/Online-faculty-feedback-system | 39339cfcf5597200d8b7137f4161f19f888dce30 | 860887aee1e5e97d431765402645efaeb51e7232 |
refs/heads/master | <repo_name>Foina/yishu<file_sep>/app/routes.php
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze.... | 7ced4745fb5af3531d8a2c83c84be2307b79d375 | [
"PHP"
] | 17 | PHP | Foina/yishu | 774da949b700bf804f8ae2065c704eff0928572a | 5f1a3d940aef9dbe3eea9f69e92dbb16aa4972e7 |
refs/heads/main | <file_sep>package com.nefertiti.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.nefertiti.domain.User;
import com.nefertiti.repository.UserReposito... | fd05d979d619a0ed7b8f24e1208127db54cfb6a4 | [
"Markdown",
"Java",
"HTML"
] | 4 | Java | klara333/storyservice | d4b438eeddb3596b193fc836e226c58a7b50abbd | 870310c427002acbc1a973708c304613bb813297 |
refs/heads/main | <file_sep>
import SwiftUI
import CoreML
struct ContentView: View {
let images = ["cat", "person", "berries",
"car", "orange", "spider"]
@State private var currentIndex: Int = 0
let model: MobileNetV2 = {
do {
let config = MLModelConfiguration()
... | 6b1bb4603347e5f5312a19ff20e4f204b10fc80a | [
"Swift",
"Markdown"
] | 2 | Swift | mammothtraining/Use-CoreML-Model-in-SwiftUI | 83a08596d9b7af8b98c3478d6ed480da7fde3047 | caa3429554318d46a0d07ddd35a287a798850a4f |
refs/heads/master | <repo_name>nickyungyung/probability<file_sep>/tensorflow_probability/python/math/interpolation.py
# Copyright 2018 The TensorFlow Probability Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the Lic... | 88e66784e38fa6dc2e573abb301e3c5229c32243 | [
"Python"
] | 1 | Python | nickyungyung/probability | 7705eb960935b6ca94e125ae4c58b6f54e4084b5 | bb2c339f5547e8a24575df3d3ff5bdbc8ecd49b8 |
refs/heads/master | <file_sep># coding=utf-8
import socket
import time
server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ip = '0.0.0.0'
port = int(raw_input('select a port: '))
file = open('shell.php', 'w')
try:
server.bind((ip, port))
server.listen(5)
print 'ouvindo em:' + ip + ': ' + str(port)
(client_socket,... | 76c11476f4125188f5976961681244692ab2d3f4 | [
"Python"
] | 1 | Python | Lolixprofanos/ServerTCP | b75760bef1c033c56b333c03e8fa1529298e10b8 | bcfce2136ff8817abad84f2c0efec087f7834240 |
refs/heads/master | <repo_name>stevenmcsorley/PopulasThemeWP<file_sep>/template-demo.php
<?php
/*
Template Name: Homepage
*/
?>
<?php get_header(); ?>
<div class="container-fluid no_padding">
<!-- SLIDER -->
<div id="carousel" class="carousel slide carousel-fade" data-ride="carousel">
<!-- Wrapper for slides -->
<div class=... | 942015fbbc905cc92f10088f3e66b3ff4dfbf8da | [
"JavaScript",
"PHP"
] | 2 | PHP | stevenmcsorley/PopulasThemeWP | 149dab0ca8cd8c893a83c2aca3118bbdbdff5379 | 7abd83d94f563ac1e9b13c55f51ca5d6b7ce1960 |
refs/heads/master | <file_sep># prereqs: iterators, hashes, conditional logic
# Given a hash with numeric values, return the key for the smallest value
def key_for_min_value(name_hash)
minimum = nil
smin_thing = ""
if name_hash == nil
min_thing = nil
else
name_hash.each do |(thing, amount)|
if minimum == nil
... | c242c6d438d555431f54f85fd41894247e9dcb05 | [
"Ruby"
] | 1 | Ruby | DevDaveFrame/key-for-min-value-wdc01-seng-ft-060120 | d52b65d921297fd2a4e9fee90d7368f3ef217529 | e9a23acf9db55c5d431676110b64458f46d44e31 |
refs/heads/master | <repo_name>flozano/mock-aws-java-sdk<file_sep>/src/main/java/org/flite/mock/amazonaws/sqs/AmazonSQSMock.java
package org.flite.mock.amazonaws.sqs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMa... | 413689716d96a6ae3df66bec9d48069800540fbe | [
"Java"
] | 1 | Java | flozano/mock-aws-java-sdk | 0035b5647ef33d076b9efa2b2561ca4f1371b197 | c1766cecd13c14fd6a1b2d3accf54ab1ee79d70d |
refs/heads/master | <file_sep>๏ปฟusing System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SamizdatEngine;
public class DrawerBase : MonoBehaviour, IDrawer
{
public IGame game { get; set; }
public Dictionary<IPos, GameObject> goMap { get; set; }
public bool init;
public GameObject pfTileSquare... | 0f068694912c8ab6c5c67328c615d41194119b58 | [
"C#"
] | 48 | C# | NickSchade/SamizdatEngine | a1067ca80c7fa6752d6a1915c59cce54e5981435 | 4bff780a637e7e5d47bea837e140b1fcf132b312 |
refs/heads/master | <repo_name>KeepStudyOn/paymentWap_V1.0<file_sep>/js/xmsCore.js
๏ปฟ/*
//ๆนๆณๅ๏ผ่ฏทๆ็
งๅญๆฏๆๅบ
//ๆฅๆไธบๆๅไฟฎๆนๆฅๆ
ๆฏๆ็ๅบ่ฐ็จๆนๆณ๏ผ
2015/12/07 $(obj).scrollIntoView();
2015/12/07 $(obj).xmsAjax(options);
2016/01/04 $(obj).xmsAllpass(inputs);
2015/12/15 $(obj).xmsEnterTrigger(options);
2015/12/15 $(obj).xmsLoadHtml(options);
//xmsCore... | 7b756303297683b794c2c58ce8a4ed6774c4b625 | [
"JavaScript"
] | 1 | JavaScript | KeepStudyOn/paymentWap_V1.0 | 2fbaa8a850398e77ee7b4128b764011fc9795d5c | eb62d92a9770bdb3b30a0314d10a9f60f5ca4fcb |
refs/heads/master | <repo_name>ML-DKC-Training/Session1-Day2<file_sep>/mongo_connect.py
""" An example of how to connect to MongoDB """
import sys
from pymongo import MongoClient
from random import randint
from pymongo.errors import ConnectionFailure
# step 1: Connect to MongoDb server
try:
c = MongoClient(host="localhost", port=27017)... | d5e420b84efac21148ef4ee3e9e491e5ad3e508f | [
"Markdown",
"Python"
] | 4 | Python | ML-DKC-Training/Session1-Day2 | a9144b4c9666b667568c4f87944ff114e723ca57 | 350a578e961f23f58c2e5659dde369360d8a43cb |
refs/heads/master | <repo_name>Woodu/taiko.tk<file_sep>/Lib/Action/IndexAction.class.php
<?php
// By:Woodu ver 3.2
// 2012 02 11
class IndexAction extends Action
{
public function Index()
{
//echo 'aaa';
$Demo = new Model('youxijiting');//ๅๅปบๆฅ่ฏขๅฏน่ฑก
$condition['deleted'] = 0;
$list = $Demo->where($... | 01e17ebe4a80e9a94280ae64d32a5a30dc46a874 | [
"Markdown",
"HTML",
"PHP"
] | 7 | PHP | Woodu/taiko.tk | cfe06f0bb7cfc63072ff4ea99874a9179d5efc60 | f97428efa0c1f54fbf352eb1fba664f682134dab |
refs/heads/master | <file_sep>package coreSelenium;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class Util {
WebDriver driver;
/**
* creating c... | d4254ba09b5831fa37fb69e33a932a2cc6405b2e | [
"Java"
] | 6 | Java | JeyhunAli/SeleniumSessionFromNVN | 18711f7bb3e27cb0a61ae505842fbf09890ebdd6 | 7e8b29d43864151ba10ca724b787cf12b208ab04 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import { Text, View, ScrollView, Image, TouchableOpacity, Dimensions } from 'react-native';
var { width } = Dimensions.get('window')
import AsyncStorage from '@react-native-community/async-storage';
export default class Cart extends Component {
constructor(props)... | 6fa6b79f38ec61df20026f1978f5fbf481bae56f | [
"JavaScript"
] | 2 | JavaScript | TinhMong/FoodCart | f3594c1ac1d10ea84b1092298ab6acbb8f44652f | df62a89c6e259312c9f9894e671930c9932fca0c |
refs/heads/master | <repo_name>cattommy/BigDataGraph<file_sep>/GraphVis.cs
๏ปฟusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fusion;
using Fusion.Mathematics;
using Fusion.Graphics;
using Fusion.Audio;
using Fusion.Input;
using Fusion.Content;
using Fusion.Developmen... | 7d74072254c982e73a447fdfe28a456992c54602 | [
"C#"
] | 1 | C# | cattommy/BigDataGraph | 61f075d67f1092a1195a51e82a170d26561809fe | 8bf3fad82665ae6916db9a3f790bfd3f59f4a999 |
refs/heads/main | <repo_name>AndryFin/SampleAutomationTest-Protractor-<file_sep>/formAuthenticationTest.js
describe('Form Authentication Test', function () {
browser.ignoreSynchronization = true;
var userName = element(by.id('username'));
var password = element(by.id('password'));
var message = element(by.id('flash... | ec2d7098c8ff208db933c9c700e3b215358bdd30 | [
"JavaScript"
] | 3 | JavaScript | AndryFin/SampleAutomationTest-Protractor- | 4b1be8d7761674aca892cba4df36cbef2d4f757c | 641334f13fd6aefe9f4020d6aaff5da64db675ec |
refs/heads/master | <repo_name>LJjn66786396/helloTest<file_sep>/src/main/java/com/example/hello/controller/Hello2.java
package com.example.hello.controller;
public class Hello2 {
}
<file_sep>/src/main/java/com/example/hello/controller/HelloTest2.java
package com.example.hello.controller;
public class HelloTest2 {
}
| 09cca3e7ddcd5f13c92afbb49156ed167010cffe | [
"Java"
] | 2 | Java | LJjn66786396/helloTest | deed35f31f529c025841d7511cf2e2e8f267a979 | 35fa084aae31f861864c93ec4b42e6638d4db2ab |
refs/heads/main | <file_sep>import fs from 'fs';
import path from 'path';
import { Publisher, PublishContext, UploadTask } from 'electron-publish';
import { log } from 'builder-util';
import untildify from 'untildify';
import OSS from 'ali-oss';
import YAML from 'yaml';
export interface OSSOptions {
readonly provider: "oss"
rea... | 641f67f5381e28904d26844e6983cd8a6ec738a1 | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | wsw0108/electron-publisher-oss | 895b21bf9e7b4be632e88381f1bb53e33796f21d | 14e67a3792d6877ea610398bb11a9ede918f3c91 |
refs/heads/master | <file_sep>
What is this project about ?
------------
This web app is written in python and contains NoSQLi vulnerabilities.
What types of vulnerabilities are there and how can I expose them ?
--------------------------
First vulnerability is authentication bypass and to simulate it to you need to modify network tra... | 14f70830845d83acf59487491df3f9657b36cbd6 | [
"Markdown",
"Python",
"Dockerfile"
] | 4 | Markdown | akilaweerat/mongodbvuln-python | 2c8f4c2c440e5ee17c759ab45a926b6c338f92c1 | 7ab498bb0c090caa58fac3ca8c8061c4ed4700b7 |
refs/heads/master | <repo_name>GabrielSartori/treinamento-bootcamp<file_sep>/readme.Md
# Engenharia de Dados Bootcamp<file_sep>/aula2/jinja/jinja_template.py
import jinja2
template_string = """
Olรก {{nome}}
Sua senha
{{link }}
"""
template = jinja2.Template(template_string)
rendered_template = template.render({"nome": "Gabriel", "l... | cbf6da68c5f1ffd08bb0c6c544bb46b68d040936 | [
"Markdown",
"Python"
] | 2 | Markdown | GabrielSartori/treinamento-bootcamp | 75540bba868b78e77b231d427ab1c9df5b4b1cc3 | 58677095059c2684f14ef477e0cdcdffe82cf048 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# coding: utf-8
# In[ ]:
# import
import os
import sys
import time
import copy
import h5py
import numpy as np
import tensorflow as tf
# from scipy.misc import imread, imresize
from PIL import Image
from tf_cnnvis import *
# In[ ]:
# download alexnet model weights
if not os.path.e... | 0630804218dcdb9e48b98ba11dae13b358559b01 | [
"Markdown",
"Python"
] | 4 | Python | ziqizh/tf_cnnvis | c743841774d6281e53b32f51342d034a24641d34 | 0745aba44674bf492d95539def2f16ddf1d9831c |
refs/heads/main | <repo_name>fjord-framework/producer<file_sep>/README.md
<p align="center">
<img src="./readme_materials/fjord.svg" width="500" height="200" />
</p>
# Test Producer
This repository contains three `.js` scripts that can be used to test the production of records into a Kafka cluster.
1. `producer.js` is the simplest ... | a1097f646a52bb4ba951052eef54a451019ceaaf | [
"Markdown",
"JavaScript"
] | 3 | Markdown | fjord-framework/producer | efbc8b82b30b0e0da39b16c4b488e8ff8dfe5c61 | e51b910d94539ebeb144bfa9c6ac99d7bb211c45 |
refs/heads/master | <file_sep>package com.example.flash;
import android.content.Intent;
import android.media.MediaPlayer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
MediaPlayer am;
Thread thread;
Thread timer;
Intent intent;
@Overr... | 222e6c530bf8684e1ba698ccfcc521d58dd88f56 | [
"Java"
] | 1 | Java | mayurichintalwar2998/Flash | 1005e08b6ce135f072474e4b187f8ac7c25bac17 | 3b25f5a0ec5a7c71bb9431d27413b4ac1fdc74a9 |
refs/heads/master | <file_sep>import { NgModuleRef, Compiler, NgModule, Type, NgZone } from "@angular/core";
import { NgModuleResolver } from "@angular/compiler";
import { environment } from "../../environments/environment";
import { DynamicComponentsService } from "../dynamic-components.service";
/**
* This class contains common functi... | 8239ce1f83b762ced5d2531bafb0c1c635f8533a | [
"TypeScript"
] | 1 | TypeScript | pppdns/angular-hmr-lazy-components | 92e17d3b28a0583ac46f107932140dad30037078 | 9ffe62b1149fea11736740f639d7f0cacb42b964 |
refs/heads/main | <repo_name>asl-epfl/sl-partial-icassp2020<file_sep>/codefig3.py
"""
This code can be used to generate simulations similar to Fig. 3 in the following paper:
<NAME>, <NAME>, and <NAME>, ``Social learning with partial information sharing,'' Proc. IEEE ICASSP, Barcelona, Spain, May 2020.
Please note that the code is not ... | 79aafedae73ecb1d565f55d8e931895847c10430 | [
"Markdown",
"Python"
] | 6 | Python | asl-epfl/sl-partial-icassp2020 | 32fb4d61226724ebc92279219fc82e087fb3f8aa | acae28a75d0bd38aa146a26139b53feb36528df2 |
refs/heads/master | <repo_name>mukezhz/DataStructureandAlgorithms<file_sep>/README.md
# DataStructureandAlgorithms
I've tried to solve most of the DSA problems using algorithms that consumes less time and with efficient memory management.
Most of the contents are taken from my college curriculum and are programmed accordingly. You can c... | 6b03c5dfe82461f900cd84ce580f95f2bd2a750f | [
"Markdown",
"C"
] | 2 | Markdown | mukezhz/DataStructureandAlgorithms | 516a17d4e44256839379105924239a6d3de26342 | 2a1a7981c7c398e792c96e3b3ee712413a3b8eda |
refs/heads/master | <repo_name>nowStackOverflow/allcode_test<file_sep>/_htmlCss/A017 ์ด๋ฏธ์ง ์ด์ฉ ๋ฉ๋ด.md
```
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8... | d5ba62edcf307d5800fee44a97ecadf7c838ad4d | [
"Markdown",
"Java"
] | 211 | Markdown | nowStackOverflow/allcode_test | 8e8f7c1be90a208999356725143f7294b8d3f913 | 8582a9ab7ad31f8a0c94d3b847a835307804c84c |
refs/heads/master | <file_sep>#!/bin/bash
echo "--[MOUNTING FILESYSTEM]--"
TARGET=$1
umount -R /mnt &>/dev/null
echo "- mount /"
echo "TARGET: $TARGET"
# STANDARD
mount ${TARGET}2 /mnt ;
mkdir /mnt/boot
mount ${TARGET}1 /mnt/boot;
mkdir /mnt/home
mount ${TARGET}3 /mnt/home;
echo "- refreshing repositories"
pacman -Syy &>/dev/null
ech... | 8ea55f6a8aa7638cd046bfb33fef2f2779200cc4 | [
"Shell"
] | 5 | Shell | fretzo/arch_installer | 662f8a1e2d7096711ef39ec3666d6962bdb7cc3c | a6be4ce29f0cad8a3a15683ea3eb2b7fd8d7ca55 |
refs/heads/main | <file_sep>import logo from './logo.svg';
import './App.css';
import { Button, CloseButton } from 'react-bootstrap';
import 'bootstrap/dist/css/bootstrap.min.css';
import { FaUser, FaEnvelopeOpenText, FaPhoneAlt, FaAddressBook, FaChalkboardTeacher, FaClipboardList, FaAward, FaDollarSign, FaBell, FaDotCircle, FaRegCircle... | 44b8e2a053e0165d5ce43ca3c0482a78654edcc2 | [
"JavaScript"
] | 1 | JavaScript | devloperhamza2020/interview-task | 0be8ff083581baa8cc5b8bfec2fd8490a31b8b64 | 02d84039fd86bd632e6c44d3b80105387c9deab7 |
refs/heads/master | <repo_name>hentaiRin/TouHouDisk<file_sep>/application/controllers/Bin.php
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Bin extends MY_Controller{
public $origin;
public function __construct()
{
parent::__construct();
$this->origin = 'original';
... | 647f32488694d3029c7c7993046376bbfa1996e7 | [
"Markdown",
"PHP"
] | 13 | PHP | hentaiRin/TouHouDisk | fb5c875c1141bdfe2fe2c95c2f0a86555b3067ba | 2a6ede1c3e358cb46c919c134875b88978e2378c |
refs/heads/master | <repo_name>ig92/cp-course<file_sep>/44-queue/queue.cpp
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
struct Person {
string name;
int infront;
int height;
};
int main() {
std::ios_base::sync_with_stdio(false);
// read input data
int n;
cin >> n;
vect... | 585f2bf941324e2c2586a272be10321575b058aa | [
"Markdown",
"C++"
] | 56 | C++ | ig92/cp-course | 9e52788e8f6a76752149b74d06d0272e16c3b528 | 18581f2bdd15a1700fc60d4a7bebea759360632e |
refs/heads/master | <file_sep>package com.lambdaschool.african_market_place.services;
import com.lambdaschool.african_market_place.AfricanMarketPlaceApplicationTest;
import com.lambdaschool.african_market_place.exceptions.ResourceNotFoundException;
import com.lambdaschool.african_market_place.models.Listing;
import com.lambdaschool.afric... | 796f4a346cdb2a752dfc933f02156ea1d408408c | [
"Java"
] | 12 | Java | schroeder-g/agora-marketplace | 9249071a61e8f3fe1694ff75d173bab6a2f0e27d | 74c2503f88e6129a1e59a707cbb8f5f258e771a0 |
refs/heads/master | <repo_name>elanpr01/Cucumber-Project<file_sep>/src/test/java/modules/LogInAction.java
package modules;
import java.util.HashMap;
import com.cucumber.listener.Reporter;
import helper.Log;
import pageObjects.LoginPage;
public class LogInAction {
public static void execute(HashMap<String,String> map)
{
... | fe05e6fb8f4c0ac5346db18c158058d7c1b8fa70 | [
"Markdown",
"Java",
"Maven POM"
] | 4 | Java | elanpr01/Cucumber-Project | d852369b1e06ad0eac6dc122362f248d2194b06f | fd275cf852c14b306f70ec8b7dd286990ad2db58 |
refs/heads/master | <repo_name>adershmanoj/flight-booking-java<file_sep>/src/main/java/com/nissan/training/advancedjava/assignment/model/Details.java
package com.nissan.training.advancedjava.assignment.model;
public class Details {
private String firstName;
private String lastName;
private String mobile;
private int flightId;
privat... | e124d13232ca0d98b2e0eb5fb1bd99a9c544fe98 | [
"Markdown",
"Java"
] | 4 | Java | adershmanoj/flight-booking-java | 632c9cc1b0e1f8215f976f5e04927214d08dc766 | 4d96d32b4effd52bf32f34dc3cbebd85ee79dddf |
refs/heads/master | <repo_name>RoshanRane/active_vision_prednet<file_sep>/prednet-smth-smth/preprocess_data.py
########################################## Importing libraries #########################################################
import os
import sys
import glob
from time import sleep
import json
from tqdm import tqdm
import pandas a... | f5adb43b8858270f4d7b42e10a6dd89b2a399a32 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 8 | Python | RoshanRane/active_vision_prednet | 9fa52c01a1ea46b69a1677fa431fec236ca728ce | a8238b40d80b5d94280f1f7c25b64c1da1f7abc5 |
refs/heads/master | <file_sep>require 'rails_helper'
RSpec.describe 'as a visitor', type: :feature do
before :each do
@shelter1 = Shelter.create(
name: '<NAME>',
address: '1331 17th Street',
city: 'Denver',
state: 'CO',
zip: '80202'
)
@pet1 = Pet.create(
image: 'https://www.talenthounds.... | f92ad0adf7a7ef51b27354aa799434ad7fc5858e | [
"Ruby"
] | 11 | Ruby | alerrian/adopt_dont_shop | 7c2d77c02767b6f25882c4182717e45b552de9b9 | 4958e3ef8d1c47d8b1af1129a30d4aa73a729d98 |
refs/heads/master | <repo_name>bug00r/color<file_sep>/crgb_array.h
#ifndef CRGB_ARRAY_H
#define CRGB_ARRAY_H
#include "color.h"
#include "array.h"
void assoc_crgb_value(void * array_entry, int newidx ,void * init_value);
void assoc_crgb_ref(void * array_entry, int newidx ,void * init_value);
array_t * crgb_array_new(int cnt_i);
arr... | 4882b6957d8f47ec28e7945104b9622a3e5e28a9 | [
"C",
"Makefile"
] | 8 | C | bug00r/color | a5da0a2be31e0ed553d7be7e8d809b2d7ad8ba74 | 5656fad49f7beee1ca2446a8058c2530626b27b5 |
refs/heads/master | <file_sep>package Minesweeper;
import java.util.Date;
public class CheckVitory {
//Check condition of win or lose
public static void checkWinStatus() {
if(GUI.Lose == false ) {
for(int i = 0; i < 16; i++) {
for(int j = 0; j < 9; j ++) {
if(GUI.revealed[i][j] == true && GUI.mi... | abbb363159fd61588dfa4c1e7af82955e4b80782 | [
"Java"
] | 5 | Java | TH-Thedevelop/Final_Minesweeper | 0863ffe460f2f4be821a109d31b19e0ccd3d6c88 | e689c2c5bd8b54cee55e0038906e74fd57b3f044 |
refs/heads/master | <repo_name>JJakubowskiCenveo/SmartLincEICustomers<file_sep>/SmartLincEINew/Service.svc.cs
๏ปฟusing System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using SmartLincInterface;
using CMS;
using Lexis;... | 254b62a22119d7ba667ce8836ebc97f00fdd3867 | [
"C#"
] | 6 | C# | JJakubowskiCenveo/SmartLincEICustomers | 12d60277e164d8fdd0926d2755f00dd313eb9be2 | d352d390bf927f93a69f92ce80df4b65a1a4f0d1 |
refs/heads/master | <repo_name>raj-savaj/water<file_sep>/app/src/main/java/com/rj/watersupply/modal/ResponseLogin.java
package com.rj.watersupply.modal;
import java.util.ArrayList;
public class ResponseLogin {
private float status;
private String msg;
ArrayList<Data> data = new ArrayList<Data>();
public float getStatus(... | 5a2358dfe33c14b0ec3ca11f26b8548d496cdcc9 | [
"Java"
] | 6 | Java | raj-savaj/water | 51fc90367902f8eda3a07c7dc4a617d3dbc998d4 | ca2cfd94f628967fcfeb22f4bec8df43c4cc75b5 |
refs/heads/master | <repo_name>AndriiBruk/Horoshop_migration<file_sep>/src/main.js
import './main.scss';
const regSite = /.+/i;
const regEmail = /.+@.+\..+/i;
let inputs = document.querySelectorAll('input');
for (let input of inputs) {
input.addEventListener('blur', function(){
let inputClasses = this.classList;
let inputValue =... | 731085bb5aebfb0e4d6941d0936ce9f95f3191c4 | [
"JavaScript"
] | 2 | JavaScript | AndriiBruk/Horoshop_migration | 46ef6c334bd9c2e38f05d5fbac0eb6f8b0e46971 | 5756d806c805038c21d1f7ac3eceb1f05c3c93bf |
refs/heads/master | <repo_name>FranciscodaMVP/keep-angular<file_sep>/notebook.js
angular
.module ('notebook', [])
.controller('notebookController', notebookController)
.factory('NoteService', NoteService);
// function notebookController($scope, NoteService) {
// $scope.notes = NoteService.notes;
// $scope.addNote = function () {
// l... | 96adbcb293c3e708b00cfed9e787b8c6d163eef8 | [
"JavaScript"
] | 1 | JavaScript | FranciscodaMVP/keep-angular | e35c7829a0f098013e562266474572545020e3dc | ad120efb22a47fac48a7a0ec8dbc5a87a16eaeb0 |
refs/heads/master | <file_sep>'use strict'
/** @typedef {import('@adonisjs/framework/src/Request')} Request */
/** @typedef {import('@adonisjs/framework/src/Response')} Response */
/** @typedef {import('@adonisjs/framework/src/View')} View */
/**
* Resourceful controller for interacting with todos
*/
const Todo = use('App/Models/Tod... | dd4a4d78e01d2a974ccbf4229dd9a0c75e52484f | [
"JavaScript"
] | 2 | JavaScript | alissin4444/todo-adonis-materialui-paper | f301ec24050af5ecebba0163c85f3ea29381b561 | 6795da135fa44e87a0ef1a6eda66cb6735f857a3 |
refs/heads/master | <repo_name>VashingMachine/rotating-cube<file_sep>/camera_matrix/CameraMatrixProjection.py
import numpy as np
import tkinter
import index
class CameraProjection:
def __init__(self, f):
self.f = f
self.camera_matrix = None
self.x_angle = 0
self.y_angle = 0
self.z_angle = 0
... | fcdb4dcfa01d46ee5e970bc47312b0fd67f5bef3 | [
"Python"
] | 12 | Python | VashingMachine/rotating-cube | 66189848c27cea83fdbed6e7d7400f770dee9e2e | b4a660761062c46c57348262c89ee73391dbcb01 |
refs/heads/main | <repo_name>tord-s/currency_predictor<file_sep>/app.py
import requests
import tensorflow
from flask import Flask
import json
from flask_cors import CORS
# Import the libraries
import math
import numpy as np
from sklearn.preprocessing import MinMaxScaler
from tensorflow.keras.models import Sequential
from tensorflow.ker... | f10ec0928f800d2f755a47d60eca54d1308703b4 | [
"Python"
] | 1 | Python | tord-s/currency_predictor | 72abddd8766986f3ffc8b0c12449fb76208bf306 | d0a3a6fa36890da9dd2e2115cece3166488de3fa |
refs/heads/master | <file_sep><?php
declare(strict_types=1);
namespace K911\UriBuilder\Adapter;
use League\Uri\Schemes\Data;
use Psr\Http\Message\UriInterface;
class DataUriAdapter extends Data implements UriInterface
{
}
<file_sep><?php
declare(strict_types=1);
namespace Tests\UriParser;
use K911\UriBuilder\Adapter\UriParserAdapter;... | 433f49b940f00c48f21870ffb3ef14ff822eedd5 | [
"Markdown",
"Dockerfile",
"PHP"
] | 24 | PHP | k911/uri-builder | 8efb51684f77ea1985c4d6ec93be4a5499cb923b | 821064494236f85b131b0be0a6afe40954f02ae4 |
refs/heads/master | <file_sep>๏ปฟusing Bsuir.Retinex.UI.Command;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Med... | c44c9f6dd2805dbf3a98beebc31d7c71a9ed819d | [
"C#"
] | 4 | C# | cb150971720/retinex | a2c1b1053cb1039637a864f1dc0cc46b7ef5f4b1 | f13e8ae98245ec270e544d6528efd4c08dc81f28 |
refs/heads/master | <repo_name>mastergage11/ShapeyShapes<file_sep>/src/Game.java
import javax.swing.*;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;
import java.awt.image.BufferedImage;
import java.awt.event.KeyListener;
p... | 2d25036dd8e9909b5c9529b7c2c8a87a852668b4 | [
"Java"
] | 1 | Java | mastergage11/ShapeyShapes | 6258555095360ab9249016947a23b84154e9f9b2 | e9b56451d9eff767b7bf1e303f734bf85856e611 |
refs/heads/master | <repo_name>jawadsa007/AppBalittra<file_sep>/app/Analisa.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Analisa extends Model
{
public function kategori()
{
return $this->belongsTo('App\Kategori');
}
public function permintaan()
{
return $this->belongsToMany('App... | 2f48743b1db332b730baf5f23626ed1a0eb6cd75 | [
"PHP"
] | 13 | PHP | jawadsa007/AppBalittra | 60e93b1c756b27e8c3ccd855f479f8c846421334 | b3756064251e4524ee598b715c0552387a7400fd |
refs/heads/master | <repo_name>TeeJet/rt-mis<file_sep>/src/tests/CalculatorTest.php
<?php
use classes\calculator\Calculator;
use classes\numbers\NumberArray;
use classes\numbers\NumberInteger;
use classes\numbers\NumberString;
use PHPUnit\Framework\TestCase;
class CalculatorTest extends TestCase
{
public function testEmpty()
{
... | 5e4dc0b9ad92bb874a25b66c8ce1d6dae58d4be7 | [
"PHP"
] | 16 | PHP | TeeJet/rt-mis | 745846070d9bf2495feb5299898abc7d56bd98d6 | c0b09dbcc7c0b5856a005c9991adfd83e510e391 |
refs/heads/master | <file_sep>module.exports = function override(config, env) {
config.plugins=config.plugins || []
const chalk = require("chalk")
const PreloadPlugin = require('preload-webpack-plugin')
//config.plugins = config.plugins.concat([new PreloadPlugin({})])
config.plugins = config.plugins.concat([
new require("progress-b... | 8c572564d3faad16e11276a7095da9a1f3b5b0dd | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | SupinePandora43/TF-TD | 6532cd9165a2bdb294d4620dda6ecb5eaa3985c8 | ae03bc40b36a78cbb165b7573d64f5ae6e392dea |
refs/heads/master | <repo_name>Winaway/particle_filter_localization<file_sep>/src/particle_filter.cpp
/*
* particle_filter.cpp
*
* Created on: Dec 12, 2016
* Author: <NAME>
*/
#include <random>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <math.h>
#include <iostream>
#include <sstream>
#include <string>... | 5e8c0da0836dcf12512aa053ef61a8e91c961955 | [
"C++"
] | 1 | C++ | Winaway/particle_filter_localization | f2ad2f47f04fbeebf4f6e081db3f59afce4e941c | 3b5cac77f563061e2d5e84039062667a5634644f |
refs/heads/master | <file_sep>package com.softhaxi.reflex.controller.common;
import java.util.Date;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import ... | 631451a318fa93343e33b9187418ede074869835 | [
"Markdown",
"Java",
"INI"
] | 5 | Java | ivohutasoit/reflex-web | f9544f3661574a51637a614e6948e74ab511478b | 306531f887406d08028ae7b23786de8f6ec9785a |
refs/heads/master | <file_sep>import javax.swing.*;
import java.awt.*;
import java.util.ArrayList;
public class Point {
//ะฟะพะปั ะบะพะพัะดะธะฝะฐั ัะพัะบะธ
private int x;
private int y;
//ะฟะพะปะต flg
boolean flg;
//ัะตัะตัั
void setX(int x) {
this.x = x;
}
void setY(int y) {
this.y = y;
}
voi... | a4acb6b33d810347502b9b3e5c125ab8deef4c01 | [
"Java"
] | 1 | Java | SweetWeakness/Project | 5548753c6343acc0bd1bd7b213c7c2c64522ee7d | a32241e06323ad2657eac6533c1b7f3cb30948ee |
refs/heads/master | <repo_name>awead/shoutr<file_sep>/app/models/shout.rb
class Shout < ApplicationRecord
belongs_to :user
belongs_to :content, polymorphic: true
validates :user, presence: true
delegate :username, to: :user
# Models know a lot about SQL... or use query object
# scope :search ->(term) { joins("LEFT JOIN text... | 2e86b9f2b691a9d51c4258dd6f293a99d9118194 | [
"Ruby"
] | 2 | Ruby | awead/shoutr | a835962d0340543f5dc1e911c94a26caac7c7018 | 0033e7b5147c6af8433b921b83e7e414a7a8cd41 |
refs/heads/master | <repo_name>fisthu/vue-edit-json<file_sep>/README.md
# Vue-edit-json
> View and edit JSON as an vue component
## **[DEMO](http://fingerpich.github.io/vue-edit-json)**
</br>
## Getting Started
```
npm install Vue-edit-json --save
```
</br>
## Usage
``` javascript
//import it in your project At your entry point
... | 7df0d3d566c9a536756378ecb94717e2fe69ed1f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | fisthu/vue-edit-json | 6e5734a39c8268bb06410397760b5fb5230d6f1a | 7992800f3be06d55c1f738bb85bcdbf2a89d3937 |
refs/heads/master | <file_sep>var rainbow = require('./index');
console.log(rainbow.addSuffix('page', '.png'));
<file_sep>## javascript utils tool<file_sep>
var rainbow = {};
module['exports'] = rainbow;
rainbow.addSuffix = function(str, suffix) {
if (!str) return '';
return str + suffix;
}
| 77507c9bb39af77dfe74f55a645e963a8d5127e5 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | LeonaYoung/rainbow-red | ba5f521fff825e0c59b731ae5a7f31d7c4f37a8e | 0203a0d7d91377c9ecd1a7b57a897f7eae4d46c0 |
refs/heads/master | <file_sep># WEB Design & Development Coursework
## University of Westminster, Department of Computer Science
### Assignment Specification (2018/19)
**Deadline: Tuesday, 19 March 2019**
1. (Student 1) A presentation page with title and the name of everyone in the group. After 4 seconds, a second page will be displayed... | 2cdcfa0670d8efe49cc28dd413f159c540ddec2a | [
"Markdown",
"JavaScript"
] | 4 | Markdown | mfmsajidh/IIT-WEB-CW2 | 0915ab569ab0df8c3abc60b334617d9e840830d7 | ceee98a258597af9bdeafcf4363939f266995eee |
refs/heads/master | <repo_name>ko8/bonus-drink<file_sep>/bonus_drink.rb
class BonusDrink
def self.total_count_for(amount)
bonus = amount
while bonus >= 3
amount += (bonus / 3)
bonus = (bonus % 3) + (bonus / 3)
end
amount
end
#begin
# print "0,", BonusDrink.total_count_for(0),"\n"
# print "1,", ... | ea92cb556bdbac0617d79e92ac637ba92310af8b | [
"Ruby"
] | 1 | Ruby | ko8/bonus-drink | 89e5fd81f3262145a1cea880f1719a930eacdbd2 | 5a9d9cb6464edd41965d7a1166db90f4bb17742c |
refs/heads/master | <repo_name>dspim/Hfoundation-Troubled-Family-Risk-Profiling<file_sep>/Analysis/10_descriptive_statistic_of_risk_factors_assessment.R
library(ggplot2)
library(dplyr)
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from... | 43198ff948508cc18bf860ea0aa62d37cdb7cfee | [
"Markdown",
"Python",
"R"
] | 11 | R | dspim/Hfoundation-Troubled-Family-Risk-Profiling | c8d9d8151f082bdf09b9b1d26b4f975c13a37335 | b66344cf43f28b9316678e02d99fbf06c232b0fc |
refs/heads/master | <file_sep>package org.zkoss.mvvm.shadow;
public class Modal {
private ModalType type = ModalType.INFO;
private String message;
public ModalType getType() {
return type;
}
public void setType(ModalType type) {
this.type = type;
}
public String getMessage() {
return... | 28a68aa4bde63bfeab8392ba10237e2f21cd964d | [
"Markdown",
"Java"
] | 3 | Java | hawkchen/zk-mvvm | 179f7e43f03d67ef61534742d4ac292319e923db | 1aa6eb36faf006a3e40b3c6a3ae036c723c62d0d |
refs/heads/master | <repo_name>areebbeigh/coding-portfolio<file_sep>/templates/projects_page.html
{% extends "layout.html" %}
{% block title %}Viewing {{language}} projects{% endblock %}
{% block content %}
<img class="project_list_lang_thumbnail" src="{{language.get_thumbnail}}" alt="Thumbnail">
<h1 class="project_list_title">Vie... | 8df95b704197aaaf0df37ea751d07fb0834391e7 | [
"Python",
"HTML",
"reStructuredText"
] | 11 | HTML | areebbeigh/coding-portfolio | c1aaeca687a5bd9c8c41e3363dbce28c6b52f7cb | 2b40f4a359b14b7299f403827e78241fee211ccf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.