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>keent/ds-exdata-plotting1<file_sep>/plot2.R
# load the data
data <- read.csv("./hpc.txt", sep=";", header=TRUE)
# merge the two dates
day1 <- data[data$Date=="1/2/2007", ]
day2 <- data[data$Date=="2/2/2007", ]
ndata <- rbind(day1, day2)
# convert dates to R Type
dates <- ndata$Date
times <- ndata$Time
x <... | 9420a39ee8cad509ba26c6277addfdc1f3674d99 | [
"R"
] | 4 | R | keent/ds-exdata-plotting1 | e5d9a9b6919e1f71a1a42d6070607b4cd2f08701 | f4862f2a443592525d21034fc6c23db21eebbddb |
refs/heads/master | <file_sep>package com.lxinet.jeesns.model.member;
import java.io.Serializable;
import java.util.Date;
/**
* 会员私信
* Created by zchuanzhao on 17/3/9.
*/
public class Message implements Serializable {
private Integer id;
private Date createTime;
private Integer fromMemberId;
private Member fromMember;... | fc3cf88f6cd4f2a04d7c452bae8afe3e8eb01d4d | [
"SQL",
"HTML",
"JavaScript",
"Markdown",
"Maven POM",
"INI",
"Java",
"Text",
"TypeScript"
] | 316 | Java | cn-panda/JavaCodeAudit | 1bab3c47f3c624afe12f029fda73b27cc973ac74 | 6b659b95b8a0472790b7ebe38065391b68c43059 |
refs/heads/master | <file_sep>const assert = require('assert');
const crypto = require('crypto');
const zlib = require('zlib');
const request = require('request');
const fs = require('fs');
const http = require('http');
const net = require('net');
const nodeStatic = require('node-static');
const WebSocket = require('ws');
const Proxy = re... | 70b5955814e6419db6187570a26fc929725be141 | [
"JavaScript"
] | 1 | JavaScript | Alsan/node-http-mitm-proxy | 9e7ad0345b67177654033ca2b1f19f8ed4da24a6 | 27995b1dfb4f86e52a4fb5d96a64b8825e936063 |
refs/heads/master | <file_sep>var keyWords = ["boolean", "byte", "char", "double", "false", "float", "int", "long",
"new", "null", "short", "true", "void", "instanceof", "break",
"case", "catch", "continue", "default", "do", "else", "for", "if",
"return", "switch", "try", "while", "finall... | cf6f8e80e3bccd1021431016830594bf5471d4e4 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | hdddddd/Comping | 7176fd4dc4a714c22913003d9fca9c3e8f43f743 | 39f492a7bca0901fbcb117f0846df2cfeec73db4 |
refs/heads/main | <repo_name>AreenAhmed4/CharityBook<file_sep>/JS/Backend/model/donates.js
const { text } = require('body-parser');
const mongoose = require ('mongoose');
const objectId = mongoose.Schema.Types.ObjectID
let schema = mongoose.Schema;
let donates = new schema
({
donaterId: {type: objectId, ref: 'ToSendDonate'},
... | 705ca2f44a6d870e220edb18dfc185a52efd50da | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | AreenAhmed4/CharityBook | 2763c5f3f7224102ed6eaab3ddb36431b1726e5b | ce6e92faaafb0b5f4c4dc083091396aba18cc250 |
refs/heads/master | <repo_name>mikevanholst/myflix<file_sep>/app/services/user_signup.rb
class UserSignup
attr_reader :error_message
def initialize(user)
@user = user
@amount = 999
end
def sign_up(stripe_token, invitation_token=nil)
if @user.valid?
charge = StripeWrapper::Charge.create(
:card => st... | 0ef6c48c439535fde67416c5c99046210e77bac7 | [
"Ruby"
] | 55 | Ruby | mikevanholst/myflix | 2b8ca83a097954951724d3f55c74df559263cc6e | 20986f609db434b81a6d15f202a00f21f1bb23aa |
refs/heads/master | <repo_name>jstjohn/fonolo4android<file_sep>/src/com/android/fonolo4android/Node.java
package com.android.fonolo4android;
/**
*
* @author <NAME>, <NAME>
* Last updated February 2009
*
* This is an implementation of a binary search tree, except to avoid confusion
* in the application of this data structure to ou... | eb83858b06c41ad7229986ec0f37bceae95021f1 | [
"Java",
"Text"
] | 7 | Java | jstjohn/fonolo4android | 3b499ccb8e820dd1268d137635865de10b1ee4cc | 3e10a7b1219a25015f105d4bb4d5e6fa103814f3 |
refs/heads/master | <repo_name>drupalmk/Symfony-2-Jobeet<file_sep>/src/Acme/JobsBundle/Tests/Controller/JobsControllerTest.php
<?php
namespace Acme\JobsBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class JobsControllerTest extends WebTestCase
{
public function testJobsLimitByCategoryOnHomePage()... | 87b1838891c778a444137e0db482532afba8db0c | [
"PHP"
] | 11 | PHP | drupalmk/Symfony-2-Jobeet | 7393f123e055128bae1c6ee7d4d1d7b72d0bbcc4 | b469a51b8d62e022e61c735db7468853442649d9 |
refs/heads/master | <repo_name>michaela260/git-clone-practice<file_sep>/hello.rb
# Hello world
puts "Hello world"
# This is another change!
puts "Wahoo it's Wednesday!" | 3edb09e4cf218847b75d66aed19e81e570efc77d | [
"Ruby"
] | 1 | Ruby | michaela260/git-clone-practice | 14a101e6c64adad3f1b16a3af19a8510abf87737 | a47c0b1bd601ef324b373be16e3a0afeda289d4e |
refs/heads/master | <file_sep>namespace Krediti.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class kreditiModel : DbMigration
{
public override void Up()
{
AddColumn("dbo.Aktivnostis", "MBRID", c => c.Int());
}
public override void... | 3c2e0b02637c974632e3ae4968464978421585c1 | [
"C#"
] | 7 | C# | 1st-time-user/gradjevina | 8ead51b4f6c75e1313e5bd28c2c6ef55725e4265 | 340a9fc2993a36a94e213ab367e4b113450ed966 |
refs/heads/master | <file_sep>export class Error {
public code: number;
public message: string;
public constructor(err: any) {
this.message = err.message;
this.code = this.parseCodeToNum(err.code);
}
private parseCodeToNum(code: string): number {
switch (code) {
case 'ENOTFOUND':
... | ebaf2fb348425e28666a2a776df0897c616c9ef0 | [
"JavaScript",
"JSON",
"TypeScript"
] | 27 | TypeScript | diogoViana95/Projects | c422cdebfb908883e468e167e3588bc5623a7572 | 3c1bbbbcfe2622776a04457294d48b72933177bb |
refs/heads/master | <repo_name>pharika31/python_stack<file_sep>/flask_fundamentals/dojo_survey/server.py
from flask import Flask, render_template, request, flash, session, redirect
import re
app = Flask(__name__)
app.secret_key ='ThisisaSecret'
@app.route('/')
def root_route():
return render_template('index.html')
@app.route('/result',... | 49831acc22c5fea23a6296f74464ce86c1d37855 | [
"SQL",
"Python",
"HTML"
] | 29 | Python | pharika31/python_stack | 1f4c63cc96c4b0f0316267884d55d63d2cb18bfd | 026b9ddcc017ecd23d04d3dd46435e3cefe491ac |
refs/heads/main | <file_sep>TgCrypto
Pyrogram
beautifulsoup4
requests
<file_sep>import os
from pyrogram import Client, filters
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton, CallbackQuery
TOKEN = os.environ.get("TOKEN", "<KEY>")
API_ID = int(os.environ.get("API_ID", "6021226"))
API_HASH = os.environ.get("API_HA... | 22f6fc7e6e41a9715df1a876dee5d17687621a04 | [
"Python",
"Text"
] | 2 | Text | omindadelshan/helpr | 53161bc3cdf79b131365bd8b528fbb46d3d69794 | 6880ece6e17526877737550eab0556a5f4c017b1 |
refs/heads/master | <file_sep>const mongoose = require('mongoose')
const dbName = 'recipe-app'
// connect to the database
mongoose.connect(`mongodb://localhost/${dbName}`)
.then(console.log(`Connected to the ${dbName} database`))
.catch(console.error.bind(console, 'connection error:'))
<file_sep>import { Component, OnInit } from '@an... | ac92df41472cdd2ca86b70bb04603dcd09389d91 | [
"JavaScript",
"TypeScript"
] | 3 | JavaScript | ironhack-exercises/lab-angular-recipes | f882012cd07ffff1472815f5b247f4800f8ce64d | a1d1fb4b84734c9e357383f7fded824dd2fe9586 |
refs/heads/main | <repo_name>duncangw1/WorkoutTracker<file_sep>/README.md
# # 17 NoSQL: Workout Tracker
# [](https://opensource.org/licenses/MIT)
## Description
The purpose of the Workout Tracker application is to allow users to view, create, and track daily workouts... | 049fa593d5ebedde21f803ac95673e2071416d90 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | duncangw1/WorkoutTracker | fad0105119bf442d6a6479abecb3f55abb574d27 | d7d93eb7b46f97a67ac9719d3f784571c1d29b93 |
refs/heads/master | <repo_name>jonoco/S03_Escape<file_sep>/Source/S03_Escape/S03_Escape.cpp
// Fill out your copyright notice in the Description page of Project Settings.
#include "S03_Escape.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, S03_Escape, "S03_Escape" );
<file_sep>/Source/S... | 2e575fad9aa433d994f2a1a111f59852677cd5b5 | [
"C#",
"C++"
] | 3 | C++ | jonoco/S03_Escape | 8a35e88ff3baded40aed8536787a237bef631c12 | 7a2209333930580fbe9fab3f6c2a123ff76c474e |
refs/heads/master | <file_sep>package middleware
import "net/http"
func JWTAuthorization(w http.ResponseWriter, r *http.Request, next http.HandlerFunc) {
next(w, r)
}
<file_sep>package test
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"os"
"path"
"github.com/leeif/pluto/datatype/request"
)
func testGetPublic... | 4771042b8167532eef1574a20dc27e0f54e399cc | [
"YAML",
"Markdown",
"Makefile",
"Go",
"Go Module"
] | 37 | Go | forkkit/pluto | e10c4149199554f54f490a3e852de1f5a9a1d924 | ac827eb8113ae175c387b59add220f4b1cb9befd |
refs/heads/master | <file_sep>using System;
namespace Hw2
{
class Program
{
static void Main(string[] args)
{
{
try
{
double x, a, b;
Console.Write("Введите a:");
a = double.Parse(Console.ReadLine(... | e526a4e5dec3ff5ebf9fcac92f0b20eaca31287e | [
"C#"
] | 1 | C# | Paradoru/Homework | 6bee0a7e3fe13749ce1c079da1097da64129ff7a | 3f295f9b7fddc975eb26fd22b045a3878d3b3e53 |
refs/heads/master | <repo_name>sjogan/IELA<file_sep>/archive/New folder (2)/PartsOfSpeech.js
$(document).ready(function () {
var qa_array = [
{question:"I bought a <em>beautiful</em> dress at the mall.",radiobank:0,answer:1},
{question:"What did <em>she</em> ask you to do?",radiobank:1,answer:5},
{question:"I ... | e810fc5c9eebb37ffc4500f491e61f4a380bef30 | [
"JavaScript"
] | 1 | JavaScript | sjogan/IELA | 8f2f4dc641366a9347aa78166c767c3db7ea564a | 2d0bd632dd6d7d1a988dd81d41234bb1006974b6 |
refs/heads/main | <repo_name>Havystar/uczelnia<file_sep>/programowanie2/gameOverScreen.js
class GameOverScreen extends Screen {
constructor() {
super();
this.focused = true;
this.endText = "GAME OVER";
this.menuBtns = new Array();
this.menuBtns.push(
new Button(
500,
350,
300,
... | d2b217c9dc836acdd19e60732c5191bb61a48096 | [
"JavaScript",
"Markdown"
] | 13 | JavaScript | Havystar/uczelnia | 7f6ffd69755059132fc9d0776cdf38e30d62f5aa | c5a40fc9f009e7efc5cfcfb79ad47989b4229d5e |
refs/heads/master | <file_sep>The files provided on this project include only the files for the labs not the source files to talk to the Kinect.
If you would like to setup the lab yourself in a class room setting please contact <EMAIL> and <EMAIL>
for further information and the files to run OpenCV, Nite2, and the Kinect.
<file_sep>#in... | ffe0d6308138b60ed6d6d2b8f2acd457e145f407 | [
"Text",
"C++"
] | 5 | Text | NateFe/ComputerVision | c3417d1e4b5a44be4e2b8db732d0f07e40f5e642 | 9f09641b2b73cca3ca9f211c43887ef4e8d6755e |
refs/heads/master | <repo_name>tuzz/vim-experiments<file_sep>/13_background_server.rb
# Now that we know how to fork subprocesses, let's run a background server.
require "rack"
require "rack/source"
# Syntax highlight this file.
app = Rack::Source.new(__FILE__, lexer: :ruby)
child = fork do
Rack::Handler::WEBrick.run(
app,
Ac... | da238f50988e16cd97420ff460a6c85a43d4b8be | [
"Markdown",
"Ruby"
] | 21 | Ruby | tuzz/vim-experiments | e143c6bf74842c7522095541f535e7552efd8ffc | 0fa280f1cb3d1fb17b68acab5f0bdbc5015c12c6 |
refs/heads/master | <repo_name>HayrineQueirozdeLima/CAIFRO<file_sep>/js/menu.js
let counter = 0;
function show_menu(){
let nav = document.getElementById("nav");
counter++;
if (counter%2==0){
nav.style.display ="none";
}else{
nav.style.display="flex";
}
}
function open_dropdown(){
let dp_content ... | abecd4d3574889b63346083f3be4bd2c3e666588 | [
"JavaScript"
] | 1 | JavaScript | HayrineQueirozdeLima/CAIFRO | 2a59ec53cba765e239f6d931106e6f1981c6febf | 6efff5cab9335bb9ca06049ea04c279fdb121513 |
refs/heads/master | <repo_name>imml3457/RedditReplyBot<file_sep>/comment_reply.py
#!/usr/bin/python
import praw
import pdb
import re
import os
from datetime import date
today = str(date.today())
today2 = "The current date is: " + today
reddit = praw.Reddit('bot1')
if not os.path.isfile("comments_replied_to.txt"):
comme... | 32a49d3df0c07bb65ee52a69b2e4fd34843c5edf | [
"Markdown",
"Python"
] | 2 | Python | imml3457/RedditReplyBot | 4050ebef882d2dd85c8f1f3496cedfc56fe35331 | 8a7d2c0e77ff52003ece4807403d30d234596687 |
refs/heads/main | <file_sep>import cv2
import numpy as np
img = cv2.imread('bola de colores.jpg')
hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)
rojo_bajos = np.array([0,100,20])
rojo_altos = np.array([10,255,255])
rojo_bajos1 = np.array([171,100,20])
rojo_altos1 = np.array([183,255,255])
lila_bajos = np.array([130,100,20])
... | 4b68b2a675e8cd8dc93e0d0761e3d58856dda3bd | [
"Markdown",
"Python"
] | 13 | Python | Daniela1399/Programas-en-Python- | 146c31a31cbb68c1801817b35610abf645211f19 | 1a72a46c56c643d8ade0bde83225daf78f289032 |
refs/heads/master | <repo_name>CoreyDeJong/automation<file_sep>/auto.py
import shutil
import re
with open('potential-contacts.txt', 'r') as f:
contents = f.read()
# no (), with a hyphen
pattern1 = r"\d{3}-\d{3}-\d{4}"
#starting with a () and hyphens
pattern2 = r"\(\d{3}\)\d{3}-\d{4}"
#with a . in between
... | cf2d1d0cb58ed46f11aa5850fb3f1eeb3bbae70e | [
"Markdown",
"Python"
] | 2 | Python | CoreyDeJong/automation | ce7b6768526d9b026d46d291809ef16b5d49b9e9 | e15e42b8771a2f9d59944cf897da2b1ce07bf743 |
refs/heads/main | <file_sep>'use strict'
const crypto = require('crypto')
const HASH_ALGORITHM = 'sha256'
const SECRET_KEY = 'changeit'
const SESSION_ID_COOKIE = 'sid'
const SESSION_MARK_COOKIE = 'sid.mark'
// Maps sessions to users
const aliveSessions = new Map()
function generateSessionId() {
const hash = crypto.createHash(HA... | 4da3f227688ceb141c03ffdcd3c85f72ea60af88 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | i-on-project-codegarten-tests/GitHubApp-Test | 6cccc5ca51cca95c4d554fa0ad9f0aec791f69af | 8e2809fea63a5f8def106a6943a2a9d10c7838f6 |
refs/heads/master | <file_sep>package zy01;
public class ZyServiceImpl implements ZyService {
@Override
public void bofang() {
System.out.println("播放");
}
@Override
public void zanting() {
System.out.println("暂停");
}
@Override
public void transMoney() {
System.out.println("转账");
... | 96cc3aedd1e6f77d0cb8650d9d95163bd8cd1868 | [
"Java"
] | 2 | Java | LhhdeGit/ssm05 | 58430541cfc35a35efcc70a118a401721b47dc46 | 4191c07a70e94ff7e3f2027470eaf2f035d5a9aa |
refs/heads/master | <file_sep>#Library
install.packages("dashboardthemes")
BiocManager::install("Biobase")
library(DESeq2)
library(Biobase)
library(tidyverse)
library(ggrepel)
### import data ----
#Firstly we import the 3 data table which we will use during this analysis.
#The "counts_table" contains the counting of read mapped on each g... | cf0c91ae1fdd7e273110fd4fee86dbeec17583d9 | [
"Markdown",
"R"
] | 4 | R | Gabin-c/M1project | e1cb6c4274a51052bfc4d5f0ea0d5c03f73c0069 | 33ae9c8bd6e2c8dcfcff95ff680e209bbace9616 |
refs/heads/master | <file_sep>
#!/usr/bin/python
# -*- coding: utf-8 -*-
#<--Import lib
from ezprint import *
from math import *
from desc import *
import threading
import numpy as np
import matplotlib.pyplot as plt
x_list = x_points = np.arange(-5.0, 5.0, 0.1)
start_frame = None
thirdFrame = None
x_null_0 = 0
x_null_1 = 0
x_null_2 = 0... | 85de750380d0137dfb480ac0d0113ddf4b3f82da | [
"Python"
] | 2 | Python | midaef/quadratic_trinomial_function | 656160268293c52e2cebd74e1be93a72dd3dd1d2 | 2e84223e4e0b80c86a5f3135fe673e4377107677 |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
public class Cube : MonoBehaviour, ITouchPadObserver {
public TouchPad touchPad;
// Use this for initialization
void Start () {
touchPad.AddObserver(this);
}
// Update is called once per frame
void Update () {
}
public void TPTouchBegan(TouchPad to... | 3f458e025cddf0479adb2d550331000d3431afd5 | [
"Markdown",
"C#"
] | 8 | C# | aiden-deloryn/UnityTouchControls | c4ba0beefc99975933f8005bb9791563030bbec3 | 2cea877265422860e7044f9727cbe2e4b71530e3 |
refs/heads/master | <file_sep>//preprocessor directive
#include<iostream>
#include <ctime>
void PrintIntroduction(int Difficulty)
{
//ASCII art
std::cout << "\n";
std::cout << " __________ \n";
std::cout << " .'----------`. \n";
std::cout <... | 4e9e4a023455b44372391cd4ce47a4378c68edc0 | [
"C++"
] | 1 | C++ | negativelight/triple_x | 4ad63626f97eef1f9fbbc94bb31a8fc7b169c9fc | 7c4e1c5bbd7054d1618aeae6bc8551fb5f133297 |
refs/heads/master | <file_sep># Auomation-Playground5
challenge (5th repository):
Set up a new project that puts prints an array of 10 images (links to external jpgs) to your page in 3 bootstrap columns.
- Use bower to install your front end dependencies
- Lint your JS
- Push the project up to github
- Write down your project setup as ... | e8dcbcdaa76d670c743ca4e6e95e731b8cdc6ceb | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Sanyyouisf/Auomation-Playground5 | 1bc3954b5692b2c83310a68ea2f48efdfd964f1c | b4026327c75679f912a34be6e57bc6bf1445d3d8 |
refs/heads/master | <repo_name>drewpayment/covid-19<file_sep>/src/app/models/county-cases.model.ts
import { Moment } from 'moment';
export interface CountyCasesWithGeoData {
countyCasesList: CountyCases[];
geoData: CountyCenter[];
}
export interface CountyCases {
date: Moment | Date | string;
county: string;
state: s... | b9284481c77b482ab9ca820c8b7d74277c394d3c | [
"Markdown",
"TypeScript"
] | 26 | TypeScript | drewpayment/covid-19 | 7e6e7f14d63693738b6306e21091e0ff7b63faa2 | 435ec222e8a842c8a0a55154fe8f04a6f78b0c8b |
refs/heads/master | <file_sep>##creates a matrix and a place to store the inverse of that matrix. Call normal matrix via x$get() and inverse (after running cache solve) as x$getinverse()
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) { ##sets new table y as the normal table and turns the global invers... | fe039666a06672cbe1cac079b02d01b43239d645 | [
"R"
] | 1 | R | wpage73/ProgrammingAssignment2 | 203c28011c39146fcaa8859306bf6419a0335b70 | ab3d40f704ac3faa6d69eef47fc22c223cb03394 |
refs/heads/master | <file_sep>// Generated by CoffeeScript 1.12.5
(function() {
'use strict';
var aggregate;
aggregate = require('./aggregate');
module.exports = function(app) {
app.loopback.modelBuilder.mixins.define('Aggregate', aggregate);
};
}).call(this);
| 9e9a3361fd38729cd45aa5d4a54c48a89ecaa8c2 | [
"JavaScript"
] | 1 | JavaScript | snowyu/loopback-mongo-aggregate-mixin | 8b82ae744e5fc22043c19e993e253f32672e77af | 6a7e2bcec50cca498b0e0132b63ba494b11602cc |
refs/heads/master | <file_sep>let scl = 20;
let s;
let score;
let food;
let scene;
let currentScene;
function setup() {
createCanvas(400, 400);
frameRate(10);
currentScene = 0;
s = new Snake();
scene = new scene1();
pickLocation();
}
let pickLocation = () => {
let cols = floor(width / scl);
let rows = floor(height / sc... | 724c5a7e2bb5238b8868d1dbdfb65687abb9033e | [
"JavaScript"
] | 1 | JavaScript | thembu/portfoilio | a2aeb953b1f4d043a2d54608eb952e2c85430467 | 20ece300b8ed2ba99d043ae422a5613726269352 |
refs/heads/master | <repo_name>AmanyHamdy/Adjust_Work<file_sep>/Task1.py
import random
# use Built-in Function of random module "sample(seq,len)" to return len list of unique element from the seq.
numbers= random.sample(range(1,11),10)
# Print the list
print "Numbers in Random Order", numbers<file_sep>/README.md
# Adjust_Work
How ... | a93edc2f92d1537ea3565eb33573dff057bf68e5 | [
"Markdown",
"Python"
] | 2 | Python | AmanyHamdy/Adjust_Work | b540cf2eaa2a36f670f7e21e188dd94184c6a152 | 92c0c83ef41b86606e1e824fd9c62b4c73dfc979 |
refs/heads/master | <file_sep>'''
Following the tutorial found at:
https://www.youtube.com/watch?v=bF-PFPacs88
Work In Progress
'''
import pymel.core as pm
scriptName = __name__
newWindow = 'Auto_armRig_maker'
def gui():
if(pm.window(newWindow, q=True,exists=True)):
pm.deleteUI(newWindow)
if(pm.windowPref(newWindow, ... | 30973f2336482c21648fdd3f79ab93fb0acd2c86 | [
"Python"
] | 5 | Python | timosk92/Github | 8c662cbb88735823f22a61f5a4bdb8666fc2bb46 | 20c6451b5fc2b33d97567522837cfbedebf560ee |
refs/heads/master | <file_sep><?php
$taskmaneger = $_GET['task'];
$array = array(
'First element',
'Search me',
'I love ZaraLab',
'I\'m going to become PHP expert!'
);
//task1
if($taskmaneger == NULL){
$search = array_search("Search me",$array);
echo "Task Array Search:".$search;
echo "</br>"."<a href='?task=task2'>T... | 243948e650d45b4599b130f48580e4764abc40d2 | [
"PHP"
] | 3 | PHP | dobrev95/php-beginners | 2e19c0696f649a9a4b4a59d9c44153f7647b0064 | 8b371983b9e23f64601baa8e2e877911c4b7fe11 |
refs/heads/master | <file_sep><?php
if(!isset($_SESSION['login_user'])){
include('config/functions.php');
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>USN France | CRM Sales</title>... | 5c9670baeefae6185994ed51be677a4a2154af84 | [
"Markdown",
"SQL",
"PHP"
] | 14 | PHP | pablodacampo/crm | 82f8450f8122b9ca5fca7933b9f89888c9e41cce | 628b4b72c6a2bd7549c1582d12c8f58940984ac9 |
refs/heads/main | <repo_name>algo-1/aqua-challenge<file_sep>/dice.py
from typing import List, Dict, Tuple
from copy import deepcopy
opp: Dict[int, int] = {i: 7-i for i in range(1, 7)}
opp_name: Dict[str, str] = {"F": "B", "T": "BT", "L": "R"}
pairs: List[Tuple[str, str]] = list(opp_name.items())
for k,v in pairs:
opp_name[v] =... | 6f12d22a5e98ce4767658975446316e4803ddf42 | [
"Markdown",
"Python"
] | 2 | Python | algo-1/aqua-challenge | b496f82bb2ce2c473bffa3fcd477509d772df924 | 8136a4e02230b9adb45d8b7dfaa811f467a95a6e |
refs/heads/master | <file_sep>
#include <queue>
#include <iostream>
#include <cmath>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
class ZigzagIterator {
public:
//vector<vector<int>::iterator> itv;
vector<int>::iterator v1it, v2it;
vector<int>::iterator v1e, v2e;
bool f;
ZigzagIterat... | 4a15509fc1fa184b8c78ac236555d0f241997234 | [
"C++"
] | 2 | C++ | vishkusugal/Vish | 874f5f8f3878bde96a22145c52cc459836b33ce0 | 587ebf4a9ea780227e48ba6fa3f3487b4cc28b2d |
refs/heads/master | <file_sep>package com.google.vrtoolkit.cardboard;
import android.app.*;
import com.google.vrtoolkit.cardboard.sensors.*;
import android.nfc.*;
import android.content.*;
import android.os.*;
import android.view.*;
public class CardboardActivity extends Activity {
private static final int NAVIGATION_BAR_TIMEOUT_MS = 2... | f9e6d2d24c0876abf235e4498c47f998536b91a1 | [
"Java"
] | 1 | Java | mnstrspeed/cardboard-java | fd6c0b0c84c86db299dded761973c25e636b15c2 | b1c704e42ad0afd63b6ef6f96d731564a2866ca7 |
refs/heads/master | <file_sep><?php
namespace RestIP;
class DocumentsRoute implements \APIPlugin
{
function describeRoutes()
{
return array(
'/documents/:range_id/folder(/:folder_id)' => _('Dateiordner'),
'/documents/:document_id' => _('Dateien'),
'/documents/:document_... | 8c4135f86f562a562df0478a018a27fd0fdc1bd8 | [
"PHP"
] | 9 | PHP | honkmaster/studip-rest.ip | fdf27ad26544afe483ba0a1f607b95dbac9335e7 | 28dce96430225a2946fcb4edb311b993013bd144 |
refs/heads/master | <file_sep>#coding: utf-8
import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt
import tensorboard
def add_layer(inputs, in_size, out_size, n_layer, activation = None):
layer_name = 'layer__{0}'.format(n_layer)
with tf.name_scope('layer'):
with tf.name_scope('Weight'):
W... | 7bf1b13677cfc50a1e10161529029dfeef519346 | [
"Markdown",
"Python"
] | 23 | Python | ailearn007/MachineLearning_NQ | d26bcce62aa83d4d298b5241f77b977b35ab4dc3 | 7bb058054130c5c70086020406e3a9cab8dde068 |
refs/heads/master | <repo_name>Pingrash/frontend-pagination<file_sep>/README.md
# Frontend Pagination
[View app here](https://react-frontend-pagination.netlify.com/)
## About
A simple react app that gets a set of posts from [jsonplaceholder.com](jsonplaceholder.com) and paginates them on the frontend.
<file_sep>/src/components/Posts.te... | 623dad4a965c58f2d0e997390417e95bb2a1fccb | [
"Markdown",
"JavaScript"
] | 5 | Markdown | Pingrash/frontend-pagination | bd31e88a0d8fb8c769f055f5c503824041ec65d5 | ca0a7ede1c4cb3750f464f2e7e0094ac01e3e6c1 |
refs/heads/master | <repo_name>lakhveer3/DIYS_v2<file_sep>/server/routes/ingredients.route.js
const ingredients = require('express').Router();
var mongoose = require('mongoose');
var EssentialIng = require('./../models/DiyDetailsSchema.js');
var db = require('./../connections/dbconnect.js');
db.on('error', console.error.bind(console, 'co... | 9825970a910aaa2745be4c1fc1cd66f458e24387 | [
"JavaScript"
] | 1 | JavaScript | lakhveer3/DIYS_v2 | 51ceb353c65ec39e11119f1c4173c6efa8f53e63 | 2c56d3821915bb5f2ea11501d6a6562b9233e72c |
refs/heads/main | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ass3.mygame2;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
/**
*
* @autho... | 83773637c27b131e67d91d999b98f87789d65fa8 | [
"Java"
] | 1 | Java | AmitMokariya/MyGame | 3b6092f65279a92b6e66d4ec6ef9d7ef36593d68 | f45d86c00a33f7899c10691be38cfb65245d5cee |
refs/heads/master | <repo_name>slugmandrew/ImageGallery<file_sep>/src/main/java/com/slugmandrew/imagegallery/server/handler/InitializeHandler.java
package com.slugmandrew.imagegallery.server.handler;
import com.google.inject.Inject;
import com.gwtplatform.dispatch.rpc.server.ExecutionContext;
import com.gwtplatform.dispatch.shared.Action... | 46122748db8e86d6df6ee9f345bb7920c0d6e3c9 | [
"Java"
] | 14 | Java | slugmandrew/ImageGallery | e0a9f2ec82a28d547bf61f81488fffd773130220 | c5e27e886ea1e2ad1621ff034fd0569a5a0dd1c8 |
refs/heads/master | <file_sep># Cache the car::Anova data and other data used to test the package so that we
# don't have to include those packages just for testing
cache_dir <- "./tests/testthat/cache"
if (!dir.exists(cache_dir)) dir.create(cache_dir)
`%>%` <- magrittr::`%>%`
# Independent designs -----------------------------------... | 598916f29d9d2e41581fcd72db4229fd896a49d9 | [
"Markdown",
"R",
"RMarkdown"
] | 21 | R | yongheshinian/supernova | dcec1de4d8ea676fb2f9446dd8c73e7cd085de78 | 87093e32cc61f5c9d572caf3423c655283c70996 |
refs/heads/master | <repo_name>rikarsen/CardCast<file_sep>/www/assets/js/controllers/ProfileController.js
angular
.module('cardCast.ProfileController', [])
.controller('ProfileController', ['$scope', '$state', '$localStorage', '$timeout', 'AJAX', 'fileReader', function ($scope, $state, $localStorage, $timeout, AJAX, fileReader) {
$scop... | f9f67f5c00d37a9517c34ba9d280d1824f171476 | [
"JavaScript",
"Markdown"
] | 8 | JavaScript | rikarsen/CardCast | a6a990a8eaac7730fe4db87effdeb41ac7a10e93 | 38db2954d2c4e00c55c87da2dc3cba291a50e9eb |
refs/heads/master | <file_sep>#include "includes.h"
volatile mp_word SqrResult[148];
void __attribute__ ((noinline)) __attribute__((optimize("O0"))) dummy_func() {
}
/*
* Test function to square an array of numbers that fails
* intermittently on my Netgear X4S R7800. This code is from the
* libtommath library, which is used by the o... | 2cd5e3e01edf194cef6c6e698485cabf47cd96d0 | [
"C"
] | 2 | C | infernalheaven/ipq8065-sqrbug | c8bfd2556ad021636c579b9906ee63ea4224e4cf | ba168a57ca6e8eecf66a0a77e61003c1b2176629 |
refs/heads/master | <repo_name>imakhil/school<file_sep>/wp-content/themes/education-hub-child/secondarystafftemplate.php
<?php
/*
Template Name:secondary staff template
*/
?>
<?php //get_header(); ?>
<div class="row">
<?php
$args2 = array( 'post_type' => 'Staff','cat' => 8, 'posts_per_page' => 22 );
$loop2 = new WP_Query( $args2 );
wh... | 00248a86bbcbaecb5eb7ce99243eb8b65e91455a | [
"PHP"
] | 3 | PHP | imakhil/school | 612123bf98c600769509938f713bc123ac59fd64 | 19c161441820ee384db321ab86d38edacbdc0cfe |
refs/heads/master | <repo_name>rosefun/WeaklySupervisedLearning<file_sep>/examples/run_bootstrapping.py
# -*- coding: utf-8 -*-
"""
Created on Sun Dec 22 19:22:43 2020
@author: rosefun
"""
from examples_utils import get_data, DNN
from sklearn import metrics
from weaklysupervised import BootstrappingNeuralNetworkClassifier
if __name__ ==... | 1c273f634404ac8e332be122628832c85093df88 | [
"Markdown",
"Python"
] | 5 | Python | rosefun/WeaklySupervisedLearning | be00f56b900b424ea7b7bfddb4902e42178ef30a | 39bb73b79d34de8570f1cc2034496a533adc393d |
refs/heads/master | <file_sep># ezSidebar plugin for redMine
# Copyright (C) 2008-2009 <NAME>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later vers... | a7a04fb3c24b7c7a1276a88c280f694167c4b735 | [
"RDoc",
"Ruby"
] | 3 | Ruby | zouchaoqun/ezsidebar | 16e9c39adb50645c7e7fcb73512362af3d8c0f92 | 1055cdb3c216aa172b07bc7f42cb6f1241ec1f7a |
refs/heads/master | <repo_name>Ronnieyang97/eleclib<file_sep>/eleclib.py
import sqlite3
import sys
import os
from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException, InvalidArgumentException
# database中有mainstorage; recyclebin; favourite; read四个sheet分别存储主书库,回收站,收藏夹和已读;
# 均包含title, author, type, intro... | fcc9ff95beca204b50d01c4deed4c996f8c0b5c8 | [
"Markdown",
"Python",
"HTML"
] | 6 | Python | Ronnieyang97/eleclib | f70cbfbd71c363d716c7bf416faaf02fc6cadc65 | eafaf3419357d32687976b92e1a0f72ccb8266d9 |
refs/heads/main | <file_sep><?php
interface UsuarioDao {
public function insere($usuario);
//public function remove($usuario);
public function removePorId($id);
public function altera(&$usuario);
public function buscaPorId($id);
public function buscaPorLogin($login);
public function buscaTodos();
}
?><file_s... | f154fdbab5682bdce605e09e7df7d83c8c635366 | [
"JavaScript",
"SQL",
"PHP"
] | 73 | PHP | AnaClaudiaBatista/projetoWeb | 5e857655a1d0a0372d80edfb7c6f15f458592410 | f5d1caff12cc16fa309b2a74a2f06861b5310b91 |
refs/heads/master | <file_sep>"""
Developed by <NAME>
Resources, which were used during this implementation: https://www.geeksforgeeks.org/b-tree-set-1-introduction-2/
"""
from random import randint
import time
class BTreeNode(object):
"""
BTreeNode constructor, where
* is_leaf - shows is current node is leaf node
... | 12c67cd6db1488d35ed596327cc75bf5f177c212 | [
"Markdown",
"Python"
] | 2 | Python | kevinkhanda/python-btree | 155bcead9547212f86d8f122168466ac3a67e4da | e8c5ff16ae9a9bced54c6336bdf9789891b4986e |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Events;
[AddComponentMenu("Playground/Conditions/Condition Attack")]
public class ConditionAttack : ConditionBase
{
[Header("Attack key")]
public KeyCode keyToPress = KeyCode.Space;
[Header("Type of... | c68a10ab5a2dde688942b6fa06ffc993e04ecfd4 | [
"Markdown",
"C#"
] | 17 | C# | Thro42/ThRoUnityPlaygroundAddOns | d9d25474ec29d5725a951326d6c803c94f931d47 | 59c49e1b47a7811810048823ce95204c3a3a0f22 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UpdateDDJunifer
{
public class TupleContainer
{
public string _accountID { get; set; }
public double _directDebitAmount { get; set; }
publ... | 7a0f4540a98696d12a28ef59926a7958e3b9db13 | [
"C#"
] | 3 | C# | GavMCP/OneSelect | 970f8211b4fe65229e766740dcb9e6f85b1b0455 | d877b0dc463d32b801543fc947078b1d6e9db3e4 |
refs/heads/main | <file_sep>download.file("https://ibm.box.com/shared/static/36ulo2vaeqyglj1dxz3b75093vdmgp5q.csv", destfile = "wholesale_customers.csv", quiet = FALSE)
sale = read.csv("wholesale_customers.csv", sep =',')
head(sale)
threshold=1.5
sale.groupChannel=NULL
sale.groupRegion=NULL
milk_mean=mean(sale$Milk)
milksd=sd(sal... | 40311259d5c19935115b59fd6f987de5bda428a5 | [
"R"
] | 1 | R | Ved28Sawant/K-means-clustering | 4e6acd9e3586a6bb7b221073592f72e856901d39 | 9f5b6d6d6731401b97ba292aa29d34fd11c69167 |
refs/heads/master | <repo_name>blbbrayan/Unsung-Forest<file_sep>/src/library/Mob.java
package library;
import engine.action.QuickDraw;
import engine.game.GameObject;
import engine.gui.BFrame;
import assets.Assets;
import global.GameRules;
import gui.Play;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.ArrayList... | ee024142c742250ffac73833cfc61fc68f1c4ef3 | [
"Markdown",
"Java"
] | 6 | Java | blbbrayan/Unsung-Forest | d0959006a4f26646649bb9211231efd5075d9e02 | 83bbe3a7672a815d3b7f28c84f206dbcf25400a0 |
refs/heads/master | <repo_name>samriddhac/devops-workspace<file_sep>/ansible/playbooks/playbookscaffolds.sh
#!/usr/bin/env bash
#Display usage informatiosn
usage() { echo "Usage: $0 [-p <Playbook Path> ] [-t <Playbook Title> ]" 2>&1; exit 1; }
[ $# -eq 0 ] && usage
#Side Note
# File descriptor 0 --> stdin
# File descriptor 1 --> stdout
#... | c33cfea6d08e6b8ac9107eafa40e2536964d5a96 | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Shell | samriddhac/devops-workspace | 5918948f65556f8e13a2b666131306e9ece7d037 | f1d89a662aa28a8fd81880ed9126d50a45f03858 |
refs/heads/main | <file_sep>import s from './ProfileInfo.module.css';
const ProfileInfo = (props) => {
return (
<div>
<div>
<img className={s.img} src="https://i.pinimg.com/originals/b8/b4/42/b8b4420dd68c851aeb730c5e35177c47.jpg"></img>
</div>
<div className={s.ava_disc}>
... | 2b403c8ffa99cd263c276cd33262e48dae137ffa | [
"JavaScript"
] | 7 | JavaScript | ilyadodonov22/Shrekbook | 5961dd6fdca073bcf90f193f258120677e9410a5 | 49c28ef4f51bfd85302eed63bfdaa81db4840a05 |
refs/heads/master | <file_sep>package com.example.lecture06
import android.annotation.SuppressLint
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ArrayAdapter
import android.widget.ImageView
import android.widget.RatingBar
import android.widge... | cc885a0a80dce27708e9a33c41279933ca9ee8b9 | [
"Kotlin"
] | 2 | Kotlin | KanYousaf/Lecture-06-Kotlin2020 | f46fea09e4b3020faea1511a156fb5fa53d7eab0 | 4464abbd917c25f56bd952708fb11747edf33e70 |
refs/heads/master | <file_sep>Live Site:https://fresh-valley-75b0d.web.app
Extra Feature(client):
React router,firebase,spinner etc
Extra Feature(server):
jwt token,dotenv,node js,mongodb
<file_sep>import { Link } from 'react-router-dom';
import React from 'react';
import { Button, Card } from 'react-bootstrap';
import "../Products/Pro... | fbbf5d1207c495025762142215bc30ed9fb2af5e | [
"Markdown",
"JavaScript"
] | 8 | Markdown | tanmoyM-1611/fresh-valley-client | 7c6bc6c0fb63af1a6fd678c27d3b7954f2791511 | 391acda73f08b61398a6894c876ddd2c0481b8f3 |
refs/heads/main | <file_sep>import getpass as gpass
import json
import os
#Functions
def encrypt(txt,file):
x = []
for i in txt:
g = ord(i)
x.append(g)
print(x)
with open (file,'w') as filehandle:
json.dump(x,filehandle)
def decrypt(filename):
with open(filename,'r') as fileha... | 8723564d809bb2b10da00d7cd527619a9c270429 | [
"Markdown",
"Python"
] | 2 | Python | macintushar/EncrypterDecrypter | f08eb80d6d0dd550a3c0434dff30d674c534aebd | fe0cfcdc606d6a99e923df76d97c0aff4029b3f4 |
refs/heads/master | <repo_name>eunbeeLee/everyday-whale<file_sep>/js/story.js
const STORY = ["웨일은 태어나기 전 마음속으로 긴 카운트를 세었습니다. 1년, 2년, 3년, 4년, 그리고 마지막 5년이 되던 날 웨일은 깨어날 준비를 마쳤습니다.",
"웨일은 아주 차가운 바다에서 태어났지만, 따뜻한 체온을 가진 동물입니다. 웨일의 따뜻함은 주변 수온은 조금 더 올려 놓아 바다친구 모두에게 따뜻함를 전해주곤 합니다.",
"아기 웨일은 인터넷 환경을 복잡하게하는 브라우저 탭들을 먹고 삽니다. 냠냠.. 웨일의 곁에는 복잡하게 엉킨 ... | fe3b905dd0077280f88f1f9c2a8940457d9e5025 | [
"JavaScript"
] | 2 | JavaScript | eunbeeLee/everyday-whale | 36ee18612226a57ce01ac53cdce2903894c002bf | bbd02d2b5d42d288103097c0e9970e3ab14c7cb0 |
refs/heads/master | <repo_name>Laxminarsaiah/cm<file_sep>/cm-dao/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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.... | 3e033b7c05fe06707213d24c77717fd87384087e | [
"Java",
"Maven POM",
"INI"
] | 4 | Maven POM | Laxminarsaiah/cm | cf903bca59ca9baec8b297c092b3216c96a5ab8c | a1a0d1738eed7c0633052b4e665350bd6a172169 |
refs/heads/master | <file_sep>using System;
using PX.Data;
namespace LicencingClient
{
[Serializable]
public class ClientLicencingSetup : IBqlTable
{
#region CustomizationID
[PXDBString(255, IsKey = true, IsUnicode = true, InputMask = "")]
[PXUIField(DisplayName = "Customization ID", Enabled = false)]
... | 00e502f16d87cc12eea2591daa9ddf2dbb7a88fa | [
"Markdown",
"C#"
] | 11 | C# | AcumaticaHackathon/Team-Eta-2018 | 60d91b652f41c2ffbb2fc05fa265945f71fdf791 | da27baee35c3da4a21b57bdade9bcc8612ec5505 |
refs/heads/master | <file_sep># leetcode
find a good intern job.
<file_sep>class Solution {
pubilc:
int singleNumber(VectorM<int>& nums) {
int length = nus.size();
int result = 0;
for(int i = 0; i = 32; i++) {
int count = 0;
int mask = 1 << i;
for(int j = 0; j < length; j++) ... | f6c4ee1bfa41a6a64bc4d0ed018c03972bbac25a | [
"Markdown",
"C"
] | 2 | Markdown | fuujiro/leetcode | 60fe942d1879eaccfaddee5fffc00fc45ceac026 | 959766d471c134b1636f82e718b025cc6a0600df |
refs/heads/main | <repo_name>ange47rm/React_Auth0-Authentication<file_sep>/src/components/LogoutButton.js
import React from 'react'
import { useAuth0 } from "@auth0/auth0-react"
const LogoutButton = () => {
const { logout, isAuthenticated } = useAuth0(); // get logout functionality from useAuth0 hook
return (
isAuthe... | 93720b02389e2d9710aa24091e7f38dca3a58528 | [
"JavaScript"
] | 3 | JavaScript | ange47rm/React_Auth0-Authentication | f15b936fe068c491f22a2d24fc1b1173e3e44456 | 0442aa11f179e5c6e9d035454791dba0542907a3 |
refs/heads/master | <file_sep>declare function sendKeys(input: string): Promise<void>;
declare function sendKeysSync(input: string): void; | b833cb1bdd764c89ea911832e7a9d6c4ed732025 | [
"TypeScript"
] | 1 | TypeScript | nvitaterna/node-sendkeys | db31e6d1f9d99d543da52ceb4a987d9ccf94a4d7 | 39a811d15cc207f98712097e793e1ab88ad133fe |
refs/heads/dev | <repo_name>tmartin1/rockridge<file_sep>/client/components/auth/auth.factory.js
'use strict';
angular.module('rockridge')
.factory('Auth', function($location, $rootScope, $http, User, $cookieStore, $q) {
//
});
<file_sep>/client/app/app.js
'use strict';
angular.module('rockridge', [
'ui.router'])
.config(function ... | 4f9a16d14b17786041fe3bc9449baebf7d6e1011 | [
"JavaScript"
] | 9 | JavaScript | tmartin1/rockridge | 51d1a0f85003a40a670544294910e3f8bd34ef69 | 6b3544bd06a1f359c2ed6a6e4c00a891fae2cdc6 |
refs/heads/master | <file_sep><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<gro... | 749aca8b19dd4f8943fd069c8046860ef50994dd | [
"Markdown",
"Java",
"Maven POM"
] | 3 | Maven POM | un-knower/spark_code | 3ec670d873ff410a7de865092c80153be89a8985 | 7abbac9d0104482032d8431b50725831d52164ea |
refs/heads/master | <repo_name>Mrcel97/eBrary<file_sep>/src/app/services/dom.service.ts
import {
Injectable,
Injector,
ComponentFactoryResolver,
EmbeddedViewRef,
ApplicationRef,
Component
} from '@angular/core';
import { BookInfoComponent } from '../book-info/book-info.component';
import { ModalService } from './modal.service'... | f777cc99ddf94936d3d589ba022b7968471fa9f5 | [
"TypeScript"
] | 13 | TypeScript | Mrcel97/eBrary | a580489b1a5d02e6845c41447936adaf91733cb8 | 397cbcb79df4359ba217bd3ad74c42eb66a68546 |
refs/heads/master | <repo_name>cmcpartland/DataEngineering-Project1<file_sep>/README.md
# Sparkify Database
## Motivation
A startup called Sparkify wants to analyze the data they've been collecting on songs and user activity on their new music streaming app. The analytics team is particularly interested in understanding what songs users ... | 1994e7d7dcffd77791ae1a89aaab80f0cb9d855c | [
"Markdown",
"Python"
] | 3 | Markdown | cmcpartland/DataEngineering-Project1 | 79d2780e665a249a25e967ea097e09a26789b17f | 663c65cc3f5b5625f7cb6c86ac214f00eadfc591 |
refs/heads/master | <file_sep>import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { getFriends } from '../actions/index';
class FriendList extends React.Component {
render() {
return (
<div className="friend-list">
{ this.renderFrien... | 6cfbd252f72492c13167ae68680a258db7f8a9d6 | [
"JavaScript"
] | 3 | JavaScript | kiadorii/HTTP-AJAX | 8599632460a3f377c225ad651456f62acec25eba | 44fadae573340c890e43c9fa7502f02d75e316ae |
refs/heads/master | <file_sep>def nyc_pigeon_organizer(data)
# new_birds = data[:color].values.flatten(1).uniq
# new_hash = Hash[new_birds.collect { |x| [x, {}] } ]
new_hash = {}
data.each do |attribute, data|
data.each do |values, birds|
birds.each do |bird|
new_hash[bird] |1|= {}
new_hash[bird][attribut... | 43487c91c2c73af3cd26e46160151e4b668c329a | [
"Ruby"
] | 1 | Ruby | daniela-sandoval/nyc-pigeon-organizer-prework | 1cbf28699706b13f82d57947d76dc8063108692b | 50d9d34581d4a2ad9c58d33405ab337ce2b71b66 |
refs/heads/master | <file_sep>package DesignPattern.ObserverPattern;
public class ObservedImpl implements IObserved {
@Override
public void spy(String content) {
System.out.print(content);
}
}
<file_sep>package DesignPattern.ObserverPattern;
public class ObserverImpl implements IObserver {
IObserved observered = ... | e3a29a6a1c06fd5dc682641b949597b0f1ff0a7c | [
"Java"
] | 4 | Java | haochen12/PersonalDesginPattern | 712783cb31f90b506ccfecf031b980c8d9dcf557 | 9b1acc0ea2d666c5d302f7b0833aaccdab2b5361 |
refs/heads/master | <repo_name>wbma/front-end-3-goebers<file_sep>/src/app/components/list-media/list-media.component.ts
import { Component, OnInit } from '@angular/core';
import { MediaService } from "../../services/media.service";
import { DigitransitService } from '../../services/digitransit.service';
@Component({
selector: 'app-lis... | 3eaa094397324484be7c7bca50680c91814b3ff5 | [
"TypeScript"
] | 2 | TypeScript | wbma/front-end-3-goebers | 55bf5bdae7069a864c43dc6a624b20a4a123a5c5 | 11fbb83b6598ebf0d727f38d871b87af9575f9d2 |
refs/heads/master | <repo_name>hardingjam/wave-social-network<file_sep>/client/src/components/uploader.js
import axios from "../axios";
import { Component } from "react";
export default class Uploader extends Component {
constructor(props) {
super(props);
this.state = {
errors: false,
};
//... | 78dacc8e0c7f0dfe401f0c9caea0b8ad8b5c0afc | [
"JavaScript",
"SQL"
] | 20 | JavaScript | hardingjam/wave-social-network | e798cf365cd7ab12e55faeb7a807dd188ad28eef | 9b7c0e73eda6ac01c80e15c4b7f7d08ca8ec25c0 |
refs/heads/master | <repo_name>preetam286/revidly-intern<file_sep>/README.md
/************************************************
This webpage template is made with React Js and Bootstrap for react framework.
After cloning, donload the dependencies.
I installed two modules via npm:
1. React JS framework
2. Bootstrap for react
... | 482301e43a05b63859f5f5a8100a179e8324d1e8 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | preetam286/revidly-intern | 47400f1436b95a5fd6efeb92437c8eaa6d2451da | a65eae093beedca151c4999c362a1bcc4e99b43e |
refs/heads/master | <file_sep>describe Vote do
descibe "validations" do
describe "value validation" do
it "only allows -1 or 1 as values" do
expect (
#user can only vote once
)
end
end
end
end
<file_sep>class Vote < ActiveRecord::Base
belongs_to :user
belongs_to :post
after_sav... | fb5e31cd298971743284eb616bb33af774c920d6 | [
"Ruby"
] | 2 | Ruby | thatkent/basic_rails_app | 7685acf82feaef76a9a018e42a594c43444643c1 | d536b4400d44365510b8fe4157a143f971d87ef5 |
refs/heads/master | <repo_name>gingin77/grades_calculator<file_sep>/classroom.rb
require 'pry'
def assignment_score(grade_hash, student, assignment_num)
grade_hash[student][assignment_num-1]
end
def assignment_scores(grade_hash, assignment_num)
just_grades = grade_hash.values.to_a
select_assignments = just_grades.map {|grade| grad... | 57682c5cd3ab2fcddcac330a0f1ffc339d5b2e42 | [
"Ruby"
] | 1 | Ruby | gingin77/grades_calculator | a4904b07e49d09d2891f2e9274562622ce1e7c80 | ac1bac7b2688a46dc50155941154687677a2e268 |
refs/heads/master | <file_sep>import React, { useEffect } from "react";
import { useDispatch, useSelector } from "react-redux";
import UserCard from "../../components/UserCard";
import { getAllUsers } from "../../store/Actions/Users/Users";
import "../../styles/Auth/login.css";
import Logo from "../../assets/logo-primary.png";
import { us... | fd5c804094fb906e29cc1622a10ae65029fdb819 | [
"JavaScript"
] | 60 | JavaScript | Arslan134M/FYP | 1b70caacbd19a8ca0bc69c2a82043287699ce31f | 0cdd0ac2f06b80ff08a70b33157ca1299b636212 |
refs/heads/master | <repo_name>3naba/graphics<file_sep>/graphics.cpp
#include <iostream>
#include <stdlib.h>
#include <math.h>
#include <C:\Dev-Cpp\include\GL\glut.h>
using namespace std;
float doorAngle = 0.0f;
float windowesAngle = 0.0f;
float cameraAngle1 = 0.0f;
float bikeAngle = 0.0f;
float bikeAnglef = 0.0f;
float bikeAngleb = 0.0f... | 5f69a3a23b422569c3b0dacfaad1a2d470c89786 | [
"C++"
] | 1 | C++ | 3naba/graphics | f38e64444bfb8d282f1d4542725f4a835b94408b | 0a359e1abdbd2dd8a05b07778d8e6502b3f8deb4 |
refs/heads/master | <repo_name>agkountis/ci-test<file_sep>/CHANGELOG.md
## [2.0.14](https://github.com/agkountis/ci-test/compare/v2.0.13...v2.0.14) (2020-02-17)
### Bug Fixes
* **semrel:** Bump patch ([845175c](https://github.com/agkountis/ci-test/commit/845175c9d56c5317b9b9f5ed95553339e5018cc6))
* **semrel:** Bump version ([4aa03b5](h... | 2bd796db9cdb2a426c8e6e6eb841217ac47ec932 | [
"Markdown",
"Rust"
] | 3 | Markdown | agkountis/ci-test | 1fca9718dfbbcfab9c4e444910c548b0650c58ea | cb02239cfa80c6a91bd708625d9ebcc6e0516d18 |
refs/heads/master | <file_sep>//入口文件
//导入自定义好的模块
import bar from './bar'
//调用
bar()
<file_sep>//定义模块
export default function bar(){
function component(){
return 12;
}
console.log(component())
}<file_sep># Webpack-
一个webpack入门到进阶教程集
| bbf4aee69733513359a77a19b262a06b70c2cffa | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | flower-pp/Webpack- | 0fb0e61424cc6d643afb8150b2b404eca993bef3 | 81424e5fd26dbb5aa57f1da8c9436c212d2d8aa7 |
refs/heads/master | <repo_name>vineethbhargavan/MessagingModule<file_sep>/test/controller/OperatorController.test.js
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
//var client = require('../../asset... | 7a6f9029d6bbffa09a27772984473c535f8418b1 | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | vineethbhargavan/MessagingModule | ed270165b47f49ef28d11de15f0628b7713443c8 | 4cbe4ad94407c30c85478c6919763b6ed76a3e76 |
refs/heads/master | <file_sep>package com.pojo;
public class Admin {
}
| 8ed0d039cf31e679d78112ec3987d6c328825379 | [
"Java"
] | 1 | Java | today-mcf/git-001 | 0812e5136b6262dd0950194328dc7bc3a9d9a7da | 331b9ed019352a8e8720cc373755b4bef8ffcdb2 |
refs/heads/master | <file_sep>package cn.swun.swordToOffer;
class ComplexListNode{
int data;
ComplexListNode next;
ComplexListNode sibling;
public ComplexListNode(int data) {
super();
this.data = data;
}
}
public class Demo26 {
public static ComplexListNode clone(ComplexListNode root){
cloneNodes(root);
cop... | d78f5fc589c242edd0173b1d397a5d3ad0f60b9c | [
"Markdown",
"Java"
] | 12 | Java | Maystory/SwordToOffer | 4ae918d7702f3f7f81c43621aee21be6e2dfc6b3 | da6ba4c4ae55842d5ae8ce2b5ebd51d5dc511834 |
refs/heads/master | <repo_name>dublincodekata/numbers-to-words<file_sep>/JS_Rob_Tianyi/numbersToWords.js
var zeroToNineTeen = ['', 'one', 'two', 'three', 'four', 'five', 'six',
'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve',
'thirteen', 'fourteen', 'fifteen', 'sixteen',
... | e873ef6f039864b3d1f210779b36655572c2bb39 | [
"JavaScript",
"Ruby",
"Markdown"
] | 7 | JavaScript | dublincodekata/numbers-to-words | 3ebefcf9c30fc85679c5389b05414890019a4d2b | 408cf0170039cb25e9e7961d92ba1bb17b68be16 |
refs/heads/master | <file_sep>class adicinanza{
public:
void Jola(){
std::cout<<"Hola";
return;
}
};
| 6766568e89f7f9c5831807641d6724a1f95d4f38 | [
"C++"
] | 1 | C++ | WilsonEP201709110/claseHola | c899b3498b045e29f7e3f4f952aa8be9df412197 | d79bd9566c012a7d32f7964021fe55a8b83be76c |
refs/heads/master | <repo_name>MAD11877/practical-4-event-handling-Kamarul17<file_sep>/app/src/main/java/sg/edu/np/WhackAMole/Main2Activity.java
package sg.edu.np.WhackAMole;
import android.content.Intent;
import android.os.CountDownTimer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;... | 88afb8e2815a32a7c77ca04692318cdb3f914605 | [
"Java"
] | 1 | Java | MAD11877/practical-4-event-handling-Kamarul17 | c0416dbd452ffbb09172f5cc2e6c89dacb9c8484 | a68f4e164499b878d5ff1ba984087603cecd1797 |
refs/heads/master | <repo_name>nelsonneuberger/Magic8Ball<file_sep>/README.md
# Magic8Ball by <NAME>
Very simple Ruby terminal-based app.
First go to Magic8Ball directory or folder
steps in terminal
1) "ruby Magic8Ball.rb"
2) ask a question for a canned response.
3) q to quit
#TOP SECRET MENU
*enter "add_answers"
*enter "edit_answers"
*e... | 071eb9df85bc062e84bcf71972c37c400ecd76b9 | [
"Markdown",
"Ruby"
] | 2 | Markdown | nelsonneuberger/Magic8Ball | 1026c7e2bcb06805b5fa900481d63e1a2630a971 | 4c51c545cd630b493e61e3a6fdf788de1f411e7a |
refs/heads/main | <repo_name>C-Developer-Studios/Password-Manager<file_sep>/Password Manager.cpp
/***********************************************************************
Application : Password Manager
Author : G0D-Developer
Version : 1.0
***********************************************************************/
#includ... | 4cd7ed20492559023d18cf50d31107d7761d3372 | [
"C++"
] | 1 | C++ | C-Developer-Studios/Password-Manager | 16d313499cb337b3dc3111cead2338b79a618e86 | 2860796670168f7d0272a3a7622882d7dea78f8d |
refs/heads/master | <file_sep>package com.neo.blog.entity;
import java.io.Serializable;
/**
*
* 角色
* @author Neo
*/
public class Role implements Serializable {
private static final long serialVersionUID = -7443169130664951033L;
private Long id;
private String name;
private String code;
private String url;
... | bf72777c78bf9cbb6cd56974356fc97592d92891 | [
"Java",
"SQL"
] | 6 | Java | shaolin-liu/dreamland | cc55cc014db8a47b7b0981a46430ef82d890d6d0 | bc72cd1a8e6906ae7734db876137a7d3a78f90bf |
refs/heads/master | <file_sep>'use strict'
/** @typedef {import('@adonisjs/framework/src/Request')} Request */
/** @typedef {import('@adonisjs/framework/src/Response')} Response */
/** @typedef {import('@adonisjs/framework/src/View')} View */
/**
* Resourceful controller for interacting with users
*/
const UserModel = use('App/Models... | 5ea78b247f8e5ec0d00e82e4cb2e2c70eaa9fd92 | [
"JavaScript"
] | 1 | JavaScript | leandrocodes/adonis-rest-api | e7ba4ee4670cb6619d6993483e159c3a6f4ca51a | c91d1201906f28eb3855274cd85184fcdfd65b96 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.