branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <repo_name>conclave0/PhanQuyenNguoiDungATBM<file_sep>/ControlUserPrivacy.cs
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;
namespace ATBMN28_Login
{
public partial class Control... | ca3d5448d6993c4ffa8da9e8778c0a1dd82b35f0 | [
"Markdown",
"C#"
] | 10 | C# | conclave0/PhanQuyenNguoiDungATBM | fc387e7caf45175acbf1c22466c035cf604673dc | 2720ddd545e50b69e8288d0365bc2ccb2b0da871 |
refs/heads/master | <file_sep># -*- mode: ruby -*-
# vi: set ft=ruby :
unless Vagrant.has_plugin?("vagrant-docker-compose")
system("vagrant plugin install vagrant-docker-compose")
puts "Dependencies installed, please try the command again."
exit
end
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.v... | d497b2e5d9a2fd578d21701c53c4ea6734bf79f8 | [
"Ruby"
] | 1 | Ruby | dbatishchev/vagrant-bindfs | c97d3ccac13187433671e0316b462b00e538f500 | 6cfef9bd74625099243b40de58751afc015a2e86 |
refs/heads/master | <file_sep>-- OCPM, a simple but functional package manager for OC Linux --
local args = {...}
local urlResolvers = { -- 3-letter shortcuts for much longer URLs
["git:"] = {
resolveTo = "https://raw.githubusercontent.com/"
},
["ozc:"] = {
resolveTo = "https://oz-craft.pickardayune.com/"
... | 8d763b56fe2ea8f95f07fa78e48f8117e27e5cc9 | [
"Markdown",
"Lua"
] | 2 | Lua | Ocawesome101/ocpm | ea628cbc05d4fd640caeeacb6b6235a0463399ef | bda5c8d584a640fca47c9ca6cc6a0f49c0961d56 |
refs/heads/master | <repo_name>ppedvAG/190708_CSharp-Einsteiger_MUC<file_sep>/OOP/OOP/Konto.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OOP
{
public class Konto
{
private decimal kontostand;
public decimal Kontostand
{
... | 67f0075b8abe892b9ed7f530ea818c03191468a7 | [
"C#"
] | 24 | C# | ppedvAG/190708_CSharp-Einsteiger_MUC | 3ec955c5abf5566762a4b58e626ce7fe51f2b850 | c5bba30951ebcb815990b7f83500b6293c8041e2 |
refs/heads/main | <file_sep>import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.BorderLayout;
import javax.swing.SwingConstants;
import java.awt.Font;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JButton;
public class Grafico1 {
private JFrame frame;
priv... | 544deb93ea411b0cf82ea724606d6a11081ff72d | [
"Markdown",
"Java"
] | 2 | Java | mateorussi/entornos-de-desarrollo | 39a0718f7b8e00d007949edf60d8321dad7630aa | 90cb90022444690d5aa20c028a8e7901bf6167c7 |
refs/heads/master | <repo_name>JakobKadosh/BrewDogApi<file_sep>/src/app/select-beer/select-beer.component.ts
import { Component, OnInit } from '@angular/core';
import { BeerService } from 'src/shared/services/beer.service';
import { Router } from '@angular/router';
@Component({
selector: 'app-select-beer',
templateUrl: './select-beer... | 1f501a582c0603774d8a10775f8125b92ad76cc0 | [
"Markdown",
"TypeScript"
] | 5 | TypeScript | JakobKadosh/BrewDogApi | 1581a218b41c7b54a37ad5763a48bbdf65779cd4 | 875103bc7dd1e4d36fba6da544eb0b57f8b32b5c |
refs/heads/master | <repo_name>di8735/Access<file_sep>/d3dUtility.cpp
//////////////////////////////////////////////////////////////////////////////////////////////////
//
// File: d3dUtility.cpp
//
// Author: <NAME> (C) All Rights Reserved
//
// System: AMD Athlon 1800+ XP, 512 DDR, Geforce 3, Windows XP, MSVC++ 7.0
//
// Desc... | bab030e5efbe6189d9b61434bb92f1f6cd4cb218 | [
"C",
"C++"
] | 27 | C++ | di8735/Access | ed2c9a6e5f24a95fe46158838f4f7abba8ebf3e4 | adc3a3bae5b048a19638797da6facefc7f79b25d |
refs/heads/master | <repo_name>Alexis0308/Brive<file_sep>/EvaluacionTecnica/Pantallas/Login.aspx.cs
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EvaluacionTecnica.Pantallas
{
public partial class Login... | ca123c2e7b54c1dbc813f632d13b448b5bde8890 | [
"C#"
] | 2 | C# | Alexis0308/Brive | fdbef6a611d7358ba5dd6f1751dd45e8ca31c58c | 10fbe308f541ec37fd2e736b89989c0c6f807f46 |
refs/heads/master | <repo_name>iSnakeBuzz/labymod-server-api<file_sep>/common/src/main/java/net/labymod/serverapi/LabyEmotes.java
package net.labymod.serverapi;
import java.util.Arrays;
import java.util.Random;
public enum LabyEmotes {
STOP_EMOTE(-1),
BACKFLIP(2),
DAB(3),
HELLO(4),
BOW_THANKS(5),
HYPE(6),
TR... | a947baeb40a527c4be5ea63ece93bbfa5280717b | [
"Java"
] | 1 | Java | iSnakeBuzz/labymod-server-api | e712b6e31aa0397684b2aef4d2c6dacc3786acb9 | 4bfb2571aab9aff628fdb136e424cf2d7671acbd |
refs/heads/master | <repo_name>wangyahong423/carousel<file_sep>/index.js
(function(){
var htmlContent = '<div class="slider" id="slider">'
+ '<div class="slide"><img src="img/b5.png" alt=""></div>'
+ '<div class="slide"><img src="img/b1.png" alt=""></div>'
+ '<div class="slide"><img src="img/b2.png" alt=""></div>'
+ '<div ... | a722adde47900fe310abe320909e135402034688 | [
"JavaScript"
] | 1 | JavaScript | wangyahong423/carousel | bb0dfbb5c1ebd8540b0cde3691be7633eac4c681 | bd1f5d0dea6551679c803841a45183ff59781a20 |
refs/heads/main | <file_sep>#include <stdio.h>
#define N 4
#define M 5
int main()
{
int i = 0, j = 0;
int A[N][M] = {
{3,-16,2,12,-5},
{0,8,-9,2,2},
{28 - 18,1,1,1},
{0,17,0,14,0 },
};
int k = 0;
for (j = 0; j < M; j++)
{
for (i = 0; i < N; i++)
{
if (... | e197f96a79e5c91d0dd45c47403a4990fc84e639 | [
"C"
] | 1 | C | tischina/martaa | 32031f04471c6889783770f836ba9c996b4eca30 | 836120c84ea45df469f5c887042b9fb1fdaf636c |
refs/heads/master | <file_sep># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
# Mayor.creat... | 3954824056977c37d686dde65308709c21dc1e12 | [
"Ruby"
] | 1 | Ruby | DanGodfrey/Citation-Needed | 382bbe8202394c3d30a74f43159428ed902ce1b2 | b3dce8b2c66c7805a1afbb1973ae3435ea3c152b |
refs/heads/master | <repo_name>Patrick-Doucet/connect-4-online<file_sep>/README.md
# Connect 4 Online
Connect 4 server and client that enables anyone to host a server and connect to it using the client. All new users enter the client with a new name and enter a lobby where they can challenge any other user to a game.
<file_sep>/Client-Si... | c2a2f3a6305ac0d58ff5e73f7061c78049644697 | [
"Markdown",
"C#",
"C++"
] | 7 | Markdown | Patrick-Doucet/connect-4-online | 4c020855c9cbd8c91252711e67d253bf57aba69d | e9de8e9f16470b54c28fc5051cb30b4791fc41be |
refs/heads/master | <repo_name>cesarnicola/nodefront<file_sep>/commands/compile.js
var fs = require('fs');
var q = require('q');
var jade = require('jade');
var stylus = require('stylus');
var pathLib = require('path');
var utils = require('../lib/utils');
var coffeeScript = require('coffee-script');
// files with these extensions need t... | 8bcbfda8621b833def688688102909d9d04b023f | [
"JavaScript",
"Makefile",
"Markdown"
] | 5 | JavaScript | cesarnicola/nodefront | 24eb59f4bb4a88470b104bc6d0b5b4854bc4004f | f5683c98e5054e0e351d0a79dc72bc4f885afc45 |
refs/heads/master | <file_sep>import os
from haproxy_stats import HaproxyStats
from vrouter.loadbalancer.ttypes import \
UveLoadbalancerTrace, UveLoadbalancer, UveLoadbalancerStats
LB_BASE_DIR = '/var/lib/contrail/loadbalancer/'
def _uve_get_stats(stats):
obj_stats = UveLoadbalancerStats()
obj_stats.obj_name = stats['name... | 3ad286d602eb257140caf9ce2425760eb73a2a4a | [
"Python",
"C++"
] | 3 | Python | anshprat/contrail-controller | 16e9e119f3f9e9b5370e1ff4627f31acc8c43b71 | 848e21f4f364a09ffc8f2538592cd09bfb832e9e |
refs/heads/master | <repo_name>tomasz-kaczorek/genetic-algorithm<file_sep>/engine.h
#ifndef ENGINE_H
#define ENGINE_H
#include <boost/random.hpp>
#include <stddef.h>
class Engine
{
private:
struct Chromosome;
double (* m_f)(double const *, size_t);
void (* m_x)(double *, size_t);
size_t m_n;
size_t m_mu;
size_t... | b553c2a81f8486b0437811f22a854bbaffbc84da | [
"C++"
] | 3 | C++ | tomasz-kaczorek/genetic-algorithm | a9eb72a94f7ebf8f0a62a526a432c4b893aaa2c6 | 21a30392b24e09d57ea2730e4e046462b6e721f8 |
refs/heads/master | <file_sep>from django.shortcuts import render, redirect
from django.urls import reverse_lazy
from django.views import generic
from django.contrib.auth.forms import UserCreationForm, UserChangeForm, PasswordChangeForm
from django.contrib.auth import authenticate, login, update_session_auth_hash
from .models import Hall,... | e5d45f7db42f2fab13484bc99ac9b39e48c02634 | [
"Python"
] | 3 | Python | goldbossstatus/hallvids_project | 3ff5185ffdc3ef562fab9204e1e6b6f9cff654f9 | 67d65ad9ab5512e5c6884451ebda8db7fd7725a5 |
refs/heads/master | <repo_name>ccnguyen/table-app<file_sep>/api.py
import time
import os
from flask import Flask
from flask_restful import Resource, Api
from flask_pymongo import PyMongo
from flask import make_response
from bson.json_util import dumps
MONGO_URL = os.environ.get('MONGO_URL')
if not MONGO_URL:
MONGO_URL = "mongodb://lo... | f3b9cb62e8f111c9ab1b8b32142f292ff0fb914c | [
"Python",
"Text"
] | 2 | Python | ccnguyen/table-app | 81fc8c08c3ba2dee2c95b9d6d9d01b28c09b3220 | 7182051926665bcff7ee52c053f356d7eb25da17 |
refs/heads/master | <repo_name>dayshajones/SQL-bear-organizer-lab-online-web-sp-000<file_sep>/lib/insert.sql
INSERT INTO bears (id, name, age, gender, color, temperament, alive) VALUES
(1, "Mr.Chocolate", 5, "M", "White", "Happy", "true"),
(2, "Rowdy", 4, "F", "Black", "Silly", "true"),
(3, "Tabitha", 3, "F", "Brown", "Warm", "true"),
(4,... | 468bce61746e15d0582c55663a6a70e8c18febf8 | [
"SQL"
] | 1 | SQL | dayshajones/SQL-bear-organizer-lab-online-web-sp-000 | dae4cd9049046066cbb403d02e3e0b0e3cdb4bbf | 3312faba5694c744bff553975d2d0b7a55bbd2e4 |
refs/heads/main | <repo_name>Jordan6271/bootcamp-project-week10<file_sep>/noteable/src/Noteable/Note/NewNote.js
import React from "react";
import Colour from "./Colour";
import Stamp from "./Stamp";
import toastr from "toastr";
import "toastr/build/toastr.min.css";
import Form from "react-bootstrap/Form";
import Text from "r... | 6a6c35c97ee70615f81c4ac88195668475f20a16 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | Jordan6271/bootcamp-project-week10 | 0a4d7353f0064fa9f396c277605db06399aba0fe | 361e9754557fa91b8a9261df4ce913e30fd5c8d7 |
refs/heads/master | <repo_name>VioletTape/ArchValidation<file_sep>/ArchValidation_Types/NoStaticUsageChecks/NoStaticExample.cs
namespace ArchValidation.NoStaticUsageChecks {
/*
* Try to add "static" keyword to class/prop/method
* to the MyUglyEnterprise class and see what happens
*/
public class MyUglyEnterpri... | 138b464a4e6581ec445d1e002207b49d7d7d8f61 | [
"Markdown",
"C#",
"Text"
] | 25 | C# | VioletTape/ArchValidation | 7c44fa086cc988d4487dd36fe20493235ace6bca | 492bd220c8efde5ce90de1c8c2e59500cbb148a4 |
refs/heads/master | <repo_name>guyzsarun/DataStructureLab<file_sep>/HW/src/Partition.java
public class Partition extends CDLinkedList{
public static void main(String [] args)throws Exception{
CDLinkedList test=new CDLinkedList();
DListIterator dl=new DListIterator(test.header);
test.insert(3,dl);
while... | 0dd69f694237059aec81555ce470e2bd34b1180b | [
"Java"
] | 6 | Java | guyzsarun/DataStructureLab | 624d1239f50dcb4ebf5ed8f16373a6cd043fa379 | abdb29ca1130e0007eb1d4d5bb64bd4cd9d0e41a |
refs/heads/master | <file_sep><?php
/* declare database connection variable */
define("HOST", "localhost");
define("USER", "root");
define("PASSWORD", "");
define("DATABASE", "angular_php_crud");<file_sep><?php
require_once '../app.php';
/*********************************************************************************/
// delete reco... | 20968d23dc932fa155de525d8e0efccc01b11530 | [
"PHP"
] | 9 | PHP | ndundecode/mhdmiddleone | 2bbcaed9c0fa810a7a6cf99d4cafe1a297db860b | 8db87d6a8893cdc5f1b677cb0510218f2c9dfe8c |
refs/heads/master | <repo_name>Kapranov/dice-roller<file_sep>/app/components/roll-dice.js
/* global Materialize */
import Component from '@ember/component';
import { get } from '@ember/object';
export default Component.extend({
rollName: '',
numberOfDice: 1,
numberOfSides: 6,
didRender() {
Materialize.updateTextFields();
... | a866458967f7c0a3168dd020ca367febfc864447 | [
"JavaScript",
"Markdown",
"Shell"
] | 3 | JavaScript | Kapranov/dice-roller | 19895f69e0f706b772daec69c88d433aa675c98d | 72d7132a1bffb8bfe2d328a637efb6c8d6841d43 |
refs/heads/master | <file_sep># Generated by Django 2.1.2 on 2018-10-24 19:58
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('card', '0006_auto_20181025_0107'),
]
operations = [
migrations.AlterField(
model_name='category',
name='na... | 80d29790a48a1b299dc1840924e97bb42a359cbb | [
"Markdown",
"Python",
"Text"
] | 10 | Python | Mendybaeva/Courses | 5085ea9295f26b43ce82987428dd46a592f15c81 | 15005c500a6681d1d7a35a22592be1814d533dbb |
refs/heads/master | <file_sep>#!/bin/bash
RES=$1
function gdrive_download () {
CONFIRM=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "https://docs.google.com/uc?export=download&id=$1" -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')
wget --load-cookies /tmp/cookies.txt "https://doc... | ed6d19fdfff3fe8ca7faa38ffa0032ce94a838f6 | [
"Python",
"Shell"
] | 14 | Shell | qq519043202/pde-surrogate | d59ca48a2bd7e1bcb375e11b56def36e163db948 | d0282c8eb7bee130dd268beb44b0de56aa3e19dd |
refs/heads/master | <file_sep>import scrabble
# Print the longest word where every character is unique. I used a
# Set for this which we'll talk about today.
# Don't worry: you didn't miss anything if you don't know what a set
# is. We didn't teach it, but if you are reading this, you get a
# bonus!
# A set is a container like a list ... | a9afc78836264ab604655f4bcbabf5bec4e04990 | [
"Python"
] | 1 | Python | yaping8512/wordplay-cdsw-solutions | 7b538ea99568eb4511b2b92e3f55193796017866 | 60f801352072e8a6eb889517444f107876ccf65a |
refs/heads/master | <file_sep>'use strict';
/**
* @ngdoc function
* @name angularjsApp.controller:MainCtrl
* @description
* # MainCtrl
* Controller of the angularjsApp
*/
angular.module('angularjsApp')
.controller('MainCtrl', function () {
this.awesomeThings = [
'HTML5 Boilerplate',
'AngularJS',
'Karma'
... | 8890aca7dee954adec57a327a3f78b12f4c2fad0 | [
"JavaScript"
] | 1 | JavaScript | sdegroot/angularjs-demo | 5413d6d9b71dfe624da0a39e1f9093109d560acb | 0d1994706155690f1e18a55cc630231958f34e7a |
refs/heads/master | <file_sep>module Forem
class View < ActiveRecord::Base
belongs_to :topic
belongs_to :user, :class_name => Forem.user_class.to_s
validates :topic_id, :presence => true
end
end
<file_sep>FactoryGirl.define do
factory :topic, :class => Forem::Topic do |t|
t.subject "FIRST TOPIC"
t.forum {|f| f.a... | 4ff416e9d10b934eb8de691c9ecf0e85f341b099 | [
"Ruby"
] | 11 | Ruby | regedarek/forem | 5ec19afa2e5be598365c8f5f4b16166acc328cd5 | 9c2515d21cc25111a9277f6f641bedaa05efa7ff |
refs/heads/master | <repo_name>codacy-acme/ruby-test<file_sep>/Gemfile
source 'https://rubygems.org'
gem 'minitest'
gem 'rake'
gem 'rubocop'
gem 'rubocop-performance'
gem 'rubocop-rspec'
gem 'rubocop-shopify'<file_sep>/lib/cool_program.rb
# frozen_string_literal: true
# The coolest program
class CoolProgram
attr_reader :coolness
... | a4bcdb2a063269fa92635dc820af9db7861c915a | [
"Ruby"
] | 2 | Ruby | codacy-acme/ruby-test | 3523e367d8ac213f35bcfa64119d4e02708bc542 | 55872c1e18482a8fdb0eecd52120d5cee3522713 |
refs/heads/master | <repo_name>matkoson/FCC-markdown-previewer<file_sep>/src/CodeInput.js
import React, { Component } from "react";
class CodeInput extends Component {
render(props) {
let fullScreen = this.props.fullScreen ? this.props.fullScreen : null;
return (
<div className={`code-input border-shadow-black ${fullScreen... | 92c378fff39b3e07ac5703cb2fad6048db153f5e | [
"JavaScript"
] | 3 | JavaScript | matkoson/FCC-markdown-previewer | bd0ab8f892c5d0ab3a47ca8e621688de7c9a74b4 | 65d0a7e3272cd6ff8b3528473fd5bad7b38ade46 |
refs/heads/master | <file_sep>from flask import Flask, render_template,request,redirect,url_for,session
from app2 import get_all, insert_data_book,delete_data_book,update_book_by_id,get_book_by_id
from app3 import get_all2,insert_data_user
app = Flask(__name__)
app.secret_key = '<KEY>'
@app.route('/DN', methods = ['POST'])
def post_logi... | 85f73d1b65fd2ecd8dacfbf1ddc0fef539538853 | [
"JavaScript",
"Python"
] | 4 | Python | qltv123/QLTV | 0ad16da19ff77bd5e50511424f9d7034b6a16914 | bc6268870900c405e786c8a6beae8a1d981cf23f |
refs/heads/master | <file_sep># TYPES
class Number < Struct.new(:value)
def to_s
value.to_s
end
def evaluate(environment)
self
end
def inspect
"<<#{self}>>"
end
end
class Boolean < Struct.new(:value)
def to_s
value.to_s
end
def evaluate(environment)
self
... | 7c23070bb0de772b3c2d14f482d93fac677a5cea | [
"Markdown",
"Ruby"
] | 2 | Ruby | Otomadmt/UComp | 2e6ab11904b772166a3f7f77aa341c8fa8d3c3a8 | e76968b49edb327fcf2b05b4f1022e7f44d3b848 |
refs/heads/main | <repo_name>iamrhm/react-vis-demo<file_sep>/src/components/playground/validation.js
import chroma from "chroma-js";
export function validate(data) {
const obj = {
minNegativeColor: data.minNegativeColor,
maxNegativeColor: data.maxNegativeColor,
minPositiveColor: data.minPositiveColor,
maxPositiveColor... | 08209864c66dff01c68016a5c3543948b73ca749 | [
"JavaScript"
] | 5 | JavaScript | iamrhm/react-vis-demo | 98cdf826b9ec67244d2cf74db3f0c9a1d7a417e7 | ea5497dc2cbdf1a4a8db381da65cbc34733ce04a |
refs/heads/master | <file_sep>import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Date;
class Repository {
private final String Db_url = "jdbc:mysql://localhost/inventory_management?useLegacyDatetimeCode=false&serverTimezone=Asia/Kathmandu";
// GET DATA FROM THE DATABASE
//GET ITEM DATA FR... | bf88206bea7f1a0cf88eeccaa0c155afa8291c10 | [
"Java",
"SQL"
] | 7 | Java | AnkitShrestha-Xenserv/InventoryManagementSoftware | 4c20b73e56c5e2dad33523db6ccca7ca5bd67a3e | bbdab54a0fd32b6dcba26f1ab11ffec167d38b20 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bankomat
{
class bankomat
{
List<Money> _kol = new List<Money>();
public void input(string box)
{
Casseteloader cs = new Casseteloader(box... | 363aa83d1f47d2481aba6cb90e1a09f715306c2d | [
"C#"
] | 6 | C# | Namankevi4/ATM | aa4a060e21c16dc90dadc1f72ba6fb630009cfed | 742fcb629337db6d3120d526d05225ba2039b143 |
refs/heads/master | <repo_name>svtvrn/DS-2020<file_sep>/src/Broker.java
import java.io.UnsupportedEncodingException;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.*;
import java.io.*;
import java.net.*;
public class Broker extends Node {
private Strin... | b9d9bc652b7514cad51549d9ad9d52456ced92a9 | [
"Java"
] | 1 | Java | svtvrn/DS-2020 | 51e3dfbeccc5e4ee7e3f5e8ca6d4677f366f7ff9 | 782c1974c21400021215c067e859e2ed4b4ef099 |
refs/heads/master | <file_sep>from twilio.rest import Client
from credentials import account_sid, auth_token, my_cell, my_twilio
client = Client(account_sid, auth_token)
my_msg = ''.join(['Sample integration \n' for i in range(50)])
# my_msg = "Just trying out this awesome messaging app powered by Twilio using Python."
message = clie... | 01357137e0739bd0b42e271a7f014635e0cae921 | [
"Markdown",
"Python"
] | 3 | Python | yemiwebby/texting-app-python | 853bc46831269b66564f9561e9140a57cfb43bcd | 7b167fdb8bf105c453a278894784c7df7599514c |
refs/heads/master | <repo_name>yangfan0902/img2word<file_sep>/myLab/src/service/UserServiceImpl.java
package service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import bean.User;
import dao.ItemDao;
import dao.UserDao;
@Service
public class UserServiceImpl imp... | c922491fecb5e62d2d04b39b6df656d1fc07a317 | [
"Java",
"INI"
] | 14 | Java | yangfan0902/img2word | f7275589d533fd6f91f1dcc9147bb90f17943de0 | 4eef8e6ee08d46df65c4c62f4f94db2e64d5760d |
refs/heads/master | <file_sep>
const initialState = {
loading: false,
vacations: [],
followedVacations: [],
error: ''
}
export const auth = (loggedUser = {}, form) => {
switch (form.type) {
case "LOGIN":
return {
...loggedUser,
loggedUser: form.payload.u_name,
... | a3859ad2c043c336375cc21bc4bd65827f5574ed | [
"JavaScript",
"SQL",
"Markdown"
] | 13 | JavaScript | snirisr/reactJsWithRedux | e6557cd9a92e8896ff0b8f2ca401aa2a473a8b69 | 418a6ada8f5077cfeb0a90b950ac80c6c34ec51e |
refs/heads/master | <file_sep>// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/PlayerState.h"
#include "LittleWarsPlayerState.generated.h"
/**
*
*/
UCLASS()
class LITTLEWARS_API ALittleWarsPlayerState : public APlayerState
{
GENERATED_BODY()
public:
UFUNCTION(Blue... | d7b1a9feb5b60fff57fe72be264939a82cefa89f | [
"C#",
"C",
"C++"
] | 9 | C++ | Angelosz/CPP_LittleWars | 736262728535f7b03ed1d89ca0f30612e894c55e | 675baf0d78860882447cdbaa7adb09e0716d67d5 |
refs/heads/master | <repo_name>lihao7264/spring-source-analyze<file_sep>/spring-lihao/src/main/java/com/atlihao/MyBeanFactoryPostProcessor.java
package com.atlihao;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.Con... | 2b818f8acee13bb798841243a38e1d06053ab765 | [
"Java"
] | 2 | Java | lihao7264/spring-source-analyze | e295cfde3eb0a96493f12090c154109d6ec721f5 | 341ccc3b698f369fd83798320d31351dd20e8dcb |
refs/heads/master | <repo_name>hbmmizan/test1<file_sep>/new2/folder3.c
create file no 1
<file_sep>/README.md
# test1
test1
i love my bangladesh
| 3b621064412df67cc2659dcb4dce9c494b6150ed | [
"Markdown",
"C"
] | 2 | C | hbmmizan/test1 | cd6e76d60672ac6f568ad370ad1018a8ac095f3a | 48b0c287d607699ae0a17f1bd1e4ae83fca5b060 |
refs/heads/master | <file_sep>### DDD Onion Verifier
*Work in Progress*
Verifies the correct implementation of [DDD Onion Architecture](https://www.innoq.com/de/blog/ddd-mit-onion-architecture-umsetzen/)
with [ArchUnit](https://www.archunit.org/).
<file_sep>package de.company.onionverifier.application;
import org.springframework.ste... | 658cb681f0081ed6ad36d6592848d7ffbfd63f78 | [
"Markdown",
"Java"
] | 3 | Markdown | markusgl/ddd-onion-verifier | 7ab230fd81ba97f62122db2dcd09876467948449 | f6f086f6dd516fc53252787176e7610896dcec4e |
refs/heads/master | <repo_name>JustCawa/training-olinfo<file_sep>/threshold/main.cpp
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream in ("input.txt");
ofstream out ("output.txt");
long long n;
in >> n;
int voti[n];
for (long long i = 0; i < n; i++) in >> voti[i];
for (int i =... | 78a20153d5e98368082bb0ce01f81d312e96d0df | [
"C++"
] | 24 | C++ | JustCawa/training-olinfo | a0295260e6659fd22f64dcd951a6e962d24ac09d | 7b329ca7fa6fa82e3cea2cd2acdc1a43882a8c22 |
refs/heads/master | <repo_name>Udit-K/Victory-Sports<file_sep>/nbproject/private/private.properties
deploy.ant.properties.file=/Users/ukhanna/Library/Application Support/NetBeans/8.1/tomcat80.properties
file.reference.commons-fileupload-1.3.2.jar=/Users/ukhanna/Downloads/libraries/commons-fileupload-1.3.2.jar
file.reference.commons-io-2.5... | 8881471277cb8b8aafeb7828583fbc8a5ac4a2a6 | [
"Java",
"INI"
] | 5 | INI | Udit-K/Victory-Sports | 103aa9522d29f05cae8f290c6ace8413cb11c402 | 470b15786dec31649b34d7963cd3f8046a3eb8bf |
refs/heads/master | <file_sep>package problems_A;
import java.util.Scanner;
public class A1009 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int m = in.nextInt();
int[] ar1 = new int[n];
for (int i = 0; i < n; i++) {
ar1[i] = ... | 4eb4704ae5ade9ba09939c20fa7855862bc2a16f | [
"Java"
] | 7 | Java | Ephilipz/codeforces | 690ba6c2a1ec7adbdb090f0a8b8647a883c47c7f | d639f12f7dad923dd97fc45af1ee02cc715ccc78 |
refs/heads/main | <file_sep># CienciaDatos
PAPD - Ciencia de datos
## GIT
Git es una herramiento para llevar el control de proyectos. **Colección** de Directorios y archivos
Incluye:
- Manejo de Versiones
- Facilita la colaboración
- Integra cambios paralelos al mismo código
- Diferentes personas pueden trabajar en la misma parte ... | ca046f343bbbe63d3bb8de00a61c579eca846ccc | [
"Markdown",
"Python"
] | 5 | Markdown | KatiraOrellana/CienciaDatos | 5d95b908a9b6e60c4473b2e372b62a0e0beb5734 | c272a6d0b3a5ddc324f9b7bd061ff11e8e96d5ca |
refs/heads/master | <file_sep>//<NAME> - 362963
//Código compilado e executado no terminal do Ubuntu
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int menu()
{
int escolha;
printf("\nQuadraturas de Gauss-Legendre aplicadas a função F(x) = x^2 - x*log(x)\n");
printf("1 - Polinômio de Legendre com 1 ponto(s)\n");
prin... | a4c6ed38b05fb06ecf9ca012010830a2627c46ee | [
"Java",
"C",
"Markdown"
] | 12 | C | mjnlima/metodos-numericos-II | 070f9c50be5106663ed73a90341998813fef1306 | 104a19cc424315c8e24bad5412f1519a992c1a97 |
refs/heads/master | <file_sep>#include "FastestWay.h"
#include <stdlib.h>
#include <time.h>
int main()
{
srand(time(NULL));
int e1=2,e2=1,x1=8,x2=9;
//int rand(void);
int a1[8];
int a2[8];
int t1[7];
int t2[7];
for(int i = 0; i<8;i++){
/*for (int k = 0; k < 7; k++)
{
cout << a1[k];
}
for (int v = 0; v < 7; v++)
{
cou... | e0014d3ceb4b2960cc8aa8f8aebacf67a26f968d | [
"C++"
] | 2 | C++ | nawalathar/Malghani_Assignment1 | 2afcfb72c782f86f72c6ac21db770f250fd9fd55 | 51cfa204f4ba2ec5c114ca2126d593d9234b9914 |
refs/heads/master | <file_sep>package demo;
import static org.junit.Assert.assertEquals;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import demo.Calculator;
/**
* 固件测试
* @version
*/
public class FixtureTestCase {
private static Calculator cal =... | d76186792a16c969a704aae30e03a9463e140d98 | [
"Java"
] | 2 | Java | heng369/repo3 | e2175cb4379c7c6808f6956ceb1aafad245f54c0 | 42c61bbb29b69c8b1d0bb3b957c45920d384f838 |
refs/heads/master | <file_sep>//
// ViewController.swift
// calayer
//
import UIKit
class ViewController: UIViewController {
lazy var gradientLayer: CAGradientLayer = {
return CAGradientLayer()
}()
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading th... | 13d791203706e44ab57fef9f28b3f19fb8eb0ad2 | [
"Swift"
] | 1 | Swift | iosjunkie/GradientLayer-Starter-Swift-5 | 9cd8ba90a4ade7c9ebe5c2b7b3a57be9f29c3054 | 6eada235ad1809409e5be081bbc154e732f9334b |
refs/heads/master | <file_sep>from django.db import models
from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin
class UserManager(BaseUserManager):
def create_user(self, email, password=None, **kwargs):
if not email:
raise ValueError
user = self.model(email= self.no... | 4264df63aa3a22bc3d9c17ff4ca68c6eb02a68a2 | [
"Python",
"Text",
"Dockerfile"
] | 4 | Python | Mohan-RajSP/recipee_api | f314961e583ba7c11ab13421cd525a8213f406b3 | 4c26e7ce50833bca08b56af7ddfba1ae251c4527 |
refs/heads/master | <file_sep>platform :ios, '5.0'
pod 'AFNetworking', '~> 1.2'
pod 'HawkClient', '~> 1.3.0'
pod 'FXReachability', '~> 1.1'
pod 'KNSemiModalViewController', '~> 0.3'
pod 'DLStarRating', '~> 1.1'
pod 'KIImagePager', '~> 0.0.2'
pod 'YIPopupTextView', '~> 1.0.0'
pod 'TDBadgedCell', '~> 2.3.1'
xcodeproj 'STracker/STracker.xcod... | 800822060e6862b74ef39102b9f10524231ce4b3 | [
"Markdown",
"Ruby"
] | 2 | Ruby | RyanTech/STrackerIOS | 30e387ea87119b9088e7b59cceb16a5ad05b35f9 | 894f9038db6cf1e42bf7b2d3aa498c695bab1a3e |
refs/heads/master | <file_sep>test("Foo.age", function () {
var foo = new Foo(20);
equal(foo.age, 20);
});
test("Foo.fuga", function () {
var foo = new Foo(20);
equal(foo.fuga(), 23);
});
<file_sep>module("sinon.spy jQuery.ajax", {
setup: function () {
},
teardown: function () {
jQuery.ajax.restore();
... | b6a8200fe596b93dd99200577c6ed4cbc5c858ef | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | bluerabbit/grunt-sample | e487deb772b1511e8efffd248cd28dc552c88bb6 | 9fa314d2a1f63b6349558251c48ff1bac9b8215b |
refs/heads/master | <repo_name>pdffiller/pdffiller-php-api-client<file_sep>/src/Core/Model.php
<?php
namespace PDFfiller\OAuth2\Client\Provider\Core;
use Inflect\Inflect;
use PDFfiller\OAuth2\Client\Provider\Traits\CastsTrait;
use PDFfiller\OAuth2\Client\Provider\Contracts\Arrayable;
use PDFfiller\OAuth2\Client\Provider\Contracts\String... | 96e434cc9c86518ad75d5d8b15ce08d4eaff15eb | [
"Markdown",
"PHP",
"Shell"
] | 115 | PHP | pdffiller/pdffiller-php-api-client | 281532a984d798055e29a4fa6c4587d5138b4bfd | 586ff9d040af8cafa6aba267259f847b42d73d93 |
refs/heads/master | <file_sep>import chalk from 'chalk';
import * as fs from 'fs';
export function updatePackageConfig(path: string, name: string, verbose: boolean): void {
const file: string = `${path}/package.json`;
const contents: string = fs.readFileSync(file, 'utf8');
const modified: string = contents.replace(/{{ name }}... | b0cba15c1162234ff826c535ef7406720a26a6ce | [
"Markdown",
"TypeScript"
] | 9 | TypeScript | joppe/boilerplate | 7fa975d73ed3aa7f48ff4b3a1964a3a3904cb217 | f9c81aab6cdd65ce01a6b114a7ef74688294b49e |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="user-scalable= no, width=device-width, initial-scale=1">
<link rel="stylesheet" href="estiloo.css">
<link rel="icon" href="pngegg.ico">... | 2d889f9d9ac67e6de591be3f602983961b090d58 | [
"HTML",
"PHP"
] | 2 | HTML | Ruben-a-bot/CV | 7082772f4205d851b1844dd450ebb36a626f7670 | 359228e55675e08dbaa8e1c1254c48b64e9e0254 |
refs/heads/master | <file_sep>namespace NXHub.Constants
{
/// <summary>
/// GUID 格式化参数
/// 注意: 所有格式化后的字符串均为小写, 如需转大写需要自行处理, 如: .ToUpper();
/// </summary>
public class F_Guid
{
/// <summary>
/// 无括号, 无连字符, 如: 102447989a344245b1ef9143f9b1e68a
/// </summary>
public const string N = nam... | eeff15aca83b6bf7dbb90262839e243d5e2681e1 | [
"Markdown",
"C#"
] | 10 | C# | nxhub/Constants | 03e72a0d5f1483b09730ccc066597710d62d240f | 79f03444456a1a1a2d1dd1cacf6a5a6399be6e9f |
refs/heads/master | <repo_name>shankar75031/native-code-interaction-flutter<file_sep>/android/app/src/main/kotlin/com/example/flutter_with_native_eg/MainActivity.kt
package com.example.flutter_with_native_eg
import android.content.ContextWrapper
import android.content.Intent
import android.content.IntentFilter
import android.os.BatteryMa... | b3ae4e36039223d56b61386bc059641f72266f3b | [
"Kotlin"
] | 1 | Kotlin | shankar75031/native-code-interaction-flutter | 8dfcee92ec9dad3d55020fe7c4509a9998d9397f | c02ea7d99c1316e131fdd29837b5cd89aba8ece4 |
refs/heads/master | <file_sep>pyg = 'ay'
original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
word = original.lower()
first = word[0]
print word
print word[0]
if word[0] in 'aeiou':
new_word = word+pyg
print new_word
else:
new_word = word[1:]+first+py... | 9e14d9f487e2be6562e77773b50c6a843db5d250 | [
"Python"
] | 1 | Python | tom-davies/pyglatin | 68a6311cf1d917515d24285dad984f7136533098 | d8648f771794a9cc09de0783553722bd6b2778d6 |
refs/heads/master | <file_sep>package cn.springlogic.blog.jpa.entity;
import cn.springlogic.social.jpa.entity.Tag;
import lombok.Data;
import java.util.List;
/**
*
* Created by admin on 2017/4/24.
*/
@Data
public class BlogParam {
private Article article;
//private List<Topic> topics;
private List<Tag> tags;
}
<file_s... | 04dd6c81cccd0bd198b143286d297ce859969ca2 | [
"Markdown",
"Java"
] | 10 | Java | caztg/springlogic-blog | 1c60c2c6f9736e5787cd0e0a65f91a14e2d9ae7a | 440083bb1a757858f28ecc89c47d2a2d72cb92a1 |
refs/heads/master | <repo_name>cm-art/item-catalog<file_sep>/database_setup.py
import os
import sys
from datetime import datetime
from sqlalchemy import Column, ForeignKey, Integer, String, DateTime
from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship, sessio... | 0809ace485bbc604eb8b879ce2060580d4c9ae75 | [
"Markdown",
"Python"
] | 4 | Python | cm-art/item-catalog | 09695877120f93f9a646de124a1f6ec8ddb29b20 | 97c29855d8ac175b4f7c208cd8ea5dab22d1283b |
refs/heads/master | <file_sep><?php
/**
* Created by PhpStorm.
* User: coffeekizoku
* Date: 2017/8/18
* Time: 上午11:18
*/
namespace SimpleShop\Brand\Repositories;
use SimpleShop\Brand\Models\ShopBrand;
use SimpleShop\Repositories\Eloquent\Repository;
class BrandRepository extends Repository
{
/**
* Specify Model class nam... | f6f5955390895411bdf73c63f84490a33336b703 | [
"Markdown",
"PHP"
] | 11 | PHP | wangzhoudong/laravel-shop-brand | ab83bd48387a0fc2f700ac783165efd318b225d7 | 496bbe49368f99ffc75b17fb5a3e2e05d98df3dc |
refs/heads/master | <file_sep>import urllib2, json, time, sys, getopt, datetime
from dateutil import parser
loop_interval_secs = 10
now = datetime.datetime.now().replace(tzinfo=None)
last_time = now
event_time = now
found_events = False
print ''
print 'Ploggly started'
print 'Polling for events every ' + str(loop_interval_secs) + ' seco... | 88b285a487253105fd8eec55712a2bc5ccdb50fd | [
"Markdown",
"Python"
] | 2 | Python | fourq/ploggly | a0af017fba37bcf807f8b5392c40f635cb033d12 | cd4a8c68aac3822ff1cc766ebb44dc5970dae33f |
refs/heads/main | <file_sep>package com.qa.pups.other;
public class Puppy {
private String name;
private String breed;
private int age;
private int cuteness;
public Puppy(String name, String breed, int age, int cuteness) {
super();
this.name = name;
this.breed = breed;
this.age = age;
this.cuteness = cuteness;
}
pu... | ff6932cb026dce63dfc98874fb35e74cdc07cbae | [
"Java"
] | 2 | Java | LilyFinn/ClassWork | c0dcfcbe619dca39210a5d08fdf1ecd66c020436 | 844e7106de082aeffa7588ed30aa075a8aa6ae58 |
refs/heads/master | <repo_name>DionysiosB/VariousSnippets<file_sep>/uniquePermutations.cpp
#include <cstdio>
#include <iostream>
#include <cstring>
#include <algorithm>
int main(){
std::string input = "aac";
int length = input.size();
char * array = new char[length];
for(int k = 0; k < length; k++){array[k] = input[k];}
... | ee3d23a02e976a673aecebf8dfd209aa4f42239c | [
"R",
"C++"
] | 46 | C++ | DionysiosB/VariousSnippets | 3964cbdea02e842838be9bff8333b778be7ddf8d | ebebdcf7a203353b472434ddfa1db050f187af5f |
refs/heads/master | <repo_name>crownz/category-tree<file_sep>/src/app/dialogs/new-node/new-node.component.ts
import { Component, OnInit } from '@angular/core';
import {MdDialogRef} from "@angular/material";
@Component({
selector: 'app-new-node',
templateUrl: './new-node.component.html',
styleUrls: ['new-node.component.less']
})
exp... | 36fcdf47e746b17e7802ce7bb6ec3464d26e8ba6 | [
"TypeScript"
] | 12 | TypeScript | crownz/category-tree | 23f189a31c3101279f97bfc83eab28a5394c948f | 6e1286f95ca2670b4b90815e386df3af4a57ce77 |
refs/heads/master | <repo_name>bagobor/DeepSpace_OculusVR<file_sep>/Assets/game_code/Enemy.cs
using UnityEngine;
using System.Collections;
public class Enemy {
Vector3 pos;
float vel;
GameObject gameobj;
public Enemy(Vector3 _pos, GameObject _gameobj) {
pos = _pos;
gameobj = _gameobj;
gameobj.transform.position = pos;
vel ... | 67c9476328ffe3cb97bd26895ff20d82db7142bd | [
"C#"
] | 13 | C# | bagobor/DeepSpace_OculusVR | f9535991d6cd592cf4b43fbe20bc2f152189f16e | 3d4dcc873a80b930019960f117662ce95913442b |
refs/heads/master | <file_sep>// Business logic
function Places(placeName, time, landmarks, notes) {
this.placeName = placeName;
this.time = time;
this.landmarks = landmarks;
this.notes = notes;
}
Places.prototype.nameYear = function() {
return this.placeName + " - " + this.time;
}
// UI logic
$(function() {
$("form#plac... | 7597ed18fce6c4887bee5de3a5e576ef4599b7bf | [
"JavaScript"
] | 1 | JavaScript | saschultz/Places-Webpage | c9ff82c691cd6fcac4057dc4030940d4fc1d7d8a | aa715334cd90b8b69520d4588b31c898d795bcc2 |
refs/heads/master | <repo_name>trollguy22/skriptimine<file_sep>/praks5/yl11
#!/bin/bash
# 10 plussi trykkimine
for i in {1..10}
do
for i in {1..10}
do
echo -n "+"
done
echo
done
echo
# skripti lopp
<file_sep>/praks7/kujund2
#!/bin/bash
#
#kolmnurk
# ülemine pool
for((r=1; r<4; r++))
do
# veerud - tärnid
# tärnide arv algab 1-st
... | c22d5322ec5f4280295de12c19e57c0acbccc387 | [
"Shell"
] | 8 | Shell | trollguy22/skriptimine | 3fd1f32094ef941e5c399b11fe85168e7f995958 | 8c3923566d04530388d6845906e3e96ba3dbd5da |
refs/heads/master | <repo_name>heramerom/sample-swagger<file_sep>/template.go
package main
var templateModel = "// +build sample_swagger\n" +
"\n" +
"package sample_swagger\n" +
"\n" +
"type Info struct {\n" +
" Description string `json:\"description\"`\n" +
" Version string `json:\"version\"`\n" +
" Title strin... | 5d3a6e68fac5b5bd06be2ff746f344b28b5a059e | [
"Markdown",
"Go"
] | 19 | Go | heramerom/sample-swagger | 3858132f9bdb3de180c788b42e867db4d52a4ce1 | 9667cde8c9db58d43e46bec7db5e1c74332d1f07 |
refs/heads/master | <repo_name>UMD-SIVE-Lab/qesmpi<file_sep>/src/utils/include/population_gen.h
#ifndef populationGenerator_h_1
#define populationGenerator_h_1 _1
#include<iostream>
#include "namedOptParam.h"
#include "population.h"
#include <map>
#include <fstream>
#include <vector>
#include <sstream>
#include "logger/logger.h"
using ... | 8878af5b69547b4ff82e09556bd532be24333b12 | [
"CMake",
"Markdown",
"Makefile",
"C++",
"Shell"
] | 53 | C++ | UMD-SIVE-Lab/qesmpi | 7076c8bdd8c3848a8a65078baba9a45b410299a1 | 211bf493c944199c41f93eac3124d567796f7872 |
refs/heads/master | <file_sep><?php
$cabecalho_title = "Produto da Mirror Fashion";
include ("cabecalho.php"); /*incuir o cabeçario*/
?>
<section id="main">
<!-- Conteúdo principal -->
<div class="container destaque">
<section class="busca">
<h2>Busca</h2>
<form id="form-busca" action="#">
<in... | 598ae5779678c141e4ade2a80632fc4ab9bc2fc0 | [
"Markdown",
"PHP"
] | 4 | PHP | matheusCalaca/Estudos | 86a08ddf3a972d68bb2d5b0334192697c39d76d4 | f025421e08600c6fa95f45758533956aa5a879ea |
refs/heads/master | <file_sep>KDDC="/data/deploy/recommender/shell/lib/kddc-1.0.0.jar"
path="`dirname $0`"
INPUT_PATH=$1
OUTPUT_PATH=$2
if [ ! -n "$INPUT_PATH" -o ! -n "$OUTPUT_PATH" ];then
echo 'Usage: ./UserProfileJob.sh INPUT_PATH OUTPUT_PATH '
exit 0
else
echo "INPUT_PATH: $INPUT_PATH, OUTPUT_PATH:$OUTPUT_PATH"
fi
$path... | d0d9ef47b450310880a5eb6054884b8636ff27c8 | [
"Markdown",
"Java",
"Python",
"Ant Build System",
"Shell"
] | 7 | Shell | huobao36/xueqiu | f2f8f19d719ae04117660b1b757bc8df0746fe01 | 65d33cc5a5d3b828acba8255810aec2b999551d8 |
refs/heads/master | <repo_name>erhnml/React-Redux-Movie-Searcher<file_sep>/src/components/form/Alert.js
import React from 'react'
import { PropTypes } from 'prop-types';
const Alert = (props) => {
const { message, bgColor, show } = props;
if(!show) {
return null
}
return (
<div className="alert" style={{background: `${bg... | 909910d70ab5f7260298000c1609db7e95e29431 | [
"JavaScript"
] | 10 | JavaScript | erhnml/React-Redux-Movie-Searcher | 9e0ab4179ef372c1209481889b3fdc08da4e61d1 | 493d3e21590d040230961e572740a2bb6280bb4e |
refs/heads/master | <file_sep>package com.vuclip.premiumengg.automation.subscription_service.tests;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.testng.annotations.BeforeClass;
import o... | 47cf5478bf86d8b961bf2966da29be42f74affe3 | [
"Java",
"Maven POM",
"INI"
] | 122 | Java | mayankbharshiv/systemTest-Vuclip | 023417522b18d6724086883114094bccc643a555 | 5cb192e4003056f8f6cd5ae630d057dfc35eb1e7 |
refs/heads/master | <repo_name>voltrb/volt-mongo<file_sep>/app/mongo/lib/mongo_adaptor_client.rb
module Volt
class DataStore
class MongoAdaptorClient < BaseAdaptorClient
data_store_methods :find, :where, :skip, :order, :limit#, :count
module MongoArrayStore
# Find takes a query object
def where(query = {... | d9bc2d0c00faad49a7d0cf2b02bd22c39b75d8a6 | [
"Markdown",
"Ruby"
] | 4 | Ruby | voltrb/volt-mongo | 8c6f90985929328edc54709cb849c171ed08b213 | 3e20fe98e39c177836e7bd934031cad9dcfd9a52 |
refs/heads/master | <repo_name>mackenzieTjogas/PurpleRun<file_sep>/402Proj/View Controllers/UserViewControllerEducation.swift
//
// UserViewControllerEducation.swift
// 402Proj
//
// Created by <NAME> on 1/29/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
class UserViewControllerEducation: UIViewController {
... | b51be05f4189e871228bdc45e926a4cef364be6b | [
"Swift",
"Markdown"
] | 8 | Swift | mackenzieTjogas/PurpleRun | 152e35061d8109072f87354d8793e80d3f2ffb96 | 705579f0ecede8261f2f1794e82d5af202f4b219 |
refs/heads/main | <repo_name>DougHess/DSA-Labwork<file_sep>/DSA_Midterm/src/QueueSLS.java
public class QueueSLS<T> implements ExtendedQueueInterface{
private Node<T> head;
private Node<T> tail;
protected int numitems;
public QueueSLS() {
head=null;
tail=null;
numitems =0;
}
@Override
public boolean isEmpty(... | 65999d6759a4f43dd959087f68e3d0f94d755be2 | [
"Markdown",
"Java"
] | 21 | Java | DougHess/DSA-Labwork | f971fa9eedc68f7eafc5ce37a997b718f4454311 | 55a5fff14fd9525dfcd6d51721f35490c95ad660 |
refs/heads/master | <repo_name>uwburn/not-found-express<file_sep>/README.md
# Not found middleware
A simple Express middleware to return `HTTP 404 - Not found` when no route matches the request.
### Usage
```javascript
var Express = require('express');
var notFoundExpress = require('not-found-express');
var express = Express();
expres... | 78780c7035b763377446be6c9e2f0d8b073fe866 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | uwburn/not-found-express | 3190370aab28abef8250821c52f7c34599adbf3c | 6fe4a70e97091cb7a7f6ed997113ef728ef258cd |
refs/heads/master | <file_sep>################################################################################
# Automatically-generated file. Do not edit!
################################################################################
USER_OBJS := ../Tools/googletest-release-1.7.0/make/libgtest.a
LIBS :=
<file_sep>/*
* Counter.h
*
... | d44c2a763b6e9095a2264e6f0084202f7fb24446 | [
"Markdown",
"Makefile",
"C++"
] | 4 | Makefile | essamabas/TestGTestCygwin | a662fe73272283f4ca18650f779607e4b47aaa9b | 8bdc9af80a0de66f8f8a277435044c9e2cd5678f |
refs/heads/master | <repo_name>anton1307/PO_const<file_sep>/PO_cosnt/Test Complete/Script/Unit1.js
function Test1()
{
TestedApps.WF.Run(1, true);
let form1 = Aliases.WF.Form1;
let splitContainer = form1.splitContainer1.SplitterPanel.groupBox1.splitContainer2;
let dataGridView = splitContainer.SplitterPanel.splitContainer3.Sp... | 145ea8234889176c15cbfbf64ba2870d54aa6492 | [
"JavaScript"
] | 1 | JavaScript | anton1307/PO_const | a19db64c7587a5a0d58578656ab1b28d0416f5c8 | ba1c6b13aebfbf984e35fa3600b170bd0c922b44 |
refs/heads/master | <file_sep># Ordometry
Ordometry robot with error correction. Using an MD25 library.
Have fun using, tweaking, improving on this code. It took me a while to get the error correction but I could have also used
arduino's PID library. However a friend of mine tried this and it never came to fruition due to the difficulty ... | f887f2e59184913b8d33d67b1a2908ca3c25b14d | [
"Markdown",
"C++"
] | 2 | Markdown | lvh1g15/Ordometry | 42f94003803df5d9aac69a175edd24559adb45e0 | b9f61ad2741b6ccab1d2dde3543bc7d41eb2ee51 |
refs/heads/shirhatti/docfx | <repo_name>shirhatti/EntityFramework.Docs<file_sep>/samples/Miscellaneous/Internals/WritingAProvider/EntityFrameworkCore.RelationalProviderStarter/Query/ExpressionTranslators/Internal/MyRelationalCompositeMethodCallTranslator.cs
using Microsoft.EntityFrameworkCore.Query.ExpressionTranslators;
using Microsoft.Extensio... | 1abd8b5489dba6f762127c8938446e5fd20aac29 | [
"Markdown",
"C#"
] | 124 | C# | shirhatti/EntityFramework.Docs | 8ba0d19894dd1b27cde9f3b5ecb1c7fe2c51dfff | 8a35d7de59cbf80ea2c85ae655114987025ad1f3 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab10Alt
{
class Car
{
private String make;
private String model;
private int year = 0;
private double price = 0.0;
... | 9e5adb96e59865eccf30629ebdd021c9ebc52e14 | [
"C#"
] | 4 | C# | JacobSnover/LabAlt10 | dfd76091614d12104fb2e824cf100802d1c7bbb1 | 4711319676f898b353263f0539fd478559f15d97 |
refs/heads/master | <repo_name>Etison/github_plugin<file_sep>/README.md
# Github Plugin
This plugin moves data from the Github API to Google Cloud Storage based on the specified object.
## Hooks
### GithubHook
This hook handles the authentication and request to Github. This extends the HttpHook.
### S3Hook
Core Airflow S3Hook with the s... | e090ec7396217a6550409b8fa175e2774754a132 | [
"Markdown",
"Python"
] | 2 | Markdown | Etison/github_plugin | 6741c30fdb44cfe919a65ee7879b2632edc1f3a4 | 71ce9bdc852eb0d05ba20db52300ff06055a0de7 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Frontera;
import Entidad.Sistema;
import Entidad.Usuario;
import java.util.ArrayList;
/**
*
* @author Hp
*/
publ... | f60c2d4f02bc27f40a22888cea9810ec26b86211 | [
"Java"
] | 1 | Java | dlopezav/LoginApplication | 052aed4521f23b9f820e3248aee3be9c10dc266e | 10dd600aa6eef80bd650fc947d9622b61bc1b595 |
refs/heads/master | <repo_name>Chant-Lee/learn<file_sep>/vue-webpack/docs/static.md
# 处理静态文件
您将注意到在项目结构中,我们有两个静态资源目录:src/assets和static/。它们之间有什么区别?
### Webpacked
To answer this question, we first need to understand how Webpack deals with static assets. In `*.vue` components, all your templates and CSS are parsed by `vue-html-loader` and... | 6eb3074b3f46720f7cd80c480c94d25e2611d9cf | [
"Markdown",
"JavaScript"
] | 58 | Markdown | Chant-Lee/learn | c8d0bd45a1b163625a55e7225d64d090e7c6b332 | 1a465cc4417abcb320de6fecbd1f74aca8162603 |
refs/heads/master | <repo_name>Tommas10/Merge-two-Microsoft-Word-docx-file-into-one-docx-file-with-Python-script<file_sep>/mergetwodocx.py
#!/usr/bin/env python
# This is small automation to merge two Microsoft Word docx file with Python.
# Created by <NAME>.
#python-docx is a Python library for creating and updating Microsoft Word (.d... | 0c2964409eb9bf3521276832f7c01bd4faf1add4 | [
"Python"
] | 1 | Python | Tommas10/Merge-two-Microsoft-Word-docx-file-into-one-docx-file-with-Python-script | c90b89d8217c532633e7026feec62dcdcaee7fcc | 78dd88ac39355b2f7cbcedee36e4f0d8b41db8c7 |
refs/heads/master | <repo_name>chuan1900/algorithm_practice<file_sep>/math_tag/com/countOne.cpp
#include<iostream>
using namespace std;
int count2(int n);
int main(void)
{
int x = 13;
cout<<count2(x)<<endl;
return 0;
}
//解法二:
int count2(int n)
{
int count = 0;//统计变量
int factor = 1;//分解因子
int lower = 0;//当前处... | ec4e8b9e874b096cd5858946aa034769595705d9 | [
"Java",
"C++"
] | 8 | C++ | chuan1900/algorithm_practice | 3f17d6d9189802bccc03556ce06a8339659f2c69 | 295d7b226fbd2dce822eb76cee6deea4a7bd3b8e |
refs/heads/master | <file_sep>#include <iostream>
#include <cstdlib>
#include <ctime>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
const int SuitNum = 4;
const int FacesNum = 13;
int CardNum = 0;
string card = "";
int gameMode;
bool gameContinue ... | fd405487889d045e8aab72e48dc910449d1fe7f6 | [
"C++"
] | 1 | C++ | kevinfair1/DeckOfCards | f9492f5acc39cf72bcc11e6a36df3912f6019e5f | 2f01bb7f25b01451596ea139af05551d423ac350 |
refs/heads/main | <file_sep>import typing
from Options import Choice, Range, Option, Toggle, DefaultOnToggle, DeathLink
class Logic(Choice):
option_no_glitches = 0
option_minor_glitches = 1
option_overworld_glitches = 2
option_hybrid_major_glitches = 3
option_no_logic = 4
alias_owg = 2
alias_hmg = 3
clas... | a8fc7cc0f64571ddcb4d78278f9aa166a74038e5 | [
"HTML",
"Lua",
"Markdown",
"JavaScript",
"Python",
"Text"
] | 104 | Python | adampziegler/Archipelago | 6b0b78d8e07d275aceead3f5a1890eac5f153bf0 | 8d10ad309e8e3e71fc008d692b3fb1efc6f6ce6a |
refs/heads/main | <file_sep>import os
def edit_file(text_path):
with open(text_path, 'a', encoding='utf-8') as f:
f.write('hello diaa') | 6bff2aac43f507e0c0b78b4e8fd70e2cb25b2785 | [
"Python"
] | 1 | Python | naderessam110/bla-bla | 2fff8dba6e5d4fa4c31765a1b52c3a1f1a1fbf7d | 1de71d75f44accda7be459899668f69d66cbe0ea |
refs/heads/main | <file_sep># SPM
Code and models discussed in the paper "Stringer-Panel Model for Analysis of Building Diaphragms"
Code folder
- Includes all of the files and information related to the code of the StringPanelLin
Model folder
- Includes all of the files for the creation of the model discussed in the paper referenced a... | a9950aa945b82dd736c2b90b4ff71dc29938b4b6 | [
"Markdown",
"C++"
] | 3 | Markdown | SGodinez92/SPM | 65d6ed599ad79efdeb1fd9f5eded033244704501 | 581c1ec433bf29868b990cf34e8cfcd1f82c015a |
refs/heads/master | <file_sep>from __future__ import print_function
import openravepy
import prpy.util
import unittest
import os # environ, path
import subprocess
import sys # stderr
import numpy # allclose, zeros
# Add the models included with OpenRAVE to the OPENRAVE_DATA path.
# These may not be available if the user manually set t... | 95b392061287b5464c619f8de4bf6057afaac836 | [
"Markdown",
"Python"
] | 4 | Python | athackst/prpy | 1a1a08688e1ae8424c7ae541399a0329401406dd | f8723c0953066871883682fc62af8281e79546f4 |
refs/heads/master | <repo_name>icc3101-201920/laboratorio-06-Anchor9<file_sep>/Laboratorio_5_OOP_201902/Visualization.cs
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.IO;
using Laboratorio_5_OOP_201902.Cards; // asi puedo llamar a cards
namespace Laborato... | 19b085f89dd2c40be10b43a4e7e817ee44b7d611 | [
"C#"
] | 1 | C# | icc3101-201920/laboratorio-06-Anchor9 | 3b5c5f01882ffcdcd289199078858f9e5826b96d | 405a65414ce57cc9128ef2bbaf8dd69f914ba4ec |
refs/heads/master | <repo_name>Warrior-47/File-Share<file_sep>/File Share/src/file/share/Client.java
package file.share;
import java.io.*;
import java.net.*;
public class Client {
public static final String ANSI_RESET = "\u001B[0m";
public static final String ANSI_GREEN = "\u001B[32m";
public static void ... | 2d6dd81b305f7cfe2cf0289df8fac9f5f6c24734 | [
"Java"
] | 1 | Java | Warrior-47/File-Share | f5c3fa0055e182d7b4682c1e94150a7533aa9ce8 | 37d8c58e31ab78f857f5a242b819181a138405f7 |
refs/heads/master | <repo_name>ColleenWoolsey/building-component-function<file_sep>/README.md
# Student-Components
PRACTICE EXERCISE
1. Created 3 different functions to add h1, section, and aside elements with a given css class inside an article container to display student name, course and comment info.
EMPLOYED ${} SUBSTITUTION
2. Used... | 0d1dba23e4599406edc882616704bda01d422b78 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ColleenWoolsey/building-component-function | 6070a0834b19e236f68374676988bac15b9bba46 | 684361eb7c847ba608f421315127ecd30b098161 |
refs/heads/master | <file_sep>package com.coldradio.benzene.library;
import android.graphics.Bitmap;
import android.text.Spanned;
import com.android.volley.Response;
import com.coldradio.benzene.compound.Compound;
import java.util.List;
public abstract class CompoundIndex {
final public int searchID;
final public String title;... | 6cc5ce522e58902210996638d1c987826032877c | [
"Markdown",
"Java"
] | 54 | Java | ktnslt/benzene | 3f810f37621044c91ded2e3b112f8ee056368d99 | 3a703a2aba6cd1f5ec7e2fded4624c3998d6aca9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.