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.Linq; using System.Threading.Tasks; using Fuse.Context; using Fuse.Model; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; namespace Fuse.Controllers { [EnableCors("CorsPolicy")] [Route("[controller]")] [ApiCo...
e6c7af5e335c5bb7dc336c2c95c4bb5b2fe43967
[ "C#" ]
3
C#
younesAfakir/fuse
fdb3e6b29ed72fddb65c6d5942a481c8ccee646a
76c106fa39e66818bf71b0acb5a107717953db39
refs/heads/master
<repo_name>thunderblader/CSIT314<file_sep>/app/src/main/java/com/example/csit314/prescribe/pastPrescriptionRecyclerViewAdapter.java package com.example.csit314.prescribe; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import android.content.Context; import android.util.Log; imp...
a74ce013218b705a9de36c0b58db18f668e2666a
[ "Java" ]
19
Java
thunderblader/CSIT314
b44fc510197941073a298cb948054b7977675541
7f930fbcb5363f4e18563e8551f86424dedcc861
refs/heads/master
<file_sep>#-- # Copyright (c) 2013 RightScale, Inc. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # 'Software'), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merg...
b6847cb1eff4b7632bd1e6db0ebb289e23d3edd9
[ "Markdown", "Ruby", "Dockerfile" ]
39
Ruby
flexera-public/right_cloud_api_base
a087d5b554fa252f47c2275cf81d51b3995b83cf
b12c19f9695cd3319630c20b012a3c9fded04234
refs/heads/master
<file_sep>package com.holmesm.games.render.action; import java.io.IOException; import java.util.List; import java.util.Map; import java.util.Set; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.holmesm.games.actions.Action; import com.holmesm.games.actions.ActionBuilder; impor...
a6f243aa2fe1ca4e8d1ac0a1fdd375ecf6c33cda
[ "Java" ]
7
Java
TheBlackDread12/SBIS----GBR
35b83414420de386fd36795010824e2ea8c8bfc9
44f9c0580c3dd8020c38313b4a00f3e4b3d9d5c2
refs/heads/master
<file_sep>using IO.Swagger.Data; using System.Linq; namespace IO.Swagger.Security { /// <summary> /// Simple api key validator just checks if there is a header with LONG value. /// We guess it will be logged in user id. /// This is very simple implementation only for demo purpose! /// </summary> ...
0ded722cb1c7133548ed4b92e314bb3d7d97876f
[ "Java", "C#", "Markdown", "Gradle" ]
41
C#
sergiosuperstar/TripApp
cd91b7ac21431a584be1b5d936d33a8535fb001c
c69c26bc6510c33d3e0bde101c4a3faa97399752
refs/heads/master
<repo_name>hans-liu/NewQuant<file_sep>/MatrixComputation/Vector.h #ifndef VECTOR_H #define VECTOR_H namespace NewQuant { template<typename TYPE> class Vector { protected: int length; Vector(){} Vector(const int &l) : length(l) {} Vector(const Vector<TYPE> &v) : length...
18301357a9c9a3d50f1d170942d9716a15846b97
[ "C++" ]
3
C++
hans-liu/NewQuant
ea6aea2bdd02f67ef12d86e7ff19574d5a327f04
20d2e901dfc3d2b5abe06a68edbfaae523761e9c
refs/heads/master
<file_sep>#define BOOL int #define TRUE 1 #define FALSE 0 #define LPCSTR LPSTR typedef char* LPSTR; #define UINT int #define PASCAL _stdcall #include <iostream> class CObject; struct CRuntimeClass { //Attributes LPCSTR m_lpszClassName; int m_nObjectSize; UINT m_wSchema; //schema number of the loaded class CObj...
fc903c35f0fefdf584b4b753d8dacb68703a8d06
[ "C++" ]
1
C++
OctSnny/MFCsimu
0165942a7ded794c6d96351f5c040004871d5f78
c3c91e625e194bac7886098a93ff85b32b4fd099
refs/heads/master
<repo_name>wegotpop/prt-server<file_sep>/src/python2/prt/error.py # -*- coding: utf-8 -*- # Import compatibility features from __future__ import (absolute_import, division, print_function, unicode_literals) #--------------------------------------...
8771de65e46f01dea22cb85c213f75369a2d0632
[ "Markdown", "Python", "Shell" ]
20
Python
wegotpop/prt-server
20a188955dbe2d594ed347275d867077d52c4fd6
ae98f71fda323597b23b771a10717d95dbfe0e1e
refs/heads/main
<file_sep># Binary-Hexadecimal-Bandwidth-Calculator--Conversion<file_sep> /* In main start with basic code to welcome the user. Prompt the user with choices. In our case main gives the user 4 choices to pick from. This is where we take the user's choice and check to see if the user's choice is valid. We use a while loo...
12dbe69be9fae3c3510a75ddd10fc6a9d20b1109
[ "Markdown", "Java" ]
2
Markdown
ArmeenF/Binary-Hexadecimal-Bandwidth-Calculator--Conversion
799442d41a136ae6dc4b483058f2b1c111931809
699eb5228e2648d351924573cb18803a4f33c7a8
refs/heads/master
<file_sep> /* Класс, как и функция, является объектом. Статические свойства класса LocalStorageService – это свойства непосредственно User, то есть доступные из него «через точку». Для их объявления используется ключевое слово static. Мы можем использовать функцию static если в ней мы не используем контекст класс...
72ef4f0e1bdd8cd6e4ccb1efe3469eaf35eb2053
[ "JavaScript" ]
3
JavaScript
OrionPro/lesson1
3c0a8ca33d4159fda5ba6266f54d31ce4526b7f2
de134f6eac2bc53b5cdcb08252e315309f2a650f
refs/heads/master
<repo_name>ajmal017/interactivebrokers_fundamental-data<file_sep>/account.py # TODO: check account positions, see https://bit.ly/33Ssy6W <file_sep>/REAMDE.md # Interactive Brokers Connector This repository contains helpful snippets to connect to [Interactive Brokers](https://www.interactivebrokers.com). ## Installati...
9ae7c81c02510f43abe810b0a3f838b99b39300b
[ "Markdown", "Python" ]
5
Python
ajmal017/interactivebrokers_fundamental-data
ec27e85d448708e7d5a5e390ff1343b2af3d6725
e1c6bd62af73fe2b2d61af83f83907c0fb804097
refs/heads/main
<repo_name>vianhazman/optimus<file_sep>/plugin/plugin.go package plugin import ( "context" "fmt" "io/ioutil" "os" "os/exec" "path/filepath" "runtime" "strings" "github.com/pkg/errors" "github.com/odpf/optimus/plugin/hook" "github.com/odpf/optimus/models" "github.com/hashicorp/go-hclog" "github.com/has...
3c46aedc252780beaa41a504895db63d6dbfe7bc
[ "Markdown", "Go" ]
13
Go
vianhazman/optimus
b346d125040ca2c77db34347bd7b974c272c9993
7a8270aff526726c98e242d54d4200fe10e24750
refs/heads/master
<file_sep>#include "myvec.h" #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <time.h> #define ITER_NUM 128 #define MSG_NUM 100000 int main(int argc, char **argv) { srand(time(NULL)); char buffer[128]; for (int i = 0; i < 128; i++) { buffer[i] = (rand() % 26) + 'a'; } myvec vec; ...
0d6d149ecd03823c52704d7a81fd061b6a78f1f8
[ "C++" ]
2
C++
luoxiaojian/archive
0985e5f959120557f259c56fdb733a54e5456b5e
9bd3f0476985a1ef40ef3755245a304ef3767144
refs/heads/master
<repo_name>maxiadlovskii/video_test<file_sep>/main2.js window.onload = function() { var video = document.querySelector('video'); var video2 = $('.vjs-tech').get(0); document.body.addEventListener('touchend', function(event){ if(event.target.className == 'vjs-tech' && ($('.vjs-control-bar').css( 'opaci...
e125433e107f739a4f5b017dc90b857c4b3dd052
[ "JavaScript" ]
1
JavaScript
maxiadlovskii/video_test
5f80a8843db2981cf37444ba0cb8d9713ac27f2e
aef1bcb82cea58d984a66dce9144f40404854052
refs/heads/main
<repo_name>odedahay/MEAN-eShop-Project-<file_sep>/backend/models/order.js const mongoose = require('mongoose'); const orderSchema = mongoose.Schema({ name: String, image: String, countInStock: { type: Number, required: true } }); exports.Order = mongoose.model('Order', orderSchema);<fi...
443d6d81deb4d532b093a7d033ecb6b95a5f2c45
[ "JavaScript", "Markdown" ]
3
JavaScript
odedahay/MEAN-eShop-Project-
2690e578cd19067e2f022233410cb9fd6f6e1477
258c0500d03c16dd4bd56a190385500c09f0db65
refs/heads/master
<repo_name>codedoubt/rise-up<file_sep>/js/assets.js const assets =[ 'ballon.png', 'guard.png' ] <file_sep>/js/logic.js const Guard = { pos: { x: null, y: null }, hitObstacle: false, } const type = ['rect', 'circle', 'square', 'star']; const Obstacle = { pos: { x: null, y: null, }, type: type[rnd(type....
88871b5cf7a0fe6133a6bc3aec1321e54be20bc2
[ "JavaScript", "Markdown" ]
4
JavaScript
codedoubt/rise-up
1f716ab7834cd2cf7f459d42917bcfa539fda010
34f560a1f3ad707ea66ab814b4e2d53ca2549021
refs/heads/master
<file_sep>1. What is React JS? How does it differ from other JavaScript Frameworks? - It's a framework for creating interactive user interfaces. With React you use components, which return JSX, to make up the UI. 2. Explain briefly the React Component Lifecycle. Name three of the methods that are a part of the lifec...
26e1f3f12133134056aa43b4bbcba70e4c913241
[ "Markdown", "JavaScript" ]
2
Markdown
dtacheny/Sprint-Challenge---React
5a1fc13a879d7b5427749a4f36ee2673eee89d45
596aa47d98e6b9d2efc5e0053c8a926eceaae634
refs/heads/Rui.La
<repo_name>larui529/Dev<file_sep>/SQLs/get_labels.sql --this Rui's sql code to modified based on Xiaowei's SQLs/get_labels create table #tmpTargetDate ( TargetDate Datetime -- cutoff_date, for create table, need var name and var type ) diststyle all; INSERT INTO #tmpTargetDate (TargetDate) VALUES ( '$cutoff_date' ...
ea3b2cd521146e4c2c458e1dda8c1f2169be67ac
[ "SQL" ]
2
SQL
larui529/Dev
850e14a76a230b97b9888932a307fc5a049303c1
dc261abe60f539e2c821e2e6a5f463f65d1af526
refs/heads/master
<repo_name>xTachyon/RedstoneInside<file_sep>/src/hasserver.hpp #pragma once namespace redi { class Server; class HasServer { public: HasServer(Server& serv) : server(serv) {} virtual ~HasServer() = default; Server& getServer() { return server; } const Server& getServer() const { return server; } p...
947ff7b1800df3a87827757d474673e435979b26
[ "Markdown", "CMake", "C++", "Shell" ]
149
C++
xTachyon/RedstoneInside
6fabed21c0ed92c4bc605ab4a968f6e8d9f7275d
852e3888a988693fbdb5f6b4561b088035c6acab
refs/heads/master
<repo_name>n1scby/dynamicUI<file_sep>/js/books.js "use strict"; (function(){ var title = document.getElementById("title"); var lastName = document.getElementById("lastName"); var firstName = document.getElementById("firstName"); var bookButton = document.getElementById("bookButton"); var sortButton...
4f9bc8aa31cf9d298ade5523dd2d704b7f98fe4d
[ "JavaScript", "Markdown" ]
2
JavaScript
n1scby/dynamicUI
8629013aec31348cb641fc446fa93c5439463dd7
ed5d108974975f0e1b9622b9af6019aca21d62d5
refs/heads/master
<repo_name>mcofko/game_breakout-rxjs-ts<file_sep>/src/canvas.ts import { } from './types'; export const COLS = 30; export const ROWS = 30; export const GAP_SIZE = 1; export const CELL_SIZE = 10; export const CANVAS_WIDTH = COLS * (CELL_SIZE + GAP_SIZE); export const CANVAS_HEIGHT = ROWS * (CELL_SIZE + GAP_SIZE); //...
67d1f248fbd5d01be7f53cc6a435b07ccc117df2
[ "TypeScript" ]
1
TypeScript
mcofko/game_breakout-rxjs-ts
b4d9a519fded7321497fe1875e89c117d0493d94
4c37e68759c27a595d02f5bbcd2e1e31fa198867
refs/heads/master
<file_sep>/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package FTP; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; ...
8dc3fffe78c564b9587af2a70b86f67d4e6d5124
[ "Java" ]
1
Java
jainkrunal/FileTransferApplication
9ef6759044722dc030ca986902203a0d5409b7d5
8d05572c90ca26c9a49fa539c07aecb7fac1be0c
refs/heads/master
<repo_name>luiselizondo/nginx-php<file_sep>/startup.sh #!/bin/bash ENV_CONF=/etc/php5/fpm/pool.d/env.conf echo "Configuring Nginx and PHP5-FPM with environment variables" # Update php5-fpm with access to Docker environment variables echo '[www]' > $ENV_CONF for var in $(env | awk -F= '{print $1}') do echo "Adding v...
19831df5147fa379e2d4119f56192528cd55e434
[ "Markdown", "Shell" ]
2
Shell
luiselizondo/nginx-php
41980dbc7ba23c08766930be18ede8e3a475df9f
0df46429f2bed896805fed0628f7ed6b371ebdc9
refs/heads/master
<repo_name>aakarsh/rustymouse<file_sep>/src/vel_publisher.rs #[macro_use] extern crate rosrust; extern crate env_logger; use rosrust::Ros; use std::{thread, time}; use std::io; rosmsg_include!(); fn main() { env_logger::init().unwrap(); let mut ros = Ros::new("vel_publisher").unwrap(); let mut publisher...
10ba6309d00d608bef0710573e9610a7fff0a92d
[ "Markdown", "Rust", "Python", "TOML" ]
5
Rust
aakarsh/rustymouse
d145d939221b221d98e8727f3a305ca11f658d27
b82249c28c7d88b4deadcd47e678927d05a4e4f1
refs/heads/master
<file_sep>var express = require('express') var path =require('path') var port = process.env.PORT || 3000 var mongoose =require('mongoose') var bodyParser=require('body-parser') var serverStatic=require('serve-static') var app =express() mongoose.connect('mongodb://localhost/imooc') app.set('views','./views/pages') ap...
975f12ab0f27756c4d481ae10503eb1e82494ec3
[ "JavaScript" ]
1
JavaScript
demonSong/node-study
1a3f3ba519cf5f1d1bfb147ac1f92f9ede01462a
1ab9fa2b950430b9d6714d681765c818dca4a5be
refs/heads/master
<repo_name>Artem2021-Step/CPP-OOP<file_sep>/Semestr_1/Kyrsova/SpaceBattleConsole/SpaceBattleConsole/SpaceBattleConsole/SpaceBattleConsole.cpp #include <time.h> #include <thread> #include "Fild.h" #include <iostream> #include <Windows.h> #include "Ship.h" // //void setCursorPositio(int x, int y) //{ // static const HAN...
feed3e8022d94b8c3fd4a264781625a76a02e23f
[ "C++" ]
5
C++
Artem2021-Step/CPP-OOP
fc8966d515d0d5cdf38dc1bd1187c5db3f008fcb
fc0957befd38784edcfbe0bdbe98a45819140602
refs/heads/master
<repo_name>nathomas12/MLMadness2017<file_sep>/simplelinreg.R #Simple Linear Model library(readr) library(stringr) library(dplyr) library(reshape) #Load data tourney_seeds <- read_csv("TourneySeeds.csv") tourney_compact_results <- read_csv("TourneyCompactResults.csv") sample_submission <- read_csv("sample_submission.c...
33b1ec9f31b0d396ac0f0b0f6b2530f59283789a
[ "R" ]
3
R
nathomas12/MLMadness2017
1504900c24f9b80a9c5c9e85a710aa3754fc54c8
326c4377f505744253e00191595b919fc4588b5b
refs/heads/master
<file_sep>package pe.edu.upeu.hjvr.examen; import pe.edu.upeu.hjvr.utils.LeerTeclado; public class ResolucionExamen { LeerTeclado leer=new LeerTeclado(); public void ImpuestoAuto(){ int i; double cat1, cat2, cat3, impuesto, TotalPagoVehiculos; cat1 = 0; cat2 = 0; ...
b6df51974e289af50f0aca845af275d14acf2c12
[ "Java" ]
1
Java
HJhonatanVR/ExamenHJVR
28c5477a07ae623f43178a0249a014cb7b411a9d
033618f262d9ea5ac9b926475624d2af5091ba7f
refs/heads/master
<file_sep>/** * Spring Data JPA repositories. */ package charlie.ding.com.repository; <file_sep>/** * Spring Framework configuration files. */ package charlie.ding.com.config; <file_sep>/** * Audit specific code. */ package charlie.ding.com.config.audit; <file_sep>/** * Spring Security configuration. */ package...
7fe11b7483f5eafbed2977f143939312fcbc3063
[ "Java" ]
6
Java
Charlieen/jhipsterSampleApplication2
294343347d793b9b85f008cf28b73b7ec54ba3b8
2913a8c1dd87776161e86795d814285ce54ee0f3
refs/heads/master
<file_sep>var template = '<li class="articles-li clear-float">'+ '<div class="article-pic float-left">'+ '<img src="<%img%>" alt="" class="img-responsive">'+ '</div>'+ '<div class="article-brief float-left">'+ '<div class="article-title clear-float">'+ '<a href="<%uri%>">'+ '<div class="t...
225c534f7f566cab10acab165a3f1db048f73a4c
[ "JavaScript", "Python", "Text", "HTML" ]
10
JavaScript
hurx/whorx_webserver
72bb2c39e76f7963bc16c8b51ba3dea8bb3b9c7d
d62fcb25e923038e0c7dba752d80999839b53a76
refs/heads/master
<repo_name>jackgit1214/RNStudy<file_sep>/app/component/dynamicPages/reduxAction.js export function addTypeData() { return { type: 'ADD'//types.REQUEST_TYPE_LIST }; } export function getTypeDatas() { console.log("---------------Action----------------------") return { type: 'GET_DATA' ...
e04ae2418e43b86f9df73f22b7d0842f7002bf21
[ "JavaScript", "Text" ]
12
JavaScript
jackgit1214/RNStudy
d4713a13684920f5f392ca797a9c0e17663b94ad
1d2670875efc2cc5a9674011a56c718e2d2f044d
refs/heads/master
<repo_name>rafaelffilho/Memory-Game-in-C<file_sep>/src/search.h int sequentialsearch(int vet[], int n, int search){ for(int i = 0; i < n; i++) { if(vet[i] == search) return i + 1; } return 0; } int binarysearch(int vet[], int n, int search){ int first = 0; int last = n - 1; int middle = (first+last)/2; ...
697bdefb813d380dc18b74e3d44a96ec32a5cf12
[ "C", "Makefile" ]
4
C
rafaelffilho/Memory-Game-in-C
91ac6266a34811f18f6adf3403bc4686c50c147a
c80e0f782e66936198159687486e6e76d89a236e
refs/heads/master
<file_sep>function mouseOver(){ const beep = new Audio('/_sounds/mouseSound01.mp3') beep.play() } function mouseClick(){ const click = new Audio('/_sounds/mouseSound03.mp3') click.play() } <file_sep>// Configurando o servidor const express = require("express") const server = express() // Configurar o...
2249d00e5968b0e095900023343204d8fb8daad2
[ "JavaScript", "Markdown" ]
3
JavaScript
DigooDS/Login-Form
8f13180d6bca1a1a2d202ebd2f8fd1d1e789822a
3221fe1ebb83a3ed3edaec031a1f7c3b7bd722d6
refs/heads/main
<repo_name>ziyadloubaris/emsi-devops-1<file_sep>/0x04-https_ssl/0-world_wide_web #!/usr/bin/env bash # displays subdomain info function subinfo { if [ -z $2 ] ; then wwwsub="www.$1" www_rec_type="$(dig $wwwsub | grep -A1 'ANSWER SECTION' | tail -1 | awk '{print $4}')" www_ip="$(dig $wwwsub | grep -A1 ...
dd75eebb6cbe208970c26b12b7c2c87d180b8902
[ "Shell" ]
1
Shell
ziyadloubaris/emsi-devops-1
927e9d6de705e459b63c9f13e46975623c42ea89
17a68c9dacdac257db854e895b95f728d2f6ed6a
refs/heads/master
<file_sep> import React, { Component } from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import desktopUnsplash from '../../public/images/desktopUnsplash.png'; import clock from '../../public/images/clock.png'; import imageBomb from '../../public/images/bomb.png'; import imageTable from '....
c623253e8a4f46383010c8a41266723a0f6eee3b
[ "JavaScript", "Markdown" ]
3
JavaScript
marcosOrdieres/portfolio
afdb69cc69c3c38b7939876d7d8cb41fdbc3c982
a69e4c1c7a4298541e4a518a5bdc7a8e6071dcd6
refs/heads/master
<repo_name>ilbidi/project-arrakis<file_sep>/arduino/README.txt List of devices --------------- device01 : Arduino nano - Soil moisture sensor on pin A5 device02 : Arduino uno - Reostato on pin A0 <file_sep>/arrakis/arrakis.py # Funzioni di utilita' per project-arrakis import sqlalchemy import models import datetim...
be7189d37f904a472e274ecf1949c7e81591f6a3
[ "Markdown", "Python", "Text", "C++" ]
14
Text
ilbidi/project-arrakis
0ff5d6c9970067ff1a0a7fdaaf62aecfb44b1566
633af58ced50c56953fa700cab48ead4ea35d9c1
refs/heads/main
<repo_name>feninakhansa/projectmenumakanan<file_sep>/app/src/main/java/com/example/menumakanan/MainActivity.java package com.example.menumakanan; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.o...
f2a0419bcc419c31c87e5ff32ffde2655b592685
[ "Java" ]
1
Java
feninakhansa/projectmenumakanan
22a3bd63b4162895e89592ecf0fd7f5f11ab707d
5977a5c46a9cd8bff94249fe31e1c0b8db7f0e67
refs/heads/main
<file_sep>import React from "react"; import Card from "../../shared/components/UIElements/Card"; import { useForm } from "../../shared/hooks/form-hook"; import { AuthContext } from "../../shared/context/auth-context"; import { useContext } from "react"; import Input from "../../shared/components/FormElements/Input"; i...
2355f5823dfd2c60c10f4629a78a45fe79c334c6
[ "JavaScript" ]
15
JavaScript
Khalid-Eltawagny/EgyFace
85325b42a63f1de0ca618cd6757ee6a34e311a6d
d82e1213e1afa2c15acd24c3bb0f7c2229c737d3
refs/heads/master
<file_sep>convert_images_to_pdf ===================== Convert images to PDFs <file_sep>#!/bin/bash read -p "Enter the name you'd like for your files: " FILENAME for i in pdfs/*; do FILE=$(basename "$i") NUMBER=`ls pdfs/$FILE | sed -e s/[^0-9]//g` mv pdfs/$FILE pdfs/$FILENAME\_$NUMBER\.pdf done <file_sep>#!/bin...
0441ce6dd088b5c2e8f7ca10daa6750ace0fe2a6
[ "Markdown", "Shell" ]
3
Markdown
ariaBennett/convert_images_to_pdf
593850aa90d80f331fe5f1c841857bf2dc55aaeb
abfeb4e321b22f97652d4cf2dfef20cace91278c
refs/heads/master
<repo_name>ScizorsBLBC/Minimum-Wage-Calculator<file_sep>/script.js // Now we need to define each state and its minimum wage const federalWage = 7.25; const stateYouLiveInElement = document.querySelector('#stateYouLiveIn'); const numWeeksWorkedElement = document.querySelector('#numWeeksWorked'); const hoursPerWeekWo...
1df5a2cd46726a4fe708ff25cc15ed6fa52359a8
[ "JavaScript" ]
1
JavaScript
ScizorsBLBC/Minimum-Wage-Calculator
fb1fc9a8de87dfc4c8d570e80a0b92eed506427f
35a3696e0c86f8f021b505b78b8a50d736230f58
refs/heads/master
<repo_name>hottabxp/MiniLogger<file_sep>/README.md # MiniLogger Мини библиотека для ведения логов работы программы (.Net) <file_sep>/LogTest/logTest.cs using System; using System.IO; using MiniLogger; namespace LogTest { class MainClass { public static void Main (string[] args) { start (); } // ...
599b1de887a2905b02f564c58a39d3f31fa3caef
[ "Markdown", "C#" ]
3
Markdown
hottabxp/MiniLogger
449b500e561dbb449064490634d2a8b90b11a3da
05f113a1183f5369cfc5e1326d1796c21a532d83
refs/heads/master
<file_sep><?php namespace App\Entity; use App\Config; use App\Db\Connection; trait DbEntity { /** * * @return Connection */ private static function getConnection() : Connection { return Config::getConfig('db_connection'); } public static function findBy(array $where) { ...
a9fa36cf60553e1dc39d7820e0801d3f95aa3f30
[ "PHP" ]
4
PHP
Khataz/iut2018-exercice2-php
ece94b3e2e6ffee7fad07e97b01b9f5d543802bc
ea7f4045e5a87be50dbaba4f391c7c7df5c4c64a
refs/heads/master
<file_sep>import os import pymongo from flask import Flask, request, g, Response, jsonify, abort import pymongo app = Flask(__name__) import json from json import dumps, loads from watson_developer_cloud import VisualRecognitionV3 import ibm_watson service = ibm_watson.AssistantV2(iam_apikey='<KEY>',version='2019-02-2...
092fd64a77287dd3e59bffef24cdadf750a3b3ba
[ "JavaScript", "Python", "HTML" ]
5
Python
aayushk14/BigRed2019
067e9a70c5ed9dd138a855735b3d1b6f10811fe3
443b6fc8fa461fd55009ed1a03bed856195b7bbc
refs/heads/master
<repo_name>zainzafar90/sarcasm-detector<file_sep>/README.md # sarcasm-detector Sarcasm Detector - A Python based MVC application to analyse sarcasm in sentence (positive, negative or neutral) <file_sep>/app.py #!/usr/bin/env python2.7.9 from flask import Flask def create_app(config): # create app and load config ...
82f227498f7213bca7b52ffc6898480f6d88f9e4
[ "Markdown", "Python" ]
6
Markdown
zainzafar90/sarcasm-detector
f2f8c8db9171306c7517e81cd354de8e3b3c11ef
bde5d6151907cf3b38dc5abb670d5d0adfe47a82
refs/heads/master
<file_sep>// // (pre)compile/render mustache templates with hogan.js // can be used as middleware or broadway plugin // var hogan = require('hogan.js'), fs = require('fs'), path = require('path'), url = require('url'), utile = require('utile'), async = require('async'), winston = require('winst...
7a4cbae6cc4de3f8ac4e3b4542286ac487296952
[ "JavaScript", "Markdown" ]
3
JavaScript
skoni/hoganyam
a4f3769beb279870c1d7a3db16139269e33ae678
edfde77a82bb045b85efd5597ba378e5878a395f
refs/heads/main
<repo_name>aryastarkananyaa/Codechef<file_sep>/May_Lunchtime_Div3_CHARGES.cpp #include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ long long n,k; cin>>n>>k; string s; cin>>s; long long len=0; for(int i=0;i<n-1;i++){ if(s[i]==s[i+1]) len+=2; else len+=1; } while(k--){ long long q; cin>>q; ...
5d45c5841505dca986341d94809133a2420d6726
[ "C++" ]
4
C++
aryastarkananyaa/Codechef
d67243022281d42b004212175858150dbdeefea6
de53a685d18b0116bd2d14aba21509e2aedeea9c
refs/heads/master
<file_sep><?php namespace App\Model; use \App\Libs\Model; class HeaderImage extends Model { public $timestamps = false; public function getImage(){ if($this->hasImage() && file_exists("storage/images/header_images/".$this->image)){ return url("storage/images/header_images/".$this->image); }...
b1414208dbc0d62cb6bd02ee0cae5a3c8199092b
[ "JavaScript", "PHP", "Shell" ]
18
PHP
sosaheri/HorizontCMS
5aa34ac4e457a49b83f24a2969593c495f3ed9ad
7f44018d204e0b2f7d21a83fbbec62d684535530
refs/heads/master
<file_sep>void copy(int a) { a+= 2; } void ref(int& a) { a+= 2; } void ptr(int* a) { *a+= 2; } void example () { int c = 10; int& r = c; int* ptr = &c; // typically int* p = new int{10}; copy(c); copy(r); copy(*p); ref(c); ref(r); ref(*p); ptr(&c); ptr(&r); ptr(p);...
c58cd4a857c8d4a930cf7c4c94bccb4d6fa4f285
[ "C++" ]
1
C++
MorawskiR/Reference-pointer
77cfc7d679e54ee4ebd49bdddcb72e5a4944c02d
556fe6424f2beadb6c61e88149206b8a02ae4d39
refs/heads/master
<file_sep>class Section < ApplicationRecord # belongs_to :page has_many :section_edits has_many :admin_users, :through => :section_edits end <file_sep>class Page < ApplicationRecord belongs_to :subject, { :optional => false} # has_many :sections has_and_belongs_to_many :admin_users end <file_sep>Prob...
95162a6c9ea04ba293714611809e98522e7379ee
[ "Markdown", "Ruby" ]
3
Ruby
freezaku/Ruby_on_rails_exercise
644e29f51f27d8157c1aea44c271ec2057af8c41
30e5bc98abf9d0d80ce5a9695d984d79252bd3d4
refs/heads/master
<repo_name>shamtomson/ENGG1003---Programming-Assignment-1-English-Text-Cyphers<file_sep>/ProgrammingAssignment1EnglishTextCiphersbyc3324679.c /* Programming Assignment 1: English Text Ciphers by c3324679 */ #include <stdio.h> #include <stdlib.h> #include <string.h> void UPPERCASE(char str[]); ...
a0b7ab5c3a5b7f58f278d8915775cdaeca3a7741
[ "C" ]
1
C
shamtomson/ENGG1003---Programming-Assignment-1-English-Text-Cyphers
6b245d6919792e332ced841d6d9918dbe7ea70ac
85d3d3eb2927f3512c5e94fc13edda5c8104ac8f
refs/heads/master
<repo_name>YuanYuLin/go_hwmon<file_sep>/src/factory/factory_device.go package factory import "config" import "device" func CreateDeviceCpu() (device.Cpu_t) { obj := device.Cpu_t{ Entity:config.ENTITY_PROCESSOR } return obj } func CreateDeviceAmb() (device.Amb_t) { obj := device.Amb_t{ Entity:config.ENTITY_EXTERNA...
afb8b0362def1dea6aaf2ba2ba55f54e394c25cd
[ "Makefile", "Python", "C", "Go", "Shell" ]
32
Go
YuanYuLin/go_hwmon
e9cac6cbaf1b00a6c8e7997203abfcfb761da0f2
038b6ffe33cbfaa0397a3950a250ffd4863abe2d
refs/heads/master
<file_sep><?php return array( 'root' => array( 'pretty_version' => '1.0.0+no-version-set', 'version' => '1.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'reference' => NULL, 'name' => 'test/urlscanner', 'dev'...
be3626862bd5843b973ea11bb81b9f23c4fba624
[ "PHP" ]
1
PHP
450711475/urlscanner
675b45e076fe3cf4b69c173e73a6a14bba49185c
fcef2c92824e4999c7dfb4a00d290603b80295fc
refs/heads/master
<file_sep># simple-classification Using Sciki Learn <file_sep>import cv2 import numpy as np import os from sklearn.preprocessing import normalize from sklearn import svm from sklearn import metrics bibnumbers = [] with open("test.txt", "r") as f: for line in f: bibnumbers.append(line.strip()) src_train = np.zer...
04c1793fd874e86b30cffe57b6aad0d866063356
[ "Markdown", "Python" ]
2
Markdown
didpurwanto/simple-classification
81f995fd200813c67c49fefb83bfbec47754659e
622ec688eade445ed0c2551a8a922f5ea911f850
refs/heads/master
<repo_name>rhapsodixx/Code4VoteChallenge-mobile<file_sep>/README.md Code4VoteChallenge-mobile ========================= Workspace for SooYoung Code For Vote Challange Project. Just clone, then Import Project in Eclipse. May need some adjustments regarding Android SDK location. Cheers :) <file_sep>/MataPemilu/src/co...
41e21e173af8f803c2915d085435f343f01d21d9
[ "Markdown", "Java" ]
10
Markdown
rhapsodixx/Code4VoteChallenge-mobile
acca0a002513085bb9e53a8b3c90a01a42918ec3
883544f714c1ef765f0b285f00849be5480a4b91
refs/heads/master
<repo_name>E-Schaferer/Kayla-Service-Reviews<file_sep>/database/index.js /* eslint-disable no-console */ const mongoose = require('mongoose'); mongoose.connect('mongodb://localhost/reviews'); const db = mongoose.connection; // eslint-disable-next-line no-unused-vars db.on('error', (err) => console.log(':(')); db.once(...
cc3bb099e3b4b68b6febab8c7c890a88baba82a9
[ "JavaScript", "Markdown" ]
16
JavaScript
E-Schaferer/Kayla-Service-Reviews
19a98977edeaa6ad35c75f85be3530efe316b2ff
649ea32b60b9380175ed36b6e54e9de327c388ce
refs/heads/master
<file_sep>from django.http import HttpResponse from django.shortcuts import render from rest_framework import generics, filters # Create your views here. from tickets.models import Ticket from tickets.serializers import TicketSerializer # def about(request): # return HttpResponse('This is Ticket Management Syste...
f0b51c97409a2ac29621cfbe46dd9ba601170830
[ "Python" ]
4
Python
NSaudagar/Ticket-Management-System---Python-DJango
16d3666ab6b759f9624a50193625b9706381b69a
cd3b9182a8a64470195b0b104a8e567f687ff822
refs/heads/master
<file_sep>package com.teslenko; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; /** * Created by roman on 26.02.16. */ public class VolatilityCalculator { /** * Calculate volatility for a set period of days * @param ratesData list of ratesData data * @para...
8c3638635f5edbd2a75e04f4fa3f2381b014ea2c
[ "Java" ]
3
Java
romanteslenko/btc-analysis
b055a3e7ab6df0d2255dc54d32e81346917b438a
1b325810f6276702416e024080ad1e757cbd5029
refs/heads/master
<file_sep>import { Component, OnInit } from '@angular/core'; import { Http ,Response,RequestOptions,Headers} from '@angular/http'; import {Observable} from 'rxjs/Observable'; import { catchError, map, tap } from 'rxjs/operators'; import 'rxjs/add/operator/map'; @Component({ selector: 'app-cart', templateUrl: './c...
d33895340ecf74ead49cfe20ba5a21beab1153be
[ "TypeScript" ]
1
TypeScript
tgarg6343/cart
e572b2cfe5931b7aee2b1b467c2ecdc21ed26078
a5b2cb750fd596a30516c9a1e273c3261d44df8d
refs/heads/master
<file_sep>import { AbstractActionHandler } from "../AbstractActionHandler" import { Block, IndexState } from "../interfaces" export class TestActionHandler extends AbstractActionHandler { public state: any = { indexState: { blockNumber: 0, blockHash: "" }, } // tslint:disable-next-line public async handle...
9a8d53ee747230200fc370470bc7be01bb2b139f
[ "TypeScript" ]
2
TypeScript
lachlangreenbank/demux-js
b1679a26e95e5aaf5f215d147c96ad8e671545d5
7bebdf02a5001249b58e32fec33c39f652989b32
refs/heads/master
<repo_name>gedeonntwali/food-webclents<file_sep>/app/models/concerns/food.rb class Food attr_accessor :id, :ingredient, :spice, :measurement def initialize(hash) @id = hash['id'] @ingredient = hash['ingredient'] @spice = hash['spice'] @measurement = hash['measurement'] end def self.find(id)...
ffe865e2e2b2edf0ae64e3030f5470522323abf9
[ "Ruby" ]
2
Ruby
gedeonntwali/food-webclents
a771ec25e66070ffa2c3823eddb008152c05dfcb
bf70ef0e10aa6de6a4c24e2dfeaf949accd8c38a
refs/heads/master
<repo_name>vividandrew/PythonProjects<file_sep>/Pong.py import pygame, sys, random from pygame.locals import * #<editor-fold desc="Essential Variables to run everything."> # Set constants windowWidth = 640 windowHeight = 480 mainClock = pygame.time.Clock() FPSLimit = 60 # Set some colours BLACK = (0, 0, ...
8c919af55c8974635d33a272a598713f012e28e2
[ "Python" ]
4
Python
vividandrew/PythonProjects
3910cee4c8ad16eb281647d4b75a70418dec2986
24422d6b1eaa1d0ae6bd7ee3c9b643fe8f298080
refs/heads/main
<repo_name>mtalhaabbas/react-news-site<file_sep>/src/components/Spinner.js import React from 'react' import loading from './loading.gif'; const Spinner = () => { return ( <div className="flex align-center justify-center"> <img className="w-1/4" src={loading}></img> </div> ) } export...
97c6b774e2611e66aa86aba6881dcfb176a286b0
[ "JavaScript" ]
1
JavaScript
mtalhaabbas/react-news-site
e35c45b2ebd7becc9c9e74014d727144bcbf2547
756697e0cdb7a8271c3e5b7d0761a77da92f6c33
refs/heads/master
<file_sep><?php /** * apply_status admitLetter iew * @package jazzee * @subpackage apply */ if($applicant->isLocked() and $applicant->getDecision()->getFinalAdmit()){ print $text; } ?><file_sep><?php namespace Jazzee\Entity; /** * User * Admin users details * @Entity(repositoryClass="\Jazzee\Entity\UserRepo...
62b53fa151283a1874e61f808068c08a21f2f7fa
[ "JavaScript", "reStructuredText", "PHP" ]
100
PHP
psbauman/Jazzee
2af865fe2b35a51cd6e0a2a7f90876b1081a52c0
bed0d779f5d4cae572666e52a4f615d5b03d1008
refs/heads/master
<repo_name>dieforrockvn/reprototype<file_sep>/src/model/RelatedItemModel.java package model; public class RelatedItemModel { int id; int item1Id; int item2Id; float relatedScore; int numOfCoUser; public RelatedItemModel(int id, int item1Id, int item2Id, float relatedScore, int numOfCoUser) { super(); this.id...
fb11872db568a82ffa6573c6f4ea60093faed576
[ "Java", "SQL" ]
15
Java
dieforrockvn/reprototype
fd34cea4432890e770a21a6b5f0dc58bc447783b
d6de5bfec0ded6af21fefd99e2dd6a1d645d5e35
refs/heads/master
<file_sep>Select e.first_name, e.last_name, e.emp_no, e.Sex, s.salary From "employees" As e JOIN "salaries" as s on e.emp_no=s.emp_no; Select first_name, last_name, hire_date FROM employees where hire_date >= '1986-01-01' and hire_date <= '1986-12-31'; Select departments.dept_name, departments.dept_no, e.fi...
1f22b4f465ad70c3e6614b0ee5cada0baa13fa43
[ "SQL" ]
2
SQL
yaggij/sql-challenge
d6a0a880aeec0b41e3e37f2385cd1616c7cb4800
776ec5640d90cdc1919ddd354db8d8cf152489fd
refs/heads/master
<file_sep># PoC of Swagger e2e tests using Cypress.io There are three commands created to ensure code reusability: ```ts cy.getSwaggerSection(sectionName); cy.executeSwaggerRoute(routeName, methodName); cy.shouldReceiveStatus(statusCode); ``` So that test suite can be the following: ```ts cy.getSwaggerSection('sto...
771bace04445d538c942b4007d838b567b1fc01d
[ "Markdown", "JavaScript" ]
3
Markdown
itka4yk/Cypress-swagger-e2e-poc
3ede8c54f197406f239f04f40b36bef4c1811873
520e76641cdde8d9434fd1102b9ebedb0707de15
refs/heads/master
<file_sep>import React from 'react'; import 'bootstrap/dist/css/bootstrap.min.css'; import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; import MenuAppBar from './Comp/AppBar' import Home from './Home' import DiseasePage from './Comp/DiseasePage' export default function App() { return ( ...
e3470361bc1bee6af615631ad04deeb489be7d52
[ "JavaScript", "Markdown" ]
6
JavaScript
abhishekjnvk/Disease-Diagnosis
72523ed073d07340b5bc92d21612dfacf6b24543
78a0104f6fb95d202f18f8434e05adc1310b4537
refs/heads/dev
<repo_name>Jacob-Morgan/IdentityModel2<file_sep>/test/UnitTests/Infrastructure/FileName.cs using System.IO; namespace IdentityModel.UnitTests { static class FileName { public static string Create(string name) { #if NETCOREAPP1_1 || NETCOREAPP2_0 var fullName = Path.Combine(System.A...
13c5fda500cafc9cf0e61666e34076d48c71feb3
[ "C#" ]
2
C#
Jacob-Morgan/IdentityModel2
66924a82e053e5e7acc33b26b46e9fd3270e2616
e5936e98aeb9a58e611942207e3ba54f1fc7b036
refs/heads/main
<file_sep><?php /** * Salvar como Alunos.php * herda da classe crudAlunos * contem metodos basicos para criar, deletar, Lê e apagar dados no BD */ require_once 'CrudClientes.php'; class Clientes extends CrudClientes { protected $tabela = 'cliente'; //define a tabela do banco ...
8ac04262c863f55ac52637d44fda2865def10250
[ "Markdown", "PHP" ]
15
PHP
cleitondcarmo/atv-web
2ca7d696886ac7ae0db61673cf69b5658e98a336
221d52a6303dc26e215d6458c3d1d22765aa688e
refs/heads/master
<repo_name>emmanueloghenetegaakponine/imageslideroriginal<file_sep>/app/src/main/java/com/example/imageslider/MainActivity.kt package com.example.imageslider import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.denzcoskun.imageslider.models.SlideModel class MainActivity : AppCompatActiv...
9a4de9397383d076c28eeacab04f9b3e25d06a7e
[ "Kotlin" ]
1
Kotlin
emmanueloghenetegaakponine/imageslideroriginal
bacfa1db925fbb4f64b43e69a82ff12db4f3225a
c165165a1014e63f720dc5a22a102aceefb2df63
refs/heads/master
<repo_name>Lora-net/lr1110_driver<file_sep>/CHANGELOG.md # LR1110 driver changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html...
2a3f3c5a2e204e5a79a551b5e8fff77490866bcf
[ "Markdown", "C" ]
9
Markdown
Lora-net/lr1110_driver
fdad7e1740d95c6ca4805831561bcc17d283e800
6ccb296933485beaff7ed0a0bb34e6e65ba40a8f
refs/heads/master
<repo_name>jcr179/qt-pie<file_sep>/README.md # qt-pie Simple portfolio reading/analysis tool for Questrade accounts. How to use: 1. Replace "MY_KEY" in set_env.bat with your Questrade refresh token. 2. In a cmd terminal, run set_env.bat to set the environment variable. 3. (Optional) To automate recording updates of yo...
b1b7039f4e231e58a8483d2bb473158d3e31e3a3
[ "Markdown", "Python" ]
2
Markdown
jcr179/qt-pie
a334b2595ed9198cd1d9d05a4e1843c4140c333a
c00c7988f1b52bb45366e85ef11530accbd76184
refs/heads/master
<file_sep>import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core'; @Component({ selector: 'app-node', templateUrl: './node.component.html', styleUrls: ['./node.component.less'] }) //https://material.io/resources/icons/?style=baseline export class NodeComponent implements OnInit { @Input...
e97925bef94a90184bd63daed002d1a140418a7f
[ "TypeScript" ]
2
TypeScript
parusev/angular-json-tree
276312c1b80e8ab2e14479e2db788f67e627294d
f61db301746782953eb79d605b46e8627e1cf0b8
refs/heads/master
<file_sep>#define _GNU_SOURCE #include <stdio.h> #include <signal.h> #include <pthread.h> #include "tlpi_hdr.h" static pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; static volatile int flag = 0; void print_pendding_signal(const char *msg) { sigset_t set; ...
966a021068c9186d25e9a02417fa4be6203b2c1d
[ "Markdown", "C" ]
104
C
demonkit/tlpi
be4d54ff5bdee0d7d79f36725e09b9d7ae7dc263
fd497e0797ee73b5deefa7a92d5aa71c83143f1f
refs/heads/master
<repo_name>elvece/chessboard<file_sep>/readme.md ##Chessboard A compilation of alternative solutions to the Eloquent JavaScript exercise that challenges you to print a "chessboard" style grid to the console. <file_sep>/chessboard.js //class solution for (var i=0; i<8; i++) { var line = ""; for (var j=0; j<8; j++) ...
6f336632b4b463659da05b0d5fcdf372fc7cf121
[ "Markdown", "JavaScript" ]
2
Markdown
elvece/chessboard
b15256f7d61556dc9102c65e6a283b281d5ebb26
6c64daf72c60453a96ed5e19291dd3bc8eaaa44a
refs/heads/master
<repo_name>arvalon/GAC<file_sep>/app/src/main/java/com/example/student/gac/Foo.kt package com.example.student.gac import android.util.Log class Foo { fun helloWorld(){ Log.d("LOGTAG", "HelloWorld") } }<file_sep>/README.md [Android Architecture Components](https://developer.android.com/topic/libraries/...
68a6809d2c3772a03c40c6d99c63448edcd0721f
[ "Markdown", "Java", "Kotlin" ]
4
Kotlin
arvalon/GAC
443b9f5f162827a7f57154ec47c45fa6210357aa
f2e0c08b4bab32b65ceecef98443fc8b81f5d054
refs/heads/master
<file_sep>package by.realovka.jaxb; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import java.io.File; import java.util.ArrayList; public class Main { public static void main(String[] args) { Book book1=new Book(123, "Ангелы и демоны", 2005); ...
878d76de9368225db546982c00d62d416dcf66b3
[ "Java" ]
3
Java
Realovka/Lesson_15_task_1
814e585393464ffa46a67ee6c22b9f72a0816875
731d81f7ad668052c8e7ad392286cd8a3bfc18b7
refs/heads/main
<file_sep>#include <stdio.h> #include <stdlib.h> int main() { int m; int array[3][3]; printf("Input values of array:\n"); for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { scanf_s("%d", &array[i][j]); } } printf("Original array:\n"); for (int i = 0; i < 3; i++) { printf("\n"); ...
c99344f241fac0528b7010b3ca31f4b8e9cfe304
[ "C++" ]
1
C++
NastyaUsoltseva/labwoork5
fef555bbe60ec2ebeacebdf97abb2cec3fa47b75
d2f406ad6c650f9d260391c691e2135f9454f0dd
refs/heads/master
<file_sep><?php namespace App\Http\Controllers\Message; use App\Http\Controllers\Controller; use App\Models\Message; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Support\Facades\Auth; use Inertia\Inertia; use DB; class MessageController extends Contr...
439228b46469bc566a34bf2ef727b8af95830594
[ "PHP" ]
1
PHP
adamsndeye/fessef
59a2f7e705b4d8e4327b219cc8bf8fa5d4b869c9
d7fea03822a2a8b6fe4897740bb867078ac5b997
refs/heads/master
<repo_name>simonambridge/dse-graph-demo<file_sep>/Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "centos/7" config.vm.provider "virtualbox" do |vb| vb.gui = false # Customize the amount of memory on the VM: vb.memory = "4096" end config.vm...
e156cc8e048a87614879f25cfa7daa1c9923d0d8
[ "Markdown", "Ruby", "Shell" ]
4
Ruby
simonambridge/dse-graph-demo
84fb04cd01ee9f0668c5fd67fde65c91fd1631d1
4eb94f8c11446b14e90547abcfd7641c7e5d68fd
refs/heads/master
<file_sep>// https://tour.golang.org/flowcontrol/8 package main import ( "fmt" "math" ) // TODO: remove second argument func Sqrt(x float64, i int) float64 { z := 1.0 // TODO: loop until close enough (< 0.00000000000001) for n := 1; n < i; n++ { z = z - (z*z-x)/(2*z) } return z } func PrintResults(x float6...
b1d933c4fa56953d061dd6e2ed5723687c681bb0
[ "Markdown", "Go" ]
5
Go
leetdev/go-tour
453d8130a8aaae3e05899a748b40d770bbe810c0
870650672b06466d7a54d0f2845b858b82417578
refs/heads/master
<repo_name>rahulyhg/allsamaj<file_sep>/lib/Tool/EventDetail.php <?php namespace xavoc\allsamaj; /** * */ class Tool_EventDetail extends \xepan\cms\View_Tool { public $options=[]; function init(){ parent::init(); $event_id = $this->app->stickyGET('event_id'); $m = $this->add('xavoc/allsamaj/Model_Event');...
50e957974979f76d0da02e4e13ff6383b1c3527c
[ "SQL", "HTML", "PHP" ]
32
PHP
rahulyhg/allsamaj
1646edafb464164d38dd16b1c7b86ce10fc5bd62
b6bf7962d4871cd1c91c821940ec9987e327838f
refs/heads/master
<repo_name>youkidkk/youkidkk-test-util<file_sep>/src/main/java/youkidkk/util/test/TestTool.java package youkidkk.util.test; import org.hamcrest.CoreMatchers; import org.hamcrest.MatcherAssert; import java.lang.reflect.Constructor; import java.lang.reflect.Modifier; /** * テスト用ツールクラス */ public class TestTool { ...
d26ef06238891994fe04dcf8bf5afb180eeb0a8d
[ "Java", "INI", "Gradle" ]
9
Java
youkidkk/youkidkk-test-util
e9e2001320179d7b5b0f6b19bc89323e7cb27e50
bf774090ed58651c464b91fe54ad6d71d6ff3367
refs/heads/master
<file_sep><?php include "koneksi.php"; $json = array(); $user_id = $_POST['user_id']; $query = "SELECT (SELECT IFNULL(SUM(nominal),0) FROM pemasukan WHERE MONTH(tanggal) = 1 AND created_by ='$user_id' ) AS in_1, (SELECT IFNULL(SUM(nominal),0) FROM pemasukan WHERE MONTH(tanggal) = 2 AND created_by ='$user_id...
e258e0ca0f91e28028389a99f686b23a85586382
[ "SQL", "PHP" ]
10
PHP
bagusi21/elmaliya
d59be3aa82824d89eecca3061343bcc2880bb46a
d8616704919f538aa6f1223aceb8b3a1c68baf83
refs/heads/master
<repo_name>svn2github/phpdoc_doc-base<file_sep>/tags/POST_EXCEPTIONS_ROLE_CHANGE/scripts/html_syntax.php #!/usr/bin/php -q <?php /* +----------------------------------------------------------------------+ | PHP Version 4 | +-----------------------------------...
ac337b0da96e7aa442ad45c47337148025572e50
[ "JavaScript", "Makefile", "INI", "Text", "PHP", "Shell" ]
66
PHP
svn2github/phpdoc_doc-base
f848e5899b15d4bfe0a7755953bdc10215ac0498
52318580c871b69f11aa117fd5cac4a9589e3946
refs/heads/master
<file_sep>package com.goldskyer.gmxx.promotion.entities; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; /** * 用户抽奖记录,存储用户...
01f1528b0f775b8031d1b60198c8f578a98210bf
[ "JavaScript", "Java", "Maven POM" ]
120
Java
einsteinstudio/scorecloud
b0b1660f0d58a5d98ff89da7bf62750c69d8b693
79333394ec8e508062b84102fbc4002461258bdf
refs/heads/master
<repo_name>himcoder/examproject<file_sep>/addtest.php <?php function __autoload($classname) { include "$classname.php"; } $obj = new connect(); $test = $obj->con(); if(isset($_POST['submit'])) { $ins= new insert(); $ins->inserttest(); } ?> <!DOCTYPE html> <html> <head> <title>Test ADD</title> </hea...
19c80c7ed8c4e7e98b44d220d8b356c9f2866b01
[ "PHP" ]
11
PHP
himcoder/examproject
d7c69cd68e296333b486201dd0e87ab45b77ee82
353eab70c0c7ad81e79415d01fb95d6822f7c435
refs/heads/master
<file_sep>import { Reducer } from 'redux'; import { CombinedActions } from '../../app/AppState'; export enum MoveErrorTypes { NOT_ENOUGH_TODOS = "NOT_ENOUGH_TODOS", CURRENT_LESS_THAN_ZERO = "CURRENT_LESS_THAN_ZERO", CURRENT_OUT_OF_BOUNDS = "CURRENT_OUT_OF_BOUNDS", TARGET_LESS_THAN_ZERO = "TARGET_LESS_T...
9284e1603c34932da945d2ca8607610bcd55822f
[ "TypeScript" ]
18
TypeScript
tim-butterworth/todos
59e17d09988f7568763267951e30dccffa32a9a1
0df9781a37846b967c13b29883c3596c627b6013
refs/heads/master
<repo_name>VIKASUM13/Movies-redux<file_sep>/src/App.js import React , { Component } from 'react'; import MovieList from './components/MovieList'; import MovieDetails from './components/MovieDetails'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <h1 cla...
fb8d43b803faccb7d838ddaa08250c9e4a24fb5a
[ "JavaScript" ]
2
JavaScript
VIKASUM13/Movies-redux
1818553d36729f01bd70fc391380915d3f9b0250
5a26f21d1aac45bcdb4eb08c9c4719cd80356a6a
refs/heads/master
<file_sep><section class="littleWindow"> <h4>Single Page Application</h4> <p> Una SPA es un sitio web que cabe en una sola página conc el propósito de dar una experiencia más fluida a los usuarios, como si fuera una aplicación de escritorio. En una SPA todos los códigos HTML, CSS y JavaScript se cargan...
071bb1661d000c98482bcd515b878b4692e46020
[ "Markdown", "JavaScript", "HTML" ]
3
HTML
victorsnz/SPA-JS-Vanilla
a4c76a74c8e05491ca16120bdd09ff034ab518c2
18aafa52a21d58c40d6419cef1ddfd30977f901b
refs/heads/main
<file_sep>import Dom from './Dominik.png'; import Jan from './Jannis.png'; import Max from './Max.png'; export const SliderData = [ { Image : 'https://images.unsplash.com/photo-1635055658722-494d99b8aebd?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80' ...
0451bdf92115c3a5a809eaf970461ddf5e21690e
[ "JavaScript" ]
6
JavaScript
KF-Engineering/company-website
d2d10d5e46ea71995e2c72b5d8055be88b64f883
b7eecad6062aed0baca662fea042ccf9afb673ad
refs/heads/master
<file_sep><?php namespace App\Policies; use App\Models\Topic; use App\Models\User; use Illuminate\Auth\Access\HandlesAuthorization; class TopicPolicy { use HandlesAuthorization; public function delete(User $user, Topic $topic){ return $user -> id === $topic -> user_id; } } <file_sep># Lara...
da56f827959e180e3c373f93011fa51e3e906c6e
[ "Markdown", "PHP" ]
4
PHP
nikolaabadic/forum
5447c89c4625b9c1af28222ccdd70606583f2e85
a5f44729b416f6cc909e99391aa6ce692273320c
refs/heads/master
<repo_name>arpit728/evoting<file_sep>/web/materialize/js/signup_script.js function only_mobile_number() { inp = document.getElementById("mobile_number").value; if(isNaN(inp)) { document.getElementById("mobile_number").value = ""; } } function only_letters(x) { inp = document.getElementById(x).v...
4fd6f42d6cb78fe3134a88534edc0985d4f6c0a1
[ "JavaScript" ]
5
JavaScript
arpit728/evoting
90cb367188297ff0d65a7370e2915a24704e43bc
5edc488e0d9af62409e3ed7cfc437065dd98b89d
refs/heads/master
<file_sep>#!/bin/bash # # A simple HTTP server that can serve up any directory, built with Dart. # dart "/usr/lib/dart/dart-dhttpd/dhttpd.snapshot" "$@" <file_sep># CHANGELOG ## 0.3.1 * Fixed bug with setting the path from the command line. * Start the server with `dhttpd`. ## 0.3.0 * New `host` command-line flag, ...
723c771b6076e9432218dd0439a54888c4b31b16
[ "Markdown", "Shell" ]
3
Shell
fxleblanc-pkg/dart-dhttpd
8e4f18999c82eaacb4f2aede562362fcdc1798b1
02d1f2a00f91041e05d12b17ef353fb872cfaa09
refs/heads/master
<repo_name>ly774508966/GameWork.Core<file_sep>/GameWork.Core.Logging.Tests/MockObjects/LogMessage.cs using System; namespace GameWork.Core.Logging.Tests.MockObjects { public class LogMessage { public LogLevel LogLevel { get; set; } public string Message { get; set; } public Exception...
a224b1b4a18dca1ab9ada6f5b4d6b9bd0b689ca8
[ "Markdown", "C#" ]
36
C#
ly774508966/GameWork.Core
a33c59600069489a7b28a12a446295d1180039be
cb054d0230c761107c3922798aac35f60d76734d
refs/heads/master
<repo_name>Svem1rko/AdventOfCode<file_sep>/Day8_1/Program.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Day8 { class Program { static void Main(string[] args) { ...
c2494a73e1e3db7fd1fbf72e8ec659500e2e7975
[ "C#" ]
9
C#
Svem1rko/AdventOfCode
2610d751f097cb93b19190d490d3f52c80798967
f26d654256e7ff710452d706372a8d9a45694bbc
refs/heads/master
<file_sep>import React, { Component } from 'react' import { Container, Header } from 'semantic-ui-react' export default class Vis3Explanation extends Component { constructor (props) { super(props) } render () { return ( <Container fluid> <center> <Header as= 'hVis1' className='analysis-...
a5c4fea59151773d4a721c7c60a3b4c30bb0eda8
[ "JavaScript", "Ruby", "Markdown" ]
18
JavaScript
wassgha/LafTech
9a529f20fb45ef399d1ea0c50d38afef2c99142c
afd68ae9a182818cae480cec419c903c6fb7a763
refs/heads/master
<file_sep>__version__ = "0.5.3" major_minor_version = "0.5" <file_sep>################################################################################ # # Copyright (c) 2019, the Perspective Authors. # # This file is part of the Perspective library, distributed under the terms of # the Apache License 2.0. The full lic...
0f321b831f8cb0d68675352914f3f85ad55f30e7
[ "Python" ]
2
Python
rohsua/perspective
c486901e055014c9b80daa8397a35711ee41911b
74b5825aecdd7788c8fb1e65204ca27d7caf49e0
refs/heads/master
<file_sep> # This module is part of mail_merge_scheduler and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """This is the module that the user will import and uses to set up a scheduled mail merges, with data taken from database types supported by sqlalchemy. It will wri...
e07a51083cf4a103ccb73ff8ae03750082511d51
[ "Python", "INI" ]
2
Python
verdra/mail_merge_scheduler
45ec54187151dd27bc732686cc2fa32457897a98
92c387ceb2a0e3adc50c8c3c680037779cc43d1f
refs/heads/master
<file_sep>// // ViewController.swift // SmaSmaForMac // // Created by ADK114019 on 2016/12/27. // Copyright © 2016年 ADK114019. All rights reserved. // import Cocoa import BleFormatterForMac let SERVICE_UUID = "0BF806E9-F1FE-4326-AB21-CEAFDEAFE0E0" let CHR_UUID_1 = "F5A6373E-B756-4B55-BE51-F8BD9A4A3193" //let CHR_...
d3f04a49099daece4aaf1e48684b4f0fcae15a83
[ "Swift" ]
1
Swift
kekenzy/SmaSmaForMac
ff46cb12988ab42daddfc7dc5f3445d51bebed6f
074009125d4ac5dc8298a8859737d965efab5b93