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>Tubbz-alt/course-programming-languages<file_sep>/README.md
# course-programming-languages
Lecture notes, assignments, and other materials for a one-semester course on programming language concepts and theory, interpretation and compilation, and programming paradigms.
Git, PHP 5.4 or later, and the [Sheaf](... | a8e0cee0699d0f25e6f41c978d10fe4a0b874606 | [
"Markdown",
"Shell"
] | 2 | Markdown | Tubbz-alt/course-programming-languages | 4d044b11eda468ff54c0ac3bd55350fe75d45d6f | f379d190af878db56206888fab25809ff71d2f09 |
refs/heads/master | <file_sep>from fabric.api import env, roles, sudo, execute, put, run, local, lcd, prompt, cd, parallel
import os
env.roledefs = {
"webserver" : [ "172.31.35.226", "172.31.24.2", "172.31.17.13" ],
"database" : [ "172.31.117.35", "172.31.112.114" ],
}
env.roledefs["all"] = [h for r in env.roledefs.values() for ... | a05f9ad2e714579bf6501978129d1173edcdebff | [
"Python"
] | 19 | Python | tixsalvador/py | 4efbf3f77282c7a410d901c5f7de8e1ea358cd8a | 11fd38e2ca9a0c858a24bf925465b24570af0cc7 |
refs/heads/main | <file_sep>from tkinter import *
# from macosx import *
root=Tk()
root.title("Dictionary")
root.geometry("600x400")
label_of_mutable = Label(root)
label_of_immutable = Label(root)
label_of_tkinter = Label(root)
dictionary = {'Mutable': 'Values can be changed just like a list',
'Immutable': 'Values can ... | 1b95f20374fb651174010b9bfe46f441aa991eff | [
"Python"
] | 1 | Python | JashnaO/Project_155 | 2dcf6a0a6bf439e22d19c79f2959644a91e94a29 | f63c54ff70496c2be04c473724babfed17db94f5 |
refs/heads/master | <repo_name>Unleashed97/portfolio-test<file_sep>/js/slider.js
// https://github.com/kenwheeler/slick
$('#worksSlider').slick({
infinite: true,
slidesToShow: 1,
slidesToScroll: 1,
fade: true,
arrows: false,
dots: true,
});
$('.modal-work__btn--prev').on('click', function(event)
{
event.preventDefault();
... | 1a0c8a474338b2e577d03c810df8cecbc88cb136 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | Unleashed97/portfolio-test | 4c0ac631933dadc37019c43fca10fadfc7cfc4c6 | c570b4c4253d0557c077debff9972ddbd374bd2f |
refs/heads/master | <file_sep>/**
This program is a representation of a Vertical Histogram
Author : <NAME>
*/
#include <stdio.h>
#include <string.h>
void main()
{
char a[100]="<NAME>";
int l=strlen(a);
int freq[26]; // array to store the frequency of each letter in the string a
for(int i=0;i<26;i++)
{
fr... | 5f2c0ac8e793c0203d0d4b342e486b82cd977e2c | [
"Markdown",
"C"
] | 2 | C | mishrraG/Vertical-histogram | d1af40313f0fd29326a81b8c090c1e6b9ffd7d19 | ab7861b736bec29f69068bdf47bcfa3b2e66d30c |
refs/heads/master | <repo_name>hcnode/getSelector.js<file_sep>/spec/getSelectorSpec.js
describe('getSelector', function(){
var iframe = document.createElement('iframe');
iframe.style.position = 'absolute';
iframe.style.top = '-999px';
iframe.style.left = '-999px';
beforeEach(function(){
if (!iframe.contentDocument){
document... | 6f5ea26575c02effe4f1309b1c1d5a5507f16271 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | hcnode/getSelector.js | d5fff3eb4191538525fd413fdfcf09de1824d09f | 957f6444b6273fb9f5676d8e1f74b0fcf19b8f87 |
refs/heads/master | <repo_name>JaonLin/Insanity-Framework<file_sep>/enc.py
#!/usr/bin/env python
# -.- coding: utf-8 -.-
# Copyright 2017 Insanity Framework (IF)
# Written by: * <NAME> - 4w4k3
# https://github.com/4w4k3/Insanity-Framework
# Licensed under the BSD-3-Clause
from Crypto.Cipher import AES
from base64 import b64encode
import... | ad4872d0cc383568faffc71b07339dd5a9a5e3b8 | [
"Python"
] | 2 | Python | JaonLin/Insanity-Framework | 00c021e92a8c03de696c270cc33166148022190e | 943d5574e0107213dbdd41193c4ff86a2f65e583 |
refs/heads/master | <file_sep># optimal-exchange
Challenge for +Team application as a full stack developer
<file_sep>function getClosestCoins(num, set) {
let total = 0;
const coins = [];
while (total !== num) {
const abs = set.map((coin) => Math.abs(num - (total > num ? total - coin : total + coin)));
const coinIndex = abs.indexOf(... | 153a7dfdb5b3e10e1617808b8bd4a4da28cbca2e | [
"Markdown",
"JavaScript"
] | 3 | Markdown | svictoreq/optimal-exchange | ea72d84a2f6c88e4c31634afedbf46baaa1c5feb | 656c1fe2d4c259c1a4f4754c4aa98951253f238c |
refs/heads/master | <file_sep>package com.person.yvan.test.threadPool;
public interface RunnableQueue {
// task queue : use for caching the tasks that have submitted to thread pool
void offer(Runnable runnable);
//work thread get Runnable by take method
Runnable take();
//get task count of task queue
int size(... | 5ab083e5799b58ac962bab7d72294fbd3ca23b15 | [
"Markdown",
"Java",
"Maven POM"
] | 8 | Java | gaoyuhub/TransactionDemo | cd7653b7d81351dcffd244775b66d656ea1114d8 | 68babf34be65e6a9db58a121e62b1238b079d898 |
refs/heads/main | <file_sep># -*- coding: utf-8 -*-
"""
@authors: <NAME> & <NAME>
@aim: Test the manual framework on a simple example
"""
# ----- Libraries ----- #
#Utils
from torch import set_grad_enabled
set_grad_enabled(False)
#Ours
import datasets
import act_func as act
import loss
import layers
import modules
from lr_adap... | 551a73ea985c71571ec788ddc921af440fd33548 | [
"Python"
] | 11 | Python | asreva/Deep_Learning_Project_2 | 07930c161cfd3cddef93a01843416bcdd701cc30 | f2d574620f345567707afa5c753a22b7ce3acec4 |
refs/heads/master | <repo_name>satpeisoe24/ViewModel<file_sep>/app/src/main/java/com/example/viewmodel/viewmodel/CountViewModel.kt
package com.example.viewmodel.viewmodel
import androidx.lifecycle.ViewModel
class CountViewModel : ViewModel() {
private var count : Int = 0 //variable
fun getCount(): Int = count ... | f265023d91bf2a146a50cb31c54a705fa9ad2e84 | [
"Kotlin"
] | 3 | Kotlin | satpeisoe24/ViewModel | fc7715b1dbe5885df478100c1b3d1dbc54276bc3 | 37a1977a5cc14a91d0e804a71318e46698197776 |
refs/heads/main | <repo_name>ineverbee/fibonacci<file_sep>/internal/app/cache/cache.go
package cache
import "time"
// Cache interface
type Cache interface {
Get(key interface{}) (int, error)
Set(key, val interface{}, ttl time.Duration) error
}
<file_sep>/internal/app/cache/rediscache/cache_test.go
package rediscache_test
import (
... | 29dbc848f0fae4e91bb62d03daa5412c2f38c617 | [
"Makefile",
"Go",
"Dockerfile",
"Markdown"
] | 10 | Go | ineverbee/fibonacci | e7b6067287fab2b825275b34535078b329b20721 | 5c05be141243a076a89b6a53d6547ca878d666a6 |
refs/heads/master | <repo_name>samaita/IsometricSVG<file_sep>/README.md
# IsometricSVG
An isometric map create using svg and mapped using javascript.
<file_sep>/index.php
<html>
<head>
<title>ISOMETRIC</title>
<style>
body{
margin:0px;
}
object, svg{
position: absolute;
}
svg{
transition: all 250ms;
tr... | 5f45aa7a0f2e54dd863b2b3219425c1501364822 | [
"Markdown",
"PHP"
] | 2 | Markdown | samaita/IsometricSVG | 12022ca64bf8f38a8c09e41c84f8e82b171d4a5d | f46056feec03bb4fea9e37c45f2e02177c5bb861 |
refs/heads/master | <repo_name>DivyaRaghuwanshi/left-facotring<file_sep>/lfact.c
#include<stdio.h>
#include<string.h>
int main() {
char input[100],*l,*r,productions[25][50],c[10],d[10],e[10],c1=0,c2=0,c3=0;
int i=0,j=0,flag=0;
printf("Enter the production\n");
scanf("%s",input);
l=strtok(input,"->");
r=str... | d0c4bc29e60faeea56da3f56188a2536639012ff | [
"C"
] | 1 | C | DivyaRaghuwanshi/left-facotring | db802b3b4a0c7bbd895fd8036983a9d10e544b35 | b10b98af577e38415bebda5682a31f305a0aaa8b |
refs/heads/master | <repo_name>ChinaVolvocars/Jetpack<file_sep>/app/src/main/java/com/volvo/Api.java
package com.volvo;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class Api {
public static ApiService createGitHubService() {
Retrofit.Builder builder = new Retrofit.Builder()
... | ac58123aec052d12046674d5cf0d5004c5591e66 | [
"Java"
] | 2 | Java | ChinaVolvocars/Jetpack | c8bc2804ffd669612c60c059e0416b0c374ab7f3 | 7fcbd3d3f2f43c137785afb3bb2f7fd11c319d1e |
refs/heads/master | <repo_name>grgrzybek/sopel-docker<file_sep>/scripts/modules/review_requests.py
from sopel.formatting import colors, color, bold, underline
from sopel.module import commands, NOLIMIT, example, rule, rate
from threading import Thread
import json
import os
import requests
import sched
import sys
import time
import web
ch... | 2bdfbbcfaf55e3755e5841f8d6c64dddcbeb3fb1 | [
"Python",
"Shell"
] | 3 | Python | grgrzybek/sopel-docker | 1ef6b9cfe72840cb4ba74e1adc2a0a89b74970a8 | 5bd17a18dfcca89256361598f8ae49567866a6f1 |
refs/heads/master | <repo_name>maurobpt/unity-tests-mb<file_sep>/test_07/Assets/CustomGrid.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CustomGrid : MonoBehaviour
{
//object follow another
/*public GameObject target,structure;
private Vector3 truePos;
public float gridSiz... | 216668720caf11271571f383adce5bcc179fbda8 | [
"C#"
] | 4 | C# | maurobpt/unity-tests-mb | 5fa488bb358a11f51813ca0bec9cd4e4bf202923 | cd8e73371436af74e62a60deace2fad430129899 |
refs/heads/master | <file_sep>---
title: "Game Developers Conference 2017"
date: 2017-03-18 13:00:00
categories: [programming, unity, general]
---
This years [GDC](http://www.gdconf.com) is over again already. It was an exciting new experience for me because I was one of the speakers. This post is about how I got there and how it was ... | ec7bf2608d63470961e6febdaa1f8f87579a6d77 | [
"Markdown",
"HTML",
"Shell"
] | 39 | Markdown | Extrawurst/extrawurst.github.io | f17d233ae3d1e3ca10f08b5292042d5a4ce9c34e | ae16604ac8bbd3216475a9c8eebe0c3d62108aac |
refs/heads/master | <repo_name>m0rrigan/project-euler-solutions<file_sep>/ruby/problem1.rb
# If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
#
# Find the sum of all the multiples of 3 or 5 below 1000.
def sum_multiples(max_num)
sum_multiples = 0
n = max... | 562308adeda2f93742391b4783540309920a876b | [
"Markdown",
"Ruby"
] | 3 | Ruby | m0rrigan/project-euler-solutions | 36baffae5d39c32f26a0c6f9eaf156d2be7daed0 | 39a7f0096040a1e10862eae557c00597c128a467 |
refs/heads/main | <file_sep>#include "tipslabel.h"
#include <QFontDatabase>
TipsLabel::TipsLabel(const QString &text, QWidget *parent)
: QLabel(parent),
m_nOpacity(500)
{
// Formatting
QFont font(QFontDatabase::applicationFontFamilies(0).at(0), 16, QFont::Normal);
setFont(font);
setFixedHeight(80);
setMa... | d0ed215723b098cda9951a527829d2adcb265a42 | [
"Markdown",
"C++"
] | 37 | C++ | ferv3455/Wargroove | 604a8a8cb2af3ec367ca64999bd4341b09ae7686 | 0416aa3877b4a0b40ac33c581587815a0adadc1e |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include <string.h>
#include <time.h>
#include "interface.h"
#include "dominion.h"
int main(int argc, char *argv[]){
printf("random testing outpost\n");
int i, passed =0, failed =0;
srand(time(NULL));
for(i=0;... | 2a36c0d5ad9f3993a2506503e3f2699cd7dd3379 | [
"C",
"Makefile"
] | 13 | C | cs362sp16/cs362sp16_grejucv | 4ba8b1c89892a2b46103c6d7b41eadd1b9f9a707 | ec7bd9b5c42d79717f8c32df6fe3a2cf99611e0d |
refs/heads/main | <file_sep>SECRET_KEY =
DEBUG = True
ALLOWED_HOSTS =127.0.0.1
# DB Connection
DB_ENGINE = django.db.backends.sqlite3
DB_NAME = db.sqlite3
DB_USER =
DB_PASSWORD =
DB_HOST =
DB_PORT =
#EMAIL Connection
EMAIL_HOST =
EMAIL_PORT =
TIME_ZONE = UTC | 933fa54b1a049079e6c208fc6e3f66d300a21fda | [
"Shell"
] | 1 | Shell | Padma-Ramanathan/django-polling | 2f2a788a60b3841aad258172e4ec541a657f062a | a6f65adec8141ba2b9dd6a10ae6eed34f97594c7 |
refs/heads/main | <file_sep>module.exports = (router) => {
const routers = router();
routers.get('/', (req, res) => {
res.send('All articles');
});
routers.get('/:id', (req, res) => {
res.send(`Article ${req.params.id}`);
});
return routers;
};
<file_sep>module.exports = (router) => {
cons... | c8ac0e742103b92032efcab5026bb4a2676bd43e | [
"JavaScript"
] | 2 | JavaScript | MrAlexandder/lil_project | 6c72b2ed279b7b97eb5528f157cefce9115fe89c | 3e09bbea8a9680c5c9697db0f2754470da46fb6f |
refs/heads/main | <repo_name>jdeng/gosilk<file_sep>/README.md
# gosilk
Skype Silk decoder transpiled using modernc.org/ccgo so it is CGO free.
Silk source code is from https://github.com/collects/silk and under the Skype license.
Check out https://github.com/jdeng/silk2wav for more info.
<file_sep>/example/main.go
package main
import... | 894ab9a55f094e0e85107dcd8233356ef9ac6611 | [
"Markdown",
"Go Module",
"Go"
] | 4 | Markdown | jdeng/gosilk | b75505eb6562e4f3821cc4f240e4320ddffe1001 | d4d9dd1b9fd4c3ba9cb8a48e341d4a357c598030 |
refs/heads/master | <repo_name>bpavle/PetitionWebsite<file_sep>/get_locations.php
<?php
if (!isset($_SESSION["status"])) {
echo "Немате право приступа!";
} else {
require_once("config.php");
$id = $_SESSION["id"];
$upit = "SELECT * FROM location;";
$rez = mysqli_query($link, $upit);
while ($podaci = mysqli_fetch_assoc($rez... | 09926cfed590c3aa5beb07c79ce6fc915c1a9051 | [
"JavaScript",
"HTML",
"PHP"
] | 26 | PHP | bpavle/PetitionWebsite | fa73eeb6b7e06375857dd4ca604d289c75dd3404 | 878a960687296073cf993ff56296189b1f93b56b |
refs/heads/master | <repo_name>jinternals/spring-boot-s2i<file_sep>/Dockerfile
# spring-boot
FROM openshift/base-centos7
MAINTAINER <NAME> <<EMAIL>>
ENV JAVA_VERSON 1.8.0
ENV MAVEN_VERSION 3.3.9
LABEL io.k8s.description="Platform for building Spring boot application" \
io.k8s.display-name="Spring boot maven builder" \
io.o... | 892cb6fcd6a0324be622170fc65099e6bc1e09a4 | [
"Dockerfile",
"Shell"
] | 2 | Dockerfile | jinternals/spring-boot-s2i | e77a76ee4ce540dda934f33421e2d27d83cb8c1a | eeac99de53bd550e7c0943e7ef991ec9bbc36699 |
refs/heads/master | <repo_name>aganesh5663/Deep3D_TF<file_sep>/README.md
# Tensorflow Deep3D
This is a Tensorflow implemention of Deep3D (The original MXNet implementation can be found in the github repository: <a href="https://github.com/piiswrong/deep3d">Deep3D-MXNet</a>. The <a href="https://arxiv.org/abs/1604.03650">published paper</a... | 787d752f3b9d61ca8eb886e7609487a06e66a96b | [
"Markdown",
"Python"
] | 6 | Markdown | aganesh5663/Deep3D_TF | 00abeff58b9f5b4c03ffaf3bb64696c015c52fab | 6b5534743450513a29d76e2517e68be73c09e035 |
refs/heads/master | <file_sep>[](https://travis-ci.org/santosfrancisco/gatsby-starter-cv)
[](https://badge.fury.io/gh/santosfrancisco%2Fgatsby-starter-cv)
[![Commitize... | f64d030dc8d9dd734ef1e593f3ed581754ee86c5 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Harshi7016/HarshithPortfolio | f4c5bda1fecdea45e6d0ca3c8ae8a901fd1feb35 | 8e221f33e2dcc65f9cbbf99f3796b80b6535a685 |
refs/heads/master | <repo_name>11o9/NG<file_sep>/Panel.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.M... | 1f105216ae0c9cc05a4b6b4891710802836634a9 | [
"C#"
] | 9 | C# | 11o9/NG | 12d07439ed497ed3de3254c5432cd9eb7f78ebad | b5f78e9f0f71d22c4c43148eecbb9f536222d560 |
refs/heads/master | <file_sep>#!/bin/bash
# (1)判断参数个数
if [ $# -le 1 ]; then
echo "参数个数必须大于1..."
exit 0
fi
# (2)设置常量参数
target=./
work_dir=work
uncompress_dir=uncompress
library_dir=BOOT-INF/lib
# (3)设置输入文件和输出文件参数
# (3.1)the name of the library that should be uncompressed
#library_name="spring-boot-starter-web-2.1.4.RELEASE.jar"
... | 7e64a190839189feaa932fb59eadfd46d5b30d98 | [
"Shell"
] | 1 | Shell | wanglg007/MySetup | e78b67a65396586ce2dae7c3048fad9866337147 | 2569140d30ca0279f97971eadef63e9a4dd469d7 |
refs/heads/master | <file_sep>
text = input("input the text\n")
shift = input("input the shift\n")
cypherString = ""
for c in text:
if c.isalpha():
#check limites
num = ord(c)
cipherValue = num + int(shift)
if c.isupper():
li = "A"
ls = "Z"
else:
li = "a... | 3e819a340ceed1151c6481e0eb34613c060223c2 | [
"Python"
] | 4 | Python | the-last-question/CodeTask-1-Rafael-Bessa | 5e8a3acbebaffd8402191b603da7dbe01baebb76 | 4f520193b7a1cf558e9706632f386d15dbfadcba |
refs/heads/master | <repo_name>Kyutatsu/practice<file_sep>/cms/mul3.py
#!/Users/kyutatsu/Documents/web_development/webenv/bin/python
import sys
num = sys.argv[-1]
num = int(num) * 3
print(num)<file_sep>/api/views.py
import json
from collections import OrderedDict
from django.http import HttpResponse
from cms.models import Book, Impressio... | 25c6e67c0cffc074174ffd5b5a4e9ed73adcec62 | [
"Python"
] | 2 | Python | Kyutatsu/practice | 00305883d15f19cddfa95e213f8db4c9828d312b | 0863693a065d0a3c375343a28dc694b31d009ae9 |
refs/heads/main | <file_sep>const gameState = {
score: 0,
starRating: 5,
currentWaveCount: 1,
customersServedCount: 0,
customerIsReady: false,
cam: {},
readyForNextOrder: true,
gameSpeed: 3,
serviceCountdown: {},
currentMusic: {},
totalWaveCount: 3,
countdownTimer: 1500
}
// Gamepla... | ed15152139120c6f20518acacd190aedca31ed6f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | tqc1120/FastFoodie | cee9c7dd1310e431229775447d4391378365a5ca | bf70a1a4a0bdcca4085d8b9ed30452c309a153c4 |
refs/heads/master | <file_sep>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import smtplib
from email.mime.text import MIMEText
from email.utils import formataddr
from email.header import Header
from email.mime.multipart import MIMEMultipart
from email.mime.image import MIMEImage
from email.mime.application import MIMEApplication
# 1、发... | 376d59c729fafe938c40ad2bcf98217d0d370567 | [
"Python"
] | 2 | Python | caoqinan/python-demo | 1728fceb08d39425ba8321dbd40ef6a0a28bbc5d | 06211f91874280b8e355034b19d6989262b3b567 |
refs/heads/master | <repo_name>SAM-AI-Intro/hw2_sammy<file_sep>/hw2_grace.py
# ----------------------------------------------------------------------
# Name: homework2
# Purpose: Practice writing Python functions
#
# Author(s): SAM
# ----------------------------------------------------------------------
"""
Implement functions ... | 8798c89d246f7967569810371023a667aa91a622 | [
"Python"
] | 1 | Python | SAM-AI-Intro/hw2_sammy | 835432001f4ca6178d0b4bca98331e65590488c6 | de0a83d2a93fdb05aa7c3f89037b838381e80e7c |
refs/heads/master | <file_sep>require 's3'
require 'digest/md5'
require 'mime/types'
YUI_COMPRESSOR_JAR = "~/lib/yuicompressor.jar"
AWS_ACCESS_KEY_ID = ENV['AWS_ACCESS_KEY']
AWS_SECRET_ACCESS_KEY = ENV['AWS_SECRET_KEY']
AWS_BUCKET = "static.whotouse.co"
task :deploy => [:prepare, :static, :css, :img, :s3upload, :s3ify_html,
:set_me... | 2776ec36d15ea134db2458869292faa1050e9552 | [
"Markdown",
"Ruby"
] | 2 | Ruby | nerdyworm/launchy | aef2d4532748c3042883ed41230e05176282d0e0 | 34b5b2f88fb974a6ee9992b9d43dfd4e7e53761e |
refs/heads/master | <file_sep>import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
import { FormsModule } from '@angular/forms';
import { NavbarComponent } from './navbar/navbar.component';
import { LoginComponent } from './login/login.component';
import { SidenavComponent } from './siden... | 9c7a80bf275d8415774efa2e153322c1e5719385 | [
"Markdown",
"TypeScript"
] | 10 | TypeScript | Tangcuyu/KDTWZ | 688e5fa7f8c003e57ee539b1d0829ee1685165d3 | e12d8c422c3216c820897e6591271345273ce857 |
refs/heads/master | <repo_name>adeleinesantos/warmup.july26<file_sep>/app.warmup.js
var arr = ['Carmel', 'Oscar','Adeleine'];
var obj = {
FirstName: 'Diego',
LastName: 'Fierro',
grade: 10
}
| e18a1da5583f21d6a203241d0af8ffab68036567 | [
"JavaScript"
] | 1 | JavaScript | adeleinesantos/warmup.july26 | 49298367000ee7d0e9510fe6b15bbabdf19c4fdf | 8bdcefad711c8418880b5fb3aa44da88930fd53f |
refs/heads/master | <file_sep>#include <QCoreApplication>
#include <iostream>
#include "jordanelmannet.h"
using namespace std;
void main(){
JordanElmanNet net;
net.StartLearning();
net.GeneratePredictedSequence();
// int p = 2;
// int m = 6;
// vec input(p);
// mat X(m, p);
// for (int i = 0; i < m; i++)... | db1316529e55df6fbe65779904fb006573e7c9c7 | [
"Markdown",
"C++"
] | 3 | C++ | NastyaArt/MRZvIS_Lab_2 | a0072e337d4c10e68b2c7d01023882d73628c929 | 60d854bdc682c46ef3ac7ad217b5e24921d7b099 |
refs/heads/master | <file_sep>## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ---- eval = FALSE------------------------------------------------------------
# glm(formula, family, data)
## ---- eval = FALSE-----------------------------------... | 3ab4931dd17eef3f0ba3153e86e06a00e147809a | [
"R"
] | 2 | R | cran/gim | 2182d9a6cee5dd3455f36ad743018ec5f840fbc5 | a5a8ffddbb5b59ed1bb152ec24845227bf9ff390 |
refs/heads/master | <repo_name>nemidebyalep/Parcial_01<file_sep>/app/src/main/java/com/example/parcial_01/Materias.java
package com.example.parcial_01;
import android.app.Activity;
public class Materias extends Activity {
}
| 342b68a0c64601126707897c982a8802e4fb9cd5 | [
"Java"
] | 1 | Java | nemidebyalep/Parcial_01 | 757ec02d2c1bc22a52fc2d48206bc50603a93e59 | f6ce6f7f258ed838611a37f61a16193499ed1be0 |
refs/heads/master | <repo_name>andresmachado/djangogirlstutorial<file_sep>/blog/utils.py
from django.core.exceptions import PermissionDenied
def can_view_post(request, post):
if request.user.is_authenticated and post.author.id == request.user.id:
request.can_edit = True
return request
def can_edit_post(request, post)... | 5d83d908f9c1dde3930ae02556230eff703fdc9c | [
"Python",
"HTML"
] | 4 | Python | andresmachado/djangogirlstutorial | 09d95753ec3f2985a0f040ab3924b1041f1c8974 | 8cec76aa79dff6126625615d4927b9d80a0f7d76 |
refs/heads/master | <file_sep># -*-coding: utf-8-*-
import urllib.request
url = 'http://www.gsxt.gov.cn/index.html'
req = urllib.request.Request(url)
req.add_header('User-Agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11')
proxy = '172.16.58.3:83'
proxy_support... | 820989741288d692565718280617a43eabc0675d | [
"Markdown",
"Python"
] | 33 | Python | wananoner/translation-spider | f05182a6f948417b59547c28293614657d6e37db | f9360da166edb7e581987fd9a46cca922997289d |
refs/heads/master | <repo_name>Priyanka-M96/Scientific-Project-based-on-GPU<file_sep>/CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 3.5) #cmake_minimum_required(VERSION 3.10)
PROJECT(openCLDispatcher)
SET(CMAKE_CXX_STANDARD 11) #set(CMAKE_CXX_STANDARD 98)
#set(OpenCL_INCLUDE_DIR /opt/intel/OpenCL)
FIND_PACKAGE(OpenCL)
ADD_EXECUTABLE(o... | a05389e2fd7176ca330b626b60696846c2bde927 | [
"CMake",
"C++"
] | 3 | CMake | Priyanka-M96/Scientific-Project-based-on-GPU | 21b6e27b34a124e2b08b12da6a400ff64f26dc3e | d1e26c7e656ec5e506d3b39cfa1b135b3fb2608b |
refs/heads/master | <repo_name>dorofiykolya/ModuleLR<file_sep>/ModuleManager/Spells/SpellModule.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModuleManager
{
public class SpellModule : ModuleManager, ITick
{
public override void Initialize... | bb7c0168233f8873a0f84eec09e5a5fe25e6e21f | [
"C#"
] | 34 | C# | dorofiykolya/ModuleLR | 91bb94b0d1f80415d844636377e06653c11f3615 | d7a5b5b88036a3d99fc54c7e74c26c467a83f37f |
refs/heads/master | <file_sep>/**
* Created by hu on 2016/9/26.
*/
$(function () {
$("#imagegallery img").fadeTo("slow", 0.5);
$("#imagegallery img").hover(function(){
$(this).fadeTo("slow", 1.0); // 设置透明度为100%
},function(){
$(this).fadeTo("slow", 0.5); // 设置不透明度mouseout回到50%
});
});
function showPic(whichpic) {
if(!document.get... | 2e27f33df75ab623875d8c0a4e84574a0102845f | [
"JavaScript"
] | 2 | JavaScript | reborn33/huxia3 | a7dbd7bb49de49eead682af0a4c203ac41b3e2c1 | 6c70c80ce7a9d8c5bf4d1d13da99b7b528cb01b6 |
refs/heads/master | <file_sep>package com.project.pages;
import org.apache.log4j.Logger;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import com.project.base.BasePageObject;
public class LoginPage extends BasePageObject<LoginPage>{
private By emailfield=By.xpath("//input[@id='username']");
private By passwordfi... | 0bd7f68607d3c32c81adc0d7127e2442323b763e | [
"Java"
] | 5 | Java | sanjayvp/Auto3 | 0ed76757e0b12dbc11d461cf0bd8e912c31d3d42 | 90d407a76f8b0344a8e2b694f658fcce70d3ffe9 |
refs/heads/master | <repo_name>edwinsamodra/operating-system<file_sep>/so4/main_condition_var.c
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
int count = 0;
pthread_mutex_t count_mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t condition_var = PTHREAD_COND_INITIALIZER;
// Write numbers 1-3 and 8-10 as permitted by functi... | b28274c77db988773df9f2b20a7794e8949fbcb1 | [
"C"
] | 1 | C | edwinsamodra/operating-system | 0f9b8900ffbd66738a17189327348e9dcdffc7f2 | f171645bf33e6660a8ba30fda9b8ddc4db6b92fb |
refs/heads/master | <repo_name>zbanks/livid<file_sep>/Cargo.toml
[package]
name = "livid"
version = "0.1.0"
authors = ["<NAME> <<EMAIL>>"]
[dependencies]
dlopen = "0.1.5"
dlopen_derive = "0.1.3"
inotify = "0.6.1"
nix = "0.12.0"
libc = "0.2"
structopt = "0.2"
<file_sep>/src/main.rs
#![allow(dead_code)]
extern crate dlopen;
#[macro_use]
ex... | 65ed7f8d3ce0a4c30a24f93275be2e4008cb1a20 | [
"TOML",
"Markdown",
"Makefile",
"Rust",
"C"
] | 6 | TOML | zbanks/livid | 7a061e9987ac4c2dfac195de43776e6f0f90d56b | f2ef48413174a39a46ef519a8755e0e405b42111 |
refs/heads/master | <file_sep>// @flow
import { extractFiles } from 'extract-files';
import type { ErrorValues } from './Errors';
import Errors from './Errors';
import type { Method } from './flow';
import http from './http';
import { arrayToObject, clone, containsFile, emptyValue, hasOwn, isArr, isFile, isNil, isObj, isStr, isFunc } from... | c9eb18167d2f24fafb353f1b90ff7183ea9af2cf | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | Codeatron5000/formla | 7e29e333e594ec604e5e5d5e21f209037d8f18b2 | b39f1b837b6578bd0c03a5e39bd1c61b16d90deb |
refs/heads/master | <file_sep>######################################################
# ****************************************
# MRAA Test on Minnowboard Max \
# Using Yocto /
# /
# <NAME> \
# <EMAIL> /
# <EMAIL> \
# <EMAIL> ... | d18ecd57884a62ac3d9a32a28a2f3664cbb7cf10 | [
"Markdown",
"Python",
"PHP",
"C",
"C++",
"Shell"
] | 13 | Python | aehs29/yocto-workshop | 237ec6dbdb206b9c42d70bb925500dd69b863fa9 | c93a10e0c72227129a9fc3bd3070d5515892d74f |
refs/heads/main | <repo_name>GNVageesh/spaceremoverjs<file_sep>/README.md
# spaceremoverjs

# Installation
`npm install spaceremoverjs`
# Usage
```js
const srjs = require("spaceremoverjs");
srjs("This is a string with spaces");
```
`Output => Thisisastringwith... | 4d2b3868e27c4f7f493fef0772c262c4d24ab063 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | GNVageesh/spaceremoverjs | 2ec0cf320cfe03cf03d6cddd3501d5792fb13969 | 78a48d3c2e2b37e2d6f605db8f0f555a291c9f0b |
refs/heads/master | <repo_name>jjsalinas/estadisticas_liga<file_sep>/graficos_liga.py
# -*- coding: utf-8 -*-
"""
Created on Thu Jan 21 10:33:37 2016
@author: jjsalinas
Script para generar las gráficas asociadas a las estadisticas y datos contenidos en la clase info_liga
"""
import recoleccion_info
import matplotlib.pyplot as... | 3aad1a4e3ba172721ea38d9654e6ca267784cfc5 | [
"Markdown",
"Python"
] | 4 | Python | jjsalinas/estadisticas_liga | 26c14a8ca847d2027d773c7776789ed427085bab | 691d4210817bd366d120f4b7463431e140f8358c |
refs/heads/main | <repo_name>egomez3412/2-Player-Pong<file_sep>/README.md
# 2-Player-Pong :joystick:
Instructor: <NAME>
CPSC 362 - Foundation of Software Engineering
Team Members:
- <NAME>
- <NAME>
- <NAME>
## Project Description :memo:
This project is intended to be a 2-player game of ping pong that can be played on the same keyboar... | aa026ba89219aa112cb2088ab7d8f7917fc6340f | [
"Markdown",
"Python"
] | 5 | Markdown | egomez3412/2-Player-Pong | 238ad5f21abf2a6f44f30c1e5ddaf85bbc217b08 | 20e4f479eb77a9e591163528cd965935f276b0b0 |
refs/heads/master | <repo_name>incad/relief4<file_sep>/relief4-client/build.gradle
gwt {
gwtVersion = '2.8.1'
modules 'cz.incad.relief4.Relief4'
minHeapSize = "512M";
maxHeapSize = "1024M";
superDev {
noPrecompile = true
}
}
dependencies {
gwt "org.aplikator:aplikator:0.5-SNAPSHOT"
compile "org.... | 71ca0d76823a733d72257b05f6b4e3e6886d7021 | [
"Markdown",
"Java",
"INI",
"Gradle"
] | 7 | Gradle | incad/relief4 | b15ef9877455dcf097981bd91537da5d067f2441 | 1fe5e0436210df290b2cec81c9456b16ccaac69e |
refs/heads/master | <repo_name>ZejdKoco/Arduino-Home-Theater-IR-code<file_sep>/KucnoKinoIR.ino
/*
* IRremote: IRsendRawDemo - demonstrates sending IR codes with sendRaw
* An IR LED must be connected to Arduino PWM pin 3.
* Version 0.1 July, 2009
* Copyright 2009 <NAME>
* http://arcfn.com
*
* IRsendRawDemo - added by AnalysIR (via w... | 4968f14ec4573fa4414756df81545eab64431708 | [
"Markdown",
"C++"
] | 2 | C++ | ZejdKoco/Arduino-Home-Theater-IR-code | 38dd0215c703152639df65326a60157c3e957756 | 97a7992acbfa8c13b2fb75de64f8ff7e20db15b4 |
refs/heads/master | <file_sep>class mainScene extends Scene {
constructor(game) {
super(game)
this.init()
}
init() {
var game = this.game
this.bird = Bird(game);
this.background = game.imageByName('background')
this.background.x = 0
this.background.y = 0
this.score = 0;
this.pipes = []
for ... | 2bce655a8a5ef58f6cd1ddc244b3da6b8917dc05 | [
"JavaScript",
"Markdown"
] | 14 | JavaScript | zprad/guagame-pratice | fb812f1972cc5695d5a48d186360657a784d0f32 | 0a563c82467208c1976cf01081040125a84f2c57 |
refs/heads/master | <file_sep>package com.example.demo.algorithm;
import java.util.Arrays;
/**
* @ClassName com.example.demo.algorithm.SameNumBetweenTwoOrderArray
* @Description 找出两个有序数组的相同元素
* 数组int[] a = {2,3,3,5,7,11}
* 数组int[] b = {3,5,5,7,9,17}
* @Author lzx
* @Date 2019-12-26 9:55
* @Version 1.0
*/
public class SameNumBetw... | ba73ba306c2a74602b6848ce2d65a0ac799460de | [
"Java"
] | 2 | Java | liangzhixin/Data_Structures_And_Algorithms | a2afe82b58e49519837bf624c23a6ccd1bbf9da4 | d22627989ad625efdb25f40faae26a999b8ea3be |
refs/heads/master | <file_sep>/**
* Node server for serving website on Heroku
*/
var API_KEY = process.env.MAILGUN_API_KEY;
var DOMAIN = process.env.MAILGUN_DOMAIN;
const express = require('express');
const bodyParser = require('body-parser');
const serveStatic = require('serve-static');
const mailgun = require('mailgun-js')({
apiKey... | 485a2a4156f2af7450dc8025a71fc85b64b49400 | [
"JavaScript"
] | 1 | JavaScript | AgentMacklin/portfolio-website | b9b5a543238645d853d6fbb8b9002f121620ef13 | bffcfa4fc3a5f74e8cde1646b66947fe3e8f0903 |
refs/heads/melodic | <repo_name>hans-robot/elfin_robot<file_sep>/elfin_ethercat_driver/src/elfin_ethercat_manager.cpp
/*
* Copyright (C) 2015, <NAME>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code ... | c03419c6223d10b5f0719f9a0da41a00b7859e17 | [
"CMake",
"Markdown",
"Python",
"C++",
"Shell"
] | 43 | C++ | hans-robot/elfin_robot | cb8abeb49c096f75c8a92b9fac3425de5f889eec | 127e62362498080850867835febbbb21db8b7c89 |
refs/heads/master | <file_sep>module ComfortableMexicanSofa::Fixtures
def self.sync(site)
sync_layouts(site)
sync_pages(site)
sync_snippets(site)
end
def self.sync_layouts(site, path = nil, root = true, parent = nil, layout_ids = [])
return unless path ||= find_path(site, 'layouts')
Dir.glob("#{path}/*... | a5674f3690f19da6ee56c9ab6795e2fa14761679 | [
"Ruby"
] | 4 | Ruby | johnantoni/comfortable-mexican-sofa | 4e14ee8c72af31376dfc87b09dc561607b866358 | 0e2a9115533bb5c9afaa9be2f534ecda61e08d58 |
refs/heads/master | <file_sep><?
/**
* Heartland Portico Gateway interface classes.
*
* Primary abstract class 'portico' supplied in this file will allow connection to the Heartland Porico Gateway. Extension classes include:
* 1. BatchClose
* 2. CreditAddToBatch
* 3. CreditAuth
* 4. CreditReturn
* 5. CreditSale
* 6. CreditV... | 1a30b428eb8c0b74ba77dc3df50c97d9c2f3b5c9 | [
"PHP",
"Shell"
] | 10 | PHP | noxeternal/portico | eb65bc58e7f2201aed2d940d6e6e9750ecca734f | 7941c4659a2cd3941c4daaf0f3e14024ab40a72e |
refs/heads/master | <repo_name>CPrich905/buyvsrent<file_sep>/app.js
// function calcSave() {
// let savings = +document.getElementById('savings').value
// let interest = +document.getElementById('savings-interest').value
// let result = savings * interest
// let total = savings += result
// savingsInterestYr.innerHTML = result
/... | a6220220292f9e6353327bb35cb0d5fc27c5d546 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | CPrich905/buyvsrent | a8e0653ba7fe4d2889230d97cc9f1e668c888f63 | 01e090b453ea5ff0e608be7e1df547c894250fa6 |
refs/heads/master | <repo_name>atienzak/pic10c_homework1<file_sep>/README.txt
Siete y Medio - Assignment #1 | PIC10C Fall 2017 | Prof. Salazar
- This runs a simple game of Siete y Medio within the console. The game itself is
similar to Blackjack, where the cards are listed from Ace to Seven (values
1-7) and Jack to King (values all 0.5)... | bfd1fb2d1c0a4d96d6840334821a44fae28a1308 | [
"Text",
"C++"
] | 4 | Text | atienzak/pic10c_homework1 | 73aaedc8bf9cb71cbfa6592980885c5e05552083 | 2e93a1496773949161c4c4bf732a134ecbca3ca7 |
refs/heads/master | <repo_name>CaioBartholomeu/TimeConversion<file_sep>/TimeConversion/TimeConversion/ContentView.swift
//
// ContentView.swift
// TimeConversion
//
// Created by <NAME> on 11/08/21.
//
import SwiftUI
struct ContentView: View {
@State private var number = ""
@State private var selectedTime = 0
var times = [... | f0008acb3de4358fda38b50a47afb6aef9f8164d | [
"Swift"
] | 1 | Swift | CaioBartholomeu/TimeConversion | f4927ea2e08173977ce3227f6cfa49b8a9b7c417 | 4bee1b7fcbdc767202db804a72b6823ec7c2a83a |
refs/heads/master | <file_sep>language_detection
--------
To use, simply do:
>>> from language_detection import language_detection
>>> detector=language_detection()
>>> print detector.language_list() #list of 50 supported languages
>>> print detector.language_id(mytext) #The language ID of input text
>>> print dete... | c4dcb872d7cbd29bf38cef424faaa510bdaed4cc | [
"Markdown",
"Python"
] | 4 | Markdown | salarmohtaj/language_detection | 815a98ebf75b287e93b63d7ea81d63e297e21e04 | cc04c854862442ca7f545dbef9e8497e0e5bf6f1 |
refs/heads/master | <file_sep>package com.lol.josb.tarealogin;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import andro... | d3766ef35cd6b6fb36b78a97d28a59208ca12a69 | [
"Java"
] | 1 | Java | josomab2/TareaLogin | 93cc12a8f164347f7ab2554379706c79ce7ae161 | d740d27c5e1b9c97468c3c8440570cfe8b2604b7 |
refs/heads/master | <file_sep>source "https://rubygems.org"
gem 'rake'
gem 'sinatra'
gem 'sinatra-contrib'
gem 'haml'
gem 'httparty'
gem 'encrypted_cookie'
# Sass & Compass
gem 'sass'
gem 'compass'
# Database
gem "pg"
gem "activerecord"
gem "sinatra-activerecord"
# GitLab API
gem 'gitlab'
# Web server
gem 'unicorn'
group :test do
... | da50cd6e0a819a11c5508017d4deabfd436a7aa6 | [
"Markdown",
"Ruby"
] | 13 | Ruby | dzaporozhets/gitlab-time-tracking | 0fc4154eeec24ce776791ce68086c4b090f429eb | 10f2f56587ba3a16f9e9ec23c4cd30a9a2c12b90 |
refs/heads/main | <file_sep>var button = document.getElementById("clickme"),
count = 0;
button.onclick = function() {
count += 1;
// button.innerHTML = count + " people chose this too!";
button.classList.add('correct');
}
// document.getElementById("clickme")addEventListener('click', function()
// {document.getElementById("clickme... | f8be2b1d49b5e97a684dd2dcb3beb683e1521e75 | [
"JavaScript"
] | 1 | JavaScript | dinakhalil1/thesiswebsite | fa1898c938d7bbc5583cc14a41367cc44c4bc1a8 | 9581da03dd133c66a60a3ddb9e0e3bde6c57ce50 |
refs/heads/master | <file_sep>from django.http import HttpResponse
from django.shortcuts import render, redirect
# Create your views here.
from mall.models import User, Miaosha, Wrapper
def index(request):
username = request.COOKIES.get('username')
miaoshalist = Miaosha.objects.all()
wrapperlist = Wrapper.object... | 10c740bcad8a209d736e701905fe60a0274d755e | [
"JavaScript",
"Python",
"HTML"
] | 8 | Python | Gavin923/dogshop | 17c9b8b929dc88d32ce7089a4ed2cbd614249dad | b0e8f81d823415750365799b2a70a52766fb249f |
refs/heads/master | <repo_name>phillipalee/MVCControllerDI<file_sep>/insert_into_records.sql
use [RecordDB]
insert into Records (howMany) values (5)<file_sep>/RecordRepo.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MVCControllerDI
{
public class RecordRepo : IRecordRe... | 8569f40c4d68b3be751443ba22da12c63e64b3b9 | [
"C#",
"SQL"
] | 7 | SQL | phillipalee/MVCControllerDI | a6f84251213eb71f15364c17e669676ee56541fb | 46c3ee66d36de71740086c359e4eb10e7a9254f3 |
refs/heads/master | <repo_name>onuryilmaz/BundleExample<file_sep>/src/main/java/me/onuryilmaz/bundle/example/BundleReaderTest.java
package me.onuryilmaz.bundle.example;
import java.util.Locale;
/**
* Main class for {@link BundleReader}
*
*/
public class BundleReaderTest {
public static void main(String[] args) {
String name = "... | bde86ff5cec7de8fc72861952ab00d9b2b503434 | [
"Java",
"INI"
] | 5 | Java | onuryilmaz/BundleExample | 148f15ca0da4755dc9f7c3cd2c859d4280f9f74d | ccfb7a68678005cca6f997582656a37ab1ec56c9 |
refs/heads/master | <file_sep><?php
/*This file should receive a link somethong like this: http://noobix.000webhostapp.com/TX.php
If you paste that link to your browser, it should update b1 value with this TX.php file. Read more details below.
The ESP will send a link like the one above but with more than just b1. It will have b1, b2, ... | 70b87e6796deb8bca9a896465fc88d16f72c007e | [
"Markdown",
"C++",
"PHP"
] | 6 | PHP | Tarster/HackVsit | 7bca5189ea9b75fc84c0fda6feb1799fd00eb8e2 | aea16fe5047c40ab5edae9c0fcc9339847947280 |
refs/heads/master | <file_sep>var CfnLambda = require('cfn-lambda');
var AWS = require('aws-sdk');
var Uploader = require('./lib/password');
function PasswordGeneratorHandler(event, context) {
var PasswordGenerator = CfnLambda({
Create: Uploader.Create,
Update: Uploader.Update,
Delete: Uploader.Delete,
SchemaPath: [__d... | be5550045654ddbe87dc9b6e4ce20926794b1d50 | [
"JavaScript",
"Markdown",
"Shell"
] | 4 | JavaScript | mazerte/aws-cloudformation-password-generator | f37ca1db1f78d9fecc97dc0023defe963f3a41ae | 4cc73ff7d932133b5c994f8972586f29f541b1d1 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
namespace capitaltoday2.Helpers
{
public class EmailTemplateHelper
{
public static string GetTemplate(string name)
{
string filepath = System.Web.HttpContext.Current.Serv... | ad8a5398b6ee6fbd0dd55f00acd4582779c1400b | [
"C#"
] | 8 | C# | blueberry20/capitaltoday | 3bba9f77a0933f0815d36dca2e7ca148652e28a2 | d48be0e6fdef5ecc7cf13577f4b2b4192249ecc7 |
refs/heads/master | <repo_name>leohlgctzby/react-gzhipin-client<file_sep>/src/redux/action-types.js
export const AUTH_SUCCESS = 'auth_success' //注册或者登录成功
export const ERROR_MSG = 'error_msg' //注册或者登录错误提示信息 请求前/请求后
export const RECEIVE_USER = 'receive_user' //接收用户
export const RESET_USER = 'reset_user' //重置用户
export const RECEIVE_USER_LIS... | 5e2892ba62ed4eecd4d66efee89b2db761209b61 | [
"JavaScript"
] | 2 | JavaScript | leohlgctzby/react-gzhipin-client | 9c87b6358210591e27b20a178f1d1b409b7980a9 | 6542b4fb68d2b343b12d79fe1d6da6eeaeee501c |
refs/heads/main | <repo_name>sergeantsnape/pygame-snake<file_sep>/snake.py
import random
import time
import pygame
pygame.init()
screen = pygame.display.set_mode((500, 500))
pygame.display.set_caption("Snake.exe")
clk = pygame.time.Clock()
def text_msg(n, s, x, y, c):
base_font = pygame.font.Font('Poppins-Bold.ttf', n)
text ... | 381d0b985377fe07ae6ec00fb88cfd13c087a50f | [
"Python"
] | 1 | Python | sergeantsnape/pygame-snake | 869a12f506a1cba7fe82b7a3cb414d15b33280ef | 3c9c0933e9e067077f520d932acea4cd7d197074 |
refs/heads/master | <repo_name>Inch129/AppBoosterTask<file_sep>/App.js
import {StackNavigator} from 'react-navigation';
import MasterActivity from "./MasterActivity";
import DetailsActivity from "./DetailsActivity";
const Navigation = StackNavigator({
Master: {
screen: MasterActivity,
},
Details: {
screen: De... | 091e793e380532c38c8bfd5a8d95c4f5c0bef1b5 | [
"JavaScript",
"Markdown",
"Gradle"
] | 7 | JavaScript | Inch129/AppBoosterTask | f63c65ad46d6f808c12acde3b563b64c067a347c | ac7a6f1c0fb63bc93472e39a9d7542bce6998784 |
refs/heads/master | <file_sep>FROM centos:centos8
# Install the needed bits for centos
RUN set -ex; \
yum -y update; \
yum -y install openssl-devel postgresql-devel gcc gcc-c++ make git
# Build jsonP and install as a shared lib
ENV jsonp_src src/jsonP
ENV jsonp_dst /opt/jsonP
ENV bld /opt/build
RUN set -ex; \
mkdir -p {bld}; \
mkd... | b750435a431fae24280c46a44dfd25dee68086a5 | [
"Makefile",
"Dockerfile",
"Shell"
] | 6 | Dockerfile | ErikDeveloperNot/sync_server_docker | b394d937db4d579b9976ea3c38001f4fb80aada0 | a440acd2bafbaad55a66cdf5c5dc6736d3026ad4 |
refs/heads/main | <repo_name>JHardisty333/fluffly-waddle<file_sep>/README.md
# NoSQL: Social Network API
## Week 18 Challenge
## Scope
An API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list.
## Demostration
The following animations demonstrate the appli... | 0f2f46a8b329d3221fc213d41737f342b581387c | [
"Markdown",
"JavaScript"
] | 4 | Markdown | JHardisty333/fluffly-waddle | d02065e9c8129c9fe3eec6ba94885df44534a665 | f186475d0379e597422c5f0ec1b86078eecff9b3 |
refs/heads/master | <file_sep>from __future__ import unicode_literals
from django.apps import AppConfig
from django.shortcuts import render
from service.views import swarm_client
class MonitorConfig(AppConfig):
name = 'monitor'
<file_sep>[flake8]
exclude = */migrations/*,mathilde/settings_docker.py
max-line-length = 160
ignore =
<... | 19f487b977c05ed60935b157210311d8c8c361a3 | [
"Markdown",
"Makefile",
"INI",
"Python",
"Text",
"Dockerfile",
"Shell"
] | 47 | Python | xiaoyaosheng/weitac_gateway | 7168dd1c35975caf9e44c915dff6cf6e304e2474 | 39e1c28c491486efc8d30ee108c30fe6592172bd |
refs/heads/master | <repo_name>helloworld466/sonarqube-project2<file_sep>/sonar-project.properties
sonar.projectKey=Final
sonar.projectName=Final
sonar.projectVersion=1.0
sonar.sources=.
sonar.sourceEncoding=UTF-8
sonar.host.url=http://172.24.125.69:9080
sonar.projectBaseDir=/var/lib/jenkins/workspace/sample
<file_sep>/README.md
# sonarqu... | d3de2773fbf3063cc370627960c3e9d8e7f5f1e2 | [
"Markdown",
"Java",
"INI"
] | 3 | INI | helloworld466/sonarqube-project2 | bd2e477bb4cf273e3b4b4a0b76d2179f6754251a | 5e7e22fb28e088153a2c912dd4216014e82c2b21 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { AuthService } from './core/auth.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
title = 'app';
isAuth: boolean = false;
... | 1f267de78918679f03a4cf7cbb872ff6028e231c | [
"TypeScript"
] | 20 | TypeScript | ashinzekene/meet-me | 996d34fd31acc14cc055dcdb3f1e85fb0f36b91f | 4a28a3eaa1e579735759d90b1b5fab36016bbcf6 |
refs/heads/master | <repo_name>uit-no/hpc-doc<file_sep>/applications/chemistry/Dalton/firsttime_dalton.rst
.. _first_time_dalton:
================================
First time you run a Dalton job?
================================
This page contains info aimed at first time
users of Dalton on Stallo. Please look carefully through the
prov... | 77481cc7458a487104a0f6d6c1850ee80cec456c | [
"Markdown",
"reStructuredText",
"Shell"
] | 28 | reStructuredText | uit-no/hpc-doc | 5f3f2f25d16fb1ef13ff0eebbe2c20e56821b2ef | eaf9cf6303836ea93ec898164898b32ceb2493ef |
refs/heads/master | <repo_name>BKSum/hackerrankjava<file_sep>/src/main/java/introduction/Loops.java
/**
*
*/
package introduction;
import java.util.*;
/**
* @author Brandon
*
*/
public class Loops {
/**
* @param args
*/
public static void main(String[] args) {
Scanner in = new Scanner(System.in);... | ac51955ea002d1f5babc0be8553e9b2b44901e81 | [
"Java"
] | 1 | Java | BKSum/hackerrankjava | d0c4876b0b2d924470b943bba4b132d4e535dbd1 | 40ed2d9931eca26daf716c104c6a515f0602b3a5 |
refs/heads/develop | <repo_name>EziamakaNV/purelykels<file_sep>/src/Components/Home.js
import React, { Component } from 'react';
import Header from './Header';
import Footer from './Footer'
class Home extends Component {
render(){
return(
/* React.fragment helps reduce the amount of nodes
i.e eliminates... | 9f09debab7189fd39d420a8110858f9de35a3fc7 | [
"JavaScript"
] | 3 | JavaScript | EziamakaNV/purelykels | f45e8dd99bf8f913e8feebf8af64843c8d4aced2 | 479e022a74488321e51f7d4f367cd59c67a5d2ba |
refs/heads/master | <repo_name>raml-org/raml-cli<file_sep>/src/commands/mock.ts
/**
* This command handles requests to mock a specific API specification. Mocking
* means to generate a fake service based on the examples defined in the spec
* for any endpoint.
*
* This command is using the raml-mock-service implementation underneath.
... | 9bbe1be3882e37eb42df52b5588f8090e3ff372d | [
"Markdown",
"TypeScript"
] | 5 | TypeScript | raml-org/raml-cli | 647690f0e9f24de6c2d5c9e7c43c4ea3079a82f8 | a1759bc63614bb0ab020a51005e59a9c4c7421e9 |
refs/heads/master | <repo_name>harshumakkar/projects<file_sep>/README.md
# projects
This repository includes Calculator and Tictactoe that I made using Java.
<file_sep>/tictactoe.java
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class tictactoe implements ActionListener
{
Frame f;
JTextField tf1;
JButton r... | a0639af94b4bc21ed953057323e86d75da0c5578 | [
"Markdown",
"Java"
] | 3 | Markdown | harshumakkar/projects | 03b5f1ecb401e51f939183c957087ffb5683dbed | 1d4008d4a10a2753a23121796010a3f89042ad9e |
refs/heads/master | <file_sep>use syntax::ast;
use syntax::ptr::P;
use component_builder::ComponentBuilder;
use syntax::ext::base::ExtCtxt;
#[derive(Debug)]
pub struct ECSBuilder {
pub component_builders: Vec<ComponentBuilder>
}
impl ECSBuilder {
pub fn build(&self, context: &ExtCtxt) -> Vec<P<ast::Item>> {
let component_indices... | 1f556a64eb1168ad1d42771848b5476227485a7d | [
"TOML",
"Rust"
] | 6 | Rust | rschifflin/rust-component-store | f6d79138458ef3a7d0e7e1d39d32624b4f957924 | 9497f79f139b9a4b0836eb427a6d437987b1a956 |
refs/heads/master | <repo_name>kevinpost/IT202-fullstack-prototype<file_sep>/public/js/application/common/pages/form/Field.js
define([
'app'
,'marionette'
,'text!./Field.html'
], function(
App
,Marionette
,tpl
) {
'use strict';
return Marionette.ItemView.extend({
template: tpl,
events: {
... | 25b0338f2e837fa904c1882638c443b74be7be04 | [
"JavaScript",
"Markdown"
] | 22 | JavaScript | kevinpost/IT202-fullstack-prototype | 8e05b34a698d8287e43658268a6197b7cd707f7b | fd78a9b562b3310219baef140917653bca1361b5 |
refs/heads/master | <file_sep># Programming Assignment 1
This repository is used as a way to provide to students
a starting point for CSC 220 Programming Assignment 1,
as well as a way to turn in the assignment.
Programming Assignment 1 is based on
[Programming Project](http://proquest.safaribooksonline.com/9781284141092/sec10_10_7... | 8c3df9d596e94f51acf22368ac50d2077d7b49f6 | [
"Markdown",
"Java",
"C"
] | 28 | Markdown | schrotbe2021/Mount_Union_CS | 0da1434247bd3c4a425d2c6ce94809df478aada2 | eb4abe5f3150cef3ab711791f7a1540d107d0e34 |
refs/heads/master | <repo_name>strausd/ReactWeather<file_sep>/example-promise.js
// function getTempCallback(location, callback) {
// callback(undefined, 78);
// callback('City not found');
// }
//
// getTempCallback('Dallas', function (err, temp) {
// if(err) {
// console.log('error', err);
// } else {
// ... | df35795a283ecbbbacbdbc4a0be6475b63ba9ee9 | [
"JavaScript"
] | 1 | JavaScript | strausd/ReactWeather | 2640359177accf6ee6a3dd9a2aa27df3b3db8afe | f2ce9476e2b67f24cdb5fd500ed9020f748450af |
refs/heads/master | <file_sep>package com.debug.steadyjack;
import com.debug.steadyjack.service.InitService;
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.Spr... | 059ef36a34aa0c479f1b3a9b09b8b8ff835cfb68 | [
"Java"
] | 1 | Java | mmmmyan/RabbitMqWithBoot | bfcc6947cedafb4204560d7c1629bf0e750e4cea | ac486d69e34f03a803aaaa985fbe0207239f958d |
refs/heads/master | <file_sep>let express = require('express');
let morgan = require('morgan');
let bodyParser = require('body-parser');
let mongoose = require('mongoose');
let jsonParser = bodyParser.json();
let {StudentList} = require('./model');
let app = express();
app.use(express.static('public'));
app.use(morgan('dev'));
app.use(... | b02c45eccc39e809e24b88448c4697ab489a6a68 | [
"JavaScript",
"Markdown"
] | 27 | JavaScript | moyfdzz/web-development | f96c2cd94ade62424c3ee3d5c00d18f461e4c43d | 830ac7420c0e481774a8d108a6db6d568a7fbf3b |
refs/heads/master | <file_sep>public class ExtendedClass extends BaseClass {
protected void base() {
System.out.println("I'm the extended TWO implemetation");
}
}
<file_sep>#!/bin/sh
set -e
echo "Cleaning up"
#find . -name \*.java | xargs javac
find . -name \*.class -delete
echo "Compiling top-level classes"
javac *.java
pushd exten... | d4f6e1bde22b6db435d2c9042f9e5e4fe625a76a | [
"Java",
"Shell"
] | 4 | Java | gleenn/overriding-loaded-class-playground | 8f20b0b8f3ee4526b8278bd0203204a36ebb9c75 | c7b76f398ff429fb02184cfa83ee1de80483d2cd |
refs/heads/main | <file_sep>## When preparing Coding Interview, you are assessed to have:
1. Analytic skills: How can you think through a problem. thought process.
2. Coding Skills: clean, organised, readable.
3. Technical Skills: understand fundamentals, not memorising?
4. Communication Skills: fit well, work well?
## Know the exista... | 3dafb3e04a7aa36860827f54795c64b72e683857 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | David-Myeonghan/2_For_Coding_Interview | d6a7292133068f0a13ae4389abf4a39c8039da36 | fa37678cbe8b96f48ee239555fc90b96001e633b |
refs/heads/main | <repo_name>Shambonik/MusicJumpServer<file_sep>/musicjump/src/main/java/com/example/musicjump/controllers/RegisterController.java
package com.example.musicjump.controllers;
import com.example.musicjump.DTO.RegistrationDTO;
import com.example.musicjump.DTO.SuccessDTO;
import com.example.musicjump.services.UserService;... | d37ed4a5fdde71b4b9d1fb3c3b4fdc7395c18cce | [
"Java"
] | 3 | Java | Shambonik/MusicJumpServer | 66d547d78ab1f34177b5940ec19f457f3cfe650b | b6687b284eee9b7d4507b2493e04d4ec0c646a5b |
refs/heads/master | <repo_name>ClaudioAmato/moodify-spotify<file_sep>/client/src/app/services/manumission-check.service.spec.ts
import { TestBed } from '@angular/core/testing';
import { ManumissionCheckService } from './manumission-check.service';
describe('ManumissionCheckService', () => {
let service: ManumissionCheckService;
bef... | 804c912f55959a6ee99c30f6a63192a1d0ad4e1b | [
"Markdown",
"TypeScript"
] | 28 | TypeScript | ClaudioAmato/moodify-spotify | 540e995d9849eb5b78a1be715f9b1ae7625dc6c5 | 049710e66bddf28bc7b21d7168c87d9d8d01fda6 |
refs/heads/master | <repo_name>wwarne/quest_scraping<file_sep>/svexitru/user_agents.py
user_agents = {
'chrome_windows': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)'
' Chrome/47.0.2526.73 Safari/537.36',
'chrome_linux': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTM... | 467cd053e32edfe3d8bf28990fca729416766896 | [
"Python"
] | 13 | Python | wwarne/quest_scraping | 62124e53b2abb01dc77f55f1c269ef2d36ab9b66 | f294a57febe0563a97bb3c1b2f61cef7651e833a |
refs/heads/master | <file_sep>#!/bin/sh
cd ../qpf/build
node r.js -o config.js
cp ../dist/qpf.js ../../epage/static/lib/qpf.js
cp ../src/style/base.less ../../epage/static/style/qpf/base.less
# cp -r ../src/components/less/images ../../emage/example/static/style/qpf/images<file_sep>define(function(require){
var qpf = require("qpf");... | 0e638549ba646dae70721c56ddcdafac9103ec6f | [
"JavaScript",
"Shell"
] | 9 | Shell | chalecao/epage | 9e5449a37336117b556361da196da821e0654381 | 7d5eb6bc2450a2906f2a80c5479dfc0a54abc33e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.