branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>require 'socket'
require 'timeout'
class Komunikator
def sender msg, ip, port, size
@klient = UDPSocket.new if @klient.nil?
@counter = 0
msg = msg.scan(/.{1,#{size.to_i}}/)
msg.each { |s|
@counter += 1
s = s.bytes.to_a
s = s.insert 0,@counter
@klient.send(s.p... | cbff52ed744c1a543bdfb6e6a309c0a2e05222e9 | [
"Text",
"Ruby"
] | 2 | Ruby | msidlo/udp_komunikator | 2cc9a524096db61357790790ad6a26af4dd88688 | 4d2573d845224e770f55489b8d35e83691936a6c |
refs/heads/master | <file_sep>package Project.CGPA;
public class Course {
private String name = "";
private double credit = 0.0;
private double grade;
private String letterGrade = "";
private static double totalCreditEarned = 0;
public Course() {
}
public Course(String name, double cred... | 9317d77fa7f0838d7af2cd746015f31be6021873 | [
"Markdown",
"Java"
] | 2 | Java | ashik5757/CGPA_Calculator_JOptionPane | d7b7f36c184edcecc8154a5454baab1cbff0ff0c | d593028b1e99209d99a8a86977e6e04107f8c375 |
refs/heads/master | <file_sep>import React from "react";
import styled from "styled-components";
import logo from "../images/logo.png";
const HeaderNav = styled.nav`
background-color:white;
width:100%;
position:fixed;
top:0px;
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.55);
img{
position:relative;
cursor:pointer;
widt... | 48795de7f5e9464cff2927391baf1f7e15efc666 | [
"JavaScript",
"Text",
"Markdown"
] | 9 | JavaScript | SpencerCooley/sc-marketing | 2b51df0548a2f53bbd0f209bcbf3141af18730d7 | 297db333103fa75ce2645b251801cc455fe12e41 |
refs/heads/master | <repo_name>Sujal1/SAD-Moodle-Android<file_sep>/Moodle/src/ait/cs/sad/moodle/MainActivity.java
package ait.cs.sad.moodle;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.annotation.TargetApi;
import android.app.ActionBar;
import android.app.ProgressDialog;
import an... | c07d7b58fa611c57466245c8a07fa3fbbd31074e | [
"Java"
] | 4 | Java | Sujal1/SAD-Moodle-Android | 3f56c1235ff9024715b923f9345302e071a3d95b | cb827f47af4602edb5b7cffd787ee6ad5f79fa97 |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Yajra\DataTables\DataTables;
use App\JenisBuku;
class JenisBukuController extends Controller
{
public function index()
{
return view('Kategori.index');
}
public function create()
{
//
}
... | d1491d165308762a3482461c206f117029e56057 | [
"PHP"
] | 9 | PHP | Refandi/E-Literature | 2f17b4cf9e8e756c8067ca248d63c97aa713f0d7 | 23e28b26e2be66f8d513645a51947acb38d058f3 |
refs/heads/master | <repo_name>yoana19/Frankenstein-Text-Game<file_sep>/FrankensteinProject.py
while True:
print("\n")
print('^'*80)
print("\n")
print("# Copyright 2018 <NAME>")
print('\n')
print ('-'*80)
print('Frankenstein - The Game'.title())
print("\n")
print ("Welcome to Frankenstein! You are goin... | 63f6d7260bf844f151e25d3a5f080e5758fd3b55 | [
"Python"
] | 1 | Python | yoana19/Frankenstein-Text-Game | f13a3c0f8351a3103d0413cb97bd069f5d229f21 | 75e64a58dbb5e89835f35f1147615f2b68cfc6be |
refs/heads/master | <repo_name>ljlbak/dhtml<file_sep>/js/upload.js
function uploadFile(url,files,options) {
var xhr = new XMLHttpRequest();
xhr.open('POST', url, true);
var formData;
// 用FormData来发送二进制文件.首先在HTML中要有一个包含了文件输入框的form元素
formData = new FormData();
formData.append('key', key);
formData.append('token',... | 1bb3a97898c699b8f9ae7d9b9c331bbafab009df | [
"JavaScript"
] | 1 | JavaScript | ljlbak/dhtml | dd6b9276900952f5d78e9b26d2bec2158e436279 | 6e61ab9e927f762c2080a4622dafe9556b95bf90 |
refs/heads/master | <repo_name>spuzz/Dragon_Hunter<file_sep>/Assets/Characters/SpecialAbilities/Whirlwind/WhirlwindBehaviour.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RPG.Characters
{
public class WhirlwindBehaviour : AbilityBehaviour
{
public override void... | 2980256a6cd67441c2c06f8cdfdf0964c7bc9b1e | [
"Markdown",
"C#"
] | 15 | C# | spuzz/Dragon_Hunter | fd0610a74ce3fa59b733be2b7eec486a6966d6e5 | 648e357753aea582271832833fabf593bb33125b |
refs/heads/master | <file_sep>package com.innovate.modules.declare.service.impl;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.innovate.modules.declare.dao.DeclareRetreatDao;
import com.innovate.modules.declare.entity.DeclareInfoEntity;
import com.innovate.modules.declare.entity.DeclareRetreatEntity;
import com.inn... | 5519da87b89f13280ba9f5a7036ef2775e3c18c3 | [
"Markdown",
"Java",
"JavaScript"
] | 193 | Java | mingji33/innovate | b165a018e6d36e8c918b361d84ac71aa45bf2edb | f2a033bb8eee717b906a3c9556ee775c6a8ee5ce |
refs/heads/master | <repo_name>CalvinGonsalves/EcommerceApp<file_sep>/app/src/main/java/com/example/calvingonsalves/ecommerceapp/ProductDetailsActivity.java
package com.example.calvingonsalves.ecommerceapp;
import android.app.Activity;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.Colo... | 488a4c4fe1af0bac4e99036d569259a0715e16f1 | [
"Java"
] | 1 | Java | CalvinGonsalves/EcommerceApp | fa4c6f948bcbe156f35907caa85bcc13d419ac0d | 61a70287d033f95c5148f1e5ac320a40e26299a1 |
refs/heads/main | <repo_name>c-bartell/sweater_weather<file_sep>/app/controllers/api/v1/road_trip_controller.rb
class Api::V1::RoadTripController < ApplicationController
def create
if params[:api_key] && User.find_by(api_key: params[:api_key])
render json: RoadTripSerializer.new(road_trip)
else
render json: { err... | 74e78e68bb09cbd5a9cdfd80302f91f0f7ba3789 | [
"Markdown",
"Ruby"
] | 36 | Ruby | c-bartell/sweater_weather | 12347fd1e78661e40c97e5d2a0777dfa2f19da0e | 4bfc97e6d864066ced5f8d7713c9437a1b286296 |
refs/heads/master | <repo_name>chen-sella/crm-dev-assignment<file_sep>/src/app/cmps/candidate-preview/candidate-preview.component.ts
import { Component, Input, OnInit, Output, EventEmitter } from '@angular/core';
import * as moment from 'moment';
import { AlertService } from 'src/app/services/alert.service';
@Component({
selector: 'can... | 62673b16bd27ee747e29b61205ad0ef878b2ea2c | [
"TypeScript"
] | 11 | TypeScript | chen-sella/crm-dev-assignment | c5f05e67bda9ffdb881cad7b9acb9644dda60339 | f5322bfd42a5e38571f2168243c7a9af838937eb |
refs/heads/master | <repo_name>mnikolop/Game_unity<file_sep>/Assets/scrips/LoaderScene.cs
using UnityEngine;
using System;
using UnityEditor;
using System.Collections;
public class LoaderScene : MonoBehaviour
{
public string name = "name";
public int health;
public int armor;
public int attack;
public int defence;
private float s... | be5b8b8dd2ff86d068f68dfa4c79d035c643851a | [
"Markdown",
"C#"
] | 4 | C# | mnikolop/Game_unity | fc84db2697ce66e33323c887b2dc76bf04c2ffbd | aba8bc129a89801f677b54133fcad96ee08d89aa |
refs/heads/master | <file_sep>var express = require('express');
var ejs = require('ejs');
var fs = require('fs');
var app = express.createServer();
var io = require('socket.io').listen(app);
app.register('.ejs', ejs);
// use POST
app.use(express.bodyParser());
app.get('/', function(req, res) {
var read = fs.createReadStream(__dirname ... | 02351ab36e122e60493a34b880b943b3ac3d643d | [
"JavaScript",
"HTML"
] | 24 | JavaScript | ishikawam/html5slides | 1dc54a505d0ce798a8429f77285fc88779faad74 | 73a705b8195ed40906051d5700e95f76b052541c |
refs/heads/main | <file_sep>//
// File.swift
//
//
// Created by 이가영 on 2021/02/28.
//
import Foundation
import Vapor
struct Product: Codable {
var id: Int
private var name: String
private var price: Double
private var description: String
init(id: Int, name: String, price: Double, description: String) {
... | 5926221bd0e5920a17f102a8770d3f042d1d9588 | [
"Swift",
"Markdown"
] | 13 | Swift | Ga-yo/What-is-Vapor | 1d565560c1a4fd9b6fa7a569aa5d199434bf73ea | e5eb34bcb906c914644a4b2c594083e4ce648939 |
refs/heads/master | <repo_name>davedub/vuebelle<file_sep>/README.md
# Vuebelle
First time Vue.JS project based on a Seattle Web Developers Meetup presentation given by [<NAME>](https://github.com/cassidoo) in April 2018, entitled "The Vue is good from here!" Pretty much the same as [Cassidy's live coded project](https://github.com/cassid... | b14908d11b7036fb7c106a9595fd788b308e6275 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | davedub/vuebelle | 071ec7eb01a06abfed7edc87247f92dfe72160f9 | 1b6c6e29a04bf2ef129fad6057c03a06cfa62a26 |
refs/heads/main | <repo_name>Jon-Alc/pastel-cells<file_sep>/src/Main.js
import React from 'react';
import Grid from './Components/Grid';
import './index.css';
class Main extends React.Component {
constructor() {
super();
this.speed = 100;
this.rows = 30;
this.cols = 30;
this.activeRenders = "5"; // how many ... | eea040f44fa16b07e2c90540d853db1e58358c37 | [
"JavaScript"
] | 2 | JavaScript | Jon-Alc/pastel-cells | b37126bf01e80200a83a95430a45b50288b4e7a6 | 7ba177093f616d232259e3cf78153159a92a8f4c |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Expense;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class MainController extends Controller
{
public function index(){
//$monthly_expense = DB::table('expenses')->select('amount')->where('created_at',date('y-m-d'))->sum('amount'... | 74031766b3d4bcd4361fba9a46153125749fce43 | [
"PHP"
] | 11 | PHP | sukanta7660/bachelor-point | a09c4034920a170b427aa9c889671c296ffe0549 | 50d43d5d02473543bc9bb86f1c2bea3e9abb5609 |
refs/heads/master | <repo_name>morloclib/linear-algebra<file_sep>/linear_algebra.py
import numpy as np
def pool(m, f, I, J):
rows = list()
for i in range(0, m.shape[0] - I + 1, I):
cols = list()
for j in range(0, m.shape[1] - J + 1, J):
cols.append(f(m[i:(i+I),j:(j+J)]))
rows.append(cols)
r... | 6a82d2d00ff17c976536a5faa1aaf501a9254d69 | [
"Markdown",
"Python",
"R"
] | 3 | Python | morloclib/linear-algebra | d37bc5294f16558921dbcb4943a2cf7c39060641 | faea20582313be8eea7738482a453e7b9a49348f |
refs/heads/master | <repo_name>tsukuga/react-practice<file_sep>/Jugement/core.js
export default class core {
jugement() {
// 卒業要件をループさせる
for (let i = 0; i < Youken.length - 2; i++) {
presentYouken = Youken[i];
// 必修科目でなければ、次のグループへ
if (isHissyuukamoku(presentYouken.category1_min)) return;
// 成績データをループ... | a919c874c4e820d79a7963e519a3e0ef286356ea | [
"JavaScript"
] | 1 | JavaScript | tsukuga/react-practice | 88349b034a322dab9262098a7a53e0577a73d0c1 | eda2a1adc74096387f9e0c5a606647dba915d1a1 |
refs/heads/master | <repo_name>edwrodrig/simple_app_qt<file_sep>/files/deploy-win.sh
emake clean
emake
rm -rf deploy
mkdir deploy
cp build/tundra-piechart*.exe "deploy/"
cd deploy
QTPATH="/c/Qt/5.4/mingw491_32"
TARGETDIR="."
SOURCEDIR="."
function r {
cp -f "$QTPATH"/"$SOURCEDIR"/"$1" "$TARGETDIR"
}
function rdir {
rm -rf "$TARGETDIR"
... | 3a487ae35f6dcc39efca8b50a552a1c9eee76b2b | [
"Markdown",
"C++",
"PHP",
"Shell"
] | 7 | Shell | edwrodrig/simple_app_qt | 0ac43e1c0741e01d899027c28ae8ecc5830c0c3a | e8fb35f013f948d6481cf805a86e5c7475e9d30c |
refs/heads/main | <repo_name>NALZA/fmentorInteractivePricingComponent<file_sep>/client/src/App.js
import './App.css';
import PricingComponent from './components/PricingComponent';
function App() {
return (
<div className='App'>
<div className='intro'>
<p className='large-text'>Simple, traffic-based pricing</p>
<p classNam... | cff7b11fa85c34025a36eed4fbe2b16d76615a24 | [
"JavaScript"
] | 1 | JavaScript | NALZA/fmentorInteractivePricingComponent | 9794a337e13e70958ef2780dde03e6b16e0d3df4 | 1ffcc674aee36a30e28412d7d7379fe9402fda02 |
refs/heads/master | <repo_name>zhouhao27/create-phaser<file_sep>/templates/typescript/src/scenes/main.ts
export default class MainScene extends Phaser.Scene {
constructor() {
super({
key: "MainScene"
});
}
preload(): void {
}
create(): void {
}
}
<file_sep>/templates/typescript/src/scenes/boot.ts
export defaul... | 16780bbc0520c1d3791a3c98ce2b12af0b9d17c0 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 9 | TypeScript | zhouhao27/create-phaser | b7afa0c702f1d0fd7d4c13a2f41f4719413dbb94 | df238cf7d863fc493facde704c826a13d04524a8 |
refs/heads/master | <repo_name>LucaBert89/LAKE-WEATHER-MAP<file_sep>/script.js
const cityBtn = document.getElementById("addcityBtn");
const suggestBtn = document.querySelector("#suggestBtn");
const closeBtn = document.querySelector("#closeBtn");
let locations = document.querySelector("#locations");
let locationsWeather = document.queryS... | 9abc00fca2e384626a8072ea453a18b64a61887f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | LucaBert89/LAKE-WEATHER-MAP | bbebc828fb2eacd458daa0dcdb07a2794e7dca85 | c694465459856de0d71c42e6ecbf5efbe4585b42 |
refs/heads/master | <file_sep>```
______ ______ ______ __ __ __ __ ______
/\__ _\/\ __ \/\ __ \/\ \ /\ \/ /_ /\ \/\__ _\
\/_/\ \/\ \ \/\ \ \ \/\ \ \ \___\ \ _ \\ \ \/_/\ \/
\ \_\ \ \_____\ \_____\ \_____\ \_\ \_\\ \_\ \ \_\
\/_/ \/_____/\/_____/\/_____/\/_/\/_/ \/_/ \/_/
```
# Toolkit v2.0.2 - Gallant Golem... | f5724ad54441145841817e852e80f2e475c2e11d | [
"Markdown",
"JavaScript",
"HTML"
] | 12 | Markdown | netzzwerg/toolkit | 40e2626b7fdc8cc337a39c00d2d045fc061cb8e4 | e05c1b8f79c779dfdd1dad7ff7d153006daba2b0 |
refs/heads/master | <repo_name>vinayalaw/Mr.-ChickenDinner<file_sep>/README.txt
Use a config.json file to store and access private bot data
User must include a "token", "prefix", and "name"<file_sep>/mcd.js
/******************************************************************************/
// AUTHOR : <NAME>
// FILENAME : mcd.js
// D... | 7f8dacfa5e0c4944e56efa7514c35e8edfd516b8 | [
"JavaScript",
"Text"
] | 2 | Text | vinayalaw/Mr.-ChickenDinner | 672775e9400fe00f620df4b6adf860b25be9c2b3 | d7eb1e9afbf50ddd6c16310795b17f81fbcf71de |
refs/heads/master | <file_sep>calculateGCcontent <- function(dna) {
total <- nchar(dna)
noGC <- nchar(gsub("G|C", "", dna))
return((total - noGC) / total)
}
library(RCurl)
getAllGCs <- function(annotation) {
values <- as.character(annotation$diff.est_id)
gcs <- pbapply::pbsapply(values, function (x) {
sequence <- getURL(paste0("ht... | 9a65bde04f058b509f4e2c4003f4d4836c0ea82e | [
"Markdown",
"R",
"Shell"
] | 22 | R | AdrianShe/rna-seq | d13729a6f77c88024fcbdaae8f9798aafeac1ead | 6618dfa0bfe274ae043952e763552dac12abdae7 |
refs/heads/master | <file_sep>#include "stdafx.h"
#include <glut.h>
#include<math.h>
static int mode = 0, num = 4;
typedef struct {
GLfloat pos[4];
GLfloat amb[4];
GLfloat dif[4];
GLfloat spe[4];
}Light;
typedef struct {
GLfloat amb[4];
GLfloat dif[4];
GLfloat spe[4];
GLfloat shi;
}Material;
Material mat = { { 0.... | 283018a48491951ec14cf6a01a37920f454c36eb | [
"C",
"C++"
] | 3 | C | yeahyung/graphics | 9926cfc54724dfb856ca4a92e9d4b69dda0c86df | f7aeb6ec4b524affb18f23780b16bd9e1dba249c |
refs/heads/master | <repo_name>DanMB/PerformanceLogPlugin<file_sep>/PerformanceLog.cpp
#include "PerformanceLog.h"
BAKKESMOD_PLUGIN(PerformanceLog, "Performance Log", "1.0", 0)
void PerformanceLog::onLoad()
{
steamId = std::to_string(gameWrapper->GetSteamID());
string tempData = "timestamp,"; // %Y-%m-%d %H:%M:%S timestamp
tempData ... | 9b0d196b5ac8f8946d996fe2ac0af2c5b17f2620 | [
"C++"
] | 2 | C++ | DanMB/PerformanceLogPlugin | f7e5b7ce42a809cd998e15d52b61706a89096cf7 | 9ab015b043d4c03ef216d000ac1c6413c5da2eee |
refs/heads/master | <repo_name>designh2o/redirect<file_sep>/h2o.redirect/lang/ru/options.php
<?
$MESS['H2O_REDIRECT_STATUS'] = "Код статуса ответа при редиректе";
$MESS['H2O_REDIRECT_STATUS_301'] = "301 Moved permanently";
$MESS['H2O_REDIRECT_STATUS_302'] = "302 Found";
$MESS['H2O_OPTIONS_RESTORED'] = "Восстановлены настройки по умолчанию... | 88f6eba4757a070295f7678ec66a950a635ec6d6 | [
"SQL",
"PHP"
] | 16 | PHP | designh2o/redirect | cf4bb8e35076cb61abb6475f5462e846cc8e769b | 1e2e07658d28c13a84640aef74418887b6e7038a |
refs/heads/main | <file_sep>import hashlib, threading, time, sys
from optparse import OptionParser
class Hashcracker:
def __init__(self, hash ,hashType, passfile):
self.start = time.time()
self.hash = hash
self.stop = False
self.logo()
try:
self.passlist = open(passfile, '... | efa2096a7333ace00827e6bc278dbfd7fe3344d2 | [
"Markdown",
"Python"
] | 3 | Python | duckwed/Hacking-Scripts | 24e2b5c68acd93c5c55e6c29e2812d2a054733da | e1fc6f0f55dda3b12ad6f626b2589c4f387dc99e |
refs/heads/master | <file_sep># realtor.go
This is a tool which help get real estate listings into a more GIS-friendly package.
It may end up being only for the greater Pittburgh area, I don't know yet.
At the time of my writing this [2/26/2019], the [Terms](https://marketing.move.com/terms-of-service/) link at [Realtor.com](https://ww... | d79edcf1c778ce60f5c6a462002a530f68387d56 | [
"Markdown",
"Go Module",
"Go"
] | 7 | Markdown | wthorp/realtor.go | 397606832e5609f43d52d71eb829f566907625ce | 860cb4b495e3cd7d5847ede4d1b131b630c937a9 |
refs/heads/master | <file_sep># PrivateShell
Private Shell by Snoopy<br>
Recoded for Gopressexploit
<file_sep><?php
//NOCHANGE YA SAYANG :*
//Greetz Mr.CeRoS404 <= he Make this shell
//and Me :'v
//Dont Change The Copyright Please :)
//although only recode at least I've been trying to make this shell
//dont Judge Please im newbie :)
//... | f05bf9957ed5912d05c9977749e26c97deec6000 | [
"Markdown",
"PHP"
] | 2 | Markdown | surereddy/PrivateShell | 0d8ef2751a28bb5f945427b7f273d864ef2aafe5 | 47d85ffb4d78851b1c5bdfeee0fd63fb4574db75 |
refs/heads/master | <file_sep># Python program to print the count Even Number and Even Sum And Odd Number.
# Sum and Odd Count between 1 to 100 numbers.
n = int(input("Enter number range :))
even = [i for i in range(0,n,2)]
odd = [i for i in range(1,n,2)]
print(f"Sum of Even Numbers is : {sum(even)}")
print(f"Sum of Odd Numbers is : ... | ffa5da34f76f55e67b3cdb3bfc4c294defb98dc0 | [
"Python"
] | 23 | Python | venuxvg/coding_stuff | 47d066fb9ec6c8fc509580dd635315a84071361a | f36703accd3a5e48e4fe662e76b85f882f1cf66d |
refs/heads/main | <file_sep>//=====================================================================//
// Contents: //
// //
//...Some classes.................................................15...//
//...Parser...... | 1e2d2777b29ee6b0c6b614271ed2ea9dd7c18a9b | [
"Markdown",
"C++"
] | 4 | C++ | SamburskyAlexander/Interpretator-of-Model-Language | 6a1568b31cf225463965b6d860a363ee948a6a34 | 8e8838cd14984a26b6304409b50b2d98643f5c65 |
refs/heads/master | <repo_name>ray7yu/teacheats<file_sep>/app/src/main/java/com/teach/eats/functions/Photo.kt
package com.teach.eats.functions
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Matrix
import android.media.ExifInterface
import android.os.Bundle
import android.util.Log
import andro... | d4ff9f2d2c820e2e19cc42699b0873220cb8425b | [
"Markdown",
"Kotlin",
"Gradle"
] | 16 | Kotlin | ray7yu/teacheats | 7367e4fd541e7db73c2f5e5155c4ca06b129b5a8 | 4cff2ccc2e3d6bb6b688cbb2f18ceec1bc5b2325 |
refs/heads/master | <file_sep>class NoteCollaborator < ApplicationRecord
belongs_to :note
enum access: {view: 0, edit: 1}
enum status: {inactive: 0, active: 1}
validates :email, uniqueness: { case_sensitive: false, scope: [:note_id], message: "already a collaborator on this note" }, on: :create
scope :for_note, -> (note) { w... | 923b14345f39265dda0d163e560397af0e19044e | [
"Ruby"
] | 13 | Ruby | JoeKaldas/pangea-notes | 1b9e8affed89c584d0842753205f1e5fbc55ff90 | fd27bfb231f0217e6d76679e17320ba6e94743e0 |
refs/heads/master | <repo_name>rachidho/tpServletJspJstl<file_sep>/build/classes/Messages_en.properties
message.bienvenu=Welcome
message.affiche.catalogue.jsp=Displays Catalogue JSP
message.affiche.catalogue.jstl=Displays Catalogue JSTL<file_sep>/src/Messages_fr.properties
message.bienvenu=Bienvenu
message.affiche.catalogue.jsp=Affich... | 57a8d8d4c6ff71303e911d1738d8a6fce9bd9c48 | [
"Java",
"INI"
] | 4 | INI | rachidho/tpServletJspJstl | 79532d6336b1fc8bbd5533d94b30a80c0b4127d8 | 5a0f05b5b511a7d12558cb47aa5d88d8450f72ff |
refs/heads/master | <repo_name>kdmutriy/Lib<file_sep>/Lib/Controllers/HomeController.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Lib.Models;
using Microsoft.EntityFrameworkCore;
using Lib.ViewModels;
namespace Lib.Cont... | ab2eb6447e99f6c4e3f7d49c6904ac760f9e37b7 | [
"C#"
] | 3 | C# | kdmutriy/Lib | e68d3559b968ce0b2d296c517a1bdb04125964fd | 22d5d87a317731ba62231415ec441a19fe956740 |
refs/heads/master | <file_sep>#-*- coding: utf-8 -*-
from django.shortcuts import render
from django.http import HttpResponse, JsonResponse
from django.views.decorators.csrf import csrf_protect
from django.db import connections
#UTIL
import json
import hashlib
def login(request):
return render(request, 'anifree_user/login/login.html... | e1d890121ed92abde61483d9c0518068a27cecf5 | [
"SQL",
"Markdown",
"JavaScript",
"Python",
"Text"
] | 9 | Python | h4ppyy/anifree | 4f37c213778f50fdc2c622657dac66a6f114cb77 | ea62ca5797eec647914fad40028c5b35fec3ca14 |
refs/heads/main | <file_sep>package week1.day2.assignments;
public class Palindrome {
public static void main(String[] args) {
String str = "wer";
String revStr = "";
for (int i = str.length() - 1; i >= 0; --i) {
revStr = revStr + str.charAt(i);
System.out.println(revStr);
}
if (str.equals(revStr)) {
Sy... | 2adbfd95c611ebd4a1e9c2fed58edb05341837b2 | [
"Java"
] | 1 | Java | SaranyaKuppan27/testleaf-saranyakjuno | 5233740a9baab6d700e76132f38a34d2ed7b45e0 | 2aa22b80b5e66409f4ba3bd5ab10a2f568fb7940 |
refs/heads/master | <file_sep>#!/usr/bin/python3
print("hello me");
<file_sep>#!/usr/bin/python3
print("pallavi");
| fd516c67ddd60eb20e67bd7c205a76b78e9561d6 | [
"Python"
] | 2 | Python | iirksii/ditiss1 | 6e7fba13ffb09cffc2982a1d380f747edbbdfac9 | 9e997f00d4c8996d69171f0b1556a7f1fc62718b |
refs/heads/master | <repo_name>GurjeetSinghBansal/Playground<file_sep>/Finding the frequency of the numbers/Main.java
import java.util.Scanner;
class Main{
public static void main(String args[])
{
// Type your code here
Scanner in = new Scanner(System.in);
int n= in.nextInt();
int i,d;
int q=in.nextIn... | ae1cdccf33b48ff712f1ca70cc6ae3bb1526c758 | [
"Java"
] | 17 | Java | GurjeetSinghBansal/Playground | 2c4a6bcc4d6eed43db873278a48430e621e5e684 | 900cbee292e30945e9346ad251d8fb8f10520fa6 |
refs/heads/master | <repo_name>sodafintech5/SodaToken<file_sep>/migrations/2_deploy_contracts.js
var SodaToken = artifacts.require("SodaToken");
module.exports = function(deployer){
deployer.deploy(SodaToken);
}; | bfbe3831c8f508070eb43388a1c104383e79caee | [
"JavaScript"
] | 1 | JavaScript | sodafintech5/SodaToken | 9a07e0ac935827d5c65e7957e6c265348d065ec9 | 9c4a67372a52c3cbfb87e1ccbe833e1972a6b721 |
refs/heads/master | <repo_name>Zemnmez/unified-message-control<file_sep>/type-test.ts
/**
* This file is purely for typechecking and does not produce code
*/
import control from 'unified-message-control'
import unified, {Attacher} from 'unified'
import {Node} from 'unist'
// $ExpectError
control({})
control({
name: 'foo',
marker:... | f488e07a2cf60eb2593770ab9578ac50a394f376 | [
"TypeScript",
"JSON with Comments"
] | 2 | TypeScript | Zemnmez/unified-message-control | 86e56cb4e052ced066a148f5eb6403eced727890 | 54ce035f2021d014accb07188f9886ed557aa5c5 |
refs/heads/master | <repo_name>proxict/lib-expected<file_sep>/test/main.cpp
#include "lib-expected/expected.hpp"
#include <gmock/gmock.h>
#include <sstream>
#include <string>
using namespace libExpected;
struct A {};
struct B : A {};
class ExpectedTestAware : public ::testing::Test {
protected:
struct State {
bool ctor;
... | efd82524b0b6aac864e6c2eff452daa4ee9b8969 | [
"Markdown",
"C++"
] | 3 | C++ | proxict/lib-expected | edbdf5639612695c86bba2fd86b43ecf2d356ec1 | 5c00dc9c74f181c01d417689c608d6e0ac3c90b9 |
refs/heads/master | <file_sep>.PHONY: all
all:
go build -o mackerel-plugin-proc-cnt main.go
.PHONY: package
package:
${GOPATH}/bin/gox --osarch "linux/amd64"
<file_sep>mackerel-plugin-proc-cnt
=======================
Process count custom metrics plugin for mackerel.io.agent.
## Synopsis
```shell
mackerel-plugin-proc-cnt [-process=<Pro... | 225fbd45eb0a84f8999b85920c2a0c14ba17bf49 | [
"Markdown",
"Makefile",
"Go"
] | 14 | Makefile | m-yoshimo/mackerel-agent-plugins | 132583d04e05c9214933c24b039269d647445437 | b2a689183e9da2aaa18e05e1c0983bd16acbcd87 |
refs/heads/master | <file_sep># jiebaR
Linux : [](https://travis-ci.org/qinwf/jiebaR) Mac : [](https://travis-ci.org/qinwf/jiebaR) Windows : [
print ("Welcome to SetNASAWallpaper, where you can set your wallpaper as a NASA image.")
input ("Press enter when you want to continue...")
system('clear')
def GenerateDate():
start_date = dat... | 15b70e645202b56862e5a89f4c1b9be47cac50b5 | [
"Python"
] | 1 | Python | sgav191/SetNASAWallpaper | 0147514c22d6e04392ad44f426048a5fd5e02eee | 9e996a8861bdf5ccc857ddaf867922062494d6a9 |
refs/heads/master | <repo_name>coe6/Pic-a-Puppy-GUS-<file_sep>/Pic! a Puppy (GUS VERSION)/Pic! a Puppy (GUS VERSION)/ThirdViewController.swift
//
// ThirdViewController.swift
// Pic! a Puppy (GUS VERSION)
//
// Created by Sam on 5/24/18.
// Copyright © 2018 github.com/coe6. All rights reserved.
//
import UIKit
class ThirdViewControl... | 452b7eb32a1bb31aa4865f7a3f7c2e8b6c2c3527 | [
"Swift",
"Markdown"
] | 4 | Swift | coe6/Pic-a-Puppy-GUS- | abc69bd50c9dfa4027e7b36e99950c7e839a8dd0 | 52c7753c21f181591849be5f337f6c869d28b453 |
refs/heads/master | <repo_name>UCO-CS-Capstone/avalon_web<file_sep>/src/main/java/edu/uco/avalon/Project.java
package edu.uco.avalon;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
public class Project {
private int projectID;
private String name;
private LocalDate startDate;
pr... | 40d8836f9f8616b7611663d311fabb970460f917 | [
"SQL",
"Markdown",
"Gradle",
"Java",
"Dockerfile",
"Shell"
] | 17 | Java | UCO-CS-Capstone/avalon_web | 739a529312907282845590bbffc121cfc128e34c | 3f253a38e47d7410f04558842bb5d1f55c09d5c8 |
refs/heads/master | <repo_name>dannil76/home<file_sep>/bin/g
#!sh
git $@<file_sep>/.bash_profile
[[ -s "/Users/jonas/.rvm/scripts/rvm" ]] && source "/Users/jonas/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
red='\e[0;31m'
RED='\e[1;31m'
blue='\e[0;34m'
BLUE='\e[1;34m'
cyan='\e[0;36m'
CYAN='\e[1;36m'
NC='\e[0m' ... | 49e5e2f4a26aba2da44ab2449f2e9a0311dd6a5d | [
"Markdown",
"Ruby",
"Shell"
] | 7 | Shell | dannil76/home | f8ea9687a2fb5e46f2dd897c0646f2538bb24e63 | 4eaa6fa005ed81356e09d154cd5df36310cb7861 |
refs/heads/main | <file_sep>import React from 'react';
import {Link} from 'react-router-dom'
import { ProSidebar, SidebarHeader, SidebarFooter, SidebarContent, Menu, MenuItem } from 'react-pro-sidebar';
import 'react-pro-sidebar/dist/css/styles.css';
const Navbar = ({title}) =>{
return (
<ProSidebar >
<SidebarHe... | 8c983f4e5e07d324637263eac73ec98605007069 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | bitwise-knot/FERN-Base | 088de32e39928f75d7c2f67c8431099ead158e11 | 64aa57d72b6d095930416e8fb6af9a1d4188e076 |
refs/heads/master | <file_sep>--- added to check upstream . from git UI
NEW LINE
adding to see diff feature
addd again
# devops-practice-repo
HI
- TESTING AUTO BUILD
- TESTING BUILD WITH TAGS/BRANCH (CHOICE PARAMETER)
- Added to test PULL
- adding from git UI
- adding from cli
- hi
- PR
- NEW LINE
- newwww... | e0dc3ec7870ed45ba9cbc0c78941d69adc1a64b7 | [
"Markdown",
"Python"
] | 2 | Markdown | Devadakshith/devops-practice-repo | 3c804a9fd18e494c28a1962b3ccf28792fefd1f8 | dda08b9e4f371e68b6743b337cb2a5e2a8ae04e7 |
refs/heads/master | <file_sep>//
// CalcBrain.swift
// NicolasDuwavrent_Calculatrice
//
// Created by <NAME> on 26/03/2019.
// Copyright © 2019 ND. All rights reserved.
//
import Foundation
class CalcBrain {
enum Operators:String {
case plus="+",minus="-",multiply="x",divide="÷"
}
var leftOp:Double?
... | e9f275c578d810529f882d6c7db6ea5477b9b56f | [
"Swift",
"Markdown"
] | 3 | Swift | Nicopuissance/NicolasDuwavrent_Calculatrice | 254450790eab9d55d9a65048c8f872659bdddabb | cfb89c41d587108b60e2a8e187fa26360a87aaae |
refs/heads/master | <repo_name>WireLife/FightingCode<file_sep>/2020备战蓝桥/黄杨/第十次作业/4.cpp
#include <stdio.h>
int main()
{
float h;
int i, n;
printf("请输入高度h和落地次数n:");
scanf("%f %d", &h, & n);
float v=h/2;
for(i=2; i<=n; i++)
{
h = h + 2*v;
v = v/2;
}
printf("第%d次落地时,共经过了%f米\n", n, h);
printf("第%d次落地时,反弹%f米\n", n, v);
}
<file_sep... | 3fa2aaf3d3ab4a8422fd27b51249119ee67c2a3e | [
"Java",
"C",
"C++",
"Markdown"
] | 236 | C++ | WireLife/FightingCode | cb0bc25e8bde52347fb2a0113b8c47a97a1b4ce0 | a1e620e1236749c644715397916831d706e14a97 |
refs/heads/master | <repo_name>HARRISKING/morney-rails-5<file_sep>/app/models/record.rb
class Record < ApplicationRecord
enum category: { outgoings: 1, income: 2 }
validates_presence_of :amount, :category
end
| 6f599d64c9069b48d473e06e2fe5ca28a7a8312d | [
"Ruby"
] | 1 | Ruby | HARRISKING/morney-rails-5 | 8fa176f960c98f02df5c5b7ed5017442f71a9385 | 517eaebc9812fa635cddbfa224ded951981b2867 |
refs/heads/master | <repo_name>ailie/Aggregation-Service<file_sep>/src/main/java/com/example/aggregator/domain/Creditor.java
package com.example.aggregator.domain;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Creditor ... | 527c67b1b20eb8cf70e4e19c6c8e128f0f5447c1 | [
"Markdown",
"Java"
] | 8 | Java | ailie/Aggregation-Service | 30020898f29b126010c5709a1e4ef96d75191556 | 9ae881a43c39a89a7037d6343dbe26156e2fb8a9 |
refs/heads/master | <repo_name>TNAJIKHALID/e-comerce-App<file_sep>/src/main/java/com/example/demo/web/AcountRestController.java
package com.example.demo.web;
import com.example.demo.dao.UserRepository;
import com.example.demo.entities.AppUser;
import com.example.demo.services.AccountService;
import org.springframework.beans.factory.anno... | f08e3ca012584fd631f5dc160b7f7fae89111d13 | [
"Java",
"INI"
] | 6 | Java | TNAJIKHALID/e-comerce-App | 46e44a60feb582ce30554d60af656af79350fa55 | a940a991e8b08b40de40d7a0a1bf7701c3c080a7 |
refs/heads/main | <repo_name>Taiosullivan/Sistema-autoescola<file_sep>/autoescola.sql
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 06-Out-2020 às 19:59
-- Versão do servidor: 10.4.13-MariaDB
-- versão do PHP: 7.4.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSAC... | 2784952fbca177ab72255e3182f3e424148f9d41 | [
"SQL",
"PHP"
] | 6 | SQL | Taiosullivan/Sistema-autoescola | 086d391fdb9c2d1a13dd73575c6fb47931dbbf64 | 801368c5b76ae5013a880aa9d838adeca6dbd4c6 |
refs/heads/master | <file_sep>class ObjFomulario{
constructor(marca, modelo, ano, alimentacao, peso, motor, versao, transmicao, direcao, freios){
this.marca = marca
this.modelo = modelo
this.ano = ano
this.alimentacao = alimentacao
this.peso = peso
this.motor = motor
... | be75ee27147e8cef5ec9b1e7fb9e6ecb6ad3355e | [
"JavaScript"
] | 2 | JavaScript | radi84/JavaScipts | 7ea8bd88e42f1903da02e8f0ecedd2061729dfea | cad64b9903d446fbcff3230c7d9114a70043c0ef |
refs/heads/master | <file_sep>using System;
namespace stringCalculatorTDD
{
public class StringCalculator
{
public int Add(string input)
{
int result; //default of int is 0
if (input == string.Empty)
{
return 0;
}
if (int.Try... | d22fad0fa9a9204b346e214135c65a1f0663dd0f | [
"C#"
] | 2 | C# | themishmash/kata-stringCalculator | 43a265cd7b8548017bcba6cb056de5b254dd274f | cd6f95ef6726aba45b3e653ba3753c094730748e |
refs/heads/master | <repo_name>martin-podlubny/HSTracker<file_sep>/HSTracker/UIs/Cards/MinimalBar.swift
//
// MinimalBar.swift
// HSTracker
//
// Created by <NAME> on 31/05/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
import Foundation
class MinimalBar: CardBar {
override var themeDir: String {
return "minimal... | d4138651e3605f4807110aaf0f170ddfaf24eeee | [
"Swift"
] | 1 | Swift | martin-podlubny/HSTracker | ab757ea0ceaa60133bd63d085fc43dec9a9d89dc | 55ffa31121bbde57ea384ecbb034083fc67d3a57 |
refs/heads/main | <repo_name>damtonix/vaadin-bug-example<file_sep>/frontend/views/bug/bug-view.js
import {html, PolymerElement} from '@polymer/polymer/polymer-element.js';
import '@vaadin/vaadin-ordered-layout/src/vaadin-vertical-layout.js';
import '@vaadin/vaadin-ordered-layout/src/vaadin-horizontal-layout.js';
import '@vaadin/vaadi... | a1349b7279c066edfa4447911e2107584c3e63a4 | [
"JavaScript"
] | 1 | JavaScript | damtonix/vaadin-bug-example | 93df1cd014a3fb150a84ec3a87425651c54bb46c | e9e3e4c29fa3cc70770a689c17f0daf73586cb66 |
refs/heads/master | <repo_name>batnasan/erxes-buildpack<file_sep>/bin/detect
#!/usr/bin/env bash
# bin/detect <build-dir>
erxes_ui_dir="ui"
erxes_widgets_dir="widgets"
if [ -f $1/$erxes_ui_dir/package.json ] && [ -f $1/$erxes_widgets_dir/package.json ]; then
echo "erxes detected" && exit 0
else
echo "no erxes detected" && exit 1
fi | ebacbf5b278da73adbb20aa8f7f09f07da434046 | [
"Shell"
] | 1 | Shell | batnasan/erxes-buildpack | 6747eb5cc4e1d5d5965589d47d0214909ba4d704 | 99b1cf3cebfaa60447dc4d465b8b2b0c7f571394 |
refs/heads/master | <repo_name>systemist/forge.memory<file_sep>/inspector/an-inspector/ForgeModule/src/io/trigger/forge/android/modules/memory/EventListener.java
package io.trigger.forge.android.modules.memory;
import io.trigger.forge.android.core.ForgeApp;
import io.trigger.forge.android.core.ForgeEventListener;
public class EventListe... | 9a3376518bd5b67051c52e8c69858ed1070395f7 | [
"Java"
] | 1 | Java | systemist/forge.memory | 09714ef55a3445ea50b22ef6adcd17a107e1a0b1 | 85eec754221d7aaae658a11cf339e9f49c1ca0fd |
refs/heads/master | <file_sep>/* frameImages
* @author qqqiyuan
* @notes: 需要在html中创建好dom, width和height属性也需要在样式中设置
* @param {FPS} : num
* @param {count}: num, 帧动画的帧数,必填
* @param {imageUrl}: string, 雪碧图链接地址,必填【雪碧图全部上下排列】
* @param {infinite}: bool, 是否循环播放,默认true
* @param {useUrl}: bool, 是否使用层级方式实现帧动画
* @param {urlArr}: array,使用层级方式实现... | be093554dd12ba5d87f4ac7f6183d4ed783f740c | [
"Markdown",
"JavaScript"
] | 16 | Markdown | fromIRIS/evolution | 6388e24ac311dd273629bd1fd1bbbdddd11a3e05 | b5119bb18788de2b787efdfba0c3feb4af82d0d0 |
refs/heads/master | <file_sep>#!/bin/bash
git add .
git commit -m "$RANDOM"
git push
git push ms master
netlify deploy
| 52172f7e207f5983625718954942306da6f2de6e | [
"Shell"
] | 1 | Shell | danAllmann/studysidescroller | f492e5f136e4ac49bc9074bc83f821d1918c3f10 | a8b08be579bc20ffcec6c8e4b2973be8067697af |
refs/heads/master | <repo_name>jackjet870/instantMessage<file_sep>/client/js/config.js
(function() {
// 配置
/* url im服务地址
* dingSwitch 钉一下功能开关
* language 语言包 仅en有效
*****************/
var envir = 'local';
var configMap = {
local: {
url: 'http://1172.16.31.10:88',
dingSwitch: tru... | 545412ebab5c0d9a488464ed6b5a6c5635ab3409 | [
"JavaScript",
"HTML",
"Markdown",
"Shell"
] | 24 | JavaScript | jackjet870/instantMessage | 76d3429e1b70cb374f506d0628cf355e043797bb | 63425e97e6ba5b319740596213da093606539e6a |
refs/heads/main | <repo_name>ivanovdmitri/sql_php_sandbox<file_sep>/sql_tables.php
<!-- A simple PHP file that queries tables of SQL database that contain numeric
and string values and distplays the results in HTML table format -->
<?php
// SQL login credentials.
// Confidential info which is different for different users.
const __l... | a94caafc88bf6ee6611ee63e41632b05e240bbfd | [
"Markdown",
"PHP"
] | 2 | PHP | ivanovdmitri/sql_php_sandbox | c21f147f2fa0062484af6f270a97af2230e977ae | 45882cb2e7e79feff319b42a18cc22a387fe6620 |
refs/heads/master | <repo_name>savannah-yahsuanlin/typescript-todoApp<file_sep>/README.md
# プロジェクト名
- TypeScript ToDo App
# 公開URL
# App image
https://kosukenemy.github.io/typescript-todoApp/
## プロジェクトイメージ

## 利用技術
-... | 78b874353db2393fa3424093d563a5b2476845b6 | [
"Markdown",
"TypeScript"
] | 2 | Markdown | savannah-yahsuanlin/typescript-todoApp | 6a8345f0469e486071c128bde873bcee6c978c25 | ccd5c5d26b1d4729f4c8cd4f094bce3cef820d81 |
refs/heads/master | <repo_name>lbarney/giphyAPI<file_sep>/app.js
$(function(){
$("#subButton").on('click', function (){
var search = $("#inputText").val();
$(".gifList").empty();
$.ajax({
method: "GET",
url: "http://api.giphy.com/v1/gifs/search?q=" + search + "&api_key=<KEY>"
}).done(function(response){
console.log... | e22d83532f90586a0da76b29275d7f67e88566c6 | [
"JavaScript"
] | 1 | JavaScript | lbarney/giphyAPI | 6694d21c4440d190b341d45a8ae3df7aa150697d | fe3f5553c4bfb424233d1802a5fa7da1b45fc15a |
refs/heads/master | <file_sep>#include <iostream>
#include <string>
#include <cmath>
#include <vector>
#include <ctime>
#include <cstdio>
#include <cstdlib>
#include <array>
#include <fstream>
#include <sstream>
#include <map>
#include <random>
#include <cassert>
#include "ownUtil.hpp"
using namespace std;
#define WIN
#ifndef _RANDOM_H
... | 55f410d7700a175061079781d364d743bcf5c621 | [
"C++"
] | 3 | C++ | Bernd1234Neubi/letters | 54c82b06313d2cc9ce4ac9f514335ef4cb6e2224 | 5b0810ac666b3e0ca04a052dc428adc6f0b7f952 |
refs/heads/master | <file_sep># ldap-spring-boot
This application can run standalone or can be deployed to various PAAS solutions (e.g. to PCF) and can be connected to LDAP in order to enable users to change their password, this assumeas that all users are in the same directoy structure
In order to connect it against LDAP you need to se... | 33a4c7e754f9fc70ec8f068e1bef258187f42136 | [
"Markdown",
"Java"
] | 2 | Markdown | michaelgruczel/ldap-spring-boot | 8f21ea3a2e6a2bc0a22741ed7ec6d280100a8093 | 639eb6eeaf4e7b128b88f4c2dfa9bade91ef4bd9 |
refs/heads/master | <file_sep>#include <iostream>
#include <algorithm>
using namespace std;
struct Point {
int x;
int y;
};
int n;
int r_min[22] = { 0, };
int r_max[22] = { 0, };
struct Point p[52];
void calc(int index, int c_index);
bool cmp(const Point&p1, const Point&p2);
int main() {
//입력
int c;
cin >> c... | 31989da04c73a945cfd3916e13031d80bb4088fa | [
"C++"
] | 17 | C++ | SketchAlgorithm/17_Yeom-Sanghee | 8592e2e77f880fe314d3659620c24e40e4bfce62 | 0a5b5485af83f003c64cf9b67b8aaad3a4550d7b |
refs/heads/master | <file_sep><?php
namespace App\Http\ViewComposer;
use Illuminate\View\View;
class Menu{
public function compose(View $view){
$view->with([
'menu'=>'articles',
'hora'=>date('H:i')
]);
//Cache::forget('roles');
}
}
/*
session()->put('key','value');
session()->get('key','default');
session()->forget('key')... | 8e6e903fc9fb59301960ad6b943025109bca1f07 | [
"PHP"
] | 15 | PHP | satoblacksato/capacitacionintg | f6498357477266b8bf2bd2e851ec98cc3eba0a69 | cb9949f10da82275b137ae9fa04172358aa1c5eb |
refs/heads/main | <file_sep>//
// SwiftUI_PieChartApp.swift
// SwiftUI-PieChart
//
// Created by <NAME> on 26.03.21.
//
import SwiftUI
@main
struct SwiftUI_PieChartApp: App {
var body: some Scene {
WindowGroup {
VStack {
PieChart([
(.red, 50),
(.blue, 50),
(.purple, 50)
])
HStack {
... | e00addb4800e19233bc8ce8d8f9fb45f2f8e50d6 | [
"Swift",
"Markdown"
] | 3 | Swift | KunzManuel/SwiftUI-PieChart | f31879fc768d007d3652700faabbeb0b1f06508e | e17a13d07214c9a8382765ba5d59d93ec38f70d8 |
refs/heads/main | <file_sep>export interface User {
id: string;
username: string;
email: string;
phone:string;
adress:string;
}
| 09a9f54b6489800f1b05f705ac35d31caf2dcd49 | [
"TypeScript"
] | 1 | TypeScript | weilun2/library-client | e9e6d131fad5cef848ae62b8d6a7bc0433e5046c | 5e22dbe974450dffd119968f2a477592f464aeb0 |
refs/heads/master | <file_sep>package com.izk.izkkotlin.ui.main.view
import com.izk.izkkotlin.mvp.view.BaseView
/**
* Created by malong on 2020/11/24
* 功能 :
*/
interface HomeView :BaseView {
}<file_sep>package com.izk.izkkotlin.http
import com.izk.izkkotlin.mvp.model.BaseModel
import com.izk.izkkotlin.ui.main.model.CodeModel
impor... | 5035cfb8f09ed956b6ef65acf14e5683fc4f326d | [
"Kotlin",
"Gradle"
] | 29 | Kotlin | malongq/Kotlin-Mvp-Ok-Retrofit | aaa940d08fafe4b8b2f168b4e6579e0398e42772 | 8f04631c1a8ef7f34eadcc92a5c5edc1a77be1e4 |
refs/heads/master | <repo_name>asis45/beatking-application<file_sep>/README.md
# beatking-application
This appplication is useful in generating your own drumkit i.e, your own beat style by customising it as per your taste.
The application enables you to play multiple drumbeat sounds i.e, snare ,hihat and kick of various flavours.The appl... | 66516aadd2e6c08b2a943fcd32e6c72d3659956c | [
"Markdown",
"JavaScript"
] | 2 | Markdown | asis45/beatking-application | a7e8df33f7929f0a03801166511534527add02dc | defcfd2b04845e459d6886d6d9f1d58a19c6bdb3 |
refs/heads/master | <repo_name>naoto67/study_rails_server<file_sep>/app/controllers/application_controller.rb
# frozen_string_literal: true
class ApplicationController < ActionController::API
private
def authenticate_user!
@user = User.find(params[:id])
# check if auth token is correct.
# rubocop:disable Style/GuardClaus... | 28de820058440a20d1eb7749e134a4cb864fbc49 | [
"Ruby"
] | 4 | Ruby | naoto67/study_rails_server | 7697523859b95ac6b2d8a8d1e332211a366c72f3 | 40637e2324f33c3cffbe1c832304657a449a429d |
refs/heads/master | <repo_name>KarineAkninTech/BackMarketTest<file_sep>/transformater/transform.py
import logging
from logging.handlers import RotatingFileHandler
import sys
import datetime
import os
import shutil
from pyspark.sql import SparkSession
from pyspark.sql.functions import *
logger = logging.getLogger('pyspark')
logger.setLev... | bd845af280f37baa6688990fb1037950b48db324 | [
"Markdown",
"Python",
"Text",
"Shell"
] | 5 | Python | KarineAkninTech/BackMarketTest | 233f7072fade27e906ab767e7fbee4adbf2af74d | a78b7674461a552a13fee955f36619d9a8ffc0c0 |
refs/heads/master | <repo_name>zerxfox/tasks-for-course<file_sep>/task3.cpp
/*Создать программу, которая будет:
- подсчитывать количество слов в предложении
- выводить их в отсортированном виде
Комментарий: не даны условия сортировки.
- делать первую букву каждого слова заглавной.
Предложение вводится вручную. (Разделитель проб... | 46ed928ac537ca9360720f00272823ea60103252 | [
"C++"
] | 6 | C++ | zerxfox/tasks-for-course | 8389c45d5df834ebb269c60947fe0b035cc4bca0 | adb834ee6f3b403feab858f04141b6585904373a |
refs/heads/master | <repo_name>hussamdurak/devops-training-demo-app<file_sep>/src/main/resources/import.sql
insert into book (id, title, author) values (1, 'zero-to-none', '<NAME>');
insert into book (id, title, author) values (2, 'devops', 'susantez');<file_sep>/src/main/java/com/definex/devopstraining/DevopsTrainingApplication.java
pack... | 07e31c1182335d932e67d2046c07dd098b15f015 | [
"Java",
"SQL",
"Markdown"
] | 3 | SQL | hussamdurak/devops-training-demo-app | 6e1336336d958214989ba0c2fe032ad20e0f207c | b2a5c30807178e24a561c4c21812aec78a6fbcfc |
refs/heads/master | <repo_name>projectgames-club/CityBuilderStarterKit<file_sep>/CityBuilderStarterKit/Scripts/Engine/Buildings/BuildingState.cs
namespace CBSK
{
/**
* List of possible building states
*/
public enum BuildingState
{
PLACING, // Building being initially placed on the map
P... | 9f33a646dd24878c780691b8f6bd799d136e3963 | [
"Markdown",
"C#"
] | 91 | C# | projectgames-club/CityBuilderStarterKit | 44c78c8f969bbe2b218178659857ea99df6c3b92 | 53b092f1eab728341a28b0e225fc8a5f3a267a14 |
refs/heads/master | <file_sep>import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/js/flexble'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import VueJsonp from 'vue-jsonp'
import axios from 'axios'
Vue.use(MintUI)
Vue.use(VueJsonp)
Vue.prototype.$axio... | 9ea5a5ecd196cf554b9591b8928491783c0e7cce | [
"JavaScript"
] | 5 | JavaScript | houjinmei/houjinmei | 3065fddddcaca968e1e4dae12da79b4e0f968aaf | 7e51dd2f58150b5374b27ab9b44b976b2d0ed3a7 |
refs/heads/master | <repo_name>RexfordK/react-foodRecipeApp<file_sep>/README.md
## This app allows users to search up and select recipes from any food category of their choice.
### Technologies used in this app include:
html
css
javascript
bootstrap
nodeJS
react
react-router
git
<file_sep>/src/components/recipes/Recipes... | 7df2adc1b47ba05e8ff794a3dc3ba1d580cbfe04 | [
"Markdown",
"JavaScript"
] | 6 | Markdown | RexfordK/react-foodRecipeApp | 0b4a3b71f8f6be96b9c3200ec448f8406a2710b0 | 83a8919b3ba1282d23484ccd16caa154d34e3578 |
refs/heads/main | <file_sep># BoardingHouseAllocation
## Introduction:-
This is a basic project for allocating boarding houses to student, by following the strategy of First Come First Serve.
## Project Requirement:-
Python-3
## Steps to run:-
python3 /absolute-path/HouseAllocator.py
eg. python3 /home/usr/BoardingHouseAllocation/Hous... | ad53094db5395ceb3ae0ba42c4f57fb3e2b1b011 | [
"Markdown",
"Python"
] | 3 | Markdown | kapilkumar6305/BoardingHouseAllocation | a7c41248831eefa5c66e7006c631e47b1cfee5f7 | 9069178d11cb657883ddf9bf3bb2a790423ef92f |
refs/heads/main | <file_sep>package schema
import "github.com/facebookincubator/ent"
// Table holds the schema definition for the Table entity.
type Table struct {
ent.Schema
}
// Fields of the Table.
func (Table) Fields() []ent.Field {
return nil
}
// Edges of the Table.
func (Table) Edges() []ent.Edge {
return nil
}
| db77133680acbdb9c55bf32cb6bfdcb49171be70 | [
"Go"
] | 1 | Go | moominzie/final-projects | b029f42e67052ab262953ccc74be3d51b0006830 | eb4cf5d5391d2d25669a339b6d9b154d95a8e73d |
refs/heads/main | <file_sep>import { HttpClient } from '@angular/common/http';
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-space-x',
templateUrl: './space-x.component.html',
styleUrls: ['./space-x.component.css']
})
export class SpaceXComponent implements OnInit {
data: any
link = 'https://a... | 20855c39a2c98c1f77c48a3c160cfffc3abfd0ee | [
"TypeScript"
] | 3 | TypeScript | rishabh99-rc/To-do-List-with-routing-and-API-fetch | ab2d257df5fe83e42354fc83ffbafdb392cc40ef | e99e74363e7a3deb97c61312e8d6dfc44dc37f6f |
refs/heads/master | <file_sep>#include <iostream>
#include <cmath>
using namespace std;
int main() {
double pi;
double raza;
double h;
float volum;
//pi = 3.1416; da raspuns corect si aici
cout << "Introduceti raza cilindrului: ";
cin >> raza;
cout << "Introduceti inaltimea cilindrului: ";
cin >> h;
pi = 3.1416;
... | 45a53600e5be6f05de4c245b5838c4b63feabe37 | [
"C++"
] | 1 | C++ | luciana1faur/16.VolumCilindru | 1b62817e9c6dac54a897a4ad6bc71e008eb4983b | 00f4a8a7905eb17bc5d0634afd7adca12c3c75bf |
refs/heads/master | <file_sep>import logo from './logo.svg';
import './App.css';
import React, { useState } from 'react'
// class App extends React.Component{
// constructor(props){
// super(props);
// this.state = {count:0}
// }
// render(){
// return(
// <div>
// You clicked {this.state.count} times ... | 32a77d656a469013d41a0686a0f766cab80be718 | [
"JavaScript"
] | 1 | JavaScript | shaik1201/iss-app | 5075a0fada71059841ffd7fb5b34ff74a799a8a1 | 105d1488434a8a3fd7ce0b679fdad7e72ce854d4 |
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 server;
import DBUtils.MongoConnect;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Input... | 6569e071378b9f8f95b8946eceb6ee9182321503 | [
"Markdown",
"Java",
"INI"
] | 12 | Java | NguyenTheAn/Botnet-RMI | 2686acee533134770d5b3a4577a9e7e1ff9ce5a9 | 96436b8df2ef600a6b1fc674f37feda3fdab1172 |
refs/heads/master | <file_sep>'use strict';
(function () {
class MainController {
constructor() {
this.image = 'assets/img/piece.jpg';
}
}
angular.module('webapp')
.component('main', {
templateUrl: 'app/main/main.html',
controller: MainController
});
})();
<file_sep>'use strict';
(function() ... | 32d0563f940a1055157faf66c1a15609a1d41494 | [
"JavaScript",
"Markdown"
] | 16 | JavaScript | hcbelias/baseWebapp | a2a6f8cca23e7917e9922d0c078b19ff739bfadd | 08392047422608bd1134169c68f5528d3136b462 |
refs/heads/master | <file_sep>require 'rspec'
require 'tamagotchi'
describe(Tamagotchi) do
describe("#initialize") do
it("sets the name and life levels of a new Tamagotchi") do
my_pet = Tamagotchi.new("<NAME>")
expect(my_pet.name()).to(eq("<NAME>"))
expect(my_pet.food_level()).to(eq(10))
expect(my_pet.sleep_... | f0fecb2318a8cae009f2e248c92f8ab832f8973a | [
"Ruby"
] | 2 | Ruby | toomanypuppies/Tamagotchi | ac9c0e3b1dc262da7995422b41cba207a0dc29d3 | c77b8e18ccce8164695dbd19c38cbe90fdd7a3cc |
refs/heads/master | <repo_name>gui11aume/asmap<file_sep>/p2fcoord.py
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import os
import re
import sys
from bisect import bisect_left, bisect_right
class GapLessBlock:
'''
Coordinates of alignment without gaps between genomes.
Blocks have the 4 following attributes:
s1: block sta... | 206f52f6b7e914dc04d1dc8bc1c4b655b78a745d | [
"Markdown",
"Python",
"Makefile"
] | 4 | Python | gui11aume/asmap | 107ecfdbfba85ec6de16ba7f3e8fa89fa1ad1067 | 485b708d66e768f3b0160f36bea235f5e0e04624 |
refs/heads/master | <repo_name>luisalbertmschz/E-commerce-Backend<file_sep>/Controladores/plantilla.controlador.php
<?php
class ControladorPlantilla{
public function plantilla(){
include"Vistas/plantilla.php";
}
} | 1b19072102f0c11f9dc31cf763f1ab1e82cd20cd | [
"PHP"
] | 1 | PHP | luisalbertmschz/E-commerce-Backend | 99fa3f708a433c0999ddf1f524ee328a05983abc | e7b3f32313e9cf2af1375dad5a58c4f76fdfb011 |
refs/heads/master | <repo_name>simarbagga401/brand_client<file_sep>/src/main.js
import Vue from 'vue'
import VueRouter from 'vue-router'
import App from './App.vue'
import routes from './routes.js'
import store from './store/vuex.js'
// IMPORTING ROUTES
import firebase from 'firebase';
var firebaseConfig = {
apiKey: "<KEY>",
authD... | 41a03692470ab375d1cd56946b43a304d1de012b | [
"JavaScript"
] | 2 | JavaScript | simarbagga401/brand_client | f9a44d9980d70695c29e396ed9f02a92a49ba950 | b81210fdd9d60ce55b2f1763199ecdf2c522ce20 |
refs/heads/main | <repo_name>ethanhall99/ncaam-march-mania-2021<file_sep>/march_madness.R
library(plyr)
library(dplyr)
library(readr)
library(tidyr)
library(tidyverse)
library(sjmisc)
# Global Variable
minSeason <- 2021
# Create list of file paths for CSVs
base_path <- "/Users/ethanhall/Desktop/Data/ncaam-march-mania-2021/MDataFiles... | 159cce6ade925ec0e4433e5c23c3816526ab618c | [
"R"
] | 1 | R | ethanhall99/ncaam-march-mania-2021 | a4b0e5c5f73389c7e28c42ee44130eeb914c888b | 79c4d71c76607a3a0c11f6decfbf69b30bdafc06 |
refs/heads/master | <repo_name>sofisoftfix/cucumber_Maven_reports<file_sep>/src/test/java/scenarios/stepdefinitions/HolaMundoFallandoStepDefinition.java
package scenarios.stepdefinitions;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import static org.junit.Assert.assertEquals;
public class HolaMundoFallandoStepDe... | 19c13a059a1fb7c89feded74786c33632df40638 | [
"Java"
] | 1 | Java | sofisoftfix/cucumber_Maven_reports | 0d580a88a52202c03a89c658d0d18ab3b37b186d | 573d070947b52319db432eb4d38ce760557f8df6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.