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 | <repo_name>rahmatov/redmine_chat_telegram<file_sep>/extras/init-telegram-cli
#!/bin/bash
#
# telegram-cli Startup script
#
# chkconfig: - 85 15
# processname: telegram-cli
# pidfile: /opt/redmine/tmp/pids/telegram-cli.pid
#
# Source function library.
. /etc/init.d/functions
NAME=telegram-cli
USER=redmine
PORT=... | 129cab9de09fc637332e4d70a58eafaac2b7acd0 | [
"Markdown",
"Ruby",
"Shell"
] | 8 | Shell | rahmatov/redmine_chat_telegram | 6224e4edea7dbe1ab25e4945fa558221be751d91 | ee8758ac319113b0a4c829f606e01e58cc5e3864 |
refs/heads/master | <repo_name>Sarcasticmani/get-weather<file_sep>/src/App.js
import React from "react";
import Appcontainer from "./Appcontainer.js"
import "./index.css"
class App extends React.Component {
constructor(){
super()
{
this.state = {
city_name : "london",
temp : [],
... | 785abdd426cbbfdb1873011e7ee24779697b6751 | [
"JavaScript"
] | 3 | JavaScript | Sarcasticmani/get-weather | 23c7047a6b3e3b32a38672077de30315002cf5c0 | 88f095b46393ba32e148ebee92130b2309e468ca |
refs/heads/main | <repo_name>upcheezy/highChartsTesting_server<file_sep>/src/config.js
module.exports = {
PORT: process.env.PORT || 8000,
NODE_ENV: process.env.NODE_ENV || 'development',
DATABASE_USER: process.env.DATABASE_USER,
DATABASE_PASS: process.env.DATABASE_PASS,
DATABASE: process.env.DATABASE
}<file_sep>/sr... | 4b9127f41ecd95f848d2266b67925b8cb9714d39 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | upcheezy/highChartsTesting_server | ce41f0e4e82d7dd22160b44b1c732fd8d357b9cf | 4dbe1fd581e6a76d74ecb450c8ca21acc5124a57 |
refs/heads/master | <repo_name>arvinesmaeily/SentimentAnalysis<file_sep>/Sentiment_Analysis.py
# pandas is used for reading and writing csv files
import pandas
# CountVectorizer is used for converting a collection of text documents to a matrix of token counts
from sklearn.feature_extraction.text import CountVectorizer
# MultinomialNB is a... | 613d9f9926da25209ba23362519873a07d9aea99 | [
"Python"
] | 4 | Python | arvinesmaeily/SentimentAnalysis | f8ace651b287274ac5412ef03f23ef005d6cd51f | f4d9c74737f661c5ce470c1fb2ca242e6e468466 |
refs/heads/main | <repo_name>lethanhdat12/quanlycf-reactjs<file_sep>/src/Component/Admin/MainAdmin/Banhang/BanhangItem.js
import React, { Component } from 'react'
import TableItems from './TableItems'
export default class BanhangItem extends Component {
render() {
const {listItem} = this.props;
return (
<... | a1870df4aa455ea34f1a82c9640115f489fdf29e | [
"JavaScript"
] | 16 | JavaScript | lethanhdat12/quanlycf-reactjs | add284c8cc00ec093791080459fef7f83d508250 | e1a55070f56b948a7a35779b44d2b00ee01833b9 |
refs/heads/master | <file_sep>""" <NAME>
CS Introduction into Computation
Laboratory 5"""
import random
products = input("What is items do you have? ")
product_list = products.split(", ")
location = input("What is your location? ") # Setting the second input
def output(location, product_list):
print("SALES TAX CALCULATION P... | 9cf46d3a4c7f31acfdb958930d85036b9bfdd843 | [
"Python"
] | 1 | Python | Awingo/Taxes | 333f3f37ceca0bd72d6875523d8add85a871e5c2 | f1f84e58f88452902c59a627f6ee47703290dbf9 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>管理ページ</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet"... | 8ba5d0737cc04c5b19ef2f9a077bd7239530157a | [
"Markdown",
"PHP"
] | 7 | PHP | HitomiHoshisaki/portfolio | 17e1ac9a51c56f9462f40ec3ac73c76221f76e19 | 471f15fd32dbef65fe82a6f1ec5394a23978be44 |
refs/heads/master | <file_sep>autopep8==1.4.4
certifi==2022.12.7
chardet==3.0.4
Deprecated==1.2.6
entrypoints==0.3
flake8==3.7.8
idna==2.8
mccabe==0.6.1
pycodestyle==2.5.0
pyflakes==2.1.1
PyGithub==1.43.8
PyJWT==2.4.0
requests==2.22.0
six==1.10.0
spotipy==2.22.1
urllib3==1.26.5
wrapt==1.11.2<file_sep>import subprocess
from github import ... | e57ae20582c62c030af2b918f5b61d2ce1c2c30f | [
"Markdown",
"Python",
"Text"
] | 5 | Text | puneet29/SpotifyPin | c88f27225a0a5c5f9dc828193e97a67677f8d227 | b13fbe2b9ead86d563cfd97ab0e358d3ef18991d |
refs/heads/master | <repo_name>Davidvalecillo/api-laravel-con-dingo<file_sep>/app/Http/routes.php
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an... | 9df06fb945f5a6487efebf944eeff221d112c853 | [
"Markdown",
"PHP"
] | 2 | PHP | Davidvalecillo/api-laravel-con-dingo | a505e78c6b65a4ded99731cd275dc49304795106 | bf2321066169b35dc45cd810a0e557543990457d |
refs/heads/master | <file_sep>package com.heyy.study.springbootstudycentral.constants;
/**
* @Classname RegExpConstants
* @Description TODO
* @Date 2019/5/9 20:49
* @Created by Breeze
*/
public class RegExpConstants {
public static final String REGEX_NAME = "([A-Za-z0-9\\u4e00-\\u9fa5]|-){1,}";
public static final String REG... | 9a2cebe2db6872b44db859f016f8de99c1a5b7d4 | [
"Markdown",
"Java",
"INI"
] | 25 | Java | 1091524653/heyy-study-springboot-study | 40bbc9560e2c17df5c4060611f1c493e3bb46c8d | 15efc2bf2a01cdf1c8db7fefe0dfe9d1443d420c |
refs/heads/master | <repo_name>JasonMacKeigan/adventofcode-2019<file_sep>/src/main/java/adventofcode/day/impl/day_six/DaySix.java
package adventofcode.day.impl.day_six;
import adventofcode.day.Day;
import adventofcode.day.DayUtils;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Created by <NAME> on 2019-12-12 at 11:08 p.m... | 1a221086ac212d0ae05fd8eed3103778517068bd | [
"Markdown",
"Java"
] | 14 | Java | JasonMacKeigan/adventofcode-2019 | ad5b5a7969bb71a740c4b4cb6b705524e1d39e56 | 79cb5370eb261b4bc1ddbbf6df2de59bc537032b |
refs/heads/master | <repo_name>Pidly/Praktis<file_sep>/src/Game/Combat.java
package Game;
/**
* Created with IntelliJ IDEA.
* User: devinsmythe
* Date: 10/19/14
* Time: 5:08 PM
* To change this template use File | Settings | File Templates.
*/
public interface Combat {
public void takeDamage(int damage);
public int dealDama... | d20049b52268bab6139f936d2bff619d623085bf | [
"Java"
] | 8 | Java | Pidly/Praktis | d5dd11c4af78aefdf89628b90d661028e0266d29 | aef270fcbf9b9af516d517ddfa63b73a38c56972 |
refs/heads/master | <repo_name>debbbbie/dchen<file_sep>/restart_sinatra.sh
killall -9 ruby
ruby app.rb<file_sep>/public/restart_nginx.sh
#!/bin/bash
#sudo killall -9 nginx
kill -WINCH `cat /home/aliyun/dichen/log/nginx.pid` && kill -9 `cat /home/aliyun/dichen/log/nginx.pid`
sudo nginx -c /home/aliyun/dichen/nginx.conf
<file_sep>/test.rb
... | 18b49608e17f1375e22b4c3b7387705247fb0956 | [
"Markdown",
"Ruby",
"Shell"
] | 7 | Shell | debbbbie/dchen | cd79dac5c4a10faeebecd7afbe7237ed3a452f7f | 0690f90573361738af9d44a4f32fb32673c31bd9 |
refs/heads/master | <repo_name>oozam/Reactivities<file_sep>/Persistence/ReactivitiesDbContext.cs
namespace Persistence
{
using Domain;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
public class ReactivitiesDbContext : DbContext
{
public ReactivitiesDbContext(DbContextOptio... | 466f14fbde00eef64ab78cf7ab109abcf23c4e77 | [
"C#"
] | 5 | C# | oozam/Reactivities | 5ba4bd37c392e2535a8e630d87e2e74cf75afbd3 | 2760e63da9aa87edd78f2f356261c7beaf7a01f7 |
refs/heads/main | <repo_name>Ceryunus/Python-Oyun-Tas-Kagit-Makas<file_sep>/PythonTasKagitMakasOyunu.py
import random
class Oyun():
def userinputs(self):
self.userinput = input("[ tas | kagit | makas ] : ")
if self.userinput in self.myList:
return self.userinput
else:
"gecersiz"
... | 3f8f5011d39ee660c4641d0cbaaa19cbe53fc54f | [
"Python"
] | 1 | Python | Ceryunus/Python-Oyun-Tas-Kagit-Makas | eae59fed15852cc955a33b8fcf236052dc1093a9 | d112a6cf0037ef3a40cea958aed0331a37b9cadd |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemPositions : MonoBehaviour {
// Use this for initialization
void Start () {
//if item is 1 -> position 1
//else item is 2 -> position 2
if (this.gameObject.name == "First item")
transform.position = n... | 8629265a36a69a818d5587fa93b34e37bb934597 | [
"Markdown",
"C#"
] | 2 | C# | rexwong4work/DragMatch | 34327a078e3800e98732fc0bda4a16572c83cb3b | 61643522426d936f9a5eb0a19be4b03a3cf1834c |
refs/heads/main | <file_sep>package servidor;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.HashMap;
import java.util.LinkedList;
import javax.swing.JOptionPane;
import mapa.Mapa;
public class ServidorJuego {
private final int puerto = 2028;
private final int noConexiones = 20;... | efdd3b169cb9e9489c0aa1cf299b790e27fa2ea5 | [
"Markdown",
"Java"
] | 30 | Java | GDVillalba/Juego-Java-JRPG | 173258b785172ba425e3081b2d65e9803cc305c6 | bfca030cc5eae05658567071993c3ff357be1b52 |
refs/heads/master | <repo_name>tomusdrw/SortedList<file_sep>/tests/SortedList-tests.js
QUnit.specify("eu.blacksoft.js.sortedlist", function() {
describe("With default comparator", function() {
var cut = null;
before(function() {
cut = SortedList.create();
});
describe("intial state", funct... | c538beeaf336bb4ce268dcbe4e62b7653230f846 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | tomusdrw/SortedList | f87e283724310daa5a151341c87805785454947d | 55c0864155df199afe2a7170749da44ea1d0829d |
refs/heads/main | <file_sep>import click
from pypsrp.client import Client
from pypsrp.powershell import PowerShell, RunspacePool
DUMMY_HASH = "00000000000000000000000000000000"
@click.command()
@click.option("--cmd", required=True)
@click.option("--host", required=True)
@click.option("--username", required=True)
@click.option("--lm_h... | 5269bb27adc994b9e9a497d7770bf3e988df7771 | [
"Markdown",
"Python",
"Text"
] | 3 | Python | iNoSec2/powershell-pth | df22e365e2e60dfc958e127ab71ed257da36bc7b | 133a3de5ffc04d0e4f60208a559a566a5c94006e |
refs/heads/main | <repo_name>bentzlec/CS362-HW3<file_sep>/connor_bentzley_leap_year_no_error_handle.py
import time
year = int(input("What year do you want to check? Enter: "))
if (year % 4 == 0) and (year % 100 != 0):
print(year, " is a leap year")
elif (year % 400 == 0):
print(year, " is a leap year")
else:
print... | c23e6f4e813f6355bd823379a08c3825eb20a084 | [
"Markdown",
"Python"
] | 2 | Python | bentzlec/CS362-HW3 | b31cf565e85e09e03af06a19e25fc7529c862a46 | 6bda7cead5a5843c59a59122efde38533c80f0f5 |
refs/heads/master | <file_sep><?php
session_start();
//require_once __DIR__ . '/src/Facebook/autoload.php';
require_once '../config/config.php';
require_once '../src/Facebook/autoload.php';
/**
* facebook login , poting functions are here
*
* @author S.A.K.I
*/
class PostFacebook {
private $facebook = null;
pri... | aae66c95cf0f1b0eac8b4216bc03fc7aaad2b500 | [
"PHP"
] | 6 | PHP | vishvaratnayake1/SocialPosting | 344075d928916c68e84be8da117424058b7f7dc5 | dc06593e30d4f5e4f5a2de933e32627392bf78b9 |
refs/heads/master | <file_sep>"""
Python makes performing file I/O simple. Take a look
at how to read and write to files here:
https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files
"""
# Open up the "foo.txt" file (which already exists) for reading
# Print all the contents of the file, then close the file
# YOUR... | bf82ff829b177ac4c8acf00d8e6ec96b34522726 | [
"Python"
] | 4 | Python | H4rliquinn/Intro-Python-I | 651590243ceaad6c64f4e93ee7e7c41542c7e5c2 | ff8489f586e70450dd3be4e1250e1bcfb3e8a359 |
refs/heads/master | <repo_name>AllyTally/CPP-Input-system<file_sep>/Input/input.cpp
// The actual input handling
#include "input.h"
#include <SDL.h> // SDL
#include <SDL_image.h> // SDL_Image
#include <SDL_ttf.h> // SDL_ttf
#include <string>
#include <sstream>
#include <vector>
#include <iostream>
// utf8::unchecked::distance(str.begin()... | f0218c2c5027fc82d45909da235dc5b7042fdcc7 | [
"Markdown",
"C++"
] | 8 | C++ | AllyTally/CPP-Input-system | 3d7f4aa215bda9c73d657fa64f93fb28c02eb672 | a38d594f8f15c1630096aa44f40691396e9920ad |
refs/heads/master | <repo_name>gopal85/flaskproject<file_sep>/app/routes.py
from app import app
from app.models import model
from flask import render_template
from flask import request
@app.route('/')
@app.route('/index')
def index():
user = {'name': 'Suraj'}
return render_template('index.html', title='Home', user=user)
@app.ro... | 0422bab538be10e9fa7ceb5c0740de53bdee3a37 | [
"Python"
] | 2 | Python | gopal85/flaskproject | 57448c44d6eeb79f8dad080781668fd7fdfd63a2 | a9e942827874fdc3029067115c299d38d97c8afb |
refs/heads/master | <file_sep>package model;
public enum Gender {
yes,
no
}
<file_sep>package model;
public enum AgeCategory {
Nissan,
Mazda,
Land_Rover,
Lada,
Honda
}
| 3720bc7d1612cd240c815baf6fcef3dd90e5fa67 | [
"Java"
] | 2 | Java | ILoveRedEd55/crud-output | 09c0636fd16e2901c3f8a798a8c2fd1538b6fa96 | d0b2dbbb2239d5d1c370c0c498f49172b388f5a7 |
refs/heads/master | <file_sep>package _03_More_Array_Fun;
import java.util.Random;
public class MoreArrayFun {
//1. Create a main method to test the other methods you write.
public static void main(String[] args) {
String [] test = {"as", "be", "d", "z", "test"};
//System.out.println("rip1");
jumbleArr(test);
//System.out.prin... | 94977527375b5fa72c5f7dd5319aa434e46cdb7d | [
"Java"
] | 1 | Java | League-level3-student/level3-module0-portoaj | dca48e3adae12f35df287b8689422fb02796b6d4 | 87182c534769567800d9e66cb073fb6310559122 |
refs/heads/master | <file_sep>require_relative '../spec_helper'
describe CoffeeShop do
before :each do
CoffeeShop.create(name: "<NAME>", address: "362 2nd Ave", postal_code: '10010', avatar: 'https://irs1.4sqi.net/img/general/original/5497982_gHyWLCApRCC3WGbx1O-7ya8WYz7iQKGqku2Pp_TjLN4.jpg', phone_number: '(646) 476-8416', rating:... | b5fcf56a6af45ad1d0eb5542e6e2b91b88f99aa8 | [
"Markdown",
"Ruby"
] | 24 | Ruby | ByteDown/moker_app | 436f97a98d440fbadb0ea22acae9d2a0d4e2086e | 2556a004eb9210cd262d97c8b9515b8aa787d10f |
refs/heads/master | <repo_name>hpaasch/private_api<file_sep>/app/views.py
from django.shortcuts import render
from rest_framework import generics
from app.serializers import BeagleFarmSerializer
from app.models import BeagleFarm
class BeagleFarmListAPIView(generics.ListCreateAPIView):
# queryset = BeagleFarm.objects.all() # ditched... | adba83e64442891eba4efc1dc5a2642cb172dbbb | [
"Python"
] | 5 | Python | hpaasch/private_api | 6ed05ea8ce5c4ed58517c15f06f8127979053129 | 089b278f8bec45513e8ab6abef099a3eb325769b |
refs/heads/master | <repo_name>cyrillos/vjk<file_sep>/Makefile
.PHONY: all .FORCE
.DEFAULT_GOAL := all
ifeq ($(strip $(V)),)
E := @echo
Q := @
else
E := @\#
Q :=
endif
export E Q
define msg-gen
$(E) " GEN " $(1)
endef
define msg-clean
$(E) " CLEAN " $(1)
endef
export msg-gen msg... | 2befeeb2b061a53771e70eaffac2477d0ce549cd | [
"Markdown",
"Python",
"Makefile",
"Shell"
] | 6 | Makefile | cyrillos/vjk | 5a72bc7950f0d87d38b52f065ed4dd3e4345f8ed | f10fd1540c86737878547be1e978bf7fff6500d8 |
refs/heads/master | <repo_name>gwalus/CeneoSearcher<file_sep>/Shared/Dtos/ProductDto.cs
namespace Shared.Dtos
{
/// <summary>
/// ProductDto class to map product model with subscribed property.
/// </summary>
public class ProductDto
{
public string Name { get; set; }
public string Link { get; set; }
... | 2976f68b888d7456beb72f73fd3218e20c20b176 | [
"Markdown",
"C#"
] | 16 | C# | gwalus/CeneoSearcher | a684d7891e5e20efc5bf80dd97af8ab967f5321f | 2018acde53270cf2eeeafac0c81874e5f11cad03 |
refs/heads/master | <file_sep>import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
/*
ID: imzheng1
LANG: JAVA
TASK: gift1
*/
public class gift1 {
publi... | 87b783217165b57dd308d82dcb6c087489c3b5f7 | [
"Java"
] | 2 | Java | ZhengZixiang/USACO-Java-Solution | a65e4181477b9b53551dfa38caed5a5e20f3c9d8 | 9e65ee8a30cc225f45a4ad83b818893614aef55f |
refs/heads/master | <repo_name>hilltop16/basic-rest-api-go<file_sep>/main.go
package main
import "net/http"
func main() {
http.HandleFunc("/", serveRest)
http.ListenAndServe("localhost:8000", nil)
}
func serveRest(w http.ResponseWriter, r *http.Request){
}
| e2d4663b07f018705c43631ce2d5bb1279fd004b | [
"Go"
] | 1 | Go | hilltop16/basic-rest-api-go | 39c1aabd5c7c185efddf4834c2706714f37b6558 | 80e6984f9b8a75feeb402cda29ddfbdaaee49a5f |
refs/heads/master | <file_sep>//console.log("Hello world!");
var playText = document.getElementById('play-button-text');
var pauseText = document.getElementById('pause-button-text');
var playPause = document.getElementById('play-pause');
var wavesVideo = document.getElementById('waves-video');
//console.log(playText);
//console.log(paus... | e05c6465d3186b3133876cdd9f8f7f53789b2d80 | [
"JavaScript"
] | 1 | JavaScript | kellcore/netflix-replica | d796aa0795a5bb01c6ba96b6b3cbc34f67368b94 | 480b9748740516b5ebb09e924820138df5f431e0 |
refs/heads/master | <repo_name>vinkrish/tinyurl<file_sep>/model/db.js
var mysql = require('mysql')
// require('dotenv').config()
var connection = mysql.createConnection({
host : process.env.DB_HOST,
user : process.env.DB_USER,
password : <PASSWORD>,
database : process.env.DB_NAME,
port : process.env.DB_PO... | 9392fa327cbaff4b97e5e50013652b47980cd50a | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | vinkrish/tinyurl | f7953caa5f9672a2c61a381b4e73644b9c8dc47c | 1a068e42c5005deffa99d0efb70ba5cf19df26e0 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from openerp import models, fields, api
class StudentWizard(models.TransientModel):
_name = 'student.wizard'
def _get_default_students(self):
return self.env['students'].browse(self.env.context.get('active_ids'))
student_ids = fields.Many2many('students', strin... | 46f3301c494c47d06fe548153c735fb44d0144ee | [
"Markdown",
"Python"
] | 2 | Python | poesane/odooERP | 3f0bc1cc86231001aa516fe8971e72c1705a7eab | 61501f48e3a323cafb0b3aada2646c0268cfbc14 |
refs/heads/main | <repo_name>ralexwong/front-end-projects<file_sep>/src/projects/StarRating/StarRating.jsx
import React, { Fragment, useEffect, useState } from 'react';
import './style/index.scss';
const StarRating = (props) => {
const [rating, setRating] = useState(null);
const [hover, setHover] = useState();
// having a ... | 303d2c8659d10bd1596b0035ba726d697cb3e285 | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | ralexwong/front-end-projects | 9de5be6ab045444f4ff0a758cd8fc664ae10d018 | f44f5284844f497b615edc7c0d804b1497d2e0d0 |
refs/heads/master | <file_sep>import Foundation
enum Router {
case getRepos(query: String, page: Int)
case getAllUserRepos(name: String)
var scheme: String {
return "https"
}
var host: String {
return "api.github.com"
}
var path: String {
switch self {
case .getRepos:
return "/search/repositor... | 7b690fabf7774c5d60e178afd1bd0c551c0fa5ec | [
"Swift"
] | 6 | Swift | MSlaski/workshop | d59cd54170c7b96f0638f154fe38e3681380f8e3 | eac770f0c21f9a1717d3cec8888da1121c193c3a |
refs/heads/master | <repo_name>chidiebereojingwa/shoppingPage-withCart<file_sep>/js/app.js
//Variables
const courses = document.querySelector('#courses-list')
//Listeners
loadEventListeners();
function loadEventListeners() {
// When a new course is added
courses.addEventListener('click',buyCourse)
}
//Functions
functio... | 1eb30cdfc9228341ff2903d892074599f0b3d6c8 | [
"JavaScript"
] | 1 | JavaScript | chidiebereojingwa/shoppingPage-withCart | c633835d89701f7b4966771307a7381dc14e417a | 7de6cb5b0fa583a9550d30633596f8c1108eee10 |
refs/heads/master | <file_sep>
CODE_GENERATOR_IMAGE := ghcr.io/slok/kube-code-generator:v1.27.0
CRD_GENERATOR_IMAGE := ghcr.io/slok/kube-code-generator:v1.27.0
DIRECTORY := $(PWD)
ROOT_DIRECTORY := $(DIRECTORY)/../..
CODE_GENERATOR_PACKAGE := github.com/spotahome/kooper/examples/pod-terminator-operator/v2
generate: generate-client gener... | f0746250f9e54632304b7b262c887127e9374a13 | [
"Markdown",
"Makefile",
"Go",
"Dockerfile",
"Shell"
] | 42 | Makefile | spotahome/kooper | 7e6a38864f016ed9300fe61772c57d91717cfd5a | d136bbf3cc41b8fe1aa4d48796e7af2df1337028 |
refs/heads/master | <file_sep>import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SchedSectionComponent } from './sched-section.component';
describe('SchedSectionComponent', () => {
let component: SchedSectionComponent;
let fixture: ComponentFixture<SchedSectionComponent>;
beforeEach(async(() => {
... | fe45e49a222e1d64e57857674423281c1ff478a9 | [
"TypeScript"
] | 3 | TypeScript | NeilKennethLSapungan/AWDFinalProject | 8d7d5fc098cbcf1f63f1296156a94179095093d2 | 404cfb62079b78c044e30d92cef852ce77bc4939 |
refs/heads/master | <repo_name>hao1000/Todo_List<file_sep>/src/components/TaskItem.js
import React, { Component } from 'react';
class TaskItem extends Component {
render() {
var {task} = this.props;
return (
<tr>
<td>{task.name}</td>
</tr>
);
}
}
export default TaskItem;<file... | 6cf76022730b67a5a3f00746636a766cde11ed37 | [
"JavaScript"
] | 3 | JavaScript | hao1000/Todo_List | b7d693626c23e9f4834b5e6127c3aec4d595893b | 04b6162b6c15fd3c5a8f01eb17ece77222433f54 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# encoding: utf-8
"""
test.py
Created by <NAME> on 2012-05-12.
Copyright (c) 2012 valdergallo. All rights reserved.
"""
import sys
import threading
import time
_Event = threading._Event
class Event(_Event):
# Event from Celery
if not hasattr(threading._Event, "is_set"):
... | 1edf09ba6a175c9c1860d80d83b4ce14329ed999 | [
"Markdown",
"Python"
] | 7 | Python | valdergallo/twitterbeat | 666f9fc10c296f301e4774c07c04a58fb27603bd | e46b0d2404c3b4088b7fa1fc8fea32ebd1382c32 |
refs/heads/master | <repo_name>shivil/rails_authentication_server<file_sep>/app/controllers/application_controller.rb
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
helper_method :curre... | 7f60e953c04e3b26ff90ce1b84984e2a6749b08b | [
"Markdown",
"Ruby"
] | 17 | Ruby | shivil/rails_authentication_server | 675e947362e4f8383f527a10de4ea1eba36deed1 | e285efe4180332aca77ae38c50692b47e1ce912f |
refs/heads/main | <repo_name>kiteday/review-test<file_sep>/week1/testfile.py
test
version
2.0
2020.12.27
<file_sep>/README.md
# review-test
깃허브에 익숙하지 않은 사람 연습 공간
<file_sep>/week1/13458_시험감독_kiteday.py
import cv2
#this is test
#테스트
#테st<file_sep>/week1/testfile.c
test
2020.12.27
빠밤
| 4a421ac32f8c6bd6706eda12005fa390f4c07faa | [
"Markdown",
"C",
"Python"
] | 4 | Python | kiteday/review-test | 404aa1162fc6796c517894b932e547e67c2b9931 | 3307e1ec5df4d4a624d429b216d1119206f90cde |
refs/heads/master | <repo_name>shahas1/stratagemofsagacity<file_sep>/SoS/Map.cs
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graph... | ef4e228b6ae3373b2c0c2c7cc4d6ea738c514b89 | [
"C#"
] | 13 | C# | shahas1/stratagemofsagacity | f2035f94faa648c873f0869b0992205426dbcb0f | 8b9175c0e4334d9c3bac122ec69af1628f5b067d |
refs/heads/master | <repo_name>kaheglar/knockout-binding-label<file_sep>/lib/main.spec.js
'use strict';
define([
'./main'
], function(ko) {
describe('Module knockout-binding-control', function () {
it('initialised the correct property bindings on the element.', function () {
var viewModel = {
id: ko.observable('1')... | 6aa7fc64202743e858eb54862925738911cbaa76 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | kaheglar/knockout-binding-label | 6a7a29a1d9462b982a8097445042c2d46810e9e5 | e8faa474c854ce261a092d9bb06e4ac8dfff22f7 |
refs/heads/master | <file_sep>using System.Text.RegularExpressions;
using Jabbot.Models;
using Jabbot.Sprockets.Core;
namespace Jabbot.Sprockets
{
public abstract class RegexSprocket : ISprocket
{
public abstract Regex Pattern { get; }
public bool Handle(ChatMessage message, IBot bot)
{
... | 0d031e10ea41c2ba82a14614926f6b3885238be2 | [
"Markdown",
"C#"
] | 15 | C# | shiftkey/JabbotTestClient | 6c3cf8a877f6556baf6d9b134b629e9508ef6565 | 319be335a5fe97223100b30e82b8feda001dc1f2 |
refs/heads/master | <file_sep># Customer-Management with C#
Belajar membuat CRUD dengan List View
Let's do it!
<file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Fo... | 5ded89174c4d24329cdc50130d2f89dccd85eca7 | [
"Markdown",
"C#"
] | 2 | Markdown | mettasaputra/Customer-Management | 9a6b240ea189a470f4218a16612cfdd051490fd8 | c8cba57cace7c65422fccd9eaaa89018907b9da8 |
refs/heads/master | <repo_name>prasannalama/OIPA_Automation_Run<file_sep>/pom.xml
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>OI... | 7a9c08588d0f299b3ef286a712809885f0cafc26 | [
"Java",
"Maven POM",
"INI"
] | 6 | Maven POM | prasannalama/OIPA_Automation_Run | 42dbd744a192e8b98ee866c486e654a529126382 | 08bcc26bdc290026d033559a5bcc3b9601edf48c |
refs/heads/main | <file_sep># Simple Discord Exploits
<file_sep>from dhooks import Webhook
import os
from colorama import Fore, init
import requests, json
def start():
os.system("cls")
print(Fore.BLUE)
print(" __ __ __ ... | db2d2b7e978d896e27e882278c071a9f6d409bff | [
"Markdown",
"Python"
] | 3 | Markdown | lnfernal/Discord-Exploits | 6ea8ac522e8d0a9301af87e4224dc74461dd081f | 8c72221c64703eda8c5dfe0b3ec9019094cca287 |
refs/heads/master | <file_sep>
//delete부분이 미완성.
#include <stdio.h>
#include <stdlib.h>
typedef struct _node
{
int data;
struct _node *left;
struct _node *right;
}TreeNode;
void init(TreeNode **root)
{
*root = NULL;
}
TreeNode *MakeNewNode(int data, TreeNode *left, TreeNode *right)
{
TreeNode *newNode = (TreeNode *)malloc(sizeof(T... | 269872e1e61e144d43a14d3aca23994963a935c9 | [
"C"
] | 20 | C | tjrkdgnl/dataStructure2 | 7bbc835fd3eca9b9fbde05d80a41af9ef4163527 | 3d274d6417ca5f16a9e73ac06144156d1959099a |
refs/heads/master | <file_sep>//CODE GOES HERE
import {combineReducers} from "redux";
import WeatherReducer from "./reducer_weather";
export default combineReducers({
weather: WeatherReducer
});
//CODE GOES HERE
//CODE GOES HERE
//CODE GOES HERE
<file_sep>import React, { Component } from 'react';
// import SearchBar from "./search... | 40456b31bd26caea124c37f5de1af8a83803e693 | [
"JavaScript"
] | 2 | JavaScript | rukaroa/redux | 69da1f8c1314fa1361466adb6757578f6f1b2361 | 3816457795e08563d53ac5f382735846146176eb |
refs/heads/master | <repo_name>mustafamg/nestjs-mqtt-example<file_sep>/src/app.controller.ts
import { Controller, Get } from '@nestjs/common';
import {
Ctx,
MessagePattern,
MqttContext,
Payload,
} from '@nestjs/microservices';
import { AppService } from './app.service';
@Controller()
export class AppController {
constructor(pri... | b72e492587720b1af31db025b2f78b98b66516eb | [
"TypeScript"
] | 2 | TypeScript | mustafamg/nestjs-mqtt-example | 973350d7f011ee44edf6a93458451fbfd303c6ca | e8592defcdf50abf5d8319447a8b707934cb9140 |
refs/heads/master | <repo_name>MaxJeong/Hospital-Android-App<file_sep>/src/backend/Patient.java
package backend;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import frontend.PatientInfo;
import android.annotation.SuppressLint;
/**
* A representa... | 05dd5678b5dbd2e688fba951aad973b197923f9b | [
"Markdown",
"Java"
] | 14 | Java | MaxJeong/Hospital-Android-App | 7c201df050471820ee13064b575f592d8409f171 | 44104662e9e5989b4b777433db2cc895d22cc7aa |
HEAD | <file_sep>import FWCore.ParameterSet.Config as cms
#
# reusable functions
def producers_by_type(process, *types):
return (module for module in process._Process__producers.values() if module._TypedParameterizable__type in types)
def esproducers_by_type(process, *types):
return (module for module in process._Pr... | e88cdbee8ed7ab5d1cca881a951d9e8b9be2db49 | [
"Python"
] | 1 | Python | tstreble/L1_eg_emul_fw_tests | 4781fc34c3d210e5bde141027fda576e2f8c0e67 | 425a15307d19b22b90c71b8bf30f733722c25996 |
refs/heads/main | <repo_name>jackcarter/advent_of_code_2020<file_sep>/2020/day_20/puzzle_1.py
from functools import reduce
import operator
from pprint import pprint
import math
def get_edge(tile, edge):
edges = {"top": tile[0],
"bottom": tile[-1],
"left": [t[0] for t in tile],
"right": [t[-1] for t in tile]
}
return edges[edge]
... | e58bd4d6dc79043b96e4668bb9973cc6ef3aeee1 | [
"Python"
] | 69 | Python | jackcarter/advent_of_code_2020 | 6c2698d6277750c0af31993a7f711191ab7ab367 | da8a23e322a1f1cbcaa068fb8c0dc62ce665ced1 |
refs/heads/master | <repo_name>kkimatx/RBP_project<file_sep>/retrieve_seqs.py
## Given the sequence positions in the LINK-Seq database, retrieve sequences
## from local human genome, find the proper strand, and convert to RNA
import os
import numpy as np
import pandas as pd
import re
import pysam as pys
import sys
def retrieve_seq(RBP... | 0b6148019fe035a3e0713ffd974f8bc041c42f9e | [
"Markdown",
"Python"
] | 12 | Python | kkimatx/RBP_project | 04fac40b92f8db913d23bdd6e3fe113c7e6837ba | 2f49d632395a8c5fe49d4f73c82b1ea9d4aefe69 |
refs/heads/master | <repo_name>guoyu07/Java-Dynamic-Web-App<file_sep>/README.md
# Java-Dynamic-Web-App
Servlets, JSP, HTML and Tomcat. A simple beginning to a web application.
This is part of an application. There is a login screen which will allow authorized
users to accesss. Behind the scenes a servlet takes care of this in conjuncti... | 17f8baf66f998488a69780988f60e698799a0d54 | [
"Markdown",
"Java"
] | 2 | Markdown | guoyu07/Java-Dynamic-Web-App | d5718713ea202bbdba515e1d2c6ae5104b47900d | 0d1b6623d48a246a8dbc0fb510cba08237ca2c52 |
refs/heads/master | <file_sep>import tkinter as tk
import tkinter.filedialog
from tkinter import messagebox
import stix2
import urllib
from urllib.parse import *
from urllib.request import *
from urllib.response import *
def bugreport(parent, msg):
try:
message = urllib.parse.quote_plus(msg)
req = urllib.request.Requ... | db5526ce828c4fec8d13650e0b6fa859a8088e03 | [
"Markdown",
"Python",
"PHP"
] | 3 | Python | SakisPap/Bug-Report-Server | 73a5ee0959172d81c172e1236054f08d54d93fc4 | 51470e1ed5ad7191601f53680911dfd61522ade1 |
refs/heads/main | <file_sep>using System;
using System.Collections.Generic;
namespace CERelayBoard8Serial
{
public class Factory
{
#region Singelton
private static Lazy<Factory> _Instance;
public static Factory Instance => _Instance.Value;
static Factory()
{
_Instance = new ... | 7c7ec3e134fa094343997f2fcfb49fa3a4d922b7 | [
"Markdown",
"C#"
] | 8 | C# | kwitsch/CERelayBoard8Serial | 11be3367dd6c670048e8fe0b95fa3ba4aef419e0 | f27738223bf760ed87ccfabebef7b404326f66d1 |
refs/heads/main | <file_sep>#pragma once
#include "game.h"
static ALLEGRO_BITMAP* display_get_icon()
{
ALLEGRO_BITMAP* icon = al_create_bitmap(16, 16);
al_set_target_bitmap(icon);
al_put_pixel(0, 0, al_map_rgb(214, 204, 195));
al_put_pixel(0, 1, al_map_rgb(218, 207, 187));
al_put_pixel(0, 2, al_map_rgb(217, 206, 188));
al_put_... | dab7b6ae7fca22220eda63e4ed4568552a9afc2f | [
"Markdown",
"C"
] | 24 | C | Wdestroier/2048 | 48efdc0d58d7c54c44da58aedc8088de3a41a9bf | 600d6b7f735ee8ab84cf4ae8bc92f3c429c95350 |
refs/heads/master | <file_sep>package oquantour.data.datahelper;
import oquantour.po.UserPO;
import oquantour.util.tools.HibernateUtil;
import org.hibernate.HibernateException;
import org.hibernate.Session;
/**
* Created by island on 5/5/17.
*/
public class UserDataHelper {
//Session session = HibernateUtil.getSession();
/**
... | c0d5fe915ffcc7731881c84fac52df3ab9e53ebe | [
"JavaScript",
"Markdown",
"Maven POM",
"Java",
"Python"
] | 88 | Java | Atlas-zqh/Oquantour | c3e91285d7099311148ee1f8f8e173afc37ea69d | 2dbe44a4296ace8314734ca252db111238ae032a |
refs/heads/master | <file_sep># Oxford-VA-2015-Practical-1
This is a practical project submitted to Visual Analytics course (2015) at Oxford University.
The aim is to make use of existing examples in D3.js repository, e.g., parallel coordinate, tag cloud, themeriver, to visualise dataset.
Please follow in the link for further details: ... | 8177f64a5101bdd84e17691b8958dfed9127880b | [
"Markdown",
"JavaScript"
] | 4 | Markdown | virtworld/Oxford-VA-2015-Practical-1 | 051679b419916d50ba999596f5642cc084c8ae3f | 5639970d008a199c52a0f5a9157818feb03c676b |
refs/heads/master | <file_sep>#!/usr/bin/env python
# coding: utf-8
# # Image Data Augmentation with Keras
#
# 
# # Task 1: Import Libraries
# In[1]:
get_ipython().run_line_magic('matplotlib', 'inline')
import os
import numpy as np
import tensorflow as tf
from PIL import Image
from mat... | 9974835e6fa8decd9532cf1069a5529e36d28d1a | [
"Markdown",
"Python"
] | 3 | Python | AdityaVashista30/Image-Augmentation-and-Image-DataSet-Generated-using-Keras | f42a16c44eddbfadadaf7d49155ef5931c807c53 | 8a654f4e9499ae86adb53457d8745d4ffd907882 |
refs/heads/master | <file_sep># kilotrack-app
kilotrack-app
Making a simple weight tracking application to track daily weight measurements.
1. Login
2. Track weights daily
3. Overall list of daily weights
4. Dashboard
Future
4. Mobile app with Xamarin
5. Add goals like goal weight , target timeframe to achieve goal.
Vuejs
.net core
<... | ae262f0f6704488a9e04b225fc4b59ecce393a50 | [
"Markdown",
"C#"
] | 7 | Markdown | thejonesbrian/kilotrack-app | d0988ad6b03b54e64e7193cd2c076ea5629210a3 | 67b4e5666d3b5ffa489e20eeedd411a7bec1c192 |
refs/heads/master | <repo_name>dmytroleonenko/snakeplissken<file_sep>/configs.py
import numpy as np
FPS = 5000
FPS_PLAY = 48
W_WIDTH, W_HEIGHT = 150, 150
BLACK = np.array([0, 0, 0])
GRAY = np.array([128, 128, 128])
CRIMSON = np.array([220, 20, 60])
WHITE = np.array([255, 255, 255])
GREEN = np.array([34, 139, 34])
SNAKE_SIZE = 10
SNAKE... | 1c9f5d6e253e58c785abc1743fad8462ee1bb286 | [
"Python",
"Text"
] | 2 | Python | dmytroleonenko/snakeplissken | 7259ac23496a1a0fd046002e4281d5b5cba51638 | a772f9b3311a5841105c59d5e257f37360444151 |
refs/heads/main | <repo_name>arifinabd/nodeJS-todo-list<file_sep>/database/config.js
require('dotenv').config()
const {
DB_HOST,
DB_USER,
DB_PASSWORD,
DB_NAME,
DB_PORT,
DB_DIALECT,
DB_LOGGING
} = process.env;
const sequalizeConfig = {
dialect: DB_DIALECT,
host: DB_HOST,
port: parseInt(DB_PORT, 0),
username: DB_US... | d04eaa9adf529d5cc39b554c5dd4b3ff04c5dbe0 | [
"JavaScript"
] | 1 | JavaScript | arifinabd/nodeJS-todo-list | adc4f07574958b7bd5359aaa7e06f08de437c0e9 | 9d5a964fbef7055d2577f690388bd7cc5498e89f |
refs/heads/main | <file_sep>var userAnswerEl = document.querySelector("#user-form");
var answerInputBox = document.getElementById("answer");
var answerCheck = document.querySelector("#answer-check");
//Get answers from url
var queryString = window.location.search;
var urlParams = new URLSearchParams(queryString);
var categoryTitle = u... | e1d3651428863bbf7399e62e5767ff8ea85d5663 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | jakerobs/group-12 | 063f6c7f9fe666ee19bb55be1f60ee0e6c8c80a5 | 0361d0999bea6ded0ec27dd168d1bef8130e09ff |
refs/heads/master | <repo_name>kovesdinorbert/VoiceBeatSpa<file_sep>/VoiceBeatSpa.Core/Interfaces/IGenericRepository.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace VoiceBeatSpa.Core.Interfaces
{
public interface IGenericRepository<T>
{
Task<T> FindById(Guid i... | 4bea7fc7c1386eeafa9d06f5a631e17e4582bec4 | [
"C#"
] | 22 | C# | kovesdinorbert/VoiceBeatSpa | 7063ec6b1be2ed5094f5c9f1ad8723f949035e8e | a623b8f965c1b5af019d2d57c6ea50f73b981d7e |
refs/heads/master | <repo_name>morgancmartin/sample_app<file_sep>/db/migrate/.#20160514161925_add_activation_to_users.rb
<EMAIL>@mbox.Home.20884:1463236134 | 2527c957cef5fc15be0f981967d7cd024de7d91d | [
"Ruby"
] | 1 | Ruby | morgancmartin/sample_app | 58981eda47225341ba0f3fe401689a5ad22fe7eb | f3c76de6ac60b13fa3e4bc7698a45225b0e3389a |
refs/heads/master | <repo_name>badhwars/Mobile-Web-App-Development<file_sep>/README.md
# Mobile-Web-App-Development
This file uses json file to populate the contents
It contains a index hmtl file which takes information from a json file
and creates a list of planets
user can click on any planet which will redirect to another web page
the ... | 04d9cfd1e628d16e16e89d79f3359a2d8e29df5a | [
"Markdown",
"JavaScript"
] | 3 | Markdown | badhwars/Mobile-Web-App-Development | 94c1056abe2443514f3ac160e6015751f0d8cd8e | d4792f7b11f46c0a4efd914b6fa925e705025f2d |
refs/heads/master | <repo_name>cmccord/Flare<file_sep>/app/src/main/java/sunglass/com/loco/Application.java
package sunglass.com.loco;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import a... | 3ef3fa54b62f1ee203cfbb525af23fe2e2e0cbee | [
"Java"
] | 7 | Java | cmccord/Flare | 8e4be363c1b4ef609a5c3f29cfffa3a02fafa9a3 | 1ebcf35132b6372a505071ca04416fa5436df3b8 |
refs/heads/master | <repo_name>SkyrimVovan/Eateries<file_sep>/Eateries/Page/ContentViewController.swift
//
// ContentViewController.swift
// Eateries
//
// Created by Vladimir on 29/01/2020.
// Copyright © 2020 Vladimir. All rights reserved.
//
import UIKit
class ContentViewController: UIViewController {
@IBOutlet weak var head... | c1d715876b3d24e0ede1a2d4b1b0f5ab46275464 | [
"Swift"
] | 3 | Swift | SkyrimVovan/Eateries | 3e8f52ee76f391fb862198e72c268022f55649cf | bfcddfc766e7c44de7f6c888cd8c601451b3d126 |
refs/heads/master | <repo_name>phg98/heartbeat<file_sep>/README.md
# heartbeat : Checks heart-beat signal
### How to install
npm install
### How to run
npm run start
or
node bin/www
### How to test
npm test
<file_sep>/utils/uuid.js
const uuid4 = require('shortid');
const shortid = require('shortid');
const uuid = () => {
if (proce... | bed0258ad19fa145f32e4f2bd27cd9dc7e0b11d2 | [
"Markdown",
"JavaScript"
] | 12 | Markdown | phg98/heartbeat | 39899fc90d3a6b27a0958f32a263bd0720f8fb66 | a182504c43acc3ded5351fc5f948198c9886978f |
refs/heads/master | <repo_name>Rikkubook/vue-cicd<file_sep>/src/components/Counter.test.js
import { render, fireEvent} from '@testing-library/vue'
import Counter from './Counter.vue'
test('載入時title [當前點擊次數0]',()=>{
const { getByTestId } = render(Counter)
const title = getByTestId('counterId')
expect(title.innerHTML).toBe('當前點擊次數0')... | 37445addd1faae51b7dcfa2742d157d124aea34e | [
"JavaScript"
] | 1 | JavaScript | Rikkubook/vue-cicd | b023c2f99da0bdc6147f6bd6dd1ed8664366060b | 34663ebcabdf9471616de0ed9e434e81a77b97db |
refs/heads/master | <file_sep># Lenguajes de Marcas y Sistemas de Gestión de la Información
## Actividad 1
### Equipo de trabajo:
• <NAME>
• <NAME>
• <NAME>
### Ruta del [repositorio](https://github.com/sarnaizgarcia/LenguajesDeMarcasActividad1): https://github.com/sarnaizgarcia/LenguajesDeMarcasActividad1
### Reparto de ... | 87621bbd6769aff9b6bf3bd3307bacb92b2a07e0 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | sarnaizgarcia/LenguajesDeMarcasActividad1 | 3a8bd92a3224298cf7cac78f5d29edd1e5bc5818 | 1af9420856d31d73a792a03fe7f81e94725bd812 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
import sys
import os
import numpy as np
import pandas as pd
import time
import cv2
#keras
from keras.utils import to_categorical
# fer2013 dataset:
# Training 28709
# PrivateTest 3589
# PublicTest 3589 total 35887
#讀取資料,
def read_csv(path_,fname_):
#dir_pat... | 804d2ae429eea9d3f4f7246fb0fbad371294285a | [
"Markdown",
"Python"
] | 6 | Python | cuta8451/FER | 43d072903ead0d5009ac0fc7170d3c5c5dfd2138 | 3ba4c1038319494c7e4a9fceb31495fb6f156624 |
refs/heads/master | <repo_name>FarukHossain2133/Shopping-List<file_sep>/config/keys.js
module.exports = {
mongoURI: 'mongodb+srv://Faruk:Faruk01936@cluster0-fqsei.mongodb.net/shopping?retryWrites=true&w=majority'
}
// mongodb://localhost:27017/mern-stack-tracker<file_sep>/client/src/store/reducers/index.js
import {combineReducers} ... | 94894d0b4ee2cec6e3038482fd2c4863b1ed9af6 | [
"JavaScript"
] | 3 | JavaScript | FarukHossain2133/Shopping-List | a9b160e5349d3572974c1f7bba6efecaffd555ff | 25f51a3557db12ec78b74a25b4e48a8861de835e |
refs/heads/master | <repo_name>Davidy22/Project4<file_sep>/array.cpp
#include <iostream>
#include <cassert>
#include <string>
using namespace std;
int appendToAll(string a[], int n, string value);
int lookup(const string a[], int n, string target);
int positionOfMax(const string a[], int n);
int rotateLeft(string a[], int n, int pos);
i... | 599e1fdc2d80df4b6650333cffd98dbcdd0d3d1a | [
"C++"
] | 1 | C++ | Davidy22/Project4 | 2fe7e5e2d7459c5b079b57c1a8394855adbd420a | 28e47622c46b439a242c86080b5aaed9e444042f |
refs/heads/master | <file_sep>import math
layouts = []
def register_layout(cls):
layouts.append(cls)
return cls
def node(percent, layout, swallows, children):
result = {
"border": "normal",
# "current_border_width": 2,
"floating": "auto_off",
# "name": "fish <</home/finkernagel>>",
... | cce0c494fac86da924db90d8d7a279a6598b254d | [
"Markdown",
"Python",
"INI"
] | 5 | Python | ur4ltz/i3-instant-layout | 8c3e49c70306826dc69a889cbd44c1ab610419b1 | f84e162abe353b314c11da8c5d637d4946112ce2 |
refs/heads/master | <repo_name>iainmck29/javascript-objects-bootcamp-prep-000<file_sep>/objects.js
var playlist = {name:"title"};
function updatePlaylist(playlist, name, title) {
playlist[name] = title;
return playlist;
}
function removeFromPlaylist(playlist, artistName) {
var myNewVariable = playlist
delete myNewVariable[ar... | a919e39473e65e6dc63b8f5ccdb1171dc5408c9d | [
"JavaScript"
] | 1 | JavaScript | iainmck29/javascript-objects-bootcamp-prep-000 | c1b5e6cc054179999c68e4e4922fab5ba7aa9307 | fe908d2088934839be9059abeca582777a1b699f |
refs/heads/master | <repo_name>MeghaShahri/Advocate-Vidhi-Chamber<file_sep>/service.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Vidhi Chambers-Practice Areas</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="Law Firm Website Templ... | 607c0a53667c867c89d75f1d1ae76bb79711bdae | [
"PHP"
] | 8 | PHP | MeghaShahri/Advocate-Vidhi-Chamber | 1c7833dc922e1870b115a05b152e1e85c28a48cf | 524bda4d22c9fda3f7b9d6bfaa971cbd93f5ef5f |
refs/heads/master | <repo_name>team-obliq/obliq<file_sep>/README.md
# obliq
Human Beings.
We all have problems needing to be solved.
Yet sometimes, no matter what experts surround us in our field/career, we simply don't know where to turn to solve them.
This is where Obliq steps in.
Based on & implementing <NAME>'s "Oblique Strategie... | 5e9b5f82f0f76cb6ee7b28ce139e87b898483a52 | [
"Markdown",
"Java",
"JavaScript",
"SQL"
] | 10 | Markdown | team-obliq/obliq | e79e3d80cf8ac7aa2f124d022c62db7b46e12cf6 | 3a155603f6f4b4aeed940801634a0ac3d2b4e538 |
refs/heads/master | <file_sep><?php
class DatabaseFactory {
static function getConnection() {
$Host = SysProperties::getPropertyValue("bancodados.servidor");
$User = SysProperties::getPropertyValue("bancodados.usuario");
$Pass = SysProperties::getPropertyValue("bancodados.senha");
$d... | 00b6da5bc7a7293fbfb56fbaed8e642750ece452 | [
"Markdown",
"PHP",
"INI"
] | 13 | PHP | mccaetano/CarregaNoticias | fb53afcc25b878e5246af2bb54113fdfb03fc7b2 | 840533d50d9b1aeb9284d417c7ee333b4ffc76fe |
refs/heads/master | <repo_name>ankitlathia/COMP-6411<file_sep>/Assignment1/KruskalC/kruskalMST.c
/**
*
*@author <NAME> ID : 27378327
*
*/
//Minimum Spanning Tree using Kruskal's Algorithm
#include<stdio.h>
#include<curses.h>
#include<stdlib.h>
#include<time.h>
int a,b,i,j,k,u,v;
int nodes,counter=1;
int minVal;
int minimumCost = 0;
int... | b72abba6b54a46c8afc619b910f42372b0094dfa | [
"Java",
"C",
"PHP"
] | 5 | C | ankitlathia/COMP-6411 | 57f6316bbb720a3e19b66ecc694d1922fc2b6301 | e63bdc65c5b633d047bfc2de18c3d2e4aad934aa |
refs/heads/master | <repo_name>starklm1402/FirstCalculator<file_sep>/calculator.java
import java.awt.GridLayout;
import java.lang.Math.*;
import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
impo... | a9c12f203893986fea45229ce5d48ebc1f83ea32 | [
"Java"
] | 1 | Java | starklm1402/FirstCalculator | 589ac45c7f7bd429de6053400ef63f5abfa52667 | f65954cdadfa426fc3fa8df90cc00cdcb7044949 |
refs/heads/master | <repo_name>team-telnyx/erlang-dirent<file_sep>/c_src/dirent.c
#include "erl_nif.h"
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/dir.h>
#include <errno.h>
// it might be weird, but this is how it works for now
extern char* erl_errno_id(int error);
static ERL_NIF_TERM am_ok;
static ERL_N... | d7856015903733143ed8e6359e8e45318465c4db | [
"Markdown",
"C"
] | 2 | C | team-telnyx/erlang-dirent | a0ac780c4d2230e7ca6f169a117bad7665c36f73 | 3110ab74fbfa55888790883808969cdefb8bc1ca |
refs/heads/master | <file_sep>all: hex
hex:
gcc -g -Wall -Werror -fsanitize=address -std=c11 hex.c -o hex
clean:
rm -rf hex
<file_sep>## Project Description
In this project I wrote code to solve a hexadoku puzzle, which is essentially 16x16 hexadecimal sudoku. My code currently only works for hexadoku puzzles that will always have a ... | 79968a8f0523612a28404c2173d4c9cebe15f7a5 | [
"Markdown",
"C",
"Makefile"
] | 3 | Makefile | evanwire/HexadokuSolver | 424cb1c95ab4e67fcc0298e55bcdba696c573d8d | 62a3c79b496bd273278f17af6e6233d44dc5a557 |
refs/heads/master | <repo_name>friseon/c23423_a<file_sep>/src/components/game/game.js
import { state } from './../data/state';
import GameObject from './__object/__object';
export default class Game {
constructor(canvas, context) {
this.canvas = canvas;
this.context = context;
state.changeExperience(0);
}
... | 2bccd22814a55ab11574e4d9d2f2157c41d918ad | [
"JavaScript"
] | 10 | JavaScript | friseon/c23423_a | 50843f278be3d209e3b1031f91e42789c0a1a22f | 79ff44cbd3967ea457da44eba7b5235ea7c0eb66 |
refs/heads/master | <file_sep># O2 Sensor Simulator by hiruna - WIP
This is a very basic prototype to bypass the factory installed O2 Sensor in a motorcycle/car and send custom sensor data to the ECU. The purpose of the prototype was to force the ECU to operate on a static fuel map, enabling the user to change to the prefered Air-fuel ra... | 4749aa7ca19374567a79c64f4df1771ea278b53d | [
"Markdown",
"C++"
] | 3 | Markdown | onurtatli/O2_sensor_simulator | 3d6b68743675ae71fcb38b0fe6a047df078cedad | 15a470a00888e5be003b0254230dcbd18f18b62c |
refs/heads/master | <repo_name>virginieguemas/s2dverification<file_sep>/R/PlotStereoMap.R
#'Maps A Two-Dimensional Variable On A Polar Stereographic Projection
#'
#'Map longitude-latitude array (on a regular rectangular or gaussian grid) on
#'a polar stereographic world projection with coloured grid cells. Only the
#'region within a spe... | 8635394c945473c5e6d4e76ab9e57be496082ed1 | [
"R"
] | 4 | R | virginieguemas/s2dverification | 47e29959f94de06f6c8994885a3edaaa97d86496 | a0300d2f105769626caefca74aef82a65078570a |
refs/heads/master | <file_sep>package main
import (
"fmt"
"os"
)
func Learn(csvFile [][]string) {
var (
cardsToLearn []Card = CreateSliceOfCards(csvFile)
cardsLearned []Card
cardsNotLearned []Card
card Card
)
if len(cardsToLearn) < 5 {
fmt.Println("Please, your CSV file must have at least 5 cards")
os... | 7c155ea7038869bbe76ae1f582130a4c957b385d | [
"Markdown",
"Go"
] | 6 | Go | rafa-leao/cards | d0a5343f59b4829ff3c51446484fa3128f2704b0 | 84b914b3fc4f241414231bf52905b8d226c708f3 |
refs/heads/master | <file_sep>package cn.lhj.mvcproject.dao;
import java.sql.Connection;
import java.util.List;
import cn.lhj.mvcproject.model.User;
/**
* 接口定义规则,只定义方法,不实现,UserDao,定义与Users数据表有关系的操作方法;
* @author lihaijian
*
*/
public interface UserDao {
/**
* 实现插入一条用户信息。
* @param user
* @return
*/
pu... | 503f39bd731714aa960f498d8090cf47233ce1da | [
"Java"
] | 13 | Java | lihaijian/mvcProject | cf6361fab75df43710887e0d9f285539951fb6b3 | e72158d27a94150e81264f8252ae2754afddc1f3 |
refs/heads/master | <repo_name>PeterMcCormick/leonium<file_sep>/src/main/sites/friendproject/pages/HomePage.java
package main.sites.friendproject.pages;
import org.openqa.selenium.By;
import main.sites.PageObject;
import main.sites.AbstractTrial;
public class HomePage extends PageObject {
public final By byInputEmail1 = By.xpa... | 90b6003cf335100bfa93bf5623af150a9bc25e74 | [
"Java"
] | 20 | Java | PeterMcCormick/leonium | 080be69f9eb03ed0497d2b580a09a51fac6986a2 | 06d1532a9ffc1953991ccac739be3439dc7dc3a6 |
refs/heads/master | <repo_name>sumanthkumarps/ViewPageHolder<file_sep>/app/src/main/java/com/effone/viewpageholder/model/Items.java
package com.effone.viewpageholder.model;
import java.io.Serializable;
import java.util.ArrayList;
/**
* Created by sumanth.peddinti on 5/10/2017.
*/
public class Items implements Serializable
{
priva... | 4950d63358a563ada9617b897320898f3a3602b6 | [
"Java"
] | 7 | Java | sumanthkumarps/ViewPageHolder | 87e91570c85cd91f15f64184697dda1dd8226362 | a16bc5e97f5a4877422ba13acafcfe4aea39d554 |
refs/heads/master | <repo_name>marcianobarros20/python4D<file_sep>/lib4d_sql/communication.c
#include "fourd.h"
#include "fourd_int.h"
#ifdef WIN32
#define EINPROGRESS WSAEWOULDBLOCK
#else
#include <fcntl.h>
#endif
long frecv(SOCKET s,unsigned char *buf,int len,int flags)
{
int rec=0;
long iResult=0;
do{
iResult=recv(s,buf+rec,len-r... | afc9de292370f987cb40f47f046622f733c8828b | [
"C",
"Python"
] | 8 | C | marcianobarros20/python4D | 34b8fc09ee286ef4dbeaf3e2058587b224430ddf | f693adeb83423b8a44489ee46bace409f88a1ae5 |
refs/heads/master | <file_sep>class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
validate :wedding_date_cannot_be_in_the_past... | 601f0e5985690df258375f1cfd15c2acfef07b7e | [
"Markdown",
"Ruby"
] | 13 | Ruby | ef718/checklist | f7906ff5fddbff3dad73585bd73e144cd8d5718d | 5c70458a5d565880579dd7698ddedc4c5a6ec9f4 |
refs/heads/master | <repo_name>ZiRanGe-Jason/AutoAir<file_sep>/aair-wordlist.py
import os
if __name__ == "__main__":
while(True):
print("==================================")
print('''
输入数字编号
1.添加密码字典
2.显示所有字典
3.设置默认密码字典
4.安装wpa-dictionary字典
5.安装kali的rockyou字典
6.清空字典
7.返回
''')
try:
... | c4a239a245ff69cafaa3d74b73f0c82ac248184a | [
"Markdown",
"Python",
"Shell"
] | 5 | Python | ZiRanGe-Jason/AutoAir | 6922249a06a45a747be9cd1c6c70d86b21b27898 | b64651290df250552f7ddd55d85d81e5b608e7e5 |
refs/heads/master | <file_sep>import cv2
import numpy
import time
import HandTrackingModule
cap = cv2.VideoCapture(0)
cap.set(3, 640)
cap.set(4, 480)
pTime = 0
detector = HandTrackingModule.handDetector(maxHands=2)
while True:
success, img = cap.read()
img = cv2.flip(img, 1)
img = detector.findHands(img)
lmList, bbox = de... | e367c63ee8baafdfba818bbd3793e1170bfc626c | [
"Markdown",
"Python"
] | 2 | Python | Harsh-Upadhayay/VirtualMouse | fd62432c023d2f717c6abf751b188f728860b9f0 | 0a83fff37638582e88cd4bcf5b98695833fa06e7 |
refs/heads/master | <repo_name>431910864/miyou.tv<file_sep>/electron-wrapper.sh
#!/bin/sh
exec "$(cd $(dirname $0) && pwd)/miyoutv-bin" --no-sandbox "$@"
<file_sep>/src/modules/viewer/saga.web.ts
/*!
Copyright 2016-2019 Brazil Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in complia... | b9107ea9fb9ba6f98e72f2de7bd42d38a866ae52 | [
"JavaScript",
"TypeScript",
"Shell"
] | 9 | Shell | 431910864/miyou.tv | 0620775f41e4064d73368dab0570e1ed033bbd5c | c08ac43a94106919b9a8e2b20c814ee499e4b0f3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.