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>swelty2/TipCalculator<file_sep>/TipCalculator/ViewController.swift
//
// ViewController.swift
// TipCalculator
//
// Created by Sarah on 9/11/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var billValue: UITextField!
... | a5ad32a3b2f53718b15cde9c7ed7b1a8747a6e11 | [
"Swift"
] | 1 | Swift | swelty2/TipCalculator | 74ccb0efb49639c0ecbc49839eed64e6e0d3a7e6 | 288590bdd1cf8f7c7b1ef8c54047c80b1a2200b8 |
refs/heads/master | <file_sep>using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
public class GameSettingsEditor : EditorWindow
{
public enum SettingsType
{
Player,
Weapon
}
private SettingsType settingsType;
private float ... | 29db94be62c9b72089deb297c6947159a4047d64 | [
"C#"
] | 11 | C# | MemphisNyasha/ShooterProject | a695933b9176fc0c1c73300ebf5c80f348d5934f | c0218a4d09f6c24f0df7ab2d9368ec8b11de4015 |
refs/heads/master | <file_sep>import java.io.File;
public class Test {
public Test() {
Runtime r = Runtime.getRuntime();
try {
File moduleFile = new File
(Test.class.getProtectionDomain()
.getCodeSource().getLocation().toURI());
String dir = System.getProperty("user.dir");
r.exec("cmd.exe /c cd "+dir+" & s... | 0ff54e64f3c10e958425ea40acea2d655ca4e146 | [
"Markdown",
"Java"
] | 2 | Java | bluejack13/ab-jar-generator | 5a8bceed7e3dc8a1cbc7379a71a6aa796fa03ef7 | 7eeb01f78cc98c5db14c0ec6962eb0ce5d412296 |
refs/heads/master | <file_sep>package com.rabbitmq.fanout;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ju... | 43380fdaf52b55c1ce6650c004b0e29bc9fa8fe0 | [
"Java"
] | 2 | Java | XiaoXiongPotter/RabbitMQ | 4d4ed746bc30e66dd040a9f44d59beaee839c067 | 78d2784d3350771576d0f737b9414f614863eac8 |
refs/heads/main | <file_sep>package com.myjava;
public class EmployeeAttendence {
public static void main(String[] args) {
System.out.println("Welcome to Employee Wage Computation");
int wagPerHrs = 20;
int workingHours;
int totalWorkingHours = 0;
int totalDays = 0;
int counterForPresentFullTime=0;
int counte... | a7aa2f84277d479bb4a7f9aee873fb611666d43d | [
"Java"
] | 1 | Java | shaileshdubeyr/Employee | fe08d0873bbc053d45c41ca5ce5a9cfa73c23cd1 | be93ef87d06ebbef57ccf47d1a9dc97c36b15d25 |
refs/heads/master | <repo_name>mmaci/vutbr-fit-bio-cgp-image-filters<file_sep>/src/main.cpp
#include <iostream>
#include "cgp.cuh"
int main(int32 argc, char** argv)
{
std::string filename, refFilename, methodname, kerneltype;
// default values are set here
imcgp::FitnessMethod method = imcgp::MDPP;
uint32 numRuns = 1,... | 99affd9b600605935fd591ad5281cab2eaf64c18 | [
"Markdown",
"CMake",
"C++"
] | 4 | C++ | mmaci/vutbr-fit-bio-cgp-image-filters | e40b2f66d40f1f1e9eec2e7ae85297dd64a8ae2e | 90827313b184be3cd1cf652c0c7af625ff57d591 |
refs/heads/master | <repo_name>QuasiData/PongMultiplayer<file_sep>/game.py
import socket
import math
import threading
from network_utils import update_game, send_paddle, send_ball
from colorama import Fore, init
import pygame as pg
init()
class Game:
"""
A game object. Handles all logic for the game
"""
def __init__(sel... | 48cfdb75475b219f1ff72e58019091ea4ba10e8b | [
"Markdown",
"Python"
] | 5 | Python | QuasiData/PongMultiplayer | 8478c8c42d68ea1c5513451cd3226490aa2d1836 | e6e6c19840cff529d3a57e6a3da0533e165a4be0 |
refs/heads/master | <repo_name>CullynMillar/Kubernetes_Basics<file_sep>/README.md
# LearnKubernetes
This project is run through setting up Kubernetes with a basic Docker image running a node js web application. This will include the following:
* Vagrant script for spinning up a development environment including a docker install
* Dockerfi... | 322b7cbcac5cb8c1cba742a409316cecc3c3c7ae | [
"Markdown",
"Ruby",
"Shell"
] | 3 | Markdown | CullynMillar/Kubernetes_Basics | 22ece402a3e02c77ec7c5dbd552c6740cd6f7d3b | 772b9eb7718a557e40f3073f6b73b9b7ad6e578e |
refs/heads/master | <file_sep><?php
$welcomeheading=null;
$debuggingloginlink=null;
$signuplink=null;
if($user=="customer"){
$welcomeheading="Customer Login";
$debuggingloginlink="../../php/customercontent/customeroverview.php";
$signuplink="../../php/customercontent/customer-registration.php";
}
if($user=="restaurant")... | 77308c37020e053914225dc7acb740ac46f80dd4 | [
"PHP"
] | 20 | PHP | ds12rb/J3Delivery | 77e1c9b5670b1748de9a69a7653b5fad218e4714 | 6e342ae7d27dcfbedd41dd65a00858ca6e3d03f3 |
refs/heads/main | <repo_name>igorivanov0988/Notes-app<file_sep>/src/components/list/index.js
import React, { Component } from 'react';
import NoteCard from '../noteCard';
import "./styles.css";
class List extends Component {
render() {
const { notes, editNote, deleteNote } = this.props;
const cards = notes.map((no... | cb422cfa276e98a29bcf51c497745e99783471aa | [
"JavaScript"
] | 5 | JavaScript | igorivanov0988/Notes-app | a9a75a5967462c8f2f6c066e8eb751dc331e9a77 | c976bee2eebd5d461d1b746f84a6a4e139903fc7 |
refs/heads/master | <file_sep># Numerical Methods
Numerical Algorithms that solve mathematical problems in a variety of ways through the use of java code
<file_sep>public class NumericalDiff {
public static double func(double x){
return Math.log(x);
//return (6 * Math.pow(x, 2) + 2)/(2 * x);
}
public static double forwardDiff(... | 7276905e02e4ccef2c59ee51a33bc340e4c9db23 | [
"Markdown",
"Java"
] | 4 | Markdown | aRodriguez96/Numerical-Methods | 41bb0967132c6ea511ceb5cc2beb5c3fa264db6b | 65da151fc230175cd35f698e3335cd791e45571e |
refs/heads/master | <file_sep>using System.Collections;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float speed = 6f;
Vector3 movement;
Animator anim;
Rigidbody playerRB;
int floorMask;
float camRayLength = 100f;
float buffDuration;
bool isBuffed = false;
private void Awak... | ba103ed2eeec33d65b585074ef43013a29361efe | [
"Markdown",
"C#"
] | 5 | C# | tryToNotCopyMe/Survival-Shooter | a312d27f70fb2808e7d4ba605270c10d59d5d8a9 | e54bcd7d807fdbfbc02696e34e25678fd2686cf6 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class openSphereRain : MonoBehaviour
{
public GameObject door;
public activateRigidBody activateRigidBody;
// Start is called before the first frame update
void Start()
{
}
// Update i... | 51e30e43ecf2f74b591427d4f1bd903207343ef0 | [
"Markdown",
"C#"
] | 6 | C# | loupmasneri/F21GP_unity_game | f2843f6e9214d54b8f7b3bca29130c77595d701f | f852c247bbf5fb9d74eec0bfea00d9336b26295e |
refs/heads/master | <repo_name>YakovlevAl/PMIneproga<file_sep>/README.md
sends "PMI - ne proga" to every new VK conversation member
DISCLAIMER: I wrote it for myself and didn't pay enough attention to readability of the code, so attempts to understand
it can lead to serious eye injuries (sorry).<file_sep>/requirements.txt
vk==2.0.2
requ... | 779e24124d8f80fd6b9f94451f31864549ecbd4c | [
"Markdown",
"Python",
"Text"
] | 3 | Markdown | YakovlevAl/PMIneproga | b910ab300e9d4df1f0795b63356a26677e4f02e7 | b8460bb63d40898168fbbb2d9ee196a2565d6b99 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('admin_complex_filter', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='item',
... | 03458e45eb35629e74600929fc4b5b89bb9d1af5 | [
"Markdown",
"Python"
] | 9 | Python | vladiibine/django-examples | 859761e1f37f3be2bc7c2b7404a29605ad80a7a4 | 20755983a483f8a610b54aa2c9242f4d822b4727 |
refs/heads/master | <repo_name>noahgriff99/388Final<file_sep>/flask_app/__init__.py
# 3rd-party packages
from flask import Flask, render_template, request, redirect, url_for
from flask_mongoengine import MongoEngine
from flask_login import (
LoginManager,
current_user,
login_user,
logout_user,
login_required,
)
from fl... | e95365a35b4da216f2b72ef1492c92b304c080be | [
"Markdown",
"Python",
"HTML"
] | 8 | Python | noahgriff99/388Final | 4526e7df37c57253bc6bba23122b6339d8561dd1 | c60fa2641cc985a7cbbca5e98630dfa1093e56b8 |
refs/heads/master | <file_sep>package com.in.threadWait;
public class ThreadMain {
public static void main(String[] args) throws InterruptedException {
ThreadA threadA = new ThreadA();
threadA.start();
synchronized (threadA)
{
System.out.println("Main Thread calls child thread");
... | f88071dcb1713f0d6a9e8c95c0738ad5c2ee403a | [
"Java"
] | 38 | Java | SunnySupawala/programs | 9947b79576cf593af6aff128ae58bd72898b3e30 | e0af11a03724740696f4447719f55efcf3e3f9c9 |
refs/heads/master | <file_sep>⚠️ I am no longer maintaining scanless as of August 2023. ⚠️
# scanless
This is a Python command-line utility and library for using websites that can perform port scans on your behalf.
## Supported Online Port Scanners
* [ipfingerprints](http://www.ipfingerprints.com/portscan.php)
* [spiderip](https://spi... | 8046f9f507dc2be8635f1ffe2361810927014948 | [
"Markdown",
"Python"
] | 5 | Markdown | bbhunter/scanless | 3da40e9c19153563b5ef190a23405cb3c6bf1a70 | 8da3e1d644787d3d27f80ff680058c180eb330f4 |
refs/heads/master | <file_sep>function register(loginForm) {
var email = loginForm.elements['email'].value;
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function () {
// state 4 = done
if (xhttp.readyState === 4) {
if (xhttp.status === 204) {
alert("Check ya email!"... | 632c835a1d0e7860c06ec531aec5ed463c51e8a9 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | mickadoo/sheepdog | 62bd4c2bb52d6ede7f2736a80d8607676e1ed95b | eb613b0089d6afdb0e41539eb9c7be0c2280c55d |
refs/heads/master | <file_sep>'use strict'
const webpack = require('webpack')
const path = require('path')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const rootdir = path.join(__dirname, '../')
module.exports = {
mode: 'production',
entry: {
bundle: [path.join(rootdir, 'index.js')],
},
output: {
pa... | 11f0e582f561c1979db77af277bc6913d1dccdcb | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | alkalixin/chart-flow | 930c6c909a511ee31c05de4d1b0626db5cd2f7c7 | 24897840ac65ae78aebf7fbd77a2d590ccaf858a |
refs/heads/master | <repo_name>alicialsims/FSJS<file_sep>/app.js
// YOU NEED THESE TO RUN THINGS
const express = require('express');
const bodyParser = require('body-parser');
const router = require('./src/router');
const app = express();
require('./src/database');
//view engine setup
app.set('view engine', 'pug');
app.set(... | e6bf4324688b884467cd7114bc7e0f4b0b79fff1 | [
"JavaScript"
] | 2 | JavaScript | alicialsims/FSJS | 10e8d4c186001b630da90835cf2e05b5f3781db9 | f282a3567c86c6d6aee1e526242c9b7370219953 |
refs/heads/master | <file_sep>const { validationResult } = require('express-validator')
const NotesService = require('../services/notes.service')
const create = async (request, response) => {
const errors = validationResult(request)
if (!errors.isEmpty()) {
response.status(400).send({ errors: errors.array() })
}
... | 5cdb99baf9fd2372e3e4198f81befc1da5a69c9c | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | devjuliet/node-express-workshop | 1017ef61a1f82ed933e852a8cec17d8215fe51c5 | 00334b4c72fb42d58554d504c4f319fa72dbab0b |
refs/heads/master | <file_sep>BioGraPy - Biological Graphical Library in Python
=================================================
Fork that adds support to plot the tracks below an existing figure, and adds some new features to draw such as text sequence with automatic font size and highlighted text.
```python
import matplotlib
import m... | f327fa62d15b591604ae49d1dd9c883a24aceefb | [
"Markdown",
"Python"
] | 3 | Markdown | shouldsee/BioGraPy | 2b31b122767c7c7872880436cf64da8e1ebb2ba9 | 7f776e464c6a58af8a8009fba3de7b717c9483c9 |
refs/heads/master | <repo_name>kpingul/tcproject<file_sep>/serve.js
var express = require('express'),
app = express(),
port = 3000;
app.use(express.static(__dirname + '/'));
app.listen(port); | ca27d8d53d63a8c86ce0fb8bf266033a97546a7f | [
"JavaScript"
] | 1 | JavaScript | kpingul/tcproject | 95e773d0dbd8570115e10214b324f5150edac768 | 42265f78a6005dbc4a2fc2cd41e928f98da66e6e |
refs/heads/master | <file_sep># coding: utf-8
Gem::Specification.new do |spec|
spec.name = "bonsai-elasticsearch-rails"
spec.version = "0.2.0"
spec.authors = ["<NAME>", "<NAME>"]
spec.email = ["<EMAIL>", "<EMAIL>"]
spec.summary = "Integrate your elasticsearch-rails gem with Bonsai Elasticsear... | ea9e04574241c86c531b64c467fc9ea8f9ff33db | [
"Markdown",
"Ruby"
] | 2 | Ruby | mobilizeio/bonsai-elasticsearch-rails | 6833a121714c90b832d928ee3c990bfb1c4b1a20 | 02aea112235dc682deb22eec3bc9fa06903074b7 |
refs/heads/master | <repo_name>askmeegs/weatherstation<file_sep>/client.py
from cassandra.cluster import Cluster
from cassandra.policies import DCAwareRoundRobinPolicy
import sched, time
import random
from random import randint
import uuid
cities=["New York", "Baltimore", "Charlotte", "Atlanta", "Orlando", "Austin", "Los Angeles", "Sal... | 5135c825989706ed829f059f228cd5ac93dbefd3 | [
"Markdown",
"Python",
"Dockerfile"
] | 3 | Python | askmeegs/weatherstation | f91cfa99464c39a6ca11e9fdfacbd3ce192f1b85 | 6516472eb33187847a1ace5d2bd5598553662de7 |
refs/heads/master | <repo_name>chocolat2000/pik.io<file_sep>/pmailsmtp.js
'use strict';
var mongoose = require('mongoose');
var nacl = require('js-nacl').instantiate();
var simplesmtp = require('simplesmtp');
var mailparser = require('mailparser').MailParser;
//var tools = require('./pmail-tools');
var domains = ['pik.io'];
... | c532e719dbcf85cebc016fcf95afb1c0a4d48e71 | [
"JavaScript"
] | 3 | JavaScript | chocolat2000/pik.io | 8c7a824368d78bb776e734f1e1363afff5430b30 | 9f20258f0db06e3827241accab34ccf5f72cccf3 |
refs/heads/master | <file_sep>import argparse
import os
import torch
import numpy as np
import cv2
import matplotlib.pyplot as plt
from typing import Tuple
import yaml
from fast_segmentation.core.consts import STANDARD_CROP_SIZE
from fast_segmentation.model_components.data_cv2 import TransformationVal
from fast_segmentation.model_compon... | 7e95834849e52e06be52225dc0c352a0374fb582 | [
"Markdown",
"Python",
"Text"
] | 14 | Python | eilonshi/fast-segmentation | bf9168fafa181ff4eac1d1eba0b0f8a06f5daae1 | d7519228407d680e46d9b9e0970b78b45c6b4636 |
refs/heads/master | <file_sep>angular.module(
'ecp-contactapp',
[
'ecp-contactapp.services.preferences',
'ecp-contactapp.services.http',
'ecp-contactapp.services.offline',
'ecp-contactapp.services.backend',
'ecp-contactapp.services.authentication',
'ecp-contactapp.controllers.contacts',
'ecp-contactapp.... | 98279ba79a2ce7e6c8ccea1e6b2c15aa3d11380b | [
"JSON",
"JavaScript",
"Markdown",
"Maven POM",
"AsciiDoc",
"INI",
"Java",
"Dockerfile",
"Shell"
] | 45 | JavaScript | incodehq/contactapp | 8d2414bdaf0ba0a69bd53d3082b51ce47b35642b | 3ad776f8d162257b98e7720d8c86229ae132e592 |
refs/heads/master | <file_sep># angular-9z4ajd
[Edit on StackBlitz ⚡️](https://stackblitz.com/edit/angular-9z4ajd)<file_sep>import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, ParamMap } from '@angular/router';
import { map } from 'rxjs/operators';
@Component({
selector: 'app-profile',
templateUrl: './p... | bf2a26c6744997b6a4806859c19c26e1b59c9837 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | ravirathor/angular-9z4ajd | f88329fc3ced839973d4d171e4dc8503d97bc518 | 7dfce20d04edfb8f84f59ac048c18f0e63bc8fb0 |
refs/heads/master | <file_sep>#include <signal.h>
#include <unistd.h>
#include "mraa.hpp"
bool running = true;
bool relay_state = false;
int last_touch;
void sig_handler(int signo)
{
if (signo == SIGINT)
running = false;
}
int main(int argc, char* argv[])
{
mraa::Gpio* touch_gpio = new mraa::Gpio(492);
... | 2c721b77c463f9080a249b205f9c6fa39edd9e50 | [
"C++"
] | 1 | C++ | sophie-haynes/Starter_Kit_for_96Boards | 51772a5484bcaed4d21004300a6102f1deb3fd6b | 6a1a781659be5586d27aac42658c363bcfee5a42 |
refs/heads/master | <file_sep>package co.edkim.seniorcitizen;
import android.app.Activity;
import android.location.Address;
import android.location.Geocoder;
import android.net.Uri;
import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import an... | 205495805c851788ba3d4d5d1a8c2ca1eedfef0c | [
"Markdown",
"Java"
] | 2 | Java | edkimco/seniorcitizen | 193fc9275eb00d4e3b982bf3dca227bf40919484 | 76c87224fde27d30eb5cf0b0476f44aabd11b1a6 |
refs/heads/main | <file_sep><?php
namespace App\Http\Resources\Product;
use App\Http\Resources\Seller\SellerResource;
use Illuminate\Http\Resources\Json\JsonResource;
class ProductResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @retur... | 5c09785f8575ec787ece87f0bd0fa5fc284bc772 | [
"JavaScript",
"PHP"
] | 38 | PHP | ahmed1322/ecommerce-laravel-vuejs | e1287b72a80fa74aa4f6e2e2a8a8afc1c80b6fb1 | 7192cf2e02dd8f61536c660046e5b7bd53306586 |
HEAD | <repo_name>blackcell000/test<file_sep>/readme.txt
This is a simple practise
hello world
| c56738e8c8276de8388df7f1c26507f415317a00 | [
"Text"
] | 1 | Text | blackcell000/test | 64d301017ad050034f35c4ebfe070266be3c23ed | ef938d331e025d793e0fb680aadf4f5d3d5e84cd |
refs/heads/master | <file_sep># source from dmd-czech dtvt plugin - https://code.google.com/p/dmd-xbmc/source/detail?r=206
# modded by mx3L for easy port to enigma2 archivczsk plugin
import calendar
import cookielib
import re
import urllib
import urllib2
import HTMLParser
import xml.etree.ElementTree as ET
import email.utils as eut
impor... | 6b43be2c70bf797c992d84194f48fe0eb663f876 | [
"Python",
"Shell"
] | 2 | Python | brkulin/archivczsk-doplnky | 49b2d245123f25fa0f6057448356640074ddb3b7 | b6390e36646a5fecac0c1c0aed18a8b07fe9af31 |
refs/heads/master | <file_sep>#ifndef DRAFT_2_RESULT_TYPE_H
#define DRAFT_2_RESULT_TYPE_H
#include <vector>
#include "Cell.h"
using namespace std;
template<typename T>
class Result_Type {
public:
T total_cost;
vector<Cell> m_path;
vector<vector<bool>> m_explored;
double exec_time;
long long expanded_cells_count;
... | 80f0e97d28da1bad1633b0c16dabd27d09c2b981 | [
"CMake",
"C++"
] | 16 | C++ | ilyaphlk/A_star | 99f4310646825ce919d404e0a96468dbb4a67a82 | 3fd5c49f3042dab4afc844fa9593309ec961b3fe |
refs/heads/master | <file_sep># orrery
Modeling the physics of our very own solar system
<file_sep>package model;
import vector.Vector;
import processing.core.PApplet;
/**
* @author chadnislow
*/
public class Planet extends PApplet{
public double mass;
public Vector position;
public Vector velocity;
public Vector ac... | fdd7af04fac3b44217ad40142fdab457102308e5 | [
"Markdown",
"Java"
] | 2 | Markdown | cnislow/orrery | 31241689c9b199c3b4e00c93882cf001d5506417 | 7b0a85df49c6556bfe3e84da18e235a277d65967 |
HEAD | <repo_name>yangjiaronga/Witcoder<file_sep>/application/vjudge/hdoj/__init__.py
# -*- coding:utf-8 -*-
from .attribute import *
from .crawler import *
from .agent import *
from .tools import *
from .supervision import *
from vjudge import httpclient
<file_sep>/application/social/conf.py
# coding: utf-8
from tornado.w... | 147bdd497787afbcc3d41144253e037fa9339e4e | [
"HTML",
"JavaScript",
"Markdown",
"Python",
"Text",
"Dockerfile",
"Shell"
] | 102 | Python | yangjiaronga/Witcoder | 2f7891326af884ba4831ce79c6492591c1149237 | 1f874492feeedbc7f86279f2f12d7d77386041d3 |
refs/heads/master | <file_sep>/*
* Copyright (c) 2018, <NAME>, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the above copyright
* not... | b516ec8bee7efa91928c7a0840005f3ac0eee549 | [
"SQL",
"Markdown",
"Maven POM",
"Java",
"Dockerfile",
"Shell"
] | 42 | Java | AnathPKI/anath-server | 1c35816ac693528eea16470d41151b44ce65f77a | f13841f48fff7dcd585beecf1a017cc57c5b6495 |
refs/heads/master | <file_sep># print("Bithy")
#
# #Variable
#
# x=12
# print(x+3)
#
# x= "Hi world..."
# print(x + " I Love Apple")
#user_input = input("Enter your Birth Year: ")
#age = 2018 - int(user_input)
#print ("You are " + str(age) + " years old !")
#inpleis operator
# a=5
# a *= 3
# print(a)
#
# Language = "Python"
# Language ... | 1387b9b549bc3e1f69753b7816c80138ff4a0afe | [
"Markdown",
"Python"
] | 12 | Python | Zahidsqldba07/Learn-Python-with-practise | b3ae921ad91d4d707fbda3183af1fc89cc9eb0c6 | 29ac08c9b844492cf39bfe2515b19f17793c46b5 |
refs/heads/master | <repo_name>Ghurfa/ComputerVisionCamp<file_sep>/CVIntro/CVIntro/Program.cs
using System;
using System.IO;
using FRC.CameraServer;
using FRC.CameraServer.OpenCvSharp;
using OpenCvSharp;
namespace CVIntro
{
class Program
{
static void Main(string[] args)
{
UsbCamera camera = new UsbCa... | 7e814818b71eedea206d21e7ebe6d00524dea7fc | [
"C#"
] | 13 | C# | Ghurfa/ComputerVisionCamp | 22abdb40a79bbb0b7d2f68c7abe50bf05856eb41 | 52b1cea84454ea72d97b67c306a1a7007389480f |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerOneMirrorMovement : MonoBehaviour
{
// Initialized public variables for use inside of the inspector
public PlayerOneCharacterController2D controller;
// Initialized variables
// Variable for pl... | 29c0220af491ce4527e0288841ec2c6242003eed | [
"Markdown",
"C#"
] | 9 | C# | OwenJAYEH/GMTK-Jam-2020 | f1bad29e11414ec127ff50da12ab0383665dcabe | 018284904780637a0f6f81347ecd0b2ad395a570 |
refs/heads/master | <file_sep># Tavla konsol oyun uygulamasi
## Projem hakkında

* İlk kimin başlayacağını öğrenmek için placement zarı atılır. (Zarlar aynı gelirse sistem otomatik olarak tekrar zar atar.)
* Oyuncular iste... | c170ab11abbca0a9c3cbb14956baa3398f4241e8 | [
"Markdown",
"Java"
] | 4 | Markdown | Grotders/Backgammon | 41fecdabf1f22b3cc287d271babceac6cd577f64 | 4393efc994d713a0dabeb90e5cbaef71eae6bbe1 |
refs/heads/master | <repo_name>laihaylike/nodejs-blog<file_sep>/src/app/controllers/ContentsController.js
const Auth = require('../models/Auth');
const Content = require('../models/Content');
const { mutipleMongooseToObject, mongooseToObject } = require('../../util/mongoose');
class ContentsController {
index(req, res, next) {
... | b44106863de7afc699213fd2a726d778d5010fa7 | [
"JavaScript"
] | 7 | JavaScript | laihaylike/nodejs-blog | 7a35ded978747f6b3086999ac9b9a5159da6bd77 | 29114c55984073428e9b4f700a6265d342ee0c6b |
refs/heads/master | <file_sep># mortargrind91.github.io
hosting
<file_sep><?
if(isset($_POST['name'])){
$name = clean($_POST['name']);
}
if(isset($_POST['phone'])){
$phone = clean($_POST['phone']);
}
if(isset($_POST['mail'])){
$mail = clean($_POST['mail']);
$mail = filter_var($... | 6489b90aeca115bba7436eb4908c03148c7487e8 | [
"Markdown",
"JavaScript",
"PHP"
] | 4 | Markdown | MortarGrind91/mortargrind91.github.io | 092d790eb7ec5fa574ea5488b521d7fc0a8cb76a | 5a779dbebf94fcf00b476c602f5f284e7ab1e044 |
refs/heads/master | <file_sep> /*
*Name:<NAME>
*Project: 3
*Deadline: Mon Nov 17,2014
*Objective: To develop a floppy mini unix shell to mount and access floppy disk.
*Class: (System Programing Unix/C/C++) CIS340
*University: Cleveland State university
*/
#include <stdio.h>
#include <stdbool.h>
#include "paren... | 2be5391931ce7f5762539b8e91f8c91160502fad | [
"Markdown",
"C"
] | 6 | C | ikp4success/Unix-and-FloppyShell | b3e59f9359b110fa7d65ddf550153d44f2124357 | 89df937b1057c807aebc42891ab98a0f914db943 |
refs/heads/master | <repo_name>thegreatshasha/analysis<file_sep>/temporal_plot.py
import numpy as np
import matplotlib.pyplot as plt
from utilities import *
from paircorrelation import pairCorrelationFunction_2D
import numpy as np
import matplotlib.pyplot as plt
import glob
""" Generic plotting stream code. Leave it like this """
plt.ion... | 6748c216696635879d655495859427c1df8aabb1 | [
"Python"
] | 2 | Python | thegreatshasha/analysis | 19d0548f77946f272be6f341c762e3022b74a7de | a970543df0af5da18ebd82ab15c214802bb19665 |
refs/heads/main | <file_sep># # ItemConditionPolicy
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**category_id** | **string** | The category ID to which the item-condition policy applies. | [optional]
**category_tree_id** | **string** | A value that indicates the root nod... | f048c8c1909c9a203d391cdd44eb0459255e6d9b | [
"Markdown",
"PHP"
] | 5 | Markdown | zVPS/ebay-sell-metadata-php-client | fd9e1b6fd8ce91eadb32fc0027c09e431b529ce8 | 4a0edf2d3bfbaa6b190a6350923e7407f17c027b |
refs/heads/master | <file_sep>#! /bin/bash
apt-get install proftpd -y
if [ "$?" != "0" ]; then echo "Error instlacion"; exit 1; fi
cp proftpd.conf /etc/proftpd/
if [ "$?" != "0" ]; then echo "Copiadno Archivo de configuracion "; exit 1; fi
addgroup ftp
if [ "$?" != "0" ]; then echo "Creando Grupo de trabajo"; exit 1; fi
adduser ftp ftp
i... | ea3fa80261578eeb0e4d38d45e0b4dc1f1e767d4 | [
"Shell"
] | 1 | Shell | ChristianBarrientos/Script_proftpd | ebb985547789cd024d51a0dc9e34b2877add7eee | b1268b793ce80d2fd363036d1d62940dff3a539e |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
public class Follow : MonoBehaviour {
public GameObject target;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
var position = transform.position;
position.x = tar... | 82b7ac98b4220867cabb8be2fffe8053e8203a45 | [
"C#"
] | 4 | C# | 2youyouo2/cf | 3039f14c35803b70a6864df9e33117d17ad7e6c6 | 682079398bffe11afefde86f735df8ede98db033 |
refs/heads/master | <repo_name>wespatrocinio/programming_studies<file_sep>/tensorflow/text_classification/src/features.py
import numpy as np
import nltk
from nltk.tokenize import RegexpTokenizer
from collections import Counter
nltk.download('stopwords')
def get_tokens(text):
tokenizer = RegexpTokenizer(r'\w+')
tokens = tokeniz... | 6276848fc8d10ce99b958faded1410a09f382f24 | [
"Python"
] | 6 | Python | wespatrocinio/programming_studies | ddae2ab9bf137db11139ba1d25f9fee76fc43dc3 | 4282c21b0d46eaca54f61747362bf53f70c4b3b2 |
refs/heads/master | <repo_name>sadubois/docker-images<file_sep>/redis/redis-slave/Dockerfile
FROM redis:3.0.2
MAINTAINER <NAME>
ENV REDIS_VERSION 3.0.2
ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-3.0.2.tar.gz
ENV REDIS_DOWNLOAD_SHA1 a38755fe9a669896f7c5d8cd3ebbf76d59712002
RUN buildDeps='gcc-c++ libc6-dev tar git unzi... | cfe60bc0f0368f85b341cb257bc7dc71a25848ec | [
"Markdown",
"Dockerfile",
"Shell"
] | 11 | Dockerfile | sadubois/docker-images | 405eb8e5f77ec239c9468c07cbfe3b8db856e1dc | a60590c8e77695cf876b8e678321d91b3d07d0ef |
refs/heads/master | <repo_name>bergbpb/backbone_app_practice<file_sep>/src/js/routes/main_nav_router.js
// namespace the main navigation module
var App = App || {};
// namespace the module
App.mainNavigation = App.mainNavigation || {};
// namespace the data layer
App.mainNavigation.router = App.mainNavigation.router || {};
App.mainNa... | e9d1ad5ada32deb7a2a01c9ced1a1dabe682024a | [
"JavaScript",
"Markdown",
"PHP"
] | 10 | JavaScript | bergbpb/backbone_app_practice | 607f6b249e8e6482f4ea2a1443de2c2a5671f5b2 | d50a9ac2e4b0f0047076cddfaf422bca27dff145 |
refs/heads/master | <repo_name>bmcscpp2016/objectsandclasses_3<file_sep>/fibonacci.h
//
// Created by valyria on 10/21/16.
//
#ifndef FIBONACCI_FIBONACCI_H // IGNORE THIS FOR NOW
#define FIBONACCI_FIBONACCI_H // IGNORE THIS FOR NOW
class fibonacci {
private:
int termsnumber; // the number of terms in the fibonacci
public:
int get... | 76e7ef36063e40ac0b3852ab7aeb55135a472562 | [
"C++"
] | 3 | C++ | bmcscpp2016/objectsandclasses_3 | 92091b525b6e602ca2b79e660f90f4e59fe092be | 211587f69cb5c4bbc49b5fbd1c497a278526985d |
refs/heads/master | <repo_name>8bitpickle/abenia<file_sep>/app/gamestate-manager.js
// error logging
const error = require('./error.js')
// global vars
let gameWindow // game window
let renderManager // manages screen
let inputManager // manages user input
// current state
let currentState
// each state is assigned a number
const Main... | 8b3dd191136bde572230227132d01a38e775e02f | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | 8bitpickle/abenia | fbf60d8cc8f8b82566edcbc5fffabae04a1e2a5f | 48d5089cfbd7a33ae63115c7eb3ef04ce7782073 |
refs/heads/master | <repo_name>jbwhite/todo<file_sep>/app/views/items/index.json.jbuilder
json.array!(@items) do |item|
json.extract! item, :id, :name, :description, :context, :priority, :deadline, :list_id
json.url item_url(item, format: :json)
end
| d08d1691998eeec9a7d1f2519e8f38ad169d3396 | [
"Ruby"
] | 1 | Ruby | jbwhite/todo | ef939c89015b5870f5389a2686572189b98dc33b | c2937cb99b8fec690b331bc90d001a698d195ac6 |
refs/heads/master | <file_sep><?php
require_once __DIR__ . '/vendor/autoload.php';
class KirbyQRCode
{
public static function qrcode($page, $options = null)
{
$defaults = c::get('plugin.qrcode', array());
if (!$options) {
$options = array();
}
$settings = a::merge($defaults, $options);... | afee69c88e67b30501ed184d13ab9689bd2a2abd | [
"Markdown",
"PHP"
] | 5 | PHP | bnomei/kirby-qrcode | 592ba7180ad15026a396cf1e17b43dc7c0aede61 | b01eb292715e08bd07a9f468403167cb99711983 |
refs/heads/main | <file_sep>var webdriver = require("selenium-webdriver");
const LambdaTestRestClient = require('@lambdatest/node-rest-client');
const username = process.env.LT_USERNAME || '<EMAIL>';
const accessKey = process.env.LT_ACCESS_KEY || '<KEY>';
//set capabilities
var caps = {
name : 'Login Example',
build : '1.0',
... | c559fbf5ae13160f8bbdce211ea03da31d065066 | [
"JavaScript"
] | 1 | JavaScript | SriramRajasekaran/new | 99d80ad8d4ed756cd7bdd18304e9216403c541ed | 58b625a2c86dc433518b38c01c22be3c3290570a |
refs/heads/master | <file_sep>#include<at89c51xd2.h>
#include<stdio.h>
void main()
{
int a=5,b=6;
P0=a+b;
}<file_sep>#include<at89c51xd2.h>
#include<stdio.h>
void main()
{
int a=5,b=6;
P0=a+b;
P1=b-a;
P2=a*b;
P3=b/a;
} | 89cc4dcf4760e6c1627549944398e2bc3343a3ee | [
"C"
] | 2 | C | mohan730/rep2 | 037ec9ed4dfdf7e22be395f5a68319037aa55d7c | cd0a9920d87342144f3bdcf1566835589d755a4b |
refs/heads/master | <file_sep>public class GradeCalculatorException extends Exception {
public GradeCalculatorException(String message) {
super(message);
}
}
<file_sep># myGrade
Java FX application with clean user interface to help students calculate required grades needed on remaining assignments to achieve desired final ... | 9bba4e36cf875407341ecc449fe74f43d511e247 | [
"Markdown",
"Java"
] | 2 | Java | atangent/myGrade | 9936eb652eea573c2741aacd13c8257eb969491f | 836f6628b6d3f8a8a669bb4370374fec443601b5 |
refs/heads/master | <file_sep># A = [10, 16, 8, 12, 15, 6, 3, 9,5]
A = [16, 4, 2, 1, 17, 3]
def swap(a, b):
temp = A[a]
A[a] = A[b]
A[b] = temp
def partition(i, j):
pivot = i
# i = 0
# j = len(A)-1
while(i < j):
while(A[i] <= A[pivot]):
i+=1
while(A[j] > A[piv... | 34fdb2234ee59c9785bbfd0470f9d46bd05c9cd5 | [
"Markdown",
"Python"
] | 8 | Python | sayeedk06/algo-101 | c988ed8587ab5561ee9903099458b24a3f05d928 | c8234b4085c94eb1338d67b57d7abbccc85def0b |
refs/heads/master | <repo_name>killerrin/Battle-of-Tyril-Android<file_sep>/src/killerrinstudios/andrewgodfroy/battleoftyril/GameView.java
package killerrinstudios.andrewgodfroy.battleoftyril;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import android.annotation.SuppressLint;
import android.content.Context... | a2d5debf09597307fb7825843cad9105c980c9af | [
"Markdown",
"Java"
] | 14 | Java | killerrin/Battle-of-Tyril-Android | 35d3c8085bb96426f82e47fb7250a81f7673c1b0 | 27a5e3f1be08db9f0b6b939d89769f5043e43cb3 |
refs/heads/master | <file_sep>#!/usr/bin/python
#
# What is this?
# This Lambda function will probe (via HTTP or HTTPS) remote destinations and
# if all of them are unavailable it will bring stand up a VPN connection so
# that connectivity can be restored. It will then send a notification via SNS
# with the config details.
#
# WARNI... | 4143e1727ac9586319c2d85a1364e6b58bfe22dd | [
"Markdown",
"Python"
] | 2 | Python | Brettles/NetworkBreakGlass | ef749dda0f20fe73a02b6b7b148f426d5587d880 | afaeb1b1480f982c28cb21de78dfd50b58906d1e |
refs/heads/main | <repo_name>PorkPies/ToHackHealth<file_sep>/hackathon.py
import streamlit as st
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from PIL import Image
import seaborn as sns
import plotly.express as px
import json
import os
from urllib.request import urlopen
import json
sns.set_style("whitegrid")
s... | cb2674afdb18afbd0ab57f2ed572932a15bcad83 | [
"Markdown",
"Python"
] | 2 | Python | PorkPies/ToHackHealth | 819e15b1095ee25046a234af754ebff043b8cb02 | f21d07f908bc452c698fcb13f9ca0929b630a846 |
refs/heads/master | <file_sep>package org.hw.sml.test;
import java.util.List;
import java.util.concurrent.Callable;
import org.hw.sml.support.CallableHelper;
import org.hw.sml.tools.MapUtils;
import org.junit.Test;
public class CallableDemo {
//一台打印机打印一份文件需要0.2s
class Print{
public void print(int i){
try {
Thread.sleep(200)... | c4c7883fbd5620ac62d3772586ca4fe33d32267a | [
"Markdown",
"Java"
] | 2 | Java | czn-github/sml | 958e3174c7cc84c730373f072de7451ce3a9e7cc | d2461e24053ffde013b6c01c76a7b9b450c698f7 |
refs/heads/master | <file_sep>from .connection import *
from .errors import *
from .relation import *
from .query import *
from .schema import *
import cmd
version = "1.2-dev"
<file_sep>Myria Python
============
[](https://travis-ci.org/uwescience/myria-pyth... | bb0bf0e77d0805d750c4eafe031244308b70a796 | [
"Markdown",
"Python"
] | 2 | Python | BrandonHaynes/myria-python | 35cc9f5cf143c2f1f5f697760d8aad7324aef056 | 8279eef4520461476213fa1219eb869f62b398ef |
refs/heads/master | <repo_name>osascruz/beehive_monitor<file_sep>/better_beehive_monitor_v5.ino
#include <DHT.h>
//Version 4 of the beehive monitor
//**************************************************
//<NAME> 2014 - @exmonkey - <EMAIL> -
//Uses Sleep_n0m1 Library - <NAME>, <NAME>, NoMi Design Ltd. http://n0m1.com https://github.com/... | c566cf278efaa01ccc0892d1eca6e19914424be5 | [
"Markdown",
"C++"
] | 3 | C++ | osascruz/beehive_monitor | baf11a841c159d143eaee8ad13484be9624ba0c6 | 58b71d326499f19d9dcd53314322c61241c388a4 |
refs/heads/master | <repo_name>ptxmac/figma-export<file_sep>/Sources/FigmaExportCore/Extensions/Double+fixFloatingPoint.swift
public extension Double {
var floatingPointFixed: Double {
(self * 1000).rounded() / 1000
}
}
<file_sep>/Sources/XcodeExport/bundle_provider_swift_package.swift
let bundleProviderSwiftPackage = """
... | 6843c16b5933ceb0562cca523df2275e360a6779 | [
"Swift",
"Ruby",
"Shell"
] | 29 | Swift | ptxmac/figma-export | e14b9fa3a6bf3f6208669706a86cf45a8712f1f5 | 5f49bdc8898259339ec334057efe7a238b3df4f9 |
refs/heads/master | <file_sep>#!/usr/bin/env bash
sudo apt install -y build-essential autoconf libtool curl
<file_sep>[Google GRPC 1.11.0-pre2](https://github.com/grpc/grpc) headers, prebuilt libraries & prebuilt compilers.
CFLAGS="-O3 -g -fPIC -Wno-implicit-fallthrough -Wno-maybe-uninitialized -fdata-sections -ffunction-sections -fno-s... | 2f725571d1f7715fce0711f39570c9678f858a11 | [
"Markdown",
"Shell"
] | 4 | Shell | danek-kulik/grpc-prebuilt | 49a93efae8502c7a368dceac42614dbbb2f6f7c6 | a3611aacd7bc9cbe6476917516e5bdce1d2014b8 |
refs/heads/master | <file_sep>require 'view_elements/helper'
module ViewElements
class Railtie < ::Rails::Engine
initializer 'view_elements.add_helpers' do
ActionView::Base.send :include, ViewElements::Helper
end
initializer "view_elements.assets" do |app|
Rails.application.config.assets.paths <<
ViewElem... | 201ce85b391064c48a07ce0dce6a3335722e29b0 | [
"Markdown",
"Ruby"
] | 27 | Ruby | fddayan/view_elements | 17cefb95138dd03976e4eae0ce278bc64ba20bca | 1909fa037be9d09be80d70d10a0906e3462f004a |
refs/heads/master | <repo_name>dominikgaller/esentrimicroserviceexample<file_sep>/microserviceExample/src/main/java/com/esentri/microservice/example/StartUp.java
package com.esentri.microservice.example;
import io.vertx.core.Vertx;
import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;
/**
* The class {@code S... | 440f16e0b656eb3cda2d85365bb57cb795b9b1cb | [
"JavaScript",
"Java",
"Maven POM"
] | 7 | Java | dominikgaller/esentrimicroserviceexample | 232345403cfe30f23b772ec14573413c3cabb4af | 591ff2ee9b473d390b662cdc2d574d9c52a84205 |
refs/heads/master | <file_sep>console.log("successful require workspace a") | 2dd6eae80b16b411c88ef816672376fffc709c27 | [
"JavaScript"
] | 1 | JavaScript | yace132/Aries | efbe201c1bbad2f85efc660ed01bc09d518487f2 | 6e75920f06657a0061c0d191299ee3f7ef9622e5 |
refs/heads/master | <file_sep>import numpy as np
import pandas as pd
from pandas.tseries.holiday import USFederalHolidayCalendar
import xgboost as xgb
from sklearn.cross_validation import train_test_split
from sklearn.cross_validation import ShuffleSplit
from sklearn.cross_validation import StratifiedKFold
from sklearn.preprocessing impo... | ea9a8b9ef04104cff795321e060042c1f8f0e7b4 | [
"Python"
] | 1 | Python | happyphonon/Airbnb | 795c189677342aee9926db741056085c76d6d657 | 5b2e25437d2996d9f87c2433e0a9d4566e1901ee |
refs/heads/master | <file_sep>package com.qspl.quagnitia.listview;
import android.content.Context;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class ListViewDemo extends AppCompatActivity {
ListView lvList;
Context context=t... | 3d67251821219d2176615e30db547c2d46f659c0 | [
"Java"
] | 1 | Java | patilrahul9923/ListView | f02043b576637b746ab47882bcc820af30a45d25 | 954f701197496b41cf1a14e406633238daf6447b |
refs/heads/master | <repo_name>maicol07/flarum-sso-plugin<file_sep>/.github/ISSUE_TEMPLATE/important--how-to-submit-an-issue.md
---
name: 'IMPORTANT: HOW TO SUBMIT AN ISSUE'
about: Please read this to know how to submit an issue
title: "[INVALID] "
labels: invalid
assignees: ''
---
In order to organize better the developer work, issues ... | 0a8504adaec1bc67d8a6ab34466a24bdb6f32077 | [
"Markdown",
"PHP",
"Shell"
] | 20 | Markdown | maicol07/flarum-sso-plugin | f3c9c505336bd5ccd5081170f2dfdc9fb9b44244 | 3328b7e47293c5402cd55ac0e67f6fc597826ad4 |
refs/heads/master | <file_sep>import React from 'react';
import {
SafeAreaView,
StyleSheet,
ScrollView,
View,
Text,
StatusBar,
Image,
} from 'react-native';
import {
Header,
LearnMoreLinks,
Colors,
DebugInstructions,
ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen';
import TopBar from './component... | c5aea3dcf345b2937d5766d171f7f1c24f21814d | [
"JavaScript"
] | 1 | JavaScript | Stef013/HealthTracker | 514120a6d647dcb69bd36f3a0aa604e6fbe0ba36 | 15e2ad3d2670645d5236845a7eab45a6b24bacd3 |
refs/heads/master | <file_sep>import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;
public class rect extends Rectangle {
Color blue = Color.CYAN ;
int x ;
int y ;
int width ;
int height ;
public rect (int a , int b ,int w , int h )
{
x = a ;
y = b ;
w... | f6e1c9381530fc2342d6f2303597a6dc18e1c96a | [
"Java"
] | 3 | Java | DinaGenena/Games | 1cbeb86d6b96b5bc64177b1b02d13e58d7648823 | 49f83c27f1bf20d7b47824240d64496ab8043a82 |
refs/heads/master | <repo_name>MaelManifacier/javaFX-MVVM<file_sep>/javaFX10/src/viewmodel/VillageVM.java
package viewmodel;
import javafx.beans.property.ListProperty;
import javafx.beans.property.SimpleListProperty;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import launch.Launch;
import modele.Ave... | 6c6bb8c55244102106f7b529c88beb45b3fece56 | [
"Markdown",
"Java"
] | 19 | Java | MaelManifacier/javaFX-MVVM | 9f7fb0989c85cad02c3a96d2aa5bfc3ee321d5b4 | 1a61d1009c2a7f2035c4a3b8705e101a0e5666ba |
refs/heads/master | <file_sep># See LICENSE for license details.
#--------------------------------------------------------------------
# global define
#--------------------------------------------------------------------
base_dir = $(abspath ..)
sim_dir = .
output_dir = $(sim_dir)/output
SPIKE_FLAGS = -p1 -m2048 -t2 --ic=64:4:64 --dc=6... | 9adb7250314b700f2e22c65d559d9001ea293c24 | [
"Makefile",
"Shell"
] | 3 | Makefile | GuillemCabo/riscv-tools | 61b46d18f693aaaaa829666df3d8e25a1ece2386 | 9b6279d3e0e687cc55726895ba562fa538f0c206 |
refs/heads/master | <repo_name>KenadAraujo/sistemasDiarias<file_sep>/index.php
<?php
require_once ('classes/pagina.php');
//Extende da classe Pagina
class Pagina_Principal extends Pagina{
public function exibir_body() {
// parent::exibir_body();//Metodo da classe PAI
?>
... | 45d9a639795415169d5c1c825cea07bc35c94a80 | [
"SQL",
"PHP"
] | 6 | PHP | KenadAraujo/sistemasDiarias | 489a327d366dd597dd26a1c0b0b16b8e6e56a5cd | e9c79c94f7f43d47002d64a6ee69e1f7ffe5c916 |
refs/heads/master | <file_sep>#pragma once
#include "board.h"
#define DRAM_START ((void*) 0xC0000000)
void dram_init(void);
<file_sep>#pragma once
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "usbdfu.h"
size_t target_get_max_fw_size(void);
uint16_t target_get_timeout(void);
void target_flash_unlock(void);
en... | cb11d2d6417861eba8593719f19b4ee7621d8029 | [
"C"
] | 7 | C | RoboJackets/mtrain-bootloader | 4ecc4c89266ba78e0edb044d3b331883e457978e | fa03150f225991cfa3a9bbfeebbfc036c549117b |
refs/heads/master | <repo_name>mmangino/tunnlr_connector<file_sep>/lib/tunnlr.rb
require 'tunnlr/connector'
require 'tunnlr/configurator'
module Tunnlr
puts 'Loaded'
def self.load_tasks
Dir[File.expand_path("tasks/*.rake", File.dirname(__FILE__))].each { |ext| load ext }
end
require 'tunnlr/railtie' if defined?(Rails) && Ra... | 01033a14743e1dc56426de7de74fe448b1039192 | [
"Ruby"
] | 10 | Ruby | mmangino/tunnlr_connector | 2ae02958d0b6804cd41917ff9fef3a28a5930fb0 | a36f2b5a46e32521e076a3659a3906323e607529 |
refs/heads/master | <file_sep>from django.db.backends.base.features import BaseDatabaseFeatures
from django.db.utils import InterfaceError
class DatabaseFeatures(BaseDatabaseFeatures):
supports_partial_indexes = False
supports_functions_in_partial_indexes = False
supports_regex_backreferencing = False
can_return_columns_... | 206a37e9f2952a93bde507c817f34a16c09bccad | [
"Python"
] | 1 | Python | toninhonunes/djfirebirdsql | 878396979896c875b0924ff1e4c69494fc5fa897 | c3c2c2a2180e5ebc4eaf6b6bcef656e85f62047d |
refs/heads/master | <repo_name>dennisscho/sencha-app<file_sep>/app/view/ToDoList.js
Ext.define('ToDo.view.ToDoList', {
extend: 'Ext.dataview.List',
alias: 'widget.todolist',
config: {
itemTpl: '{title}',
emptyText: "No ToDo\'s left!",
loadingText: "Loading...",
disableSelection: true,
onItemDisclosure: true
}
});<file_sep>/a... | ffa7a1ab4cd12111dcedbcc411f009671400a532 | [
"JavaScript"
] | 5 | JavaScript | dennisscho/sencha-app | 50556053d283199b251d4e819138defb0168c68e | e973758106b8b53b1e9639a3c27368cff9571f30 |
refs/heads/master | <file_sep>// dependencies
const express = require('express');
const url = require('url');
var cors = require('cors');
//create the server
const app = express();
const port = 3002;
app.use(cors())
let tableOfContent = [{id: 1, name: 'The supermarket'},
{id: 2, name: 'Outdoor'},
... | ea8028491301a0e4f5dba1c8acb3380087c09b4c | [
"JavaScript"
] | 2 | JavaScript | olivertr98/picture_dictionary_service | 4c19dbbdcb83b37daf70126cd9fbeb9c0e3c83d6 | 3fd7941d1e31d6d2cfb25322d0ed3078b27b91c3 |
refs/heads/master | <file_sep># levitator
Magnetic levitation experiment using Arduino to control electromagnetic coil based on light reflection feedback
<file_sep>/*
Name: Levitator.ino
Created: 10/11/2016 8:25:24 PM
Author: Andrei
*/
int initialDistance;
// the setup function runs once when you press reset or power the board
void ... | f2d2dc3bd848b60cbba55019db572bcc698d8feb | [
"Markdown",
"C++"
] | 2 | Markdown | andreitanas/levitator | bd3ea191054046fc6145d85db0c8d36452c78e6e | a72430fdea38b768569537eb9f0c7aca993a18ea |
refs/heads/main | <file_sep>package com.decagon.jones.notificationactivities
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.TextView
import org.w3c.dom.Text
class NotifiedActivity : AppCompatActivity() {
override fun onCreate... | 90b07b4443aa41cffd620ab1436fdd063c3de8dc | [
"Kotlin"
] | 2 | Kotlin | jonesomoyibo/NotificationActivityAssignment | afe5201cf398c50e33eab1147b1ec0c71c26aa67 | 4cddbe616a1fd5b2d93867d6f7551189beef0e89 |
refs/heads/master | <repo_name>aqtrans/argosnap<file_sep>/test/lib/argosnap/options_test.rb
require_relative '../../test_helper'
describe Argosnap do
it "return 'help' message" do
end
end
<file_sep>/Gemfile
source 'https://rubygems.org'
gem 'mechanize', '2.7.3'
gem 'terminal-notifier', '1.6.0'
gem 'plist', '3.1.0'
# Specify yo... | de863e2a0e0589f3fd44f2c474d798d7089965a3 | [
"Markdown",
"Ruby"
] | 8 | Ruby | aqtrans/argosnap | 6cb80947849b281fe598637f5ecec343af0fdb1a | 16218e0b8f15fed2fa4edfb49df61c64cbb92c1e |
refs/heads/master | <file_sep># Coursera
# Getting and Cleaning Data
# Peer Assessment Project
#
###
#
# This assignment uses data collected from the accelerometers
# from the Samsung Galaxy S smartphone.
# (Data science area of wearable computing)
# A full description of the data used is available at the:
#
# http://archive.ic... | b5369629b951864118227fe21b5daabb6dcae646 | [
"Markdown",
"R"
] | 2 | R | naleksandarn/GettingCleaningData | 274e4f4a74ea0e157a1c5a3a8ba0ba5897252f6f | 7f8b4a85bd7a694975dfe90799d9be48a6a1ee00 |
refs/heads/main | <repo_name>SheCodes-IEEE-CIS-GHRCE/Entertainment-Recommendation-System<file_sep>/README.md
# Entertainment-Recommendation-System based on Emotion Recognition
<i>
🙋 Team Members: <NAME>, <NAME>, <NAME>, <NAME>
</i>
<br></br>
<br></br>
## PROJECT EXPLANATION
❄️ Nowadays we have so many websites that categorize movies ... | f43a1d0b6e8b91d490599b5822639dc63327d521 | [
"Markdown",
"Python"
] | 3 | Markdown | SheCodes-IEEE-CIS-GHRCE/Entertainment-Recommendation-System | 31920ff7ef12bca2b6db392cbcf59c1e9b642e6f | d3ed79c51e8e7eb6e5c999cc4974ecc5122cc2e3 |
refs/heads/main | <file_sep># 2019-08-02 Interface to Host
When looking at the current interface between bot and host, some questions came up:
+ What does it mean when the `botRequests` contain multiple `FinishSession` entries? What is the difference to having just one `FinishSession` entry?
+ When `botRequests` contains tasks after a... | 8419780f0a6731dd6d4254f24b3867a74fe058bf | [
"Markdown",
"C#"
] | 53 | Markdown | Viir/bots | fb6378ce666eb86a73bdbd270da306721fec7042 | 8b844e9694f2ac348a0e514a0900558617f9d939 |
refs/heads/master | <repo_name>Air6n6/Recommendation<file_sep>/client/src/Favorites.jsx
import React from 'react';
import styled from 'styled-components';
const Wrapper = styled.div`
position: relative;
background-color: white;
width: 400px;
height: 500px;
z-index: 3;
border: 1px solid grey;
`
const Exit = styled.button`
`... | 29fe9283bab814d2258cc0ed1e1b1b7ebe89e599 | [
"JavaScript",
"SQL"
] | 4 | JavaScript | Air6n6/Recommendation | 9f377be9dc3806b938fbb261993ce75eb66cfc66 | 7311129a978f91beeb788118c9ebd6a7be887fe8 |
refs/heads/master | <repo_name>tillkuhn/kotlin-angular<file_sep>/api/src/main/kotlin/net/timafe/angkor/rest/DishController.kt
package net.timafe.angkor.rest
import net.timafe.angkor.config.Constants
import net.timafe.angkor.domain.Dish
import net.timafe.angkor.repo.DishRepository
import org.slf4j.Logger
import org.slf4j.LoggerFactory
imp... | b1f1d5897a0fd7bd5f70a9304d31b7aac94cf55e | [
"Markdown",
"Makefile",
"AsciiDoc",
"Dockerfile",
"Python",
"Go Module",
"TypeScript",
"Go",
"Kotlin",
"Shell"
] | 84 | Kotlin | tillkuhn/kotlin-angular | 4fb2b66b563a4a1141b6c34c61dd280171badcc0 | 14032454f8d914899be21566a43fadb97c293cd7 |
refs/heads/master | <repo_name>Alex111one/FindRestaurants<file_sep>/Location/FoursquareClient.swift
//
// FoursquareClient.swift
// Location
//
// Created by One on 25/04/2017.
// Copyright © 2017 AlexOne. All rights reserved.
//
import Foundation
// according to Foursquare API, every case is a member of endpoint (developer.foursqua... | 1b6047b3c4ddc45dd00c8aab60cdb31619148c5a | [
"Swift",
"Markdown"
] | 6 | Swift | Alex111one/FindRestaurants | 022fc195fba614d0502f792bcee7be90fd0cf04e | 32efb0b74d978c454903b1af8fd93b543dc95adb |
refs/heads/master | <repo_name>mishraaditya595/Khabar-News-App<file_sep>/app/src/main/java/com/vob/repository/NewsRepository.kt
package com.vob.repository
import com.vob.api.RetrofitInstance
import com.vob.db.ArticleDatabase
import com.vob.models.Article
class NewsRepository(val db: ArticleDatabase) {
suspend fun getBreakingNews(cou... | 5a5e63904a7d80ba5ef0d5143112ac4f11c747e3 | [
"Kotlin",
"Gradle"
] | 13 | Kotlin | mishraaditya595/Khabar-News-App | 163448c37ee0812fdf280c7b329ffa1f354ea519 | 61723b8003d47a52a441d5253e68108d340cdc59 |
refs/heads/master | <file_sep>package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"net"
)
type Actor struct {
Name string
Age int
}
func main() {
actor := Actor{"<NAME>", 99}
service := "localhost:1200"
conn, err := net.Dial("tcp", service)
if err != nil {
fmt.Errorf("Error dialing to service")
return
}
err = js... | 02cf12149d1f64bf67539f6d643acaecae2a6276 | [
"Markdown",
"Go"
] | 3 | Go | lucaspwbx/tcpjson | 19c233938018db6b0724c1633e5a40b59394357c | f7ba52320e60897fb02d09a5fde415f39c819bce |
refs/heads/master | <repo_name>captain-miao/FragmentTutorial<file_sep>/README.md
FragmentTutorial
================
Android Fragment Tutorial
<file_sep>/app/src/main/java/com/yanlu/android/fragment/model/DemoParcel.java
package com.yanlu.android.fragment.model;
import android.os.Parcel;
import android.os.Parcelable;
/**
* User: captain... | 922402ed0dcca2ef2e627d3e001a0cd974395e5e | [
"Markdown",
"Java"
] | 5 | Markdown | captain-miao/FragmentTutorial | 8ea009a8827f3c153a1a761adb7227147fefb74a | 959bdfb1836f43b3f064154630278c0909a6f7dd |
refs/heads/master | <file_sep># Insertion Sort Algorithm Visualisation
This project is a visual representation of how the insertion sort algorithm works behind the scenes. This project each step of the algorithm in a visual representation which gives further knowledge as to how this algorithm works. <br>This project was made using: <br>
*... | 12a37942b71f911679b56a52f6541d291c35bafd | [
"Markdown",
"JavaScript"
] | 2 | Markdown | DevalPanchal/Insertion-Sort-Visualisation | c52a2c3734a208e9694e6a93e1255d95bbbbfac1 | 7dcfcf7cbfbff9a12959b5350bf825a8c81cd5b0 |
refs/heads/master | <file_sep>class Shout < ActiveRecord::Base
attr_accessible :content, :user_id
belongs_to :user
validates :content, length: {maximum: 140}
end
<file_sep>class Network < ActiveRecord::Base
attr_accessible :network_name, :owner_first_name, :owner_last_name, :owner_password
# networks can have many users
has... | e5c699f5894e590ddc2ec220170326d6d7335089 | [
"Markdown",
"Ruby"
] | 26 | Ruby | playtaplabs/itr_homework | fef90f3a0e73e38a940a669990da3473e78a705e | 6f5103a373267cf498031155ff6604b9b222cbbb |
refs/heads/master | <repo_name>nguyenhongson1902/solving-coloring-puzzle<file_sep>/README.md
# Solving Coloring Puzzle
This is a solution for coloring puzzles
## Descriptions:
You are asked to build a coloring puzzle solver by using the first order logic to CNF
as described below:
- Given a matrix of size m x n, where each cell will be ... | c5f54fe7057f6b9104692b43c8c18ec13698caa7 | [
"Markdown",
"Python"
] | 2 | Markdown | nguyenhongson1902/solving-coloring-puzzle | 500bc68f667fe940aba224b5cc9c961e3c57d629 | 80885d9020cd6f2058ae6c833b44a7dbbce973f4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.