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># GGIS Research Map Web Application
Webmap for displaying the research of UIUC professors.
<file_sep>
'use strict';
const express = require('express');
const router = express.Router();
var ctrlResearchers = require('../controllers/researchers');
var ctrlProjects = require('../controllers/projects');
//var c... | 9cda13e997a7ce131dbe2d82de582161d7438635 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | edisondotme/research-map | 425bc5fd145183ef23bec77dd8791d13df8db2f8 | a8932a7b9bb02cfbfccb34f3587f3fbec1a5bd3e |
refs/heads/master | <file_sep>var chicas = new Array(db.length);
for (var i = 0; i < db.length; i++) {
chicas[i] = db[i].nombre;
};
//var chicas = ["seis","cinco","cuatro","tres","dos","uno"];
//Debo de el entero sacar el residuo [1,2,3], [3,2]:1 realizar las combinaciones con dichos elementos
//Luego debo de combinar 2:[3] y obtendriamo... | 9d739cb3e5805b81d0d6db619e15366c6a82678f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | eliasruizhz/Parte1-ELO-NOOBS | 726fed4fd16c22bef33066d290a2133efbf3cd75 | 6d9fc4cc1d46466b018945a260a6a1c09ecf9217 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
import cv2
from matplotlib import pyplot as plt
if __name__ == '__main__':
img_src = cv2.imread('../images/Lenna.jpg', cv2.IMREAD_COLOR)
img_gry = cv2.cvtColor(img_src, cv2.COLOR_BGR2GRAY)
# 二値化
thresholds = [50, 100, 150, 200, 250]
ret, img_dst1 = cv2.threshold... | 1ca2a18d75aeca24ae0957be65efa1077fcd21e8 | [
"Markdown",
"Python"
] | 16 | Python | fisproject/learning-opencv | d755ad1a4baea4a862c93f7869090c008021adfe | c7353d64760a4087273f8ee655e81186e5dec21e |
refs/heads/master | <repo_name>grexie/six-server<file_sep>/Sixfile.js
import Six from '@grexie/six';
import path from 'path';
import fs from 'fs';
export default Six.Library.extend({
onBuildDocs: function(builder) {
builder.globSync(path.join(builder.srcDir, 'server', 'routers', '**', '*.js')).forEach(function(file) {
... | eb19c5bd06476f4fcd52a43edd352ebff7c7e773 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | grexie/six-server | 725f894edfca68c8c34f5ce56779eb7880bc4b23 | 404f1d600db5650612a6a1b9be547465cc3fba9a |
refs/heads/master | <repo_name>Ahmed-Masoud/HTTP-SERVER<file_sep>/server.py
import socket
import thread
def handleRequest(clientsocket,addr):
print("Got a connection from %s" % str(addr))
clientMsg = clientsocket.recv(512)
print(clientMsg+"\n")
webClient = False
# to know a client or browser and parse the request
... | f2307fcc2c42e38d7a7699354cbc5db0fa737c3e | [
"Python"
] | 2 | Python | Ahmed-Masoud/HTTP-SERVER | a25e997ab942de24b552dd6a3ef6a30ce3e32ac1 | 6b852406376c8c7361951a241eb3a4e063aea9ae |
refs/heads/master | <repo_name>modelm/mla-admin-bar<file_sep>/mla-admin-bar.php
<?php
/**
* customized admin bar for MLA Commons
*/
function mla_admin_bar_add_menus () {
global $wp_admin_bar;
// clean slate
remove_all_actions( 'admin_bar_menu' );
// restore debug bar menu for super admins
if ( isset( $GLOBALS['debug_bar'] ) && i... | 18e30d5db0a3d1e97b7837939eda14c6186c9683 | [
"PHP"
] | 1 | PHP | modelm/mla-admin-bar | a5c890fac3ee3c46edb7a22fa15626e5264cffa3 | c17bab508b5f5e041a453d202c285d4638fa6d90 |
refs/heads/master | <repo_name>ymyurdakul/Bulanik-Mantik-Camasir-Makinesi<file_sep>/Bulanık/Bulanık/Fonksiyonlar.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WindowsFormsApplication1
{
class Fonksiyonlar
{
public static List<String> UyeKumeAdıBul(double deger,string b... | 2b607ab044563f92a6e0611504f674bdfbe88a7d | [
"Markdown",
"C#"
] | 8 | C# | ymyurdakul/Bulanik-Mantik-Camasir-Makinesi | 229b7a913ba35704c27b94a842c9eb46a1a77765 | 82a9cadf08ebe5048d92bd086ff4ac0a12593bb1 |
refs/heads/master | <repo_name>asuengineering/FSE-Spoken-News<file_sep>/spokennews_options.php
<?php
/* Carbon Fields Customizations for Spoken Word Theme */
/* Requires Carbon Fields.
/* Carbon Fields installed in the theme via Composer. */
use Carbon_Fields\Container;
use Carbon_Fields\Field;
add_action( 'carbon_fields_register_fields... | 4efb64487a567ec6cfdbd20d15bfab4ca781d6ea | [
"Markdown",
"PHP"
] | 8 | PHP | asuengineering/FSE-Spoken-News | 3ad67de79eb669bf61b4e4218ea18d2f11bb504d | 15a7f0bb43304cbe75b25651dcfcbd8572645c8e |
refs/heads/main | <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 admin;
/**
*
* @author lelezhao
*/
public class Student {
private String firstName;
private ... | 5ba252b20b8c9bf6e12b3d302a3eb5cd3b984703 | [
"Java"
] | 1 | Java | vanessaDiM/test | fa00fd7f4730214b472eee842d3ed3fe88816a25 | fb027036505a938712d6b6b896653ac2381dacff |
refs/heads/master | <file_sep>---
title: Schichtkohl mit Hackfleisch
date: 2019-05-12
lastmod: 2023-05-23 17:00:30
tags:
- hack
- lowcarb
- pfanne
- schnell
- simple
aliases:
- ../../hauptgerichte/schichtkohl-mit-hackfleisch
---
Schichtkohl Rezepte sind simpel und schnell zubereitet und können beliebig variiert werden. Eine Variation von... | f698aa36458fb6f08126bdcd8544738a2c7e59f5 | [
"Markdown",
"Python",
"Makefile"
] | 188 | Markdown | skoenig/kochbuch | b0a710f9841b9d27ddaf2299773071ddf8f1f034 | 32b406ccdb04e295c8e007acfaf9238d8f61005f |
refs/heads/develop-1.8 | <file_sep>local UI = require('opus.ui')
local Krist = require('swshop.krist')
local colors = _G.colors
local device = _G.device
local os = _G.os
--[[ Configuration Page ]]--
local wizardPage = UI.WizardPage {
title = 'Store Front',
index = 2,
form = UI.Form {
x = 2, ex = -2, y = 1, ey = -2,
manualCont... | d209cc6d18ae489cf1b1b1b77b08d739fdabed46 | [
"Markdown",
"Lua"
] | 2 | Lua | coolstar/opus-apps | c85bb530626767b80eaaedbbc0b554bc7d8c6228 | e48ec262615033f75997bdbec929f27d843a4e02 |
refs/heads/main | <repo_name>shuto1441/atcoder_archive<file_sep>/atcoder.jp/abc091/abc091_b/Main.cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >>N;
vector<string>s(110);
for(int i=0;i<N;i++)
cin>>s[i];
int M;
cin>>M;
vector<string>t(110);
for(int i=0;i<M;i++)
cin>>... | 15cec5616a1c10924ebfd7d1db2134dbcc4e5598 | [
"Markdown",
"C",
"C++",
"Shell"
] | 145 | C++ | shuto1441/atcoder_archive | 8c3cc31ebe39746e26f8fdef4f6ac289d34f91a0 | 2c474a379b6b3df8783504335cc678b3e45fc0e8 |
refs/heads/master | <repo_name>ka7eh/clowder-extractor-pytorch<file_sep>/clowder-pytorch-extractor-example/example-extractor/example_extractor.py
#!/usr/bin/env python
import logging
from pyclowder.extractors import Extractor
import pyclowder.files
import pyclowder.utils
import torch
import torchvision
class ExampleExtractor(Extracto... | 72dabd7cb2c03edaa6106e314cba6ecbabae417a | [
"Markdown",
"Python",
"Dockerfile"
] | 3 | Python | ka7eh/clowder-extractor-pytorch | e59fda28b7d54125f5607cb25921770179d3a2f8 | f99b1f4991ac800133cd9ecbd20132f1fd5ad8c4 |
refs/heads/master | <repo_name>ValkyrieUK/Rails-Chat<file_sep>/app/controllers/messages_controller.rb
class MessagesController < ApplicationController
def index
if current_user.present?
@messages = Message.all
else
redirect_to root_url, notice: "Please log in to continue"
end
end
def create
@message = Message.cre... | 3697564edc81fcb68bb6c327157f181a78227e91 | [
"RDoc",
"Ruby"
] | 5 | Ruby | ValkyrieUK/Rails-Chat | 666632847365937c5763c78febb52bd31a37ffdd | 12ee1ddbef8e7513290da90cf9dbfaadc19c5f34 |
refs/heads/master | <file_sep>package Sept_8_20;
public class UTSspet2020 {
public static void main (String[] args) {
String huruf = "ABCDEFGHIJKLMNOPQRSTUVWXYZ-";
char fn [] = {huruf.charAt(5),huruf.charAt(0),huruf.charAt(17),huruf.charAt(7),huruf.charAt(0),huruf.charAt(13),huruf.charAt(26)};
char pa [] = {huruf.char... | ad8062d93e2e2327598ca09329a657cdecc721cc | [
"Java"
] | 1 | Java | Muhamad-ux/UTS | d80b3582442b2a16f14f2ea179326d50a4ec39c9 | f62ea498752b464ca0b61e8ca72c38d036e6ac8e |
refs/heads/master | <file_sep>package com.fzy.xiaoshuo.controller;
import cn.hutool.core.map.MapUtil;
import com.fzy.xiaoshuo.common.Result;
import com.google.code.kaptcha.Producer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
i... | 48c93a59651714f856f84c7d38e8a42c6d15728e | [
"Java"
] | 4 | Java | mayadebi/springboot | 2e70b88d0a7260f917e5b7e685e770e5a8649831 | fb9a4a61dba9df4a4bf7ff5851d2bb00b0165669 |
refs/heads/master | <file_sep>CONFIG_LIBAV="\
--disable-bzlib \
--disable-muxers \
--disable-bsfs \
--disable-avdevice \
--disable-devices \
--disable-filters \
--disable-encoders \
--enable-muxer=spdif \
--enable-protocols \
--enable-demuxers \
--enable-parsers \
--enable-decoders \
--enable-libdav1d"
| fd3b6f5e30c9bb890fa81776cfcb3847282abaf4 | [
"Shell"
] | 1 | Shell | cyb3rpunk452/aos-ffmpeg-android-builder | 2f7c4b4ec973a9a03824e232922227a433ae693b | 929b8f445fcc40a859d017505e850d6b6f0e19b4 |
refs/heads/master | <file_sep>// TODO: Rename the file to something actually useful
/**
* IIFE --> Immediately Invoked Function Expression
* Function that is executed as soon at it is defined.
* Avoid the anti pattern that is 'global scope'
*/
(function() {
// Forcing the browser to evaluate JS in a stricter way
// by converti... | 602c277547e8890647885f2b07dd6189df25b3c1 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Sindreedelange/various-js | b59a3394043407a1160653b1dbb2ab85e5947548 | b9af6af5368250a826d2225d47000476d8b0cfbb |
refs/heads/master | <repo_name>rohitchhabra95/MQTT-publisher_subscriber-<file_sep>/final_publisher_rohit.py
import paho.mqtt.client as mqtt
# This is the Publisher
def on_publish(client,userdata,result): #create function for callback
print("data published \n")
pass
client = mqtt.Client("sdfaaaghjaacvbnvbn")
client.on_... | 926bca5c235ec1542efc80c741cecdde0eb6d50c | [
"Markdown",
"Python"
] | 3 | Python | rohitchhabra95/MQTT-publisher_subscriber- | 8782e5ce57ae439fe1660e19980af77c19664226 | 3684cb32b1c25b57337c66d883ae8cb37026cefc |
refs/heads/master | <file_sep># hacking-taoe
Repo for the source code of exercises included in <NAME>'s Hacking: The Art of Exploitation
<file_sep>#include <stdio.h>
#include <stdlib.h>
int global_var;
int global_initialized_var = 5;
void function()
{
int stack_var;
printf("The function's stack_var is at address %p\n", &stack_v... | f6f02f24d5e61c7f254d44a33532703752e754b4 | [
"Markdown",
"C",
"Shell"
] | 7 | Markdown | Loptt/hacking-taoe | bcde6c421372f7f3ba143f994c2ccd9df1c3966c | 072db07e777a9b5929f7f5fe8eb701f196f1b0ed |
refs/heads/master | <repo_name>ownelin/linux_class<file_sep>/b.py
print("git")
| 9014e27d3c874e3628bb76e504d7c3f94e0e1d2f | [
"Python"
] | 1 | Python | ownelin/linux_class | 6bedfcccf1fa32ec08d52d1e1578e7d6ef3af27c | b5095355f0db24c04008344a5430ff42505f7aaa |
refs/heads/master | <file_sep>class DoNothingYet < ActiveRecord::Migration
def self.up
# instructions for changing the db to a new state
end
def self.down
# instructions for changing the db back to the previous state
end
end
<file_sep># PositionMover is a module to manage the :position
# attribute of a model.
# Put in the... | 7b3785136b004afc83b1dcf1573549ab3289fd50 | [
"SQL",
"Ruby"
] | 3 | Ruby | supersudh/authcms | b43094401b4fe367d4b5bfdd439d935cc013dc46 | 5da0b0269416bad45d81d08bf243fdb83c26ebac |
refs/heads/master | <file_sep>This is a universal circuit breaker for microservice request protecting
<file_sep>import axios, { AxiosRequestConfig } from 'axios'
import crypto from 'crypto'
import fs from 'fs'
import path from 'path'
import { when, gt, lte, ifElse, both } from 'ramda'
import url from 'url'
const cachePath = path.join(
... | 7134be250e7eb9a0d626a11d7207599973dbac1e | [
"Markdown",
"TypeScript"
] | 2 | Markdown | nfwyst/circuitBreaker | 91d8c30cf1278a4db93d9159526dda75a06c2b36 | 138766e4557390db2b023e820ff31d3eee05d494 |
refs/heads/master | <repo_name>fibjs/fib-swagger<file_sep>/README.md
# Swagger to fibjs Codegen
This package generates a fibjs class from a [swagger specification file](https://github.com/wordnik/swagger-spec). The code is generated using [mustache templates](https://github.com/mtennoe/swagger-js-codegen/tree/master/templates) and is qua... | aa4267f23356759d8d98136c929e2f38dfb58a89 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | fibjs/fib-swagger | 27e84879d9ffb4d871157939a54a2162fa8b20c4 | 6c94397c911206e8a46729066c2b42c5c3721ba0 |
refs/heads/master | <repo_name>jwrench/fcc_twitchy<file_sep>/src/App.js
import React, { Component } from 'react';
import './App.css';
class Streamer extends Component {
render() {
let streamer = this.props.streamer;
return (
<tr className="streamer">
<td><img src={streamer.logo} alt={streamer.username}/></td>
... | f15905cc210c5eacd827633429ab1f41a1d389de | [
"JavaScript"
] | 1 | JavaScript | jwrench/fcc_twitchy | ec273fd7256c020203ead21c4d6d185bf8274f4d | ac1970a7fd480e3c145c60aface0d57a80d71a09 |
refs/heads/master | <repo_name>dwaynedwards/new-game-plus<file_sep>/src/modules/Game/pages/GamePage/index.js
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Grid } from 'semantic-ui-react';
import axios from 'axios';
import GameFull from '../../components/GameFull';
export default class GamePage ext... | ab98fb3b7c4293c0fd0487be72a072e088da80a8 | [
"JavaScript",
"Markdown"
] | 12 | JavaScript | dwaynedwards/new-game-plus | dcf0139d53717ea8675dd33bea357237980f5a34 | 64e02dddb9597428cbd05d828d3aa83f8ed810f4 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
/*Assigment 3
* <NAME>
* Programm k... | 6e25bf8a9a6738fe2841220ec636c73163355d24 | [
"C#"
] | 2 | C# | JoseHinojoza-byte/VehicleRentedLog-Mock-Program | 0db7d343dd9810ac968210a7c0db07acf7d17493 | 8c2c285aa4b0fa01fe8d588ccbb6b8a369737bf2 |
refs/heads/master | <repo_name>hensoko/go-netbox<file_sep>/tools.go
package tools
import (
_ "github.com/go-swagger/go-swagger"
)
| 5de9155b33efa4ee69c060e1f53d67494011cb95 | [
"Go"
] | 1 | Go | hensoko/go-netbox | 8b28441bb9f6b7d002746495872fe5207779d387 | 68d31e621ea3a874aac020a9543d8ad50ba2e66e |
refs/heads/master | <repo_name>Claytongirl/DailySmartyUI<file_sep>/src/actions/types.js
export const SET_RECENT_POSTS = "SET_RECENT_POSTS";
export const SET_RESULTS_POSTS = "SET_RESULTS_POSTS"; | 222815599b1e16c893e3625d4b78811f74b7a9a3 | [
"JavaScript"
] | 1 | JavaScript | Claytongirl/DailySmartyUI | 2f2723164dc72cb295703945d7cd064addc1be47 | c6e8787f8245a0e8d858ce03109b3d5f48373d65 |
refs/heads/master | <repo_name>liyilun2019/homework6<file_sep>/app/src/main/java/com/byted/camp/todolist/MainActivity.java
package com.byted.camp.todolist;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import... | 09dd486991a135f9724d1ba2d3fa69d079127df4 | [
"Markdown",
"Java"
] | 3 | Java | liyilun2019/homework6 | e4651fc5d7ce0c77eab402157e071c53a6bf0f78 | bbc73347b8fe1b4a739bc6b7f4de1bb0d55cacfa |
refs/heads/master | <repo_name>samafshari/RedCorners.Wpf<file_sep>/RedCorners.Wpf/BoolToVisibilityConverter.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Windows;
using System.Windows.Data;
namespace RedCorners.Wpf
{
public class BoolToVisibilityConverter : IValueConve... | 5a883019876465145e541263f11450ae43cdc8e3 | [
"C#"
] | 2 | C# | samafshari/RedCorners.Wpf | c09d598e12e1889a2f325b79b464709fafe88011 | dbe0bad0c9d9389f11e4d332ab034ea4c0f3b048 |
refs/heads/master | <file_sep>0.0.3 / 2014-06-18
==================
* If command fails, just log the error instead of calling done(err);
0.0.2 / 2014-03-23
==================
* Updated underscore version
0.0.1 / 2013-09-09
==================
* Initial version<file_sep>grunt-git-ref-changed-files
===========================
> Dete... | 448c1d3fa5869cb1347cd385f653e11a246fe00b | [
"Markdown",
"JavaScript"
] | 3 | Markdown | isabella232/grunt-git-ref-changed-files | 89f1486bfd620403e5a3272ffc3be6d9c8fd4132 | 7ffbeae70078b4ef6498edbf9572703dab0fbf3e |
refs/heads/master | <file_sep>package model;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import org.junit.jupiter.api.Test;
class ClientTest {
private RestaurantsManager restaurantsManager = new RestaurantsManager();
public void setupScenary1() throws IOException {
restaurantsManager.addClient("An... | 3eaa49911162c65841b3599073601cd041820c2f | [
"Java"
] | 4 | Java | CH1GU1/restaurantsManager | 2c224c2f8d4ab52963c08fb0c0bec63c2ee8ab54 | 7112cbe9181c989ade46207279e1943f37414900 |
refs/heads/master | <repo_name>mooneyow/wow-report<file_sep>/stuff.lua
sendSync("V", ("%d\t%s\t%s\t%s\t%s"):format(DBM.Revision, tostring(DBM.ReleaseRevision), DBM.DisplayVersion, GetLocale(), tostring(not DBM.Options.DontSetIcons)))
displayVersion
local function sendSync(prefix, msg)
msg = msg or ""
if IsInGroup(LE_PARTY_CATE... | df5a8c03deb1568faf81b8cc449e34009152192c | [
"Markdown",
"Lua"
] | 2 | Lua | mooneyow/wow-report | 81f28dc1b4083d9597c3d4252e6132361e2a4918 | e50f94d299785babd0a5c076ef6a42b897829f9d |
refs/heads/main | <repo_name>vernusotku/BotSecure<file_sep>/Bot/DB/DataBase.py
import mysql.connector
from mysql.connector import Error
class Database:
def __init__(self):
self.cursor = None
self.connection = None
self.host_name = None
self.db = None
self.host_user = None
self.host_pa... | 43a5335c3b5aa7a850602ea4adab667ce1f18552 | [
"Markdown",
"Python"
] | 5 | Python | vernusotku/BotSecure | 926296df2fcd2a42ec4a52690ebf4b2a9d1534a4 | 0c7f44093d28bb27e5c54554e7e0c953cbf3a1b1 |
refs/heads/master | <file_sep>file(REMOVE_RECURSE
"CMakeFiles/recipe04_example05.dir/recipe04.cpp.o"
"recipe04_example05"
"recipe04_example05.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/recipe04_example05.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
<file_sep># - Config... | f4cc687353e543c5fe302d48e4521ebe86a9ae6c | [
"CMake",
"Makefile",
"C",
"C++",
"Shell"
] | 110 | CMake | YanyangChen/C_practice | e9b4a19e35738110bc6bc44aac5063839fdae200 | f6ac2439a03556edc558a4cc3e6cd1abc6bda1a2 |
refs/heads/master | <repo_name>huguesto/rails-stupid-coaching<file_sep>/app/controllers/questions_controller_controller.rb
class QuestionsControllerController < ApplicationController
def answer
@response = params[:response]
if @response == "fuck"
@answer = "parles moi mieux."
else
@answer = "Silly quest... | c788e097cc0d95a9b4d955516360d3dc704a81e3 | [
"Ruby"
] | 1 | Ruby | huguesto/rails-stupid-coaching | ed61b6905bc560d34700e08119f4df8be9cd7226 | 9b41821aade000c3cdc330798da4aa87f06bdd31 |
refs/heads/master | <file_sep>import axios from 'axios'
const api = axios.create({
baseURL: 'http://127.0.0.1:5000',
//baseURL: 'http://earthr.herokuapp.com:33507',
})
export const getAllFoods = () => api.get(`/foods`)
export default getAllFoods;
<file_sep># earthr
https://earthr.herokuapp.com/
### What is Earthr?
We are ... | 57e51fcbfed4bdacc352877eaddc2b28a7f1d890 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | atykwonderland/earthr | c4c1bfb790b661bbca49f3bc8c75f86feb07931a | 14533d6bf94c13e62249d52909ee4f0535089ee5 |
refs/heads/master | <file_sep># Netology-ajs-15-hm4_3Mocking
[](https://ci.appveyor.com/project/Ekaterina-Bogdanova/netology-ajs-15-hm4-3mocking)
<file_sep>import getLevel from '../app';
import fetchData from '../http';
jest.mock('../http');
// Обнуляе... | 3f20f56371f0dc183fa50a4ccc04567b75c89d9a | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Ekaterina-Bogdanova/Netology-ajs-15-hm4_3Mocking | 905f1e945ec909b3e639799d5ffedc1bcdde4d8d | e75c8f61ca0247a4d89076daa8b3556df898c9dc |
refs/heads/master | <repo_name>DiamondSheep/JetsonGPIO<file_sep>/build/makefile
# Copyright (c) 2012-2017 <NAME> <EMAIL>.
# Copyright (c) 2019, NVIDIA CORPORATION.
# Copyright (c) 2019 <NAME>(pjueon) <EMAIL>.
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation fil... | 6dc2a05f6da30cdf5c8fdad74d32c30b94f4358e | [
"Markdown",
"Makefile",
"C++"
] | 6 | Makefile | DiamondSheep/JetsonGPIO | ea6815cd2af9454a7c4927843882cd65ce821dc1 | 8d9f484446d99b9c86a18197c732a537bee6db1c |
refs/heads/master | <file_sep>import re
# 打开文件并读取内容
with open(r'C:\Users\lenovo-pc\Desktop\婷婷的Twitter 1-72.txt', 'r', encoding='UTF-8') as file:
content = file.read()
# 使用正则表达式去除多余的换行符和空格
content = re.sub(r'\n+', '\n', content)
content = re.sub(r' +', ' ', content)
# 将文本按照段落划分
paragraphs = content.split('\n\n')
# 对每个段... | acb42ff046d33a6a3a148c480384b3ceaf1a03c8 | [
"Python"
] | 18 | Python | w1g2f3/py | c957337bbbe08084e0b4beb11fc876c8e7902530 | dcaf95c804757bfe0d985631efe647fdfb04c1c9 |
refs/heads/master | <file_sep>var produce = new Vue ({
el:'#produce',
data:{
title:"",
classify_id:"",
classify_lists:[],
},
mounted:function(){
var ue = UE.getEditor('container');
this.select();
},
methods:{
getUeditorContent: function(){
return UE.getEditor('container').getContent()
},
issue:function(){
... | f9322c6207e20e7cbef7a635b4971c6fe0991ccd | [
"JavaScript"
] | 4 | JavaScript | UserLMmeNg/CSDN | b580a3d9700ba291aa0a663c987d56d2d8f857ee | 915ef67caea0afb23edbb403e1833292c2990eff |
refs/heads/master | <repo_name>ts90wb/lvgou<file_sep>/scripts/browser.js
var cWidth = document.documentElement.clientWidth;
console.log(cWidth);
if (cWidth < 768) {
window.location.href = 'register.html';
} | e427e6e2536876ff94564c44bd13995a6c5a906d | [
"JavaScript"
] | 1 | JavaScript | ts90wb/lvgou | 7d5cb41096f3918cbb91bb5fa77e5d511530a447 | 82dd7fb51faa52a667aaff5672f40904ba4f2239 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from __future__ import print_function
import numpy as np
from numpy.linalg import solve, norm, inv, LinAlgError
from numpy import dot, exp
from scipy.integrate import trapz
import scipy.stats as stats
import pandas as pd
from lifelines.plotting import plot_estimate, plot_regressions
... | 10d88777b738fec34a95d2e8ef2d3c1b60baae2d | [
"Python"
] | 2 | Python | dhuynh/lifelines | ad69313fb4c51ec9f69395874a6e79900e580a4b | 8510e0a3b86290454c7c055c439a2caa6a11f0c3 |
refs/heads/master | <file_sep>from . import fauxtograph
from . import vaegan
VAE = fauxtograph.VAE
GAN = fauxtograph.GAN
VAEGAN = fauxtograph.VAEGAN
get_paths = fauxtograph.get_paths
image_resize = fauxtograph.image_resize
calc_fc_size = vaegan.calc_fc_size
calc_im_size = vaegan.calc_im_size
<file_sep>
# coding: utf-8
# # VAE+GAN
# gith... | 4bfc620037ff5cf02f2d77c2051f8dbed24bdac7 | [
"Markdown",
"Python",
"Shell"
] | 13 | Python | tok41/chainer-samples | 95be7fbcf37ac1616d6785bce2d9c521db37e406 | b5f2a66c944155b800e2fb85d4ebf912ec1b50f1 |
refs/heads/master | <repo_name>nandafiestafarada/Tugas-Bab6<file_sep>/src/Praktikum/Employee.java
package Praktikum;
public class Employee {
private static int anak, id;
private double salary;
public String nama, status;
public Employee(String nama, int id, double salary, int year, String status, int anak) {
... | 3d10b5aef83b76a067b91d9143304985629aa2df | [
"Java"
] | 3 | Java | nandafiestafarada/Tugas-Bab6 | e725eaa78eb4208b8a434f3c0b5ceb3a1ac981cc | b9c6871370758f61e412177dea91a0854f9aea9d |
refs/heads/master | <repo_name>arthurlutz/Experimental_helpers<file_sep>/ynh_download_file/ynh_download_file
#!/bin/bash
# Download and check integrity of a file from app.src_file
#
# The file conf/app.src_file need to contains:
#
# FILE_URL=Address to download the file
# FILE_SUM=Control sum
# # (Optional) Program to check the integrity... | 97fbc74adb2aca03d80e1c645d8434e33febc357 | [
"Shell"
] | 3 | Shell | arthurlutz/Experimental_helpers | 26e12c2b7598929f3d9873d82c54663dde6b224b | cf0b7fa62c8fd0654eb01d971f58db57b9fd2d10 |
refs/heads/main | <repo_name>mserhei/cloudx<file_sep>/src/index.js
import './sass/_main.scss';
import './js/main';
<file_sep>/src/js/history/pages.js
import {drawHomeYouCanImages} from '../pages/home-you-can';
import localHeader from '../localization/localHeader.json';
import localHome from '../localization/localHome.json';
import loca... | 0ffdbfce80046ec93a891b13b9ad66c1123ca11b | [
"JavaScript"
] | 8 | JavaScript | mserhei/cloudx | 94dc01349d0a1d157fef6758a5e962b80160fcff | 75bf657e1e71cc2f6e2c96328d42d0129323aee5 |
refs/heads/master | <repo_name>ke-to/super-grep<file_sep>/super-grep_var02.py
# -*- coding: utf-8 -*-
#色々な条件で色々なものに置換する
import xml.dom.minidom,os,sys,glob,re,json
import time
from threading import Timer
# 検索する文字列
search_word = ["xxx","xxx"]
#URLの数だけ検索する
def fild_all_files(csvname,word,directory):
search_arr = []
for i in searc... | 60c9ae04bcbba40c7e9d21c27324e3bd3eb6e40c | [
"Python"
] | 2 | Python | ke-to/super-grep | bea1beb5df8c3deffbdde69d79d3acf0dfd7ff8c | defea62a20a03e61797201697b93a5e20802c952 |
refs/heads/main | <file_sep>import React from 'react';
import { Navbar, Nav, Container } from 'react-bootstrap';
class AppLayout extends React.Component {
render() {
return (<div>
<Navbar bg="light" expand="lg">
<Navbar.Brand href="/">Lending Front</Navbar.Brand>
<Nav className="... | 378d7918dd43fdd28b3abef0b1b8fbac94f5b042 | [
"JavaScript"
] | 6 | JavaScript | anarpafran/lp_frontend | 65cad4a7a70ba89abad1bd2353296514c201fe90 | 50851a269dec631d1a6bc088b62cb28d7b162519 |
refs/heads/master | <repo_name>JoelEnriquez/Proyecto2Pruebas<file_sep>/Proyecto2Pruebas/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
... | 4e82ab6c6dc55eae2ca403d786035be7922dd834 | [
"Java",
"Maven POM"
] | 4 | Maven POM | JoelEnriquez/Proyecto2Pruebas | 919b10f106bc16abc13108d875890e72cfbd190e | 984e064f9d4b2e6def76c23a4fcb661e8ed4630a |
refs/heads/master | <repo_name>amkulikov/extrpc<file_sep>/http_server_wrapper.go
package extrpc
import (
"bytes"
"io"
"net/http"
"net/rpc"
"sync"
)
type ServerCodecGenerator func(rwc io.ReadWriteCloser) rpc.ServerCodec
// ServerWrapper wraps http requests and responses to io.ReadWriteCloser.
type ServerWrapper struct {
rw ... | 40b6ef85d2ff54211fe6c1628c263acff3ce5dbf | [
"Markdown",
"Go"
] | 7 | Go | amkulikov/extrpc | 4856241748ed246fcb164a35ba29b6b0bb5d761b | 32425a0736f5f2da4b80b07cdb09737f7a1a60ae |
refs/heads/master | <repo_name>Prosp3r0/FeatureExtractor<file_sep>/rawFeatureExtractor/preprocessing_ida.py
from func import *
from raw_graphs import *
from idc import *
import os
import argparse
RDEBUG_HOST = 'localhost'
RDEBUG_PORT = 12321
def debug():
import sys
import pydevd
print('++ debug()')
RDEBUG_EGG="/Applications/PyCharm... | ed09bf6cec47d47c9bf69a6f0dcdf4ddf6fb739e | [
"Python"
] | 6 | Python | Prosp3r0/FeatureExtractor | 1286a28674c584843c57bdcb763cf5437173da25 | bb7248144798191f89b67191f948ab7940a6e134 |
refs/heads/master | <repo_name>richmondx/SaveExtension<file_sep>/Source/SaveExtension/Public/ISaveExtension.h
// Copyright 2015-2018 Piperift. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
#include "Engine/Engine.h"
#include "SavePreset.h"
DECLARE_LOG_CATEGORY_EXTERN(LogSaveExtension, All, All);
class ISaveExtension : ... | 260ad2710bd94241d854f67bc9d539269ec7d165 | [
"Markdown",
"C++"
] | 12 | C++ | richmondx/SaveExtension | 2f833b576e7920ae3a5f5075b24194e2aec47c53 | 92bb85b3c33049f1767432b94be356c5a87bec28 |
refs/heads/main | <repo_name>shaie001/Employee-Directory-<file_sep>/build/precache-manifest.cdeaab813e5818ae96696800d9bb5fe2.js
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "<KEY>067461<KEY>",
"url": "/Employee-Directory-/index.html"
},
{
"revision": "f0502039a5cf0d2ec136",
"url"... | 7625b25223d4d8a75ed473cdfbe395a8cccea8d9 | [
"JavaScript"
] | 1 | JavaScript | shaie001/Employee-Directory- | cdc37717d43284bbff5bf9de7bf446453e9867ff | b0c8ed12ec10675e34deb73bf6fa7af8410904fc |
refs/heads/master | <repo_name>nodm/the-weather<file_sep>/src/app/modules/forecast/facades/forecast-facade.ts
import { Injectable } from '@angular/core';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs';
import { selectForecast, State, loadForecast } from '../store';
import { ForecastCard } from '../models';
@Injec... | 79b6da3823cf78404ee264e58d1b77eed6261218 | [
"Markdown",
"TypeScript"
] | 49 | TypeScript | nodm/the-weather | c6ae9c86c2e27a1b011882db4f053ebb9efc4b53 | a1c9102362b0b3f8678558f6a63dbea4976cfd86 |
refs/heads/master | <repo_name>Platekun/bare-ui<file_sep>/src/common/custom-breakpoints.ts
import keys from './keys';
import isObject from './isObject';
import isNull from './isNull';
import EMPTY_STRING from './empty-string';
/**
* Stolen from Material UI.
*/
export const bps: Record<string, number> = {
xs: 0,
sm: 600,
md: 960,
... | 04b2ab0a0aba3598d57bd5f81d2e2a604f702ae5 | [
"Markdown",
"TypeScript"
] | 18 | TypeScript | Platekun/bare-ui | 0e412dc917159f5f60bbcdeb32ec1c80f7e139b2 | 902c6c000934602ee6ef3230f062b9af21a5a035 |
refs/heads/master | <file_sep>#!/usr/bin/python
import threading, time, urllib
from gps import *
import settings
# Based on example from Stack Overflow answer: <http://stackoverflow.com/questions/6146131/python-gps-module-reading-latest-gps-data>
class GpsPoller(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)... | b2ccd2b0b1efaa249da744b400218af8e984746d | [
"Markdown",
"Python",
"Shell"
] | 4 | Python | gucio1200/raspberry-pi-gps-tracker | fde3c0507afd2272d17785e89cd7b22ff4ad48b9 | c94d25fcd1896951c48f3676629eda33cbb96c41 |
refs/heads/master | <file_sep>var express = require('express');
var router = express.Router();
var http = require('http');
router.get("/", function (req, res, next) {
console.log("I think it's index");
res.render('index', {
Header: "Welcome to the Star Wars Index!"
});
});
module.exports = router;<file_sep>var e... | 56bc8ee600eabac9d6ad9bbb98650a8704405e5a | [
"JavaScript"
] | 4 | JavaScript | JustinianH/star-wars-api-app | b74f8d4c754437133b75eaf699ce0f2009569a8c | 65a4baf28fb2e096cdfdd113ea964efcced0f899 |
refs/heads/master | <repo_name>codingteam/naggum<file_sep>/docs/about.rst
About
=====
Disclaimer
----------
Naggum doesn't aim to be yet another Common Lisp or Scheme or whatever
implementation. Instead, we are trying to deliver a modern Lisp dialect that
makes use of most of CLI benefits.
Features
--------
Naggum provides both direct... | 6d2e8f0c90400b5587e6117a6ca3e364ec6b5b7b | [
"Markdown",
"C#",
"reStructuredText"
] | 12 | reStructuredText | codingteam/naggum | f63f71ffb0d57cd5b56e5954f584b591f8abe411 | 7e3079eb7795dbdda3a71ca0c178cb402df81354 |
refs/heads/master | <file_sep>import React, { Component } from "react";
import { NavLink } from "react-router-dom";
class PostListItem extends Component {
constructor(props) {
super(props);
this.onShowPost = this.onShowPost.bind(this);
}
onShowPost() {
window.location.pathname = `/posts/${this.props.post._id}`;
}
r... | 0c80ba1f8373a399acec767f1e33dd99a403d8b3 | [
"JavaScript"
] | 4 | JavaScript | mariamhasan/blog-frontend | c91aadc7e23ed1072799b9d4d07c87703da0edc2 | 06c07d1bbc3e819f15fab9e7e1eaa58918287895 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import NavMenu from '../NavMenu/NavMenu';
import { Toast } from 'antd-mobile';
class List extends Component{
constructor(props){
super(props);
this.state={
inputVal:'',
list:[
'one',
'two'
... | 8b4b2fa6e23b9008c5e5059e4da88ca9bccc5a9f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | Zion0707/myReact | 131f6030396f0c4f7fc95358f00b199a85ea226d | 7d374897cc1c3bdb8998e1b3e39dd5617c8b08bd |
refs/heads/master | <file_sep>$(function() {
var waitUntil = function(condidate, interval, callback) {
var inner = function() {
if (condidate()) {
return callback();
} else {
setTimeout(function() { inner(condidate, interval, callback) }, interval);
}
};
setTimeout(inner, interval);
};
var exportToCalendar ... | ec5c630f9132bec90a6d98cd5406210f76e8802a | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | negokaz/chrome-google-maps-transit-scheduler | 44416fe905ec0417c5b64407df0a8fd976f64def | 23de47b5cc2203766072b72e2d45cb25aa2bf8df |
refs/heads/main | <file_sep>import './App.css';
import Signup from "./pages/Signup";
// import SignIn from "./pages/SignIn";
import Navbar from "./components/Navbar"
function App() {
console.log(process.env)
return (
<div className="App">
<Navbar/>
<br></br> <br></br>
<Signup/>
</div>
);
}
expo... | 6f8dec1c5c5537f7b69599e691f882a8e4e6e420 | [
"JavaScript"
] | 4 | JavaScript | hellenkuttery/share-project | 9d975fb2387251dcd21f8d54ff0ca9cc8a093306 | 623117d24437fb9658c606705c589c5be4a2c163 |
refs/heads/master | <repo_name>MarcyMagi/xbox-controller-display<file_sep>/src/js/main.js
let start
let elements = []
let config_stick
function elementsConnect() {
elements.push(document.getElementById("A"))
elements.push(document.getElementById("B"))
elements.push(document.getElementById("X"))
elements.push(document.getE... | 4317864bd89918c1f8dd29b2d18c4deef6a4a72d | [
"JavaScript"
] | 1 | JavaScript | MarcyMagi/xbox-controller-display | faa266970b1a776b5408651a78db31be931c72f5 | 8f5e51d538c0383b4289455d582f7a2b19c04a22 |
refs/heads/master | <repo_name>Subwayway/stm32-function<file_sep>/function/dht11/Src/main.c
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
***************************************************************... | b66d7aa645833a232e59e59349e32f09695f1900 | [
"Markdown",
"C"
] | 2 | C | Subwayway/stm32-function | d0599c11c6149b3d32a62bdfd2c226b1c3aad545 | 0998ee482c8e8d7b45a91358e2db4f5818bda632 |
refs/heads/master | <file_sep># lambdata
A collection of data science helper functions
This is a file for making your own package of helper functions
<file_sep>"""
utility functions for working with DataFrames
"""
import pandas
import numpy as np
TEST_DF = pandas.DataFrame([1, 2, 3])
class df_functions:
def list_to_column(self, X... | 47a1dbf67c6c7219c85f4797c3c8d46177fc6aff | [
"Markdown",
"Python"
] | 2 | Markdown | scottwmwork/lambdata | acfbc724958eaa37cfc917f5f0cfe058e2872326 | 4aba95df277a37d55acd060a1454dc033c0521e8 |
refs/heads/master | <repo_name>jayeshc1990/slackbot<file_sep>/plugins/hi.py
import time
import requests
import shutil
import re
crontable = []
outputs = []
from slackclient import SlackClient
def process_message(data):
token = "<PASSWORD>" #This is your own slack token
sc = SlackClient(token)
if data['text'].lo... | 458b67cb82e1650d45871bb0df76616a893a67e7 | [
"Python"
] | 1 | Python | jayeshc1990/slackbot | 20a6fcaedb4e819e647a0c70fa5c6f4971d136a6 | ea3a56f0922b925703f50edc80a2e514b1d44ff4 |
refs/heads/master | <file_sep>#!/usr/bin/env ruby
# encoding: utf-8
require 'net/http'
Given /^I am on the Administration page$/ do
visit AdministrationViewPage
end
Given /^I am on the New Staff page under Group$/ do
on AdministrationViewPage do |page|
sleep(5)
page.group_element.fire_event 'mouseover'
sleep(2)
page.... | 8d8cf8b748d5f8818719db64c07347e515ebf23e | [
"Python",
"Ruby",
"Shell"
] | 67 | Ruby | shubhamg2-optimus/xyz | 14a95ed58bbd38e0226d17b118ee956a45695f66 | ef538367e68b1ec7524ff17d010fa5a76c648051 |
refs/heads/master | <repo_name>msk-access/biometrics<file_sep>/biometrics/minor_contamination.py
import os
import pandas as pd
import numpy as np
import plotly.graph_objects as go
class MinorContamination():
"""
Minor contamination.
"""
def __init__(self, threshold):
self.threshold = threshold
def to_dataf... | e568069fd04a4c9f5fc9c3c2aa8331a43b69b51b | [
"Markdown",
"Python",
"Text",
"Dockerfile",
"Shell"
] | 27 | Python | msk-access/biometrics | 1e87bd5b8a248f06aba6400677ecc7eea771c535 | b3f0b192f36ead38af4ddfcf92a40a4957303d5e |
refs/heads/master | <repo_name>skyeeenet/luis<file_sep>/README.md
## LUIS TEMPLATE
It was standard PSD to HTML work. <br>
The model was a typical landing page and was installed in 4 hours only via flexbox.
As result we have ready html responsive layout.
#### How can you check out work ? <br>
1. Download repository as ZIP archive
2. Unzip ... | ac2de1b68919bf9e740d5daf8e02499c79b8bed4 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | skyeeenet/luis | 1b533ae4cdfc966825f665b88512572a2a2819d1 | 7f2e93295e36a2c49f189deb6dc967486e108a09 |
refs/heads/main | <file_sep>package database
import (
"testing"
"github.com/alekseysychev/avito-auto-backend-trainee-assignment/internal/domain/entities"
"github.com/stretchr/testify/assert"
sqlxmock "github.com/zhashkevych/go-sqlxmock"
)
type DBTest struct{}
func NewPgEventStorageMock(t *testing.T) (*PgLinkStorage, sqlxmock.Sql... | c24c49723cc82eb1c8f6d92bd67653e21b75ff6f | [
"SQL",
"Markdown",
"Go",
"Go Module",
"Dockerfile"
] | 15 | Go | alekseysychev/avito-auto-backend-trainee-assignment | f90a1ea8624ef559336622864402bc1b3cc17d65 | 8eb9984416aa9b4b1408f5065509dcf858fe17c6 |
refs/heads/master | <file_sep>import {
Controller,
Get,
Post,
Body,
Put,
Param,
UseGuards,
Request,
} from '@nestjs/common';
import { TaskService } from './task.service';
@Controller('/task')
export class TaskController {
constructor(private readonly taskService: TaskService) {}
@Get('/')
getAll() {
return thi... | 57078b99ecf1f95981ccb242caf045ed879a618b | [
"TypeScript"
] | 21 | TypeScript | suited-team/Conslting-repo | 5e817f3a1fd9cbd1cd1c38b5f57cbcfc1622eb35 | 1eb9098690b151f26c5dc301da9c09928954e210 |
refs/heads/main | <file_sep>from beebeebot import BeeBeeBot
bot = BeeBeeBot("secret-token")
running = True
while running:
message = bot.check_new_messages()
if message != "":
print(message)
# bot.send_message(f"Your message but reversed: {message[::-1]}")
if message == "how r u?":
bot.sen... | d7dd298b9252f8965f028a9fabb7abf2663ff5be | [
"Markdown",
"Python"
] | 4 | Python | NoahBres/BeeBeeBot | 8e75b7f7a102a05a331298ccc577c2ea1012683b | 3b2a147025168a3b7db95f9cc4bb04db54517e0a |
refs/heads/main | <file_sep>workspace "paardensprong-game"
configurations { "Debug", "Release" }
location "build"
platforms {"x64"}
project "paardensprong-game"
kind "ConsoleApp"
language "C++"
targetdir "bin/%{cfg.buildcfg}"
files { "src/**.*", "assets/**.*" }
postbuildcommands {
"{mkdir} ../bin/%{cfg.buildcfg}/asset... | 9f0776703c8f2b3535518cfcc14e02fdd3c7ad90 | [
"Markdown",
"C++",
"Lua"
] | 12 | Lua | mohragk/paardensprong-cpp | 64cf229f2adeaf996ba2a4b2d928585d6417738d | 4f189bebb4e62b67e65c8e4b99d1e2f30ed5ea42 |
refs/heads/main | <repo_name>JahinH48/Es6-Recap-and-Practice-Modul-31-31.5<file_sep>/01.js
// 1 . let and const
const hubby = 'jisan';
let phone = 'iphone';
phone = 'Samsung Galaxy';
// 2 . default parameter
function maxNumber(array = []) {
const max = Math.max(...array);
return max;
}
const biggest = maxNumber();
console.l... | bae21f050140cddc8c054136b77f6c1841b9b991 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | JahinH48/Es6-Recap-and-Practice-Modul-31-31.5 | 09820c0b3bce2caafc89dfbd95f452e12cd4506f | 01872dd6cce82842a31127e1a7f9fcac48319fbe |
refs/heads/master | <repo_name>Ethanb75/Hair-Source-Salon-Suites<file_sep>/src/components/Carousel.js
import React, { Component } from 'react';
import './Carousel.css';
import cover1 from '../assets/header1.jpeg';
import salon1 from '../assets/salon1.jpg';
import cover2 from '../assets/header2.jpeg';
import cover3 from '../assets/header3... | 13838b878e8fd8da83a98fcee2c462cd74444781 | [
"JavaScript"
] | 1 | JavaScript | Ethanb75/Hair-Source-Salon-Suites | a86064bea21e33f9bb589a14026cc14dc26868c4 | f2c1d0e8fb6faff0a037bb2937ac3551715f5203 |
refs/heads/master | <repo_name>alundgren/NrGsr<file_sep>/engine.js
nrGsr = (function () {
var createStrategyString = function(f) {
return btoa(f);
}
var parseStrategyString = function (s) {
var c = atob(s);
return Function('m', c);
}
//TODO: Missing intel. Opponents last guess
var simulateGame = functi... | 2581dd0aed281511f0b64a480c7f75d15d87f724 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | alundgren/NrGsr | 4f030956d3cde9c518e8faf2748b445d78ef7b5a | 77c991cbc199d0c963fd9cd2399c29c1464cd53e |
refs/heads/master | <repo_name>carono/yii2-rbac<file_sep>/src/AuthorBehavior.php
<?php
namespace carono\yii2rbac;
class AuthorBehavior extends \carono\yii2behaviors\AuthorBehavior
{
}<file_sep>/README.md
# yii2-rbac
Очередная реализация RBAC для yii2.
ВВЕДЕНИЕ
--------
Этот компонент помогает распределить доступы по конкретным action ... | a9c5bb324ea23f11271a0902867612738e05c505 | [
"Markdown",
"PHP"
] | 7 | PHP | carono/yii2-rbac | fb7ffd681ae4b7fe6f04b8d530dadf532c428399 | 9be855d12aaa22814a3e95dbb081f5bf37acb1b8 |
refs/heads/master | <repo_name>Blacksky81/CS202<file_sep>/lesson2.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible"
content="ie=edge">
<title>Lesson2 | HTML Basic<... | d5e7a44c9128b983d22cd9af9468803ff28315aa | [
"JavaScript",
"HTML"
] | 2 | HTML | Blacksky81/CS202 | 1bd97fc4381f54451406cb7da93e73ed823259b8 | a8c7d440a42447a7e9336e859ee543d86681a26e |
refs/heads/master | <file_sep>import numpy as np
ko= 5.336
na = 256.
nb = 256.
scale = 25.
t = np.pi/4.
#-----------------UV-Plane--------------#
x=np.arange(na)
y=np.arange(nb)
x,y=np.meshgrid(x,y)
if (na % 2) == 0:
x = (1.*x - (na)/2. )/ na
shiftx = (na)/2.
else:
x = (1.*x - (na-1)/2.)/ na
shiftx = (na-1.)/2.+1
if (nb % 2) ... | 46acb67344dda922b9288677ce8ba1abaf61d928 | [
"Python",
"Text"
] | 3 | Python | ArloParker/wavan | b49ef4fe72dfcad51e9e88e982e6234b12282444 | 5dda89d042f688db0012f8255b263ec596bf68ce |
refs/heads/master | <file_sep>// Copyright (c) <NAME>, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Controllers
{
using System;
using System.Dynamic;
using System.Linq;
using System.Net... | 4fa15e7dc95c9673e7f548c1d63d7dafa12c4b33 | [
"C#"
] | 1 | C# | KevinMVTransit/alexa-london-travel-site | 692bb815512e6754f80a29f629148afac34a73d8 | d142684d66c23a075f3e60e839a7e8c054413539 |
refs/heads/master | <file_sep>import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import sklearn
import pandas as pd
import os
import sys
import time
import tensorflow as tf
import csv
import json
import re
from bs4 import BeautifulSoup
from tensorflow import keras
#%%
# 读取csv文件获取文件名列表
input_dir = r'C:\python... | 2f7864a40664aae643307d9c52913a09808b17e7 | [
"Python",
"Text"
] | 2 | Python | JohnnieWanker/privacy-policy-classification | e97a911e59925e5680b524fac2b02c80cdafbcde | b972089b1a3cef8e2c9d782aa83fc3ba7541cc85 |
refs/heads/master | <file_sep>(function ($) {
$.shoot = function(element, options) {
var defaults = {
vertex_height: 120, // 默认抛物线高度
duration: 0.5,
start: {}, // top, left
end: {},
onEnd: $.noop
};
var self = this,
$element = $(element);
self.init = function(options) {
this.set... | af1cfdc249ff0b58a4b3a6069590636c50f4d09d | [
"JavaScript"
] | 1 | JavaScript | huweixuan/slamdunk | d52d6024e9a57abbcbdbddc30fee731f71cc939a | 8afba6cfef186a83d38749661fa81f84a5a6dd9d |
refs/heads/master | <file_sep>schen237Proj7: schen237Proj7.cpp GridDisplay.o Doodlebug.o Ant.o GridControl.o
g++ -o schen237Proj7 schen237Proj7.cpp GridDisplay.o Doodlebug.o
GridDisplay.o: GridDisplay.cpp GridDisplay.h
g++ -c GridDisplay.cpp
Doodlebug.o: Doodlebug.cpp Doodlebug.h
g++ -c Doodlebug.cpp
Ant.o: Ant.cpp Ant.h
g++ -c An... | df7aaecda2c6eaa1858f33b4958248352986fcb7 | [
"Makefile",
"C++"
] | 25 | Makefile | clarkchentw/cs211-spring2018-proj7 | 3da80a1efa7459b05da8494b3e975d62ed00fef3 | ee52efe65dd0bc4a4ffb9295e46f7483b9149180 |
refs/heads/master | <repo_name>danmrichards/twirp-examples<file_sep>/helloworld/client/main.go
package main
import (
"context"
"fmt"
"net/http"
pb "github.com/danmrichards/twirp-examples/helloworld/rpc/helloworld"
)
func main() {
client := pb.NewHelloWorldProtobufClient("http://localhost:8080", &http.Client{})
resp, err := clien... | 58a9da17e50fd4dec5a54a794bf3cf0e5c640f2a | [
"Markdown",
"Go"
] | 3 | Go | danmrichards/twirp-examples | 7c932dc057feadd492c4dbcb778b092060fb2afc | 8810f361c4864a27ffca7a7b39f2da0605042d4f |
refs/heads/master | <repo_name>oscarphang/elm-webpack<file_sep>/README.md
# elm-webpack-hot-reload
A hot reload playground to build elm app instantly.
## Prerequisites
[Install](https://guide.elm-lang.org/install.html) Elm.
## Build
`yarn install`
## Run
`yarn run dev`
To run webpack web server with hot reload.
`yarn run deploy`... | 0e47bf562298b714182b7dd30c9a1ce854a24f83 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | oscarphang/elm-webpack | a54e767a7ad22469d5900ac25d2fbe81a322ac67 | 3885a582ea7cd60742a9ce36b7efafd4bf497309 |
refs/heads/master | <file_sep>CC=g++
CCFLAGS= -Wall -Wno-write-strings -o
FILES= slice2d.cc slice2d.h houghUtility.cc houghUtility.h grid.cc grid.h
all: $(FILES)
$(CC) $(CCFLAGS) slice $(FILES)
<file_sep>#ifndef GRID
#define GRID
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <fstream>
#i... | 4436f8b5193e1b5c49bc8822713696e7aaa561b9 | [
"Makefile",
"C++"
] | 7 | Makefile | Fotte/Bachelor-Thesis-I | d8b4db9de7f94ef6e67596485a3f0a3165fc66f3 | 37f0820d9095d5bdce7968216038326abdce3c86 |
refs/heads/develop | <file_sep>import Backbone, { $ } from 'backbone';
import Context from '../views/context';
import BaronScroll from 'utils/baronScroll';
import Header from 'components/header';
let instance = null;
const Router = Backbone.Router.extend({
initialize() {
const mainScrollEl = BaronScroll($('[data-js-main-page-conta... | 79dd0ea13dffbe6c8115b0bf4aed14d1503174cd | [
"JavaScript"
] | 3 | JavaScript | ArtsiomYeliseyenka/reportportal.github.io | 10efa8412c912b860faeef4f4db398b6cf29bf7b | 52b2b8454aa1f09a2922e569ef5d82aaca44a358 |
refs/heads/master | <repo_name>Shravankumar45/socialmedia<file_sep>/config/keys-prod.js
module.exports={
MongoURI : process.env.MONGO_URI,
GoogleClientID :process.env.GOOGLE_CLIENT_ID,
GoogleClientSecret:process.env.GOOGLE_CLIENT_SECRET,
FacebookClientID:process.env.FACEBOOK_CLIENT_ID,
FacebookClientSecret:process.env... | baac6a92bb463d0a9aae480f4be5ba75703b40ed | [
"JavaScript"
] | 3 | JavaScript | Shravankumar45/socialmedia | 6eb2894e373c268578f2a5195a541e44eb8dd7d9 | 34df64254ec6b744d522933d97f4299685648482 |
refs/heads/main | <repo_name>YGBM/GOF<file_sep>/observer_event_design/src/main/java/com/fuzs/Subject.java
package com.fuzs;
import java.util.List;
import java.util.ArrayList;
public abstract class Subject{
//maintains a list of its dependents
public List<Observer> observers = new ArrayList<>();
public void add(Observer o){
obse... | 7186ad88ea8f80c1d040a90fe59c6773592534e4 | [
"Markdown",
"Java",
"Maven POM"
] | 12 | Java | YGBM/GOF | f95efd7c5b2333ad97f8122699f510d3e01b0bdd | 24ee28a8b73f296fbb8777b8c1fb8906a7ff903b |
refs/heads/master | <repo_name>haxpor/sdl2-samples<file_sep>/android-project/app/jni/src/rectangles.c
/*
* rectangles.c
* written by <NAME>
* use however you want
*
* modified
* as on Android (as tested on Huawei P9 Lite)
* if not clear screen every frame, it's flickering
* so now it will show one new rectangle for every 5 ... | fefd1a51e24cf74f5aa23361aae769ee3b6177de | [
"Markdown",
"C",
"Makefile"
] | 8 | C | haxpor/sdl2-samples | 5b6a211137e45d60f4eb76ae20a432831eb1a329 | d6d3b5540ad0ec13b2d59fe094dfb868cb70e75a |
refs/heads/master | <repo_name>web-servers/noe-core<file_sep>/CONTRIBUTING.md
# Contributing to Noe Core
Thank you for considering contribution to Noe Core. As a potential contributor, your changes and ideas are always welcome. Please do not ever hesitate to ask a question or send a Pull Request.
## How Can I Contribute?
### Reporting ... | 72e01e102d7ac2cfc889a5910476afdc4a2b390c | [
"Markdown",
"TOML",
"Maven POM",
"INI",
"Java",
"Text",
"Shell"
] | 36 | Markdown | web-servers/noe-core | d6d09892090f808e73a2ec3bc4a4fe8fe5bc0d8c | 41d6f906b9debd526212049e0a35ee2e2ba8c0b1 |
refs/heads/master | <repo_name>campGROMP/Computer_vision<file_sep>/openCV_tryout
#!/usr/bin/env python
# coding: utf-8
# In[1]:
import cv2
cv2.__version__
# In[2]:
# importing other necessary libraries
import numpy as np
import matplotlib.pyplot as plt
get_ipython().run_line_magic('matplotlib', 'inline')
# In[3]:
# importing a ... | fb7fff1577cc8851361c78b38afe7eb56bc11a3e | [
"Python"
] | 1 | Python | campGROMP/Computer_vision | cbed1c33571dfdbc465fb4669e87a00fbe984b0f | a02956f001dc8b16dd3ebf1da0de004c4e5cd029 |
refs/heads/main | <repo_name>RituAgrawal1384/canvas-bdd-api-template-project<file_sep>/README.md
# tat-api-template-project
This is the template project to show how to use testautomationtools project for api automation
<file_sep>/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
x... | d977d68c5d4d38c070b71f675458994153f957d0 | [
"Markdown",
"Java",
"Maven POM"
] | 3 | Markdown | RituAgrawal1384/canvas-bdd-api-template-project | 9ad41f83903b0a2f94e9c5883c45fe0335604f9b | e19fe54708ea6392583a477e8b26357fbfdea81e |
refs/heads/master | <file_sep>package microavatar.framework;
import microavatar.framework.perm.PermTestSuite;
import microavatar.framework.base.BaseTestSuite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
PermTestSuite.class,
BaseTestSuite.class
})
public cla... | 2d63bad384d81feea655568b7b2faea262a918e4 | [
"Markdown",
"Java",
"Maven POM",
"SQL"
] | 42 | Java | bellmit/microavatar-framework | 9b328252561471891fa786a43a8a7a114510d3f8 | 4915baee835e794c945099732b8876a5c0e839a3 |
refs/heads/master | <file_sep># Getting Started With Data Visualisation Using Chart JS & React
INTRODUCTION: Data Visualisation might sound like a big word but essentially it is just visualising a given dataset for understanding it better. Data Visualisation is key when it comes to sharing one's research or even deriving meaningful insig... | 3690837b7028461aa13922fb13bd1e521549efa1 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | labhmanmohan25/Medium_Getting_Started_With_Data_Visualisation_Using_Chart_JS_And_React | 9f055b96271d3592adf48c9b94fdab57eb16e3da | a880ec3f2c797b3654d05489bda67c6b9324e775 |
refs/heads/master | <file_sep>class Series:
def _init_(self, seriesName, season, numberOfEpisodes, episodeList):
self.seriesName = seriesName
self.season = season
self.numberOfEpisodes = numberOfEpisodes
self.episodeList = episodeList
def getName(self):
return self.seriesName
def getSeason(self):
return self.season
def ... | 3f42d6b190951c81d546b6c2f2360c0556ab1a2d | [
"Python"
] | 3 | Python | rednaz/Unraid-Media-Handler | 0e7090d5122486cbb6ebe8fc672a2e0f6ea349f7 | 464007af7bb2fd6abb5be5ad0d9bd0bae1840974 |
refs/heads/master | <repo_name>shaine/bitbucket-pull-request-metrics<file_sep>/lib/utils.test.js
const { describe, it } = require('mocha');
const chai = require('chai');
const sinon = require('sinon');
const sinonChai = require('sinon-chai');
const proxyquire = require('proxyquire');
const { expect } = chai;
chai.use(sinonChai);
const fe... | 815ed2e429c7ac559088f965f3f18f165fe41ae6 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | shaine/bitbucket-pull-request-metrics | 22ae7a002a02946de4b5c23006eadf3c5ce340cb | f4d46b6f9beb72018e8bf098ade3ae1d3010afed |
refs/heads/master | <repo_name>guitardave/VS_Projects<file_sep>/TCG_Projects/MarketAnalyzer-master/LICENSE.MD
This code is not licensed.
Copyright 2018 <NAME>, All Rights Reserved.
<file_sep>/TCG_Projects/MarketAnalyzer-master/MarketAnalyzer/Extensions/TraceWriterExtensions.cs
using Microsoft.Azure.WebJobs.Host;
using System;
using Syste... | 921b2dba4d7d16bb5566def706828fe89ff4cc89 | [
"Markdown",
"C#"
] | 25 | Markdown | guitardave/VS_Projects | 9cd7e0bb120657ccae649d7aea7df5f4c23ecf15 | 68d756708fd68005b53d869068c3ef20f525f317 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.