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 createPugRenderer = require('./renderer');
const { normalize, relative } = require('path');
const { MIXINS_REGEXP } = require('./constants');
function resolve(str, { rootDir }) {
return normalize(str.replace('<rootDir>', rootDir));
}
function getOptions(jestConfig) {
const opts =
jestConfig &&... | ab3204668c97f6cf15510176516ce0a7726d90ee | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | dwightjack/storypug | 0c7d746078d713a1a470a72067547264bf0299a1 | 17ea30fa68f2c1b36df221ad6010dcb8ac3b8f02 |
refs/heads/master | <file_sep>import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from scipy.integrate import odeint, ode, solve_ivp
from scipy.optimize import curve_fit, leastsq
from scipy.interpolate import interp1d
from comsol import COMSOL
from indoor_material import IndoorMaterial
from kinetics import Kinetics
cl... | 6978ffe1968ccf60df5f3d7a62acd32928afa321 | [
"Markdown",
"Python"
] | 14 | Python | jstr0em/sorption-vapor-intrusion | 181d46c8f6fee50c865c485b2559d32a118cd8de | b1d5733f100bed53de2c13a1b0e4cf6bd798100f |
refs/heads/master | <repo_name>sagarpatke/spring-boot-web-docker<file_sep>/README.md
# Spring Boot Web Starter - Dockerization
## Prerequisites
1. Java 8 or above
1. Maven 3
1. Docker
## Build Instructions:
1. Clone this repository: `git clone https://github.com/sagarpatke/spring-boot-web-docker`
1. cd into the cloned repository: `cd sp... | 612a37b751deef85613c2b743fc042df90e3be14 | [
"Markdown",
"Java",
"Dockerfile"
] | 3 | Markdown | sagarpatke/spring-boot-web-docker | fb3b902c2661bbb9da3f6d239e274ef7508436fa | 1f6b76c614dfca3943b862d55381637f430fc46d |
refs/heads/main | <file_sep>#include <PubSubClient.h>
#include <WiFi.h>
#include <WifiLocation.h>
#include "BLEDevice.h"
#include "freertos/FreeRTOS.h"
#include "esp_wifi.h"
#include "esp_wifi_types.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_event_loop.h"
#include "nvs_flash.h"
#include "driver/gpio.h"
const char *... | b9006f896b79eed3d49a8abc1dfc8a6398928974 | [
"Markdown",
"Python",
"C++"
] | 3 | C++ | Sanjana-Sarda/DogeSniffer | 58968c9d5f9035d7126f06b0f3bbf0be2001e729 | 4bd23ae3dd19c48a02854cac6d71493ab009a957 |
refs/heads/master | <file_sep>source :rubygems
gem 'rake'
gem 'zayin'
| 5a3e3c49548ef76eddedd37c1521119f360287c4 | [
"Ruby"
] | 1 | Ruby | erochest/errbot | 9774ec9567374ea19ea5b9d70fdb207e09745d91 | c8a4318084e140528bec56c1ba94da65ced5386d |
refs/heads/master | <repo_name>sarriaroman/Cronos-Aion<file_sep>/engine/functions/engine.php
<?php
/**
* Carga un modulo, para ello apunta a la carpeta que posee
* el mismo nombre que el modulo que se quiere cargar e incluye
* el archivo main.html y si existe su archivo main.php
*
* main.html -> HTML
* main.php -> Funciones en php ... | 92bc64b2728480aa91abcf040f421d6ad8dfadd0 | [
"SQL",
"PHP",
"INI"
] | 89 | PHP | sarriaroman/Cronos-Aion | ebf17ad817c7bf08fa979eb710feba474c23b3ef | 39c3c2d0423d5721221fc09498b7de941bb60f4f |
refs/heads/master | <repo_name>naveenrana1309/NaveenTest<file_sep>/CodeBeat/CodeBeat/APIClasses/NRExpandingTextView/NRExpandingTextView.swift
//
//
// Created by <NAME>.
//
//
import UIKit
@objc public protocol NRExpandingTextViewDelegate: UITextViewDelegate {
optional func textViewWillExpand(textView: NRExpandingTextView!)
opt... | 38605f25eff70ca8abe6ca2c5b68d405e0e151e7 | [
"Swift",
"Markdown"
] | 16 | Swift | naveenrana1309/NaveenTest | 8335cbbb40ebc56159e695e081d29b497ceee80d | 9d145749d4f627252ed28f8781ec15943102dd38 |
refs/heads/master | <file_sep>// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/file_system_access/native_file_system_directory_handle_impl.h"
#include <string>
#include "testing/gtest/include/gte... | 2c316f9797ce05ce4846cd0d293d77012ce64b0e | [
"C++"
] | 1 | C++ | sohanjg/chromium | 8d78d6fc56f0cda0e0ff912647024c5d7b993a13 | 17f4e80391311c0322595247f57ac4ef1b8f321d |
refs/heads/master | <repo_name>AgnaldoFilho/SiAR<file_sep>/SiARBack/control/FuncionarioController.php
<?php
include_once "model/Request.php";
include_once "model/funcionario.php";
include_once "database/DBConnector.php";
class FuncionarioController
{
public function register($request)
{
$params = $request->get_params();
... | fc4798cd54b2c646dda4a60f1501b84c16f9acd0 | [
"JavaScript",
"PHP"
] | 43 | PHP | AgnaldoFilho/SiAR | 568b90af5624d4fffb148c021e0930c6234815db | 39de806f8457050421c5da7a69cdcbbed0715c4d |
refs/heads/master | <repo_name>ramtw/Javascript<file_sep>/Javascript/innerHTML.js
function changeStyle()
{
var paragraph=document.getElementsByClassName('para');
for(i=0;i<2;i++)
{
paragraph[i].innerHTML="New text "+(i+1);
}
}
function addText()
{
if(confirm("These changes are final"))
{
var paragraph=document.getElementsByCla... | ad2c462683fb85cb5a4556feaeefa4a56f1c4650 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | ramtw/Javascript | 32e98e1d8b73dd3bf582899de1d66297af748ebd | 6a80b9e624ee9045ae3ea8a763887b613b8a9843 |
refs/heads/master | <repo_name>Tawfekh/Mes_Codes_Stage_M2<file_sep>/inference_demographique/polarisation_et_creation_sfs2d/groups_definition.R
###################################################################################################################################
#
# Copyright 2018 IRD & Grenoble-Alpes University
#
# This progr... | 04a0992727cf6f70cf8a3c3340221970847b9df5 | [
"C",
"Python",
"R",
"Shell"
] | 48 | R | Tawfekh/Mes_Codes_Stage_M2 | 0481818c4f9435f80e350f168cf733e4f405d888 | 75e15dafe359325c9e1c2eeeca0526cc3c479605 |
refs/heads/master | <repo_name>royswale/lab-weapp-client<file_sep>/README.md
使用说明
========
使用代码前,请先修改 `app.js` 里面的域名配置。<file_sep>/lib/tunnel.js
const Emitter = require('./emitter');
/**
* 基于小程序 WebSocket 接口封装信道
*/
module.exports = class Tunnel {
constructor() {
Emitter.setup(this.emitter = {});
}
connect(url, hea... | d0c7f23a8008fe0baa8f35aa6b5d59ff32962754 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | royswale/lab-weapp-client | a34048fcb4380769d0b400c688aeda0e23c1d95a | 853bf7d26f5fbfd6bcc7c8e76b94d656e173eef4 |
refs/heads/master | <file_sep>/* global describe it */
/* eslint-disable no-console */
import {deepStrictEqual} from 'assert';
describe('pageContributions', () => {
it('style regexp', () => {
const headBegin = `
<before/>
<style>
a
</style>
<between/>
<style>
b
</style>
<after/>`;
//console.log(JSON.stringify... | 97bfb4a959e242ecb75aecd45b948a43cb425f9f | [
"JavaScript",
"Markdown",
"Gradle"
] | 8 | JavaScript | ComLock/enonic-xp-lib-autoprefixer | 370c6ccde798262bd724c60057b24f66a55f7de4 | 94d5bac2640f255eda0557088790a40846bc905c |
refs/heads/master | <file_sep>{
"name": "racks",
"firstRun": false,
"exportConfig": true,
"fileConfigs": [],
"fileTree": {
"expandedDirs": [],
"hideSystemFiles": true,
"systemFiles": [
".*",
"desktop.ini",
"prepros.config",
"$RECYCLE.BIN",
"prepros.cfg",
"prepros-6.config",
"... | fad8efd062d3fc113ecd5b41341c1cfd712c8369 | [
"Markdown",
"PHP"
] | 2 | PHP | find-a-way/racks-faw_way | 2aee255424f09e0293369580c8ba8c8eb747c88c | 824a65d00fec6e0d2016b236ad452b36ac331805 |
refs/heads/master | <file_sep>class Ground {
constructor(x, y) {
var options = {
isStatic:true,
}
this.body = Matter.Bodies.rectangle(x, y,800,17, options);
World.add(world, this.body);
}
display(){
rectMode(CENTER);
fill(255);
strokeWeight(4)
... | 1cf278ed341df037d7e75d002ec3ab4475c29d53 | [
"JavaScript"
] | 1 | JavaScript | Sharan-singalCODE/cp2 | 63cb5c38b832548b90b4352bcb0d4a480a701caf | daaa4b739b8269587acc729ab0673dcd3b1c3603 |
refs/heads/master | <file_sep>DATA STRUCTURES USED:
LinkedList
List
Array
WHAT IS A PAGE FAULT?
A page fault happens when the alloted frame has no more available space for a new element.
FIFO REPLACEMENT POLICY
Data Structure: LinkedList
Basically, FIFO replacement policy is compatible with the QUEUE data structure because they have ... | 33480b15239e2576e1a4af3a2e36f518e56c78ad | [
"Java",
"Text",
"INI"
] | 4 | Text | miriammariety/Replacement-Policies | b9d54e2efc1f2b8d7d20ee70d6395b85645a5cfd | d7eef3e5bf171c18d59833394422e215ae9f3638 |
refs/heads/master | <file_sep>#!/usr/bin/env node
// arg autoprefixer chokidar node-sass postcss rollup rollup-plugin-buble rollup-plugin-node-resolve tiny-lr
const arg = require('arg');
const fs = require('fs');
const fsp = fs.promises;
const path = require('path');
const chokidar = require('chokidar');
const tinylr = require('tiny-lr... | c9d0fc464e908e2cf22612c94cb993c14a036a46 | [
"JavaScript"
] | 1 | JavaScript | nedt/fumble-bar-illusion | 0852ac0b408e92c6419c4d7f6a2acc343de5296b | 13326bcce707764658df801558f9d620653201da |
refs/heads/master | <repo_name>msookram/real-world-big-data-microsoft-azure<file_sep>/7-real-world-big-data-microsoft-azure-m7-exercise-files/before/Telemetry.EventProcessor.DeepStorage.Worker.Tests.Unit/Storage/MemoryEventStoreTests.cs
using Microsoft.Practices.Unity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using ... | ea2563aa664644aaa0b925b57224ef29b931e588 | [
"Markdown",
"C#"
] | 64 | C# | msookram/real-world-big-data-microsoft-azure | 9dc683ff13ffae944606aeb98ca240b603df1bfd | 621436d21a5db2d201e211b575807ca5faa3bdfb |
refs/heads/master | <file_sep>let most = require(`most`)
let jsonp = require(`jsonp`)
function createResponse$(url) {
return most.create((next, end, error) => {
if (typeof url !== `string`) {
error(new Error(`Observable of requests given to JSONP ` +
`Driver must emit URL strings.`))
return () => {} // noop
... | 42ed78f335f0960c77dc7c6cc4d66cc71d689c72 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | aronallen/motorcycle-jsonp-driver | a39ead29c7896bbd382dc9b5d4317c950377662d | 5e0e06f675d69a3d083402d2c71c8864c905b929 |
refs/heads/master | <repo_name>Sir-Auron/synchrogit<file_sep>/README.md
# Synchrogit
Parallelized synchronization of git repositories
## Dependencies
go 1.6
## Development set-up
- Create a go workspace with 3 folder src, pkg, bin (as we follow this guideline: https://golang.org/doc/code.html#Workspaces)
- Check out this repo into s... | 00ab58a73743cad40d1eb88cdb9d09aaa39897d0 | [
"Markdown",
"Go"
] | 2 | Markdown | Sir-Auron/synchrogit | 6bc1724249efa7b0f0ca3807bc5c9ac99519b8e1 | 4008e59729363ed3356e16a57456428114a93343 |
refs/heads/master | <file_sep>require 'oystercard'
describe Oystercard do
it describe " Oystercard created with a default 0 balance" do
expect(subject.balance) .to eq(0)
end
it describe "Top-up a card with a new balance" do
expect(subject.top_up(10)) .to eq(subject.balance)
end
it describe "Check default top up limit ca... | da700cbb9e67587fc5d710750daaf75ad4afa1e2 | [
"Ruby"
] | 2 | Ruby | Benauld/oystercard | db20e9004a08b98534a17985f7cad40958bb2383 | 90f8c4c38be6581735754ae8688654555402cfe4 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Product;
use App\ProductTag;
use App\Http\Requests;
class ProductType extends Controller
{
public function __construct()
{
$this->middleware('admin');
}
public function producttype(Request $request)
{
... | 2977272f41715162f6efa559381883b9065fb877 | [
"PHP"
] | 11 | PHP | faveh/jaycommerce | 410b76acbb7cafb31b3b5f3b0bbf6a881e16fa23 | 0afc2f1d08c8c90993fa9f3fe53622e60a610429 |
refs/heads/master | <repo_name>dmitry-ee/docker-mongodb-mms-agent<file_sep>/build.gradle
def image_base_name = "mongo-mms-agent"
ext {
imagePrefix = project.properties['imagePrefix'] ?: "docker.moscow.alfaintra.net"
}
allprojects {
configurations {
provided
}
}
task build() << {
logger.quiet "build project $project.name"
... | 712ab7b63dd3e7be44cf1c16b808f6104cd9deb7 | [
"Dockerfile",
"Shell",
"Gradle"
] | 3 | Gradle | dmitry-ee/docker-mongodb-mms-agent | 1c704a24c45ce6f1ce23fc368382f5be28563098 | 73c0162a29b751fab96d01a2ec376f6114efc24a |
refs/heads/master | <repo_name>knowsuchagency/test<file_sep>/README.rst
==================
python-boilerplate
==================
.. image:: https://img.shields.io/pypi/v/python_boilerplate.svg
:target: https://pypi.python.org/pypi/python_boilerplate
.. image:: https://img.shields.io/travis/knowsuchagency/python-boilerplate.svg
... | 9e0df8980bf95d34d5dbdb11f4e0a8bcfbda3e81 | [
"Python",
"reStructuredText"
] | 2 | reStructuredText | knowsuchagency/test | 862d6a8d7bcc642fa296adf5419796962d1de3ec | fd7f181fa23f0095ad7b61073a86c531f1fcbbdc |
refs/heads/master | <repo_name>tidalf/irbt<file_sep>/docs/endpoints.md
# Endpoint documentation
Mobile apps does the following:
```python
# assoc robot with app (perhaps needed for push notifications)
data = {
'password':<PASSWORD>
}
assoc = requests.post(
service_url + '/v1/user/associations/robots/%s?app_id=%s'
% (robotId,... | fb3090db6628f3b88078f61c0a646d821200c9bc | [
"Markdown",
"INI",
"Python",
"Text",
"Dockerfile",
"Shell"
] | 18 | Markdown | tidalf/irbt | 45608ba6abd85820e2b2264ec7d20aefe7a704d4 | 03ab36cde53e6a1260a3ea37926e57c9d69502e3 |
refs/heads/master | <repo_name>narendrasss/spotlight<file_sep>/src/middlewares/dict/__tests__/usage.ts
import dictMiddleware from '..'
import { DictionaryResult } from '../types'
const mockDefinitions: Record<string, DictionaryResult> = {
hello: {
word: 'hello',
pronounciation: `hɛ'loʊ`,
results: [
{
partOfSpe... | 52e299fc12f27ded7b3e80718c30dec5d05cc5b7 | [
"Markdown",
"TypeScript"
] | 22 | TypeScript | narendrasss/spotlight | 1aa7b0e9f4e59b40b1d9c2862604a7ff63472116 | 34aae53d5c60d65958b9e339cbae42325b82641d |
refs/heads/main | <file_sep>#Import Danych
getwd() #pobieramy lokalizacje plikow
#operacja wczytywania danych eksportu
(e1<-read.csv("Exports.csv",sep=";")) #wczytujemy plik do zmiennej pomocniczej
e2 <- e1[,-1] #wczytujemy do drugiej zmiennej wszystkie rekordy z wyjatkiem pierwszej kolumny
eksport <- as.data.frame(sapply(e2, as.numeri... | 550f76b861778d3e299815e8b7b75815a7f17bb3 | [
"R"
] | 2 | R | Smok7kp/KawaR | df174fe8207f786efed976fa487b97ef2bea3fd4 | 147afb133597c9a9968ab25946e3d7facca14adb |
refs/heads/master | <file_sep>require.def("basicapp/appui/parts/header",
[
"antie/widgets/container",
"antie/widgets/button",
"antie/widgets/label",
"antie/widgets/horizontallist"
],
function (Container, Button, Label, HorizontalList) {
return Container.extend({
init: function () {
var self = th... | ee05a783ada18e62153cb4aaa3eb5bf4a0df7570 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | owensgit/tal_test_2 | dd9282926390f9db23c90f394c2c512056969af4 | 222781b83b9a8d6ffa32371468ae3553d52e5234 |
refs/heads/main | <file_sep># flask-network-prioritization-template
A sample application using flask and leafet to enable dynamic changes to weights for an arbitrary multicriteria analysis. Inspired by <NAME> work on overlay analysis as a method of managing complexity and reflecting human values in planning for human settlement.
# Su... | fc96b45bfa529edf2102c03057af445f9537a745 | [
"Markdown",
"Python",
"JavaScript",
"Text"
] | 4 | Markdown | d-wasserman/flask-network-prioritization-template | 894b0d49145039634cbf93659c202de4b93fedad | f52092b4fb8727943bb338c037e2bb2f4c43d123 |
refs/heads/master | <file_sep>CREATE DATABASE The_Expendables;
USE The_Expendables;
CREATE TABLE Person
(
SSN CHAR(11),
Password CHAR(20),
FirstName VARCHAR(50),
LastName VARCHAR(50),
Street VARCHAR(50),
City VARCHAR(50),
State VARCHAR(50),
Zipcode INT,
Email VARCHAR(100),
Telephone VARCHAR(15),
PRIMARY KEY (SSN)
);
CRE... | 9d48128ca2ff30896f7d623a8047211c4b963d11 | [
"SQL"
] | 1 | SQL | kevinkeyjkw/DatingWebsite | 9940276c60977e2ea5e5e61db46d1a0a3f17b9c6 | e5d62166d293001c1b5d2ec1d92397f8014f93f6 |
refs/heads/master | <file_sep>package com.example.lottoapp;
import java.util.Arrays;
public class NumberChecker {
private final int[] gameNumbers;
public NumberChecker(int[] gameNumbers) {
this.gameNumbers = Arrays.stream(gameNumbers).sorted().toArray();
}
public boolean allEquals(int[] resultNumbers) {
... | 6676c108f15f81e695b93d1a10a22b4ab07c7d7f | [
"Java"
] | 1 | Java | GVSM22/LottoApp | f1e65667d0a80be035a349dfb0682338f2ba65a4 | 2b6f225b23cd0034c14398f511952391b4da721b |
refs/heads/master | <repo_name>Makso-87/button-generator-v3.0<file_sep>/src/components/RightSide/index.js
import React from 'react';
export const preview = (
<div>
<h2>Предварительный просмотр</h2>
<div className='field'>
<div className='button'>
<a className='custom' href='#'></a>
... | fada8b810ca69d4792049721f98befd8c99db7fd | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | Makso-87/button-generator-v3.0 | 96fb622f5b0f4b6b7e0c69231f838e276bdb4e0c | 15ab843e57421f097c10847385cc3b2576a3bd61 |
refs/heads/master | <file_sep>[package]
name = "tycoon"
version = "0.1.0"
authors = ["<NAME> <<EMAIL>>"]
[dependencies]
sdl2 = "0.9.1"
xml-rs = "0.2.2"
<file_sep>
/*
* Interprets SVG paths.
* Sequential M commands are turned into a LineTo
* Z is turned into a LineTo
* H and V are turned into LineTo
* S is turned into CurveTo
* T i... | d3079b87a54d96df1af2012ca1a1847f6d769fcc | [
"TOML",
"Rust",
"Markdown"
] | 9 | TOML | thesunnyk/tycoon | 7ece34d1552d60207f3e599872c30c277a68594e | d276e72cc2023bef0a6d0eda92b5eeb01a463fd8 |
refs/heads/master | <file_sep>#
#! coding:utf-8
__author__ = '<NAME>'
import traceback
import os
import numpy as np
from gwpy.time import tconvert
from gwpy.timeseries import TimeSeries,TimeSeriesDict
from gwpy.spectrogram import Spectrogram
import Kozapy.utils.filelist as existedfilelist
from lib.plot import plot_segmentlist
import li... | a5f9b7a5218a20c07be2602787017e4951967f3a | [
"Markdown",
"Python"
] | 18 | Python | TatsukiWashimi/kagra-gif | 1fdf682a1d53a8be41c2bcf79e585535eda60a34 | 546762c9153c9fb4d996ab66e9a8be5576a14b2c |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import './Enterance.css';
const logo = './img/logo.png';
class register extends Component {
render() {
return (
<div className="app">
<img className="logo" src={logo} alt="" />
<input className="nickname" placeholder="nickname" name="ni... | 170410c1e352e36fa2eab7e2a424dad43d2b6b70 | [
"JavaScript"
] | 3 | JavaScript | kangboni/instargram_react | 7de138238fc6d0b5434a2051fbc541c19df6437b | e0061c608100235175246b642db8e4f3601d5dce |
refs/heads/master | <file_sep>package MM_Util;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class DBUtill {
public static String user = "root";
public static String pw = "<PASSWORD>";
... | b8b4abc9fc07475f6d21bcf317be7d1ed1bba85a | [
"Java",
"SQL"
] | 5 | Java | pksoooooo/modumable | 1108037c80362eef0ae68070ffa949a4ca30b775 | 9e24e1d0f732f126ef7475c1c760747c9ccf441f |
refs/heads/master | <repo_name>dougzhong22/CS2110_A4<file_sep>/DiseaseTreeTest.java
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.junit.Test;
public class DiseaseTreeTest {
@Test
public void testSize() {
Network n= new Network(5, .5, 10);
Person p1 = new Person("Eric", n ,10);
DiseaseTree t = new... | d88c6242753a2836f0e382b771dbffd22adaa25e | [
"Java"
] | 1 | Java | dougzhong22/CS2110_A4 | a072ade955119753170ad8d6a1bb4658b5d2291f | 7d05b2aff382999dac04ecd2f1c996453678e0de |
refs/heads/master | <file_sep>//defines each room
var currentRoom = "start";
var commands = ["go","take","talk","inventory"];
var inventory = [];
function changeRoom(dir) {
if(rooms[currentRoom].directions[dir]!== undefined) {
currentRoom = rooms[currentRoom].directions[dir];
$('#game-text').append("<p>" + rooms[currentRoom].des... | 05e1ee093887bd61ed7b01d2ea277075b4f9ddc9 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | OwenAvery/textGame | 30139a235ebcdbb210f56fdd55ecd5ed7910c6eb | 0cdd4f7707435adc1d69bd9b57b512cb933e5d21 |
refs/heads/master | <repo_name>sburke56/ffp<file_sep>/db/migrate/20140827153703_create_auction_values.rb
class CreateAuctionValues < ActiveRecord::Migration
def change
create_table :auction_values do |t|
t.integer :player_id
t.integer :min_price
t.integer :max_price
t.integer :avg_price
t.string :displa... | 9f7dde752207af8cd7ccc274a2f0946ab9433170 | [
"Markdown",
"Ruby"
] | 16 | Ruby | sburke56/ffp | 0b4d7daa4d44f184b7c8fae0fc3408161cd63219 | ad359b7c23ef38db240b57f354fdb27af95e07d1 |
refs/heads/main | <file_sep>export default {
type: "object",
name: "tag",
title: "Tag",
fields: [
{
title: "Title",
name: "title",
type: "string",
},
{
name: "slug",
title: "Slug",
type: "slug",
options: {
source: "title",
maxLength: 96,
},
},
{
... | 808689552a6bafe7d5c9a30a5771909c3581812b | [
"JavaScript"
] | 16 | JavaScript | piratefresh/sanityTest | 59c68b96c086943559bb2f03d0e0ef0ea7ad54c7 | fa65fc2409be21afb2f964470e28e2d90b8f86e5 |
refs/heads/master | <file_sep>## server.py
from socket import *
import threading
import time
#보내는 send함수
def send(sock):
while 1:
sendData = input('')
sock.send(sendData.encode('utf-8'))
#받는 receive함수
def receive(sock):
while 1:
recvData = sock.recv(1024)
print('상대방 :',recvData.de... | 23737e0b3320e025019871aac37bffa4c61e4a3c | [
"Python"
] | 4 | Python | wotj7687/ComputerNetwork | 204c6ea7447c21196bc10e94ed33e316b01ac03f | 3b69828c99cb4ba95919783f6f40898e06856d1a |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GravityJoe
{
public class SpaceZone : MonoBehaviour
{
Platform platform;
void Start()
{
platform = Utility.GetPlatform();
}
void Update()
{... | 2aac01ba8893828de3ca6dfdfc7366283c4105e3 | [
"Markdown",
"C#"
] | 16 | C# | louisgv/GravityJoe | d4661748deb82646fc21bce36ade2a52ef930c17 | 7ac6b16585eb2c4b0e0db4a499db3ccaad178668 |
refs/heads/master | <file_sep>package FinalProject;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class Electronics extends javax.swing.JFrame {
DefaultTableModel model;
double total;
String led32comapny="SONY",led32batchno="jekh009"; //LED-32
String led42comapny="SONY",led42batchno="a... | 420d7d0f915054d25c1cdc928558f9bc3f3db09d | [
"Java"
] | 3 | Java | frodofazii/SuperMarket-Store-System- | 8a6bd40cfa24d2edb2d00101e6dc2b8d269b0e72 | 590cbec0775cb45b093e5d0cfbc7ffe037810658 |
refs/heads/master | <repo_name>Pobux/UqamUnit<file_sep>/README.md
UQAM Unit
=========
Outil pour semi-automatiser la validation des résultats des programmes exécutables par le shell.
Le script permet l'entrée automatique de paramètres à votre programme et vous permet ensuite de consulter les résultats avec les résultats attendus.
Le pr... | b119b01b04f7ed02fd0c5dbbd8cb7f1d8049c28c | [
"Markdown",
"Shell"
] | 2 | Markdown | Pobux/UqamUnit | dff199fbd7e4bf8e36da4f805c33b5112630239b | 2a2c4132bf19b322668a3d39f5cc06e3b800fbde |
refs/heads/master | <repo_name>RichardTLayman/Roulette<file_sep>/Roulette/Bets.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Roulette
{
public class Bets
{
public void TotalBets(Wheel wheel)
{
// add all bets
... | 8193d66c4f5c4f51343b27e64381ed24e7f08a8b | [
"C#"
] | 3 | C# | RichardTLayman/Roulette | 7fa28adb3f1ed73a6e5496f5497bef9d60d89368 | 8d547fcaf8c6fe79e64b64948ddc148a7c46e96c |
refs/heads/master | <repo_name>yanach25/typescript1<file_sep>/src/ts/__tests__/Cart.test.ts
import Cart from '../service/Cart';
import Movie from "../domain/Movie";
import {MovieFormats} from "../enums/movie-formats.enum";
import {Countries} from "../enums/countries.enum";
import {Genres} from "../enums/genres.enum";
import MusicAlbum fro... | b4fac2010d01304f8464ce6335f0fe28aca2f1a6 | [
"TypeScript"
] | 1 | TypeScript | yanach25/typescript1 | 787d44be33bc3a6551cb6f3a12fefd96e9832c2f | c2908ab49282e0810a8f3fa4f7bf7412573c2382 |
refs/heads/master | <file_sep>gunicorn
flask
flask_restful
flask_jwt_simple
ispyb
<file_sep>!/bin/bash
# Needs absolute paths (module load does not work from systemd)
/usr/bin/modulecmd bash load dials
# Pass in arguments from service (--workers --host --port )
/dls_sw/apps/dials/dials-v1-14-1/build/bin/dials.python app_runner.py $@
| 0163d0f0fe61e8ba95a75b6b839a3e1e826dfe28 | [
"Text",
"Shell"
] | 2 | Text | drnasmith/flask-dataviewer | 2641102ff32f3184016173f8b3448d2d7c4c8f7f | 3d8406cb0aa9a834229f4e556e50aae03a289dcf |
refs/heads/master | <file_sep> # -*- coding: utf-8 -*-
"""
Created on Sat Feb 16 23:02:45 2019
@author: ASUS
"""
import tkinter
import numpy as np
from tkinter import *
import pyaudio
import wave
import tensorflow as tf
from tensorflow.contrib.framework.python.ops import audio_ops
import os
import glob
import keras
from ... | 7985cc25ab20fd694026fb10c2b59a41c91c7884 | [
"Markdown",
"Python"
] | 3 | Python | Ressnn/VoiceID | f157f7a4e35898eca73c9556d4164aae9648976a | b628175dfc1ed412c4f64f560dd27318fe6aa9dd |
refs/heads/master | <file_sep>require_relative 'car'
class Tata < Car #Tata inherits methods from Car and therefore Vehicle
def accel
@speed += 2
end
def brake
@speed -= 1.25
end
end
<file_sep>require_relative 'car'
class Tesla < Car #Tesla inherits methods from Car and therefore Vehicle
def accel
@speed += ... | 651d22af75d8e6391d7b2ce7230f911e7988911a | [
"Ruby"
] | 12 | Ruby | piercebelton/ruby_day3 | 6d4e3ac1b571c12029c7258afd090bcecb2b1dec | ce0d7a88024296743e8045b656e8cca2df4a5b28 |
refs/heads/master | <file_sep><?php
function pp_home_products() {
?>
<div id="masthead">
<?php do_action( 'pp_masthead_start' ); ?>
<?php if ( ! ( function_exists('edd_is_checkout') && edd_is_checkout() ) ) : ?>
<div class="columns">
<div class="wrapper">
<div class="col col-1">
<a href="<?php echo esc_url( home... | e0513299c9ca7f53ebbcf570459c621201e69cc9 | [
"PHP"
] | 2 | PHP | joelyoder/theme | 1b887c2494d05a6e3ead298db7d666f8f18f5487 | eb481100c4a705ba94761d38ec0213ac926a38d0 |
refs/heads/master | <file_sep>var express = require('express');
var router=express.Router();
var Sequelize = require('sequelize');
var cacher = require('sequelize-redis-cache');
var redis = require('redis');
var rc = redis.createClient(6379, '127.0.0.1');
var sequelize = new Sequelize('hurryup', 'root', 'saranya123',{
host:"127.0.0.1",
... | fb22cb00792dcd6391fbe30623cf3a3587e11662 | [
"JavaScript"
] | 1 | JavaScript | SaranyaDandu2/express4-sequelize-joins | 7713d0457879bc3c8d9dbc87058059f95730444a | 75546293d8fbc978a65a5065a773862f17e0fd45 |
refs/heads/master | <repo_name>sercand/the1-tester<file_sep>/logger.js
/*
Copyright 2014 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... | 4516dd3469521d507cb598950dc8b996f90c9d39 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | sercand/the1-tester | ca82c4489e689482ef665a18bd4561db8c12d7e1 | 4e5a38f08a768ec18d7b9cca1e109c416fa94ce8 |
refs/heads/master | <file_sep>from flask import Flask, render_template, redirect, url_for, request
from flask_bootstrap import Bootstrap
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config['SECRET_KEY'] = '<KEY>'
Bootstrap(app)
@app.route("/")
def home():
return render_template("index.html")
@app.route("/new-ch... | 388e232baeb9d1adfe9d6c9dddd6121f8381f0a6 | [
"Python"
] | 1 | Python | bd2K2K/OrgChartPro | 6b4ebf1dd36eaca6edb5f273f1dc6ac13bd32356 | 387a81d67e9ea6afa0ec57610b02ecc60628b285 |
refs/heads/master | <repo_name>xiaochenchen/mysetup<file_sep>/install-vim-rails.sh
#!/bin/bash
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-rails.git
git clone git://github.com/tpope/vim-bundler.git
<file_sep>/git-setup.sh
#!/bin/bash
# username and email
git config --global user.name "<NAME>"
git config --global user.email "<E... | 8cf6665c60392864d30601a6a4c64b1f2768f671 | [
"Shell"
] | 2 | Shell | xiaochenchen/mysetup | bf2aab30f7d93b2c84a05b48812e425da23ae1a7 | 1cb00aa273d1f5927b6697b226f0d694b3c7ae65 |
refs/heads/master | <repo_name>LizLaffitte/sinatra-mvc-lab-online-web-pt-100719<file_sep>/models/piglatinizer.rb
class PigLatinizer
def piglatinize(my_string)
my_string = my_string.split(" ")
new_string = ""
my_string.collect do |word|
if word.match(/^[^aeiouAEIOU]+/) == nil
... | 31cb9ee2c83cadb2a0fe1aa49bab991089f80f07 | [
"Ruby"
] | 1 | Ruby | LizLaffitte/sinatra-mvc-lab-online-web-pt-100719 | 7a4b8323055ee8d2a46af8328eae056066a2ec13 | 6568e423077bf85ec03b2b6c92bc90c7a2af8fe4 |
refs/heads/master | <repo_name>LucasBruce/db_crud<file_sep>/db_crud_script.sql
/*criando o banco*/
create database if not exists db_infox;
/*selecionando o banco de dados*/
use db_infox;
/*criando tabela usuário*/
create table if not exists tbl_usuario(
id_usuario int primary key auto_increment,
usuario varchar(50) not null,
fone ... | d29191743c1bb25fa8e6683d68c2223c504f9e4a | [
"SQL"
] | 1 | SQL | LucasBruce/db_crud | 82d46d29597df03feeaf89e8077d80ffb820af2f | 6347c831b2c3da475cc09f56ff6f7b6d1ac652d0 |
refs/heads/master | <repo_name>TheProjecter/zeroesandones-file-utils<file_sep>/file-utils/src/edu/zao/fire/editors/metadata/SelectedTagsContentProvider.java
package edu.zao.fire.editors.metadata;
import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.Viewer;
public class SelectedTagsContentPro... | 1b522b9ff61b42f536545ff37c28a894249f601a | [
"Markdown",
"Java",
"INI"
] | 29 | Java | TheProjecter/zeroesandones-file-utils | d4c4403ac17f40b78a089849f95cbd51be46fe99 | 4dd19c9de830f7a153f64af66a4c7f4739b49ef9 |
refs/heads/master | <repo_name>smyllet/coffeeMachineEngine<file_sep>/tests/CoffeeEngineTest.java
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class CoffeeEngineTest {
private CoffeeEngine coffeeEngine;
private HotDrink coffee, hotC... | 1a28305f8861519a1fc251d4add589c6f78dc320 | [
"Java"
] | 2 | Java | smyllet/coffeeMachineEngine | 0e1be49eeff5467295b4f62aa0a3df50628a2ee6 | 906995fc40cec8a512a6a5700af19a67c395e3b5 |
refs/heads/master | <repo_name>kyungseok-lee/study-extjs<file_sep>/README.md
# extjs example
- extjs 학습을 위한 예제들입니다.
## ext-6.2.0-gpl download
- Sencha GPL Licensing : Sencha Ext JS, Sencha GXT, and Sencha Touch
- https://www.sencha.com/legal/GPL/
## extjs5 원문은 아래와 같습니다. 원문 링크를 확인해 주세요.
- https://www.inflearn.com/course/sencha-extjs-6-%E... | 24f3a309a549a7d711453652075afaa894eeb6b3 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | kyungseok-lee/study-extjs | 7bfe4d81bc3c576ca1f8c8d099d605fc793a3e04 | a371cb81f58abcaba4a871c098b15acb4d56a824 |
refs/heads/master | <repo_name>diamonwiggins/gochat<file_sep>/docker-compose.yml
version: '3'
services:
gohat:
container_name: gochat
depends_on:
- redis
image: gochat
restart: always
build:
context: .
dockerfile: build/package/Dockerfile
ports:
- "8080:8080"
redis:
container_name... | 121f1a407be81f368f916e2b27edcef4edf38dcc | [
"YAML",
"Markdown",
"Makefile",
"Go",
"Dockerfile"
] | 5 | YAML | diamonwiggins/gochat | 31e55588bf5f8a08031af22b236ea3a9d5ecc8f3 | 3d2a23ffe45dff0830066a890bcd25d232400f17 |
refs/heads/master | <repo_name>Iuty/py.fastai2.winservice<file_sep>/scripts/train.py
import tensorflow as tf
def trainModel(tagpath,model,train_x,train_y,batch_size,maxperiod,val_x,val_y):
log_dir = os.path.join(tagpath,'logs',datetime.datetime.now().strftime("%Y%m%d-%H%M%S"))
checkpoint_save_path = os.path.join(tagpath,"ch... | 45b573642a6beb327289768997bdc7451c4afede | [
"Markdown",
"Python"
] | 24 | Python | Iuty/py.fastai2.winservice | de4c8dcd19549ca9992346101c78b87077c86813 | 8965e2210f1a2111d1e7b097708c16b58a172317 |
refs/heads/master | <file_sep><?php
if ($test=1) {
echo "teste funciona";
}
?> | 18e4ba7a43331ae2ca8ef5cbce5e89ef4f506aeb | [
"PHP"
] | 1 | PHP | jluisbezerra/aula_versionamento | f0f41e58a099aeea1f161e449d6c001c31519bab | 291739374c37206999aa9c0dcc776fd0fc67bc2a |
refs/heads/master | <repo_name>matthewmok/Programming<file_sep>/isPrime.py
def is_prime(x):
if x < 0:
return False
elif x == 0 or x == 1:
return False
elif x == 2:
return True
else:
for i in range(2,x-1):
if x % i == 0:
return False
break
... | a7e1e2062ecbc16db5ddc7ad4b728b61e1acab37 | [
"Python"
] | 5 | Python | matthewmok/Programming | e7170798b328d4442ff04914bc0446485069489b | 39f8ac621171b8bcdd2f9a5f17cdb026b22d3f9d |
refs/heads/master | <repo_name>TennRich/MailTesting<file_sep>/MailTestProject/Pages/HomePage.cs
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
using System;
using System.Configuration;
namespace MailTestProject
{
class HomePage
{
public IWebDriver driver;
[Fin... | ad99e31507a6e2fdfa96048618364b12f7665b3f | [
"C#"
] | 6 | C# | TennRich/MailTesting | 075dac2e914a81e8afb25715a703ae2eb594c96d | b1e5d6655112c5e2c1509f303f4ee2de80952863 |
refs/heads/master | <repo_name>hrshadhin/frida-python<file_sep>/src/frida/tracer.py
# -*- coding: utf-8 -*-
from frida.core import ModuleFunction
import os
import fnmatch
import sys
import time
class TracerProfileBuilder(object):
def __init__(self):
self._spec = []
def include_modules(self, *module_name_globs):
... | da9df1f78807b1b48e2bb8522f3d5964d5b94371 | [
"Markdown",
"Makefile",
"Python",
"C",
"M4Sugar"
] | 11 | Python | hrshadhin/frida-python | 99db513e540f8e4f00578839371789568e8d656a | 2e05eba1d9392b8fa8d5c0d6bfa4b0d2a79dec1f |
refs/heads/master | <file_sep>package robbe.roels.hangman;
import robbe.roels.hangman.gameBase.controllers.Hangman;
import robbe.roels.hangman.gameBase.exceptions.ControllerException;
import robbe.roels.hangman.service.Words;
import android.os.Bundle;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.D... | 60f866b68209fa4cf3dfa2fbdba311bcbfa03e35 | [
"Java"
] | 6 | Java | RobbeRoels/hangman | dcb2834918f0ecdd7bdb8db151a8dba86cac9545 | 2c861269507e01ee46901cbdf66e5e8e040e964c |
refs/heads/master | <repo_name>Daazzer/yougou-mall_uni<file_sep>/main.js
import Vue from 'vue'
import App from './App'
import api from './utils/api'
import { showErrorTips } from './utils'
import yougou from './utils/storage'
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$api = api
Vue.prototype.$showErrorTips = sho... | 36de4c846b64d2f22930d360a02bae469d5eee88 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Daazzer/yougou-mall_uni | fce09723e9cbd6dd66d225ffa2c7b257595ca044 | d0201a313b5bc0bd3897578fb64e01508ca4acaa |
refs/heads/master | <repo_name>xinput123/myFrameProject<file_sep>/ch3/src/main/java/com/ch3/interfa/HelloImpl.java
package com.ch3.interfa;
/**
* Created by HP on 2017-07-23.
*/
public class HelloImpl implements Hello {
@Override
public void say(String name) {
System.out.println("Hello " + name);
}
}
<file_sep>/ch2/... | 232c63f26f9553446aaf8ad460604dff257cd873 | [
"Markdown",
"Java",
"INI"
] | 9 | Java | xinput123/myFrameProject | 10ae587de9d693ba763f1f4057b3fe51592d15b1 | 88e958a234cfc2ce135d6513da527d473f4ca7e7 |
refs/heads/master | <repo_name>virsitility/JS<file_sep>/PS_Coordinator_alpha.jsx
//
// Coordinator 製作中
//
if (app.documents.length > 0)
var doc = app.activeDocument; //若已有檔案開啟,此將此檔案設為執行中檔案
else {
alert('No doc opened.');
//return;
}
var t = new Date().getTime();
var finalArray = [];
var textStyleArray = [];
var txtMark = ... | 35f421e9459e511163749201d3bc29d00bbc0929 | [
"JavaScript"
] | 3 | JavaScript | virsitility/JS | a202b949b1f60a89019a6777f1cccfaede04a66d | c60c991afe67d24b366ba509ae559c3f99859e01 |
refs/heads/master | <repo_name>danielelidio/AprendizadoGit<file_sep>/classes/Estado.php
<?php
require_once 'Pais.php';
/**
*
*/
class Estado {
private $idEstado;
private $nome;
private $sigla;
private $Pais;
public function setIdEstado($idEstado) {
$this->idEstado = $idEstado;
}
public function getIdEstado() {
return $this... | fb1e596308978895211c5d07abcc96f4e464cd4d | [
"PHP"
] | 3 | PHP | danielelidio/AprendizadoGit | 3906b81ef379fc745b4237ea4976c9e9aca58616 | 994b9bd6bbabf94a9b002e92b2c393be675166b1 |
refs/heads/master | <file_sep>#ifndef Enums_cpp
#define Enums_cpp
#include <stdio.h>
enum Action {Up, Down, Left, Right};
#endif /* Enums_cpp */
<file_sep># RLGridSnake
Implementation of reinforcement learning using exploring starts Monte Carlo methods.
Main reinforcement learning algorithm is based on the algorithm in this [book][bo... | ae4720b71ec6c48330aae03c4069f0c0546faf58 | [
"Markdown",
"JavaScript",
"Makefile",
"C++",
"Shell"
] | 15 | C++ | fxgst/RLGridSnake | 1195ace5ecf49f2d0b8d269dab1f50fa38c39e2a | 4fd51144f7bd0c7e6db0b74fad6286a0c42effc8 |
refs/heads/development | <file_sep>import Vue from "vue";
import LoginPage from "../views/LoginPage.vue";
import RegisterPage from "../views/RegisterPage.vue"
import ProductDetail from "../views/ProductDetail.vue"
import Home from "../views/Home.vue"
import OrderPage from "../views/OrderPage.vue";
import VueRouter from "vue-router";
Vue.us... | 27a49004e6591961cebb487bdd958123724a12e6 | [
"JavaScript"
] | 3 | JavaScript | giovannyptr/p2-iproject-client-1 | f825b291bfc3c13f9eeea81f3321c5d9a1c1b0f0 | 17a6bef93081fdbba3ec2cf5c0d839d43530b9e9 |
refs/heads/master | <file_sep>#pragma once
#include <SFML/System/Vector2.hpp>
#include <SFML/Graphics/CircleShape.hpp>
#include <math.h>
struct Bullet
{
sf::Vector2f dest;
sf::Vector2f velocity;
sf::CircleShape shape;
int radius = 5,
damage;
bool needDelete;
class Enemy* target;
Bullet(sf::Vector2f dest, sf::Vect... | 825cde14e8405803a54f60226508dac06b1fdd33 | [
"Markdown",
"Makefile",
"C++"
] | 18 | C++ | comradearya/Tower-Defense-Game | f75cb66df24bbbd9190cd96f50cd6b1b25ee5a0e | b3dbd4fb31a80d8a13238243ed9dd247a0c0099f |
refs/heads/master | <file_sep># pizza
It uses RVM gemsets to isolate libraries versions.
You can test the exercise by running the following:
```
gem install watir
gem install webdrivers
ruby pizza.rb
```
<file_sep>require './scraper'
scraper = Scraper.new 'https://www.trycaviar.com/peninsula/rise-pizzeria-6431'
result = scraper.parse
... | 7589c0588fe32d6f217b07e6f9cb8d5266d49421 | [
"Markdown",
"Ruby"
] | 3 | Markdown | jlebrijo/pizza | 5c3b834e427fb839a3c6a09dce50944d8f38c9a5 | 6219f475595d970840da00c2f12f255ef2ab9368 |
refs/heads/master | <repo_name>implemedea/NodeJs_Training<file_sep>/session1/session1.js
var c = "hello world";
console.log("first %s",c);
console.error(new Error('error message'));
console.warn('sdfsadf');<file_sep>/session1/day1/first.js
//console.log('Hello Welcome to CTS Node Js training');
//var cname='Cognizant Technl... | 1be07d1d86e806f00292dae7d254cc0c8f611151 | [
"JavaScript"
] | 7 | JavaScript | implemedea/NodeJs_Training | 1cfd6251cdf54a6424865b234b4cfc8a06ce4e14 | ef967b5df043108f5ab772d06a2971b91f659936 |
refs/heads/main | <file_sep># aws-sqs-spring-boot-poc<file_sep>package com.ns.awssqspoc;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.aws.messaging.listener.SqsMessageDeletionPolicy;
import org.springframework.cloud.aws.messaging.listener.annotation.SqsListener;
import org.springframework.stereotype.Component;
@C... | 390f1ec3999b2a1008606250f73a86491feabc63 | [
"Markdown",
"Java"
] | 4 | Markdown | nirajsonawane/aws-sqs-spring-boot-poc | 5ed97c41df642aaae87dee5f2af28c8ef80d72c9 | 3948a3517e22114fe65a588b0e671032c16932a0 |
refs/heads/master | <repo_name>chernrina/minesweeper__<file_sep>/src/view/MineSweeper.java
package view;
import sweeper.Coord;
import sweeper.Game;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import... | 8ad5d8f9f3cc3a731944886c1a2162b5bcf1b90a | [
"Java"
] | 1 | Java | chernrina/minesweeper__ | b26fee53afce92b1edef0f3df08c9801084507ce | ec82d351041e5da4f1215f7ddcee67d3be368713 |
refs/heads/master | <repo_name>zydeasy/deasy-node<file_sep>/README.md
## deasy server sdk
deasy服务器端sdk
### 安装
```js
npm i deasy
```
### socket
* 获取客户端鉴权token
```js
const deasySocket = require('deasy/socket');
const socket = new deasySocket(appkey, appsecret);
const token = socket.getToken();
```
* api推送信息
... | 2052716bace111c42198113544aaefd756efb892 | [
"Markdown",
"JavaScript"
] | 6 | Markdown | zydeasy/deasy-node | 26b19251f9f9d2ae2896360d4c970e728f013879 | eeaf4d8743f932f53f71b4857a5b2bda9fb2e7cd |
refs/heads/master | <repo_name>kraken97/Baumanka<file_sep>/task10.py
class MySet(object):
def __init__(self):
self.myset_struct=[]
def add(self,val):
if(not self.myset_struct.__contains__(val)):
self.myset_struct.append(val)
def rem(self,val):
self.myset_struct.remove... | a0a3d6760e3d7d8024cb1b4e8725b61531d811a0 | [
"Python"
] | 9 | Python | kraken97/Baumanka | c3c57c22f49ca4a26a6b873b6aeedf0321465965 | 49ab9394fc0febcab7f9f5547d547c1aa44dcad3 |
refs/heads/main | <file_sep>/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.c :+: :+... | 5a409414b4b16a262909cc299a5868a440498356 | [
"C"
] | 1 | C | oboualla/get_next_line | 2e65b92a54e104abfa4207941932d129c9beb29c | 4d3aad7e91bdc33a70fc712b203832021df67fca |
refs/heads/master | <file_sep>import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PostsListComponent } from './posts-list.component';
import { PostsListItemComponent } from '../posts-list-item/posts-list-item.component';
import { HttpClientTestingModule } from '@angular/common/http/testing';
// import { Pos... | c06ffcf63e8eefd9ed2d9101164c6a12baabcae3 | [
"Markdown",
"TypeScript"
] | 12 | TypeScript | pawtwa/angular-test-facebook | 4782aefba15337f3397a31fa1df83e53d90c4471 | c1ac2857ab334e688655209cee9bda7203d92a81 |
refs/heads/main | <file_sep># 1
Created with CodeSandbox
<file_sep>export function coordToVec3(
lat: number,
lon: number,
radius: number
): Record<'position' | 'rotation', [number, number, number]> {
var latRad = lat * (Math.PI / 180)
var lonRad = -lon * (Math.PI / 180)
return {
position: [
Math.cos(latRad) * Math... | d887343833936b36114798e0dde33d9d1a54e023 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | Absens/1 | 9a808802a739ad64eb114279758e2c6a3ff6f6fe | 54134064a6c67bc0a8f2fa80eeb70a1d8edd693e |
refs/heads/master | <repo_name>wunmin/refactor_for_speed<file_sep>/config/routes.rb
Karmaville::Application.routes.draw do
resources :users, :only => [:index]
get '/' => 'users#show'
get '/:id' => 'users#show'
end
<file_sep>/app/controllers/users_controller.rb
class UsersController < ApplicationController
def index
@users = ... | 489e1e3e8c857f2ad08216257e64d30553383b3d | [
"Ruby"
] | 2 | Ruby | wunmin/refactor_for_speed | 76cd8feb88e226399883ddd249b48c907be2749e | 0543037bdc4d2d1ed9354570811058408126c72b |
refs/heads/master | <repo_name>whatwouldzoeldo/Strukdat-02<file_sep>/exercise-02.cpp
/*
Nama : <NAME>
NPM : 140810180064
Deskripsi : Theater
Tahun : 2019
*/
#include <iostream>
#include <string.h>
using namespace std;
struct Theater {
int room;
char seat[3];
char movieTitle[30];
};
in... | e25ad73df3109f992ebdee296965419fa635a789 | [
"C++"
] | 3 | C++ | whatwouldzoeldo/Strukdat-02 | 061fd9d3fc38c71f058e60ebff8e2bfa079a10cd | c4dcd60f798b5950175c8c838a2f7365d7bb99a8 |
refs/heads/master | <repo_name>stevegrout/stash-api<file_sep>/services/account/util/monthlySavings.test.js
const { getNewSavingsAmount } = require('./monthlySavings');
const monthlyAverages = [
{ type: 'credit', avg: 120.55 },
{ type: 'debit', avg: 100.55 },
];
describe('monthlySavings', () => {
describe('returns higher savings f... | 2bf8c0b4e4a80f029cd3653e96f707b3cee36d52 | [
"JavaScript",
"SQL",
"Markdown"
] | 15 | JavaScript | stevegrout/stash-api | 71c264492d6edd3478675803df78c73616d4e1c9 | cf9e93ceb58ca6caa6b15a4d012502ef147c41a9 |
refs/heads/master | <repo_name>uspehcoursbrest/KushniarevichDiplomProjekt<file_sep>/README.md
# KushniarevichDiplomProjekt.
Дипломный проект iForex.
Использование технологии HTML, CSS, JS.
<file_sep>/js/script.js
window.onload = function () {
function clock() {
var date = new Date(),
day = date.getDate(),
... | 554d611647470a1375be00d15e737c6cda78cf9e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | uspehcoursbrest/KushniarevichDiplomProjekt | d2784b72fe65973cea917904d03801ed047a63f9 | ec8ac16f57589f5aecda83aa0d3e1ebac507ca27 |
refs/heads/master | <file_sep>function fn(){
var config = {
searchUrl : 'http://172.16.3.39:9090/',
}
return config
} | ee9ce205498dbe38cf5e6f004e02ded1166f7936 | [
"JavaScript"
] | 1 | JavaScript | RashmikaLasan/Karate_Assignment | ed3801ecb1c682bc40efdacf3ebf9a608f1042cd | 734ae90cb65125d07efa0a5300ca897ef2fcb221 |
refs/heads/main | <file_sep>import uuid
from django.contrib.auth.models import User
from django.db import models
MSG_TYPES = [
('audio', 'audio'),
('document', 'document'),
('image', 'image'),
('text', 'text'),
('video', 'video'),
]
class Group(models.Model):
uuid = models.UUIDField(editable=False, default=uu... | 2935c74c5d1119246856b68e6720b12f9c555581 | [
"JavaScript",
"Python"
] | 16 | Python | ayushgupta0010/chat | ea906558c9eb4755f7043bb6062a68cb2330412c | 58133e04136acad74f6bd510c67f0a3262434a6a |
refs/heads/master | <file_sep>#!/usr/bin/env node
var util = require('./hook_utils.js');
module.exports = function (context) {
console.log('ionic2vs_glue_$_copy_appxrecipe.js is running...');
var fs = context.requireCordovaModule('fs');
var path = context.requireCordovaModule('path');
var Q = context.requireCordovaModul... | 19c2cba2c8208e712fc0f1d5d95a543da41fc300 | [
"JavaScript"
] | 3 | JavaScript | thomasouvre/ionic2vs2015_glue | 3f5c5495d5e2ff3dcd4000412e20343d8d8b722b | d494c43566959b32be39567dd52daab9b4e0b1b7 |
refs/heads/main | <file_sep>describe("Coulette App", () => {
beforeEach(() => {
cy.visit("/");
});
//generate random color
it("initially show random header color", () => {
cy.get("[data-cy='hex-color-name-header']").should("exist");
});
it("should generate random color in header", () => {
cy.get("[data-cy='gener... | eaa5801b25b27e1e0bceefe39edb9ebbadfe6800 | [
"JavaScript"
] | 1 | JavaScript | EeveeInGaa/couletteApp | a26accddda1e0eb5619f8cebf0a80f3c9c4c4f1b | 70570012897605d17890a9f620b3012f26a73925 |
refs/heads/master | <file_sep>from my_app import db
class Review(db.Model):
id = db.Column(db.Integer, primary_key=True)
title = db.Column(db.String(100))
rating = db.Column(db.Integer())
body = db.Column(db.String(1000))
def __init__(self, title, rating, body):
self.title = title
self.rating = rati... | 9dd43f9de19492e86283072ad3e5e81611f71b57 | [
"Markdown",
"Python"
] | 3 | Python | ojcm/apy | 0def55d53ecd45ddde3e1a83a20ec3c28fc744b8 | dbc18dd31e33911b5764c0401d94e950927c8680 |
refs/heads/master | <repo_name>jdowns/openhds.mbita-odk-collect<file_sep>/src/org/odk/collect/android/activities/CollectEntityIdActivity.java
package org.odk.collect.android.activities;
import org.odk.collect.android.R;
import org.odk.collect.android.listeners.CollectEntityIdsListener;
import org.odk.collect.android.preferences.Preferenc... | 4b851df513604df405e9f5390647a1b9ecf3e772 | [
"Java"
] | 9 | Java | jdowns/openhds.mbita-odk-collect | 0a0c88dad108201e6eed11342c09e3f6c3bf2c4e | 07463f0586605f275878bb4f159abf313f9b223e |
refs/heads/master | <file_sep># Test technique Angular
## Description
Le but de ce test technique est de créer une application de gestion des pokémons. Je vais utiliser l'API publique : [https://pokeapi.co/](https://pokeapi.co/).
L'application sera composé de plusieurs éléments :
- Une page d'accueil qui listera les pokémons des 3 pre... | 2e41248e1953bebdcfa851b94822d01fcc030219 | [
"Markdown"
] | 1 | Markdown | PetitRuisseau/pokedixeed | 9762da277c25aa274dbc8dc243244bc4ac8dfe62 | 61859fa3c763018fe55c3d8fc7912fa3a85a6b8a |
refs/heads/master | <file_sep>package com.grupojye.ihotel.beans;
import java.util.Map;
/**
* @author osotos
*
*/
public class ErrorConfigBean {
private Map<String, String> errors;
/**
* @return Map<String, String>
*/
public Map<String, String> getErrors() {
return this.errors;
}
/**
* @param errors
... | 01b001343145b814dc65201cd35173d487289788 | [
"SQL",
"Markdown",
"Maven POM",
"INI",
"Java"
] | 35 | Java | jsocsoto/iHotel | 5a7442dd322bca6c338486962381b5a825163c4b | f56bbc206ce9fbc1339a67251bec7df31cfa1ea3 |
refs/heads/master | <repo_name>iziumchikov/CppAssignments<file_sep>/lab7/NumberGuessingGame.cpp
/*
* Class: CS 110A
* Description: Program generates a random number and asks
* the user to guess what the number is.Program use a do-while
* that repeats until the user correctly guesses the random number.
* If user correctly guesses th... | a339c304c194aca6df55b4af06cfaf9b102ca5fe | [
"C++"
] | 51 | C++ | iziumchikov/CppAssignments | 4aa1719d0b678800e3fb700e1312f7d16c958b13 | 5b1a7af75915fa42db867a144e8d7f39f8505911 |
refs/heads/master | <file_sep>import os
import time
from influxdb import InfluxDBClient
a_influxhost = 'localhost' #InfluxDB Host
a_influxport = 8086 #InfluxDB Port
a_influxuser = '' #'tesla' #InfluxDB Username
a_influxpass = '' #'<<PASSWORD>>' #InfluxDB Password
a_influxdb = 'testers... | 3d1c0768d93baa7c41a04defe4aa48432f199f02 | [
"Python",
"Shell"
] | 23 | Python | verygreen/lustretester | d2c395d0182a7dd2be5702b33c94c5f0ed1df818 | 1b2a78a2309d2483a839ea78d10c0d6b8166e9cd |
refs/heads/master | <repo_name>MattyCalimbas/gogopixApi<file_sep>/server/config/routes.js
var db = require('./../controllers/apicontroller.js');
module.exports = function (app) {
app.get('/subjects', db.getSubjects);
app.get('/wallpapers', db.getWallpapers);
}<file_sep>/README.md
# Gogopix API v1
Simple API made for gogopix that... | e61ec1d4033a7da323dfd5f3ff83fc12022a5e38 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | MattyCalimbas/gogopixApi | e460a9da3a94d91bd6bf7707623c6aab067fc7f7 | 27436af6999a3c8c88bb298877d1a1cb372f73c1 |
refs/heads/main | <repo_name>PopaIonut1996/Translator-design<file_sep>/verifier.h
// This file is part of the IMP project.
#pragma once
class Module;
class Verifier {
public:
void Verify(const Module &stat);
};
| dc9f7a2b6cd2d438775ff9cd1ccc57b439876184 | [
"C++"
] | 1 | C++ | PopaIonut1996/Translator-design | a1056598a3b475540a679dde3ca5a5a2c7747c06 | 1b57ae83626db474ccb24fcac2635586fafbc96b |
refs/heads/master | <repo_name>matteogobbi/sigh<file_sep>/spec/developer_spec.rb
require 'spec_helper'
describe "Create certificates" do
it 'AppStore, Development and Ad Hoc' do
system("rm -rf /tmp/sigh/")
ENV["DELIVER_USER"] = "<EMAIL>"
Sigh::DeveloperCenter.new.run('net.sunapps.7', Sigh::DeveloperCenter::APPSTORE)
... | e1406fc7fdc96cfcd02d07a617aae8daaca6243a | [
"Ruby"
] | 1 | Ruby | matteogobbi/sigh | 098825c7e92a805e2502c9cf74bad2ef9d171347 | f37a50940de7386d4aca0632ac3e018372e4888b |
refs/heads/master | <repo_name>junaidahmedse0/ReactMultiSearch<file_sep>/src/App.js
import React,{Component} from 'react';
import './App.css';
import SearchBar from './SearchBar/SearchBar'
import CountryTable from './CountryTable/CountryTable'
export class App extends Component {
constructor(props) {
super(props);
this.data... | 9f2f2fa74b90c1fa0c1b43119a65499d2d12048b | [
"JavaScript"
] | 2 | JavaScript | junaidahmedse0/ReactMultiSearch | b115378e5208c4643e616cd2f950811c9da467e3 | e7992f88497f3d799a1ad723484294e21561ee63 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.