branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>const request = require("request")
const fs = require("fs")
const url = `https://repl.it`
urls = []
request.get({
uri: url,
headers: {
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"
}
}, (err, resp, body) => {
if (err) {
... | 59ca6ceacee087f4c1bd5d49b3a0bee1a480d1b0 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | PDanielY/Web-Scraper | 320dce5b42ae9f10bf6b40d33140b5354a86316e | d1207685ed0b36c7db86aea916792a3ea87b0643 |
refs/heads/master | <repo_name>GuilhermeSantanaAndrade/DelEvery_mobile<file_sep>/src/views/Initial.js
import React from 'react';
import {View, Text, TouchableOpacity, Image, StyleSheet} from 'react-native';
import {useNavigation} from '@react-navigation/native';
import logo from '../assets/logo.png';
export default Initial = () => {
c... | 5576544f44dec30b96d1174a1c34c3b4d15f8762 | [
"JavaScript"
] | 2 | JavaScript | GuilhermeSantanaAndrade/DelEvery_mobile | 00c3f5368332f97ab8c230e8271bb4c45bf85e19 | 50e4315e8bcc2dc738e508c2560ce28129efa7ff |
refs/heads/master | <repo_name>netxph/eve<file_sep>/README.md
# eve
Evaluation Management - simple customizable forms
<file_sep>/src/Eve/Class1.cs
using System;
namespace Eve
{
public class Class1
{
}
}
| 72ae0e2bdaeb4a168be36d8b5fcc38c70185b972 | [
"Markdown",
"C#"
] | 2 | Markdown | netxph/eve | 06aa1a0f451420061ae360d5f1f6c3b04ceb14d8 | 7467090ee49e864b161fa8d9dd0028b4030e8b55 |
refs/heads/master | <repo_name>spurton/active_diigo<file_sep>/spec/active_diigo_spec.rb
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe "ActiveDiigo" do
describe ActiveDiigo do
before(:all) do
ActiveDiigo.api_key = 'TEST_API_KEY'
ActiveDiigo.username = 'test-user'
ActiveDiigo.password... | fed54b60d4ae51d6b4f1cd9bd37c9abfa2d8d863 | [
"Ruby"
] | 1 | Ruby | spurton/active_diigo | 69308b771e65164845dd8dc25be2abd35f5f9afb | a74fe323f4c31bff69c00df6027bfcc4c6dd5c1f |
refs/heads/master | <repo_name>marcinkwolek/Album_Table<file_sep>/README.md
# Album_Table
Add your Photo Album on board.
<file_sep>/js/main.js
// modifications of background / containers / width (init and resize)
$(window).on('load', function () {
initWindow();
$(window).on('resize', function (event) {
initWindow()... | 8e4aba83380562d028a1396ffd42feaa66aa8892 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | marcinkwolek/Album_Table | f2b3b2256bfa7b237fdb6d16f919df0059e45406 | 5183b21f28cd1dbcd9741ce2f68359d96ed20fc7 |
refs/heads/master | <file_sep>import React, { useState } from 'react';
import logo from './logo.svg';
import './App.css';
import BalanceTable from './BalanceTable';
import PriorityTable from './PriorityTable'
import { unstable_renderSubtreeIntoContainer } from 'react-dom';
function App() {
let _default = []
let outputArr = []
cons... | 213b6d3de6739d59f82889b274bc284764e0ebab | [
"JavaScript"
] | 2 | JavaScript | rithikgavvala/settlingbalancesapp | a29787fa73477ae22bd15d0b0f911417bee6455a | cffbd7f7822ee5b7bb2375b7a613851ef89663d7 |
refs/heads/master | <repo_name>PavelTsyposhchuk/Mentorship-First-Part<file_sep>/Mentorship First Part/Program.cs
using System;
using System.Text;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace Mentorship_F... | be88f7f6a0cf031ad027efa997d60a2247093bd9 | [
"C#"
] | 1 | C# | PavelTsyposhchuk/Mentorship-First-Part | abe73b6693cf6f0533017c7ba202c7dc70cae952 | 94f67f90a553757bef5f4c3811c482c026fbda54 |
refs/heads/master | <repo_name>IdelIshbaev/genetic_algorithm<file_sep>/README.md
# genetic_algorithm
<file_sep>/run.py
import numpy as np
import cv2 as cv
import random
import sys
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
path = r'/Users/idel_isbaev/PycharmProjects/IAI_ass/images/img_01.jpg'
input_image = cv.imre... | 13ce673c28ec0687349bfd2bffc0470dc050fab4 | [
"Markdown",
"Python"
] | 5 | Markdown | IdelIshbaev/genetic_algorithm | 15f4788d2082b41251e25e44b0afa438ea29474a | 63d31246c933dc94ce4e2a7b653488d1f41e85b7 |
refs/heads/main | <file_sep>import { preloadImages } from './utils';
import { gsap } from 'gsap';
import { TypeTransition } from './typeTransition';
import { Item } from './item';
import gsap from 'gsap/gsap-core';
// preload images then remove loader (loading class)
preloadImages('.stack__img').then(() => document.body.classList.remo... | f68d6e8a674e0270f7106341063792b552804464 | [
"JavaScript"
] | 1 | JavaScript | marcoC76/KineticTypePageTransition | 97e8cdf3e5afc1b6585cce1ba5837559f62b1e94 | 44a9ae1240ae830578eb0f344556e4666b2c3c3c |
refs/heads/master | <file_sep><?php
/*
* Copyright (C) 2014 <NAME> [<EMAIL>].
*
* This file is part of "La Coletilla v.1.0.".
*
* This software is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Licence as published by
* the Free Software Foundation, either version 3 of the Lice... | f1febe8a732a5ae0fcf5434a40167da0e7eee785 | [
"Markdown",
"PHP",
"INI"
] | 9 | PHP | jairodelgado/coletilla | 54a54311a71c5d5537a953faa80a013accb26078 | d89c6320244022344d9b50ab5d0ac2a7c747cfb7 |
refs/heads/master | <repo_name>mariusbutuc/events-consolidator<file_sep>/README.md
# Events Consolidator [](https://travis-ci.org/mariusbutuc/events-consolidator)
Reduce date-based events
## Problem description:
Here is an example of an array of dat... | e59420fa9e7b06e8f50fa83088f52e74311ebeea | [
"Markdown",
"Ruby"
] | 4 | Markdown | mariusbutuc/events-consolidator | 2e4e840522d145c53e62359179beb2a2b2614579 | 8965217388c5370c968282a8ff846d9c019ce030 |
refs/heads/main | <file_sep>using Core.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Infrastructure.Data.Config
{
public class ProductConfiguration : IEntityTypeConfiguration<Product>
{
public void Configure(EntityTypeBuilder<Product> builder)
{
builder... | 12e2fa8bc2873567ce9878c3e3cdb2f59dd69bfb | [
"C#"
] | 6 | C# | skamoun/e-commerce-.net-app | b9c7b790fbce83e40c83da940761548c50255914 | 7fcde885cc48162702f6a0d63fb422e25849183c |
refs/heads/main | <repo_name>acenolaza/UniswapV2-SwapExactEthForTokens<file_sep>/test/greeter.spec.js
const { expect } = require("chai");
// The ethers variable is available in the global scope.
// If you like your code always being explicit, you can uncomment this line below:
// const { ethers } = require("hardhat");
describe.skip("Gr... | cf0beab582fdeb28d29a1175fed1bc8b06906cd4 | [
"JavaScript"
] | 1 | JavaScript | acenolaza/UniswapV2-SwapExactEthForTokens | cd46b4dcc6381978665422a227d36f336fa3ba47 | 31278f0cb2173c2680fb86432f13a529e743f919 |
refs/heads/master | <repo_name>willejs/chef-uchiwa<file_sep>/README.md
Installs and configures [Uchiwa](https://github.com/palourde/uchiwa). A NodeJS dashboard for Sensu.
# Author
Author:: <NAME> (<<EMAIL>>)
<file_sep>/templates/default/sv-uchiwa-run.erb
#!/bin/sh
exec 2>&1
exec /usr/bin/env chpst -u <%= @options[:user] %> runsvdir <%= ... | a1848be2a05cd0552914d1308342c42954c8502d | [
"Markdown",
"Ruby",
"Shell"
] | 8 | Markdown | willejs/chef-uchiwa | a03a7ce167f17a72b780131d6bec213e3a0654af | ea6f843f98d7dba799c2b7d7d09fe7a3fc3da7a5 |
refs/heads/master | <repo_name>fluffykeke/st_Turtle<file_sep>/src/Ejercici4.java
/**
* Created by fluffy on 14/10/16.
*/
public class Ejercici4 {
static void fullaesquerra(Turtle t,int lf) {
t.turnLeft(90);
t.forward(lf);
t.turnRight(135);
t.forward((int) Math.sqrt((lf*lf)+(lf*lf)));
t.turnLef... | 333a0731844ccfd4a2e8435512d67b6b72d93294 | [
"Java"
] | 2 | Java | fluffykeke/st_Turtle | 63fe4dea570d44ffa5b06803fe6776e760e2b5ce | c4d15ef201093f272fa2eb679cb9572d68017280 |
refs/heads/master | <repo_name>ralphtandetzky/render3d<file_sep>/main_window.cpp
#include "main_window.hpp"
#include "ui_main_window.h"
#include "drawing.hpp"
#include "vec.hpp"
#include "mat.hpp"
#include "trafo_mats.hpp"
#include <QPainter>
#include <QTimer>
#include <algorithm>
struct MainWindow::Impl
{
Ui::MainWindow ui;
float... | 7f90bbdb4c49b52d12e31675d95f8573da3d5bb5 | [
"C++"
] | 7 | C++ | ralphtandetzky/render3d | 7405b5a9aeb7de5c5e4f70d384b694dbc5b86b88 | 188d1e33736435d0315ed7b081f206b0fbd74910 |
refs/heads/master | <repo_name>BlurryRoots/genosse<file_sep>/main.py
import json
def read_json_from_file(filename, cleanup=False):
str_data = ""
with open(filename, "r") as raw_data:
str_data = raw_data.read()
return json.loads(str_data)
def create_district_lookup(districts, responsibles):
district_responsible_lookup = {}
for re... | bd8d45125400b4142281a5182dec8f87d2a42b11 | [
"Python"
] | 1 | Python | BlurryRoots/genosse | 7a40fa6ae54665c4cd46294e88492cddc65b17ac | 74b8c45660762687a264315c26971b155b4165c8 |
refs/heads/master | <repo_name>vic3lord/graceful<file_sep>/graceful_test.go
package graceful
import (
"errors"
"net/http"
)
func ExampleDrain() {
srv := &http.Server{Addr: ":3000"}
go func() {
err := srv.ListenAndServe()
if !errors.Is(err, http.ErrServerClosed) {
// Handle error here.
}
}()
<-Drain(&DrainHTTP{srv})
}
<fil... | 15fe657ea0a978001427065126cdc2402bef451e | [
"Markdown",
"Go Module",
"Go"
] | 5 | Go | vic3lord/graceful | 2d0f7dde5f7002080a29e7517a97938c47e86b28 | 93ea4258ea80bbf4331849d70203c6700c051883 |
refs/heads/master | <repo_name>Paulo-Eduardo/AdventOfCode<file_sep>/first/calculateFuel.js
var routes = require('./route.json')
const calcFuelForFuel = fuel => {
var needFuel = Math.floor(fuel / 3) - 2
if (needFuel <= 0) return 0
else return (needFuel += calcFuelForFuel(needFuel))
}
var totalFuelforModule = routes.map(x => {
va... | d4a56b199a47c0ff5ee391af488729d556242878 | [
"JavaScript"
] | 1 | JavaScript | Paulo-Eduardo/AdventOfCode | 67d729065f4d9bd652b9ed14cff56c1dc05f3469 | db0d4e282107f485abcd5cb96860d9ec99e2aae0 |
refs/heads/master | <repo_name>GalchenkoIurii/uts<file_sep>/src/Entity/CompanyResponse.php
<?php
namespace App\Entity;
use App\Repository\CompanyResponseRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CompanyResponseRepository::class)
*/
class CompanyResponse
{
/**
* @ORM\Id()
* @ORM\Gener... | 78a122197564fd5338f86d65eab8d3825a7f2941 | [
"PHP"
] | 16 | PHP | GalchenkoIurii/uts | c88591662b1cf5556a9f33bdcf9b91c613d8d0d2 | 00ca90f79d682af26797681942898b0cd203e44e |
refs/heads/main | <repo_name>DylanBob211/some-webgl-engine<file_sep>/src/core/shaders/fragmentShaderSrc.ts
export const FRAGMENT_SHADER_SRC = `
precision highp float;
uniform vec3 baseColor;
varying vec2 fragmentUV;
uniform sampler2D colorMap;
void main()
{
vec4 textureColor = texture2D(colorMap, fragmentUV);
vec... | 1639d6bae6756845fb1dcf9f1b0179cc7928aab1 | [
"TypeScript"
] | 13 | TypeScript | DylanBob211/some-webgl-engine | 5e9a17fa876433da69167e184f9983bfa13ab805 | 7d31762bfc04bb302932bccc75f3dba6f726cd83 |
refs/heads/master | <file_sep>const config = {
SECRET : "",
PORT:3000,
DATABASE : "mongodb://localhost:27017/loax",
SECRET : "<KEY>",
SERVER : "http://172.16.58.3:3000"
}
exports.get = function get(){
return config;
};
<file_sep>const express = require('express');
const bodyParser = require('body-parser');
const c... | f2dc3bbf3d824acadd0d82159bd2ed770da53acb | [
"JavaScript"
] | 2 | JavaScript | TroddenSpade/LoAX-server | 3144cc12f95325823e13f090f12c0f401b809179 | 7a5966c39e312de0375dc0b75fffbba5276e588e |
refs/heads/master | <repo_name>HomeMade-Studios/3D-Test<file_sep>/Assets/Scripts/TankController.cs
using UnityEngine;
using System.Collections;
public class TankController : MonoBehaviour {
public float forwardVelocity = 15;
public float turnVelocity = 1;
float forwardInput;
float turnInput;
Rigidbody rBody;
void Start() {
... | f3f4a66f5137fe881dd20d60d70c24d7f527beab | [
"C#"
] | 2 | C# | HomeMade-Studios/3D-Test | a8fc99e764e618421dcefb14e98da8fb4eb7e80b | ef1f0af162032c45908193314db2ae428c4d09b7 |
refs/heads/main | <repo_name>cnamar/E-commerce<file_sep>/routes/admin.js
var express = require("express");
var router = express.Router();
var producthelper = require("../helperscripts/product");
var fs = require("fs");
/* GET users listing. */
router.get("/", function (req, res, next) {
producthelper.getproducts().then((laptops) => {
... | 79e1a0300ca005fe1ab61dd2ba24e670621d2d5a | [
"JavaScript"
] | 3 | JavaScript | cnamar/E-commerce | f1b3f9985720e59e32cd2944aa3a79b5e57d203c | d072e80313cd5ca9d2d3bf39890c0b62c688cdb7 |
refs/heads/main | <repo_name>Rsiow/Weather-app<file_sep>/README.md
#Simple Weather App utilising https://openweathermap.org
#Input the city of your choice in the text box and it will fetch you the current temperature, what it feels like and weather conditions.
#Check out a working version of the app @ https://rsiow.github.io/Weather-a... | 5b59f1a2e869e86655ca4a415a59377785d32ea2 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Rsiow/Weather-app | ac564c3ca28f63f74697cba447d8de9443984c58 | 9fe2d6e11d5d3d1382eb17c874244e800a85ee7e |
refs/heads/master | <file_sep>using System;
using System.Drawing;
using System.Runtime.InteropServices;
using Win32Interop.Enums;
using Win32Interop.Methods;
// ReSharper disable CheckNamespace
namespace Win32Interop.Structs
// ReSharper restore CheckNamespace
{
// ReSharper disable InconsistentNaming
[StructLayout(Layout... | 444a0586c022a4c567a81e8bb7e66ae41223e9c4 | [
"Markdown",
"C#",
"C++"
] | 18 | C# | shijiaxing/Win32Interop | f38fe8a13899781a9803f0c4a10c8f5937354f1b | 2afbf39407e6f82d4472a0df0642f4fb46cd1313 |
refs/heads/master | <repo_name>sekury/spring-config-client<file_sep>/README.md
GET http://localhost:8080/message
POST http://localhost:8080/actuator/refresh<file_sep>/src/main/resources/application.properties
message=default
management.endpoints.web.exposure.include=*<file_sep>/src/main/java/sekury/springconfigclient/config/ApplicationPr... | 5c73f0f3724d66f4e84e43e888c22997ce9814b0 | [
"Markdown",
"Java",
"INI"
] | 4 | Markdown | sekury/spring-config-client | 74be040be49210c09b3ed13999e943d112748e68 | fc103d4335dab42c89fb40461e4a0be181ea5556 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import Column from './Column';
import './App.css';
const DIRECTION_LEFT = -1;
const DIRECTION_RIGHT = 1;
class App extends Component {
constructor(props) {
super(props);
this.state = {
columns: [
{
columnName: 'Backlog',
c... | 71356c31e7cb860b02a96336990c25f690609c30 | [
"JavaScript"
] | 2 | JavaScript | 13-friday/kanban | 94014cf4b8202035e939cbc32fe1991ab404e167 | 1128905bdaf7ff5020035e3e212def66d49be55d |
refs/heads/develop | <file_sep>import PropTypes from 'prop-types'
import qs from 'query-string'
import classnames from 'classnames'
import Color from 'color'
import Container from '../atoms/Container'
import colors from '../../styles/colors'
import typography from '../../styles/typography'
import spacing from '../../styles/spacing'
impo... | 9a3d34a0b8674ab49211f6b7bfc8b318205aef75 | [
"JavaScript",
"Markdown",
"Shell"
] | 25 | JavaScript | nickjvm/fitbit-dashboard | e859105f43461e3c8e0d1cddde90da7268e9b06d | fe7ca71e177cfd0c1b09bc9df3175e226b63671c |
refs/heads/main | <repo_name>webopen-littlersister/qs<file_sep>/webopen-littlesister-qs/test.js
// qs.parse(get参数去问号)
// qs.stringify(对象)
const qs = require('webopen-littlesister-qs')
console.log(qs.parse('a=1&b=2'))
console.log(qs.stringify({a:1,b:2}))<file_sep>/webopen-littlesister-qs/index.js
'use strict';
// get参数去问号 转 JS对象 ... | 069b4e56877bbe287a3d7e46170ca1370598432c | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | webopen-littlersister/qs | 252c8cf7b19b806d6c575cf0299ff5e1b0d75a92 | bd8956ac996e845fbd0ce3a7a8818ca5f39d83eb |
refs/heads/main | <file_sep># B-o-c-o
Thuyết trình
<file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Contact
{
string ho;
string ten;
string diachi;
string sdt;
public Contact(strin... | 647d28894c467fe2176d1972e10c12f702577d02 | [
"Markdown",
"C#"
] | 3 | Markdown | trinh1212/B-o-c-o | 0f9fbc6d7c56b4554ab49860ecb31071709f8c53 | eca74ab69ec18216b7366020f0d5c9442f041a18 |
refs/heads/master | <repo_name>D-J-Harris/AdventOfCode2019<file_sep>/utils/robot.py
class Robot:
#define a dict of pos changes depending on angle
angles = ['^', '>', 'v', '<']
move_dict = {
'^': -1j,
'v': 1j,
'<': -1,
'>': 1}
def __init__(self, grid, pos, angle_poin... | 5927ee44c513e39ba3ea22781b0dad7ba2a6cf17 | [
"Markdown",
"Python"
] | 3 | Python | D-J-Harris/AdventOfCode2019 | 9e2d541625acec3187358b5672f71e511733af3d | b8b525b68b07ca4f9024ac785cffa9c2d0ab001d |
refs/heads/main | <repo_name>DigtLab-QA/Trusted.Plus<file_sep>/README.md
# Trusted.Plus
| b47c42f1316006e839b5a5e4b1ec367fd06900e8 | [
"Markdown"
] | 1 | Markdown | DigtLab-QA/Trusted.Plus | f06f94fd55a989e2ef430cc74a816a927eb8c1f7 | d0ed0c0e5ed4e5084adf6661a70125ad28694af3 |
refs/heads/master | <file_sep>class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
def hello
render html: "Hello Swarm Fund"
end
def greet
render html: "Hey you, yes I mean you! How you doin!"
end
end
| 631dbddd120a7a5c1e6e3f625c70433483beeec7 | [
"Ruby"
] | 1 | Ruby | Jazzwall/rorsample | 2dca9b5fd9f9b534402f7e4e898dcf74aac6081d | 3a9579b6eaef225b75e0124556a12dad7d79a774 |
refs/heads/master | <file_sep>[package]
name = "rustr"
version = "0.1.9"
authors = ["qinwf <<EMAIL>>"]
include = ["/src/**/*", "/Cargo.toml","/build.rs", "/tests/**/*","/examples/**/*"]
keywords = ["ffi", "r", "statistic","binding", "math"]
license = "Apache-2.0"
description = "Rust and R integration"
documentation = "http://docs.rustr.or... | 4774bd2a40ee297e8d01433a2424d2e4c8288f86 | [
"TOML",
"Markdown",
"Rust",
"C",
"R"
] | 85 | TOML | rustr/rustr | 9b7e887070fef7d2af41da618860bf4394ca4622 | c3ceb24ffb741aa7454e84c9316cb862e4751450 |
refs/heads/master | <file_sep>This project is for loved people. <br>
Just run `npm start`<file_sep>import React from 'react'
const People = props => {
const background = props.background ? props.background : '';
const name = props.name ? props.name : 'People';
return (
<div className={"col-sm-12 col-md-6 text-cente... | 2edc675fd1ffe19fba47d5ac08221af9328efba0 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | elizarafee/love-mesh | 2889c205f5c7fca2309b97598f77ba55a6f9cd44 | b035edd31ac78ba35b507c3bb5b93d696cea873e |
refs/heads/master | <file_sep>#include <stdio.h>
#include "unity.h"
#include "RedBlackTree.h"
#include "InitNode.h"
#include "CustomAssertions.h"
#include "Rotations.h"
#include "CException.h"
Node node1, node3, node5, node6, node7, node8, node10, node13, node15, node17, node20, node25, node30, node40;
void setUp(void)
{
resetNode(&... | e6798da83c9ea9255748cf5fc902c5550c17cc4d | [
"C"
] | 5 | C | JacksonTeh/RedBlackTree | cc29c9e5c8571ec3b5cf7620990bdffc1e00c3e4 | 512c41bb5dd2003d704dddad0576728c5738291d |
refs/heads/master | <file_sep>require_relative 'diff_text'
require 'json'
require 'pathname'
require 'filewatcher'
class FileModify
def initialize path
@path = path
@log_path = Dir.pwd + "/log.txt"
end
def captured_new_file file_data
open(@log_path, 'w') do |file|
file << [file_data.to_json]
puts "Captured ... | dbd8b689f4b1c464663e3b3c0fe6a115473e1139 | [
"Ruby"
] | 2 | Ruby | lintangarief/track-change-file | 3a517cda3c24928548cc0f6640804a64fcf1bebc | 2054dfdabaae95ac4cabd4d77c0ed32c344b7439 |
refs/heads/master | <repo_name>Wendelstein7/palPal-CC<file_sep>/README.md
# palPal-CC
palPal allows you to store the entire current palette of a given terminal object into a table which you can manipulate, save and load again to any given terminal object.
**Documentation, Licencing, Examples, Format information and more:**
https://fo... | 7678a89c088bd36285f275509351ed74881f85e5 | [
"Markdown",
"Lua"
] | 2 | Markdown | Wendelstein7/palPal-CC | fd35c509cf599d2144cfc737147953a28db1119d | b18260a7470085a52773a464ce3132606f2c8bf6 |
refs/heads/master | <repo_name>davidwhogg/cygnet<file_sep>/hfa.py
"""
This file is part of the cygnet project.
Copyright 2017 <NAME> and <NAME>.
# hfa.py
Heteroskedastic factor analysis
# comments
Assumes that individual-datum covariance matrices are all diagonal.
Could easily be generalized to take an arbitrary covariance matrix for
ev... | ca2b4e7d00d56c7ff1e036a52da8e97c1fe2a5fa | [
"Python"
] | 1 | Python | davidwhogg/cygnet | 167aa56928c7eb0ba9b1d10e8377b7aabc6f66a6 | be30f9ab307157599c3df288ff97ef293ffa995f |
refs/heads/main | <repo_name>Valeriya-Osipova/homework03<file_sep>/3_7.py
a = a = str(input())
k = 0
numbers = '0123456789'
for i in a:
if i in numbers:
k +=int(i)
print(k)
<file_sep>/3_5.py
a = str(input())
a = a.title()
x = a.index(' ') +1
y = a[x:]
y = y.index(' ') +1 + x
name = a[x:y]
name = name[0]+'. '
ot... | 3ea218c0928a2365f718c67b7e2d5dc76fe74a35 | [
"Python"
] | 3 | Python | Valeriya-Osipova/homework03 | ed041d721da5eded2bbde97a7fe78dbf3ff7845c | 70045a78499634700aef9852c84dc19d749c9a8f |
refs/heads/master | <repo_name>wilecoyote1/warehouse<file_sep>/README.md
warehouse
=========
application playframework du livre play for java
<file_sep>/app/controllers/Products.java
package controllers;
import java.util.List;
import models.Product;
import play.data.Form;
import play.mvc.Controller;
import play.mvc.Result;
import view... | 6117cccd4fdc13e89a862320391ae201b963ab21 | [
"Markdown",
"Java"
] | 2 | Markdown | wilecoyote1/warehouse | 726e1ec71d5d07285d37352932136bdfb08fa137 | e798078edeec5de46ba4454e18214ffed7fc6bfb |
refs/heads/master | <repo_name>MOHIDQ/2D-Asteroid-Game<file_sep>/src/MainMenu.java
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
//Main Menu class, author <NAME>
//main menu class to get mouse inputs to switch between game states when pre... | dd39c45dc89a4520fa9a16743bcce9df9c53d3a9 | [
"Java"
] | 6 | Java | MOHIDQ/2D-Asteroid-Game | c5efa21cc135885c114c18bbe24f5ccc06303ca1 | 5599d41471bcb70079b7abe823813dbc270c919b |
refs/heads/master | <file_sep><?php
$current_site = "Passwort zurücksetzen";
include 'templates/header.tpl';
require_once('utils.php');
if (isset($_POST["email"]) && isset($_POST["password_reset"])) {
if ($_POST["email"] == "") {
$errormsg = "Bitte eine E-Mail-Adresse eingeben";
} else {
$db = new_db_o();
... | a0d5886db4f6165db2f4228c8b5eab3a9cb6c429 | [
"Markdown",
"SQL",
"PHP"
] | 16 | PHP | fliiiix/CupcackeCMS | 7607796d074ecadc498bd9deee1c4da22fe6ebf6 | 910d3e3a341b52e779bbcdd4b2bb88e5a8b1dfa0 |
refs/heads/main | <file_sep>#' Compute next-generation matrix for IH mutation model
#'
#' This function computes the next-generation matrix for the IH SIR model given the original parameters and susceptibles.
#'
#' @return A The next-generation matrix
#' @export
nextgen <- function(beta_w, gamma_w, m_w, beta_dw, gamma_dw, beta_dm, g... | 0fe9207c3d7898319d269b698811ed7f71111197 | [
"Markdown",
"R"
] | 4 | R | katherine-royce/ihid | 0ed05912efef31ee7be286d1b60e2238faf65044 | 6995d8c794d9a5806fb898e1289b7beb4f7bd32a |
refs/heads/master | <file_sep>//pam_metrics.c
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <float.h>
#include "pam_utilities.h"
#include "pam_graph.h"
#include "defines.h"
#include "pam_metrics.h"
//1. Degree Distribution
void degreeDistribution(pam_graph *g) {
int *count_of_degree, degree, i, j, pid;
pam_lite_... | 32fb7be98550fbb0fdc5cea18390f74c576f4f05 | [
"Markdown",
"C",
"Makefile"
] | 18 | C | manosntoulias/Information-Systems-Software-Development | 257d8c16739973177cadaa7e32185839a38ca0c2 | 14763e15db7f67b653d31decfaa9f27e54dbefd4 |
refs/heads/master | <file_sep>class RestaurantMailer < ApplicationMailer
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
# en.restaurant_mailer.confirmation_creation.subject
#
def confirmation_creation(restaurant)
@restaurant = restaurant
mail to: @restaurant.user.emai... | 95c7bda822f58205950816ef18d99eeba222ebc3 | [
"Ruby"
] | 1 | Ruby | ThomasSertorio/promo30mailing | dc405d985395804072f952996400c46cba70ac13 | 51ffe9e0c7864f0a6a5746dbde1ff9d8fa094470 |
refs/heads/master | <repo_name>allowishus-dev/RainbowSnake<file_sep>/SnakeCanvas.java
import java.awt.image.BufferedImage;
import java.awt.Canvas;
import java.awt.Graphics;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Color;
import java.awt.event.KeyListener;
import java.awt.event.KeyEvent;
import java.util.LinkedList... | 87988845ca7b7b3f9abb7f38926a617bb0310e96 | [
"Java"
] | 1 | Java | allowishus-dev/RainbowSnake | 58a469d392a038e7e93d983dcc5730609714a149 | 9ef8c113b663c277e35e72e0e3ba744a21ef3448 |
refs/heads/master | <file_sep>import numpy as np
import tensorflow as tf
from scipy.stats import rankdata
class Evaluation(object):
"""docstring for Evaluation"""
def __init__(self, args, train, valid, test, entity_array, entity2id, Trans, sess):
self.args = args
self.entity_array = entity_array
self.entity2id = entity2id
self.... | 696c462cd8802b982c7c19b983a9ed31d7be2cc7 | [
"Python"
] | 2 | Python | codesforpaper/TransKB | 05171b45b3db11a578549db78dced86b756199c3 | d348f7231a6629e3fcee10ea8a59fed28390b97a |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LINQ_Examples
{
class Program
{
#region Class Definitions
public class Customer
{
public string First { get; set; }
public str... | 0999a16bd9ee88f1b3908c60f898eaf88ddcefaa | [
"C#"
] | 1 | C# | elit0451/NoLinqAndLambda | 568cc966be502c3c459f030daefa384a4d247f07 | 25ebca6fa5f617911dec2e9113456d87a68acba4 |
refs/heads/master | <repo_name>coffincw/WikiDetective<file_sep>/util/parser.py
from queue import Queue
def generate_queue(file):
f = open(file, "r")
lines = f.readlines()
f.close
queue = Queue()
for line in lines:
queue.add(line.strip())
return queue
# print generate_queue("../static/puzzles.txt")<file... | be1de915b459e084c82a4264f2971fe4ed0eb60f | [
"Markdown",
"Python"
] | 3 | Python | coffincw/WikiDetective | 0d3632d8992a64b90bc97354317f7ca448195d28 | 792d0f3a72326c0e8c23dbc9b9c44c6e85d2b632 |
refs/heads/master | <file_sep># panelView 1.1.16
1. Add `collapse.history` to allow users to collapse unit by treatment history in a `treat` plot.
2. Add `show.missing` to output missing data summary statistics for the key variables.
3. Add `axis.lab.angle` to allow users to change the angle of the axis labels on the x-axis.
3. Allow... | 088fee045d2f0613b374a8cd69b9f83389be8eb8 | [
"Markdown",
"R",
"RMarkdown"
] | 8 | Markdown | xuyiqing/panelView | c4235df86c094cfb47f1004510e33d2670adaf05 | e619ac2283b4cc0d54394a197ceb07a3b73bb4a1 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
namespace WebApiFunnyPlace.Models
{
public partial class UcatalogoSexo
{
public UcatalogoSexo()
{
UserRegister = new HashSet<UserRegister>();
}
public int Id { get; set; }
public string Valor { get; ... | da45ecea9576166035e4a87d2855d40b2427e2fd | [
"C#"
] | 8 | C# | ERMGLCAN/WEB_API | f91be7fcec5388a39f8047fc35baaec0f3b70870 | 47b164c02150ba3d6187665b789e3f46263d79b6 |
refs/heads/master | <repo_name>GreRin/TO-DO-list-JS<file_sep>/README.md
# TO-DO-list-JS
- все задачи отображаются в соответствующем списке (Todo или Completed)
- возможность создать/редактировать/удалить задачу
- возможность отметить задачу как выполненную (выполненную задачу
нельзя редактировать)
- сохранение задач с использованием local... | 0ab015df3d103e00a0869f2ac4dcfedd5bd10067 | [
"Markdown",
"JavaScript"
] | 13 | Markdown | GreRin/TO-DO-list-JS | ea2212ce860f3c8064640f3002f52918a9cc2889 | bb8d2eebf2c1fac41cc8bb4e33392a7d24a60d98 |
refs/heads/master | <file_sep>export class EmployeeModel{
id:number=0;
Policy_Number:string='';
Policy_Amount:string='';
}<file_sep>import { Component, OnInit } from '@angular/core';
import {FormBuilder,FormGroup} from '@angular/forms'
import { ApiService } from '../shared/api.service';
import { EmployeeModel } from './employe... | 60ee13c548c9e65a79c7f79af467e4635785dd14 | [
"TypeScript"
] | 2 | TypeScript | verma151/CrudOperation | 3c748355de973e9fa848ae5a5d3cb9cce94df65d | 4a34ed3b54485d7e2e4924fd9be545b2b6d8a369 |
refs/heads/master | <file_sep>#include "StatFunctions.h"
#include <math.h>
#include <cfloat>
#include <stdexcept>
#include <sstream>
// Written by <NAME>, http://www.johndcook.com
//-----------------------------------------------------------------------------
// Calculate log(1 + x), preventing loss of precision for small values of x.
... | 771817522f42c90600fe69d7983e081bd1af847c | [
"C",
"R",
"C++"
] | 25 | C++ | cran/MixedDataImpute | c6dd202be75a483511c51e9687902b5b613242e9 | db102c87cc53a5ed1b9cbffe3cdc66628c7a4c06 |
refs/heads/master | <file_sep>from django.apps import AppConfig
class JwVisitConfig(AppConfig):
name = 'jw_visit'
<file_sep># -*- coding=utf-8 -*-
from django.shortcuts import render,HttpResponse,redirect
from django.http import JsonResponse
# Create your views here.
import json
import random
from pprint import pprint
... | 21d1aea56fc85e214ccafd50e683e193a0e47e78 | [
"Markdown",
"Python",
"Shell"
] | 5 | Python | chenxuefan/sziit-scores.search | 06eb0e128702fd75a440fd0b39525810e83416fd | 1f3e59b05f783089b119c797bbdb60ccde393f2c |
refs/heads/master | <repo_name>gru2/O9Compiler<file_sep>/src/CodeEmitterTest.py
#!/usr/bin/env python2
""" Unittest class CodeEmitter. """
import CodeEmitter
import IntermediateRepresentation
import unittest
class CodeEmitterTest(unittest.TestCase):
def test01(self):
ce = CodeEmitter.CodeEmitter()
ce.addAbstractIn... | 71591116ecaeb3809fdd38efa5260721f4833519 | [
"Python",
"Shell"
] | 10 | Python | gru2/O9Compiler | 5becddabdaae11a55195fa5f6d867c64d819fdf8 | e17f85612cbac4015fca870d61fc6e14dd911a72 |
refs/heads/master | <file_sep>def pairs(k, arr):
count=0
dicti={}
for i in range(len(arr)):
if arr[i] not in dicti:
dicti[arr[i]]=1
else:
dicti[arr[i]]+=1
for i in arr:
if k+i in dicti:
print(k+i,i)
count+=1
return count
<file_sep>def ... | 57be367943192205bb6b063162fdca6323f7d22b | [
"Markdown",
"Java",
"Python"
] | 140 | Python | biranchinarayanpadhi/Problem_Solving-HackerRank-and-LeetCode- | 660b3953385496bc0b90a5ca44911e1c3b365935 | 07216760dceebdde2e2f22c34f3297f3e9dfb82f |
refs/heads/main | <repo_name>jondwaite/scripts<file_sep>/PhotonOS/4.0/f1app/web/web-build.sh
#!/bin/bash
# Web Build Script (Photon OS 4.0GA)<file_sep>/PhotonOS/4.0/f1app/app/app-build.sh
#!/bin/bash
# Application Build Script (Photon OS 4.0GA)
<file_sep>/PhotonOS/4.0/f1app/db/f1orm/index.ts
import { PrismaClient } from '@prisma/cli... | 76b92215020ee401020af32d6d638a40044f2125 | [
"Markdown",
"TypeScript",
"Shell"
] | 5 | Shell | jondwaite/scripts | df88095a623f610e5e760f4f238cbf986abe87e0 | c5271e246dd18cbf9c3c71f12c4fda930c0e014b |
refs/heads/master | <file_sep>#!/bin/bash
################################################################
# LICENSED MATERIALS - PROPERTY OF IBM
# "RESTRICTED MATERIALS OF IBM"
# (C) COPYRIGHT IBM CORPORATION 2021. ALL RIGHTS RESERVED
# US GOVERNMENT USERS RESTRICTED RIGHTS - USE, DUPLICATION,
# OR DISCLOSURE RESTRICTED BY GSA ADP SCHEDU... | 7a31d30cca72ae72a5bbca93e205d12f44657137 | [
"Markdown",
"Shell"
] | 2 | Shell | kristinochka/zopeneditor-sample | ff90c74fd31de2331ed5e8ba275ef15918f3aada | 6838884177bea2d94d0325d90557f89a85c487a2 |
refs/heads/master | <file_sep>package com.test.socialnw.model;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
public class User {
private String name;
private TimeLine timeline;
public User(String name) {
this.name=name;
}
private Set<User> followes;
public Set<User> getFollowes() {
ret... | c6230d217bb8aa8aa5251be239e876544fce9ab6 | [
"Java",
"Text",
"Ant Build System"
] | 5 | Java | sunish-jose/consolebasedsocialNW | c19d01bee81bd7545193893e6743675e7ed9fdaa | 26f8c9e2f2efca0693b4187cced25aaa2828a770 |
refs/heads/master | <file_sep>package com.nexaas.nexaasid.auth.helper
import java.net.SocketTimeoutException
object Utils {
fun treatFailureMessage(t: Throwable): String {
return when (t is SocketTimeoutException) {
true -> Consts.TIMEOUT_EXCEPTION
false -> Consts.UNEXPECTED_ERROR
}
}
}<f... | 37bc5cfd4b7bbfc500bf027bfb54fbe63c3d4226 | [
"Markdown",
"Java",
"Kotlin",
"Gradle"
] | 19 | Kotlin | myfreecomm/nexaas-id-auth-android-example | a46106299b9c228f126022536405a6f0e69ca0fd | f1818726d384ac511231664cc758722e859c55de |
refs/heads/main | <file_sep>'use strict'
const mzly = require('@mozley/sdk-express')
const config = require('../config')
// Adding app-wide middleware:
/// const { middlewareName } = require("../middlewares")
// you can then add it in 'customMiddleware' below
module.exports = async () => {
const app = mzly.app({
environment: pr... | d343eaeb839cb8bedcf9357d4c0f03aeab2b177a | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | MozleySoftware/mozley-express-template | 9411df65fa82938a7f84d9447147beaf3d7f1cd9 | 3792eb19322e446e7b13268ac084e8c2a2113149 |
refs/heads/master | <repo_name>Andyaplah/CPoint<file_sep>/point1.cpp
//
// Created by LCX on 2020/8/22.
//
#include <stdio.h>
void swap(int *pa,int *pb){
int index;
index = *pa;
*pa = *pb;
*pb = index;
}
int main()
{
int a = 5;
int b = 6;
swap(&a,&b);
printf("a = %d, b = %d\n",a,b);
int *pa = &a;
... | aa2f4533d1ac9ae364b8a7522a53080aedca9d81 | [
"C",
"CMake",
"C++"
] | 19 | C++ | Andyaplah/CPoint | 15d8805faaa4dae03b37acdb26d85422db4c17a8 | 9d2639c7d64557f5695488dc99b5d8a3bb2420c2 |
refs/heads/master | <file_sep>import { Injectable } from "@angular/core";
import { AngularFirestore } from "@angular/fire/firestore";
import { User } from "./../interfaces/user";
import { Observable } from "rxjs";
import { map } from "rxjs/operators";
import { Light } from "../interfaces/light";
import { Message } from "../interfaces/Mess... | 7fd04b97fe63d243457895b147a084b2b2c33ab2 | [
"TypeScript"
] | 7 | TypeScript | To-Ko5/share__house | bbd6387996ab4d82a41051a48aee38902810df77 | 72a21aee3c026ebcc25dbd9bce1a2098ec6dda21 |
refs/heads/master | <file_sep>#include <avr/io.h>
#include "LCD.h"
#define F_CPU 1000000UL
#include <util/delay.h>
int main(void)
{
LCD_vInit();
unsigned short a,b,high,distance;
DIO_vsetPINDir('D',7,1);
while(1)
{
TCCR1A = 0;
TIFR = (1<<ICF1); /* Clear ICF (Input Capture flag) */
DIO_write('D',7,1);
... | d74ae8b3fd37fb4979a0aefe3b18268f2142facf | [
"Markdown",
"C",
"Makefile"
] | 4 | C | aladinbrahem/ultrasonic-project | 9b0430f3fcf04258bced3efe26df4a0a013ed4a4 | 522ff98c90a48f44af8f969d9e33794b29064b58 |
refs/heads/master | <repo_name>Eliyuyx/hw7<file_sep>/kernel/sched/freezer.c
#include "sched.h"
#define FREEZER_TIMESLICE (100 * HZ / 1000)
/* Initialize freezer runqueue */
void init_freezer_rq(struct freezer_rq *freezer_rq)
{
INIT_LIST_HEAD(&freezer_rq->freezer_list);
freezer_rq->freezer_nr_running = 0;
}
/* Add a ta... | e0b490d0bd148793fe94b8f68261bb8245b5b2e4 | [
"Text",
"C",
"Makefile"
] | 5 | C | Eliyuyx/hw7 | 5832c60cf224b23f43859d288005dcd5ce0b2706 | ad496008c7a2d0cfa88d026bd3337a33ee27c9c0 |
refs/heads/master | <file_sep>exports.ask_modal = {
view: {
title: '마법의 소라고동',
accept: '확인',
decline: '취소',
value: 'godong_question',
blocks: [
{
type: 'label',
text: '*_마법 고동님, 물어볼 게 있는데요,_*',
markdown: true,
},
{
type: 'input',
name: 'question',
required: false,
placeholder: '질문을 입력해주세요.',... | 7bfb17574f91e5925c795aae399739b88dad2c3a | [
"JavaScript",
"Markdown"
] | 12 | JavaScript | SWM-TEAM17/DdangpaGo | cdbdc55cfd312827d186b0c81573a2585bf963e8 | 1238666428c9b404d977530cc72b0c107b80e6a6 |
refs/heads/master | <repo_name>royalrudra/mern<file_sep>/config/key.js
module.exports = {
mongoURI:
'mongodb://royal:rudra123@ds147440.mlab.com:47440/socialmern'
} | 44d5895847f40f39129bd804079f08d90bee5d85 | [
"JavaScript"
] | 1 | JavaScript | royalrudra/mern | 10d711d81ddfd5a56ffde738ffba42ec37060f28 | a0fcf38c375b7b4dd1bca673c956c53ffc8fb728 |
refs/heads/main | <repo_name>wirauzz/behavior-pattern<file_sep>/behavior-pattern-example/behavior-pattern-example/Source.cpp
#include "GenericEnemy1.h"
#include "Player.h"
int main()
{
Player* player = new Player();
player->ShowDetails();
cout << endl;
GenericEnemy1* Hilchurl = new GenericEnemy1();
Hilchurl->ShowDetails();
}<fil... | bf241c2638dc88257cdb8088a28cac5f5fec3065 | [
"Markdown",
"C++"
] | 5 | C++ | wirauzz/behavior-pattern | f9a5e0635e7b2f0c647b281f4e409710af161707 | 736f3a6bacb7c3e28f479888605d8b6283254d4f |
refs/heads/master | <repo_name>JacobLiou/AspnetDemos<file_sep>/samples/aspnetcore/mvc/domain/Sample-Test1/example.h
#pragma once
double add_numbers(const double& d1, const double d2);
double subtractnumbers(const double& d1, const double d2);
double multiplynumbers(const double& d1, const double d2);
<file_sep>/samples/aspnetcore/mvc/d... | 81754484466bbe13f84203e9f247e0cb5e48630c | [
"C#",
"C",
"C++"
] | 4 | C | JacobLiou/AspnetDemos | baa8d9343bcce82562eefddb1214b9960c2e5f01 | 936e83884009e1bd5627617c3115fe281afa344e |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
# Scrapy settings for bgm project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
# http://doc.scrapy.org/en/latest/topics/settings.html
#
BOT_NAME = 'bgmSpider'
SPIDER_MODULES = ['bgm.spiders']
... | 981add9b170c9f04c5154e08485f090b0dd1406a | [
"Markdown",
"Python"
] | 6 | Python | Wiki616/Bangumi_Spider | a53d204a2ecfc4b1cef87890ffd156fa7909411d | abe96ebc0939d5d2810466e30382471aab1422d1 |
refs/heads/main | <repo_name>mohamedshakataia/project<file_sep>/src/product/views.py
from django.shortcuts import render
from .models import jumia ,Category
from django.views.generic import ListView
from django_filters.views import FilterView
from .filters import ProductFilter
# Create your views here.
class Product_List(FilterView):... | f8d26012fbe6ad11d5815ceaec737f67eb411e9f | [
"Python"
] | 2 | Python | mohamedshakataia/project | 9f79b326eabbf9cf1923a3ece87408ccea196ebd | 97e15effe01b8fe535fca096f72fedd770a559b6 |
refs/heads/master | <repo_name>applitools/TestResultsHandler-Python<file_sep>/ApplitoolsTestResultHandler.py
import re
import time
from math import floor
import logging
import requests
import shutil
import os
from enum import Enum
from enum import IntEnum
from email.utils import formatdate
__all__ = ('ApplitoolsTestResultsHandler',)
lo... | 49004fb027203e57cfa2817006060b394936eb30 | [
"Markdown",
"Python"
] | 3 | Python | applitools/TestResultsHandler-Python | 1bd405e79cd90aa78d43e9947eb0a261fa0aa29b | ac21209e6cf7fff1d9a5d9594555d8a3e8d91926 |
refs/heads/master | <file_sep>
const Discord = require('discord.js');
const client = new Discord.Client({partials: ["MESSAGE", "USER", "REACTION"]});
const enmap = require('enmap');
const {token, prefix} = require('./config.json');
const settings = new enmap({
name: "settings",
autoFetch: true,
cloneLevel: "deep",
fetchAl... | bec6a7ae0d59614f7d5951185d6a2eb084580333 | [
"JavaScript"
] | 1 | JavaScript | w4ed/WQEWQEWCQWQXWQXQWEFEQ | 572352d4b589796e47c66533a082ef171c4561c2 | 75e55e522a10988124a2e420990c59eb3934913f |
refs/heads/master | <repo_name>roblangtry/DA-assignment<file_sep>/client/Client.java
package client;
import java.net.*;
import java.util.Scanner;
import java.io.*;
public class Client {
public static void main(String[] args) {
final boolean debug = true;
int port;
char c;
String userId;
String... | 0a73f5f8fb89d13f22fd2efe226f524f71bcab43 | [
"Text",
"Java",
"Makefile"
] | 16 | Java | roblangtry/DA-assignment | fa32467a2fe72d855c939a1b969c9643de34bbe3 | 03f7354c7d908bd8baed9165936d32a0c3e4f33b |
refs/heads/master | <file_sep>import vss_functions
import os
from re import search
import argparse
from shutil import copy
class OutputPathError(Exception):
pass
def argument_parsing():
parser = argparse.ArgumentParser(description=u'vss_explorer v0.010 - command-line tool to browse shadow copies '
... | c4da04c2dd6d0d6053c249760d3ed4e3dc8d613a | [
"Markdown",
"Python"
] | 5 | Python | RatixXt/PyVSS | b7751f35070e81d7d9079d70de56e1dcaa56617a | 18934f725721ea061c0acc79c850aeb19ad420ea |
refs/heads/master | <repo_name>mypeople02/Unit_2<file_sep>/Unit_2 intro.playground/Contents.swift
//: Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
var name = "Peter"
var gender = "male"
var profession = "software developer"
var location = "NYC"
var name2 = "Amy"
var gender2 = "female"
va... | 4875ae620c06c1f864acd3aea4086c3d8d1cde62 | [
"Swift"
] | 1 | Swift | mypeople02/Unit_2 | d2f89bc2187b08353a385de26ee1a58a83f7a3a4 | 237f70b3533c68d0ac046c475491f8923dda8a01 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ragnarok.Utility
{
/// <summary>
/// 数値の種類です。
/// </summary>
public enum NumberType
{
/// <summary>
/// 半角数字です。
/// </summary>
Normal,
/... | dbce024852de143504dae59c61c0ebe56e522762 | [
"C#"
] | 19 | C# | JuroGandalf/Ragnarok | b7bbfd51a8ecc6b63cc329b6fbce7c937d120152 | 95b1b429d37298e4a11ca523c385a95bdeab7cf6 |
refs/heads/main | <file_sep>
rootProject.name="orange-talents-07-dojao-orquestrador"
<file_sep>package br.com.zup.edu.recargacelular
enum class Operadora {
TIM, VIVO, CLARO, OI, NEXTEL, CORREIOS
}
<file_sep>package br.com.zup.edu.recargacelular
import br.com.zup.edu.contadigital.ContaDigitalRequest
import io.micronaut.core.annotat... | 33007c1771e1d751817aaa4d0afe9a8566ee5248 | [
"Markdown",
"Kotlin",
"Gradle"
] | 10 | Gradle | fernandosaraivazup/orange-talents-07-dojao-orquestrador | b353b8ef112a050ce3cfd8c62a36331f7eb461ac | 294912c143ecb6b35ad34ec4d78a663146fe2d21 |
refs/heads/master | <repo_name>nbpreussOU/lab7<file_sep>/PriorityQueueHospital.java
import java.util.Comparator;
import java.util.PriorityQueue;
public class PriorityQueueHospital<PatientType> extends Hospital<PatientType> implements Comparator<PatientType>
{
private PriorityQueue<PatientType> patients;
public PriorityQueue... | affdd0640902084b35ef9131b69c84189ce51d2e | [
"Java"
] | 2 | Java | nbpreussOU/lab7 | b69d4373e008b0867b4a0cfb89e23b5d8339a931 | 9e3156f85091fa682af2b05a341d6215eb71e2f8 |
refs/heads/master | <file_sep># Front-End template. #
###### Шаблон для вёрстки сайта на nodeJS 12 и webpack 4. ######
### Установка ###
- `npm init --yes`
- `npm install sa-template-2 --save-dev`
### Особенности установки/обновления ###
- readme.md, .stylelintrc, .eslintrc копируются, если не существуют
- Конфигурация, start.js и bu... | 952bd0f56aa736ba23877b68e66f9799419f436c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | semakov-andrey/sa-template-2 | 56c482822b06b66a7bca12982fd28448c8b58a05 | 7f1581f58e137cf50aa525054cf6478366432188 |
refs/heads/master | <repo_name>alexadictiva/brownoutPG<file_sep>/js/main.js
/*header */
function darken_screen(yesno) {
if (yesno) {
document.querySelector(".screen-darken").classList.add("active");
} else if (yesno == false) {
document.querySelector(".screen-darken").classList.remove("active");
}
}
function closeMenu() {
... | c3e7f1d8166a08935efc505d77a584233f948c91 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | alexadictiva/brownoutPG | 1f895f00800bb6297aed37971c548f9f26e10c05 | 37abfece894d0e0bd840d05e22c59adbb76dc6a4 |
refs/heads/master | <repo_name>fu4303/portfolio-alexperronne<file_sep>/src/styles/mixins.js
import tw, { css } from "twin.macro"
export const mixins = {
link: {
underline: css`
${tw`inline-block`}
&:after {
${tw`block border-b border-current duration-100 opacity-0`}
content: "";
}
&:hover:a... | b1fed50d509c49d14a360c660e072d11dd6f83b7 | [
"JavaScript",
"TOML",
"Markdown"
] | 34 | JavaScript | fu4303/portfolio-alexperronne | f786ab2a7d1c08b3eb62da6c38a24e7ecefc65c9 | 5e7d1cee2aded6054488855038f83401f60a8a4a |
refs/heads/master | <file_sep>
import './App.css';
import { Connection, Keypair,Signer, LAMPORTS_PER_SOL, clusterApiUrl ,PublicKey, Transaction, TransactionInstruction,sendAndConfirmTransaction ,SystemProgram} from '@solana/web3.js';
import { getPhantomWallet } from '@solana/wallet-adapter-wallets';
import { useWallet, WalletProvider, Con... | fa7b7f7520e5795338f8c680d7bf50322399aeca | [
"JavaScript"
] | 1 | JavaScript | breezypp/Solana-Phantom-NFT-Mint | e367b151838e373fd1b531e978a8fc1648e9a837 | 59c61b42ff4a70763c96777d4de55dd0c0e9a52d |
refs/heads/master | <repo_name>tawillac/dogregister<file_sep>/src/main/java/hunderegistrierung/optimized/output/ReferenceJsonFileWriter.java
package hunderegistrierung.optimized.output;
import com.google.gson.Gson;
import org.apache.log4j.Logger;
import org.apache.log4j.Level;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.... | e082b62d43515afb0234f27a326af81a0fd7764b | [
"Java",
"SQL"
] | 3 | Java | tawillac/dogregister | 9912df8dc8ec5f6d96fbe828905cf0687d574a3d | 74e304a6a6888233c82f383f94180229c3e1ec0e |
refs/heads/master | <repo_name>tangjian19900607/NotepadApp<file_sep>/src/main/java/com/tang/note/common/DBConstant.java
package com.tang.note.common;
/**
* Created by tangjian on 2/12/14.
* <p/>
* Email:<EMAIL>
*/
public interface DBConstant {
// database url
String USER_NAME = "dbo055pr80nf22xa";
String USER_PASSWORD = "... | 2abf8487c72cc9d6deaf59636d63b244c9af124c | [
"Java",
"Gradle"
] | 6 | Java | tangjian19900607/NotepadApp | 974897d7f124743c0a90a1879cf763d1e3d98dbd | 9853cc25c2c026fadda419fc7be17738d0d4ab8e |
refs/heads/master | <repo_name>miuxingg/Python-Learning<file_sep>/Request.py
import requests
#get requests
response = requests.get('https://api.github.com/')
print(response.json()) | 93a894bef20007d12c37cd8b3c71f811f792d22b | [
"Python"
] | 1 | Python | miuxingg/Python-Learning | 7cb670c3e38ef796b086c74ef635b081a469a194 | b9ce6d10e56ba361680192992014ca99caacf87f |
refs/heads/main | <repo_name>lukereynoldspi/cs361-exercise4<file_sep>/main.rb
# Exercise 5 Part 1 (Exception Handling)
class ExternalServerError < StandardError
end
class MentalStateError < StandardError
end
class MentalState
def auditable?
# true if the external service is online, otherwise false
begin
online?
res... | ef44cb2ff040a55cd986c1bd252883d60e17a27c | [
"Ruby"
] | 1 | Ruby | lukereynoldspi/cs361-exercise4 | 4a15d55e81bede07bc642c6d7836cffc764b9e0a | a1f6e24f1d27e7b78bc6c7313ac1a9369771794f |
refs/heads/master | <file_sep>typedef unsigned int size_type;
template <class T>
class stack
{
private:
class node
{
public:
node* prev;
T data;
};
node* topNode;
size_type stackSize;
public:
stack()
{
this->topNode=NULL;
this->stackSize=0;
}
~stack()
{
while(this->topNode)
{
node* tmp = t... | f11bb8ed228cafe8a5cbb0cb6563564fcf608e2e | [
"C++"
] | 56 | C++ | FlyingHazi/CrackingTheCodingInterview | 69820c73f1fa40d7329440dc542f361141a31f3d | 06afa8c50a6d21cbd3197e093e9fbd62c6548813 |
refs/heads/master | <file_sep># List of sources:
SOURCES = *.c
OBJECTS = $(SOURCES:.c=.o)
CFLAGS += `pkg-config --cflags libuv`
LDFLAGS += `pkg-config --libs libuv`
.c.o:
$(CC) $(CFLAGS) $< -o $@
all: dummy test_uv_interface_addresses spawn-test spawn-detached
dummy : dummy.c
$(CC) $^ -o $@ $(LDFLAGS)
signal: signal.c
$(CC) $^ ... | d1747b0a1c4dcb13cca392e3a8c67153208da313 | [
"C",
"Makefile"
] | 4 | Makefile | jyd519/libuv-examples | c1ed6f7e45106f4cefe3a7b593c87cf3a5a872b9 | da02b729893fa37a759e36bab29d3132f7f6a068 |
refs/heads/master | <repo_name>zhouning/ToyBrick<file_sep>/conf/conf.ini
[basic]
port=8123
[security]
referrerWhiteList=localhost<file_sep>/README.md
# ToyBrick--Free splicing API
Some programming languages only have one thread.For example,JavaScript and PHP.Sometimes, we need to call HTTP request more than one. For performance considera... | 44585612049394e0fafc08bb56cd1f750be32d0f | [
"Markdown",
"Go",
"INI"
] | 4 | INI | zhouning/ToyBrick | 74812727e0446e5d64dfe5d4f7c7de1c07967915 | fc3feb7da7bea12b7211eac00a1050bf94564efe |
refs/heads/master | <repo_name>rrosenb12/partial-locals-lab-nyc01-seng-ft-060120<file_sep>/spec/views/student_index_spec.rb
require "rails_helper"
RSpec.describe "Student" do
describe 'search' do
let(:student_names) { ['Bob', 'Robert', 'Roberta', 'Shirley', 'Shelby'] }
before do
student_names.each do |name|
Stud... | 4315bd698f8a2bd65a2d996a38729b265b070e90 | [
"Markdown",
"Ruby"
] | 6 | Ruby | rrosenb12/partial-locals-lab-nyc01-seng-ft-060120 | 8006c3dd8e37070161d095eca69df6cb6ed6d1ed | e6b7f4780f87c936afa302c1eb7d8404f852048e |
refs/heads/master | <file_sep>local BaseLayer = require("app.scenes.BaseLayer")
local TestCase = class("Test_NodeTouchEvent", BaseLayer)
function TestCase:ctor()
self.super.ctor(self)
-- tips
local label = display.newTTFLabel({
text = "New Audio engine test case",
size = 25,
color = cc.c3b(0, 0, 0),
})
label:align(display.CE... | 9140f68234c0c7122f44174af055b7e97c53ce22 | [
"Lua"
] | 2 | Lua | sishui/quick-nova | 05a7cd2bfb260f362fab229b034b7bef53091dac | c74b707b84e2c3f81ccafec219a150cfbf52a5b7 |
refs/heads/master | <repo_name>ragak/ProgrammingAssignment2<file_sep>/cachematrix.R
#the following two functions, makeCacheMatrix and cacheSolve, will allow you to cache matricies in the global environment, and
#then access them to obtain the inverse of the matrix in the current environment.
makeCacheMatrix <- function(X = matrix()) {
... | 6546ab26121e02f0747dd2bb16d71d7d26ec6d68 | [
"R"
] | 1 | R | ragak/ProgrammingAssignment2 | bb84d916749d738fa5019f8e5fbcb0a261a1a0c3 | 7859fc7216f66c5d9fd5858a953cf5ad780b7724 |
refs/heads/main | <file_sep>package no.skatteetaten.domain;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Calendar;
import... | 50ffefa6e7d73e09b96ea1de3cfeb32fc268fa33 | [
"Markdown",
"Java"
] | 2 | Java | andersmartinsen/WorkdayCalendar | cbd9ecc4450f99ff7402b0f52d82d2af33a7288d | 2c196278ea8583aa2ce334b595e58d3c652bae48 |
refs/heads/master | <file_sep>import transcripts
import training
if __name__ == '__main__':
transcripts.main()
training.main() | 1a113b0f37a7753606db6a73170e61a69d5e4d11 | [
"Python"
] | 1 | Python | oatmonster/LionBot | 488beac81312ded46ce54a16d7a60a2fdaf973b6 | 2a3b8a5cd40092647a8bea185d8dfa69e6ee21ed |
refs/heads/master | <repo_name>taruncse/Dependency-Injection-With-Kotlin<file_sep>/app/src/main/java/com/tkb/dependency_injection_with_kotlin/Application.java
package com.tkb.dependency_injection_with_kotlin;
import dagger.android.AndroidInjector;
import dagger.android.DaggerApplication;
public class Application extends DaggerApplicatio... | b4452f354c079e47e8a8870c8e92e9b05e4a7f38 | [
"Java"
] | 1 | Java | taruncse/Dependency-Injection-With-Kotlin | d610aeca43b8313f071e3de17472cd4ea8f89656 | eda3e952fe9c695b7c01e4372392708b2abeeb0e |
refs/heads/master | <file_sep>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { Routes, RouterModule } from '@angular/router';
import { ProdutoComponent } from './produto/pro... | d39b4c1bc0c7f1d76b02c0c79f30b1d7d82e28ed | [
"TypeScript",
"HTML"
] | 13 | TypeScript | gbrlmendes19/KomradeSDI | af8552fba642419e69f2767334591a6389a434e9 | f6daede42f7ef93689a0e522807897a31d3d8df7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.