branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>#!/bin/bash
eval "`./proccgi $*`"
max_show="15"
http_user="apache"
mktorrent="/usr/bin/mktorrent"
tracker="http://thepiratebay.org/announce"
torrent_directory="/home/louis/public_html/torrents"
torrent_url="http://teltel.co.cc/louis/torrents"
upload_directory="/home/louis/public_html/downloads"
upload_url="... | 6b7ce126ff27dde976bc1c8baa9262f10efa3c82 | [
"C",
"Makefile",
"Shell"
] | 6 | Shell | louisje/myweb | 095e8f01cc6eeeac4a6d5c8a18a7094908ae6cfb | 4cff1b68b44f50fa469831ddc141fd5b106c8a4c |
refs/heads/master | <file_sep>#!/bin/sh
env
set -x
if [ -n "$ICECAST_SOURCE_PASSWORD" ]; then
sed -i "s/<source-password>[^<]*<\/source-password>/<source-password>$ICECAST_SOURCE_PASSWORD<\/source-password>/g" /usr/share/icecast2/icecast.xml
fi
if [ -n "$ICECAST_RELAY_PASSWORD" ]; then
sed -i "s/<relay-password>[^<]*<\/relay-p... | 6d535af59cae70f429cbeda6b29a604580ca5912 | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Shell | trestrantham/docker-icecast | 35b20980450cbba504251827aac7afb7da92ce36 | e95047e07ee7d1bc9fd56dcae017c5c352659580 |
refs/heads/master | <repo_name>mach512/TouchDetector<file_sep>/TouchDetectFile.py
#implementation of the algorithm.
#loading the scaffold files (hdf5) to get the positions for moving the Purkinje neuron to the appropriate position.
import pandas as pd
import h5py
import os
import timeit
from neuron import h, gui
from SampPurkinje... | dc474bd4fb0eaa335b62bfbc6b7012339761fac6 | [
"Python"
] | 3 | Python | mach512/TouchDetector | eec3c8a69239ddb3a7f8028bded2ad8d0379d47f | 9ba14188c44d582e3bd5658d1080482c4bb5f329 |
refs/heads/master | <repo_name>prasannavijayan/LancersApp2<file_sep>/LancersApp/urls.py
from django.conf.urls import patterns, include, url
from django.contrib import admin
import settings
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'LancersApp.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
ur... | 1f7eb95f0de0a1c8be0dca48ec41c6f722652022 | [
"Python"
] | 10 | Python | prasannavijayan/LancersApp2 | 7fade698be890f973d9d2cb29a38685e2d7bfba9 | 5418ce2d1c74823790135fa5c22e5e00e808d1d4 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Appointly.DAL
{
public interface IAppointmentRepository
{
}
}
<file_sep>using Appointly.Models;
using Appointly.ViewModel;
using Microsoft.Extensions.Configuration;
using System;
using Sy... | 7056c5c72668feba2c5a330c14849e6faddf25d9 | [
"C#"
] | 14 | C# | Ayusinha/Appointly | c2ef4b29aa138240010d7a85ac9a6bba55899208 | 3e3868371e197463a657951621e1bd667c316997 |
refs/heads/master | <file_sep>function Corrector() {
function calculaNota(enunciado,respuestas) {
var nota = 0;
respuestas.forEach(function(respuesta) {
var pregunta = respuesta["pregunta"];
var valor = respuesta["respuesta"];
var correcto = buscaPregunta(enunciado,pregunta);
if (valor == correcto)
nota += 1;... | c2d35eba531f41d84b7d13fa20fb7ccd886f110f | [
"JavaScript",
"Markdown"
] | 52 | JavaScript | cursosLabra/EjemploNode | 388a3e4d3f51bf3c78c05a977dc5a855221774e6 | db19038d9bcd1eeabdb1c017e4ea075d4cae1499 |
refs/heads/master | <repo_name>BanchouBoo/stain<file_sep>/README.md
# stain
## hex2rgb

## rgb2hex

## hexblocks

## invert

## mix

## randcolor

## lerph... | ad847f53345875329179349b2d9da5b00a5fe014 | [
"Markdown",
"Shell"
] | 11 | Markdown | BanchouBoo/stain | 2bd29d5bd2d19fe5122400636788a41ddfd47e38 | a551331d2c1f571bf4425cd2e42b2528bc6c6382 |
refs/heads/master | <file_sep>## LOAD PACKAGES ##
library(dplyr)
library(ggplot2)
## READ IN DATA AND ORGANIZE ##
#read in data
data <- read.table('./data/rcourse_lesson1_data.txt', sep = '\t',
header = TRUE)
#Look at data
dim(data)
head(data)
tail(data)
xtabs(~group, data)
#subset out bilingual
data_bl <- data %>% f... | ff75c826e37599a631fc81ddf4f1d251aa349861 | [
"R"
] | 1 | R | cedunia/Rcourse | 5fdcce312099465627d00b51922b41326e461fef | e121c093c383eee8ab0b3834cacc70c064d70f2f |
refs/heads/master | <file_sep>#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <stdlib.h>
#include <conio.h>
using namespace std;
int main()
{
int nb_symbole, nb_etat, nb_Trans, nb_Final;
string symbole, transition, etat, mot, fiinal;
vector <string> X,Q,Trans,F;
char ch... | 93288dcb6025fab4e43084f3e032cef7f4b432eb | [
"C++"
] | 1 | C++ | sarrabr/automate | 593baf0637436e08beab929a153eaa6e6b6f98b4 | 96e02360e9ed46cfdd739ad899318d9caa76e8e5 |
refs/heads/master | <file_sep># Pizza Website
Click [here](https://therigidninja.github.io/PizzaWebsite/) to check it out, otherwise download the zip file and run it offline by opening the __index.html__ on your favourite web browser
#### !!! I did not make the mockup just the code

<file_sep>
window... | b9f9a838911fd25333b2cba5479157e81b096b58 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | TheRigidNinja/PizzaWebsite | d7baf925918fd668e15a5905210fbc1ba6938faa | c879412a4db1b4008742a709e2e1ac8f5bf9b862 |
refs/heads/master | <repo_name>DUC-ANH-GHEL/happybirthday_album<file_sep>/assets/js/index.js
$(".owl-carousel").owlCarousel({
loop: false,
margin: 10,
nav: false,
responsive: {
0: {
items: 1,
},
600: {
items: 2,
},
1000: {
items: 3,
},
... | b75be7c8e81bab976bca305b33e8130a6a684ee0 | [
"JavaScript"
] | 1 | JavaScript | DUC-ANH-GHEL/happybirthday_album | 6be2c6c5a89ede96a613c7359ed5d7919628b48f | b242b9dfcbd87f3178d1bc6c22ca56e64a54ae46 |
refs/heads/master | <file_sep>//Factory method to fetch json data from Shopify API
app.factory('shopifyData', ['$http', function($http){
var prodId,pDataObj;
//Get all products
function allProducts(){
return $http.get('http://localhost:3030/shopify/get?path=/admin/products.json');
}
//Save product ID to share with a... | afe20e1c7d871089fdd7e2af104edda358513371 | [
"JavaScript"
] | 2 | JavaScript | rachitsm/stitch-test | 15753ec28491a90de09ff71c8226e6fbcf48bc60 | da430269fd6c5c47e72029cb61166032835c3a16 |
refs/heads/master | <repo_name>lymnkkk/mini<file_sep>/index.js
$(function(){
// 划过菜单
// $('#nav .center .link li a').hover(function(index){
// $(this).parent().css('border-bottom','4px solid #fff');
// },function(){
// $(this).parent().css('border-bottom','none');
// })
// 设置banner 内的元素
// 设置banner高度
$('#banner').css('height',... | 3fe96fbd9c38a3046896568ffefd4404375f2b5e | [
"JavaScript"
] | 1 | JavaScript | lymnkkk/mini | a0ddc4d88f2eee7be42f1b1c883e25758d51d586 | 6bedb3b94161bb174a905d62308c27ad93568c1d |
refs/heads/master | <repo_name>igorc94/formphp<file_sep>/README.md
# formphp
Formulario e outras coisas (3DAW)
<file_sep>/aula3/user.php
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="estilo.css">
<link href="https://fonts.googleapis.com/css?family=Sen&dis... | 0e69586bae3fedb1036cdf853c5c1c391f995bf7 | [
"Markdown",
"PHP"
] | 3 | Markdown | igorc94/formphp | 0b7805d316aa4bdde47aeff23dec1a844072179a | 799374c9949aad05318158cae388876473c02c06 |
refs/heads/main | <file_sep>import React from 'react'
class Form extends React.Component {
constructor(props) {
super(props)
this.state = {
dogName: '',
breed: '',
age: '',
}
this.handleChange = this.handleChange.bind(this)
}
handleChange(event) {... | cdeb3069ae929496ef3b52f7aac9b14af822a942 | [
"JavaScript"
] | 13 | JavaScript | DennisGShea/Todo-too-Feb26 | eb8be9ba389ea76a5f7ece94a8dd6fce248b56ed | 9e260cb269cf7540fcdac36e7544037c06ab32f9 |
refs/heads/master | <file_sep># Deck
This is a library written for LOVE to provide a playlist interface for a sequence of video or sound files. I have no idea what will happen if you run this without using a version of love built without support for love.video or even a version of love lesser than 0.10.0.
# Public API Functions
## deck:i... | c8667db6894ab80c8e8c83ee07003d2e45adf7b7 | [
"Markdown",
"Lua"
] | 2 | Markdown | EntranceJew/Deck | 8de5afec35c74b682fde0ac18e0824500b99dcc6 | 41f815d5d9940b2e9b0cbfd552f3a5811fe57896 |
refs/heads/master | <file_sep><?php
$data = '';
$flash = $_SESSION[ 'flash' ];
if( isset($_SESSION['flash'] ) ) {
$data = "<p>{$flash}</p>";
} else {
$data = print_r( $_SESSION );
}
echo $data;
?> | 77b9fc528466b0460623e807312cd2ee94b53bbb | [
"PHP"
] | 1 | PHP | nathanfl/medtele | f8d3c821e1b298e9a6c39f14ca91d5c195daba3e | 91b15ffb76e006496cf549add04d268f85910bea |
refs/heads/master | <repo_name>TheNecroreaper/HomerMarkovChain<file_sep>/README.md
# HomerMarkovChain
Simply a quick side project for Intro to Classical Mythology. Uses a Markov Chain and Homer's works translated by <NAME> to create a pseudo work of Homer.
<file_sep>/GreekPoemMarkovChain/src/HomerMarkovChain.java
import java.io.File;
imp... | ab9f97e0d2a52fda54b00384559f561663d9ef6e | [
"Markdown",
"Java"
] | 2 | Markdown | TheNecroreaper/HomerMarkovChain | 58603ecc7975400a939136a6456e900c9bfd6e8f | 32a3fc11cce164fbc1d73f854ea7057d737ba21b |
refs/heads/main | <repo_name>brtkuu/rick-morty-app<file_sep>/src/router/index.ts
/* eslint-disable */
import Vue from "vue";
import VueRouter, { RouteConfig } from "vue-router";
import Allcharacters from "../views/Allcharacters.vue";
import Favorites from "../views/Favorites.vue";
Vue.use(VueRouter);
const routes: Array<RouteConfig> =... | 0f9ffd15ce1d51b8e85ff049975c9d5780ecbfaf | [
"Markdown",
"TypeScript"
] | 2 | TypeScript | brtkuu/rick-morty-app | 4c00af8f87886d36a61c1c6dbe71baa82a4b20a4 | 2415c5b9e37bf435b19d6f7c88e6e26af7321f85 |
refs/heads/master | <file_sep>"""
Efficient implementation of unstructured mesh operations
Created Feb 8th, 2018 by <NAME> (<EMAIL>)
"""
from __future__ import print_function
import numpy as np
from scipy import sparse
class UnstructuredAdjacency(object):
"""Efficient scipy implementation of unstructured mesh adjacency ops
The... | 01496c0ce53b7883afbb100c4bfc6eb5d242e74b | [
"Python"
] | 1 | Python | clapeyre/unstructured-adjacency | 141b57c8c50a5f36377efb181f97110883d8dd7e | 61247a5d78beab9fbb761810029246bf739aa84c |
refs/heads/master | <file_sep>package com.example.stream_provider;
public class Triple {
public static final String STATUS_IDLE = "idle";
public String ip;
public String name;
public String status;
public Triple(String name, String ip, String status) {
this.ip = ip;
this.name = name;
this.statu... | 2cea9f23497cab24c1aca875a66b0163a814952d | [
"Java"
] | 1 | Java | gooney47/Stream-Provider | 963b291c328f9a907ec7a3cdfc0cec5b4d874079 | 69ad65e8300fa0a3199dc254c26482c0b2a7b27c |
refs/heads/master | <file_sep>#!/bin/bash
g++ run.C -o run.exe \
`/net/hisrv0001/home/abaty/jetGrooming/CMSSW_9_0_0/src/fastjet-install/bin/fastjet-config --cxxflags --libs --plugins` -lfastjetcontribfragile $(root-config --cflags --libs)
<file_sep>#include "Settings.h"
#include "include/Tools.h"
#include "fastjet/ClusterSequence.hh... | aa4254bfeb9af63aa422692d4abdd04ccc77cccf | [
"C",
"C++",
"Shell"
] | 6 | Shell | abaty/GroomedXjgamma | 26682821a39110ceb5db0fe525533f350bdc8f87 | 4210ade7f74a93079e37b93288c73b04905540b8 |
refs/heads/master | <file_sep>ENV["RAILS_ENV"] ||= 'test'
require 'spec_helper'
require 'capybara/rspec'
require 'capybara/rails'
Capybara.register_driver :selenium_with_long_timeout do |app|
client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 120
Capybara::Selenium::Driver.new(app, :browser => :firefox, :http... | 1eb0e069f035c6c53510091e44d17768c7c91e31 | [
"Ruby"
] | 7 | Ruby | Denis4317/practice | 384f177968a58bb55cacfc1d6cdae53b2a52a0e2 | 067af204aa5de22ee782a557362127bd9b853bce |
refs/heads/master | <file_sep><!-- footer -->
<footer>
<div class="container clearfix">
<!-- <ul class="list-social pull-right">
<li><a class="icon-1" href="#"></a></li>
<li><a class="icon-2" href="#"></a></li>
<li><a class="icon-3" href="#"></a></li>
<li><a class="icon-4" href="#"></a></l... | b793fe28daddbce452c5b042242d60310f94c144 | [
"Markdown",
"PHP"
] | 10 | PHP | jamesraylittle/Portfolio-Website | 284288f3bd168057bff3a095902d1163d46abed9 | c8ad393c06d4e0f16ae89df686b433cd34130489 |
refs/heads/master | <repo_name>jburnitz/memory-tools<file_sep>/dumpmem.c
#include <stdio.h>
#include <stdlib.h>
#include <sys/ptrace.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#define CNORMAL "\x1B[0m"
#define CRED "\x1B[31m"
void usage(char **argv);
int main(int argc, char **argv)
{
int boolPrettyPrint = 1;
... | f79738f0cd18e42dae69ab11eb949e6fdf7ab7c4 | [
"Markdown",
"C",
"Makefile"
] | 4 | C | jburnitz/memory-tools | 19ede7f365f1f40f41c37535be357391eed967cf | 696306575ed19e868642bd769add0d228a87cfc8 |
refs/heads/master | <repo_name>INN/theme-cpi<file_sep>/page-support.php
<?php
/**
*
* Template Name: Support Us
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*/
$context = Timber::get_context();
// get page
$context['page'] = Timber::get_post();
// Render view
Timber::render( 'pages/support.twig', $context );
<fil... | 4e137fe2044eeb084d77081c8bf2b5641e4e9f18 | [
"JavaScript",
"Markdown",
"PHP"
] | 39 | PHP | INN/theme-cpi | 7b8396fcf5328abf2a9261abe9910b832472ba1c | 2a42c92826ab2e833456f8f919134f3532f24244 |
refs/heads/master | <repo_name>ConcepcionTransparente/ConcepcionTransparenteScrapper<file_sep>/README.md
ConcepcionTransparenteScrapper
==============================
Es un scrapper basado en [https://github.com/matthewmueller/x-ray](x-ray) desarrollado
para procesar los datos abiertos provistos por la [http://www.cdeluruguay.gob.ar/data... | c04548757ca2660b0f2267d68cb49db4ee7b30bf | [
"Markdown",
"JavaScript"
] | 5 | Markdown | ConcepcionTransparente/ConcepcionTransparenteScrapper | 33bea6a1ffbb23fc28777cb4946202df05e71cce | 2a928cac0a9fc4b1f309bc76f03f7a3dfaa66ec9 |
refs/heads/master | <file_sep>/****
Filename: Find tests
Version: 1.0
Notes:
Todos:
****/
const assert = require('chai').assert;
var Dbhelper = require('../index.js');
var testDb = new Dbhelper('mongodb://localhost:27017', 'sas-dbhelper');
describe('Db Helper', function () {
/****
BLOCK 1: Query tests
****/
it('"Create" crea... | b1073ea971db74ae1f15a43551c1deaac870a4e9 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | suits-sandals/dbhelper | a3772e83b00ebf350419eae5e2979173ed344b72 | 5f9e2e805fd5bbf7bb8479e86246f94b028c32f9 |
refs/heads/master | <repo_name>aswathysaji/django-todo-app<file_sep>/notes/migrations/0004_auto_20200909_2117.py
# Generated by Django 3.1.1 on 2020-09-09 15:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('notes', '0003_auto_20200909_2111'),
]
operations = [
... | f46e9fe957f72cf8524c2a9f15eaee884968b547 | [
"Python"
] | 3 | Python | aswathysaji/django-todo-app | 08273aee4d1132c7ad45948d41aa27b46dc053e4 | f1e1d521d04e247edc3919baa096d27e5f082b08 |
refs/heads/master | <repo_name>navikt/esi-dev-proxy<file_sep>/index.js
const proxy = require('express-http-proxy');
const app = require('express')();
const ESI = require('nodesi');
const esi = new ESI();
app.use('/', proxy(process.env.ORIGIN, {
userResDecorator: function(proxyRes, proxyResData, userReq, userRes) {
return Promise.r... | ac644ba5ebec38faa21ff8606d0ba1818a3237e1 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | navikt/esi-dev-proxy | 8b2c9fd0f31a6904edf28c6615c511082cf7f6d3 | a5a2332cd9dadb5a1af251830bca2a6ffa61eb38 |
refs/heads/master | <file_sep>//-----------------------------------------------------------------------
// <copyright file="TestKit.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2017 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>... | 653b41e77713323ea8eeed39d99f2fb23080ff74 | [
"Markdown",
"C#"
] | 4 | C# | dwalleck/Akka.TestKit.MSTestV2 | fb9da7e907a9937e4a682ddcd56120486c7f067c | 2f994732d153f0e6334954a1814a08f08a6fe2b7 |
refs/heads/master | <file_sep>// <form action="">
// <input type="radio" name="state" value="0.0825">CA<br>
// // <input type="radio" name="gender" value="female"> Female<br>
// // <input type="radio" name="gender" value="other"> Other
// </form>
$( document ).ready(function() {
function calcul() {
var tax = $('input[name=sta... | 9fc173068dbcc43288b0260ecfea86c917e6ab95 | [
"JavaScript"
] | 1 | JavaScript | tmdzk/zenika-quincaillerie | 34e363df32a0c1f6b38296a9c0338860e0732353 | bad0a388b541e2263f5394cc5ba9ec35558d181d |
refs/heads/master | <repo_name>ekhtiar1971/HBOFrameWork<file_sep>/HBO/src/test/java/testHomePage/TestSearch.java
package testHomePage;
import base.CommonAPI;
import org.openqa.selenium.support.PageFactory;
import org.testng.annotations.Test;
//import pages.SearchPage;
import pages.SearchPageForSQLDB;
import reporting.TestLogger;
import ... | 504828c441755c9f031efc60d4afa72336500865 | [
"Java"
] | 6 | Java | ekhtiar1971/HBOFrameWork | 29f61d4950c2604c6a3009e68fc1118b15b8dec1 | 49ca1f72fb4f85d9c40e76cad1415df5009bd229 |
refs/heads/master | <file_sep>#include<bits/stdc++.h>
#define llt long long int
#define ullt unsigned long long int
#define MOD 1000000007
using namespace std;
#define fast ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
int c=-1,n;
int a[14][14];
void done(int r,int d,int posx,int posy)
{
if(posx==n-1&&posy==n-1)
{
if(a[pos... | e9aa8722b6c5357b7575c27fc14b6b651bf7a9cc | [
"C++"
] | 1 | C++ | 5564ram/brute-force-example | f43810b10aba59f12a711dd7af705c293bfbc6cd | f91e2568527c51d31cbf785b35223e542a341578 |
refs/heads/master | <repo_name>liteng0436/angular-draggable-droppable<file_sep>/demo/demo.component.ts
import { Component } from '@angular/core';
import { DropEvent } from '../src';
@Component({
selector: 'mwl-demo-app',
template: `
<div mwlDraggable dropData="foo" dragActiveClass="drag-active">
Drag me!
</div>
<div... | 1b1d9634266cfc4637d9855f35c11953637f6e7a | [
"TypeScript"
] | 1 | TypeScript | liteng0436/angular-draggable-droppable | 594c45af14355a33d8e3c1b2b797337054a326c8 | a917107c02f906cf3a2f3d173855f25a21f6ac7f |
refs/heads/master | <repo_name>nisher07/online-food-delivery-system<file_sep>/login.php
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<link rel="stylesheet" type="text/css" href="css/login.css">
</head>
<body>
<div class="loginbox">
<img src="images/site_images/avatar.png" class="avatar">
<h1>Login Here</h1>
<?php
... | 61e8e4c676aa741d9bf04349ce8e6c246b20ffa7 | [
"HTML",
"PHP"
] | 18 | PHP | nisher07/online-food-delivery-system | b2ff849c993cafaedd98bc526f8932236c68a33c | 6baccdf6613024dfce3bcc0286460be0e6d55a49 |
refs/heads/master | <file_sep>using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using CSharpNetCoreWeb.Models;
using Microsoft.AspNetCore.Authorization;
using System;
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
namespace CSharpNetCoreWeb.Controllers
{
//[Authorize]
public class ... | 973958556ce187fb7ece3336d95789b409711b38 | [
"Markdown",
"C#"
] | 4 | C# | mattepuffo/NET-MVC-Core-Example | 71c3908838fb4ee58a5848cd9d9fe8ee968cd6a2 | 219b0fe7b0f149ff23560099e8967415f9a5028a |
refs/heads/master | <file_sep># *OnlineCodingSolutions*
- A repository containing all Code Chef Codes
### Generate codechef-dsa maven project using the following mvn command
-------
> mvn archetype:generate -DgroupId=org.dhiren.codechef
> -DartifactId=codechef-dsa
> -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion... | 1358f9b1b50944c867d78bbc0bc79fe0343eb3da | [
"Markdown",
"Java"
] | 3 | Markdown | dhirenpatra/OnlineCodingSolutions | 41cd621381fbc329d6463aebc04671ac52e138b5 | c653aab5ea789d93a4b09a4be55db807990cf5d0 |
refs/heads/master | <repo_name>tatianimeneghini/projeto-final-reprograma<file_sep>/src/routes/literaturaLGBTRouter.js
const express = require("express");
const router = express.Router();
const controller = require("../controllers/literaturaLGBTController");
router.get("/", controller.getAll);
router.get("/buscarPorTitulo/:titulo/", cont... | f9c1591a51804b563dfedda3e4f1bf8085de0ff9 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | tatianimeneghini/projeto-final-reprograma | f94398fcfcb7010ed6af525129c85a0e824577c7 | 706d1354d834f6e9d23b28c4136dcf26056641c9 |
refs/heads/master | <repo_name>rvpandey99/practice<file_sep>/src/app/app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { AngularFireModule } from '@angular/fire';
import { AngularFirestoreModule } from '@angular/fire/fi... | c89a9798162785d179481b33eb8a2c8da571d3a0 | [
"TypeScript"
] | 2 | TypeScript | rvpandey99/practice | 4a9e011665e7256b6340b42b5e19d77dc5cafa78 | 163c4c90f5d05cb81a58f3a1874cd30f65ad6128 |
refs/heads/master | <file_sep>'use strict'
console.log('Arrow functions:')
var sum = (x,y) => x+y
var add1 = x => sum(x,1)
console.log(add1(5))
| 0952b776ec334a9900017056e733ca53605d2223 | [
"JavaScript"
] | 1 | JavaScript | iagolaguna/curso-reactjs-ninja-impl | 5df2058201fabb9e0f00112861867e5125c74c2b | 6c19ba2850c869f42b136dae78942d1d56ea68ac |
refs/heads/master | <repo_name>jonathanCNITA/sort_algo_JS<file_sep>/js/algos.js
// Converts from degrees to radians.
Math.toRadians = function(degrees) {
return degrees * Math.PI / 180;
};
function distanceFromGrenoble(city)
{
console.log("implement me !");
var GrenobleLat = 45.166667;
var GrenobleLong = 5.716667;
let RayonDe... | ed6eb3a8e0eb87c1188550ae95d26d65103e4897 | [
"JavaScript"
] | 1 | JavaScript | jonathanCNITA/sort_algo_JS | 908b7ca7d89c19514cc833651a56ea4d6eaeb470 | 0d2203601dc1a94bdf82f1e339c8a5c3f39d1134 |
refs/heads/main | <repo_name>henrytan0705/interactive-algorithms<file_sep>/frontend/src/App.js
import CodingProblem from "./components/CodingProblem";
function App() {
return (
<div>
<CodingProblem />
</div>
);
}
export default App;
<file_sep>/frontend/src/components/CodingProblem.js
import { React, Fragment, Compone... | 8c678169e46c368766eb05c2b4da60197708d2d5 | [
"JavaScript"
] | 2 | JavaScript | henrytan0705/interactive-algorithms | ff433664dec6b334b7f703e3f3315d884df501bc | 6d45f4eac8456de801bad2031df8dd88caf6c9dd |
refs/heads/master | <file_sep>/**
* Created by amorimoto on 16/03/11.
*/
'use strict';
const electron = require('electron');
const app = electron.app; // Module to control application life.
const BrowserWindow = electron.BrowserWindow; // Module to create native browser window.
const ipc = require("electron").ipcMain;
const fs = requ... | 0e7239e37c29838c56941f9be325b83d35a009a9 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | moriiimo/js-playground | eb38750f240f6ee461e86a9a46b9e2894d72dc81 | ab1165ed3c4325d1d821f6bd19f8c3c419b2f992 |
refs/heads/master | <file_sep>package steps;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import io.restassured.response.Response;
import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.equalTo;
public class GetPostSteps {
@Given("I initiate th... | a4af20d0ac78023830a767cc94f8d9f099f06a35 | [
"Java"
] | 1 | Java | nikblackshaw/javarestassuredtestframework | c315f0b142c4c3ea732cd3019a8f6e81522bc3cb | b86512d679dcf39fc3daec9eb116176e6dc03ba7 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfTest
{
class Constants
{
public static string authUrl = "http://localhost:15536/oauth/authorize?client_id=b20033f1-af49-421f-81b9-5e32bc7f5149&redirect_uri=http%3a... | 3084c2c0a304a1e7be5645a9ed28d83657897bed | [
"C#"
] | 18 | C# | Phillipposs/ProductManagerApp | ff7924899bed7d4987405b9acb59b9cc45f47658 | 370caf8a04258c5c5ce38368b746a2b9c954ce71 |
refs/heads/main | <file_sep>package com.security.location
import android.content.Context
import android.content.DialogInterface
import android.content.Intent
import android.content.pm.PackageManager
import android.location.*
import android.os.Bundle
import android.provider.Settings
import android.view.View
import android.widget.Toast
i... | 3e6329e34b32066e7d3ea6e5071bf03ec0c19a0d | [
"Kotlin"
] | 1 | Kotlin | Vivekdembla/LocationTracker | 49025b60a5a8b41567bef2f25b6fffcd4fd237ea | efed21d88d0000b4b86d158453395d5de7d4d5b1 |
refs/heads/master | <file_sep>//
// MusicItem.swift
// inf_musicGallery_ios
//
// Created by <NAME> on 25.04.2017.
// Copyright © 2017 Kamajabu. All rights reserved.
//
import Foundation
class MusicItem {
var fileName: String
var itemImage: String
var title: String
var artist: String
init(dataDictionary:Dictiona... | 9dfc0c54146474a0bf47a695e61818f0a2656118 | [
"Swift"
] | 6 | Swift | Kamajabu/inf_musicGallery_ios | 221c2945436920170bc044fe78e1ea0766494831 | e207481092d34fc2466cb57991c5d1d9aef0193a |
refs/heads/master | <file_sep><?php
echo "Hello";
echo "我是淋榕";
echo "我是宜軒";
echo "我是超酷魔王 我超酷";
?> | b2d47d0a19631976895fba9e60fa0804e7c7cfa2 | [
"PHP"
] | 1 | PHP | 1106137204/108D | 6d796cf803d4ceecc5da4de8130b262088a5b6f0 | 8dcb1ac35e9253837ec4a769bf3d0f714bcb8530 |
refs/heads/master | <file_sep># getting started
## description
this tool can generate a random conversation using a json type data and write it to a doc file
this tool is made for a vn simulation game made with renpy
it can also generate a random character with a gender relative to the story made
there is also a script that can write th... | 0405fce8b3fb2337ca069098b7316bd784e268e7 | [
"Markdown",
"Python"
] | 5 | Markdown | alaeessaki/insureFAQ | b3a1eb1e6802df360c8814c9ede841bb52556fdf | 0610e96fcaa046a197d72208c5c204517816c4ef |
refs/heads/master | <repo_name>Rasmuskilp/airport_excericise<file_sep>/README.md
Passengers
as a user I can create a Passanger
It can be created with name and passport number
I can create '<NAME>' with the Passport number 'B343123'
I can create '<NAME>' with the Passport number 'B13927'
If I try to create a user with out a name or a passp... | 328175c85c46f1a31ded505ad06ee25e14e475ee | [
"Markdown",
"Python"
] | 7 | Markdown | Rasmuskilp/airport_excericise | 641986129d5c192e7df8290ed166574477de3870 | b9078ad9b65545f927fdbd4b9a1537369e1cf5e1 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <cs50.h>
int main(void)
{
int minutes;
printf("Enter number of minutes\n"); //prompt user to enter input
minutes = get_int();
if (minutes > 0)
{
int bottles = minutes * 12;
printf("Minutes: %i\nBottles: %i\n"... | 220e5ceeace7028e35d291a03ca4568622530601 | [
"Markdown",
"C",
"Python",
"Makefile"
] | 19 | C | scumulder/CS50-Projects | ccf73a1d3d86d4102df1775e259f33c1dcab209f | 3164836a98925480b0dfbf4ef4741131825657b9 |
refs/heads/master | <repo_name>fmuiin14/laravel_basic<file_sep>/app/Http/routes.php
<?php
Route::get('/', function () {
return view('welcome');
});
Route::get('/create-customer', 'CustomerController@create');
Route::post('/create-customer', 'CustomerController@create_post');<file_sep>/routes/routes.php
<?php
// Application routes
... | ffd1ac17058c1a588690278f6c2aac673eb8f2b2 | [
"PHP"
] | 3 | PHP | fmuiin14/laravel_basic | a4cf9b0f63be32eaa671cf92a85940d570d79526 | 395e5af27b16bf24e4e282057dd929967b2e2bfa |
refs/heads/master | <repo_name>Megadeus/BFT-on-Hadoop<file_sep>/src/finalyearproject/JobTrackerNonSpecMapper.java
package finalyearproject;
import java.io.IOException;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.MapReduceBase;
import... | c41aa87c8a60dae473f5d79470aa9588cf1ce686 | [
"Markdown",
"Java"
] | 5 | Java | Megadeus/BFT-on-Hadoop | d667677686a278dfa223c51bb2861523d515aad4 | 524da68c65693dd41b5bd3501f2390fff50b8b2c |
refs/heads/main | <file_sep>import React, { useEffect } from "react";
import AOS from "aos";
import "./aos.css";
import "./Page1.css";
const Page1 = () => {
useEffect(() => {
AOS.init({
duration: 1000,
});
});
return (
<>
<div>
<div
className="greeting__first"
data-aos="fade-in... | 690c8d71d3a4d82649e1e63022061e09ae7df016 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | hangeul-project/hangeul-react-web | 61681cb9e82ee859d2160191d5d48a2fd1f5792b | adc63f35fdb997f18aa4ca05edd5d043a27212e5 |
refs/heads/master | <file_sep> <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SantoshSharmaa.com | About Wing Commander Santosh Sharma</title>
<meta name="keywords" con... | 1f0d18ccbbc08d0f36a70a28e43a014019d247fd | [
"PHP"
] | 11 | PHP | rahulyhg/sk.com | 6b2e525ed7c104f310f52df2be7f5eaf0839158b | 24afce7bfaaa95a5a7ef81066f6353efafcbc125 |
refs/heads/master | <repo_name>brunetto/ambrogio<file_sep>/main.go
package main
import (
"log"
"net/http"
"strings"
"os/exec"
"os"
)
func main () {
http.HandleFunc("/it", handler)
err := http.ListenAndServe(":8787", nil)
log.Fatal(err)
}
func handler (resp http.ResponseWriter, req *http.Request) {
resp.Write([]byte("<script>w... | 7c6e7a9303e39f29c9b13db1ebed40cd4cb015b7 | [
"Markdown",
"Go"
] | 2 | Go | brunetto/ambrogio | d897033a762b93837eafbf9aec8d0df5cf3511d6 | 81b054afb5e93ba2b2757d5312dee3917a2d2ef7 |
refs/heads/master | <file_sep>(function () {
if (typeof Asteroids === "undefined"){
window.Asteroids = {};
}
var GameView = Asteroids.GameView = function(game, ctx) {
this.game = game;
this.ctx = ctx;
};
GameView.prototype.start = function() {
setInterval(function () {
this.game.draw(this.ctx);
... | de1595a274a8c1f0958743d3d2c8ba0f61a5bd48 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | pancham348/Asteroids | 1cb000de92460f9e55db4ba41655c08fa94f9c76 | ad976a5c18d2b5addc211db00b3a853aeec521bf |
refs/heads/master | <repo_name>Rimer79/homework1<file_sep>/profunk.js
// JavaScript File
var finish ;
finihs = myFun('abc','ert','rty', 'bar' ,function(str){
return str.toUpperCase();
});
console.log (finihs);
function myFun(...args) {
var posl = arguments.length-1,
fan = arguments[posl],
result = [];
for (var i=0... | f075ac9932f11e3042d651f11f4f72b57460a829 | [
"JavaScript"
] | 2 | JavaScript | Rimer79/homework1 | 38db7ba8b1d4443e30ca6ce40c5d709575be83ab | d8b5a568b0d601605975fe0eb89d7946edf75c95 |
refs/heads/master | <file_sep><?php
session_start();
if(empty($_POST['hospede'])){
header("Location: ../index.php");
}
//puxando o arquivo classe reservas
require_once 'reservas.class.php';
//estanciando o obj reservas
$reserva = new Reservas();
//pegando os valores indo do ajax por post
$dados["hospede"] = $_POST['hospede'];
$dados... | c4ea4c13dc4178e0f6a6bc7f681cb60aa08107c9 | [
"JavaScript",
"SQL",
"Markdown",
"PHP"
] | 24 | PHP | willian1996/Projeto-Gestao-Hoteleira | 1b11f8bc39480e2b06af2145ae9ce414a4aa94e0 | 4de518aff71cdc1f93d93e6092fe4bda33b3f768 |
refs/heads/master | <repo_name>gridface/gfHome<file_sep>/js/home-trans.js
$(function(){
(function homeTransition() {
var homePageTransition = function() {
$('#home-header').removeClass('before');
$('img.logo.powerbi').attr('style', 'top:0;-webkit-transition: top 1.2s ease;transition: top 1.2s ease;')
}
var set... | 8562eebbe07056d0c08b273e3c321e0090618638 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | gridface/gfHome | eb9e9045e20e2c2817b3db84c1d6a622affca8d3 | 67aa02789a90839ce79a6c4a43cb98246a00b2b6 |
refs/heads/master | <file_sep>define(['jquery'], function () {
return {
fixZero: function (num, length) {
var str = "" + num;
var len = str.length;
var s = "";
for (var i = length; i-- > len;) {
s += "0";
}
return s + str;
},
formatDate: function (now) {
var now = new Date(now * 1000);
var y... | c4d6c8fb8dd67c11809dd6c8f23a8aba5e7c641d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | oOBobbyOo/requirejs-config | a30f799360c7d2e759f777fa2559be2319657036 | 2bb88ab03fba9745962e3e86bbdf837cd9f4790b |
refs/heads/master | <repo_name>Fishermanzi/threads-alura<file_sep>/src/br/com/alura/threads/Lista.java
package br.com.alura.threads;
public class Lista {
private Object[] elementos;
private int index;
private int size;
public Lista(int size) {
this.size = size;
elementos = new Object[size];
index = 0;
}
public synchronized ... | c35ca9f4d76f4a6b7348a6839cf1c581bb6a9432 | [
"Java"
] | 3 | Java | Fishermanzi/threads-alura | 1667edc06d137fb5cb00373055db512fba234666 | 25c9452f3eaef8875c247b6dd5bdc217109ca77e |
refs/heads/master | <repo_name>ikawashima41/ConnpassClient-Android<file_sep>/app/src/main/java/com/iichirokawashima/conpassclient/Entity/Events.kt
package com.iichirokawashima.conpassclient.Entity
data class Events (
val renderedBody: String,
val body: String,
val coediting: Boolean,
val commentsCount: Long,
val creat... | ac598b92a09f2506c58e92a0cd4116200edc86b9 | [
"Kotlin",
"Gradle"
] | 4 | Kotlin | ikawashima41/ConnpassClient-Android | 9d9d90dee1cb04c1538e1b2c2fbc50df7e944a45 | b18bbe74eb8229f9d8d9650e61d9a04660ab653b |
refs/heads/master | <file_sep>package com.icc.web.controller;
public class CommonController {
}
<file_sep>package com.icc.web.netty.protobuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import java.util.Random;
public class NettyClientHandler extends SimpleChannelInboundHandler<... | f387e73ba9d75c97f42b857c71bdd30f894d4aac | [
"Java",
"INI"
] | 19 | Java | 18511897960/icc | bf82a67e1645dfcfef021976635b8c67df34fabb | ba97ab95d23acf1e3a5400a776432529e0b52a81 |
refs/heads/master | <file_sep>/*******************************************************************************
* gpiodemo.c
*
* A very simple demo of using the GPIO sysfs interface under Linux by using
* gpiolib library from Technologic Systems. This can be applied generically to
* any computer utilizing the GPIO sysfs interface. This... | d0cd3514c38bdb0d89240c0f1e01565761a1860d | [
"C",
"Makefile"
] | 2 | C | 01-Life/gpio-sysfs-demo | 59805fbe42536fe0a7c5487723d26e723be98d98 | 381494383898d7cdeeecfa3f0125189e9c7d6710 |
refs/heads/master | <repo_name>anhuipal/Slotted-Aloha<file_sep>/src/slottedAloha/Network.java
package slottedAloha;
import java.util.*;
public class Network {
private HashMap<String,Node> Network;
private Set<Metrics> metrics;
private int sucTrans;
private int failTrans;
private int iterations;
private int nodes... | ffa3206e186ffea9b7523a39dc2bd0be26d87480 | [
"Java"
] | 3 | Java | anhuipal/Slotted-Aloha | ae68a019c8ac8c49173f077b21debf5b05cfcda8 | 06765ded65480f593ca1e441826f562e7b0171c4 |
refs/heads/master | <file_sep>from django.shortcuts import render, get_object_or_404, redirect
from django.utils import timezone
from .models import Blog
from django.http import HttpResponse
import random
# Create your views here.
def home(request):
blogs = Blog.objects
return render(request, 'blog/home.html', {'blogs': blogs})
... | 81d98158acd645283142266a286e6d786d790684 | [
"Python"
] | 1 | Python | dongooree/blogproject | 2d40efffa822c82b96f3d0ef718173681a4f7f30 | 18de89d6b7c01a99ff51e819149edbca2483c5b2 |
refs/heads/master | <repo_name>herzenuni/sem3-assignment2-1-11217-Bolzuka<file_sep>/NOD/Test_NOD.py
# Практичское задание NOD
# <NAME>| ИВТ | 2 курс | 1 подгруппа
# Задача NOD
#
# ЧАСТЬ 2
#
# Напишите программу, которая реализует нахождение наибольшего общего делителя двух чисел A, B
# Тесты оформите с помощью pytest или UnitTest.
impor... | 873611db060b7b1535dabf855d9401c8ca562112 | [
"Python"
] | 2 | Python | herzenuni/sem3-assignment2-1-11217-Bolzuka | 054e55cc8fcdfe8c450f81f617ce348fb2e966a4 | b51de3be1d8ff9c4307b3bd0aa7a9cf26824bc53 |
refs/heads/master | <repo_name>ccharles78/clickygame<file_sep>/src/App.js
//imports dependencies and files
import React, { Component } from "react";
import Navbar from "./components/Navbar";
import Jumbotron from "./components/Jumbotron";
import sharkCard from "./components/sharkCard";
import Footer from "./components/Footer";
import shar... | 538882ad5013eceaa0fd8cf9814db3277ae61558 | [
"JavaScript"
] | 2 | JavaScript | ccharles78/clickygame | 15932652e22b1b2c35cc61b6d23b4ea77366637f | 1c29f4532a46be8f07e11ab0165f107a20edc3d9 |
refs/heads/master | <file_sep>package Modul1_Bab3;
/**
*
* @author abdu_
*/
public class Obat {
String nama;
int harga;
Obat(int kode) {
switch (kode) {
case 1:
nama = "OBH";
harga = 29000;
break;
case 2:
nama = "Paracetamol";... | 5a790d7c171ca5052f7a02a2db2494e1ded285ec | [
"Java"
] | 2 | Java | Abdu97/tugas-3 | 9d5a2b3fbde338ab1b618f2c2df64338ab10b7be | e0e53955936de0d284ac4f6b5cf8806df9421938 |
refs/heads/master | <repo_name>nelsonkuang/pix2rem<file_sep>/src/js/pix2rem_v2.js
(function () {
function setMeta() {
var isMobile = {
UCBrowser: function () {
return navigator.userAgent.match(/UCBrowser/i);
},
MicroMessenger: function () {
return navigator.us... | e5e9f99cb6e68d7157f28a1a3dcaa06a7fd0cf5b | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | nelsonkuang/pix2rem | 4fa2b60c4e6541d7c7e54b2e58fbf128d37b51b9 | e9870a049fe5022c1fbf951dcc9dc007bf9758d7 |
refs/heads/master | <file_sep>Build
================================================================================
Request: A Windows system has VS2010 being installed.
1. Double click build.release.bat will started to use MSBUILD to compile
solution and generate all assemlies, executeable and package under ./Output
folder.
2. Or you... | 9c1679b9801f6af0a3cca984acc53a5deb2d33ce | [
"Markdown",
"C#",
"Text"
] | 14 | Text | zhongxun/hibu | 529180945895db3f45907cb0a245827e4ee66f82 | 05e4caadc6b4c685ac78b209bbdb8cb1add09be2 |
refs/heads/master | <file_sep>rootProject.name = 'loginregistration'
<file_sep>/*********************************************************************
* @purpose : Test the controller class
* @author : <NAME>
* @Date : 27/06/2020
*********************************************************************/
package com.loginregistration.co... | 732e358655c8d1365aeb9ee1c760511db38c5556 | [
"Markdown",
"Java",
"Gradle"
] | 7 | Gradle | seema1611/LoginRegistration_WithMockito | 4b5901c6dd6390b33275687e878c7bd74247b4b2 | c158beb6de63a8358fcfcd867c0b2f39c2a3f93b |
refs/heads/master | <repo_name>JJmaz/jenkins<file_sep>/src/classes/VoidClass.php
<?php
/**
* @author matsuo
* @todo ここにやることを書く
* test
* */
class VoidClass{
private function abc(){
return;
}
public function test(){
return ;
}
}<file_sep>/newfile.php
<?php
echo "a";
echo "a";
echo "a";<file_sep>/selenium/com/packt/webdriver/ut... | dfd32394e6a37b8f765d934b48384b21bc224ad8 | [
"Ant Build System",
"Java",
"PHP",
"Shell"
] | 21 | PHP | JJmaz/jenkins | 17b40f78634e338c1bb700e056ec6c773c279158 | 6024037c8a088fb80cb4e6eb74f9b211d97bd639 |
refs/heads/master | <repo_name>RykAlex/betterdocs<file_sep>/javascripts/main.js
(function(window, document, classie) {
'use strict';
var topButton = document.getElementsByClassName('top-button')[0];
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
topButton.style.... | cd09657b4f06f9392cb496d80e9b67499fad56f2 | [
"JavaScript"
] | 1 | JavaScript | RykAlex/betterdocs | d8dc3dc7d9abccbd168a594dcc03cb1135d90c46 | 12797af624dcc736d322c9978ec95c32006d59c6 |
refs/heads/master | <repo_name>DogoBot/-OLD-DogoBridge<file_sep>/src/main/kotlin/cf/dogo/server/bridge/Server.kt
package cf.dogo.server.bridge
import org.json.JSONObject
import java.io.BufferedReader
import java.io.InputStreamReader
import java.io.PrintStream
import java.net.ServerSocket
import java.net.Socket
import java.net.SocketExcep... | 0fa0de11316cb50ba7af21f6851a57f4ec07325d | [
"Kotlin",
"Gradle"
] | 5 | Kotlin | DogoBot/-OLD-DogoBridge | e11ba1a42cdceee9cf089bee71baa1cd6491360b | af4344ec6961855ebc661030b4d16ccb135a3811 |
refs/heads/master | <file_sep>var http = require("http"); //like include the module http
//Cntrl+shift+C
http.createServer(function(request,response){
var body = "<NAME>";
var len = body.length;
response.writeHead(200,{
"Content-Type":'text/plain',
"Content-Length":len
});
response.end(body);
}).liste... | af9016d92d210a51672e50fc691dbe448e2f0eb0 | [
"JavaScript"
] | 3 | JavaScript | khushboogithub/NodeJsPractice | 9a9e8ccf6d4cba4411c63676c10d404f6e37666f | d5f5b62d2bb91518c76c28f7df4210a813b94714 |
refs/heads/master | <repo_name>ogormanm2/javaspringcontactmaint<file_sep>/src/net/ogormanm/spring3/controller/ContactController.java
package net.ogormanm.spring3.controller;
import java.util.ArrayList;
import java.util.List;
import net.ogormanm.spring3.form.Contact;
import net.ogormanm.spring3.form.ContactForm;
import org.springframe... | 768dde60280bbc2323f94e3d589e09fc55331ad3 | [
"Markdown",
"Java",
"SQL"
] | 3 | Java | ogormanm2/javaspringcontactmaint | eb53a23f04c62a108586168a0f6583ba57981a14 | daad5984c1633a3a3fc9b0ee16e7621dfd51a1d0 |
refs/heads/master | <file_sep># Maintainer: <NAME> <<EMAIL>>
# Taken from https://aur.archlinux.org/packages/mspds
pkgname=mspds
pkgver=3.5.0.1
pkgrel=1
pkgdesc="MSP430 Debug Stack. Contains a dynamic link library as well as embedded firmware that runs on the MSP-FET430UIF or the eZ430 emulators."
arch=('i686' 'x86_64')
url="http://proces... | 5fc019a04040407c24934ddb8a7777c80e86b48e | [
"Shell"
] | 1 | Shell | greigdp/msp430-mspds | 737454af043321797720d8baf7eb03b920e55f16 | 37736534ffcd367866cc23d3422cd05b35ee9b16 |
refs/heads/master | <file_sep>require 'YAML'
module Configuration
CONFIG_FILE = 'data/config.yml'
def Configuration.load_configuration
YAML::load_file CONFIG_FILE
end
end
<file_sep>require 'dashing/dashboard'
require 'test/unit'
class TestDashboard < Test::Unit::TestCase
def test_validate_integer
assert_raise ArgumentEr... | 5d51146cf9357dd686175f35f53264aa37598f10 | [
"Ruby"
] | 8 | Ruby | jessex/dashing | a683130b27058369042bcf52806e9dd3daf75cd1 | 631eebd65c10aec1c98053db6866f4acfd54af8e |
refs/heads/master | <file_sep>/* global $, jQuery, alerts */
$(function() {
'use strict';
// ========================================================================
// Is to toggle between forms (login - signup) when the user click on title
// ========================================================================
$('.ls-page ... | a2359764a19f7e5a1c56e06c452909fb4382020a | [
"JavaScript"
] | 1 | JavaScript | AbdlrahmanSaberAbdo/Toggle-Form | 91a7afd87fabe535d65d2e71cd33ab5c610ec04a | 05377a1e49ff70903c66d61f899a37914d34759d |
refs/heads/master | <repo_name>loudou140806/three<file_sep>/gulpfile.js
var
gulp = require('gulp'),
del = require('del'),
rename = require('gulp-rename'),
less = require('gulp-less'),
cssmin = require('gulp-cssmin'),
prefix = require('gulp-autoprefixer'),
jsmin = require('gulp-jsmin'),
imgmin = require('gulp-imagemin'),
... | 33ab9e4affbad83217e09dd40c24c92bfc0a7d64 | [
"JavaScript"
] | 2 | JavaScript | loudou140806/three | 0150e50dba63142ccd353807ee905db237eade76 | c192afc37320152ae03d591da4eb240407901e50 |
refs/heads/master | <repo_name>theoDELAS/Laravel_Game<file_sep>/Laravel_Game/database/migrations/2019_11_15_163908_create_personnages_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePersonnagesTable extends Migration
{
/**
... | 30ab22b5424fbdbd30a84e7e4add592b1a0db1b4 | [
"Markdown",
"SQL",
"PHP"
] | 16 | PHP | theoDELAS/Laravel_Game | b00f3ad99d9ad55a471d9752630a199a9c45c07c | 2c672c6b4104edacb8ae5bf02351a22002dfbfa1 |
refs/heads/master | <repo_name>george-oakling/skaffold<file_sep>/pkg/skaffold/build/local/jib_test.go
/*
Copyright 2018 The Skaffold Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/li... | d6fcf8d348da5c8b060949cdd4f4a8fc7269d934 | [
"Go"
] | 2 | Go | george-oakling/skaffold | b088cd88ee5bffc0e50736ac59ac7c00502fa4aa | 18a25f4b2fe88ebfda6e6cc0a2c2353a5ddc7194 |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './component/home/home.component';
import { GeoFenceComponent } from './component/geo-fence/geo-fence.component';
import { ServicesComponent } from './component/services/services.co... | 6f34f513508cc589e8516e38814f36ea73ca13f0 | [
"TypeScript"
] | 3 | TypeScript | debasiskar-devel-007/monitize365-frontend-serverless | 249243e1e30435a0fc2b23f902007ca3203e24c0 | 92427203a6f1ff812d3880f9d2cb4959ce9fc036 |
refs/heads/master | <file_sep>import React from "react";
const StepMoney = () => {
return(
<div className="step--container">
<h1> Informacja o pochodzeniu Twojego majątku i źródeł przychodów </h1>
<h2> Musimy Cię o to zapytać z powodów formalnych, nie będziemy wykorzystywać tych informacji w innyc... | 804390553f0903af665459970b0cbd0da11bbfa7 | [
"JavaScript"
] | 7 | JavaScript | PanLydka/test_onboarding | 6e4294604a10b2766d6f498033db96f8c47ee2e0 | 76da6f2c4bbe5b3c770d9268e59c89a823202424 |
refs/heads/master | <file_sep>library(stringr)
library(dplyr)
connect_files = function(filenames){
df_tweets <- read_csv(filenames[1], col_names = TRUE) %>%
dmap_at('text', conv_fun)
print(dim(df_tweets))
for (filename in filenames[-c(1)]){
this_tweets <- read_csv(filename, col_names = TRUE) %>%
... | bf68a765351b1ddbbb16e02fed2cb49bd8947452 | [
"Markdown",
"Python",
"R"
] | 13 | R | asstergi/f1-predictor | c45b54bd8baf2ada8a444caae15b21e1d7de2b5a | 272dd2179910c9849deb1c2d8db868594b23db99 |
refs/heads/main | <file_sep>package com.example.testapp.entity;
public class RegisterResponseUser {
private String server_message;
private String status;
public String getServer_message() {
return server_message;
}
public void setServer_message(String server_message) {
this.server_message = serve... | 6445d69f34aa06ab49f79902b54972f897f39efb | [
"Java"
] | 7 | Java | pajva/WebServiceDemo | 8fa30f1c6cc5727e4df20249d7e6746c5e2a799b | be50f14c4d7a9cdb3c87a83efccc0999c725116b |
refs/heads/master | <file_sep>#pragma once
#include "StackImplementation.h"
#include "../LinkedList/LinkedList.h"
template <typename ValueType>
class ListStack: virtual public StackImplementation<ValueType>,
public LinkedList<ValueType>
{
public:
ListStack();
explicit ListStack(const ListStack& copyList);
ListStack& ... | ba64b30e109e16e1eea6dec2cb0d63677a870f6f | [
"C++"
] | 5 | C++ | Krage56/DataStructures | afe794ca719b90adf854ce728f5bf04474f02ab1 | dae0e0d53fafafff632a6c6ffe41cd16013c2484 |
refs/heads/master | <file_sep>package me.zhennan.toolkit.android.design_pattern.command;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* Created by zhangzhennan on 15/5/7.
*/
public abstract class MacroCommand implements Command {
private List<Command> commands;
final protected List<Command... | 64cde4bade9b6b35a981f5f683c2e97c14ca701e | [
"Java",
"Gradle"
] | 11 | Java | TinyRipper/scp | ae88f282c084e78396be15b785f3e7dc62a63e3c | 7bd08528a4e57e5d0275149341302e20eff1619c |
refs/heads/master | <repo_name>pgamamed/AliPhysics<file_sep>/PWGCF/FEMTOSCOPY/FemtoDream/AliAnalysisTaskDeuteronProtonEfficiency.h
#ifndef ALIANALYSISTASKDEUTERONPROTONEFFICIENCY_H
#define ALIANALYSISTASKDEUTERONPROTONEFFICIENCY_H
#include "AliAnalysisTaskSE.h"
class AliESDEvent;
class AliESDInputHandler;
class AliAnalysisTaskDe... | 0970325c2712cf6b63d9f373803906aeacdce268 | [
"C",
"C++"
] | 3 | C++ | pgamamed/AliPhysics | 87b17886e44c1e4f7c9484309036a81344728bc4 | d0f40169cd8050fd4320b9c38cd8009c673a1461 |
refs/heads/main | <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 immunehistory.doctor;
import com.jfoenix.controls.JFXListView;
import static immunehistory.ImmuneHistory.stage;
impo... | 077aee9e809bd85340ca17e1c9b7f3514bdd1d38 | [
"Markdown",
"Java"
] | 25 | Java | astro05/ImmuneHistory | 20dc98721744bffc8a8fb2e98929dfab99c6991e | f357186ad0c590dad1335b11af154d04f881d389 |
refs/heads/master | <file_sep>#!/bin/sh
## t2si.sh: generate image for Slack icon from text
## Copyright (C) 2017 <NAME> <https://GitHub.com/tamanobi>
## License: Apache2
## Depends on: ImageMagick
##
if [ $# -ne 2 ]; then
echo "usage: $0 <text> <output_image_path>"
exit 1
fi
INPUT_TEXT=$1
OUTPUT_PATH=$2
convert -font /System/Libra... | fe9031ae3c9927f314a5b7d725ccbc178738f380 | [
"Shell"
] | 2 | Shell | tamanobi/utils | ea9aeab032f818c33c6a39643405f24e0f8ae4a7 | ba16d2efdb1bd25f9c8149063ff01c18fd6137ee |
refs/heads/master | <repo_name>hemal08ce094/MovieListing<file_sep>/MoviesApp/NetworkAdapter/NetworkAccess.swift
//
// NetworkAccess.swift
// MoviesApp
//
// Created by Hemal on 02/05/20.
// Copyright © 2020 Hemal. All rights reserved.
//
import Foundation
enum NetworkResult<T> {
case success(T)
case cancel(Error?)
case f... | 414345a76a49586c1bc0b212d9dd35c80402baff | [
"Swift",
"Markdown"
] | 5 | Swift | hemal08ce094/MovieListing | c5053cc9d2c37fc3d2181eb909ea591d3ec99ced | 9132551bf4c8b5c5409a631c85ebf93938e05afa |
refs/heads/master | <repo_name>tharinda221/Testing_lab<file_sep>/implementation/src/Task2Part1/UserValidation.java
package Task2Part1;
import org.junit.Assert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
import ... | 98f5fe00e6ba4f63e62d679f1969f41076aafa32 | [
"Markdown",
"Java"
] | 3 | Java | tharinda221/Testing_lab | a45a8a9b13e65faa8149839413aaaeafb1867a1a | 0d7a06acbdbcfc00d959a297830217cefa5898ab |
refs/heads/master | <repo_name>wpzero/notes<file_sep>/useful_js.js
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == XMLHttpRequest.DONE ) {
if (xmlhttp.status == 200) {
alert("ok");
}
else if (xmlhttp.status == 400) {
alert('There was an error 400');
}
... | 2ba1a27b2dfdce51742172e4db5b25edaba8e106 | [
"JavaScript",
"SQL",
"Ruby",
"Shell"
] | 5 | JavaScript | wpzero/notes | 4fd4ebe8eb30bae81297f7d35fcd3b6a6fb7465c | ead5b332a467994cd2c0a98896884cee4922e42a |
refs/heads/main | <repo_name>ADCeres/my-portfolio-project<file_sep>/projects/weather/src/script_api.js
//this section updates the Current Temperature & City through API
function getCLInfo(response) {
let newCity = response.data.name;
let oldCity = document.querySelector("#selected-city");
document.querySelector("#entry-line").valu... | f7359aab6951ddf5aa94817dd333b361b082dcbc | [
"JavaScript"
] | 1 | JavaScript | ADCeres/my-portfolio-project | ee1f1b3d3ea9667b2254f198460e8dc100e5f0d7 | 83e1fd67b3b8c23fb8a27ccbead030866a46c3c4 |
refs/heads/main | <file_sep>/*document.createElement(element) Create an HTML element
document.removeChild(element) Remove an HTML element
document.appendChild(element) Add an HTML element
document.replaceChild(new, old) Replace an HTML element
document.write(text) Write into the HTML output stream
*/
/*
window.addEventListener("load",fu... | 98255d8ed51fb04d3cb5438219188096513c1f5d | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | leandroluizpereira/trainning_javascript | 7e7b6803810f37ab0b783b37729e6926522892f2 | e73bb9e8dcf7f951a6fd020dbff4b51088483bf9 |
refs/heads/master | <file_sep>#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QNetworkAccessManager>
#include <QStringList>
#include "wltickerlistform.h"
#include "ui_mainwindow.h"
#define DEND "112341201205107"
// "dd---mm--yy-y-y"
namespace Ui {
class MainWindow;
}
class MainWindow : p... | 7496220b42c216ae48eb44febc0e1090d5c40da1 | [
"Text",
"C++"
] | 7 | C++ | posproger/WL_Setup | 4f9dc868bdf908e7ace64fc9ce2843489766168d | 73f340e75e7001b718c91e460a96a67c4124d120 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.