branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>/*! Testing app.
*/
#include <cpp-statefull.hpp>
auto main () ->
{
return 0;
}
<file_sep>namespace sm {
}
<file_sep># cpp-statefull
State machine
| 8ba7af04b581d0f8aa55ec0eabe7d74f34713da9 | [
"Markdown",
"C++"
] | 3 | C++ | Newlifer/cpp-statefull | 2d5b94018dfd92a5150ee3fa5032b2601f1e879f | ff5475aa7ad680285b001e8e609c85fc8d932043 |
refs/heads/master | <repo_name>AmritJoshi/Online_Voting_System<file_sep>/includes/db/votesystem.sql
-- phpMyAdmin SQL Dump
-- version 4.9.5deb2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Aug 08, 2021 at 03:23 PM
-- Server version: 8.0.26-0ubuntu0.20.04.2
-- PHP Version: 7.4.3
SET SQL_MODE = "NO_AUTO_VAL... | af52aab744c547bc7ad92e63b66a0dbc857535d3 | [
"SQL"
] | 1 | SQL | AmritJoshi/Online_Voting_System | dfb1650b94c4d0c161feaf2d8d09918e57308378 | 4358340d6550736470a281c27868ed41e5e959d8 |
refs/heads/master | <repo_name>mrasband/chromecast_downloader<file_sep>/README.md
# Chromecast Downloader
A simple script to download Chromecast background images.
## Installation
```
pip install git+git://github.com/mrasband/chromecast_downloader
```
Now you should have a program installed locally called `chromecast-downloader`. See... | 257a697e34f099d63d113dbff4b13c024deea468 | [
"Markdown",
"Python"
] | 3 | Markdown | mrasband/chromecast_downloader | f143686c6994035d86bdc72fa3e4df6dfc5156d0 | ac7dcb22a04d7bb02ad23e2ff65947354e9ed654 |
refs/heads/master | <repo_name>sdksck/mvn-repo<file_sep>/domain/src/main/java/tr/com/derin/java/domain/TemplateElement.java
package tr.com.derin.java.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
@Entity
@Table(name="TEMPLETE_ELEMENT"... | a916e2d20ca219d0c9f871089b7df8ccdd5c777e | [
"Java",
"INI"
] | 4 | Java | sdksck/mvn-repo | f09defda4ede72f1ef0ee6e2f4eb7392a1d546ce | 7dbfc8a4bf17bc80e974ea34ce33f92c8fed52da |
refs/heads/master | <file_sep>export default [{
"data": [{
"countryName": "中国",
"countryPinyin": "zhong guo",
"phoneCode": "86",
"countryCode": "CN"
}, {
"countryName": "中国香港",
"countryPinyin": "zhong guo xiang gang te bie xing zheng qu",
"phoneCode": "852",
"countryC... | cc5201d246559feadadf32cb411e9cf0aafc1bb2 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Winner-Wei/country-phone-code | 89af5fd9ffca1841529ed23ca2367d327bb0a326 | a5db6c88f324362b66a99a516871c29e7cf0211d |
refs/heads/master | <repo_name>Ilya2727/HomeWork<file_sep>/src/main/java/Person.java
public class Person {
private String fullName;
private int age;
public Person(){
}
public Person (String fullName, int age){
this.fullName = fullName;
this.age = age;
}
public void talk1(){
System.... | 42bf1bbc7c2262e50f0b1ca8391a357f17f6f40a | [
"Java"
] | 1 | Java | Ilya2727/HomeWork | 0e62581e75a0056ef29081e76b0ddd04788c132b | ffc27d9345e488a623de4492e4c04438c4559a4c |
refs/heads/master | <file_sep>import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
@Injectable({
providedIn: 'root'
})
export class MylistService {
pager: number = 1;
constructor(private http: HttpClient) { }
getList() {
return this.http.get('https://api.github.com/search/repositories... | 40ad53773782269620d9e9a3ff1e557e37aacd0e | [
"TypeScript"
] | 2 | TypeScript | hindhind/technical_test | 65c912899c580d400414dc21855d468aec0c7611 | 1948481c1f7fb20ed5b1a1b1980156f732d6ee0c |
refs/heads/master | <repo_name>Lowari/partie6-URL<file_sep>/exo6/index.php
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity=... | 2ca41dfb92f95d074be825d9a1092ba9af3fa351 | [
"PHP"
] | 2 | PHP | Lowari/partie6-URL | 6c5d4e306afb90799c7e0028e0ea2218f99bcee3 | 890ea749d6dc7add082910e23b979a44cebc4ccf |
refs/heads/master | <file_sep>package chapter01;
/**
* Created by y.guz on 18.01.2016.
*
* Демонстрируется работа REST-сервиса на основе JSP.
*
* Используется файл predictions.db, который
* обязательно должне находиться в папке "web"
*
* !!! Все web-ресурсы должны храниться в папке web (webapp)
*
*/
import javax.servlet.Servlet... | dc89d07c547901589ee5a2c909aa4b31689931ee | [
"Java"
] | 4 | Java | yuraguz/WebServiceTutorial | 52c15232b97888879068094a052caf5d23585bb0 | 09d08da44dc58abe706ea7aee24a4837d4abb527 |
refs/heads/master | <repo_name>miht/Kamehameha<file_sep>/src/material.cpp
#include "material.h"
Material::Material()
{
}
QDebug operator<< (QDebug d, const Material &m) {
return d << "a:" << m.ambient << "\nd:" << m.diffuse << "\ns:" <<
m.specular <<"\nse:" << m.spec_exp << "\nref: " << m.illModel.reflection;
}
<fil... | de2e682ca51d1a792677dcecc9da6cea1b92dcce | [
"Markdown",
"C",
"C++"
] | 62 | C++ | miht/Kamehameha | b3adb34c8296840c2fb3d5169e4c5a099a14336a | 95a37027c5601aabb4d323cab3fe80f363246117 |
refs/heads/master | <file_sep># rusova
photographers site
<file_sep><?php
return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'cache' => [
'class' => 'yii\caching\FileCache',
],
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' =>... | e07d3e9e5565f3c85e75b7528b0cda257496201a | [
"Markdown",
"PHP"
] | 9 | Markdown | ekadesign/rusova | d912e3e5279bf62789e7c9d53a579f530e06d64d | 2b8cd21f2761d6b56948bc1ade4d034bc0f8dbf6 |
refs/heads/master | <repo_name>IgorShebuldaev/django-site<file_sep>/urls.py
from django.urls import path
import views
urlpatterns = [
path('', views.base, name='base'),
path('portfolio', views.portfolio, name='portfolio'),
path('about', views.about, name='about'),
]
<file_sep>/mysite/wsgi.py
from django.core.wsgi import get_... | 7f9379b9046a0b7730373e0ae3bd6104ad35f695 | [
"Python"
] | 3 | Python | IgorShebuldaev/django-site | b9ae513552b796c946f3bd4404190e17ad769b0a | 743af758e62e4c76dae51e76eb864bb35acb0afc |
refs/heads/master | <file_sep>
# Hangman
## Description
The objective of Hangman is to guess the word that has been selected. If you guess a letter right, the letter will appear on the screen. If not, you will see the letter in a box that displays the wrong letters you previously guessed. When you guess the wrong letter, a part of the st... | 40346f3ff9929ed6724fd8962f14f1062eec8531 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mckenziediep/hangman | b56b315962fce65bf57e3a566345e978cb704fc7 | 175b557b997550ee71ad2319346315e566258a67 |
refs/heads/main | <repo_name>AselEsra/Album-Lists<file_sep>/src/sample/SongsTest.java
package sample;
import org.junit.jupiter.api.Test;
import static org.junit.Assert.*;
class SongsTest {
Songs song = new Songs(1,"NF","The Search", "Hip-Hop",2019);
@Test
void getId() {
assertEquals(1, song.getId());
}
@T... | 2be0af6fe674fb6117ab915b47aaffd0bea460f7 | [
"Markdown",
"Java"
] | 2 | Java | AselEsra/Album-Lists | c4a67b556c479ba614f96d51f650ec58cd894e90 | f92fc046fa3007236ecd0c5dd164073741f920cc |
refs/heads/master | <file_sep># BumbleBot
### Installation
#### Github
1. Clone or download the project
2. Install the required packages
```
pip3 install -r requirements.txt
```
### Running bot
```
python3 bumblebot.py
```<file_sep>from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.common.except... | a8d7ab8e51e4f670f0826607f4baf2d971bb7fbf | [
"Markdown",
"Python"
] | 2 | Markdown | david1mdavis/bumble-bot | 8831f6a37e2377edd614d7f094c65f728428350d | f364ba732e2026163301270296d8dc02bfb08354 |
refs/heads/master | <file_sep>package main
import (
"flag"
"github.com/golang/glog"
"html/template"
"net/http"
"os"
"strconv"
"time"
)
type config struct {Risky bool; Port int; Greeting string}
type server struct {C *config; P string; V int}
const (
version = 0
tmplName = "homepage"
tmplBody = `
... | 069c1a6eb5e8fdda22141b9b8c0a7a4076d49b97 | [
"Markdown",
"Go",
"Dockerfile"
] | 3 | Go | mgoodness/hello | 4d407669d675e27f91d10c54f1420d78eb6b337f | 66db038dbd9f89336af15f8526f3d96bea8e20b0 |
refs/heads/master | <file_sep>class CreateChannelTags < ActiveRecord::Migration
def self.up
create_table :channel_tags do |t|
t.belongs_to :tag
t.belongs_to :channel
t.integer :position
t.timestamps
end
add_index :channel_tags, :channel_id
add_index :channel_tags, :tag_id
end
def self.down
... | 750735e29dce675d28d14d24e33d210c8c71fc4d | [
"JavaScript",
"Ruby",
"Markdown"
] | 43 | Ruby | oweichselbaum/ericisaac | 86e8369af30346402fc93ebe94cbd9e4692f9589 | 7e44ddb4977472af64332811bbe0b389b0c87d4a |
refs/heads/master | <file_sep>//
// Note.swift
// Notes
//
// Created by <NAME> on 7/8/17.
// Copyright © 2017 kgfromthemv. All rights reserved.
//
import Foundation
class Note: Equatable {
fileprivate static let textKey = "text"
fileprivate static let timestampKey = "timestamp"
var text: String!
var timestamp = Date()
va... | e65f2684987f5e2a762d832089b7ab97a28953d1 | [
"Swift"
] | 4 | Swift | kgfromthemv/Notes | dcb4e6703e6088e8dfafc7723cb3b0a2aae71e2e | 8a28fc8d42208f0119d8d96f3feea48c1e194424 |
refs/heads/master | <repo_name>robertsobolczyk/angular-flickr-gallery<file_sep>/app/controllers/GalleryController.js
var app = angular.module('app', [])
.controller('GalleryController',['$scope', '$http', '$document','FlickrService','preloader', function($scope, $http, $document, FlickrService, preloader) {
$scope.loading = true;
$sco... | 275e7de1dc0b8041c99b03e2d27f4cca374ea285 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | robertsobolczyk/angular-flickr-gallery | 3b635535cc33d2e79679031afbc4f34fe2f38941 | af6f654aaeb6593c5b1ee96a72d5c3fc302ccc0f |
refs/heads/master | <file_sep>class Contact
{
/*
firstName;
lastName;
address;
city;
state;
zip;
phoneNumber;
email;*/
phoneNumber;
//creating a constructor using var args
constructor(...params)
{
this.firstName = params[0];
this.lastName = params... | 1ac6a976ffaae926c8b394152533b283be75e5d0 | [
"JavaScript"
] | 1 | JavaScript | VishalSingh1597/AddressBookSystem-JavaScript | ec54652857d054ed89e9e2445b34662185a8132f | ff65d6df5bb2c79706408ad5bb48c6a6a3f01ac6 |
refs/heads/master | <file_sep>#include "storage.pb.h"
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
// copied from DecodeStaticClaimTable in
// kythe/cxx/common/indexing/frontend.cc... | d4d257e013e1826d11076c701e4fb8bab5153c11 | [
"Markdown",
"C",
"C++"
] | 4 | C++ | chenshuo/kythe-static | 1826a5091080b5e4b4ba8837cdbadee659600450 | 2ddf0bf19bfaa2a9ada2cb20f58abfe45e79b3ab |
refs/heads/master | <repo_name>odkken/Lite<file_sep>/Lite/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Lite.Lib;
using Lite.Lib.GameCore;
using Lite.Lib.Interface;
using Lite.Lib.Terminal;
using SFML.Graphics;
using SFML.System;
using SFML.Window;
namespace Lite
{
publi... | 48651415cb06e7d4e384f1c35e11a0366dcd3eb5 | [
"C#"
] | 21 | C# | odkken/Lite | 14afab29ac6089cf17541127c125e5b4d1da4b61 | 5447ff3852859b3c8587d5cb4fdcee58b2a69edc |
refs/heads/master | <file_sep># PassCheckr
Simple script designed to try "easy" passwords against
your active directory users. There are two password lists
that will be used:
1. Common - i.e., <PASSWORD>
2. Custom - unique to your organization,
In addition, current month/year combinations meeting
complexity requirements will be incl... | 2d73fbeeee72c4654f8951250aa275bad7017dfb | [
"Markdown",
"Shell"
] | 4 | Markdown | colsok/PassCheckr | 1c936ab52c34e7acc55ac0ccbe6a4e8d7d7d8310 | ab81ba9596a0953cc73f4fe9685214a527785224 |
refs/heads/master | <file_sep>
function Login(){
var phoneNumber = document.getElementById('phone');
var password = document.getElementById('password');
var selectSql="select name from users.user where phoneNumber='"+phoneNumber.nodeValue+"' and password='"+password.nodeValue+"'";
console.log('phon '+phoneNumber.n... | 37b5fa9a2debeb52f517d0fd1fa8434a80f0e3e8 | [
"JavaScript"
] | 3 | JavaScript | humblefly/graduateProject | 029912def3bcc665f74debff68687fc2c30be0c6 | ea8ed63507ed6e3f7c8caef61d3f8509da7d7ff5 |
refs/heads/main | <file_sep>using System;
namespace ConsecutiveOnes
{
class Program
{
static void Main(string[] args)
{
int[] numbers = { 0, 1, 1, 0, 1, 0, 1, 1, 1 };
Console.WriteLine(FindMaxConsecutiveOnes(numbers).ToString());
}
public static int FindMaxConsecutiveOne... | 42803a8e428443e89017bb5027f971b1a004e03b | [
"C#"
] | 11 | C# | kamalcodeag/Draft | b2072545bff6d75f27afd8ed4056cea75ab414ef | e8f35dd33583818d4a533b5097e4db7c0abb7d4d |
refs/heads/master | <file_sep>spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/rea?serverTimezone=UTC
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.datasource.username=root
spring.datasource.password=<PASSWORD>
spring.jpa.database-platform=org.hibernate.... | 7cca0e8ad27664068c1c08db0b2186e0e02ccdad | [
"Java",
"INI"
] | 2 | INI | javalenjara/SpringRealStateAgencyClient | 353a17afc2dc1e3b4c86795bbd5536e0ae9288d1 | e9187c1ea3c376b13048ac8551d18df6d6f33f79 |
refs/heads/master | <repo_name>raccoongang/openprocurement.auctions.lease.rg<file_sep>/openprocurement/auctions/lease/adapters.py
# -*- coding: utf-8 -*-
from openprocurement.auctions.core.adapters import AuctionConfigurator
from openprocurement.auctions.lease.models import (
propertyLease
)
from openprocurement.auctions.core.plugins.... | 32c8911c1f0be560786847be45cb44452737ab38 | [
"Python"
] | 2 | Python | raccoongang/openprocurement.auctions.lease.rg | 217ee010dfde2f4ab1c41d9a44eb18d0523c979b | 4fdc97d86c26748e5942d53b286f5f9c1d055cb3 |
refs/heads/master | <repo_name>nu-match/Diary<file_sep>/app/src/main/java/com/pengin/poinsetia/konkatsudiary/Presenter/PersonContract.java
package com.pengin.poinsetia.konkatsudiary.Presenter;
import com.pengin.poinsetia.konkatsudiary.Model.Person;
import io.reactivex.Single;
import io.realm.RealmList;
import io.realm.RealmResults;
pub... | 3d9d51f44c5c65c11ccf99158e017ddec120d5af | [
"Java"
] | 6 | Java | nu-match/Diary | 93668647c6773db7c4be18d9b30652e2e10f8266 | d085521ef0c68cf70da6c730010fda9d39d56907 |
refs/heads/master | <repo_name>barthclem/QuixEventsAdmin<file_sep>/js/app.js
// Default colors
var brandPrimary = '#20a8d8';
var brandSuccess = '#4dbd74';
var brandInfo = '#63c2de';
var brandWarning = '#f8cb00';
var brandDanger = '#f86c6b';
var grayDark = '#2a2c36';
var gray = '#55595c';
var grayLight = '#818a9... | 31479e9e2f2d740f77d5b96821c4e8d815854823 | [
"JavaScript"
] | 20 | JavaScript | barthclem/QuixEventsAdmin | 63da8756f55ae6e98205969d85c38daa8857bb7a | 9cbea7185706efad07e4ecf58e04e5c80ebce65a |
refs/heads/master | <repo_name>OmikronDelair/ucs-xc<file_sep>/app/controllers/steps_controller.rb
class StepsController < ApplicationController
expose(:step, attributes: :step_params)
expose(:steps)
expose(:songs)
def index
end
def new
end
def create
if step.save(step_params)
flash[:notice] = 'Stepchart has be... | b123cb9f56282534e2c783ad76c7556e945826b2 | [
"Ruby"
] | 7 | Ruby | OmikronDelair/ucs-xc | 8c2c28b993421e44b3eea34e77dd389b823fa157 | 1edf4310bbb7ea4e479112f96004e9c24b9c12f1 |
refs/heads/master | <file_sep>import React from "react";
function About() {
return (
<div className="about">
<div class="container">
<div class="row align-items-center my-5">
<div class="col-lg-7">
<img
class="img-fluid rounded mb-4 mb-lg-0"
src="https://presidencyuniv... | e47a2f3d7292706745ba8a7276e6d6c828f3afa8 | [
"JavaScript"
] | 2 | JavaScript | Likhitha-7/Vac-assign1 | 9632e6cbe50648e9ff1a5233aec85fa1dc7332f0 | fe13ca40f391d227fecf8c5e5c6acfcd0dcea5c4 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class LocationController extends Controller
{
public function show()
{
$user = auth()->user();
return view('location', [
'user' => $user
]);
}
}
<file_sep>## Welcome to BoomerShop<file_sep># b... | 78d2b06af5d239f267b209804365c52e0a800652 | [
"Markdown",
"PHP"
] | 13 | PHP | Huntski/boomershop | 5a6036c12ec5b3be15c8d7f3ae94e510490b271d | bcb4519ad65c701fc0b5f235de8e85729ff358e4 |
refs/heads/master | <repo_name>primavera133/api-species<file_sep>/src/index.js
const API = require('static-api-generator')
const api = new API({
blueprint: 'input/:version/:language/:department/:group/:items',
outputPath: 'json'
})
api.generate({
endpoints: ['version', 'language', 'department', 'group', 'items'],
entriesPerPage: ... | 81801bbffc500176bc924ff16cc75396951a8db9 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | primavera133/api-species | 764864ac142c425070ef669e432c090ccaaecbc3 | 9ed6e2ebbbace8253086f1217797293531a7e43c |
refs/heads/main | <file_sep># WebVR
### <NAME>
#### Dit wordt een website met een webxr er in
## beta 1.0 van website: http://30810@30810.hosts1.ma-cloud.nl/WebVR/Codes/index.html
## de live versie: https://30810.hosts1.ma-cloud.nl/WebVR/Codes/index.html<file_sep>// vergeet niet terug naar 50 te zetten!!
const controls = new Controls(5... | 5feaac883e4e1aa343b749a79a05ccb10dedd57a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | bas-boop/WebVR | ffdaa7662343a765d8718d3f3857444184220a4f | 7fab4f3765ea000aee11dfbe6903782f885c56f6 |
refs/heads/main | <file_sep>import logging
import os
import sys
from graviti import GAS
logger = logging.getLogger()
DATASET_NAME = 'mint desktop background images'
def main():
try:
access_key = os.getenv('ACCESS_KEY', '')
if not access_key:
raise Exception('failed to get access key from environment.... | 9d8469ac41b98b179457aea9d6546eb71fa7fcb9 | [
"Markdown",
"Python",
"Text"
] | 3 | Python | tiangles/graviti-sdk-actions | 0b35ab73269cacc7e38505733c1141aac0520654 | edd7b40af51a283965958adce4fe95b8d4f3bb80 |
refs/heads/master | <file_sep>var database = firebase.database();
firebase.database().ref('/seats').once('value').then(function (snapshot) {
console.log('data updated')
data = snapshot.val();
var localdata = data;
localStorage.setItem("seatingChartData", JSON.stringify(localdata));
initializePage();
seatin... | cfe7f25d87911fadac927dd0b9773400f39206f9 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | natemkelley/CEEn-Seating-Chart | 780fe3e0fcd709d824950e19fa5a8690a1f1de90 | 3863a6edfef4a2b9fc9fe809f8b905b0e391416d |
refs/heads/master | <file_sep>#!/bin/sh
node uzis-rzz.js
<file_sep>
output=$(shell ls -t *.csv | awk 'NR==1{print $1}')
all:
npm run prepublish
run:
@make all
./uzis-rzz
make zip
install:
mkdir cache
clean:
rm uzis-rzz.js; rm uzis-rzz-*.csv; rm uzis-rzz-*.json; rm uzis-rzz-*.zip
zip:
# zip last results
@echo "Creating $(outpu... | 73199274deb88e94665f87bf3e1a5f09a3b05769 | [
"Makefile",
"Shell"
] | 2 | Shell | burningtree/node-uzis-rzz | 5b70554e854cae58c9593feeadb560c58171bd28 | 6349ecc8919ed78734a48c7dc75e09cff4d7e2dc |
refs/heads/master | <repo_name>natesampo/DSA-18<file_sep>/trees/day02/src/TreeNode.java
package trees.day02.src;
public class TreeNode<T extends Comparable>{
public T key;
public TreeNode<T> leftChild;
public TreeNode<T> rightChild;
public boolean color;
public TreeNode(T key) {
this(key, RedBlackTree.RED);
... | 412e2fddb92b51603eba83e0d332e5e0ff93485f | [
"Java"
] | 11 | Java | natesampo/DSA-18 | 1af273e3de83b663b5177066fed4d5c5c57d71dd | c262df19d722592979172bea2db505d04aa86dc6 |
refs/heads/master | <file_sep># @echo off
# rem='''
# set pythonioencoding=utf8
# python -i -x "%~f0" %*
# exit /b
# '''
from pprint import pprint as pp
'iter all items and multi exprs in one line lambda'
ls = dir()
# ls = globals().items()
'None exprs chain'
any(pp(x) or input('press to continue') or print() for x in ls)
any(pp(x) ... | 22eaaa946c8ac11409bad15a0634481ca1fd8845 | [
"Markdown",
"Python"
] | 9 | Python | c1ino/py3toys | 315ec9d53254047e0d8dc93cf98902096f11ad1a | ded66ff8497064e67f615ebcae3315e67a312705 |
refs/heads/master | <repo_name>michael1albq/mimiciii<file_sep>/README.md
# mimiciii Crictical Care Hospital Readmission
Analytics Practicum Project at Rutgers University, New Jersey
# Summary
Our project used the MIMIC Dataset to predict 30 day- critical care readmissions. The machine learning model that predicted whether a patient upon ... | 4ba05f1ec4430e56508b19361756959862deaaaf | [
"Markdown",
"R"
] | 2 | Markdown | michael1albq/mimiciii | 120b440d3caa20dfbaa385734c1f76c356cd093c | 1d56917ba656ac7b39f12a28cc33828b66632d5d |
refs/heads/master | <file_sep>import React from 'react';
import Rebase from 're-base';
import { RouteHandler } from 'react-router';
import Players from '../Components/Players';
import Filter from '../Components/Filter';
let url = 'https://destiny-lfg.firebaseio.com';
let base = Rebase.createClass(url);
class Main extends React.Compon... | 0d75ef216d00feade2593276f04de42a4276adbe | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | philipjc/Destiny_LFG | 193d093d514c121d8936ec81a2ad3db9d129ef6e | f9f83d3be34ee15e4bf27830cfae1ba8a41c1b93 |
refs/heads/master | <file_sep># ios_Projects
Various iOS projects in Swift 3
<file_sep>//
// ViewController.swift
// TimeStartToEnd
//
// Created by <NAME> on 8/10/17.
// Copyright © 2017 JoeSuzuki. All rights reserved.
//
import UIKit
class ViewController: UIViewController, UIPickerViewDataSource, UIPickerViewDelegate {
... | 50356b834fddcf90bc03c2a7c7bf37a565979e73 | [
"Markdown",
"Swift"
] | 3 | Markdown | JoeSuzuki/iOS_Projects | 427771c375f919189534b111eb1fb8903f485ff0 | 8639849e15b29654fb6084b1649a27d9b099661b |
refs/heads/master | <repo_name>vienin/web-paulin-lemelle<file_sep>/bin/update-index.py
# -*- coding: utf-8 -*-
import json
import shutil
import os
if __name__ == '__main__':
index = {}
for current, dirs, files in os.walk("."):
if not "thumbs" in current and not current == ".":
current = os.path.normpath(curren... | d43739e70a1517e57d2a5ee7504b8a88c5405897 | [
"Python"
] | 1 | Python | vienin/web-paulin-lemelle | 513e01c9b82310bd29e3c39c332734e0519a472b | c2cfb385c81832704ef1271324772ef404c4e1d8 |
refs/heads/master | <file_sep>#!/bin/bash
# ceci est un test
cd /home/test
| 5313d1d0a2924b23004d0199a108df9f060e642c | [
"Shell"
] | 1 | Shell | Derioss/test | b54d9e66e4f6139a4ec8b01e0b2a33fc07ab8a4f | 48e56394f285f8b3f4e613bc76ea02a358e6fe92 |
refs/heads/master | <repo_name>clearedTakeoff/Bridge-Reconstruction<file_sep>/README.md
# Reconstruction of bridges in aerial LIDAR point cloud data
**Advanced computer graphics**
**Faculty of Computer and Information Science, University of Ljubljana (2019 / 2020)**
Program that takes a point cloud (.laz file) and shapefile with informa... | 013e457de628e3eda6603d295cff17d8785b950e | [
"Markdown",
"Python"
] | 5 | Markdown | clearedTakeoff/Bridge-Reconstruction | e6f50ca03e4a0a55dab534fed0fdee7b98e9ba75 | ea5b4acfab1fc572900c7c1fbc9ed34b71182cc3 |
refs/heads/master | <repo_name>KuntimaKiala/KNN-Handwritten-Classifier<file_sep>/KuntimaClassifiers.py
import matplotlib.pyplot as plt
import numpy as np
import math
import time
from collections import Counter
import cv2
class KNN :
def __init__(self) :
time.sleep(1)
print ("Initializing K Nearest Neighbor model ...")
print ("... | 061283d4ecaea73a6f89317055697aab23d388bd | [
"Markdown",
"Python"
] | 3 | Python | KuntimaKiala/KNN-Handwritten-Classifier | 00356be8e340477e844a022a65c7646636bdb2e1 | 97f230915dd0691123d72d978949e81f232f2572 |
refs/heads/master | <file_sep>import { hello } from "./index";
describe("index", () => {
it("should export", () => {
expect(hello).toBe("world");
});
});
<file_sep>export { hello } from "@package-name/utils";
<file_sep># Monorepo Starter
Setup the way Charles likes it. Steps to configure:
1. Global find/replace '@package-name' ... | b7f13cdcea7f6d6bf033314ae631c9e5b619414b | [
"Markdown",
"TypeScript",
"JavaScript"
] | 4 | TypeScript | charlesjolley/monorepo | 28ade6f088e0fcacc0c889510d33e5a9a4588014 | 8ce27052bb08824f5ea1c42fdb99f21f020a138c |
refs/heads/master | <repo_name>nehad1992/Triangle-Tracker<file_sep>/__tests__/triangle.test.js
import {Triangle} from './../src/triangle.js';
describe ('triangle with its prototype', () => {
test ('should correctly create a triangle object with three lengths',() =>{
var triangle = new Triangle(2,4,5);
expect(triangle.side1).to... | 189eee613c8d2b6c8c69d8ff553cdd55b5f5c517 | [
"JavaScript"
] | 1 | JavaScript | nehad1992/Triangle-Tracker | d73dc5391cd2b446efc3148bfbdce405d5bbb2cd | 56ecfb03d750f4f4742c3d45771aaab877b143d5 |
refs/heads/main | <file_sep>class Solution:
def merge(self, nums1: List[int], m: int, nums2: List[int], n: int) -> None:
"""
Do not return anything, modify nums1 in-place instead.
"""
remove_length = len(nums2)
while len(nums2) != 0:
temp_num = nums2.pop(0)
index = nums... | 7521a4ec7393cfeb058269aa86d1ab6d27b56139 | [
"Markdown",
"Python"
] | 251 | Python | hoonzinope/git_test | 44bf1f164941e8d0837d534e359425da38c9eb27 | 12a3f745b9ae1d7b5010f801b9b07131dc4f3f88 |
refs/heads/master | <repo_name>LuanaHF/week-9-stringfoo<file_sep>/src/com/company/Main.java
package com.company;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
char [] alphabetArray =
{'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q'... | 9388f903d29c377e22a26962df5b1641584bbcde | [
"Java"
] | 1 | Java | LuanaHF/week-9-stringfoo | 706031fce3f8165b670ce0c4e52472a478af07cf | 185f8269f9c27d0b7ee1002aecc6a5bf302907f2 |
refs/heads/master | <file_sep>public class Mybooks{
public static void main(String[]args) {
Book jammu = new Book("Sandeep,", "Punjab," ," 2019/04/04 ", 77);
System.out.println(jammu);
}
}
<file_sep>public class Sandeep
string Game
{
system.out.println("Hello")
}
| 6ccdf949ae30ecada7e2619c7939e84904a8169b | [
"Java"
] | 2 | Java | jammusandeep/Java | 60e6612b3a61c48b29b43f326652d4a6c35edd9f | c4e87ede59f5419c132dfca7656ef8ab610e40b2 |
refs/heads/main | <repo_name>anBarot/philosophers<file_sep>/.history/philo_two/init_20210602121826.c
/* ************************************************************************** */
/* */
/* ::: ::::::::... | 2a6cdd0a7e2328a4803e23d4429afa92eb6a4fb9 | [
"C",
"Shell"
] | 17 | C | anBarot/philosophers | aa57ad1bb40ddb7a1c3e8b4a172e419194ab0c9a | d42de2d54662dd65742489774180a7de488015d8 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour, IDamageable
{
[SerializeField] float maxHealthPoints = 100f;
float currentHealthPoints = 100f;
public float healthAsPercentage
{
get { return currentHealthPoints / ma... | 9a6b3166c6c5c92bc1cfd43513c2c327a6e9580d | [
"C#"
] | 6 | C# | Marbelous/UdemyRPG | 0ffbe447b50a3b158e2f03b3829be372fc60b259 | a1f448f96dd50f244bd05baf9e28d9c91793d6fb |
refs/heads/master | <repo_name>kastet23075/TestShop<file_sep>/TestShop.Web/Controllers/ShopController.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using TestShop.Application.ServiceInt... | 5da1e3b48b878e803b272467fe0596275acd75a5 | [
"JavaScript",
"C#"
] | 48 | C# | kastet23075/TestShop | 4018388a82bd17b9cda27bd406aab852dd90baab | 063cc8c7c284b56e9aae66eef5a41579f48eec7a |
refs/heads/master | <repo_name>fagan2888/Tax-Cruncher<file_sep>/cs-config/setup.py
"""
setup.py is used to build a light-weight python package around your
COMP code. Add a MANIFEST.in file to specify data files that should
be included with this package. Read more here:
https://docs.python.org/3.8/distutils/sourcedist.html#specifying-the-f... | b2eaa16ba34e87e1a30068515c655802224fef5d | [
"Markdown",
"Python"
] | 4 | Python | fagan2888/Tax-Cruncher | c06fd06ec4d17cc2795f97a6ff088fcd220d3498 | a7d0bd3454463f7ca25613893b8cbe48601aa07c |
refs/heads/master | <repo_name>amasaemi/Euro-Trans-Orders<file_sep>/Курсовой проект/Документы/MySqlQueryToDoc.cs
using MySql.Data.MySqlClient;
using System;
using System.Data;
namespace Курсовой_проект.Документы
{
class MySqlQueryToDoc
{
static public MySqlCommand QueryWarehouseVoucher(MySqlConnection myConnection, strin... | 3392fdb86f2a66c59a795e6ff53eb6f910ba35b7 | [
"C#"
] | 38 | C# | amasaemi/Euro-Trans-Orders | 1497fe3d22fd9ae3439ac32011e85fe86b338180 | d7946a05102a07b0de0bda60918fffd2c6bacd2c |
refs/heads/master | <file_sep>#include <benchmark/benchmark.h>
#include <random>
static void generate_arg_pairs(benchmark::internal::Benchmark *b) {
for (int i = 1 << 2; i <= 1 << 19; i <<= 1) {
for (int j : {128}) {
b = b->ArgPair(i, j);
}
}
}
class FixtureBools : public benchmark::Fixture {
public:
... | 35ae4af2f74a1d22ac6c5d50d5aa165a69a1eb57 | [
"CMake",
"HTML",
"JavaScript",
"Markdown",
"Makefile",
"INI",
"Python",
"TypeScript",
"C++"
] | 56 | C++ | wellrun/ThunderScope | 149b5cfc0c4dd86b5c25ad492407368a48092414 | 13adce6c52e9b37458426a9ac5b60cfaf7f78bbc |
refs/heads/master | <file_sep>/*
* Client-side JS logic goes here
* jQuery is already loaded
* Reminder: Use (and do all your DOM work in) jQuery's document ready function
*/
$(document).ready(function () {
// Take object of tweet data
// Returns a jquery DOM element "$tweetContainer"
// This function has a return
fun... | 9673a85888a769128b71de1082c4f0a97cbcfebc | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | andreamayhirji/tweeter | 67921540914433aa7436cd7b53a893a2b1c61684 | 4abf9112ad186a916a12ce770c203a27b3c2d344 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# coding: utf-8
# In[ ]:
import seaborn as sns
from mpl_toolkits.mplot3d import Axes3D
from sklearn.datasets import make_swiss_roll
from sklearn.neighbors import kneighbors_graph, radius_neighbors_graph
from sklearn import datasets
from cknn import cknneighbors_graph
import scipy
impo... | c5f68413ba7d7dce99ac4cd77c14e70097b7aa9e | [
"Markdown",
"Python"
] | 2 | Python | santiagoparaella/JournalClubAA19-20 | f30d149c8b8df4aa31b46aade11c0f7f60f2ac91 | d1b73b26875e8deb0b049299cfa4a48b625a7bc3 |
refs/heads/master | <file_sep>(function( $ ) {
$.fn.loopScroll = function(options) {
var settingsStuff = { onImgClick : function(){}, direction: "left", speed: 60 },
settings = $.extend(settingsStuff, options),
locked = {};
return this.each(function() {
locked.scrollframe = $(this... | d82e5691f8000b908bfcd30cef2b946c56164ed3 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | slangbergRent/responsive-plugins | 8ab60b9d691b814f0d4163463153b4ec108b0ebd | 2f67fec2c2580c019d61b990a52e42d0e7d1618d |
refs/heads/master | <repo_name>Mizuhara720/Fatec-Lins<file_sep>/Aula 01/aula01.js
function mudatexto (){
console.log("Entrei Na Função mudatexto()");
//alert("minha funcao mudatexto()");
//como acessar um elemento de nosso html?
//classe DOCUMENT tem acesso a toda estrutura da
//da arvore do DOM do HTM... | effd44fd6ae470922de08a861e4b06e64aa3aaf2 | [
"JavaScript"
] | 4 | JavaScript | Mizuhara720/Fatec-Lins | d98555bf4a5796e7f9a7f8f92ffe486ba5f9cbb2 | dec69342471ee84907bc207ba482f11d3f3b1141 |
refs/heads/master | <repo_name>diogo7silva/Site-Academia.militar<file_sep>/app.py
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def root():
from datetime import datetime
horas = datetime.today().hour
minutos = datetime.today().minute
segundos = datetime.today().second
frase1 =... | 2353523f3a4d0dabdfa9fcad553f9df41dd2f3ab | [
"Python"
] | 1 | Python | diogo7silva/Site-Academia.militar | 699b1bbd24f9a08b901eaafa64f2908f174aa8f9 | 3aba21ac17874926be2e31254a2ecbd873ce074a |
refs/heads/master | <file_sep># ASSESSMENT 2: FOUNDATIONS OF JAVASCRIPT
## Interview Practice Questions
### Answer the following questions. First, without external resources. Challenge yourself to answer from memory. Then, research the question to expand on your answer. Even if you feel you have answered the question completely on your o... | 02a2e14980731d81a427aa86a830f323a2ee9af7 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | learn-academy-2019-echo/js-foundations-assessment-2-Jortega23 | 30af027c4c77f797b6424d612a02fda8b4b697b7 | 754a9257a3fa4920e74b5230f8c14124dc0b8240 |
refs/heads/master | <file_sep>package com.mkyong.client;
import com.mkyong.ws.HelloWorld;
import com.mkyong.ws.HelloWorldImplService;
/**
* @see https://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example
* *****************************
* run 'Endpoint' (HelloWorldService)
* cd C:\Program Files (x86)\Java\jdk1.8.0_31\b... | c1b2edecc8554b07f8c899835103481e93ad232d | [
"Markdown",
"Java"
] | 4 | Java | Home-SOAP/tutorial | 27e905eee2befdc62cc5a83bd2413a1875125bf0 | a93b607156a89209a92673c3bf42453c86a2a34c |
refs/heads/master | <file_sep>//
// ViewController.swift
// CheckWork_01_Count
//
// Created by SoichiFurukawa on 2017/07/08.
// Copyright © 2017年 soufuru. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
/*
ある程度コードを書いているので、*****の部分を指示にしたがって書き換えましょう。
コードを書く際はコメントアウトを消すのを忘れずに!
... | d3208d97aa13e3c83a78520f62ac2fe6445589a7 | [
"Swift"
] | 1 | Swift | soufuru/Checkwork01 | 48d6215aba5b76f21359e042ccf2098fc2a388de | a8ab0b7984c17913861af15bfd85376ac23f0823 |
refs/heads/master | <file_sep>fun main() {
// Declaración de variables
// Aqui tienes que definir las variables que se utilizan
// Leo desde teclado la edad del alumno y el mes acutal
println("Introduzca la configuración del programa en este formato: <edadDelAlumno>, <mesActual>")
println("dime tu nombre")
val mi... | 9d9243cc8ea761eca65206e1e80e8202ed155259 | [
"Kotlin"
] | 1 | Kotlin | Benjimg2783/examen1_1DAM_BMG | 016ed2e0520f776fd078627acc9a108e6ece8944 | 76489b0ca85379b79bed98b4591a02e190fc8b2e |
refs/heads/master | <repo_name>MarioHsiao/ModernApplicationFramework<file_sep>/src/ModernApplicationFramework.Modules.Toolbox/Interfaces/IToolboxNode.cs
using System;
using System.ComponentModel;
namespace ModernApplicationFramework.Modules.Toolbox.Interfaces
{
public interface IToolboxNode : INotifyPropertyChanged
{
eve... | bcce7137dd6c0a86791f670bb61cb7fcaaadaeb7 | [
"C#"
] | 170 | C# | MarioHsiao/ModernApplicationFramework | 160f7f19dc302e0be698598dfedfd64ee8a24165 | 0dd1aba448b246f4618b0c3a723e28ab9c093187 |
refs/heads/master | <file_sep># Importing essential Libraries
import numpy as np
import matplotlib.pyplot as plt
from sklearn.datasets import make_blobs
print('Start')
""" Choose the value of k which is the number of
Centers you want in your data """
print("Enter the number of Center you want in the data:",end=" ")
K = int(input())
# ... | 25c7b8583c4b27a0d1412adf948999027ab4a695 | [
"Markdown",
"Python"
] | 2 | Python | frankenstein32/Pizza-parlour-Study | 9e46c3e5459f74a5b774fe7e32700c8b86a73272 | e456559a846af321e2cd5152ffae9a102f0fe538 |
refs/heads/main | <file_sep>#!/bin/bash
git clone https://github.com/theja-m/Data-Structures-and-Algorithms
git clone https://github.com/VicodinAbuser/ZTM-DS-and-Algo-Python
| 9c24d8a6f031310104a2d37f42cf24ef698cc820 | [
"Shell"
] | 1 | Shell | sedillo/sandbox | 756b1029960cf4c0a3a7337c104b214e548e61a6 | 70e1d263039744945cff0fac5dc8a1e7e5ced797 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities;
using Services;
namespace Services {
//-------------------------------- START -------------------------------//
class RentalService {
public double PricePerHour ... | 2903c866d2fe93ab1424d462a6385b8f32fc696a | [
"C#"
] | 3 | C# | CmdBianchi/EXERCISE-01---INTERFACES | d16293d1d93a939dba2a868edfcc042e06db52fe | 6661b08f8fe44a0eea92a72cdc95830eb5bbf59f |
refs/heads/master | <repo_name>Goastcjh/data-structure<file_sep>/HuffmanTree.cc
#include <iostream>
typedef struct node {
int val;
struct node *lchild;
struct node *rchild;
}BiTree;
int main() {
return 0;
}
<file_sep>/BiTree.cc
#include <stack>
#include <iostream>
//#include <conio.h>
//#include <stdio.h>
using na... | 80ef5b2236c83baa5fd689b7369f9ca22ece37ab | [
"C++"
] | 2 | C++ | Goastcjh/data-structure | d346ece1990e33487190d21ec77651742aa76cde | 344063a191ceb436a2e7f182e7463d3307f17fed |
refs/heads/master | <repo_name>weisongwen/ros_class<file_sep>/ivactuator/CMakeLists.txt
cmake_minimum_required(VERSION 2.8.3)
project(ivactuator)
## Find catkin and any catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg serial cv_bridge
image_transport)
#***********************
#****** OpenCV
#*****... | b3cdcf21ed44976fbc7257b0d68ea23b9ccd889d | [
"CMake",
"C++"
] | 2 | CMake | weisongwen/ros_class | a49ded05dc91e17ef697812a6a414fe753737c9b | 643613f3578cfce4a5253712eaf1e1863d5926e4 |
refs/heads/master | <file_sep>use cs45Student06;
db.createCollection ("Hospital" ,{
validator: {$jsonSchema: {
bsonType: "object",
properties: {
hospitalID: { bsonType: "number", description: "Hospital ID (U)" },
hospitalName: { bsonType: "string", description: "Hospital Name (U)"}, ... | 8f436433e9127dcc764a33f4b3338917fcf99799 | [
"JavaScript"
] | 1 | JavaScript | kurtina09/MongoDB | 8108269e5abcbdb862b772978f92431aac31f7d4 | 5e741a962c61fb70c2efde7dd85a758634bea8bf |
refs/heads/master | <file_sep>SELECT * FROM dados_bi.txt<file_sep>insert into sala(`nomeSala`) values ("A01");
insert into sala(`nomeSala`) values ("A02");
insert into sala(`nomeSala`) values ("B01");
insert into sala(`nomeSala`) values ("D01");
insert into sala(`nomeSala`) values ("D02");
insert into sala(`nomeSala`) values ("E010");
ins... | 15525ccef271458bbd3f95b033ee401f69e2b301 | [
"SQL",
"INI"
] | 12 | SQL | caio1511/star | 36477b7bff90ad11a593b6040b2e5fc1715c2abc | 5270e50c2ff9c362d0f49f154ea3cb9f573cd76f |
refs/heads/master | <file_sep>#!/usr/bin/env python
from pwn import *
SERVER = "mustard.stt.rnl.tecnico.ulisboa.pt"
PORT = 10090
POS = 7
s = remote(SERVER, PORT)
s.sendline("%08x|" * (POS - 1) + '%s')
print(s.recvuntil("}"))
s.close()
<file_sep>#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main() {
char file_to_re... | 16c3ab6e578340ccbb01bdfeaf2cf3a3a004cdc5 | [
"Markdown",
"C",
"Python",
"Shell"
] | 46 | Python | Opty-MSc/SS | 2010a7f93fdcaa50f835d827e531dc636abfe299 | d6ddb0cce7069eb6aa60308f4a8e9df8c8d423e7 |
refs/heads/master | <file_sep>To install raspberrypi-gpio-picoborg unzip it an run "install.sh" as root ( sudo ./install.sh )<file_sep>sudo groupadd www-data
sudo usermod -a -G www-data www-data
sudo apt-get update
sudo apt-get install apache2 php5 libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-... | 070c0df542bb75a0210e5b906f13c8ae0e6f5cc9 | [
"Text",
"PHP",
"Shell"
] | 4 | Text | pascaltippelt/raspberrypi-gpio-picoborg | 59c0f26979444bef4759b3c58cab90e86113f962 | abaa27fa4c7488a021884f9979e77049074bc984 |
refs/heads/main | <file_sep>package com.kakapo.squiz.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import android.widget.Toast
import androidx.cardview.widget.CardView
import androidx.recyclerview.widget.RecyclerView
import... | 737019e616be2450231df02a779c2ff21b619128 | [
"Kotlin"
] | 3 | Kotlin | Uwi0/uas_pemrograman_mobile | 3b91743c998f3d0564cacb8bf21c944d24294b8a | 121dce1801a52865a391a1a26e700e77684d0447 |
refs/heads/master | <file_sep># Neural Network Branching for Neural Network Verification
This repository contains all the code necessary to replicate the experiments
reported in the paper: [Neural Network Branching for Neural Network Verification](https://openreview.net/pdf?id=B1evfa4tPB).
## Dependences
* This code should work for pyth... | fbc7fb940dd355f023cb0a6c02b1e2ee9f7718e2 | [
"Markdown",
"Python",
"Shell"
] | 17 | Markdown | oval-group/GNN_branching | 3ad7841220f2540505ac3cce31e4b19f133e4870 | 6add27606b49b27fbcf5717ec93ba77a183a2ce3 |
refs/heads/main | <file_sep>rootProject.name = "KMM SampleApp"
include ':app'
include ':shared'
<file_sep>package com.kmmsampleapp
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.shared.Greeting
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanc... | 1af5557ca6446924ad21615d09c588c6e7bfc5fd | [
"Kotlin",
"Gradle"
] | 25 | Gradle | Shiimaa/KMM-Sample | 90bb589606926055b07fcdcc3f5d01c899a90ef7 | 77a8e91bdfd2627b855089e83bd3ee9dfd0155fa |
refs/heads/master | <repo_name>MIML/TheOdinProject<file_sep>/README.md
# TheOdinProject
Revision for JS, CSS and HTML5
<file_sep>/Carousel/assets/script.js
(function ($) {
var $prev = $('.prev'), $next = $('.next'), $current;
var sectionFrom, $slide = $('.img'), $slideActive = $('.img.active'), $navLink = $('#nav li');
i... | 3b2af86828b33f3ed433c77b392e8de32dd01bd2 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | MIML/TheOdinProject | ebe22aa77937a7727c2c1a4d782fd4524b2f90a8 | 67eb1dbdeca630eb6bd3f99da8eb476f98ae17dd |
refs/heads/master | <file_sep><?php
namespace AllDigitalRewards\Omni;
use AllDigitalRewards\Omni\Request\TokenRequest;
class RequestTokenTest extends AbstractClientSetup
{
public function testTokenRequestReturnsTokenStringResponse()
{
// Setup our mock response body to return the JSON order response.
$this->getM... | a103ca76c05a41d54cef37f9589150d1c90f85ee | [
"Markdown",
"PHP"
] | 23 | PHP | hellhandsfiverr/php-unit-test3 | 58e46bb3b40287275ae09a860cc6b04e21feb90f | b63da23e99aab179ed3775c40dc4aa9675d29cef |
refs/heads/master | <file_sep>#from test_user_class import user
import test_user_class
if __name__ == '__main__':
a = test_user_class.user("cheng",25, 150)
print a.name
a.speak()
b = test_user_class.vip_user("shao",30,160,10)
b.speak()
<file_sep>#include <stdio.h>
#include <Python.h>
void test()
{
}
<file_sep>#coding=utf-8
#!/usr/b... | d8406082fac56651548b697b94f81dff062a027e | [
"C",
"Python",
"Makefile"
] | 7 | Python | hanyingzhong/python | f9078a3b9670f3a6ee059c583424897da8daa333 | 1902a2a74197e3bc414f564a77b3dcdcab790a89 |
refs/heads/master | <file_sep>package saidur.demo.kotlin.database.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import saidur.demo.kotlin.view.login.model.LoginRequest
import saidur.demo.kotlin.view.signup.model.SignupRequest
@Dao
interface SignupDAO {
@... | d3a5e97af5b3373a6856c1d6e4b12c32476044ec | [
"Java",
"Kotlin",
"Gradle"
] | 48 | Kotlin | saidurcse/Kotlin-Mvvm-Dagger-Login | 59df7272df8d2280fa4c4831c5d22848da4d7aa3 | 2311097792a8bb9f7fe7f604d67f75278f42a170 |
refs/heads/master | <file_sep>// load config from.env
require('dotenv').config();
let appInsights = require("applicationinsights");
appInsights.setup(process.env.MICROSOFT_INSTRUMENTATIONKEY)
.setAutoDependencyCorrelation(true)
.setAutoCollectRequests(true)
.setAutoCollectPerformance(true)
.setAutoCollectExceptions(true)
.setAu... | 6700b359c0d3800fffb116537799399f7c244e09 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | tsukashusan/NodeJsApplicationInsightsSample | 0bbab94ffc07339691d95095a31ade08c1a98175 | b2626976c3d3c2f11432c992886cd016ab769533 |
refs/heads/master | <repo_name>ludgo/dsa-project2<file_sep>/zad2-testovac.c
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// find max from a and b
static int maxi(int a, int b)
{
return a > b ? a : b;
}
unsigned long djb2(unsigned char *str)
{
unsigned long hash = 5381;
int c;
while ... | acde6347f380b6334086f56a3fed0e541e9c9f9a | [
"C"
] | 1 | C | ludgo/dsa-project2 | c2615277e19c1590c4b477d08f6e1c38f7b74a73 | b5acb5f42485f158e620d8b880866cc76e983369 |
refs/heads/master | <file_sep># google-login
demo google sso login
<file_sep>const express = require('express')
//const cookieParser = require('cookie-parser')
const app = express()
const port = 3000
const CLIENT_ID = "861609598303-o00osplh8n4jidur6mr6931c8sjikjuu.apps.googleusercontent.com"
const { OAuth2Client } = require('google-auth-... | ff63b2e6a1ca936503d918215b44827a9ded465f | [
"Markdown",
"JavaScript"
] | 2 | Markdown | rogusdev/google-login | efbaedffe87aac1209be18b59ba674b18a18ae07 | 62dfe5f56b83dc925c0a06c84ce109ee32f7c941 |
refs/heads/master | <repo_name>willhopkins/titanic<file_sep>/knn_imputation_12062012.R
setwd("H:/titanic")
library(imputation)
library(randomForest)
library(caret)
train <- read.table("train.csv", header=T, sep=",", stringsAsFactors=FALSE)
test <- read.table("test.csv", header=T, sep=",", stringsAsFactors=FALSE)
numeric.cols <... | 0eb89a77e21c50e46774c526c436b0d239b5c711 | [
"R"
] | 1 | R | willhopkins/titanic | c272f18962495b688a0f05be90b29ed22b8ec452 | 924748dd17180f7fc37f72e6867da9bb11a5bd06 |
refs/heads/master | <repo_name>MosRoman/VideoContent<file_sep>/src/main/java/com/gmail/morovo1988/Service/ContentService.java
package com.gmail.morovo1988.Service;
import com.gmail.morovo1988.DAO.CategoryDao;
import com.gmail.morovo1988.DAO.ContentDao;
import com.gmail.morovo1988.DAO.LanguageDao;
import com.gmail.morovo1988.Entity.C... | c7265032212d91ac17250a63d1678e544adc4f6b | [
"Java"
] | 4 | Java | MosRoman/VideoContent | 786b28c84838154188b9068003a54a3761e5a430 | 7f5d12d29762d83a18c5a84cd4c198e931019997 |
refs/heads/master | <repo_name>dbousque/compose<file_sep>/language/print.c
#include "Compose.h"
void _print_int(int nb)
{
char *str;
int len;
str = _ft_ntoa_base(nb, "0123456789", 10, &len);
write(1, str, len);
_compose_free(str);
write(1, "\n", 1);
}
void _print_long(long nb)
{
char *str;
int len;
str = _ft_ntoa_base(nb,... | 4a7f92a90bc8e5c5e1c7e5073a6f598c64f96e33 | [
"Java",
"C",
"Python"
] | 36 | C | dbousque/compose | 7aee019bee01ea732d344a851f5947ef4d5d3dba | 8b1013f961964952f87715d759db4173f8318d14 |
refs/heads/master | <repo_name>guosen/Volley<file_sep>/README.md
# Android 网络请求示例代码
## OKHttp Retrofit
包含:
1.Okhttp的使用
2.retrofit的使用
3.CoordinatorLayout的 使用
4.重写ViewPage禁止滑动
## RecycleView的使用
-BaseRecycleAdapter自定义可添加头部HeadView
#接入极光推送代码SDK
<file_sep>/app/src/main/java/volley/android/sen/volleydemo/adapter/MyImageAdapter.java
package vo... | 744a4e10c5bfc2d5dac9c50ac1d34a5ab873cea6 | [
"Markdown",
"Java",
"Gradle"
] | 6 | Markdown | guosen/Volley | 3bc45c2f6503942932b3c2e87ff31ab22dee373d | df40f7e43eb4de1307ddd72e3ddfc02b5ab72fdb |
refs/heads/master | <repo_name>Gnanaoly/NewNxttyApp<file_sep>/app/src/main/java/com/nxtty/nxttyapp/Adapters/NavigationListAdapter.java
package com.nxtty.nxttyapp.Adapters;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.support.v7.widget.RecyclerView;
import android.view... | 8145eed5ac2b3695c02042a65c4dc499287664e6 | [
"Markdown",
"Java"
] | 14 | Java | Gnanaoly/NewNxttyApp | f38891a1477c6acd7f27d67ec46f702fa16f6c7b | bcdad213d77e3bf7b751edb2cc91388aa9f57108 |
refs/heads/master | <repo_name>bsnsk/git-dropbox<file_sep>/git-dropbox.sh
#!/bin/bash
dir=$(pwd)
if ! test -f ~/.dropbox/info.json
then
echo "Error: Dropbox not found!"
exit 0
fi
read line < ~/.dropbox/info.json
DropboxPath=${line#*\"path\":[ ]*\"}
DropboxPath=${DropboxPath%%\"*}
DropboxPath=${DropboxPath%/}/
echo -e "Dropbo... | ea4b02d5b7a43c61455ef0ce53b56525b23b5c8a | [
"Markdown",
"Shell"
] | 3 | Shell | bsnsk/git-dropbox | e36d58a6c999c6981323057eb67678c143372e46 | 684c9d159cefca7fe2f019a18ef354097b211e72 |
refs/heads/master | <file_sep>package com.prabhash.codejam.google.year2017.round1A;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class AlphabetCake {
/**
* Greedy Approach to fill Grid Cake in rectangular shapes
*
* @param grid
... | 7688d54a974f706d6d275192ef06f9303888cde6 | [
"Markdown",
"Java"
] | 8 | Java | prabhash1785/CodeJam | 6ada4242088c300a4a82d74e8e8bac4c3e3774c5 | 4c1c8dc076c95112126eb93c9b66c8b8721da757 |
refs/heads/master | <repo_name>tofywing/EarthquakAlert<file_sep>/app/src/main/java/itu/android/csc519_earthquake_92689/callback/TaskCallback.java
package itu.android.csc519_earthquake_92689.callback;
/**
* Created by Yee on 8/19/17.
*/
public interface TaskCallback {
void onSuccess(String data);
void onFailed(String data);
}
... | 62173910be126f90e1c1db6e51b3c02313db8630 | [
"Java"
] | 6 | Java | tofywing/EarthquakAlert | ec663b1ec62e41a27ad18af1fd3b27e1216bef97 | 044b7dfeeca1e41787710f8d54be23432927af0f |
refs/heads/master | <file_sep>var loginApp = angular.module('loginApp', ['ApiModel', 'ngTouch']);
// Index: http://localhost/views/login/index.html
loginApp.controller('IndexCtrl', function ($scope, api) {
$scope.safeApply = function(fn) {
var phase = this.$root.$$phase;
if(phase == '$apply' || phase == '$digest') {
if(fn && (... | ee40606f0eee95965a8589fe265773e897ab0ea5 | [
"JavaScript"
] | 12 | JavaScript | 26medias/oyyo | 584d19a2038ed0ee5becae4ca18b44537156ba87 | bb8d3f8ee6206c3b9b8fe6b4fab8cdd246c84724 |
refs/heads/master | <repo_name>ihven/new_blog<file_sep>/app/controllers/comments_controller.rb
class CommentsController < ApplicationController
before_filter :authenticate_user!, :only => [:create, :destroy]
def create
@article = Article.find(params[:article_id])
# @article.comments.create(comments_param)
... | e57cf1cabadb310da96921f619987803b8eb8af1 | [
"Ruby"
] | 1 | Ruby | ihven/new_blog | e7c820233abe5842d632295cfd524f718c8f15cf | bdddc185495a676733bbd272d98a8ef3b9c82703 |
refs/heads/master | <file_sep>#include"mk_ether.h"
//#include <sys/ioctl.h>
#include<sys/types.h>
#include<string.h>
#include"knet/ethernet.h"
//#include <stdint.h>
extern void mk_ether(struct ether_hdr *hdr, u_int8_t *d_addr, u_int8_t *s_addr){
//struct ifreq ifreq;
//struct sockaddr_ll sa;
//memset(&ifreq,0,sizeof(struct ifreq));
//... | 589dd496f3abd27534dc58366822a9e0de70896d | [
"C",
"Makefile"
] | 4 | C | kawaharasouta/throw_packet | cff5ec94a92cac1c7402b34a78c0a3d04579f570 | c3957799d2b128e9eb64812fdc3417d86ba44f48 |
refs/heads/master | <file_sep>import React, { useEffect } from 'react';
import SpeechRecognition, { useSpeechRecognition } from 'react-speech-recognition';
import { makeStyles } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';
import Paper from '@material-ui/core/Paper';
import Button from '@material-ui/core/But... | c579820289aa9c2ce71f870b52415b3621d126eb | [
"JavaScript",
"Markdown",
"Gradle",
"Python",
"Text"
] | 18 | JavaScript | schezfaz/IVI | 9d9cbcc9b77fa3055fb88d57aade8a4de8c2be42 | be4b19fb9d6244ecd8fe0ae898406cb1eac27c5c |
refs/heads/master | <file_sep># Indian_flag
This python program will design and print Indian flag

<file_sep>import turtle
ws = turtle.Screen()
flagTurtle = turtle.Turtle()
flagTurtle.penup()
flagTurtle.goto(-180, 60)
flagTurtle.pendown()
flagTurtle.begin_fill()
flagTurtle.fillcolor("orange")
flagTu... | 2913a4ed951c68a1219f2a3a6eebc56e62d7a6ab | [
"Markdown",
"Python"
] | 2 | Markdown | hitanshkadakia/Indian_flag | 9c707f237d8753f9a784353afabf75afc8ddc4bc | 7e60fc7befc9919bc3bf2cdf341b37b5b32a933b |
refs/heads/master | <repo_name>vitorTest/pythonic<file_sep>/fromTheDocs/1_pt/lists_pt3.py
#! /usr/bin/env python3
# -*- using: utf-8 -*-
from collections import deque #Fastest queue in multi-universes
import random
#
# LISTS COMPREHENSIONS
#
def tst_list_comp():
list_of_squares = [x**2 for x in range(10)]
list_of_cubes = list(map(lam... | 0ca4602daebe8c7197cff13acad22044ee7c4541 | [
"Python"
] | 10 | Python | vitorTest/pythonic | f302fa5d968c1bcfb929fd11b553a8ccf214c304 | 83dee240583653c74b58900263c9a66ae2ad7be0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.