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>rjkip/OpenConext-engineblock<file_sep>/docs/release_notes/4.2.10.md
# OpenConext EngineBlock v4.2.10 Release Notes #
Bugfix release:
[json_encode(): Invalid UTF-8 sequence in argument in Log.php #104](https://github.com/OpenConext/OpenConext-engineblock/issues/104).
See also: [4.2.10 issue list](https://g... | 9470d6c2fc102225cf4a150092dc0233d116870d | [
"Markdown",
"PHP"
] | 4 | Markdown | rjkip/OpenConext-engineblock | 0783a1b0e8cb794d07f20be2b7f68fe20b3422a6 | 26274fda94437f237a0d7b20f9ebd4dce89aec0c |
refs/heads/master | <file_sep>-- Onscreen widgets module for Conscience theme
local infojets = require("infojets")
local pango = infojets.util.pango
local wibox = require("wibox")
local asyncshell = require("asyncshell")
local onscreen = {}
local config = {}
function onscreen.init()
if theme.onscreen_config then
config = theme... | 594b08a37fdd627f23e5a0ce1f81319ee349b54d | [
"Markdown",
"Lua"
] | 5 | Lua | alexander-yakushev/conscience-awesome-theme | bc79820a1ac8b886d7496955fd36884aa06c201c | f5388040aa56287f3efa0cb04766c8275690bdaf |
refs/heads/master | <repo_name>Vermillio/All-Hammocks-Finding-Graph<file_sep>/Task21/T_Graph.h
#ifndef T_GRAPH_H
#define T_GRAPH_H
#include <list>
#include <vector>
#include <list>
#include <set>
using namespace std;
class T_Graph
{
vector<list<int>> graph;
vector<bool> vizited;
vector<set<int>> hammocks;
set<int> sta... | f191d70e8019d0ddedcf8e515a4e0e30e3b68d4f | [
"C++"
] | 3 | C++ | Vermillio/All-Hammocks-Finding-Graph | 0a2e88de6beb7559f8eed204f5028d317cbb4509 | 119a27c3082c6fb017fe3f8165a801526126312f |
refs/heads/master | <repo_name>francescooliva/RPi-Temperature-And-Humidity-station-with-camera<file_sep>/dht22_sensing.py
#!/usr/bin/python
# for the Adafruit_DHT library:
# Copyright (c) 2014 Adafruit Industries
# Author: <NAME>
# for the MySQL and PhP part I also took for reference:
# http://www.instructables.com/id/Raspberry-PI-and-D... | b093c072dcf3e3a4ccb4446f5e1196f04b9841d8 | [
"Markdown",
"Python",
"PHP",
"Shell"
] | 5 | Python | francescooliva/RPi-Temperature-And-Humidity-station-with-camera | d13abc11350592ab8fb6ca67780ae40d40bc412f | e75638ae81c27d8721d3ae5d09328b16567d2b60 |
refs/heads/master | <file_sep>--Up function
function up()
turtle.up()
turtle.up()
turtle.digUp()
turtle.up()
turtle.up()
turtle.select(1)
turtle.placeDown()
end
--Down function
function down()
turtle.digDown()
turtle.down()
turtle.down()
turtle.select(1)
turtle.placeUp()
turtle.down()
turtle.down()
end
--Was function... | 263d21236d11793a92d06fbcd7e2bcde3d377b2b | [
"Java",
"Lua"
] | 2 | Lua | roemba/BioCraft-Installer | 16802f0e426222d33741c44c75374c95413bd308 | 1e58dca24a97e61b21f367b0fdd8b363616d16de |
refs/heads/master | <repo_name>NandoKstroNet/brazi.la<file_sep>/modules/hello.js
'use strict';
/**
*
*/
module.exports = function(req, res){
console.log('Hello World!!');
};
<file_sep>/README.md
Brazi.la [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]
====
A fresh new CMS made with MEAN... | 31843e9923bba8aee588e62909a3f004179dd84c | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | NandoKstroNet/brazi.la | 0e4d8c0a5eb22f42f4aca4579c8deac76d2e20c6 | 2478dfc8fb42bd189341e1f1598d5bffe7364fd4 |
refs/heads/master | <file_sep>'use strict';
var Router = require('./app/router');
var App = Marionette.Application.extend({
initialize: function() {
this.router = new Router();
}
});
$(function() {
$(document).on('click', 'a[data-ref]', function(e) {
e.preventDefault();
Backbone.history.navigate($(this).data('ref'), {... | 080fff17309218502acba3630d260d359659522f | [
"JavaScript"
] | 2 | JavaScript | vstukanov/webpack-marionette-seed | 61bba7f16b45d8a3b346eaa17e73a7e2a96ca066 | d0aa30dc41e7d466e09bc2e221d7ad477d939bcb |
refs/heads/master | <repo_name>vvchuong/real-estate<file_sep>/config/routes.rb
Application.routes.draw do
use_doorkeeper
devise_for :users, ActiveAdmin::Devise.config
ActiveAdmin.routes(self)
mount API::Base => '/api'
root to: 'index#index'
end
<file_sep>/db/seeds.rb
['registered', 'agent', 'company', 'admin'].each do |role|
... | c1f250cead2e4488ecebaec5bf6acd93b45d6ce5 | [
"Ruby"
] | 2 | Ruby | vvchuong/real-estate | 5052f79a945bca78ae8b75ffff918ceddcf86ada | 8b8be8296876fbf112c861e21ae6d2b1bdd8ed3a |
refs/heads/master | <repo_name>SreekrishnaSridhar/ExData_Plotting1<file_sep>/MainData.R
data <- read.table("household_power_consumption.txt",header = TRUE,sep = ";",colClasses = c("character","character",rep("numeric",7),na="?"))
data$Time <- strptime(paste(data$Date, data$Time), "%d/%m/%Y %H:%M:%S")
data$Date <- as.Date(data$Date,"%d/%m/... | 2e8acf6d27521f1032bf9c5e22d76c6cc85e9034 | [
"R"
] | 5 | R | SreekrishnaSridhar/ExData_Plotting1 | a2272e5f8d96584147f0234d6dbd0e52bd81cebe | 98c77e0e146159e99d99bd86d5949bb2c19758f6 |
refs/heads/master | <file_sep>import db from '../db';
import Promise from 'bluebird';
const TABLE_NAME = 'dc_post';
function formatWhere(where) {
let _where = [];
for (let k in where) {
_where.push(`${k} = ${db.escape(where[k])}`);
}
return _where.join(' && ');
}
function promisify(sql) {
return new Promise(function(re... | f8b6dfedcf506ec2f31e8f5c7d27071d81243a13 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | xiaoyann/52dachu | a28762b9ad669b3322fdd2dba9ba8c6d67a92b6c | c047110e1d50364048d930326aa9773e82957209 |
refs/heads/master | <repo_name>nGustavin/clone-twitter<file_sep>/src/components/Feed/styles.ts
import styled from 'styled-components'
export const Container = styled.div`
display: flex;
flex-direction: column;
`
export const Tab = styled.div`
margin-top: 10px;
padding: 11px 0 15px;
`
| 3c5f6796a408c9e7bc82853e7699c1ba4ddf49c0 | [
"TypeScript"
] | 1 | TypeScript | nGustavin/clone-twitter | b29f04ef8643c406bd1584d1d742e6e5c1d55494 | 1a8053d1d07a31dd8851c5c3cdf7e75f21798076 |
refs/heads/main | <repo_name>elenuco/OPorprisiones-landing-page<file_sep>/src/App.js
import "./styles.css";
import Navbar from "./components/Navbar";
import { BrowserRouter as Router, Switch, Route } from "react-router-dom";
export default function App() {
return (
<body id="e11_1">
<div clas="row" name="nav-bar">
<... | 954819aceb422b05427fd17b551e980f8b71923c | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | elenuco/OPorprisiones-landing-page | b118bda88920d1ec3f04b939f270ae73dd92dcf6 | 7ca54fa2d2884f102007ce3d63bd8e7fbe5dc994 |
refs/heads/main | <file_sep>#!/usr/bin/env python
# coding: utf-8
# In[6]:
import numpy as np
# In[ ]:
Question:1
get_ipython().set_next_input('Convert a 1D array to a 2D array with 2 rows');get_ipython().run_line_magic('pinfo', 'rows')
Desired output::
array([[0, 1, 2, 3, 4], [5, 6, 7, 8, 9]])
# In[26]:
a = np.array([0, 1, 2... | 72897023bc42c5e85380af0a9bde016188f0de9b | [
"Python"
] | 1 | Python | AhmadFaraz3233/PIAIC-NUMPY- | 01f439a3573b5f27164986c665e3ab56b856e4e0 | 99ecaf4def609b5207c3a09832f2dde27e05c5f3 |
refs/heads/master | <file_sep># Part Number Finder
Supportig tool for ProCat<file_sep>DELIMITER //
CREATE TRIGGER formatted_item_code_reset_by_year BEFORE INSERT ON part_numbers FOR EACH ROW
BEGIN
IF (
SELECT COUNT(item_code)
FROM part_numbers
WHERE item_name = NEW.item_name
AND short_desc = NEW.short_desc
AND po_t... | 9aaf18fd8d192b46de75b6a3638101b7d0ffe84b | [
"Markdown",
"SQL",
"PHP"
] | 11 | Markdown | khoerodin/partfinder | 21e2980eaa14b02e128a467bbe2af3aa702ac96f | 7e21e84be5c90fde0941513c74a03028d331ebb2 |
refs/heads/main | <file_sep>package com.bw.webservice.repository;
import com.bw.webservice.domain.Posts;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import java.time.LocalDateTime;
import java.util.List;
import static or... | dc6f60bf5c0bb75e82668c0683b90b420a65290e | [
"Markdown",
"Java"
] | 2 | Java | ybw903/springboot-webservice | 49dea1ecfc99dfcc98c186fd8256259f7e6b8207 | f34587a93f326b8237ecd4cd98e25bcc13014fed |
refs/heads/master | <file_sep><?php
if(defined("IS_INDEX") == false)
{
die("Please stop here!");
}
$nim = $_GET['nim'];
hapus_mahasiswa($nim);
redirect_to("mahasiswa");
?>
<file_sep><?php
if(defined("IS_INDEX") == false)
{
die("Please stop here!");
}
?>
<h4>
Data Mahasiswa
... | ddc3d612b7a5c1b63f3e846d94142bee38e4faae | [
"PHP"
] | 12 | PHP | arifatulkhasanah/webprogramming | fee2d57f8c7b9d77a8691229cd06c45777fe1004 | fe8bf4d4e9b648372e13b20cdc2ca692522ab677 |
refs/heads/master | <file_sep>
# file names
main = './data/ninth_Main.txt'
spot_telo = './data/ninth_telo550_spots.txt'
spot_bp1 = './data/ninth_53bp1_spots.txt'
# import the datatabels
df_main = read.table(main, header = TRUE, sep = "\t")
df_telo = read.table(spot_telo, header = TRUE, sep = "\t")
df_bp1 = read.table(spot_bp1, heade... | 558361f17efb38cda5d5b0756c521ea21d82be42 | [
"Markdown",
"R"
] | 3 | R | JesD12/Spot_Distance | 363d58430828d5f0bbad85534b477a8d1e5ece15 | 34bce2f317ea5ac65f587759d8f8fe83632834ba |
refs/heads/master | <repo_name>IMULMUL/Privexec<file_sep>/vendor/bela/include/bela/io.hpp
// Bela IO utils
#ifndef BELA_IO_HPP
#define BELA_IO_HPP
#include "base.hpp"
#include "types.hpp"
#include "buffer.hpp"
#include "os.hpp"
#include "path.hpp"
namespace bela::io {
// Size get file size
inline int64_t Size(HANDLE fd, bela::error_code ... | 6cbd61ad6117fcb4948ded30845f5a4c8f0a59e1 | [
"CMake",
"C++"
] | 20 | C++ | IMULMUL/Privexec | b719136f8eb630418f1ef69d04da6d0f55e12e06 | 52faac9dc3b274c2b962f89d0996064079d84ac4 |
refs/heads/master | <repo_name>animkaTT/redmine-api-client-php<file_sep>/lib/Redmine/Exception/CurlException.php
<?php
namespace Redmine\Exception;
class CurlException extends \RuntimeException
{
}
<file_sep>/lib/Redmine/Http/Client.php
<?php
namespace Redmine\Http;
use Redmine\Exception\BadRequestException;
use Redmine\Exception\Curl... | 3da9425566f84e04155d6089cfa09086c9a6161d | [
"PHP"
] | 3 | PHP | animkaTT/redmine-api-client-php | 90535ca6d0f3194636e5739b5da9253f6a9f9d4c | 402ca97d3ae34393e8461e77b78e475a48c5d005 |
refs/heads/master | <repo_name>xdpsee/jinyongwuxia<file_sep>/src/Settings.js
import Storage from 'localforage'
export default {
key: {
fontSize: 'reader.font.size',
fontFamily: 'reader.font.family'
},
load (key) {
return Storage.getItem(key)
},
save (key, value) {
return Storage.setI... | 03f446f6396a2cfce26b5542c5066f90bbfc83ee | [
"JavaScript"
] | 2 | JavaScript | xdpsee/jinyongwuxia | 529c3b1c426c98b9bb6da181a00733bfa768b24c | 9cf0a127cae7f605aafc36c378f89e17e1dfb94d |
refs/heads/master | <repo_name>p-sad/Waffle<file_sep>/waffle-chai/src/matchers/misc/account.ts
import {Contract, Signer, Wallet} from 'ethers';
export type Account = Signer | Contract;
export function isAccount(account: Account): account is Contract | Wallet {
return account instanceof Contract || account instanceof Wallet;
}
export ... | 26d485ab8c75ac43e54fd2d168be8b7fc78388ed | [
"Markdown",
"TypeScript"
] | 43 | TypeScript | p-sad/Waffle | 77b35b1a38044de3995cf1d9e85ca7ee538b8420 | 4dd542fa3a1e8c9d92d803667a2cada847b4d912 |
refs/heads/master | <file_sep>from .parser import ParserMixin
<file_sep>import os
from .qvlibrary import QvLibrary
from .qvnote import QvNote
from .qvnotebook import QvNotebook
from ..utils import is_qvlibrary, is_qvnote, is_qvnotebook
class QvFactory(object):
@staticmethod
def create(filename):
path = os.path.join(os.g... | fbcca24322b4a83e3a67a4cd90de37cd01b45d91 | [
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 11 | Python | pktangyue/quiver2html | befb2deaaba6c689fafcc84f19f74a283fa1f550 | 7f256be30d9dee9b2993f8b20097edc6ca092314 |
refs/heads/master | <repo_name>keawade/pathfinder-tools<file_sep>/public/js/custom/dice.js
var dice = ['4', '6', '8', '12', '20', '100']
dice.forEach(function (die) {
var btn = document.getElementById(die)
btn.addEventListener('click', roll)
// btn.click()
})
function roll (e) {
var die = Number(e.srcElement.id)
var num = Numbe... | 2766b93b7ad018d39069e770fe555be7e8ecaf58 | [
"JavaScript"
] | 4 | JavaScript | keawade/pathfinder-tools | d32aaf221bc8f63b67514dbdef995fe41dea3830 | e3ad4f04d95d155259aab914403501b3d58e2a86 |
refs/heads/devel | <file_sep>library(testthat)
library(GenomicDataCommons)
test_check("GenomicDataCommons")
<file_sep>#' Query GDC for data slices
#'
#' This function returns a BAM file representing reads overlapping
#' regions specified either as chromosomal regions or as gencode gene
#' symbols.
#'
#' @param uuid character(1) identify... | 6b793edcb3856fb39a00861c5068e42f34883d8c | [
"Markdown",
"R",
"RMarkdown"
] | 38 | R | Bioconductor/GenomicDataCommons | 007c2917f40412a3272dae41d6438ac5df284972 | 348e1879607e51dccd218229aa76746806386e17 |
refs/heads/master | <repo_name>Sorenfu/route_translator<file_sep>/lib/route_translator/extensions/action_controller.rb
require 'action_controller'
module ActionController
class Base
around_filter :set_locale_from_domain, :set_locale_from_url
def set_locale_from_url(&block)
I18n.with_locale params[RouteTranslator.locale_... | 166b5b8f941ecdb24d8e1d92c6a91d5d352f7dbe | [
"Ruby"
] | 1 | Ruby | Sorenfu/route_translator | 790bb952653a1b1c0cfbdfc2e3288dc6b5f27898 | bb34a27c863fd65c1bca2005de56382c7031fb81 |
refs/heads/master | <repo_name>rifqirianputra/Pokemon_PythonDex<file_sep>/Pokemon PythonDex.py
import requests
import json
controlloop = ''
while controlloop != 1:
print('===============================')
print('====The Pokemon PythonDex======')
inputpoke = input('please input Pokemon name: ').lower()
if inputpoke =... | 8cdf5e678cae3e6e72f9fe165d0e45e3c12d9f41 | [
"Python"
] | 1 | Python | rifqirianputra/Pokemon_PythonDex | 22db1ee547b12d4b8e937e3e504676f240f44286 | f512b2084bd5d279a1165cfc7d6d754dc4daacbd |
refs/heads/master | <file_sep>import styled from 'styled-components'
export const ListParagraph = styled.p`
font-size: 18px;
line-height: 30px;
color: rgba(255, 255, 255, 0.75);
@media ${props => props.theme.breakpoints.md}{
font-size: 16px;
line-height: 28px;
}
@media ${props => props.theme.breakpoints.sm}{
fon... | c7c82c47d1db6e6c6dd64ff9f7983374b49f4269 | [
"JavaScript"
] | 2 | JavaScript | lucaskrms/portfolioReact | 5f351b5caf953aff17a59fc8a18879653b6eb27b | 0b97e2395413577d2ec95db4a02671a6a8a4cce9 |
refs/heads/master | <file_sep>//
// QuizModel.swift
// IOSBasicsFun
//
// Created by <NAME> on 9/28/20.
// Copyright © 2020 <NAME>. All rights reserved.
//
import Foundation
struct QuizModel {
// Parallel arrays
private let questions: [String]
private let answers: [String]
private var currentQuestionIndex: Int
... | aeaa09187559030693f16372959d75b65bf63099 | [
"Swift"
] | 2 | Swift | ChloeRC/IOSBasicsFun | 2f9217f00f2de2b082e7f9879131613cc6892ed7 | 35585c261e8f94516ae62c6346f5bed35b873e4a |
refs/heads/master | <file_sep>INSERT INTO NewsPost (NewsPostID, Title, Content, PostDate) VALUES(1, 'News post Title', 'Some content in this news post.', '2018-12-31');
INSERT INTO PageContent (SectionID, SectionName, ContentValue) VALUES(1, 'About', '
<h4 class="card-text">Welcome to the Rubba Duck Webshop</h... | 1067fa641ebc9adb596c6e48bb037dee40a6d468 | [
"JavaScript",
"SQL",
"PHP"
] | 19 | SQL | AnnemetteBP/cms-backend | d52dcd7d5fad7ff6765cfcb897c42d0b5aee70bd | bbfb8f1794fe76578b2878f4a6bd04cec9e01176 |
refs/heads/main | <repo_name>RicardoJiang/ComposeFlowLayout<file_sep>/app/src/main/java/com/zj/composeflowlayout/FlowLayout.kt
package com.zj.composeflowlayout
import android.util.Log
import android.view.Gravity
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.Layout
impor... | 0e684eb0cff9d975b8041893e577142987190131 | [
"Markdown",
"Kotlin"
] | 3 | Kotlin | RicardoJiang/ComposeFlowLayout | 36b6bcea92c13b2fc91f051e1b27c737922f887c | 2802d5ad2cae176f58a3048ddd89906cee37c754 |
refs/heads/main | <repo_name>ShoheiNishimoto/javascript_practice<file_sep>/1-4/main.js
const tasks = [
{
content: '机を片付ける',
ganre: '掃除'
},
{
content: '牛乳を買う',
ganre: '買い物'
},
{
content: '散歩をする',
ganre: '運動'
}
]
function showTask () {
console.log ('========================');
console.log ('現在持ってい... | 2e34f737e01e2e0e1a967ad141f5ad379886525f | [
"JavaScript"
] | 6 | JavaScript | ShoheiNishimoto/javascript_practice | d867b431f7b6ccd920fea14a9684f8b22d69db4c | 8bdd8ea8455824af81aba13e8b8df14638507ed5 |
refs/heads/master | <file_sep>package com.teaneck_squad.demo.Controllers;
import com.sun.xml.internal.xsom.impl.Ref;
import com.teaneck_squad.demo.models.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframewo... | 946c3a2c776e60987a367d300ca98a282d1d69e1 | [
"Java"
] | 2 | Java | NCorreia100/demo | 5564ef6132abcbb5cfd030da497cb84ce5b33aac | 91e5c3014c1d4cbec22997ca915f7be8e8ad664f |
refs/heads/master | <file_sep>#include "yeti.h"
#include "sdp_filter.h"
#include <string.h>
#include <ctime>
#include <cstdio>
#include "log.h"
#include "AmPlugIn.h"
#include "AmArg.h"
#include "jsonArg.h"
#include "AmSession.h"
#include "AmUtils.h"
#include "AmAudioFile.h"
#include "AmMediaProcessor.h"
#include "SDPFilter.h"
#include "... | 7db9b25adabe0feb7f4447b27b1dbaa07375199f | [
"C++"
] | 5 | C++ | vdedyukhin/sems-yeti | 2566edb84fd5cfea3b3ae2a2f12f79a8fa6a07dd | b53133971d99694aee59370d3b640343f6402d91 |
refs/heads/lab1 | <file_sep>package lab3.store;
import lab3.model.Wood;
public class WoodDirectory extends AbstractStore {
public Wood get(int id) {
for (Object o : arr) {
Wood wood = (Wood) o;
if (wood.getId() == id)
return wood;
}
return null;
}
public boo... | 4ec810dee3c8e9f77c9090e315f5b6b47fc1b77a | [
"Java"
] | 6 | Java | Angel-88/university-Java | 176de05b524ad1355fd0c6453b6cd2af4a922290 | cc782899043fa6a768a7098562b6aba1ecfe63a8 |
refs/heads/main | <repo_name>nbgspl-github/python<file_sep>/paradigmatic/app/v1/users/controller.py
import typing as t
from paradigmatic.app.v1.core.security import get_password_hash
from fastapi import HTTPException, status, UploadFile
from . import models as user_models, schemas
def get_user(user_id: str) -> user_models.User:
... | 1fa2c80f6f199011555e323a4865b327821aa02a | [
"Python"
] | 11 | Python | nbgspl-github/python | 85b595fb18dde61d9aa844055887440e480bd3a0 | e1bcf824f1a80ea64b0e7b1ad0d1458a42019a49 |
refs/heads/master | <file_sep>'use strict';
var _$ionicLoading;
var _VelovService;
var _ = require('lodash');
// Maps controller class
function MapsCtrl($ionicLoading, VelovService,$state) {
_$ionicLoading = $ionicLoading;
_VelovService = VelovService;
this.stationId = $state.params.stationId;
this.stations = [];
this.map = { cen... | e8282119833c15d8acc09f5419555d638ccb51e1 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | tomadj/ionic-velov | adf59d7219d57b1f5f63bd378b069320270eaf6f | 89b3a041f32d8ed88f1ec8d56af7362adf694af1 |
refs/heads/main | <file_sep>package com.bsav.siapm.utils;
public class Constants {
public enum ERole {
ROLE_PROFESSOR,
ROLE_ADMIN,
}
}
<file_sep>package com.bsav.siapm.controller.responses;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class JwtResponse {
private S... | fc524a6da2de8b56a1bbf58d3e2cb3360a9988d4 | [
"Java"
] | 3 | Java | S8Vega/siapm-backend | b08029391d51788f652ef0bd4e77b32b9b963e87 | afcd74a83fa7a002f3f379938ec3b46c97705c0a |
refs/heads/master | <repo_name>Kuysolov/final_project_group_6<file_sep>/src/partials/page_advantages.html
<section class="page_advantages">
<div class="container">
<div class="wrap">
<p class="subject">старая традиционная школа</p>
<!-- <div class="subject">
<h3>старая традиционная школа</h3>
<svg cla... | 1924aa46ad7775f93a4ce399f91ac938fb365910 | [
"JavaScript",
"HTML"
] | 2 | HTML | Kuysolov/final_project_group_6 | 4a4573211af373b1bd3f48694917c6e68528fd08 | 7e7ea0005a65ba99937135b3bd3afe25749d582a |
refs/heads/master | <repo_name>gabrielbartoczevicz/gostack-11-challanges<file_sep>/packages/challange-06/src/config/upload.ts
import multer from 'multer';
import crypto from 'crypto';
import path from 'path';
const uploadFolder = path.resolve(__dirname, '..', '..', 'tmp');
export default {
directory: uploadFolder,
storage: multer.di... | 060432a8ad3efa3d3bfcf31672d40bb3f97623cc | [
"Markdown",
"TypeScript"
] | 3 | TypeScript | gabrielbartoczevicz/gostack-11-challanges | ce270d7f7d9d3d8c794b3279d19cc65740c127b4 | 8b6db5b8580dce7096339aaee809914b0caa3994 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { HomeModel } from './../shared/home-model';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
home: HomeModel;
drpStudent = ['<N... | efcaf8b699a5d3c657bfb87a00fbcfe2e8685817 | [
"TypeScript"
] | 2 | TypeScript | spencerdw/INFO451-Final | f4d0ca91072907eb4c01a23f64ee0df07265094d | 529a19c1b755936e536374e4da2ddcbbb093209e |
refs/heads/main | <repo_name>junwin/housePriceJs<file_sep>/src/app/houseprice/houseprice.component.ts
import { Component, OnInit } from '@angular/core';
import { HouseFeatures } from '../houseFeature';
import { FormsModule } from '@angular/forms';
import { Observable } from 'rxjs';
import * as tf from '@tensorflow/tfjs';
import { HouseP... | ae6f3b6b0163e7645af8ddeaafaa9ebd584092dd | [
"TypeScript"
] | 3 | TypeScript | junwin/housePriceJs | 0a71e8a9785005ea12a99594d8d1ea41cfaa1a98 | 8436a11852c50402a89c3d509299ae78a7fc2be0 |
refs/heads/master | <repo_name>cjsatuforc/R3E-Input-Monitor<file_sep>/R3E_Inputs_Monitor/preferences/model/PreferencesModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace R3E_Inputs_Monitor.preferences.model
{
public class PreferencesModel
{
... | 0561f9b5e6cb639cd4c2a8d33647393dff8aa12d | [
"Markdown",
"C#"
] | 20 | C# | cjsatuforc/R3E-Input-Monitor | fd65caa84f00ce86a8ebd1ae4bbcafcd37d4971e | 8db7c134c715f187144701bd2725ad191484bd24 |
refs/heads/master | <file_sep>//Author:Xjun
#include "AntiDebug.h"
/*
* 禁止目录重定向
*/
BOOL safeWow64DisableDirectory(PVOID &arg)
{
typedef BOOL WINAPI fntype_Wow64DisableWow64FsRedirection(PVOID *OldValue);
auto pfnWow64DisableWow64FsRedirection = (fntype_Wow64DisableWow64FsRedirection*)\
GetProcAddress(GetModuleHandleA("kernel32.dll... | 6cf030aac3f46555792b416180100e15f96ba066 | [
"C++"
] | 2 | C++ | PubHub/Kutsushita | f3e04992a9a9d25971845d1dad63b5f072d50cee | 36daea5311a790155cf786947eade51129854064 |
refs/heads/main | <file_sep>import { post, get} from "./config";
// index
//新版本新增接口
export const classifyImg = params => post('/api/image/index',params); //按分类返回图片列表
export const logoList = params => post('/api/logo/phoneList',params); //图片列表
export const logoCate = params => post('/api/logo/logoCate',params); //分类列表
export cons... | 61a0b59fc672d83fe2c53eee6a7111d952e970e3 | [
"JavaScript"
] | 1 | JavaScript | FZ243477/tingzhilanMobile | 62ae0c33ec36be504011f653e77849506e81e4ef | 8a20e4e3f0a049cc2ef1660add99dc8f7b73d3dc |
refs/heads/master | <repo_name>simuChen/TUMSHelper<file_sep>/src/libs/MailHandler.py
# -*- coding:utf-8 -*-
'''
Created on Oct 11, 2014
@author: czl
'''
import logging, time
import base64
import email
import cStringIO
import os
from smtplib import SMTP
from poplib import POP3
from libs.SocksSMTP import SocksSMTP
from li... | 0634fa59d4bb8a694278e82967e004681794179d | [
"Markdown",
"Python"
] | 11 | Python | simuChen/TUMSHelper | 171a46fc5eefcc01495456acad6ff08889d19281 | 1cbdfd1cbcf851e694bf382c4fa19cb4886678f7 |
refs/heads/master | <repo_name>gokhanzalim/etiyaa<file_sep>/src/main/java/com/etiya/Repositories/IssuesRepository.java
package com.etiya.Repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import com.etiya.entities.Issues;
public interface IssuesRepository extends JpaRepository<Issues,Integer> {
}
<file_sep>/RE... | d32177d84d4b6fdbbfade38aa4837bb6efd8489d | [
"Markdown",
"Java",
"SQL"
] | 8 | Java | gokhanzalim/etiyaa | 12ad86ca51adb8152a13cc8677b096213eac4ba2 | df83e532026e88f93d50b017c37f27510d951883 |
refs/heads/main | <repo_name>azkasyafaf/pirple-java-fundamentals<file_sep>/Homework6/src/homework6/sphere.java
/*
Class Sphere
Part of Homework #6 Package
*/
package homework6;
/*
* This code written by : <NAME>
* Friday, 11 September 2020
*/
public class sphere {
private float r;
public sphere(float rad... | 1ec60f436ff80ca7452b8618ad4690cb5a410ad3 | [
"Java"
] | 1 | Java | azkasyafaf/pirple-java-fundamentals | 7c1935b09e822e8b77fad554ec3745a4371bdc74 | abcf3f0acea70bb5f214ed63d6b3dda20f3006a7 |
refs/heads/master | <file_sep>export const environment = {
production: true,
firebase: {
apiKey: "<KEY>",
authDomain: "angular-crud-65322.firebaseapp.com",
databaseURL: "https://angular-crud-65322.firebaseio.com",
projectId: "angular-crud-65322",
storageBucket: "angular-crud-65322.appspot.com",
messagingSenderI... | 066f3ae1f8ecb02316b01cd58d6fba1cbc048ec8 | [
"TypeScript"
] | 5 | TypeScript | gdurgaprasad/angular-firebase-crud | c4d1322a604a77ebfbebcd893b9a9fe58bf48f1b | f51c93d41e9b39e0da49d02a45426fbdc1bea350 |
refs/heads/master | <file_sep># 29° Esercizio Corso Boolean
<file_sep>$(document).ready(function () {
var baseUrl = 'http://172.16.58.3:4011/sales';
apiCallGet();
$('#submit').click(function () { // Al click del bottone
var selSalesman = $('#sel-salesman').val(); // Assegno a variabili i valori dei campi del form
... | c42db0e1088f6ebe85953c43b6f0ee9a29d1372a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Luigi-Fontana/rest-chartbool | 9e5c75c3f0ee35e6cee5aeed8d530b8cc55b76b6 | 995277a602c75d0ea0449789b6cc4d177f0c200b |
refs/heads/master | <repo_name>dane-king/neo4j.client<file_sep>/kb-server/src/test/java/net/daneking/resource/AbstractResourceTest.java
package net.daneking.resource;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
public class AbstractResourceTest {
@Test
public void shouldInstantiateListIfConstructedWithNull() ... | 28888fd97cb322f1f8f440374df51ac85563fd5a | [
"Java"
] | 6 | Java | dane-king/neo4j.client | fb90c53a80d3be9829d5bf0758364c20a49a7b18 | 70bac2e9476412202d99520454e7d003c73189b6 |
refs/heads/master | <repo_name>ggbggb/School<file_sep>/Service/SchoolService/School.Domain/Transaction.cs
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace School.Domain
{
public class Transaction
{
[Column("TransactionPK")]
public Guid TransactionPK { get; set... | 7809f7f2feb4b6ed89dc5ffb654de2302b7384c4 | [
"C#"
] | 18 | C# | ggbggb/School | 28e4bdaf87f5e534e76fb831b295b897110db118 | 346d4077255f5c6c98909af295df139a4ab678ac |
refs/heads/master | <file_sep># Express Stylus middleware
Stylus-to-CSS conversion middleware for Express to make simple magic on the fly.
It's a Stylus-version of [Express-less](https://github.com/toogle/express-less) middleware
## Installation
```bash
npm i express-stylus-middleware -S
```
## Usage
```js
const express = require("exp... | 9ac924a47968c84fe8a4f940d79da41aa2ef05c9 | [
"Markdown",
"JavaScript"
] | 4 | Markdown | rodynenko/express-stylus-middleware | cd5be5e5e69cf925e26169c5e0b883e26e58b5fd | bfd5aca9ae9c833332932bb59b94bcd4003c4fdc |
refs/heads/master | <repo_name>RupinderRoop/QuickChat<file_sep>/Crypto.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace ChatApplication
{
class Crypto
{
public static string Encrypt(string orignal,string ke... | bd103873e6539b8fd551bb1857bd14c6d70cf149 | [
"Markdown",
"C#"
] | 4 | C# | RupinderRoop/QuickChat | 8e8b92d7edb7a0e56bf0173533b99d699b4c817d | ce347daf6f07ee0f5b78bf34779d09782aff666c |
refs/heads/main | <repo_name>luizphilippe/Cursonode<file_sep>/CursoNode/index.js
const express = require('express');
const app = express();
app.get("/", function(req,res){
res.send("Seja bem vindo ao index!")
});
app.get("/teste", function(req,res){
var requesteste = require("./teste");
res.sendFile(teste... | 8cff590971723c3c8542a92a6b1e0d8668050ac8 | [
"JavaScript"
] | 3 | JavaScript | luizphilippe/Cursonode | b55b7f6f35e65b8dc86bba947f09996ce4be6e50 | 4eee16da784977a3978d15c9472efb404cca212b |
refs/heads/master | <repo_name>prishnil/JavaScriptLabs<file_sep>/DrawTriangleTutorial1.js
const offsetMaker = function(offLen) {
let space = "";
offLen = offLen * 3;
for (var x = offLen; x > 0; x --) {
space = space + " ";
}
return space;
}
const triangleMaker = function triangleMake (offset, length) {
l... | 540c13714b45bcaeb326580e9e443e6fffdc820f | [
"JavaScript"
] | 6 | JavaScript | prishnil/JavaScriptLabs | 342c205ef5bf0c0b35923548bf16fb5b467b99cb | a5b6ca7ca3c7b01c796caa1e44a7caebc0e07a0e |
refs/heads/main | <file_sep>import { renderHook, act } from '@testing-library/react-hooks'
import { usePagination } from '../../hooks'
describe('usePagination hook', () => {
const PAGES = 3
test('hooks creates correctly with default values', () => {
const { result } = renderHook(() => usePagination({ nPages: PAGES }))
expe... | 2bd818697eabcf6336a0436cf43952c3055a4f57 | [
"Markdown",
"TypeScript"
] | 6 | TypeScript | Kataclan/nextjs-carousel | 68f526517ef89ae0073aea34cca50891e49532dd | 383feacf9a62f4dd722af0649a47b6b005055fb9 |
refs/heads/master | <repo_name>DannBlackfish/pruebaUmvel<file_sep>/src/app/app.component.ts
import { Component, OnInit } from '@angular/core';
import * as firebase from 'firebase';
import { AdministracionService } from './servicio/administracion.service'
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleU... | f15f00b3ee39470f017b97f86b64bed23a041fb9 | [
"TypeScript"
] | 7 | TypeScript | DannBlackfish/pruebaUmvel | f41261a79a2e0ec059990a42823c2e2f1e749db8 | 03e8adfddeae63baebb5dfd4b8455b153d5d2eff |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace FatAntelope
{
public class XTree
{
public XmlDocument Document { get; set; }
public XNode Root { get; set; }
public XTree(XmlDocume... | aff611598fdb671df0953efd2ba26254d4ba60e1 | [
"C#"
] | 1 | C# | shibayan/FatAntelope | 3b09f0a958124ed752fd2338f6a54a25da146839 | 735a8ef449c0722cc08c306f6a49878882624ab7 |
refs/heads/master | <file_sep><?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "login";
$id = "";
$ucid = "";
$password = "";
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
// connect to mysql database
try{
$connect = mysqli_connect($servername, $username, $password,... | 148b17383acf96cdbbf6e49aa2f0efbe8dc7dcc0 | [
"PHP"
] | 2 | PHP | sirox548/CS_490.github.io | b258c23af50af86611f568ec48d9fd29cf701378 | 5342683949e408704874c1d2acfad3ea6d083378 |
refs/heads/main | <file_sep>let addsheet=document.querySelector(".plus");
let sheetlist=document.querySelector(".sheet-list");
let firstsheet=document.querySelector(".sheet");
let topRow = document.querySelector(".top-row");
let str = "";
for (let i = 0; i < 26; i++) {
str += `<div class='col'>${String.fromCh... | 0ca4b5bba41e07f59c735c17ea580c9f30494b32 | [
"JavaScript"
] | 1 | JavaScript | ayush9090/EXCELCLONE | 5df76724eda88b0a45f81ef6bbf44d40f999449b | bb8aa12f0d3e5591939a4c8feb733a37ab2dc30c |
refs/heads/master | <file_sep>#include <dirent.h>
#include <fstream>
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <string.h>
#include <stack>
using namespace std;
stack<string> PrimaryStack;
stack<string> AuxStack;
void extractWord(string word)
{
while (!PrimaryStack.empty())
{
if (PrimaryStack.top... | f20552e42be4099207ff9d4d0d5c97e56a2fbd60 | [
"C++"
] | 1 | C++ | royemerson97/C-HTML-Crawler | 2d2cb48bcf338e1915b4437ea0f02552ebaf2f15 | 1e53fc505282e61ca0ca2ab7a6680f5c907b95e2 |
refs/heads/master | <file_sep># Sidekiq::Instrument
[](https://travis-ci.org/enova/sidekiq-instrument)
[](https://coveralls.io/github/enova/sidekiq-instrumen... | 2596d5d2c3c40ee7f8e0ddd8d25aaf9b9c077413 | [
"Markdown",
"Ruby"
] | 11 | Markdown | luigisbox/sidekiq-instrument | e455e96312261f72ee0003d646bfe1f621541a7e | bcfee16b687226f5cc0fe958173726843d7526f4 |
refs/heads/master | <repo_name>TasbirahaAthaya/EDUCATION-SYSTEM-OF-BANGLADESH<file_sep>/README.md
# EDUCATION-SYSTEM-OF-BANGLADESH
## Database Lab Project'2017
This project was done as my database management system course’s lab project which includes:
· Entity-Relationship (ER) diagram
It is about connecting the administrative hierarchy... | 9ea514933ef52d52926d3cd8b2febf1000c65b43 | [
"Markdown",
"PHP"
] | 15 | Markdown | TasbirahaAthaya/EDUCATION-SYSTEM-OF-BANGLADESH | 628946a3ae9493ad430dda68edc2a6cc4f7aa5a5 | 71c31ec438cb9a56434f7edfe47c1730d282fda9 |
refs/heads/master | <file_sep>package fr.eservices.soaring.model;
public class Profil {
}
<file_sep>package fr.eservices.soaring.model;
public class Repas {
}
<file_sep>package fr.eservices.week402.app;
// Set this class as a configuration class,
// scan fr.eservices.week402.ctrl for components
// enable spring web mvc
public class A... | 2b5896bf87548cd26c6dc058d8d58b691b34a979 | [
"Java"
] | 4 | Java | lanaflon-cda2/java_ee_spring-16 | 12c4182f1bb8b2c6d7f67120ff800534a31cd123 | 045224fea8e32306b9a899b32dd14e550f35000e |
refs/heads/master | <file_sep>package com.xxm;
import com.xxm.CommonUtil;
public class MergeSortMain {
public static void merge(int[] dataArray, int left, int mid, int right, SortType sortType) {
int[] tmp = new int[right-left+1]; // 辅助数组,归并排序
int point1 = left; // point1指向待合并数组左侧的第一个元素
int point2 = mid+1; ... | 8a76ea5cfca5c79f80a3c260cfec84a1c843edf9 | [
"Markdown",
"Java"
] | 6 | Java | xianminxiao/DataStructureAndAlgorithm | 810be2a796ae9afd4add686ad65eac075413dd96 | 6683ad27c6eff05b66568b77a0fcb4cb19fb8b35 |
refs/heads/master | <file_sep>#include "configuration.h"
#include "common/config_file_parser.h"
namespace {
// Configuration file name.
const char kConfigurationFileName[] = "bpex.ini";
}
// static
Configuration* Configuration::GetInstance() {
// Magic statics.
static Configuration instance(kConfigurationFileName);
return &inst... | 9c6949f2fd2edd7775a5ff67ef483f6428b572d9 | [
"CMake",
"C++"
] | 5 | C++ | larvavral/bpex_core_refactor | 044a5903fda0de8d3242e1b95ba76cbe5c7dfeb0 | d72c426cc02e757ea91e0f28573fc33c37ea5e5e |
refs/heads/master | <repo_name>hugobarthelemy/allergo<file_sep>/app/controllers/ingredients_controller.rb
class IngredientsController < ApplicationController
before_action :set_product, only: [:edit, :destroy]
before_action :set_ingredient, only: [:edit, :destroy]
skip_after_action :verify_authorized, only: [:destroy]
def destroy... | a26762dfb287baa8880426fe0ba76b0f31294859 | [
"JavaScript",
"Ruby",
"Markdown"
] | 28 | Ruby | hugobarthelemy/allergo | 7d26956df42547d5e8b79894ab28e69410205b99 | c78871edcbf9e61967f2ebd787516a8c35076521 |
refs/heads/master | <repo_name>DumiduM/Soap-consume<file_sep>/index.php
<?php
session_start();
$url = "http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL";
$client = new SoapClient($url);
// $fcs = $client->__getFunctions();
// $types = $client->__getTypes();
// var_dump($fcs);
// var_dump($types);
$Cou... | 749b14f7131a2359893158f1dd71188750dcb2d6 | [
"PHP"
] | 1 | PHP | DumiduM/Soap-consume | 50d66aa4dbb3e3f751238d4ee28991543660dd1f | b47b5e5f70d2baa9783877044fb6212a4edde498 |
refs/heads/master | <repo_name>krisuety/seq2seq_chatbot<file_sep>/README.md
# seq2seq_chatbot
## Data : [Chatbot_data for Korean](https://github.com/songys/Chatbot_data)
## Framework : Pytorch
## Model : seq2seq + Attention
## Reference : Learning Phrase Representations using RNN Encoder– Decoder for Statistical Machine Translation
#... | 3345e6d8956b01c00d948b0384dc85481fb71f18 | [
"Markdown",
"Python"
] | 2 | Markdown | krisuety/seq2seq_chatbot | c8afd3f6105997c4fe899ad5b7fb2bcd5a4832cc | edd597eeb55aa209543f39e6c10bf948b012dd98 |
refs/heads/master | <file_sep>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/time.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <math.h>
#include <ctype.h>
#include "cs402.h"
#include <locale.h>
#include "my402list.h"
/* ----------------------- Global -----------... | 9c243adb77122ca69e34dd369e89c099382f4719 | [
"C"
] | 3 | C | arcLinx/CS402 | 2e0751f427c987a50a5492b88f3d663280d93540 | 357b8b1d8552d040a7406184e8773ab7556048d3 |
refs/heads/master | <repo_name>yanghu/dotfiles<file_sep>/scripts/dependency_install.sh
#!/bin/bash
DOTFILES_DIR="$HOME/.dotfiles"
change_to_zsh() {
if [ "$(echo "$SHELL" | grep -c "zsh")" -eq "0" ]; then
echo "Setting shell to zsh"
chsh -s "$(which zsh)"
else
echo "zsh is already the default shell"
fi
}
create_ssh() {... | ba6dfe6470b52f0370da60c95c1bf42ed7dcda73 | [
"Shell"
] | 8 | Shell | yanghu/dotfiles | bfce99531002dbea7c04a5e8c84662e9950bb06e | bc55a6f8e409eb40380d41d5e7efee6510858a77 |
refs/heads/master | <file_sep># README
Clone
Usage:
bundle install
rake db:create
rake db:migrate
rails s
--------------------------
For new clones run:
rails c
$>s = Setting.new
%>s.save
<file_sep>class SettingsController < ApplicationController
def new
end
def index
end
def edit
@setting = Set... | 5e502253092c7d3c0cf9b4e977581d1e03c7925b | [
"Markdown",
"Ruby"
] | 5 | Markdown | frcake/ThreatDb | 0260b4320e2cc72499fc61396dcdefbcfa787285 | 4236e9a79960bd94e5706c565e1e8a1fb6f47112 |
refs/heads/master | <file_sep>#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <signal.h>
#define ADDR (224 << (3*8)) + 7
#define MESSAGE "Hello from server!"
#define MESSAGE_LEN (strlen(ME... | 8cbc58446def4b0968fbad43563fc975e9a2e6bc | [
"C",
"Makefile"
] | 3 | C | ReRandom/multicast | 00fde6ce17550bb5036e80d0e34a35b6982e9568 | 0a4a360c1ed3090128d7b67828b51d72794ed93b |
refs/heads/master | <file_sep>package com.example.ac_twitterclone;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import com.parse.LogInCallback;
import com.... | e703b6267b52470211ecfd670c7de6e9c6f29238 | [
"Java"
] | 2 | Java | ManishBansiwal29/AC-TwitterClone | 60ab3983a3c6eef069feb51c417779d133f84515 | a4402e69a072b237f7acecefb7b6f034c26d735e |
refs/heads/master | <file_sep>package output
import (
"fmt"
"path/filepath"
"github.com/bitrise-io/go-utils/fileutil"
"github.com/bitrise-io/go-utils/pathutil"
)
func saveRawOutputToLogFile(rawXcodebuildOutput string) (string, error) {
tmpDir, err := pathutil.NormalizedOSTempDirPath("xcodebuild-output")
if err != nil {
return "... | eccfe5ce0f42793472dbe55c533459159aceb9e8 | [
"Markdown",
"Go Module",
"Go"
] | 22 | Go | godrei/steps-xcode-test | 4ca110f00a6925f9a20726d72b74188efeec46f6 | cc0fc7d2d53275d0b0f6b690c5d822f85a52a9fd |
refs/heads/main | <repo_name>Unigmos/ImageDivisionSave<file_sep>/README.md
# ImageDivisionSave<br>
画像の分割保存を行うプログラムです。<br>
## 機能<br>
1枚の画像を切り分けて保存する
要はこんな感じ(例として横4,縦2で分割)↓<br>

分割数を変えたい場合はverticalとhorizontalの値を変更すること... | c8c047fe3b208abde4d3999f1dccbe6269d5d9a6 | [
"Markdown",
"Python"
] | 3 | Markdown | Unigmos/ImageDivisionSave | 8186c5ef3ee25c3059c13646d2b88ac488c631ee | 929e9f429720d40ab49df08021d9718361439b57 |
refs/heads/master | <repo_name>ashoeb81/SFND_Lidar_Obstacle_Detection<file_sep>/src/processPointClouds.cpp
// PCL lib Functions for processing point clouds
#include <cmath>
#include "processPointClouds.h"
//constructor:
template<typename PointT>
ProcessPointClouds<PointT>::ProcessPointClouds() {}
//de-constructor:
template<typename... | a7d73760717ada02864011e683828cfddcdca081 | [
"C++"
] | 2 | C++ | ashoeb81/SFND_Lidar_Obstacle_Detection | b5606651ecd70d2d8342f4bef155f7e2bea5e847 | 5f60c61206d8e3f9aa09dd853dc04a0d76fc5c81 |
refs/heads/master | <file_sep>function zle-keymap-select {
VIMODE="${${KEYMAP/vicmd/☭}/(main|viins)/Ⓐ }"
zle reset-prompt
}
zle -N zle-keymap-select
VIMODE="Ⓐ "
PROMPT='$fg_bold[red]%}${VIMODE}% %{$fg_bold[green]%}%p %{$fg[white]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMP... | ba33c22d6c6a49f1056759dd9f7a8e95e7b9fd64 | [
"Ruby",
"Shell"
] | 7 | Shell | laribee/dotfiles | ac596f2c900332bef265d32eb29eae4219f1eac5 | 3e13dfb99f670ef1b11c78f8f0bac5ee866c4aa7 |
refs/heads/master | <file_sep>class MazeRunner
attr_accessor :mazeWalls, :mazeCells, :cell
def initialize(base, height, mazeWalls)
@base, @height, @mazeWalls = base, height, mazeWalls
@mazeCells = Array.new @base*@height, false
runMaze
end
def runMaze
@cell = MazeCell.new 0, @base, @height
cellStack = Array.new
while @ce... | 4b05808e8bbd10f747fab0f7a5e9d3e0176406a1 | [
"Ruby"
] | 4 | Ruby | emmafurth/maze | 9b1e7b08d73038d1c1b3e2271f8b24e7bd599c16 | 1850069594747acfe94826eff6b0d0d4acf0e0b6 |
refs/heads/master | <repo_name>Ooodim/Arvore-Binaria<file_sep>/README.md
# Arvore-Binaria
Código cujo o objetivo é contar as palavras existentes em um arquivo de texto simples utilizando Árvore Binária de Busca.
<file_sep>/BinarySearchTree/src/treepkg/Principal.java
package treepkg;
import java.io.*;
public class Principal {
public sta... | 5600f448151c2fcfdbc18199a10c4647229e61ff | [
"Markdown",
"Java"
] | 3 | Markdown | Ooodim/Arvore-Binaria | 22aeab51d1787c2305e728e7ebba8cefcd04da40 | 2db04b0c63f1754af99d99c97d4a0e42c688cba3 |
refs/heads/master | <repo_name>wsaeed77/Nextgentec<file_sep>/app/Modules/Crm/Http/CustomerServiceRate.php
<?php
namespace App\Modules\Crm\Http;
use Illuminate\Database\Eloquent\Model;
class CustomerServiceRate extends Model
{
public function service_item()
{
return $this->belongsTo('App\Modules\Crm\Http\CustomerServ... | 48d7d4d8a6015c08a532379dca937f9794f2f571 | [
"JavaScript",
"PHP"
] | 107 | PHP | wsaeed77/Nextgentec | 9ca6a0d071d93d15ad10760b330a351f1b2fb93b | f573b42f9f11c52fa21c1dafc8baf847aecf4edc |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VariableCompare
{
class Program
{
static void Main(string[] args)
{
CharCompareString();
Console.ReadLine();
}
privat... | e2952afe7285781deda70c0e4e36b8521d05c7de | [
"C#"
] | 1 | C# | wuzuqiang/VariableCompare | 9782f30048dabb757bdada1b663c75e4aa9101cb | 921cd11efdd7c6efc83562d12af9c2b2e1ee3cd9 |
refs/heads/main | <file_sep># Finance-Control-App | 6c3a6d2dae5d525580d58c4b6af297731a328cad | [
"Markdown"
] | 1 | Markdown | enrico-secco/Finance-Control-App | 2e8b44089f38d3583ea6e805ca23210dbe06e33a | c85611ce6cc2238b5fd86e577ea87a11ef3e9c98 |
refs/heads/main | <file_sep>package first;
public class duyuru {
protected int id;
protected String Baslik;
protected String icerik;
protected String date;
public duyuru() {
}
public duyuru(int id) {
this.id = id;
}
public duyuru(int id,String Baslik, String icerik) {
this.id ... | 08db53bfce0fd9e07d52b2d67fd6e43734264f39 | [
"Markdown",
"Java"
] | 6 | Java | GamzeeBabayigit/DiziFilmInceleme | 15268ce2629ed1aa3b7aec0c7c209637e6de0eb3 | caf3bdc79e8538c09d25bd0bd545fe7b3badbf67 |
refs/heads/master | <file_sep><?php
use frontend\assets\AppAsset;
use yii\bootstrap\Nav;
use yii\helpers\Html;
use yii\web\User;
AppAsset::register($this); ?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, use... | f29dd730f50649b9b41915b7005a2e96857afa68 | [
"PHP"
] | 6 | PHP | roanvanbao/itstudio | a8b35224d0f36d33763582ae3c5aabacd556bbd8 | d128b6b2adbda6743ff44e46bbc30b64dcb3e418 |
refs/heads/master | <repo_name>pulkitaggarwl/aml-deploy<file_sep>/code/entrypoint.sh
#!/bin/sh
set -e
ls -la code
python /code/main.py | 837f65459d16ab0b47be9201a5757419401fd517 | [
"Shell"
] | 1 | Shell | pulkitaggarwl/aml-deploy | 64a209a354e2e687592a05eccb0dec7fb3c5301c | 8cb8aba4d9a6e9ea091146aa1f3c086f89ae2449 |
refs/heads/master | <file_sep>package sg.edu.nus.se26pt03.photolearn.DAL;
import java.util.Date;
/**
* Created by <NAME> on 3/10/2018.
* Restructured by MyatMin on 12/3/2018.
*/
public class LearningSessionDAO extends BaseDAO {
private Date CourseDate;
private String CourseName;
private String CourseCode;
private int... | 3f52ea23ec4c5fe72d41ad3a82e2976bba64a67a | [
"Java"
] | 19 | Java | CN075/PhotoLearn_V1 | 4277e96cb428ad6b7ed2d3b42c4b313e5f21877f | 2b91dad69f70e32886f6fc538773ce26c270fc93 |
refs/heads/master | <file_sep>REACT_APP_API_URL="http://localhost:3900/api" | c8b4b946d22b6695522f3b8c1c90e762fdb7cf81 | [
"Shell"
] | 1 | Shell | zestsystem/moviehut | af9bf8e2d5aa4afd0392f2006402072e059678fb | 9676cbaa2066d07500362ad003545529ecfbcceb |
refs/heads/master | <file_sep>torchvision>=0.3.0
pretrainedmodels==0.7.4
efficientnet-pytorch>=0.6.3
<file_sep>"""
BSD 3-Clause License
Copyright (c) <NAME> 2016,
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistri... | 4a0c0b6deec8f4af50d1804f3e30bb24e6a2043e | [
"Python",
"Text"
] | 6 | Text | hktxt/segmentation_models.pytorch | e687eb3fd625d3c735ee8de6d5ad050789f2564f | 9f762add41ce8197414e4300b1ed96363d1cfdab |
refs/heads/master | <file_sep>function NoSignature() {
return {
sign: function(request) {}
};
}
function GeekieSignV1(apiKey) {
return {
sign: function(request) {
var signatureHeaders = {
"X-App-Id": apiKey.credentials["client_id"],
"X-Signature": CryptoJS.HmacMD5(
(
request.metho... | 7fc99dc5ab007f0559e4179267dd592f784abc5a | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | projetoeureka/api-explorer | c1129bf34fb43149fa36bcb0bc219a13f8a03913 | 4477f72ca6a7292306600e2ed2d0fb4f0a15a132 |
refs/heads/master | <repo_name>MrHoseongLee/Queueing-Simulation<file_sep>/visualization.js
class Person {
constructor(type, x, y) {
this.type = type
this.x = x
this.y = y
this.target_x = -1e7
this.target_y = 0
}
setTarget(x, y) {
this.target_x = x
this.target_y = y
}... | b29ea1725366dff963bb6c82bcf8a2af7d864425 | [
"JavaScript"
] | 1 | JavaScript | MrHoseongLee/Queueing-Simulation | 75e5df520351244b5bfec5663bd38ab7d09c12ae | 0cccbbc6269bea35bef95ea90085f35d31736e3c |
refs/heads/master | <file_sep>import React, { useEffect, useState } from 'react';
import Charts from './Visualization/Charts';
import ProgressiveBar from './Visualization/ProgressiveBar';
import {getDataGlobally} from '../api/fetchData';
const ParentVisualization = ({country}) => {
const [globalData, setGlobalData] = useState({});
... | 266d081559663fd55ed3b708c3ac14f27e667b4a | [
"JavaScript"
] | 5 | JavaScript | SajeerJabri/covid-19-app-reactjs | d884c27c90008a1a7f4cbb4ff4af016623f0b77e | f0021d94b74b2f6f19656bec7cc704a89b36a0a9 |
refs/heads/master | <repo_name>VictorVonFrankenstein/steeme<file_sep>/testDeploy.sh
yarn build
aws s3 sync build/ s3://steeme.com/
| f4a2d3f3bd4e51f428ea889928d5a4103d8b0311 | [
"Shell"
] | 1 | Shell | VictorVonFrankenstein/steeme | 671257caec45ba52fbc17c2a13df81ab7628ef1c | 88f2a55afa892b4790eec4a9691dceea5219f362 |
refs/heads/master | <file_sep>package com.example.j.notificationwithalarmmanagerexample;
import android.app.AlarmManager;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.SystemClock;
import android.support.v7.app.AppCompatActivity;
import ... | c8b1f529d98a880771daa370db9c6ec313b9aae7 | [
"Java"
] | 2 | Java | jasonbutwell/Android_AlarmManager_with_Notification | 075ca35a6b05d0de8e68571d29b13820b8fe5eb8 | 9ca8b79d11f8097aaed4ff911ac3d3e51abea652 |
refs/heads/master | <file_sep>package com.meizhenhao.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* @author 梅真好
* @company 京东商城(上海)
* @create 2019-01-08 15:07
*/
@Controller
@RequestMapping("/hi")
public class HiC... | d260cb833cb78256962f7dc8fa46214720a60bd4 | [
"Markdown",
"Java"
] | 2 | Java | meizhenhao/SpringMVCByIDEA | b426c735547105d65df9bfc897491951c15e701a | 98af9de2c59cbf8543759eea86658e079dfc9fdd |
refs/heads/master | <file_sep>package com.hust.jackeyang.weatherapp.activity;
import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Window;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import and... | 0956fc24fc864d3c8af30a04c7c28bf894f050ff | [
"Markdown",
"Java"
] | 4 | Java | jackeyang/WeatherApp | e7217844e1276ece21c2e2b44f8f9e502c74b6dd | 3f3350ee140e10971ca70f4a49e0d773db0d61fa |
refs/heads/master | <file_sep>import android.content.Context
import android.net.ConnectivityManager
import android.util.Log
import com.camilink.alexgps.R
import java.io.BufferedReader
import java.io.IOException
import java.io.InputStreamReader
import java.io.PrintWriter
import java.net.HttpURLConnection
import java.net.URL
class AppUtils... | ee51bfec55233e870349f74a084b6ab64521089a | [
"Kotlin"
] | 2 | Kotlin | Camilink94/AlexGPSTest | cc84f66336fc662837f27fa753e8d22654076460 | c3a8ce26582a47473a4a241dd1d16a45df6942ea |
refs/heads/master | <file_sep>using System.Web.Mvc;
using BindingFun.ViewModels;
namespace BindingFun.Views
{
public class HomeController : Controller
{
public ActionResult Index()
{
var model = new ViewModelBase() {Title = "Programming ASP.NET MVC"};
return View(model);
... | 3e39e4947b0a92429ef470a201195deb6fee9f1a | [
"C#"
] | 17 | C# | bradleyparlungun/mvc3 | f66c89f7e69276e878c209ec752a9ead0dc6c9ad | a651c03fd1c9f6982d5d79d9fa944ddebfabead1 |
refs/heads/master | <repo_name>vinayak1986/hackerrank<file_sep>/bitwise_and.py
# The previous version of the code was fixed to address the code timeout issue in the first version.
# It ended up failing basic test cases on hackerrank. This version combines the approaches from
# the previous versions - looping through a in reverse and exiti... | bfbd60118699ac064da8f960feb3632fdbccafe2 | [
"Markdown",
"Python"
] | 5 | Python | vinayak1986/hackerrank | c903a047cf3c52371b1901d1599e4e6826664726 | 402cca339fd899c656dae3f420cf1819f3953683 |
refs/heads/main | <repo_name>viranca/CS4240_Deep_Learning_Project<file_sep>/influence-aware-memory_Original_Work/Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
glob2 = "==0.7"
pytest = "==5.2.1"
click = "==7.0"
statsmodels = "==0.10.1"
pandas = "==0.25.1"
colorama = "==0.4.1"
matplotlib = ... | b73c087a0d8f568832c9fbec5e726b57657bacf8 | [
"TOML",
"Python",
"Markdown"
] | 19 | TOML | viranca/CS4240_Deep_Learning_Project | 1177c217657726c04071ec600d8aff8b762852da | c19f77833959ca4616660d03da402b43b804c88a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.