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>mulflar/Ongawa_app<file_sep>/Ongawa/Pantallas/introAct.cs
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Locations;
using Android.OS;
using Android.Views;
using Android.Widget;
using Newtonsoft.Json;
using Ongawa.Clases;
using Ongawa.Servicios;
using System;
using System.Co... | 3e5a155ab8d250c1baa32c8900e2485b0bff9f30 | [
"C#"
] | 9 | C# | mulflar/Ongawa_app | 02183ead406c5c7ae2460fdc83f5548c0372f25b | ac6918b4d7397ac3acb1bde4b54f9cef158d982b |
refs/heads/main | <repo_name>theagoliveira/java-beginners-guide<file_sep>/chapter10/c10_st7/src/CopyFileConv.java
/*
* 7. Write a program that copies a text file. In the process, have it convert all spaces into
* hyphens. Use the byte stream file classes. Use the traditional approach to closing a file by
* explicitly calling close().... | d295f598ad9cf3e3b0f478c09bc2461865fd7799 | [
"Markdown",
"Java"
] | 22 | Java | theagoliveira/java-beginners-guide | eec45916fd2d5261c76bec13ffaa004451f80049 | 71286d2d5ea32991e35adc172b03694ac16c1695 |
refs/heads/main | <file_sep>import React from 'react';
import './Sidebar.css';
function Sidebar() {
return(
<div class="sidebar">
<center class="profile">
<img alt='profile pic' src="https://cdn.business2community.com/wp-content/uploads/2017/08/blank-profile-picture-973460_640.png" />
... | 349f2030403b531f43d5a6d6a8eefab7b4661abb | [
"JavaScript"
] | 4 | JavaScript | nineleaps709/9leaps | cbbcd4979213b77482ec0617d9f7d00a0ce9f00d | 027554ff6499f91ae1a8ee9b8e508a93e0d07cd1 |
refs/heads/master | <repo_name>Lybecker/ServiceFabricEndpointLoadBalancing<file_sep>/WebService/Controllers/ServiceHealthProbeController.cs
using Microsoft.AspNetCore.Mvc;
namespace WebService.Controllers
{
[Route("api/[controller]")]
public class ServiceHealthProbeController : Controller
{
private readonly Model.Ser... | fba0dac750da884515bcb3f622e1b40f79d85b20 | [
"C#"
] | 2 | C# | Lybecker/ServiceFabricEndpointLoadBalancing | a373ef3812ccf89dfb347f5959150bbd86af56d9 | 1cb315571fb2d8e333a746a197deeb34a6aae3ba |
refs/heads/main | <file_sep><?php
include("db.php");
$db=$conn;
$name = $_POST['user'];
$id = $_POST['id'];
$query="UPDATE names SET names = '$name' WHERE idnames ='$id'";
mysqli_query($db, $query);
header('Location: /');
?><file_sep><?php include 'db.php';?>
<?php
// Get the connection and store it in a variable
include("db.php")... | 2774d348dd21e7d12bc624911e3d703e23f1f7b5 | [
"Markdown",
"PHP"
] | 6 | PHP | roberson509/PHP-CRUD- | c5ca6e30e3e0f9e44a575cab2f5ae394260e3245 | 40a305046266a677111f29ba42f9d508d8994560 |
refs/heads/master | <file_sep>package com.evry.SpringBoot.dao;
import java.util.List;
import javax.persistence.EntityManager;
import org.hibernate.Session;
import org.hibernate.query.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.evry.SpringBoot.entity... | d93351c38ed91c10f3ffdaeb27062c35f7611ac1 | [
"Java"
] | 1 | Java | evrytrainingbatch01/RenukaPrasadaBooksAPI | 0ed8eabef1ff05e46f41c6ba68c5b224f4b512e0 | 68f5f64bad063f99c008118fe63a0afb2da8a416 |
refs/heads/master | <file_sep># uTweetdeck
### A Chrome Extension to remove profile picutres and decluster the Tweetdeck UI called [uTweetdeck](https://chrome.google.com/webstore/detail/utweetdeck/mamdemofgfmcdefkmolnnenmhmecpgbo).
The actual code can be found in [this repo](https://github.com/DeBraid/js-snippets/blob/master/cleaner-twe... | 3022a1c0bf20b3883ef91847943e88ec131ace66 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | DeBraid/uTweetdeck | 647b798c11d873736f1b991c4ce5c35539b70127 | 25e3584579e8d01788dc505d8485e046e9501996 |
refs/heads/master | <file_sep># A collection of random munin plugins.
<file_sep>#!/usr/bin/python
# Munin plugin to monitor values of all smarthome items following a naming pattern.
# Items to be monitored must have "sqlite = yes" in their item definition.
# The first level item name is used for munin.
import os
import sqlite3
from muni... | 421f163ed79da97cbd852b8d62e5b96f763cc2c9 | [
"Markdown",
"Python"
] | 2 | Markdown | michos-conradt/munin-plugins | b29c440c03dcd8f3c0d0677fcf7aacfaa39dea38 | 0f704d1a465c43d2019de43ba3a0b5e0eb32b7c8 |
refs/heads/master | <repo_name>glespinosa/react-task-tracker<file_sep>/src/reducer/TaskReducer.js
export const ACTIONS = {
DELETE_TASK: 'DELETE_TASK',
TOGGLE_REMINDER: 'TOGGLE_REMINDER',
ADD_TASK: 'ADD_TASK',
RETRIEVE_TASKS: 'RETRIEVE_TASKS',
ALL_TASKS: 'ALL_TASKS',
}
export const reducer = (tasks, { type, payload }) ... | b72ec9e305aaf02f5ff869ee885bc6ce47db39ff | [
"JavaScript"
] | 6 | JavaScript | glespinosa/react-task-tracker | 9757a5ab3085cbea0f36c2a3fb95cd5663635c9e | ab3fd44cfdc47bbc9541f4eb68f6e88e89228118 |
refs/heads/master | <file_sep># Avalia-o-POO<file_sep>package avaliacao;
import java.util.LinkedList;
public class Musico extends Pessoa {
private String estiloMusical;
private LinkedList<Filme> filmes = new LinkedList<Filme>();
public String getEstiloMusical() {
return estiloMusical;
}
public void setEstiloMusical(... | 3d9ccf58ef02a697ab3030a68b48918691c26fe1 | [
"Markdown",
"Java"
] | 2 | Markdown | carvalhojp/Avalia-o-POO | 13d6edc2f3bd73d3182867b2cf89d014c0dce94e | ac21446857f068b0e7712da8e589efa92b0122b3 |
refs/heads/master | <file_sep># Keep Drives Alive
A little Python program to keep your external drives awake instead of falling to sleep. Wake up lazy bones!
To run the program you'll need Python installed. If you don't have it, download from http://www.python.org.
When ready add your drive letters to the "drives" array. By default ther... | f70798c6c0f6c07ebfb392e6569383a153b27a15 | [
"Markdown",
"Python"
] | 2 | Markdown | filljoyner/Python-KeepDriveAlive | f3a21f8e272ca640f6ccaa467012168da5650355 | a78a51aa8013e9f0570bd53015a02069b4c408b2 |
refs/heads/main | <repo_name>haon16/windows-network-programming<file_sep>/1.基本服务器客户端模型/server.c
//时间:2019年7月27日16:55:47
//server
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <WinSock2.h> //打开该文档可看到版本信息
#pragma comment(lib, "ws2_32.lib") //windows socket第二版32位,lib是源文件编译好的二进制文件
//#include <WinSock.h> 对应库 ws... | 789de53c7d9aadaaafa123a50c73da2c7eaf7ef6 | [
"C"
] | 10 | C | haon16/windows-network-programming | 495efbd6e828868ddbb397481c2301cb26a4edca | 6d621c14e8f8d88fc33e4588c8f21cc2cc2446e6 |
refs/heads/master | <repo_name>agascoig/products<file_sep>/ui.R
library(shiny)
desc<-paste("A small (N=24) dataset from a 1974 Motor Trend US Magazine is used by this application to study",
"variables that affect miles per gallon (MPG). Select the variables used to fit a linear model
for MPG on the left, and then... | bcac281b10c0078edc6e5715de1dddf4242a18e7 | [
"R"
] | 2 | R | agascoig/products | 881b00c101e9f1c34d8fbb8e5605c891839465ea | e6ff43458515e4e0fa16a97cbd796066078288d5 |
refs/heads/master | <file_sep>package BLLayer;
/*
* 连接数据库
* 2017-05-04 21:57:57
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class DBConnect {
public static String DRIVER_MAYSQL = "com.mysql.jdbc.Driver";//MySQL JDBC驱动字符串
//数据库URL,用来标识要连接的数据库,其中数据库名、用户名、密码是根据数据库情况设定
public stati... | 37987be199e9fd1e9c92473893924b7ff15786fd | [
"Markdown",
"Java",
"SQL"
] | 6 | Java | ooorangee/JavaChatRoomProject | 77eafc4f4be5de9b3059fcb13309065ce1bb3adf | f5a68ed9a38003ff6a85502813201d00437274cf |
refs/heads/master | <repo_name>Faizerz/React-Practice-Code-Challenge-london-web-career-021819<file_sep>/sushi-saga-client/src/containers/SushiContainer.js
import React, {Fragment} from 'react'
import MoreButton from '../components/MoreButton'
import Sushi from '../components/Sushi'
const SushiContainer = (props) => {
return (
<Fragme... | 648a4827f8bb2c2086df1dcdf7ac77abfdd62177 | [
"JavaScript"
] | 2 | JavaScript | Faizerz/React-Practice-Code-Challenge-london-web-career-021819 | b1408c554fc70cd0d21f0dccac027921b1e092ba | 445570d63d6d41c1243272473b8ec06896d336e6 |
refs/heads/master | <file_sep>//
// File.swift
// BlackDice
//
// Created by Alumne on 15/5/18.
// Copyright © 2018 ErikyGerard. All rights reserved.
//
import Foundation
import UIKit
class Icone {
var id:Int
var imagen:UIImage
var puntuacion:Int
var nombre:String
init(id:Int, imagen:UIImage, puntuacion:Int,... | 358f76964fec37dcaa708fe86729df59683eba48 | [
"Swift"
] | 6 | Swift | llanasnas/BlackDice | 57a222e4c24277ab08dda847e1ca07d9d8e71967 | 7ffdd5f7d2a0be5ad224c6c9604e29896f032ea7 |
refs/heads/master | <file_sep>#include<iostream>
#include<string.h>
#include<conio.h>
#include<fstream>
using namespace std;
struct node
{
char* data1;
char* data2;
char* location;
char* soil;
char* area;
int n,m;
char query[300];
char answer[300];
struct node *next;
};
class login
{
public:
node *head;
login(){head... | 0a31ad18a1c15b30d35c82321486a58a2d3b2cd5 | [
"C++"
] | 1 | C++ | jaisaikuntala1/Farmers-Guide | f509d52828d90235cffc8228e9a39699d59bba6b | 795eb5e6cc1a77f298086c82ececa92c450bff2c |
refs/heads/master | <repo_name>thangtran480/TextSummarization<file_sep>/requirements.txt
Flask==1.1.1
gensim==3.8.1
nltk==3.2.5
pyvi==0.0.9.7
networkx==2.4
pickleshare==0.7.5
tensorflow-gpu==1.15.2<file_sep>/abstract.py
import tensorflow as tf
import pickle
from model import Model
from utils import batch_iter
import re
from nltk.tokenize ... | 899fac04d0ce3854249069f42910bbcbece569e2 | [
"JavaScript",
"Python",
"Text",
"Markdown"
] | 6 | Text | thangtran480/TextSummarization | 023d4ea7fa593d5309e0b03097238bc9420397a9 | 339e54fce4bf4e1657b8b00dfb6f7329b4071e00 |
refs/heads/master | <repo_name>rulerliu/ext_transactional<file_sep>/src/main/java/com/transaction/aop/AopExtTransaction.java
package com.transaction.aop;
/**
* Created by Administrator on 2018/11/15 0015.
*/
import com.transaction.annotation.ExtTransaction;
import com.transaction.utils.TransactionUtils;
import org.aspectj.lang... | b81a9da053a2c34bde6d1aebf3b014bfb27a4ce3 | [
"Java"
] | 3 | Java | rulerliu/ext_transactional | 245909ff6172ea0966454b3d32f6e9d576d5fa67 | 77fda89ca16ce1c20211b0cc38cd455e587ee0a9 |
refs/heads/master | <file_sep>from google.appengine.ext import ndb
class ProfileImage(ndb.Model):
file_name = ndb.StringProperty()
image_file = ndb.BlobProperty()
class User(ndb.Model):
name = ndb.StringProperty()
datetime_created = ndb.DateTimeProperty(auto_now_add=True)
num_post = ndb.IntegerProperty()
num_follower = ndb.Int... | 78e939cb6dd6301e5db591ff030be0f444b5429e | [
"Python"
] | 2 | Python | peterchen16-zz/mood | 984c2b440b12ec114ae37569c1df9d3d6763710a | 7c49d6222c7afebe83bbd9c64e282d02845b1914 |
refs/heads/master | <file_sep><?php
/**
* Created by PhpStorm.
* User: aleksandr
* Date: 27.02.14
* Time: 2:15
*/
class Fgac_Application_Acl_Engine {
const REGISTRY_ALIAS = "fgac-acl";
const SESSION_ALIAS = "fgac-acl";
static protected $_instance;
static protected $_options;
static public function setup($option... | 611db371a6e799615e056be17034fc77d9effcaf | [
"SQL",
"PHP",
"INI"
] | 11 | PHP | qshurick/pro_fgac | 7ac467d2f0ccdeaef3cd391304835a9bb4e10739 | 8a6fb465cfbb26107e9307e9b84bcfe6a4da80a3 |
refs/heads/master | <file_sep>import React, {Component} from 'react'
const d3 = require('d3');
export default class NewEntryForm extends Component {
render() {
return(
<form className="new-entry-form" onSubmit={this.props.handleNewEntry}>
<div>
<input type="text" name="newEntryTitle" className="new-entry-t... | c9395b37d0d2bca9aab264da2ffd1d2de73c2c0f | [
"JavaScript"
] | 1 | JavaScript | emmabckstrm/hello-react-piechart | 31b558711219bd3ba5e8a8d297586e89b2a2b6d9 | 242487e4500f5dcb21fd86db47a77a8dd71aa8f7 |
refs/heads/main | <repo_name>IgorBekerskyy/Web_labs-6-11<file_sep>/src/Navigation/Navigation.js
import React from 'react';
import { NavList, NavUl, Navigat } from './Navigation.styled';
import {Switch, BrowserRouter as Router, Route, NavLink} from "react-router-dom";
import Home from "../Home/Home";
const Navigation = () => {
... | b4eaabc041ea6b5f59f7ff106e8594efad332c90 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | IgorBekerskyy/Web_labs-6-11 | afb6d31de3df43147f79184fd402f5eb5d8491b6 | 988f3506442b26d4a0a573308b65be3f84a3f0ff |
refs/heads/master | <file_sep>
# coding: utf-8
# In[ ]:
import math
from math import pi
import copy
import cv2
import numpy as np
img = cv2.imread("task2.jpg", 0)
image=list(img)
#Function to form the Gaussian kernel
def GaussianKernel(height,width,sigma):
total=0
Gkernel1=[]
#Creating an empty list to store the Gaussian ker... | 7b9b05663b28f0140b140a6332e686bf049e4779 | [
"Markdown",
"Python"
] | 2 | Python | ktrishala/Keypont-Detection | 9eb695b9ba9868b8db1f6e9ddfac8408ce4567ba | ef8a283921c4544fb551b11a1b887f685724e570 |
refs/heads/master | <file_sep>package interview.lnkd;
/**
* Given a String implement the conversion to Integer
* @author <EMAIL>
*
*/
public class MyInteger {
public int parseInt(String input) throws NumberFormatException{
int result=0;
boolean is_negative = false;
char[] chars = input.toCharArray();
for(char c : chars){
... | 14ff389274c2634d62fabc718dd4447648e1e23f | [
"Markdown",
"Java"
] | 11 | Java | muthuk07/interviews | 50d47071eb180dd89537f440451b02737a6d4f80 | c66c6402809a4e7470a0233c295833111a8dc60c |
refs/heads/master | <repo_name>yhyu13/DigiPen-CS529-PersonalGameProject<file_sep>/CS529_Game/src/Platform/Win32_SDL/WinSDLOpenGLApplication.cpp
/* Start Header -------------------------------------------------------
Copyright (C) 2019 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the
p... | 665cf1338e4fc2fa703095f25f7362e29474bdf0 | [
"C",
"Text",
"C++"
] | 111 | C++ | yhyu13/DigiPen-CS529-PersonalGameProject | 6d6233a98cddd28f5f06bd1363654b1684f129c4 | fd37b3515b5fe947c76f4e8fa607f9e2266fd61a |
refs/heads/master | <file_sep>#ifndef VNH5019MotorShield_h
#define VNH5019MotorShield_h
#include <Arduino.h>
#define WD6_MIN_SPEED 60
typedef void (*isr_ft)(void);
/*
typedef struct tagMYAVRTIMER {
volatile uint8_t *tccr;
volatile uint16_t *icr;
volatile uint16_t *ocr;
} MYAVRTIMER;
*/
class VNH5019MD
{
pub... | ecaf8730cb7fcdb51044fedb99b67cea43e376c6 | [
"C",
"C++"
] | 29 | C++ | topanka/wd6 | 049880b7eb9ee173cb0b780976b099b377eba7a5 | de8a7af6820c4b146f12a9de24b5e8bebb26a510 |
refs/heads/master | <repo_name>hkovvuru/node-mongo-app<file_sep>/src/index.js
import bodyparser from 'body-parser';
import express from 'express';
import router from '../src/router-connection/router-methods';
// calls the express function
const app = express();
app.use(bodyparser.json());
app.use('/api', router);
const students = [{}];
/... | 6bb2be500a676d0ca8b434ec90c84842a3ffbde9 | [
"JavaScript"
] | 2 | JavaScript | hkovvuru/node-mongo-app | 22730c498b6b43c0c7ffdd691b2451ebcfc26e1a | d22ce86ae1c016c34004283a2e7feee08739909a |
refs/heads/master | <file_sep>const { EventEmitter } = require("events");
const doc = require("./doc");
const keyboard = require("./input/keyboard");
const senders = require("../senders");
const { white, rgb_to_hex, hex_to_rbg, lospec_palette } = require("../libtextmode/palette");
class PaletteChooser extends EventEmitter {
select... | 7ff3b1032d49eb38b5e9267e618081fc4b8cc990 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | grymmjack/moebius | 6caff43394bcbc98d54c59998f12eb7c2579af1a | 6748f23602a78270e9b894b5264ad8a5ea051718 |
refs/heads/master | <repo_name>enml-dev/bazar<file_sep>/README.md
# Bazar
Welcome to Bazar, an online ads app similar to OLX.
<file_sep>/app/src/main/java/com/enml/bazar/ui/adapters/CategoryAdapter.java
package com.enml.bazar.ui.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
impor... | ff34027faa1f2187bf6d2b7193855867ccb06188 | [
"Markdown",
"Java",
"Kotlin",
"Gradle"
] | 26 | Markdown | enml-dev/bazar | 795a026ac5cb032de4fe41e30081a37d7f5d9144 | f62c06887be6357d0150543a4002203e4e8280ee |
refs/heads/master | <file_sep># What is this Application?
This is my play project (called: **_iTunes Media Search_**) where i am planning to experiment and present my ideas on how we should do Angular development following some of the best practices i have learned in last 1yr. It will start easy and build\progress towards awesomeness. Th... | efd88ecc010e47f86a9465402dfcad7715cb18b0 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | skusunam/angular-itunes-search | 3e2bd7ed47b74776db73773e0eb833c0f9e27154 | 080acaf2044ac7d4ea2b207125494d43e22a39da |
refs/heads/master | <repo_name>zdwalter/iconv-js<file_sep>/Makefile
all:
python iconv-gen.py > iconv.js
<file_sep>/iconv-gen.py
# coding=utf-8
import sys
code = open('iconv-template-orig.js', 'rb').read()
tocp949_map = []
shift = 7
for i in xrange(0, 0x10000, 1<<shift):
row = []
for j in xrange(i, i + (1<<shift)):
ch =... | a758c8812a57c37811c0eb0721a93f0e147bfcfd | [
"Python",
"Makefile"
] | 2 | Makefile | zdwalter/iconv-js | b19c13aca4997e9c2933f76ed7711eeee1d8b44e | 056257370209640afb4903507847a6479fa2eec9 |
refs/heads/master | <repo_name>WunderlichZA/CodingAssignment2<file_sep>/app/src/main/java/com/cobi/codingassignment/DetailActivity.java
package com.cobi.codingassignment;
import android.databinding.DataBindingUtil;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import... | 2fe014792e7a71834c0252c9a0254ff94f6cc494 | [
"Java"
] | 1 | Java | WunderlichZA/CodingAssignment2 | c06797125776314da91f405070238ba30ebfc0de | c84e3f5eea1339a70db592ff9d499bbd9d39a4dd |
refs/heads/main | <file_sep>while (true) { Growl.js}
new Promise(function(resolve, reject) {
ClassName.prototype.methodName = function () {
// COMBAK: function* (Growl.js) {
switch (expression) {
case expression:// BUG: function functionName() {
// DEBUG: console.dir(Growl.js);
} getElementsByClassName('Gro... | 3a278d9204a8c9353b665f81297fd79b132e87e9 | [
"JavaScript",
"Python",
"C++",
"Markdown"
] | 7 | JavaScript | gabrielferrazduque/OpenModelGL | c7e85501afc05300aea43ebe2130a87553d1c7b7 | f8c0bdd68fe6256638aa868903066ca32bd2e8bf |
refs/heads/master | <repo_name>YuLoving/all-mqs-consumer<file_sep>/src/main/java/nj/ccq/yh/ConsumerApp.java
package nj.ccq.yh;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* <p>Description: </p>
* @author ZTY
* @date 2019年6月17日
*/
@S... | e0b5737cc379f7caa7485460c5f273e83c97cc96 | [
"Java"
] | 1 | Java | YuLoving/all-mqs-consumer | ae1229cdf0c9411a412b9e2846beb41aabfd9c2d | c34c59b557a251cda0ad96c4b07aa3f5ee8241b2 |
refs/heads/master | <repo_name>alfredgg/PCC<file_sep>/src/ofApp.cpp
#include "ofApp.h"
#include "ofxJSON.h"
float TravellingCircle::fullyVisibleTime = 5.0f;
float TravellingCircle::fadeTime = 5.0f;
float LauncherCircle::marginInLaunches = 0.25f;
//--------------------------------------------------------------
void ofApp::setup() {
ofLo... | 5c3a950fef315a2c541afc2c7ee68a5746bd3a56 | [
"Markdown",
"Python",
"C++"
] | 6 | C++ | alfredgg/PCC | 722e2ffcdd24ca34c7e0222ca85c280952b98ab1 | de3a4a259e0c108f45e93553ab50a6d7736a6b63 |
refs/heads/master | <repo_name>bexelbie/atomic-site<file_sep>/MAINTAINERS.md
Current Maintainers as of January 2016:
1. <NAME>, atomic community lead, @jberkus, <EMAIL>
2. <NAME>, @jzb, <EMAIL>
3. <NAME>, @jasonbrooks, <EMAIL>
Contact the above in that order if you need something for the Atomic Site.
<file_sep>/source/blog/2016-07-25-wo... | c2d6e03dff1cc4ad1f258069956703178c93ffb7 | [
"Markdown",
"Python",
"Dockerfile",
"Shell"
] | 21 | Markdown | bexelbie/atomic-site | 5c90b77c67aa560be944125809512a7e64d1ddbd | 43cfe82b04cf8ecec383213b171285396a04958c |
refs/heads/master | <repo_name>AJAYK-01/telegram-bot<file_sep>/README.md
## A fun telegram bot
Send images from duckduckgo search to your telegram group anonymously from group members
duckduckgo api credits - https://github.com/deepanprabhu/duckduckgo-images-api
<file_sep>/requirements.txt
requests==2.24.0
beautifulsoup4==4.9.1
pyTelegr... | 0d96bdc82bc1db83673337a049893c8c0a3f5c43 | [
"Markdown",
"Python",
"Text"
] | 4 | Markdown | AJAYK-01/telegram-bot | 586697d9dd4e2ab34c4e9fac6d7ceee1a84f6282 | c751a6bae66da08cf473a153d7c6185e38fe8eeb |
refs/heads/master | <repo_name>cancerberoSgx/typedoc-plugin-markdown<file_sep>/src/theme/helpers/ifDisplayIndex.ts
import { ReflectionKind } from 'typedoc/dist/lib/models/reflections/index';
import { getMarkdownEngine } from '../utils';
/**
* Return true if index item should be displayed
* @param item
* @param opts
*/
export functio... | d40e4309d962cc81e4795ce061b3a7387a7c7571 | [
"TypeScript"
] | 14 | TypeScript | cancerberoSgx/typedoc-plugin-markdown | 8eff28c3c86ce7d6136286ddc5b00b670c972702 | 657537b79cb815fcf4dc175c1cebcbe841a5f4a9 |
refs/heads/master | <repo_name>BugsyFTW/globallib-extensions<file_sep>/ValidationsPT.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GlobalLib.Extensions
{
public static class ValidationsPT
{
/// <summary>
/// Verifica se o NIB de um... | 7068df46579a528f785a3f30f0b42024452ac248 | [
"C#"
] | 5 | C# | BugsyFTW/globallib-extensions | f842d6c194c43cbcfe00bd7c15f38e765acf84ce | 2cd1ddefb7729b87c7943032b9a8d3983d272464 |
refs/heads/master | <repo_name>nakoukal/fpc_convert<file_sep>/include/convert.h
#ifndef CONVERT_H
#define CONVERT_H
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
using namespace std;
class Convert
{
public:
Convert(string srcFileName,string dstFileName);
virtual ~Convert();
void... | c2c4f4a1493ab2be88bb1a1e76a62127e6db1fb7 | [
"C++"
] | 3 | C++ | nakoukal/fpc_convert | 8ab2b31efb8c5d1d0d6919226b78ae599f498f35 | 2cd1937e476df40ef359a16511b1ed1329419554 |
refs/heads/master | <repo_name>maria-azb/Languages<file_sep>/README.md
# Languages
Проверка запуска автотестов для разных языков интерфейса
<file_sep>/test_items.py
import time
from selenium.common.exceptions import NoSuchElementException
link = "http://selenium1py.pythonanywhere.com/catalogue/coders-at-work_207/"
def test_button_add_to... | 46e553a989118d0e899abf1c0044cc236cd860be | [
"Markdown",
"Python"
] | 2 | Markdown | maria-azb/Languages | 33cd7164f8eedfc606fac83bfe0be6c41bb67426 | 411972e72995367b22d53923661b3a500939ef62 |
refs/heads/master | <repo_name>huyue2255/Javascript-Learning<file_sep>/index.js
const obj = {name: 'hello'}
function clone(obj) {
return {...obj};
}
function updateName(obj) {
const obj2 = clone(obj);
obj2.name = 'Nana'
return obj2;
}
const updatedObj = updateName(obj);
console.log(obj,updatedObj)
// HOF
const hof = (fn) => fn... | b01c6f683cfe8b0fef4026cc3150d2b5266a670c | [
"JavaScript"
] | 1 | JavaScript | huyue2255/Javascript-Learning | 5ffa5d7067292edf8902d6bdf60ec0aa249abb48 | 896a1a4cd249fe15e75c9bfafa36d0913a34df64 |
refs/heads/master | <file_sep>package pingcontroller
import (
"encoding/json"
"film-service/utils/response"
"net/http"
)
//Ping --> Check server is up
func Ping(w http.ResponseWriter, r *http.Request) {
json.NewEncoder(w).Encode(map[string]bool{"ok": true})
}
//UpgradedPing --> Check server is up
func UpgradedPing(w http.ResponseWr... | c25defd9a7a8b87018b0bfc4b999e2d19235da78 | [
"Go Module",
"Go",
"YAML",
"Shell"
] | 14 | Go | karthikeyan-raman/film-service | 0f587d828f963e40bbfa4296d43956faf2505a70 | e9a4df00e63e20ff6b64ecb82a4a465c8339e096 |
refs/heads/master | <repo_name>zoudong0836/JavaRepo<file_sep>/HibernateDemo/src/com/dzou/manyToOneFK/doubleWay/README.md
## 一对多(多对一)双向外键
1. 多方 (多方持有一方的引用)
* @ManyToOne(cascade={CascadeType.ALL}, fetch=FetchType.EAGER)
* JoinColumn(name="cid", referencedColumnName="CID")
2. 一方 (一方持有多方的集合)
* OneToMany(cascade={CascadeType.ALL}, fetch=Fetc... | f0c808036193842e1283e6b1359eef5a35719be2 | [
"Markdown",
"Java",
"INI"
] | 12 | Markdown | zoudong0836/JavaRepo | 5e9c9db6b7b2062d66ce9e6e6dcc27c4bfbaa20a | 91231132bab72e9f79008b6d1894d21644a84522 |
refs/heads/main | <file_sep>import styled from 'styled-components'
export const Container = styled.div`
display: flex;
justify-content: center;
flex-direction:column;
height: 100%;
max-width: 1370px;
margin: 0 auto;
width: 100%;
.Money-text{
margin-top:40px;
margin-left:80px;
/* background-color:red; */
... | ad515e1e1cc9c51240c94d0e53e915869c4f02ac | [
"JavaScript"
] | 2 | JavaScript | Jorge989/VisaStudy | 9ea33254048965205f3d8443bcf5ef2bc960e6d5 | 88672417efe850fa87537756c0121238e7b7c9a1 |
refs/heads/master | <file_sep>import random
import numpy
import math
'''
@author <NAME>
@email <EMAIL>
'''
class Cuckoo():
def __init__(self, NP, N_Gen, pa, Lower, Upper, function):
self.D = len(Lower) # dimension
self.NP = NP # population size
self.N_Gen = N_Gen # generations
self.Lower = Lower ... | 0cb51425eb3790a66ec345abfc61dbccc1e06ea9 | [
"Markdown",
"Python"
] | 5 | Python | imksuma/AutomatedEmbryoPrediction | b5709adb3b1c17fd02458c8e1147f86b8275ae4a | 645ddbf3c46a5ba1bc43f7fc87f1da68c3bfe79f |
refs/heads/master | <repo_name>jdedea/bien<file_sep>/config/routes.rb
Rails.application.routes.draw do
resources :reviews
root "reviews#index"
end
| 5555b49f5a19bb5b3ef1c58730386ca28abb5e7b | [
"Ruby"
] | 1 | Ruby | jdedea/bien | c11745b941af61f1fa1f7e04ca92deb95ae494d2 | d603ad47cb84d023986474246b37c9cb5e8e4710 |
refs/heads/main | <file_sep>// Below is a function that returns a promise that is empty at this time.
// If data isn't a number, return a promise rejected instantly and give the data "error" (in a string)
// If data is an odd number, return a promise resolved 1 second later and give the data "odd" (in a string)
// If data is an even num... | 4a8e66a8003b68064e4d4f40bee45bf7e7e03132 | [
"JavaScript"
] | 1 | JavaScript | roesnera/PromisePracticeProject | 11f08e80bc4ffd5e4a6ce971b62758cfe2829b2e | bee7c95e56902f2a407d1d7760a4033c0dd9e924 |
refs/heads/master | <file_sep># Demo managed application for Azure
* `README.md` is this file
* `deploy-base.sh` deploys the storage account for all the zips
* `release-appdef-package.sh` deploys the zip that tells the managed app what to do
* `release-function-app-package.sh` deploys the zip for the Function App
* Not implemented at t... | e87f0c96668c673ddaafe969584c67a4f9cd4084 | [
"Markdown",
"Shell"
] | 3 | Markdown | pacon-vib/azure-managed-application-demo | 049c83a16689acffdfe30cf3e249fe017179e888 | e5518b646fbd7ed1aae094c03ccbac88554f6c1d |
refs/heads/master | <file_sep># PizzApp
PizzApp Full JS API NodeJs
## Démarrage
Veuillez suivre les recommendations suivantes pour installer le projet sur votre environnement
### Pré-requis
[Node.js](https://nodejs.org/en/download/) 8.8+.
[MongoDB](https://www.mongodb.com/download).
### Installation
Cloner ce repo sur votre enviro... | faafe853ea829948f24801029bfaa85568ccd3d9 | [
"Markdown",
"JavaScript",
"HTML"
] | 7 | Markdown | GuilhemSirop/nodejs-api | 3fc107e93a08229a5d11c08875f088b177a16cf0 | ac9c6ecd37d665f30230abcc3558dcf18f07bb96 |
refs/heads/master | <file_sep>namespace Soonoo.Services {
}
<file_sep>namespace Reversi.Services {
}
<file_sep>namespace Hnefatafl.Services {
}
<file_sep>namespace ChineseCheckers.Services {
}
<file_sep>namespace Mancala.Services {
}
<file_sep>namespace Passalch.Services {
}
<file_sep>namespace SpiderSolitair... | c99ec58785bec5b48aa39dd7a794b534988969a4 | [
"TypeScript"
] | 15 | TypeScript | EdMacall/tenohnatul | 2970beea0fd4cd25f71260b99f310b81c5225551 | 5eb227f57154d9b90634ec8c53ff243a0813a202 |
refs/heads/master | <file_sep>#include <iostream>
#include <complex.h>
#include <string>
#include <stdexcept>
#include <math.h>
#include "solver.hpp"
namespace solver
{
using namespace std;
const RealVariable operator*(const RealVariable &x, const RealVariable &y)
{
return RealVariable(x._a * y._c + y._a * x._c + x._b ... | 5a7bac1b052104cbb1327d839f4103b19aebe268 | [
"C++"
] | 4 | C++ | bhori/CPP | ddac1cc637ffdd6bbad89320081c7a91b9a6e7df | bd6cd07449a5edfbc980d7df657552965760159b |
refs/heads/master | <file_sep>#include<stdio.h>
int main()
{
int num,r,i;
scanf("%d",&num);
while(num>0)
{
r=num%10;
if(r==0) printf("Zero ")
}
}
<file_sep>#include<stdio.h>
int main()
{
char str1[20],str2[20],str[20];
printf("Enter str1:");
gets(str1);
printf("Enter str2:");
gets(st... | be1db7b85a7953ff1f92f0633f65e3ad800e67df | [
"Markdown",
"C"
] | 79 | C | thm1d/C-programming | 93762dbcb67ced6560587e1e1d4cb79d1928cf49 | b7f5594e7ad96c5cf6d1986a8c68646e24d3a230 |
refs/heads/master | <file_sep>console.log("JS up and running")
| 039053fca37be1af87796a08620276b96213d0c4 | [
"JavaScript"
] | 1 | JavaScript | benjaminwest1046/portfolio | cac93ebe3bc66e8f6d2564a40a754b7b81260d3e | 1af30566584a7125d66abd184a3656fdb95072f4 |
refs/heads/master | <file_sep>package main
// Version for app.
const Version = "3.4"
<file_sep>module github.com/mickep76/etcdtool
go 1.14
require (
github.com/BurntSushi/toml v0.2.1-0.20160426202516-f0aeabca5a12
github.com/bgentry/speakeasy v0.0.0-20150902231413-36e9cfdd6909
github.com/codegangsta/cli v1.16.1-0.20160502160658-415b5... | 17d13c239a847d8f4fd6cb318e0ed05b730fc0a6 | [
"Go Module",
"Go"
] | 2 | Go | jsf5/etcdtool | 8935604aa9089e2b2a721a671f38ff4efd3e326a | 2ac9f464e2c79a126ed022d511cea8f0c5edc431 |
refs/heads/master | <file_sep>class "ClanSystem"
msgColors =
{
[ "err" ] = Color ( 255, 0, 0 ),
[ "info" ] = Color ( 0, 255, 0 ),
[ "warn" ] = Color ( 255, 100, 0 )
}
function ClanSystem:__init ( )
Events:Subscribe ( "ModuleLoad", self, self.ModuleLoad )
end
function ClanSystem:ModuleLoad ( )
self.active = false
self.LastTic... | 40e98e57e854221079aec056af933a6b5c8cb485 | [
"Markdown",
"Lua"
] | 3 | Lua | Castillos15/factions | 2432c2031af7221b6aa624fc263902a15a83f1e0 | cfbd896a5e44874bdb9b2d76c3d5090b799b8dfd |
refs/heads/master | <file_sep>/*
GAME RULES:
- The game has 2 players, playing in rounds
- In each turn, a player rolls a dice as many times as he whishes. Each result get added to his ROUND score
- BUT, if the player rolls a 1, all his ROUND score gets lost. After that, it's the next player's turn
- The player can choose to 'Hold', whic... | abd4844c0d038c318ffeb6ba43f2fd85140b3c00 | [
"JavaScript"
] | 1 | JavaScript | kino0104/js-pig-game | 6acd7e93ee4a4c009e2da33ebd4605b450ff8f79 | f0a2cf47aed9fb39235fc84f8fa06b15805daa22 |
refs/heads/master | <file_sep>from fractions import Fraction
class Matrix(object):
@classmethod
def identity_matrix(cls, dim: int):
im = cls(dim)
for i in range(dim):
im[i, i] = 1
return im
def __init__(self, dim: int, fill=0):
if dim < 1:
raise Exception('Dimension c... | 24f9125c4551d280ab2a5eb7a335b49c5fcd0058 | [
"Python"
] | 2 | Python | Marqueeze/COURSES_lab2 | a0517d5e7c5eb1cc42740c6431c9a94961e7cf5e | 5ac08fdd5c3365a35af560c8b13c703ea018f642 |
refs/heads/master | <file_sep># CS572MWA_Day8
CS572MWA_Day8
<file_sep>var express = require('express');
var router = express.Router();
const mongoClient = require('mongodb').MongoClient;
router.get('/read/:name', function (request, response, next) {
mongoClient.connect('mongodb://127.0.0.1:27017/lab8', (err, client) => {
if (err) ... | 1ccd632b9c92178ea7e39cc9889a783065eb8223 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | AymanElakhwas/CS572MWA_Day8 | 915b4c88378870f41ca77a9140413f3bffa32ad1 | 012a7c0547ba237b4c542057ffc070c1afa49112 |
refs/heads/master | <file_sep># jsf-udemy-cd
## Bean Scope
@ApplicationScoped: Bean is created only one time and shared with all users
@SessionScoped: Bean is created once for each user and is unique for this user
@RequestScoped: A new Bean is created for every request (Default Scope)
<file_sep>package bean;
import java.util.ArrayLis... | 739002e5193b79f48f34a2a021a72752285e17e1 | [
"Markdown",
"Java"
] | 3 | Markdown | nathipg/jsf-udemy-cd | 59fe31e0c00b9030fd265c88bf9a520a72062c4a | ecb2bb9122731f241bbc7b62a083db5eb6546e3e |
refs/heads/master | <repo_name>mayank-pq2q4/search<file_sep>/pa2.c
#include <stdio.h>
int recursive_binary_index(int key ,int arr[], int low,int high){
//printf("%d\n",high );
int btw = ((high + low)/2);
printf("...\n" );
printf("...\n" );
printf("%d\n",btw);
if (key>arr[btw]) {
return recursive_binary_index(key,arr,btw+... | 14243279d45ab181f8ea1454f1d7854d14f509a5 | [
"Markdown",
"C"
] | 3 | C | mayank-pq2q4/search | dfb164bde608c8f2795466b758faa557af317e62 | 9f4ebf4b6bea3ed86c0cc6dcc1ffc57d9db64aa1 |
refs/heads/master | <file_sep>package driod.dicex;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.afree.chart.AFreeChart;
import org.afree.chart.ChartFactory;
import org.afree.chart.axis.NumberAxis;
import org.afree.chart.plot.CategoryPlot;
import org.afree.chart.plot.PlotOrientation;
import org.... | 58a337c88b5cc057f58bc88e73f3323db19daa2e | [
"Java"
] | 1 | Java | yasupong/droid_dicex | 6078b294d294644142ba94b706ab4beeaee72327 | 3207cb501e587e30398b4266fdabd0da03de9bcb |
refs/heads/master | <file_sep>import os
import unittest
from diskspace import bytes_to_readable, print_tree, subprocess_check_output, show_space_list
class TestDiskSpace(unittest.TestCase):
def test_subprocess_check_output(self):
func = subprocess_check_output('pwd')
cwd = os.getcwd()+'\n'
self.assertEquals(... | 4699614ee2ce1d9d249278abe7fc05b910e7bc64 | [
"Python"
] | 1 | Python | TecProg-20181/05--Hiroshi18 | 76289704dd2633c5324a04c7a8e6b16596b1411d | ac804b0057fab74ca4c1f96a3b8db9379db4cb56 |
refs/heads/main | <repo_name>hasibahmad1995/Course-Understanding-and-Visualizing-Data-with-Python-Week1-<file_sep>/libraries_data_management.py
#!/usr/bin/env python
# coding: utf-8
# # Python Libraries
#
# Python, like other programming languages, has an abundance of additional modules or libraries that augument the base framework an... | c06b1eee9e61b3b99fe08e41c9185800d3fd9160 | [
"Markdown",
"Python"
] | 2 | Python | hasibahmad1995/Course-Understanding-and-Visualizing-Data-with-Python-Week1- | f48f84ac23b5758bb19993d615c2f339c52863e8 | a43caba0f2b207d5abb256d2f46ed4e9c4279e5e |
refs/heads/master | <file_sep>package com.zhiyou100.ServiceImpl;
import com.zhiyou100.Service.BaseService;
import com.zhiyou100.model.User;
/**
* @author 作者 E-mail:
* @version 创建时间:2018年12月13日 上午9:31:21
* 类说明
*/
public class BaseServiceImpl<T> implements BaseService<T>{
public void save(T user) {
// TODO Auto-generated method stub
... | 100e29f2a19f3edc719ab8d134268a6850d9aa6b | [
"Java"
] | 12 | Java | chrnyuan/crm | aa3dc2949617fbf07390b18508cf8b46397fe43b | f6fe93b8251761672703050bcd804d5a0ac28d0b |
refs/heads/master | <file_sep>CREATE DATABASE `phone_book` DEFAULT CHARACTER SET utf8 ;<file_sep>package com.mizrobov.phonebook.service;
import com.mizrobov.phonebook.entity.Person;
import com.mizrobov.phonebook.entity.Phone;
import java.util.List;
public interface ContactService {
public List<Person> getContacts();
public Pe... | a5bf588b3f4a0e15bc2d06f265c4f968051f19ac | [
"Java",
"SQL",
"Markdown",
"AsciiDoc"
] | 7 | SQL | dilshodmizrobov/phone-book | 031c630897800adc3927f41b089304f356e2607c | 62f1d0009b70fed0b0d0eddf2f326a169ab15fc6 |
refs/heads/master | <repo_name>KaroliShp/coursework-tester<file_sep>/README.md
# Coursework tester for MIPS and C
Basic shell script for executing MIPS and C code and comparing their outputs. So you can compare your results which should be the same.
## Setup
1. Place it in the same folder as your other files, Mars and ```input_all.txt`... | 79f6fbd533a12e6c422d36a0c7a62e9ac8a4bf26 | [
"Markdown",
"Shell"
] | 2 | Markdown | KaroliShp/coursework-tester | 46ebb5fe3d574367cb6898e66afdc215a4888122 | 45fcc151a24175cf6eec3b43c3d1de845d56980b |
refs/heads/master | <file_sep>=====================
Tournament Results
=====================
Tournament Results is a simple Python app that uses PostgreSQL database to store player and matches data.
It also includes functionality to rank the players acording to their standings and pair them up in matches in a tournament.
Quick start
--... | cd756c9c6792f876fc228ad17273b6a8171a15e9 | [
"SQL",
"Text"
] | 2 | Text | ms5626/Tournament-Results | 6a0f68c652f3f1d3af94995ac83338a3308bf331 | d407747c59b27e1b203cf3f22a42a8d60ac883ee |
refs/heads/master | <repo_name>jiaojiao085/myapp<file_sep>/app.js
var express = require('express');
var app = express();
var routes=require('./lib/routes/auto-router')(app);
//app.use(express.static(__dirname + '/public'));
app.use('/static', express.static('public'));
/*app.get('/', function (req, res) {
res.send('i am serious this tim... | 2df5be89eb0e69c8f9442ac8047bb183262db66f | [
"JavaScript"
] | 4 | JavaScript | jiaojiao085/myapp | 9acc940e0a7ecc3134d60b13cb6c2792005f3eb4 | 26967e4f44ea676bcc5a9065aaa38da81857b0b0 |
refs/heads/main | <repo_name>ShaneUP1/LAB-13-TODO-FE<file_sep>/README.old.md
# LAB-13-TODO-FE<file_sep>/src/Home.js
import React, { Component } from 'react'
export default class Home extends Component {
render() {
return (
<div className="homepage">
<h1>Welcome to your TODO portal!</h1>
... | 76210c0450f800b51a119054a72b6e6a98178a43 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | ShaneUP1/LAB-13-TODO-FE | 4537d0019caa91ebd2e72b257e79e7ef825301a7 | 7a95964a115149d134e33dbbac00c02bd9423a41 |
refs/heads/master | <file_sep>[](https://travis-ci.org/AchillesKal/url-extractor)
Extracts urls from given strings<file_sep><?php
namespace AchillesKal\UrlExtractor;
class UrlExtractor
{
private $url;
public function __construct($url)
{
... | f1136f6f68f34a96a15d2b82f07585e4259395d6 | [
"Markdown",
"PHP"
] | 3 | Markdown | AchillesKal/url-extractor | acef639465d12b64650ac3c20fde3673982fd950 | a9a6e0472a30d14869194bc346b53824f06156ff |
refs/heads/master | <repo_name>zapu/SublimeText-Eval<file_sep>/Evals.py
'''
Fork of NodeEval
now evaluates some other stuff too
'''
import sublime, sublime_plugin, os, time, threading
from functools import partial
from subprocess import Popen, PIPE, STDOUT
settingsFilename = "Evals.sublime-settings"
#
# Globals
#
g_lastCwd = None
... | a6d6f53b954e8d257c7098536e8464dfde3a7539 | [
"Markdown",
"Python"
] | 2 | Python | zapu/SublimeText-Eval | 3447b19040513c5d8e766a4137c90445d0e87059 | a1a8c3cf978524b69ccd5fa7c29cb8d2848abd6d |
refs/heads/master | <file_sep>if [ $# != "3" ]
then
echo "Poll Voter v1"
echo "Author: @DotNetRussell"
echo
echo "Poll voter works great against polls that validate based on cookie or ip."
echo "The only requirement is curl being installed."
echo
echo "NOTES:"
echo "This produces a SHIT load of traffic. Don't use it for illegal pu... | bc8c30c1ea153d480d636ec1ab8ddba01770284d | [
"Shell"
] | 1 | Shell | DotNetRussell/PollVoter | 3c3ef39564095009c898efc5f524d37d031ab63e | a8aae77db6874843001e4343d57c5bba1d39eddc |
refs/heads/main | <repo_name>gearsix/sunnyt<file_sep>/README.md
sunnyt
======
Generates a set of coordinates and makes requests to
[sunrise-sunset.org](https://sunrise-sunset.org/) to
fetch data about those coordinates sunrise and sunset
times and find out which one has the earliest sunrise.
<img alt="preview" src="./preview.png" hei... | 1edfd68e44436ceb17541fd7c56ef83171b8848c | [
"Markdown",
"TypeScript"
] | 3 | Markdown | gearsix/sunnyt | 69aca9844e12d1e4f3f8248324bf168df4fd9a54 | ed1cfe84ecbe377837abf33347fe01cd314f38b2 |
refs/heads/main | <repo_name>adnayan/tweetscrap<file_sep>/README.md
"# tweetscrap"
<file_sep>/main.py
import pandas as pd
import datetime as dt
import time
import tweepy
consumer_key = "your consumer key"
consumer_secret = "your consumer secret"
access_token = "your access token"
access_token_secret = "yout access token secret"
auth... | 4e51c3db5aaeeaa7731f5f3c5340b0cd8d28b9e8 | [
"Markdown",
"Python"
] | 2 | Markdown | adnayan/tweetscrap | 82a7c5cf4fd44fbf618f5d9b688d46a417b07d4a | 5a42965ce9597e14e54af2ac44d488ba694ec89b |
refs/heads/master | <repo_name>firedevbr/formulario-mpdf<file_sep>/www/processa.php
<?php
use League\Csv\Reader;
require_once 'vendor/autoload.php';
define('RECORDS_PER_COLUMN', 10);
define('MAX_FILES_PER_REQUEST', 50);
$tmpUploadedFile = $_FILES['csv']['tmp_name'];
$splFile = new \SplFileObject($tmpUploadedFile);
$delimiter = detect... | acd6d09825b82fdd000084d52c736bf42bbaa011 | [
"PHP"
] | 1 | PHP | firedevbr/formulario-mpdf | 77edb73a36ffbb7b658baff227fbccbf5e8001f4 | 15f5f4200c7dab8fff293213a510022637566c8a |
refs/heads/master | <repo_name>vermisean/BattleTanks<file_sep>/Source/BattleTanks/Public/TankTrack.h
// Copyright 2018 <NAME>
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "TankTrack.generated.h"
/**
* Sets maximum driving force and used to apply forces to the tank
*/
UCLASS(meta = (Bluepr... | 9b4451caff0453309133e60d430827b1a0b2c34f | [
"C++"
] | 11 | C++ | vermisean/BattleTanks | 0350f71d9d07a9a757c6e2fe0fcdaf8c2419bda6 | f3f1364f32dd37dfa3b78d310414312f9c8fc4cf |
refs/heads/master | <repo_name>YutaYANAGITYAYA/AnimeFace_Detector<file_sep>/AnimeFace_Detector.py
from PIL import ImageGrab
import cv2
import numpy as np
path = "lbpcascade_animeface.xml"
cascade = cv2.CascadeClassifier(path)
while (cv2.waitKey(1) != 27):
img = ImageGrab.grab()
img = np.asarray(img)
img = cv2.cvtColor(img, cv2.CO... | 59bdfb09f7ff1e0fa1599432f863064dcbdb3a97 | [
"Markdown",
"Python"
] | 2 | Python | YutaYANAGITYAYA/AnimeFace_Detector | 8279c09a386dd6bd2ff309045a16dedf0aba7bf9 | 7a1f271c24ccfb3ad6953083939bb2f7c6b00e46 |
refs/heads/master | <file_sep>var gesture = new Gesture(),
events;
function onDragging(event) {
var $target = $(event.currentTarget),
transform = getTransform($target),
regExp = /(.*)(px)(,)(.*)(px)/ig,
result = regExp.exec(transform.translate),
top = result && result[4] ? Number(result[4]) : 0,
... | 5cdc429090c9457c6fb0c0292f1d93cb5a3d3ce1 | [
"JavaScript"
] | 3 | JavaScript | uclabs/uclabs.github.com | e41e9ee53bd8f8ab7b9b943be59e7e8994f198ad | 6950f410be90024274bb22e24252cb2d63085ede |
refs/heads/master | <file_sep>package com.app.sg.mall.util;
import com.app.sg.mall.dto.Items;
public class AppUtil {
private static final String COMMA = ",";
public static Items convertStringToItems(Items item, String line) {
String[] p = line.split(COMMA);
if (isNotNull(p[0]) && isNotNull(p[1]) && isNotNull(p[2]) && isNotNull(... | d310f9d59981c77b387860039daf2188b436feb0 | [
"Java"
] | 3 | Java | sanjeevbvbit/SG | 24a491ee6a055d8389887f528f95fe42f127bf2c | f174032d43d74b74ca31850c713da239888dfc05 |
refs/heads/master | <repo_name>lengku8e/RecyclerViewDemo<file_sep>/app/src/main/java/me/xiazdong/recyclerviewdemo/demo1/MyAdapter.java
package me.xiazdong.recyclerviewdemo.demo1;
/**
* Created by sunhailong01 on 17/12/30.
*/
public class MyAdapter {
}
| 60dccd213c2c8cfe7dcd68c0598af00af2d06be8 | [
"Java"
] | 1 | Java | lengku8e/RecyclerViewDemo | 94487077b1090abef2879ad997a2dfc463089d5e | 7733045d09509a24eb0c25c8c6f117daa5707cd3 |
refs/heads/master | <file_sep><?php /* Smarty version Smarty-3.1.16, created on 2014-02-24 14:23:27
compiled from ".\templates\novo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:288805307ef3344b2c0-17163682%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency'... | b1fce5df73df409b7cde87a0839db81ceb582fae | [
"PHP"
] | 16 | PHP | fazevedodev/suporte | 30bc61076e26fd72752ff2eddc735405f9251904 | fc35613f512171f2eb46da4bb737e70da2fea92b |
refs/heads/master | <repo_name>Abdurrahmanm4nn/MyAndroidAppExample<file_sep>/app/src/main/java/com/example/cargallery/AstonMartinOne77.kt
package com.example.cargallery
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class AstonMartinOne77 : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bun... | 81bb6959cc921a28251fbeaaef763a95ad1aa0c5 | [
"Kotlin"
] | 6 | Kotlin | Abdurrahmanm4nn/MyAndroidAppExample | 4e9601b85a0e4474243bc254295c4b0d0ceb1538 | 1b0dec9ea3428d406230821f743c0ecbc94b2f0b |
refs/heads/master | <file_sep>"""
Module that supports all the CRUD operations and statistics endpoint
"""
import json
import pandas as pd
from flask import make_response, abort
from config import db
from models import Restaurant, RestaurantSchema
from math import radians
from geopy import distance
#Function that returns all t... | 9ab863ac9b396854acd3b6be2f69edd6b42741ee | [
"Python"
] | 5 | Python | Oscar210695/intelimetrica_exam | 7ba353ca8c30b7c39db5e20a699929e7d3bb77ff | ee217c1373dc57b36380a4358cb8d18a5efd5d90 |
refs/heads/master | <file_sep>#ifndef CONSOLE_HH
#define CONSOLE_HH
#include <list>
class message {
public:
message(char *text, unsigned int ttl);
~message();
public:
char *_text;
unsigned int _ttl;
};
message::message(char *text, unsigned int ttl):
_text(text),
_ttl(ttl)
{
}
message::~message()
{
delete[] _text;
}
typedef st... | a9991b22132651b699a76d141c16fccb14a4e82a | [
"C++"
] | 8 | C++ | vegard/spaceinv | 5fe7cf85b8c0a273f2870e58963a96330baa15a4 | 5aa15524122c309e161b391efe6ec534c5fdf3c0 |
refs/heads/master | <file_sep>import numpy as np
import matplotlib as mp
%matplotlib inline
import matplotlib.pyplot as plt
import tensorflow as tf
import tensorflow.contrib.slim as slim
from tensorflow.examples.tutorials.mnist import input_data
import math
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
<file_sep># tenso... | 4f5f7704280137ea8fd416a9653612bd5881f2e8 | [
"Markdown",
"Python",
"Text"
] | 4 | Python | marcoruizrueda/tensorflow-projects | 0596322f13728ba97f13aa4502033545333392d7 | 6bc3cc80654b84ebd3fa2e862667ad466f1f6f57 |
refs/heads/master | <file_sep>#!/bin/bash
echo "Loading all files into gedit ..."
gedit main.h main.cpp grid.h grid.cpp dictionary.txt
<file_sep>#!/bin/bash
echo "Compiling all source ... "
g++ main.cpp grid.cpp -o main
echo "Done compiling! Now attempting to run ..."
./main
<file_sep>#include <cstdlib>
#include <string>
#include <iostre... | fb2dbabf1bee97414545536ec313400c7108d09d | [
"Markdown",
"C++",
"Shell"
] | 7 | Shell | StevenKitzes/WordSearch | 53c31cf0375339688bac8860beb294a74bd6dedf | 3f235f19be4901883cb2c97784af2eb653947332 |
refs/heads/master | <repo_name>YStrano/ds_jk<file_sep>/sphinx_dat/build/html/_sources/index.rst.txt
.. GA-DAT-3-20 documentation master file, created by
sphinx-quickstart on Mon May 21 23:32:40 2018.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to GA-DAT-... | 2302024eed4169ab161e4205f8acfa4c8ba50b65 | [
"Markdown",
"Python",
"HTML",
"reStructuredText"
] | 17 | reStructuredText | YStrano/ds_jk | ca4aab143b0574b623ba59c32700f355302d66e5 | 73fb0ef6a3846f3221909a1e7b486acf930532aa |
refs/heads/main | <file_sep>server.port=8081
spring.application.name=user-service
eureka.instance.hostname=localhost<file_sep>package org.snapdeal.spring_boot_CRUD.controller;
import java.util.List;
import org.snapdeal.spring_boot_CRUD.entity.StudentEntity;
import org.snapdeal.spring_boot_CRUD.service.StudentService;
import org.spring... | fd21712111e3e338904e8c8da0aff7c73afcfaa6 | [
"Java",
"INI"
] | 9 | INI | krdinkar15/SpringBoot | 2cd2e1fb8292678ee11cb6fdfe4e6d8a4a3e03c5 | 90a0f1baf8dfea88262cb57f092dc28163e73cf8 |
refs/heads/master | <file_sep><body>
<header><h1><NAME></h1></header>
<main>
<h1>About Me</h1>
<img src="/plandemo/images/logo.png" alt="This is my logo" width="150" height="150"><h1><NAME></h1>
<aside>
<?php
echo "<h2>Family</h2>";
echo "I have 4 beautiful children and a very hard working husband<br>";
echo "<h2>Career... | f39cd91dae416e2e73e21da584f4df8fec7559f0 | [
"PHP"
] | 1 | PHP | OgdenStephanie/CS313StephOgden | 689a2e5c7ecc3b539257f7bbe39639cfeee756f6 | 8ae59dcc4dd2e66f427d436c959d7a17cc61efa5 |
refs/heads/master | <repo_name>radoslav-petrov/Shop_Products<file_sep>/Shop_Products/Shop_Products/MySQL/procedure.sql
DELIMITER $$
DROP PROCEDURE IF EXISTS `shop`.`setFinalPrice` $$
CREATE PROCEDURE `shop`.`setFinalPrice` (IN mult DOUBLE)
BEGIN
DECLARE a, c DOUBLE;
DECLARE b INT;
DECLARE cur1 CURSOR FOR SELECT a_price FR... | 16535d472469592cb4e5a4c127750f9a1e96cb52 | [
"SQL"
] | 1 | SQL | radoslav-petrov/Shop_Products | bb618c9e640f277d48ef6bd8d37749bccf1cb014 | b94f3b64d9e5082f814c118460682b84a7b9fbd9 |
refs/heads/main | <repo_name>Zubs/Efico<file_sep>/app/Http/Controllers/AdminController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Admin;
use App\Models\User;
use App\Models\News;
use App\Models\Training;
use App\Models\Trainee;
use App\Notifications\NewAdmin;
class AdminController extends Co... | b80d27db72c42118bfe4abe3d0f21f48bf5a1bce | [
"JavaScript",
"Markdown",
"PHP"
] | 12 | PHP | Zubs/Efico | a0c45c35f631e316e3033721665a8be58438b59d | 554a456b3d42b32e57d1018710dbe46ad4c3c236 |
refs/heads/master | <repo_name>Gor027/Poset<file_sep>/docs/notes.txt
-1pt for "ignoring globals in C interface?"
to avoid? there's something on moodle for that, I guess
-1pt for storing in posets more than 1 instance of specific string??
to avoid? ..
interface file:
include guards (seem. actual, not #pragma once)
name mang... | 82862ed4e2eb599a4d8a7da337000a9727f1e744 | [
"Makefile",
"Text",
"CMake",
"C++"
] | 4 | Text | Gor027/Poset | d8d92e6a79b5dc9c78d88d51ad106ec3319fce6b | b0370551721d21fc21c6f9056e6e64ffb3e9b950 |
refs/heads/master | <repo_name>ThisETboy/ElasticSearch<file_sep>/es-demo/src/main/java/com/itcast/create/App01_matchAllQuery.java
package com.itcast.create;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.client.transport.TransportClient;
import org.elasticsearch.common.settings.Settings;
import org.elasti... | 85fc865e9184897f14d74ea26ebaa9008c371306 | [
"Java"
] | 2 | Java | ThisETboy/ElasticSearch | 56d106639f0a27f92bc0fdca0c35ff3cfcb9d17d | 6e386fbb4b49edad677a2aefa7cfe2d8f9136a81 |
refs/heads/master | <repo_name>evargas1/Eat-to-Heal<file_sep>/README.md
# Eat to Heal
A website that was created to practice user authentication and forms. Book an appointment with a nutritionist via zoom. Login or register to view client dashboard.
Eat To Heal is a fully functioning webiste were visitors can book an appointment or get i... | 8734e8e2f1c5489bcd8301b6ef101dd17a350a99 | [
"Markdown",
"Python",
"HTML"
] | 6 | Markdown | evargas1/Eat-to-Heal | 7b4efc146f6ceede570d4b005d9aa0a96d309f8a | 520dc51bb83b95725e0c9add3c1e396ab04828d2 |
refs/heads/master | <repo_name>ddolewski/STM32F429_Disco_FreeRTOS<file_sep>/stm32_freertos/STM32F429_FreeRTOS/src/main.c
#include "global.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "stm32f429i_discovery.h"
#include "uart.h"
#define TERMINAL_USART USART1
#define TERMINAL_TX GPIO_Pin... | 80e9bc28966a73962802169b6d2590969c8b4472 | [
"Markdown",
"C"
] | 5 | C | ddolewski/STM32F429_Disco_FreeRTOS | 144acbeb45f40e84497c19758d5bf3f477c1a8c9 | 79624432beced39c374b84ae7d44bb8baa925594 |
refs/heads/master | <repo_name>aruizca/docker-confluence-for-testing<file_sep>/scripts/features/install-app-license.sh
#!/usr/bin/env bash
CONFLUENCE_BASE_URL="http://localhost:8090/confluence"
CONFLUENCE_USERNAME="admin"
CONFLUENCE_PASSWORD="<PASSWORD>"
APP_KEY=""
APP_LICENCE="<KEY>"
help () {
echo
echo "Usage: ... | b97c6c4d40bcfdcf43b0f1d837892a115854cd10 | [
"Markdown",
"Dockerfile",
"Shell"
] | 12 | Shell | aruizca/docker-confluence-for-testing | 637771596daca8902f2760db75cffe7cf37bebe8 | c13ead7001bf8853705d9fb9da08732017d6b816 |
refs/heads/main | <repo_name>carolinefsil/DesafioJpa-<file_sep>/src/main/java/NovaAvaliacao.java
import models.Alunos;
import models.Avaliacao;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
public class NovaAvaliacao {
public static void main(String... ... | 79f320d8fd144ad750250b74e7539cda39afd1e2 | [
"Java"
] | 6 | Java | carolinefsil/DesafioJpa- | f528bc991d7b59964fcef9bc29d6652a2a308ad3 | 61f59c8be6ed9acb2e1d6eaa0adb36e1c48f184a |
refs/heads/master | <file_sep>angular.module('starter.directives', [])
.directive('backImg', function($window) {
return {
restrict: 'A',
link: function(scope, element, attrs) {
attrs.$observe('backImg', function(url) {
if (url) {
element.css({
'background-image': 'url(' + url + ')',
'background-size':... | 22f78efddb1cb25affab97da0b52fe116c3a486c | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | NYUAD-Hackathon-2016/maktabti-reading-app-for-kids | 4a2acc9717050ed6af16ded5ff05c384abfca3c5 | db1fac6076e7492124bab81b79a0f035a131b5db |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.