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>martinslabber/smosl<file_sep>/logparser/smosl2file.py
#!/usr/bin/env python
from __future__ import print_function
import sys
import argparse
from util import parse_msg
parser = argparse.ArgumentParser(description='Parse log lines from STDIN.')
parser.add_argument('-o', '--file', dest='filename', action='s... | e19b00a579679e8626e985b3b6aeff878d73bcaf | [
"INI",
"Python",
"reStructuredText",
"Shell"
] | 14 | Python | martinslabber/smosl | ff59f2ff2cf09e5fd515bba9442eb7e1dd373fa9 | b16addf7f830da0eb86953686f6aa7c6ed554900 |
refs/heads/master | <file_sep>define(
[
'jquery',
'uiComponent',
'Magento_Checkout/js/model/payment/renderer-list'
],
function ($,
Component,
rendererList) {
'use strict';
var defaultComponent = 'Payssion_Payment/js/view/payment/method-renderer/default';
... | a29cb1350e043c8d430015051779e820356271b5 | [
"JavaScript"
] | 1 | JavaScript | patrickouc/plugin_magento2 | 8b2b87597d485bd0c0e967f72dc2e41ca411c04c | 0fcd512ce8de9d1a2aadb6573ab90dfcbf0f439a |
refs/heads/main | <repo_name>Arteuss/Learning-Simulator<file_sep>/Assets/Scripts/ProjectUI/UiView.cs
using System;
using System.Collections.Generic;
using DG.Tweening;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace ProjectUI
{
public class UiView : MonoBehaviour
{
#region Variables
[SerializeFi... | 254c21c7bf8e1b9b86d5f602b448111b2e1fe3ee | [
"C#"
] | 16 | C# | Arteuss/Learning-Simulator | 41426eb32b88a17b971f7216da92d5f3a0a3a1fa | 928b43cc720ce72206c14ac6436a5c2e4e648474 |
refs/heads/master | <repo_name>emmavanninen/react-router<file_sep>/front-react-router/src/components/User.js
import React, { Component } from "react";
import Axios from "axios";
export default class User extends Component {
state = {
user: {},
isLoading: true,
isError: false,
errMsg: ""
};
async componentDidMount()... | 08d3e40550e61e1609c19b8ec218da2f472b5dc3 | [
"JavaScript"
] | 4 | JavaScript | emmavanninen/react-router | 762767a11e70524a45328bb1e9e2eaad56cc08f9 | 33217d35bc160db7c5c45a222888861231ee386c |
refs/heads/master | <repo_name>edithr2852/student-diary-project<file_sep>/README.md
# Pseudo Diaries :page_facing_up:
Project #2 Node/Express/MongoDB
Full-stack CRUD Application
__________________________________________________________________________________________________________________________________________________________________... | 6d58956054af7b5b4f6f5fc1d20b680b5211137b | [
"Markdown",
"JavaScript"
] | 6 | Markdown | edithr2852/student-diary-project | ff6ceaeeb6e890d76f974d20a46ddfecc7f3c963 | 3d4d8dee8aae1aa07f0e45175825e1e4411cb1d9 |
refs/heads/main | <repo_name>JuliaJindow/project-superhero-3<file_sep>/main.js
var canvas = new fabric.Canvas("myCanvas");
var blockWidth = 30;
var blockHeight = 30;
var playerX = 10;
var playerY = 10;
var playerObject = "";
var blockObject = "";
function playerUpdate() {
fabric.Image.fromURL("player.png", function(Img){
... | 3ec78425be6d8b25612044bdd924b905af82fdfd | [
"JavaScript"
] | 1 | JavaScript | JuliaJindow/project-superhero-3 | ca02189993f1ad018198937d2c054793d58aaa60 | a1891897156a06f7ee48b0b7314b72db6d9d8dd6 |
refs/heads/master | <file_sep>package com.example.tddd80_projekt;
import android.content.Context;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import a... | 84f30cc022ddf5971cb89385429fd4d1142a0afd | [
"Java",
"Gradle"
] | 5 | Java | berryPiee/AndroidLabbar | f6ceb16085b2de1b77989257680d3afe679daf43 | 1500c375f7cd30ab9701587784f1880207036ad8 |
refs/heads/master | <file_sep># -*- coding: UTF-8 -*-
import unittest
from picture_category import pic_exif
class TestPicExif(unittest.TestCase):
def setUp(self):
self.picFile = 'F:\\DCIM\\100ANDRO\\DSC_0004.JPG'
def tearDown(self):
self.picFile = None
def testGetExif(self):
self.assertIsNotNone(pic... | c5ea674190223578e90cdd0b680e1737dee7f843 | [
"Markdown",
"Python"
] | 8 | Python | xidongsheng/photo_category | 8a70dabaeab3f005116bd5dc0542aaccd16a4183 | b86a2a5d990a80a800ca4c109d1f49d714c72bd4 |
refs/heads/master | <repo_name>BoshiLee/Core_Data<file_sep>/Udemy_Course/CoreData_Demo_L8_Core_Data_Stack/Grocery List/Data_Model/Grocery+CoreDataClass.swift
//
// Grocery+CoreDataClass.swift
// Grocery List
//
// Created by <NAME> on 2017/2/21.
// Copyright © 2017年 devhubs. All rights reserved.
//
import Foundation
import CoreData
... | bf7cd2f7e660738b578520ad390a8691d51fa959 | [
"Swift"
] | 2 | Swift | BoshiLee/Core_Data | e2aafff913fb4fd14c19f2ddae6a2b4bc0ccd1e2 | 6fea9bd7d5370f01cd75386ef147370a80a02969 |
refs/heads/master | <file_sep><?php
declare(strict_types=1);
namespace Orba\RandomCat\Api\Data;
interface RandomCatImageInterface
{
const API_URL = 'http://randomcatapi.orbalab.com/';
const REQUEST_METHOD = 'api_key';
public function getRandomCatImage(): string;
}
<file_sep><?php
declare(strict_types=1);
namespace Orba\Ra... | 49bb4da6ffc2aef80b5596a0cf48b2c728f41adb | [
"Markdown",
"PHP"
] | 6 | PHP | andrey-vladimirovich/test_work | d9733834ab022fe7b8ec73ba4f2132401920f9b0 | e7f07124b6b9de2da759e9f7ee13d03b9a2a7f77 |
refs/heads/master | <file_sep>sap.ui.define([
"sap/ui/core/Control"
],
function(Control){
Control.extend("oft.fiori.nov.customControls.Heading",{
metadata:{
properties:{
"magic":"",
"mario":"",
"border":""
},
functions:{ },
events:{ }
},
init: function(){
this.setBorder(... | 7f17efa1187abf9a8a142f3a8b6f935d8cbd6de6 | [
"JavaScript"
] | 1 | JavaScript | msreddyui5/CustomControl | 5b0fc883411222fd92026bacd5ebf6b649461e8b | 3a372f498ed30bac33b5ecc9e0643ae3c78adf9a |
refs/heads/master | <repo_name>aatxe/chipster<file_sep>/src/screen.c
#include <SDL/SDL.h>
#include <stdlib.h>
#include "screen.h"
SDL_Surface* screen;
screen_type m_type;
key_state keys[0x11];
uint32_t last_updated;
const uint16_t scale = 0x4; // Display Scale
const uint32_t tick_length = 1000 / 60; // milliseconds per tick
int init() ... | 8855c8edb38ab31c201320b449a53d992225d191 | [
"Markdown",
"C",
"CMake"
] | 7 | C | aatxe/chipster | 4ba37307fb4d1d4bc8de2202bbc36a126da63b1c | 0a340c0d1783cbcaf9d89642e540c401740bfe7b |
refs/heads/master | <file_sep>// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
====================================================... | f3376c06cf12367f2cb50ae2b1d1b41cdaef9e3e | [
"Text",
"C++"
] | 33 | C++ | bam1a/2097A2 | 4d19921bfc247acfa84234932161151cff464de5 | 256ce534d487c4ddceca2e45ffc158505dce8b73 |
refs/heads/master | <repo_name>etxpell/elvis<file_sep>/elvis_test.go
// All material is licensed under the Apache License Version 2.0, January 2004
// http://www.apache.org/licenses/LICENSE-2.0
// go test -run none -bench . -benchtime 3s -benchmem
// Tests to see how each algorithm compare.
package main
import (
"bytes"
"testing"
)
... | ef53a38ec05ec0d2c8400c0b4d7c81e3a18cf462 | [
"Go"
] | 1 | Go | etxpell/elvis | b6e5594652ac996e084899419ee594d8758a2371 | baa9e08805c34e3266317183e342056b4424ca0c |
refs/heads/master | <repo_name>Dee966/clothing<file_sep>/src/main/java/tech/yxing/clothing/pojo/vo/UserVo.java
package tech.yxing.clothing.pojo.vo;
import java.util.Date;
public class UserVo {
private String name;
private String telephone;
private String sex;
private Date birthday;
private String area;
private St... | 9209d7693c60e840cf8cbb4b9667fa99e5595de2 | [
"Java",
"Maven POM"
] | 19 | Java | Dee966/clothing | b65d2f91c85d2ca6dffc5e7fed82f7e961f41a7f | a16d3f62e9a9814a8874afdc75d6e52eb5143f39 |
refs/heads/master | <file_sep># Práctica 5 de Programación 1
## Escuela de Ingeniería y Arquitectura. Universidad de Zaragoza
Datos y código fuente de partida para la 5ª práctica de Programación 1.
Puede clonarse o descargarse en formato ZIP y abrirse en CodeLite, seleccionando el fichero ``practica5.workspace``.
Los ficheros de la ca... | fc56970a9462385096c8c1e0f76075a2b4c789dd | [
"Markdown",
"C",
"C++"
] | 4 | Markdown | prog1-eina-2019-20/practica5 | 9ca8492b043c3494906f0de184237b51905e4728 | 35e33d442631eeb22217521ed80e082f5ffa0fae |
refs/heads/master | <repo_name>pathrl/Worms<file_sep>/src/controllers/wormUpdate.js
let wormObject;
self.onmessage = function(msg) {
wormObject = msg.data;
// temp
temporizador = setTimeout('update()',30);
}
function update() {
// move worm
wormObject.rotZ += (Math.random() - 0.5) * 0.7;
// wormObject.velocity += Math.round(... | c821e86cd8f285d231e59b9a8cc95d67ef2f0132 | [
"JavaScript"
] | 2 | JavaScript | pathrl/Worms | f7cf246435aedd1358e1acbb37940d81dcdc1421 | b28149797964c170285628604d78773320698215 |
refs/heads/master | <file_sep>//
// ViewController.swift
// Spring Animation App
//
// Created by Igor on 21.09.2021.
//
import Spring
class ViewController: UIViewController {
// MARK: - IBOutlets
@IBOutlet var animatedView: SpringView!
@IBOutlet var animationInfoLabel: UILabel! {
didSet {
animationIn... | 789e6f3aa48c4b8adcfc171fec1555ace7d0c17d | [
"Swift"
] | 2 | Swift | lexemz/Animation-App | 51ce74e73f2ade366a526d46fcee7b7e2e2cceec | e4a2c601a9a7c33b7463f7c1db756407fa5747f1 |
refs/heads/main | <repo_name>petrussola/test-auth0<file_sep>/src/App.js
import './App.css';
import { useAuth0 } from '@auth0/auth0-react';
function App() {
return (
<div className='App'>
<Login />
<Logout />
<Profile />
</div>
);
}
function Login() {
const { loginWithRedirect } = useAuth0();
return <button onClick={(... | 835558f287dd6a169328aec9ad2e76bdd23022a3 | [
"JavaScript"
] | 1 | JavaScript | petrussola/test-auth0 | 143100ed480a5bf42786ce22a9dfedce33c0489d | 72ec4688e7f31de396b6132faf21e7ba466fd4c2 |
refs/heads/main | <file_sep>import kong from "../Assets/Images/kong.jpg";
import oblivion from "../Assets/Images/oblivion.jpg";
import blodshot from "../Assets/Images/blodshot.jpg";
import { Carousel } from "react-bootstrap";
import React, { useState } from "react";
import { searchMovie } from "../Store/Action/Movies";
import { Link } f... | eecb7ab27a117bbfefcadb5e7c27243dfae65ff6 | [
"JavaScript"
] | 4 | JavaScript | naharnafi/movie-nahar | 9032612eb2e7e41ed702ef450cbe5d1a3b0c7375 | 41d6d6bc963a7129e3a7fa5d7232934116b3d1b8 |
refs/heads/master | <file_sep>#!/bin/python3
import os
from sys import exit
result = os.popen('docker build .').readlines()
result = [s.strip() for s in result]
if "Successfully" in result[-1]:
os.popen("docker tag {} 192.168.88.34:5000/gvm11".format(result[-1].split(" ")[-1])).read()
else:
print("error at build")
[print(l) f... | 62c69b978149f93dbc762bd404f2a49e3091841c | [
"Python",
"Dockerfile",
"Shell"
] | 5 | Python | physicalit/gwm11-docker | af0475c46ab54fa5ac81fd6b581e6fe33147075e | d30bd9cf861f881fbc3ccd4134753388e570b6a1 |
refs/heads/master | <file_sep>- https://cran.r-project.org/web/views/Optimization.html#general-purpose-continuous-solvers
- https://cran.r-project.org/web/views/Optimization.html#least-squares-problems
- nimble, Stan (as optimizer), brms (for nonlin problems)
- sparsity
- parameterization (logistic etc.)
- reasons for nonlinear models
... | 7a416e31705b8f1ae6ec940a3cf61973d3d0b066 | [
"Markdown",
"R",
"RMarkdown"
] | 22 | Markdown | bbolker/quebec_2019 | 080d12d54dc33e97e5721d7990ec7ca377e4d0fe | d5c5e2c81618ebf8e2b27fe9304781509a4bceda |
refs/heads/master | <repo_name>TheGreatRambler/Some_Mods<file_sep>/README.md
# Some_Mods
Some Minecraft mods, may eventually make some
TODO use this https://www.spigotmc.org/wiki/creating-a-blank-spigot-plugin-in-vs-code/<file_sep>/Accelerate/AccelerateInfinitely/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.... | a5401e5fa9b9ae5b71c896f39fce1bc0c88d6448 | [
"Markdown",
"Java",
"Maven POM"
] | 3 | Markdown | TheGreatRambler/Some_Mods | a2119082a01543a707f4ced4403c4553aaac1eab | 56f3a90e605bedafbfe48b40c9d59f9bb2dcbd18 |
refs/heads/master | <repo_name>subo23/SampleJobAppForm<file_sep>/send.php
<?php
$firstname = $_POST["firstname"];
$lastname = $_POST["lastname"];
$email = $_POST["email"];
$gender = $_POST["optGender"];
$country = $_POST["selCountry"];
echo $firstName;
echo $lastname;
echo $email;
echo $gende... | b5dbb853337a342e0e9be4360e486a63e8ec2d84 | [
"PHP"
] | 2 | PHP | subo23/SampleJobAppForm | 2f8c6999fba0ff00cbca334c5c97141300ec2b0e | 2eaa67253cfa780f64ea1acc360173bcc6fc1926 |
refs/heads/master | <repo_name>wangdong8500/BinomialTree<file_sep>/main.cpp
#include <iostream>
#include <cmath>
#include "Tree.h"
#include <unordered_map>
#include "Date.h"
#include <chrono> //for accurate multithreading time using std::chrono
/*Black Scholes drift and Put payoffs */
double alpha(double t, double x, double sig, double a... | 6fdacb483d6819dda8c2a6846b9a8c8ae8eed7d0 | [
"Markdown",
"C++"
] | 8 | C++ | wangdong8500/BinomialTree | d40d2ebbc9de0e1b7d30c3ec82d55c6d4346ef9a | 424d2f6c5f74e6e867654eae9c0ee28d54ca332f |
refs/heads/master | <file_sep>package com.company;
public class Main {
static int indexOF(int h, int length) {
return h & (length -1);
}
public static void main(String[] args) {
}
}
| 6849aaf1231aec8b7f12216eedc1e0fe1ad29228 | [
"Java"
] | 1 | Java | AndreyRudenko/Lecture20 | a82e1f9b84b014b43a06c3a2a9c94715d7bee0ee | 9509ea013915f5ae8e03b89962521d2b4bbbaae8 |
refs/heads/master | <file_sep># SCons tools
A few helpers for different tasks which I do quite often when using SCons as
a build-system.
## Usage
Put the file containing the helpers you want to use somewhere in your path or
provide path as well as toolname.
env = Environment(
# Supply the names of the tools you want to use ( you mi... | 93c22fbd8cde0e9d59bd9a2c0cae7fda2f2a90b8 | [
"Markdown",
"Python"
] | 5 | Markdown | asheidan/SCons-tools | 308e085208e630d2d4d0cad5aa3e4f689f0e7714 | 350e79155337462bc64d3a78c54cd42b66887d73 |
refs/heads/master | <file_sep>def check_slovo(slovo):
checkk = True
i = 0
while i < len(slovo):
if (slovo[i]> 192 or (slovo[i]>65 and slovo[i]<90) or (slovo[i]>97 and slovo[i]<122) or slovo[i] ==32) != True:
checkk = False
i +=1
return checkk
def worlds127(name, fam):
name = list(name)
fam = list(fam)
name, fam ... | 686671befb817563f0707db836d99a83f4d8367a | [
"Python"
] | 1 | Python | UlianaTret/distributed_information_system | 8a10574309e299a4824b8ca557f0a50fee2a1944 | ce9d7a5bc8b5064601334086871494f3cf26a3b4 |
refs/heads/master | <repo_name>jeffreycorpuz/mlm<file_sep>/database/migrations/2020_07_14_094724_create_members_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMembersTable extends Migration
{
/**
* Run the migrations.
... | 88578062516a93c9ce1311966414fdcd0acfbcff | [
"PHP"
] | 1 | PHP | jeffreycorpuz/mlm | 37c6f75ed67db186aef70df77b33933429479cba | 9796c06d3acc4434db4090390b18fbfc1b6b772f |
refs/heads/master | <file_sep><?php /* calculate.php */
require('gump.class.php');
session_start();
class gumpVal extends GUMP {
/**
* Determine if the provided value is greater than value 1 and less than value 2
*
* Usage: '<index>' => 'val_between, n1 n2'
*
* @access... | 48d5fb64b2b570f65cd58583debbdd87afdd20c2 | [
"Markdown",
"SQL",
"PHP"
] | 5 | PHP | Pmac627/Best-Event-Singer-Quote-Tool | 881b916efb7ef6161868487b0da83b2e33444a1a | dbae0caae56bd20d59891dd0a1f4c2ef3943de1a |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers\Front;
use App\Models\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Storage;
class HeadportController extends Controller
{
public function show(){
return view('front.headport');
}
//头像上传处理
... | 22c6cbec1e0c4453818a7b714a0c038436303766 | [
"PHP"
] | 19 | PHP | amdrose/lavbbs | 87b9db3f261a61d02d2e66a946b1f78228d3d78c | 6ef4472578fbb587ee12714417e0d88ef1effe74 |
refs/heads/master | <repo_name>Cornett-Harmony-WPF/first_git_project<file_sep>/README.md
first_git_project
=================
first project: flow chart
<file_sep>/Ternaries/script.js
//Conditional Logic - Ternary Operators
var gpa = 48;
//if the gpa is over the min 2.0 score, the student can graduate
if( gpa > 2.0){
console.log("You ca... | 77eb8919347f4b26d0cc44eafbd77d389de79b07 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Cornett-Harmony-WPF/first_git_project | 2be6e5d3e4c39fc929e54fde6a89fec1be584b51 | c88c5ed4819595bae8856ac89bf30ec00880839a |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
#code by xi4okv QQ:48011203 site:xiaokui.cc
import urllib2 as url
import urllib2
import string
import urllib
import re
import sys
import threading
import time
def help(): #帮助
print "python google.py keyword page"
return
def google_search(keyword,pn): #google搜索关键词,返回... | 01a582b08d82fed1d4ca4add0ce693644493c634 | [
"Markdown",
"Python"
] | 3 | Python | yuxiaokui/google_search_py | 54417bf24fe562a1773a74509a88892426458b14 | 411ba7c75177fdc3812caa2f22f87e44410e8bc9 |
refs/heads/master | <file_sep>package com.seckill.dao;
import com.seckill.entity.SuccessKilled;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/... | 044d2f3ab85a4ad7421589d8dad3942a43e5823a | [
"Markdown",
"Java",
"SQL",
"INI"
] | 4 | Java | afashi/deckilldemo | 1fb6df09eaf4724ee4587fe7217005bd3fd9a1c7 | 02f84f821c3c5a54e131015dfb24974412cdb93e |
refs/heads/master | <file_sep>#Importamos tablas, zona horaria y panel user
from django.db import models
from django.utils import timezone
from django.contrib.auth.models import User
from django.utils.html import format_html # para mostrar miniatura
class Profesor(models.Model):
ESTADOS_PROFESOR = ( #definimos los estados
... | 057eaeeaa5d315e40912b5d8f68b031a4297db77 | [
"Markdown",
"Python",
"Text"
] | 10 | Python | loopsw/orla_virtual | a17bffffe1f344542c3ef7422361c583061d1791 | 4c2b6e3f26d1d0153a29a98711e14c68f7984729 |
refs/heads/master | <repo_name>otokunaga2/spring-boot-relationship-manytomany-thymeleaf<file_sep>/src/main/java/com/dicka/examplerelationshiph2dbthymeleaf/repository/AddressRepository.java
package com.dicka.examplerelationshiph2dbthymeleaf.repository;
import com.dicka.examplerelationshiph2dbthymeleaf.entity.Address;
import org.springfram... | 95e81aa821ecc0e216efa5e23a89b97c7f080576 | [
"Java"
] | 3 | Java | otokunaga2/spring-boot-relationship-manytomany-thymeleaf | 0c4fe2f0d51c1c9fe2798b9cebc9433859409b96 | d250d881904478287e353fef6e1759ee901fbd4c |
refs/heads/master | <repo_name>SAURABH-UPRETI/React-Js-DarkMode<file_sep>/src/App.js
import "./App.css";
import Navbar from "./Components/Navbar";
import React, { useState } from 'react';
function App() {
const [mode, setMode] = useState('light')// Whether dark mod is enable or not
const toggleMod = () =>{
if(mode==='light'){
... | 16fd12339c7df6096362e6497d76e30a9198db16 | [
"JavaScript"
] | 1 | JavaScript | SAURABH-UPRETI/React-Js-DarkMode | 2ca1db150cbcb5329aa00b22c7241ac2db7729a1 | 9453d461a70776c0835f550a1d2374c81f35466f |
refs/heads/master | <file_sep>package com.jpl.iotchallenge.device;
import com.jpl.iotchallenge.services.APIServices;
import com.jpl.iotchallenge.user.LhingsUser;
import com.lhings.library.Action;
import com.lhings.library.LhingsDevice;
import javafx.application.Platform;
import javafx.beans.property.BooleanProperty;
import javafx.beans.p... | efc38064086ace7403ad8fbfb9ce0f5641575da5 | [
"Markdown",
"Java",
"Shell"
] | 4 | Java | lhings/iotchallengejavaone | dad3e39a882e81606eb32308ef6fad3de059aad0 | c2bae9c0139e2a97622f2c37b1785e6a0afb683c |
refs/heads/master | <file_sep>package com.padc.mahawthadar.adapters;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import com.padc.mahawthadar.R;
import com.padc.mahawthadar.views.holders.FamousBookViewHolder;
public class Fam... | ee56e7e48baf637b6440352cd24a7462cbaa1f22 | [
"Java"
] | 2 | Java | thihaphyo/MaHawThaHtar | 420234e90fa5385e68582f856dad7ed9fd3deed5 | 9347126dd25b5827a77ff4371aad37b156b87f60 |
refs/heads/master | <repo_name>trtd56/MuscleQA<file_sep>/src/muscle_qa.py
import six
import pandas as pd
import numpy as np
from functions import get_logger, to_sep_space, get_sim_index, show_sim_faq
from config import LOGDIR, MUSCLE_QA, MUSCLE_CORPUS, MUSCLE_MODEL
from net import AutoEncoder
from return_corpus import ReutersMuscleCorpus... | 94b9a1fccb5dc82a38beb2e537f3d53d80dcacb5 | [
"Python"
] | 10 | Python | trtd56/MuscleQA | 46aa64b944b0d26282028a01e63b88d13e94db9d | 307f22a44df79d8ad44cc62cdfcf87596abf2c73 |
refs/heads/master | <repo_name>arvsander8/reactjsConsumeREST<file_sep>/README.md
# reactjsConsumeREST
## API GETWAY Configuration
### API Methods configuration to enabled CORS Headers
1. Go to console menu from AWS
2. Click on API GATEWAY Link
3. Select reourses tab in the left panel
1. Select a method to assigne the headers acces... | 4ffb8951328fd8556e0c27d6189f63a97180c077 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | arvsander8/reactjsConsumeREST | aba8842e06101f7a39ed139219e4958d3f4b7bd9 | 5136fe6e70c6aa412598805d4d617d245b93b1f6 |
refs/heads/master | <repo_name>skylar04yue/gmsdev<file_sep>/index.php
<?php
include'mena.php';
$warn = null;
$validity = 2;
$status = null;
$loginstatus = null;
//Login
if(isset($_POST['g-recaptcha-response']) && $_POST['g-recaptcha-response']){
// var_dump($_POST);
$secret = "<KEY>";
$captcha = $_POST['g-recaptcha-respons... | ab07af7c7136cd38991e32b882107f7e81f304b8 | [
"JavaScript",
"SQL",
"PHP"
] | 40 | PHP | skylar04yue/gmsdev | 42f120d4071d405373eaacb976842073a438e41c | 8e4bf76f66f4d11de3bf86605f452f0483d175b0 |
refs/heads/master | <repo_name>basestart/drag<file_sep>/src/Drag.js
import React, { Component } from 'react';
import Draggable from 'react-draggable';
export default class Drag extends Component {
componentDidMount () {
this.flag = false; //是否按下鼠标的标记
this.cur = { //记录鼠标按下时的坐标
x:0,
... | 814cb922d98e5e6d214494ca118f6f0070e6088a | [
"JavaScript"
] | 2 | JavaScript | basestart/drag | 8060879c860128fa2ea82747f40457aa2e4cce50 | f82d0862211cb112fc524ec8f0305679db916a53 |
refs/heads/master | <repo_name>Masagis/learn-erd-restful-API<file_sep>/index.js
const express = require('express')
let pemilih = require('./db/pemilih.json')
let calon = require('./db/kandidat.json')
let hasil = require('./db/hasil.json')
const app = express()
app.use(express.json())
app.use(express.urlencoded({
extended: true
}))
a... | 686a9d6b265818a09939c665e77786c7b4b1f74e | [
"JavaScript"
] | 1 | JavaScript | Masagis/learn-erd-restful-API | 7b591c4686dd1295b47d8bd838b2476493fd75ff | 91d7312b08c0d62dca2a0ce69511c1b1ce9cd948 |
refs/heads/master | <repo_name>YYChen01988/Hash_Map<file_sep>/settings.gradle
rootProject.name = 'Hash_Map_Demo'
<file_sep>/src/main/java/HashMapDemo.java
import java.util.HashMap;
public class HashMapDemo {
public static void main(String[] args) {
HashMap<String, String> favouriteFruits = new HashMap();
favouriteFru... | 80e7be2b0de88efd538b1ebf33ba73ba0cf06482 | [
"Java",
"Gradle"
] | 2 | Gradle | YYChen01988/Hash_Map | 1cf78b01f9b8e735e8b7c835f99a41d47259745b | 1f7b155286727e2089a3d89d40b8c8c7bfd3077f |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using ChartJS_SQL_Populated.Models;
using ChartJS_SQL_Populated.Repository;
namespace ChartJS_SQL_Populated.Controll... | 44d6f344ac28080f8867da03e07fd7843c3841de | [
"Markdown",
"C#"
] | 6 | C# | kieron-cairns/Bitcoin-Chart---ChartJS-SQL-Populated | 2b3a8e40a5073ed87ba3fc563ac597a99d390872 | fcb940dc2460a0c09597e29efad83a6fb9502334 |
refs/heads/master | <repo_name>Spacerat/sdk-codegen<file_sep>/packages/api-explorer/README.md
# OpenAPI Explorer
Use this **OpenAPI Explorer** to read any [OpenAPI](https://www.openapis.org/) specification and explore its **methods** and **types**.
Fast and powerful searching is also supported.
This is an Open Source project that build... | 50bac84684c93ea5e7182ac16efc9d39c01f1341 | [
"Markdown",
"Python",
"TypeScript"
] | 19 | Markdown | Spacerat/sdk-codegen | adc500b1e09d5b064016fe09dc49cf05a6cec97f | c36b95fa0d3c3ece6d6fbb6e09a9625f00adc9e5 |
refs/heads/master | <file_sep><?php
include('config.php');
$sel = $_POST['item_selected'];
$sql= "delete from product where item_id = '".$sel."'";
$conn->query($sql);
$conn->close();
header('Location:index.php');
?><file_sep>-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Gener... | d602341f5e1317e4ae7c6a3fe1d004d40e76d1e3 | [
"SQL",
"PHP"
] | 6 | PHP | akmore10/akmore10 | 9f0b35907e820016babcf23c684e712b6bafd176 | 2958e46e0c3e799f0d533a6b3218f80ccbddebd9 |
refs/heads/master | <file_sep>#ifndef __MAIN_HPP__
#define __MAIN_HPP__
#endif
<file_sep>#include <iostream>
#include <algorithm>
#include <limits>
#include <map>
#include <random>
#include <string>
#include <vector>
#include <pthread.h>
#include <time.h>
#include <chrono>
#include <random>
#include <iterator>
#include "mcts.hpp"
#inclu... | 21b0964c58a1a00a6dd1f7d78a366c132083656d | [
"Markdown",
"Makefile",
"C++"
] | 8 | C++ | epolovina/cmpt310project | 878bd73d6f1401fc345962147f0ef48accae35de | ea53740a4e9e25a4a6aee8764a19579360f175b7 |
refs/heads/master | <repo_name>mini/SOFTENG206_Assignment2<file_sep>/src/main/java/dpha900/se206/namesayer/NameSayerApp.java
package dpha900.se206.namesayer;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.aw... | b45e53d5749a02d3608b2176f1f7aa0b9ac93ef6 | [
"Markdown",
"Java"
] | 2 | Java | mini/SOFTENG206_Assignment2 | 619051984a33e289c19eb053ffd74592882cd7df | e0f9d8a6694ab88c40cdd610035fb15aca579fcd |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using DutchTreat.Library2.Models.Persistent;
using DutchTreat.MVC.ViewModels;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace DutchTre... | c9d81208ecd41b8101daf6066d418287690d9d7a | [
"Markdown",
"C#",
"TypeScript"
] | 25 | C# | Alanastop/MyDutchTreat | b31dc71b879ec65616618e91839d58717d137248 | eada3ca1ed64e891adabc0aca83cf112d4e5429e |
refs/heads/master | <file_sep>rootProject.name='Lab04part01'
include ':app'
<file_sep>package com.example.lab04part01;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.ImageView;
import android.widget.Progr... | 2d3f3d925f6c81de7bf027ebaf86ef184a1004e5 | [
"Java",
"Gradle"
] | 2 | Gradle | breakfastset/aad_Lab04part01 | dedd777c27b106e793845087c4e2f7b183e4c882 | 264d738843f54d0add16d3e17a8e57fbb345b540 |
refs/heads/master | <file_sep>import React from 'react';
import {fetchCurrentBusinessInfo} from '../../actions/businesses_actions';
import {createNewTicket} from '../../actions/tickets_actions';
import {connect} from 'react-redux';
import {withRouter} from 'react-router-dom';
const mapDispatchToProps = (dispatch) => ({
fetchCurrentBu... | 165a6ac0c18a3f89ca76f16261a54057bbffb3cf | [
"JavaScript",
"Ruby"
] | 65 | JavaScript | torres-omar/hamper | 03b76b7a464b3d88affb09e97e51888c78bf7456 | 85e21326988f5d1264f98a2f4841627449b885c6 |
refs/heads/master | <file_sep># Example of low-level Python wrapper for rpi_ws281x library.
# Author: <NAME> (<EMAIL>), <NAME> (<EMAIL>)
#
# This is an example of how to use the SWIG-generated _rpi_ws281x module.
# You probably don't want to use this unless you are building your own library,
# because the SWIG generated module is clunky a... | f472a7635552ecc89185fccb4f095704e039462c | [
"Markdown",
"Python"
] | 2 | Python | MartinRandall/halloween-lights | 28e227d451e0b705ec7348b3cc02a911e8e7bed4 | 1cbb4fbec1290b135c2124b962012643e187eed8 |
refs/heads/master | <repo_name>EinsteinSu/PrincessVsMonsterNew<file_sep>/settings.py
class Settings():
def __init__(self):
self.screen_width = 1200
self.screen_height = 800
self.bg_color = (0, 102, 204)
self.princess_speed_factor = 0.5
self.princess_image_path = 'images\elsa.png'
self.p... | 92026cb0a63683627e6c3b8f3ae23f518a17beac | [
"Python"
] | 6 | Python | EinsteinSu/PrincessVsMonsterNew | bc705a03ad63eea1ad06e3f12a042267cf5e1bd2 | f8402a8edc24573ad063adf660d63d7eb50b5d80 |
refs/heads/master | <repo_name>emptyland/arduino<file_sep>/HumenSenor/HumenSenor.ino
#include <Wire.h>
void setup() {
Serial.begin(9600);
pinMode(3, INPUT);
}
void loop() {
int val = digitalRead(3);
Serial.print("val=");
Serial.print(val);
Serial.print("\n");
delay(100);
}
<file_sep>/DoubleWheel/DoubleWheel.ino
#include <P... | 6f9d8ed9e3b04c5c22a4c91800af1184a83975f6 | [
"C",
"C++"
] | 26 | C++ | emptyland/arduino | 278cf1189401ba2bcb2d4125e42ac338c20ee4c8 | 4af3e48c659e4dac89d16cfb466bdd360d11f123 |
refs/heads/master | <file_sep><?php
$lang = array (
// views/main
'main_new_password' => '<PASSWORD>',
'main_new_project' => 'new [PRJ]',
'main_search_results' => 'Search Results',
'main_search_projects' => 'search [PRJS]',
'main_search_passwords' => '<PASSWORD>',
'main_adv_search_title' => 'Advanced search',
'main_searc... | 50184d319e12c65fb3fac48f1f0e6ae98c999ba7 | [
"Markdown",
"PHP"
] | 17 | PHP | CRMified/teampasswordmgr-heroku | 82d8a3aae2133c457e0eec7fb57808a5afe08024 | c42efbe9af32acaa63a81d47b3a7c1e0c7bfd123 |
refs/heads/master | <file_sep># #WEBSITE MONITORING TOOL#
# DESCRIPTION
This script will monitor Service Level Indicators (SLI) of a list of websites. Two SLIs will be monitored:
SUCCESSFUL RESPONSE and FAST RESPONSE.
- SUCCESSFUL RESPONSE - Responses with HTTP status code >= 200 and <= 499;
- FAST RESPONSE - HTTP requests that... | b1f07314051ee5ce2c5331aefb2ad7e63e0b2214 | [
"Markdown",
"Python"
] | 3 | Markdown | jardel-lima/WebSiteMonitoringTool | c04bc4a95542bc5f65f7ec1510e1c7e5549289d9 | dbf6dc7d6e6b34d98ebd3c66231ea2e89c5b8f2b |
refs/heads/master | <file_sep>// The purpose of this application is to create a shuffled deck of cards
// The shuffle function was already provided by the tutor
function shuffle(arr) {
var j, x, i;
for (i = arr.length - 1; i > 0; i--) {
j = Math.floor(Math.random() * (i + 1));
x = arr[i];
arr[i] = arr[j];
arr[... | 8d6bb7feefb1db52a283c28d4dd4d36a55d82f1a | [
"JavaScript"
] | 1 | JavaScript | Sliminconcoova/deckOfCards | cf740b3da445e8bb78dd3569a9e894b5e347224e | 91c6770d662273bcb44a778be91665f7e642a9da |
refs/heads/main | <file_sep># Python
Repositório de estudos Python
| 9d47e04cbdff80c6c995d538fae2b5559359c31a | [
"Markdown"
] | 1 | Markdown | Matheus-HX-Alves/Python | c96f71bdcc92d8704f701d7cdd0da4aa1a781a03 | cbf1d890e749db2b370c78283b1c4a3778c9cb43 |
refs/heads/master | <file_sep>#include<iostream>
#include "LinkList.h"
#include <cmath>
using namespace std;
/*===========================================================
//===================== Notes =============================//
- Create a Template LinkList Class!
===========================================================*/
//==... | 25a12f2965db37724486f56bf6482b0c0f47cf72 | [
"Markdown",
"C++"
] | 4 | C++ | EstebanMontelongo/LinkListProject | a86d45292d17386522e06a0a2ca8b9bc71befc15 | e712dd61ede448563a391d981ad3926eecfb36d9 |
refs/heads/master | <file_sep>import yargs from "yargs";
import {connectEBB, startServer} from "./server";
export function cli(argv: string[]): void {
const args = yargs.strict()
.option("port", {
alias: "p",
default: Number(process.env.PORT || 9080),
describe: "TCP port on which to listen",
type: "number"
... | d808f9c47ad02dd0628c348e64717d55464d4474 | [
"TypeScript"
] | 3 | TypeScript | Deimos1966/saxi | b6cc3ff2e18ae4581ad6f8402f26384302e8a666 | 8047c714d631d93e4e7828ed65de3cfde0068240 |
refs/heads/master | <repo_name>prithviraju1369/logger<file_sep>/app.js
// app.js
var express = require('express');
var app = express();
var server = require('http').createServer(app);
var io = require('socket.io')(server);
app.use(express.json());
app.use(express.static(__dirname + '/node_modules'));
app.get('/', function(req, res,next... | b9626e1537021e8aa82161835847c7cc23aad236 | [
"JavaScript"
] | 1 | JavaScript | prithviraju1369/logger | 41cb9bef46c3afc8f269808c9c704658da61cf31 | f2eaa3d4aa5b83a911d5aba4cce093bc56de9e56 |
refs/heads/master | <file_sep>enyo.depends(
"HashView.js",
"HashPanels.js",
"Link.js",
"Link.css"
);
<file_sep>/**
Contains a polyfill for certain version of IE and WindowsPhone, which sets the value of window.devicePixelRatio.
Due to the nature of changing zoom level and screen orientation, so long as the viewport is set to
devic... | 8bd3ca8a9f2f481a9515a5138e259084209a9df2 | [
"JavaScript"
] | 16 | JavaScript | kshraddha1290/enyo-2-components | 25a249b54e3d391e42941878e2f1ad53cd62d474 | 117281b6963121ec2b54b5711c355173e30fed39 |
refs/heads/main | <file_sep>var money=0
var income=1
function startmining() {
money=money+income
document.getElementById("moneyequal").innerHTML = "Money You Have "+money
}
| e928bf99a88b6dc54d5489166c29c281cfd6eba4 | [
"JavaScript"
] | 1 | JavaScript | TemiCodes/OreToMoney | 90db666bbf0ccb8cbb4b5d9da9e54608cfe70fc3 | 94163bd4b3e75af9526e2bd6c920853e6725349f |
refs/heads/master | <file_sep>Mobile app made with Ionic2.
Like Airbnb but for food...
1. Install the the latest beta version of the Ionic CLI:
```
npm install -g ionic@beta
```
2. Install the dependencies
```
npm install
```
3. Start the server
```
node server
```
4. Open another command promp... | e577f42df9aaf3ee9cc9be7b44713b9aceb22aeb | [
"Markdown",
"JavaScript"
] | 12 | Markdown | NazoSnare/Feedme | 650a62ceae4afa5b7c054c87d9f9440023a7120e | dbf05d4ce5fe5c9202d04f8b6b52cabf2fcf18e6 |
refs/heads/master | <file_sep>from pyrtcdcpp import RTCConf, PeerConnection, \
processWait, init_cb_event_loop, DataChannel
from pprint import pprint
from threading import Thread
from time import sleep, time
import json
import sys
import argparse
import numpy as np
import matplotlib.pyplot as plt
dc_stress_flag = False
parser = argpa... | 2280902d4dcddf1b15f358f61443d340b7a49508 | [
"CMake",
"Markdown",
"Python",
"C",
"C++",
"Shell"
] | 18 | Python | zsmweb/librtcdcpp | 79934214aba4d163cfe09dd5842409a68b356234 | 0aac382ff29519e3a69b91d6f6c92c6b4ece0342 |
refs/heads/master | <file_sep>echo "Enter the number"
read n
s=0
r=0
while [ $n -ne 0 ]
do
r=$(($n % 10))
n=$(($n / 10))
s=$(($s + $r))
done
echo "The sum of digit of a number is" $s
| ba939ef680575cf3a64cfcd3f7b8765aa0aeb624 | [
"Shell"
] | 1 | Shell | athirarejimca/Exam | e6629c4bfad3803a73f8fa948a356cffe1ab5512 | ddd3b27f81da7d3979ae871e305529af15f809bb |
refs/heads/master | <repo_name>Cethy/gatsby-starter-portfolio-emilia<file_sep>/src/components/ProjectPagination.js
import React from 'react';
import styled from 'styled-components';
import Link from 'gatsby-link';
import * as palette from '../../config/Style';
import arrowLeft from './left-chevron.svg';
import arrowRight from './right-ch... | 3b751dabe68573c1e9aa2ce6889e2897273681da | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | Cethy/gatsby-starter-portfolio-emilia | 23632276fd9fc18d83c591ad4c33c9aa53f749fc | c7f76ee6ff57e25ec0fe33dac985d4eb6e48a405 |
refs/heads/master | <repo_name>fycisc/teach<file_sep>/variables.py
# -*- coding: utf-8 -*-
__author__ = 'feiyicheng'
import urllib2
import string
deltatime = 5
classes = [
('http://mis.teach.ustc.edu.cn/querystubykcbjh.do?tag=jg&kcbjh=011X1902&xnxq=20142&kczw=Java%C8%ED%BC%FE%BF%AA%B7%A2%BB%F9%B4%A1',100,'java'
, 'http://mis.teach.us... | bc0de97a6b46b200b2afa6dfd37bba6ec7ef536d | [
"Python"
] | 2 | Python | fycisc/teach | b0f669f3d3130a7bacbe5fa75f98ae0e4951303c | e43ae2eda33ece4f43db8dca5b9709423883b790 |
refs/heads/master | <repo_name>topherb99/note_JS<file_sep>/src/note-list-controller.js
(function(exports) {
function NoteListController(notelist) {
noteListView = new NoteListView(notelist)
};
NoteListController.prototype.addHTML = function () {
element = document.getElementById("app")
element.innerHTML = noteListView.r... | 8bd2e76d2e95545c62e88381e56c0428f1477565 | [
"JavaScript"
] | 6 | JavaScript | topherb99/note_JS | b00916d5f78a3f3638d56ce029d3300ae04e3620 | c4120462c527a51e19c186e5493a22308bf83250 |
refs/heads/master | <repo_name>touv/node-xml-distiller<file_sep>/lib/xml.js
'use strict';
var Streamer = require('./streamer.js');
exports.stringify = function (input, sep) {
}
exports.parse = function (input, sep) {
}
exports.createStream = function (options) {
return new Streamer(options);
}
<file_sep>/bin/xmldistiller
#!/usr/bin/... | e7b201edf247f07dc8b5aadb97097f5b3a149b6e | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | touv/node-xml-distiller | 3e1e8488dadf6750c249ea38698adaf12712d8a7 | 40422d630f4a49f266729111dd6857e1f3ad24f7 |
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.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml.Linq;
namespace AdminPanel
{
public pa... | 96219e72b94e5edbe990155182e631636b3f4d5b | [
"C#",
"PHP"
] | 15 | C# | BahNahNah/DroidUpdater | 2b74c77fa52aec23b65d1bde12599e854a89130b | 99a416c953dea3d73ffec9e3cf98a1cbe7014e76 |
refs/heads/master | <repo_name>Casidi/Win32AE<file_sep>/ArchiveToolWindow.h
#pragma once
#include "stdafx.h"
extern HINSTANCE hInst;
LRESULT CALLBACK WndProcArchiveTool(HWND, UINT, WPARAM, LPARAM);<file_sep>/ExtroPAK.h
//the implementation of extractor and packager
//for .pak file
//TODO: split to .cpp
//TODO: rename symbols
//TODO... | 72a19cb714fc849420d3e7fd4573cbe5e91bb1d7 | [
"Markdown",
"C",
"C++"
] | 9 | C | Casidi/Win32AE | 1f5d21d8b0fd1525425c627f2e908bfe99b491a3 | c93dce5254b99e67fac55d7721a4763c1eabde84 |
refs/heads/master | <file_sep>require("util").inspect.defaultOptions.depth = 5; // Increase AVA's printing depth
module.exports = {
timeout: "300000",
files: ["**/*.ava.ts"],
failWithoutAssertions: false,
extensions: ["ts"],
require: ["ts-node/register"],
};
<file_sep>use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize... | 453cfee62eacd77d49cb2e86c84fba690b73d9f1 | [
"JavaScript",
"Markdown",
"TOML",
"Rust",
"TypeScript",
"Dockerfile",
"Shell"
] | 12 | JavaScript | near-examples/rust-status-message | dca9bf2c080345c7efe8dc2ff13f9b4efd45065e | c28f511caf239eb0b5e72e351f46fc323451de46 |
refs/heads/master | <file_sep>all: pyramid
pyramid: main.o imageloader.o
g++ main.o imageloader.o -w -lGL -lGLU -lglut -o pyramid
main.o: main.cpp
g++ -c main.cpp -w -lGL -lGLU -lglut
imageloader.o: imageloader.cpp
g++ -c imageloader.cpp -w -lGL -lGLU -lglut
clean:
rm -rf *o pyramid<file_sep>#include <iostream>
#include <stdlib.h... | e39e3f9037877b556e68f8fccefdfb57f9583e09 | [
"Markdown",
"C",
"Makefile",
"C++"
] | 6 | Makefile | codepik/Procesory-Graf | 6ab451b9e3e19e5707d024d8f35bf069c4f80bb0 | 78b1c6c31ae054c1926a794c140987fee12bb6ac |
refs/heads/main | <file_sep>---
title: "datacleaning_5"
output: html_document
---
Making some changes to test pushes
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
crtl/alt/i is the keyboard shortcut for a new chunk
``` {r librarycalls, message = FALSE}
library(dplyr)
library(tidyr)
library(readr)
```
## Data S... | 88221bd46ddf6d4cff7768ef726ad968d66069f9 | [
"R",
"RMarkdown"
] | 3 | RMarkdown | dylanchapple1/training_dchapple | a7ade28fbfc858dcd936abc691272f0724ae0c00 | 9a6f9c263f4236dab94a4eca4c24d40e455c98d9 |
refs/heads/master | <repo_name>ofiriluz/clogger<file_sep>/src/CWriters/CSysLogWriter.cpp
/**
* @brief
*
* @file CSysLogWriter.cpp
* @author <NAME>
* @date 2018-07-10
*/
#include <CLogger/CWriters/CSysLogWriter.h>
namespace CLogger
{
CSysLogWriter::CSysLogWriter(const CWriterConfig & config)
:CWriter(config)
{
sys... | fc451cffd3198b5397f9bfabfc7448834613ee3c | [
"CMake",
"C++"
] | 23 | C++ | ofiriluz/clogger | 160b69995cebc361d1eb63b84ce3162af438111d | 78a048c03e6f32c9a97546f83e4076653ecdabdb |
refs/heads/master | <repo_name>ciborg003/BloggerApp<file_sep>/src/main/resources/application.properties
#spring.datasource.url = jdbc:mysql://localhost:3306/bloger?
#spring.datasource.username=root
#spring.datasource.password=<PASSWORD>
#spring.jpa.show-sql=true
#spring.jpa.hibernate.ddl-auto=update
<file_sep>/src/main/kotlin/com/baeldung... | 6776d57a2dbccf842e2e50bb270dd99606301b3f | [
"Kotlin",
"INI"
] | 14 | INI | ciborg003/BloggerApp | b64a2c15c18ff0e58265edf49c88932badb8ec8e | 1cadaf7c0ba70341a671d1c86bf0c281f9762995 |
refs/heads/master | <file_sep>#pragma once
#include "rasterization.h"
#define MAX(a, b) a > b ? a : b
class RendererController {
public:
RendererController(int width, int height, std::string path, TGAImage& _outFrame);
~RendererController();
void run();
private:
Model *_model = NULL;
Rasterization *_rasterize;
IShader ... | ad43ac729cbc5c0623af2c34d8b7013f4777d93e | [
"C++"
] | 9 | C++ | beholdShadow/SoftRenderer | f118b4f9e2dc6e8a97db0c96fd1e6556f329ac6e | 00bcfa96053f9228b33fcc39ac4ae50f63920db1 |
refs/heads/master | <repo_name>kawaken/http2test<file_sep>/main.go
package main
import (
"crypto/tls"
"fmt"
"io/ioutil"
"log"
"net/http"
"os"
"path/filepath"
"golang.org/x/net/http2"
)
func server() {
certFile, _ := filepath.Abs("cert/server.crt")
keyFile, _ := filepath.Abs("cert/server.key")
http.HandleFunc("/", func(w ht... | 1887676804f881f2d425c0343e1bef338298e022 | [
"Go"
] | 1 | Go | kawaken/http2test | 134938b92bf90d9d5b7362904dd18b9177240334 | b0664f168675702dd10eced5452cfb0300cecc34 |
refs/heads/master | <file_sep>//
// ViewController.swift
// Map Testing
//
// Created by <NAME> on 10/05/2017.
// Copyright © 2017 <NAME>. All rights reserved.
//
import UIKit
import GoogleMaps
class ViewController: UIViewController {
var mapView: GMSMapView!
override func viewDidLoad() {
super.viewDidLoad()
... | 29b73914febfee0c0b7c4d8b799142ed908ce71e | [
"Swift",
"Ruby"
] | 2 | Swift | martinjkelly/gmaps-ios-long-tap-sample | c2a86782bde34ee735b47ca27abbd291193a5186 | 4be740799aba2f0b25ebae99a182b2a2e8d6f401 |
refs/heads/master | <repo_name>whyman/v00d00.github.io-src<file_sep>/content/pulseaudio-and-kmix-4-4-in-sabayon-5.rst
Pulseaudio and Kmix 4.4 in Sabayon 5
####################################
:date: 2010-03-23 22:33
:author: v00d00
:category: Linux, News, Uncategorized
:tags: alsa, kde4, pulseaudio, sabayon, sound, upmixing
:slug: pulseau... | de1a75babb06a7694e254fa78b156977c01aaddc | [
"Markdown",
"Python",
"reStructuredText"
] | 37 | reStructuredText | whyman/v00d00.github.io-src | 52d988542becd3a4cd3112a9830e66dc301c0abe | 119478de04b544a77516a29de632e8351bd5cff3 |
refs/heads/master | <file_sep>from django.apps import AppConfig
class RegistCenterConfig(AppConfig):
name = 'regist_center'
<file_sep>from django.db import models
# Create your models here.
class Authentic(models.Model):
user_id = models.IntegerField(default=1)
user_fake_id = models.IntegerField(default=1)
pair_key = m... | a84ee547ad30c8ba9b8bb651eb98b332f71e58b7 | [
"Markdown",
"Python"
] | 11 | Python | Reagan1947/CryptoBaseWeb | fd070110eb682c98d76a2900e080bd9725075127 | e54756f666d4530d288ca2c389b0b1e410329292 |
refs/heads/master | <file_sep>def method_name(params1)
params1
end
puts method_name(1)
# NB : la factorielle de 8, notée 8 !, vaut
# 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8
# factorielle_number = 8
# i = 0
# array = []
# while i < factorielle_number
# i += 1
# array << i
# end
# p array[0]*array[1]*array[2]*array[3]*array[4]*array[5]*arr... | 096371f5b17dc2d9509047483fb4afda5b75e9c9 | [
"Ruby"
] | 48 | Ruby | Romai558/reboot | 806fba9f2c375046beb886ed385c7684d9b13cac | 175148bf1afb0ae7090ac5617a2057894b6979c8 |
refs/heads/master | <file_sep><?php
include '../view/header.php';
require __DIR__ . '/../users/users.php';
if (!isset($_GET['id'])) {
include "../view/not_found.php";
exit;
}
$userId = $_GET['id'];
$user = getUserById($userId);
if (!$user) {
include "../view/not_found.php";
exit;
}
?>
<div class="container">
<div c... | 9c8ee2b87c89fbb48cc72be8bc2b0c254743659c | [
"PHP"
] | 4 | PHP | Tamta99/Homework-5 | 36833b35641728a418aaab3675764872c26dde71 | cd274eafa0e806e1899b818e1d722e7bb2ce3f2e |
refs/heads/master | <file_sep># get-reddit-saveds
This is a very simple script type application that gets a user's latest saved
posts from Reddit. By default, it tries to save 1,000 posts to output.json in
the same directory as the executable.
This is an okay example of how to start messing around with the Reddit api
using Go!
## How ... | 13a05dc3496974f09562081dbda28fd09d962476 | [
"Markdown",
"Go"
] | 2 | Markdown | Anthony-Fiddes/get-reddit-saveds | ac07ec3c33d991bc75bc7ef13d14b1f37063a17c | 84b63314d794c4f4a89cf1c7fd66136bc2d145f3 |
refs/heads/master | <file_sep>package com.praddy;
import opennlp.tools.cmdline.postag.POSModelLoader;
import opennlp.tools.postag.POSModel;
import opennlp.tools.postag.POSSample;
import opennlp.tools.postag.POSTaggerME;
import opennlp.tools.tokenize.WhitespaceTokenizer;
import opennlp.tools.util.ObjectStream;
import opennlp.tools.util.P... | 00d1828f240a4d59ec419f0106347394111a65db | [
"Markdown",
"Java"
] | 2 | Java | pradeepgmishra/research | 1b1a9fb237f359246e68796e766ac789246d6c97 | 6264e93e7f9e5c69a227bf54080b4f82fca4e56f |
refs/heads/master | <repo_name>addictmud/utils<file_sep>/vnums_test.go
package utils_test
import (
"reflect"
"testing"
"github.com/addictmud/utils"
)
func TestVnumHash(t *testing.T) {
var expected_hash string = "29r0cvj793" // test if underlying hash methods are broken
hash, err := utils.VnumToHash(12, 1265)
expect(t, err, nil,... | 82d4d7465d19ce2147cf9fd84098151422af22a6 | [
"Go"
] | 2 | Go | addictmud/utils | f3f811409142874a50333b81704e46b5d586adee | 5626e27733f26d84fd9e8b6a7238e25772cbd74f |
refs/heads/master | <repo_name>Borsapv/ak8ppo<file_sep>/zamestnanecForm.py
from tkinter import *
import zamestanecFunctions
import sqlite3
#basic settings for form window
root = Tk()
root.title("Nový zaměstnanec")
# Show all employees (ID, first name, last name)
def show_employees():
# connection to database
conn = sqlite3.con... | 075ae7210d974e4b3d2059c7aacb73bc281a3210 | [
"Python"
] | 5 | Python | Borsapv/ak8ppo | ea2ec55feafbdcbcb8ed2b14d2c206645863b6e8 | 9ff35f2ae82bdbfd59cf474b1ecbed5aa97d7593 |
refs/heads/master | <repo_name>urbitassociates-archive/drone-kubernetes-helm<file_sep>/.env.example
KUBE_CONFIG=<KUBE_CONFIG_BASE64>
KUBE_CA=<KUBE_CA_BASE64>
KUBE_CLIENT_CERT=<KUBE_CLIENT_CERT_BASE64>
KUBE_CLIENT_KEY=<KUBE_CLIENT_KEY_BASE64><file_sep>/commands/fetch.go
package commands
import (
"os"
"os/exec"
)
func (c *Command) Fetch... | 6f5d03c7491018e4d4d6aed4c49937c27e88ab53 | [
"Markdown",
"Go",
"Dockerfile",
"Shell"
] | 17 | Shell | urbitassociates-archive/drone-kubernetes-helm | e97b4325b045dab1c7d080b3500324b8c934f5c3 | 66a0d920e47991f61b990f4c8b5ed29deda2fb8b |
refs/heads/master | <file_sep># Arduino YL-69_HL-69 Soil Moisture
Read YL-69_HL-69 Soil Moisture with Arduino
# Open file Schematics to build the project
<file_sep># Arduino
Arduino Sensor Modules
# Profil
* <NAME>
* IG : @muskarab
* Github : MustafaKamalRabbani
* email : <EMAIL>
<file_sep># Arduino DS-18B20 Temperature
Read DS-18B20... | 188309be68992b5a3d0eaa8a676c5b90d730d07e | [
"Markdown",
"C++"
] | 12 | Markdown | MustafaKamalRabbani/Arduino | 479dbe84e0f3742d131ac5b980d35e1838e6e38b | 89a8eb9f8ad473fddda927ce16f18c18602fa748 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import Header from './Components/Theme/Header';
import Menu from './Components/Theme/Menu';
import {Router, Route, Switch} from 'react-router';
import indexRoutes from './routes'
import {createBrowserHistory} from "history";
var hist = createBrowserHistory();
class A... | b5d4f33b72c592dd6534c18beb94cff51fbbe3c7 | [
"JavaScript"
] | 13 | JavaScript | TOURDD/tourdd.customer_service | 4bf7e78ff95e75854e9511eb175f09e1ba1137bf | f38b5865e0890e0346aefad2d2412207be9b0720 |
refs/heads/master | <repo_name>mksmpc/q-expert_IPR<file_sep>/features/support/utils/browser_utils.rb
def initialization_browser(scenario)
@caps = Selenium::WebDriver::Remote::Capabilities.chrome(Settings.caps)
@browser = Selenium::WebDriver.for(:chrome, desired_capabilities: @caps)
@browser.manage.window.maximize
end
def screenshot... | c99092c0b270925b80cdd4b513ec32bd7b463f2e | [
"Markdown",
"Ruby",
"INI"
] | 15 | Ruby | mksmpc/q-expert_IPR | 16ddfb87c6f25bc60a319d83d950f7c7f045156c | 8076ddf575279ea3223873daf7252069b0322c76 |
refs/heads/master | <repo_name>pvarsh/applied_data_science<file_sep>/lab-2/code/cleaner_animals.py
import os
import glob
from PIL import Image
import ExifTags
def changeType(img):
im = Image.open(img)
first = img.split(".")[0]
im.save(first+".png")
def resize(img, path_out = ""):
#print 'a'
im = Image.open(img).con... | 788b4d987b2fa95defe6b6775cdefc296ff3bd94 | [
"Markdown",
"Python",
"R",
"reStructuredText"
] | 35 | Python | pvarsh/applied_data_science | 6c3cc21e40ef992cdfaa302f0c6b7e1bdfff410e | c6f34f4547397c0be6802913e84362acd41b923b |
refs/heads/master | <file_sep>package com.rasmitap.tailwebs_assigment2.Map;
import android.os.AsyncTask;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.PolylineOptions;
import java.util.ArrayList;
import java.util.Iterator;
public class Routing extends AsyncTask<LatLng, Void, Route> {
pr... | 3f50f37aa0c0f6c49d4375718f9ac52e947b0687 | [
"Java",
"Gradle"
] | 12 | Java | Rasmita9428/TrackingAndChattingApplication | af91705941ea7b30340e45038f465c72d528f799 | 2e758033a133fa26fff50d653bf85501d809fd1f |
refs/heads/master | <repo_name>akshayaravindan/HelloWorld2019<file_sep>/backend/__tests__/integration/admin.test.ts
import 'jest';
import * as supertest from 'supertest';
import { generateUsers } from '../helper';
import Server from '../../server';
import { Role } from '../../../shared/user.enums';
import { IUserModel, User } from '../../... | dc942ed8fa26e747023a82b9e855f90cc6c85dcc | [
"JavaScript",
"TypeScript"
] | 10 | TypeScript | akshayaravindan/HelloWorld2019 | e35447944b651da2a1f05a5083b7ed3506905401 | e98bffa387a899111421797d2cd59ba7edd6c6c2 |
refs/heads/master | <repo_name>jaouadtelmoudy/cvtheque<file_sep>/src/main/java/com/org/entities/Pays.java
package com.org.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table... | 8932665e0ddc4601edea4e9a113bd7846191966d | [
"Java"
] | 13 | Java | jaouadtelmoudy/cvtheque | b20b1524d3395af5476db43f35c18c888fa75e41 | 1b7e90e2a575d34a7ed7a9d4881161a3076451d2 |
refs/heads/master | <file_sep>from copy import deepcopy
from Individual import Individual
import unittest
from numpy.random import random
from random import randint
import random
from random import sample
from Algorithm import Algorithm
from Population import population
import matplotlib.pyplot as plt
def main(size,popsize):
"""
... | d1b444f8474cb0819bf19f9070734e51dba4e245 | [
"Markdown",
"Python"
] | 5 | Python | Ducuvlad/Knight-s-tour | 11a3f35b77b73b746232f6f82390ffeb62baead4 | bcfa1aaae3e46ad30828af0a1f14792a8c3a3da4 |
refs/heads/master | <repo_name>murmusandeep/NewsDemo<file_sep>/app/src/main/java/com/example/newsdemo/MainActivity.java
package com.example.newsdemo;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.DividerItemDecoration;
import androidx.recyclerview.widget.LinearLay... | f7225ee8169a2490c53fb3ca37be93a19e06767a | [
"Java"
] | 2 | Java | murmusandeep/NewsDemo | 9280f6130f1d746246eb7d824daebf38c367cfbe | 4d2d642602e8d2cdef6d7f244774a9e70e4a143e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.