branch_name
stringclasses
149 values
text
stringlengths
23
89.3M
directory_id
stringlengths
40
40
languages
listlengths
1
19
num_files
int64
1
11.8k
repo_language
stringclasses
38 values
repo_name
stringlengths
6
114
revision_id
stringlengths
40
40
snapshot_id
stringlengths
40
40
refs/heads/master
<repo_name>aquasheep/GTFTSTG<file_sep>/GTFTSTG/src/com/aquasheep/GTFTSTG/Items/Rattle.java package com.aquasheep.GTFTSTG.Items; import com.aquasheep.GTFTSTG.GTFTSTG; public class Rattle extends Item { private static float soundLength = 5.5f; public Rattle(GTFTSTG game, float leftX, float botY) { super(game,"ra...
2e584ef6dcb6591aeac5f965f387ac67ca71e191
[ "Java" ]
6
Java
aquasheep/GTFTSTG
540446704a5875686756c24be3e93ca4018da610
2eea53748e60b6e6bd3a8853c39c23a0d0f5bec7
refs/heads/master
<repo_name>kkmanwilliam/quantmod<file_sep>/R/getOptionChain.R `getOptionChain` <- function(Symbols, Exp=NULL, src="yahoo", ...) { Call <- paste("getOptionChain",src,sep=".") if(missing(Exp)) { do.call(Call, list(Symbols=Symbols, ...)) } else { do.call(Call, list(Symbols=Symbols, Exp=Exp, ...)) } } get...
7175df3df6e193556588542527c1696585bca7ae
[ "R" ]
1
R
kkmanwilliam/quantmod
ac2f49a59e9169ecbba186e70f4f36cdd0150ed9
8face577c43b972ccdc10084becdeebd89a61e32
refs/heads/master
<repo_name>boruiwang/PinTool<file_sep>/simulator.py #!/usr/bin/python from optparse import OptionParser import sys, os class PIM(object): """docstring for ClassName""" def __init__(self, input): self.filename = input self.LogList = [] # LogList stores PIM output def ParsePIMLog(self): with open(self.filename...
9cf239f81d751cfdaaf0b7890c404f34e6de620c
[ "Python" ]
1
Python
boruiwang/PinTool
4048ef6b63994bcd844127fb387d44a5956f545d
14dfef6f65c72c248177ea2947e7e520a4724a2a
refs/heads/master
<file_sep>class Post < ApplicationRecord belongs_to :user has_many :likes has_attached_file :img validates_attachment_content_type :img, content_type: /\Aimage\/.*\z/ end <file_sep>LIKES = YAML.load(ERB.new(File.read(Rails.root.join('config', 'paperclip_options.yml'))).result)[Rails.env] Paperclip::Attachment.defau...
4bcdd5248954abf12b3d536ad1d1fc74eab3ac16
[ "Ruby" ]
5
Ruby
joshishalini/likes
1adefdcc09ab488d8c5d66ae7c6157fcab197f67
a50c0a8c9f4247393d427ef07edeb635c94feea4
refs/heads/master
<file_sep>/************************************************************************** This is an example for our Monochrome OLEDs based on SSD1306 drivers Pick one up today in the adafruit shop! ------> http://www.adafruit.com/category/63_98 This example is for a 128x64 pixel display using SPI to communicat...
1b603e948ae19ed24e26a6976ed3a52256b1be6d
[ "C++" ]
1
C++
bico83/Bikomp
ed6a8952631223c6788f47d5622b42ab454d4b76
6490c9a4445f2f2e8ad84daf41c8a832ee849394
refs/heads/master
<repo_name>sindre97/GANs-pytorch<file_sep>/GANs-pytorch/GAN/train.py import torch import torch.nn as nn import torchvision.datasets as datasets import torchvision.transforms as transforms from torch.autograd import Variable import torch.backends.cudnn as cudnn # 工具包 import argparse # 载入网络 from network import ...
5f88ebad460e0f7e630e3693c9ea4431a7ca9eca
[ "Markdown", "Python" ]
11
Python
sindre97/GANs-pytorch
3b674708ca18f558c66f76dca0f38e354219b418
658e34018e9749ae3c8c2c077f657a7d29306d23
refs/heads/master
<file_sep>from flask import Flask, jsonify, request import json, requests app = Flask(__name__) @app.route("/users", methods=["GET"]) def get_users(): users = "http://faker.hook.io/?property=helpers.userCard&amp;locale=en_US" user_cards = [] for i in range(25): raw_user = requests.get(users) ...
1db6d2543eec29848efee011da1f2c3436670b88
[ "Python" ]
1
Python
lilianaguerrero/ALS_SWE
e230aac0059e98c567651abc6acd3b6c9289f726
50df8d023a7de44b2ddb560ff3ce1154299564fb
refs/heads/main
<file_sep>import pyautogui import argparse import helper imageSnapRegion = (590, 170,2600, 1420) parser = argparse.ArgumentParser() parser.add_argument('-name', type=str, help='Image file Name') parser.add_argument('-imgType', type=str, ...
234f2b00e3673480bcb2cc562e2988cb58ad38e1
[ "Markdown", "Python" ]
9
Python
aaprabhu1992/google_earth_automation
d0da659650836911ef460616296990b3d277cc8e
feb075a3addce1f1c341540a43c4e139bc4e7988
refs/heads/master
<file_sep>import java.util.ArrayList; public class Collections { public static void main(String[] args) { ArrayList<Sample> list = new ArrayList<Sample>(); list.add(new Sample("chandu", "IT", "TCS", 25000)); list.add(new Sample("Harish", "CBO", "wipro", 30000)); list.add(new Sample("Ravi", "electronics...
67bee306ccb425e0adce0c9e0a4deb5d44ff95dc
[ "Java" ]
2
Java
chandu6262/colelctions
2beb8386cde033db63f1cd1ecbb5030b4c66fb7d
7fff79753357564d6d97ca3689c78f3490184aa2
refs/heads/master
<repo_name>imsifat/LoginPage<file_sep>/LoginPage/SignIn.swift // // SignIn.swift // LoginPage // // Created by <NAME> on 11/10/20. // Copyright © 2020 <NAME>. All rights reserved. // import UIKit import Firebase class SignIn: UIViewController { @IBOutlet weak var segmentControl: UISegmentedControl! @IBOutl...
a4f80cfa543266fb1031b33a652300ef23761bab
[ "Swift" ]
1
Swift
imsifat/LoginPage
3bd2f0e335985a4a22b77a503fcbfca43608a7cf
7b4c8a5eec9a5865a4a49315e99b8f4f91cb0c41
refs/heads/master
<repo_name>kbahrar/builtins_42sh<file_sep>/libft/ft_strsplit.c /* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strspl...
b1312c2ffcac2a136137ec316032a33f0f8e4106
[ "C", "Makefile" ]
6
C
kbahrar/builtins_42sh
8112ac43f239fdf00beda11f4cc35b0f86b1d4c8
ce5f33d9c243f2c88ed456a76e4e42663a4b150d
refs/heads/master
<file_sep>import { Link, useLocation, matchPath } from 'react-router-dom'; import clsx from 'clsx'; export default function Nav() { const location = useLocation(); // Find currently active item by checking // which tab route "matches" the current path const homeTabClassName = clsx('px-3 py-2 rounded-md text-s...
a71d5ff36545afc3abe11e0471d9f725c80c574c
[ "JavaScript" ]
8
JavaScript
NaelFR/new-year-eve
42935bce85fe2fc2646232af017c1abc6611fd5e
2e27ff149a2ad57b0014c0aa8590e1c6a4061cc0
refs/heads/master
<repo_name>suncube/PrototypePenguinPushers<file_sep>/README.md # Catcher Prototype [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](/LICENSE) [![Twitter](https://img.shields.io/badge/follow-Twitter-9cf.svg)](https://twitter.com/suncubestudio) [![Facebook](https://img.shields.io/badge/follow-Faceb...
1609654b238f4ffcf39ef3348c0640939aff0318
[ "Markdown", "C#" ]
8
Markdown
suncube/PrototypePenguinPushers
6ba2eb7f406083ee106011dc18ab0a63d4cae664
923dbee82bdf9638c39d55b31beefac8c4d0ff58
refs/heads/master
<repo_name>nickflya/FusionCsharp<file_sep>/FusionCsharp/model/coordinate.cs using System; using System.Collections.Generic; using System.Text; /// <summary> /// 坐标系模型 /// </summary> namespace FusionCsharp.model { public class coordinate { double x; double y; double z; public do...
7840c9072b59bf73725a6ae965cf10473ebc197a
[ "C#" ]
8
C#
nickflya/FusionCsharp
ddc63c1dfbee936bf32f49de4b3f6d87443d185e
f22c1c3c45adba051098064ac8fd6d3b5e75a175
refs/heads/master
<file_sep>var appKey = "ed5e5b4ee0b53cf1438bdaf6f7e05c0a504939cfe356095614f2562565a94b60"; var clientKey = "<KEY>"; var ncmb = new NCMB(appKey, clientKey); ///// Called when app launch ons.ready(function(){ $(function() { $("#LoginBtn").click(onLoginBtn); $("#RegisterBtn").click(onRegisterBtn); $("#posting")....
302da238b78293d125d28683f8e13e49e8a32724
[ "JavaScript" ]
1
JavaScript
tsuchiyaproject2016/treeco
a2e06532ce9c20dc11ccdd50d5ebcbe65106e166
71b980c9083503b45e9c00e126802ba05f2b2cc1
refs/heads/master
<file_sep>// Material/Shader Inspector for Unity 2017/2018 // Copyright (C) 2019 Thryrallo using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using UnityEditor; using UnityEngine; namespace Thry { public class Settin...
a8b2fb4731671d32ffcabfe2991ce3bfe1b6067a
[ "C#" ]
5
C#
Dynosaur/transcendence
ef37dab7d693361bbd45523c12160f00cadc2060
f0cc8234f7c857fdb54523e57e1b027c7a960e18
refs/heads/master
<file_sep># Gists A collection of snippets (gists). ## Ontraport Optin The [`ontraport-optin.html`](ontraport-optin.html) snippet must be added to all Unbounce pages that use an Ontraport form to capture leads. - Name: **Ontraport Optin** - Placement: **Head** - Variants: **All** ## Ontraport Conversion The [`on...
c5d901a2de4637d2ac338253aabc7419c228f0ef
[ "Markdown", "JavaScript" ]
3
Markdown
laylamartin/gists
955d516298a700e081a7a6ea5f4ffe6b175c0711
72d95f0735dba0c3dcc900120e9deab5662e00ee
refs/heads/master
<file_sep># Adoption Site ## Description >A site displaying pets for adoption, click a button to sort by pet type. ## ScreenShots ![alt text](https://raw.githubusercontent.com/BLRussell-09/adoption/master/screenshots/adoption.png "Logo Title Text 1") ## Fire It Up >Serve up the site and load the page. 1. Clone d...
c732655e17e41ab072a4b132ec7101f34804e7d5
[ "Markdown", "JavaScript" ]
3
Markdown
BLRussell-09/adoption
3e853a1b83c145f7fc895a9bdb6bc1d5f8402510
aed9c612e3e241d6d8b73c2f709c5125c7fffe50
refs/heads/master
<file_sep><?php error_reporting(0); include_once("db-connection.php"); $db = new DB('root', '', 'records_of_students'); $db1 = $db->query('SELECT schools.school_id, schools.school_name FROM schools'); $school_with_students = array(); $schools = array(); foreach($db1 as $value1) { $db2 = $db->select('SELECT stude...
b54f90d364757429f73587953ed3d52fcfe48263
[ "Markdown", "SQL", "PHP" ]
12
PHP
dhmorinski/records-of-students
587e85c88fdfba434d52770e6211575c1864dd1d
d0ffd2974427681b776f039b0c3527ac21fb121a
refs/heads/master
<repo_name>epdjsmit/laravel-invoice<file_sep>/app/Http/Controllers/CustomersController.php <?php namespace App\Http\Controllers; use App\Customers; use Illuminate\Http\Request; use App\Http\Requests\CustomersFormRequest; use Session; class CustomersController extends Controller { function __construct() { $th...
b231767fa09259a98a4f8b819a31f8cb1ee5a809
[ "JavaScript", "PHP" ]
5
PHP
epdjsmit/laravel-invoice
208a18e4675850f6d05f52e57de4cd3e2d0ed736
494a0ceff8962868d43c0b96d0c7d2e96e6b0776
refs/heads/master
<repo_name>Tokiya/POJ-university<file_sep>/src/people/Lecturer.java package people; public class Lecturer extends PersonBase{ private String title; protected Lecturer(String name, String surname, String title) { super(name, surname); this.title=title; } @Override protected String showDetails() { return ...
9ffd38c1fd11e8b95f44505c49863a6aa4dfbb59
[ "Java" ]
1
Java
Tokiya/POJ-university
7edbb596424580d753341f04f38d33bd025083e3
4e3342cd08059807f14cdca11be5da874fdc1cb2
refs/heads/master
<repo_name>arvind351/SPOT<file_sep>/README.md # SPOT Simple Point Optical Tracker Visually identify a laser pointer using OpenCV and Python, and control a wheeled Boe-Bot to follow the laser. Developed for EEL4660- Robotic Systems. #Contributions: Vision module programming - <NAME> Control module programmin...
34a3f31020e7bc79ebfd316729703b82e764e4d0
[ "Markdown", "Python" ]
5
Markdown
arvind351/SPOT
291efaeacaabcf9929e7274da3885293ca95d0e8
b7000ba637c3175cdd5f9eaf38f9db7058f97a03
refs/heads/master
<repo_name>TristanXiaoxiang/AdminLoginProjectI-Struts<file_sep>/src/service/AdminService.java package service; import java.sql.SQLException; import java.util.List; import org.apache.commons.dbutils.handlers.BeanHandler; import org.apache.commons.dbutils.handlers.BeanListHandler; import com.sun.org.apache.regexp.inte...
64a8321c9c6da253341ff4542d05eaf99920b81a
[ "Java" ]
1
Java
TristanXiaoxiang/AdminLoginProjectI-Struts
75b53d49bd1fa5a82a9cea835443886aec3ca0ce
54331e0853c4f9daf20bac97565a74848da1c98a
refs/heads/master
<file_sep>import { Component, Inject } from '@angular/core'; import { HttpClient } from '@angular/common/http'; @Component({ selector: 'app-fetch-employees', templateUrl: './fetch-employees.component.html' }) export class FetchEmployeesComponent { public employees: Employee[]; constructor(http: HttpClient, @I...
a1546a8acb50da20978ed8ccac766354b8cae540
[ "C#", "TypeScript" ]
5
TypeScript
spectre359/Angular_NETCore_EmployeeManagementSystem
e584a24c53732391e9d9cb3e4829d993aebf934e
d836e6f6ac4d81af1ae6af8acd763459efb7eb2b
refs/heads/master
<repo_name>ruskofulanito/bbdd2<file_sep>/src/main/java/bd2/Muber/dto/CalificacionDTO.java package bd2.Muber.dto; import bd2.Muber.model.Calificacion; /** * * @author <NAME> * Representación (DTO) de la entidad Calificacion. * Los DTO son representaciones no persistentes de los objetos * del modelo que permiten ...
379533fa0e1ec1894386812d999c6c3954e4e6ea
[ "Java", "Shell", "INI" ]
18
Java
ruskofulanito/bbdd2
5eff58173bbb90e65c7b29951559926fb1b01391
e5d0c09c3a49fd654c6f2c666008eb102ecb9bc4
refs/heads/master
<repo_name>ridgelab/ExtRamp<file_sep>/ExtRamp.py #! /usr/bin/env python3 ''' This program is intended to extract a ramp of slowly translated codons from the beginning of a gene sequence (DNA or RNA). ''' import statistics from statistics import mean,median import numpy as np from scipy.stats import gmean, hm...
f98e5c38a51b3e7c5de95a1680fa2a500d065418
[ "Python" ]
1
Python
ridgelab/ExtRamp
b4c15090f72d4ee1f83fd812fe7d57403693714e
586274ce4851f84443adae52e9b2bc929e66d61d
refs/heads/master
<file_sep>#define CHAMPON_CLI_DEBUG #define CHAMPON_LOG_DEBUG #ifdef CHAMPON_LOG_DEBUG #define filename(x) strrchr(x,'/')?strrchr(x,'/')+1:x #define chp_d(_fmt_, ...) \ wmprintf(_fmt_ "\r\n", ##__VA_ARGS__) #define chp_entry_d(_fmt_, ...) \ wmprintf("[%s(%d) - %s] " _fmt_ "\r\n", filename(__FILE__), __LINE...
97b23e30947d74879cb1d7b03d1dd59f79cd80ed
[ "C" ]
1
C
benjamin2mark/DEBUG
6413cf78e2078fb3bd7007be0038f8a4f1d7e7ca
30dda40448572c62252684b8604eaee952d9fa4c
refs/heads/main
<repo_name>AmiyaDas/BusinessVizualize<file_sep>/src/components/Header/Header.js import React from 'react' import styles from './Header.module.scss' import { Navbar, Nav } from 'react-bootstrap' export default function Header({ menuItems }) { return ( <Navbar expand="lg" sticky="top" className={styles.navbar}> ...
ccaea373fad7ec1688c3cf37455a8916dd51cea5
[ "JavaScript" ]
1
JavaScript
AmiyaDas/BusinessVizualize
4f20b71f02c3a363fe46c1f78eb4d44f07b700da
33e6bc0a054f7805825af273c905523746764f3b
refs/heads/master
<file_sep>import React from 'react' import { Link } from 'react-router-dom' import { connect } from 'react-redux' import { findUserById } from '../../selectors/user' import { findPostByPostId } from '../../selectors/Post' import { startGetPostComments, resetComments } from '../../action/comment' class ShowUserPost ex...
33756b1133b3163941729d2bf9449ab7e463167f
[ "JavaScript", "Markdown" ]
9
JavaScript
Pratik-Saha/Blogger-UI
afffd26356696264569228f86abe378c454259c0
8d026f37f497c03613598a64fffb657cea67380d
refs/heads/master
<repo_name>RobLowe1992/logger-react<file_sep>/README.md # logger-react <file_sep>/Ch02/02_01/Start/src/App.js import React, { Component } from 'react' class App extends Component { render() { return ( <h1> Hello </h1> ) } } function myTestWrapper(WrappedComponent){ return class exten...
3ed0bed7ae4b6eeaf85f6d2e48d624c76a1541a7
[ "Markdown", "JavaScript" ]
3
Markdown
RobLowe1992/logger-react
8e6be79aaf48438bf15d362771aab617998d4d41
fc0e915bf7252604475f347c81bb10126a5be1e9
refs/heads/master
<file_sep>#include <stdint.h> typedef struct { int16_t frequency; int16_t size; int16_t lowBorderFreq; int16_t highBorderFreq; }BandPassFilterStruct; int16_t BandPassFilter(BandPassFilterStruct s, int16_t* data); <file_sep>#include <fftfilter.h> int16_t BandPassFilter(BandPassFilterStruct s, int16_t* data) { in...
f724a29168cdd844730eb8d36b65d31139a9cb24
[ "C" ]
5
C
PavelS0/stm32f4DiscoverySLP
a44645e6891dffaa5b92cd375ff525471adbc342
c86bf76603de1a42a2d2c46849ba5dcef6631830
refs/heads/master
<repo_name>JaroslawPokropinski/Mobilne-Projekt-Zespo-owy-Backend<file_sep>/index.js const express = require('express'); const { json } = require('body-parser'); const checkToken = require('./authentication/auth'); const api = require('./routes/api'); const sec = require('./routes/sec'); const startSwagger = require('./...
e061d3658d8ff13f1c47bf93ae756b5142cb4b5e
[ "JavaScript", "Markdown" ]
4
JavaScript
JaroslawPokropinski/Mobilne-Projekt-Zespo-owy-Backend
6ae476587ad9e3e0be7ea82e6e01c44b965a7313
5ae4276053897258fe531d7a6b02044e8b9e219d
refs/heads/main
<repo_name>whoiscnu/ansible-solace-collection<file_sep>/ReleaseNotes.md # Release Notes ## Version 1.7.0 JNDI Modules. **New Modules:** * **[solace_jndi_connection_factory](https://solace-iot-team.github.io/ansible-solace-collection/modules/solace_jndi_connection_factory.html)** * **[solace_get_jndi_connection_factor...
fafb9d14374a4a67ddd49f80b757571a7d093ede
[ "Markdown", "Shell" ]
4
Markdown
whoiscnu/ansible-solace-collection
4d4df818f8d7648b0cbd973dcfa0a3b900677852
9d70f93864a2842c56ef81cfa60c1f630056aaef
refs/heads/master
<repo_name>Ukasshu/Communicator<file_sep>/src/Client.java import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; im...
48fb11f27a5c454fdcafb707df2692bfeaecd6ee
[ "Java" ]
1
Java
Ukasshu/Communicator
5bf525be5dfb18d05a9edb2ab5fd06673f43cd07
f45dda93c44b6ecd4e58dbf6b0d0f8109ccad4df
refs/heads/master
<repo_name>zlxtyp/go-junction<file_sep>/src/go-junction.go package main import ( "directory" "config" // "fmt" // "regexp" //"log" // "os" // "os/exec" // "path/filepath" // "strings" // "bytes" // "strings" // "bytes" // "path/filepath" // "os" // "log" //"io/ioutil" //"fmt" "os" "fmt" ) func mai...
25e73274e22b2b23780cc75a53351d4908e7d24f
[ "TOML", "Go" ]
7
Go
zlxtyp/go-junction
68bf7ae09ab5043ed063967bc0b018cb4dc1c45c
be321a27a6acc34a6c1273ac1ca2396a8adf762f
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProjectEuler.MiscQuestions { class PalindromeValidator : QuestionBase { private readonly string _value; public PalindromeValidator(string value) { _value ...
ba01daa5222a12c306e2e320091ff7a776e494f5
[ "C#" ]
5
C#
andrewcheong/ProjectEulerMarlin
292540f5fba8459703c62ff65815ac77775777bf
25bf54889e0e9b0f9c0e2da958801c5dce48ae5e
refs/heads/master
<repo_name>ManaliAundhkar/Problems-on-Digits-in-Java<file_sep>/Demo4.java //Write a program which accept number from user and return difference between summation of even digits and summation of odd digits. //Input : 2395 //Output : -15 (2 - 17) //Input : 1018 //Output : 6 (8 - 2) //Input : 8440 //Output : 1...
bb0222d89523d4736f8833117f2d31e16dc54e65
[ "Java" ]
3
Java
ManaliAundhkar/Problems-on-Digits-in-Java
bd44dc4c9d43e89038d5bc31757e05092dfe8186
d5dd83ae0ff74be77a8ced28b46934824f33ee7d
refs/heads/main
<file_sep>canvas = document.getElementById('myCanvas'); ctx = canvas.getContext("2d"); car_1_width = 200; car_1_height = 100; background_image = "https://previews.123rf.com/images/c5media/c5media2007/c5media200700280/152031994-track-and-field-race-course-2.jpg"; car_1_image = "http://www.clker.com/cliparts/n...
5b6db2c073fb87d550f7621bd3df34500e255743
[ "JavaScript" ]
1
JavaScript
Machas678/84
c03185c088a1f12c5c36aae9aa5d39928e5e0174
5fe03f16221e3dfe44b02922883bf5fcaf6da89c
refs/heads/master
<repo_name>hivictording/react-redux-firebase-test<file_sep>/src/components/layout/Layout.jsx import React from "react"; import FixedHeader from "../FixedHeader"; function Layout({ children }) { return ( <> <FixedHeader /> {children} </> ); } export default Layout; <file_sep>/src/components/mu...
726ea3d4c863f065ebab63e27fddda72924dfe05
[ "JavaScript" ]
9
JavaScript
hivictording/react-redux-firebase-test
754993dd9e19b626838a612d94b9a9e2f8f7f529
45dadb4d3563c941bb2d83b6cc97907134880e8b
refs/heads/master
<file_sep>import { Grid, Paper, Avatar, TextField, Button } from '@material-ui/core' import Icon from '@material-ui/icons/PeopleAlt'; import { Form, Formik, Field, ErrorMessage } from 'formik'; import React, { PropTypes } from 'react'; import { notify, notify2 } from './iziNotify.js' import { bStyle, paperStyle, avatar...
0e4a0f0cea51c121609222ba4eeee0262c63b624
[ "JavaScript" ]
4
JavaScript
miwsyed/tictactoe
aa1a5223f3373bb2dcca3a4ad40c30acb6fbbea2
4dec36baeff86cead63e17e190c495ff1251eb71
refs/heads/master
<file_sep>// 定义接口 interface LabelledValue{ label:string; } function printLabel(labelledObj: LabelledValue{ console.log(labelledObj.label); }) let myObj = {size: 10,label: "Size 10 Object"}; printLabel(myObj.label);
35d5de9b0ccec454082bddb847258b5f30a80a2b
[ "TypeScript" ]
1
TypeScript
ChenYCL/vscode_complimer_tsTojs
db8b4baf9da776b4d45e5685f1510c5893eeb1ee
893d90043a40dbba9b338e76f10bc7b743631531
refs/heads/master
<file_sep>//example program of copy contstructor package javaprogramming1.oops; public class Program8 { public static void main(String args[]) { Student s = new Student(101, "Premal"); Student s1 = new Student(); s1 = s; //copying constructor System.out.println("Details of student ...
984a2f6beadc87994576d88ff59b16554094432f
[ "Java" ]
34
Java
premaluu/JavaProgramming1
9c0df79d0cd081e65780046bd021f0417ef526d8
361f24dc946cba67f47d82fc21ff742aa2dd79f2
refs/heads/master
<repo_name>rlgod/serverless-plugin-simulate<file_sep>/lib/serve.test.js 'use strict' describe('serve', () => { const endpointBase = { functionName: 'test-func', region: 'us-east-1', stage: 'test', servicePath: '/test/file/path', handler: 'index.endpoint', memorySize: 512, timeout: 3, ...
f090204750f131f5bc90cfe923d4a8fa3a25374c
[ "JavaScript" ]
3
JavaScript
rlgod/serverless-plugin-simulate
b434684fe6bfb44a1e844275edc95ee2cb1d81a4
328bc4970ff0b79d0b8e5bd70743ff47b7a1fa3f
refs/heads/master
<repo_name>matthewjstott/CMB_axiverse_statistics<file_sep>/proba_axiverse_rmt.py ##### This script calculates the probability of the axiverse given ##### i) Cosmological constraints ##### ii) A probability distribution for mu, alpha, theta_i ##### It is based on a simple MC algorithm, and a binary check: ##### A model ...
83e6ad1b40d17d7826a71f767820ce929a9957da
[ "Markdown", "Python" ]
2
Python
matthewjstott/CMB_axiverse_statistics
0fc77cbd0c2fca8ccf29887ba5ac122bf9c1e346
1a7932fb5a036817873e95ad1ecce2cc8d5ca89b
refs/heads/master
<repo_name>alemasar/webpack-config<file_sep>/config.rb preferred_syntax = :sass http_path = '/' sourcemap = true css_dir = 'dist/css/' sass_dir = './src/sass/' images_dir = './dist/img/' relative_assets = false line_comments = true # output_style = :compressed<file_sep>/app.js import Vue from 'vue' import Component ...
ee49695f411543193e5663263bf497722b57a01e
[ "JavaScript", "Ruby" ]
2
Ruby
alemasar/webpack-config
47cc4a3b5227cc7ffea118c56b0fa8fc776354f4
3fad6781e0a8bcb071d934071bf514fb5c90171d
refs/heads/master
<file_sep><?php namespace App\Http\Controllers\Api; use App\Specialty; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class SpecialtiesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index...
52be5d71c6490f2a166e73e97f4311b0593adfc2
[ "JavaScript", "Markdown", "PHP" ]
9
PHP
rafaelrocha007/doctorslist
1cfd3efe10c5277ea50dcae458b2875c4f064832
887ed62567d661d56d62ed433d4fd461537da613
refs/heads/master
<repo_name>ArmeetJatyani/Path-To-Excel-Jump-Predict-Engine-API<file_sep>/api.py import flask import markdown import os from flask import Flask from flask import request from flask import Response from flask import render_template app = Flask(__name__) @app.route("/") def index(): with open("C:\\Users\\singh\\Pro...
fad1d03597daf4620212c817a2e848cd808fc6c3
[ "Markdown", "Python" ]
3
Python
ArmeetJatyani/Path-To-Excel-Jump-Predict-Engine-API
e01ae780d63e520dc14cdf4a96e14dd3285b9cae
a9593c1d5b59e383bda0f6126d28012e378b0d3e
refs/heads/master
<file_sep>import axios from 'axios' export function request(config) { //这个函数本身返回的就是一个Promise const instance = axios.create({ baseURL:'http://172.16.17.32:8000', timeout:5000 }) //2.axios拦截器 //请求拦截 instance.interceptors.request.use(config =>{ //请求拦截的作用 // 1.config中的一些配置信息不符合服务器的要求 // ...
ebeadeacacc79ef4e754a87ab3c0bbe813dc0881
[ "JavaScript" ]
1
JavaScript
Deeru-Lu/-Mobile-shopping-mall
6630e3dba3a68d79a6a3d3c1d2d5996cc7046eb3
5914deee1934fc5374e2061f83da18ce5abc3bde
refs/heads/master
<file_sep># Generated by Django 3.2.1 on 2021-05-09 17:51 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0011_remove_pontoturistico_avaliacao'), ] operations = [ migrations.RenameField( model_name='pontoturistico', ...
77acf11112263ca3c30109ded3c592781eb6d0b6
[ "Python" ]
29
Python
GiovanaThais/ponto-turistico_backend
30706876449d50d92b61dab55f62f3fe71ef8ffd
ca7a2db687c53293cfff3191a776a21bc4a4be1a
refs/heads/main
<file_sep> var express = require('express'); var router = express.Router(); const imgCtr = require('../controllers/images'); /* GET home page. */ router.get('/images', imgCtr.imageController); module.exports = router; <file_sep>import { Component, Input, OnInit } from '@angular/core'; import {Photo} from '../../Phot...
2934150b6a8869b88e8b261923ce55f2b533fccb
[ "JavaScript", "TypeScript", "Markdown" ]
12
JavaScript
nhidangsd/Image-Downloader
114b8e97994734bcad20e93a9dbc3ad6be39004e
ef3506e2ae565fcaec294e58ea610f845ba5bd28
refs/heads/master
<file_sep>if (self.CavalryLogger) { CavalryLogger.start_js(["5T1bv"]); } __d("schedule/tracing",["ScheduleTracing"],(function(a,b,c,d,e,f){"use strict";e.exports=b("ScheduleTracing")}),null);<file_sep>if (self.CavalryLogger) { CavalryLogger.start_js(["dCLHE"]); } __d("ScheduleTracing-dev",["ReactFeatureFlags"],(funct...
535290eee92b8eae354dfbd8830778fcd364563c
[ "JavaScript", "SQL", "Markdown", "PHP" ]
6
JavaScript
mishraavinash98/Phishing-Fakebook
1b66c7015bc27766a7bfa9879bf0271c266982e4
246fd7e3a6df2650a55e74b2802902c07e9b17c1
refs/heads/master
<file_sep>package org.tud.imir.ex2.core.index; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.HashMap; import java.util.List; import java.util.Map; public class Index implements Serializable { private int documentIdOff...
7360c521bdb8ede2372e2610b05d0eac4888ae57
[ "Java", "Gradle" ]
6
Java
maximethebault/IMIREx2
f12faf75411494f7f29c48a6ac4be89bae8c54e3
55854f9a23993da2eed26fe4bcb1209496c64757
refs/heads/main
<repo_name>conandark/JitsiLocalScreenRecorder<file_sep>/recorder.js let audioCtx; let audioDest; let recorder; if (navigator.mediaDevices.getDisplayMedia) { window.addEventListener('message', baseHandler); window.parent.postMessage({ type: 'recorder_ready' }, '*'); } function baseHandler(event) { if (even...
2b5a0f7cc3b7fd577214613ecc4b32b99ae67221
[ "JavaScript", "Markdown" ]
2
JavaScript
conandark/JitsiLocalScreenRecorder
3f54545c0a25be472ddc4b54bd03e6e170e0f319
a9232fee97040be868708407b19a8b0800d2574f
refs/heads/develop
<repo_name>boostcampth/boostcamp3_D<file_sep>/app/src/main/java/com/teamdonut/eatto/ui/map/search/MapSearchNavigator.java package com.teamdonut.eatto.ui.map.search; public interface MapSearchNavigator { void openNavigationView(); void closeNavigationView(); } <file_sep>/app/src/main/java/com/teamdonut/eatto/u...
6f93b780cbbf740dcda17fdcb5f718f98df0ccc9
[ "Markdown", "Java", "Gradle" ]
33
Java
boostcampth/boostcamp3_D
1512b0081a9e65c5f5a44b45ecc31265b573740e
f925d1ad325acd018288337dbcece514922d269e
refs/heads/master
<repo_name>BadOPCode/party-line-sub<file_sep>/index.js 'use strict'; /** * index.js - <NAME> 2014-12-20 * Party Line subsystem interface library bootstrap. * @author <NAME> * @license MIT. Read LICENSE for more information. * @fileOverview Bootstraps library. */ /** * Export lib/party-line-sub */ module...
af3db57c9c3f3a3e3c6cf3beb1da6596bc43aef4
[ "JavaScript", "Markdown" ]
2
JavaScript
BadOPCode/party-line-sub
8d348b825843f27ecb733552b2d9c49b5454ea11
ec09ee701b225778c2eb208753590deec8eb073e
refs/heads/master
<repo_name>XDGFX/plankton<file_sep>/website/app.js // Pageloader removal function removePageloader() { document.getElementById("pageloader").classList.remove("is-active") }
c21c2df3036de0b465dc8c5efa2a4b6f35a0d2a9
[ "JavaScript" ]
1
JavaScript
XDGFX/plankton
a41e4975bb6b0b9126e99e4c0daf0b2966a5b9af
1e32cb9ea5d6b4b75fea627a595ec80708e862c0
refs/heads/master
<repo_name>camachoh/mlbrun<file_sep>/main.py #!/usr/bin/env python import argparse from datetime import datetime, date, timedelta import sys import mlb import mlb_database def parse_args(): """ Parse command line options """ parser = argparse.ArgumentParser( prog='mlbpool', descripti...
1ef39f17cd5b39f6383e3836701418cfb66f3a38
[ "Python" ]
3
Python
camachoh/mlbrun
fc0bdc014e711a81db72499d478bb26f89bcc61b
092b3b222e5e9220252c60b9833ff27dbeb20f61
refs/heads/master
<file_sep><?php /** * 权限类 */ namespace App\Http\Controllers\Api\V1; use App\Transformers\PermissionTransformer; use Illuminate\Http\Request; class PermissionController extends Controller { /** * 当前登录用户权限 * * @return \Dingo\Api\Http\Response */ public function index() { $perm...
32a2a3d15811926e133e5c921d01909fbb196c59
[ "PHP", "Shell" ]
10
PHP
buqiu/laravel-larabbs
20e1c16f70be2877ddaeacc364033841ee0d64d2
fe3bca6d7344b9e563827b2567ad607fb37461db
refs/heads/master
<repo_name>League-Level0-Student/level-0-module-3-Isaacpants<file_sep>/src/ObediantFobot.java import org.jointheleague.graphical.robot.Robot; public class ObediantFobot { // Obedient Robot // Copyright (c) The League of Amazing Programmers 2013-2017 // Level 0 // We are going to make an obedient robot that will ...
29fc2e70106195b256451164370530a0651e0867
[ "Java" ]
2
Java
League-Level0-Student/level-0-module-3-Isaacpants
667e0a4d2c67e5cd213c8335c801b24d0e874144
d0c521aeba5a1ee65e2e0956ce7023db5fbaea55
refs/heads/main
<repo_name>mvshashank123/React-Google-Maps-Clone<file_sep>/src/Map.js import React, { useRef, useEffect, useState } from "react"; import * as mapboxgl from "mapbox-gl"; //import MapboxDirections from '@mapbox/mapbox-gl-directions/dist/mapbox-gl-directions' //import '@mapbox/mapbox-gl-directions/dist/mapbox-gl-direction...
a9da8e2763992c73ddc937fe559ae22f3285e611
[ "JavaScript" ]
1
JavaScript
mvshashank123/React-Google-Maps-Clone
7bc9bb5a2fd3f43bd0c27f5876d2768c32f4333b
fa85804c584b0511a19e4a7bafc7a87c21f82e1e
refs/heads/master
<repo_name>nirajp82/basic-react-with-redux-songs<file_sep>/src/actions/index.js import * as constants from '../util/constants'; export const selectSong = (song) => { console.log("selectSong Action Creator Called"); return { type: constants.SONG_SELECTED, payload: song }; }<file_sep>/src/redu...
547ac79a05f1c9ab4682f478c4df68fdf148db12
[ "JavaScript" ]
3
JavaScript
nirajp82/basic-react-with-redux-songs
cd5bd2e859dc26ca7d88fbcffe965f1357eab764
96776d8941b06817c7afa98769daaf546984b7d6
refs/heads/master
<file_sep>import React, { Component } from 'react'; import { reduxForm } from 'redux-form'; import { page15Submit } from '../actions/page_actions'; class page15 extends Component { onSubmit(e) { this.props.page15Submit(e); } render() { const {fields: {daysPerMonth}, handleSubmit} = this.pro...
6a44ba824f594ee03688d3db830cb7938b95e7ac
[ "JavaScript", "Markdown" ]
20
JavaScript
tahnik/survey-mc-react
727188127155e788cccf14cff6812dd611706729
bbe50b4bf41198fa8df4a587d20796f65ef018e4
refs/heads/master
<file_sep>package com.mycompany.tests; import com.mycompany.JacocoExampleApplication; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import static org.junit.jupiter.api.Assertions.assertTrue; @SpringBootTest( classes = JacocoExampleApplication.class) public c...
d54d3c42d6556d712f07c0c796c6e322b3a216e9
[ "Markdown", "Java" ]
2
Java
ivanape/jacoco-example
bf02a5dc370d8036a659c68018236576fc84fbfa
3265e445f91c79378c08754b0f21f5314d9081bb
refs/heads/master
<file_sep>namespace SelectAllSample { using System.Windows; using System.Windows.Controls; using System.Windows.Input; public partial class MainWindow : Window { public MainWindow() { this.InitializeComponent(); } private void OnSelectAllExecuted(object...
203f7075c16f5da5c1d70d323e458ef8848a34cb
[ "C#" ]
1
C#
JohanLarsson/SelectAllSample
6baa880730e06cc0b5a5f1d982308c427ce630f9
207c647ef6af43362908e2f83c9c7250b1da9465
refs/heads/main
<file_sep>SECRET_KEY="sdasasdsdasdaasdsd" HOST="localhost" PORT=27017 EMAIL_HOST="smtp.your_smtp.com" EMAIL_PORT= EMAIL_USER="your user" EMAIL_PASS="<PASSWORD>" EMAIL_FROM="Your Name <<EMAIL>>" COOKIE_PARSER_KEY="um texto qualquer"<file_sep><div align="center"> <img height="30" alt="NodeJs" src="https://img.shields.i...
144bb4a1293770def7e301dd690363427cac9fbd
[ "Markdown", "JavaScript", "Shell" ]
6
Shell
gabrielogregorio/Sistema-de-Agendamento
5417c71f0cdd30d380e445269034166d845ccdaf
311dde3a7c0a6f073d5c77e7d76a0c9c8a35ab0c
refs/heads/master
<repo_name>ascherkus/iheartvideo<file_sep>/README.markdown iheartvideo =========== Super simple HTML5 audio/video debugging app hosted off of github. Feel free to contribute! <file_sep>/scripts/main.js // A bunch of audio/video Javascript. // By <NAME>, 2010. var videoWatcher = null; function log(text) { $('#log_...
00bec36cc6db880649e222ef07e76fe2fb9717e7
[ "Markdown", "JavaScript" ]
3
Markdown
ascherkus/iheartvideo
dff2777e78d0f235110a20611994d69d76d9ab29
3e3112fdde40237cc01e86148865cb0cb95712a7
refs/heads/master
<file_sep>const express = require('express'); // const songRouter = require('./song.routes'); const sessionRouter = require('./session.routes'); const authRouter = require('./auth.routes'); const rootRouter = new express.Router(); // default page (will redirect to login if authentication needed) rootRouter.get('/', (...
4c6e4d70f46172350a574024763b98a127027ea3
[ "JavaScript", "Markdown" ]
28
JavaScript
Kisfejes/bme-server-side-js
2a212f04c3a2abc3b9841acf93bf206a41497e08
32969af2b2aa701ac3c188603139e4581477bc03
refs/heads/master
<file_sep># phantergallery Gallery of images to python projects (Flask, Web2py, Django, etc) #requirements Python 3.6+ Pillow <file_sep># -*- coding: utf-8 -*- # Autor: PhanerJR from __future__ import print_function from .phantertagconstroi import MyTag import io import os from PIL import Image as PILImage class D...
0d399ec0b7b7ce8d685c696f609de2ed2f6935e1
[ "Markdown", "Python", "JavaScript" ]
4
Markdown
PhanterJR/phantergallery
8cfc034e0e798afccdc986f0b7861d16b67eebbf
ac9512f1398d31e54903dc10bac7ac033b06cf4c
refs/heads/master
<file_sep>class CallingPlan < ActiveHash::Base self.data = [ { id: 1, name: '---' }, { id: 2, name: '従量制(かけ放題等の契約なし)' }, { id: 3, name: '5分通話無料オプション' }, { id: 4, name: 'かけ放題' } ] end <file_sep>class CurrentPhone < ActiveHash::Base self.data = [ { id: 1, name: '---' }, { id: 2, name: 'docom...
41155703571d1666f368016a77ceb6781dacbb22
[ "JavaScript", "Ruby", "Markdown" ]
14
Ruby
yutaro-nakaji/mobile_service_comparison
caaaada2ab620416c77ee40d47e94d6f859f4d81
f22d08fbd9c87944f489b0da4609904477a8cebb
refs/heads/master
<file_sep>sbtgen ====== Little script for generating an sbt directory structure. <file_sep>#!/usr/bin/env ruby require "fileutils" include FileUtils if project_name = ARGV[0] puts "Creating #{project_name} directory" mkdir project_name Dir.chdir project_name else project_name = Dir.pwd[/(\w+)$/,1] puts "Pr...
529f7f9f5155628d059e2623000e5efecf321c17
[ "Markdown", "Ruby" ]
2
Markdown
moniyax/sbtgen
4ef79d6d997cd58abe5a0f5978b2c6c9c3e10112
b0a3dac1379cac9675336358b0832f3c035255c8
refs/heads/master
<repo_name>thigiacmaytinh/RawImageConverter<file_sep>/Cr2Converter/Form1.cs using Microsoft.VisualBasic.FileIO; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; usin...
a24aa40e8934c750bca11434355691cea1de4b11
[ "Markdown", "C#" ]
4
C#
thigiacmaytinh/RawImageConverter
cc8dc566ceebccf637a046d216ef4ce79c484c21
c8290b68a7ab30fbb1c0770150f935a2b9e87962
refs/heads/master
<file_sep>Statusnet on OpenShift ====================== This quickstart will help you get Statusnet up and running on Openshift. Running on OpenShift --------------------- 1) Create an account at http://openshift.redhat.com/ 2) Create a php-5.3 application (you can call your application whatever you want) rhc app...
e089bd133aa974342e7115a951f69a0bdf16a9c9
[ "Markdown", "Shell" ]
2
Markdown
andypiper/statusnet-openshift-quickstart
b9584499f0826f738415edce97f840a64bcf7b10
d73e3eaee9c322feb458f65d686757d222c0b2fd
refs/heads/master
<file_sep>import { sortingByDate, ascendingSortingByVote, descendingSortingByVote, } from "../../utils/sorting"; describe("Sorting Test", () => { const mockItem = [ { linkName: "link1", id: 1, vote: 3, createdDate: "18/01/2021 13:55:27", }, { linkName: "link2", i...
204ab2f4d92aaef62c1b1895ca421e1baba706c9
[ "TypeScript" ]
8
TypeScript
acerezci/Listing-App
6c31306bcb80994198759d5fd5cd2ab6c677a04e
bef56e3f5c7b37eb7b0d015f31b5325e2162fa3f
refs/heads/master
<file_sep><?php namespace Narration\Testing\Commands; use PHPStan\Command\AnalyseCommand; use Symfony\Component\Console\Command\Command as BaseCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; final class StaticAnalysisCommand extends AnalyseCommand { ...
b73619fbd7020cb4bfb268c48b3c2c8fb8e80cb4
[ "PHP" ]
2
PHP
narration/testing
aa99867b348a6c603b79ad4d7e3adff327ded697
28026196cd6d17ebc2eb08398871985465327341
refs/heads/master
<repo_name>madmonkeyworks/jbmflickr<file_sep>/jbmflickr.dev.js /* Jbmflickr v1.2 by <NAME> - http://www.seven-m.com For more information, visit: http://www.seven-m.com/jbmflickr Licensed under the GPL v2 License - free for use in both personal and commercial projects - attribution requires leaving author name, author...
045ffe6d0a8d2984809260eb4fe8fa417299e473
[ "JavaScript", "Markdown" ]
2
JavaScript
madmonkeyworks/jbmflickr
7b42e667e74d8facb7fdd970e9e98c18e17ff303
3c295b33fb883c5f9f85355078ba122a71eb4074
refs/heads/master
<file_sep>import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Subject, Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { Router } from '@angular/router'; import { environment } from 'src/environments/environment'; @Injectable({ providedIn: 'r...
d5c0350fd08524e1f336f398ea222b14d0f3d221
[ "TypeScript" ]
6
TypeScript
amuameya/modwebapp
42c050456f7798427893c934db39c42628bab290
51d32b3d701bf7f00e6415bc8743f48384eec2b0
refs/heads/master
<file_sep>require 'json' require 'open-uri' class GamesController < ApplicationController def new @letters = (0...10).map { ('A'..'Z').to_a[rand(26)] } end def score @word = params[:word].upcase @letters = params[:letters].split(' ') response = open("https://wagon-dictionary.herokuapp.com/#{@wor...
c653f58deeed61fb729394afd35d887c83158ce6
[ "Ruby" ]
1
Ruby
jeancharlesvial/rails-longest-word-game
59d1f01a6c10ee156c5cc858d1a2f488cb882414
55432a53a94a90ac037c48ac107d1330211188b5
refs/heads/master
<file_sep># react-artist-search Building a simple react application to search for an band/musician and finding related artists using the Spotify API <file_sep>import React from 'react' class Search extends React.Component { constructor(props) { super(props) this.state = { term: '' ...
e8a838a3ad1915873ace48988f986901d150a89a
[ "Markdown", "JavaScript" ]
4
Markdown
tkearney18/react-artist-search
9c96f4acbb8a95080bd126e9220e0c0f260e777e
ea7f5844ed541beb8da874d922c253c2a60eaad2
refs/heads/master
<file_sep>#ifndef _POSTPROCESS_H #define _POSTPROCESS_H #include <iostream> #include <fstream> #include <cstdlib> #include <string.h> using namespace std; //Character classes const char CONSONANT[30][4] = {"ཀ", "ཁ", "ག", "ང", "ཅ", "ཆ", "ཇ", "ཉ", "ཏ", "ཐ", \ ...
6d988109a65ab6721921777ccb3046534ae09585
[ "Markdown", "Makefile", "C++" ]
13
C++
tenzin/dzocr
3ceec0ad88301b4beaf2ca5744b45208b5572563
8537cba6c0c950fc42bb2eb5c1af8a78e1f885a9
refs/heads/master
<repo_name>andrewmcdonough/dailyexercise<file_sep>/exercise.rb require 'sinatra' # Specify the list of developers and the start date for the rotation # -- EXERCISES = ["Plank","Wall Squat"] START_DATE = Time.mktime(2011,02,04) # -- SATURDAY_OFFSET = 6 - START_DATE.wday SUNDAY_OFFSET = 7 - START_DATE.wday get '/' do...
3cdc1b3dc2e4c53c6b532c1e0c2cbc678855d28b
[ "Ruby" ]
2
Ruby
andrewmcdonough/dailyexercise
3a16090859c7906cbaee78747b5436e6cf1cbb0e
a3ffed587b7a677dc4980e1b94ffee0b41346784
refs/heads/master
<file_sep>'use strict'; module.exports = function(app) { var parser = require('../controllers/parserController'); app.route('/') .get(parser.parse_home); app.route('/parser/:landingUrl') .get(parser.parse_landingurl); };<file_sep># rest-api-meta-data-parser<file_sep>var og = require('open-graph'); var u...
266e9c55528daf4cdd7f51a79366840691b5af83
[ "JavaScript", "Markdown" ]
4
JavaScript
npham20489/rest-api-meta-data-parser
b7b1e91018e17bd79c9f6b25e43609f1a96c37ed
0344fdbbde94126b91f6acc3447f57dd4bca4602
refs/heads/master
<file_sep>import React, { useContext } from "react"; import { Link } from "react-router-dom"; import styled from "styled-components"; import { heoresContext } from "../../context/heroesContext"; const HeroesStyles = styled.div` .heroes { margin: 0 0 2em 0; list-style-type: none; padding: 0; width: 15...
95275684660d9918501401d2566caacef6f521b7
[ "JavaScript" ]
3
JavaScript
miloszmos/ptsi-zal
ce7c41c116b269fd00963a34f5a9e11dd4236f8f
0e66644760edf203e65847f45e75902bd2aea7fc
refs/heads/master
<repo_name>ballaneypranav/.dotfiles<file_sep>/volume.sh #!/usr/bin/env bash # Allows controlling speaker volume and mic mute/unmute through media keys MAXVOLUME=100 device=$1 action=$2 if [[ $device = speaker ]]; then if [[ $action = toggle ]]; then pactl set-sink-mute @DEFAULT_SINK@ toggle elif [[ $action =...
c354e042945e070e3169b5747aa980ca9f2ba4b3
[ "Shell" ]
1
Shell
ballaneypranav/.dotfiles
d29379b47437296336e044fd2ce908463513aea2
3db09ed41f5ce123f616930d28305dbfff60a603
refs/heads/master
<file_sep>#!/bin/sh rm -rf ./default ./types if dir=$(nix-build release.nix -A dhall-kubernetes --no-out-link); then cp -r "$dir"/default . chmod u+w ./default cp -r "$dir"/types . chmod u+w ./types cp "$dir/README.md" README.md chmod u+w ./README.md fi <file_sep># `dhall-kubernetes` <img src="logo/dhall...
45c1a4edc4ca4c23e65ba9b2757122198d54ffe7
[ "Markdown", "Python", "Makefile", "Shell" ]
4
Shell
Atidot/dhall-kubernetes
69c85131d17816889311905aaacfcb621dcaf59c
ed07f9d45aeb6f22ec3c960efd07fca205a84c38
refs/heads/master
<file_sep># codenarc-example <file_sep> #!/usr/bin/env sh export GROOVY_VERSION=2.5.0 export GROOVY_HOME=${HOME}/.sdkman/candidates/groovy/${GROOVY_VERSION} export GROOVY_JAR="" # export GROOVY_JAR=${GROOVY_JAR}:${GROOVY_HOME}/embeddable/groovy-all-${GROOVY_VERSION}.jar # Invalid since Groovy 2.5. export GROOVY_JAR=...
5a9d0ce34c49f5a11cb45308fbd166539793d7d2
[ "Markdown", "Shell" ]
2
Markdown
sheeeng/codenarc-example
1fb96697b6807e32c49044825e5da8dadced67e2
d250153fcd3d70fd45a5cfeb54fbf53b8a4d6d7c
refs/heads/master
<repo_name>vazhakolil/angularWork<file_sep>/app/services/loginService.js /** * Created by rajeevan.vazhakolil on 4/18/2016. */ var app=angular.module('myApp', [ 'ngRoute' ])<file_sep>/app/services/deals.js /** * Created by rajeevan.vazhakolil on 4/23/2016. */ var deals=angular.module('dealsModule', [ ]) dea...
3f789d3e483c5784cd41de63264ce8527ace1dfc
[ "JavaScript" ]
4
JavaScript
vazhakolil/angularWork
f5e7b76835927e553a947dbc520046dbabc2d53e
1196d78e2d78854ce469494a1b48507a12053c1f
refs/heads/master
<repo_name>Akhilchennu/Weather<file_sep>/src/Components/weather.js import React from 'react'; import Card from '@material-ui/core/Card'; import CardContent from '@material-ui/core/CardContent'; import WeatherIcon from 'react-icons-weather'; import '../App.css'; function Weather(props) { const { responseData: { nam...
75fd2ce0036da1aa34c41d9a78a93deeabe98c32
[ "JavaScript" ]
3
JavaScript
Akhilchennu/Weather
1bf39b74b480a29f05c4da01f09acf98ad14c491
67f1c494cc2e71a5319c04b1451867b52ebbecc2
refs/heads/master
<file_sep>from flask import Flask, render_template import sqlite3 app = Flask(__name__) # establish a connection with the database file conn = sqlite3.connect('flowers2019.db') # create a cursor to query the database; does NOT change cursorObj = conn.cursor() # All items retrieval from FLOWERS table in DB cursorObj....
750d37addd8ee831bbaf9bdd26e641082988e3a2
[ "Python" ]
1
Python
Jhavaa/assign5_2
090e0551a43679b96f7841a5ab3614a0ee650a31
f1055b24bc7b2ef6d61e849dab813c2752f5e3d1
refs/heads/master
<file_sep># RESTful Web API with Node.js Framework (ExpressJS) This project exposes a [levelDB](https://github.com/Level/level) blockchain database to a publicly accessible API. I have built the API on top of the popular NodeJS minimal framework [ExpressJS](https://expressjs.com/). ## How to use this API: #### Ins...
5f9553ee4abb39c7bb17106e544fd86da029cb36
[ "Markdown", "JavaScript" ]
2
Markdown
block8-tech/udacity_blockchain_project3
ac8726edd6c2b8b68e74ec1bdd41faef81b40e98
df84d16ad86b0924a14b5ca11ff11cdbc5823de4
refs/heads/master
<repo_name>Columbus19/team-8<file_sep>/main.py from flask import Flask, render_template from model import User, db, app import pdb from flask import request @app.route("/") def login(): return render_template("login.html") @app.route("/charts") def home(): joe = User(fullname='<NAME>', email='<EMAIL>', ssn=...
a315f6175db90c3c4e79b884dccf7686849d1211
[ "Markdown", "Python" ]
3
Python
Columbus19/team-8
c1bf76b738e15d777db792ba343a6e5fc73cd85d
7943e071ca1d3cbc41baa2b880ff2c431a3e4f0a
refs/heads/master
<file_sep>using System; using System.Threading; using Prometheus.Client; using Prometheus.Client.Collectors; using Prometheus.Client.MetricPusher; namespace CoreConsoleMetricPusher { internal class Program { internal static void Main(string[] args) { var defaul...
88c923d907fbbfac8d4068a8f8d05e3540d3090e
[ "Markdown", "C#" ]
10
C#
randomchance/Prometheus.Client.Examples
206e912104747e676b4d4036591292aaf22200a7
13a5ce846410fae2065a4e8a2593b725a3c827f1
refs/heads/master
<repo_name>maximdanilchenko/atol-api<file_sep>/Helpers.py # -*- coding: utf-8 -*- # Вспомогательные скрипты для функций REST-API import re from flask import request import datetime red_border, yellow_border, day_border = 3600 * 36, 3600 * 24, 60 # константы default_color = 'dark-grey' def validate_get(names, types, ...
06414f3a0655b4c6275572d7fd6ddea36ad9b386
[ "JavaScript", "Python" ]
7
Python
maximdanilchenko/atol-api
c1bf648964566757a78bf959bca62182cd016365
76919516c09f86f98952daba40e9b2f487d5375a
refs/heads/main
<repo_name>nicholasbishop/writedisk<file_sep>/xtask/src/main.rs mod vmtest; use anyhow::Result; use argh::FromArgs; #[derive(FromArgs)] /// Tasks for writedisk. struct Opt { #[argh(subcommand)] action: Action, } #[derive(FromArgs)] #[argh(subcommand)] enum Action { VmTest(ActionVmTest), } /// Test write...
7476f7dd942a301f65d12cd10267dd68c4baadb3
[ "TOML", "Rust", "Markdown" ]
7
Rust
nicholasbishop/writedisk
e21306bb765fdeb0c103a15bec9be69d1875bedc
b6f3b22bf4170040f13feae31f7777c606112fef
refs/heads/master
<file_sep>import numpy as np import matplotlib.pyplot as plt from PIL import Image class EdgeDetector(object): # Sobel filters as numpy array sobel_filter_x = np.array([[-1, 0, 1], [-2, 0, 2], [-1, 0, 1]]) sobel_filter_y = np.array([[1, 2, 1], [0, 0, 0], [-1, -2, -1]]) # Gaussian Filter for smootheni...
275a3cc671abfec12218844dfea62d109c5d3511
[ "Markdown", "Python", "Text" ]
4
Python
erayyildiz/canny_edge_detector
5320abf2110b95f87fdcef47e7694fd002af58a2
5cf83f5b25f4029dee5b489f59cb0c9ad0bb41eb
refs/heads/master
<repo_name>fishgege/gocertsigner<file_sep>/gocertsigner.go // Package gocertsigner is a cgo layer that uses libcrypto to produce pkcs7 signatures for golang. package gocertsigner /* #cgo !windows LDFLAGS: -lcrypto #cgo windows LDFLAGS: /DEV/openssl-1.0.1e/libcrypto.a -lgdi32 #cgo windows CFLAGS: -I /DEV/openssl-1.0.1e...
f1449a43e12b332c1f7db716a224ed72017f0e6a
[ "Markdown", "Go" ]
2
Go
fishgege/gocertsigner
b776af8ada2601bb5ac35b94e56877fd308ec964
32be7e42c3def84861b6328cb9792d24220d55f4
refs/heads/master
<file_sep>package starCompanion; import java.io.File; public class FileCleaner implements Runnable { private File descriptionDirectory = null; private File datasetDirectory = null; private File[] descriptions = null; private File[] statements = null; private String descriptionsPath = null; private String datas...
7a390f8f3ba804752fb6acfdb3abbaddc6215b0c
[ "Java" ]
1
Java
fabioelialocatelli/stellarcalculator
3e022d0f6ce19f0292274634fe45ebe73c4c7e70
2d6b5c504b1329419111f604b2a622e13aa537c9
refs/heads/master
<repo_name>vairavan6/spring-mongo<file_sep>/src/main/java/devactivist/service/StartupVersionControlService.java package devactivist.service; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Aut...
838a8c2c0a692c877b41e84b6dba4c78bb844f1f
[ "Markdown", "Java", "Maven POM" ]
9
Java
vairavan6/spring-mongo
dcbdb34460c776d466161a70637ad9093c2e2cf1
941b95c0f9f536c8384fa54e236290bb51b8563e
refs/heads/master
<repo_name>Arpi15/Exploratory-Data-Analysis-Week-1-Project<file_sep>/Desktop/coursera/Explo_data_assignment1/plot2.R install.packages("dplyr") #installing required packages library(dplyr) epc <- read.table("./household_power_consumption.txt", stringsAsFactors = FALSE, header = TRUE, sep = ";") # reading dat...
c4aa51a7d3d55c2c1769c4ea885822a3bdecfb35
[ "R" ]
3
R
Arpi15/Exploratory-Data-Analysis-Week-1-Project
50f252363e40b659d3b3e08f6f5a9c9196ecce70
b1f175872e40be3dd9e7824cbf749c1698fa8f9a
refs/heads/master
<repo_name>place222/test<file_sep>/App/js/services.js /** * Created by Administrator on 2016/4/22. */ var testServices = angular.module('testServices',[]); testServices.service('menuService',function($http){ this.getMenus = function(url){ $http.get(url).success(function(response){ return r...
30682228eba2c0ea91c4cba72e8edb81274f72b3
[ "JavaScript" ]
2
JavaScript
place222/test
71845ae4f8873447e9796f130d14571f6c5f0020
a3dfe381d4a5e2ecf227a9a0c0efe382838c543a
refs/heads/master
<repo_name>pavelsust/Android-Architecture-Components-Example<file_sep>/app/src/main/java/com/madina/androidarchitecturalexample/viewmodel/color/ColorChangeViewModel.kt package com.madina.androidarchitecturalexample.viewmodel.color import android.graphics.Color import androidx.lifecycle.MutableLiveData import androidx....
56a879aa737c2479df639cfe0e467c8cf397c7a8
[ "Kotlin", "Gradle" ]
19
Kotlin
pavelsust/Android-Architecture-Components-Example
e397383c3fd1dad90d316b5b6030f782de6e3d81
63ad9a7033bff8580ad1ab36e755c495c62ffeba