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>ellipsisMob/jamstack-news-app<file_sep>/src/App.jsx
/* eslint-disable import/no-named-as-default-member */
import React from 'react';
import './App.css';
import Newslist from './components/Newslist';
import Article from './components/Article';
import Lambda from './components/Lambda';
function App() {
ret... | 9f9bfe3d24fbddd69cbe265579a4b2678d65992a | [
"JavaScript",
"Text"
] | 5 | JavaScript | ellipsisMob/jamstack-news-app | b1a47fdc269300aaa260cb608d66747e9568da50 | 9c087e50519fa2c276f56224c1c61b54e4fa22ef |
refs/heads/main | <repo_name>lichy2020/sunrise-websocket-application<file_sep>/src/main/java/com/sunrise/websocket/app/config/dbmigrations/package-info.java
/**
* MongoDB database migrations using MongoBee.
*/
package com.sunrise.websocket.app.config.dbmigrations;
<file_sep>/src/main/java/com/sunrise/websocket/app/domain/package-info.... | 4917a0aed436fed59db9f014ec578e6233692c61 | [
"Java"
] | 2 | Java | lichy2020/sunrise-websocket-application | 74df421e9929da261504047c3a79111c66e71b0e | 18f63253b5f6e456af77618a0f05ddc59dca2d47 |
refs/heads/master | <file_sep>$(function() {
// eat burger on click
$(".eat").on("click", function(event) {
event.preventDefault();
// console.log("hit");
var devouredBurger = {
id: parseInt($(this).data("id"))
};
console.log(devouredBurger);
$.ajax("/api/burgers/" + $(this).data("id"), {
type: "PUT... | 2902d167b528578d379c510d9af155a6f129a8c2 | [
"JavaScript",
"SQL",
"Markdown"
] | 4 | JavaScript | nelsonfncosta/burger | 42d35f041252aa88f4cfa358f1bd98060af4f03d | 40cc92b86eb461600cd36bddbeaf2be180b5f909 |
refs/heads/master | <file_sep>package com.example.springlogin;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextVie... | e22a8ccbfbc2456cf66a4b3cf5bb3a18fea7772b | [
"Java"
] | 3 | Java | ashik-e-rabbani/SpringLogin | 17808ba9ec3a09e77fd0ff512ff88c5ad02dd7c9 | 384ca665180361eb13408c56b6074d306960fae7 |
refs/heads/master | <repo_name>fedemp/webpack-loader-append-prepend<file_sep>/README.md
# webpack-loader-append-prepend
Loader for Webpack 4 to append and prepend text to files
## Install
```sh
$ npm install --save-dev webpack-loader-append-prepend
```
```sh
$ yarn add -D webpack-loader-append-prepend
```
## Usage
```js
module.exports ... | d7c218e71ffe118e1e863487c06db8ce26431785 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | fedemp/webpack-loader-append-prepend | 4f047251971864fb3e0ea3e6220aae9fc00bf0dc | 8a206c32e5069561a5cf97e79fd4b60f51c4401c |
refs/heads/master | <repo_name>sdoughe/IRT_Repo<file_sep>/src/IrtFunctions.cpp
#include<Rcpp.h>
#include<cmath>
using namespace Rcpp;
// IRF Function
//[[Rcpp::export]]
double rcpp_IRF(double a, double b, double c, double theta){
double plogis = 1.0/(1.0 + exp(-1.7 * a * (theta-b)));
return c + (1.0 -c) * plogis;
}
// [[Rcpp::expor... | ec2eef1d3a3fd1cbe0053b06e8b2a3d3ccc82154 | [
"Markdown",
"R",
"C++"
] | 4 | C++ | sdoughe/IRT_Repo | 7144b81aa06c1840819e774afb6ae1e267be8252 | cd5e9a9d14647035fdb2ea8ae49a1226c227617a |
refs/heads/master | <repo_name>BachVu-3010/Robo-Friends<file_sep>/src/components/robots.js
export const robots = [
{ _id: 0, name: "<NAME>" },
{ _id: 1, name: "<NAME>" },
{ _id: 2, name: "tuti" },
{ _id: 3, name: "bivu" },
{ _id: 4, name: "sugar" },
{ _id: 5, name: "nem" },
{ _id: 6, name: "<NAME>" },
{ _id: 7, name: "<NAM... | 50c4e3a4fbc50168a2e4a4cb33b80a70c34a15ca | [
"JavaScript"
] | 2 | JavaScript | BachVu-3010/Robo-Friends | 76db8ddefbe03d93b0b71e8e1860a80f7acdc36e | 93f49317e81226b11cba07da67cb38067532c307 |
refs/heads/master | <file_sep># convergenceWorks Desafio
Esse projetinho foi um desafio da convergenceWorks em que aprendi bastante coisa mesmooooo e tive algumas dificuldades superadas ao longo
do projeto.
# Considerações finais.
Irei finalizar o desafio por aqui 19/02/2018 as 02:36 da matina mas ainda considero implementar mais... | f7f106341379fdf61db66e8ff6eb3bc5627d22d2 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | tiagooliveira08/ConvergenceworksDesafio | d96944238a29d495e5fa22ae6ac10c6028b7eb09 | 32aacacb4aedaced4e643bf02c04e60a34932a5a |
refs/heads/master | <file_sep>import { Component } from '@angular/core';
import { PostsService } from '../services/posts.service';
@Component({
moduleId: module.id,
selector: 'user',
//template: ``,
templateUrl:'user.component.html',
providers:[PostsService],
})
export class UserComponent {
//instance Vairiable
name: string;
em... | 63fa6724df55434921ce7720f750a1932b7a835e | [
"TypeScript"
] | 3 | TypeScript | babu12f/start-angular-2 | 8435a3a770b1dcad4ff1414621175c1aa2cd9f6c | 6614e07998e3a9c1d60618373c2312dbc4524d16 |
refs/heads/master | <file_sep>import org.apache.storm.topology.BasicOutputCollector;
import org.apache.storm.topology.OutputFieldsDeclarer;
import org.apache.storm.topology.base.BaseBasicBolt;
import org.apache.storm.tuple.Tuple;
/**
*
*/
/**
* @author caosen
*
*/
public class PrintBolt extends BaseBasicBolt{
@Override
public v... | 57b3e53d35e973001a2da72abc2e40d296bc673d | [
"Java",
"Maven POM"
] | 2 | Java | caosenok/example | 3831986650e0905f6e99e63d39a48801e56fe39e | 645b5e6f141039c792f82559115c434c6771c33b |
refs/heads/master | <file_sep>/*
* Copyright (C) 2012 - 2020 <NAME> <<EMAIL>> All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the ri... | 12c008b42d208188ced6a9d70427314d7c19c523 | [
"Markdown",
"C#"
] | 16 | C# | bubdm/parseq | 2c87f96a24b066f2cad1bf543887ae772298c848 | 40081e186da781bef48f40cf588fb609d2fca7c9 |
refs/heads/master | <repo_name>george-ongaya1/Goal<file_sep>/src/app/goal.ts
export class Goal {
showDescription:boolean;
constructor(public id:number,public name:string,public description:string)
{
this.showDescription=false;
}
}<file_sep>/src/app/goal/goal.component.ts
import { Component, OnInit } from '@angular/core';
impor... | fa074c82f0f1bfb6bae7c0b125353e254298a090 | [
"TypeScript"
] | 2 | TypeScript | george-ongaya1/Goal | eca2f4012b5dc26a9ee17b31488f30f39dd6d89b | f9b629b0d56aca19b866fb97728aaacfb941ed8e |
HEAD | <repo_name>shibug/puppet-control<file_sep>/Puppetfile
forge "https://forge.puppetlabs.com/"
mod 'helloworld',
:git => 'https://github.com/shibug/puppet-helloworld.git'
mod 'custom',
:git => 'https://github.com/shibug/acme.git'
| ea2c5056134844edd71e32db8c7c004b876cc3ae | [
"Ruby"
] | 1 | Ruby | shibug/puppet-control | bbc301f1b4aec4e6be4508a34d8b951310b42a01 | 905b634dc41ea066033049593bfe8880f1675c96 |
refs/heads/main | <file_sep>/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line.c :+: :+... | b17fe7e9aad3943e928fb6761f97035760f58dea | [
"C"
] | 1 | C | MouloudP/get_next_line | db98da2f7ad874e50194dde5fe41ac30a22f002e | 79936d5737ace12b96edd2abd7cf10b86f45ad86 |
refs/heads/master | <file_sep>#!/bin/bash
# vim: set ts=2 sw=2 et:
install -m 755 /tmp/mod_cloudflare/mod_cloudflare.so /usr/lib/apache2/modules/mod_cloudflare.so
(cd /etc/apache2/mods-enabled && ln -s ../mods-available/cloudflare.conf && ln -s ../mods-available/cloudflare.load)
rm -rf /tmp/mod_cloudflare
#DEBHELPER#
<file_sep>#!/bin... | 40ee0b4d981920de750a141f4aa07cbe6b48eb8b | [
"Shell"
] | 2 | Shell | base2Services/mod_elb | 21f6e26b8bbd674b530d8526b4bda35f246c7f51 | de5cb4a6cfe3629f704dde2dd2cacef86a829dda |
refs/heads/master | <file_sep>package org.dclm.dclmappkotlin.ui.ondemand.video
import androidx.lifecycle.ViewModel
class VideoDemandViewModel : ViewModel() {
// TODO: Implement the ViewModel
}
<file_sep>package org.dclm.dclmappkotlin.ui.doctrine
import androidx.lifecycle.ViewModel
class DoctrineViewModel : ViewModel() {
// TOD... | 0b697aea59f3acf314556926bf32f6c7f9fc204d | [
"Kotlin",
"Gradle"
] | 25 | Kotlin | Ochornma/app-kotlin | 07595e457021a4665c4bec7d9d13872986bca502 | b6dc0321d8acad625add6f20ad1b6821adb7e41d |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
s=u'के'
s1='के'
ss=s.encode('utf-8')#unicode to string
ss1=s1#.decode('utf-8')#string to unicode
print(s,type(s))
print(ss)
print(type(ss))
print(ss1,type(ss1))
<file_sep># Install transliteration from https://github.com/libindic/Transliteration
import transliteration as t
en =... | 64e2ace7a435ccdb31963a2e44cbf917c1438727 | [
"Markdown",
"Python"
] | 5 | Python | gkiransing/code-mixing | b4105e8a86acca04e2d72d0c23507df84b2b03fd | 40b7c2bb3a285402419766b8693519820af42bc8 |
refs/heads/master | <file_sep>package tm.fantom.superdealtt.ui;
import android.databinding.DataBindingUtil;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.util.ArrayList;
import java.util.List;
import tm.fantom.superdealtt.api.model... | 2b37cfe52e3732c1853510e50ca853e62608ac44 | [
"Markdown",
"Java"
] | 6 | Java | nsfantom/SuperDealTT | f44c1cac1b20aa5947d57b81a0fb9b9a3eafc394 | 7358041624c202a8c78ac71bfcc3e6d8b1a1c3b5 |
refs/heads/master | <file_sep>import json
import urllib
import urllib2
import csv
import re
from rdio import Rdio
from credentials import *
import sys
import time
ROOT_URL = 'http://ws.audioscrobbler.com/2.0/'
#initialize rdio object
rdio = Rdio((RDIO_CONSUMER_KEY, RDIO_CONSUMER_SECRET),
(RDIO_TOKEN, RDIO_TOKEN_SECRET))
#puts la... | a18b4aa3bb831e1219c1c59e89ac4744c8a32eb6 | [
"Markdown",
"Python"
] | 2 | Python | bawish/last-ones | 203ac23993e14accd584846f286a8c87194af84a | 449719f2ed255de1f3cc3da9f273e86c0314d4d5 |
refs/heads/master | <repo_name>nityanandareddy/RestAPIProject<file_sep>/src/com/tiny/model/Address.java
package com.tiny.model;
public interface Address
{
static String streetName ="";
String city = "";
String state ="";
int pincode = 0;
String country ="";
}
<file_sep>/src/com/tiny/services/DataServiceImpli.java
pack... | d4babd9262d5c9923207f8d3e869d541f8de6877 | [
"Java"
] | 2 | Java | nityanandareddy/RestAPIProject | 22f73bdbbad9d4038ae2fe998e2e93df9000a3e1 | 2b72f9ff98f58fcc09663962355a3157c3822e9a |
refs/heads/master | <repo_name>Greg628/EasyHook_Issue141_A<file_sep>/InjectA/InjectA.cs
using EasyHook;
using EasyHookTest;
using System;
using System.Threading;
namespace InjectA
{
public class InjectDll : IEntryPoint
{
private DLLInterface _dllInterface;
public InjectDll(RemoteHooking.IContext context, string ... | 2c2aa4d13e8da4d5dd53c348f5a03f3494a81713 | [
"C#"
] | 1 | C# | Greg628/EasyHook_Issue141_A | 1b8a18539352fe65591659d502f0fa6827a6ee87 | 0a0b9fbfc3494c8fe7da8d1997ab86867b027bfd |
refs/heads/master | <file_sep>var drinksApp = angular.module('drinksApp', ['ngRoute', 'ngAnimate']);
drinksApp.factory('History', function() {
var records = [];
var timestamp = 0;
return {
getDrinks: function() {
return records;
},
addDrink: function(drink) {
// Get drink prop... | fc9a220ae7fd527a5945336ca253fc93e90ef838 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | AndreNitze/TestWebApplication | 9b052016d9e37137b1139b9b8488bfe726c1fcf6 | c17dcf98ba2b4f26aaa2f13243138a08d906cdb5 |
refs/heads/master | <repo_name>MrKrabwell/GrandCircusJavaMidTermTeam1_Fork<file_sep>/src/InputValidator.java
import java.util.Scanner;
/**
* Class for taking in user input, and validating if necessary
* Created by yosuk on 2/10/2017.
*/
public class InputValidator {
// Static members used often
private static Scanner scnr = ne... | 1f68fccbf4335b81cf6c94d4bb034fc98e0a187c | [
"Java"
] | 4 | Java | MrKrabwell/GrandCircusJavaMidTermTeam1_Fork | bc341303124ec65a46a80b07dd7ae2c726cf706f | 0a5d5386cf409cab2d24a5110454dd1fb1f3b875 |
refs/heads/master | <repo_name>billiramirez/typescript-playground<file_sep>/Math/generics.ts
// Simple generic
function echo(data: any){
return data;
}
console.log(echo("billi"));
console.log(echo(24));
console.log(echo({name: "billi", age: 24}));
// Better generics
function betterEcho<T>(data: T){
return data;
}
console.log... | 01b9dc50f32a1a4ff972f3fe3b3e156b8d9d6cfe | [
"JavaScript",
"TypeScript",
"Markdown"
] | 12 | TypeScript | billiramirez/typescript-playground | 785fe4df169e1255f6bc28153a504ae13290d430 | 17f309c6f6f3883b8767c02a4e25fbdab60051e6 |
refs/heads/master | <repo_name>Mahmudul531/Free-Hand-GoogleMap-v2-Draw<file_sep>/README.md
# Free-Hand-GoogleMap-v2-Draw
Started this project. Some bugs still here. If you can fix. Give me pull request.
<file_sep>/app/src/main/java/s/mahmud/com/mapdraw/HomeBean.java
package s.mahmud.com.mapdraw;
/**
* Created by user on 7/12/2017.
*... | fd34fd756b32e3eb2ccc220ed64dcd5cb378588d | [
"Markdown",
"Java"
] | 2 | Markdown | Mahmudul531/Free-Hand-GoogleMap-v2-Draw | 6557ff0b733daff3e02e45bd0ed0d389ce1c6b4d | 989635b157ec9e776baa3842c7401efa78ec6d77 |
refs/heads/master | <file_sep>class Cuisine < ApplicationRecord
has_many :cuisine_memberships
has_many :restaurants, through: :cuisine_memberships, dependent: :destroy
end
<file_sep>class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
before_action :configure_permitted_parameters, if: :devise... | b932a3885fa03272191bd575252dc9236fccaddd | [
"Markdown",
"Ruby"
] | 24 | Ruby | tech-up-riser/Rails_Restaurant_Reservation_System | 6f98b83905213e0b89f8266235a27bd821b52f3b | abd9e8c259d9e4901d8160df3f9d9ca401b9f108 |
refs/heads/master | <repo_name>nickgnn/db<file_sep>/src/Main.java
import java.io.IOException;
import java.sql.*;
public class Main {
public static void main(String[] args) throws SQLException, ClassNotFoundException, IOException {
String url = "jdbc:mysql://localhost:3306/test?verifyServerCertificate=false&useSSL=false&u... | 4b0a8ca02c2558224e49c8b1ee57ebf09f51c3fb | [
"Java"
] | 1 | Java | nickgnn/db | f35633ed293372c6fd118beea6a2a9ca99c0fb77 | 59e315a13e99f84a3c95345f309ca0d55ae7e383 |
refs/heads/master | <repo_name>akalikin/nlp-keywords<file_sep>/README.md
# nlp-keywords
NLP Extract keywords from text
<file_sep>/keywords.py
__author__ = 'Artem'
import re
def is_number(s):
try:
float(s) if '.' in s else int(s)
return True
except ValueError:
return False
def separate_words(text):
# ... | 866a43c1e333873823e8d77b6ce92990b8ec32b6 | [
"Markdown",
"Python"
] | 2 | Markdown | akalikin/nlp-keywords | e14bea636b0bcf06ba6451f8a575b36f76f34714 | 6d022be69c0e07aca7dc29cd0d1c59006d8179fd |
refs/heads/master | <file_sep>module Hierclust
# A Point represents a single point in 2-dimensional space.
class Point
# x-coordinate
attr_accessor :x
# y-coordinate
attr_accessor :y
# Create a new Point with the given x- and y-coordinates.
def initialize(x, y)
@x = x
@y = y
end
inlin... | 4b29024486d7059e490244d5210f91632e9d47b6 | [
"Ruby"
] | 1 | Ruby | DrawGun/hierclust | 04e8687ebdd5bc099e0051b86a4209552e6bdf2d | b9603b805dfabb03863008f4a6aa040fe3043a4a |
refs/heads/master | <repo_name>zgiles/whois42d<file_sep>/info.go
package main
import (
"fmt"
"net/http"
)
func HandleHTTPHelp() http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request){
content := `<html><body><pre>
Whois42d JSON API:
Paths:
/ This message, help.
/api/1/text Qu... | e5d045695783959f95de29746da8719b2470bfbc | [
"Go"
] | 4 | Go | zgiles/whois42d | 3715e7af5ab071aed367e00e94e2c809f998ae5a | 31b116fef82cc1bb307945dac934eb5b79f388f0 |
refs/heads/master | <file_sep># whoisplaying
whoisplaying is a simple command line utility that gets this week's NFL schedule. At the moment, it is based on Node.js and
the NFL's LiveUpdate API.
```
+------------------------------------------------------------+
| (11/21) Indianapolis Colts @ Houston Texans (FOX) |
+------------... | ba2d44bb4839e05fca176cc1fea61239d9bae312 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | gmisail/whoisplaying | e7d7946e23afad75c4e06b24a82c736407a404e2 | c469286487432383ee1575d9bcf578af73f3ae3a |
refs/heads/master | <repo_name>HeliasEurodyn/Camel-Spring-Test<file_sep>/src/main/java/com/flexi/repository/RestRepository.java
package com.flexi.repository;
import com.flexi.model.Rest;
import org.springframework.data.jpa.repository.JpaRepository;
public interface RestRepository extends JpaRepository<Rest, Long> {
}
<file_sep>/src/mai... | 3f8a13afaf300893a458061dbd8459cc039fc750 | [
"Java",
"Maven POM"
] | 14 | Java | HeliasEurodyn/Camel-Spring-Test | b2bd76ad7cfe2e61950763517b12efbf6818e1db | d4a75f30b055b4b7abcb79dcb5f4fb8c98ff6bfb |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BridgeScript : MonoBehaviour
{
public float bridgedestroytime;
private void OnCollisionEnter2D(Collision2D collision)
{
if (collision.collider.tag == "Player")
{
StartCoroutine(... | 0bce9feebe55c6dd3b773b72df62d6d9f9e2a966 | [
"C#"
] | 2 | C# | santhoshisappa554/Cinemachine | 48f35b2d59baaaa104f1bb6a7d32e6777ea84855 | 4813c7d3b827193030e64ccf32a094191ee47c3c |
refs/heads/master | <repo_name>Bongilou/LokoBlog<file_sep>/airtransim/apps.py
from django.apps import AppConfig
class AirtransimConfig(AppConfig):
name = 'airtransim'
| f74d07093ff5c14cb7831b6bbcd428b09fccc25f | [
"Python"
] | 1 | Python | Bongilou/LokoBlog | 1b13d026a28d51714ab25450ffdfc46ff47bc890 | 3af8e29826ce32ba6a55b1e55478e3ab9fa5e3db |
refs/heads/main | <file_sep>import './App.css';
//import { MapContainer, TileLayer, Marker, Popup } from 'react-leaflet';
import Map from './TestMap';
import App_v2 from './App_v2';
import geoData from './data/geo_data.json';
function App() {
return (
<Map point1 = {geoData[10]} point2 = {geoData[110]} />
);
}
export default A... | 974ac568782950755422de4f985bd2254c4d4d73 | [
"JavaScript"
] | 2 | JavaScript | AmadeusOnBongos/mapLine | 0cf67a193e4af133ba877de1cd2eeefa901d2b7e | 83a746448c75ee5e6bd7e69e8221af9abafefada |
refs/heads/master | <file_sep>import cv2 as cv
import numpy as np
from matplotlib import pyplot as plt
def readImagesAndTimes(paths):
image = []
for x in paths:
image.append(cv.imread(x))
align = cv.createAlignMTB()
align.process(image, image)
return image
def tone_merge(images, times):
merge = cv.create... | 3782ce5f9c9c83a8b3c7899bb4a2bcddb918bc0a | [
"Python"
] | 1 | Python | Sheldonsu28/CSC320FinalProject | eae0bdb83ec3b0a4c3716a143bf3be59a30fe2ac | 91f6c2f0c30f587437a262b64b6f8767c6556184 |
refs/heads/master | <repo_name>sisowath/ITIL<file_sep>/src/java/com/itil/entites/User.java
package com.itil.entites;
public class User {
// atribut(s)
private int id;
private String username;
private String password;
private String role;
// methode(s)
// constructeur(s)
public Use... | 13230cad923e423a4bfc34a9300859366279dc41 | [
"Java",
"SQL"
] | 7 | Java | sisowath/ITIL | b2f975d23a592889ee7c01c65b517ad4081a8001 | e0814490ffc762c418a6de4735b74ee7e0fcb3b1 |
refs/heads/master | <file_sep>package com.chernyee.cssquare.UI;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageVi... | cebb3b07b643e91b380f3964e54ffe66793169a7 | [
"Markdown",
"Java",
"Gradle"
] | 21 | Java | issacchern/CS-Square | 9e468894a42f2b6bdbdde905b03c23d1cc49f602 | e6d80903a1de025a11b0837933e5f3ed2e2e32ad |
refs/heads/master | <repo_name>JudeSeide/Affinite-java-servlet<file_sep>/src/java/Controller/SendEmail.java
package Controller;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Properties;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
im... | bfd603ce9ba02ac3cf5add83da705046bc7660a8 | [
"JavaScript",
"Java",
"Markdown",
"INI"
] | 9 | Java | JudeSeide/Affinite-java-servlet | 13ce4d222a8cf2f59403485fdda507f38391531f | a9d8ebfc3cc8531d52f424b522467379d1528e71 |
refs/heads/master | <file_sep># coding=utf-8
_author_ = 'Yasin'
_date_ = '2018-04-01 18:19'
from random import Random
from django.core.mail import send_mail
from users.models import EmailVerifyRecord
from MxOline.settings import EMAIL_FROM
def random_str(randomlength=8): # 获得随机数函数,默认长度为8
str = ''
char = 'AaBbCcDdEeFfGgHhIiJ... | b5f432ff704e94f3d86b510e9db2a1700e72e61c | [
"Markdown",
"Python"
] | 3 | Python | Yasin6/AI-Online | 4abb17b6f32aea3609c4c0f7301cea33b7992e85 | 2f14c740a0649a64545f167cf11813d5652d2c95 |
refs/heads/master | <repo_name>Zombiefied7/ZombiefiedZombieApocalpyse<file_sep>/Source/GraphicDatabaseHeadRecords_Zombiefied.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
using RimWorld;
using Verse;
namespace Zombiefied
{
// Token: 0x02000E28 RID: 3624
public static cl... | 8fa2b0c73012c1cc8be6ba2eeadba37427f853db | [
"C#"
] | 21 | C# | Zombiefied7/ZombiefiedZombieApocalpyse | 95ba7dc42a41b42457ce6def20c1d3ce0ba89381 | 5043f1c7539ba87ad53cb82f084f7abbe2595937 |
refs/heads/master | <repo_name>danielguerra69/docker-sshdX<file_sep>/bin/xauth.sh
#!/bin/sh
xauth add localhost:1 . $(mcookie)
<file_sep>/bin/docker-entrypoint.sh
#!/bin/sh
# generate fresh rsa key
ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
# generate fresh dsa key
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
#prepare... | 759b7805580d96addbce533730fb65ac0ca1e88d | [
"Dockerfile",
"Shell"
] | 3 | Shell | danielguerra69/docker-sshdX | de96e558eca5e8b9271bf017db4289c7fe3e6677 | 9429f5c112ac75194ed2c9f0990bc58fbc471541 |
refs/heads/master | <repo_name>alkashef/gmailr<file_sep>/man/send_message.Rd
% Generated by roxygen2 (4.0.2.9000): do not edit by hand
% Please edit documentation in R/message.R
\name{send_message}
\alias{send_message}
\title{Send a message from a mime message}
\usage{
send_message(mail, user_id = "me", label_ids = NULL, type = c("multipa... | 20dce1f9b6799a11d818bff4b68d86188b09a428 | [
"R"
] | 3 | R | alkashef/gmailr | c544fd3c8428ed692efc169cfd3b9141aca38895 | 2a218152a12075d38db171d8e88384dfb7de9f0d |
refs/heads/master | <repo_name>ingridpitta/js-exercises-tdd<file_sep>/I.pass-tests/01-add-one/add-one.js
module.exports = function(numbers) {};
| 675004b79284708a992cc19c033fd09d1cb46729 | [
"JavaScript"
] | 1 | JavaScript | ingridpitta/js-exercises-tdd | e1e4d52b02bce45238f07c751536cf9ac1457779 | 8a1f868dd8efbb6fa8a34b211275db110bc159eb |
refs/heads/master | <file_sep>import { out } from "../lib.js";
export default function() {
out('Hello There!');
}<file_sep># Default Parameters
## Intro
Javascript introduced default function parameters as part of the ES2015 spec. This allows setting a value for a function parameter that is used is a value is not provided by the call... | 94ca6060e4a0dfae5c808bccc2c95aea8d80d54c | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | nfsp-ta/js-lunch-2 | fa751610f2aae0abda76c9481df56829d87fb23b | 9e103c1eb518f1c29becac332d76e0f38d1c9bfd |
refs/heads/main | <file_sep># dsc530
DSC 530 - Data Exploration and Analysis
<file_sep># -------------------------------------------------
# File: rattanavilay-2.1-exercise.py
# Name: <NAME>
# Assignment: 2.1 Exercise: Preparing for Exploratory Data Analysis
# Date: 12/6/20
# Course: DSC 530 – EDA
# Description: This week’s exercise is ... | ab68931ab78f31aca48a64ca3fad1917628c2e20 | [
"Markdown",
"Python"
] | 3 | Markdown | thiprattanavilay/dsc530 | 1d9c04edf60f5e6881f11fe9598df16d5a268e92 | 2685537ea68e9ebbb895112accf1145accab2d95 |
refs/heads/master | <repo_name>KulkarniKaustubh/PokeGAN<file_sep>/pre-processing/all_data.py
import os
import cv2
import pickle
import numpy as np
DATA_PATH = 'dataset'
images = []
for pokemon in sorted(os.listdir(DATA_PATH)):
print("Currently stored " + str(len(images)) + " images")
print("Getting : " + str(pokemon))
for i... | 2df092242f49f69fd5e962188c93a6e41b3dda31 | [
"Markdown",
"Python"
] | 2 | Python | KulkarniKaustubh/PokeGAN | b90e0a135d64de5021ebeaf5d3db3fb181adbcf2 | e4be8e5846e27cb82d0d2312ab7ac08ee9274a74 |
refs/heads/master | <repo_name>liuxiaorui1991/linux-noise-detect-with-DL<file_sep>/from_csv_to_pkl.py
# coding:utf-8
import pickle
import os
import pandas as pd
import numpy as np
import time
def pre_process_data(data_temp):
ddata = np.zeros((2, 100))
# from DataFrame to array
data_temp = np.array(data_temp)
... | 5410405e778bca963d5ce1b90aa4ed4767227c66 | [
"Python"
] | 1 | Python | liuxiaorui1991/linux-noise-detect-with-DL | 8f55cfbb9b20152628e09ee322ed2e9a5e8806a7 | 64f2a6b5af5105218d4b202704cd1f351423bba5 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace ForXml
{
[Serializable]
public class Weather
{
public ArrayList Time ... | 388c28805173c6e5e6825ae794f50aadef0c5583 | [
"C#"
] | 1 | C# | AlisaRevnova/Weather-parser | 7d2813a6ed850f432798323202918998b55ef5bd | c66a3ff44bc812b7b3d6d31b7735b4f3bdac4d3a |
refs/heads/master | <file_sep>from flask import Flask, render_template
from bokeh.plotting import figure
from bokeh.embed import components
app = Flask(__name__)
def create_figure():
x = [0.1, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0]
y0 = [i ** 2 for i in x]
y1 = [10 ** i for i in x]
y2 = [10 ** (i ** 2) for i in x]
p = figur... | b90a2236cbe388c24fc10721a413ac7720b6bfed | [
"Markdown",
"Python"
] | 2 | Python | bashkirtsevich/bokeh_flask | e095cf41bf8c7e178a4e9be06e813440e1d62f14 | 6a7abb54f6a9ac514de185065358e11b89a8bd95 |
refs/heads/master | <file_sep>package com.werb.eventbuskotlin.meizhi
import android.view.View
import com.bumptech.glide.Glide
import com.werb.library.MoreViewHolder
import kotlinx.android.synthetic.main.item_view_meizhi.*
/** Created by wanbo <<EMAIL>> on 2017/8/31. */
class MeizhiViewHolder(containerView: View) : MoreViewHolder<Result... | 3f7ea342f968c0b0c8f38c44e361bd14ef4bb27a | [
"Markdown",
"Kotlin"
] | 12 | Kotlin | wuchangfeng/EventBusKotlin | ac93d961268d7c7c3240c09ca2c09a594460f696 | ba9afddd3b33d7e7d16e85099a27780224cd32b1 |
refs/heads/master | <file_sep># WhatsAppAPI
Framework WhatsAppAPI
- Step 1: Open your project
- Step 2: Now that we have our Project opened, we can drag in the WhatsAppAPI.xcodeproj
When you are dragging in the WhatsAppAPIFramework make sure that you don't have another instance of Xcode open. When I tried to drag the framework in with... | 20def1a8be53ef575c2bd28aa851bf3d82bd7608 | [
"Markdown",
"Swift"
] | 2 | Markdown | edwylugo/WhatsAppAPI | fc23034ca906c45cb411012a6f17c1e89574f23b | c3079ee10c51ec169a3bf09f8770f989e5d072ba |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace KenticoCloud.Deliver
{
/// <summary>
/// Represents an error response from the API.
/// </summary>
public class Deliver... | 89a9f460912b657677c3ba51f24a3f4f358ae8fc | [
"Markdown",
"C#"
] | 26 | C# | kenticomartinh/Deliver-.NET-SDK | efa1d5fd1d87a68f3554cc3f58aac38cfc885861 | d30322b4527f0eb9dd2981318be26502827c70db |
refs/heads/master | <file_sep>all: main.cpp
g++ -o DoIt! main.cpp
<file_sep># lab3
practice 4/7
compile:
make
execute:
/.DoIt!
B.
1000:
0 vs 0.01
10000:
0 vs 1.34
100000:
0.05 vs 128.15
1000000:
0.54 vs (unable to reach)
When n, the numbers needed to be sorted, becomes bigger, n^2 grows large extrememly fast.
However, n logn wil... | 05428190d5d0655406045da6d7055d031e604c35 | [
"Markdown",
"Makefile",
"C++"
] | 3 | Makefile | Sean1127/lab3 | 2631555fe35cd369ed72191561f48808d8e00e81 | b6a816469a3fce3468a795679c5fc325ac52dd7c |
refs/heads/master | <repo_name>RoyalHunt/vueNode<file_sep>/gateway/models/Client.js
import mongoose from 'mongoose'
import isEmail from 'validator/lib/isEmail'
import isInt from 'validator/lib/isInt'
import isAlpha from 'validator/lib/isAlpha'
import { getAllProviders } from './Provider'
const { ObjectId } = mongoose.Types
const Provid... | adbdc407042fa896a915550b8e42c4235ee24c02 | [
"YAML",
"JavaScript",
"Markdown",
"Dockerfile",
"Shell"
] | 12 | JavaScript | RoyalHunt/vueNode | 6bd5bb78d543e15ebbe0fd33abd88fb36007a6f6 | 33f08dea9c4416a3bb087e2da4a1d316f446e310 |
refs/heads/master | <file_sep>import java.util.*;
public interface Scope {
public String getName();
public Scope getParentScope();
public boolean isValid();
public void addSymbol(Symbol symbol);
public Symbol findSymbol(String name);
public Symbol findLocalSymbol(String name);
}
<file_sep>import java.util.*... | 16d4d016d970a60da8a3fb5f27601a3f166b39ae | [
"Markdown",
"Java",
"Makefile",
"Shell"
] | 10 | Java | guoxy16/MiniJavaCF | 28b6a6e23e68b2093081a221e95e5a99a4386c53 | a77c40ee1d89eba22ebbe2d6fc1bd5de4e4b1463 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import { findDOMNode } from 'react-dom';
import { observable, computed, toJS } from 'mobx';
import { observer, inject } from 'mobx-react';
import nj, {
expression as n
} from 'nornj';
import { registerTmpl } from 'nornj-react';
import { autobind } from 'core-decorat... | 4825d14b453ced1f5af8183f08818c94dd683167 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | joe-sky/test-babel-plugin-import-bug | 268295f8a66148e2c095bc2047a905ae25ca761f | fd9c4a7687c0fe6e983e813b6db7877ac724eb88 |
refs/heads/master | <repo_name>Hypnosphi/cyclejs<file_sep>/most-adapter/src/index.ts
import {
StreamAdapter,
Observer,
StreamSubscribe,
DisposeFunction,
Subject,
} from '@cycle/base';
import {Stream} from 'most';
import {subject} from 'most-subject';
import hold from '@most/hold';
const MostAdapter: StreamAdapter = {
adapt<T... | 3aaf51366454573d807ed0f8a3dc1498c1110fb4 | [
"TypeScript"
] | 1 | TypeScript | Hypnosphi/cyclejs | b1ba199d1eca106ad415f207637ae063ea59aa8e | de0c15f8c5bac84d49cdc27bcdcb5e70db71a872 |
refs/heads/master | <file_sep># -*- coding: UTF-8 -*-
import os
'''
This is a simple socket server
'''
import socket # 导入 socket 模块
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # 创建 socket 对象
host = socket.gethostname() # 获取本地主机名
port = 12345 # 设置端口
s.bind((host, port)) # 绑定端口
s.list... | 61f4409d764f3ff4b079d5525b1391a2b5f23e74 | [
"Python"
] | 4 | Python | dennisduan/Jacob-network | 670911bb80e9aa7571d50822f55113ce05217953 | 8ea4a3389bc56fcb81465b566ba8b71aa0c7bd44 |
refs/heads/master | <file_sep><?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PG_post extends Model
{
protected $table = 'p_g_posts'; //name of table
protected $primaryKey = 'id'; // name of primary key
public $incrementing = true; // is primary key autoincrementing
protected $keyType = 'int'; // prim... | b851ce69ed135e4698821fde41284b36c93ea8c0 | [
"PHP"
] | 3 | PHP | 123-asha/laravel | 04f1aa2ca0e849734ba65d52dba810db9b45ea2c | f89818ae994de31499151b39a545be336c88cf3d |
refs/heads/master | <file_sep>package me.yokeyword.swipebackfragment;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.annotation.IntDef;
import andr... | 49194434ff569c957de25650dc3a1f51ec08caee | [
"Java"
] | 2 | Java | liupeng110/SwipeBackFragment | b1f78cf08a01aab63ea63a1a85cf6a377faf55ab | 7dff9747254eaa15527ae18b5bf50b10c8a16597 |
refs/heads/master | <repo_name>vgruzas/RubyOnRails_Vaidotas_Ernestas_Donatas<file_sep>/2uzd/2uzd.cpp
//<NAME>
#include <iostream>
using namespace std;
int main()
{
int N;//masyvo kieks
cout<<"Iveskite masyvo elementu kieki: "<<endl;
cin>>N;
int mas[N], ma, mi, maxs=0, mins=0;//kintamieji
cout<<"Iveskite masyvo elementu... | 32e3780f0d8aa468b2aeac8ce80406b928260d6c | [
"Ruby",
"C++"
] | 29 | C++ | vgruzas/RubyOnRails_Vaidotas_Ernestas_Donatas | 40eb81cffd2876e74dec1f5ec232f7fd11a22a56 | 03714b3b7d12d6104e5aa081baa2e54ad304ef36 |
refs/heads/master | <file_sep># Install newrelic server monitoring
verify_attributes do
attributes [
'node[:newrelic][:hostname]'
]
end
apt_repository "newrelic" do
uri 'http://apt.newrelic.com/debian/'
key 'http://download.newrelic.com/5<KEY>'
distribution "newrelic"
components ['non-free']
action :add
end
package "ne... | abf3194b51aa5b956276bb8c003760b74a30e530 | [
"Markdown",
"Ruby"
] | 5 | Ruby | visfleet/newrelic_monitoring | 5c2fa851ec8f861dcc2911a674f0c50afab7a1d4 | 68d907cf7f0e8d1a10887973aa66098a6e655432 |
refs/heads/master | <repo_name>kiev78/treeview<file_sep>/README.md
treeview
========
checked treeview control
This control was created to filter potentially deep trees, where it would be impractical to load the entire tree at one time. The efficiency on the client, though, is at the expense of the server, where a great deal of logic
is... | 9319e2e895f798893582b7ec5df1850a2137f7e0 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | kiev78/treeview | ac9543abe1bddb0d83347a1f7ca4f5d8c2375e29 | 9024af0f7d0ad6ffc660354433c357f3acedd746 |
refs/heads/master | <file_sep>#include<stdio.h> //auto storage
void main(){
auto int a=10;
printf("a value=%d",a);
}
/*
auto int a=10;
or
int a=10;
both are same
}
/*
A variable declared inside a function without any storage class specification, is by default an automatic variable.
They are created when a function is ... | adaa50c9f33c31e45222dcd3bb2f2ebe39921785 | [
"C"
] | 16 | C | sharathbabus27/ccode | 9ff50c37d52bfa4bcaa86648e6d8e6e5a1b46f3d | 71f42ccf5e1e5fb1aa164094808818bfac74e965 |
refs/heads/master | <file_sep>Background Service Line Indicator
============================
***
Sync multiple SQLITE db entities from your API with ease
----------------------------
***VERSIONS***
``VERSIONS =>`` `0.0.1`
**Gradle**
```java
maven { url "https://jitpack.io" }
compileOptions {
sourceCompatibility JavaVersion.VERSION_... | 85dff9646ee19bcc26de510e068a01ec70d24f15 | [
"Markdown",
"Java",
"Gradle"
] | 4 | Markdown | FelixKAcheampong/FlxBackgroundProcessIndicatorLine | 754f6635ebc7e2b97bd47762eb2b6c0a5b6851d5 | 2e5ec5811791f1837c523af8970332aafbf18f76 |
refs/heads/master | <repo_name>Shaurov05/OJ-problem-solving<file_sep>/tex.cpp
#include<stdio.h>
#include<string.h>
#include<iostream>
#include<stdlib.h>
using namespace std;
int main()
{
int i,j,k,count=1;
char a[100000];
while(1)
{
char a[100000] = "0" ;
cin>> a;
cout<< a<<endl;
... | 95e692d123014b54a9e96cb02b14cfb322553f2a | [
"Markdown",
"C",
"C++"
] | 106 | C++ | Shaurov05/OJ-problem-solving | 8b71db57b49035d377fa7e870e0e73d2dcb4d0bf | 2c06b410b5d638bf572894d91b600715599932d5 |
refs/heads/master | <repo_name>AlbertoJava/basejava<file_sep>/src/com/urise/webapp/storage/MainFile.java
package com.urise.webapp.storage;
import java.io.File;
import java.io.IOException;
public class MainFile {
public static void main(String[] args) {
/*текущий каталог*/
File dir = new File(".\\.");
try {
... | 64f01e2774d67d45cb774f0d5f0fc5a680e60421 | [
"Java"
] | 5 | Java | AlbertoJava/basejava | 8c9324a1b35cbc64bdbebcba008358660d92c248 | 78f2223f221089de377484b52998b49e5a91dbcc |
refs/heads/master | <file_sep># This file manages Puppet module dependencies.
#
# It works a lot like Bundler. We provide some core modules by
# default. This ensures at least the ability to construct a basic
# environment.
# Shortcut for a module from GitHub's boxen organization
def github(name, *args)
options ||= if args.last.is_a? H... | 2b6d2985aac979fb44d4dd074136339a9a61d495 | [
"Markdown",
"Ruby"
] | 2 | Ruby | morgante/boxen-saturn | 5dd5337cd5ec4e4d8038d6427fc6746233056e85 | f3dde56641420b2cb539f6fac9e9795838994f9b |
refs/heads/master | <file_sep>'''
Code reads in polygon coordinates from a .csv file
tests whether points exist in each polygon
'''
from shapely.geometry import Polygon
from shapely.geometry import Point
import csv
import utm
def openCSVFile(filePath):
with open(filePath,'r') as csvFile:
data = [row for row in csv.reader... | f9a86277819301e0f04c633498d5960eac0c66d8 | [
"Python"
] | 6 | Python | jrstromme/CabSpotting | 9d5667c345148b7a17c755066fdee78137eeaa6e | c7811b51c57142018492a9211b32aea12cdd1a8f |
refs/heads/master | <file_sep>//
// SearchViewController.swift
// Jimmy Store
//
// Created by 윤병일 on 2020/06/20.
// Copyright © 2020 <NAME>. All rights reserved.
//
import UIKit
class SearchViewController : UIViewController {
private let datas = DataProvider.getMerchandises()
private var filteredDatas: [MerchandiseCate... | 7db0f6b612ab9d04ce60bb26c811afb3b8fc7a11 | [
"Swift",
"Markdown"
] | 15 | Swift | ByoungilYoun/JimmyStore | 496837a7bd7011dc0a241435de9fb47d2cfb5b23 | a7fb799914a9b6c77bfd4e988c23f6ca6a093e4e |
refs/heads/main | <file_sep># server_client_communication
Write a simulation for a burger joint and its customers. The burger joint should be implemented as a server application, while the clients should be implemented as clientapplicationsconnecting to the server via TCP/IP. The burger joint will have s... | 961bc34c271377cd15f18e38d5839efc6ed536b5 | [
"Markdown",
"C++"
] | 3 | Markdown | gnoori/server_client_communication | 65bd23112cd3e82e2f02669b8b5a445694b218c1 | 32d06f975a0e37b81d48f0976aad98a9dcf8732a |
refs/heads/master | <file_sep>
var fs = require("fs");
var path = require("path");
// logs
var log4js = require('log4js');
log4js.configure({
appenders:[
{type: 'file', filename: './log.txt', category: 'file-logger'}
]
});
var logger = log4js.getLogger('file-logger');
var verbose = false... | eceb1c0c23b8c72c776b104ad1257d6893d58353 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | mmeetty/SP16-jyang | 8feea9ed8c37d0a180a3e6cc8eeb3201ba4ead18 | f94ef066a43b8763f6265462c7f07134751bde49 |
refs/heads/master | <file_sep>#!/bin/bash
for i in {1..20}
do
eval "mqtt pub -t 'hello' -q 2 -i test1234 -m 'pub$i'"
done<file_sep>const mqtt = require('mqtt')
const mqttClient = mqtt.connect('mqtt://localhost:1883', {
clientId: 'clientID-1234',
username: '1234',
password: '<PASSWORD>',
clean: false
});
mqttClient
.on('error... | b4896d420e651682be23ce567396b7ec924edcf5 | [
"JavaScript",
"YAML",
"Markdown",
"Shell"
] | 5 | Shell | h4tl2/explore-mqtt | 855b1376a8b63c3c9ab141e9ddb21cba899875d1 | 4d8583e18adde380caceb7e6975ba2c0774ad693 |
refs/heads/master | <file_sep>var x = 7;
var a = x;
console.log("Suma de numeros es 7: ");
for(var i = 1; i <= 10; i++)
{
++a;
console.log(x + "+" + i + "=" + a);
}<file_sep>var z = 0;
console.log( z === "0"? "true":"false"); | 6c5db3dade36fb6e95bad110642054f72c607341 | [
"JavaScript"
] | 2 | JavaScript | taykuz/parcial2do | bbbf17bbadc4f2c600fbfa36a1f60a7bcbc2924f | 48008d2a62a607425edac1f5ffe72168b82fb6ab |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
public enum Side {
PlayerSide,
EnemySide
}
public class BulletScript : MonoBehaviour {
private Vector3 velocity;
private Side side;
// Use this for initialization
void Start () {
side = Side.EnemySide;
Invoke("EndOfLife", 10.0f... | 1e805bfd24f2fd858f72f199bd5910d32e235161 | [
"Markdown",
"C#"
] | 7 | C# | rameshvarun/reflect | 010954be91e9682dfd81cd254b2adad3f9f6d524 | 0d13deda60112f372b190840ab04754b3b34e2e4 |
refs/heads/master | <repo_name>jmarvillier/Java_Learning_HelloWorld<file_sep>/README.md
# Java learning projects<file_sep>/java/test/src/test/Class2.java
package test;
public class Class2 {
String ville;
String pays;
int nbPoeple;
public String getVille() {
return ville;
}
public void setVille(String ville) {
this.ville =... | 66c0824476ceda81b67006c04777ec2c6fadc9cd | [
"Markdown",
"Java"
] | 2 | Markdown | jmarvillier/Java_Learning_HelloWorld | 784d9888f4982aa35171ffacced771480693e641 | fa79dd034a0ed01320cde12b31116445ce323a3a |
refs/heads/master | <repo_name>makmanalp/flask-chassis<file_sep>/{{cookiecutter.app_name}}/Makefile
SHELL=/bin/bash
SHELLOPTS=errexit:pipefail
ENVDIR=env
ACTIVATE:=$(ENVDIR)/bin/activate
.PHONY: clean
count=10
{% if cookiecutter.python_version == 3 %}
PYTHON_EXECUTABLE=python3
VIRTUALENV_EXECUTABLE=pyvenv
{% else %}
PYTHON_EXECUTABLE=... | 8962927d9d7a89a71239816fac6c1811bade7210 | [
"reStructuredText",
"Markdown",
"Makefile",
"Python",
"Text"
] | 15 | Makefile | makmanalp/flask-chassis | d34357a96348f7ff7a9a934b2f40600a6ae2b8e0 | ad729ef98a85ffe7e5aa0a6d874f89a116e61ac2 |
refs/heads/master | <repo_name>AngelBerihuete/ABC<file_sep>/README.md
# ABC
ABC examples:\
The first notebook NotebookGaussian contains an inference of the means of a 2d gaussian using multiprocessing for a single normal pc
* Python 2.7 versió 1.5.0 astroabc
* mpirun -np 4 python gaussian_splitcommtest1.py
* mpirun -np 4 python Gaus... | 92a9dbbd3dd849d494a86092a05ec1074f7ebeb4 | [
"Markdown",
"Python"
] | 3 | Markdown | AngelBerihuete/ABC | 46de919d923320935583146bbc1a90841ff90b44 | 51f66448b39ba9f83dd407269596412c143739e8 |
refs/heads/master | <repo_name>KathmanduLivingLabs/nepalmonitor-rss-twitter-tagger<file_sep>/index.php
<?php
mb_http_output('UTF-8');
$feedXML = file_get_contents("https://www.nepalmonitor.org/index.php/feed");
$categoryHashtags = json_decode(file_get_contents("category-hashtags.json"), true);
$xml=simplexml_load_string($feedXML) or d... | 031a00aa63704698b96fe9bc8ec06adb15b1cf59 | [
"PHP"
] | 1 | PHP | KathmanduLivingLabs/nepalmonitor-rss-twitter-tagger | 76abcd8593d164ccb8b980ab9ef924e98ac03ea8 | 2f613f97a3b0d2a06b2ede8c12c4e14d542defd8 |
refs/heads/master | <file_sep>package com.android.hello;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;
imp... | fbfb5fc36468639ba7877a830ff9d4ffe563e112 | [
"Java"
] | 1 | Java | zhangxy1219/hellogit | 7bbdb4b10509b8820245995aec54f73ebbaf64e5 | 544eacd3be61c14755dd1410293d0b254210153f |
refs/heads/master | <file_sep>cd dirtree
FILES=*
for f in $FILES
do
echo "Processing $f"
head -3 $f/$f/report.tbl|tail -1|echo -e "$f\t$(cut -f 4)" >> zscore.txt
done
sort -k2 -n -r zscore.txt -o zscore.txt
mv zscore.txt ../
<file_sep># BIMM_185_Reports
```
This is a repository containing weekly report of BIMM185 mini projects... | 1ca66741956e4528b4d9b4fd5957786077618bdf | [
"Markdown",
"Python",
"Shell"
] | 9 | Shell | jasonbhn/BIMM_185_Reports | d41ed3479cc122ef5d0987325d404aeea714581a | 01b6e07a3cede83ffbe330ff35e5eb6ba09777cc |
refs/heads/master | <file_sep><?php
// 本类由系统自动生成,仅供测试用途
class IndexAction extends CommonAction {
public function index(){
$this->display();
}
public function login() {
if ($this->isPost()) {
$pass = $_POST['pass'];
$M = D("Shop");
$cnt = $M->where("pass='{$pass}'")->count();
if (! $cnt) {
$this->ass... | 5dea360a07108a2750f0354de508738453fa2d0f | [
"Markdown",
"PHP"
] | 10 | PHP | inteye/weiaiche | 531266524837079010a6da4cceff7cfd0a54134b | b95678e53f8c9519a26377fda07ae5a9580fc83f |
refs/heads/master | <repo_name>AlexLMiddleton/alex-middleton<file_sep>/src/pages/Homepage.js
import React from 'react';
import { Link } from 'react-router-dom'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faArrowDown, faCaretDown, faCaretUp } from '@fortawesome/free-solid-svg-icons'
import About from '../comp... | 8a8243a8bcfbf5637c49d1e565c3d3314fbf4286 | [
"JavaScript"
] | 3 | JavaScript | AlexLMiddleton/alex-middleton | a42eedb5091a7f52079a8c67925353aa12af1712 | ad35220b755d7d2e28045af68340b11a11a7bb45 |
refs/heads/master | <repo_name>baweaver/streamable<file_sep>/README.md
# Streamable
Allows you to stream data through a set of functions (Think point-free programming):
```ruby
# Make sure to include Streamable
[0] pry(main)> include Streamable
# Same as Float(1)
[1] pry(main)> stream 1, :Float
=> 1.0
# Same as Integer(p(Float(1)))
[2] ... | 948762dec5128da442f69b6a6e7004a909a91e54 | [
"Markdown",
"Ruby"
] | 4 | Markdown | baweaver/streamable | d95a9c794fa53653b8e965995ccc4f89117eae57 | e8afbccc858395c20b258ac4a8d27e513d09ea8c |
refs/heads/master | <file_sep>#include <stdio.h>
#include <string.h>
//This program takes in data from a file and writes a clean and clear version to an output file.
//Struct for the month, day, and year the vehicle was manufactured and purchased
typedef struct{
int month, day, year;
} date_t;
//Struct for the maximum siz... | f6e77c5bfa4b88c831889e119c8d5b5c579e6ad5 | [
"C"
] | 1 | C | AlexMD18/Car_Program | b9296decbd5fef270481cf13a1afdd105f252cfd | 5aebc90359a79cd05b3b9bfb735564e3a4a51a03 |
refs/heads/master | <file_sep>var core = {
init : function(){
//this function is main it will be replaced
}
}
/*
* Core initilizing
*/
core.init = function(){
//create global namespace
window.namespace = {
scroll : []
}
//starting all modules
modules.init.call();
}
/*
* Modules definition and realizition
*/
var modules = {}
va... | 0baa8952fd0a362aa1711fdad7cdd16c4980453c | [
"JavaScript",
"HTML"
] | 4 | JavaScript | Gerda92/TwinBooks-2 | ababde54b99d74562d2421d2f98a95a1b2f16e6c | 28f450e198cc57c34ab6ca9abdc56b01173fc553 |
refs/heads/master | <repo_name>shakemon84/UniNOx-Sensor-Sketch<file_sep>/UNI_NOx_29Bit_UoM.ino
/****************************************************************************
CAN Read Demo for the SparkFun CAN Bus Shield.
Written by <NAME>.
Original tutorial available here: http://www.instructables.com/id/CAN-Bus-Sniffing-a... | e881266238c8e2bacc5e93b2a62e53e7b7b4b113 | [
"Markdown",
"C++"
] | 2 | C++ | shakemon84/UniNOx-Sensor-Sketch | 63a1f799ce2b5aeb7bd7ec19d3408c4aa00b697d | 88e471b7f219d4ea24816c453f8524d019c05efe |
refs/heads/master | <file_sep>import struct
with open(r'C:\Users\bob\Desktop\file.pcap', 'rb') as f:
data = f.read()
changes | 6833877cd62a39f0c70f9f10bf0dd5aa17ad1f93 | [
"Python"
] | 1 | Python | liam-22/Code | d4e1dbe4118e556d298e2a0e58cf023b0971330f | cddd678432dc84ff35a2a0c49f8487fa1df15d4f |
refs/heads/master | <file_sep>package garrocho.checarsala;
import android.app.Notification;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.graphic... | 563fcbf81b41fcc7fb6ccafa6f49f9ff4ec4edef | [
"Java"
] | 3 | Java | Garrocho/ChecarSala | 1e955ca346fcb3c51a701fe71a253de17a959b06 | 063c9d9e8aee848e0a6427cfb00babbf5eba1983 |
refs/heads/master | <repo_name>feigi/wicket-classes<file_sep>/README.md
# wicket-classes
Some wicket classes which might be useful again
<file_sep>/PreviousStateModel.java
package de.o2.portal.ui.selfcare.product.mobile.tariffoptions.common;
import org.apache.wicket.model.Model;
import java.io.Serializable;
public class PreviousStateMo... | 2c432c1d9513abade91aaf81533c70a4a5c83fd9 | [
"Markdown",
"Java"
] | 3 | Markdown | feigi/wicket-classes | dadf521b27426fb9fd230e0b1a9ae22e34b7a49b | feb173d0d1f33a9bf592c88afd3d18ff9449d007 |
refs/heads/master | <file_sep>import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'
import { Swipe,SwipeItem,Image } from 'vant';
import "vant/lib/index.css"
Vue.config.productionTip = false
Vue.use(Swipe).use(SwipeItem);
Vue.use(Image);
let playmusic={
is... | f3df28eca861e1258b297f1cdbe608f0479d7fd5 | [
"JavaScript"
] | 2 | JavaScript | dongsigu123/Netease-music | 950eff372a22c841817280cb9c0c3542d70876ac | cf3b71514b6f1ffcd15c150bc63ebb53fdb06d28 |
refs/heads/master | <file_sep>#
# ~/.bash_aliases
#
# ========== ALIASES ==========
# Common typos
alias :q='exit'
alias :q!='exit'
alias :qa='exit'
alias :qa!='exit'
alias qgit='git'
# Colored aliases
alias ls='ls --color=auto'
alias grep='grep --color=auto'
# Some more ls aliases
alias ll='ls -alhF'
alias la='ls -AF'
alias l='ls -F'... | 565bd56f7bad91f2b2632718db744b79dc03b736 | [
"Shell"
] | 3 | Shell | ArifRoktim/dotfiles | 5eeda40b67ec50f55279bad7d8673d012f5fdb51 | 1c5fe51bc940f30801e9a6920feb2a21a4479b10 |
refs/heads/master | <repo_name>Vemei123/Mesin-Pencari<file_sep>/src/View/Home.java
/*
* 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 View;
import java.awt.Dimension;
import java.awt.Toolkit;
impor... | ae341cf3ae28e6a6816f8b354a578ced842cfe42 | [
"Java"
] | 3 | Java | Vemei123/Mesin-Pencari | 1d7634938ef58fa0167da3df66429e37ef40c303 | aab1d74a85ba2ff9383ebb99bd1a19b294b7db55 |
refs/heads/main | <repo_name>heyhaileyhhh/304finalreport_qh<file_sep>/README.md
# STA304 final report by <NAME>
This is a github repo dedicated to STA304 final project. The report is about an analysis on causality between people's life expectancy and immunization coverage in each country. Basic components of a formal paper are included... | fd7fae79a8a50b5daca0116ea8c038d95b87c9a8 | [
"Markdown",
"R"
] | 2 | Markdown | heyhaileyhhh/304finalreport_qh | f0ed27912a74a2d092760603d34f23b1a34b7940 | c15e734b6dccef3964041098c1fa7f6b0b140a94 |
refs/heads/master | <repo_name>Edigleison/myArticles<file_sep>/src/main/java/com/edigleison/myarticles/entity/Article.java
package com.edigleison.myarticles.entity;
import java.util.Calendar;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
... | b9d266fbf945c0ab7bf85499fd2f1a3617a1e11e | [
"JavaScript",
"Java",
"SQL",
"INI"
] | 13 | Java | Edigleison/myArticles | c83618713bc65962cc2d2c241330a547b096ec4d | 353d7d46ec36f335322483d6df041aee55210e0e |
refs/heads/master | <file_sep>formatter
=========
PHP source code formatter<file_sep><?php
class Simplify_Formatter
{
public $indentChar = ' ';
public $indentSize = 2;
public $preserveEmptyLines = 1;
public $indentEmptyLines = false;
public $breakBeforeElse = true;
public $breakBeforeCatch = true;
p... | b7cd354d6a9d88af781d968f52597f7f6f33e6de | [
"Markdown",
"PHP"
] | 3 | Markdown | rutkoski/formatter | ef4c321184e6f640d2c0600798353d58cd8cf050 | 3742c938ddc6cb22d6ee4db52e6a8bd8678ba5a3 |
refs/heads/master | <file_sep>FROM alpine
RUN set -x \
&& apk add --update --no-cache ca-certificates
COPY webhook /usr/bin/webhook
ENTRYPOINT ["webhook"]
CMD ["run"]
EXPOSE 80
<file_sep>#!/bin/bash
set -eou pipefail
GOPATH=$(go env GOPATH)
PKG=github.com/appscode/searchlight-plugin
REPO_ROOT="$GOPATH/src/$PKG"
DOCKER_REGISTRY=apps... | 6d35e62b8009f9768a60e498b06db87a34956c05 | [
"Markdown",
"Go",
"Dockerfile",
"Shell"
] | 5 | Dockerfile | searchlight/searchlight-plugin | 047afa63468ce13d88bb4f8eda69dc24affae0a0 | e7b53105d95510cda52872bddf5cecc50c660e97 |
refs/heads/master | <repo_name>casp3rus/thefridge<file_sep>/lib/fridge_inventory.rb
def fridge_inventory
system "clear"
welcome
tp TheFridge.all
prompt = TTY::Prompt.new
user_choice = prompt.select("That's all that this fridge has for you.", ["Back"])
if user_choice == "Back"
main_menu_selector
end
end<... | 03ca0fbcf6c6c139bb3150642843c975da5b1903 | [
"Markdown",
"Ruby"
] | 10 | Ruby | casp3rus/thefridge | 1927c5299e8ce62e806aec0c9bfa0fe18188192c | 3b9df81953378af73cbdf3e5d0e40f0cb5ea849b |
refs/heads/master | <repo_name>TateXu/pyMTL<file_sep>/pymtl/misc/verbose.py
# /usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
__author__ = "<NAME>"
__copyright__ = "Copyright 2017"
__version__ = "$Revision"
OFF = 0
WARN = 1
ON = 2
print_level = WARN
def pyout(msg, lvl=ON):
if lvl > print_level:... | 136a332e5e31ee4bc237ba234b22584e4e0a4760 | [
"Markdown",
"Python",
"Text"
] | 18 | Python | TateXu/pyMTL | 15364ded74d0593627948137665e62bcf2a0e3ed | ea28dfd40a257d46263e059a26406c3e362e2669 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.