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>reachanavi/SimpleVueMapPopup<file_sep>/src/index.js
import 'whatwg-fetch';
import Vue from 'vue';
import store from './store'
import Vuetify from 'vuetify';
import 'vuetify/dist/vuetify.min.css'
import App from './App.vue';
import VueWindowModal from 'vue-window-modal';
import DialogDrag from 'vue-dialog-... | 9263666626f7f97767b8840de55a3ec7e0db9ef2 | [
"JavaScript"
] | 1 | JavaScript | reachanavi/SimpleVueMapPopup | 81d346bb68c355586e6703c6b36dc0e4368b04b6 | 605f8e3e3def276fd3ec5c0c07097faefc5b5b43 |
refs/heads/main | <repo_name>EldirTorres/crud-react-redux-rest-axios<file_sep>/src/store.js
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk'; //Variación de redux que permite trabajar funciones asincronas
import reducer from './reducers'; //como el archivo se llama index.js no es necesario c... | 4933e9e209dddb66004bffba7c8e9a58a3509511 | [
"JavaScript"
] | 1 | JavaScript | EldirTorres/crud-react-redux-rest-axios | fc38e855aa5e2a36e9fc429bb454ccb18f71b977 | 086f39dde04f4ca2481f75d8278916674b756417 |
refs/heads/master | <repo_name>boshek/cansim<file_sep>/fix_meta.sh
og_img1='<meta property="og:image" content="/logo.png"'
og_img2='<meta property="og:image" content="https://mountainmath.github.io/cansim/logo.png"'
replace_meta () {
file=$(find . -name '*.html')
for i in $file; do
cat "${i}" | sed "s,${og_img1},${og_img2},g" > "... | 4d6362387b5298134a063fffdfc6b678c95d384a | [
"Markdown",
"R",
"Shell"
] | 4 | Shell | boshek/cansim | 3ffcb951cb0f32cdd58bb5b5775802a619864aae | 14e36dc97ecc6d05be16b0bf9b29e4de1870509e |
refs/heads/main | <file_sep>package myui.ui.monet.colorscience
import myui.ui.monet.MathUtils
import kotlin.math.pow
import kotlin.math.roundToInt
class MonetColor(val argb: Int) {
val hex: String
val lstar: Double
val rgb = toRgb(argb)
val xyz: DoubleArray
override fun toString(): String {
return "Color{h... | 728dc46763ac14d53d349c1cadf4aac73293bc8f | [
"Kotlin"
] | 14 | Kotlin | HiFiiDev/MYUI | 03473ff226603132c693a80a49b9a03426285a56 | dc79f69954916f58904c22ba828b239b92e01933 |
refs/heads/master | <repo_name>alialialiali111/Ip<file_sep>/install.sh
echo "installing :)"
sleep 5
pip2 install requests
pip2 install flask
clear
echo "enjoy :)"
clear
python2 get-ip.py
| 06b384e12f9632b214761b0521dd9e829c466fea | [
"Shell"
] | 1 | Shell | alialialiali111/Ip | 5b51e47d78aea2382a9eab15587587b403c3d134 | 079cabd7e0cc2a615a207cc3f737b1d9593f970c |
refs/heads/master | <repo_name>test-all-green/TAG_vue_admin<file_sep>/src/api/user.js
import { post, get, put, _delete } from '@/utils/http'
export function testAPI(data) {
return post('/api',data);
}
<file_sep>/src/utils/token.js
import Cookies from 'js-cookie'
const key = 'token'
export function getToken() {
return Cookies.get(key)... | 5be35cda68d819d91b4073adacb984848c974953 | [
"JavaScript"
] | 2 | JavaScript | test-all-green/TAG_vue_admin | cc2a50664ab57547fb565dd7f205b5e25246b458 | 0f0028d0109842d10831407038739373b4a3ca2e |
refs/heads/master | <repo_name>crookescout/Unit_8<file_sep>/assignmentCalculator.py
# <NAME>, 11/19/19, this program is a calculator
from tkinter import *
root = Tk()
root.configure(background="pink")
def add_zero():
new_result = display_result.get()
new_result += "0"
display_result.set(new_result)
def add_one():
new... | 4e0f8c43b5b3ae456897d810d1c3ec2dd2ba435e | [
"Python"
] | 2 | Python | crookescout/Unit_8 | 0d219761b479344c30aa035f2df1f334e1bb2eb5 | 099ae134ba7e1d70e6f3180fb177fd9f331019a1 |
refs/heads/master | <repo_name>kombojiec/github-search<file_sep>/src/components/Repos.js
import React from 'react';
const Repos = ({repos}) => {
const repositories = repos.map(repo => (
<li className="repo__item" key={repo.id}>
<a
href={repo.html_url}
target="_blank"
rel="noreferrer"
classNam... | 3d46b063e708b3a74d0901ff415c37a1dfdf8601 | [
"JavaScript",
"Markdown"
] | 4 | JavaScript | kombojiec/github-search | 73ee2f6d04e60e5ac32384d18165142bc72e7b2c | e1fe16c9284d5da486260a78f948ce3cc129e1a7 |
refs/heads/master | <file_sep>---------------------------------------------
------------- GENERAL TEMPLATE---------------
------------ by VADS \\--// 2014 ------------
---------------------------------------------
--() Shortcuts ()--
-------------------
local graphics = love.graphics
local mouse = love.mouse
--Set Default image filter... | 7d652c8a9a66de277b629fe5214947b64f29d7ec | [
"Lua"
] | 24 | Lua | VADS/Credit-please | 4fef189ed0a35664eee05a758a0aa999f5dc0023 | 5738721b5b99357d55db9d4dd898977ee46c3203 |
refs/heads/main | <repo_name>Dinmukh/Fundamentals-Of-Programming-3LID-A<file_sep>/Lab04-09-11-2020/Lab4-09-11-2020/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
namespace Lab4_09_11_2020
{
class Program
{
static void Main(string[] args)
{
... | 3e9d247933ad67729ee80453d1832c3e95bd034a | [
"C#"
] | 1 | C# | Dinmukh/Fundamentals-Of-Programming-3LID-A | 02754534e997d6ff6bf2c16e747e190eaecb5c39 | 13a9c11216994a0472f41fdb4e6493c437068e49 |
refs/heads/main | <repo_name>vbarajas4/20-react-portfolio<file_sep>/src/components/pages/Resume.js
import React from 'react';
export default function Resume() {
const h1 = {
fontSize: '50px',
padding: '15px 15px 15px 15px'
}
const divStyle = {
display: 'flex',
justifyContent: 'center',
... | d2d699dc6d86acbd76b46f24dbd0fa7e3b8c6146 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | vbarajas4/20-react-portfolio | 37d3bfa65eecff69d4de3e58666bec164cc76685 | efc4d29a79384ffdc314f1d9384e02d4395c6670 |
refs/heads/master | <file_sep>package threads.animation;
import java.awt.Graphics;
import javax.swing.JComponent;
public class Ball {
int xLoc = 0;
int yLoc = 0;
int xdir = 10;
int ydir = 10;
int size = 50;
int delay = 50;
JComponent parent;
public Ball(JComponent parent){
this.parent = parent;
}
public void paint(Grap... | 99ce8a4e4ca9480f991bd17432d58cfad59a4d33 | [
"Java"
] | 2 | Java | jonje/jjensen_Threads | 56d7c588e5e1e07b4c154c63aae58b2a40366073 | ea93578f830b3fe97603a4a77ac56ceca94b4abd |
refs/heads/master | <file_sep>import numpy as np
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
import matplotlib.pyplot as plt
import json
from bs4 import BeautifulSoup
import pandas as pd
# Functions for navigating Amazon's website
def go_back(driver):
driver.execute_script("window.histor... | 8d77cbaddb8a33869e62fc6394793d1cd9bb5038 | [
"Markdown",
"Python",
"Text"
] | 8 | Python | AnthonyCheetham/jigsaw | 9d753499023eff00080bfda64ec2f7d1d74353ba | ae87249c8fe8ca43780878bdf7b1e8cfccf1edef |
refs/heads/master | <repo_name>konecka-p/flare-beagle<file_sep>/flare_beagle_web/app/routes.py
from flask import jsonify
from app import app
from flask import request
from flask_pymongo import PyMongo
from bson.json_util import dumps
from bson.json_util import loads
mongo = PyMongo(app)
@app.route('/')
@app.route('/test', me... | 482f29101b731cf04ca25b2c0a01b998bb905d1e | [
"JavaScript",
"Python",
"Markdown",
"Shell"
] | 13 | Python | konecka-p/flare-beagle | 79f6760dc61ff2185eba609d9968ee234d1fd9f9 | 4d135bb686536a24d7832f6bee08af92fc8b29fe |
refs/heads/master | <repo_name>davydes/gym<file_sep>/spec/support/redis.rb
# Use fakeredis gem
require 'fakeredis/rspec'<file_sep>/db/migrate/20160708085201_create_references_equipment_joins.rb
class CreateReferencesEquipmentJoins < ActiveRecord::Migration
def change
create_table :references_equipment_joins, id: false do |t|
t... | 25853f7e0afc27871488d921d3707ff3cfee4494 | [
"RDoc",
"Ruby"
] | 111 | Ruby | davydes/gym | cc085b2f7e6cdb3b33d4ac4f49b71c9c34ef2756 | b42c6c530a41a1d6c3dc185e46017e6ead9fbb2c |
refs/heads/master | <repo_name>nasr98/myapp<file_sep>/index.py
print("another change made because of Essam")
print("extra blank line")
print("just like this")
=======
Shahad
Nasr
| 3bcf4fcc05e20345170f8f7f51117ccf42b4d064 | [
"Python"
] | 1 | Python | nasr98/myapp | 4bdc240b972d9ce55ed488df74b6a1528e0f99a3 | aebf796d6aab50a9cad9a5d38e006e00af237b56 |
refs/heads/master | <repo_name>Marcos-H/mpi4py<file_sep>/monte_carlo_pi.py
import math
import random
from mpi4py import MPI
comm = MPI.COMM_WORLD
rank = comm.Get_rank()
size = comm.Get_size()
pi = 0
if rank == 0:
for i in range(1, size):
pi += comm.recv(source=i, tag=i)
pi = pi / (size-1)
print(pi)
else:
count = ... | 5e729996a4cb93155135592a443c3076b9706fcc | [
"Python"
] | 1 | Python | Marcos-H/mpi4py | 2233c6854ef34cb1f6a868f088b92dc15c71ea3b | ad7926edc6b6a501b85e14d0dbe70e0d16da7104 |
refs/heads/master | <repo_name>zhouhua/bce-sdk-js<file_sep>/docs/Advanced-Topics-Server-Signature.md
---
id: advanced-topics-server-signature
title: 服务端签名
layout: docs
category: Advanced Topics
next: advanced-topics-sts
permalink: docs/advanced-topics-server-signature.html
---
主要的实现原理是把需要签名的数据发送给服务端,主要是 `httpMethod`, `path`, `queries`, `... | f257f0248bb9bb533b43351d8b0a96a657a2960b | [
"Markdown",
"JavaScript"
] | 2 | Markdown | zhouhua/bce-sdk-js | e94574b6a928a5d2861182e460706af2b1317ecf | 3c15933b46d5e0f50c75c1a4197eabaca6a6c77c |
refs/heads/master | <repo_name>terrorizer1980/tensorpipe<file_sep>/tensorpipe/transport/uv/loop.cc
/*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <tensorpipe/t... | f64c775d551e88969fed6971eaecf85fd5b64faf | [
"C++"
] | 32 | C++ | terrorizer1980/tensorpipe | 42033c5437fc9c181dc9d0a32df600484e2b0685 | d65576c5083b28e47d8d17ea09808b0aaf293e38 |
refs/heads/master | <repo_name>gfx/ORM-APK-Size-Example<file_sep>/settings.gradle
include ':app', ':realmapp', ':ormaapp', ':requeryapp'
<file_sep>/build.gradle
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.andro... | f1a3b8f54e83b3629a87699961ac7022ec6fc33a | [
"Markdown",
"Java",
"Gradle"
] | 5 | Gradle | gfx/ORM-APK-Size-Example | 74e0da9370125d1e61c84ef5f2b29c4737af3d7c | 83d77d6d2dda8da00e2db6db93369b580e2b33a0 |
refs/heads/master | <file_sep>from .curves import *
from .formulas import *
from .lex import *
<file_sep>from curve_analysis.osu_dump import *
from curve_analysis.curve_analysis import *
import numpy as np
from tqdm import tqdm, trange
# Converts sql scores db to 2d numpy table
def to_scores_table(sql_db):
cursor = sql_db.cursor(bu... | bca538f157696abd19aedb43316cc0c051a8ab35 | [
"Markdown",
"SQL",
"Python",
"Shell"
] | 14 | Python | osu-mlpp/mlpp-playground | 56439a6da2739b19b0b9820443d1eed58c7989f8 | 8de9d6dd7dc820dea6a8baa965e5f2cc7625b8b3 |
refs/heads/master | <repo_name>nicolehappy/kaggle<file_sep>/Python-Graph.py
import pandas as pd
from pandas import Series, DataFrame
import pylab
pylab.show()
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
## machine learning
from sklearn.linear_model import LogisticRegression
from sklearn.svm import SVC, L... | 881891331a75c1f36ead7495a386f8705ba4f189 | [
"Python",
"R"
] | 2 | Python | nicolehappy/kaggle | eea994adc34caa94ed7e7b75b339fb4f491ec924 | 5fbb2619dcffed37d64afe76644a95ac6a8aed20 |
refs/heads/master | <file_sep> // Funciones
function mostrar_emp(i){
$.ajax({
type:"POST",
url:"datos_empresa.php",
success:function(r){
$(i).html(r);
}
});
}
function mostrar_emp2(i){
$.ajax({
type:"POST",
url:"datos_empresa_2.php",
suc... | c82b8eb5fdf50d238acff3d34caaaf28e9b31f6a | [
"JavaScript"
] | 1 | JavaScript | Zjavier29/login | 7e2c12b6bf248a6bc5a3fb162dc84e7381e53bce | 66fea8280ab1fa93bb36d40840a7db6da2d51cd7 |
refs/heads/master | <file_sep><?php
namespace DevStrefa\Esemeser;
/**
* MessageType class
*
* MessageType class is helper class in library, it contains constants for message Types and static function for validation type
*
* @license https://opensource.org/licenses/MIT MIT
* @author Cichy <<EMAIL>>
* @version 1.1.0
*
... | 03fc20a1d4dec3bf68f0d83b213bcdd6eea5dfb2 | [
"Markdown",
"PHP"
] | 5 | PHP | DevStrefa/esemeser | e216ddd6579b266d325ff54cde0b57ec98817402 | 6c48b4e55da9f25728470afafea5dab94e1e6976 |
refs/heads/master | <file_sep>package com.phuong.demoroomdatabase.activity;
public class AddStory {
}
<file_sep>package com.phuong.demoroomdatabase.dao;
import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;
import androidx.room.Update;
import com.phuong.demoroomdatabase.model.Top... | d8b6ab6330ea8e826e23d0b7f99c9c2f7a8a92a7 | [
"Java"
] | 6 | Java | gnouhpuht/DemoRoomDatabase | e4f69b8fc787ff6ea4cbeef0c61475c1510a9fad | c5f595d3682cbfbd87ec92b83e73e94372a80ab8 |
refs/heads/master | <file_sep>
package main
import (
"fmt"
"log"
"encoding/json"
"bytes"
"crypto/tls"
"net/http"
)
type PodDetails struct{
Services []NamespaceDetails
}
func main() {
Namespacedetails := NamespaceDetails{}
NamespaceList := []NamespaceDetails{}
for{
NamespaceList = Namespacedetails.GetNa... | 50b35cf1167b68a593bb8f637df28a88a8f38656 | [
"Go",
"Dockerfile"
] | 3 | Go | navnitkum/go | 1c0f3f05a464d956d01e0f6df2116ae8cba91a7e | bf588880028ff93ce6ddb04d6ade0ff9ca5e51a2 |
refs/heads/master | <file_sep># recipe_demo
- Stack
- Tab
- GridView
- Navigation
- Drawer
## TODO
- [ ] Cache Image
- [ ] State Management
<div>
<img src='screenshots/recipe.gif' width="30%" alt='main'>
<img src='screenshots/favorite.gif' width="30%" alt='favorite'>
<img src='screenshots/filter.gif' width="30%" alt='filter'>
</div... | 97f262b3cbbc0610e4bd8078f00463c1ae12d2a5 | [
"Markdown",
"Kotlin"
] | 13 | Markdown | sumyathtarwai/code-flutter | 23194a69eaf5377ab543589317937352cc97c2d5 | aa7a2c3f86ac11074e45f1b3f9a2016124442585 |
refs/heads/master | <repo_name>croizat/shores_PA3<file_sep>/shores_p2/src/Application.java
public class Application extends SavingsAccount {
Application(double amt) {
super(amt);
}
public static void main(String[] args){
SavingsAccount saver1 = new SavingsAccount(2000.0);
SavingsAccount saver2 = new Sa... | beaf7697d2008c95b6aa9c11691d14a190547637 | [
"Java"
] | 2 | Java | croizat/shores_PA3 | d6eafe45729a5e19fd69f24ef62d61f7105924c0 | 137bdb7dd6932e604dd0ec7e9eee2b97e9957f8f |
refs/heads/master | <repo_name>wahyono17/tpb_backEnd<file_sep>/application/controllers/api/header.php
<?php
use Restserver\Libraries\REST_Controller;
defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH . 'libraries/REST_Controller.php';
require APPPATH . 'libraries/Format.php';
class Header extends REST_Cont... | 0ccd4cdf85038441a79dc667f965419167b7ea81 | [
"PHP"
] | 2 | PHP | wahyono17/tpb_backEnd | 63e1441766b9435b16a15b25fccc8211d15e36b2 | df7d6cc7ab755a87de5f97f67a485fb91a28c975 |
refs/heads/orbitai | <file_sep>// -*- C++ -*-
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2010 <NAME>, <EMAIL>
... | f7052b44013b4d931268fbc548b9dd339c751c36 | [
"Makefile",
"C++"
] | 20 | C++ | georgeslabreche/online-multiclass-lpboost | 7c14d6f3102b8b7e432796bdf0d48ee2af2eeffb | c11c4eeb45492781e29753e58ed86f32e125f51b |
refs/heads/master | <repo_name>mre/twox-hash<file_sep>/comparison/Cargo.toml
[package]
authors = ["<NAME> <<EMAIL>>"]
name = "comparison"
version = "0.1.0"
[dependencies]
fnv = "1.0"
quickcheck = "0.4.1"
rand = "0.3.15"
xxhash2 = "0.1.0"
[dependencies.twox-hash]
path = ".."
[features]
bench = []
<file_sep>/Cargo.toml
[package]
name = "... | b880cf0617d66269e5a0cfc0dc85ca53588b94e3 | [
"TOML",
"Rust"
] | 4 | TOML | mre/twox-hash | c80d6937b868f46e463d9d88a84812b4d5dd3c91 | 6bbab2c96c3de2b7bef2d763fe9dc75d15aa014c |
refs/heads/master | <repo_name>webmsgr/OneLifeMapper<file_sep>/interactive_map.py
import pygame
import math
import glob
import os
tilesize = 128 # pixels per tile
def tiletosurface(tile):
pass
def maptosurface(sx,sy,ex,ey,oholmap):
pass
def main(windowsize,tilepipe,OHOLMap):
wt = math.floor(windowsize/tilesize)
cx,cy,fi... | 83d50fa4a7beb13733cdcc268faed95391c1d9a3 | [
"Markdown",
"Python"
] | 5 | Python | webmsgr/OneLifeMapper | 9c94f2820c8605372ff4127f8fb2dfd411db3388 | 74e4f27c002f048a9b4f75e7161a8fccc79ed6d2 |
refs/heads/master | <repo_name>jpsalvadorm63/rfs_02_time_tracking_app<file_sep>/README.md
Fallowing the book
# Fullstack React (R29)
*The Complete Guide to ReactJS and Friends*
02 - Components
This code comes from the book
[Fullstack React](https://www.fullstackreact.com/),
*Components*,
some modifications. For example, I created
the p... | a38abcabc8990d51456d3ea6f2f37109565d4940 | [
"Markdown",
"JavaScript"
] | 5 | Markdown | jpsalvadorm63/rfs_02_time_tracking_app | 7fe6bd342caff9c947f5762070f8e7196fbea98c | 2242932fa889a97e1f17cfd6dfee09ee777ebffb |
refs/heads/main | <file_sep># Changelog:
# v0.2.6
### Bug Fixes:
* getting "failed to build bootstrap manifests" since v0.2.5 [#106](https://github.com/argoproj-labs/argocd-autopilot/issues/106)
### Breaking Changes:
* ~when sending `--app` flag value, use either `?sha=<sha_value>`, `?tag=<tag_name>` or `?ref=<branch_name>` to specif... | 01061ddc69e4b828efc1819512e72f384515876d | [
"Markdown",
"Go"
] | 3 | Markdown | ndrpnt/argocd-autopilot | 5f6ebc8b9bd4b9b91d0044a060be1f8b0307c221 | 81720b91dd8bca72e0b9543300c9a014dece8146 |
refs/heads/main | <file_sep>// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
package com.ahli.galaxy.game;
import com.ahli.galaxy.ui.interfaces.UICatalog;
import lombok.Data;
/**
* Class containing the data of a game (Sc2/H... | 59dd670b4b4fcf28083def694eae6491964f1f7b | [
"Markdown",
"Maven POM",
"INI",
"Java",
"Text",
"C++"
] | 87 | Java | 0x00FF00FF/Galaxy-Observer-UI | d47e21ff54b1e3b4cb026b740eba61c86a028280 | a8ea8cf90cb36287657e6ab41273088b7a27dbfe |
refs/heads/master | <repo_name>YektaAnilAksoy/Compatitive-Programming-Helpfull-Templates<file_sep>/PrimsAlgorithm.java
import java.util.ArrayList;
import java.util.List;
import java.util.PriorityQueue;
public class PrimsAlgorithm {
// Dügümleri temsil eden class yapimiz
static class Vertex{
List<Edge> neighbours;
public Vertex(... | 9518cac79685bc5e3071558c73f603bf0284b3fc | [
"Markdown",
"Java"
] | 2 | Java | YektaAnilAksoy/Compatitive-Programming-Helpfull-Templates | 691fff7bee6002d58fb96d43d7c34030e8c3244e | cab4384f9fdf5484683b2a9f2fbef38c7508944f |
refs/heads/master | <file_sep>//
// Balloon.swift
// 99RedBalloons
//
// Created by <NAME> on 2/7/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
import Foundation
| 803541bad285667c143b8e1bbd5dc6b3baf2cab8 | [
"Swift"
] | 1 | Swift | rnoriega31/99RedBalloons | 8a634c535ee39f62bda8f7265208670569249de3 | 637bcb96687efe1b1421d48497b889d7b55a477f |
refs/heads/master | <repo_name>josebur86/scaling<file_sep>/provision/loadBalancer.sh
#!/bin/bash
echo "Installing Nginx"
sudo apt-get update > /dev/null
sudo apt-get install nginx -y > /dev/null
echo "Configuring Nginx"
sudo cp /vagrant/provision/config/nginx.conf /etc/nginx.conf
sudo cp /vagrant/provision/config/default /etc/nginx/site... | cc64b77e59c73d0320b460bc83ee9c2b87a3de2e | [
"Markdown",
"Ruby",
"Shell"
] | 4 | Shell | josebur86/scaling | 1bf8ace06b374982f75201f67784981763fe77ca | 2aec1b97d5f0c3d0891d24a7018e5235ec90271f |
refs/heads/master | <repo_name>spikeeSakshu/CFG<file_sep>/sfile.c
#import<stdio.h>
int main ( )
{
int x = 10 ;
int y = 20 ;
int greater ;
if ( x < y )
{
greater = y ;
}
else
{
greater = x ;
}
printf ( "%d" , greater ) ;
}
<file_sep>/test_while.c
int evensum(int i)
{
int sum=0;
while (i<=10)
{
if (i/2==0)
{
sum=s... | 07dc215e8084729e4ec6b2f4e01082f52b55dc79 | [
"Markdown",
"C",
"Python"
] | 5 | C | spikeeSakshu/CFG | fb1583c04a979bb4db9ef498ee6d5b2010c30a2e | 171786c36898d69e6eadeb41f2609de0ef39f92d |
refs/heads/master | <repo_name>swnesbitt/pyrect<file_sep>/README.md
Radar echo classification toolkit
=================================
This is a cloud and weather radar echo classification toolkit, primarily written in the Python programming language.
Dependencies
------------
* [pyart](https://github.com/ARM-DOE/pyart)
<file_sep>/pyre... | 67c9c94ebfd876449be3ba1411d3055e04bfed5c | [
"Markdown",
"Python"
] | 3 | Markdown | swnesbitt/pyrect | bf9880661a02535cf1a8df66b3d3ec270b158186 | eab5ef3bc4dd4dedcc71bf926be1b10dd6c8d366 |
refs/heads/master | <file_sep><?php
include "signin.html";
?><file_sep>---------open source-------
# signin
a simple signin for webapps
-------open source------
requirements
--must have a database
--upload the table sql file pack
--php7 is required
--HTML5 is required
<file_sep><?php
$localhost = "localhost";
$username = "r... | b218510bba5b485f28a5cbbc6b3c289512f6a948 | [
"Markdown",
"SQL",
"PHP"
] | 5 | PHP | weetsapp/signin | 557733af72e21686dbfbafecbd875a2b965f92fc | e0813743fa9a33b26da70e03a341c65b4cbe07b3 |
refs/heads/master | <repo_name>ThaboMatlenana/Get_Next_Line<file_sep>/get_next_line.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_ne... | 01b7f59e682c8d655446609a82d7bc1e5dcf0d1b | [
"C",
"Makefile"
] | 2 | C | ThaboMatlenana/Get_Next_Line | eaf172ad3f4b907c7725580766cf27494a9f6050 | 7601f81c8e20fb56d45e34d0cca87be692066d1e |
refs/heads/master | <file_sep>/**
* Created by 罗志伟 on 2016/10/25.
*/
//console.log("node.js 是前端使用的最好的后端语言");
'use strict';//javaScript 严格模式
var http = require('http');//request 表示引入 http是node.js 的负责网络请求的模块
//https 是加密的http请求协议
var https = require('https');
//引入文件处理模块
var fs = require('fs');
//创建文件,将helloworld写入文件
fs.writeFile('a.text','... | 403542aa0f35efee94bf58e3f54f4f3a52bc7b06 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | jeft224/spider | 2d4daed3cebea9a058e7bfa2826f81668003f515 | c287e3a661e0076059bec40c919d18ba6868b90c |
refs/heads/master | <file_sep><!DOCTYPE HTML>
<head>
<meta http-equiv="content-type" content="text/html" />
<meta name="author" content="hungnd" />
<title>User Login</title>
</head>
<link rel="stylesheet" type="text/css" href="../libs/css/style.css"/>
<body>
<form id="frmTest" action="Login.php" method="POST">
<h2>LOGI... | 0144c9128ef6963bdffb309c6c9fecb8cdf6d4f2 | [
"PHP"
] | 20 | PHP | storevan/-PHP-demo-mvc | 17d12f20da43e2faa00b085e09bf6b6c4099ed5a | a8d9473c733aaffd4c97b5bb65786198f7e4a3d7 |
refs/heads/master | <file_sep>/* eslint-env node */
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['mocha', 'sinon-chai'],
webpackMiddleware: {
noInfo: true
},
coverageReporter: {
type: 'html',
dir: 'coverage/'
},
r... | 02415c1a03ab59858449c33857ac3c21f6e7b171 | [
"JavaScript"
] | 1 | JavaScript | vigetlabs/taggle.js | dde4d53f841d39aae8cdaaccc7305990e15fdd61 | 31cc0cc3b59986a9aff5f5c8a7a7550b4eb71e74 |
refs/heads/main | <repo_name>wjcarey/wordpress-move-install<file_sep>/README.md
# wordpress-move-install
move a wordpress install and modify the default virtual host file. the script will prompt you for old and new install locations. not for use in multisite wordpress configurations.
### run this code from the commandline. The script w... | 5c6c1392d126c20db9fd2b9161a5cd3db61bc86f | [
"Markdown",
"Shell"
] | 2 | Markdown | wjcarey/wordpress-move-install | 623119909f5ce7266737736e0c705ed68227edbc | 3f42f7d546993fbd4ccf04d8fe22bc8cc2ec84e4 |
refs/heads/master | <file_sep>package com.shu.merchants.service.impl;
import com.alibaba.fastjson.JSON;
import com.shu.merchants.constant.Constants;
import com.shu.merchants.constant.ErrorCode;
import com.shu.merchants.dao.MerchantsDao;
import com.shu.merchants.entity.Merchants;
import com.shu.merchants.service.IMerchantsService;
import ... | 4f2e6502082af98a9cbe58f1aa443891902b8fc6 | [
"Markdown",
"Java"
] | 8 | Java | jianlinyang/merchants | bd038b2ee48d910506c3073c800793cd00b6c89f | 2473c1fec014f5b78d377eb966df82a4db8f9654 |
refs/heads/master | <file_sep># Tasks API
## Description
This Directory contains API files and documenation
## Environment
* __OS:__ Ubuntu 14.04 LTS
* __language:__ Ruby 2.6.5
* __database:__ postgresql
`
## SETUP PROJECT
### Install app dependencies:
```
bundle install
```
### Setup pre-commit gem
```
pre-commit install
```
###... | 43c4d338adc231fa5fd8699f94abfe15978fc4a7 | [
"Markdown",
"Ruby",
"YAML"
] | 4 | Markdown | Jhon112/tasks-microservice | 9dca44276a114ad48f09865d9409b32d265d6f8d | 3fb5e863c18cfd993100942fe3c782d5e04cbb80 |
refs/heads/master | <repo_name>warkop/pertagas-qrtg-api<file_sep>/application/app/Http/Models/StockMovement.php
<?php
namespace App\Http\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use DB;
class StockMovement extends Model
{
use SoftDeletes;
protected $table = 'stock_movement';... | 6f74eb12eeaa4593dadaf4732f480aeedf84319a | [
"PHP",
"Shell"
] | 34 | PHP | warkop/pertagas-qrtg-api | b6e87e9e7e90d1987fe3f92e13ef2d45c1894406 | 1e567e3ccdbf212fac630a633284af63fe766c99 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplicationAbstractClass
{
public interface IPrint
{
// All methods must be implemented at inherited class
void displayAll();
void displayInt(int... | ef9f4692f3bd45cb4b06d25588e6b8368b7394bc | [
"Markdown",
"C#"
] | 9 | C# | theertharaj/Assignments | 05f0286809333b27619d5d07cbd2dcde42366261 | ae01f4f48829b6f4ee8c16474c686d1507603819 |
refs/heads/master | <file_sep>#git stuff
git init
git add .
#get the comment from the user
echo comment for commit:
read comment
git commit -m $comment
#get projectName and add origin
echo project name:
read projectName
git remote add origin https://www.github.com/farrellfoobar/$projectName
#more git stuff
git remote -v
git push origin ma... | a7a140f1d48c4a281700e8a2ddef4b9f95bb856d | [
"Shell"
] | 2 | Shell | farrellfoobar/basicTemplateWithGit | ddb06a6ec14d8c69e31b3cfd525643401c5e314e | c9ab389d20c4879daa2be28b290945a914e70e7c |
refs/heads/master | <repo_name>Prajakta15Patil/COVID-analysis<file_sep>/README.md
# COVID-analysis
NLP based text summarization and clustering of COVID-related research.
### Motivation
The world is grappling with one of the deadliest pandemics in history. Each day I receive news about a new COVID-19 research and its findings. I was inter... | 990ce4f2a98c4d49b1526d6f0bb06a3d0e6b978b | [
"Markdown",
"Python"
] | 2 | Markdown | Prajakta15Patil/COVID-analysis | f2d869f0934c4a7cc52fc9ded8bee9187ddcdc84 | 0859b7aa107e46788410c78ac72660bbd7f0d688 |
refs/heads/main | <file_sep>#!/bin/env python
""" Console to "drive" the turtle
NRC, 12/10/2009
"""
from turtle import *
command = ""
command_hist = []
while command != 'exit':
command = raw_input(">>> ").strip()
try:
eval(command)
command_hist.append(command)
except BaseException, e:
print e... | 693e72213f9c211ff08d05bf1b7a7ac1ae934ecb | [
"Markdown",
"Python"
] | 11 | Python | nceder/turtlelab | c76b36d0513f2a225f768c435828cc4e18a26e8f | 843d1ead45f99e1a930863411c120aa3d052b5cd |
refs/heads/master | <repo_name>MGA-debug/Compas<file_sep>/src/main/java/ru/appline/controller/Controller.java
package ru.appline.controller;
import org.json.simple.JSONObject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotati... | 805c4cc1a25ff71b131bc7ca2218f86d47d59da3 | [
"Java"
] | 1 | Java | MGA-debug/Compas | af8aa7896b6fde2c56fad97f57c7f0ca44bd6018 | b0f420ab99aa5c839d9eab2f0dd8354ceefe6fc1 |
refs/heads/master | <file_sep><!DOCTYPE html>
<html lang="en">
<head>
<title>nicknelson.io</title>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Karla%7CSpace+Mono:400,400i" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/main.css">
<meta name="description" content="">
<meta n... | 778d1b7da1aa90ebfbf132d18a05cff28f539bcf | [
"JavaScript",
"HTML"
] | 3 | HTML | nicholasnelson/HIT226-portfolio | 032171ab4fea3f663660a4fa259c66db54c7edee | 299f158f2c11b84a5495c0145b68ca00b7650351 |
refs/heads/master | <repo_name>Carrage1121/Barrage<file_sep>/Assets/Scripts/zzy/StopBullet3.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StopBullet3 : IBullet
{
public float time = 2;
public float timer = 0;
// Update is called once per frame
void Update()
{
... | 32dfe8fd18e8a89eaf37693a6471708a496efe28 | [
"Markdown",
"C#"
] | 59 | C# | Carrage1121/Barrage | 2d7a671b48c18ea8a2d5d6b21e16341ce1a10827 | fcb3a9b0d7988f2f7c70a006025cb8b40a1fdffb |
refs/heads/master | <repo_name>mliq/Version3.x<file_sep>/RsyncOSXver30/profiles.swift
//
// profiles.swift
// RsyncOSX
//
// Created by <NAME> on 17/10/2016.
// Copyright © 2016 <NAME>. All rights reserved.
//
import Foundation
// Protocol for reporting file errors
protocol FileError: class {
func fileerror(errorstr:String)
}
... | 5c74b0db985964b5f56997cec6967ed94b03648f | [
"Swift"
] | 5 | Swift | mliq/Version3.x | 0630759fb8dd2833d37cd96661df93f7dceb5b4f | 1b8bf80c53ef5d700a8589c5273aa63812f7deb0 |
refs/heads/main | <file_sep><?php
namespace App\Controllers;
class Dashboard extends BaseController
{
public function index()
{
return view('Dashboard/Layout/Header');
return view('Dashboard/Layout/Navbar');
return view('Dashboard/db_main');
return view('Dashboard/Layout/Footer');
}
publ... | 8d74dfd8ab594c4bfc625cfafdf5e2892ff56371 | [
"PHP"
] | 5 | PHP | vernika64/syariahbanking | aafca41b5e795b56ba69a601c821107e3819105b | f9db3ecaa63ccef230c0b89b6844b3b330879c77 |
refs/heads/master | <file_sep>/**
*
* @authors <NAME> (<EMAIL>)
* @date 2016-08-05 15:40:46
* @version $Id$
*/
'use strict'
import React from 'react';
import ReactDOM from 'react-dom';
import Component from './component.jsx';
<file_sep>
import React from 'react';
import './bootstrap.css';
import './basic.css';
export default c... | 33cbfd85255ef7b9149577af30c10a152b0f42b9 | [
"JavaScript"
] | 2 | JavaScript | TP-ISP/templateSet | 90847eea3acfbed49a585b969d47603ab7486ea4 | cada5c1ced3482a93b17cda904c05dc7e30ebe3c |
refs/heads/master | <file_sep># WebServiceRHB
RHB Webservice - Spring Boot application for CRUD operation for a person
- Sample springboot app with JPA and mysql
- docker-compose.yml and Dockerfile provided
Docker Command:
- Make changes to application.yml, application.properties and Dockerfile accordingly
- Create network: docker netw... | c2129722ba2a2f0d5864ca0506bac44fbb3055a3 | [
"Markdown",
"Java",
"Dockerfile"
] | 3 | Markdown | HafizAboy/WebServiceRHB | 12c8ba0ea0146f78c438df473f42997bc768f6b5 | 633c6554637048ea35d22560c64f684aaff5e482 |
refs/heads/master | <repo_name>enriquedcs/PyStructure<file_sep>/Algorithm/Prime_Number.py
# Prime Number
def IsPrime(nums):
if nums <= 0:
return False
if (nums%2) == 0:
print ("Number is not Prime: ")
else:
print("Number is Prime: ")
return nums
nums = 0
print(IsPrime(nums))<file_sep>/Algorithm... | 22c18ce056d125df8a2d6cf20bd69f90f8f8e93f | [
"Python"
] | 4 | Python | enriquedcs/PyStructure | 20c9c554ffe32fd2097eff7b7df74e56859ec621 | 04be667e50dab2008967673be43fabb61d2d275c |
refs/heads/master | <repo_name>mosuke5/terraform-provider-mosuke5<file_sep>/resource_server.go
package main
import (
"fmt"
"log"
"os"
"github.com/hashicorp/terraform/helper/schema"
)
func resourceServer() *schema.Resource {
return &schema.Resource{
Create: resourceServerCreate,
Read: resourceServerRead,
Update: resourceSer... | a4e399cfec99e50d147f490375862286acd0103b | [
"Go"
] | 3 | Go | mosuke5/terraform-provider-mosuke5 | c99d8a8fca707eabe2baf11fa8db36e1730a046c | 5ded1c4422abaf12548182816568413ead2a61a8 |
refs/heads/master | <file_sep>import { Url, URL } from 'url';
export class Highlight {
filename: string | undefined;
title: string | undefined;
postUrl: Url | undefined;
date: Date | undefined;
permalink: string | undefined;
video: string | undefined;
excerpt: string | undefined;
constructor(initObject: any) {
this.f... | 93170a418390c2ab72b90e51331d5eb142c9a283 | [
"Markdown",
"TypeScript"
] | 5 | TypeScript | Mutmatt/auto-pull-req-new-mnufc | 2074a96e6039d077fe7cca89bfe4a6a933422b14 | 0e26ff4a2aa33e302b942515b449133804d62496 |
refs/heads/master | <repo_name>Mpompili/ARKit_Practice<file_sep>/ARGame/ARGame/ViewController.swift
//
// ViewController.swift
// ARGame
//
// Created by <NAME> on 6/24/18.
// Copyright © 2018 <NAME>. All rights reserved.
//
import UIKit
import ARKit
import Each
class ViewController: UIViewController {
@IBOutlet weak var timer: ... | af529f327b9dd008a04f11423fbfd285ca7d6846 | [
"Swift"
] | 2 | Swift | Mpompili/ARKit_Practice | adeb94688f52c91b450c137063ed2eae74b680ac | 92cf66a179580c3c3ad15d168230bb355e9551c7 |
refs/heads/master | <file_sep>var products = [
{
name: 'cooking oil',
price: 10.5,
type: 'grocery'
},
{
name: 'Pasta',
price: 6.25,
type: 'grocery'
},
{
name: 'Instant cupcake mixture',
price: 5,
type: 'grocery'
},
{
name: 'All-in-o... | 2f468fcf9c55a390f5d77949632dee29d506e098 | [
"JavaScript"
] | 2 | JavaScript | Ma-ti-as/Sprint3 | 1dad97c48c212410aa24a125343e61e120d17599 | 57b9953d2eed9c649db53f96a1dfa99fdd644dd8 |
refs/heads/master | <file_sep>from __future__ import unicode_literals
import random
import string
import hashlib
import hmac
import base64
PAGINATION_MODEL = {
"list_user_pools": {
"input_token": "next_<PASSWORD>",
"limit_key": "max_results",
"limit_default": 60,
"page_ending_range_keys": ["arn"],
... | 60ec247f3f196a7ea190fa661b196d89bfbdf643 | [
"Python"
] | 1 | Python | shivani-idexcel/moto | f50d80ede66af3bdac31758dad8c2e228142a12a | e178d9ed76f3616db01e3422ea879041b0bc7eeb |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Text;
namespace CV.MW.DTOs
{
public class Developer : dbEntity
{
public string LastName { get; set; }
public int Age { get; set; }
public string Role { get; set; }
public Skill[] Skills { get; set; }
... | e0f5435eb1d2a2ed534d0f6aee73b8200b278322 | [
"Markdown",
"C#",
"TypeScript"
] | 29 | C# | plumkaballZ/Project.CurriculumVitae.Mindworking | ed600511a56b6f7e5d79b419375ed30991c623a5 | 626e0f33a209505292c0bec1233eba5305b70810 |
refs/heads/master | <repo_name>monisun/patronus<file_sep>/Patronus/MyReportCell.swift
//
// MyReportCell.swift
// Patronus
//
// Created by <NAME> on 7/12/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
import UIKit
class MyReportCell: UITableViewCell {
var incident: Incident?
var message = String()
var datetim... | a8fe9f133b3ec91c2742e7d23685735de5be1e4b | [
"Swift",
"JavaScript",
"Ruby",
"PHP"
] | 19 | Swift | monisun/patronus | ad4a965db58f091ef776386a3a4446b62e10a240 | 639be0cb7ebf9cf16877525c82e51dbcd23d02df |
refs/heads/master | <file_sep>Django==1.4.1
Fabric==1.4.3
South==0.7.6
Werkzeug==0.8.3
dj-database-url==0.2.1
django-extensions==0.9
gunicorn==0.14.6
psycopg2==2.4.5
pycrypto==2.6
sendgrid==0.1.3
ssh==1.7.14
wsgiref==0.1.2
<file_sep>from fabric.api import *
# current_git_branch = local('git symbolic-ref HEAD', capture=True).split('/')[-1... | 269d706e551f4809adc1784fcb260bdf04e5f5ee | [
"Markdown",
"Python",
"Text"
] | 8 | Text | jpadilla/email-hangman | 928c107362531fefb5105e9f20536f9c3fd61976 | e8775252bc97a8327edde43c45cd013199ab8b19 |
refs/heads/master | <file_sep>-- phpMyAdmin SQL Dump
-- version 4.4.3
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 07, 2015 at 11:31 AM
-- Server version: 5.6.24
-- PHP Version: 5.6.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CL... | 3ceaa4b957d215e3a2d491bb7596a5f04705d97f | [
"Markdown",
"SQL",
"PHP"
] | 5 | SQL | CalvinNolan/QR-Code-Receipt-Scanner | 10f88fd019eaabe8299db88c7175cb339fd8f2e5 | a08253be21c207599a9d78c3cfbf8a81fd80419f |
refs/heads/master | <repo_name>VasimHayat/fn-tag<file_sep>/src/app/fn-tag/fn-tags.component.ts
import {
Component,
OnInit,
Input,
ViewEncapsulation,
Output,
EventEmitter,
} from '@angular/core';
export interface FnTagData {
id: number | string;
name: string;
}
@Component({
selector: 'fn-tag',
templateUrl: 'fn-tags.co... | dca2fd16137dc261949063b96f1299ba37eea9b6 | [
"TypeScript"
] | 2 | TypeScript | VasimHayat/fn-tag | 4fff13c9a647403c3231d38e397fbe99275eaa3c | b174f3353ca44e326ebe24facd6a4a85904c8179 |
refs/heads/master | <file_sep>package com.neoway.ssmvc.service;
import com.neoway.ssmvc.domain.Book;
import com.neoway.ssmvc.dto.AppointExecution;
import java.util.List;
/**
* @author 20190712713
* @date 2019/8/26 20:54
*/
public interface BookService {
/**
* 查询一本图书
*
* @param bookId 图书id
* @return 图书对象
... | f30f8180a970724d8951ca5f8e58265bcee9994e | [
"Java",
"SQL"
] | 6 | Java | OYangxt/ssmvc | 5f79c7f76acbc7f9ecb52ea9b437a6aa87e06226 | ec9d47c4e36b40f8e4d8dd4669727e0fb1dd34bd |
refs/heads/master | <repo_name>bobsilverberg/pytest-selenium<file_sep>/pytest_selenium/safety.py
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from functools import partial
import os
imp... | b1d085f2e0e87a5dea95c6b38b39febdf2e8d97c | [
"Python",
"reStructuredText"
] | 15 | Python | bobsilverberg/pytest-selenium | f058203698979bb1c99020b3ebd752987a6d7c2c | 9530a91fc794146174353eeb4acb732a3cfe701f |
refs/heads/main | <file_sep>import React, { useContext } from 'react';
import Link from 'next/link';
const Sidebar = () => {
return (
<div className='md:w-2/5 xl:w-1/5 bg-blue-600 rounded-xl mt-2'>
<div className='p-6'>
<p className='mt-2 text-white uppercase text-2xl tracking-wide text-center font-bold'>
... | 96fea435d7cd1baee56b3916f3bed576c24511f5 | [
"JavaScript"
] | 10 | JavaScript | pbindisramos/Telemedicine | 86f0241155c75a9f29db833cf8a956c9a0328a0c | 2e8a77e4fcb3ecf9719d1f7ca6339a955ec21f68 |
refs/heads/master | <file_sep>'use strict';
/**
* Priority queue.
*/
module.exports = class PriorityQueue {
/**
* Creates a queue from a list.
* @param {Array} list { priority, anything }
*/
constructor(list) {
this.list = list.sort((a, b) => a.priority - b.priority);
}
/**
* Dequeues an element with min prior... | 9c725698ba4f819034b0441a67d7e5cb58b29a75 | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | mikalai-s/ra | ffdaa25c72c2215ec4913c7514236424bbba028f | 670487c17147c093dc47a20ea1e1960c2c83b31f |
refs/heads/main | <repo_name>mithon42/PSD-to-H-C-Bs4<file_sep>/README.md
# PSD-to-H-C-Bs4<file_sep>/js/main.js
// $(function () {
// var mixer = mixitup('.Product-item')
// }); | 79bd582046c1a5a6ba4669439059fb3b37cd8b1b | [
"Markdown",
"JavaScript"
] | 2 | Markdown | mithon42/PSD-to-H-C-Bs4 | d194a3ee76dae63120259d17d53849ce53c68369 | 551e556ed96e107fe113a10235b1f7bce3d3d03a |
refs/heads/master | <repo_name>arlesonsilva/iPautas<file_sep>/iPautas/PautaCelula.swift
//
// PautaCelula.swift
// iPautas
//
// Created by <NAME> on 03/05/20.
// Copyright © 2020 <NAME>. All rights reserved.
//
import UIKit
class PautaCelula: UITableViewCell {
@IBOutlet weak var titulo: UILabel!
@IBOutlet weak var brev... | 28b978968721c1141be62679e3594fef41304324 | [
"Swift"
] | 7 | Swift | arlesonsilva/iPautas | 15859899e105f4cd2b3496a27013969e0d3264f4 | cfc583990d0d69cbf03ecc28c6bdfc9028ae6f39 |
refs/heads/master | <repo_name>ianleongg/Behavioral-Cloning<file_sep>/model.py
import csv
import cv2
import numpy as np
import sklearn
import random
# read log data
samples = []
with open('./data/driving_log.csv') as csvfile:
reader = csv.reader(csvfile)
next(reader) #skips the first line
for line in reader:
samples.a... | 6b068c5b1ad5953da7481105f000b4b412d78a15 | [
"Markdown",
"Python"
] | 2 | Python | ianleongg/Behavioral-Cloning | 08789989e1ff932aa500ff1b55a0789553d53faa | 050041d70106e3f402f8019f7abc02ad23dcb7b6 |
refs/heads/master | <repo_name>maet-01/RedisSamples<file_sep>/src/main/springboot-redis-resources/config/application-jedis.properties
jedis.host=127.0.0.1
jedis.port=6379
jedis.max-total=20
jedis.max-idle=5
jedis.max-wait=1000
jedis.max-wait-millis=1000
jedis.test-on-borrow=false<file_sep>/src/test/spring-redis-test/com/vergilyn/demo/redi... | b3355c1a84b74dfc240e53dbfd57ff7dc9cc3c6b | [
"Markdown",
"Java",
"INI"
] | 7 | INI | maet-01/RedisSamples | 40c07590031539117f7d47f06ffa6f259dde49a6 | d3a8655e37f66da5e1af78cef838bfcb5212f15f |
refs/heads/main | <file_sep># HolaMundo
Hola mundo con MVC
| 42ac09206dfd96d061e97987df7889bcd2b55e5b | [
"Markdown"
] | 1 | Markdown | esteban14658/HolaMundo | 17720e634a1f66f2e80bf78c3479690389a29649 | 0487f0c2a1a1cc819af4730a6c3157c33f00ec6d |
refs/heads/master | <file_sep>import pickle
import matplotlib.pyplot as plt
from operator import add
import numpy
pcfg_dict_fpr = []
pcfg_dict_tpr = []
pcfg_ipv4_fpr = []
pcfg_ipv4_tpr = []
pcfg_dict_num_fpr = []
pcfg_dict_num_tpr = []
pcfg_ipv4_num_fpr = []
pcfg_ipv4_num_tpr = []
pcfg_dict_roc_auc = []
pcfg_ipv4_num_roc_auc = []
pcfg_d... | 982c3c6903a0744866e9e367cef5a262dd1590e0 | [
"Python"
] | 6 | Python | Ashiq5/Botnet_Detection | 90ad78b7049f584857f7e9bd345d700d419fef84 | 7634a68dedb6555e3563773a76bfe694156c25c7 |
refs/heads/master | <repo_name>RohanGupta24/Hello-World<file_sep>/FacebookRetrieval.R
install.packages("Rfacebook")
//install.packages("contrib.url")
library(devtools)
install_github("Rfacebook", "pablobarbera", subdir = "Rfacebook")
library(Rfacebook)
token <- "<KEY>"
me <- getUsers("pablobarbera", token, private_info = TRUE)
me$name
g... | 6e08f6bb39dc0a897188c36e0bce774df8048808 | [
"Markdown",
"R"
] | 3 | R | RohanGupta24/Hello-World | 708f81a613d2267ec2e15a68da9d8f1b124f1ec9 | acebaea01396d57fdb315de00e0d8984619a15aa |
refs/heads/master | <repo_name>yuyang0/ryu<file_sep>/ryu/lib/process.py
import sys
import os
import logging
import errno
import multiprocessing
LOG = logging.getLogger('ryu.lib.hub')
def setproctitle(x):
try:
from setproctitle import setproctitle as _setproctitle
_setproctitle(x)
except ImportError:
pas... | 0d53b7d02cdef189415bd9697d604bd413854bee | [
"Python"
] | 1 | Python | yuyang0/ryu | af2746fa040b0e7ede2713f8e44cb5a5b8de39c2 | 7e6551cc64b8b88f16e30fd79ad162de053407c5 |
refs/heads/master | <repo_name>BugfreeGames/Roboticon-Colony<file_sep>/Assets/Code/Classes/Game Manager/RandomEvent.cs
// Game Executable hosted at: http://www-users.york.ac.uk/~jwa509/alpha01BugFree.exe
using UnityEngine;
using System.Collections;
public class RandomEvent
{
private GameObject eventGameObject;
private string ev... | 26a53cb86bf2d43774cd5fbbc65a41cab99d7824 | [
"Markdown",
"C#"
] | 14 | C# | BugfreeGames/Roboticon-Colony | 8cd16ed2b910585e02e9712e87e3be161162fe06 | 6ada38dcd95c3ac840021de85ecf8bff4dc75fc0 |
refs/heads/master | <repo_name>humanaseem/next-express-commerce-app<file_sep>/components/Slider/MySlider.styles.jsx
const MySliderStyles = () => (
<style jsx global>{`
.center {
text-align: center;
margin-top: 100px;
}
.slider {
position: relative;
width: 100%;
height: 90vh;
overflow: hidd... | a8842dbf01849e875b8fd7f190cf12055958db8c | [
"JavaScript",
"Markdown"
] | 66 | JavaScript | humanaseem/next-express-commerce-app | 94419f9e0726c16fc411f151acebf387f891a014 | e384bf0cb60d5574f244bd3dba44744e01faf7d0 |
refs/heads/master | <file_sep># Wethos Test
A hiring test from Wethos: Nuxt app to show a summary of the user's profile and projects
---
## API Info
- Powered by PHP 7.2.4
- Rate limited
---
## API Endpoints
<details>
<summary>
### Signup
*Used to create a new user on the system, immediately after receiving, sends 200 and does an ... | 4b612b31b060a20e6b2d9a757ae4054691e771e1 | [
"Markdown",
"TOML",
"JavaScript",
"Shell"
] | 14 | Markdown | israelmuca/wethos-test | 635057f4a2ed01ef23d5e7e2e451f4871369b444 | f52ee7d633a6a92b501c8567f4f2777c86f2333d |
refs/heads/main | <repo_name>Caphace-Ethan/Breast-Cancer-Diagnosis<file_sep>/scripts/data_processor.py
import pandas as pd
import numpy as np
from log import logger
import logging
import logging.handlers
from sklearn.preprocessing import StandardScaler, MinMaxScaler
from project_config import Config
class data_processor():
def ... | 68c19592216657c33ecef9ab879fab14f2955bb1 | [
"Markdown",
"Python"
] | 6 | Python | Caphace-Ethan/Breast-Cancer-Diagnosis | a835eab25b4f2bacd09bc23e99fb49a7a7b45cde | c47b7b6a07b8720092980f04c7f22adff4c2fc65 |
refs/heads/main | <repo_name>EffenrilAgung/tugas_10_react_js<file_sep>/src/App.js
import { Component } from "react";
import 'semantic-ui-css/semantic.min.css'
import { Container, Flag, Grid, Icon, Input, Image, Header, Divider, Label, Button } from 'semantic-ui-react'
class App extends Component {
render() {
return (
<div>
... | 05bdb1be64503deded4b841c266b0c6cf1cf1039 | [
"JavaScript"
] | 1 | JavaScript | EffenrilAgung/tugas_10_react_js | 27e6901836181b5fced5d28ca402062eafa2d148 | f9ae905fdb2464277e8d0f318b0233ebb6065eb8 |
refs/heads/master | <repo_name>dengbuqi/melanoma-detection<file_sep>/melanoma/feature_extraction/color_variation.py
import numpy as np
def get_RGB(img):
r_lesion = []
g_lesion = []
b_lesion = []
r_skin = []
g_skin = []
b_skin = []
for i in range(img.shape[0]):
for j in range(img.shape[1]):
... | 127f5b112fa5f72afb93fc94a70287b3bce2c6db | [
"Python"
] | 12 | Python | dengbuqi/melanoma-detection | e9f392919f4e364f9effc8139ca5df9cd2d2109d | b73241b4c3a9342c252fc1ac5dcacd346f51c02a |
refs/heads/master | <repo_name>akrylysov/lambda-phantom-scraper<file_sep>/scraper/index.js
var path = require('path');
var childProcess = require('child_process');
var phantomJsPath = require('phantomjs-prebuilt').path;
exports.scrape = function(url, callback) {
var childArgs = [path.join(__dirname, 'phantomjs-script.js')];
var phant... | 5ae3db62e058065bbb4697dc9914bbda1818af99 | [
"JavaScript",
"Markdown",
"Shell"
] | 6 | JavaScript | akrylysov/lambda-phantom-scraper | 8d42b3a9f4197fcbb5eb7e3957366da9ee26f3e4 | b2ffd0ea728b674c09b1b2e199f906b56680937a |
refs/heads/master | <repo_name>Adriansip/sistema3rios<file_sep>/database/migrations/2018_12_12_175331_create_estatus.php
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateEstatus extends Migration
{
/**
* Run the migrations.
*
... | 5249e1d1ff79ae7be3248bd6fdfc874d4fe1c631 | [
"JavaScript",
"PHP"
] | 21 | PHP | Adriansip/sistema3rios | 3be9790dd7efe7b450b0c373036b0685f7f34303 | 7797f0f4b5e0a05762a3a02b392a10297465cc21 |
refs/heads/main | <file_sep><?php
error_reporting(0);
function cek($keyword){
// Github : https://github.com/tinwaninja/
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://expo.expeditors.com/expo/SQGuest?SearchType=pagedShipmentSearch&TrackingNumber='.strtoupper(trim($keyword)).'&offset=0');
curl_setopt($ch, CURL... | a7a11121555a0b0244f022d71bc5435c436f01df | [
"Markdown",
"PHP"
] | 6 | PHP | tinwaninja/Tracking-Number-Generator | 233f4feb83ead8365f681f7398f8186dd2e7eeed | a765f9fb1174f0e9685516505be6ed93d82d613a |
refs/heads/master | <repo_name>Jaeguins/DotBoom<file_sep>/Assets/Scripts/Terrains/ChunkDataManager.cs
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class ChunkDataManager {
private static ChunkDataManager Instance;
//public Dictionary<Vector2, ChunkData> Data;
public TerrainSavor savor = new... | 6c77c250ae0d67bab8cb1bb0b21341c71817d03c | [
"Markdown",
"C#"
] | 27 | C# | Jaeguins/DotBoom | 0c422f45a07f4e10717f8b57bd97e962814c15f4 | d3213d6956fa5af037726a3fa1f177a2afae6c83 |
refs/heads/master | <file_sep>'use strict';
const GLOBAL_TIMEOUT = 40e3;
const os = require('os');
const path = require('path');
const requireIt = require('require-it');
exports.config = {
specs: 'features/**/*.feature',
capabilities: {
browserName: 'chrome'
},
directConnect: true,
cucumberOpts: {
req... | af4504cacebf51f3942c8fab74e34adf03ac1534 | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | horvathmilan/mystudylife-test | ae73656215079b6434e2458061b66a7d83e3dd84 | fda3c6debd4aef10fbe1a78b02dfb6c9464f04c3 |
refs/heads/master | <repo_name>ecliptik/MobyTest<file_sep>/entrypoint.sh
#!/bin/bash
#Wouldn't be a demo without a bash script
# moby tool needs docker running to pull in images
exec dockerd &
# You will see some errors in the output. This can be ignored. Just complaining about the image not existing before it is pulled.
# ERRO[0522] ... | 4d04637df90c82084861420a8bdea9f2444abd7e | [
"Dockerfile",
"Shell"
] | 2 | Shell | ecliptik/MobyTest | 80914f5cf7fe0026d359a55793e463cd06dfd4cb | ce47c6ef783ddd21cecc125bcdf5c496ba5d9fd9 |
refs/heads/master | <file_sep>// Note: $(() => {}); is equivalent to $(document).ready(function(){})
class KeyboardController {
constructor(key) {
this.key = key;
this.value = key.text();
}
print_value() {
if (this.key.hasClass("key-space")) {
var oldText = $(".text-output").text();
$(".text-output").text(oldText + " ");... | ecfe795e1e54f6805ea8e10d5ec172b15a852087 | [
"JavaScript"
] | 1 | JavaScript | UANDES-4103-201910/lab-assignment-8-MEspinosaGH | cfc88753437fdfdc55a1df6a80ec3a015c4396e8 | 85a513789db13c2bfce051a32f7ba7fc18e566e7 |
refs/heads/main | <file_sep># serverless-rust
Examples to run Rust based workloads on
- Azure Functions
- AWS Lambda
<file_sep>[package]
name = "lamda-deno"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
lambda_runtime = "0.3.0"
tokio... | 7cd667decf21f1b7169747f8cd6d74f9eb71d057 | [
"Markdown",
"TOML",
"Rust"
] | 5 | Markdown | ddprrt/serverless-rust | 78ad06d6d21fdedfb53a56660391788082da7a44 | 9a57b7d9971a315f465893c6b1802d8143dc0fcc |
refs/heads/master | <repo_name>sander76/telegram_async_poll<file_sep>/telegram_async_poll.py
import asyncio
import logging
from homeassistant.const import EVENT_HOMEASSISTANT_START, \
EVENT_HOMEASSISTANT_STOP
from homeassistant.core import callback
# from telegram.bot import Bot
import aiohttp
_LOGGER = logging.getLogger(__name__)
E... | 774b22802cc16639ca343e4ca0cd38740bc10b80 | [
"Python"
] | 1 | Python | sander76/telegram_async_poll | 13611af707993e86180de02e0696589f232880fa | 8b0d225fd82fe18e98a499c08224c6d90a201fc6 |
refs/heads/master | <file_sep>#assignment commands
# {}
x=5
# { (x, f)}
y=6
# {(x, 5) , (y, 6)}
#conditions
if(True):
x=0
z= 10
else:
x=1
z=11
# {(x, 0) , (y, 6), (z, 10)}
#procedures and procedure call
def fun(a, b, c, x):
result = a * (x*x) +b*x + c
return result
if (x>0 or y==6):
x=0
z= 10
else... | e9011b2b59a542fd49105136aac3819a962c9905 | [
"Python"
] | 5 | Python | cse4qf/cs1113 | c92485f03f277cd6e3096d44921cda3008c2b248 | d9762e20f1256f3c92b820159186023d5116b605 |
refs/heads/master | <repo_name>vbragin/docs.qameta.io<file_sep>/Gemfile
source 'https://rubygems.org'
gem 'jekyll-redirect-from'
gem 'jekyll-asciidoc'
gem 'coderay'<file_sep>/allure/1.4/reporting/bamboo.adoc
= Bamboo
:icons: font
:imagesdir: /allure/1.4/img/
:page-layout: docs
:page-version: 1.4
:page-product: allure
:source-highlighter:... | 725a011402ac22e26d1032544c38bcdd1a60cfe7 | [
"Ruby",
"AsciiDoc"
] | 2 | Ruby | vbragin/docs.qameta.io | b429a9d9289aa7e38fae037bb6339419190757aa | 7ac70332d2d599bace42681211a17ee9322a8b78 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.