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>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Lesson13.Gui
{
public partial class Form1 : Form
{
pri... | 763217ef824e1af968848af00b65ef6774780cce | [
"Markdown",
"C#"
] | 64 | C# | sideez/DesignPatternsCSharp | a4bf8fda482dc20c1d31ed47daee2136dbc73028 | b4c1380112e92242f38b833330c3225095f117ee |
refs/heads/master | <file_sep>/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
#include "common_tools.h"
#include <locale.h>
EXTERN_C_ENTER
JNIEXPORT jint JNICALL Java_org_lwjgl_system_libc_Locale_LC_1ALL(JNIEnv *__env, jclass clazz) {
UNUSED_PARAMS(_... | d4ba69b4d251bb7569a4cfed36889f8048918d7b | [
"Java",
"C",
"Markdown"
] | 41 | C | bsmr-java/lwjgl3-generated | ce3a36063cf79a11a729e05c30ec8fb8d60b4185 | 84978a3ceeaab02261d8d78adeae02d917fbb27f |
refs/heads/master | <file_sep>what is next?
- https://spring.io/guides/gs/spring-boot/#scratch
- https://spring.io/guides/gs/spring-boot/
- need to learn more about the endpoints
**NOTE**:
1. Springboot 1.5.x version only works for jdk 1.8.x and below.
<file_sep>package com.jarorwar.springguide.controller.rest;
import java.util.... | 48167c087ca122420af0dddd7a72aa225609ccea | [
"Markdown",
"Java"
] | 2 | Markdown | marvin-min/spring-boot-guide | 4c08cf1729967533b0bdac6ee143da92453f857b | 0efcc979e5154a5be21aae25b40784bbb466e1cf |
refs/heads/master | <repo_name>johney-barthwal/MERN-Online-Book-Store<file_sep>/src/components/Books.js
import React from 'react';
import 'bootstrap/dist/css/bootstrap.min.css'
import '../App.css'
import {Input,InputGroup,InputGroupAddon,InputGroupText,Container } from 'reactstrap';
import BookCard from './BookCard';
class Books exte... | 9799fb8708b683e5b8678828559b7b31f1f96bb7 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | johney-barthwal/MERN-Online-Book-Store | 3c926fc8622d29e9e40d6fb9956fcf0fc0bb9e7f | dff35c2912486ae2282d10b18e7ea697712ae188 |
refs/heads/master | <file_sep>import "./fixed-data-table.css";
var React = require('react');
var ReactDOM = require('react-dom');
var Axios = require('axios');
const {Table, Column, Cell} = require('fixed-data-table');
var SortTypes = {
ASC: 'ASC',
DESC: 'DESC',
};
function reverseSortDirection(sortDir) {
return sort... | a4b189cf170e29d72b6d17cf0c9fd58618316b59 | [
"JavaScript"
] | 1 | JavaScript | baranatmanoglu/MMReport | 59d6e1c0f17fabdd60583d8175f689b8db1f979d | 11d9fa2b86ba1492eaafe2cc6812dc77cf373230 |
refs/heads/master | <repo_name>brunoHoarau/RacketAndBall<file_sep>/README.md
# RacketAndBall
Racket with a ball which bounces on wall and change color, in javascript
<file_sep>/script.js
var dx = 2;
var dy = -2;
var time = setInterval(field,10);
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
canva... | 7771beababc6ac3b0c604dc597ef86eee54fb518 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | brunoHoarau/RacketAndBall | 80df05d9bb2d4f204ea5652e5b553320117966ea | 44672a02f0b9819cb3d1640647b848c467113839 |
refs/heads/master | <repo_name>krathman257/DialogEngine<file_sep>/Reader.py
# reads in a file, parses out dialog
# kblack 4/3/2020
import re
from DialogMachine import DialogMachine
class Reader:
def __init__(self):
self.wd = "./" # working directory where file is located
self.cons = {} # dictionary for concepts
... | 747fa5ee6acb853f53ea581c7872b5b9b026efdd | [
"Python"
] | 5 | Python | krathman257/DialogEngine | 08e3cb19a40c3661d62825c9311aaa42a3fecffb | 4ab3f90367cde80bb9d10c267307f6419e45dde5 |
refs/heads/master | <repo_name>EPAMKarayeva/Logs<file_sep>/InsertionSort/LogAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InsertionSort
{
class LogAttribute: Attribute
{
}
}
<file_sep>/InsertionSort/ArraySorting.cs
using System;
us... | 4ab63585aebc59f8f9b756aa870314821b6d6209 | [
"C#"
] | 4 | C# | EPAMKarayeva/Logs | a8aee28705d0ceb525a92376a10742e5a3109088 | c4a404ad4917dfcc5a7449799425988146eddc7a |
refs/heads/master | <file_sep>#include <stdio.h>
#include <string.h>
#include "qsort.h"
#include "merge_sort.h"
int main(int argc, char ** argv){
printf("Please input a string to sort:\n");
//printf("testing partition of given array:\n");
char test[100] = {0};
char tmp[100] = {0};
scanf("%s", test);
int len = strlen(test);
strcpy... | 6c4351f2f1f3abf748435927771e81b7b00445bb | [
"C",
"Makefile"
] | 40 | C | bixuehujin/algorithms | 145bf56ce2625caa7931bb800d52b8f1cea5bb50 | b1f9646ae7c4a3833fbcc8e8db9c2a193344e873 |
refs/heads/main | <file_sep>const { circleCircumference, circleArea } = require("./circle");
circleCircumference();
circleArea();
<file_sep>let posts = [
{ id: "1633171026249", title: "Kodluyoruz", content: "Selamlar Kodluyoruz" },
{ id: "1633171026210", title: "Patika.dev", content: "<NAME>" },
];
let userData = {
title: proces... | 41248678f26df9ccdfe349fbf39e8fde66e6669a | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | Enes-ets34/patika-node | 3a4c106309a64812678f675c74a8f0d68da301a6 | 50a04c5cd3bb85e4c981d473a4541a160796b738 |
refs/heads/master | <repo_name>Tukamotosan/KuramotoModel<file_sep>/src/KuramotoModel/main.cpp
#include <stdio.h>
#include <omp.h>
#include "Simulator.h"
int main()
{
#pragma omp parallel for
for (int i = 0; i < 10; i++) {
printf("fuckin!! world!!!(%d)\n", i);
}
Simulator simulator;
for (int i = 0; i < 100; i++) {
simulator.exec... | 3b405ceb7ee95cd28908bd2a157bc32f59004eaf | [
"Markdown",
"C++"
] | 4 | C++ | Tukamotosan/KuramotoModel | a6d66a5147bb176e17ad064ab9656f96c6d705cd | 4c784c3a45a955c6779758f31b3a87441fa767af |
refs/heads/master | <file_sep><!DOCTYPE <html>
<html>
<head>
<meta charset="utf-8" />
<title>Ejercicio Notas</title>
</head>
<body>
<form method="post">
<div>
<label for="nota">Nota:</label>
<input type="int" name="nota">
</div>
<button type="submit">Enviar</button>
</form>
<?php
if(!empty($_POST["nota"])) {
... | b084a4327baef531dd4472b69fb1d5569725da8d | [
"Markdown",
"PHP"
] | 11 | PHP | adrianlopezib/php-learn | 91053f88b09679acac4e4fd82cc1a01ae8b98f8f | bc7b2770f1d9c84f47b9418fd0f91eeb58a34937 |
refs/heads/master | <repo_name>shang97/myrepo<file_sep>/README.md
# myrepo
Line added from Github
<file_sep>/吴恩达老师课程/Course1/L_layers_Logistic.py
import numpy as np
import matplotlib.pyplot as plt
#import h5py
import warnings
warnings.filterwarnings('ignore')
# 多层神经网络的参数初始化
def initialize_parameters(layers_dims):
"""
初始化... | 8954b7b205d758d4c66d18688baea8bc18b88e68 | [
"Markdown",
"Python"
] | 3 | Markdown | shang97/myrepo | a04c5123f312070ccb2c2d3f1eb297fd2309b4d4 | 5cd4d156d258aea439d017f1413a1eff970d78cc |
refs/heads/master | <repo_name>fennovj/cad-doge<file_sep>/preprocessing/opticDiscVesselDetection.py
# -*- coding: utf-8 -*-
"""
Created on Wed Apr 22 15:14:26 2015
@author: Bram
"""
import math
import skimage.io as skio
import cv2
from skimage.morphology import erosion, dilation, opening, closing, white_tophat
from skimage.morphology im... | 9a19e0294a68f3a1743e8d78244e7b86ad66bf96 | [
"Markdown",
"Python"
] | 13 | Python | fennovj/cad-doge | 78fe64d5a20c399c4dff096c01a50f6f8b8c881c | 6d8b708754a08256b75cadf91250a34b41e43c6e |
refs/heads/master | <file_sep>import sys
from datetime import datetime
import hashlib
import rsa
class User:
def __init__(self, name, balance=None):
self.name = name
self.balance = balance if balance is not None else 100
self.pubkey, self.__privkey = rsa.newkeys(512)
def send(self, receiver, amount):
... | bdabefc8355f241f92060be364218060a752adb6 | [
"Python"
] | 1 | Python | komlo654/blockchain | dd5d27b9d73af6d3594ade0712ee92b1be1a9de3 | 49ee827c9e94705b3b38bd5b8e8fc43e47aff311 |
refs/heads/master | <repo_name>laksgreen/spinnaker<file_sep>/scripts/2-InstallHalyard.sh
#!/bin/bash
## Install JDK
sudo apt update
sudo apt install openjdk-8-jdk openjdk-8-jre -y
java -version
sudo apt-get -y install jq apt-transport-https
## Install Halyard
curl -O https://raw.githubusercontent.com/spinnaker/halyard/master/install/deb... | cb55b8a2c8d4473541fe54f97189120bcc88b08f | [
"Shell"
] | 3 | Shell | laksgreen/spinnaker | bf052848f4c5f03cf4357544979067385f935087 | 524d9978675d9a77af6bb9ea15fa1587eef1acec |
refs/heads/master | <repo_name>sciencemanx/jlpt-flashcards<file_sep>/README.md
# jlpt-flashcards
Automatically create flashcards for different JLPT levels
<file_sep>/src/flashcards.py
#! /usr/bin/env python3
import os
import shutil
import genanki
import requests
from vocab import get_vocab, JLPT_LEVELS
MODEL_ID = 654321
DECK_BASE_ID =... | 498bbaf0bbf3ab6a05dcb2211fcce5b3ebff459c | [
"Markdown",
"Python"
] | 4 | Markdown | sciencemanx/jlpt-flashcards | b0f7b7f8e4a7efe3959b64897a5a598e1abc83b2 | ce66bdc6bca040b64461020ee7193cd5f06c9d79 |
refs/heads/master | <repo_name>wlcumt/cattlewl<file_sep>/code/iaas/api-logic/src/main/java/io/cattle/platform/iaas/api/filter/instance/InstanceOutputFilter.java
package io.cattle.platform.iaas.api.filter.instance;
import io.cattle.platform.core.addon.HealthcheckState;
import io.cattle.platform.core.addon.MountEntry;
import io.cattle.plat... | 246b34f2ffa533af7dd82641dab72ccb4112edde | [
"Java"
] | 2 | Java | wlcumt/cattlewl | d709bde3a0d7cb17b6a8a1bb4685681330bc625a | 38962c34b22c6d27579e74da123655c621ae4928 |
refs/heads/master | <file_sep>
<div class="pix_section pix-padding-v-85 gray-bg" id="section_call_to_action_1" style="display: block; margin-top: 60px">
<div class="container">
<div class="row">
<div class="col-md-12 col-xs-12 col-sm-12 column ui-droppable">
<div class="pix-content text-center">
<div class="pix-margi... | efe2a0ac7a91ae657d7dd82e5be1c91c61b278d0 | [
"JavaScript",
"PHP"
] | 19 | PHP | clementcros/portail-client | 8a374e9d6e635226b690092efc53d5d935354ec1 | c6ca5c6894e2d7aa239b37ccecf0df32277d4aac |
refs/heads/master | <file_sep>package entra21.java.coneccao;
import java.sql.Connection;
import java.sql.DriverManager;
public class Banco {
private static Connection coneccao;
public static Connection conectar() {
try {
Class.forName("com.mysql.jdbc.Driver");
coneccao = DriverManager.getConn... | 4713f180a3a93a06455f24bf21d3f36b2390e241 | [
"Java",
"SQL"
] | 3 | Java | MarcioAugustoInkster/Macarrao | 3e87c86ece8f59799cacd5447003039d53b37956 | f743296e6a9e67f024f2c27826ee4e713699a571 |
refs/heads/main | <repo_name>ashishbehera/ReactJS-Basics<file_sep>/src/AppComponent.js
//import logo from './logo.svg';
import './App.css';
import { ClassComp, ClassComp1 } from './components/ClassComp';
import FunctionalComp from './components/FunctionalComp';
import Click from './components/Click';
import Counter from './components/Co... | 7b8ee38d6a48777890d5d28572000ad4423d1c90 | [
"JavaScript"
] | 1 | JavaScript | ashishbehera/ReactJS-Basics | 8b5f271d12c27f6ff21189a234d1ace32054fe83 | 182b4e7aec6a27f2bdd8098f723ab3fc79180dcf |
refs/heads/main | <file_sep>DROP TABLE IF EXISTS players;
CREATE TABLE players (
id text,
name text
);
INSERT INTO players (id, name) VALUES
('bilbo', '<NAME>'),
('gandalf', 'Gandalf, il mago bianco'),
('aragorn', 'Aragorn, figlio di Arathorn'),
('sauron', 'Sauron, il signore di Mordor');
DROP TABLE IF EXISTS games;
CREATE TABLE ga... | c5f4f0af48b1565ed55c4895482bb86519d5ff7a | [
"JavaScript",
"SQL",
"Python",
"HTML"
] | 4 | SQL | MartinaBrescini/prisoners_dilemma | 61478c00083a73fefa31cf5920bd26bb98240d21 | 3831eae8504dc44b26e35cd3f86faf683a7ef403 |
refs/heads/master | <repo_name>yinkeet/kubesh<file_sep>/library/aks.py
from subprocess import PIPE, call, check_output
from typing import List
from library.common import WrapPrint, load_environment_variables
from library.kubernetes import Kubernetes
from library.environment import NameFactory
class AKS(Kubernetes):
def __init__(self... | ba7d7ccd7e684277e644d1afe8acfacdf7d1d81e | [
"Python",
"Text",
"Dockerfile",
"Shell"
] | 15 | Python | yinkeet/kubesh | 1994beb62a726c9413bc89a20befe51ad6da601d | dd3689753d2d0c288efd5a2ecdcce00189320f15 |
refs/heads/master | <file_sep># -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "lamp" do |lamp|
lamp.vm.network :private_network, ip: "172.21.12.10"
lamp.vm.box = "ubuntu/xenial64"
lamp.vm.hostname = "lamp"
lamp.vm.synced_folder "./html", "/var/www/html"
end
... | 0f410b2d6111779498534a4fcb73194cc8002f45 | [
"Markdown",
"Ruby",
"Shell"
] | 3 | Ruby | santoadji21/Vagrant-Create-Lamp | 1597791b185eb27544dc8da46672f00354a193f8 | be5d5d9e1cf8e92fbc8172efec36fb8b106e809a |
refs/heads/master | <repo_name>thesyncim/go-tarutil<file_sep>/README.md
go-tarutil
==========
tar utility to compress directories
<file_sep>/archive.go
package tarutil
import (
"archive/tar"
"fmt"
"io"
"os"
"path/filepath"
"strings"
)
type MakeTar struct {
Input string //directory or file
TarWriter *tar.Writer //
Tar... | b3c2c073b15a604f4b262faa4cfb160f62e90d1b | [
"Markdown",
"Go"
] | 2 | Markdown | thesyncim/go-tarutil | 9a4011636ac2991f65e43f82fbb41a720cd1e63f | 59f1d7c11bf37f5033b57f3a1d41ae9771c3c498 |
refs/heads/master | <file_sep>export const ROUTES = {
main: "/dashboard",
users: "/users",
agents: "/agents",
maintenance: "/maintenance",
category: "/category",
activity: "/activity",
publication: '/publication',
orders: "/orders",
customers: "/customers",
inventory: "/inventory",
};
<file_sep>import { DrawerItem } fr... | 8533d17eb8499cce2d8d4d53bacfde18844f3e9b | [
"TypeScript"
] | 2 | TypeScript | DavidAkinJames/Gains-FrontEnd-Task | 8cc7b2ab26da5a8a5e1560e16832164be1a220f1 | 9b59e28075a8d19224d5b2b9b102643cd40b8eaf |
refs/heads/master | <repo_name>irori/BlokusFS<file_sep>/src/Makefile
FUSEFLAGS = $(shell pkg-config fuse --cflags)
FUSELIBS = $(shell pkg-config fuse --libs)
CXXFLAGS = $(FUSEFLAGS) -O2 -Wall
blokusfs: blokusfs.o board.o opening.o piece.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(FUSELIBS)
piece.cpp: piece.rb
ruby piece.rb >$@
blokusfs.o: blokus... | f56ba5cf9c48bc43d3ce7b6643b1ed103aeb5363 | [
"Makefile",
"C++",
"Shell"
] | 6 | Makefile | irori/BlokusFS | 3d280651a50094ba6901f4753343510fadc74077 | 90ca07f6c80a023edf4552fb839f25c97c46ca0f |
refs/heads/master | <file_sep>package io.github.hobbstech.fuel_station_locator_backend;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class FuelLevelUpdateRestController {
p... | 799bbc2a4e1f1b99613a510b897ca2d14fd7194a | [
"Java"
] | 1 | Java | hobbstech/fuel-store-locator-backend | aaf165f1cfd27b2e3b1d0d2f39867a0300c3caa6 | 9a50c8e31dec09d89c8816b1ecef7e90f3de1091 |
refs/heads/master | <repo_name>TThanushan/space-td<file_sep>/Space TD/Assets/Assets/Scripts/SpawnerScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnerScript : MonoBehaviour {
public static SpawnerScript instance;
public Transform spawnPosition;
public EnemyType[] e... | 7334ff58881c84e5195956107434da57988378f8 | [
"Markdown",
"C#"
] | 24 | C# | TThanushan/space-td | 33c96339060162f87304c90e9e3a5a31a90f011d | 2bf54e44ad7aefb604d0995fdbc9da9b906a06fc |
refs/heads/master | <file_sep>//1 导包
const express = require('express');
const router = require('./router');
const bodyParser = require('body-parser');
//2 配置包
const app = express();
//3 路由配置
app.use('/public',express.static('./public'));
app.use('/node_modules',express.static('./node_modules'));
app.engine('html', require('express-art-te... | 5639fa8d3792e78de3f50eb4e36956b217341201 | [
"JavaScript"
] | 1 | JavaScript | Cherries-tong/newssql | ecd35bbe4d4dc2ff6c0dbf4f407e8431bccf4a4c | c3329f91123c32d1a319ccb0b8ca2131e200e373 |
refs/heads/master | <repo_name>faskowit/app-hcp-acpc-alignment<file_sep>/hcpAlignACPC.sh
#!/bin/bash
## This app will align a T1w image to the ACPC plane (specifically, the MNI152_T1_1mm template from
## FSL using a 6 DOF alignment via FSL commands. This protocol was adapted from the HCP Preprocessing
## Pipeline (https://github.com/Wash... | 08b006f00181303cc4d8693f0e5eec4b08c6bed3 | [
"Shell"
] | 2 | Shell | faskowit/app-hcp-acpc-alignment | 936b8b2da3166ca39c57999fe5487b8e6715ff92 | 0f9fdc33976c9f588dd3b629f598d06a5b93bf51 |
refs/heads/master | <repo_name>IdanAvior/Trivia<file_sep>/README.md
# Trivia
A trivia app for Android users
<file_sep>/app/src/main/java/com/avior/idan/trivia/TriviaScreen.java
package com.avior.idan.trivia;
import android.content.Intent;
import android.graphics.Color;
import android.preference.PreferenceActivity;
import android.support... | c66abb30e13390dd283bcd32d0a763fd516dccac | [
"Markdown",
"Java"
] | 4 | Markdown | IdanAvior/Trivia | a172b15c2f2c8a7be067b2b59c255954c5be9d3d | 9da9d0caca795ab911924408358301b3fc7bf6da |
refs/heads/master | <repo_name>bumkaka/modx.evo.custom<file_sep>/manager/includes/extenders/modifiers.extenders.inc.php
<?php
if (class_exists('modifiers') ) return;
class modifiers{
public function parse($output, $key, $modifiers){
global $modx;
if ( !preg_match('/^\.*-*_*\w*\d*(:)/mi',$modifiers) ) return $output;
if (pr... | 05536c860821d8d3b8094cc73093f1c77a5c9af4 | [
"PHP"
] | 2 | PHP | bumkaka/modx.evo.custom | 2197a483b195d64cc7d466ecae3d558ac840dba5 | a857700f8a0a834bd141181f4de32cd0e1c2d0e4 |
refs/heads/master | <file_sep>WTForms~=2.3.3
Flask~=2.0.2
redis~=3.5.3<file_sep>$().ready(function() {
initLeftNavHeight();
initMenu();
})
/**初始化左侧导航栏高度**/
function initLeftNavHeight() {
initHeight();
function initHeight() {
var total = document.documentElement.clientHeight;
var topHeight = $("#top").heig... | fbdcb62e74c293a7ce9b1685cebd63aeac11bcb9 | [
"JavaScript",
"Python",
"Text"
] | 8 | Text | AGJooJo/carManagerSystem | fec33a7d38d41dadf800e62734d71c433c3d84db | 78f81d799bb566dd64befca54ea35f36950459bc |
refs/heads/master | <repo_name>phase/TransformersMod<file_sep>/src/main/java/fiskfille/tf/common/item/ItemBassBlaster.java
package fiskfille.tf.common.item;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.command.IEntitySelector;
import net.minecra... | a62427446f5bde5770b361885a8fa68bf7b3e446 | [
"Markdown",
"Java"
] | 70 | Java | phase/TransformersMod | eb996e68bbf595d1a2bcef7b2fc86867d84dec7a | 9e170fc5357956de54b979d91c6713a3c8c0c45b |
refs/heads/master | <repo_name>DiegoZavallo/TE_Discovery<file_sep>/6.5_ideogram.R
install.packages("devtools")
library(devtools)
devtools::install_github('TickingClock1992/RIdeogram')
require(RIdeogram)
data(human_karyotype, package="RIdeogram")
data(gene_density, package="RIdeogram")
data(Random_RNAs_500, package="RIdeogram")
head(hum... | 2ce6f630d0b344f5bf9a09c4827015ed732b7f29 | [
"Markdown",
"Python",
"Text",
"R",
"Shell"
] | 8 | R | DiegoZavallo/TE_Discovery | 93d63d562bb8b798f096185efb9c972c09510f9e | 6399aa375afed9090b3f9e50db112888ac1c728f |
refs/heads/master | <file_sep>import React from 'react';
import './style.css';
const Footer = () => {
return (
<div className="footer">
<p class="footertext">When the need for better results overcomes the fear of change, we can help.</p>
<a href="https://twitter.com/artemissearch" target="blank"><img src="asse... | e9e291896f9a62db975f7dd0b6050ca116a0e37c | [
"JavaScript"
] | 7 | JavaScript | morganmcpeak/artemis2 | 112946b5b31eec69154b6981bec7668b45ef1703 | 0c62939dbaec146937eae661cfa1dfc99b5f776d |
refs/heads/master | <file_sep><?php
include_once 'business.class.php';
$datoscrudos = file_get_contents("php://input"); //Leemos los datos
$datos = json_decode($datoscrudos);
$lista = DB::getDataSecureLike('%'.$datos->Buscar.'%',$datos->Opciones);
for ($i = 0; $i < count($lista); $i++) {
$lista[$i]['imagen'] = ... | 95655282af30dac726d9b8f1d272d58e9af35db9 | [
"Markdown",
"PHP"
] | 15 | PHP | NSRdev/Canarian_Webshop | 3f065e3490d048051a5cbbd8e2bdd73d0cd9a609 | 5d849ecbdba9a9ac751d781a9ec9849ddaddf604 |
refs/heads/master | <file_sep># ToKindle
### 推送文件到Kindle的工具,支持包括中亚地区在内的所有用户
#### 虽然亚马逊已经推出了向Kindle推送文件的SendToKindle插件和客户端,但是却都不支持中亚地区的用户,推送文件时只能手动发送邮件,不免有些麻烦,这款ToKindle工具的目的就是方便用户发送附件,只要在使用前配置好使用时一个命令就能搞定。
#### 本工具已用qq,163,126,gmail邮箱测试过,都可以正常实现文件到kindle设备的推送
___
### 环境要求
保证Python版本>=2.6,可使用`python -V`查看
### 如何使用
1. 首先`git clone <EMA... | cec2484d7b3449dacf27324805743cd83b2ff251 | [
"Markdown",
"Python"
] | 3 | Markdown | imasimpleboy/ToKindle | 09f9903a1c98ac46203996f7d6025ce2a3ff5c83 | 7616833d59bcb7cd527aaeb71a7fc3805fe20471 |
refs/heads/master | <file_sep>#!/usr/bin/python2.7
#
# Assignment2 Interface
#
import psycopg2
import os
import sys
import Assignment1 as a
# Donot close the connection inside this file i.e. do not perform openconnection.close()
#range__metadata = RangeRatingsMetadata
#roundR_metadata = RoundRobinRatingsMetadata
#rangetablepartition = ra... | 8090538c55eb4a60eccdec6d00de69371a9ae69a | [
"Python"
] | 1 | Python | saiteja93/Range-and-Point-Query-PostgreSQL | 2fb5720ab14b4245ec23e85325f9a186eec10b7b | 7bb982806f9331abc85b485d53433ab23792e2d9 |
refs/heads/master | <file_sep>package datos;
public class Coordinador extends Solicitante {
public Coordinador(String Identificacion, String Nombre, String Apellidos, String Correo, String Telefono) {
super(Identificacion, Nombre, Apellidos, Correo, Telefono);
}
public void verSolicitud(int codigoSolicitud)... | 8b8764405c185cfecccff4f81108f92de661aa19 | [
"Java",
"INI"
] | 19 | Java | luisdiego19/NewTest | 3aa94a506f340a5dd06cf10edd359c089ecd0f1c | ed27a8f5f9d5d11d7dbe0e5a8fb0bd0c727272fe |
refs/heads/master | <repo_name>mrSlack/steps-OnTimer1<file_sep>/steps-OnTimer1.ino
#include "TimerOne.h"
#include "Step.h"
byte i;
const int stepsPerRevolution = 200;
Stepper secStepper(stepsPerRevolution, 13, 12, 11, 10);
Stepper minStepper(stepsPerRevolution, 9, 8, 7, 6);
void setup() {
i=0;
Timer1.initialize(200000); ... | 28cffd589f5b81ba248317dcd24d142f18457c1b | [
"C++"
] | 1 | C++ | mrSlack/steps-OnTimer1 | 2c4db5e8068e9c10b862849e4dd0ee6abb97ab9e | 8bef0edd7206e8da807942da9877cc686db56ce1 |
refs/heads/master | <file_sep>package com.android.raspicontrol;
import com.android.control.Function;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import a... | af1b1cd0825e75d2f3c749ef631197293911fdce | [
"Java"
] | 1 | Java | trongnhanuit/RaspiControl | b6fcedeb6209bf9eecbb16c247cd697976acc05b | fcdd70cbba441fb4b85d6b24edb38b035cbf02ab |
refs/heads/master | <file_sep>import numpy as np
import scipy.optimize
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(
rc={
"grid.alpha": 1.0,
"grid.color": "black",
"grid.linestyle": "-",
"grid.linewidth": 0.1,
"axes.facecolor": "white",
"axes.titlesize": 20.0,
"... | f1feb1e6485fc5f74cd747bc06054b46627a4c5e | [
"Markdown",
"Python",
"Text"
] | 5 | Python | pvilar/predict-covid-cases | a5b82534bd85a8f908effdc99d5e63b3a07272be | 79477b643fea5b5c260c7bfda0604b00b33c5fab |
refs/heads/main | <repo_name>AssTrahanec/BmpDownscaling<file_sep>/Project9/BitMapInfoHeader.cpp
#include <iostream>
#include "Converter.h"
#include "BitmapInfoHeader.h"
using namespace std;
void BitmapInfoHeader::parse(char* bytes) {
bisize = Converter::getuint32(bytes, 14);
width = Converter::getuint32(bytes, 18);
height=... | c83ea169be4677f23f1a4815776bfa1d85af3233 | [
"C++"
] | 11 | C++ | AssTrahanec/BmpDownscaling | a18595ec0f49ef6468b52c9e762da8d143251ec0 | 0093beab73535b43a4126fad6935bde6ca1c79f2 |
refs/heads/master | <file_sep>#!/usr/bin/Rscript
#Description: This script runs in a bash terminal. you must supply three positonal arguments
# 1. 4D Nifti Dataset
# 2. Binary Roi mask
# 3. Desired ouput file name
### commands that will make possible interaction between bash and R
args <- commandArg... | c9c0f0209b17476ec3ae4d5b90bc979fbfb57b8c | [
"Markdown",
"R",
"Shell"
] | 3 | R | alffajardo/mri_data | 97f97ddce4ec310fc7ac30e52f0dcea77a1ee832 | 3093704c67538ffa226db8f4b498f5e17f2dc7af |
refs/heads/master | <repo_name>totycro/requests-builder<file_sep>/src/components/wms/WmsRequestPreview.js
import React from 'react';
import { getWmsUrl, getFisUrl } from './wmsRequests';
import { connect } from 'react-redux';
const WmsRequestPreview = ({ wmsState, requestState, mode }) => {
const url = mode === 'WMS' ? getWmsUrl(wmsSta... | 1c64bc86ac82583badb5ebe08a02a09c204eee09 | [
"JavaScript",
"Dockerfile",
"Shell"
] | 69 | JavaScript | totycro/requests-builder | a67d312f613f6c36ee36e358d11dbfc794bb6f6d | fbe7b31771443e0fe22a1805c49bfa82b762af65 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using ShoppingCa... | 6fc47b8598d1eeaa0fa8c4425af84135fd69131b | [
"C#"
] | 1 | C# | Neil-Mayo/SecuringApplications | 68c4331de21d9a4e872cf4534e3191177dc7c4c0 | e4fa286f3913bfd84fa0d5b42ef2a6f5d87705f5 |
refs/heads/master | <file_sep>from django.shortcuts import render,get_object_or_404
from .models import Post
from .models import Comment,Profile
from django.core.paginator import Paginator,EmptyPage,PageNotAnInteger
from .forms import EmailPostForm,CommentForm,SearchForm
from django.core.mail import send_mail
from taggit.models impo... | 701872a917e42a2258cb0b0469e973f5ffee3518 | [
"Python",
"Text",
"HTML"
] | 12 | Python | Emmanuel-code/mySite | 04b7513369eff8774139ffe192bd8a69361aa738 | 8aa70b090569c1904684bdc728664ce2356cc062 |
refs/heads/master | <file_sep>package poker;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Card {
private String hand;
private int value;
private char suite;
public Card(String hand, int value, char suite) {
super();
this.hand = hand;
this.value = value;
this.suite = suite;
}
p... | f596d90f8b81deec176944eff17d13acdaaede34 | [
"Java"
] | 1 | Java | EidAlrabadi/Kata-Poker-Eid-Alrabadi | a87221af5a24a72c54774e1aa09127f55ca7c044 | 5174b0b420b45137edbc0828d822e410b247824d |
refs/heads/master | <repo_name>dasnonap/Cars<file_sep>/src/app.module.ts
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { CitiesModule } from './entities/cities/cities.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Cities }... | bfe104097f20d4cf72c8b380cce963773a3ebb8b | [
"TypeScript"
] | 62 | TypeScript | dasnonap/Cars | c91652b9d1de46ccae8ccc80dd543a0855bbf398 | 67024e2ec3bc7641b6c43e6de1d70f4fc4fd2ea1 |
refs/heads/master | <repo_name>AAGAN/twoPhaseSimulationInternProject<file_sep>/articles/readme.md
all the research articles related to this project
<file_sep>/weeklyReports/Week 1.md
# Week 1 Report (10th June-14th June)
## Literature review
### Different types of Fire suppression systems under consideration
#### 1. SAPPHIRE® PLUS 70-B... | e8bae409b1b92fa8ca98d7c7ef18b5e0d4c78e13 | [
"Markdown",
"Python"
] | 10 | Markdown | AAGAN/twoPhaseSimulationInternProject | 3189dda721a26223c05ae06d3824fd9d892a4f88 | abf3ade87d9f935631f5d6275af8e2ce03c0a885 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
namespace OnTheWay_Models.Trips
{
public class Trip
{
public int MyProperty { get; set; }
}
}
<file_sep>using System;
namespace OnTheWay_Services
{
public class Class1
{
}
}
<file_sep>using Microsoft.Entity... | d2bda18864773bf3df27453ca317717b9c40343c | [
"Markdown",
"C#"
] | 11 | C# | kvadrat4o/On_the_Way | fd5c08e8ab410ae08966ce6ee26c3eb8433bfc1f | b07b6991b2a4be5f9f01c24aa934d08aca818150 |
refs/heads/master | <file_sep>//
// ViewController.swift
// webviewex
//
// Created by i mac on 2016. 11. 13..
// Copyright © 2016년 goplayzig. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var myWebView: UIWebView! //웹뷰
let stringURL = "https://www.google.co.kr" //URL 을 나타내는 문자열... | 94b4c52356e6e529ac3f13b2baedf6a0d79b71ff | [
"Swift"
] | 1 | Swift | goplayzig/WebView-ex | ab956cadada56aa27c009d1c635e17d527111239 | 923e36ded2f500f6350846afb2efadbeeec05d8b |
refs/heads/main | <repo_name>RenatoasMedeiros/MedicalChat<file_sep>/Back/src/MedicChat.Domain/model/Medico.cs
using System;
using System.Collections.Generic;
using MedicChat.Domain.Identity;
using Microsoft.AspNetCore.Identity;
namespace MedicChat.Domain.model
{
public class Medico : IdentityUser<int> // O médico é um usuario para ... | d95c7c34df0a2dd9d716a725b1e5421b6c14c9e2 | [
"C#",
"TypeScript"
] | 47 | C# | RenatoasMedeiros/MedicalChat | 4ff4ad93ddb3d4ac7c3dee3ef3effe4072922c60 | 7d2b86324928ef5b0b73ce980d478142b235dc1f |
refs/heads/master | <file_sep>nome = input()
salario = float(input())
vendas = float(input())
comissao = vendas*15/100
print('TOTAL = R${:.2f}'.format(salario+comissao))
<file_sep>n = 10*[0]
v = int(input())
for i in range(len(n)):
n[i] = v
v = v * 2
print(f'N[{i}] = {n[i]}')
<file_sep>n = int(input())
horas_trab = ... | b1bd72898b2a1cd37650edcb2f5e42775f036bba | [
"Python"
] | 21 | Python | NataliaTavares/Exercicios-URI-Python | 98687758cd89fc6a397534c89c43b80e10816d8d | 55c0cc13c322a570175fc66411467bff817734b8 |
refs/heads/master | <file_sep>package com.w17714m.biblioteca.infraestructura.configuracion;
import com.w17714m.biblioteca.dominio.repositorio.RepositorioLibro;
import com.w17714m.biblioteca.dominio.repositorio.RepositorioPrestamo;
import com.w17714m.biblioteca.dominio.servicio.bibliotecario.ServicioBibliotecario;
import org.springframewo... | b14f6ab175554e29b6714bbba334e262012bb099 | [
"Java"
] | 4 | Java | w17714m/biblioteca | 64c1c7fab492496080c3dc379d1574347437b8ce | 5b63b88fad79e333ec13289d9421c4aeed680f85 |
refs/heads/master | <repo_name>travelingspace/currencySite<file_sep>/routes/index.js
var express = require('express');
var router = express.Router();
var exchangeRates = require('../model/currencyDB');
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });
});
/* GET about page. */
r... | e7714c53108706d0c59ba1528c149522fbefb7e5 | [
"JavaScript"
] | 1 | JavaScript | travelingspace/currencySite | af51a01c3be02386bfcaab99142b7cc1b781f267 | 53be7cd227fdf30fff3c2cb4c50115ee86b7882a |
refs/heads/master | <file_sep># Your code goes here!
class Anagram
attr_accessor :word
def initialize(word)
@word = word
end
def match(words)
matches = []
word_array = @word.split("").sort
words.each do |word|
original = word.split("")
sorted = word.split("").sort
if sorted == word_array
... | 631a6860c4de2b2db2c63c41a2c5a03d367eb151 | [
"Ruby"
] | 1 | Ruby | tomasperez10/anagram-detector-onl01-seng-ft-061520 | a8df0df057e36e8c96a1f10deeb5509881599b12 | 16833652daea2f7507594e42fcbd234b8fa69574 |
refs/heads/master | <file_sep># MedTask
Чтобы запустить проект нужно:
1) В папке с файлом main.go нажать SHIFT+пкм и запустить командную строку.
2) В командной строке ввести следующую уоманду: go run main.go.
3) Перейти по адресу: http://127.0.0.1:8080/all
4) Чтобы просмотреть отдельно категории и медикаменты нужно:
4.1 Перейти по ад... | f4a2aedec9f863f16c44cff8e265b91a07412f6e | [
"Markdown",
"Go"
] | 2 | Markdown | kykisplin/MedTask | edeb154d04032b7365e8507bb1c312bc31f587bf | a90172594dbb8f08e5be2223636ff6a2bf7ef269 |
refs/heads/master | <file_sep>var ARGOS = {
DESENV_SERVERS:{
ABRILSAC:[
'JBDEV11',
'JBDEV23'
]
},
HOMOLOG_SERVERS:{
ABRILSAC:[
'JBHOM23',
'JBHOM34'
],
CLUBE:[
'JBHOM04',
'JBHOM09'
],
ASSINE:[
... | 618c8431610851c6812af42c6d26c8d407d8d6c5 | [
"JavaScript"
] | 1 | JavaScript | carlosvos/argos | 19d6fc070be3e1fb5ef436440988228d4e0aeea3 | 6ccc7a580ab1b16d7906dd09f26fcebd9455f2ff |
refs/heads/master | <repo_name>dxahtepb/ifmo-algo-is<file_sep>/Sem6_Lab_1/is_not_orgraph.py
def check_graph(matrix):
for i in range(len(matrix)):
for j in range(len(matrix)):
if matrix[i][j] != matrix[j][i] or (i == j and matrix[i][j] == 1):
return 'NO'
return 'YES'
if __name__ == '_... | aa575026c00001180b22354ee1f0ca3db24ea499 | [
"Markdown",
"Python",
"C++"
] | 54 | Python | dxahtepb/ifmo-algo-is | 81610fc86302a71e5f5b9df0f047a6ded66b186d | 17b394637e8b0e530134dfc6b12fe71245b10702 |
refs/heads/master | <file_sep>package processor;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// just infinity loop, it'll stop when user input 0
while (true) {
boolean move = Menu.chooseAction();
if (!move) {
break;
}
... | 0a6ad0e26b620303a045324aa2ee22f56e0acac3 | [
"Java"
] | 2 | Java | Kageho/Numeric-Matrix-Processor | 4c499eb528546417133d80fccd9b155c6ac02954 | e69e11b9d44ea7f029492e4564d250367a07c7f7 |
refs/heads/master | <file_sep>package com.example.administrator.checkpermissionincode;
import android.content.Context;
import android.content.pm.PackageManager;
/**
* Created by Administrator on 2015/10/1.
*/
public class Hello {
public static final String PERMISSION_SAY_HELLO = "com.example.administrator.checkpermissionincode.pe... | 29c63ceed5591db420e617b70d8b487af3815034 | [
"Java"
] | 1 | Java | shisichao/Android_base | e33be7e1020c1b91b2081dd70bde5a64885f4578 | f8256210e77e670bae10e30c108f97a0ab6fd431 |
refs/heads/master | <file_sep>import React from 'react';
function HomePage() {
return (
<div>
<div class="jumbotron">
<h1 class="display-4"><NAME></h1>
<h6><i class="fas fa-envelope"></i> <EMAIL> | <i class="fas fa-mobile"></i> 437-345-8594 | <i class="fab fa-linkedin"></i> link... | 68d3eb83f22bb69a886fa61020e18e49b414f6cf | [
"JavaScript"
] | 4 | JavaScript | koustub/reactportfolio | 8d061272babf2b03e0bfc21cfa35951dc977bc28 | 65f1cc8fc29bfa681fa6cf6b58224954f9c925c8 |
refs/heads/main | <repo_name>WaltCastillo/elbicho<file_sep>/src/components/App.js
import React, { Component } from "react";
import {Navbar} from './navbar';
export const App = ()=>{
return (
<>
<Navbar/>
<div>
<h1>My React App !</h1>
</div>
</>
)
}
| 54c8de0973436f59b4bcd7908577ffba53abb574 | [
"JavaScript"
] | 1 | JavaScript | WaltCastillo/elbicho | 1fce4af8c122324ec22ed237df2e0f33d7919404 | 95913af59bc0e6e83145ae9afd1e9b8ca22b6330 |
refs/heads/master | <file_sep>#!/usr/bin/env bash
# set -x
set -e
aws sts get-caller-identity 1>/dev/null 2>/dev/null || ( echo "Cannot talk to AWS -- \`aws sts get-caller-identity\` failed -- bailing out." ; exit 99 )
confirm(){
__PROMPT=${1:-"Continue?"}" (y/N) > "
read -p "$__PROMPT" __CONT
if [[ "$__CONT" = "y" ]]; then
e... | 3a8c8195f27c3a860b74678eb5bf7e25c3bed8b3 | [
"Shell"
] | 1 | Shell | XertroV/aws-dyndns | 2de66b008a410ff50d868f0e04109a9905d28e7a | cc2978c483d6b584d4515c50ddb890ad1e98be65 |
refs/heads/master | <repo_name>bachan37/javascript_design_pattern<file_sep>/001_chain.js
var Calc = function(){
var s = 0;
this.add = function(arg){
s += arg;
return this;
};
this.sub = function(arg){
s -= arg;
return this;
};
this.mul = function(arg){
s *= arg;
re... | 6651f788c4206c7b8a0c1a14b28fbcd683592f24 | [
"JavaScript"
] | 2 | JavaScript | bachan37/javascript_design_pattern | 773dd1fc1cfafdba5beba277fe559c81abdfe389 | 11ce570f1089d363e15f2ca467faba21a6c00e32 |
refs/heads/master | <file_sep>#include <iostream>
float convert (float);
int main()
{
float farenheit;
float celsius;
std::cout << "Please enter the temperature in Farenheit: ";
std::cin >> farenheit;
celsius = convert(farenheit);
std::cout << "\nHere's the temperature in Celsius: ";
std::cout << celsius << "\n";
return... | 81f5a99f1f9b16016f2aa6d4860527239a0845a7 | [
"Markdown",
"C++"
] | 15 | C++ | Mvrd0ChF3/First-Repo | b20e5e526a7abb3975ecc269ff2f7178dcfe7875 | c0c43f2ce0c81713cd6464fe69f1ad7e111aeec2 |
refs/heads/master | <repo_name>jameson75/XFileViewer<file_sep>/XViewLib/World/PathTracker.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using SharpDX;
using SharpDX.Direct3D11;
using OpenJelly.XFileViewer.Core.Animation;
using OpenJelly.XFileViewer.C... | fec81ddc51c70cff33b54302721e0de69bb2711d | [
"C#"
] | 27 | C# | jameson75/XFileViewer | 138f1a397879684fa4d4b33319848ddaba6d96eb | eeb4464c699894098155bc5227cc86126b344eed |
refs/heads/master | <repo_name>kiran18dev/App-gituser-search<file_sep>/src/components/HomeTab.js
import React, { useState } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Card from '@material-ui/core/Card';
import CardContent from '@material-ui/core/CardContent';
import Avatar from '@material-ui/core/Avatar';... | 0bd7f2457d288775a5ee5e5bdd0c0f409619cacb | [
"JavaScript"
] | 3 | JavaScript | kiran18dev/App-gituser-search | 5bbab6f9cfedd3db450298c753a3b8c784b52bb5 | c5e247a56c940da082fd28f33b5058eb69651365 |
refs/heads/main | <file_sep>/*
Programa de Variações de Variáveis
Este firmware exibe mensagens sobre o Serial para entender melhor o uso das variáveis.
Ligue a janela Serial Monitoring e reinicie a placa depois disso.
Observe e verifique o código :)
*/
// declarando variáveis antes de se divertir!
boolean myBoolean;
char myCh... | b3e5807f6978d5dae29a4c17f4484e99703f426b | [
"C++"
] | 1 | C++ | caneto/Programacao-C-para-Arduino | 446d3557885cab3786aadff37c6e38c83362f289 | 494d83233963a1c7fc3a3fcd1233ca62714bdf1c |
refs/heads/master | <file_sep># minesweeper
move a bot over a surface searching for IR strobes using image processing
This was made for an IP robotics competition in IIEST ,Shibpur,India.
The objective was to make an arduino based bot with ir sensors below,a motor driver,a bluetooth module hc 05
and a buzzer..
The best part...We won the... | 70d55b8116ebd5da4c8c5919d0d4b95c477a2549 | [
"Markdown",
"C++"
] | 2 | Markdown | sprtkd/minesweeperRobotics | 66cbb355c7a8ce714c47cdcabd792eda0282f32a | 4903ee1c9af6a923af6dc110c6f18933fb011b88 |
refs/heads/master | <repo_name>rafaelcmorais02/Employee_Register_DOTNET<file_sep>/Classes/ColaboradorRepositorio.cs
using DIO.Registro.Interfaces;
using System;
using System.Collections.Generic;
namespace DIO.Registro
{
public class ColaboradorRepositorio : IRepositorio<Colaborador>
{
private List<Colaborador> listaColabor... | 01f7ecbee68bcb3f64c5c23ea3c6798fae544449 | [
"C#"
] | 4 | C# | rafaelcmorais02/Employee_Register_DOTNET | c3cfb1c5ba690bbabee2b29507f8c077617831b1 | a77ee2b70942a16529fa103da69001a773af86f9 |
refs/heads/master | <repo_name>mlankenau/hbci4java<file_sep>/chipcard/src/frontend/Makefile
DEFINES = -D__UNIX
INCLUDES = -I../include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
WARNINGS = -Wall
# removed "-Werror -pedantic" because of dlsym() typecast problem
CC = g++
CFLAGS = -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
... | 5992e869351b1cfb554b76f764a020c493cfeeca | [
"Text",
"Java",
"Makefile"
] | 9 | Makefile | mlankenau/hbci4java | 6b4ccb75df3f99b38370765b818c9065e95226fc | b06ea34737a4e29e52333e81018d8c30f2561c47 |
refs/heads/master | <repo_name>lace1010/Sudoku-Solver<file_sep>/tests/1_unit-tests.js
const chai = require("chai");
const assert = chai.assert;
const Solver = require("../controllers/sudoku-solver.js");
let solver = new Solver();
suite("UnitTests", () => {
test("Logic handles a valid puzzle string of 81 characters", (done) => {
le... | 4f1ca9c0bf02bc054fbe637e51bacd3a3647a03d | [
"JavaScript"
] | 3 | JavaScript | lace1010/Sudoku-Solver | 2927eb1619b7c05b30afcc6dd86a563544a35da3 | bd75716aa2ef155db42982a34b8d734d2a7e2edd |
refs/heads/master | <repo_name>sjtusonic/exe<file_sep>/tcl/tcl_call_cpp/4_swig_manual/example.cpp
/* PowObjCmd
*
* Tcl 8.x wrapper for the pow(x,y) function.
*/
#include <tcl.h>
#include <math.h>
int
PowObjCmd(ClientData clientData, Tcl_Interp *interp,
int objc, Tcl_Obj *CONST objv[])
{
Tcl_Obj *resultptr;
double x,y,resu... | f9ea01aa0a109fe9bf50b3e9412b16265943e1c6 | [
"Makefile",
"Java",
"Python",
"C",
"C++",
"Shell"
] | 349 | C++ | sjtusonic/exe | b02e7f6d63da4eab08358ed8bcec8f7c7670b31d | 24ab4ed02a9ab1a3e2f8897004a5e8eec070350c |
refs/heads/master | <file_sep>import scrollRankingBoard1 from './demo1'
import scrollRankingBoard2 from './demo2'
export default {
scrollRankingBoard1,
scrollRankingBoard2
} | 181317301c2e0f611f30ff212c81149bcff3f48e | [
"JavaScript"
] | 1 | JavaScript | ftt1024/datav.jiaminghi.com | 197e9ce3172545e035c15ac66d989f9d6e3f000e | 12ccd64b76b390e47e427d34d0782500032520bc |
refs/heads/master | <repo_name>fenwk0/test-ideas<file_sep>/classes/selfDrivingCarTest.py
from unittest import TestCase
from classes.selfDrivingCar import SelfDrivingCar
class SelfDrivingCarTest(TestCase):
def setUp(self):
self.car = SelfDrivingCar()
def test_stop(self):
self.car.speed = 5
self.car.sto... | 256ea0d8370b84ad5517cdc180d2cf34867b10d9 | [
"Markdown",
"Python",
"Shell"
] | 5 | Python | fenwk0/test-ideas | 0f683d93b32b115668b79266a1c527ba24c053f8 | 92d8ef15fad70f5d7bf3fdf6ac0fe879a52df39d |
refs/heads/master | <repo_name>flying-train/flying-train.github.io<file_sep>/games/index.js
$(".game-description, .game-description img").addClass("normal-shadow")
$(".game-description").click(function() {
window.open($("a", this)[0].href)
})<file_sep>/games/shootr/index.js
canvas = document.getElementById('c');
canvas.width = window.inn... | 36050a4df4367ae3f48cca1a91b01379a257fd3e | [
"JavaScript"
] | 2 | JavaScript | flying-train/flying-train.github.io | 3011dca581eb0137af777a52b378198f535150ab | 3da4ee009dfc88fd96ba8f1940a0ba7038d067a3 |
refs/heads/master | <file_sep>var async = require('async'),
fs = require('graceful-fs'),
path = require('path'),
uuid = require('node-uuid'),
mkdirp = require('mkdirp');
module.exports = function(dir) {
dir = dir || path.join(process.cwd(), 'store');
return {
// store in this directory
dir: dir,
// lis... | 1d98cb2038740667e0478eaa92fa631a1a96f865 | [
"JavaScript"
] | 1 | JavaScript | alexkwolfe/node-store | 4e75c4fa8cc32fab0fa6665c2d22882711917763 | 6111ca069d1b5e7500f48ef5ce30a1c94968dbb9 |
refs/heads/master | <file_sep>import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AddEmployeesComponent } from './components/add-employees/add-employees.component';
import { EmployeeDetailsComponent } from './components/employee-details/employee-details.component';
import { EmployeeLi... | 86c869193fc681e1358f1d8d5219dc4e35ce155e | [
"TypeScript"
] | 9 | TypeScript | epiyushpant/KIAAng | b27486abb55205a8fa8b6eeae2de524eed8f2d10 | 633b74e25df4352ab3112e2cc0ed9a1a216fe42e |
refs/heads/master | <repo_name>MahmoudAbdelRazik95/WhateverSocial<file_sep>/friends/js/index.js
$(document).ready(function() {
$.ajax({
type: "POST",
url: "../php/friends.php",
cache: false,
success: function (res) {
if(res=='returntoindex'){
window.location.href = "../index.html"
}
var obj=$.parseJSON(res);
co... | 672c37dfa13456a80d50b9fdc273c6c6583a5b24 | [
"JavaScript",
"Text",
"PHP"
] | 25 | JavaScript | MahmoudAbdelRazik95/WhateverSocial | 072679f561f8bc9ba39ab3366e249d628911cb2f | 7ef4fce78751e83f6512d3af064806d43e6f9160 |
refs/heads/master | <file_sep>package com.cathy.customer.api.model;
import java.util.Date;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.ann... | a85631e65ddabea244356bbd830a9c9c5d631c16 | [
"Markdown",
"Java",
"Maven POM"
] | 7 | Java | xinyuanliu-222/microservice-loan-customer-profile | 8ac153c33b6ace0a4732735c2827f2068dcc96d8 | 63be2cc3c8c4468fb78c5ec4f6b0d0d3a1796094 |
refs/heads/master | <repo_name>jsayol/github-issue-labeler<file_sep>/src/util.ts
/**
* Implements a Fisher–Yates shuffling algorithm to shuffle
* in place a set of arrays, while also maintaining the same order
* between all the given arrays.
*/
export function shuffleArrays(arrays: any[][]): any[][] {
let currentIndex = arrays[0].le... | 6120abe0508930e696d3db26a79f3a07eed308e1 | [
"Markdown",
"TypeScript"
] | 8 | TypeScript | jsayol/github-issue-labeler | 670ac2a290f34778206009dfbaba19bc832997f8 | 270768677a770c36005d45240dda922901357e52 |
refs/heads/master | <repo_name>limkokhole/ps_brief<file_sep>/ps_brief.sh
#!/bin/bash
#Please run it as `sudo bash ps_brief`, sudo required to read a lot processes
#You may edit $f, $ext, and $skip_f to your desired output filename, extension(to get pretty syntax highlight), and log.
#1st part: For every package name related to the valid p... | 432d513953c2ba6eb8651f003ebb04f6322031f8 | [
"Markdown",
"Shell"
] | 2 | Shell | limkokhole/ps_brief | bbe28099beceda2ae423e540404395dd74a4c7f9 | 2646f0c85e6f3e808b5cfbd1edd301a0c0057013 |
refs/heads/master | <file_sep>
# AI Aerobics: Moving with Machines
AI Aerobics is a digital experience where you follow a machine’s instructions on how to move. Sounds simple enough, right? In fact, the poses the computer demands of you... | 0cfe806ef66bf9ace836228e60e81f34cea3693c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | space10-community/ai-aerobics | 45a233281b5375f891f267f78613299f4d24de5f | 7db6cd560e2cadec09856ea5ed2de90925e8315e |
refs/heads/master | <file_sep>package mcc;
import java.util.Scanner;
public class OrthogonalCodes {
Code c1,c2;
Code[] c3;
static OrthogonalCodes oc=new OrthogonalCodes();
public static void main(String args[])
{oc.start();}
void start()
{
Scanner sc=new Scanner(System.in);
// System.out.println("Enter Code 1 length a... | 5cf1ac75793125902f8d22485103826b2387ad42 | [
"Java"
] | 1 | Java | vivekitis/mcc | 2b532978b4d13e046af0e48d8e073183c350287a | b5b0d03a971c48c7b60084d9f38d74f0a5f871ec |
refs/heads/master | <repo_name>FariaQuitamb/vuejs<file_sep>/js/app.js
var app = new Vue({
el: '#app',
data: {
product:'Ténis Adidas',
image:'./img/black-shoes.jpg',
inStock:true,
details:['80% Algodão', 'Piso ortopédico', 'Apto para caminhadas'],
variants:[
{
variantId:01,
variantColor: 'black',
variantImag... | f1a51fe390d5e3dd9c2de46d3c95e647613ae263 | [
"JavaScript"
] | 1 | JavaScript | FariaQuitamb/vuejs | faa1e3216b221ae9d7854af6995dca11c9f35180 | 2adb2d0137551e41e58e72ed68f00ef594a8010f |
refs/heads/master | <file_sep>import TaskManagerLib
// Partie 3
print("Ex3: Analyse du probleme" )
let taskManager = createTaskManager()
// Creation des transitions et des places du taskManager
let create = taskManager.transitions.filter{$0.name == "create"}[0]
let spawn = taskManager.transitions.filter{$0.name == "spawn"}[0]
let exe... | 57f98c08db0fb1dc2a8503f888c6a5fbbd90da57 | [
"Swift"
] | 3 | Swift | trabelsi29/outils-formels-modelisation | 00d7bf2ba0a4f2683292dd197b2e0fb705904f60 | 19bc1a87384725ee1af288e0c17e96e408bf445a |
refs/heads/master | <repo_name>theisolatedisland/getting-started-with-gcp<file_sep>/09_cloud_functions/deploy_function.sh
#!/bin/bash
#you can follow instructions from the following page as well:
#https://cloud.google.com/functions/docs/first-python
#Download the function from here:
#https://github.com/GoogleCloudPlatform/python-docs-sa... | a146f53ac9aebe38b5422b5772d8a180c9003a24 | [
"Markdown",
"Shell"
] | 6 | Shell | theisolatedisland/getting-started-with-gcp | 0e196b4f21394ad4d0c564fd121aab767977ad68 | 1d70135e569e86764a35cd52244607118f63c064 |
refs/heads/master | <file_sep>$(function(){
$('#movie-button').on('click',function(){
var moviename = $('#moviename').val();
console.log(moviename)
var data = {name:moviename};
console.log(data)
$.ajax({
url: '/similarity',
data: data,
cache: false,
type: 'POST',
success: function(response){
var resp=re... | fca847bcd13fcf6dc60f5c8a667ea6f6fc627521 | [
"JavaScript",
"Python",
"Markdown"
] | 5 | JavaScript | litturahul/TV_Movie_Recommendation_System | 0ea3b35829792a3c1d8ee3cac63a94de1f3b9373 | c01c100077ee5a0b49c2b9624cc2589954fb2827 |
refs/heads/master | <repo_name>OPEnSLab-OSU/PNNLFluxV1<file_sep>/firmware/archive/MS5803_MUX_SINGLE_TEST/MS5803_MUX_SINGLE_TEST.ino
/* MS5803_02_MUX.ino
This version *only works* with the MS5803-02BA sensor, not the other
pressure models (like the MS5803-30BA, MS5803-01BA etc). You can find
libraries for those other models at http:... | c64a03981b45103ec4ecc0c5102dd3a3214f0d40 | [
"Markdown",
"C",
"C++"
] | 6 | C++ | OPEnSLab-OSU/PNNLFluxV1 | d018ccd39de72acb205d1a293ba5de3ca78edd6b | c999841d04b232c6f0e6402a65616a7091bd7fe0 |
refs/heads/master | <repo_name>krishnasalampuriya/OS-practicals<file_sep>/FCFS.C
#include <stdio.h>
int N; // Number of Processes
int At[100]; //Arrival timr array
int Bt[100]; //Burst Time Array
float Awt,Att; //Average wating time and average turn around time
int TypeOfAlgo; // Type of Algoritm
void inputData();
void calculateFC... | 620795aa9fb2448e403f19314655a478ee85c7c8 | [
"Markdown",
"C"
] | 2 | C | krishnasalampuriya/OS-practicals | 6ba768d6d0998cbf6d934f76e891a9ade1955a5b | 96cdaa1830347d4c360ee9eab398e56fbb4fc341 |
refs/heads/master | <repo_name>kaidoj/datatables-examples<file_sep>/sqlite_examples/dataobject/index.php
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>DataTables example</title>
<link rel="stylesheet" href="//cdn.datatables.net/1.10.4/css/jquery.dataTables.min.css"/>
<script typ... | e606b7ef5a6d22335985c17aa9eae3c41b821c24 | [
"Markdown",
"PHP"
] | 11 | PHP | kaidoj/datatables-examples | 9e14a6e9110ce5491d61fa41c8059839f5888225 | 114c3cbe553034dc3dd0ef49320e8dcff7a2296d |
refs/heads/master | <repo_name>davidliang104/CSIS401_Lab01<file_sep>/app/src/main/java/com/example/csis401lab_1/MainActivity.kt
/*
CSIS-401 Lab-01
by <NAME> (S00049751)
*/
package com.example.csis401lab_1
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Toa... | b825de551c866f42e8ad60c0016c0aec6dfbd7ff | [
"Kotlin",
"Gradle"
] | 2 | Kotlin | davidliang104/CSIS401_Lab01 | 144b6cbb361ad809103b337480ba1f91d7cb2374 | 5ef9f070c4478d5ff03507c1c04b7b7196b91ee3 |
refs/heads/master | <repo_name>hikari97/helper<file_sep>/index-file.php
<?php
// you can add to the array
$ext_array = array(".htm", ".php", ".asp", ".js"); //list of extensions not required
$dir1 = ".";
$filecount1 = 0;
$d1 = dir($dir1);
while ($f1 = $d1->read()) {
$fext = substr($f1,strrpos($f1,".")); //gets the file extensi... | 30a8b242f871d3a6f1ffe0c16959feba4d6416be | [
"PHP"
] | 1 | PHP | hikari97/helper | a05a945aa36bfd7f9f73c6c3e1131bdf19177bec | 5cd0ef47a5995efc3f1352236126c99483d19871 |
refs/heads/master | <repo_name>nxr08s/json-parser-cpp<file_sep>/src/main.cpp
#include "Parser.h"
static const char exampleJson[] = R"({"web-app": {
"servlet": [
{
"servlet-name": "cofaxCDS",
"servlet-class": "org.cofax.cds.CDSServlet",
"init-param": {
"configGlossary:installationAt": "Philadelphia, PA",... | 2824ed34ca487245fc1c6c7f20bbd70ed73af4b6 | [
"Markdown",
"C++"
] | 2 | C++ | nxr08s/json-parser-cpp | ec2b06287a203ded9935b54aeadf312c1001adb1 | 1a0a1929b9c7243def3c7381fd04342a5cc7cb01 |
refs/heads/master | <file_sep>##
## This function will create/replace a graphic file plot3.png
## showing a plot of the Sub Metering Energy values vs Date
## based on information contained in
## https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip
## The function assumes the text file household_power_cons... | 22e0f372110e96b1bb4ddd5c2e5dd40d80e5a219 | [
"R"
] | 1 | R | ciforero/ExData_Plotting1 | 17f30c6e4162005586f91bcbe7ec7c8030b7553d | 282e1afcc6c30c0ef2fb1958d249060a98b85d9c |
refs/heads/main | <file_sep>SELECT * FROM people;
--1. What range of years for baseball games played does the provided database cover?
SELECT MIN(yearid), MAX(yearid)
FROM teams;
-- 1871 - 2016
/* 2. Find the name and height of the shortest player in the database.
How many games did he play in?
What is the name of the team for whi... | 9c1e2a41135bc4e057602bb25222aefd27863edb | [
"SQL"
] | 1 | SQL | dcbgit/baseball-sql | bcd90cbc80ba41ac4f3ee80279af9313ac24dcda | e485ac04908242c50c0c1abdd0adb8d12ff6edf0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.