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/main | <file_sep>let humanScore = 0;
let computerScore = 0;
let currentRoundNumber = 1;
// Write your code below:
// Step 3. Create generateTarget() function
const generateTarget = () => {
return Math.floor(Math.random() * 10);
};
// This function returns a random integer between 0 and 9
// Step 8.2 Create alert() ... | df45405654decc2d21655845a02c1a4e7720db5b | [
"JavaScript"
] | 1 | JavaScript | orlanerosette/number-guesser-starting | b8070dcc261813c4a062ad4ba5e7168053dbd1c4 | 7fa4aed0df989c59a07bfb993c1c16c8d74c4632 |
refs/heads/master | <repo_name>ashlyjustin/hackdUnhackd<file_sep>/user_login/forms.py
from django import forms
from user_login.models import UserProfile
from user_login.models import Skills
from django.contrib.auth.models import User
class UserForm(forms.ModelForm):
password = forms.CharField(widget=forms.PasswordInput())
class Meta:... | ce63c6576e3a4c62f42a7a53bb336be1b27cf112 | [
"Python"
] | 9 | Python | ashlyjustin/hackdUnhackd | 4e0b04e4be5638a242f79337c9d590b31af0a100 | 9de5d1fc2a9ece5a2eab35816b3b41087ef04445 |
refs/heads/main | <repo_name>AngusZhu/flaskdemo<file_sep>/README.md
# flaskdemo
flask recognition aws lambda
| 36fb95fd21dbd5678d7f69e9107e8d01a7056d80 | [
"Markdown"
] | 1 | Markdown | AngusZhu/flaskdemo | 49eeaf87769c3eab6df24e32588c0d0c5cb40250 | f8513dd06799fba9b836a6f1e9ddc26faa8c14e5 |
refs/heads/master | <repo_name>n36kasai/processing-python-typingWar<file_sep>/client/client.pyde
add_library("sound")
bgImage = None
friendImage = None
friendCastleImage = None
testChar01 = None
testChar02 = None
testChar03 = None
typingMng = None
soundMusic = None
def setup():
size(1366, 768)
global bgImage, friendCastl... | f2956c008d1574ddac5ca9be5707a0a5934d0582 | [
"Python"
] | 1 | Python | n36kasai/processing-python-typingWar | ae49ca98503aaa972785590048c0014e96b28ca7 | 51d89d6818cc153c265d547604dd17d0af09fcf0 |
refs/heads/master | <repo_name>susanacadenas81/gestorClientes<file_sep>/ajax/ejercicio1/servidorXml.php
<?php
require "rb-mysql.php";
R::setup( 'mysql:host=localhost;dbname=tienda_online', 'root');
$productos = R::getAll('SELECT * FROM tabla_productos');
echo"<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo"<productos>";
foreach ... | 00995859f4263c91e4864a80e9a159ee9a1d5292 | [
"JavaScript",
"TypeScript",
"PHP"
] | 19 | PHP | susanacadenas81/gestorClientes | 46a9ae2b42c5d67fa3d420559411711c1e72cae9 | 99d8889a3df58d4af8c688d07e06d8d0de03d136 |
refs/heads/master | <file_sep>class Dealer
def initialize
@cards = []
4.times do |mark|
(1..13).each do |card|
@cards.push card
end
end
@cards.shuffle!
end
def deal
#TODO shuffle baby
@cards.pop
end
end
<file_sep>require './player'
require './dealer'
class Game
def start
@player... | 1a2a90837b8f55a4190de4cbc481c551e830c80e | [
"Ruby"
] | 3 | Ruby | yagitoshiro/BlackJack | a19a264accd25f612ba0febcac454a8a38cf5bb3 | 9c924c6e3e4b984986bd1b4eb6a2036f21d49c88 |
refs/heads/master | <file_sep>Network Switcher
=========
Network Switcher allows you to enable/disable network interfaces using hotkeys. It is also possible to create groups of network interfaces to enable/disable multiple interfaces using one hotkey.
### Installation
[Download] the .zip, adjust config.yml to your needs and run `Network... | d3d9e5a70df3ed0b1bf2f3c1d17f23c13b7f8782 | [
"Markdown",
"C#"
] | 7 | Markdown | olibanjoli/network-switcher | 3aef2986ba37bb0dc1d18aac22373231e030c0cb | b6073466e17871b75bbfc9b5748cb75fc5f5d6cc |
refs/heads/main | <repo_name>ritika-123-19/React-widget<file_sep>/my-react-app/src/App.js
import "./App.css";
import aadhaar from './aadhaar.png';
import tick from './tick.jpg';
import ReactCardFlip from 'react-card-flip';
import React, { useState } from "react";
import ReactDOM from 'react-dom';
function App() {
return <CardFlip sr... | 1cf66b66999425e3751cd0aa20167370282a2d6c | [
"JavaScript"
] | 1 | JavaScript | ritika-123-19/React-widget | f7f128be461d287906f647911a327d66e3818e18 | 53894346f108d9e1a163083059d6637d5ed3ba0f |
refs/heads/master | <repo_name>gugu/django-bitcoin<file_sep>/django_bitcoin/forms.py
# coding=utf-8
# vim: ai ts=4 sts=4 et sw=4
from django.db import models
from django import forms
from django.conf import settings
from django.contrib.auth.models import User, AnonymousUser
from django.utils.translation import get_language_from_request, ... | 37e54b3791fe78568b47eeb12ea8df32fb0364f1 | [
"Python",
"reStructuredText"
] | 21 | Python | gugu/django-bitcoin | 443382143422cd97b572c6dab478302d7ccfc524 | 4899ba40a312c4a2245f5521f9a1bd15b5371619 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler38
{
class Program
{
static void Main(string[] args)
{
int maxPan = 0;
foreach(int n in Enumerable.Range(1, 200000))
... | 1f1dc755c76cc24521598aa99f6abdb78e817b1f | [
"C#"
] | 1 | C# | jeremygibbons/Euler38 | 8bb26c7e38e648e4534f684f56c1abf6a7310ffc | 44036dddb67f217a560094b818d8db0ed970dc1d |
refs/heads/master | <file_sep>import tweepy
import time
import datetime
import os
def auth():
#finding creditentials from a file and saving them in a list
creditentials = []
creditPath = 'D:\\misc\\currentTrendsFinder\\currentTrendsFinderCreds.txt'
with open (creditPath,'r') as f:
for i in f:
... | 2e584264efa564ef52b8ce199307aa3daae05f9f | [
"Markdown",
"Python"
] | 3 | Python | KoskiKari/twitterGetTrends | 66bcaedb4bb97de4a231cea4d5b5d9df0b953240 | 82bdec4354998fb344e9d13290c1b95bd4ea1cb1 |
refs/heads/master | <file_sep>package com.nepninja.tvprogram.utils
object StringUtils {
@JvmStatic
fun capitalizeCategory(category: String): String {
if (category.contains(",")) {
return category.split(",").joinToString(",") { it.capitalize() }
}
return category.capitalize()
}
}<file_sep>b... | f5e9e01bae04b4df402f70914e05633a50f80c6a | [
"Kotlin",
"Gradle"
] | 19 | Kotlin | khadkarajesh/tvprogram | 8af09448081cb6bd9129ac082d3c9ca4fcc2030a | cd901a668d9b9ffc43aabdc1a0cb5cefd4d59892 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mycompany.dentalclinic.dataTest;
import com.mycompany.dentalclinic.data.*;
import org.junit.jupiter.api.Test;
im... | 0b03bbff3ada0eb920ca3cc0e79b0ff773f855f8 | [
"Markdown",
"Java"
] | 31 | Java | SeriousE2/Projects | 433cea06de4cab8aee1b41e59f14db780f9a9312 | a55be7ad087cef755914da609d5e9f1d6fda96b4 |
refs/heads/master | <file_sep>"""
Parser interface definition
@author: <NAME>
@organization: LEMS (http://neuroml.org/lems/, https://github.com/organizations/LEMS)
@contact: <EMAIL>
"""
from lems.base.base import LEMSBase
class Parser(LEMSBase):
"""
Parser interface class
"""
def parse_file(self, filename):
"""... | ed5aa5926e3c5022eac54f6e58ea0111d4f5732e | [
"Markdown",
"Python",
"Makefile"
] | 21 | Python | isaraj82/pylems | 7f06289c91e007f5e5b4d4911ac8b88905280a2c | 2bc0139babce13856ee5f1558318388a70d4a9fc |
refs/heads/master | <file_sep>Title: The Begginers's Guide
Url-title: the-beginner-guide-2
Description: description the-beginner-guide
Author: <NAME>
Date: 25 Juillet 2016
Image: 2743.jpg
Categories: Informatique, Ecologie
Sources: https://bidule.org
## TITLE (h2)
### SUB TITLE (h3)
> Citation
> Citation
```JavaScript
var code;
code =... | 849a808178b9891ac14526fc7cadba2bf21b0cef | [
"Markdown",
"SQL",
"PHP",
"Shell"
] | 14 | Markdown | The-Lazy-Sloth/TheLazySloth | e642515701f8d3c33a80f6d6bb26e20e12a6b190 | 741ec4497830f1742821974b50aadcf6174763b2 |
refs/heads/master | <file_sep>import rospy
import tensorflow as tf
import numpy as np
from PIL import ImageDraw
from PIL import Image
from styx_msgs.msg import TrafficLight
"""
The following functions are have been adopted from CarND-Object-Detection-Lab by Udacity
(https://github.com/udacity/CarND-Object-Detection-Lab)
filter_boxes, ... | 8536fd114a5e3565c7e9958ca668f243eb678f2e | [
"Markdown",
"Python"
] | 7 | Python | TeamDoernbach/SDCNanodegreeCapstone | 10bdc59dc1b8f56136bf3f6f4ab64c97082420bb | e235bb7154d2bef7cf9bd8b0328b22e3d24484d8 |
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">
<link rel="stylesheet" href="../css/estilos-bitacora-consulta.css">
</head>
<?php
if(isset($_POST['boton-consulta'])){
require_once("conexion.p... | a9318056d2928f8d679075a0762f06c6ad747098 | [
"SQL",
"PHP"
] | 9 | PHP | carpiordaniel/E-S-Vehiculos | 6a5524246f051cad72ccb1cfaf4a6a33b904a8e2 | a8c056ba6daed86a7f11aded5d64e165bba11d0f |
refs/heads/master | <repo_name>tomoh1r/make-clean.py<file_sep>/doc/Release.md
# Release
Setup.
```bat
> python3.X.exe -m venv --clear venv
> .\venv\Scripts\python.exe -m pip install -U setuptools pip
> .\venv\Scripts\python.exe -m pip install -e .[release]
```
Build it.
```bat
> .\venv\Scripts\python.exe setup.py sdist
```
Release it... | 03df1224e8074896bd8effd70569c35fc3cdcd91 | [
"Markdown",
"Python",
"INI"
] | 11 | Markdown | tomoh1r/make-clean.py | e2a6f6be18b8f011f42b97a0acba51ae6a40688e | f3ed726ca9d2e92b17de7f845a85e467208a8102 |
refs/heads/master | <repo_name>SincemeTom/Yimengjianghu<file_sep>/Assets/Common/TextureChannelPacker/Editor/TextureChannelPackerWindow.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.IO;
public enum E_TextureChannel
{
R,
G,
B,
A
}
public class TextureInfo... | d2ab3f8bb7f48097c690dfe136f0a4f279d422f2 | [
"Markdown",
"C#"
] | 15 | C# | SincemeTom/Yimengjianghu | 69faa47485f09659ac19cd9a6bc99fdba18b6cad | 2cf41d6b63284f2d90771106b65b93b5a4dc5cae |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace CarRequest
{
public partial class frmRentAdd : Form... | 5eb5cb976298e0767a9ed805269f771a7f890005 | [
"Markdown",
"C#"
] | 10 | C# | sercangl/CarRequest | 351026dd121e1284c5e681eea9096729e3d09abd | c831a6aeac62e32e751f52b076fcfb3a6332654b |
refs/heads/master | <file_sep>using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour {
public float speed;
private Rigidbody rb;
private int score;
public Text countText;
private List<float[]> pos;
private int lives;
public Text livesText;
publi... | f1887521fed6261b09694e54cf5db4283c8a55b3 | [
"Markdown",
"C#"
] | 2 | C# | mdnahian/PillGame | ceec5d73699424b6d57120393bd312f886858224 | 773ee4acb862c1dc69b0f46cd495e0a3704623c3 |
refs/heads/master | <repo_name>kolomoetsanvi/test_task<file_sep>/database/migrations/2019_11_12_182852_change_category_first_level.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeCategoryFirstLevel extends Migration
{
/**
* Run ... | ea19e1fd08fb7c40e98cea1e465c07da27879f36 | [
"PHP"
] | 8 | PHP | kolomoetsanvi/test_task | ca044009c2a19deec2422d67a0b7d3eda6df3fb3 | d039835b8a6b6975234abd3911df3ee3e408c711 |
refs/heads/master | <file_sep>package robson.lang.base;
import com.google.gson.annotations.SerializedName;
import robson.lang.environment.Scope;
import java.util.Arrays;
import java.util.Objects;
public class FunctionCall extends Expresion{
@SerializedName(value = "nazwa", alternate = {"name"})
private String name;
@SerializedName(v... | b4902044ea17f068806ca894e06b59c205d259ca | [
"Java"
] | 13 | Java | capi1500/Robson | 0c559182f691fc746d48394a29edc5505869bb35 | 4d6fd0af86da6eb6eb18ac79161fd81dd99bbf32 |
refs/heads/master | <file_sep># this file is to download wechat image from wechat server
import urllib
from dao.server_config import ServerConfigDao
from dao.user_upload import UserUploadDao
from threading import Timer
import os
import traceback
import os,sys,inspect
currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.cur... | 080cd35fc559348331470c6885caf94f94040317 | [
"Python",
"PHP",
"INI"
] | 28 | Python | horiebin/ProjectWx | 623287954042ce5d36e591fed89edf02dd0c3f11 | 29db264fe552062b75092558f09ef8e7369319bc |
refs/heads/master | <file_sep>
var database = firebase.database();
var ref = database.ref('products/product');
ref.once('value', gotData, errData);
function gotData(data) {
var data = data.val();
var keys = Object.keys(data);
console.log(keys[2])
console.log(data[keys[2]])
}
function errData(error){
co... | e0b688be8f6e246210fe861afe7e89cc221a111c | [
"JavaScript"
] | 3 | JavaScript | SitanGuy17/elmotamyz | 7450bd9749296e57a5f8fb9d2a472b6b19e82408 | cb8c23be2e12642179acbc88db348c300c993603 |
refs/heads/master | <file_sep>/*
Copyright 2011 USGS WiM
*/
/*
Author: <NAME>
Created: December 14, 2011
*/
//var basemaps = [];
function createBaseMapGallery() {
var streetBasemapLayer = new esri.dijit.BasemapLayer({
url: "https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer",
});
var streetBa... | 91bdb309d1a0e1b86046c5666cd85ea4b7aa258b | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | USGS-WiM/BadRiverGroundwater | edea433545dddef99cf5356606663395d23d9119 | 6da946d70c4ff7613127227d6d900228a88d0a33 |
refs/heads/master | <repo_name>furkansoyturk/shufflebox<file_sep>/App.js
import React, { Component } from 'react';
import { Alert, AppRegistry, Button, StyleSheet, View } from 'react-native';
export default class App extends Component {
constructor(props) {
super(props);
votesJson = "VOTES";
playlistJson = "playlist";
t... | ba8615af0d17d9c8b1fbce5967df3b1319ad491a | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | furkansoyturk/shufflebox | 6f9b66770840dd89be5f616b5f8b6c3cc4ae5c7d | 188197662e610dedb5f728eecbd8248f56b4afe0 |
refs/heads/master | <file_sep>package br.ufsc.ine.agent;
import java.io.File;
import java.io.IOException;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CharStreams;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.tree.ParseTree;
import org.antlr.v4.runtime.tree.ParseTreeWalker;
import age... | 8ee89fa8e68e8c11aabe56570692568b160902d6 | [
"Java"
] | 2 | Java | FelipeRFP/sigon-lang | 60a4ff89d2dc04730b904d6bdf2916221abd4d70 | 6b343c08c147427806be1364ea248bc5938e5547 |
refs/heads/master | <file_sep>import entryBuilder from "./entryHTML.js"
/*
Responsible for putting entries on the DOM
*/
const renderEntries = {
renderJournalEntries: (entries) => {
document.querySelector(".entry--Container").innerHTML += entryBuilder.makeJournal(entries);
},
renderSingleEntry: (entry) => {
... | a962d0544c60889af48f8bd164053048fd9b1c30 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | DylPickle11/Daily-Journal-NSS | 1bf49d412bc384fba3d5ba4d24da35332ca2e1b7 | 077d63bdde72fbfa173a37689c54b1f5738ce8f4 |
refs/heads/master | <repo_name>Angrymos/react-chat-client<file_sep>/src/components/Avatar.js
import React from 'react';
import MUIAvatar from '@material-ui/core/Avatar';
import getColor from '../utils/color-from';
import titleInitials from '../utils/title-initial';
import { withStyles } from '@material-ui/core/styles';
const styles = {
... | 7e961fe5062999999c45be86ecf3ae91db9c0e70 | [
"JavaScript"
] | 10 | JavaScript | Angrymos/react-chat-client | 76f340497fc52b50622ddfef383cf2b4a1d51568 | 620f63e5975c832b8d86a4b395eb936747ed6fc4 |
refs/heads/master | <repo_name>jackrizza/image-converter<file_sep>/image.py
from PIL import Image
import glob, os
import sys
class Image(filePath):
filePath = filePath
def __init__ (self) :
for file in glob.glob(filePath + "/*.*"):
filepath = os.path.realpath(file)
im = Image.... | 0483396d1914f85dd815246218dfa14f79206cd1 | [
"Markdown",
"Python"
] | 3 | Python | jackrizza/image-converter | aa306f2e917cbd79ffc9cbdb8513305bb11b126d | 9ba41bd4fc8d15dde8cf238eeda55a7a887fbba4 |
refs/heads/master | <repo_name>erugeri/oom-appengine-test<file_sep>/README.md
# oom-appengine-test
deploy + call appspot url
when free heap is near 0 -> 502 Bad Gateway - nginx
then in syslog:
```
[ 257.820460] Memory cgroup stats for /docker-daemon/docker/5a52738c0d660f108c46f64d906c1921a1513957b742d66ba0fc3ca86557896b: cache:92KB rss... | fab9699ea9988583104e89147a484ad38dbaadc1 | [
"Markdown",
"Java"
] | 2 | Markdown | erugeri/oom-appengine-test | 4b62728ed446dc48a29d42524ea2861a096de403 | 4022d58e2a5f43bd316dcffd50c2d76e53ef2526 |
refs/heads/master | <repo_name>id-007/TUSHAR---LETSUPGRADE-JS<file_sep>/#DAY 4/Fourth.js
console.log("Question 4")
//--------------------------------------------------------------------------------------------------------------\\
let num1 = prompt('enter a number') ;
// let cal = prompt('Enter operation');
let num2 = prompt('enter... | 4c3befedc00ad4d081321dd8d22023833bfebef4 | [
"JavaScript"
] | 6 | JavaScript | id-007/TUSHAR---LETSUPGRADE-JS | a8109681fc17a224e77291c59b3974813e41f6ce | aa08e74b69667e094a1b063150f069f83bde2937 |
refs/heads/master | <repo_name>BruhWhyYouMad/MemeYoutubeVideoMaker<file_sep>/main.py
import praw
import os
import requests
from frame_to_Video import convert_frames_to_video
CLIENT_ID = os.getenv('CLIENT_ID')
CLIENT_SECRET = os.getenv('CLIENT_SECRET')
reddit = praw.Reddit(client_id = CLIENT_ID,
client_secret = CLIE... | 3ff5b2a43db5b1623c5a37ba33ddd9d09b4707c8 | [
"Python"
] | 1 | Python | BruhWhyYouMad/MemeYoutubeVideoMaker | 7bacf7f8b30050ee11e562de8e8d5489dbb40a5d | 95f035f02507024e50de5ed5ac3a98ecb81d029a |
refs/heads/master | <file_sep>(function(){
angular.
module("WebAppMaker")
.factory("WebsiteService",WebsiteService);
function WebsiteService($http){
var api = {
findWebsitesForUser: findWebsitesForUser,
findWebsiteById: findWebsiteById,
createWebsite:createWebsite
};
return api;
function findWebsitesF... | 2fc9d611dad44f39a224743eb90b9cf4dc49297c | [
"JavaScript",
"Python",
"Markdown"
] | 14 | JavaScript | hangshang1992/summer_web | ae7717c5d84354fcdb6dccffed331586e6311a57 | 9b09d80b82f5958204ee88a0dd97f345dbb444d0 |
refs/heads/master | <repo_name>paulogpafilho/wlst-misc-scripts<file_sep>/README.md
# Weblogic WLST Miscellaneous Scripts
This is a repository of miscellaneous WLST scripts.
Scripts are examples on how to implement several tasks related to WLS monitoring, admin and configuration.
## Getting Started
Read the script comments for each des... | b4f8b810cec58c3613df625fad1aa5aad57f4873 | [
"Markdown",
"Python"
] | 4 | Markdown | paulogpafilho/wlst-misc-scripts | 6ee6cefe3e9f32ea36df6d8c933adf058432759e | bc0bbef10f731aeee8cc91f5a1983ea34e050a75 |
refs/heads/master | <repo_name>Anjero/reader<file_sep>/src/main/java/net/anjero/reader/core/config/MyBatisConfig.java
package net.anjero.reader.core.config;
import org.apache.ibatis.session.Configuration;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.boot.autoconfigure.ConfigurationCustomizer;
import org.slf4... | cf8d95f850be485c3fb844aa6f5311b55de0e1b9 | [
"Markdown",
"Java",
"SQL"
] | 19 | Java | Anjero/reader | f87a545cb4b25173ced15cf0906e87004745696e | d69e971cfea66ecf972b14c592355081dfc7ce33 |
refs/heads/master | <file_sep>var com = com || {};
com.apress = com.apress || {};
com.apress.view = com.apress.view || {};
com.apress.view.ProfilePopupView = Backbone.View.extend({
template: Handlebars.compile($("#profile-template").html()),
model: null,
initialize: function(options){
var self = this;
self.model = new com.apress... | ff47b2f1776171dff9ea38ef1398699c4f2f4f2d | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | ifreddyrondon/Twitter-Backbone-Client | 263dc44043b5dd1fa0c29dc098e663c89f705bd6 | 0dcd4515be4cc4cbdf88256e3419d82a18f839bb |
refs/heads/master | <repo_name>semvoja/checkMailTest<file_sep>/src/com/company/Main.java
package com.company;
public class Main {
public static void main(String args[]) throws Exception {
WorkWithMail.setUserName("");
WorkWithMail.setPassword("");
WorkWithMail.setReceivingHost("imap.gmail.com");
... | 44252ff69ad2144714fa677e50df0c26874244c8 | [
"Java"
] | 1 | Java | semvoja/checkMailTest | 0ec6f346036500e94219f1ed396b4f0e9476ad4b | 672fb66459b33a8c93b967362863c7ba94dfda60 |
refs/heads/master | <repo_name>LucaDorinAnton/PPA-Assignment-3<file_sep>/README.md
# PPA-Assignment-3
Pair programming project: <NAME> & <NAME>
<file_sep>/src/Terrain.java
/**
* Abstract class Terrain - The terrain is an actor that does not move.
* It is still an actor because the classes that inherit from it may have
* different ... | 00e5a8ba4862c5a1f712ea6c0a7b3b1b26ef90b0 | [
"Markdown",
"Java"
] | 9 | Markdown | LucaDorinAnton/PPA-Assignment-3 | 069b7e100d74021d83001b18732bfc9c13621f01 | 34a409564f62a2f37dc361ac39c9c9d7383e36b3 |
refs/heads/master | <repo_name>crossdsection/irshaad-backend<file_sep>/db/data/16/dropUselessTables.sql
DROP TABLE state_reviews;
DROP TABLE details_reviews
<file_sep>/db/schema/wv_email_verification.sql
-- phpMyAdmin SQL Dump
-- version 4.6.6deb5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jul 20, 2018 ... | 45fe0ae5a96cf41397c5dc1a6b2deb7bb8271f4e | [
"SQL",
"PHP"
] | 61 | SQL | crossdsection/irshaad-backend | 93197cdef61056d2099e86e77d459c112b35c495 | 0e1330ce5d88cc1210c1c9aefc22a09443b060aa |
refs/heads/master | <repo_name>Sjhb/vuex-demo1<file_sep>/src/mock/product.js
const products = [
{
id: 1,
name: '童装/女童 袜子(2双装) 405454 优衣库UNIQLO',
source: '//g-search2.alicdn.com/img/bao/uploaded/i4/i3/196993935/TB1w4LVfaLN8KJjSZFmXXcQ6XXa_!!0-item_pic.jpg_360x360Q90.jpg_.webp',
price: '35.00',
brand: '优衣库'
},
{
... | 223adf7572ac656bb3d88a7758fab9805b5927bf | [
"JavaScript"
] | 4 | JavaScript | Sjhb/vuex-demo1 | f96bbb585111aa62f9635b3f2d3fafe479596a33 | ae551feb1ac762be03426f17298db97a95762f05 |
refs/heads/master | <repo_name>AdamJayPressel/space_invaders<file_sep>/asteroid.py
#!/usr/bin/python
import pygame
from pygame.locals import *
from colors import *
from random import *
WIDTH = 400
HEIGHT = 647
class Asteroid(pygame.sprite.Sprite):
#create asteroid object and give it initial position and velocity
def __init__(self):
... | 110e4db687feb9d8b82dd11335a60e257bef5997 | [
"Python",
"C++"
] | 6 | Python | AdamJayPressel/space_invaders | b38e0851f171e3605706b309d93514bbccb9c95b | 681c45465a7e08dc1ad8f3e692bab550da879f00 |
refs/heads/master | <file_sep>using System;
using System.Collections;
namespace Balanced_Parenthesis
{
class Logic
{
ArrayList openbrackets;
ArrayList closebrackets;
public Logic()
{
openbrackets = new ArrayList();
openbrackets.Add('(');
openbrackets.Add('{');
... | 5a44d962dfc6e93d31803f021e86f0c19bb60228 | [
"C#"
] | 1 | C# | anandvadaje/Balanced-Parentheses | 416c220e72a947d16ef22fb67bfe79b5ac01c9d1 | fa7689e886009bda7335672f81a88c4a15aa0b4f |
refs/heads/main | <file_sep>function derivative(f) {
return x => {
let h = 0.000001
return (f(x + h) - f(x)) / h
}
}
[1.0, 2.0, 3.0, 4.0, 5.0].map(derivative(x => x * x))
[1.0, 2.0, 3.0, 4.0, 5.0].map(x => 2 * x) | e80c48f605d236c1be8a5baa16a3178752deeafc | [
"JavaScript"
] | 1 | JavaScript | Aemiii91/pp-exercises | 54338e2c8f972e6626c657a9873d322fd9d6acad | 0c6bec9ac725fc39960090774fe59cfebdf9f63d |
refs/heads/main | <repo_name>kilwa0/initrepo<file_sep>/github/repository.go
package github
import (
"context"
"github.com/google/go-github/v34/github"
"log"
"os"
"path/filepath"
)
const (
Separator = os.PathSeparator
ListSeparator = os.PathListSeparator
)
func CreateRepo(client *github.Client, org string) *github.Repositor... | 0dfc3c9f3ed265d36f76d6b3dc2d321d05cdc6ef | [
"Markdown",
"Go Module",
"Go"
] | 6 | Go | kilwa0/initrepo | 5ce7926128d20d79df4495cd95552af4d6f0769e | 597f3eb1587910c3d6f5b2ce3fcd4ac86e1d88d1 |
refs/heads/master | <file_sep>import React, { Component, PropTypes } from 'react'
class LoginForm extends Component {
static propTypes = {
authorization: PropTypes.func
};
state = {
username: '',
password: ''
};
handleChange = field => ev => {
this.setState({
[field]: ev.tar... | 4cf4df55584226412097c7d7b6e12cd358b82a5c | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | kickboxer/test-react | 83204b8226561162568b817f9f3e2d082821241e | c72ce03addb51b84316542c9a8679275a05a09e2 |
refs/heads/master | <file_sep>import sys
import os
import shutil
import csv
import math
def readDirFilesToDict(dictDir):
# parse the spam or ham folders' files into words corpus
def hasIllegalChars(str): # decide if a string is a legit word
if str == '' or str[0] == '-' or str[-1] == '-' or str[0] > 'z' or str[0] < 'A'... | 828e14ad9029b78ea8d0a9690898e95cca5abf1b | [
"Python"
] | 1 | Python | hangbinli/machine_learning_spamfilter | c34f401c5b0751af9a04355fcc5e02d324b5301a | f66ad5525b354de3aa9f54124104c9e1a074223e |
refs/heads/master | <repo_name>zzuspy/Server<file_sep>/Server2.0/log.h
#ifndef LOG_H
#define LOG_H
//找一个可写的日志文件(带滚动)
//滚动策略:先顺序找没有写满(没写)的日志文件
// 如果全部写满的话,就找创建时间最早的,删掉重写
int findlog();
//初始化,定位一个可写的日志文件
void initlog();
//写日志
void writelog(const char* content);
void log_destroy();
#endif
<file_sep>/Server1.0/log.c
#include "base.h... | 1396030d334e8e260fbe2649b79e2fb657b04504 | [
"C",
"Makefile"
] | 6 | C | zzuspy/Server | 77ff73d49b584e7f897440453cbf76ececd1ba99 | 579e6368d3d23dcf5d255ceaccf310fea563a17c |
refs/heads/master | <repo_name>085astatine/lark_test<file_sep>/main.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import lark
def main() -> None:
with open('./expr.lark') as file:
parser = lark.Lark(file.read(), start='expr')
tree = parser.parse(sys.argv[1])
print(tree)
if __name__ == '__main__':
... | 232a5e9cafff3ade0a4d3ddd761b5000eb2c06b8 | [
"Python"
] | 1 | Python | 085astatine/lark_test | 71e232df233fe1dd33cf677a2d99cafaa27aaeb8 | 14987e6596cb81d521ea52cbd02209ae6f824992 |
refs/heads/master | <file_sep>/*
* Copyright (c) 2013, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list o... | 6f52649362384e0e4f9eeb5e229948207e4ec51e | [
"Markdown",
"C",
"Makefile"
] | 3 | C | t0mac0/ppmtofb | 6780445a85a4d0fa6a6c118fb2d0b85db14afe85 | b0f8852fd06e10adf416bce8f931c5dbb80f3311 |
refs/heads/master | <repo_name>chuckharmston/universal-search-addon<file_sep>/src/lib/Transport.js
'use strict';
// transport wraps the WebChannel and is exposed via the main pubsub broker.
// The transport also knows how to transform events into the form expected by
// the iframe. This is a little weird, but keeps individual UI objects ... | 56a439a66fa7b58462c1cbd1ae540e7c5066ba41 | [
"JavaScript"
] | 3 | JavaScript | chuckharmston/universal-search-addon | d39af6b305a13d49409e1ae24517d772ca5b0fa2 | 6c151991e95360bce3e8741c5f1f820a277b5392 |
refs/heads/master | <file_sep># Car_DB_mngmnt
high-level interface for accessing and modifying database + REST API
<file_sep>from flask import Flask, request, jsonify
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy.dialects.postgresql.json import JSONB
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql://p... | 515aab77f6ed1d7f703eecd49186dbf04fdc10e8 | [
"Markdown",
"Python"
] | 3 | Markdown | majbog/Car_DB_mngmnt | 4b33336acae49458e3c4bd1be434ada2232c0ce2 | 8de1752d65963a71890ec8e6304b8a05a1ae1a5f |
refs/heads/master | <file_sep>import subprocess
import time
from typing import Any, List
import cli_ui as ui
import pkg_resources
class InvalidCommand(Exception):
pass
class Looper:
def __init__(
self,
*,
cmd: List[str],
max_tries: int,
stop_on_first_fail: bool,
capture: bool,
... | eaa5be78e5a53db0c7a335ce234bb07cff0f03a9 | [
"Markdown",
"TOML",
"INI",
"Python",
"Shell"
] | 9 | Python | jeremad/looper | 56f2c504a43b09398bd296c283030506192ee946 | 569fd9487f7ce185dcd79bf4d12e4d946bafc23f |
refs/heads/main | <repo_name>RyanTakes/cedarrapids-ops-201d3-OPsChallenge4<file_sep>/README.md
# cedarrapids-ops-201d3-OPsChallenge4<file_sep>/array.sh
#!/bin/bash
dir1="dir1"
dir2="dir2"
dir3="dir3"
dir4="dir4"
arraydir=("/home/ryan/dir1" "/home/ryan/dir2" "/home/ryan/dir3" "/home/ryan/dir4")
echo ${arraydir[*]}
| d91b35ec19485eece0622da4a78e4046033f16b8 | [
"Markdown",
"Shell"
] | 2 | Markdown | RyanTakes/cedarrapids-ops-201d3-OPsChallenge4 | 3eace4fbf069fc76666a220b6ae216f740c1855d | 2641acb83953c2e810da572e61b9a3236547f7c9 |
refs/heads/main | <file_sep>DROP TABLE IF EXISTS measurement CASCADE;
CREATE TABLE measurement (
city_id int not null,
logdate date not null,
peaktemp int,
unitsales int
) PARTITION BY RANGE (logdate);
DROP TABLE IF EXISTS measurement_y2006m02;
CREATE TABLE measurement_y2006m02 PARTITION OF ... | e2a5e429edeb9c4a59d5d53a62b2d393a7ad620e | [
"SQL",
"YAML",
"JavaScript",
"Markdown",
"Shell"
] | 19 | SQL | ZaharBozhok/HL | a518e2f688368980fc894fa7786967914de046a9 | acacb6e3faf1f07567d41f0596193b8a9fc6d2af |
refs/heads/master | <file_sep>#include <Bounce2.h>
#include "EEPROMAnything.h"
//#include <MemoryFree.h>
#include <NewPing.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#define motorPinUp 3
#define motorPinDown 2
#define sonarPongPin 4
#define sonarPingPin 5
#define buttonDownPin 6
#define buttonUpPin 7
#define beeperPin 12
Liqui... | ee52a942da0d7e41a41375314fcd61d8bf6d9c31 | [
"C++"
] | 1 | C++ | jameswood/Deskbot | a26f361b6c74da3c60141187d0c18e939b6a1f6f | 4f06e3d510b2138f4f394d26b4e78e7fbf0eb0cc |
refs/heads/master | <repo_name>dependon/myStudy<file_sep>/QImage/cvtest/avltree.h
/*
* Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
*
* Author: <NAME><<EMAIL>>
*
* Maintainer: <NAME> <<EMAIL>>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... | f8253b036de4e5d8f0a7e568695d08ba6d94ff67 | [
"Markdown",
"C++"
] | 14 | C++ | dependon/myStudy | acbf3729609b7fbdd8d346dbce32a749ee8dbf1a | 27315ee287416327cb71c9a89a86fe9fd71f9f10 |
refs/heads/master | <file_sep>$(document).ready(function () {
$("#boy").click(function () {
$('#new').modal('show');
setTimeout(function () {
$('#new').modal('hide');
}, 2200);
setTimeout(yesItsBoy, 2300);
});
$("#girl").click(function () {
$('#new').modal('show');
setTimeout(function () {
$... | 8c9e3dc37f337b60d370f179fdc0442a4bdde13c | [
"JavaScript"
] | 1 | JavaScript | jobscode2020/revelacaodanieleidiane | 5180dc35e5bb6b6f14e2553f17f95c6d1f06067b | 4d8cb9f88e3094b6912b536c7629d0b00ab9487e |
refs/heads/master | <repo_name>imagine1331/test-project<file_sep>/springStarterProejct-2/src/main/java/com/example/test/mapper/TestDao.java
package com.example.test.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import com.example.test.model.Member;
@Repository
@Mapper
pu... | 2cbeb392a3eb3f6638bf7a584506328731220c22 | [
"Java"
] | 2 | Java | imagine1331/test-project | 3542b9ce1d043d0a0cdf0b3f74fb29905cce9ab5 | 03745518bce4d2683d7aea271fb827c10d310c2e |
refs/heads/master | <repo_name>ArLEquiN64/biboro_angularjs_v2<file_sep>/src/app/base/base.service.js
class BaseService {
constructor($http, dispatcher) {
this._dispatcher = dispatcher;
this._http = $http;
}
createCallback(apiName){
// example: apiName=fetchedAll
// this.FETCHEDALL_CA... | 7dff1c990716d5d028892156161e186272b1ea88 | [
"JavaScript"
] | 9 | JavaScript | ArLEquiN64/biboro_angularjs_v2 | d6bd8d0132008912e3164995679bba6dab209f10 | 5fbde92806e505089c5c4a6b56aff3c68348055f |
refs/heads/master | <file_sep>package com.rec.flows
import com.google.common.collect.ImmutableList
import com.r3.corda.lib.tokens.contracts.states.FungibleToken
import com.rec.flows.FlowTestHelpers.assertHasSourceInVault
import com.rec.flows.FlowTestHelpers.assertHasStatesInVault
import com.rec.flows.FlowTestHelpers.createFrom
import com... | 8f19da9ce196af8547284672c1cf1c422c4cf9fc | [
"Markdown",
"Kotlin"
] | 16 | Kotlin | cyprienroche/recorda | abf574bad119577c445e5c573446d762b394095a | f5057a4f6b7ff2ad5fa5230317e137f638b86617 |
refs/heads/main | <repo_name>Sultan-75/node_expres_project_1<file_sep>/public/js/main.js
const cityName = document.getElementById("cityName");
const city_name = document.getElementById("city_name");
const searchBtn = document.getElementById('searchBtn');
const temp = document.getElementById('temp');
const temp_status = document.getEleme... | 8c8ffb1b26a87a6b125da06feedc4d4fa8f2a9c3 | [
"JavaScript"
] | 1 | JavaScript | Sultan-75/node_expres_project_1 | 11010b824bb958559e62f4d36467dcac5ee4f683 | 98ef81a3a7fa651d3b8aea11deed5aaf3b2c68b5 |
refs/heads/master | <file_sep>import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { Observable } from 'rxjs';
import { Product } from './product';
const httpOptions = {
headers: new HttpHeaders({ 'Content-Type': 'application/json' })
};
@Injectable({
providedIn: 'root'
}... | 4a746eed167d4844e1762e7323d579134d59deed | [
"TypeScript"
] | 6 | TypeScript | ramv133/ShoppingCart-client | 981744c7e36d631f4901f6edc0389d427c8c3e03 | f7bc0b8ec35f2cb1c063ac6e5be86586cf0b6981 |
refs/heads/master | <repo_name>lgaalves/core-periphery-detection<file_sep>/cpalgorithm/Cucuringu.py
import _cpalgorithm as _cp
from scipy.sparse import diags
from scipy.sparse.linalg import eigs
from .CPAlgorithm import *
class LowRankCore(CPAlgorithm):
"""LowRankCore algorithm.
LowRankCore algorithm introduced in Ref.~ [1]
Param... | 2cc974f159f43aeb848cd51ef08fc04a711a4b80 | [
"HTML",
"reStructuredText",
"Markdown",
"Makefile",
"Python",
"Text",
"C++"
] | 57 | Python | lgaalves/core-periphery-detection | 0eaaa0cde08d0e59fba5442fd25eae74f663717e | 00d100b6dfafee11606daa3b0f496a6484c030e6 |
refs/heads/master | <file_sep>/*
* S/Key OTP Calculator (RFC 2289)
*
* (c) <NAME> 2009
* v1.0.0 2009-07-20 (first release)
* v1.1.0 2009-09-08 cygwin bugfixes
* v1.1.1 2018-03-24 minor code cleanup (current release)
*
* compile with:
* gcc -o skey skey.c -lmhash
*
* usage: skey [otp-<hash>] <rounds> <seed>
*
* You will be pr... | 5c813d0d75f3e1ce7567d3b19d12687621295c54 | [
"C",
"Makefile"
] | 4 | C | wfraser/skey | 44baa99ca69ff6bede1c93c32a5e3605bdd32cd2 | bba21a357a924ef0447deb198051ed310a63b6f2 |
refs/heads/master | <repo_name>go1com/util_publishing_event<file_sep>/EventPipelineInterface.php
<?php
namespace go1\util\publishing\event;
interface EventPipelineInterface
{
/**
* Embed the additional data to the given event
*
* @param EventInterface $event
*/
public function embed(EventInterface $event): vo... | 5976f9037977ad85eee889b1388b53cb98be6a29 | [
"Markdown",
"PHP"
] | 9 | PHP | go1com/util_publishing_event | b16fdd529a3c854b19c7a4abf9cf191464860d00 | 6a5f911115f4295b389c570c80b2d386577b0cde |
refs/heads/main | <repo_name>i19fukuda/FxOpenTimeTest<file_sep>/views/NoteRect.java
package views;
import javafx.scene.input.KeyEvent;
import javafx.scene.input.MouseEvent;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
public class NoteRect {
//final private int RECT_SIZE = 48;
private Rectangle noteRec... | 7e76903d77f00711d6831358c077c1f75a0bc539 | [
"Markdown",
"Java"
] | 3 | Java | i19fukuda/FxOpenTimeTest | c6aa1f3c3876d7690e73e52a243c6b864d4f125d | 6584915911ee26a79454b09a48a9781ead33ff6c |
refs/heads/master | <file_sep>class Animal {
constructor() {
this.name = name
this.isMammal = this.isMammal
}
}
class Ape {
constructor() {
function tampil() {
yell()
return Auooo
}
}
}
class Flog {
constructor() {
function musik() {
... | 4cfa447702b3e51bc41c205a638a1046c1c8a569 | [
"JavaScript"
] | 3 | JavaScript | erwinbaee/Evaluasi_sprint3 | fb09d999482cbdb1ae1a037ce8ee913c494e72e4 | 6ebbed5ef13cf0eca583c41c634f5dd30c3a1ada |
refs/heads/master | <file_sep>import { Router } from 'express';
const router = Router();
//TODO: Add route configs here.
export default router;
| 49c2e02c0d5db354ddb4a6774955172737f9c8f5 | [
"JavaScript"
] | 1 | JavaScript | tsmarco/marco-tsang | 7a7229360b86569f97c10a7d68cf2320177b60f2 | 01574bf3ab25bda0073c77f033d0f4febd760a55 |
refs/heads/master | <repo_name>maru718jp/program_c<file_sep>/2020study1.c
/*
2020study1.c
2つ歯車をかみ合わせて使用するとき、主の歯数をA、従の歯数をBとして入力して、
主が10000回、回転するときに同じ歯同士がかみ合う回数とかみ合う率を求める
プログラムを作れ。A Bに0を入れると終了する。
*/
#include <stdio.h>
//#include <Windows.h>
main (){
#define PATTERN 10000
while(1){
int ga;
int gb;
int gacount=1;
int gbcount=1;
in... | b2caacc62cb5feec16732a748b1333f5b6cb9d28 | [
"C"
] | 8 | C | maru718jp/program_c | 14f646d1afa565ec88f56d8b45f53f64a96d4bd4 | 76a6a0bb4c326a596cd87eede84f50e46c45b115 |
refs/heads/master | <repo_name>johngellert/c-sharp-hello-world<file_sep>/HelloWorld/Vehicles/Car.cs
using System;
namespace HelloWorld.Vehicles
{
public class Car
{
public Car()
{
}
public string year;
public string make;
public string model;
public void Description ()
... | 0c3a08f814c62c20e5a4c33f613b1c236d322fb1 | [
"C#"
] | 2 | C# | johngellert/c-sharp-hello-world | 1ee3c0216a29f08e7a95cddc764eb32a2eb58404 | 5e09bd7ddf450821873477fb7ec16e9e559fd099 |
refs/heads/main | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraFocusGroup : MonoBehaviour
{
private bool testBool;
[SerializeField] GameObject player, testdummy,cursor;
// Start is called before the first frame update
void Start()
{
TargetGroup... | ad00e7bbd44460ec459acbe1ce8e49db69b165e3 | [
"Markdown",
"C#"
] | 11 | C# | kika2001/2DMovementParkourAndCamera | 9e0f768780e7b1dd1df27fc46a3e07cc33a33e8c | 8c08bda4e64ea5c514782d263c6278746221d942 |
refs/heads/master | <repo_name>beenjyd4/INF3044_KRAFFT_FAVIN<file_sep>/app/src/main/java/com/example/benjamin/myapplication/Main2Activity.java
package com.example.benjamin.myapplication;
import android.app.NotificationManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import ... | 838dfb83e537cfb8a88057d65231d7268c10052c | [
"Java"
] | 1 | Java | beenjyd4/INF3044_KRAFFT_FAVIN | 89a15709486b164680a2a23de972e3e2e923afba | e37cf462ef8a12acc6cc889aa102dfa8308b4a4f |
refs/heads/master | <repo_name>CactusCata/SignGenerator2.0<file_sep>/Tellraw2.0/src/com/gmail/cactus/cata/enums/HoverEvent.java
package com.gmail.cactus.cata.enums;
public enum HoverEvent {
SHOW_TEXT("show_text"),
SHOW_ITEM("show_item"),
SHOW_ENTITY("show_entity"),
SHOW_ACHIEVEMENT("show_achievement");
private String name;
... | e20649159fdbfa7005f9a3379619e9db92d03e34 | [
"Java"
] | 3 | Java | CactusCata/SignGenerator2.0 | 755a7d4561e1a01a1dbcc2d5fb9ed827abef8e5f | 61ae5a9989bfa2dbd50405569d77f44565927f4a |
refs/heads/master | <file_sep>emls
====
The EMLS provides a mailing-list system which can be entirely controlled through email including creating mailing-lists, changing the configuration etc.
The wrapper binary must be set with the setuid bit:
$> chmod 711 wrapper
$> chmod u+s wrapper
<file_sep>#
# ---------- definitions ---------... | daa0786fc7fd1d96f9c6e0e9ed63a8a971ab6949 | [
"Markdown",
"C",
"Python"
] | 9 | Markdown | mycure/emls | 2b65fafd111b56904e16732390c161b2e5c3d42d | 2b2560f5dc4a6219fed400928096c4f7d922fb82 |
refs/heads/master | <repo_name>tylerj9010/Week-2-Assessment-JUnit<file_sep>/README.md
# Week-2-Assessment-JUnit
Shape classes tested with JUnit
<file_sep>/src/tests/TestCircle.java
package tests;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import shapes.Circle;
public class TestCircle {
Circle c... | 22250bf6bfad72c8d18c86a4a6e211a5d9f95cb9 | [
"Markdown",
"Java"
] | 4 | Markdown | tylerj9010/Week-2-Assessment-JUnit | 10031aa39a8112ee9ff2a41e5f0d831b9668ab32 | 134d8de33ff210d5a7274bb49a3d634298d610b9 |
refs/heads/master | <repo_name>yudistiafirman/Codemi<file_sep>/Src/Redux/Reducer/QrcodeReducer/QrcodeReducer.js
import { INVISIBLE, IS_VISIBLE } from "./QrcodeType"
const data ={
isvisible:false
}
const qrcodeReducer=(state=data,action)=>{
switch(action.type){
case IS_VISIBLE:
return {...state,isvisible:tru... | 6b099c9db88ad64b65af809b1ddcafb2389f4ece | [
"JavaScript",
"Markdown"
] | 21 | JavaScript | yudistiafirman/Codemi | 10551b0ad7c3eb5d47a79723e28e9405dd2b3f59 | 14c214ba0dcf5bed103c59f17cbe9701c00cf5a7 |
refs/heads/master | <repo_name>nazarzel/WCF<file_sep>/AppForWCF/Client/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Threading.Tasks;
namespace Client
{
[ServiceContract]
public interface IMyMath
{
[OperationContract]
i... | 33276281105b25e846d853c5c2e0b916d779b754 | [
"C#"
] | 1 | C# | nazarzel/WCF | 848c1800fd8fe834d6971c4a6dc5e7361b75bb20 | f5444db402e72b69d7bde5a3771812eb00c155b9 |
refs/heads/master | <file_sep>package com.gmail.gnoianko;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
int[] a = new int[15];
for (int i = 0; i < a.length; i++) {
a[i] = (int) (Math.random() * 11);
}
int[] b = Arrays.copyOf(a, 30);
for (in... | 0212f244aa406ab8347de8ccada66fa5052b1f8c | [
"Java"
] | 6 | Java | Hnoianko/prog.kiev.ua-JavaStart- | 73445f3268ca5982f8b6b07e7728f79b19c5f069 | e717cdb1cf4e39f69bb8a003baf7a0edb9b8120f |
refs/heads/master | <repo_name>koloskus/illustrator-fill-stroke-switch<file_sep>/multi-color-fillstroke-swap.jsx
/**********************************
** **
** A Simple-Ass Code **
** I think Illustrator **
** Has Been Missin': **
** **
** Swap f... | 40f85cb9e12483d57fa3eb213b95522040576d23 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | koloskus/illustrator-fill-stroke-switch | b02df256aa69be819dfe83c866a6f2a1744f8b10 | 4da4d34cdbeefd5b2501526ab74d856275d9c1cb |
refs/heads/develop | <file_sep>/* eslint-disable no-undef */
import { render } from '@testing-library/react';
import Divider from '../../components/Divider';
describe('<Divider />', () => {
it('should render divider component', () => {
const { container } = render(<Divider />);
expect(container.querySelector('div.divider')).not.... | 8a1fc436fa12d01ed8637e5a136c31f633def829 | [
"JavaScript",
"TypeScript",
"Markdown"
] | 10 | JavaScript | tailwind-master-piece/tailwind-master-piece.github.io | fbfa85aa7ad6781c0756220f203dbf1c6165a7b1 | 8573fc3e4aeff057e507e5f428f2858a83eaf600 |
refs/heads/master | <file_sep>var id1 = document.getElementById("one");
var id2 = document.getElementById("two");
var id3 = document.getElementById("three");
id2.innerHTML = id2.innerHTML.replace("Gunnar","Jakob");
id1.className = "active";
id3.remove()
<file_sep># Vef-JavaScript
Vor2017
| 77c5ad540a796cd6fdd387367e97358b6305e22b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | Maximpop/Vef-JavaScript | 9db1a05069163593a1af46ce7feb4da690bb6c39 | b7bed52f1429f0d922d4e780231aae9c1eb6800d |
refs/heads/main | <repo_name>blorden/Printf<file_sep>/main.c
#include <stdio.h>
#include <stdlib.h>
extern void _IAprintf (const char *format, ...);
extern void _IAprintf_flush ();
int main ()
{
for (int i = 0; i < 100; ++i)
_IAprintf(":), and I %s %x %d%%%c%b\n", "LOVE", 3802, 100, 33, 255);
_IAprintf_flush();
return 0;
} | 2f36c0d199fb668b77bf929954d0f0c6b03a2c86 | [
"C"
] | 1 | C | blorden/Printf | d9115e6b15773ef6ded43c679cc3c750a9a1d1e1 | 2d1a6ea787154330848e260eeafbc0a332c4e4dc |
refs/heads/master | <repo_name>carg563/ArcGISEnterpriseToolkit<file_sep>/StartStopService.py
#-------------------------------------------------------------
# Name: Start or Stop Service
# Purpose: Starts or stops a service or services in an
# ArcGIS Enterprise site.
# Author: ... | e01ee64a8b027a24b791c22503e237b78ddf91e7 | [
"Python"
] | 3 | Python | carg563/ArcGISEnterpriseToolkit | bd741a26d2a1b9f2e62a618f7f600e9e66429032 | 29b41ca296c74166605e0049579c00fc5e362f9f |
refs/heads/master | <file_sep>package sprint2.product;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import java.util.stream.Collectors;
import sprint2.product.*;
public class AI {
private Board board;
Random rand = new Random();
private int move = 25;
private int... | 3a135bdfce92b5655ad2ffb7babbb8fe00c6911b | [
"Markdown",
"Java"
] | 7 | Java | vladi7/nine-mens-morris | a6368bd71d16b01eb688467ad7e44ce697dfefa4 | 041c9e8b1a3feec389c2c9dfa66652e38c70bbb5 |
refs/heads/master | <file_sep>import {sum} from "./a.js";
let flag=false;
let name='XH';
console.log(sum(50,10))
<file_sep>export const name='why';
export const age='28';<file_sep>(function(){
//使用导出的对象
if(moduleA.flag){
console.log('小明是天才');
}
moduleA.sum('50',40);
})()
<file_sep>package com.cjx.demo.controller;
... | b97b88ade6b74298a40c3d761bf305a578c2e0d4 | [
"JavaScript",
"Java"
] | 14 | JavaScript | cxl20171104/Vue.js-exercise | 7e5eb173a1ce6d61596d2bc6955332b155886614 | f28792ac73223f154e9ef083e3aa6b2945df457a |
refs/heads/master | <repo_name>SouravG/online-message-passing-using-visual-cryptography-and-DES<file_sep>/visualCrypto/src/org/visualCrypto/UpdateName.java
package org.visualCrypto;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.h... | 54c4984d78bba669f7b1f65811c5cb651ff39b6c | [
"JavaScript",
"Java",
"Markdown",
"SQL"
] | 20 | Java | SouravG/online-message-passing-using-visual-cryptography-and-DES | 8763c56aa2bcbfec3ce3ec515f8c6cc5f225ad49 | d1564c427ae96b89d8f0a2401d555802b9a401a4 |
refs/heads/master | <file_sep>/**
* Created by penghaozhong on 15/12/29.
*/
var diqu=new Array();
var yiyuan=new Array();
diqu[0]='0';
diqu[diqu.length]='c38077';
diqu[diqu.length]='c93468';
diqu[diqu.length]='c43942';
yiyuan[yiyuan.length]=new Array('cf13a0b96-0238-4f6c-94c8-5edbd751e29f','c38077');
yiyuan[yiyuan.length]=new Array('ce7... | 90947d33ccfc69be67f20f62a224186d86d1c669 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | penghaozhong/jiahaow | a94a2d5471a3430d074f7f7b5504d304f39872c5 | 7db2600a7e892b7c0a298eedd0e265c4085d0fb9 |
refs/heads/master | <file_sep>Check out the final product [Here](anggaardinatacovid19.netlify.app)
<file_sep>import React from "react";
import styled from "styled-components";
export default function Addition() {
return <Container></Container>;
}
const Container = styled.div`
width: 25%;
height: 100%;
background: lightblue;
@... | 23a65ed0233200e609c441c1e7fd0b9f2a4d23ec | [
"Markdown",
"JavaScript"
] | 5 | Markdown | Deorigami/Covid19 | 64cb6da86d277dc4dd890361cafe380ba0574e60 | 2dd816027240733ae446fcfab5079d84419c3c65 |
refs/heads/master | <repo_name>pgg-dev/ABILITY-PUBLIC<file_sep>/front/components/presentational/molecules/HireComDescription.js
import React from 'react';
import {Container, Col, Row} from 'react-bootstrap';
import Highlight from 'react-highlight';
/**
*
* @auth 곽호원
* @summary 회사 소개하는 컴포넌트
*
*/
const comTitlecss ={
marginLeft ... | af30a4c84da9823cde32856ac75975776b6f08ea | [
"JavaScript",
"Java",
"Markdown",
"INI"
] | 169 | JavaScript | pgg-dev/ABILITY-PUBLIC | 3d5a72e8f714964692cafcde32eedc2fa74a1211 | 548aa8fe2b66d32236322618a860ee93029857e8 |
refs/heads/main | <repo_name>zagdiablo/simple-python-port-scanner<file_sep>/README.md
# Simple python port scanner
Just a simple port scanner
## Usage
```bash
python3 simple-port-scanner.py <ip>
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
<file_sep>/simple-port-scanner.py
import socket
import sys
import threading
... | f5de2472326419ad5ee9c2212174a90ba683ff55 | [
"Markdown",
"Python"
] | 2 | Markdown | zagdiablo/simple-python-port-scanner | 025220bbf322eec4bf1929e7da6bc0545e96f69d | 1e02bff66b4ee16b92fcff97f74d05a76ceeab33 |
refs/heads/main | <repo_name>gabi-lovera/vision-artificial<file_sep>/Practico4/FrameSize.py
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import cv2
cap = cv2.VideoCapture(0, cv2.CAP_DSHOW)
fourcc = cv2.VideoWriter_fourcc('X ', 'V', 'I', 'D')
width = cap.get(cv2.CAP_PROP_FRAME_WIDTH)
height = cap.get(cv2.CAP_PROP_FRAME_HEIGHT)
print... | bfbcdac0fbd5e1cd9417f38b65bb9f4bf87b3871 | [
"Markdown",
"Python"
] | 17 | Python | gabi-lovera/vision-artificial | d72fe6450a053a517c9282d67701f65794280368 | 6e0eabcc731662eb5aefadc8f960cb0da846553c |
refs/heads/master | <file_sep>json.extract! @rating, :id, :value, :idea_id, :created_at, :updated_at
| e45289d25e26616673e9c66262e3ac9c4de1227d | [
"Ruby"
] | 1 | Ruby | canf/myapps | 4aa2d4d6f969adbe269b883cb821ac50fc0a8548 | 2f371a114fb02ff3a8b73d858bef2f441e189a65 |
refs/heads/master | <file_sep>// chapter 01
// 01 Write a script to greet your website visitor using JS alert box.
alert("Welcome to our website!");
// 02 Write a script to display following message on your web page:
alert("Error! Please enter a valid password.");
// 3.Write a script to display following message on your webpage:(Hint:U... | d5da242485df6011b03ae54fb5091ba6d4b4524a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | alammehtab/saylani-web-mobile-js-assignments-solution | 743e35f0bfe7a158293686f7852610780368e9bf | e8abae11966a0b8915958969f49a24dcf9a22ded |
refs/heads/master | <repo_name>MaffC/BlogAlba<file_sep>/posts/post8.md
---
layout: post
title: How to set up effective mail systems, pt. 1
date: 2012-06-11 00:31:00
tags: gentoo, guide, howto, linux, mail, postfix, servers, sysadmin
---
So a few months ago, I moved my primary mail hosting to my own VPS. Over the months since then, I've b... | 1e30c316fd106d212e36d087a8ad03e1001a777b | [
"Markdown",
"Shell"
] | 18 | Markdown | MaffC/BlogAlba | a589ec7ed941f3d0c972267c42bd3c2d30b75408 | 100a84790a8511220639f121e6336347b2e1bdb5 |
refs/heads/master | <file_sep>using System;
namespace ConsoleApp13
{
class Program
{
static void Main(string[] args)
{
int[] names = {67, 56, 89};
string[] name = {"alex", "kim", "joy"};
int myvalue = names[1];
int mysecondvalue = names[0];
... | 613fc40bca02cbdf2ef325e80c75abb2299a0600 | [
"C#"
] | 1 | C# | Alexkimathi/kim | da288c0ad510a262456722a1f67a1170940dccdf | 3dcabf8bdf39febe815213f62faebc09acb3617c |
refs/heads/master | <repo_name>endrton/hyperion<file_sep>/readme.md
## Recommendations
Editor: [Visual Studio Code](https://code.visualstudio.com/)
Extensions:
* Instant Markdown
* Auto-Open Markdown Preview
# Getting started
If Node.js and npm aren't already on your machine, [install them](https://nodejs.org/en/).
Required versions:... | 23dde494bb607eac42fad6ffc4ebfab063f9146c | [
"Markdown",
"TypeScript"
] | 2 | Markdown | endrton/hyperion | 1209520537eca65fbc25e864d8485e9e48eb009f | d412bba1ed0c212d91d1d73d0ea556e8c1114804 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\product;
class ProductController extends Controller
{
public function add(Request $req )
{
$add= new product;
$add->productname=$req->productname;
$add->price=$req->price;
$add->qunatit... | eda7be519f0657573f3e98acd9738f43e430f6ae | [
"PHP"
] | 1 | PHP | Nafeeslogiciel/crudop | f7e411e21d3fb929b6f4b1482db38cfd60e1f3bb | d66f34f6e680f13880c2a4988e6903a98f61659a |
refs/heads/master | <file_sep>import { Given, Then, When } from "cucumber";
import { browser } from "protractor";
import { view } from "../../framework/factory";
import { SignInView } from "../../views/account/signInView";
When("User enters email {string} and password {string} on login screen", async (email: string, password: string) =>... | 866d3b4061bef063c0f2c02435f0aeb6c6bbabeb | [
"Markdown",
"TypeScript"
] | 8 | TypeScript | vitali-s/bdd-typescript | 0dd5519fbcc63901aefb208efcd967a014862f8a | 6cae52387dbb11937c555febb14f0d933a3b8963 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.