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>shouchangfayi/mvc<file_sep>/Mvc.Web.Android/Controllers/BookController.cs
using Mvc.Web.Android.Helper;
using Mvc.Web.Android.Models.Book;
using NapiService;
using NapiService.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Mvc.Web... | b72252d8cef12eddbd5734cb7d4aabb8431730cb | [
"JavaScript",
"C#"
] | 22 | C# | shouchangfayi/mvc | 6e454a65f7fe1a4364986c74d3762c2a5cbbfb7a | 1c22592e0a89cbc00a075addce12cc05d3fbba47 |
refs/heads/master | <file_sep>package com.twu.biblioteca;
import org.junit.Test;
import static org.junit.Assert.*;
public class MovieTest {
@Test
public void testToString() {
Movie movie = new Movie("The Mooovie", "<NAME>", "2014", "10");
assertEquals("The Mooovie\tCow, Arthur\t2014\t10", movie.toString());
... | 6e8129567f078c8778837522a4df7a8db300a9d7 | [
"Java"
] | 6 | Java | mmbarnett/twu-biblioteca-michael-barnett | fbc9359bb177f5c6db76d16cc50f76f8aed15317 | 82567c41c3239478f9e28d36994b574a5263ec27 |
refs/heads/master | <file_sep># The following lines were added by compinstall
zstyle ':completion:*' completer _complete _ignored _correct _approximate
zstyle ':completion:*' max-errors 2
zstyle :compinstall filename '/home/mmcfadden/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-new... | 30c06e0cfa22a83d8630ab0cce993bb42c587525 | [
"Shell"
] | 3 | Shell | 3daughterdad/dotfiles | 9853829a3fe3b7e56a45f57bd172d76c5dd10091 | 987993ad62c97723be40a6b05e2f285bc14f98f8 |
refs/heads/master | <file_sep># nu
Go Library for scraping NU.nl RSS feed to JSON output
> XML is crap. Really. There are no excuses. XML is nasty to parse for humans, and it's a disaster to parse even for computers. There's just no reason for that horrible crap to exist. - <NAME>
##Example
```go
package main
import (
"fmt"
"github... | 17132618fa92824731d898b851df469164ba484e | [
"Markdown",
"Go"
] | 5 | Markdown | Rivalo/nu | a4026455b16ae2c2fd1ea8921cae8eb30a28bbb1 | 413e8ca9115f8643b025a97edda9069d341eecab |
refs/heads/master | <repo_name>kovalchuk-mykhailo/test-schedule-app<file_sep>/src/selectors/index.js
import { createSelector } from "reselect";
import { STATUS_BOOKED } from "../constants/LessonStatus";
export const scheduleSelector = (state) => state.scheduleData.schedule;
export const lessonsSelector = createSelector(scheduleSelector,... | 4ae747a573f92056e0c7675924b37ab9a60f04b0 | [
"JavaScript"
] | 11 | JavaScript | kovalchuk-mykhailo/test-schedule-app | 466658980a675c88c0e2b4cac98af5579090542b | 2ffd3b0e8d4e5f997623f294fa849f1d20172f03 |
refs/heads/master | <repo_name>resocie/lab-20160303-Processamento-da-Coleta<file_sep>/processadordetweets.py
import re
f = open("collect_foradilma-20151216.txt")
# r = "on_data"
# r = "\[on_data\] \{\"created_at\":\".{3} .{3} \d\d \d\d:\d\d:\d\d \+\d{4} 2015\",\"id\":(\d*),\"id_str\":\"\d+\",\"text\":(\".*?\"),\"source\":"
r = "\[on_dat... | edead7140bd61f90c9b9105ccc0961c228bb87a2 | [
"Python"
] | 1 | Python | resocie/lab-20160303-Processamento-da-Coleta | 88a366fc2f0112667a260cd752dd86897dd7de0f | 322db74060806bc0dc11c0c17d5a00371adf7bef |
refs/heads/main | <repo_name>TaniaVarduca/Lucrari-licenta<file_sep>/ContinutTabel.java
package View;
import Controller.*;
import Domain.*;
import Repository.*;
import java.text.DecimalFormat;
import java.lang.reflect.Array;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
public class Conti... | d846e92cd49f02f3756ee42d6fa988c2ba727048 | [
"Markdown",
"Java"
] | 8 | Java | TaniaVarduca/Lucrari-licenta | af1e94521e7feb8b46efa47ca3da028f44b25eeb | 624c66c216b7dae02c822c6d035a371c9f7febf2 |
refs/heads/master | <file_sep>/**
* Created by <EMAIL> on 05.05.16.
*/
package com.vsu.nil.widgets
import java.awt.Dimension
import java.awt.Graphics
import java.util.*
import javax.swing.JComponent
import kotlin.concurrent.timer
fun TouchPanel.button(func: TouchButton.() -> Unit = {}) = addTouchableChild(TouchButton(), func)
class ... | 65c04ae4128ce93fde4f380613f1d2bab9984f21 | [
"Markdown",
"Kotlin"
] | 9 | Kotlin | osspike/Natural-Interaction-Library | e7a0a2abb5802cbb3e2a335c4066399dd7e18cc2 | 68826262fcfd4031bb886b3ff772bc65f0d31d66 |
refs/heads/master | <file_sep># kawaiifrutas
[Edit on StackBlitz ⚡️](https://stackblitz.com/edit/kawaiifrutas)<file_sep>import { Component, EventEmitter, Input, Output } from '@angular/core';
export type Fruta = {
nombre: string;
cantidad: number;
precio: number;
};
@Component({
selector: 'app-carta',
templateUrl: './carta.com... | 6d823101e82991c08dbbe16038da91373b5c2980 | [
"Markdown",
"TypeScript"
] | 5 | Markdown | Natguesan/kawaiifrutas | 80a4866dadd2c572fe056fcd1eefd6255492ee20 | 6eec6a929dd00cb42251a2c1593574de3b94d363 |
refs/heads/master | <repo_name>ejoftheweb/Minigmand<file_sep>/app/src/main/java/uk/co/platosys/minigma/utils/XMLUtils.java
package uk.co.platosys.minigma.utils;
import org.jdom2.Document;
import org.jdom2.input.SAXBuilder;
import org.jdom2.output.XMLOutputter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
im... | ff4540fd7335a6e2cb70ddbb22d11df819471055 | [
"Markdown",
"Java",
"Gradle"
] | 27 | Java | ejoftheweb/Minigmand | 1c81e0613299898c0c5535bbbc4b7ff627e7e963 | 33faa6412c4f98866de054255abe76e178711a63 |
refs/heads/master | <repo_name>proyecto-galeria/proyecto-galeria-backend<file_sep>/controllers/instruction-controller.js
var InstructionModel = require('../models/instruction-model')
function findAll (req, res, next) {
InstructionModel.find({}, function (err, users) {
if (err) console.log(err)
res.send(users)
})
}
function cr... | 868e307e425ceb8575db60dcc0d5bacec02bed86 | [
"JavaScript"
] | 3 | JavaScript | proyecto-galeria/proyecto-galeria-backend | aaf2bc243adade41c946b66e6d447b95ce559955 | 90fde11e4d4975a6bf9ce5368933c3dcfaaa50aa |
refs/heads/main | <repo_name>jscubillos5/Prueba-NUVU<file_sep>/FRONTEND/src/classes/Person/Person.spect.ts
import { Person } from 'src/classes/Person/Person';
describe('Person', () => {
it('should create an instance', () => {
expect(new Person()).toBeTruthy();
});
});
<file_sep>/FRONTEND/src/services/Person.service.ts
i... | 3a942eb3f33ae72cab546fe0506db8f44992ddf4 | [
"Java",
"TypeScript"
] | 14 | TypeScript | jscubillos5/Prueba-NUVU | 7a02e06b08c9e7863bff6cd75b5eca4005ce8891 | 100fcf17e6dbd58df6fee921538f6c93eccec58e |
refs/heads/master | <repo_name>DisaDisa/homework2<file_sep>/app/src/main/java/ru/ifmo/droid2016/tmdb/loader/MovieLoader.java
package ru.ifmo.droid2016.tmdb.loader;
import android.content.Context;
import android.content.res.Resources;
import android.support.v4.content.AsyncTaskLoader;
import android.util.Log;
import com.facebook.stetho.u... | 909c820b91a766bdf7640f4f62db0da77104170a | [
"Java"
] | 1 | Java | DisaDisa/homework2 | a732f430a1c1fcbd0631d08989555bad3ee8db4d | 33257d6c018fce9627049027ed9d0a46e1773df4 |
refs/heads/master | <repo_name>imamrdn/presenceClassA-formProject<file_sep>/data.php
<?php
echo "<h1>Presensi<h1>";
$fp = fopen("data.txt", "r");
echo "<table border=1 width=70%>";
echo "<tr><th>Nama</th><th>NIM</th><th>Email</th><th>Kelas</th><th>Alamat</th></tr>";
while ($isi = fgets($fp)){
$pisah = explode("... | b4bdb0496d9a70a0f6e5e7c0f76d60ded48062b5 | [
"PHP"
] | 2 | PHP | imamrdn/presenceClassA-formProject | af40545b63efa5ff9504c6d0ab232b6d370a0473 | 11de3c46f7a524676eb4b90937121aa5d2f948e0 |
refs/heads/master | <file_sep>NetworkX_Samples
================
Sample codes of Network X (Python)<file_sep># -*- coding: utf-8 -*-
import numpy
import matplotlib.pyplot as plt
import pylab
import networkx as nx
#############################################
## ここからリンク関係
# リンク情報のみを反映させたグラフを作成
# int型を指定しないとノード名(ラベル)を単純な数値にしてくれない
G = nx... | 7c9e5fbc5a0a28c8cc42220a88e65357605146f9 | [
"Markdown",
"Python"
] | 2 | Markdown | mkacky/NetworkX_Samples | 4f825791e291871c11c34e54e0d7b1b83a0dc9f3 | 14c48453244ba30058b1866c29ca61c86e40f924 |
refs/heads/master | <repo_name>0xPr0xy/soundcloud-cli<file_sep>/urwid/widget.py
#!/usr/bin/python
#
# Urwid basic widget classes
# Copyright (C) 2004-2011 <NAME>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Sof... | 91864def4740905b5345998038866c88c74b86ee | [
"Python",
"Text"
] | 10 | Python | 0xPr0xy/soundcloud-cli | b4ba1d00455b47405db44229d89e29bdcb4f9e1e | b1ba009092c1d6ae46d825725d673f30ab0fb8cb |
refs/heads/master | <repo_name>MoeMustafa/marketplace<file_sep>/src/app/products/product-list/product-list.component.ts
import { Component } from '@angular/core';
@Component({
selector: 'mp-products',
templateUrl: './product-list.component.html'
})
export class ProductListComponent {
pageTitle = 'Product List';
imageWidth = 50;
... | 239ed2eb65af546512c8069a68459e9ab5d24a24 | [
"TypeScript"
] | 1 | TypeScript | MoeMustafa/marketplace | 35073f218f19aadd4bfb664277b08befb32c24d2 | 9f13d12052e8ad1d76c75e2d4b583a2b40b2fe60 |
refs/heads/master | <repo_name>haresh-ram/firstChess<file_sep>/firstChess/src/main/webapp/sign.js
/**
*
*/
function openSignUp(){
cleanFields();
textfocus();
document.getElementById("outerBox").style.cssText="display:none";
document.getElementById("outerBoxSignUp").style.cssText="display:flex";
}
function closeSignUp()... | aaa1c9adcd92c2315548a1e7c166246154d8024c | [
"JavaScript"
] | 2 | JavaScript | haresh-ram/firstChess | 55283a0049e94d95fe47618562535d40f85fcaa5 | 8b1cae3889555bc4c41703dcc6970d40c8893354 |
refs/heads/master | <repo_name>e-be-walk/anagram-detector-v-000<file_sep>/lib/anagram.rb
# Your code goes here!
class Anagram
attr_accessor :word
def initialize(word)
@word = word
end
def match(matching_words)
anagram_words = []
word_sorted = @word.split("").sort.join
matching_words.each do |words|
words_so... | 6a051c63ec274ac091e3ebf729499eef0c996df6 | [
"Ruby"
] | 1 | Ruby | e-be-walk/anagram-detector-v-000 | 01e748cbd7632bc039a1316cecfcde4c86d850cd | 00af44b0ffd47728e1e171414f749072d6b046dd |
refs/heads/master | <repo_name>fahimc/SpriteJS<file_sep>/src/main.js
(function(window) {
function Main() {
if (window.addEventListener) {
window.addEventListener("load", onLoad);
} else {
window.attachEvent("onload", onLoad);
}
}
function onLoad() {
Canvas.beginFill(document.body);
// Canvas.drawLine(1000,0,10... | af2bbfad222fab46ca3d80c76d953b71864c4082 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | fahimc/SpriteJS | 4447577e6d8b12d8e16772f0e6d939269f0cbbef | 9a7ab6c57079792e9801d5325310ba04ccc91406 |
refs/heads/master | <file_sep># Based on https://git.io/fjkGc
# The full path to the main package is use in the
# imports tool to format imports correctly.
NAMESPACE = github.com/xorcare/caiman
# The name of the file recommended in the standard
# documentation go test -cover and used codecov.io
# to check code coverage.
COVER_FILE ?= co... | 1678684a7f9ffe2b3185b4bd9d575684f7b4a5f0 | [
"Go",
"Go Module",
"Makefile",
"Markdown"
] | 9 | Makefile | xorcare/caiman | b41606a45027a367784969af7fe05fbe8ebc5ddd | 0c689454656a46bf9c1ff1d4a35c3707e4c089b5 |
refs/heads/master | <file_sep>#!/usr/bin/python
####################################
# +++++++++++++++++++ #
# EventbriteMonitor #
# +++++++++++++++++++ #
# Author: CuPcakeN1njA #
# ++++++++++++++++++++ #
####################################
"""Usage ==> EventbriteMonitor.... | 3e57a424315d5f9f2b9ed901b0d9767469082a9b | [
"Markdown",
"Python"
] | 2 | Python | unknwncharlie/EventbriteMonitor | e711dae0141074db3ff2a249fd29bfabeb27f39d | b1e2895a2022e69c0ff58e991fb25ad9c811978a |
refs/heads/master | <file_sep>/* global $, _ */
(function (common) {
'use strict';
// Constants used in this file
const CONSTANTS = {
// Classes that are added by this extension
classes: {
decorated: 'js-tcnce-decorated-number',
polling: 'js-tcnce-polling'
},
// Selectors used by this extension
selec... | dfaf1c17a22d9f43d895bf7e4a034669199242e2 | [
"JavaScript"
] | 1 | JavaScript | hal313/trello-card-numbers-chrome-extension | 550e941bf9301bd09d352969ce94522e3bf462a9 | 1ed28c7ea11eea56bafe3a07c38c7e4a20f27275 |
refs/heads/master | <file_sep>package algs.multi
import algs.AbstractAlgorithm
import containers.AlgorithmDataContainer
import containers.DataContainer
import func.GlobalFunc
import func.Vector
class StepDivideMethod: AbstractAlgorithm() {
override val algName: String get() = "Метод дробления шага пополам"
override val required... | ed4c134ee1f5aed7e9256bfad7a26bd45c8862df | [
"Kotlin",
"Gradle"
] | 12 | Kotlin | trokhinas/MO-2 | bf2458dca5d6faa866c860b9a92da93ae8159a0b | 5d9bdb2151cd8db66c96d767c026d41179669e1e |
refs/heads/master | <file_sep># gamelist-app
a CRUD made with MERN stack

<file_sep>const {Router}= require('express');
const {getGames, createGame, getGame, deleteGame, editGame} = require('../controllers/gamesController');
... | e02a3bd1c50df0012b25de5b9322efcf0ced6931 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | rtagliaviaz/gamelist-app | da8760d94968e01a62821a9120d99226bd69c154 | a696cf5f5847bbb32896e31051a0a00ad2214006 |
refs/heads/master | <repo_name>lusen82/ProgrammingAssignment2<file_sep>/cachematrix.R
## These two functions cooperate in providing a cache construction for presenting
## the inverse of a matrix. If the inverse is already calculated, that value in the
## environment will be used. The cache can be cleared and reset on request.
## This fun... | 6c6f1ac86a39f499a1e87a96d6b66d028ea863e7 | [
"R"
] | 1 | R | lusen82/ProgrammingAssignment2 | 96bbf200bb84549935975a2fd920a3fde2dd6fb4 | 38952af9b0496e55292cc31c242e888c8b6b420d |
refs/heads/master | <repo_name>drewnewell/tic-tac-toe-challenge<file_sep>/game/static/js/app.js
'use strict'
const wsClient = new WebSocket("ws://localhost:5000/listen")
class Users extends React.Component {
handleNewGame = (userId, event) => {
fetch('/api/games', {
credentials: 'include',
method: 'PO... | e395fbab4ae028599715f6045dbf765b6ea4d8b8 | [
"JavaScript",
"Python"
] | 2 | JavaScript | drewnewell/tic-tac-toe-challenge | 1fa0966e11c62f2d2a64393ebf022c6ae8578880 | 9eb7cccfe706898132aaa534c752155c9a7f4a89 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Inventory : MonoBehaviour
{
List<Items> itemList;
public Inventory()
{
itemList = new List<Items>();
Debug.Log("Inventory");
}
}
<file_sep>using System.Collections;
using System.Colle... | 261c38c18eb84cd3a8752239c368a36c1117e4b3 | [
"Markdown",
"C#"
] | 7 | C# | taamtera/NewUnityProject | 372870f6eccd7aa754816b1a7f1c40ea379aaa73 | 139b9d1d5c4624da89428fbc842b1dc5b820c9e2 |
refs/heads/master | <repo_name>sjm00010/VetUJA<file_sep>/src/main/java/com/vetuja/controladores/ControladorCita.java
package com.vetuja.controladores;
import com.vetuja.DAO.CitaDAO;
import com.vetuja.clases.Cita;
import java.io.Serializable;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import ja... | e512776308eea3e1cefabe7ffc6e68d8da2302a0 | [
"JavaScript",
"Java",
"Markdown"
] | 12 | Java | sjm00010/VetUJA | 113f2b65de863ddcbf736e233b6a0203c9a60f22 | abeb9b809174c06d2667255881e3cb61e5edc062 |
refs/heads/main | <file_sep>from pytube import YouTube
link = 'put your link here'
video = YouTube(link)
# vidoe quality will be 720p
video.streams.get_highest_resolution().download(output_path="put the output location")
# video quality will be 360p
video.streams.get_highest_resolution().download(output_path="put the out... | 9424654608fa073973d4efdc21eb7a21975f144d | [
"Markdown",
"Python"
] | 3 | Python | MTaherr/Youtube-Downloader.mp4 | 9476aa229886e87a60df13c1ff36df9b090410bc | 87fe598dfd5c040b449220086ecfdf15107ecf8d |
refs/heads/master | <file_sep>from sklearn import decomposition
from matplotlib import pyplot as plt
import tensorflow as tf
import autoencoder_mnist as ae
import argparse, input_data
import numpy as np
# model-checkpoint-0349-191950
def corrupt_input(x):
corrupting_matrix = tf.random_uniform(shape=tf.shape(x), minval=0,maxval=2,dtyp... | 5c19dce940b6173f51dd1c9180b43fe2127df3bc | [
"Python"
] | 1 | Python | aei0109/DAE | 41b4f171dfe602286255cf462b5438b43e2abea7 | 3a4e45d2732fb043b53465eeae25f88852f202fe |
refs/heads/master | <repo_name>Mikea15/Minerals<file_sep>/Minerals/MineralEntity.h
//
// MineralEntity.hpp
// Minerals
//
// Created by <NAME> on 27/09/15.
// Copyright © 2015 SkyBelow. All rights reserved.
//
#ifndef MineralEntity_hpp
#define MineralEntity_hpp
#include <iostream>
#include <string>
#include <cmath>
#include "GameOb... | 5dbcdeb1d5959e8102f7c852d22c00bff05b613a | [
"Markdown",
"Text",
"C++"
] | 18 | C++ | Mikea15/Minerals | 4eaca22f8b4a23ed258e2b034abc5ab17577c545 | b56bee05cb0ecfbf6e3931345020bfd17a6583fb |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {ChoixComponent} from "./choix/choix.component";
import {PredictionComponent} from "./prediction/prediction.component";
import {GrapheComponent} from "./graphe/graphe.component";
import {AideComponent} fro... | 2a00648ffd31671cd3219fe8d0664bb512ba019b | [
"TypeScript"
] | 2 | TypeScript | tarik-guit/projet_semestre_s5_frontend | 6d7ec50a21186c46265bda9752bfab2950461bd7 | 95d1b5392323653016b1be0bcccec7f494ebf140 |
refs/heads/master | <repo_name>znematoadz/todoApp<file_sep>/README.md
# todoApp
A simple todo list app created using React.
Try it out <a href="https://znematoadz.github.io/todoApp/">Todo List App</a>
<file_sep>/src/App.js
import React from 'react';
const TodoForm = ({addTodo}) => {
// input tracker
let input;
return (
<di... | 735b1d4ba122aa5f3b8a853a304640441c4f6a56 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | znematoadz/todoApp | 6a3a52456d60274644b55a66bb2cf6d789e2d485 | 928d70abc6047036c3538e9b7b9dd525d11fd60f |
refs/heads/master | <file_sep>all: docs
docs:
npx jsdoc -r -c jsdoc.json -d doc --verbose --pedantic . README.md
lock:
rm -r node_modules || true
yarn install
rm -r node_modules
pnpm i
clean:
rm -r doc
<file_sep># Trustedkey Javascript SDK
[](https://circ... | 6072195b6d6744e0386a633c928d14ae4b495ffe | [
"Markdown",
"JavaScript",
"Makefile"
] | 12 | Makefile | trustedkey/trustedkey.js | edf2f23ac490aae6ae4cbf26b46b2893489adb37 | f655ad5868898d7fef25ed4053eceb7882739f25 |
refs/heads/master | <file_sep>var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var Map = require('collections/map');
var MultiMap = require('collections/multi-map');
var INT_MAX = 1000000007;
app.use(express.static(__dirname + '/'));
app.use(bodyParser.urlencoded());
app.get('/',function(re... | 5d1ebe502481a7ead4ba22b0fc4d81ee9d657e1b | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ActionSeeker/GraphJS | 5f0293ba8228b2797ab6494e082ac1440bf80f17 | 9373bbf0eaba3828bd931b30bc8b41af15e8d9d1 |
refs/heads/master | <repo_name>edwincarlson/RoundCaddy<file_sep>/public/js/services/SessionService.js
angular.module('SessionService', []).factory('Session', function($rootScope, $location, $cookieStore, socket) {
var login = function(user){
var currentUser = $cookieStore.get('user');
if (currentUser != undefined){
... | 79f72cc6ab2fce97877cb2cf1d4dc5ee1c34fb9a | [
"JavaScript"
] | 6 | JavaScript | edwincarlson/RoundCaddy | d1b4f9cf4b0778f95b331f50ab09e8efb7a300e9 | a8cc8240142b403f26272382e134eb8cedf8272f |
refs/heads/master | <repo_name>thesekcy/NovoSiteEW21<file_sep>/ew21/app/Http/Controllers/TrabalheController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class TrabalheController extends Controller
{
public function index(){
return view('trabalhe-conosco');
}
public function enviar(Request ... | 19d1af7f0329204ae34e98aa990756e4be218f2b | [
"PHP"
] | 6 | PHP | thesekcy/NovoSiteEW21 | 7b460b8765a910cf088892838af41ad2cb0e043c | fb5c67d2f480dedb1844f7c2ac63585a5016772f |
refs/heads/master | <file_sep>from blox import AttrDict
from blox.torch.modules import DummyModule
from gcp.evaluation.evaluation_matching import DTWEvalBinding, BalancedPrunedDTWBinding, BalancedEvalBinding
class TreeDenseRec(DummyModule):
def __init__(self, hp, *_, decoder, **__):
super().__init__()
self._hp = hp
... | 0179aa7d1a6ea99f6191e596e23a4ac900de979f | [
"Markdown",
"Python",
"Text"
] | 68 | Python | Douxation/video-gcp | 4608a543fe60c550363de864be7a38c4f663836a | 562aa10caf68fe6fe0bd53a5989e95746de3c93c |
refs/heads/master | <repo_name>samueljaval/simple-blackjack<file_sep>/simple_bj.py
'''
Has to be run with python3, will not function properly
with python2.
'''
import random
import sys
#SIMPLE HELPER FUNCTIONS ###################################
def deal_cards(cards, nb):
deck = [1,2,3,4,5,6,7,8,9,10,10,10,10]
i = 0
while i... | f2478fe7edc09789dc6f49307b810d6c5df8d0d7 | [
"Python"
] | 1 | Python | samueljaval/simple-blackjack | 2c7b6a8f711ce300d424e30c9330479aa2a97175 | 28acf76be1d01b479f8de59d531975658703a88a |
refs/heads/master | <file_sep>require "novaposhta/api"
require "novaposhta/city"
require "novaposhta/order"
require "novaposhta/warehouse"
require "novaposhta/parsers/city_parser"
require "novaposhta/parsers/close_parser"
require "novaposhta/parsers/order_parser"
require "novaposhta/parsers/warehouse_parser"
module Novaposhta
def sel... | eead6786435fac901875ff9edc521ca675b38b2d | [
"Ruby"
] | 10 | Ruby | azomazo/novaposhta-api | 37f73117a9ec1c33c57bdcc08925a8a84ad0ef56 | feba079ae517efffbeee564b836fe0561838936a |
refs/heads/master | <repo_name>folengo/ufo2ft<file_sep>/Lib/ufo2ft/__init__.py
from __future__ import print_function, division, absolute_import
from ufo2ft.kernFeatureWriter import KernFeatureWriter
from ufo2ft.makeotfParts import FeatureOTFCompiler
from ufo2ft.markFeatureWriter import MarkFeatureWriter
from ufo2ft.otfPostProcessor impor... | 5bd9bf8bcd39deb10b13ed9c6898339ad41ac158 | [
"Python",
"Text"
] | 4 | Python | folengo/ufo2ft | 37242fe9ad6b10963f3c4d5feeddb44d5079276e | b63ecedf7117464cdf0fbb267be6ef298a451ebb |
refs/heads/master | <repo_name>lewdawso/gpu-bot<file_sep>/config.toml
[[products]]
name = "6800 XT"
urls = [
"https://www.ebuyer.com/1138835-xfx-radeon-rx-6900-xt-16gb-merc-319-black-graphics-card-rx-69xtacbd9",
"https://www.ebuyer.com/1137015-msi-radeon-rx-6800-xt-gaming-x-trio-16gb-graphics-card-rx-6800-xt-gaming-x-trio-16g",
"http... | 77a339e01d81d31e14204e5a2d815b4f40e9af05 | [
"TOML",
"Go Module",
"Go"
] | 4 | TOML | lewdawso/gpu-bot | 8bde8b7eec0d100527325cad7b7bd3263771f968 | f20c2f45ea0dbefe18792356cd305c669deeb37f |
refs/heads/main | <file_sep>package com.flight;
public class BookingHistory {
private String flightNo;
private String source;
private String destination;
private String bookingDate;
private int cost;
private String paymentMode;
public BookingHistory(String flightNo, String source, String destination, String bookin... | 63601b41c3a3d5f8638f03ec946c49040d2e6b15 | [
"Java"
] | 4 | Java | nimmakayalamaheswari35/Flight-Architecture | b04b6576aedc7c380217b3a362e553bff813aa23 | 29d176bd62e529b8919a2b71a82d0cfd41ee8289 |
refs/heads/master | <file_sep><?php namespace App\Domain\Entities\Kependudukan;
use Illuminate\Database\Eloquent\Model;
class Keluarga extends Model
{
/**
* @var string
*/
protected $table = 'keluarga';
/**
* @var array
*/
protected $fillable = [
'nik_kk',
'nama_kk',
'alamat',... | e31227c3cad13993cc8d768526245e1351e52c9c | [
"Markdown",
"PHP"
] | 27 | PHP | bodrexsquad/kependudukan | bd782aec75392582763f4dacc3bb759fc5b9023d | 8c05a7ad4f6472ec725650ce8b5c36af7073ed9b |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Medi... | c7749b31df524f420eb113742f04f4c7339fcdbf | [
"C#"
] | 1 | C# | ChristopherSanchez99/EjercicioVs_MenuCanarios | 67c6241bcce3e0efd562e7ad7a5e019280b9465b | 6e6af1944a6b0deaa5918731578998094a5a06c5 |
refs/heads/master | <repo_name>stochanskyi/AI_Lab_3<file_sep>/main.py
from task import *
from tkinter import *
from tkmacosx import Button as MacosButton
def calculate_score():
k = int(k_input.get())
if k <= 0:
return
score = get_learning_score(neighbours_classifier(k))
score_label['text'] = 'Learning score: ' + ... | 62836640bcdd1c25821026ef8bcf275595816ac1 | [
"Python"
] | 2 | Python | stochanskyi/AI_Lab_3 | 958aad9421ede4341dc10ed3890bf2c43d329191 | 22d49c1817730cbf22067eaae1cbf397e6427e6c |
refs/heads/master | <file_sep>class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
def move
ActionController::Parameters.permit_all_parameters = true
row = real_params[:row].to_i
column = real_params[:column].to_i
board = JSON.parse(real_params[:board].as_json)
if board[row... | 565657c5de1dbeb10357b6a88bd3dfcd1e1f8886 | [
"Ruby"
] | 1 | Ruby | mshappe/ttt-dobt | 5d7a3a150799b8048964d08a4991afd732809df1 | 001afa4308989b3be94288717ae5d1b65d101274 |
refs/heads/master | <file_sep># Unoffical AdminTool2 API!
This is a unoffical API for Tele2's customercare tool AdminTool2
This API has been created to make easy automatic interactions with the AdminTool2 WEB GUI
WORK IN PROGRESS!!!!
<file_sep>#!env/bin/python
# -*- coding: utf-8 -*-
"""
Made By <NAME>!
Unofficial API for Tele2's custome... | f99cea05b6a81e2b5c1063b8542d62554da5e64d | [
"Markdown",
"Python"
] | 2 | Markdown | Pixxle/API-admintool2 | 2ac977eca677db1318d80b32927867b34421d763 | 4ca3cfd00ebf015b1410408a4e00b167a41df2c4 |
refs/heads/master | <file_sep><?php
$value = array (
'pay' => '支持货到付款,请准备好零钱,谢谢合作。',
);
?><file_sep><?php include template("header");?>
<style>
.whybind{margin:60px 10px 10px;padding:10px;zoom:1;font-size:12px;background:#fffbcc;border:1px solid #ffec19;}
.whybind h3{margin-bottom:5px;font-size:14px;}
.whybind ol{padding-left:10px;... | 951ea2fb49b2de7e7e076bd29e2a85c4c90d12c0 | [
"PHP"
] | 3 | PHP | jammp/food | b37ccab4370a26aaada552029569c30037692e76 | 42867a9a687ef061db609bb17379570dd6356f5b |
refs/heads/master | <repo_name>Bucknalla/edge-node-manager<file_sep>/device/device.go
package device
import (
"encoding/json"
"fmt"
"github.com/resin-io/edge-node-manager/board"
"github.com/resin-io/edge-node-manager/board/esp8266"
"github.com/resin-io/edge-node-manager/board/microbit"
"github.com/resin-io/edge-node-manager/board/... | 865b98296c3270b9ac59ea02da41f2ed16ea1156 | [
"Markdown",
"Go",
"Shell"
] | 21 | Go | Bucknalla/edge-node-manager | 18ac4ad23c89c3701e58546f9b13c8a4426c6da2 | 086fdd347cd60192ea33a7f9d57a59b577c0b176 |
refs/heads/master | <file_sep>package lindsay.devon.spring.repository;
import lindsay.devon.spring.domain.Journal;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* Created by devon on 10/20/16.
*/
public interface JournalRepository extends JpaRepository <Journal,Long>{
}
| 548e9ca5d22217d39d51df0aae834a699385c2f3 | [
"Java"
] | 1 | Java | DLindza/SpringBootJournalDemo | afdb5d062c950f3e6712b40012890f23bcb8ecb6 | f858f39bc052efbbfc930098823917aa72eb5223 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Http\Requests\PersonalInformationUser as RequestsPersonalInformationUser;
use App\Http\Requests\PersonalInformationUserRequest;
use App\Models\PersonalInformationUser;
use Illuminate\Http\Request;
class PersonalInformationUserController extends Controller
{
... | aa1fa4b18d99a1d4061985d75ca9672a981c1987 | [
"JavaScript",
"PHP"
] | 9 | PHP | CristianDavidChinoBejar/DonAR | d2f14dac6cb166f0d1bd9fd601c98f561e381a56 | 7839ac473f7728d48ca7dc703f0e3d676f7e3581 |
refs/heads/master | <file_sep>//
// MyClass.swift
// First
//
// Created by Eugen on 31.10.18.
// Copyright © 2018 Blanorama. All rights reserved.
//
class Debug {
init() {
}
}
| 11d2a51ac27819fa2a385ceb181deb8a9b1d999e | [
"Swift"
] | 1 | Swift | lecodeski/First | 57dbd4d7f84d9e491bc4dd6fb0a5ff29f8e97470 | 8336ded431e58110410f53e09ae4885b999a15d9 |
refs/heads/master | <file_sep>-- Import foods with volumes in cups
INSERT INTO ingredient (NDB_No, name, gPerCup)
SELECT FOOD_DES.NDB_No, FOOD_DES.Long_Desc, WEIGHT.Gm_Wgt / WEIGHT.Amount
FROM FOOD_DES INNER JOIN WEIGHT ON FOOD_DES.NDB_No = WEIGHT.NDB_No
WHERE WEIGHT.Msre_Desc = "cup";
-- Import foods with volumes in tbsp (16 tbsp / cup)... | 9730ec425a4f8e467eb001582599ff143905775c | [
"Markdown",
"SQL",
"Java"
] | 3 | SQL | natalieperna/cupful-android | 535e6efde7759bb1ba1ab9266bc755f8abb6c19e | 8867eb9a850dc7d40c71027b457ab751efa1a85d |
refs/heads/master | <repo_name>examples-unsorted/perl.cli.examples<file_sep>/cli/perl/perl -e printf/perl -e "printf \"%c\n\", $int;" # int 2 ASCII char
#!/usr/bin/env bash
{ set +x; } 2>/dev/null
int=65
perl -e "printf \"%c\n\", $int;" # int 2 ASCII char
for int in {1..255}; do
perl -e "printf \"%c\n\", $int;" # int 2 ASCII char
done
... | 66ab683b74b82825c2a36612f6c079440ce8a1bd | [
"Shell"
] | 4 | Shell | examples-unsorted/perl.cli.examples | 9cca77c27e772586fe4bda619a1cccadcf92814b | 0797e12bc66c6d54f2c5165f0aac5e044a9eb0a9 |
refs/heads/master | <repo_name>yaolya/exam<file_sep>/include/Hp.h
#pragma once
#include <iostream>
#include "storage.h"
#include "error.h"
class Hp {
private:
Storage<int> m_n; //нормальный вектор
Storage<int> m_x0; //точка,через которую проходит гиперплоскость
int m_size;
public:
Hp(Storage<int>& n, Storage<int>& x0, int... | 13aa3e66c33318905b32dd6463e3a30988cfa2f8 | [
"Markdown",
"C++"
] | 5 | C++ | yaolya/exam | 99a2909391b83f9dc43df321b3549d7105d672f4 | 7eb12dcaf6b814cdc3c2b0528579d721cc92e5b7 |
refs/heads/master | <repo_name>b1rdex/sync<file_sep>/test/FileMutexTest.php
<?php
namespace Amp\Sync\Test;
use Amp\Sync\FileMutex;
use Amp\Sync\Mutex;
class FileMutexTest extends AbstractMutexTest
{
public function createMutex(): Mutex
{
return new FileMutex(\tempnam(\sys_get_temp_dir(), 'mutex-') . '.lock');
}
}
<f... | f39b3c6bd8f1f81ea74a7dd68c957bb20399dff4 | [
"Markdown",
"PHP"
] | 26 | PHP | b1rdex/sync | fe182e0bfea7fbed90f926a8faa5c8a2399820a9 | f3aab23671ef174b3b11543a21be5188211c070b |
refs/heads/master | <file_sep>using Financial.Business.Models;
using Financial.Business.ServiceInterfaces;
using Financial.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Financial.Business.Services
{
public class AccountTypeSettingTypeService : IAcc... | 986eb9b27ff4aa21f62202013bcfbf760c2f0424 | [
"C#"
] | 155 | C# | bloomjjl/Financial | 224ccbd6841b64b49a1b94694f4d50ede6fd7377 | bbe2400bda4ad2d8edd75484d692d1ac250eb39a |
refs/heads/master | <file_sep># Swift
Home work #1
<file_sep>//
// main.swift
// L1_Kirill_Petrov
//
// Created by кирилл on 19.11.18.
// Copyright © 2018 <NAME>. All rights reserved.
//
let aInt:Int = 10
var bInt:Int = 12
<file_sep>//
// main.swift
// HW_1
//
// Created by кирилл on 21.11.18.
// Copyright © 2018 <NAME>. All rig... | 2c31f669b411596d2fcad9539327c2a8eb6877be | [
"Markdown",
"Swift"
] | 3 | Markdown | Kirillpm/Swift | 28abb823fd844572add32497e3105ddf7414173b | f4247d3c96acfae7ac7044f8efe447d230ddd32a |
refs/heads/master | <file_sep>ps -ef | grep postgresql | grep -v grep
[ $? -eq "0" ] && echo "PostgreSQL check!" || echo "process is not running"
<file_sep>#!/usr/bin/python
# -*- coding: utf-8 -*-
# @Author Wonseok
# @Designer Wonseok
# @Start at Aprl. 17
# @Last at Aprl. 18
# @Music The tear of PPIERO - Outsi... | 02db9fc5eb9079b6bc0aa51cea21e3063d17b2ba | [
"Markdown",
"Python",
"Text",
"Shell"
] | 23 | Shell | wonseok0403/SOUL | ac1a0a8108628383b4afa5fd73e0d4439f455e73 | cae0e5492b8c9ee6e8bfc935941686ac594bc3e9 |
refs/heads/master | <repo_name>paradigmdigitalapps/GAEStarterKit<file_sep>/util/SeaSurfForm.py
"""
Provides a base class for wtforms usage throughout application. Integrates SeaCurf for CSRF protection, such that the csrf token is automatically included
in each form.
"""
from flask import g
from flask.ext.wtf import Form
from flask.ext.w... | b2088f98d09c915752453469c0cd8be7bfdfa7f3 | [
"Python"
] | 1 | Python | paradigmdigitalapps/GAEStarterKit | b6636ff5a1cffc3c2b1129e7fcdb78ddbf9ac0e1 | 8b696ee0ff65cf1b49fba49094bd3fd22f6ee427 |
refs/heads/master | <file_sep>// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
================================================... | 0299fda1fdcfdf5871c514c850e7fbb6642e1ea5 | [
"C",
"C++"
] | 12 | C | badeand/ue_ballworld | 0d7e327c0f35740362781dccfd1948baa6b5f250 | 62d270d3f748cf9964f92af4c87fece2a4cbda9f |
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 iaquizapp;
import java.io.Serializable;
import java.sql.Date;
import java.util.List;
/**
*
* @author vunvd
*/
pu... | 82ec898337e97a509e071cabeef4be603a0385d8 | [
"Java"
] | 10 | Java | vunguyen9404/quizapp | 765e3ad60777fedba6ed7bdcc6be720eb3d47e55 | 00d14e466490650afbc716aaf1a508e4ecebc672 |
refs/heads/master | <file_sep>import React, { Component } from "react";
import { connect } from "react-redux";
import { Carousel } from "react-responsive-carousel";
import { Grid, Input, Card, Icon } from "semantic-ui-react";
import axios from 'axios';
class Actor extends Component {
constructor() {
super();
this.stat... | 110e575d04df60174294de149892542da6c8197f | [
"JavaScript"
] | 1 | JavaScript | MFatoni/React_Film | d6a16e7529250c22dc265607b5e45c10f6af28c7 | b76a485c366192ea650d65970169bc1c2a8bd409 |
refs/heads/master | <file_sep>#include <iostream>
#include "lamp.h"
//---------------------------------------------
/*
This programm works but still doesn't works in
googletests... I think it because I had implemented
the class without functor...???
*/
//---------------------------------------------
/*
This comment just for make changes ... | a981d37f1cf03bef5c1097d617069755815ae73c | [
"C++"
] | 3 | C++ | yonivol/VOLO | 16b6b06e7a6f57ae0a1ad93d7ef99b21e2e99118 | cf2d75db62b3c82a1e2c7026b049d1715947207b |
refs/heads/master | <file_sep><?php
/**
* v1模块配置文件
* @author Gene <https://github.com/Talkyunyun>
*/
return [
'params' => [
'v1' => '版本1'
],
'components' => [
'log' => [
'class' => 'yii\log\Dispatcher',
'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => [
[
... | 878ac1a9b8b5409efb679591ef605cc46b6891e9 | [
"Markdown",
"SQL",
"PHP"
] | 9 | PHP | zhangkg/yii2-api-admin-seed | 7dc33e10e8e59719420f9057c47928fa3e0915f1 | d05213f7b505b899b0ed65541ea3c02d31028c76 |
refs/heads/master | <repo_name>seoulpm/PerlKr-Web<file_sep>/README.md
PerlKr-Web
==========
Perl.Kr Web<file_sep>/run
#!/bin/sh
starman --port=5000 --workers=5 perlkr-web.pl
<file_sep>/public/gallery/about.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Account Setting</title>
<meta name="viewpor... | 454d50417e001dc451cb8ca63910f1f4379cbf38 | [
"Markdown",
"HTML",
"Shell"
] | 4 | Markdown | seoulpm/PerlKr-Web | 08f1f6750ef1a69b385d0515d1ec4cb8c0db4bb9 | 17eec2f6c78fa4caade43bf46cf9ba14d90695f9 |
refs/heads/master | <repo_name>pouyaman/python-hit-blow<file_sep>/python-hit-blow.py
import random
import os
# Workaround for Python2
try:
input = raw_input
except NameError:
pass
# Let's set the colours
# Define different colour commands
win_colour_dict = {
'cmd' : 'color ',
'colours': {
'pass' : 'A0',
... | 00094ed3b8c65f55d6cb4f4a345f7b9b6f6374c5 | [
"Markdown",
"Python"
] | 2 | Python | pouyaman/python-hit-blow | 6ed14bb145d821532e0c1766e30994d388e0b202 | 9ffbb06beff155dee2db7f0af7fecf5ca934dfab |
refs/heads/master | <repo_name>kazak-by/HelloGIt42<file_sep>/HelloGit.py
print 'Hello Git'
# first step
# step 2
# step 3
# step 4
# step 5
# step 6
# step 7
# step 8
| 4f55b72641253a476da841512799e3ef6f64203f | [
"Python"
] | 1 | Python | kazak-by/HelloGIt42 | f8f99619c4ede1eab41c28ea657d3309020c2ab2 | 8f7a46ef8b21f6ba076651b19526b55b816d19b2 |
refs/heads/master | <repo_name>SporkyMcForkinspoon/CSCE156<file_sep>/src/com/datacontainers/Value.java
package com.datacontainers;
import java.util.ArrayList;
public class Value {
//Variable names are not ordered arbitrarily. Changes will cause the JSON file to output in the wrong order.
private String customerIdNumber;
priva... | 9b40f2a6e9bd534da0b6e91a93f0c03ca1d3a22a | [
"Java"
] | 3 | Java | SporkyMcForkinspoon/CSCE156 | bd8e3879c5150b57b98d4f8a15966e6b250c42bd | fd9b7cb0fade6f0dcba458e4fb322abe7449f72c |
refs/heads/master | <repo_name>somsom292/digital_signal_pocessing<file_sep>/image_bright.cpp
#pragma warning(disable:4996)
#include <stdio.h>
#include <stdlib.h>// 위에 두 부분은 파일 입출력을 하기 위한 부분
#include <Windows.h>//구조체 정보를 가지고 있는 헤더 파일
void original(BYTE *img, BYTE *Out, int W, int H)
{
int ImgSize = W * H;
for (int i = 0; i < ImgSize; i++... | 6aa9e70bd27bf89f2eb1e2c42b1634074b035f69 | [
"C++"
] | 1 | C++ | somsom292/digital_signal_pocessing | f5d70bc46032e656d1cfa3ea9e1f6fb5146ab654 | 46eebe77b29125132de14f66026cc201a1a4054a |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using isometricgame.GameEngine.Rendering;
using isometricgame.GameEngine.Scenes;
using isometricgame.GameEngine.WorldSpace.ChunkSpace;
using OpenTK;
namespace isometricgame.GameEngine.WorldSpa... | 0f9348e0e997863ac15acff29e6b22e8a7123592 | [
"C#"
] | 32 | C# | Hengle/isometricgame | 80306da6096ae82fd6be4d587cefecd1d251ae36 | 6d7571ae0ec1b6f702d31b09cff6b2fc93146a71 |
refs/heads/master | <repo_name>mv123453715/CCU_2019_Data_Structure<file_sep>/HW1/Linux版本/Minimize_the_table_size.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define bool int
#define false 0
#define true 1
main()
{
// rule value
int rule_number = 0;
char rule_point1[ 100 ][1000] = {'/0'}; //rule_point1
char r... | b940fa6b847cca861d408d22b7632939a9c58eaf | [
"Markdown",
"C"
] | 7 | C | mv123453715/CCU_2019_Data_Structure | 598bfd4fa8bd5eddbd551960d528b7b75f2f520d | 30f8ffd2a41eb1e4030e021014df87fb4dfd3d68 |
refs/heads/main | <file_sep>import "./styles/index.scss";
import { throttle } from 'throttle-debounce';
import { hoverTimeout, automaticTimeout, animations} from './constants';
var eventRunning = false;
var eventId = -1;
var body = document.getElementsByTagName('body')[0];
var container = document.getElementsByClassName('mouse-containe... | 55b30c1c211deed81a26f96ccbaf02806cfea76e | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | bikilone/Cube | 65c070a0947be6a3fda2e474b92a8319749b7bc3 | 5eff8817e3a96736da599c711d7a29311dc99461 |
refs/heads/master | <file_sep>base_64_symbol = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
def asc2bin(plain_text):
ascii_list = []
total_bin = ""
binary_txt = ""
for i in range(len(plain_text)):
ascii_list.append(ord(plain_text[i]))
for i in ascii_list:
while True:
d... | 583797a5692451baba9d5318ce8f31a1373c8968 | [
"Python"
] | 5 | Python | hayanso/cipher | f4668b0bfe79d315cc92e7b02cdbcfcaa7b3f5da | 8a3f5b5633cdd6218d99b4bb4a151dddffa873ff |
refs/heads/master | <repo_name>XthemeCore/testing<file_sep>/Adder.java
import javax.swing.*;
public class Adder{
public static void main(String[] args){
String firstNumber,secondNumber,result;
int sum;
JTextField firstField = new JTextField(4);
JTextField secondField = new JTextField(4);
JPane... | 35b98c329563399daf878d3d679d03d1c523138e | [
"Markdown",
"Java"
] | 2 | Java | XthemeCore/testing | 39cad25184b209cdec587a999974a190bab6fae9 | 2902769c76b0e41a759691f4ef0f2ee36c83ea25 |
refs/heads/master | <repo_name>inventorjs/inventor-cli-legacy<file_sep>/skeletons/default/server/app/http/Kernel.js
/**
* http 应用核心
*
* @author : sunkeysun
*/
import HttpKernel from 'inventor'
export default class Kernel extends HttpKernel {
}
<file_sep>/skeletons/default/bin/start-pm2.sh
#!/bin/bash
project_name="project"
base_pat... | 2e0518cc63d0b9763fb9bf687423a960b8ad6982 | [
"YAML",
"JavaScript",
"Markdown",
"Dockerfile",
"Shell"
] | 42 | JavaScript | inventorjs/inventor-cli-legacy | 0dea11d17952059c608c3f1ad8757ed1f07c7ea9 | fa4ddbd71d6053fb152cdc575b2c69b0c9f46a48 |
refs/heads/master | <repo_name>dorntrevor7/Burger-Bucketlist<file_sep>/README.md
# Burger Bucketlist
In this project I created a Burger Bucketlist that allows you to put new burgers that you want to try and be able to delete the burger or move it to the eaten section of the page.
### User Story:
```
As a burger enthusiast
I want to gen... | 0a6482a90c733aef3087aea5ca1ccd9db5eb5a27 | [
"Markdown",
"SQL"
] | 2 | Markdown | dorntrevor7/Burger-Bucketlist | 0420d6d04c7dd12693bba97d3dbbc2f897dec0f6 | 0b8ee39510df97dd90ef9519b52ab3aefbad93d6 |
refs/heads/master | <repo_name>alu0100774054/TiroDeBolas<file_sep>/src/es/esit/ull/PAI/TiroDeBolas/Bola.java
package es.esit.ull.PAI.TiroDeBolas;
import java.awt.Color;
public class Bola {
private int centroX;
private int centroY;
private final int RADIO;
private Color fondo;
public Bola(int centroX, int centroY, int radio,... | 013efea89605ffb8bfd9a4ce7a2f54521e06b186 | [
"Java"
] | 2 | Java | alu0100774054/TiroDeBolas | 005ce6536f4944f9484883b728719fdd27a5b4ee | d1f5805db874d7dd753d8717c7a6d39bbea52ffd |
refs/heads/master | <file_sep>/*
GEODIFF - MIT License
Copyright (C) 2019 <NAME>
*/
#include "gtest/gtest.h"
#include "geodiff_testutils.hpp"
#include "geodiff.h"
#include "geodiffutils.hpp"
bool _test(
const std::string &testname,
const std::string &basename,
const std::string &modifiedname,
int expected_changes,
bool ignor... | f72765c835026736427c7dac19837b76a3f20c50 | [
"SQL",
"CMake",
"Markdown",
"Python",
"C",
"C++",
"Shell"
] | 49 | C++ | timlinux/geodiff | 15df0de3d88439cb381fb9f6ae486f84c5c9def4 | c30aaa803237c27f49c96046cdba69535f26c508 |
refs/heads/main | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AKUtil
{
/// <summary>
/// singletonパターンで実装されるmonobehaviour
/// 参照時にインスタンスが存在しない場合、gameobjectにadd componentされて自動生成される。
/// デフォルトで、DontDestroyOnLoad しません。
/// </summary>
public class SingletonMon... | 302d2e6a7dc15b6204deb8ef4da3c3995691286a | [
"Markdown",
"C#"
] | 33 | C# | akf-tentacion/fake-them-alll | f0da096badf296288220f1553926976a4f206f1b | ec94fb1166cba03198aa89af187b5c31dae48248 |
refs/heads/main | <repo_name>ciliumgroupdev/ciliumweb<file_sep>/assets/js/app.js
const next = document.querySelector('.next');
const prev = document.querySelector('.prev');
const slides = document.querySelectorAll('.slide');
let index = 0;
display(index);
function display(index) {
slides.forEach((slide) => {
slide.style.dis... | 8753f8fb89232bb435c736008911b1947304f45a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | ciliumgroupdev/ciliumweb | 32b5525f57318f03cbe903611d359c4496944cb6 | 0ae16b824be7ab7bcfdc2a6609dc495233d25409 |
refs/heads/master | <file_sep>(function () {
'use strict';
/* global window */
var beautify = (typeof require === 'function' && require('js-beautify').html) ||
(typeof window !== 'undefined' && window.html_beautify);
if (typeof beautify !== 'function') {
throw new Error('missing HTML beautify function');
}
if (typeof ... | 7b90371815754edb69031c4fd1b115e3c3903355 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | bahmutov/console.html | 8865805845c70c3c889da41911cd1ee30acf9cb3 | fba4f3edb8f5dddda3aa3856cda148d9b1412b35 |
refs/heads/master | <repo_name>probablyabear/webpack-landing-page<file_sep>/webpack.production.config.js
/* eslint-disable import/no-extraneous-dependencies */
const path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const { CleanWebpackPlugin ... | 31e8d207773ca14dd2aa3f11ed0039f21dffe094 | [
"JavaScript"
] | 2 | JavaScript | probablyabear/webpack-landing-page | b6fbaba1c0525475a3ac094d0fe71d725ec19cf0 | 61cdb7a117cc28486ceb7074fda0d657634e92c1 |
refs/heads/master | <file_sep>'''
File: updateHosts.py
Author: <EMAIL>
Version: 0.0.1
Date: 2012-10-24 14:35:39
'''
import urllib
import os
def GetRemoteHosts(hostsUrl):
fp = urllib.urlopen(hostsUrl)
hosts = [line for line in fp]
fp.close()
return hosts
if __name__ == "__main__":
hosts = GetRemoteHosts("http://tx.tx... | 463d4959ce6d967fe1ce3e21a898090d87e8e7fc | [
"Markdown",
"Makefile",
"Python",
"Go",
"Shell"
] | 7 | Python | TorinKwok/google-hosts | 7c93fe7413d3dbed464b7bcd3fe2075545346862 | b7be58a933a2710a7526ad41f103dfd984802aa2 |
refs/heads/master | <file_sep>package main
import (
"database/sql"
"encoding/json"
"errors"
"flag"
"fmt"
_ "github.com/go-sql-driver/mysql"
"log"
"os"
"strings"
)
var defaults = Configuration{
DbUser: "db_user",
DbPassword: "<PASSWORD>",
DbName: "bd_name",
PkgName: "DbStructs",
TagLabel: "db",
TagLabel2n... | bebcaae18f68240b6295a036a069da58600ebd4d | [
"Markdown",
"Go"
] | 2 | Go | jonathanvx/struct-create | 1f519a4d901aca208e8886f4eee097385c1e3f0e | 9db96a78b1e6d3096b1c5ff0ed8dc31406932602 |
refs/heads/master | <repo_name>mallorybucell/LetterWordCounter<file_sep>/README.md
# LetterWordCounter
3rd project at the IronYard. Simple letter counter- you can tell I'm still learning both ruby and to think like a programmer. I had some trouble with some of the sorting, but completed it in the end. Also, some good teamwork on this on... | 554925ed35b1ef40c4b11511e3943a563868be93 | [
"Markdown",
"Ruby"
] | 3 | Markdown | mallorybucell/LetterWordCounter | 9adf80693082a95ac1992f872999b225e0b11b4a | 756dbd079d99c0cd27efda4cb55a9fdebc694239 |
refs/heads/master | <file_sep>require 'pry'
class Artist
attr_accessor :name, :songs
@@all = []
@@total_song_count = 0
def initialize(name)
@name = name
@songs = []
@@all << self
end
def add_song(song)
song.artist = self
@songs << song
@@total_song_count += 1
... | 14b9bd466a05264fc6b8603e6988bbc5e397cc08 | [
"Ruby"
] | 1 | Ruby | crishanks/ruby-objects-has-many-lab-seattle-web-career-012819 | c989c7fed4af4cd95e8e7db77960cf527b57d2c3 | 6c36d33ca1d99459516b3ace43ccafa7fc1986b7 |
refs/heads/master | <file_sep>#! /bin/bash
if [[ -d taiga-front-dist ]]; then
rm -rf taiga-front-dist
fi
git clone -b stable --single-branch https://github.com/taigaio/taiga-front-dist.git
docker build -t xtraterrestrial/taiga-front .
<file_sep>-i https://pypi.org/simple
aggdraw==1.3.11
amqp==2.5.1
asana==0.6.7
asn1crypto==1.2.0
... | c516f7e20829db73997acfe837c39e7ea70e4b85 | [
"Text",
"Dockerfile",
"Shell"
] | 3 | Shell | nij4t/taiga.io | fa752f8ec8cd22b85f2210c65e31927ca7448631 | 16f9d0681d46741d62010fcd71643ae3090046e4 |
refs/heads/master | <repo_name>tmaciulis22/Beteasier<file_sep>/app-beteasier-kotlin/app/src/main/java/com/d/beteasier/base/BaseHolder.kt
package com.d.beteasier.base
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.IdRes
import androidx.ann... | 099c08353399504ecc3d31be3f3a49e64bf9ef51 | [
"Markdown",
"Kotlin",
"Gradle"
] | 25 | Kotlin | tmaciulis22/Beteasier | 2da650f45e6d3a39fda9270980f20f5a2cd9e915 | 9f1a88c1b01072ae8a33cae382d59f5683aa5670 |
refs/heads/main | <file_sep># Generated by Django 3.2.9 on 2021-11-05 20:17
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Apartment',
fiel... | b9f6c07285b8ef99cff313b4414e14b15b057667 | [
"Python"
] | 1 | Python | zzsusan/renting_system | 7501ce042b399254da9fbf08b9c88d83e40c191d | 7bcb06102e14bbd6351cddefe569195fac716b9b |
refs/heads/master | <repo_name>tundesalisu/SMASHBRO<file_sep>/smashbro-firstdraft/app/public/js/add.js
// Code here handles what happens when a user submits a new character on the form.
// Effectively it takes the form inputs then sends it to the server to save in the DB.
// When user clicks add-btn
$("#chirp-submit").on("click", functio... | dfc716fb1689b802e945b438e2510c65965c6aca | [
"JavaScript"
] | 4 | JavaScript | tundesalisu/SMASHBRO | 76bccdd89ae0874f44590d489e02bb48ef23eb5e | c9f9c2fdfc2af46911e9266543f8d8e7c9a2250b |
refs/heads/master | <file_sep>import data
import math
def Run():
market_date = data.GetDates()
# artificial price
spy_aprc = data.GetSPY()
# can use other stock, e.g.
#ko_aprc = data.GetKO()
# aprc = data.GetPEP()
# aprc = data.GetXLP()
#RunStrategy(market_date, ko_aprc)
RunStrategy(market_date, spy_aprc)
def GetRetur... | 62405ab861aa0ac793dd531974e90ee5a18ca9c5 | [
"Markdown",
"Python"
] | 2 | Python | yipjustin/dysnomia | 2bf0ea86788d9f1da2b9853cef7592a9a30480a1 | 616a1245eff96bad380211c24e51912ccf5a8411 |
refs/heads/master | <repo_name>psucharzewski/Dziekanat-Console-<file_sep>/Dziekanat Console/main.cpp
#include <iostream>
#include <string>
#include "funkcje.h"
using namespace std;
int main()
{
cout << "No to jedziem z projektem!" << endl;
cout << "Podaj swoj login" << endl;
Student a2,a1("pawel","dupa","dupa2"... | 285d3723eeb4c0067f11e3ed63924796f1b91a98 | [
"Markdown",
"C++"
] | 4 | C++ | psucharzewski/Dziekanat-Console- | 7df0f06a3dfc7ab262ae35a6fa8ad6918ebc161b | a3bb1b4e65ee2215992785e624ac056872d319e6 |
refs/heads/master | <repo_name>4lk4tr43/CordovaManager<file_sep>/Cordova Manager/Controls/AppDetails.xaml.cs
using System;
using System.Xml;
namespace Cordova_Manager.Controls
{
/// <summary>
/// Displays and updates Cordova project properties.
/// </summary>
public partial class AppDetails
{
public AppDe... | d46a35fd45ca20fb13367254ce24bdec4b2537b4 | [
"C#"
] | 12 | C# | 4lk4tr43/CordovaManager | c365aa59eb36a40568dc7abdfb96d902f1f19464 | fb3b8c4e698e96c42b62b987adb18c4117473534 |
refs/heads/master | <repo_name>jlmorenorodriguez/Ejercicio30octubre<file_sep>/app/src/main/java/com/example/joseluis/ejercicio30octubre/MainActivity.java
package com.example.joseluis.ejercicio30octubre;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android... | 6730ceda36ef242ff9ce7e092ead4012c80a5a7a | [
"Java"
] | 2 | Java | jlmorenorodriguez/Ejercicio30octubre | aa1d48341d9d9e8cb667dcb6d868f514933fea76 | f6c8528ee468931f3767abcab7d4e10e2719a565 |
refs/heads/master | <file_sep>from google.appengine.ext import ndb
class ChasmConfig(ndb.Model):
current = ndb.BooleanProperty()
project_id = ndb.StringProperty()
bucket_id = ndb.StringProperty()
<file_sep>import logging
import os
import json
import sys
import traceback
import base64
import operator
import logging
import ti... | c92c9d0052a2ef1424ef76b8b8e8c7f0408a7f40 | [
"Markdown",
"Python",
"Text"
] | 10 | Python | beginsec/chasmpy | 16c3384d6f4cfd4b855c15475f48621b4bfa3247 | 1d689d8c4cc5e9be89a570512d41fc2828524969 |
refs/heads/master | <repo_name>Annette70/springmvc<file_sep>/src/main/resources/message.properties
typeMismatch.theCustomer.freePasses=Must be a number<file_sep>/src/main/java/edu/wctc/customer/controller/CustomerController.java
package edu.wctc.customer.controller;
import edu.wctc.customer.entity.Customer;
import edu.wctc.customer.servi... | afec3a93eee9130f0708260aad530e6246abd99b | [
"Java",
"INI"
] | 5 | INI | Annette70/springmvc | 07a3ad1e82631f86134315bd6030ba34996cebcf | fb6a7aa3ec85c1db20ae6988a20b7c54abd36d57 |
refs/heads/master | <repo_name>JNPRZ2000/Proyecto2_IPC1<file_sep>/hospital/appweb/static/js/modificarmed.js
function volver(){
window.history.back();
}
function getCookie(name) {
let cookieValue = null;
if (document.cookie && document.cookie !== '') {
const cookies = document.cookie.split(';');
for (let i = 0; ... | e79b6a3315ac3e29646d1b207fdbfbf539c055bf | [
"JavaScript",
"Python",
"HTML"
] | 12 | JavaScript | JNPRZ2000/Proyecto2_IPC1 | 144160a43c5863897f330f64493be2f5d8161db4 | 85cdf94eab2442b751b0a9c3ab69787f2ad5a7ee |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.