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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc... | 355103f8ed8ba3a3d1e50dc949a763bb14b87cd5 | [
"Markdown",
"C#"
] | 47 | C# | WAEREWOLF/OrchestraBookingTicketsAppRepo | a3326c21e7f8d148754d0ad84979c520dbb74990 | c1b0c225c05acd822d4f3bdac0c7f552f889f6de |
refs/heads/master | <file_sep>/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strsplit.c :+: :+... | 555c28b7fa15338764288acbc162f37f1c9c6606 | [
"C",
"Makefile"
] | 6 | C | jbouille/get_next_line | 385f1533918b9316e35ee49b0fae975ae83cfc9f | da487ff3e048e277f2cd38be048096d3820e8f48 |
refs/heads/main | <file_sep>//
// TableRowController.swift
// Table WatchKit Extension
//
// Created by <NAME> on 08.03.2021.
//
import WatchKit
import Foundation
class TableRowController: NSObject {
@IBOutlet weak var itemLabel: WKInterfaceLabel!
}
<file_sep>//
// Model.swift
// Tables WatchKit Extension
//
// Create... | f61f1e888d49c058da5e9dc139286652f2924d82 | [
"Swift"
] | 5 | Swift | mobile-sergey/NotesStoryboard | 71ee7a92ed9b8132e0bd761d8aea93247c5e0262 | 2d232c118e274cd45379344c821164c2c5de9809 |
refs/heads/master | <file_sep># -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config... | 8f3143712243d0505f475d4b09faae069c435223 | [
"Markdown",
"Ruby"
] | 2 | Ruby | pwr-sisi/lab4 | 7070734030b14e0b62cae5caa29d10881b5e5424 | b62f7198a8c3b8ff0cdced4ec76adb602a200de9 |
refs/heads/proper-3.6.1 | <file_sep>package liquibase.integration.commandline;
import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.classic.encoder.PatternLayoutEncoder;
import ch.qos.logback.classic.spi.LoggingEvent;
import ch.qos.logback.core.ConsoleAppender;
import ch.qos.logback.core.filter.Filter;
import ch.qos.logback.core.... | 7e97bd64199d987913fa5a700eb74c3e49256d6c | [
"Markdown",
"Java",
"Maven POM",
"SQL"
] | 28 | Java | propersoft-cn/liquibase | 8054ac3fc00d4b81520685b9264d98fb04f261f1 | 59ca79d50b26760894d108aca05e28ee5b5eb055 |
refs/heads/master | <file_sep>SciPy Tutorial Code
===================
Introduction
-------------------
A collection of codes from SciPy Reference Guide Release 0.17.0<file_sep>"""
02_basic_functions/interaction_with_numpy.py
SciPy Reference Guide Release 0.17.0
- Basics functions
- Interaction with Nunpy
- Index Tricks
- Sh... | b253dec8edad05047d9cf3c60b0c8893ea59a1b2 | [
"Markdown",
"Python"
] | 4 | Markdown | WaizungTaam/SciPy-Tutorial-Code | c320646772976963f79b56771ba4476a84a2ab87 | 31024a6243821956c506f3f320d8abd9e5338652 |
refs/heads/main | <repo_name>Michaelllllll25/Python-Learn<file_sep>/Strings.py
message = "Hello" # String
message2 = 2 # Not a string
print("Hello world")
print(message)
print("#########################")
a = """Bobby and the people
went into the shop to buy a
pair of Jordan 1 Low's"""
print(a)
print("#... | d75761932a3124e208bce24ce5ad08d04301013a | [
"Python"
] | 4 | Python | Michaelllllll25/Python-Learn | 1d03b301a4b6d39c1ffcac3a3d75887c04463cfe | 88cd532363f18760bb2679bf0d1c19f3524edcc5 |
refs/heads/master | <repo_name>KiarashE/fibonaccis<file_sep>/Main.java
import java.math.BigInteger;
import java.util.HashMap;
public class Main {
private static HashMap<BigInteger, BigInteger> stash = new HashMap<>();
private static BigInteger ZERO = BigInteger.ZERO;
private static BigInteger ONE = BigInteger.ONE;
publ... | 715daa00ef82c44c4b41201c6614917787c8ddac | [
"Java"
] | 1 | Java | KiarashE/fibonaccis | 636eb6894ccd7e3d215eb64715eae2d9e59fa423 | 912120320a56be1efaccb352ea94f3485a297c5a |
refs/heads/master | <repo_name>keefmarshall/camunda-demo<file_sep>/src/main/java/org/hmcts/camunda/api/FeignClientConfig.java
package org.hmcts.camunda.api;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import c... | d8b8095eb85bb09a7e7c2ef5c99758360ca67ca9 | [
"Markdown",
"Java"
] | 5 | Java | keefmarshall/camunda-demo | 27e2778d77093d33656de41250bcda38e4cdcca1 | 4e0e80f6f73d003d795d146fceb0316fe58ed321 |
refs/heads/master | <repo_name>corsoa/pmon<file_sep>/notes.txt
Note: still need to have a grep by "real" process, ie search that node-inspector is bound to a port by its name, rather than ss just saying node is running on that port
cd /proc
find . -maxdepth 1 -type d | cut -d '/' -f2- | grep -vP '\D'
There are some processes that don't c... | 065645b92bbaa69cd0dd6027c3102d970b590535 | [
"Markdown",
"JavaScript",
"Text"
] | 3 | Text | corsoa/pmon | d9d85f49db35ba7c963c3d260712c011c02b3007 | 9c933d2069af1194c8f8fab48fced99ed99889a6 |
refs/heads/master | <file_sep>package 프로젝트;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
i... | 6ec22808f8097c6a3a61597a2326a8a0fd507c35 | [
"Java",
"INI"
] | 5 | Java | kkroki/java | 5e6744789a2d1ab1032094b560e16f9f10e08574 | c745c8450c87f8e05f05383f12338677aae2d760 |
refs/heads/master | <file_sep>import json
import urllib
import urllib2
def main():
url = "https://en.wikipedia.org/w/api.php"
user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'
values = {'action' : 'query',
'list' : 'recentchanges',
'format' : 'json',
'rcprop' : 'user|flags|ti... | e0a50da6883f42f6cda125e069e591c058035c40 | [
"Markdown",
"Python"
] | 6 | Python | jshencode/python-play | 2f16a066cd9bc3a4eb629a2b05837a432707f4ec | cea2208e7b645a88edfe8500ff998d6ee413693f |
refs/heads/master | <file_sep>class Account < ActiveRecord::Base
attr_accessible :address, :payment_method
end
<file_sep>module ApplicationHelper
def number_to_euro(price)
number_to_currency(price, :unit => '€')
end
private
def current_cart
cart = Cart.find_by_id(session[:cart_id])
if cart.nil?
cart =... | ee59da8d6e65e1a113f6ec77f1f903dda741f05e | [
"Ruby"
] | 6 | Ruby | matthewryan1986/Bookstore | fd934d24d5929629290dcaf1000a3304e75d6f85 | 065a8783fca04ad7c326f1c7ff83a6e1290ba072 |
refs/heads/master | <file_sep>local VRC = {}
VRC["updaterate"] = 1 / 25
function GVR.GetConfig(id)
return VRC[id]
end
<file_sep># gmVR
#### Garrysmod Virtual Reality
###### <NAME>
Uses a C++ module to connect OpenVR methods with Gmod lua.
## Features
### complete
* __(C++)__ Connect with SteamVR and tell if a headset is present
###... | 7e8a282115c524f3bb8cff72f5f610f58c85c96c | [
"Markdown",
"C++",
"Lua"
] | 8 | Lua | bizzclaw/gmVR | bc06a1659f4fe64b906c897a97fe05615a0c013f | b9b1f7378e24cfe5514628b500b409a7df0458f2 |
refs/heads/master | <file_sep># tseipii1989.github.io<file_sep>var myHeading = document.querySelector('h2');
myHeading.textContent = 'Hello world!';
function multiply(num1,num2) {
var result = num1 * num2;
return result;
}
multiply(4,7);
multiply(20,20);
multiply(0.5,3);
alert(multiply(0.5,3)); | 6e1d9a536608ad7b8bf065fe033cf9b753ce9eb6 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | tseipii1989/tseipii1989.github.io | 84e9b531a349858515602c68b94431ee11cce045 | 69b2b3fe652f3398bc9c98ec0494775cc7ccd706 |
refs/heads/master | <repo_name>logicgupta/MyOutpass<file_sep>/app/src/main/java/com/example/android/myoutpass/service/MyFirebaseInstanceId.java
package com.example.android.myoutpass.service;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v4.content.LocalBroadcastManager;
import android.uti... | f8d507174fb11b24cb0b9c0c773e334ccb233bf8 | [
"Markdown",
"Java"
] | 13 | Java | logicgupta/MyOutpass | b6dde6de2e2d3efc6f733bc7c9ccbd1923352584 | 336bcc64eb775663bd6db6b8df27b5ffa0082c48 |
refs/heads/master | <repo_name>ortsed/django-wordiff<file_sep>/README.md
django-wordiff
==============
Uses an n-gram search to find similar files<file_sep>/wordiff/tasks.py
from wordiff.models import ObjectGram, IgnoredGram, GramRankings
from wordiff.n_gram_splitter import lang_model
from django.conf import settings
from HTMLParser impo... | 86bc1304067adc394cb93320b36ea96e1a9ffd40 | [
"Markdown",
"Python"
] | 4 | Markdown | ortsed/django-wordiff | 503bcb63dbdf1ac4eff8cfb188b9720d9511c343 | faf78d74cde94d98576f7a5beac8f50b89630b6f |
refs/heads/master | <repo_name>hainguyenvan6799/hocGit<file_sep>/index.php
<?php
"echo XIn chao";
"da co them 1 ng fork";
"alo";
"tu ben klhac";
"abc";
?> | 34b0670353583d867e669428bc35809105207c52 | [
"PHP"
] | 1 | PHP | hainguyenvan6799/hocGit | 534b47bb9a38873d1cef8d247e826600a1cb17d3 | 39b7be8b2ff6b0f9e595438bf43b0110e7614b02 |
refs/heads/master | <file_sep>import { Injectable } from '@angular/core';
import { UtilityProvider } from '../utility/utility';
@Injectable()
export class ApiProvider {
domain: string;
constructor(private utils: UtilityProvider) {
this.domain = "https://vast-shore-74260.herokuapp.com/";
}
getBanks(city, requestHeaders) {
... | 5ca3ecc24176020acebb3c7e65a628522d0b610c | [
"TypeScript"
] | 7 | TypeScript | piyushpandey14/bank-app | 58fe5c1205360a2e304a1a694a3543a2604d29b9 | ee65afd892ee4e79c1eb68fd0768fef933a4ac62 |
refs/heads/master | <repo_name>pozag/wikistack<file_sep>/app.js
const express = require('express');
const morgan = require('morgan');
const app = express();
const mainPage = require('./views/main');
const { db, models } = require('./models');
const Sequelize = require('sequelize');
const wikiRouter = require('./routes/wiki.js');
const use... | b1d08a27715a41a1119dd12f49c8eadd6ec6224b | [
"JavaScript"
] | 3 | JavaScript | pozag/wikistack | d54bfd6b3d9a3a0cb0614af7142176af56501fc2 | 2c6983f098699306bbea2c99c06dfadab7338207 |
refs/heads/master | <repo_name>liulaojian/ScreenToGif<file_sep>/ScreenToGif/Windows/Other/Localization.xaml.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using Sy... | 95efdd7c0ae2461bc9cf03d5d8a84a53b9831d02 | [
"C#"
] | 2 | C# | liulaojian/ScreenToGif | a5b50cea9d69981bd4a84ea0889a17c4e952b184 | 677eaee1b846fb2bb0bbc05c5229578afd379c08 |
refs/heads/main | <file_sep># charts
helm chart public repo
<file_sep>#!/bin/bash
set -x
set -e
find . -maxdepth 1 -mindepth 1 -not -path '*/\.*' -type d -exec helm package {} \;
helm repo index --url https://fallenangelblog.github.io/charts/ .
git add . && git commit -m 'rebuild' && git push
<file_sep># RocketMQ Helm
## 部署
``` ... | 08b95c594d4a427f4b135c4d1199a934f3df7fcc | [
"Markdown",
"Text",
"Shell"
] | 6 | Markdown | fallenangelblog/charts | 9801bc3f100a264979ccfb2611c6f2ff55259b0e | 697c4776ee796e5f54dc4efb5b34393b98f7b820 |
refs/heads/master | <file_sep>from sense_hat import SenseHat
from time import sleep
from random import randint
#init
sense = SenseHat()
sense.set_imu_config(False, False, False)
# Generate a random colour
def pick_random_colour():
random_red = randint(0, 255)
random_green = randint(0, 255)
random_blue = randint(0, 255)
retur... | ee8e707ba58c3475cc9ca6eae4d1c23414f47e3c | [
"Python"
] | 3 | Python | gdmgent-IoT-1920/labo-2-sensehat-arilybaert | b86311252beb13d625b577707c006373d3690abf | 9180606ac6c4a99a5f8f52dc10c450be0703d1c6 |
refs/heads/master | <repo_name>bao1018/SopranoUtil<file_sep>/src_test/com/pwc/soprano/util/WordErrorRateTest.java
package com.pwc.soprano.util;
import com.pwc.soprano.util.WordSequenceAligner.Alignment;
public class WordErrorRateTest {
public static void main(String[] args) {
String str1 = "the quick brown cow jumped over the moon";
... | efdd20d44ece3b274df3b339632bc409ea0e551b | [
"Java"
] | 1 | Java | bao1018/SopranoUtil | b078c18a77e60b2833746f9880a8572d5d883c76 | 9d6672b63875404192effa9fecfa1ae27a3706fa |
refs/heads/master | <file_sep>'use strict';
// Declare app level module which depends on views, and components
var app = angular.module('myApp', [
'ngRoute',
'myApp.view1',
'myApp.view2',
'myApp.version',
'UserApp'
]);
app.config(['$routeProvider', function($routeProvider) {
$routeProvider.otherwise({redirectTo: '/view1'});
... | 306cef57fee1648a70dec53df9f3e58152d62ed9 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jwlai/loginAngular | 486eb976f1ee69392eddd902852143e451b48b86 | 14c4275f0f5bec635e68644ac5a33d92d83a0e78 |
refs/heads/master | <repo_name>honzajavorek/map<file_sep>/sample/__init__.py
import os
import json
import gspread
import geocoder
from slugify import slugify
from flask import Flask, render_template, jsonify
from oauth2client.service_account import ServiceAccountCredentials
app = Flask('sample')
app.config['JSON_AS_ASCII'] = False
app... | d16c07bc3a47a14bcc300e269dde911910401048 | [
"Markdown",
"TOML",
"Python"
] | 4 | Python | honzajavorek/map | 2952a17c44c3dcd0be831d066e94547da8409850 | d0d54729211f7a048b9c906df6bdeafe3e6e7117 |
refs/heads/master | <repo_name>xuelingxiao/java-knowledge-structure<file_sep>/design-patterns/src/main/java/com/xlx/pattern/proxy/cglib/HongQiCar.java
package com.xlx.pattern.proxy.cglib;
public class HongQiCar {
public void sale() {
System.out.println("卖了一辆红旗");
}
}
<file_sep>/rest/src/main/java/com/xlx/rest/webflux/Webf... | 426794720f48dc8a5b0833895995418e5f182356 | [
"Markdown",
"Java",
"Maven POM"
] | 47 | Java | xuelingxiao/java-knowledge-structure | 24f582a5070f0ba0b207f440dee29537af017fd5 | 053ba4d89e0c734f20805a3675193a12e26984b0 |
refs/heads/master | <file_sep>import React, { useState } from 'react';
import ChartWrapper from '../components/ColumnRangeChart/ChartWrapper';
import Select from 'react-select';
function ColumnRangeChartPage() {
const [year, yearSelected] = useState('')
const options = [
{ value: 'first', label: 'First Year of Business' }... | 73d8bdc5f18bfaf6767ad2e2c341b5a32febe26d | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | sleeplesseditor/ReactD3Wrapper | 420b71e10bf144a7cefcd7c3dcaebc73b9dd4a51 | 21ae0211d6e0a8406895264b2baeddef1d271f3a |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireController : InteractableObject {
public GameObject Light;
public float Fuel = 100;
public float burnRate = 2f;
public float MaxRange;
private float fireScale;
// Use this for initializat... | 88411ae436a457c8af22276ca29502f900136d41 | [
"Markdown",
"C#"
] | 10 | C# | nicksundermeyer/Campfire | a94cb3149014787b6a7164e077f6207382bff329 | 1f6e3e6e0f3564f90880bbe1f92d348921d16da4 |
refs/heads/master | <repo_name>darwintk/eyebrow_length<file_sep>/dlib_face_68.md
# Dlib面部识别以及68个特征点
> 在处理图像上,opencv比较常用,因此除了人脸识别使用了dlib库,其他地方都使用了opencv来进行处理
本代码参考[vipstone/faceai](https://github.com/vipstone/faceai)
## Dlib面部识别
使用dlib中的get_frontal_face_detector()来查找图片中的人脸,代码如下:
``` python
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) #... | 1567afa471f5fe72d042830931b99808e81b35c1 | [
"Markdown",
"Python"
] | 4 | Markdown | darwintk/eyebrow_length | 0ff90063037c7e2d761b643cd57b72a0cc6857eb | ff3505dd513e5564470286370fdbb718811dd942 |
refs/heads/master | <file_sep>var sys = require('sys');
var exec = require('child_process').exec;
var child;
var fs = require('fs');
var traverseFileSystem = function (currentPath) {
var files = fs.readdirSync(currentPath);
for (var i in files) {
var currentFile = currentPath + '/' + files[i];
var stats = fs.statSync(currentF... | b8fc8b3e0ab2ff53607fc9ed8b3faa38b7dc81ef | [
"JavaScript"
] | 1 | JavaScript | mrhanti/node-s3 | 33430fdaca35abbfddc78f88e1b868b6e99def4e | 6021543ec679a272d546dad8e402fc2f59f2ed0d |
refs/heads/master | <repo_name>una-eif506-18G01/examen-parcial-1-JordyRG21<file_sep>/examen1/src/Components/Menu.js
import React, { Component } from 'react';
class Menu extends Component {
render() {
return (
<div className="container-fluid">
<div className="row">
<div className="nav nav-pills">
<u... | c80e016e5b8ea161882e37a87f16c1c0764b8483 | [
"JavaScript"
] | 4 | JavaScript | una-eif506-18G01/examen-parcial-1-JordyRG21 | c938635ed0a554d26220c9848482beeace388f3a | 6dca1f6ae553ef1a40f5760c952a77a85e69ed5f |
refs/heads/master | <repo_name>williamsbs/Piscine-PHP<file_sep>/day05/ex00/ex00.sql
CREATE DATABASE db_wsabates CHARACTER SET 'utf8';
<file_sep>/rush00/srcs/admin/modif_categorie.php
<?PHP
session_start();
include ("header_admin.php");
if ((isset($_POST['ancienne']) && $_POST['ancienne'] != NULL)&&
(isset($_POST['nouvelle']) && $_POST['no... | e1619bb6fbbe0498b2008186c29191f65e31b0fe | [
"Markdown",
"SQL",
"PHP"
] | 60 | SQL | williamsbs/Piscine-PHP | 8d11387351fde064bc49af6c59317bc29f384745 | 1a9da8c0098338942d4015f2e7dbe9685ca28d45 |
refs/heads/main | <file_sep>Blogr landing page challenge from https://www.frontendmentor.io (https://www.frontendmentor.io/challenges/blogr-landing-page-EX2RLAApP/hub/blogr-landing-page-7wdxNKjAc)
Live page - https://bloggrs.netlify.app
<file_sep>const menu = document.querySelector(".menu-icons");
const menuImgs = document.querySelec... | 7f71793fda0d2efc3f7e77ea5a68d7e32185445a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | valy-s/blogr-landing-page | 3c3d97af7cdcfd5c95d89f92699e50c277dafb1c | 22c5dd11f1081b224d745ab6ffe3b6a7f7ae1a7f |
refs/heads/master | <file_sep>export function render(el, Component) {}
| f4e5b71b1cdc8ccd75f7fc604bb3f802bab40d23 | [
"JavaScript"
] | 1 | JavaScript | Myagi/my-react-starter | f1a08fec6f1e7dcf55f211161517522bac9f90b6 | 5756832f4481ea9a87060ab97e06d76e36683edb |
refs/heads/master | <repo_name>Gabriel-Giovani/barber-app<file_sep>/src/stacks/MainStack.js
import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import Preload from '../screens/Preload';
import Login from '../screens/Login';
import Register from '../screens/Register';
import MainTab from './MainTab';
... | 207975df6c8ccaee56b806c585887a6216a28c29 | [
"JavaScript"
] | 16 | JavaScript | Gabriel-Giovani/barber-app | 2a9400a708fd47fe42a22c124a596bd9c7b09dd1 | db0f5fc35e3179cab4452d0025ca688bff616b15 |
refs/heads/master | <repo_name>kaffo/VeracityTest<file_sep>/VeracityTest/Consumers/ConsoleConsumer.cs
using System;
using System.Collections.Generic;
using System.Text;
using VeracityTest.Data;
namespace VeracityTest.Consumers
{
public class ConsoleConsumer : IConsumer
{
private IDataQueue _dataQueue;
public Con... | 6b0ce6efc20371670f0b1cd51e6505721043f397 | [
"C#"
] | 11 | C# | kaffo/VeracityTest | c1a5a09ab0ec4f9a36fe3a7041fc8b4c79d2b9ea | e85eff30b336fad0d9272fd15e033c983c7cb717 |
refs/heads/master | <file_sep># calculator_in_c
This is just a basic project to test my c++ skills at initial level
<file_sep>#include<stdio.h>
#include<stdlib.h>
void addition()
{
int num1, num2;
printf("Enter the two numbers with space between them: \n");
scanf("%d %d",&num1,&num2);
printf("%d\n",num1+num2);
}
void subtraction()
{
... | 30aa35f43f0ae9cd05f45e22d32ee8542147620a | [
"Markdown",
"C"
] | 2 | Markdown | Rohit-Prajapati-1897/calculator_in_c | a9f7df0a7d1c674350c0edae459114e0a557f285 | b74f2cb09b3e63da10465a3b962f8666d59beb0b |
refs/heads/master | <repo_name>supcomstudents/cv-parser<file_sep>/Dockerfile
FROM alpine:3.7
ENV PYTHONUNBUFFERED 1
RUN apk update && \
apk upgrade && \
apk add --no-cache \
gcc g++ paxctl libgcc libstdc++ make cmake musl-dev libffi-dev openssl-dev linux-headers libxml2-dev libxslt-dev python python-dev python3 python3-dev... | d77bcf1b8f1581a3c9db648a047a2d38cd0899ae | [
"Markdown",
"Python",
"Text",
"Dockerfile"
] | 7 | Dockerfile | supcomstudents/cv-parser | ffc855f2cd655f4881b1e8fb7c57250edd1a8609 | ba044615b946cf745a441b911e1e86613dadde73 |
refs/heads/master | <repo_name>krzysztofpal/MnistRecognizer<file_sep>/MnistRecognizer/Modules/Database/Db.cs
using Microsoft.EntityFrameworkCore;
using MnistRecognizer.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MnistRecognizer.Modules.Database
{
public class Db ... | 047961619a0a78c8ffb6b2b8c61d3dbec80592e3 | [
"C#"
] | 16 | C# | krzysztofpal/MnistRecognizer | 5b2f1fd6684a2c6c8e6ac41e21b7721de2b9f47d | c0f18a631f7a43cf5452ea0e65e3df330b26aa98 |
refs/heads/main | <repo_name>canvasdevelopers/slobjs<file_sep>/index.js
function runslobjs(options){
return true;
}
module.exports.slobjs=runslobjs;
| 74a27a0db06be368f978f993e78b6e6d9d5321da | [
"JavaScript"
] | 1 | JavaScript | canvasdevelopers/slobjs | 4e1e59db45a20108755161516f105e4671f9a800 | 2fdde040064f7d8b1d65962b0df20140d7110664 |
refs/heads/master | <file_sep>package com.msy.lyj.fragment;
import java.util.ArrayList;
import java.util.List;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.DialogInterface.OnClickListener;
import android.os.Bundle;
im... | d0e96a2d478d844d45e67044569262aebe934ad4 | [
"Markdown",
"Java"
] | 10 | Java | hongquanyingma/dashengxinwen | 13ff0c7837c00b13e9b6000ec59521a3360be3e3 | d5c50958da35ef695267d84e9b05516012fc86da |
refs/heads/master | <repo_name>DreamVB/File-Lister<file_sep>/FileLister.py
import glob
import sys
# Open html include file
f = open("inc\\html.inc","r")
# Check file mode
if f.mode == "r":
# Read the contents of file into header
header = f.read()
# Close file
f.close()
footer = """ </body>
</html>"""
if len(sys.a... | 520e271d1399a1e90482dfd00b16b526615e22a9 | [
"Markdown",
"Python"
] | 2 | Python | DreamVB/File-Lister | f40f14c1312ee2c9a851d1e075ddde9b37f998f5 | 0587bf8cba77d0dc7ba438aed00e57b536683e28 |
refs/heads/master | <file_sep># Bootcamp-ES6-1of3
Makeup assignment for University of Minnesota Coding Boot Camp
This Javascript ES6 and React application dynamically populates a friends list with characters from two JSON files.
Javascript ES6 syntax used in this project:
-variable declarations let and const
-the string method start... | 7fd5ca7b16f89da8a87092460e8c9c406078711a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | craigcorsi/Bootcamp-ES6-1of3 | 991ef09bd4ce1a6507f64fb8c76aeb3b5f88bbf1 | 3976935a18381d09effbacd3443bc92f0c8b4b9a |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import allure
import pytest
import time
from selenium import webdriver
@allure.feature("百度搜索")
@pytest.mark.parametrize("test_data1", ["allure", "pytest", "unittest"])
def test_steps_demo(test_data1):
with allure.step("打开百度网页"):
driver = webdriver.Chr... | 9114b27928c18c908ec3ed9da51d817b2216377a | [
"Python",
"INI"
] | 59 | Python | JuliaZxr/LagouPractice_Yuki | d9e58cebc5c3d45a29cab85d7990dd1c2a961a53 | 0e469cb1a19c1bb438de0ab143ae13d5bf60f9dd |
refs/heads/beta | <repo_name>mrzac/Jeedom-Volets<file_sep>/core/class/Volets.class.php
<?php
require_once dirname(__FILE__) . '/../../../../core/php/core.inc.php';
class Volets extends eqLogic {
public static function deamon_info() {
$return = array();
$return['log'] = 'Volets';
$return['launchable'] = 'ok';
$return['state'] = ... | ae4bb2acc9bd80dc06d474d7196434d676e9e9ae | [
"AsciiDoc",
"PHP"
] | 5 | PHP | mrzac/Jeedom-Volets | 3ee019dcd21fa528607b024eb3d79a171ccc9c4e | ff38c5450f079d25ec2743293007a17a2cb081c9 |
refs/heads/main | <file_sep>#pragma once
#include "debug.h"
#define MOUNT_DIR(type, device, dir, opts) \
INFO("Mounting %s\n", dir); \
util_system("mount -t %s %s %s -o %s", type, device, dir, opts)
#define REMOUNT(dir) \
INFO("Remounting %s\n", dir); \
util_system("mount -o remount %s", dir)
#define MOUNT_FS... | c85f44a960ac59c4f9e8a56987f3f77345505f58 | [
"C"
] | 14 | C | richsorg/richinit | 13428be68d8b7be90a15fa479fe68a1794f4333b | 164f20c2386cf25ca2ddfc97de7546201abd12e0 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using HtmlAgilityPack;
namespace MarkQuerier
{
class Program
{
static KeyValuePair<string, string>[] schools;
static System.IO.StreamWrit... | 728fce76685477ecdd5ac3ff0585902701ce8654 | [
"Markdown",
"C#"
] | 3 | C# | jeffreye/markquerier | 414a5c7e3b450ddda21745e91e0d793824ce2f35 | 8b692e0e59e3e5d0f383e8d45ddff78b944b343d |
refs/heads/master | <repo_name>wingyplus/sloth<file_sep>/sloth_test.go
package sloth
import (
"io/ioutil"
"os"
"testing"
"time"
)
func init() {
resetTime()
}
func TestCreateFileAtFirstWrite(t *testing.T) {
makeTempDir("TestWrite")
defer os.RemoveAll("TestWrite")
f := &File{
Filename: "TestWrite/test-write.log",
}
defer f.C... | d0320d782a72ce44b0e5213ee6be21da4c083f65 | [
"Markdown",
"Go"
] | 3 | Go | wingyplus/sloth | beb16989706604bd99fef3d0b78e29bef6a5521c | 3d7376156bc09a43d5cca332a4114619582cd225 |
refs/heads/master | <file_sep>/*
* Copyright (C) 2015 SEC BFO, Inc. All Rights Reserved.
*/
package com.thinkgem.jeesite.movieclub.portal.controller;
import com.thinkgem.jeesite.common.utils.StringUtils;
import com.thinkgem.jeesite.common.web.BaseController;
import com.thinkgem.jeesite.movieclub.consumer.entity.Consumer;
import com.thi... | 574e7bf3b93671b5f6140f15e2cdea68959b1d94 | [
"Java",
"SQL"
] | 38 | Java | movitech/MovieClub | d50a9aaa895642b9785dcd626d8b8e1239786fd4 | efd625f46ecd4068b78464690bc5a04aed8e941c |
refs/heads/master | <file_sep>//
// Global.swift
// ISSChalange
//
// Created by <NAME> on 6/17/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
/*****************API Key***********************/
let BASE_URL = "http://api.open-notify.org/"
let ISS_NOW_URL = BASE_URL + "iss-now.json"
let PASS_URL = BASE_URL + "is... | 2cc31f10c52d76d8bdd6f4fed9ed361e1a79dda7 | [
"Swift",
"Markdown"
] | 14 | Swift | lhouch/ISSLocation | bda4961e2a07ad120aad9a80c5a6f2763f174502 | ec989a79bee930353a345f36693b4ea13fefd81d |
refs/heads/master | <repo_name>symphony-snippets/taskgroup-dev-react<file_sep>/browser-sync.gulp.js
import browserSync from 'browser-sync';
import serveStatic from 'serve-static';
export default (gulp, plugins, config, done) => {
if (config.IS_PROD) {
done();
return;
}
const { INIT_CWD, SITE = "tacoshop", ENV = "manage" } ... | 1ba05d353dce03694b0e50b03ea936c820fa82c6 | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | symphony-snippets/taskgroup-dev-react | 372f42245b0cce75eabea72243990e9f1986f1df | eb829cc1cfaf3bcecd629b25a833bb89e4b456cc |
refs/heads/master | <repo_name>edse/social<file_sep>/src/Edse/UserBundle/EdseUserBundle.php
<?php
namespace Edse\UserBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class EdseUserBundle extends Bundle
{
}
<file_sep>/src/Edse/UserBundle/Model/OAuthUserProvider.php
<?php
namespace Edse\UserBundle\Model;
use HWI\Bundle\OAuthBund... | 86dc51af1df5f06fe7865cb0a1b23888cbfd0787 | [
"PHP"
] | 2 | PHP | edse/social | e131f192c31ab21f0b0f89e315a8dba9e3f40c72 | 5a5111b08eeaf780a0efa29a1c958c51a84212d6 |
refs/heads/master | <repo_name>christocarr/hangman<file_sep>/src/request.js
'use strict'
const getGame = async (wordCount) => {
const response = await fetch(`https://api.wordnik.com/v4/words.json/randomWord?hasDictionaryDef=true&maxCorpusCount=-1&minDictionaryCount=1&maxDictionaryCount=-1&minLength=5&maxLength=-1&api_key=`)
if (respo... | b4818947b1255781e305733f6a419fdc6e933ae8 | [
"JavaScript"
] | 1 | JavaScript | christocarr/hangman | e572a958755923155d6250b7b512af91000a2ce4 | eff4482958edef4217d0780ed4994fdaf3676b74 |
refs/heads/master | <repo_name>pilot-fly/wuziqi<file_sep>/wuziqi.js
$(function(){
var c=document.getElementById("c");
var $audio=$("#audio");
var audio=$("#audio").get(0);
var audio1=$("#audio1").get(0);
var ctx=c.getContext('2d');
var sep=40;
var sr=5;
var br=40;
var time=[10,9,8,7,6,5,4,3,2,1,0];
var time1=[10,9,8,7,6,5,4,3... | 75c891537df16d5bd650f766a010d44c1f31a22d | [
"JavaScript"
] | 1 | JavaScript | pilot-fly/wuziqi | cd9ee75dec7a1fa6258f29dfa7d4a9ea7d689738 | 92264bb02aa670facacac14adbee7baad33b122c |
refs/heads/master | <file_sep>#!/bin/bash
set -e
set -u
rm -f db-undercursor.result
undertest='*mvom/renderer.vim'
#undertest='*mvom/*/location.vim'
/Applications/MacVim.app/Contents/MacOS/Vim \
--cmd 'profile start db-undercursor.result' \
--cmd "profile! file $undertest" \
-c 'MVOMenable' \
-c '1000 | call mvom#renderer#RePai... | 225c4f3193d958674750e1f6b9609d7bd3e551c3 | [
"Shell"
] | 1 | Shell | dsummersl/vim-sluice | 25bbd4aa7aeb75dda4abd3ea246f76fdbfe9fb7b | 16003e16ba5fdbc0211112c087b1d8f168249677 |
refs/heads/master | <file_sep>module PgbackupsArchive
VERSION = "1.0.0"
end
| 2404acb3d15622864eec667bbb576020c66f7fc1 | [
"Ruby"
] | 1 | Ruby | retailos/pgbackups-archive | 7a594c6f341544b232c9ca2b237ecd0bb6a9e367 | 51e5630f35ea572b009118c46bbfe127a41db116 |
refs/heads/master | <repo_name>httvhutceoscop/yii2cozy<file_sep>/frontend/views/site/contact.php
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\ContactForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\captcha\Captcha;
$this->title = 'Contact Us';
$this->pa... | ac489351b8659cbe405b4065975ef2b0e1b31deb | [
"PHP"
] | 3 | PHP | httvhutceoscop/yii2cozy | 55a50c58aa6b910e8afbae73e15cae67cf667a9c | 07c34c2c85efc26b73641b6265b6ef7dc4ab3adc |
refs/heads/master | <repo_name>CesarDuvanCabraCoy/ProyectoBibliotecaOptima<file_sep>/src/utils/Utils.java
package utils;
import java.awt.Container;
import java.awt.GridBagConstraints;
import javax.swing.JLabel;
public class Utils {
public static void generateBasicGrid(Container comp, int quantityColumns, GridBagConstraints gbc){
gbc... | 94492efcd42586b5f8451100bd67fbd3483bc014 | [
"Java"
] | 8 | Java | CesarDuvanCabraCoy/ProyectoBibliotecaOptima | 8f451658ad0a547bf2c350ef875b21e14d04d01f | 564e17194936693fc14487ed9d287de83007dce4 |
refs/heads/master | <file_sep>import Vue from 'vue';
import VueRouter from 'vue-router';
import Home from '../views/Home/Home.vue';
import Login from '../views/Login/Login.vue';
import Registrate from '../views/Registrate/Registrate.vue';
import NewEvent from '../views/NewEvent/NewEvent.vue';
import User from '../views/User/User.vue';
Vu... | b5cd2ae36fbb3f0567ad4c2176364d402fdecc05 | [
"JavaScript"
] | 11 | JavaScript | Artur-Hoppner/Introvert | cd102c7acf29be062458d77319194afcec3a294a | e4f5f6a7fe21f9e7963730570a652e366fac2a2b |
refs/heads/main | <repo_name>egolovko/lab2<file_sep>/Lab2, 70.py
"""
NAME
Lab2, 70
DESCRIPTION
This program calculates the sum of the power series, defined on the segment [A, B], with precision
"""
A = 0.
B = 1.
def s(x: float, positive_eps: float) -> float:
""" Calculate the value of sum of the power series, defined on ... | 020903958f619d5e08c4cd165cfb8ddd0144e920 | [
"Python"
] | 1 | Python | egolovko/lab2 | 155a99c9799ed4e02ec8abf6415ed56dae93fbf3 | 225f1e554a43c7bae69928642e759c1c75161f36 |
refs/heads/master | <repo_name>Mohd-Huzaifa-Ansari/mppolytechnic.github.io<file_sep>/mppolytechnic.ac.in/js/validate.js
// JavaScript Document
function makeUppercase()
{
document.reg.stdname.value=document.reg.stdname.value.toUpperCase();
}
function makeUppercase1()
{
document.reg.fname.value=document.reg.fname.val... | fb8562d40b3f762a0d5f9dc378f26c8425acc49c | [
"JavaScript",
"HTML",
"Markdown"
] | 3 | JavaScript | Mohd-Huzaifa-Ansari/mppolytechnic.github.io | c0a071310b7f0833fbe154c1580d8a2082917faa | a64bb6fa8e7027e92aa5f5277d6c3015763b3c27 |
refs/heads/master | <repo_name>renecastrejon/angular2-sample<file_sep>/app/main.ts
/*
main.ts se encarga de cargar el modulo inicial
Este archivo debe cargarse antes en index.html
SECUENCIA:
1. index.html => Carga systemjs.js que contiene una config. para cargar main.ts
2. main.ts => Contiene la configuracion para hacer el boots... | ab5c8bdd988e325893a47e666d4e3366445ca270 | [
"TypeScript"
] | 8 | TypeScript | renecastrejon/angular2-sample | 62912dfdf4d39e464ba8045db53f4dfeb1a3a451 | 42cdf70c9cb2ac73d47736d2e3f0783acc5c20f1 |
refs/heads/master | <file_sep>import React from 'react'
import Link from 'gatsby-link'
import PropTypes from 'prop-types'
import Img from 'gatsby-image'
const propTypes = {
data: PropTypes.object.isRequired,
}
class AllBlogPosts extends React.Component {
render() {
const posts = this.props.data.allContentfulBlogPost.ed... | 0f7f291723645eef0dc7a2bccecec1386f5b48f2 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Scandy-co/cappy-web | 52548b9db6717f6428be1393ce70208fc08ecdb1 | c9acc44a7b5f3b023ee05580e32aaf1104add609 |
refs/heads/master | <repo_name>SiavashMT/GloVe<file_sep>/README.md
Simple Python Implementation of Global Vectors for Word Representation (GloVe)
Example Usage:
```
import nltk
from nltk.corpus import brown
import logging
logging.getLogger().setLevel(logging.INFO)
nltk.download('brown')
data = brown.sents(catego... | c90a0ceb1291e21f2ccaae8c0bc137afe8e45a9f | [
"Markdown",
"Python",
"Text"
] | 3 | Markdown | SiavashMT/GloVe | 6cd85bc61534f17cf818626a54e9cda07da9caa4 | 25c5f441cf90772f41a81dbea9c86e541eccfa06 |
refs/heads/master | <repo_name>mschumak/StainAnalysis-plugin<file_sep>/README.md
<h1 align="center">Stain Analysis Plugin</h1>
This plugin calculates the percentage area of a region of interest which has been stained using an IHC biomarker. The color deconvolution method described by Ruifrok <sup>[1]</sup> is used to separate the color ch... | b6041a588d1b0e7ae421ae82a053e047c58240d1 | [
"Markdown",
"CMake",
"C++"
] | 10 | Markdown | mschumak/StainAnalysis-plugin | 3c236139d69453fbd6bddf58d3ed715bd8d2802f | 22cbcbb773d541e6794ef182ab1d1c0b227e8850 |
refs/heads/master | <file_sep># Tietokantakaavio

### Create table lauseet
CREATE TABLE account (
id INTEGER NOT NULL,
date_created DATETIME,
date_modified DATETIME,
name VARCHAR(100) NOT NULL,
email VARCHA... | 131f3995dd99559f5aa8a8a6758de09a0afc8dfb | [
"Markdown",
"Python",
"HTML"
] | 16 | Markdown | juhakaup/ReissuReppu | f35cb259b5c37fb279d9d91752c2a2f497dd74ba | 1fabe3ed8cdb30eaccae2bf9228f3e73a88dba84 |
refs/heads/master | <repo_name>nuatmochoi/klgrade<file_sep>/0712.py
import tensorflow as tf
import numpy as np
import os
import cv2
from sklearn.preprocessing import OneHotEncoder, MinMaxScaler
np.random.seed(777)
he=tf.contrib.layers.variance_scaling_initializer()
os.environ['CUDA_VISIBLE_DEVICE']='1'
# preprocessing
def train_data(di... | fa8d8000b90875fc33120d6572dab1e9ae987348 | [
"Markdown",
"Python"
] | 5 | Python | nuatmochoi/klgrade | b4f4963a191212400f4d4a98587793013f3e55b6 | c9c4d677a70db52c45b3f4f26994adcad3283969 |
refs/heads/master | <repo_name>nuhmanp/Pizza-Ordering-Bootstrap<file_sep>/js/validations.js
function isEmpty(string){
return string.trim() =="";
}
function areEquivalent(value1, value2){
}
function isChecked(inputSet){
}
function isEmailValid(email){
}<file_sep>/js/script.js
function multiply(){
var result = 1;
for (var i = 0; i... | 74256b7e73e16d68010ef9b6d04979d93e7e57b8 | [
"JavaScript"
] | 2 | JavaScript | nuhmanp/Pizza-Ordering-Bootstrap | 765e2c1a59cbd7e474093ac2814536964365b76c | 565f9ff1138c21ec57cca7d07d8ce40a396ae9cd |
refs/heads/master | <repo_name>Computational-Nonlinear-Optics-ORC/mm-fopo-1<file_sep>/testing/test_coupler.py
import sys
sys.path.append('src')
import coupler
import numpy as np
from numpy.testing import assert_allclose
from scipy.constants import c, pi
import os
from scipy import special
def test_bessel():
assert_allclose(coupler.jv... | 05af67d7e3affbebdd555f95463bf5f19f570676 | [
"Markdown",
"Python",
"Shell"
] | 20 | Python | Computational-Nonlinear-Optics-ORC/mm-fopo-1 | c423bd2c8766151360bd84b1e1ca367873b31304 | 0ea84e596ed583ca89478fe51a0afc56dff4efed |
refs/heads/master | <repo_name>sirghiny/facial_recognition<file_sep>/prep_data.py
from itertools import combinations
from math import sqrt
from os import getcwd, listdir, system
from pickle import dump, load
from sys import exit
from cv2 import COLOR_BGR2GRAY, cvtColor, imread, imwrite
from face_recognition import face_landmarks, face_lo... | b2a7b5b11f184737e488a149fc8029eaa9abe92b | [
"Python",
"INI"
] | 2 | Python | sirghiny/facial_recognition | b344c04dca9514f08d5342f1cab56b19d0e8bcda | b205e81299bb12db36a02177107bc43edd51e841 |
refs/heads/master | <file_sep>/*
Delete occurrences of an element if it occurs more than n times
Enough is enough!
Alice and Bob were on a holiday. Both of them took many pictures
of the places they've been, and now they want to show Charlie their
entire collection. However, Charlie doesn't like this sessions,
since the motive usuall... | dc67ecfa59d7e3bc452d22dc68e9262cf44eca3f | [
"JavaScript",
"Markdown"
] | 40 | JavaScript | clln62/toyProblems | d6a7813236b29d2f1ef51f0d3132eef49f220eb8 | a080d69e401ec4bef1471d204fd69a735cf7afe2 |
refs/heads/master | <repo_name>Juvygelbard/3dTetris<file_sep>/tetris.py
import sys, tkinter
from time import process_time
from random import choice, shuffle
from engine import Engine, Surface, HBox, HGrid
from assets import SHAPES, COLORS
from highscore import HighScoreTable
from menu import *
from utils import *
class Game:
BORAD_S... | 008d81bf4b4f42e75c3969b9f49082c3546a8a06 | [
"Markdown",
"Python"
] | 6 | Python | Juvygelbard/3dTetris | e746e2efcc383c16c9af10d0a2d6376ba69330fa | 8a856b93d246d321a8263e1fad9aea8a38bb04f0 |
refs/heads/master | <repo_name>dakillon/SP<file_sep>/src/Subcapitol.java
import java.util.ArrayList;
public class Subcapitol {
String titlu;
ArrayList<Element>continut=new ArrayList<Element>();
public Subcapitol(String titlu){
this.titlu=titlu;
}
public void addElement(Element e){
this.continut.add(e);
}
public void print(){... | b2e8bb51902e5a1e78664af9da67f3a6ea868556 | [
"Java"
] | 3 | Java | dakillon/SP | 3ae4ec849930f52b21e08c91c481fd641fdfdd87 | f2fa8bf1b7fdd5f38e44dd2faaae2cfcce199e51 |
refs/heads/master | <repo_name>amerlin/excel-parser<file_sep>/Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using OfficeOpenXml;
namespace excel_parser
{
class Program
{
static void Main(string[] args)
{
var filePath = @"./data/data.xlsx";
... | 6f1a0da1e5ef83655f28bfe1f4fa38c77d2cd751 | [
"Markdown",
"C#"
] | 3 | C# | amerlin/excel-parser | 0eddc01c5a22493502cfd1ed16630619c5d0628a | b569910f153e22a30785cc2196c99fadff7c0c24 |
refs/heads/master | <file_sep># machineLearning
In this repository I deal with various machine learning algorithms on real world data set obtained from Kaggle
<file_sep>Algotrithm to predict the insurance charges for an individual based on various features.
We train the model,and save the top 2 best fit model.
<file_sep>import pandas as ... | 7953e6311633e88c9ba0eed4210dd52b4ff2adc8 | [
"Markdown",
"Python",
"Text"
] | 5 | Markdown | nikhil2195/machineLearning | 3bd539e2c68595f94d3af04d3263b8393ed06719 | cbf623d05bfe1ec72e43f8345daa6c4b5d74bf73 |
refs/heads/master | <file_sep>"use strict";
var path = require('path');
var fs = require('fs-extra');
var byline = require('byline');
var util = require('util');
var stream = require('stream');
var Transform = stream.Transform;
var trim = function(str) {
if (!str) {
return str;
}
return str.replace(/^[\s\xA0]+/, '').replace(/[\s\xA... | 010ce879ddf54e85d3c45660cc7375864f096798 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lowik/bootstrap-postcss | fa31ac92ac73468e975f1028033ec358ae3ae292 | 962a79fde0dbb50cc5018836e8350eafff6caad1 |
refs/heads/master | <repo_name>ziggity/hairsalon<file_sep>/tests/ClientTest.php
<?php
/**
* @backupGlobals disabled
* @backupStaticAttributes disabled
*/
$DB = new PDO('mysql:host=localhost:8889;dbname=test_hairsalon', "root", "root");
require_once "src/Stylist.php";
require_once "src/Client.php";
class ClientTest extends PHPUnit_Framewo... | 28632649ab2cd60c283ade9224a1c7b496d9a549 | [
"PHP"
] | 3 | PHP | ziggity/hairsalon | d8ce01f0ac45ba94fa60910d329b381fe78cb231 | 31a7de3715f1fea9f8a216858a7e4f1e77065071 |
refs/heads/master | <file_sep># WP1-14
úplně jsem na tenhle úkol zapomněl, dopsal jsem
<file_sep><?php
$submit = filter_input(INPUT_POST, 'submit');
$gender = filter_input(INPUT_POST, 'gender');
$email = filter_input(INPUT_POST, 'email');
?>
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" cont... | b31b306ad8a1000ace68b6d10f807506feb2f320 | [
"Markdown",
"PHP"
] | 2 | Markdown | MartinL3dl/WP1-14 | 6112857ecf91738bdc27a0ab188d9f5d872623ed | a93c855c175000cb805f8de1b5fcd0c881231bc5 |
refs/heads/master | <repo_name>Anyju/Mcpec1<file_sep>/clase1.Rmd
---
title: "Curso de R"
author: <NAME>
date: 25 de enero de 2017
output:
---
## Introducci?n {.flexbox .vcenter}
R es un software para el an?lisis estad?stico de datos considerado como uno de los m?s interesantes.
Beneficios de R:
- Almacenamiento y manipulaci?n efec... | 6b1f25c919a7f774220b9a7d09b7286eb6f2e0f9 | [
"R",
"RMarkdown"
] | 3 | RMarkdown | Anyju/Mcpec1 | bae59244c5c7c6fcb5ed7c4f902bed307b6e8aa1 | cacee286ada740f1b89a60cd2090ceec6fd50a0b |
refs/heads/master | <repo_name>jojello/repo<file_sep>/src/Search.js
import React, { Component } from "react";
import searchImg from "./images/search.png";
import classnames from "classnames/bind";
import App from "./css/App.css";
class Search extends Component {
constructor(props) {
super(props);
this.state = {
searchActi... | fe4c6ff33e86d339ff7407cc6cb2619523ada6ff | [
"JavaScript"
] | 4 | JavaScript | jojello/repo | 4db1f76b0cef9cd1eec56e6fc62059820665c013 | a519fe3b6471458aa6c9139b48113148e3bc075e |
refs/heads/master | <repo_name>Daniil-Kuchuk/C_public<file_sep>/prgrm_2.c
// ЗАДАЧА 1
#include <stdio.h>
#include <math.h>
int main()
{
int x, y, z;
float b;
printf("x = "); scanf("%d", &x);
printf("y = "); scanf("%d", &y);
printf("z = "); scanf("%d", &z);
b = ( 1 + pow( cos(y - x), 3 ) ) / ( pow(x, 2) / 2 + pow( sin(... | 22a31a33beedf4033724501f13ebb62249621b39 | [
"C"
] | 11 | C | Daniil-Kuchuk/C_public | b7a0598e41264c1b5258417c3839ac2e0e771ff3 | f825855fb3ab53e0c5b2e5cb684e3b7fe01b973d |
refs/heads/master | <file_sep>//pm2
// pm2 start main.js
// pm2 stop main.js
// pm2 monit
// pm2 list
// --use--
// pm2 start main.js --watch
// pm2 log
// pm2 kill
// pm2 start main.js --watch --ignore-watch="data/*" --no-daemon //pm2 + log<file_sep>var args = process.argv[2];
//2번째 자리 출력
console.log(args);<file_sep>var name = 'eg... | 4bf2f2712db569fc3dbf99b1f90d7eb721b238a0 | [
"JavaScript"
] | 6 | JavaScript | pgshoot13/nodelogin_ex | 23ac86692c4b7599f074ec5436585c359ca599c3 | 0f9f0ceacfe8d1736230d516000ac475771e8b21 |
refs/heads/master | <file_sep><?php
namespace Tests\Grid;
use ArrayAccess;
use QueryGrid\QueryGrid\Columns\Column;
use QueryGrid\QueryGrid\Columns\ColumnCollection;
use QueryGrid\QueryGrid\Columns\Formatters\Date;
use QueryGrid\QueryGrid\GridResult;
use QueryGrid\QueryGrid\RowCollection;
use Tests\Fixtures\UserEntity;
class GridResultT... | 042c05896418d4f9fa12e5294cfb55dab4f2a212 | [
"Markdown",
"PHP"
] | 37 | PHP | query-grid/query-grid | 05fe36899b9f65dd1890431b28a5d2cca5bd56c6 | 9f5876d85ff0291b3fb4084ab5957b2b3f9ca146 |
refs/heads/master | <file_sep>import { Component } from '@angular/core';
@Component({
selector: 'dynamic-menu',
templateUrl: 'app/templates/dynamicmenu-template.html'
})
export class DynamicMenuComponent {
}
| 006ed4c296471d4cd8b58c044904d4c84c7210bc | [
"TypeScript"
] | 1 | TypeScript | AbdulIfthekar/feed | 56983d79b0efcd52c52dd4465084ed1f0a15b285 | 766602e2dfb4b22bfcbb3f72946cf06062f4983d |
refs/heads/master | <file_sep>import React,{Component} from 'react';
class CountWords extends Component{
constructor(props){
super(props);
this.state={
array:[],
sentence:"",
word:'',
count:0,
counts:0
};
}
inputHandler = (e) => {
const { sentence, word, array } = th... | b5b8cf17861ba3b7fddba48e745c6126dd894730 | [
"JavaScript"
] | 2 | JavaScript | annabelle1999Belcina/pm_num1 | 4679275d153a2b7b57fa77c5e0c48429e28a3257 | 4d11d0a15214d969c4f8229659ab9a89c6dacaf6 |
refs/heads/master | <repo_name>vivekmore/intellij-postfix-templates<file_sep>/src/de/endrullis/idea/postfixtemplates/languages/kotlin/KotlinPostfixTemplateProvider.java
package de.endrullis.idea.postfixtemplates.languages.kotlin;
import de.endrullis.idea.postfixtemplates.templates.CustomPostfixTemplateProvider;
import org.jetbrains.annot... | cb8c0611ee16bad1a4297d3a4022cb11f2b122d2 | [
"Markdown",
"Java"
] | 2 | Java | vivekmore/intellij-postfix-templates | 1996079ac64d420d43ac3e92507f3ab73bd3ea94 | 145b5fc1d5000f1833897ffccf7c1803eec3c07b |
refs/heads/master | <file_sep>#!/bin/bash
# $$\ $$\
# $$ | $$ |
# \$$\ $$ |$$$$$$\ $$$$$$$\ $$$$$$\ $$\ $$\ $$$$$$\
# \$$$$ /$$ __$$\ $$ __$$\ $$ __$$\ $$ | $$ |$$ __$$\
# $$ $$< $$$$$$$$ |$$ | $$ |$$$$$$$$ ... | 544be9b8210c20d6ed03f25e1116994fdc7d4ec1 | [
"Markdown",
"Shell"
] | 2 | Shell | Xeneye/newfedg | 66b02f944ff050b075d737c32c53d3a4f5f421e0 | fab37e2a35d402bb55813f6c939a3592067e2938 |
refs/heads/master | <file_sep>#include "directGraph.h"
#include"gate.h"
#include"simulator.h"
#include<stdio.h>
#include<vector>
#include<stack>
#include <iostream>
using namespace std;
void initial(directGraph<gate> * circuit);
void encode(unsigned int * x, unsigned char size);
void printTrTable(unsigned int * x, unsigned char size, un... | 2801b96076a1bee03300c8f956d9d81f44bd70a6 | [
"C",
"C++"
] | 7 | C++ | jason950374/VLSI-testing-hw1 | a179692ab9e3e0608b5fb8c1165f0dac50fbdc0e | b12c6696619240f827e9c6dd85fd0c748d17a714 |
refs/heads/master | <repo_name>2691432189/vue2-responsive<file_sep>/README.md
# vue2-responsive
vue2响应式原理(对象,数组,watch)及其实现源码
<file_sep>/src/observe.js
import Observer from './Observer '
export default function (data) {
// 判断当前属性是否为对象或数组类型,如果不是,则不需要进行响应式处理
if (typeof data != 'object') return
let ob
// 判断当前属性有没有__ob__属性,并且__ob__是Obs... | 3b4f3e482c611a13ce5621359591f290efeef6a2 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | 2691432189/vue2-responsive | 114f84201d3980fbd458abbb1b05443232a62ad7 | 80ab5f6be729bf03a3463a4e1192cf3ae3ca51cf |
refs/heads/master | <repo_name>dpalmisano/spdr<file_sep>/tests/fetcher/test_fetcher.py
# MIT License
# Copyright (c) 2020 <NAME>
# 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 w... | 876785a43a2498a27812d9b924d70f8758af9829 | [
"Python",
"reStructuredText",
"INI"
] | 7 | Python | dpalmisano/spdr | 18dcc45da9f1b4a37ffc11aa59795ed9b5091a40 | 41b95981ede41660d319d62722c34b499d0177a4 |
refs/heads/master | <repo_name>allisonnnnnn/lotide<file_sep>/without.js
const assertArraysEqual = require("./assertArraysEqual")
const without = function(source, remove) {
let result = source.filter(item => {
return !remove.includes(item);
});
return result;
};
// TEST
assertArraysEqual(without([1, 2, 3], [1]), [2, 3]);
<... | 1664a0530bf0863e9ca7295ae2d8462444cb0d6c | [
"JavaScript"
] | 15 | JavaScript | allisonnnnnn/lotide | 765e25f3a2326d042174ed16958f88b714cae977 | 41d7b53ca7bd7f7cd095bd86601c83c2788200e9 |
refs/heads/master | <file_sep>import hashlib
import random
import string
import json
import binascii
import numpy as np
import pandas as pd
import pylab as pl
import logging
import datetime
import collections
import Crypto
import Crypto.Random
from Crypto.Hash import SHA
from Crypto.PublicKey import RSA
from Crypto.Signature import PKCS1_... | 38ed88de2f17d58cb639e3f49ae105109c4f43a3 | [
"Python"
] | 7 | Python | louis97/BcVotaciones1 | b870c35d77e7193613b8c2895e4ec09e812745b8 | 3f22ae7e27a57e25a2bc1c30cf8bc61a55103c1b |
refs/heads/master | <repo_name>uyansain/gallery<file_sep>/application/views/users/register.php
<?php echo validation_errors(); ?>
<?php echo form_open('users/register'); ?>
<div class="row justify-content-center">
<div class="col-md-4 ">
<h1><?= $title; ?></h1>
<div class="form-group">
<label>Нэр</label>
<input type="te... | d39ac123b46a1b29e6250e6aee63bb5ba8938701 | [
"PHP"
] | 4 | PHP | uyansain/gallery | 16ead65d8b86ca9e4f52400d8a6270f8a8cce020 | b4cf0c43b49a772184ed0f870aae17ad23c99757 |
refs/heads/master | <repo_name>parsaha/imdb<file_sep>/README.md
# IMDb EDA
## About
The purpose of this repo is just to house Jupyter notebooks that detail my journey scraping, exploring, cleaning, and presenting IMDb data to find the average rating over all their works that IMDb has listed for any given actor.
There is a folder `imdb-E... | e471da123a5b6abf8eb7c7a4cf407f90747627c7 | [
"Markdown",
"Python"
] | 2 | Markdown | parsaha/imdb | ff0c68b868b1591dbb9447d7b7b63e14218b461c | 49655e66495d1405e570b1dcd39c6282287f11bd |
refs/heads/master | <repo_name>emisaycheese/IEEE-CIS-Fraud-Detection<file_sep>/IEEE_Fraud_v7-xgb_kfold_groupkfold.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 30 15:56:52 2019
@author: ruiqianyang
"""
import pandas as pd
from sklearn.model_selection import train_test_split
import lightgbm as lgb
from sklearn.... | 2c407f2edaa58007441e9a6de1eb0ff2d4e2263c | [
"Markdown",
"Python"
] | 8 | Python | emisaycheese/IEEE-CIS-Fraud-Detection | 81f9a693653cdba375bcea3ffb6274b9406ac93a | 49ae105d650302d909ab623eb51e2324d364e273 |
refs/heads/master | <file_sep># salestax
java coding problem - calculate the sales tax for different products
# how to run
./mvnw spring-boot:run
# how to test
- use a rest client to send a POST request to http://localhost:8080/receipt
sample request 1:
```json
{
"items": [
{
"quantity": 1,
"product": {
"name": "book",
... | f4346ebe80f43baa10b3294be00a0029331c4da9 | [
"Markdown",
"Java"
] | 4 | Markdown | adolfov/salestax | 48898a7961d5842dd5384303b2f519cdb87c7454 | 3b8d58b1508869c0fa92674c529645e2c11a7cd9 |
refs/heads/master | <file_sep>//
// SentMemesCollectionViewController.swift
// MemeMe
//
// Created by <NAME> on 10/29/17.
// Copyright © 2017 <NAME>. All rights reserved.
//
import UIKit
private let reuseIdentifier = "Cell"
class SentMemesCollectionViewController: UICollectionViewController {
var memes:[Meme]!
o... | 2edc99d10a3d60da65e609c499d8643742689159 | [
"Swift",
"Markdown"
] | 6 | Swift | 1ryberr/MemeMe | bba529957592e8636a9a60285b1c95efe7e78f34 | 6fbc038883b076ec1a186274e0973d469e6ae4d3 |
refs/heads/master | <repo_name>AMARJITVS/Flappy-Dragon<file_sep>/Assets/scripts/ScoreScript.cs
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class ScoreScript : MonoBehaviour {
public Text myScoreGUI;
public Text myScore;
public static bool a=true;
void Start... | e32f30957d9ceb0f4bcffcd75037af2b6aae2171 | [
"C#"
] | 4 | C# | AMARJITVS/Flappy-Dragon | c29655a03b50080f9cab4859b12f57a6de3b25c0 | 862c0055c8b6ac76e0320079d43080c36b6a5039 |
refs/heads/master | <file_sep>package com.armstyle.customchatbot.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.armstyle.customchatbot.R
import com.armstyle.customcha... | 69cbe541302002d55f89f7ea56e7cd3a5098a929 | [
"Kotlin",
"Gradle"
] | 7 | Kotlin | armjingjai/android-simple-chatbot | 1dad48a982ab217fc001f7253e7c739367406594 | 36911a9d3cad045744784f537e63480e422c79bc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.