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>IsraelMeira/project_Ruby<file_sep>/README.md
# project_Ruby
sistema
<file_sep>/conexao.php
<?php
session_start();
$conectar = mysql_connect("localhost","root","") or die ("Erro na conexão");
$mysql_select_db("tcc");
?><file_sep>/index.php
<?php
session_start();
?>
<!DOCTYPE html>
<html >
<head>... | a829805738261271d25d8b243ac87f0096e2dc6e | [
"Markdown",
"PHP"
] | 4 | Markdown | IsraelMeira/project_Ruby | 6338ca73f4f93665c0c6bd703259e937861aecb9 | cf8836893bade165eaae84bcf9c4c2a448707b0c |
refs/heads/master | <repo_name>Ornella-KK/Quotes<file_sep>/README.md
## Quotes
## Description
This is a web-application that helps us write our quotes and deletes or vote them.
### Author
<NAME>
## How It Works
* INPUT: Author,Quote,Date.
* OUTPUT: Quote added to other quotes
### Setup Installation
* Fork the repository to your github acc... | 1406fb8a965843e7521e020c8d3a2212692cbf91 | [
"Markdown",
"TypeScript"
] | 3 | Markdown | Ornella-KK/Quotes | d286c297b1ebfb29d5a4f7ccb1f68f1b1e9cacc1 | c66c81272124354b2c915fc8fb03a0ecb8d94658 |
refs/heads/master | <repo_name>DonyJ97/DJ_CloudShopping_order<file_sep>/server/src/main/java/com/order/repository/OrderDetailRepository.java
package com.order.repository;
import com.order.dataobject.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
/**
* @ Author :djq.
* @ Date ... | 28a120c37d36b5cb3a112d49570730a42eaa7679 | [
"Java"
] | 7 | Java | DonyJ97/DJ_CloudShopping_order | 37a8e6b2b2dd464e9e26b91ec4a477eec85ce806 | a06f84555d3212f5e791c03df6f1502cbf1774f2 |
refs/heads/master | <repo_name>laptewstein/utils<file_sep>/rtsp2file/lib/openRTSP/record_stream.sh
#!/usr/bin/env bash
# kill previous instances before
pgrep openRTSP | xargs kill -9 > /dev/null 2>&1
URL=$1
DURATION=$2
VIDEO_LENGTH=$3
PREFIX=$(date +\%Y-\%M-\%d_\%H)
cd ~/rtsp2file/history
../lib/openRTSP/openRTSP -B 10000000 -b 1000000... | 2f04621a8d436392de774bc5aaae3a92da7b41b0 | [
"Markdown",
"Shell"
] | 5 | Shell | laptewstein/utils | aec14122226f8bac263a9f2ada76efd9899358a9 | 59359f96f76ecf4140813958417d63240187c209 |
refs/heads/master | <repo_name>BurgerLUA/classmod3<file_sep>/lua/autorun/server/sv_cm_loadout.lua
function CM_TakeMoney(ply,money)
MONEYMOD_AddMoney(ply,-money)
end
function CM_Loadout( ply )
local WeightLimit = GetConVar("sv_class_weightlimit"):GetFloat()
local TotalWeight = 0
local LoadoutTable = CM_GetPlayerWeapons(ply)
if not... | 27a4c9f0719f7fbca215b68e0a053390f9fb6fbe | [
"Lua"
] | 4 | Lua | BurgerLUA/classmod3 | 801a76cac6e98040649626fb47ad3d1defb9120d | 9ff3b91b40add297462601dfc3d2bf877055af6d |
refs/heads/master | <repo_name>santosdiiih/Aulas-Php<file_sep>/aula12-1 MVC/Model/contatoClass.php
<?php
########################## LEMBRETE #########################################
# Nome da classe :' Contato() #
# Objetivo : Manipular dados com o BD MSQL referente a contatos ... | 2dba2b1f13b3013d7646f76cb3b8fda27b5da407 | [
"SQL",
"PHP"
] | 15 | PHP | santosdiiih/Aulas-Php | ba3b5c8133d6db3a90d10a82dfcaf9a2fe03bfee | 7fa6b36b83e4c60947f3725e494738a962cee058 |
refs/heads/master | <file_sep>from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^(?P<destinationID>\d+)', views.destination),
]<file_sep>
# Travel
A trip planning application with share feature among registered users.
Implemented and deployed in under 4 hours for Coding Dojo Black Belt exam
<file_sep>fr... | d1a8d250cf6e3e61f90b5d122e389d8488a9ff8c | [
"Markdown",
"Python",
"HTML"
] | 7 | Python | dusty-g/Travel | 5ca6061884e7630a0b0365adfa640da3ce1a6c37 | 89501d156a3ea86f4478f7bb41e1f968c7087bd3 |
refs/heads/master | <file_sep>import "./App.css";
import BoxList from "./BoxList";
import React, { Component } from "react";
// this component should render the BoxList component
class App extends Component {
render() {
return (
<div className="App">
<h1>Color Box Maker</h1>
<BoxList />
</div>
);
... | d62cf29e8ca0f30e00220534171441b990fb28a6 | [
"JavaScript"
] | 2 | JavaScript | scotlin1293/React-Color-Box | 23395076c09da0a8148355a6f90af27e049376a7 | 8f1fe9bb493a490c611e0585589f58d8b5fb82a4 |
refs/heads/master | <file_sep>APG = 'legend'
| 40f99c76bbdeb7dc18d1ea62c04bd33d46f78449 | [
"Python"
] | 1 | Python | DeviThangavelu/Python | 1d726351a6801ff555ac5982db8746da66319351 | a44786e6ddd072ece5f5a0d48967a4df24947124 |
refs/heads/master | <repo_name>dineshsrivasthav/Live-cricket-score<file_sep>/cric.py
import time
import requests
from bs4 import BeautifulSoup
import win10toast
def LiveScore(showNotification):
toast = win10toast.ToastNotifier()
url = "http://mapps.cricbuzz.com/cbzios/match/livematches"
response = requests.get(url)
matchData = respo... | e5ef62381519a5f5c432e1a28c88234b32a32f9c | [
"Python"
] | 1 | Python | dineshsrivasthav/Live-cricket-score | fa9cb20d28d4b0a888d1e1a740b6eba642b93013 | 0c97f2127a3a8d99a61a387e84615dd0fd3dbf26 |
refs/heads/master | <repo_name>dwilbank68/ReactReduxFrontendStarter<file_sep>/README.md
### Features
jwt authentication
built for backend at
https://wilbanks-node-api.herokuapp.com/
npm run start
state = {
auth: {
user: {
email: STRING,
id: STRING
},
... | f542c1f5d592a73b24972e7f8ffb4297e214ac98 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | dwilbank68/ReactReduxFrontendStarter | 4753413deedc3b423d9a9d50d17c6b4765f1bbfc | bb829a496d17fe9ce31693bcac2a95a55d644384 |
refs/heads/master | <repo_name>IT-CAMP3/2020.10.10-abstrakcja<file_sep>/src/Snake.java
public class Snake extends Pet {
@Override
public void jedz() {
System.out.println("Zaatakuj i zjedz i leż !!");
}
}
<file_sep>/src/Pet.java
public abstract class Pet {
int a = 5;
public void go() {
System.out.printl... | b128efa7ddcd75bc4bf4204d2bca5d366432e06a | [
"Java"
] | 3 | Java | IT-CAMP3/2020.10.10-abstrakcja | 377e85d3cb2454b436d8bbba126cdf505f0cd6f6 | 35e23d2fa907862b625014c4e5b139e153f3a335 |
refs/heads/master | <repo_name>bmokr/RPiDG<file_sep>/ServerScripts/setLeds.php
<?php
//if ($_SERVER["REQUEST_METHOD"] == "POST"){
$json = file_get_contents("php://input");
$data = json_decode($json);
if(!empty($data))
{
$arrSize = sizeof($data);
for($i=0; $i < $arrSize; $i++) {
$x = $data[$i]->x;
$y = $data[$i]->y;
$r = $data[$i]->r;
$... | 63a94adc8e2eb61702954ff6ae3083085da8b287 | [
"Markdown",
"JavaScript",
"Gradle",
"Java",
"C#",
"Python",
"Text",
"PHP"
] | 26 | PHP | bmokr/RPiDG | a07b018c36ae9d015519485cc3263393048480c4 | 694be82c5fb9b680e3c4e76ecb8647b48ee7208d |
refs/heads/master | <repo_name>trivedigaurav/wordtree-electron<file_sep>/regex.py
import re
import os, getopt, sys
import json
import csv
debug = False
def doSplit(root, inFile="lorem.csv"):
global debug
if (not root):
# print "Error: No root word provided!"
return
# print "Searching for", '"'+root+'"', "in"... | 0ed28165e9e54eb6cd96a9207099657a4db31232 | [
"JavaScript",
"Python",
"Markdown"
] | 4 | Python | trivedigaurav/wordtree-electron | 72725fbaed3beefe37e0dda264395c17d343fb61 | 2805be86d7633b5ecae80dbfa46552e4fa0e6f24 |
refs/heads/master | <repo_name>allison-johnson/scraping-reading-online-web-ft-120919<file_sep>/lib/scraper.rb
require 'nokogiri'
require 'open-uri'
html = open("https://flatironschool.com/")
doc = Nokogiri::HTML(html)
#puts doc.css(".headline-26OIBN").text
p doc.css(".title-oE5vT4")[0].attributes
# courses.each do |course|
# pu... | 66170b8b720097b56faa4f662744dc406c4b1694 | [
"Ruby"
] | 1 | Ruby | allison-johnson/scraping-reading-online-web-ft-120919 | adb9ebc71e36b20601032253a417950fbeafc321 | f3a1576bbd844d6821e29f185d74f6b92e730ea2 |
refs/heads/master | <file_sep>//
// ISSAPI.swift
// ISS Pager
//
// Created by <NAME> on 12/21/16.
// Copyright © 2016 Dedual Enterprises Inc. All rights reserved.
//
import Foundation
import Moya
private func JSONResponseDataFormatter(data: Data) -> Data {
do {
let dataAsJSON = try JSONSerialization.jsonObject(with: dat... | df3daccac433c6fc869e83035938fb0f53dce5bf | [
"Swift",
"Ruby",
"Markdown"
] | 16 | Swift | dedual/ISS-Pager | 301989ae5833d17c2b42abf5cda1e6d5cf51ea83 | d5785a3133608a9d43b76533061ec3cd152b45ac |
refs/heads/master | <file_sep>data class DatosBasicosDTO (
val fechaEmisionTransf : String,
val impTransferencia : Double,
val impComision : Int,
val impGastos : Int,
val impLiquido : Double,
val nombreOrdenante : String,
val descCuentaAbono : String,
val descCuentaCargo : String,
val impTotalDivBase : String?
)
<file_sep>
data ... | 79fda8be9ebe5ffb23a6f32e5b3db7218f797d60 | [
"Kotlin"
] | 3 | Kotlin | linchis/ParserGsonKotlin | 4d3ae261fb5133c0658c2c04ac26f518f07514b2 | 1b1e2a6f850612a29fbff0e660088dd693341ec1 |
refs/heads/master | <repo_name>philion/chiron<file_sep>/src/main/java/com/acmerocket/chiron/spi/Credentials.java
package com.acmerocket.chiron.spi;
import java.io.Serializable;
public interface Credentials extends Serializable {
}
<file_sep>/src/main/java/com/acmerocket/chiron/provider/withings/model/MeasureType.java
package com.acmero... | dd3c846d78803aa88b657ef9f6bdb85319fa66b1 | [
"Java"
] | 9 | Java | philion/chiron | 4114c4b3db3ead62a65dd3307bfa2c74e54101d2 | 6843d6227e2bea2ef70a92e99194cfabc058b4e2 |
refs/heads/master | <file_sep><?php
require 'vendor/autoload.php';
require 'config/config.php';
if (isset($_GET['img'])) {
imgurl_kuri($_GET['img']);
}
else
_kuri();
| db162d6b9de82a604a5ba2b66608993ea1c49e4f | [
"PHP"
] | 1 | PHP | masterforweb/imgurl | d61551aa0877ded0a8141d2a0eed5488e4d82e56 | fa9bf28b04b92db953eaa4f7b793f8fc7b2a87dd |
refs/heads/master | <file_sep>package cn.com.interfaces;
import java.util.List;
import cn.com.beans.AnswerBean;
/**
* @author Xianxiaofei
* @date:2014-5-10 上午10:15:09
*/
public interface AnswerDaoInf {
//根据id得到问题信息
AnswerBean getAnswerByAnswerId(int answer_id);
//根据标回答描述得到回答信息
List<AnswerBean> getAnswerByAnswerDes... | e557e70ae73aa8ce3cda90c982e6936e75498eff | [
"JavaScript",
"Java",
"Markdown",
"SQL"
] | 35 | Java | xianxiaofei007/demos | 4d9c1f49f2db229d58b170dd3c3476be9213444d | 19edb0ba00a60136454b7f3771f50e69bba9b20a |
refs/heads/master | <file_sep># A Simple Dynamic Site with Node.
Project code to support the Treehouse course ```Build a Simple Dynamic Site with Node```
This app searches and retrieves Treehouse members' profiles.
## Setup
- clone the repo and cd to the project folder.
- Ensure you have node installed.
- Start the app: ```$ node app.js... | 6dc40e8f40fb4983745b5b3e39c5476faa459a4f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | victoriaaoka/treehouse-profile-finder | 9b457ac53c75a4115cec4fc02f2dd5c1dccd2191 | 799db11175a4bef7871d2cbea0f694aadd22fa7f |
refs/heads/master | <file_sep>import React from 'react';
import { Flex,Toast } from 'antd-mobile';
import styles from './AwardHead.css';
import userImg from '../../assets/img/timg.jpg'
class AwardHead extends React.Component {
constructor() {
super()
}
render(){
let balance = this.props.balance;
let balanceShow;
if... | 3befb9d90191d1785b59768a46fd0206e35cc36f | [
"JavaScript"
] | 22 | JavaScript | youngiyang1990/fancyshop | cb7e111d210c414fafbf258002b827bd0991cc4c | 0ccaabff17738b687352c3ee3956537a1209c190 |
refs/heads/master | <repo_name>izayah/PTSD_APP<file_sep>/settings.gradle
include ':ptsd', ':ptsd_mobile', ':mobile'
<file_sep>/ptsd/src/main/java/com/example/ptsd/StressToolsActivity.java
package com.example.ptsd;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androi... | bb831f6aa1e782385cb30244860541ccd7c3cb29 | [
"Markdown",
"Java",
"Gradle"
] | 5 | Gradle | izayah/PTSD_APP | 84f75ffd55008921eab7c3bdf435395cd231d5b6 | d265d44072fe622af8dccf1c9636ce33755a05dd |
refs/heads/main | <file_sep>
$(document).ready(function(){
$("#loguinAluno").submit(function(event){
var usuario = $("#inputUsuario").val()
var senha = $("#inputSenha").val()
//*Testar se usuario e senha estão corretos*//
if(usuario == "nome" && senha == "<PASSWORD>"){
$("#mensagem").addClass("alert alert-s... | c4b4860963a10437c2f0f835d2669e908d855334 | [
"JavaScript"
] | 1 | JavaScript | jhucyy/frontend_projetoteste | 4e45fb5f3f7cc538c5432d899c5c65dcb820dfcf | 327af48b9e8bb9f682968394ffc9c37e133a6c10 |
refs/heads/master | <repo_name>anushac5318/DataWranglingProject<file_sep>/Parsing.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
After auditing is complete the next step is to prepare the data to be inserted into a SQL database.
To do so you will parse the elements in the OSM XML file, transforming them from document format to
tabu... | 316ee4df27b9ee2446353b0f3093aa8dc210827c | [
"Python"
] | 2 | Python | anushac5318/DataWranglingProject | 5f6529681dbb2a6a33f2ba519a8d09bbdaafeadf | ce68a1fd081eafe3837f0e6a560877aba29b7bb3 |
refs/heads/master | <repo_name>brancz/vulnweb<file_sep>/Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
coreos_linux_update_channel = "alpha"
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it ... | d5527e9e7bb9299fb2cbb63ff3feaae50b9631dc | [
"Markdown",
"Ruby",
"Makefile"
] | 3 | Ruby | brancz/vulnweb | da9c5dec92a4c3cf4b3776b2c82dd63d19006a8d | 1e7d27b68765d795749e022a4eef31d1c23e4f9f |
refs/heads/master | <file_sep>package runescape;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.DisplayMode;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.GridLayout;
import java.awt.Rectangle;
import java.awt.Toolk... | 6cd1be278f655ac9258ea66c0ff6310808158563 | [
"Java"
] | 11 | Java | liquidsystem/AP-Advanced-Programming | 341d61505ad5d69d55f11cf8e11c7e88deb1ed7d | c5e180c401ababea4aaf83650bf09614e3f937db |
refs/heads/master | <file_sep>import pandas as pd
import matplotlib.pyplot as plt
import re
import math
# # Data (csv file) downloaded from
# # http://www.nasdaq.com/screening/company-list.aspx
if __name__ == "__main__":
# # read csv file
df = pd.read_csv('companylist_nyse.csv')
# df = pd.read_csv('companylist_na... | 7243605e434890bc7e79627cf62effa47aa91f0d | [
"Markdown",
"Python"
] | 2 | Python | xuanyiguang/Python-practice | cfb8f70304f6c783b937fefc42ee484d67ce0cf5 | a8f7288f595a9789bd6f74be992a5853696abf06 |
refs/heads/master | <file_sep>### @qietuzi/validate
A js library for common regs,一个常用的正则库
### Install && Use(安装&&使用)
```
npm i@qietuzi/validate --save
```
```js
import validate from '@qietuzi/validate'
validate.isCellPhone(cellphone)
// or
import { isCellPhone } from '@qietuzi/validate'
isCellPhone(cellphone)
// or
const validate = ... | 3e20525b2ff920467eb04594465eb17386aab93a | [
"Markdown",
"TypeScript"
] | 4 | Markdown | qiangqiang93/easy-verify | d0f341a5f8cdf07b3ce0f402ffe4655418533192 | 9318f0424c53f8f61e2e43f74c8ab936afbf13f8 |
refs/heads/master | <repo_name>divya-github18/PythonSelinumTesting<file_sep>/Tests1/conftest.py
import pytest
from selenium import webdriver
from Config.config import TestData
from Pages.LoginPage import LoginPage
web_driver = None
@pytest.fixture(params=["chrome"], scope='class')
def init_driver(request):
global web_driver
if... | c0742bd4f5ef3fd0dac5f51a6d2c0abfcc91bab3 | [
"Python"
] | 31 | Python | divya-github18/PythonSelinumTesting | bf69918badd7351fc909fb8372ec1b677bd65e6b | 5568914efcea0afc89c79869408cd2a4737f4ba2 |
refs/heads/master | <repo_name>Fabionunez/lab-javascript-clue<file_sep>/src/clue.js
// Characters Collection
var mrGreen = {
first_name: "Jacob",
last_name: "Green",
color: "green",
description: "He has a lot of connections",
age: 45,
image:
"https://pbs.twimg.com/profile_images/506787499331428352/65jTv2uC.jpeg",
occupa... | 21212f278184db341a853708b48f18023f4fd241 | [
"JavaScript"
] | 1 | JavaScript | Fabionunez/lab-javascript-clue | a4c0394f15e8938d3bf3ea640f765aceeecc0f50 | 8a56e97e303c915fe1b166f9fe59d7132b9fa9d2 |
refs/heads/master | <file_sep>const cacheName = 'philman-+VI6LInC96cEeQ==';
self.addEventListener('install', event => {
event.waitUntil(
caches.open(cacheName).then(cache => {
return cache.addAll([
'/',
'index.html',
'/dist/fonts/big-john.ttf',
'/dist/fonts/big-john.woff',
'/dist/fonts/big-john.woff2',
'/dis... | 93acc81bc8b29c318eb28af2fb650e3e51faa880 | [
"JavaScript",
"Shell"
] | 6 | JavaScript | GlynnPhillips/philman | fee1c3a9d134f9ae06241a82cced3f9a739d3bae | 470897c7797a099bc27bb2c5eab8239ab5dbbac3 |
refs/heads/main | <repo_name>levopeti/crypto_trading<file_sep>/binance_test/binance_api_test.py
import json
from binance.client import Client
from binance.websockets import BinanceSocketManager
from twisted.internet import reactor
from jarvix import jprint
with open('secret.json') as f:
secret = json.load(f)
api_key = secret['api... | 6687e2baff0de64aa7e168c379dbe9cb1ab9ea41 | [
"Python"
] | 1 | Python | levopeti/crypto_trading | 1d130866a55b306af708810b7242cc2ea7d490ba | 4083d19bcad277b27c1c91045e0ecd41e8b7a5fb |
refs/heads/master | <repo_name>mottus-app/mottus-server<file_sep>/src/utils/testDecorator.spec.ts
import { UserResponse } from 'src/users/entity/user.entity';
import {
returnBoolean,
returnString,
returnUserResponse,
} from './utilDecorators';
describe('returnsString', () => {
it('works', () => {
expect(true).toBeTruthy();
... | 697dd5bdad3cc7b222665371d82fcd93f46ad8cc | [
"JavaScript",
"TypeScript"
] | 31 | TypeScript | mottus-app/mottus-server | 30f01189f43d57657a6c86d6d04c30fb3b1d605c | f28308052a89018c7868afa1c8e6305c3a1b0d48 |
refs/heads/master | <repo_name>mulyo88/Form-Button-Report-<file_sep>/laporan2.java
package airwaybill;
import java.io.File;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.HashMap;
import java.util.Map;
import javax.swing.JOptionPane;
import koneksi.db_form;
import net.sf.jasperr... | 840a4f21ea8ebb9a37a785674aadebc15138a95a | [
"Java"
] | 2 | Java | mulyo88/Form-Button-Report- | 7157b3998a0ceb653b42c1b217b3060426aaff2e | 7433241a0ca10a5e05631252ffb611aeee0e1807 |
refs/heads/master | <repo_name>elcct/amazingwebsite<file_sep>/system/middleware.go
package system
import (
"net/http"
"github.com/golang/glog"
"github.com/zenazn/goji/web"
"github.com/elcct/amazingwebsite/models"
"github.com/gorilla/context"
"github.com/gorilla/sessions"
"labix.org/v2/mgo"
"labix.org/v2/mgo/bson"
)
... | d2f7fec7dd55cc22031284d93b3b8771fc87c23f | [
"Markdown",
"Go"
] | 7 | Go | elcct/amazingwebsite | 6681078636810439d3ea0a74a6db02975f759d79 | 03986ad178adb00351e48258dd71af78745e1e83 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding:utf-8 -*-
import urllib2
import time
import json
import os
import ctypes
global start_page
global update_time
start_page = 'http://screen.libc.pw'
update_time = '1489087600'
def update():
# url = 'http://hls.sysorem.xyz/screen/update.txt'
url = 'http://rc.deadbeef.win... | 69b92b0e7dea85fc45ac5cf1b8e1a0513302c0c9 | [
"Markdown",
"Python"
] | 2 | Python | siwufeiwu/screen | 98da092a99d6d600acf2e9dc6378cd3eed2284c5 | 420f0fbc2300278737bf2b2f6a7d00bf30262895 |
refs/heads/master | <repo_name>gwwfromcs/2d-ising-hexagonal<file_sep>/2d-ising-2.0.cpp
// Adapted from <NAME>'s code
// Ref: https://arxiv.org/abs/0803.0217v1/
// 2D ising model on hexagonal lattice
// Compile: g++ -O3 -std=c++11 2d-ising-2.0.cpp ran1.c -o ising2d-2.exe
// The program automatically reads input.2d-ising and perform calcula... | ddca38fe70ff9f47b4fa016214ff772f2229836c | [
"Markdown",
"C++"
] | 4 | C++ | gwwfromcs/2d-ising-hexagonal | c83ee7057845075dc42f664334b1752472cd70a3 | 79f794037be5abe5082941defc658633e712a15c |
refs/heads/master | <file_sep><?php
/**
* Copyright 1999-2017. Parallels IP Holdings GmbH.
*/
/**
* Class Modules_PagespeedInsights_Helper
*/
class Modules_PagespeedInsights_Helper
{
/**
* Makes a cURL request to the Google PageSpeed Insights API
*
* @param $url
*
* @return mixed|string
*/
public... | 23d297c2fbca89e10218119a175a2157dffaafcd | [
"Markdown",
"PHP",
"Shell"
] | 14 | PHP | MaximSavrilov/ext-pagespeed-insights | 08610b7f82094cfa9bad63db8fa88160668ad3ee | f3626a7005242fdce3b34e67b5c7d1e1870dd8df |
refs/heads/master | <repo_name>arunrajput17/PSTUD<file_sep>/29_SharingDataBetProcesses_Que.py
## Sharing Data between Process : Que (Sharing value using them)
import multiprocessing
def calc_square(numbers,q):
for n in numbers:
q.put(n*n) # adding data in the que
if __name__ == "__main__":
numbers=[2,... | f82debd66c183adbd90a9e232b010dbccede832d | [
"Python"
] | 68 | Python | arunrajput17/PSTUD | 52451bb78a6008db19e951ae802c140fa06fc55b | 44ce13c1d723e26c8ccad72bfa052caa657db52d |
refs/heads/main | <repo_name>mrlinnth/yanslist<file_sep>/app/Repositories/RegionRepository.php
<?php
namespace App\Repositories;
use Prettus\Repository\Contracts\RepositoryInterface;
/**
* Interface RegionRepository.
*
* @package namespace App\Repositories;
*/
interface RegionRepository extends RepositoryInterface
{
//
}
<fil... | 775da1e971dff7f877ce0945559430eac4a7bfc5 | [
"JavaScript",
"Markdown",
"PHP"
] | 39 | PHP | mrlinnth/yanslist | ae072aa9884e0cbf6a71ced6ea26fb3d4a678bcc | f5ab8a2a5b6fdf0915174a453911020751f9d0fc |
refs/heads/master | <repo_name>imykshenov/schools<file_sep>/models/Student.php
<?php
/**
* Класс Student - модель для работы со школьниками
*/
class Student
{
// Возвращает список школьников
// Используется во view'e, в котором просматривается подробная информация о школе
// SchoolController
public static function getS... | 3f4fc07606b3fb311e5930d4441f8c557b7e9f29 | [
"Markdown",
"PHP"
] | 17 | PHP | imykshenov/schools | e8143eb0c5bcc8a7dd33e844aaa220a64f3226cb | 8c80c5590a08158f41f75615efbaac363458f604 |
refs/heads/master | <file_sep>api.lesson_meta_url=http://localhost:5000/api/lesson-meta
api.course_meta_url=http://localhost:5000/api/course-meta<file_sep>plugins {
id 'java'
id 'groovy'
id 'application'
}
mainClassName = 'Main'
group 'com.enderstudy'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mave... | 48256f6c397d309aae836193c5d4d4446188147e | [
"Java",
"INI",
"Gradle"
] | 5 | INI | enderstudy/Youtube-Microservice | 6ced7917ad34e21489b6c601f52568aa97ab775e | d513eb94959c9cbd3be96ef0f9052d753425346a |
refs/heads/master | <file_sep>import cv2
import numpy as np
from keras.models import load_model
from keras import backend as K
from keras.models import Model
import matplotlib.pyplot as plt # install
from image_preprocess import *
# input shape
width, height, depth = 100, 100, 3
def get_class_and_confidence(img, model):
# test_dat... | 954905ebbdaa6e167d4cb33864ac96a357488912 | [
"Markdown",
"Python",
"Text"
] | 9 | Python | ivanwhaf/Food-Recognition-System | f4823bdbcbd8afd639b3bd63332ce5f28b3f1566 | 4c9610f5f37b6dd78743f0e1be684a22acbe51c7 |
refs/heads/master | <repo_name>Strangemother/project-conceptnet-graphing<file_sep>/docs/writes/division-of-work.md
# Conceptual Division
[Concept] 30/06/2018
The curret space addressing doesn't function accurately. The strictly procedural
inspection through a number of graphs doesn't populate a _concept_ in an easy-to-address objec... | 99986c5471051806f9bd66f35d1a52dd497df52b | [
"Markdown",
"Python",
"JavaScript",
"Text"
] | 110 | Markdown | Strangemother/project-conceptnet-graphing | 3fd1b3188088090c71c95b1a660770482123ce22 | 00b1ca87718efc5342ff47d7355e352b3efcf5b1 |
refs/heads/master | <repo_name>ferbrett/Jukebox_App<file_sep>/src/studentPlaylists/TestStudent1_Playlist.java
package studentPlaylists;
import playlist.PlayableSong;
import playlist.Song;
import artist.*;
import java.util.ArrayList;
import java.util.LinkedList;
public class TestStudent1_Playlist {
public LinkedList<PlayableS... | fc6c734d263af9ccffe0789071b7569fde683772 | [
"Java"
] | 8 | Java | ferbrett/Jukebox_App | 064f40f62a521a4354642157b425a8eaccd8752e | f4c375d2f55d8699a86b81f4f397a6d739739b1b |
refs/heads/master | <repo_name>Symbelmene/cnn<file_sep>/cnn_image.py
# -*- coding: utf-8 -*-
"""
Created on Sat Feb 1 18:55:54 2020
@author: chris
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# Import TensorFlow modules
import tensorflow as tf
from tensorflow import keras
# Import numerical m... | 8b0c18530c30d895faa818da04718df6298bc676 | [
"Python"
] | 2 | Python | Symbelmene/cnn | 8fbe4a46bb5b2d879cfc600b9670eecaf3de6b5b | ea5019b1569be5b335fdceee3a19fe9a774d2ec7 |
refs/heads/master | <repo_name>DannyQuishpe1994/ProyectoSistemasMecanica<file_sep>/PROYECTO/login.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="sty... | a85a8e4131091bdf702aa9fce451eb9a546774e6 | [
"SQL",
"PHP"
] | 6 | PHP | DannyQuishpe1994/ProyectoSistemasMecanica | 81cd6238c33d6cf4efc5bdeb5be3a2b721d0279c | 86d368d887c000683a2bdfa39bfdb7522cfe7ae7 |
refs/heads/master | <file_sep>package com.ryz2593.orm;
import com.ryz2593.orm.dao.UserDAO;
import com.ryz2593.orm.dao.impl.UserDAOImpl;
import com.ryz2593.orm.domain.User;
import java.util.Date;
/**
* Hello world!
*/
public class App {
public static void main(String[] args) {
//创建用户对象
User user = new User();
... | b2c99b62193e038ae46d55115aeb25d8a83c8739 | [
"Markdown",
"Java",
"INI"
] | 7 | Java | ryz2593/orm-platform | 6a049e4f6c78dd21ec1aeb2267cbfdee33b25fe0 | b0c6f2c6770b42253976bdb165f39c974cd862cd |
refs/heads/master | <file_sep>resize();
function load() {
var myVar = setTimeout(() => {
document.getElementById("gallery").style.display = "flex";
}, 100);
}
function resize() {
var imgs = document.getElementsByTagName("img");
for (var i = 0; i < imgs.length; i++) {
if (imgs[i].width / imgs[i].height > 1) {
imgs[i... | 04ce3bb2fb577508ba8a6e0054d118a4b5df140f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | rohithVR101/Gallery | 6093c45590f9c099a9364ccf77b21d576e82fecd | cb75adf0e10bf67d4edf89c2821f7612be7a34ca |
refs/heads/master | <repo_name>TheRatG/BranchingBundle<file_sep>/TheRatBranchingBundle.php
<?php
namespace TheRat\BranchingBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use TheRat\BranchingBundle\DependencyInjection\Compiler\SwitchDbNameCompiler;
class TheRatBranchin... | c2bfc0fb24d70a50f27a177826b1d92136fec108 | [
"Markdown",
"PHP"
] | 8 | PHP | TheRatG/BranchingBundle | c27390ae1e139624e71fa757a9dbdf44fd44d4cb | 353480366fc71cac6effedfbe3b822faf6f1fdbc |
refs/heads/master | <file_sep>***Julius / Feb 01, 2018***
# Hi-Lo-Game-Project
## Game Description
The premise of the High or Low as you might have guessed already is to guess whether the next card is higher or lower than the last one dealt. That's basically it!. I will do my best to make this game exciting by adding on some dynamics like... | 0033d434fb8a3b2a270f953649a72b4a1c2e5619 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | juliusregalado/Hi-Lo-Game-Project | 78efac188cec04b27a670e3284b294210455cdfa | c63599d1afc4033b459cd94f4eb3de9fe1991d33 |
refs/heads/master | <file_sep>import os
from bottle import Bottle, request, template, route
from pathlib import Path
from socket import gethostname, gethostbyname
ip_all = {}
def index_page():
global ip_all
device_ip = request.headers.get("X-Forwarded-For","127.0.0.1")
if device_ip in ip_all:
ip_all[device_ip... | e4b08d574ac608e029bfde2889db40396f822705 | [
"Markdown",
"Python"
] | 3 | Python | ituitis-camlibel18/ituitis-camlibel18 | 00d57221cd72663c61dd83df27e66edad5eec930 | 6f542a9c27e819444be9898b43abf493342e66ee |
refs/heads/master | <repo_name>insomniaccat/neocisChallenge<file_sep>/Part01/widget.cpp
#include "widget.h"
#include "ui_widget.h"
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget)
{
ui->setupUi(this);
this->setFixedSize(420,500);
this->setMouseTracking(true);
}
Widget::~Widget()
{
... | 88285469eec9adf27d595592af8a19aca9088498 | [
"Markdown",
"C++"
] | 7 | C++ | insomniaccat/neocisChallenge | 6b2084fb5fb1b9047c2836b320bff464b4ada4aa | e6f70fbbca0d92ed6cee551cfdd03b75a6eea429 |
refs/heads/master | <repo_name>hyperfabrics/hyperfabrics-web<file_sep>/store/index.js
import Vuex from 'vuex'
import Cookie from 'js-cookie'
const createStore = () => {
return new Vuex.Store({
state: {
cacheVersion: '',
settings: {
header: [],
footer: []
},
form: {
email: '',
... | f88a68366545805298ee90b0aef287847f5b2e98 | [
"JavaScript"
] | 2 | JavaScript | hyperfabrics/hyperfabrics-web | faabeede08d19369aed1e37cda8aff4806073f3d | 2c596036c66995a1fa3cdff95d0575272521d900 |
refs/heads/main | <repo_name>irvanswan/DinamycPrograming<file_sep>/JadwalKuliah.js
const Dynamic = require('./Dynamic');
class JadwalKuliah extends Dynamic{
getChange(n = 0) {
console.log(this.data)
if(this.cache[n] !== undefined) {
return this.cache[n];
}
let data = this.data
let result... | 22f0e6cbb4f60766f55651dda4bfb6efda4785f6 | [
"JavaScript"
] | 1 | JavaScript | irvanswan/DinamycPrograming | ae2f7c86063a4947f4451782d3102cfa8af4660d | 11721c381692573e42b7fc94215fa6397c8ab83c |
refs/heads/master | <repo_name>Ironteen/mypro<file_sep>/MLP.py
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("MNIST_data/",one_hot = True)
in_units = 784
h1_units = 300
with tf.name_scope("input"):
x = tf.placeholder(tf.float32,[None,in_units])
y_= tf.placeholder(t... | b3498b3f14cca759bb3fdde72062c9368b67f660 | [
"Python"
] | 2 | Python | Ironteen/mypro | 0a45e4f394598e72d7ae6bc231c268619d5dd684 | 17b2d9e5e40d301ff3e4bc152c8e64e365847a4e |
refs/heads/master | <file_sep>import java.awt.*;
import java.applet.*;
import javax.swing.*;
/*Welcome to MineSweeper!
*You need to click on a tile in 5 seconds
*Find all the mines before you step on a mine to win the game!
*/
public class MSV4 extends Applet implements Runnable {
//Needed for multi-threading and animations that use... | 9c95c3f4f32944962867f2817108300e3ba48072 | [
"Markdown",
"Java"
] | 2 | Java | realevanlee/speedy-minesweeper | 8873c7b9494658c822c796feda6efe7a88c02dd2 | 32025c4a038e3d6ed60963ca2a8b1c2961b8d581 |
refs/heads/main | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use App\Models\Post;
use App\Models\Image;
class PostController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
... | 9346ffda8e1c4c893aec1cc6a13001b1132c3239 | [
"PHP"
] | 3 | PHP | rabbi54/Image-Stock | 417db14f57a2b0e28c80909e250e9ce23ed604e0 | f997930b9a03abcc535459c8da06d185c09f5fcd |
refs/heads/master | <repo_name>saternius/Arbitrio<file_sep>/Arbit/Runnable/src/BoxLink.java
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
public class BoxLink {
Scene _root;
Image pane = Images.boxLink;
Fonts font = new Fonts();
String t... | 3fbf4261080e70d04f246ffcd994654e5bc2b1ed | [
"Java"
] | 14 | Java | saternius/Arbitrio | 2ab0e40a1b8aa8f2596d12b93b7210eb9bd05ee0 | aa14ebacc493d72ffbe860b012395d4714bbe471 |
refs/heads/master | <file_sep># REFERENCE
### Design References
[Comments on Foreclosed](http://commentsonforeclosed.com/)

[Architecture Workroom](http://www.architectureworkroom.eu/en/)

{
root=NULL;
begi... | 997289621a3cb4ebfb9eaa066f5e80440a416cb5 | [
"Markdown",
"C++"
] | 2 | C++ | Misha-Mody/GUESSING-GAME- | b829fee778b109625ea44bae10a079533e379dda | 604feeef98f52021faffeae8a755d9d1ce8f4d14 |
refs/heads/master | <file_sep># Weather-App-Tkinter
This is a simple GUI Weather App with python Tkinter
<file_sep>import tkinter as tk
from tkinter import *
from PIL import ImageTk, Image
import requests
HEIGHT = 600
WIDTH = 600
def format_weather(weather):
try:
name = weather['name']
desc = weather['weather'][0]['d... | c6d8ff515a5719f619d4c412cd7d26760f6fea93 | [
"Markdown",
"Python"
] | 2 | Markdown | RasoulXR10/Weather-App-Tkinter | 34fa79cd1743e8d0230775553c072fca979b5c27 | 20d49c2faddff5ba9e8096b3da77ab31ce0df378 |
refs/heads/master | <repo_name>Dreamy26/popschools.org<file_sep>/src/components/Home.js
import React from "react";
import Navbar from "./Navbar";
import "../css/tailwind.css";
import "../App.css";
// import 'bulma/css/bulma.css'
import homeimg from "../image/home.png";
import { AnimatedOnScroll } from "react-animated-css-onscroll";
import... | 0f84270ce156e889e83fcc48501836d79501d8d7 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Dreamy26/popschools.org | c46b9016113516fa6d9aea07c73d2561ca142c6b | aa026ccebd9fe81660ca8c55e94339608297ffdf |
refs/heads/master | <repo_name>srtsignin/config<file_sep>/configure.sh
kubectl apply -f admin-user-cluster-role-binding.yaml
kubectl apply -f admin-user-service-account.yaml
helm init --service-account=admin-user
helm repo add rook-beta https://charts.rook.io/beta
helm repo update
helm install --name cert-manager --namespace kube-system s... | d25dbbd0b6751fbcf8653db8bc134228a1015e23 | [
"Shell"
] | 1 | Shell | srtsignin/config | 54d5b865d2dad52786c62ad9d92b330f5206a0a1 | fb68b77e44f649e8cd208b319b7966cd673fd43f |
refs/heads/master | <file_sep>package competicao;
import robo.Robo;
public class Competidor {
private String nome;
private robo.Robo roboDoCompetidor;
private String relatorio = "";
public Competidor(String nome, Robo robo) {
this.nome = nome;
roboDoCompetidor = robo;
relatorio = nome + "\nRobo: " + roboDoCompetidor.getNom... | b8f28c3ee6692216775ec8fabf7a1081a03a1699 | [
"Java"
] | 4 | Java | evandro-crr/t2-INE5402 | c393dd917c0a45e0ab46bd61c082a4c4e04541b4 | dc40dee0a551b4c081efc0a0579b1ff21d238653 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dictionary;
/**
*
* @author Administrator
*/
public class DictionayApp extends javax.swing.JFrame {
/**
... | a74bc141ecbe763bc638d50743157c7524268522 | [
"Java"
] | 1 | Java | buidangthutra/BTL | bb663456f97e3222ecc5c83dea689f28176559c8 | 964c4f292fd0a183e3f470de345bd5a5ac754f60 |
refs/heads/master | <repo_name>AleksandrBoguckiy/01-first-project<file_sep>/src/redux/dialogs-reducer.js
const SEND_MESSAGE = 'SEND-MESSAGE';
const UPDATE_SEND_MESSAGE_TEXT = 'UPDATE-SEND-MESSAGE-TEXT';
let initialState = {
dialogs: [
{id: '1', name: 'Oleg'},
{id: '2', name: 'Egor'},
{id: '3', name: 'Mariya'},... | af8cea53aea01b6faabbfccc0984865926fe8c62 | [
"JavaScript"
] | 8 | JavaScript | AleksandrBoguckiy/01-first-project | ee2b72d5d5a3e85484e0bcb834e6605e60a4073a | 890ce9701134fc6943771787952b8bbdcc56374e |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace MyKnockoutTest.APIControlllers
{
[RoutePrefix("api")]
public class AdventureWorks : ApiController
{
}
}<file_sep>function MyGridViewModel() {
... | 528c8b5e455cc8a230bf9af9fea857118520cb14 | [
"JavaScript",
"C#"
] | 4 | C# | jgelinas33/MyKnockoutTesting | 16204112e7d4ad375013dfdfd78d5e79938329c2 | e74f9a53c4e0ef34a574e02d91e84e82fbc3d04a |
refs/heads/master | <repo_name>robinske/flask-app<file_sep>/app_config.py
import logging
import os
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
TIMEZONE = 'America/Los_Angeles'
# Number of times a password is hashed
BCRYPT_LOG_ROUNDS = 12
# Configuration of a Gmail account for sending mails
MAIL_SERVER = 'smtp.gmail.com'
MAIL... | dd69c261e092517c3599fde6c8e88446024dc435 | [
"Python",
"Shell"
] | 6 | Python | robinske/flask-app | fc60cf7dce27273559ac97262d9ce8c025fc1923 | 54a863e0e49075316e119046f7ade775dc5ed0d3 |
refs/heads/main | <repo_name>shawn83924/NetworkTest<file_sep>/Assets/Scripts/Udp/480P/UdpSender480p.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using UnityEngine;
public class UdpSender480p... | 0643bdb03af9459d0b60870b5621006ba1f9ac81 | [
"Markdown",
"C#"
] | 7 | C# | shawn83924/NetworkTest | fa575c0affe225b6c1bfeb3ea9e3c6471a42782b | 88dcb382c56ad3690355460a389ae8d7ffed35cc |
refs/heads/master | <file_sep>import Vue from "vue";
import { VueEmotion } from "@egoist/vue-emotion";
Vue.use(VueEmotion);
<file_sep>import { IMainTheme } from "@/theme/theme";
import { styled } from "@egoist/vue-emotion";
export const OkButton = styled("span")`
transition: all 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
backg... | c095ba7519942d06d0151557a0c3dfe2b86e87d3 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 18 | TypeScript | eadwinCode/vue-component-convrrt | 9fb6224ec0a4df2b0c0744c9904d3fa350adc89b | 558de441e5e093c5ac58115a5ee571c16e45d873 |
refs/heads/master | <repo_name>ircrelay/ircrelay-www-redirect<file_sep>/app.py
import os
from flask import Flask, redirect
app = Flask(__name__)
@app.route("/")
def hello():
return redirect('http://www.ircrelay.com')
@app.route("/<slug>")
def catch_all(slug):
return redirect('http://www.ircrelay.com/%s' % slug)
if __name__ =... | 7a9f1c1d1fc272a92c355428dfbda0ae376c8962 | [
"Python"
] | 1 | Python | ircrelay/ircrelay-www-redirect | f84eb6237f6246e00539916cf2e239b363707b25 | 473498def8fc1b56b9448205b1cad216c7bdc912 |
refs/heads/master | <file_sep>import styled from 'styled-components/native';
// Hieronder pas je de MainContainer aan. Dit is de basis container van Tab1.js, Tab2.js en Tab3.js
// Probeer maar eens de background-color aan te passen,
// zie je dat de achtergrond van alle pagina's wordt aangepast?
export const MainContainer = styled.View`... | de5108cd8afc0f68718f243a12f14194059d9ad3 | [
"JavaScript"
] | 6 | JavaScript | Samy-F/oefeningen-les-5 | faac4d7d2cc2ea58da912752c6799efe5a61c0d6 | 0a5c67a6d6bb128ce69510269c6d70c413b92f79 |
refs/heads/master | <file_sep>#define BLYNK_USE_DIRECT_CONNECT
#include <BlynkSimpleSerialBLE.h>
char auth[] = "<KEY>";
BlynkTimer timer;
int setMin,setMax ;
BLYNK_WRITE(V1){
setMin = param.asInt(); // membaca variabel V1
}
BLYNK_WRITE(V2){
setMax = param.asInt(); // membaca variabel V2
}
void updateSuhu(){
unsigned long temptot = ... | fa67aa5095f991844466d9e7512cfdb8b24393cd | [
"C++"
] | 2 | C++ | anung-git/proyek | 00b3547f57835ffba32f532f2b277bb18ef64a56 | 2e15747f8653a5ae4ce414ee7081d1d5b908dbb1 |
refs/heads/master | <repo_name>aaronferrucci/santacruzvoting<file_sep>/main.R
library(ggplot2)
library(sp)
library(rgdal)
library(rgeos)
data <- readOGR(dsn="./original", layer="Precincts")
data@data$id <- rownames(data@data)
dataPoints <- fortify(data, region="id")
dataDF <- merge(dataPoints, data@data, by="id")
dataDF$Precinct <- as.in... | 26ba61ff6de29a0dcc8f0943662f056d80c090b6 | [
"Markdown",
"R"
] | 3 | R | aaronferrucci/santacruzvoting | a7c0bc5b26873f6c742b661cff6514e159530740 | bc36b6024d80d57a32e2be53fd73cb48901464f7 |
refs/heads/master | <file_sep>package com.example.hp.project;
import android.content.Intent;
import android.graphics.Bitmap;
import android.provider.MediaStore;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
impo... | 919dfd6ed72c73c168524798c9d948da8a531d51 | [
"Markdown",
"Java"
] | 4 | Java | ashishjain5665/android_app | 0b5a366e484b3bd9d120ae8d08130372095a3d79 | 74edad45ab501705ef8c3efee1e9ddffcde755d4 |
refs/heads/master | <repo_name>linmingeng/Xfzs.marketing.app<file_sep>/src/services/fetch.js
import { CALL_API } from 'redux-api-middleware'
import { normalize } from 'normalizr'
import fetch from 'isomorphic-fetch'
import auth from './auth'
export const DEFAULT_FAILURE = 'FAILURE'
export const LOADING = 'LOADING'
export const CLEART_ERR... | 0d5bf48382b25ce60241c71ca445d57e72256706 | [
"JavaScript"
] | 52 | JavaScript | linmingeng/Xfzs.marketing.app | a47d4b06f6ac976b1172d6c5a01f84428e6f4f61 | ca512158acae92c76defcbc416fd53f2dc37081b |
refs/heads/master | <file_sep><?php
/**
* Created by PhpStorm.
* User: root
* Date: 1/09/16
* Time: 2:17 PM
*/
include_once 'config/Database.php';
$coucou = new Database();
$coucou->getGlobals();
<file_sep>#Products Manager v2
##What's this ?
Single page product manager built with __PHP7__, __MySQL__, __JQuery__, __AngularJS 1.5.8... | 1a7e9635ccd0837084509b3645b40eca095d4ef7 | [
"Markdown",
"JavaScript",
"PHP"
] | 10 | PHP | g0ttferd0m/productManagerAngular | 3e5baf6668a938fe5651664f9274414c3132aa89 | 296446fa54e42367b72bb5595e7c5dc517489452 |
refs/heads/master | <file_sep><?php
$UserName = $_POST['name'];
$Email = $_POST['email'];
$Phone = $_POST['phone'];
$Subject = $_POST['subject'];
$Msg = $_POST['message'];
if(!empty($UserName) || !empty($Email) || !empty($Subject) || !empty($Msg))
{
$to = '<EMAIL>';
$Headers = 'Wiad... | 91488137f92de71da7747bc1e41b31a5b2d824d5 | [
"JavaScript",
"Markdown",
"PHP"
] | 3 | PHP | andymtv/wildsobol | 151353a0b206ebbf3a61eb9307115a033e7423ee | b04e875ffe8ee87c96a86572ef71183a51fd75b0 |
refs/heads/master | <repo_name>muttushingadi/programming<file_sep>/06:pattern_of_1_323.rb
###Print the following pattern
# 1
# 323
# 54345
# 7654567
# 987656789
##########################
class Patount
for line in 1..5
for s in 1..5-line
print " "
end
k=(2*line)-1
for i in 1..line
print k
k=k-1
end
f... | 2de612f83474d1e96b440990073e40324c5fe7f6 | [
"Ruby"
] | 29 | Ruby | muttushingadi/programming | 004b145a3d7a68dc0330467b8740555bab7306d8 | 395045287266dacc31c2d6d04ed018445ef500fd |
refs/heads/master | <repo_name>crysdelima/ys-challenge<file_sep>/survey-front/test/integrated/containers/SurveyScreen.test.js
import { mount } from 'enzyme';
import toJson from 'enzyme-to-json';
import { Provider } from 'react-redux'
import service from '../../../src/service/SurveyService';
import startStore from '../../../src/redux/index... | 281c4a4ba01b815965a90993174cfdf11177d094 | [
"JavaScript",
"Markdown"
] | 18 | JavaScript | crysdelima/ys-challenge | f1222021717c2c0250b95d72c4691f768b8095fa | 6778d5df0fec2be6d5d6fa1dd72a9d0dfe4b1a18 |
refs/heads/master | <file_sep>import sys
sys.setrecursionlimit(10000)
class Colors:
''' Doc '''
END = '\33[0m'
BOLD = '\33[1m'
ITALIC = '\33[3m'
BLACK = '\33[30m'
RED = '\33[31m'
GREEN = '\33[32m'
YELLOW = '\33[33m'
BLUE = '\33[34m'
VIOLET = '\33[35m'
BEIGE = '\33[... | 508a7d99bf1227a4cedfb4dd8a4679a56fc4d82e | [
"Python"
] | 1 | Python | brianou7/ackermann | 9f7dca21fccd1eb74c532c4afde7bc0c4a487ce0 | 090b37d3fc3e78f0da9964db2b62cea464b9780e |
refs/heads/master | <repo_name>sastorsl/net-test<file_sep>/README.md
# Net Test
Monitors network connectivity for downtime.
# Table Of Contents
- [Overview](#overview)
- [Output](#output)
- [Sites](#sites)
- [Test Results](#test-results)
- [Usage](#usage)
- [Net Test](#net-test)
- [Filter](#filter)
- [Analyse](#analyse)
# Overview
... | ff0ccbe97541e285c0514e8dbacf2138909b203b | [
"Markdown",
"C",
"Makefile",
"Shell"
] | 5 | Markdown | sastorsl/net-test | d9dc3c6b4e533c25da4e1c13e5edbac0672ddaf4 | fe70e54b175a77619aa22d0554d94216ff123536 |
refs/heads/master | <repo_name>mikehodgson/plexopt<file_sep>/README.md
# plexopt
## What is it?
plexopt is a quick and dirty script I wrote to optimize videos for direct play using Plex.
## Usage
Modify the variables at the top of the script, as neccessary, then:
python plexopt.py <input filename> <output directory><file_sep>/ple... | ea10d35a133be93f13f713285aeda6cb3a7d42b5 | [
"Markdown",
"Python"
] | 2 | Markdown | mikehodgson/plexopt | 3ed9a0d8f9a8c69576faa7e1ac2bd6c5dca65ea8 | ae5cf3b6d2a1dca77b2531008602542af9b77010 |
refs/heads/master | <file_sep>
var RQ = require('./rq');
var _ = require('underscore');
var path = require('path');
var appPath = path.dirname(process.mainModule.filename);
var configPath = path.join(appPath, 'config.js');
var config = require(configPath);
var readers = require('./lib/readers');
var writer = require('./lib/writer')(conf... | 7d602db72468d60780674d7baf7944c055526736 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | srwiser/mongodb-metrics | da09fae321ea8405608b3195622a834904bc4729 | 35e6e82a7558c4e01df8896133b1e31959300ba6 |
refs/heads/master | <file_sep>const team = {
_players: [
{
firstName: 'Lionel',
lastName: 'Messi',
age: 33
},
{
firstName: 'Luis',
lastName: 'Suarez',
age: 33
},
{
firstName: 'Gerard',
lastName: 'Pique',
age: 33
}
],
_games: [
{
opponent: '<NAME>',
teamPoints: 2,
opponentPoints: 2
},
{
opponent: 'Vi... | fd7116df59bbc37151407333e33db26b5310f9a2 | [
"JavaScript"
] | 1 | JavaScript | UserMe07/JS-Project-Team-Stats | 5d120d6fb17e695b4d2f3d95190ff1a59eadc737 | 4a2b9f2e0c06e89f3945d38e1dbf706abf87f076 |
refs/heads/master | <file_sep>// 1) Given an array K with N integers from 1 to N+1 such
// that the array has exactly one integer missing, write a Java
// function that returns the missing integer.
// e.g. given K = [3,5,4,1], the function should return 2
// SOLUTION 1
function missingInt(array){
array.sort()
for (let i=0; i<=ar... | 916501082bda2882ac59f9af18934a7f18b3f4a1 | [
"JavaScript"
] | 1 | JavaScript | Kalunge/assessment | 7ab323b33f541381386b1617aafbc0564e67254b | 267c76403b73b73c122808b6caf87ebd2895b37e |
refs/heads/main | <repo_name>hyeon-wooo/react-native-cardview-withtype<file_sep>/README.md
# @hyeonwoo/react-native-card-view
> `Note!!` This is the same with the 'react-native-card-view' library. This is just what i have added the index.d.ts, the type define file on exsting that. note it. JUST WITH TYPE.
[{
echo 'nameErr';
}elseif($p1 == ''){
echo 'p1Err';
}
elseif (... | 0bf6dcc7cd30123e9d223db4bd69e69815dcd77e | [
"PHP"
] | 2 | PHP | txoyp/php | 0d2e6856ac77ae759d7192155a02e80733716169 | bf85791a54a320d3cb44a91495fe78b9e5842e94 |
refs/heads/master | <repo_name>JohnDMasterson/cubemmo<file_sep>/README.md
# cubemmo
This is a webGL demo I made for sig-soft. It has an online version running at http://cubemmo.herokuapp.com
For the app to work properly, there must be multiple users on the site (or multiple browser tabs)
Controls:
W/S/A/D for moving forward/backward/left... | 30bcadd46509651cda079b4dda7f845e66300a0d | [
"Markdown",
"JavaScript"
] | 2 | Markdown | JohnDMasterson/cubemmo | a1ba1c2b3f62677a9224cebd59f2e9cc13ea55b1 | 9c79110b0ee69a04253eb0052097f1873872935a |
refs/heads/master | <repo_name>Iemnur/LBEE-Decropper<file_sep>/SharedInc.h
// Version 1.0 - Initial release
// Version 1.1 - Added fix for CGs which have cropped decals
// Version 1.2 - Added fix for heartbeat effect which occurs on a few CGs
#define VERSION 1.2
// MS says Win7 supports D3D11_1. But, after trying this, it appears th... | f17833b4b8e1abce87164b90c042d05b819011f4 | [
"C",
"Text",
"C++"
] | 3 | C | Iemnur/LBEE-Decropper | a16bf7d1a51127b4a89249affae67bb3f3737514 | 8b63aef4791ae7157573b2de588dee5a3416fc72 |
refs/heads/master | <repo_name>WISEPLAT/Scratch-3.9-on-Linux<file_sep>/README.md
# Scratch-3.9-on-Linux
Hello! This is repository for my students who use Linux for ther study in programming. This script allow to install Scratch 3.9 on Ubuntu 20.04 in one click :)
How to use it to install Scratch on Ubuntu (Linux):
1) If you want to ge... | aee4066b745285f67bbe6d878f2cc0b59d418b17 | [
"Markdown",
"Shell"
] | 2 | Markdown | WISEPLAT/Scratch-3.9-on-Linux | 35feee88831e8f904f789577a037199103f49722 | be5960c04f8b2b1be3e7e9375222f5ad3e900b2b |
refs/heads/master | <file_sep># 2021-06-29
Features:
* Retries of internal requests
* Add `includeTags` to input
* Pagination
* Linting and refactoring
Bug fix:
* Remove patterns from input as they are considered required
# 2021-06-25
Features:
* Added CHANGELOG
* Update SDK to 1.2.1
* Added photos and username to reviews
* Added curr... | 608cd3cc613ac3d37aa4db0de5c3af5c45db1ed0 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | christopherdoughty/tripadvisor-scraper | 328ad2b5037ab8f77d858499947b9a8c575007dc | 7a465dcf42c055289a4c783b9f0eee65e7a55ad0 |
refs/heads/master | <file_sep># Screenshotter

#### Package for taking gameplay screenshots in the Unity Editor across all three pipeline types.
Screenshotter is a simple Camera controller plug-in for Unity that is designed to make the process of... | 3ab3d2e262049f884b8b8186804fdb58e9fcb678 | [
"Markdown",
"C#"
] | 5 | Markdown | eclipseanu/screenshotter | aeccca898ca1bcfe858ef7923b93cfacb399f91c | 406ac55a48e7becedfe836c476a406d3b433e83c |
refs/heads/main | <repo_name>cricol-marina/task-manager-core<file_sep>/src/main/java/com/stefanini/taskmanager/messagesender/MessageReceiver.java
package com.stefanini.taskmanager.messagesender;
public interface MessageReceiver {
/**
* This method is used print received message
* @param message
*/
void receive(Message message);... | efe72d044c46373628cc3ccaf4e2141d7e8c2960 | [
"Markdown",
"Java",
"Maven POM"
] | 14 | Java | cricol-marina/task-manager-core | b4e13f733b9f4e9e8502cb720da88d899ea3842f | 07846dde3943a0dd6d530cdfe400ebbbfe65f737 |
refs/heads/master | <file_sep>class Customer:
''' This program devloped by <NAME>'''
bankname = "SOUMYA BANK"
def __init__(self,name,balance=0.0):
self.name = name
self.balance = balance
def deposite(self,amount):
self.balance = self.balance+amount
print("After deposite the amount is:",... | 6a48019e088a221534f8d9bc1b254c31022b2faf | [
"Python"
] | 1 | Python | soumya4073/24th-Jun-devops | e54cc788da5886f85cbc56273d811e498ff699a2 | af19e7b568ea1038e46a2a7c3d447d20f782a707 |
refs/heads/master | <file_sep>package robin.example.com.sudoku;
import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class Grille extends AppCompatActivity {
... | 3e3bb4dec5e05205bdf7a0f5c73a5dcbb10621b5 | [
"Java"
] | 2 | Java | RobiNoob/Sudoku_Cesi | 3242e441465d3eab79051e40eb7b2ab218bdd6d0 | e3a8ff3f5f70b7e735fd8d74736a8eeaaad96d8a |
refs/heads/master | <repo_name>Ewertonn/SITA2<file_sep>/registro/migrations/0006_auto_20180604_2137.py
# Generated by Django 2.0.5 on 2018-06-05 00:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('registro', '0005_auto_20180527_1057'),
]
operations = [
m... | ea18d043c5338a9d893ecdf0fb29e9df9c83dc11 | [
"Python"
] | 22 | Python | Ewertonn/SITA2 | a6899f9eb8e6d1fbc3a8b1f95c706894bb07e1c6 | 5dc76a5b8d2d4f6ca6e12e4ae6941735ef68f80f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.