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 | <repo_name>CipherX1-ops/MegatronFileStream<file_sep>/Megatron/server/__init__.py
from aiohttp import web
from .stream_routes import routes
def web_server():
web_app = web.Application(client_max_size=30000000)
web_app.add_routes(routes)
return web_app
<file_sep>/README.md
# MegatronFileStream
Megatron File... | b5c211ac731a1a9d0c84202d01284bc49e45b22c | [
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 25 | Python | CipherX1-ops/MegatronFileStream | 8676cf91d8538cb7a562cc4601218f6f0651cf4f | be92192700bf1fc37196a64efb3de1847a597301 |
refs/heads/master | <file_sep>//
// ViewController.swift
// Calculator
//
// Created by ezios on 15/11/28.
// Copyright (c) 2015年 ezios. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var display: UILabel!
@IBOutlet weak var displayOperation: UILabel!
var isUserIsInType... | eac9884814a4f6b5a0d582d5290b65735c901a04 | [
"Swift"
] | 2 | Swift | linayanse/Calculator | f818ca61304dc4bbe4a60c006a1591b57b0582fe | 75fbeb9cfdff13ad2adac442e8fb0d7d67afaff8 |
refs/heads/main | <file_sep># NZXT H1 OpenCore
Hackintosh EFI/Kexts for NZXT-H1 AMD Ryzen 5 3600 Mhz/AsRock X570 Phantom Gaming/3600 Mhz DDR4 32GB with NVidia Titan Black Kepler GPU for Apple Big Sur.
### Hardware
Aforementioned SSDT/Kexts installer for the following hardware.
* AMD Ryzen 5 3600 6-Core Processor
* X570 Phantom Gaming-... | 1e2874dc3a27b5f4a418606b3af7a82681c32072 | [
"Markdown",
"Shell"
] | 2 | Markdown | pleasemarkdarkly/OpenCore-AMD-5-3600-AsRock-X570-Phantom-Gaming | 1b9e18ef24279d8173de6cddb822b47ac81e87e6 | 1c2a2794c7c7b56100379d9b9ab4c806d28973b7 |
refs/heads/master | <file_sep># Przykładowa aplikacja z użyciem AngularJS
Przykładowa aplikacja w stylu: `Single Page Application`.<br />
Demonstracja jak łatwo stworzyć aplikację SPA.
## Budowa aplikacji
```
.
├── README.md
├── app
│ ├── index.html
│ └── scripts
│ ├── bootstrap.js
│ ├── main.js
│ ├── modules
│ ... | 25a148ac73d220a9171513e287c600258f4236cc | [
"Markdown",
"JavaScript"
] | 2 | Markdown | piecioshka/sample-angular-app | fe0fab5b7d46462f9730fd152e1f8f247655143d | 279392394b1fc30dca3a2e222764047f750d6c10 |
refs/heads/master | <repo_name>cavigna/CheckApartment_Kotlin<file_sep>/app/src/main/java/com/example/checkapartmentkt/model/Departamento.kt
package com.example.checkapartmentkt.model
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
@Entity(tableName = "departamentos")
data class Departamento(
@... | f2323de77916732260a36400d2ef675824173eb2 | [
"Kotlin"
] | 9 | Kotlin | cavigna/CheckApartment_Kotlin | c05eb4576ffdabf4be1672e7d6313fa280692b90 | ec2e96fbc33a70539602f308de88ebac30c853df |
refs/heads/master | <repo_name>abburishiva/es6-node<file_sep>/dist/controller/subject.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = ... | a9eb7d41030175310a7538957caa32bea937b58e | [
"JavaScript"
] | 8 | JavaScript | abburishiva/es6-node | a92cb1ed2e3bf7b62bb7fdb719a50ee972762a5a | 646ff31e95fff8a9de7ed2575f1bb47629906706 |
refs/heads/master | <file_sep>using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections.ObjectModel;
using static Week12SampleApp.Models.WeatherItemModel;
using Week12SampleApp.Models;
namespace Week12SampleApp.ViewModels
{
public class... | b88182dd20a66e74bd04b3afa5c6adc83e9d09ee | [
"C#"
] | 3 | C# | tdesmond-CSUSM/Week12SampleApp | a21d56694517c69a14bead602b121f190a58d8ec | d9609fef1a577f418343f3ce0e830d45abc22948 |
refs/heads/master | <repo_name>ipa-jfh/robot_recorder_tutorials<file_sep>/record_trajectory/scripts/record
#!/usr/bin/env python
import rospy
from recordit.client import Recorder
from record_trajectory.move_trajectory import Manipulator
def main():
rospy.init_node("recorder_example", anonymous=False)
robot = Manipulator()
r... | 14d028b139db811d8176bf785694481152ad8ba0 | [
"Markdown",
"Python",
"CMake"
] | 5 | Python | ipa-jfh/robot_recorder_tutorials | 588b48554c4516d700babc1b09bf79025f19ffb1 | 81caddc59d79911fc4f9dab051cf07dc76b038c4 |
refs/heads/master | <file_sep>package org.uva.sea.ql.parser.test;
import static org.junit.Assert.assertEquals;
import java.util.HashMap;
import java.util.Map;
import org.junit.Test;
import org.uva.sea.ql.parser.antlr.ANTLRParser;
import org.uva.sea.ql.visitor.evaluator.ExprEvaluator;
import org.uva.sea.ql.visitor.evaluator.values.Bool... | 03a294c29bf08845cea8d86c7a9053dfc7641968 | [
"Java"
] | 16 | Java | jahnestacado/QL | 1efd8418be182d1fd2b46d22d93069cfd42b677c | d8cadb20211e0b6636b4c5e7b37627001c97c4e0 |
refs/heads/master | <file_sep>## Reusable Componet Library<file_sep>export { default } from './Label';
| a3a752ff3436d72188c2d1d43de817719e574753 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | sartra/react-reusable-component-lib | 00b37b92bd88219c3aa290c123d18cf3e9d809e7 | c145fd63cd95adf0d97d803a3d67b258e5ca06af |
refs/heads/main | <repo_name>egpce-cedis/planejamentoSetorPublicoMod03<file_sep>/Topico02_1.php
<?php
// HEADER
include('layout/header.php');
?>
<body>
<!-- PLUGIN DO FADE IN -->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
<!-- MENU -->
<?php include('lay... | 45f7620ea1a1741c71ace180257303f227624208 | [
"PHP"
] | 10 | PHP | egpce-cedis/planejamentoSetorPublicoMod03 | 6a7ed5173da3d98dc506cad94a7408580fea4b39 | a794b4334f64fe970263e8c0a1f0fd0726ad8cf5 |
refs/heads/master | <repo_name>joetgish/strings<file_sep>/progA.cpp
// Utility program to practice string operations
//
#include <iostream>
#include <string>
using namespace std;
int main()
{
string valA = "houseboatestablish";
cout << "length =" << valA.length() << endl;
for(int ix = 0; ix < valA.length(); ix++)
... | d6296c6cb25fbe41aefd4a6c91e1992ea8f84f97 | [
"C++"
] | 1 | C++ | joetgish/strings | 0b4efe65a1835be8374d4cdfd2d05516e6f61898 | 4bb1a2c5225ce366a172748baa41b5d15d1f1d60 |
refs/heads/main | <repo_name>eboriley/netflix-clone<file_sep>/src/Nav.js
import React , {useEffect, useState} from 'react'
import './Nav.css'
function Nav() {
const [show, handleShow] = useState(false)
useEffect(() => {
window.addEventListener("scroll", ()=>{
if (window.scrollY > 100){
handl... | 2158920b0e512aafeebd54ea88c85dee6eaee3e4 | [
"JavaScript"
] | 1 | JavaScript | eboriley/netflix-clone | 5fab0f6fe2795f1a891663d13b74b3f630b62474 | 621dfd411ee16d719b07e14fa95f9917797dc20b |
refs/heads/master | <repo_name>bayansar/AdventureWorkReview<file_sep>/sql/migration.sql
ALTER TABLE adventureworks.productreview
CHANGE ReviewDate ReviewDate TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
CHANGE ModifiedDate ModifiedDate TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD CONSTRAINT fk_product_id FOREIGN KEY (ProductID... | 55c771ae029d4078ca6f7ea05a79c5efd23eaa9b | [
"SQL",
"YAML",
"Markdown",
"Go",
"Dockerfile"
] | 12 | SQL | bayansar/AdventureWorkReview | 058090ec42fa242d1f5d3399f88251b6e25d7524 | d0be23df6f417130ca968acce2fa44bf5d6e69b6 |
refs/heads/master | <file_sep>package com.company;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileWriter;
import java.util.Scanner;
public class Main {
private static final char SEPARATOR = '|';
private static final String SEPARATOR_REGEX = "\\|";
private static final char NEW_LINE = '\n';
... | e47afa5a9c4d8073090f468b0341e029b6e425ce | [
"Java"
] | 1 | Java | karoliszagarnauskas/Java_06_uzduotis1 | 2d66d4259717d8016432dbc858ad283429fbf680 | a6b07f943ce240e415cd81b599f41eb2701e725c |
refs/heads/master | <repo_name>jhyhhmail/appium<file_sep>/src/main/java/com/jhyhh/appium/utils/BooleanUtils.java
package com.jhyhh.appium.utils;
public class BooleanUtils {
/**
* true|y|1|yes|on
*/
public static boolean isTrue(String str) {
return ("yes".equalsIgnoreCase(str) || "1".equalsIgnoreCase(str)
... | b14cd55314860fe559062e5de011a9274b93fdbb | [
"Java",
"Maven POM"
] | 5 | Java | jhyhhmail/appium | 35984607217528238b76e36dbaad3ce851ea26db | 15ce9775965c72f2695f39e6ae4a70083d75c820 |
refs/heads/master | <repo_name>AlexNastin/EpamHostelProject<file_sep>/src/by/epam/hostel/entity/Entity.java
package by.epam.hostel.entity;
import java.io.Serializable;
public abstract class Entity implements Cloneable, Serializable{
/**
*
*/
private static final long serialVersionUID = -1928578207162711308L;
}
<file_sep>/src/b... | 5318813fb979be60901206e3190a979a08d365fb | [
"Java",
"INI"
] | 34 | Java | AlexNastin/EpamHostelProject | 994ac5b0b4ed0e61cb19e2b987bb3cd3826dc00d | 9c82d03bed9fb09e1edf7feb9e3a656deeea301a |
refs/heads/main | <repo_name>jamie-taylor-privitar/empty<file_sep>/.teamcity/settings.kts
import jetbrains.buildServer.configs.kotlin.v2019_2.*
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.maven
version = "2019.2"
project {
// name = "<NAME>"
description = "Jamie"
buildType {
id("adfsdfsf")
... | a2a20a03726eb8ece591c18ebc3eab7f96b8a2fb | [
"Maven POM",
"Kotlin"
] | 2 | Kotlin | jamie-taylor-privitar/empty | d64271d14df1209768aba82aefa934cb1c6f8769 | bc37987c80f508a01458400e0d77b38c196712bc |
refs/heads/master | <file_sep>[](https://travis-ci.org/ttwd80/homer)
[](https://coveralls.io/github/ttwd80/homer?branch=master)
# homer
Helps study for test
<file_sep>package com.gi... | b093f630c0a852fb5593499db8ca26e1001d2172 | [
"Markdown",
"Java",
"Maven POM",
"INI"
] | 8 | Markdown | ttwd80/homer | 98a3bcc2f2a7a6717f64699d758c7cf3a6398a38 | af5937b1b98f2fccb5d94246b33d6b24ba3f03f8 |
refs/heads/master | <file_sep>using System.Net.Http;
using System.Threading.Tasks;
namespace SimpleWebServer.cli
{
public class SecondController
{
public Task<string> Get()
{
var client = new HttpClient();
return client.GetStringAsync("http://www.google.com")
.Co... | c741435b2f89b2b1b1810cdfa2d3c852c84fb3db | [
"C#"
] | 14 | C# | davidfostersd/tpgasync | ec72ac7f86d4afe5c0dfbef1611d90c6abc7e78e | 15964f55ad98fa6245cf570f667a034f5194820d |
refs/heads/master | <file_sep>using System;
using Android.App;
using Android.Content.PM;
using Android.OS;
using Microsoft.Practices.Unity;
using Prism.Unity;
using Android.Preferences;
using Android.Content;
namespace VoiceRecognitionSample.Droid
{
[Activity(Label = "VoiceRecognitionSample.Droid", Icon = "@drawable/icon", MainLauncher... | 461592a4d6fa5e76086e8ea5967815ed619884ac | [
"Markdown",
"C#"
] | 4 | C# | kssyamagata/VoiceRecognitionSample | a2af17ab717531f20b435d8b749df6c67c406382 | ad94f834c3115572519d466f66672025278d653f |
refs/heads/master | <repo_name>kfrn/Check-Sammy<file_sep>/CheckSammy.py
#!/usr/bin/env python3.6
'''
Check Sammy is a GUI tool for checksumming stuff (using the md5 algorithm).
It stores the hash values in separate json files (SomePath/InputFileName.md5).
The same files can be used for running integrity checks. In this case Sammy will loo... | 3deed18347df926d0b267a31fa10b8344c65138a | [
"Markdown",
"Python"
] | 2 | Python | kfrn/Check-Sammy | 3a2e7dd241c77d3131a8b38b0d14269872b1bf85 | 2026d7934bc0f88fe14ec5eb904ef38a6a89bffe |
refs/heads/master | <repo_name>PedroHurtado/httpapi<file_sep>/src/services/userservice.js
import userprovider from '../providers/userprovider'
export class UserService{
constructor(userprovider){
this._userprovider = userprovider;
}
async refreshToken(refresh_token){
//TODO:refresh token
//await this._u... | ab73f57e18b47387004ed1a5b115744ada32f78c | [
"JavaScript"
] | 8 | JavaScript | PedroHurtado/httpapi | a35657f4bf5e294b5783da7ec86368f5f3333dd5 | 7ffe11f362a27ab26519d662747bfdf2dae4b720 |
refs/heads/master | <repo_name>wDiff/moshimo.com<file_sep>/js/Mdk.js
/*@cc_on
if (@_jscript_version < 9) {
var _d = document;
eval("var document = _d");
}
@*/
/**
* js/Mdk.js
*
* @author T.Mori <<EMAIL>>
* @package Mdk
* @version $Id$
*/
/**
* Mdk の既定クラス
*
* $ で始まる変数は Element を継承したオブジェクトを表現します
* $event は例外的に Event を... | c7cbd77d337797fab641b4413d422f32b5b97542 | [
"JavaScript",
"HTML"
] | 7 | JavaScript | wDiff/moshimo.com | 3d77f114d6aac2971b8fc82db5d9e9f2ac230f4a | 0b887611bab12b1e0f8f5f1deb84412b32ee4eb8 |
refs/heads/master | <repo_name>MPinpa/vagapython<file_sep>/app.py
def quantidade(tipo: list, troco_restante: float) -> list:
"""
Quantidade de notas e moedas do troco recebido.
"""
tipo_de_valor = "cedulas"
if troco_restante < 1 and troco_restante > 0:
tipo_de_valor = "moedas"
valores_usados = []
... | bfb14b5aff4d248fea71e57d6076652439e9ad04 | [
"Python"
] | 1 | Python | MPinpa/vagapython | 04a132c0c31e5e8f1c7bcdb1d7f3331eaddc7fee | 89c6194aa16c19cfd498b13f1f2edda1ffea86f0 |
refs/heads/master | <file_sep>ProGauge-in-Java
================
The original project in java<file_sep>import java.lang.*;
import java.lang.reflect.*;
import java.util.*;
import com.google.gson.*;
//import com.google.gson.*;
import com.google.gson.JsonElement.*;
import com.google.gson.JsonArray.*;
import com.google.gson.Gson;
... | 9840e497ae136a301129d513f2eb14131fc279ed | [
"Markdown",
"Java"
] | 4 | Markdown | DanielHaro/ProGauge-in-Java | f8812ad1f97b636808bb9a9a12619e2a638e3769 | 504e6706e426f3fa9d342c607cb9b250777585e7 |
refs/heads/master | <repo_name>wannasmile/FlashAnimationToAndroid<file_sep>/settings.gradle
include ':app', ':fatalib'
<file_sep>/fatalib/src/main/java/org/osdg/fata/FlashAnimationView.java
package org.osdg.fata;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics... | bd48edeecf88b519809bb0922c60d39873ef4c14 | [
"Markdown",
"Java",
"Gradle"
] | 4 | Gradle | wannasmile/FlashAnimationToAndroid | 2e3d790ae98aace1b6035a6aaaa02a071723fb4f | 0f46fa8dba7553f47d3ba6649819e2531a47caba |
refs/heads/master | <file_sep><?php
$post = $_POST;
echo json_encode($post);<file_sep>// <?php
// $db = new SQLite3('test.db');
// // class myDB extends SQLite3
// // {
// // function __construct()
// // {
// // $this->open('test.db');
// // }
// // }
// // $db = new MyDB();
// // if(!$db){
// // echo $db->lastErrorMsg();
// // }... | fd0da3e3b0f424108d7a4d02827a52e437399ffe | [
"SQL",
"PHP"
] | 19 | PHP | hellosnake/snkStudy | 730d4a0ddbfa2bc8b75a818de1bd840a46383f12 | 77541a8609899254c2258dd20ea6ddf33d0d79a9 |
refs/heads/master | <repo_name>f059074251/interested<file_sep>/7-Zip/CPP/7zip/Archive/Nsis/NsisIn.cpp
// NsisIn.cpp
#include "StdAfx.h"
#include "../../../../C/CpuArch.h"
#include "Common/IntToString.h"
#include "../../Common/StreamUtils.h"
#include "NsisIn.h"
#define Get32(p) GetUi32(p)
namespace NArchive {
namespac... | ea613c6a4d531be9b5d41ced98df1a91320c59cc | [
"Makefile",
"INI",
"Java",
"C",
"C++"
] | 136 | C++ | f059074251/interested | b5a26ad732f8ffdca64cbbadf9625dd35c9cdcb2 | 939f938109853da83741ee03aca161bfa9ce0976 |
refs/heads/master | <file_sep>import os
import docker
from docker.errors import BuildError
from patchworkdocker.errors import PatchworkDockerError
class DockerBuildError(PatchworkDockerError):
"""
Docker build error.
"""
def build_docker_image(image_name: str, context: str, dockerfile: str):
"""
Builds a Docker i... | 140b9a12e31420d74e18a0da404b205e36a9727b | [
"Markdown",
"Python",
"Text",
"Dockerfile",
"Shell"
] | 23 | Python | colin-nolan/patchwork-docker | fd5fff5d5ece03457d41bf7f616a70c0b4300a5d | d60e0d55aeb9e3fae37f85140ee8222d137fb591 |
refs/heads/master | <file_sep>package com.sdcuike.gradlelearning.controller;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestM... | 5e55797c588912ce79e6aaa66e1e384ebec13edb | [
"Markdown",
"Java",
"Gradle"
] | 5 | Java | sdcuike/gradle-learning | 2b0cc9a9d744685b445309d3e295d04b3bf3db63 | 89ab1732f90888f1b6fec45e138c7f85065544ad |
refs/heads/master | <repo_name>ck4957/.NET-Projects<file_sep>/LibrarySystem/OnlyBook/Repository/IAuthorRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using OnlyBook.Models;
namespace OnlyBook.Repository
{
public interface IAuthorRepository
{
Author Add(Autho... | d82f21e2c38a46a2111791117d35322950ee2902 | [
"C#"
] | 3 | C# | ck4957/.NET-Projects | 5b34cf22bbd1e61048c11bc303cc184a1f88d24f | c40872e6587a7f1741500245b064acdad89eaa92 |
refs/heads/master | <file_sep>package com.example.webpagescannerapp.other;
import com.example.webpagescannerapp.service.RequestService;
public class MyRunnable implements Runnable {
RequestService requestService;
public MyRunnable(RequestService requestService){
this.requestService = requestService;
}
@Overrid... | 101e4bcd21dce9147158a34d048968af9b095725 | [
"Markdown",
"Java",
"Gradle"
] | 7 | Java | Sandora1933/WebpageScannerApp | 5f20e0bdadfb84253d57a7b35fe07c06b1db279d | 06bdd45c04391a8b3769cff0db48fe772869939f |
refs/heads/master | <repo_name>esleytel22/safeMatrix<file_sep>/SA.cpp
#include<iostream>
#include <cstdlib>
#include <cassert>
#include<fstream>
#include<sstream>
using namespace std;
/*Generic Safe Array Class*/
template <class T> class SA;
template <class T> class SM;
template <class T> ostream& operator<<(ostream& os, SA<T> ... | 009b2d03ebacbe49d824a38a9857e51a60fa8c10 | [
"C++"
] | 1 | C++ | esleytel22/safeMatrix | 4f6d9572bb44cb55829ddb2b8502bcff68338061 | 6ceca3aeb219ed8c86b64e3583e7e7223b3c4ca6 |
refs/heads/master | <file_sep>// pages/home/home.js
Page({
/**
* 页面的初始数据
*/
data: {
imgUrls: [
'/assets/banner/banner1.png',
'/assets/banner/banner2.png',
'/assets/banner/banner3.png',
'/assets/banner/banner4.png',
],
indicatorDots: true, // 是否显示面板指示点
autoplay: true, // 是否自动切换
... | 11b72cb64ba9b6efacf2d4c45ec43aaa5a8bee82 | [
"JavaScript"
] | 1 | JavaScript | konangolden/mideatest | 12f1e4ce5889b6586e42a50a657d4774245b2786 | 774c23d007aa9a1d4bcd481133ba926bdb1fcf60 |
refs/heads/master | <file_sep>package sudokuGUI;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.util.Scanner;
import javax.swing.BorderFactory;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.Border;... | 5d61cbee6279e46c158bfd50c8bd4e78adf429f3 | [
"Java"
] | 2 | Java | cinadia/SudokuGUI | bd1b9d2b5cce0750e72b3fddc621f51761c9fe96 | 4ac28f64343db01acaa61c82063dcccacaa669cc |
refs/heads/main | <file_sep># Hemingway
A reverse engineered version of Hemingway editor for VSCode.
Inspired from https://www.freecodecamp.org/news/https-medium-com-samwcoding-deconstructing-the-hemingway-app-8098e22d878d/
- Uses https://www.npmjs.com/package/retext-english + Unified
- Naive perf, parses the full doc at all times... | 34bf3290008b26794320fd4e927134abb7a309a3 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 5 | Markdown | iddl/hemingway-vscode | d996a7f8c3c36d579f62383febe9457b5c1c6262 | fcce76b5bb360a9a4bd48c3b1375f05f11f5c890 |
refs/heads/master | <repo_name>terngkub/Frozen<file_sep>/simple_server.go
package main
import (
"errors"
"fmt"
"log"
"net"
"os"
"regexp"
"strings"
)
const (
CONN_HOST = "localhost"
CONN_PORT = "3333"
CONN_TYPE = "tcp"
)
type Account struct {
Password string
User string
Nickname string
}
type Channel struct {
Name ... | 6b51aa93793a305d1b52ed7898d99504957af6f2 | [
"Go Module",
"Go"
] | 8 | Go | terngkub/Frozen | 831749803a34e1dbd5d59b45bc623608ec5812c5 | c56c7594977721d32a434057440107544664f7d8 |
refs/heads/master | <file_sep>#!/bin/bash
### https://github.com/adnanjee/hyperledger-fabric.git ###
### Download golang ###
echo "Downloading golang"
curl -O https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz
tar xvf go1.14.2.linux-amd64.tar.gz
### Moving go to /usr/local ###
sudo mv go /usr/local
rm go1.14.2.linux-amd64.tar.g... | c302be77b1dc884b7c115cbcbd40206d0c5abe5e | [
"Shell"
] | 4 | Shell | adnanjee/hyperledger-fabric-1.4 | 4ecd4a4e67c03138125077018209c34c1a62675a | 6ac1f10e6cad6b672f64c582386ba0f3f5e8c9ff |
refs/heads/master | <file_sep>import Cocoa
class AppDelegate: NSObject, NSApplicationDelegate {
private var context: Context!
private var statusBarHandler: StatusBarHandler!
func applicationDidFinishLaunching(_ aNotification: Notification) {
self.context = Context()
self.statusBarHandler = StatusBarHandler(c... | 15bcd5bb8252e4bef6b68588ccc19f8053d340e4 | [
"Swift",
"JavaScript"
] | 7 | Swift | vmistyurin/NSUWeather | b9f7adf0db410630b5a977deffac6f2271bd6e3b | 3402d4cd1a5775871298e790b2f3f89c753c791c |
refs/heads/main | <repo_name>rkrishn7/couchsync-website<file_sep>/src/assets/images.ts
class Images {
private get base() {
return '';
}
get logo() {
return this.base + '/couchsync-128.png';
}
get appScreenshot() {
return this.base + '/app-screenshot.png';
}
get favicon() {
return this.base + '/favicon.ic... | d8d78df5fccfe592c1dacda5ea9e8255341af8e8 | [
"TypeScript"
] | 1 | TypeScript | rkrishn7/couchsync-website | abb6dd46e4458bf4d56d95d8e682647066ea68cf | 58c3ef1fea5e0034274461925532a9138638132c |
refs/heads/master | <repo_name>Kazuki-AK/IKS_SHOP<file_sep>/UserLogin/forms.py
from django import forms
from django.contrib.auth import get_user_model
from django.contrib.auth.forms import ( AuthenticationForm, UserCreationForm, PasswordChangeForm, PasswordResetForm, SetPasswordForm )
from .models import Shop
User = get_user_model()
cla... | 4e8b63f71d77992e4c6263bdceb23a99fba9397b | [
"Python",
"HTML"
] | 13 | Python | Kazuki-AK/IKS_SHOP | b665230e99ab9f4fc6cb71e4ab8a149c13712f73 | 45e74d71485083d1e0b5fd4f82aef17f2f8dd8a9 |
refs/heads/master | <file_sep>-- Ejercicio 14 Obs: Los numeros indican los pasos del problema
-- Problema Oficial
use Base_Datos_I;
-- 1
drop table if exists medicamentos;
-- 2
create table medicamentos(
codigo integer auto_increment,
nombre varchar(20) not null,
laboratorio varchar(20),
precio float,
cantidad integer not... | 4cb5605704a5a795d00f61bb9fb06eb774c34469 | [
"SQL"
] | 12 | SQL | SaidaPereira/BASE_DE_DATOS_I | 712fd5791c87f040c7d58827ee56fdddd94fce70 | 11b60e192b3618d98a0e56ff2c0c0788b7a05f8b |
refs/heads/master | <file_sep>#include "../head/LinkStack.h"
#include<stdio.h>
#include<stdlib.h>
Status initLStack(LinkStack *s) {
s->top = (LinkStackPtr)malloc(sizeof(StackNode));
if(!(s->top))
return ERROR;
s->top = NULL;
s->count = 0;
return SUCCESS;
}
Status isEmptyLStack(LinkStack *s) {
if(!(s->top)) {
printf("栈为空!\n");
... | 36d56ae16456322ea876492eca88dc7d97d9fa71 | [
"Markdown",
"C",
"INI"
] | 29 | C | XavierLeong/XL1 | 505ff79b6976a909730107ccd2b686f0f17e4519 | 5828d07b89c2992a44f41b23856c9ac6cf080271 |
refs/heads/master | <repo_name>alaponin/TindomondoClient<file_sep>/src/app/main/main.html
<div ng-controller="MainController as controller">
<div>
<div class = "text">Tindomondo helps you find<p>new companions for your<p>sport activities.</div>
<div class = "citation">"If Tindomondo had been there in<p>my childhood, me and... | ee878b6c03ec84672d5b51255e2011f69c6d3212 | [
"JavaScript",
"HTML"
] | 12 | HTML | alaponin/TindomondoClient | 0a1e2780ace490b3cad579f48824eae8d665792a | 3d533adb101eb1d823e7d2d3e84c1eb9d3061881 |
refs/heads/master | <repo_name>bububa/Clear-History<file_sep>/clearhistory.py
import time
from cmd import *
#----------------------------------------------------------------------------------
# Intro
#----------------------------------------------------------------------------------
clear()
raw_input("Press enter to begin...")
print("... | ac3829dd132552536a71a03115a9759854653111 | [
"Python"
] | 4 | Python | bububa/Clear-History | 82f2398a26c08a610510e722b53b8b2e0bcdc8d5 | 0505677829fc47e8245d5913f6d78d711ed666c8 |
refs/heads/master | <file_sep>using System;
namespace LinqToDB.DataProvider.SapHana
{
using Mapping;
public class SapHanaMappingSchema : MappingSchema
{
public SapHanaMappingSchema() : base(ProviderName.SapHana)
{
}
protected SapHanaMappingSchema(string configuration) : base(configuration)
{
}
}
}
| 1d7ec5665f5c1a7895138d977c67a4f2fec08f4d | [
"C#"
] | 1 | C# | reavic/linq2db | 1e641e1d5ea35ec181d4458187ad019a97ef193f | 46869d277d8e8937a43d9336c4cfe1f98e12a68f |
refs/heads/master | <file_sep>package com.squareandcube.balaji.syncsqlitedatabasewithserver;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
im... | 1633c57d47195d805d7eb1c8417bfc349677d60e | [
"Java"
] | 1 | Java | balaji66/SyncSqliteDatabaseWithServer | 5e635e425aecc83c6ac0daca60851151ab126675 | 63f470550e2b69d68290c984a569c4335fc2e9ae |
refs/heads/master | <file_sep># guessword
Code I made for my Practicum test.
<file_sep>#include <iostream>
#include <cstdlib>
#include <string>
#include <conio.h>
#include <ctime>
using namespace std;
int check = 0, n, hp = 8, att = 0, saved = 0, combo = 0, temp = 0;
string assign, nama;
char arr[100], strip[100], attempt[100], ... | fcc6f934b2e1cae4dfffe86b35a1d9a421a72907 | [
"Markdown",
"C++"
] | 2 | Markdown | JurgenStrek/word-guess | 40b133a554d72ca46159548849966aee85c4c592 | 33e48b1159c4424078f5ef3130a71da644914e01 |
refs/heads/master | <repo_name>Thioubado/o<file_sep>/themes/olympos/partials/footer.htm
<div class="main-footer">
<div class="container">
<h3>Our footer</h3>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Minima est atque ratione consequatur dicta amet ad, corporis pariatur aperiam sunt provident quia? Commodi t... | 5d1fdc8b0c99a336c9bc9de0e74e77fa8e6637c5 | [
"SQL",
"HTML"
] | 2 | HTML | Thioubado/o | 9b16e819957470c8dbce2288f09c6bd9afd05cac | 501ca93a0964dfb5d6deb095006b11f55e4ba61f |
refs/heads/master | <file_sep>//
// Created by Zealydalal on 4/18/2016.
//
#include <iostream>
#include <ctime>
#include "dropbox.h"
#include "/Dropbox-C-master/memStream/include/memStream.h"
using namespace std;
class Encrypt_and_Upload_to_Dropbox
{
public:
int encryptFunction();
const char* strFromBool(bool b);
void displ... | 56c543cba70552c44c216fcab750eb874e44fca8 | [
"CMake",
"C++"
] | 6 | C++ | zealdalal/Crypto_Proj_2 | 1a9b53ae216ad42480c0f3fbbb8352e8f7ffd284 | 94f33609017fe7d09103a9aef233be417a82ea5c |
refs/heads/master | <file_sep>package com.szikora.ccvid;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.support.design.widget.TextInputLayout;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import a... | 2ae5f241dcc67b5e2f86699acd76a3c197befdf4 | [
"Java"
] | 1 | Java | AtillaSzikora/I_ANDROID_ccVid | 475252dec9963d9e9d4859057529fca8dd1278a6 | d2e20fccb7940308e13e4cc0308aec1dbe3d7eb3 |
refs/heads/master | <repo_name>vincea92/basic-node-rest-api<file_sep>/routes.js
'use strict';
var express = require("express");
var router = express.Router();
//GET /users/vince
router.get("/players/iginla", function(req, res){
res.json({
name: "<NAME>",
goals: "27",
assists: "65",
points: "92",
team: "... | 7f4323300ca9d0bcb68ede5b820334439824f45a | [
"JavaScript"
] | 1 | JavaScript | vincea92/basic-node-rest-api | 156e641598aa761997896188b2728cd0916c3d56 | 53d330f8bd91f1161f3e906e6c07ca6c7e3e5b52 |
refs/heads/master | <repo_name>jb-wagner/alex-gram<file_sep>/src/models/user.ts
export default class User {
username: string;
name: string;
image: string;
constructor(username: string, name: string, image: string) {
this.username = username;
this.name = name;
this.image = image;
}
}
<file_sep>/src/models/location.ts... | 4c5c9806b4a8a8d27d8cedca9c6a91c14f2243c0 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | jb-wagner/alex-gram | d094e132268eb6cece2242ab098e1ff7803738e5 | 14e21c7d479b6e7b9f994c4601eb733d2380dbbb |
refs/heads/master | <repo_name>ZWhit196/experimental_server<file_sep>/helpers/Forms.py
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, validators
import database
class Register_Form(FlaskForm):
username = StringField('Username',[validators.Length(min=3, max=30)])
password = PasswordField('New Pas... | 7075bd3b4c8878ac37e528fa1ff28c7ada552d99 | [
"JavaScript",
"Python",
"Text",
"HTML"
] | 18 | Python | ZWhit196/experimental_server | c1be62abad71d9468dd91ee4e089a2f05405087a | 950805721320a3a2b558c3107f79d4480c4a709d |
refs/heads/main | <file_sep>setInterval(() => {
let dd = new Date();
let hh = dd.getHours();
let mm = dd.getMinutes();
let ss = dd.getSeconds();
let month = dd.getMonth() + 1;
let day = dd.getDate();
let year = dd.getFullYear();
if (month < 10) month = '0' + month;
if (day < 10) day = '0' + d... | 9a5b7db69317dcbb14be3274d041f9a2ee0c3002 | [
"JavaScript"
] | 1 | JavaScript | Buherchuk/date-and-clocks | ba690ec6055dfc21a3985e32360113e37c724cd5 | 0a5f4b1a42738382b578f6876fdfba8e204941d4 |
refs/heads/master | <repo_name>gmontamat/histopathologic-cancer-detection<file_sep>/README.md
# histopathologic-cancer-detection
Code for the Kaggle competition "Histopathologic Cancer Detection"
<file_sep>/full_process.py
#!/usr/bin/env python
"""
Full process
"""
import keras.backend as K
import matplotlib.pyplot as plt
import numpy as... | 65ede4e9d21b7a93a03271d2316911f9693abe96 | [
"Markdown",
"Python"
] | 2 | Markdown | gmontamat/histopathologic-cancer-detection | 70617cb4158f2a8045ee0e6a95ff26772f002580 | 2b509a83ba6a63f94050d2aeccdf38320e19baea |
refs/heads/master | <file_sep># FixMe-Mobile
Mobile app for FixMe Application
<file_sep>import { createStackNavigator, createAppContainer } from 'react-navigation';
import LoginScreen from '../screens/Login/LoginScreen.js';
const MainStack = createStackNavigator(
{
Home: {
screen: LoginScreen
},
},
{
initialRoute... | d8d29f38ed22e427cc018dfaf41e2c914c687b3e | [
"Markdown",
"JavaScript"
] | 3 | Markdown | Ambada-Soft/FixMe-Mobile | 65a2952c639f2d1c3caa64031436408162a6aad6 | bc9b5da10e82f927282e6309d91d94f4d0064128 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
</head>
<body>
<?php
//Create the client object
$soapclient = new SoapClient('http://clima.inifap.gob.mx/data/webservice.asmx?WSDL');
//Use the functions of the client, the params of the function are in
//the associat... | 69e36436c1e6e2c4fd018ca8799ceee6eb23541c | [
"PHP"
] | 5 | PHP | jorgemauricio/proyectoAlejandro2 | 91178774274963717d1b3ad5599c442ac3c3b08d | 65de43bd34f287a5b448fd73c4b7ed185b151be5 |
refs/heads/master | <repo_name>maacpiash/medium-posts-host<file_sep>/index.ts
import express from 'express';
const app = express();
app.get("/", (req, res) => {
res.set('Content-Type', 'application/json')
res.send([
{
id: '1<PASSWORD>',
title: 'The Myth of Digital Ecosystem',
time: 7.558490566037736,
date... | 12cd52e3bbc98ad898b12a09227425e94dcd65a8 | [
"TypeScript"
] | 1 | TypeScript | maacpiash/medium-posts-host | 017f67e844cb79a1d6c3077ee959df20f437cb29 | 9e273e7d9deb74deaa2820f39e07643a11881c3d |
refs/heads/main | <repo_name>antonio-aranda7/PDM1-Jeancarlo-Antonio<file_sep>/README.md
# PDM1-Jeancarlo-Antonio
Aplicaciones de Android Studio CURP, RFC, Amigo Secreto de la materia Electiva de Desarrollo Movil 1
Generador de CURP
https://user-images.githubusercontent.com/72113007/125532504-3f9add21-9000-4f66-a032-410ea950905c.mp4
[... | 4d602d4c780991a05b51b31fc5fa3e0e0a813b9e | [
"Markdown",
"Kotlin",
"Gradle"
] | 7 | Markdown | antonio-aranda7/PDM1-Jeancarlo-Antonio | 83cd8fbee8baaecfb1a76963eece1df41e010ee0 | 3fa6dff7229926468048c554257f350868dfaaf4 |
refs/heads/master | <repo_name>bode-mmk/meikojourney<file_sep>/index.php
<?php
use LINE\LINEBot\Constant\HTTPHeader;
use LINE\LINEBot\Event\MessageEvent;
use LINE\LINEBot\Event\MessageEvent\TextMessage;
use LINE\LINEBot\Exception\InvalidEventRequestException;
use LINE\LINEBot\Exception\InvalidSignatureException;
require_once __DIR__ . '... | f7f02e95b62bb28c92ebb0e4201c2b1a2d3e3cc9 | [
"PHP",
"Shell"
] | 2 | PHP | bode-mmk/meikojourney | 994397f1a8f1333a1216b0eaad7e326900550683 | 77ce974d9d4d55a875eb19cb7116f155b2adfefa |
refs/heads/master | <file_sep>import React from 'react';
import List from './Components/List.js';
import Contoller from './Components/Contoller.js';
class App extends React.Component{
constructor(){
super();
this.state={
inputValue:'',
data:[
// {text:'aaa',completed:false,id:1},
// {text:'bbb',compl... | e8ed6cafde3e4b1d01551dd0d5176165f0d6e8cb | [
"JavaScript"
] | 2 | JavaScript | happyrachel/Todo | 681e1235f48997d26468189aac7e78540e3a08c4 | 8d717312da51a6a888e3ffbc756b02b0cac18be6 |
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.Windows.Forms;
using Service.Common.DB;
using Message.Model;
using Service.Common.Log;
using Service.Common;
namespace WinApp.WinForm.Repor... | 22c93941da36acd0c45f512d524d4ba574a0c487 | [
"C#"
] | 41 | C# | dmulxw/Message | d04365aaa958acc381d1ec9849e86b255a51aa7b | 501d87c54796792bdcf2598e655ba040959a6ad8 |
refs/heads/master | <file_sep>jee-angular-todo
A very light-weight introductory project to Angular 1.x that utilizes Material Design.
Keywords: Angular, Angular 1.x, REST, Maven, Material
If you'd like to read more about this project, please see my blog: http://blog.danwatling.com<file_sep>angular.module('todo').controller('HomeControl... | 2716223a13377a17b1416716aaf2a969cebf0edb | [
"Markdown",
"JavaScript"
] | 3 | Markdown | dwatling/jee-angular-todo | 5ffb7cfd3d5419e802fcb87fb054284e88e32398 | fd524f40989a8433f991c674f62ecc06db92cf99 |
refs/heads/master | <repo_name>suhasshrinivasan/music-genre-classification<file_sep>/README.md
# Welcome to the music-genre-classification wiki!
**Language used for development**: Python 2.7.6
This repository consists of development code that classifies music according to the following genres:
1. Classical (Western)
2. Country (West... | 6f22c6c303694edf3b1bf1f225232791daab9876 | [
"Markdown",
"Python"
] | 2 | Markdown | suhasshrinivasan/music-genre-classification | 474fb4663972fad0e588409e10303ee5036a7a86 | 96eb700aae5b94641d1aff41320e0b16344b45f3 |
refs/heads/master | <file_sep>module Itamae
VERSION = "1.12.1"
end
| d511332035b68ca1604a4613c00e91d5548e6902 | [
"Ruby"
] | 1 | Ruby | virgo-liu/itamae | fd48cb50fd63777139c2f62cb809fb16812c945a | b9a6f347fba5dbb83eb077f0b3d37ead8d114589 |
refs/heads/development | <repo_name>kleap/iTechArt.Labs.iTechArtSurvey<file_sep>/iTechArt.Labs.iTechArtSurvey.Web/src/surveys/reducers/surveyReducer.js
import * as types from './../actions/actionTypes';
import { questions } from './questionReducer';
export const surveyReducer = (state = {}, action) => {
switch (action.type) {
case... | 808c3b2933ea8ca33424a90a4accdc7166679ee3 | [
"JavaScript",
"C#"
] | 37 | JavaScript | kleap/iTechArt.Labs.iTechArtSurvey | 685b5396080a18d79c9cce299d6799ef70b6d61a | 63ef0d54ae72b124c5ebd7740f78d58a7e97a1dd |
refs/heads/main | <repo_name>Volodymyr-Roiukk/rs-pet-shop-backend<file_sep>/product-service/constants.js
const PRODUCTS_API_PATH = 'http://products-test1.s3-website-eu-west-1.amazonaws.com/';
module.exports = {PRODUCTS_API_PATH};<file_sep>/product-service/tests/getProductsList.test.js
const {getProductsList} = require('../handlers/getP... | 289fa4b24631da065645adbefb9209561943502b | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | Volodymyr-Roiukk/rs-pet-shop-backend | 4e0309bc10c3c0463f3dba6a3790715af6512b50 | 358e096f31ae1b18994448d133d0b7ee390c601c |
refs/heads/master | <repo_name>apastorini/SDAP-GUI<file_sep>/src/app/components/files/files.component.ts
import { Component, OnInit, OnDestroy } from '@angular/core';
import { Constants } from '../../utils/Constants';
import { FileService } from '../../services/file.service';
import { HttpClient, HttpEventType, HttpHeaders } from '@angula... | fea6898e412c2e266ee849f06bfd506a3c5115f8 | [
"TypeScript"
] | 31 | TypeScript | apastorini/SDAP-GUI | ed4eee8d551374b80d45540937430b6d6411e932 | 9c7e50d7d6298b12a931b1c50923548a952ad4e4 |
refs/heads/master | <file_sep>public enum Färg {
KLÖVER, RUTER, HJÄRTER, SPADER
}
<file_sep>public enum Nummer {
TVÅ, TRE, FYRA, FEM, SEX, SJU, ÅTTA, NIO, TIO, KNECKT, DAM, KUNG, ESS
}
<file_sep># GameOf21
To play this game you need to:
- have JavaSDK installed
- git clone this repository
- write ```javac src/GameOf21.java``` i... | 778fa802ffc57cba41f56236ff4e4f814c89b559 | [
"Markdown",
"Java"
] | 3 | Java | karolinfrennert/GameOf21 | 06dd1a94483aa76c7eac2b510e743d191c6efb1c | 9b81c212f9a29ca9ad9a95713a11301504ec9c93 |
refs/heads/master | <repo_name>CASIOuitsu/acr<file_sep>/06laravel/blog/app/Http/Controllers/PagesController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class PagesController extends Controller
{
public function home() // action home
{
$tasks = [
'Go to the store',
'Go t... | 5610921bb992c9b3bb17ff7c607e3c8c93e3dddc | [
"PHP"
] | 2 | PHP | CASIOuitsu/acr | 82566d6b30eb0c598de7b4024fda1348ba6be214 | 49d90fb9b427fb09a25040b481e3f9b809eec804 |
refs/heads/main | <repo_name>ArikeshiS/Insta-backend-API<file_sep>/README.md
# Insta-backend-API
Simple HTTP REST API implementation in GO.
<file_sep>/src/insta-backend-api.go
package main
import (
"log"
"net/http"
"encoding/json"
"io"
"os"
"context"
"fmt"
"time"
"strings"
"go.mongodb.... | 3564ebbfd390469e459a771e2f11e511a2ce0d43 | [
"Markdown",
"Go"
] | 2 | Markdown | ArikeshiS/Insta-backend-API | dac21ad0b02ddd8cf85a296cfbfec9117480275b | f72a75c695ee82cbdf9e7e3196ad2ac1a98a0324 |
refs/heads/master | <file_sep>import java.util.*;
import java.lang.*;
import java.io.*;
class MST
{
static int V;
static int graph[][] =new int[V][V];
int minKey(int key[], Boolean mstSet[])
{
int min = Integer.MAX_VALUE, min_index=-1;
for (int v = 0; v < V; v++)
if ... | bb6b13e25f680b181d55ef68d6ef9346ab2d6126 | [
"Java"
] | 1 | Java | tranquanghuy141199/Combinatorial-Optimization | 1aeed5d72d7997fd986e0df6f906d547db8f99fe | b4666280be22ddbb9f6ad160759f5ec2e8658fbe |
refs/heads/master | <file_sep># MovieBrowser
<p align="center"> <img src="https://github.com/papsti7/MovieBrowserApp/blob/bb1428ee3189b79284b6b6043fe44919e2cd3cbf/Screenshots/android/0.jpg" align="center" height="760" width="448" ></p>
## Motivation
MovieBrowser is a simple read-only app, made for Android and iOS, to get an fast over... | 74e7bfbc228bc26e69c1e620f8100f9203cea89e | [
"Markdown",
"JavaScript"
] | 6 | Markdown | papsti7/MovieBrowserApp | 84447b5edab22a59b8157bf24811b2b49443f55a | 2dd12b86036f0be73f563f13f52648fff08291d8 |
refs/heads/master | <repo_name>chaoKing/javaproject<file_sep>/src/Test.java
/**
* king
*/
/**
* @author king
*
*/
public class Test {
}
| b074dbfb0e7b8658cbf5f00f6ad5e122fd01457c | [
"Java"
] | 1 | Java | chaoKing/javaproject | 67725807ec8670a0594cab7bfa82380f140afd6e | 86d41686e0ac1f8b01f89f4dcaa210cd56620428 |
refs/heads/master | <repo_name>dshartnett/gravity<file_sep>/server.js
(function(){
"use strict";
function Timer()
{
this.then = Date.now();
this.int_count = 0;
this.time_array = [];
this.time_array_index = 0;
this.frame_count = 0;
this.time_count = 0;
}
Timer.prototype = {
get interval(){
var i = Date.now() -... | df00e9a34ed59940d8c330305a1f574f0feaeca2 | [
"JavaScript"
] | 3 | JavaScript | dshartnett/gravity | 6b1a07fa514b74468371aa6160171e4098fbb36f | ee86f136696805dcd39f485de8ecd0eda589bc08 |
refs/heads/master | <repo_name>bluegraybox/js-time-series-chart<file_sep>/mygraph.js
// I don't know if the data is guaranteed to finish loading before the page is ready, so don't try to plot the graph until both are done.
var pageReady = false;
var parsed = false;
var series;
var options = {
xaxis: { mode: "time", timeformat: "%Y/%m/%... | d2f17570237a333f5aa44e3f0f6dd96216a6537f | [
"JavaScript",
"Markdown",
"Shell"
] | 4 | JavaScript | bluegraybox/js-time-series-chart | f95b2649b2d33f9f1039b5ae5cf5ec184f691692 | b08cbef0c3232faed839b143b26fd68179955697 |
refs/heads/master | <file_sep>drop schema if exists sbkavtal cascade;
create schema sbkavtal;
drop table if exists sbkavtal.avtal;
drop table if exists sbkavtal.person;
drop table if exists sbkavtal.intaktskontering;
drop table if exists sbkavtal.avtalsinnehåll;
drop type if exists sbkavtal.avtalsstatus;
create type sbkavtal.avtalsst... | b38f05e62524c6e3b748a3fa0a9f69c329f30156 | [
"C#",
"SQL"
] | 2 | SQL | arvidsigvardsson/SBKAvtalskatalog | d217949062ef4c01a7d0bb0972f8037963a22e95 | 6cdd631eaa018df3d8fcc37c5b35640075ef0fe4 |
refs/heads/master | <repo_name>webrenee7/col-activityshare<file_sep>/README.md
## 使用方法
- 加入以下代码
```html
<!--分享标题-->
<input class="actitle" type="hidden" value="分享标题" />
<!--分享描述-->
<input class="actsummary" type="hidden" value="分享描述!" />
<!--分享图标-->
<input class="actlink" type="hidden" value="http://image.kuaikuaidai.com/h5/static/images/... | 44e15c7583edf7d5d9e9a5475accd7fca9f52c67 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | webrenee7/col-activityshare | a77ed338718ccee75a991c341a3fbbe79044a221 | 409fa3a96ee1dd9d9c4fe3022f79d2e9641102f7 |
refs/heads/master | <repo_name>khang1995/Ass_INF205<file_sep>/js/history.js
if (sessionStorage.clickcount==1) {
$('#thunhapactive').attr('class','active');
$('#chitieuactive').attr('class','');
$('#chuyenactive').attr('class','');
$('#tab_content2').attr('class','tab-pane active in fade');
$('#t... | 4b2adab6970b46562120622fa72812e9a145a17a | [
"JavaScript"
] | 3 | JavaScript | khang1995/Ass_INF205 | d97ba9b9d26374df1192c9fd7cb8a9b43c0d7d65 | 0f393cc0fd0e2d7d5c8853922f7cfbc680d971d3 |
refs/heads/master | <repo_name>devqi/react-playground<file_sep>/tasks-mgmt/README.md
#
## pure react template - v1
##### Prerequisites: nodejs, npm, yarn are already installed.
##### Create necessary files for the projects:
- **yarn init** or **npm init** => generate package.json which includes basic information, such as name, version... | bd59405dfedded501f6e78631efbd9dc9f34fcfe | [
"Markdown",
"JavaScript"
] | 11 | Markdown | devqi/react-playground | cbb603af3ff80d1b50589f075d03a56cd7ad2fbf | 71fe65b6a3ecc5013e385755723fb7edd1bfa122 |
refs/heads/main | <file_sep>version: "3.7"
services:
client:
build:
context: ./client
dockerfile: ./Dockerfile
image: post-client
container_name: post-client
ports:
- "4444:3000"
deploy:
replicas: 3
api:
build:
context: ./server
dockerfile: ./Dockerfile
image: post-api
... | 6888a0c7e1f9c9fe87c1d0bd884c38790ddb3cd0 | [
"Markdown",
"TypeScript",
"YAML"
] | 15 | YAML | Khaalidsub/swarm-sample | 831dfa0dc2e896b6762bae5ef73a2799acde4525 | 180a185577d08b4e6e3f319fe1baae1e9d2b2f59 |
refs/heads/master | <repo_name>urbit/indigo-react<file_sep>/src/util.ts
export const sequence = (num: number) => Array.from(Array(num), (_, i) => i);
<file_sep>/docs/src/types.ts
export type ComponentProperties = {
id: string;
displayName: string;
snippet: string;
props: [];
};
export type ComponentEntry = {
id: string;
displ... | 3536848bb0d23238b1841f43c522d562822dcf0c | [
"Markdown",
"TypeScript",
"JSON with Comments",
"JavaScript"
] | 10 | TypeScript | urbit/indigo-react | 0c10f7c2062702a9440e97c0cacd01aa78b7f350 | 3692c1c0ef9f01baf21b2d02d93aaf55e81b412e |
refs/heads/master | <file_sep>$(function () {
$("#radio").buttonset();
$("input").click(function (event) {
initialize($("input").index(this) + 1);
});
//User selects with whom to play Tic-Tac-Toe
var option;
function initialize(player) {
option = player;
}
//The method below is called wh... | e05997bba2f606d1476819b88d1fd6ef6a605c08 | [
"JavaScript"
] | 1 | JavaScript | Dennis-Cherchenko/Tic-Tac-Toe | f700583ab6fd60032e9a75606f29b0515060087a | 195d8adb375877321120dc0db2542e6830c8b7bc |
refs/heads/master | <repo_name>thegamingtiger4/mod1<file_sep>/src/main/java/net/mcreator/thestarwarssagamod/procedures/CaptianrexsHelmetTickEventProcedure.java
package net.mcreator.thestarwarssagamod.procedures;
import net.minecraft.util.ResourceLocation;
import net.minecraft.server.MinecraftServer;
import net.minecraft.potion.Effect... | 73626aaea006de0097e97b5f3e8bb8fa7fdc4df2 | [
"Java"
] | 15 | Java | thegamingtiger4/mod1 | 5548551dbe3437e31f019cb2793b4bfdfed48911 | a38e1805f79723d692f596476bc1948379b398b1 |
refs/heads/master | <file_sep># User Guide - `json-kotlin`
## Contents
- [Introduction](#introduction)
- [Type Mapping](#type-mapping)
- [Configuration](#configuration)
- [Serialize Kotlin object to String](#serialize-kotlin-object-to-string)
- [Deserialize String to Kotlin object](#deserialize-string-to-kotlin-object)
- [Serialize Kotl... | 272df647a323e4154878773d0ee0d77e890aa35d | [
"Markdown",
"Java",
"Maven POM",
"Kotlin"
] | 27 | Markdown | pwall567/json-kotlin | 96b43936c9c02577026d3028c83c82c68387388a | e5c9abdc1eec7d6b6f7a923b02caf699992629d7 |
refs/heads/master | <repo_name>ih4t3youall/scripts<file_sep>/mavenCreate
#!/bin/bash
if [ $# -eq 0 ]
then
mvn archetype:generate -DgroupId=test -DartifactId=test -Dpackage=test \
-Dname="parent top level" \
-Dversion="1.0" \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DarchetypeArtifactId=maven-archetype-quickstart -Da... | 7f88dc6c98ff701793ccf2a424a27e26e6e515a2 | [
"Shell"
] | 1 | Shell | ih4t3youall/scripts | 6b520a9b32f0c6475f6555f5396871f99f36e087 | b319b79e57ee7f2fa35c9b9dd4343a6b51b49538 |
refs/heads/main | <repo_name>masaywar/MP_ARCT<file_sep>/MP_ARCT/Assets/UI Connect Asset/Scenes/Logic Gates/Scripts/UIC_LG_GateEnd.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIC_LG_GateEnd : UIC_LG_Gate
{
protected override void Awake()
{
base.Awa... | 1f42f1c94cb014428dd775b6e00f9f1ebbab81a8 | [
"C#"
] | 53 | C# | masaywar/MP_ARCT | de0641da32790e3434fe2f7037430e9e4c568abf | 18111af9e92b6357505daf85b00fb5b247371871 |
refs/heads/master | <file_sep>import {User} from './User';
export class Conversation {
id: number;
chatName: string;
hidden: boolean;
users: User[];
}
<file_sep>create table conversation
(
id bigserial not null
constraint conversation_pkey
primary key,
chat_name varchar,
creator_id bigint
);
... | fe224b9abf237a9f211ff37dc16a2da5abd16d94 | [
"SQL",
"HTML",
"Markdown",
"Gradle",
"Java",
"TypeScript"
] | 119 | TypeScript | ivanjermakov/messenger | 755b8428585dfe57f114cb20332316f617d8de9d | aa6e944a939e2be79d35cd1abe79d7dcd1ec8ee4 |
HEAD | <file_sep>
/**
* Some of them should be written as function, such as the option
* of http request. In general, it also means that you can change
* not only properties' value but also their NAMEs. Of course you
* can change all properties' names if nessesary.
*/
exports.default = {
// Request option for login... | 4d66ab3083dc798a6ef4bbb1477cc48bfd49d02d | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | luob5/autoAC | ce9c5ac40915d06b18532e252e2259af4d6e4616 | ca303bf1072fe7455da40b0fc462caa87edee211 |
refs/heads/master | <repo_name>cp38510/scripts<file_sep>/init_server_with_gpu_mailru/install_all.sh
#!/bin/bash
# This script for install Nvidia drivers and CUDA 10.1 on Centos 7.6, relevant 12.07.2019
sudo -i
yum -y update
yum -y install pciutils
lspci | grep -i nvidia
yum -y install kernel-devel
yum -y group install "Development Tools... | fb2f6799e5bb03a6cd81b61bdb619813b5479b51 | [
"Shell"
] | 12 | Shell | cp38510/scripts | 757bcf16bd39a81f8e996e4948f84c544142f808 | b1b364e6ff0a6e0d7cf374a6eb873d6dd6b2e2de |
refs/heads/master | <repo_name>ogrisel/manylinux-builds<file_sep>/common_vars.sh
# Useful defines common across builds
IO_PATH="${IO_PATH:-/io}"
# BLAS_SOURCE can be "atlas" or "openblas"
BLAS_SOURCE="${BLAS_SOURCE:-atlas}"
PYTHON_VERSIONS="${PYTHON_VERSIONS:-2.6 2.7 3.3 3.4 3.5}"
OPENBLAS_VERSION="${OPENBLAS_VERSION:-0.2.16}"
# Probably... | 6a8c5a936414747805c2a760de26756323c2cbc0 | [
"Shell"
] | 1 | Shell | ogrisel/manylinux-builds | 92f91a9e1365dc53c3458f156ff2774c3f2ca68b | cae8096b328a1f85b9f16c71fc212c5a30b636d8 |
refs/heads/master | <file_sep>/*
*
*
Copyright (c) 2007 <NAME>, <NAME>, <NAME>
Software Architecture Group, Hasso Plattner Institute, Potsdam, Germany
http://www.hpi.uni-potsdam.de/swa/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software... | 3016f68254a8309c4b671e571e063d11087c4b70 | [
"Markdown",
"C++"
] | 3 | C++ | zheddie/SOMpp64 | 3518d7c756ff14ec8806ae50a4922eaaecfeacc8 | e5e984e2a62b05fe21e2b72459021c3f13bc688a |
refs/heads/master | <repo_name>ismailhozza/fullstackopen-part1<file_sep>/src/index_osa1.js
import React from 'react';
import ReactDOM from 'react-dom';
const Header = () => <h1>Anna palautetta</h1>
const Button = ({handleClick, text}) => <button onClick={handleClick}>{text}</button>
const Statistic = ({label, value, children}) => <tr>... | fc7a82fec60e0a07bffaa5c4dd427034b2480e3b | [
"JavaScript"
] | 1 | JavaScript | ismailhozza/fullstackopen-part1 | 5f70d9e24efe3214a4b8ddfd8dcaccf97e4704c7 | 494f39f4560f46c7f39cfa116e0431585f8f3596 |
refs/heads/master | <repo_name>alskflsjoon/c_programing_power_upgrade<file_sep>/c_programing_power_upgrade/sec01.c
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void question1(){
printf("[문자, 정수, 실수, 문자열]의 폼으로 입력: ");
char a;
int b;
float c;
char d[10];
scanf("%c, %d, %f, %s", &a, &b, &c, d);
printf("입력된 데이터 출력 %c, %d, %f,... | ef9299b2e65da38da14f19c4c83f7668a3476586 | [
"C"
] | 1 | C | alskflsjoon/c_programing_power_upgrade | 30d73b9dbf3f70ce77921de31da43907487a93c2 | 706d94aebb1bd0a742ad08f9abddab3b5df0202b |
refs/heads/master | <repo_name>by-ui/by-ui<file_sep>/src/components/dropdown-menu/index.ts
import DropdownMenu from '../dropdown/src/dropdown-menu.vue'
Object.defineProperty(DropdownMenu, 'install', {
writable: false,
value: (Vue: any) => {
Vue.component('by-dropdown-menu', DropdownMenu);
}
})
export default Dropdown... | 0d943fcab908fc1cc15aee658d8f98316e70b485 | [
"Markdown",
"TypeScript",
"JSON with Comments",
"JavaScript"
] | 105 | TypeScript | by-ui/by-ui | 1e0e7913f9f702e534a4923ff981b95dfad19a05 | dae97a5cd3afebfc49e99dca3ce0cc255d0d278c |
refs/heads/master | <repo_name>mchernyavskaya/hack-days-aws-mobile-app<file_sep>/src/config/config.js
let API_GATEWAY_ROOT = 'https://fl9wpsxzkk.execute-api.eu-central-1.amazonaws.com/prod';
let config = {
apiGateway: {
processImageUrl: `${API_GATEWAY_ROOT}/v1/processimage`
},
uid: {
length: 20
},
awsmo... | ed87b685dd167ac3b96ef9f2cf03c1740d7cd099 | [
"JavaScript"
] | 1 | JavaScript | mchernyavskaya/hack-days-aws-mobile-app | 26b4b87dd88c853c7db94ad722da03e6ae29ab21 | d8117580e6faac0b10a7bc67817559fd825c3a06 |
refs/heads/master | <repo_name>madwenoma/elasticsearch-demos<file_sep>/src/main/java/com/lee/learn/house/domain/House.java
package com.lee.learn.house.domain;
public class House {
private Long houseId;
private String title;
private String xiaoQu;
private Double price;
private Integer junJia;
private String jingJiR... | 2ea361049dda1faea204a4017a02a1aa07b9ced0 | [
"Java",
"SQL"
] | 11 | Java | madwenoma/elasticsearch-demos | 4db396f9108e12da630215dcece8f70e79fa550f | 4d23a92d42280ba98151fe585e398619fae636ba |
refs/heads/master | <repo_name>penguin-of-linux/PenguinsLib<file_sep>/Geometry/Objects/Ray.cs
namespace Geometry
{public struct Ray
{
public readonly Vector2 Begin;
public readonly Vector2 Vector;
public Ray(Vector2 begin, Vector2 vector)
{
Begin = begin;
Vector = vector;
... | d8ab880aa8aa5f5111eefdd787718a7be6d8c530 | [
"C#",
"Python"
] | 15 | C# | penguin-of-linux/PenguinsLib | ec436318c7d02d8de85eb24a6d9f2a038a6141fc | 77d2dd97efd53f99c5dd10c2b9a1ed6224a4353d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.