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># -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| ################## # CentOS nodes # ################## # Ansible-Node01 config.vm.define "ansible-node01" do |cfg| cfg.vm.box = "centos/7" cfg.vm.provider "virtualbox" do |vb| vb.name = "Ansible-Node01" ...
bec358722fda08013d53644ba6c79652e2e0dbcf
[ "Ruby", "Shell" ]
7
Ruby
20eung/ansible
6b2104ce9ee3c82f4279f99b26e51014924f8171
f11be6f735b480fd268f02853a5fa9724505fa0b
refs/heads/master
<file_sep>'use-strict' class Questions { constructor (db) { this.db = db this.ref = this.db.ref('/') this.collection = this.ref.child('questions') } async create (data, user) { const ask = { ...data } ask.owner = user const question = this.collection.push() ...
0f0247190c81ef67fe67a8feb4c447dcd498bc32
[ "JavaScript", "Markdown" ]
8
JavaScript
betonajera9/APIHapi
782583bc7b6a008c02e346f37abc9c552665ba05
4b274d46962ee7b19111050c2838c7a374edcf23
refs/heads/master
<file_sep>/*JAVASCRIPT Ao clicar no botão de enviar do formulário deve aparecer os dados digitados abaixo do formulário. Cada vez que clica no botão aparecem os dados (acumulativo). Na apresentação dos dados utilize o efeito de expandir e ocultar os dados do contato. Os scripts devem estar em um arquiv...
7363c2088a33d91f306db0609adce74ebb4aacd8
[ "JavaScript" ]
1
JavaScript
Marinofull/aulasLabWeb
dca632dbf2a8633d1e8d577f3d305d5b257694be
af0d6ef47f0f37eccec98c528f02098b5ae7837d
refs/heads/master
<repo_name>patelvishu05/PythonURLShortener<file_sep>/app.py #!/usr/bin/python3 import json from os import path class ShortURL: def __init__(self,debug): self.shortenedUrls = {} self.visitCounter = {} self.debug = False if path.exists("data.json"): with open("data.json...
f3ece3b906144090ec8550ff84ab5cad8f5050d3
[ "Python" ]
3
Python
patelvishu05/PythonURLShortener
63b8b264694bddf799b9d15bfce6c61f8066a3b8
9263ecc89f082dffcf3eff26c2f500ad1fb51b8c
refs/heads/master
<repo_name>leochen4891/hadoop-benchmarker<file_sep>/hadoopBenchmarker.py import argparse import ConfigParser import subprocess #create a parser which evaluate command line arguments. def createArgumentParser(): usage = './bin/hadoop-benchmarker.sh --config-file <configFileName>' parser = argparse.ArgumentPars...
8907cd5925531c293e836dddf6ac936b16ba087d
[ "Python" ]
1
Python
leochen4891/hadoop-benchmarker
16328e2f9f0508c4e7010e07c2f06306a41f156b
cfdf06e54c6ef4c28ce8350f5f36abba28b62356
refs/heads/master
<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 substats; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.google.gson.reflect.TypeToken; ...
a1af3ca5253cd5d0fe3718b3ca261719f361778b
[ "Java", "Gradle" ]
3
Java
KeithDeRuiter/SubStats
a936d93299d5b7ca45be002eee9ecac52da8dd47
7f474081fb7cedbd1d79672f40c944de42c2f64d
refs/heads/master
<repo_name>khris22/fewpjs-js-fundamentals-scope-lab-online-web-pt-061019<file_sep>/index.js const animal = "dog" // const is also block-scoped restricts over-writing variables. It does not mean the value it holds is immutable, just that the variable identifier cannot be reassigned. const variables also cannot be decla...
7039ffef0243bbf010ac1eb89d47a76bb84f95cd
[ "JavaScript" ]
1
JavaScript
khris22/fewpjs-js-fundamentals-scope-lab-online-web-pt-061019
c5ba091accc5ae1e22abb219c83b09fb59d7bcc6
84fb1621f72d4a6aa2a135c7c9d6545a4c966689
refs/heads/master
<file_sep> import sys import cdsw import pandas as pd import numpy as np import pickle from sklearn.linear_model import LinearRegression from sklearn.model_selection import train_test_split from sklearn import preprocessing from sklearn.model_selection import cross_val_score # == for Testing == features = ['stunting_2...
22b98534834b0ab586a34af43765dfcc4eb3376a
[ "Markdown", "Python", "Text" ]
3
Python
rramraj08/Brazil-Pelotas
1b9a3221b920c2d10d06f47c57e4f9a423bde1dd
752c562b46c450fda78590cfdd4467a364904ce0
refs/heads/master
<file_sep># grpc-rest-springboot<file_sep>import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import com.google.protobuf.gradle.* plugins { id("org.springframework.boot") version "2.2.2.RELEASE" id("io.spring.dependency-management") version "1.0.8.RELEASE" id("com.google.protobuf") version "0.8.11" kotlin("...
7560d6dc8034fcbdf569988bc21e5f0910962b0d
[ "Markdown", "Kotlin" ]
6
Markdown
ngilbert-inst/grpc-rest-springboot
a34a78bac6bd8f26b10fe48e99ccd373183182a4
0957f56c44506bb5671c0f528e22689e0f364fd9
refs/heads/master
<file_sep>/*import * as rc522 from 'rc522-c7z'; export class Rc552{ rc522((serial) => { console.log(serial); }); }*/ /*var rfid=require('node-rfid'); rfid.read(function(err,result){ if(err) console.log("Sorry, some hardware error occurred"); //some kind of hardware/wire error console.log(r...
52ce0e827432d991611faeefc271ddb475fd974a
[ "TypeScript" ]
2
TypeScript
pepcs0530/TheLocker
fa5884911a8c70ff72d0a010a7ca317881383055
d4500768c1b999c021fb58ca66fcdf95f2f43ffe
refs/heads/master
<repo_name>jstf9673/fedPro-cli<file_sep>/readme.md # gulp自动化项目 ## 使用 ```bash git clone ...... npm i //test gulp server ```bash <!-- webpack多页配置 var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin"); module.exports = { entry: { p1: "./page1", ...
52df3160595a5f902d9f57291c547cbeaec07b08
[ "Markdown", "JavaScript" ]
2
Markdown
jstf9673/fedPro-cli
e90d2fa2478908dd1ddf483901c71ef830f84156
ffda134dcc73c441db15c17cf92afc3d8fbc2f25
refs/heads/master
<repo_name>HTGAzureX1212/rslint<file_sep>/crates/rslint_lsp/src/provider/actions.rs //! Code action support, for example, actions to automatically fix an error. use crate::core::session::Session; use anyhow::Result; use rslint_errors::Severity; use std::ops::Range; use tower_lsp::lsp_types::{ CodeAction, CodeActio...
d9c2197cedc6d846f1c8315e44df3d98feebc1ac
[ "Rust" ]
5
Rust
HTGAzureX1212/rslint
7659fdfe9e89d3e9a403a1b280547b74bbabca07
e8207fd8ff7605079265c127cb212f62bf7da3c8
refs/heads/master
<file_sep>from schematics.exceptions import DataError from transmute_core.function import TransmuteFunction from swagger_schema import (Operation, Schema, PathParameter, BodyParameter) from transmute_core.context import default_context class DjaioTransmuteFunction(TransmuteFunction): """ Class based on Transmu...
2aab6d043b14c45a852801afbdcf00369ddab25d
[ "Python", "reStructuredText" ]
3
Python
alex-vento/djaio-swagger
99d3472f712c5c26538dfb2ff8a331cc8b48302b
a3ede1bf573023fee9fe28b5ad97db358ee441c2
refs/heads/master
<repo_name>DukeOwlington/lkm_port_redirector<file_sep>/nf_pr.c #include <linux/module.h> #include <linux/kernel.h> #include <linux/netfilter_ipv4.h> #include <linux/skbuff.h> #include <linux/udp.h> #include <linux/tcp.h> #include <linux/ip.h> #define SOURCE_PORT 7777 #define DESTINATION_PORT 7778 MODULE_LICENSE("GPL"...
e4df20817c7847883e918ad09564344f36c20387
[ "C" ]
1
C
DukeOwlington/lkm_port_redirector
e6ecf966437f4fe0f9602f68ac24bbc7427fa23f
cf17b405130e3e49cc108a7244cd6b657e1b03b4
refs/heads/master
<file_sep>from django.shortcuts import render from django.contrib.auth.decorators import login_required import random from django.http import HttpResponse from .models import Emp_Leaves,Emp_basic_update,Hr_Data,Finance_Login,Emp_account,Emp_Data,Company,Finance_Data,Hr_Login,Emp_Login from.forms import Hr_LoginForm # ...
127145571a96414634061ed3633d65a0ee4fad50
[ "Python" ]
1
Python
NannapaneniPrasanth/Christmas
85758fad8797cf5f461b5412b157070ad227f666
ac1a17acfc90ebdfcea9b00c61627cb34fb21243
refs/heads/master
<file_sep>#include "ProcessesDialog.h" wxBEGIN_EVENT_TABLE(ProcessesDialog, wxFrame) EVT_BUTTON(1, onConfirmClicked) EVT_BUTTON(2, onCancelClicked) wxEND_EVENT_TABLE() /*ProcessesDialog::ProcessesDialog(ProcessesDialog& other) // copy constructor { SetBackgroundColour(wxColour(232, 232, 232, 255)); this->co...
e95d819462d38ac2f07a0dabbf62ff41183c5964
[ "Markdown", "C++" ]
13
C++
didntpay/Easy-Engine
9ba7c75d4443474eb11a694793e9dbd6d081fa6d
1a55027b6ff4172cc0dfe0fed9fd5b7e1223bce5
refs/heads/master
<repo_name>KevinSaulOrtizVarela/EVA1_7_KILLING_OBJECTS<file_sep>/src/eva1_7_killing_objects/EVA1_7_KILLING_OBJECTS.java package eva1_7_killing_objects; /*PROYECTO PARA DAR UN EJEMPLO DE COMO SE ELIMINA UN OBJETO*/ /** * @author 16550549 */ public class EVA1_7_KILLING_OBJECTS { public static void main(String[] arg...
ecc83722bc736937516da227ba073d6703a163b2
[ "Java" ]
1
Java
KevinSaulOrtizVarela/EVA1_7_KILLING_OBJECTS
2837fee0811f5ccf44ca21dc05f90f89ba73cade
a0878478eaf5a207d9206dada4d6f0641b1e12bc
refs/heads/master
<repo_name>mikaelm12/ProxyDemo<file_sep>/Controllers/HomeController.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DataProxy.Models; using Microsoft.AspNet.Mvc; namespace DataProxy.Controllers { public class HomeController : Controller { [From...
0443fd281d8349aeb140332cee0e2213e5e07e5b
[ "C#" ]
3
C#
mikaelm12/ProxyDemo
a04489d7c133dcc1b7acc031ac9622b62852fea0
db13d3e2f2b5722130e0a45800d3b64279b52368
refs/heads/master
<repo_name>rexoriousyun/rexoriousyun.github.io<file_sep>/README.md <NAME>'s Personal site <file_sep>/js/main.js window.onload = function(){ $('#loader').css({'display':'none'}); $('header, .container').css({'display': 'flex'}); $('.backgroundVideo').animate({'opacity':'1'}, 'fast', function(){ $('heade...
62218e2be53c5f91d3209d94a5a5569ebef97d9d
[ "Markdown", "JavaScript" ]
2
Markdown
rexoriousyun/rexoriousyun.github.io
5d179cdda1cfef370720687a3f49b53a941d1f34
acb560cc2857fe0df940944d8b04f067ef0afb2d
refs/heads/master
<file_sep>angular.module("new",[]).directive("new",[function(){ return { restrict:"ECMA", templateUrl:"views/main.html", scope:{data:'=gyr',data2:'@gyr2',img:'=gyr3'}, replace:true, } }]).filter("f",[function(){ return function(elength){ if(elength.length>12){ return e...
33104248175d115eb0412e94a461db18e06510ca
[ "JavaScript" ]
1
JavaScript
AliceRu/gyr
d997a8aa98c4284c06d06ba9f734d0dcf2d5b703
aecff896f11b266a6fff440fc1eefd5145e1fbfe
refs/heads/main
<file_sep>class GameStats(): """Отслеживание статистики""" def __init__(self, ai_game): """Инициализирует статистику""" self.settings = ai_game.settings self.reset_status() self.game_active = False self.read_high_score() def read_high_score(self): ...
25715ff658f22af73a15824391bdac015b6eaff7
[ "Python" ]
7
Python
EgorikEbolik/Alien-Invasion-Game
6aea28525b84b823cdb1b9cbc71d943b6c1ac015
ab1db732ea7bd16059c8199e849e1b88f2317ddd
refs/heads/master
<repo_name>YangSeung-min/react-multi-page-app-test<file_sep>/webpack.config.js const path = require('path'); var webpack = require('webpack'); module.exports = { entry: { // 'whatwg-fetch' : IE에서 fetch를 사용하기 위해 필요하다. // '@babel/polyfill' : IE에서 Promise를 사용하기 위해 필요하다. // main: ['whatwg-fetch', '@babel/pol...
295e079d01a33c0dc1d5a5ac195597584aac4c2d
[ "JavaScript" ]
1
JavaScript
YangSeung-min/react-multi-page-app-test
2583a9dca3d96bba748d68eec1cfec0e99ff0e62
7fb011934d2f450ad433e927a84058c4c636f02f
refs/heads/master
<repo_name>melentyev/llvm<file_sep>/tools/llvm-xray/xray-log-reader.h //===- xray-log-reader.h - XRay Log Reader Interface ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for de...
6214624e0e0477526eefb9d7ace01f4838f0f183
[ "C++" ]
3
C++
melentyev/llvm
70dde8fbf523a40ad43b8482dff9358f9a6d38a9
ea1389a014d9245a8336645e8f589e6daeeca7ea
refs/heads/master
<file_sep> /* * PIZZA Shop rest API * * Test Mailgun API with Mock */ // Dependencies var helpers = require('./lib/helpers'); var _mailgun = require('./lib/_utils_mailgun'); var _cart = require('./lib/_cart'); // TEST data var testEmail = '<EMAIL>'; var testArticle = { 'id' : '500', 'name' : '<NAME>', 'mi...
edba00ce154472c1d4b5f89ac2b05f801ffe2efb
[ "JavaScript", "Markdown" ]
6
JavaScript
ladislavlisy/Node-Master-Class-Homework-Assignment-3
a82fab4633d97f817f5bb4168d090e4b7619361c
893c8647adc87c2535925cafbcb43a8ba355381c
refs/heads/master
<repo_name>GoodForOneFare/kudos_ruby<file_sep>/app/controllers/kudos_users_controller.rb class KudosUsersController < ApplicationController # GET /kudos_users # GET /kudos_users.json def index @kudos_users = KudosUser.all respond_to do |format| format.html # index.html.erb format.json { rende...
f3c56a01d3ac53a4ec51306208a98fe3a95985c3
[ "Markdown", "Ruby" ]
12
Ruby
GoodForOneFare/kudos_ruby
35032abfb529256f0c47c949e8ff117bbc6ca2fb
6eb637bc98dfc7e2d5121a1f56799535d015d444
refs/heads/main
<repo_name>roymckenzie/JSON-QAnon<file_sep>/requirements.txt beautifulsoup4==4.9.3 PyYAML==5.4.1 soupsieve==2.1 <file_sep>/README.md # QAnon is a dangerous cult. This archive is for research purposes only, and I do _not_ endorse any material in this repo. # QAnon Post Dataset `posts.json` contains all QAnon posts as ...
20fbcc8146fa3ce03e6709716476a351f0969f5f
[ "Markdown", "Python", "Text" ]
3
Text
roymckenzie/JSON-QAnon
d1549f8063c41a167449b3556072af1c048b18e7
c040cdee04048a6c56178aebf7f52ea41db91e52
refs/heads/master
<file_sep>class Api::PlacesController < ApplicationController def index @places = Place.all if params[:name_search] @places = @places.where("name ILIKE ?", "%" + params[:name_search].to_s + "%") end @places = @places.order(:id => :asc) render "index.json.jb" end def create @place...
781e880127116ba049d993ff4d05a582dac61c2d
[ "Ruby" ]
1
Ruby
fionaian/example_places_app
6105eb63690c921b1b1dfac98aec7fbd6c453e93
bd2dc9ca615f54434cd015864f035a042588cd81
refs/heads/master
<repo_name>loudmouse/photo_spotlight<file_sep>/script.js $(document).ready(function(){ // Start Featured Photographer - Unsplash API const div = document.getElementById('featured-photographer'); const photog_url = 'https://api.unsplash.com/users/lanceanderson?&client_id=3af8662ba60ee5845668e501d7ecd832331c22e5d...
299e342e5c6f3a3545868544b5c722975bb62855
[ "JavaScript", "Markdown" ]
2
JavaScript
loudmouse/photo_spotlight
cef49e4da5978e46faeddbf9cb8317e61572349b
cfe336ec65716b3ce7ed8693a0f0b2632d62fdd9
refs/heads/master
<file_sep><?php session_start(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta name="description" content="Free Bootstrap Theme by BootstrapMade.com"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3....
9f7554aa847178fa2ea4ae7a922935431bdda7af
[ "PHP" ]
1
PHP
adityanair97/Software
065a4ef56810dff7f4a913578a2acdda1d236215
dedd2f4100f85c9a809fb031bd4de9c23bbae016
refs/heads/master
<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 semana6; /** * * @author usuario */ public class semana6 { private String nombre; private St...
2292e1bc2c31f63747eee2f564946d65f5b23006
[ "Java" ]
2
Java
Diegojimenez678/actividad-semana6
dce4952ddf28055e6ab3957d64ec78b06b50e287
2cbfd150a3491614e0a3c6576274454b67a58fa0
refs/heads/main
<file_sep>// this function finds the first occurrence of a character in a string function findStartIndexOfPattern(str,char) { let currentIndex = 99999999 let minIndex = 99999999 for(let k = 0; k < str.length; k++) { if(char === str[k]) { currentIndex = k; if(currentIndex < minIndex){ ...
7e80e6fc021ac457ce48258353d8a46781d2a2b0
[ "JavaScript", "Markdown" ]
2
JavaScript
dr-dolce14/desmos-code-jest
078988bf6a4a01f3d788350004708df0b7b5d5b7
fd07487e09465e8bb149d8b1038d063993e2b78e
refs/heads/master
<repo_name>kgalanty/ProductCheckoutRedirect<file_sep>/modules/addons/ProductCheckoutRedirect/templates/lib/DispatcherAPI.php <?php namespace WHMCS\Module\Addon\ProductCheckoutRedirect; /** * Dispatch Handler */ class DispatcherAPI { public static function dispatch($controller, $action, $parameters) { ...
37861d1429a4ce684d511320d3d660e8b5287081
[ "Markdown", "PHP" ]
14
PHP
kgalanty/ProductCheckoutRedirect
51c851343463b7f647996b3f045cf0c977cfe979
c927fd2576250e8992cbbb2ff75346677f97215f
refs/heads/master
<repo_name>jonassuncao/PS-SI-2020-1-Self-Service<file_sep>/4.Sistema/SelfService/src/main/java/com/ufg/inf/ps/selfservice/application/client/response/ClientResponse.java package com.ufg.inf.ps.selfservice.application.client.response; import com.ufg.inf.ps.selfservice.domain.client.Client; import com.ufg.inf.ps.selfser...
723b4d339ea61e31e26684c87e2283f9e77cc3e6
[ "Markdown", "Java", "TypeScript", "Maven POM" ]
72
Java
jonassuncao/PS-SI-2020-1-Self-Service
d12ad9eff061fdc1041e8107ab7847d257ad78e9
f97150b0eb96a2e2784a911283bf04c6a736f404
refs/heads/master
<file_sep>#include "KW_renderdriver_sdl2.h" #include "KW_renderdriver.h" #include "KW_widget.h" #include "SDL.h" #include "SDL_ttf.h" #include "SDL_image.h" #include <stdio.h> typedef struct KWSDL { SDL_Renderer * renderer; SDL_Window * window; } KWSDL; static void KWSDL_renderCopy(KW_RenderDriver * driver, ...
3509b10e9f95f349d2b0f05532edd5c5363efb65
[ "C", "CMake" ]
11
C
ewmailing/KiWi
67afc455cdd1f1ecfd80d2c50bb864a36f2a6138
654d6abb6bb25201c14368110af71b74dae14d7b
refs/heads/master
<repo_name>grootstebozewolf/PandenPerBouwjaar<file_sep>/Kadaster/MainWindow.xaml.cs using System.Windows; using ESRI.ArcGIS.Client; using System.Diagnostics; using ESRI.ArcGIS.Client.Symbols; using System.Windows.Media; namespace Kadaster { public partial class MainWindow : Window { private DynamicMa...
5bd378f94a9f31405e20426f44ae60453070dcef
[ "C#" ]
1
C#
grootstebozewolf/PandenPerBouwjaar
336f4980e4004f69fb1b29e95ff8f25afb0d89d6
0655c0895b0f1afd424f14f3ae4addc47504b649
refs/heads/master
<repo_name>zgover/connected-application<file_sep>/ConnectedApplication/app/src/main/java/com/example/zachary/connectedapplication/NetworkConnectivity.java // <NAME> // JAV1 - 1608 // NetworkConnectivity package com.example.zachary.connectedapplication; import android.content.Context; import android.net.ConnectivityMa...
1583bd3af6117210da5b600e7f172f291989a1ca
[ "Java" ]
1
Java
zgover/connected-application
dd9cda336e8961cc7b87ea86ba3b047ab9045c95
94efd32ec8eb4b01de762bcd386203a178c34b2e
refs/heads/master
<repo_name>d-german/PolymorphJCCCDemo<file_sep>/UniversalHealthcareViewer/Program.cs using System; namespace UniversalHealthcareViewer { class Program { [STAThread] static void Main(string[] args) { const int documentId = 0; var viewer = new UniversalV...
4c186436272f9e5fa8f9c0f1872345aad2c503dd
[ "C#" ]
4
C#
d-german/PolymorphJCCCDemo
5a5722c7ff273d0c645cd3f957c7c4d2988db105
922cc1d2c813c23a81f5f3c2a0a9fa563c3797dc
refs/heads/master
<file_sep>#!/bin/bash if [[ -z "$branch" ]] echo "\$branch must be set to the current branch" exit fi echo . echo "Are you sure? This will WIPE your current local commits," read -p "and replace them with whatever is at ORIGIN! ... " # back up to the stash in case of accident git stash save $branch"_backup_"$...
ea975858b11d6e3ad3b2cf48fd2c1b0d6325c9b9
[ "Markdown", "Python", "Shell" ]
71
Shell
willsheppard/linux-scripts
7b2234d26496546b8d97d5a7e6485613d7d67036
013c69cd8f280c7873f64cbce160f82712917786
refs/heads/master
<repo_name>fletsch/trajectory_toolkit<file_sep>/scripts/ekf_evaluation.py #! /usr/bin/env python # Imports import os, sys, inspect import numpy as np from trajectory_toolkit.TimedData import TimedData from trajectory_toolkit.Plotter import Plotter from trajectory_toolkit import Quaternion from trajectory_toolki...
c8428662849b4f2ec0c92ab6ab8360136625e5d1
[ "Python" ]
1
Python
fletsch/trajectory_toolkit
e8c3e5420a9824d2cf379dce01fa3d4dbe0d3725
97f72a0e577789dd40964c6067be4083a4d73413
refs/heads/master
<file_sep>class Blogger < ApplicationRecord has_many :posts, dependent: :delete_all has_many :destinations, through: :posts validates :name, presence: true, uniqueness: true validates :bio, length: {minimum: 30} end <file_sep>class Destination < ApplicationRecord has_many :posts, dependent: :delete...
7df69d252acdb422d0e3c1fb7350122c36fad3f6
[ "Ruby" ]
2
Ruby
edhernandez04/Rails-Practice-Code-Challenge-Travelatr-nyc-web-010620
97b5cc6f54bef84f339ebf5aa52bea65de6dd81e
75be322d6d8773d9e36a1dbee5f842283a4e82a2
refs/heads/master
<file_sep>define([ 'jquery', 'underscore', 'backbone', 'utils/log' ], function($, _, Backbone, Log){ // Payload Model // payload is the data structure available to the templates via Mustache. return Backbone.Model.extend({ initialize : function(){ this.set({ buildUrl : function(){ ...
67418a4d4767108340b78148cf1af42879b71606
[ "JavaScript", "Ruby" ]
11
JavaScript
digideskio/ruhoh.js
c204593e6e3d49c5aa99e931fbc7a4c7d567b8aa
34e3bf96ae53f3cc5e93bf3899f7afae143b135e
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace COMP123_M2020_FinalExam { public partial class GenerateNameForm : Form { ...
0140b439c5d47aebb83ef70bddcc7a32cadb99e4
[ "C#" ]
1
C#
vermashanu/COMP123-M2020-FinalExam-301100045
b62293f810959006a9e669279ebcd38fe1b993f1
e508c8d82dc77223067e90d380f99b05539d620a
refs/heads/master
<file_sep>A itty-bitsy Virtual Machine <file_sep>use std::fs; use std::env; use std::error::Error; use std::process; use std::vec::Vec; fn main() -> Result<(), Box<Error + 'static>> { let args: Vec<String> = env::args().collect(); if args.len() < 2 { process::exit(1); } let filename = &args[1...
6c40d9f8a4a8d9cebe69ad6788f61d43ae6c4e6a
[ "Markdown", "Rust", "TOML" ]
3
Markdown
joaobap/ettyvm
8e0ac4bd1aa657e64860c56d2826ff7a0902e49a
edf52fc4abec5475a71845d6d104e87708057040
refs/heads/dev
<file_sep><?php require 'vendor/autoload.php'; use Location\Coordinate; use Location\Distance\Vincenty; $coord1 = new Coordinate(49.378518, 32.152849); $coord2 = new Coordinate(49.426007, 32.094617); $calculator = new Vincenty(); echo '<h1> Дом <--------> Geekhub </h1>'; echo '<br>'; echo '<br>'; echo 'Растоян...
4925ef69a76aef4e4c8789b37b8131ab1dee5017
[ "PHP" ]
1
PHP
JeniaTr/Home-work-1
4b399b8c344ecd16e55d586b47ef226f1e76fece
dc886d1ad2358a7f870743e58389b74492210a2a
refs/heads/master
<repo_name>samuelpacheco/projetoPHP<file_sep>/alterar.php <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Alterar clientes</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="<KEY> crossorigin="anonymous"> </head> </head> <b...
b4ed1488ca4aedf5ca72b68c472193c7f967890a
[ "PHP" ]
5
PHP
samuelpacheco/projetoPHP
c765c3bffb932f4310f1d82a0a5e6f0989e13c92
fc4e3b02650db3cce783ae6e980a2d0a91cbcb5c
refs/heads/master
<file_sep>#include "include/csv.h" CSV::CSV(char* file) { this->file = file; } string CSV::read_line(uint number){ this->ifs.clear(); this->ifs.open(file); string line; for (uint i=0;i<number;i++) { getline(ifs,line); } this->ifs.close(); return line; } string CSV::read_fil...
4ec8d39f6aa60dd185fa7e21f6b2f6afeb18c278
[ "Markdown", "C++" ]
4
C++
ranfis/notes
c39c049c00fe4fcbf4381d27f44c09748f76656d
18dfcf38b272836361727b9ac6b4a0a47a4d948e
refs/heads/master
<file_sep>import logger from 'winston'; import net from 'net'; import { EventEmitter } from 'events'; class TCPServer extends EventEmitter { constructor(config) { super(); this.config = config; this.authed = false; } start() { logger.info('Starting TCP server ...'); this.server = net.create...
bf9baa1d56d8b8bfa95cd06eb378f99f29596b9d
[ "JavaScript", "Markdown" ]
2
JavaScript
sn3p/discord-reporter
ea5785f330680d6b158210c108295f11f5a96ff0
d1fbc7d4e1799750ffb6a00cb2480e0b95e80f43
refs/heads/main
<repo_name>unusPanda/leetcode-java<file_sep>/子数组最大平均数I.java public class 子数组最大平均数I { // 需要整数相除得转类型 public static double findMaxAverage(int[] nums, int k) { if (nums.length == 1) { return nums[0]; } int n = nums.length - k; int[] tempK = new int[k]; for (int i...
8a6aec9e27497b965d39eb2a347744caf4e96d28
[ "Markdown", "Java" ]
10
Java
unusPanda/leetcode-java
c67e034a296c07467f974ea4cd9fe6950bd84be1
f4e30439b2f346f43eb0fcd54068fa3f63f22571
refs/heads/master
<file_sep># bulletinboard If you're a feeling down or need that extra push to achieve your dreams. Motivation Board web application lets you post 'wiseful' messages and see them. Don't procrastinate and start be motivated now! ![schermopname 148](https://user-images.githubusercontent.com/25740926/27292408-ae5aadc0-55...
3a4c1b313e3930a4770fc859f24f469b69d6086f
[ "Markdown", "JavaScript" ]
2
Markdown
stewylam/bulletinboard
5f6f247eaaddfd806db0d619ceed4a88cdd7fab1
920e69351d1ec48ae5714311fbc974433cd10f6c
refs/heads/master
<repo_name>VictorSDelpiu/Sprint-Challenge-React-Wars<file_sep>/starwars/src/components/StarWarsList.js import React from "react"; import styled from 'styled-components'; const StyledDiv = styled.div``; const StyledP = styled.p` opacity: 1 color: black; font-weight: bold; `; const StyledSection = styled.section` dis...
b92cc6c161a806d2ac17492d3c92455bbf1c51fe
[ "JavaScript" ]
1
JavaScript
VictorSDelpiu/Sprint-Challenge-React-Wars
e93b529bb696adc3e49285c2342436f1402526c0
4fdac228c9969dd4fb70f669ab6a2918a8547d9e
refs/heads/master
<file_sep>'use strict'; /** * @ngdoc overview * @name passcardApp * @description * # passcardApp * * Main module of the application. */ angular .module('passcardApp', []); var downloadPDF, drawLine, drawRoundRect, format2c, generatePasscard, joinArray2d, joinNoSeparator, overwriteArray2d, overwritePasswordAr...
d6463057a4723c549bc12a3a47b032bea81b3e3a
[ "JavaScript", "Markdown" ]
2
JavaScript
ulikoehler/Passcard
92b1bd5519e677b5198e261afc76e352726a95f8
de6f515f393ea018a91f0215e5c2895c0e71bc3c
refs/heads/master
<repo_name>DreamerWay/Sort<file_sep>/ComparisonSort/BubbleSort/BubbleSort.cpp /******************************************************************************* * * FileName : BubbleSort.cpp * Comment : 冒泡排序 * Version : 1.0 * Author : <EMAIL> * Date : 2014/06/04 * *************************************************...
fc5e7ba7a66824541c5dd92cb568d9c2c72ba86a
[ "Markdown", "C++" ]
9
C++
DreamerWay/Sort
e7035eaec71e4c18c9fcb6c98fba66bbeb878974
c3dd0ab849b1c5436541f7546896936202650bcc
refs/heads/master
<repo_name>saidev-t-rajan/flickr-photo-search<file_sep>/spec/models/flickr_spec.rb require 'rails_helper' describe Flickr do response_hash = {"rsp"=>{ "stat"=>"ok", "photos"=>{ "page"=>"1", "pages"=>"240680", ...
1ec442b2992ec4a27d88f319497704d33d8fa0a7
[ "JavaScript", "Ruby" ]
9
Ruby
saidev-t-rajan/flickr-photo-search
8ed914159a7957c8a24620f92fe9f4bcddd3f6dc
4f61daef067d55d178c0c95824d828463806a786
refs/heads/main
<file_sep>import React, { Component } from 'react'; import { Grid, Cell } from 'react-mdl'; import Education from './education'; import Experience from './experience'; import Skills from './skills'; class Resume extends Component { render() { return( <div> <Grid> <Cell col={4}> ...
099f3959dfdc16847396459b4c89bded009f1b6f
[ "JavaScript" ]
1
JavaScript
harshhp12/harshpatel.io
2e27cfd4a0fef3827cb3410a3072a81ce8cbdb1f
fb1d6339f8cfd4756141ae0ab9de05e435740e74
refs/heads/master
<repo_name>pranaysondkar/ParkMe<file_sep>/app/src/main/java/com/parkme/BookingActiivity.java package com.parkme; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import andro...
0904868b40dd774ebba75037d680189a774455d8
[ "Java" ]
1
Java
pranaysondkar/ParkMe
ac336d031f0584968d509d1803cb8ad6b286dd1c
08256b379827cf69850e3f73bd99ab49a6063875
refs/heads/master
<file_sep>\name{benford} \alias{benford} \title{Benford's analysis } \description{ Benford's analysis makes use of a statistic property of natural data sets called Benford's Law. Benford’s Law (also called “first digit phenomenon”) is a statistical phenomenon that describes the frequency of a given integer, from 1 to 9...
4a7e9a22a50840443b7dfd9ffcb012a1278d1851
[ "R" ]
3
R
cran/benford
81b4cb2b210105daa584322811136dcdcd88c028
ecb91358bc3c2484c288b8bc9c24be7daeff61eb
refs/heads/master
<repo_name>LuoxDev/CookAid<file_sep>/app/src/main/java/be/pxl/project/cookaid/SearchRecipeAdapter.java package be.pxl.project.cookaid; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable...
02cbc7a3ecd615f66c3fbf3c5b4513b332187b81
[ "Java" ]
2
Java
LuoxDev/CookAid
5338970761996d92ea6693ffc813f6afdcf565f0
5a3422ea2bfc860f99b0235c68207de0ed6ed3d8
refs/heads/master
<file_sep>var zmq = require('..') , router = zmq.socket('router') , req = zmq.socket('req') , should = require('should') , tcp = 'tcp://127.0.0.1:3000'; describe('socket reconnect', function() { it('should reconnect', function(done) { var reqs = {a: 0, b: 0, c: 0, d: 0, e: 0}; router.on('...
b3c98fd37ab921e66d1c8edca3d1fd41ed84bb77
[ "JavaScript" ]
1
JavaScript
yamsellem/zeromq.node
17c3994753187206bc2d2cc730e18b79b4d52abf
98e909844708a7b084e7754f69fb78ef5cec5500
refs/heads/master
<file_sep>package data_types; import java.util.*; public class Message_data extends Base_data { // Default constructor public Message_data() { super(); m_type = Tcp_message_type.Message; m_recipiants = new Vector<String>(); m_sender = ""; m_message = ""; m_have_attachment = false; m_filename = "...
880e3d1e0dff9441dffba5048fb1739fc43a973c
[ "Java" ]
9
Java
thestaledorito/WeGroup
35febd49b7be86c28efbdf8e0e906e9dbf59f319
19840fb2911bef39d742ec70aa85b3f216a8bdf1
refs/heads/master
<repo_name>christopherlolney/DiscordBot<file_sep>/bot.js const auth = require('./auth.json'); const Discord = require('discord.js'); const client = new Discord.Client(); const GphApiClient = require('giphy-js-sdk-core') const giphyClient = GphApiClient(auth.GphApiClient) //make this private const ytdl = require('ytdl-c...
9e4ba45889a40c22504f22a50f1d2def7209edb3
[ "JavaScript" ]
1
JavaScript
christopherlolney/DiscordBot
a5011d0c3143b787168cc71c0df7a8c7d47f13de
b77512f0bbb2ddb4cabc0532c99af07243522d29
refs/heads/master
<file_sep><?php defined('BASEPATH') or exit('No direct script access allowed'); require APPPATH . '/libraries/REST_Controller.php'; use Restserver\Libraries\REST_Controller; class Klasemen extends REST_Controller { function __construct($config = 'rest') { parent::__construct($config); $this...
7816656a3a5f6e4ce890e08ac38e52c8de9ccb72
[ "Markdown", "SQL", "PHP" ]
5
PHP
bayufajariyanto/rest
2f4a29a535b34830bc8688312f8acad0a8d98546
11dddca3846f09b193d8f9fc00b756aae87554ae
refs/heads/master
<repo_name>Adarsh2412/PythonTest<file_sep>/calculator.py #function calculator is defined def calculator(first_number,second_number,operation): if(operation=='add'):#if input is add, then we will add the numbers return first_number+second_number elif(operation=='subtract'):#if input is subtract, then...
72f7d883179235c6b63b10925ebb973df6a238b4
[ "Python" ]
1
Python
Adarsh2412/PythonTest
1453e9acdd61ff3895c58da9f164dab187b5c8ee
e477d102f87af8e76414b671162d5c8b3057e74d
refs/heads/master
<repo_name>IvoJongmans/Vue.js-Checkout<file_sep>/README.md # Vue.js-Checkout My first Vue.JS project #I've started to build a checkout page with Vue.js <file_sep>/script.js var app = new Vue({ el: "#app", data: { fname: "", lname: "", email: "", nb: "No", city: "" },...
9c27d1e1a281b57c5b73c0bc4c3a77498a5285f1
[ "Markdown", "JavaScript" ]
2
Markdown
IvoJongmans/Vue.js-Checkout
e203f93caf8d2858844e85924fa05990aebb4b22
5729e5a1c9693f3bee75ab5066342efc000d741a
refs/heads/master
<file_sep>activate_this = '/var/www/one/env/bin/activate_this.py' execfile(activate_this, dict(__file__=activate_this)) import sys sys.path.insert(0, '/var/www/one') from one import app as application <file_sep>from flask import Flask app = Flask(__name__) from flaskext.markdown import Markdown Markdown(app) impo...
dd1579937bd35c0f0cb438f3ef1e539766caafdd
[ "Python" ]
2
Python
handledeck/one
3fdd2fd2aed773b25b0eb0b613818b59d6b04ad9
c8e7986af29c9bebb4d8877859c6ed0057607e49
refs/heads/master
<file_sep>var net = require('net') var server = net.createServer(); var fs = require('fs') var globalConf = require('./config') server.listen(globalConf.port,'127.0.0.1'); server.on('listening',function(){ console.log('服务器已启动') }) server.on('connection',function(socket){ console.log('有新的连接') sock...
0c86951aae12b896cf5c9e9d2c3018cf843a9935
[ "JavaScript" ]
1
JavaScript
Keithcaiqian/studyNode-littleServer
8fc47f66375137401fab14915ae83d793249951f
e50d057649d4062979761ef3c36275f5391896d4
refs/heads/master
<repo_name>mfix22/calendarx<file_sep>/calendarx.d.ts import * as React from 'react'; export type DateLike = Date | string | number; export type Event = | { date: DateLike } | { startDate: DateLike; endDate: DateLike }; export type View = 'year' | 'month' | 'week' | 'day'; export type ButtonPropsGetter...
88127cb376ad0f468c6f8f58320fd1dc37a07dd3
[ "JavaScript", "TypeScript", "Markdown" ]
5
TypeScript
mfix22/calendarx
08c199f6a694a7f442630a6b70798c376dac8170
8759f96945312ab8d48f34072cf9f81f94c3f21d
refs/heads/master
<file_sep># flexboxdemo test some flexbox style try some css styles of flex box. including display, box-orient and so on use css3 style overwrite <file_sep>/** * Created by piggy on 2015/5/26. */ +function ($) { 'use strict'; var Tab = function(element) { this.element = $(element); } Tab.VERSION...
f0ea051e0afb21773b18d48d5f6a3742a9db32e5
[ "Markdown", "JavaScript" ]
2
Markdown
judy0326/flexboxdemo
a90f11de14a026a343e91e08ab2f10cab36a41bf
9e78ed85b8442060a4e83f5d546df99598086472
refs/heads/master
<repo_name>mihuie/db_app<file_sep>/app/forms.py from flask.ext.wtf import Form from wtforms.fields import TextField # other fields include PasswordField from wtforms.validators import Required, Email class EmailPasswordForm(Form): username = TextField('Username', validators=[Required()]) email = TextField('Ema...
c7bb7dd18038935c019a45b509f7fee28393d8d6
[ "Python" ]
1
Python
mihuie/db_app
b3087571e07457e708fad51613a533afe6c5375c
f0fe23898341d674a6dd4f5ba79f15f0dec9f169
HEAD
<file_sep>$(function() { var g_vid_yt_user; var g_vid_date; var g_vid_offset = 1; var g_vid_perpage = 25; var g_dateVideoGroupTemplate = $('#video-date-group-template').html(); var g_videoItemTemplate = $('#video-item-template').html(); var g_filterFunc = function(duration, likes) { if (duration...
da37868d76d0c60fb67f39d96b15f7bde907980f
[ "JavaScript" ]
1
JavaScript
vsg/youtube-browser
fd20e0e41be5e06956a7ac2b8bcbd495ced589d2
7f6049ac7d44146996f887da9d9477b0a007ebc0
refs/heads/master
<repo_name>ankored33/starry-stars<file_sep>/main.rb require 'sinatra' require 'sinatra/reloader' require 'uri' require 'json' require 'net/http' get "/" do stars = Stars.new("https://anond.hatelabo.jp/20171019123120") stars.parseJsonToHash @num = stars.nomal_stars.length erb :index end class Stars def initi...
1dfcf0c912f06e00501428eba271c330e1b792d4
[ "Ruby" ]
1
Ruby
ankored33/starry-stars
f76b49af172fd5d63da03b8404c1974b63c9b53e
2bc9facae87e89a1f0a46d331f714b79cf78ba2b
refs/heads/main
<file_sep>import torch import torchvision import argparse from box import BoundingBox from getbatch import getBatch from wrapper import Wrapper def parserArgs(): parser = argparse.ArgumentParser() parser.add_argument('-s', type=str, help="") parser.add_argument('-d', type=str, help="annotations...
b5df62bc2e9a10650fa5c11d96821ee938d30a8a
[ "Markdown", "Python", "Shell" ]
8
Python
JakubSekula/License-plate-detection
fe5040ac00ea566a7eee99dfb35ddff94f1dd496
d6fdd8c8f895438ced134337838eaf1599a21d46
refs/heads/master
<file_sep>import React, { Component } from 'react'; import NewTodoForm from './NewTodoForm'; import Todo from './Todo'; import { v4 as uuid } from 'uuid'; import './TodoList.css'; export default class TodoList extends Component { constructor(props) { super(props); this.state = { todos: [], }; } ...
94499b7a67f0d49faef2266f4786e288e68b8fa4
[ "JavaScript" ]
4
JavaScript
zaharano/cra-todos
375fbe0a1f2c2cd6f6e0b6ae8ecd448de2ef4e8f
0cee01773ddb87b90ff8d17f15622cb1e0eeebb6
refs/heads/master
<repo_name>marcosjmarin/practica1-pav2<file_sep>/src/app/app.component.ts import { Component, VERSION } from '@angular/core'; @Component({ selector: 'my-app', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { name = 'Angular ' + VERSION.major; text = 'List...
fdb05037e03abd4a230c19a1ecdd97e1bac86416
[ "Markdown", "TypeScript" ]
4
TypeScript
marcosjmarin/practica1-pav2
511f63de37077421027f80a7fd2e69885c9ea67c
daaecd65257c3bae60ad96f067ab84b3691bf0db
refs/heads/master
<file_sep>'use strict'; /* Filters */ angular.module('myApp.filters', []). filter('interpolate', ['version', function(version) { return function(text) { return String(text).replace(/\%VERSION\%/mg, version); } }]) .filter('mapUrl', function() { return function(e) { var str = ""; ...
85cdc0b965aef565c822e347c54850b313b06fd5
[ "JavaScript", "Markdown" ]
2
JavaScript
paulmatthews/magic-map
77dcb98301ebd6f87dca3381d495a5f7c4dd0e36
80c29cb8b4bb20818411a28389140c9a9dafd74c
refs/heads/main
<file_sep># gocourse Teste e aprendizado na linguagem GO (GoLang)
6c8e61b1806c3ac585902f7e3b234b1a9f95b59d
[ "Markdown" ]
1
Markdown
ilustregiuli/gocourse
5ee7a06dff93821ee4db1977f4835b8a01c85fed
7b20cab732c3ff7a815f38bf803dcbc31f3e9796
refs/heads/master
<file_sep>package id.fdl.tugas3; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.lifecycl...
0e47274c7bafffed86b1e19eb3abfb2502eca42f
[ "Java" ]
6
Java
fdl27/tugas3
d78e9e2d7fd0e90c52e07c3449e8cd08cf4358ea
49f8233a23ccc87614d08f6a4e32673f5c176ba6
refs/heads/main
<file_sep>#!/usr/bin/env python3 # Created by: <NAME> # Created on: Sep 2021 # This program multiplies each whole number that goes up to the users number def main(): # This function multiplies each whole number that goes up to the users number counter = 1 the_product = 1 # Input integer_a_s = in...
3e6f94688beac0b210cd4f4fd089cf5dfc5605d3
[ "Python" ]
1
Python
Michael-Zagon/ICS3U-Unit4-02-Python
62534e1548b6d8da43b4211e5e0801d8b58ec98d
4e2c37696ee449c9c66d5acef801cb6a68ad46c0
refs/heads/master
<repo_name>MarinaFedorenko/NIX-Module-2<file_sep>/tasks_data/src/main/java/nix/data/ListOfDates.java package nix.data; import java.util.List; import java.util.regex.Pattern; import java.util.stream.Collectors; public class ListOfDates { public static void task(List<String> dates){ Pattern regex1 = Patter...
607e4f99748ebbc975f6437aa101ee66d340616f
[ "Markdown", "Java" ]
2
Java
MarinaFedorenko/NIX-Module-2
3c6fbd21d1979e6a29433ea73d389cf762bb4f32
4721c38b9815a1f99d9a0ad9f58a2b00ac5e5cfe
refs/heads/master
<file_sep>var nskana = (function() { var spot = null; var spotMarkers = {}; var map = null; var selected = ""; var largemap = true; /*-----------------------------------------*/ // Load spot.json function getSpotDefaultData() { $.ajax({ url: 'spot.json', asy...
7d9bd044f452050ce9ccd848aabb49fbd52a4339
[ "JavaScript", "Markdown" ]
5
JavaScript
masa8/totsuka_meguri
b8bd5b218fec6e964efb348073d4ce42fe026ae9
59e223a9022710c4737bd24d06c54ad2ee4efb9b
refs/heads/master
<repo_name>AccXite/local-weather-app<file_sep>/src/app/WeaterService/IWeatherService.ts import { ICurrentWeather } from '../interfaces'; import { Observable } from 'rxjs'; export interface IWeatherService { getCurrentWeather(city: string, country: string): Observable<ICurrentWeather>; } <file_sep>/src/app/WeaterServ...
e5e1fbe707b5fca6634d5e5baee34f3a8cfa4766
[ "TypeScript" ]
2
TypeScript
AccXite/local-weather-app
267da7701d45d95d64936da809f21b15de235aa5
45910d4ff1664607e67b677626c99323e9799218
refs/heads/main
<repo_name>Dannyyny/Emojee<file_sep>/Emojee/Controllers/EmojeeViewController.swift // // EmojeeViewController.swift // Emojee // // Created by <NAME> on 3/30/21. // import UIKit import Firebase class EmojeeViewController: UIViewController { @IBOutlet weak var containerView: UIView! @IBOutlet weak...
ac4a135d33b4840ab6a53de88fd18749a3f8f44b
[ "Swift", "Markdown" ]
12
Swift
Dannyyny/Emojee
5df83471d044a6a71039d853af44cd96c45ffe24
2256aa3b1a7ebbfc2298bbd8e078a6beeb649e55
refs/heads/main
<file_sep>import { Route, BrowserRouter as Router, Switch } from "react-router-dom"; import "./App.css"; import Login from "./Login"; import Singup from "./Signup"; import Timeline from "./Timeline"; import Explore from "./Explore"; import Profile from "./Profile"; import Post from "./Post"; function App() { return (...
695833806d24903b56093a02bcef4e07ef201683
[ "JavaScript" ]
4
JavaScript
EslamFoda/instagram-clone
4a49006eaa0dfaabff7a11ba667e1b701bf927bb
f33d329dd8803772b2ea71f39537708a4d508c27
refs/heads/master
<repo_name>shubh4197/Books-Comments<file_sep>/src/app/add/add.component.ts import { Component, OnInit } from '@angular/core'; import {DataServiceService} from '../data-service.service'; import {User} from "../user.modal"; @Component({ selector: 'app-add', templateUrl: './add.component.html', styleUrls: ['./add....
4810403dcf7d0cf1d0f0d4f86f4f0435e9d7ce50
[ "TypeScript" ]
7
TypeScript
shubh4197/Books-Comments
626650da13a1f001758114ac43ec1a71acfc8677
85877e630a6bd94e245bc8233afdb897e5098639
refs/heads/master
<repo_name>PedroIlustre/royal_fight<file_sep>/Royal/action.php <?php namespace Royal; interface action { public function sword_attack(); public function spear_attack(); } <file_sep>/Royal/Knight.php <?php namespace Royal; class Knight implements action { private $id; private $name; private $life...
284d0cb1d0cfdac9a8808cadbb343c2e9f9be1da
[ "PHP" ]
4
PHP
PedroIlustre/royal_fight
81ddbc29cee3ffb460b015f1bdb76c4bfb6f9cfa
6474cf1b1e5da3dd482c9cc4626b7db89f21ba3b
refs/heads/master
<file_sep>'use strict'; const express = require('express'); const fs = require('fs'); const https = require('https'); const pug = require('pug'); const uuid = require('node-uuid'); const md5 = require('md5'); const TextHistory = require('text-history'); //const testFile = fs.readFileSync('./test_files/test1.txt'); l...
796261fb9bc18d4bacd1594b1b98dab2d7e213b5
[ "JavaScript", "Markdown" ]
4
JavaScript
wmsmacdonald/delta-cache
4e6e015560ca52c5d397002866b7bc2abc8ad14b
56dba064a1b63d9a14cab5a0d4c195ab65e5d53f
refs/heads/master
<repo_name>linstar4067/khepera<file_sep>/SimulationServer/Simulation/Sensors/ProximitySensor.cpp #include "ProximitySensor.h" #include "../Math/MathLib.h" #include "../Entities/LinearEnt.h" //#include <iostream> void ProximitySensor::updateState(const SimEntMap::const_iterator& firstEntity, const SimEntMap::...
ce04580f03eb7276388cd7b917eec6749b6b5304
[ "C", "C++" ]
4
C++
linstar4067/khepera
4e85f5a04ddef5946f1e398e0026c73cef666e68
65d84638be9db435873e362fa79093c9799b337f
refs/heads/master
<repo_name>domnministru/themoviedb<file_sep>/src/pages/Tv/TvShow.js import React, {Component} from "react"; class TvShow extends Component { render() { return( <div className="tv_show-page"> <h1>Tv Show Page</h1> </div> ) } } export default TvShow;<file_...
ad61b4f9c9bd969bca77bb4bbd4a451155a27ff7
[ "JavaScript" ]
6
JavaScript
domnministru/themoviedb
0e3ec058f36ceeb20828a696cc19d632eb2cbeb6
f93a1b424c0948edab7d1f3bd172b32de457286f
refs/heads/master
<file_sep><?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: sys_cdd.php 228 2013-06-25 06:57:20Z qingrongfu $ */ if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) { exit('Access Denied'); } $oparray = array('prescan'...
414df374be8b88d605d9ef40aed52126da1c5dc0
[ "Markdown", "SQL", "Text", "PHP" ]
62
PHP
tronslirr/discuzx
688fc613897b5db728e2c8346f59a19c24d84cac
7942984ab7c9f443474883ca310935cc802fc975
refs/heads/master
<file_sep>#include <string> #include <vector> #include <tuple> #include <iostream> #include "ModelName.h" using namespace std; ModelName::ModelName() { this->mType = NAME; this->mBeginTag = "<name>"; this->mEndTag = "</name>"; } void ModelName::FormatData() /** implemented formating for name */ { if(this->...
632fc98dd6ed4a984a9edf0b648abe50b2455c57
[ "Markdown", "Makefile", "C++" ]
66
C++
bilbil/3dviewer
a23717e7ea94e1c60b9ad1969eb90654c1baf47a
d7bf78f8063c2e49ef41fc84e30724d1b6a71e3b
refs/heads/master
<file_sep>#from hspice import HSPICEFile #from uwi import UWIFile #from psf import PSFFile from touchstone import TouchstoneFile from citi import CITIFile<file_sep>#!/users/micas/bmachiel/python/epd-6.1-1-rh5-x86/bin/python import wxversion wxversion.ensureMinimal('2.8') import os import re import wx import wx.xr...
477a95449de0497891baf6e261ea29abbc73fbb7
[ "Python", "Shell" ]
15
Python
Milateef/pywave
801f9491bd825738b07c963db7e9f3e5f7438978
0bc721e5e352154cad92ff5145303441aa7eaeec
refs/heads/master
<file_sep>import React from 'react' import { FaTwitter, FaStackOverflow, FaInstagram, FaEnvelope, FaGithub, } from 'react-icons/fa' import Avatar from '../Avatar' import ExternalLink from '../ExternalLink' // import background from '../../images/background.jpg' import './AboutMe.scss' const Name = () => <h...
cb7ee6a9c2a3d7079ed1d8c3d14ee1ce06c03734
[ "JavaScript" ]
6
JavaScript
dance2die/landing-page-v4
307ca088f45ccecbfb70b3cd14be03ac4d822db4
da7dc3d907edcd670c1dca71e0158c398827eafb
refs/heads/master
<repo_name>changsin/MapApp<file_sep>/MapApp/Model/LocData.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; using System.Runtime.Serialization; namespace MapApp.Model { [KnownType(typeof(MapApp.Model.LocData))] ...
73a2b62d0575bf062eb1f6c1898db2a5816c444a
[ "C#" ]
9
C#
changsin/MapApp
c03efd73ce8bddf494dcebec571a4534e99d4f36
dff786422281330924a687564f6c0465fe97998d
refs/heads/main
<repo_name>Michael734999/weather-journal-app<file_sep>/README.md <h1>Weather Journal App</h1> <p> I created this weather journal app using: <ul> <li>HTML</li> <li>CSS</li> <li>JavaScript</li> <li>NodeJS</li> <li>Express and Async JavaScript</li> </ul> This was a very fun project and I enjoyed building it a lot. I gaine...
141dc8046198ebbd7daa6159f44e47351e9a32a5
[ "Markdown", "JavaScript" ]
2
Markdown
Michael734999/weather-journal-app
96c9f802a6a6df43bd57fa624c5b400ce73c3832
e90f4b44e16bb540a6c1568eda098380dc0a17ad
refs/heads/master
<file_sep># each key can hold multiple values # combine dictionaries with lists dict_list = { "Bob": [1,2,3], "Chuck": [4,5,6], "Stan": [7,8,9] } print(dict_list["Bob"]) print(dict_list["Bob"][1]) # combine dictionaries with other dictionaries dict_list = { "Bob": {'age': 67, 'state': 'OK'}, ...
c751562ea538476464a13a281f321cbfebf89b76
[ "SQL", "HTML", "JavaScript", "Python", "TypeScript" ]
415
Python
brizjose/JBCodingDojo
fc161de86995d285bb5b2c39e28e9adbe04faebc
7e598419c0e090be4a92f7c3e80323daa9b4bb26
refs/heads/master
<repo_name>aspic/Rekord<file_sep>/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.noodlesandwich</gro...
d9499e42c3319b791155269504bc91caabe70bac
[ "Markdown", "Java", "Maven POM" ]
6
Maven POM
aspic/Rekord
ffdf655f1d06a635145e7227d4e50451ef42f4fd
36706d3476ee762d9717584531e3840d07cd20fd
refs/heads/master
<repo_name>andrei9505/ALF<file_sep>/TD1/String.js Varianta 1: <!DOCTYPE html> <html> <body> <script> var str = "Hello Hello Hello World"; var part1 = /(Hello )+/g; var res = str.match(part1); document.write(res); </script> </body> </html> Varianta 2 : <!DOCTYPE html> <html> <body> <script> var str = "Hello Hello Hello...
fef64952344f8fbd7585e9449237269ff8f57567
[ "JavaScript" ]
1
JavaScript
andrei9505/ALF
27f1202bc5eccc29fd6fae75ff42354fb95a6481
be2ee030dc55ed6a43b175bb14a98d3717b9786a
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp15 { class Program { static void Main(string[] args) { Team Barcelona = new Team() { Name = "Barcelona", ...
d06080b409d2fc57845ce8be96f97b80bcbc9f2e
[ "C#" ]
2
C#
AkbarGM/PlayerTeam
656a7820c27a06524805067c720c3cfb3a82150c
54cb46e4458e89cc21fe3e9e906506409a0ed69d
refs/heads/main
<repo_name>joanacmsilva/Drown_teste<file_sep>/Assets/scripts/Gravidade.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class Gravidade : MonoBehaviour { public bool gravitySwitch; // Start is called before the first frame update void Start() { } // U...
30fb7760b19c1747ea0fb7dc3e356baa30f29c61
[ "Markdown", "C#" ]
3
C#
joanacmsilva/Drown_teste
e6d2fc9925ecfd44fe8f9d694c97ed7ddae69b3b
73ab463d90eeea499ac8fd3ca221a1c1d8a1662a
refs/heads/main
<repo_name>berkcvlk/todo-app<file_sep>/src/components/TodoItem/TodoItem.js import React from "react"; import "./TodoItem.css"; import TodoHeader from "../TodoHeader/TodoHeader"; class TodoItem extends React.Component { state = { isLineThrough: false, }; lineThroughHandler = () => { this.setState({ ...
a702c6520feb7f9ddfa8a5bf05a54fab9163a35a
[ "JavaScript" ]
1
JavaScript
berkcvlk/todo-app
713095a5d18459f31293411194be804909839081
3bfc1392fd90b4f1599584d9b8e4c1850e3611ca
refs/heads/master
<file_sep>// 1: how could you rewrite the following to make it shorter? if (foo) { bar.doSomething(el); } else { bar.doSomethingElse(el); } foo === true ? bar.doSomethingElse(el) : bar.doSomethingElse(el); ========================================================================== // 2: what is the faulty logic in...
f459207acd1472947b2993db37ada09356abfa91
[ "JavaScript" ]
1
JavaScript
bymak87/jsprac
251e016d6f00705e6ed25ae433da705825522910
8c1e6be2883ffebccd1979c6edb8577b1f72a5fc