branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>import requests
import pandas as pd
import os
import sys
import logging
logger = logging.getLogger(__name__)
log_handler = logging.StreamHandler()
log_handler.setFormatter(logging.Formatter('%(asctime)s : %(processName)s : %(levelname)s : %(message)s'))
logger.addHandler(log_handler)
class EthScrapping():
... | 4e666e1a0d078f2a4e1db1569c63ce8c7971448c | [
"Markdown",
"Python"
] | 3 | Python | DennisLeoUTS/ethereumTransactionsAnalysis | 3ed1b0451c549de699458912f1807e8cb037c122 | c9ad7a38aefae96cfeee4be8a454057031ed1c20 |
refs/heads/master | <file_sep>package main
import (
"github.com/draringi/go-libtrue"
"os"
"log"
)
func main() {
val := truth.GetTrue()
if !val {
log.Fatal("Wrong value")
}
os.Exit(0)
}
<file_sep>package truth
// #cgo LDFLAGS: -L/usr/local/lib -ltrue
// #include <stdbool.h>
// bool get_true();
//
// int bool_to_int(bool b) {
//... | 5e2982d1eeb767622fbf814838ae29624f306c91 | [
"Markdown",
"Go"
] | 4 | Go | draringi/go-libtrue | 6ab3d43a95c31ae775fc8b02c8348feb8f459cb3 | 214768737fda62864d3d3d7720ad3239e237ed5f |
refs/heads/master | <file_sep># allocation-table
[Edit on StackBlitz ⚡️](https://stackblitz.com/edit/allocation-table)<file_sep>import { Component, OnInit } from '@angular/core';
declare var $:any;
var allocationData = [
[
[
{cropType: "type-2", size: "40 CM", "postingStatus": true,"precoolPostHarvestRejection": 0,"... | 7fa3f032a8a933ae286ce323cee50f9c452cd8ef | [
"Markdown",
"TypeScript"
] | 2 | Markdown | ksiranjeevi92/allocation-table | 4859ffb1154e596e354ae9f896ea881e245941b2 | 64040c28b4399274546e0d82ef3aea4c5b53af5e |
refs/heads/develop | <repo_name>telerik/kendo-vscode-extensions<file_sep>/templates/Web/_composition/ReactJS/Page.React.AddHome/src/App_postaction.jsx
class App extends Component {
render() {
return (
<React.Fragment>
<NavBar />
<Switch>
//{[{
<Redirect exact path = "/" to = "/Param_HomePageNam... | 0305622407bc7f82f7260aac51840b72178ba194 | [
"JavaScript",
"Markdown",
"Python",
"Text",
"TypeScript"
] | 208 | JavaScript | telerik/kendo-vscode-extensions | 8f3286accc388c955de88e3b3b087e566b639602 | 6589f613bb12502f1b93afcb239f09013b19d974 |
refs/heads/master | <file_sep># user stats; the stats are built here from the table
# note that the stats are being built for player controlled pcs;
# if I implement player creator, users character will be created/stored elsewhere
from data_reader import *
from player_setup import user_name, opponent_name
#combat card dict builder
def ... | 6896d9d56dfb8aa22a710f441c16d045fa1eea2f | [
"Python"
] | 5 | Python | kevinthew/21lockout | a79238a35f54298e95049bfe5fb2b7cacf021d1e | 82c3c839d5af79a241521ffac0be017904aad673 |
refs/heads/master | <file_sep># NonnaScan
Auto digitalization of recipees of Nonna's across the world.
# Installation
The project rely on other OCR engines. Please install them before.
**tesseract**:
Follow `https://github.com/tesseract-ocr/tesseract` for instructions. The short answer being:
`sudo apt install tesseract-ocr`
### Ins... | dda51b76414542dca8777db4e36a5e70f4d62046 | [
"Markdown",
"Python"
] | 4 | Markdown | LucaZampieri/NonnaScan | c681ed6d3827040700aa2495013fd4d4236e6000 | f31231251454299f19941e4df7d3adb6e108a964 |
refs/heads/master | <file_sep># VaultDragon Test #
## Server is deployed at ##
http://172.16.31.10:3000/
## Test GET request ##
http://172.16.31.10:3000/object/key1
## POST your own object at ##
http://172.16.31.10:3000/object/
with the object's format {"keyName":"valueName"}
## Some points ##
* Code is separated into model, controlle... | 14de983161482bc829c33b5746e86b58f35e56de | [
"Markdown",
"JavaScript"
] | 3 | Markdown | chengkoon/vaultdragontest | 4c251e5cb9186a40b0e4b67a180bd797ec84a9a6 | 5fb68f950659b57ef8fb01e341cbaa48c0c938b1 |
refs/heads/master | <file_sep>-- phpMyAdmin SQL Dump
-- version 3.5.2.2
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jun 08, 2017 at 03:58 PM
-- Server version: 5.5.27
-- PHP Version: 5.4.7
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CL... | 22f35b7e26aa6e53d3e26246431e626c52aca523 | [
"SQL",
"PHP"
] | 2 | SQL | nasirahmad1997/Fitness-world-with-php-mysql | d09e20e90fa4759304df5d8c7c1a1c25bd1625b9 | f2e792c46b8e48f5fdd1a5138654a2597a8a8ecc |
refs/heads/main | <file_sep>Installation
To start off with to run this program you need to have python and flask installed.
To install python it will vary depending on what OS you are running, for me I use windows so I just went to the python website to install it at python.org.
Then to install flask it needs to have python 3.6.5 o... | 66236c52c8c219247b24ec2999f108ef83e2cc26 | [
"Markdown",
"Python"
] | 2 | Markdown | 16ericchen/349-Project1 | 35b2575d9999d732d32d963777dd6c62f28cc628 | 642e313e639dbfd857842271d132d04623452c94 |
refs/heads/master | <repo_name>reivax0z/interview-prep<file_sep>/src/main/java/reivax/norac/interviewprep/webapp/Entry.java
package reivax.norac.interviewprep.webapp;
public class Entry {
private String question;
private long timeout;
public Entry(){
}
public Entry(String question){
this.question = question;
}
public E... | 5b38aed8c11df4049ff86ced264546272e6c0402 | [
"Java"
] | 2 | Java | reivax0z/interview-prep | c0e0b402fe65f1159a8e39b379b3d08dabfab7c5 | bdffd3dab166f4b9cb93b6dc3eadf52adab331d7 |
refs/heads/master | <repo_name>ozzyjohnson/chef-bcpc<file_sep>/vbox_save.sh
#!/bin/bash
for i in `seq 1 3`; do
VBoxManage snapshot bcpc-vm$i take initial-install
done
<file_sep>/vbox_restore.sh
#!/bin/bash
for i in `seq 1 3`; do
VBoxManage controlvm bcpc-vm$i poweroff
VBoxManage snapshot bcpc-vm$i restore initial-install
vagrant... | d83f7122902efb97d184095e8f40bf3060d61de3 | [
"Shell"
] | 2 | Shell | ozzyjohnson/chef-bcpc | e9062beb8dd323b869b4c6c2b44167336f1e051f | 8b730959ffd1fec64b72d192b153f26d9f0442be |
refs/heads/master | <file_sep>compile: P1.c
gcc -std=c99 -pthread P1.c -o ThreadHello
run:
./ThreadHello
clean:
rm ./ThreadHello
<file_sep>#include <stdio.h>
#include <stdlib.h> // exit function
#include <pthread.h>
void * print_hello(void * args)
{
printf("Hello world, from the 2nd thread!\n");
}
int main()
{
pthread_t HelloWorl... | 540075f3a49d745f5a21104dab93841c5f763435 | [
"C",
"Makefile"
] | 2 | Makefile | oskariot/SO-Pracownia1 | e33ecfe697dd935cb88da6f08919c35e2b5a7ee5 | 18d7295b180950a38a979bbcc197e6b69624425f |
refs/heads/master | <repo_name>insane-dreamer/retrospectiva<file_sep>/extensions/agile_pm/lib/goals_controller.rb
#--
# Copyright (C) 2009 <NAME>
# Please read LICENSE document for more information.
#++
class GoalsController < ProjectAreaController
retrospectiva_extension('agile_pm')
menu_item :goals do |i|
i.label = N_('Goals')
... | f2bf6d5bd882cd1fae9a6aef547494d9be91f17b | [
"Ruby"
] | 8 | Ruby | insane-dreamer/retrospectiva | 37846005dd5e56c8dcfb4cd306b62b030b34486f | 2ea3a82a9ce6d16e06c92528bc346cfb37ee0fa6 |
refs/heads/main | <repo_name>jafarov01/Matrix-Multiplication<file_sep>/matrixMultiplication.cpp
/*
* Integer Matrix Multiplication Program
* Copyright <NAME>
* 10/29/2021
*/
#include <iostream>
#include <vector>
using namespace std;
/*function prototypes*/
bool fill(vector<vector<int>>& A, vector<vector<int>>& B);
vector<vector<int>>... | b5d496c8ff62416c34216db97d377127965d4558 | [
"Markdown",
"C++"
] | 2 | C++ | jafarov01/Matrix-Multiplication | b1090f9a5b5f00bf5a573eb3963f74d68eef219c | 6fa7120e63888a2ab625675423a5909d35b99cf7 |
refs/heads/master | <repo_name>SanjinKurelic/MeetingInfoWPF<file_sep>/MeetingInfoWPF/Service/SelectedDateService.cs
using MeetingInfoWPF.Model;
using MeetingInfoWPF.ViewModel;
using System;
namespace MeetingInfoWPF.Service
{
class SelectedDateService
{
private static SelectedDateVM selectedDateVM;
public static... | 631d6af5271656399f795fdfff72abbe0349aa2b | [
"Markdown",
"C#"
] | 11 | C# | SanjinKurelic/MeetingInfoWPF | be4d20d8b34e673317bbeae54cf45d53a287bde0 | 04c24fec7a9377e1130353c50be418d173f7e60f |
refs/heads/master | <file_sep>import tensorflow as tf
from tensorflow.keras.losses import Loss, KLD, Reduction
class PacmanLoss(Loss):
def __init__(self, reduction=Reduction.NONE, name=None):
super().__init__(reduction=reduction, name=name)
def call(self, y_true, y_pred):
y_pred = ops.convert_to_tensor(y_pred)
y... | 462a939e4c2b0b799f5e4bee16d3ce04514440e7 | [
"Python"
] | 1 | Python | ashwindharne/dummy-lossfunction-repo | ecf43be3e558955e107f795dbc235f187d323ee9 | d19a7e2be5b71f978d88101d849896de8ffa4c89 |
refs/heads/master | <file_sep>const vm = new Vue ({
el: '#app',
data: {
firstName: 'a',
lastName: 'b',
fullName2: 'a b'
},
computed: {
fullName1 () {
return this.firstName + ' ' + this.lastName
},
fullName3: {
get () {
// 計算並返回當前屬性的值
return this.firstName + ' ' + this.lastName
},
... | ca9d9c0f065a7bc706e3498b2ea0ce4587ffc5eb | [
"JavaScript",
"HTML"
] | 7 | JavaScript | ben7152000/vue | c116b1bbd1a7517c880630778e015091dcb44ffb | 29808ed57a2b27ef403860cd96ba152829a3222b |
refs/heads/master | <file_sep>import numpy as np
def bubbleSort(arr):
n = len(arr)
for i in range (n):
for j in range(0, n-i-1):
if arr[j] > arr[j+1] :
arr[j], arr[j+1] = arr[j+1], arr[j]
array_size = np.random.randint(10,100,1) #Generates a random integer between 10 and 30 which is the si... | b33a2476b3550e6ca0d1a6a2ed0ffcfee25c4794 | [
"Python"
] | 1 | Python | ishantd/IOSD-UIETKUK-HacktoberFest-Meetup-2019 | 39b3037094a0c19301a794a6dac6012ee7bc4888 | 75e9386fecbf692f7ccea1299461fc941cf7e969 |
refs/heads/master | <file_sep>const Discord = require("discord.js");
const client = new Discord.Client();
const prefix = "!";
client.on('ready', () => {
console.log(`----------------`);
console.log(`Desert Bot- Script By : EX Clan`);
console.log(`----------------`);
console.log(`ON ${client.guilds.size} Se... | cae371541f8b297c9b52d392ef08d4df572ee3b3 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | qfraeswd/Super-Broadcast | 6aed96c52928c917fca3fc243c3d8298dc418110 | cdc64cf5ebaec324c8ef6181b0db5ff99bcf4aa2 |
refs/heads/master | <repo_name>minavadamee20/C-programs<file_sep>/README.md
# 223-Archive-repos
Old C# programs that are being backed up here
<file_sep>/assignment_0-1/Selectui.cs
using System;
using System.Drawing;
using System.Windows.Forms;
public class Selectui:Form{
//create controls
private Button draw= new Button();
private ... | bd633c0747ecd43a6ca43221851aa7ccf5e94caf | [
"Markdown",
"C#",
"Shell"
] | 28 | Markdown | minavadamee20/C-programs | 468d072a5a163df1f4954bc1a9d0b9167d48ca74 | 8c04629b9382ba6979e3630010e9112d0ee7f663 |
refs/heads/master | <file_sep>module.exports = function(grunt){
pkg: grunt.file.readJSON('package.json'),
grunt.initConfig({
less: {
development: {
options: {
compress: true,
optimization: 2,
paths: ["assets/less"]
},
files: {
"assets/stylesheets/main.css": "ass... | b6d720b21420b47192f914c3865908d4488e7a30 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | csdcouk/bedegaming_frontend_test | 09d40b4df331f0048735e8f2077b4de5bbe7a42c | 2f4067c6d71b9e164dd9dd61bb88975fb19ef9c7 |
refs/heads/master | <file_sep>public class Professor extends Pessoa{
private String especialidade;
public Professor(String nome,String cpf,String rg, String e){
super(nome,cpf,rg);
especialidade = e;
}
public void setEspecialidade(String n)
{
especialidade = n;
}
public String getEspecialidade()
{
return especialidad... | 5c65fb721fbf504127135997bd597b21e1d265c2 | [
"Java"
] | 5 | Java | JessicaVicentini99/GerenciadorDeTurmasJava | 9331fa33135a544fdcf80660b59ca72c63f11bd7 | d36d526e1bc80a40aeec5b1bb2bdfad031e83778 |
refs/heads/master | <repo_name>qpleple/wordpress-theme-blank<file_sep>/README.md
This is the simplest blank them you can have. It contains 4 templates :
- `index.php`
- `header.php`
- `footer.php`
- `sidebar.php`
And 2 CSS files :
- `base.css` : that resets all default styling of CSS elements
- `style.css` : for your theme<file_... | 9949cc6c48cebb9bb7e3af4b1faa6aa58a17c9e4 | [
"Markdown",
"PHP"
] | 2 | Markdown | qpleple/wordpress-theme-blank | 5386887db241f2030221383b439114464fef3074 | c90714854e1398a1e33d35af4f8ea130ab6e57e8 |
refs/heads/master | <repo_name>wordpressecommerce/woocommerce-add-to-cart-metrics<file_sep>/README.md
# WooCommerce Add to Cart Metrics
Track add-to-cart metrics in a custom DB table when WooCommerce is active.
## Description
Track add-to-cart made on a store, by storing that metrics data in a custom DB table of the site.
## Installat... | 4047b315b3db2678e664d97fb0229ff6c5355949 | [
"Markdown",
"Text",
"PHP"
] | 4 | Markdown | wordpressecommerce/woocommerce-add-to-cart-metrics | 850d39d9ff9189876ef26738460bb1a85ebf1bb8 | a913386387263b41d781be4bba77993c169fa356 |
refs/heads/master | <repo_name>charleshaa/rest-sensor<file_sep>/README.md
# rest-sensor
On peut utiliser Python-request:
[Python request](http://docs.python-requests.org/en/latest/)
<file_sep>/direct_client.py
import urllib2
import json
from pymongo import MongoClient
class Rest_Request(object):
"""docstring for Rest_Request"""
... | 9a6296015c158162146b684695fdba3f7ade8af4 | [
"Markdown",
"Python"
] | 2 | Markdown | charleshaa/rest-sensor | 13c9ad7eac31cef626fc6bf25420aa30af5f740c | ee281886f1eb1d4603dc98c0b0e844fc8f17cb2f |
refs/heads/master | <repo_name>wbish/Craigslist-8X<file_sep>/Win8/Craigslist8X/Craigslist8X/ViewModel/AccountManagementVM.cs
using System;
using WB.Craigslist8X.Common;
using Windows.UI;
using Windows.UI.Xaml.Media;
namespace WB.Craigslist8X.ViewModel
{
public class PostingVM : BindableBase
{
public PostingStatus Status
... | 23740ae803d3aa267809256c0396521284848ead | [
"Markdown",
"C#"
] | 80 | C# | wbish/Craigslist-8X | 4a829efda20663072ad294e750d26800fc7c5304 | dbb0c9e7ec9ee75b48ed9df26b1745e4c820339e |
refs/heads/master | <file_sep>'use strict';
describe('basics', function() {
beforeEach(function() {
browser.get('/#/basics')
});
it('lists 3 cohorts', function() {
expect(element.all(by.css('.cohort-list tr')).count()).toBe(4);
})
describe('searching for cohorts', function() {
beforeEach(function() {
element(... | e17c355c98eb60bf7025f56c0b5e6337a9c95b5f | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | enspiral-dev-academy/angular-workshop | fa1180e26eee9a691b4da07e6ab507bea73d7867 | d78b5e321f107a64bf944ee0ed4cbc4234b283ec |
refs/heads/main | <file_sep>import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LayoutRoutingModule } from './layout-routing.module';
import { BaseModule } from '../base/base.module';
import { PostJobComponent } from './post-job/post-job.component';
import { LayoutComponent } from './layou... | 65760a0a367b86d49f1b9a1877768575fd50c5cd | [
"TypeScript"
] | 9 | TypeScript | LeenaPatel96/Rekonnect-webapp | 2a219803335224cdbf91ec62ec5cb758cbe59e20 | b85ec74ffc2416c41f7396523123af8847a276ad |
refs/heads/master | <file_sep>// Copyright (c) 2019 <NAME> All rights reserved.
//
// Created by: <NAME>
// Created on: December 2019
// This program calculates your average grade
#include <iostream>
#include <list>
float calculate(std::list<int> listOfMarks) {
// This function calculates the average of the user's grades
// Var... | 442db26825ceaca1bee3e21298b552d4ad7687fe | [
"Markdown",
"C++"
] | 2 | C++ | Trinity-Armstrong/ICS3U-6-05-CPP | ae99cb55c23296ddf3053687a045de422aae2711 | a942c9d5c2bce29d0fa22e3bece64f493a2cf008 |
refs/heads/master | <file_sep>extern void fnADC (void);
<file_sep>#include <stdio.h>
#include "board.h"
#include "peripherals.h"
#include "pin_mux.h"
#include "clock_config.h"
#include "MKL27Z644.h"
#include "fsl_debug_console.h"
#include "GPIO.h"
#include "LCD_DISPLAY.h"
#include "ADC.h"
int main(void) {
while(1)
{
fnMuestreoCO2(... | 8c60faf430a5a46c30b1ac5b120d716ca4061e5e | [
"Markdown",
"C"
] | 8 | C | PauloDGL/Practice-6 | 59b6f4dfc799e13b3775de7ced6f2913b5b206c3 | ab4f792afba45fffc1902c08ade851c09e566eea |
refs/heads/master | <repo_name>klevec/fluid-future-studios<file_sep>/dist/js/mobile-menu.js
$(document).ready(function(){
var obj = $('#touch-menu');
var offset = obj.offset();
var topOffset = offset.top;
var marginTop = obj.css("marginTop");
$(window).scroll(function() {
var scrollTop = $(window).scrollTop();
if (scrollTop >= topOffs... | 82d423e47b8f85c691047a33a4fb4bb72afffd68 | [
"JavaScript",
"PHP"
] | 17 | JavaScript | klevec/fluid-future-studios | 085f944c7b09d0ec2dca421389aaf5e6a8e2fc39 | bbfd327e003225875a88ba3796ef3a027dca39df |
refs/heads/master | <repo_name>StevenKim1994/Baekjoon-Judge<file_sep>/Baekjoon-Judge-Project/11866.cpp
#include <bits/stdc++.h>
int main()
{
std::list<int> input;
std::list<int> result;
int N, K, end;
std::cin >> N >> K;
for (int i = 1; i <= N; ++i)
input.push_back(i);
auto temp = input.begin();
while(true)
{
if (input... | a9931d6ad4d99ed9458b11ee4ce95f6a5de5d4aa | [
"C++"
] | 71 | C++ | StevenKim1994/Baekjoon-Judge | 7ed646455a85987199776533fa411c3ea2f2f69a | 919498c9e1fd0b617078a7cfcada2ec4a54f0b93 |
refs/heads/main | <file_sep>#!/bin/bash
#this blasts againts the Q9S.fasta sequence
./blastp -db nr -query Q9S.fasta -out results_01.out -outfmt '6 sseqid sseq' -remote
# this is a python script that trims the output from above and makes it into a fasta file format that the makeblastdb can work with.
python Output2DatabaseV-03.py -i... | 7261fc504863e1b4091afbc66268383498b0e1b0 | [
"Markdown",
"Python",
"Shell"
] | 3 | Shell | therealjacobbrauer/Bioinformatics-tools | ba31d7acb3c39dd4384ba065ed1c8c65ef60f628 | fb2ad62b76f60ecc0a8ad5c57672f0c1b5090900 |
refs/heads/master | <file_sep><?php
// Add custom menu controller to ContentController
ContentController::add_extension('CustomMenu');
SiteTree::add_extension('CustomMenuExtension');
LeftAndMain::add_extension('CustomMenu_LeftAndMain');
// Enable Subsite Support if needed
if(class_exists('Subsite')) {
CustomMenuHolder::add_extension(... | a098a826a2cbbacc69d8f561eef3078dc2ef1ff0 | [
"PHP"
] | 1 | PHP | tardinha/silverstripe-custommenus | 46f4736c957cb983f39efb43a0fb7ee4e5d7c243 | 4361e171c089497614b52644eb57be73ed5cc70c |
refs/heads/master | <repo_name>rodrigof23/pucmg-tccpos<file_sep>/controlevendas/src/main/java/com/controlevendas/controlevendas/util/AWSUtil.java
package com.controlevendas.controlevendas.util;
import java.util.ArrayList;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import or... | bef26564ed22c95b90c9bbd764e3ba89664daaea | [
"Markdown",
"Java",
"JavaScript"
] | 17 | Java | rodrigof23/pucmg-tccpos | 9763eff79ffaae9ea35ee4a011892ddb802f7259 | 0401a39cfaff7b09be8a89532cc326174a965e16 |
refs/heads/master | <file_sep>package com.txx;
public class txx {
public static void main(String[] args){
System.out.println("txx");
System.out.println("bbb");
}
}
| cd18d6e111e9362bd2ec84bb156abcdb73a51c11 | [
"Java"
] | 1 | Java | txxgit/test | 3e84a098d8037fd32df3bf05183fee5a4f38169d | 81fac4bc0b205eade71f2ad725c5300ca4e25fb4 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Wi... | 3e30a3639c19fec0d4abc1dfc6062e3aa552c68d | [
"C#"
] | 3 | C# | Matiasromer/FileMIApp | 814a4a3d4c2f509d3a2918afcc281b6f4e250003 | 45749292349d2997c94ec12eb61b7fa2d20d402e |
refs/heads/master | <repo_name>SaraRandolph/questions-and-answers<file_sep>/app/config/init.js
var app = angular.module('SaraStackUnderflow', [
'firebase',
'ui.router',
'summernote',
"ngSanitize",
]);
<file_sep>/app/components/views/home/home-controller.js
app.controller('HomeController', function($firebaseArray, $sco... | 78e4fcc30226754b9ce4517f56b04d74d655a6ee | [
"JavaScript"
] | 6 | JavaScript | SaraRandolph/questions-and-answers | 746ff5c44da0d03ab582489d25fd3a6c17345232 | 9a0f9838364a18fb904078b356ca80f3e273119e |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsProyectoRestaurante
{
public class Platillo
{
private string descripcion;
private double importe;
private int clavePla, tiempo;
st... | d5da3edbeb2222817586d6b7ceeff57ee6e8332d | [
"C#"
] | 23 | C# | lalberto08/WindowsFormsProyectoRestaurante | 75060e940a3e2ff7a637d0c6d200d8c633a966fe | 789979ed15ea9591d98e2d010d58b13252194724 |
refs/heads/master | <file_sep>
public class Queue {
ObjectBox head;
ObjectBox tail;
int count;
public void push(Object obj) {
ObjectBox ob = new ObjectBox();
ob.obj = obj;
if (head == null) {
head = ob;
} else {
tail.next = ob;
}
tail = ob;
count++;
}
public Object pull() {
Ob... | e50753760d215fcfa9fb1fcd9ad869613986d154 | [
"Java"
] | 1 | Java | imrche/all_stud_projects | 149c3784cd4e4c7d4e9ebfa5084dedf97f87a41c | 7f10fa14759a741332f800ebdffb62dbeaa6e1dc |
refs/heads/master | <repo_name>hipposareevil/postgrescli<file_sep>/README.md
# postgrescli
Tiny postgresql cli. Run 'psql' against some remote DB
# Docker build
```
docker build -t hipposareevil/postgrescli .
```
# Usage
```
docker run -it\
-e POSTGRESQL_PASSWORD=<PASSWORD> \
-e POSTGRESQL_USERNAME=USER \
-e POSTGRESQL_DATABASE... | 930246c39a5eec964783b32906d50361cbd20ce2 | [
"Markdown",
"Dockerfile",
"Shell"
] | 3 | Markdown | hipposareevil/postgrescli | 9ea3a77823837732e9837beeb69d3652a264ee69 | a8f4f65faa8184fb725d11c5dfb42617424bd58e |
refs/heads/master | <repo_name>lopomaster/job_board<file_sep>/config/routes.rb
Rails.application.routes.draw do
namespace :api do
namespace :v1 do
devise_for :users, controllers: { sessions: 'api/v1/sessions', registrations: 'api/v1/registrations' }
resources :users, except: [:edit, :new, :show] do
get :subscri... | 14dc8602eb102664208b5f532bd970baa8c442bb | [
"Ruby"
] | 41 | Ruby | lopomaster/job_board | dd948f23137d263dda0019cd82dd07545677198e | 599998acae927e3d224882b60ebd89970459c26c |
refs/heads/master | <file_sep>
# BowlingAPerfectTDD
<file_sep>/* jshint esversion: 6 */
const chai = require("chai");
const score = require("../bowlScore.js");
const expect = chai.expect;
let game1 = [
{
a: 4,
b: 3
},
{
a: 10,
},
{
... | 80625a9e92a82992541be88f7950f1efbdf4e6a9 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | GaganTut/BowlingAPerfectTDD | 9723f43d74391d7d71cd924cb27216cb3c4740d7 | 00f17a3478d090303d535e60774b4647ab17ebb4 |
refs/heads/master | <repo_name>avantika001/railways<file_sep>/railwaylogfile.sql
mysql> create table passenger( p_id int(11) unsigned zerofill not null auto_increment,
-> u_id int(11),
-> t_id int(11),
-> status varchar(30),
-> source varchar(30),
-> destination varchar(30),
-> t_no int,
-> primary key(p_id,u_... | efe93e12c665482fb7017184f163ac534e7635ab | [
"Markdown",
"SQL",
"PHP"
] | 11 | SQL | avantika001/railways | f592e8d8814b74fe2777949a32300477423c3bc3 | 3f0e0eed1b6ea4eeecc197a9577690f10283592b |
refs/heads/master | <repo_name>Zefir12/Baza-Danych<file_sep>/Moduł_wczytywania_kopizapasowej.py
from Funkcje_i_zmienne import *
import os
print('----------------------Wczytywanie kopi zapasowej danych---------------------')
file = open('KopiaDanych/nazwakopia.txt', 'r').read()
file1 = open('KopiaDanych/dzienkopia.txt', 'r').read()
... | 55adbe3cf499257cf65cd44ded0581a237938a3d | [
"Python"
] | 4 | Python | Zefir12/Baza-Danych | 5725842e291d9cc977ff8a9fd7a4152d3a3251eb | 6a100acdf7e2c2893984f6144bd0aac3cf4420d7 |
refs/heads/master | <repo_name>raynesmike/Memory-Vision<file_sep>/src/application/controller/MainController.java
/**
* Application Programming Project
* @author *
* -<NAME>
* -<NAME>
* -<NAME>
* UTSA CS 3443 Application Programming
* Fall 2018
**/
package application.controller;
import java.io.IOException;
import ... | 460a611784ef5e8f78fb44cc5a67763a6be6e30d | [
"Markdown",
"Java"
] | 7 | Java | raynesmike/Memory-Vision | ec6d14c5be49580a5c01363c889cc3d52ed5a4be | 46b1bfd556154b6cb3fdcc6d840d4922ba8cc6ef |
refs/heads/master | <repo_name>Ruben-Castillo/aumento_precios<file_sep>/aumento_precios.rb
def aumentar_precio(array,multiplicador)
result=[]
n=array.count
n.times do |i|
result.push(array[i]*multiplicador)
end
result
end
print aumentar_precio([2000,1000,5000,350,299],1.2) | 2ebeb862b765e99474f86425274758d14e3a97ea | [
"Ruby"
] | 1 | Ruby | Ruben-Castillo/aumento_precios | 490eef144062dbb17df0e98843b65a68fa94af94 | 35e3b50a1afe446019587bcc4ff57d194e980a09 |
refs/heads/master | <repo_name>AlexanderKapitanovski/QuickInfo<file_sep>/src/QuickInfo/Processors/Converters/Base64String.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using static QuickInfo.NodeFactory;
namespace QuickInfo.Processors.Converters
{
class Base64String : IPro... | 1b8afef14d2b24e64e682b38d518e9bd08c04ed7 | [
"C#"
] | 1 | C# | AlexanderKapitanovski/QuickInfo | a66d5e3091bafaf5c55a8700fa62a4874bc55b34 | 7d80be66961685ae795bd7ba8d343ff046b87cd0 |
refs/heads/master | <repo_name>oceanscott/hound<file_sep>/hound.php
<?php
class hound{
public function getCurrentQuote()
{
require('phpQuery-onefile.php');
$currentDay = date("Y-m-d");
var_dump($currentDay);
$this->getGoldQuote($Quote, $currentDay);
$this->getRate($Quote, $currentDay);
/*
require('phpQuery-onefile.php')... | 9777bb524344cf49f8b8de038d8d2d959ca0503a | [
"PHP"
] | 1 | PHP | oceanscott/hound | 858e7049293d75bf8e5f0ab27daf4612be8533f1 | 16b934e3aa97187e7229ff743657e9db3f80cda8 |
refs/heads/plinioleitecosta | <file_sep>package controller;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.faces.bean.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;
import org.primefaces.context.RequestContext;
import repository.UsuarioRepository;
import model... | 16e2db019e859e00c27880e7fabae6588125cfb3 | [
"Java",
"Maven POM",
"INI"
] | 43 | Java | plinioleitecosta/exodo | 9685718e51c7a4da02571de2dc61fb30f28d952d | 8427b30609efc91b4bd79a1f1a7aae88995e5316 |
refs/heads/master | <file_sep>#!/bin/sh
OUTDIR=$1
for YEAR in "2008" "2009"
do
gdalwarp -cutline sa.shp -crop_to_cutline "nightlight/F16${YEAR}.v4b_web.stable_lights.avg_.tif" "nightlight/${YEAR}.tif"
done
for YEAR in "2010" "2011" "2012" "2013"
do
gdalwarp -cutline sa.shp -crop_to_cutline "/gpw-v4-population-count_${YEAR}.tif" "ni... | ee452d0fe305deb38111fd5665d56f9a9924a8ee | [
"Markdown",
"R",
"Shell"
] | 6 | Shell | nandanrao/inequality-pipeline | 4b385f837f67d0c160647a5598706e81d32df307 | 47f0df3274f9842e2d16367a997f9b18ae32f531 |
refs/heads/master | <repo_name>FoxxxHunters/elasticsearch-jaso-analyzer<file_sep>/README.md
# Korean Jaso Analyzer for elasticsearch 2.3.x
## ES Plugin change
>* AbstractPlugin => Plugin
>* [plugin-descriptor.properties]
(https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugin-authors.html#plugin-authors) 프로퍼타 파일 형식 변경
*[h... | 144081d7b80cd7ee45661260a0dc52fe72ce4b51 | [
"Markdown",
"Java",
"Gradle"
] | 3 | Markdown | FoxxxHunters/elasticsearch-jaso-analyzer | 3a4edd05e2e58f7083b925f530d5e551bacb9c82 | 1ef2dfd38cd311c80fac9b9cf11f10b9b4be89cd |
refs/heads/master | <repo_name>godconfidence/phaser<file_sep>/v3/src/utils/bounds/GetOffsetX.js
/**
* The amount the Game Object is visually offset from its x coordinate.
* This is the same as `width * anchor.x`.
* It will only be > 0 if anchor.x is not equal to zero.
*
* @property {number} offsetX
* @readOnly
*/
var GetOffsetX = functio... | c4205106084cbaabace0b90863c98b483f25fdfd | [
"JavaScript"
] | 5 | JavaScript | godconfidence/phaser | d034f2381ff72d422e9cdcd410a383d3ec45f119 | 110eee5887c062f7f1c267ca7f379d55d4f43046 |
refs/heads/master | <file_sep><h1>FriendFinder</h1>
<h4>Link</h4>
<p>https://intense-sierra-15811.herokuapp.com/</p>
<h4>Technology used</h4>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>Javascript</li>
<li>Express</li>
<li>Path</li>
</ul>
<h2>Description</h2>
<p>Friend FInder is an application that allows you to find a new ... | 3de1f4a8567231e5e57c7aaf91f3bb3a67c719bf | [
"Markdown",
"JavaScript"
] | 2 | Markdown | cdvincent/FriendFinder | 51eadaad4db596263d1971b43806bd270709c58a | ad4cdb29caa3c425d77ae7dfe10912e3d5675721 |
refs/heads/master | <file_sep># Blog Sem Nome
## exemplos de:
- Java versão 8 ou superior: [build.gradle](https://github.com/alexNeto/blog-sem-nome/blob/master/build.gradle#L10)
- JPA com Hibernate 5 ou superior: [build.gradle](https://github.com/alexNeto/blog-sem-nome/blob/master/build.gradle#L21)
- Padrão MVC:
- [model: TopicoServic... | 7ba167ff842ef0b28ce829314495610ab298deb1 | [
"Markdown",
"Java",
"JavaScript",
"Gradle"
] | 15 | Markdown | alexNeto-zz/blog-sem-nome | 38f11a965f39af1167f7c5f80c05f1a5fa7fd560 | 2e8125ff47e11e8d4d342cf2eb118e9eb0133b6b |
refs/heads/master | <repo_name>estaf90/aoc19<file_sep>/src/day2.py
from pathlib import Path
from utils import load_data, intcode_computer
data = load_data(Path(Path(__file__).parent, '..', 'data', 'day2.txt'))
data = data[0].split(',')
# Convert to integers
intcode_program_default = [int(item) for item in data]
print('-- Part 1 --')
... | 6ecdbbd5fa33e33a8a0d48f6e281393b3cb70456 | [
"Python"
] | 3 | Python | estaf90/aoc19 | a6f27a84ce7b52882a51ac0a2d69696951974bdd | ea2b7ad468aef6e922880901b80f7fbee073573b |
refs/heads/master | <file_sep>/**
* Genereer een willekeurig geheel getal tussen 20 en 50 (grenzen inbegrepen)
* en schrijf één van de volgende boodschappen naar de Console:
* Het willekeurig getal ligt in het interval [20,30[
* Het willekeurig getal ligt in het interval [30,40[
* Het willekeurig getal ligt in het interval [4... | 5c3b7f7d616cafea81a200723c6da58984c3712f | [
"JavaScript"
] | 8 | JavaScript | StefCaeldries/01driloefeningen | 5e730658e6db1defc9cbde4357f872ed7dcdd263 | 511ae934335edcec2c23f7164fff90d9f97ae76f |
refs/heads/master | <repo_name>baiboat/mxnet<file_sep>/Drow_box
#!/usr/bin/env python
#-*- coding:utf-8 -*-
import glob
import re
import cv2
class Draw(object):
def __init__(self, txt_path, img_path, save_path):
self.txt_path = txt_path
self.img_path = img_path
self.save_path = save_path
self.file_path_... | 01a6576400c435113608eb49ace654de0acb63ad | [
"Python"
] | 18 | Python | baiboat/mxnet | 6c2248f13631b3810f1c776da6690726e74a9031 | 711beec541ff5fb65bc7b4943183fb6138e20eac |
refs/heads/main | <file_sep>import React from 'react';
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import './App.css';
import Search from './components/Search';
import AllocateFund from './components/AllocateFund';
function App() {
return (
<div className="App">
<Router>
<Switch>
... | 79a73ff7f7bf6a2a7fdc0eb2b6287da3151c5240 | [
"JavaScript"
] | 3 | JavaScript | chelsi/mutual-fund-portfolio | 4f55fdf82613c785f0117bbe2060971580c60e17 | 88bf54bfa86020439e9fde08ff69f9982ba31bcf |
refs/heads/main | <repo_name>davidev886/lossCorrection<file_sep>/utils/incoherent_channel.py
import numpy as np
import qutip as qu
from utils.p_operators import *
def inc_channel(prob, n_qubit):
Xq = X[n_qubit]
channel = (prob['1a'] * qu.spre(Id) * qu.spost(Id) +
prob['1b'] * qu.spre(Xq) * qu.spost(Xq) +
... | 611e8ea52692cd7e965f25fb528b464e3c5129af | [
"Python",
"Shell"
] | 28 | Python | davidev886/lossCorrection | 7ebcae6c236e876ee5afdb95abf3df2c325cd081 | 8661c04dce1d67632ff9acfdeec6e412f7a6dd9f |
refs/heads/master | <repo_name>RaphaelYoshiga/UnitTestingSamples<file_sep>/Outside.Training.AdvancedTddSample/PageVisitToBrokeredMessageParser.cs
using Microsoft.ServiceBus.Messaging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Outsi... | e20f49d14a832246966da1780726795680e1f8c4 | [
"Markdown",
"C#"
] | 9 | C# | RaphaelYoshiga/UnitTestingSamples | a7bfbeefa30a5894b44c28725b50df8fb5b01b32 | 315d9268d741ca318cf9ad5100ae0be21bcd85a0 |
refs/heads/master | <file_sep>import React from "react";
import {
View,
Text,
StyleSheet,
ImageBackground,
ScrollView
} from "react-native";
import Comment from "../components/Comment";
class CourseInfoScreen extends React.Component {
constructor(props) {
super(props);
this.state = {
courseInfo: this.props.navig... | 00498ab73cd92be6f43a59005d1290211944e2d3 | [
"JavaScript",
"Markdown"
] | 6 | JavaScript | Villeve/mobile-application-development | 04a57ba5f9c6efe0b14c57558f1e55b667a68052 | fe01825fb93e4dcb293943511da2d6ded1533a42 |
refs/heads/master | <file_sep>#!/usr/bin/env python
#
# Copyright under the latest Apache License 2.0
'''
Based on code that Konpaku Kogasa used to create code.google.com/p/oauth-python-twitter2/
Requires:
simplejson
oauth2
'''
__author__ = "<NAME>, <NAME>, <NAME>"
__version__ = "0.1"
# Library modules
import urllib
import urll... | 2c00db0e7c130d2391b906888df00b9a12473603 | [
"Python"
] | 2 | Python | jurecuhalev/oauth-python-readability | f268e4178d9a5680e9a602bc20cc075507f71070 | 1499755a74244bcc98ff4fcee86bd4ea1ad9e383 |
refs/heads/master | <file_sep>tap "dart-lang/dart"
tap "github/gh"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
tap "homebrew/services"
tap "mongodb/brew"
tap "sass/sass"
# Search tool like grep, but optimized for programmers
brew "ack"
# Infamous electronic fortune-cookie generator
brew "fortune"
# Command-line fuzzy fin... | ea15be5b64a0a60b6f6e3a65ff1356f9d241c5c1 | [
"Ruby",
"Shell"
] | 2 | Ruby | AjitZero/dotfiles | b043ec8b7bc82d934f8d8fe3cb18dc6f5d97ea79 | 0e32f50ab715b703d52de55f0d3cb7e7fb6b3fa6 |
refs/heads/master | <file_sep>package com.kodilla.modul74stream.world;
import org.junit.Assert;
import org.junit.Test;
import java.math.BigDecimal;
public class WorldTestSuite {
@Test
public void testGetPeopleQuantity(){
//Given
//new countries
Country poland = new Country("Poland", new BigDecimal("111... | 537619a78eedd164bc7f0aafee42213bbb69e514 | [
"Java"
] | 1 | Java | Kaja89/modul-7-4-zadanie | bef922b10ae7623797ddc8ee8c9c852fa5735204 | 1fd6664698cf3b10f860d73d8aa3c29bd4c96f1d |
refs/heads/master | <repo_name>ClassroomCode/NI<file_sep>/FormsAuth/EComm.Web/Controllers/HomeController.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using EComm.Web.Models;
using EComm.Data... | 2e02a64b914830af1085a77c02eb36555b87e1ab | [
"JavaScript",
"C#"
] | 26 | C# | ClassroomCode/NI | 03b1ee7ef04ee499b723713c8e671513f43c5b0b | 13751e6e1d504275f821a2a1cae804ed5da6ef85 |
refs/heads/master | <repo_name>Nightstars/cpp_mem<file_sep>/cpp_mem/cpp_mem.cpp
// cpp_mem.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
using namespace std;
int main()
{
int *p = new int(20);
if (NULL == p) {
system("pause");
return 0;
}
cout << *p << endl;
delete p;
p = NULL;
i... | 8136378ad513c918b33f904248d5793973fd2993 | [
"C++"
] | 1 | C++ | Nightstars/cpp_mem | 4a77c85f9b2434f56ac52652a8c45fc8ad0d0e23 | c5cf4ac260d786c999f3aaf5b254bfde3f6ef088 |
refs/heads/master | <file_sep># coding:utf-8
'''
@author = super_fazai
@File : demo.py
@Time : 2018/7/3 18:26
@connect : <EMAIL>
'''
"""
UUID 是通用唯一识别码(Universally Unique Identifier)的缩写
"""
import uuid
# make a random UUID
print(uuid.uuid1())
print(uuid.uuid4())
# make a UUID using an MD5 hash of a namespace UUID and a name(这样生成的... | 0d2347350daba8add5ebb6383d1d1c69ba4e36d3 | [
"Python"
] | 1 | Python | adminafa/python | 1ed3df87720938f1dc646813ff485a89b8790d3f | 4795fe8a507894543e18547bd24d86ec9c7f3814 |
refs/heads/master | <repo_name>JestW/nora<file_sep>/src/Nora/EventBundle/Controller/DefaultController.php
<?php
namespace Nora\EventBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction($count,$firstName)
{
$em = $this->getDoctr... | c148b2a89602e75a14b813372ee132e3b33ac972 | [
"PHP"
] | 1 | PHP | JestW/nora | d838b807d620a659140b024ced371978f015056f | 9f2fda37323cf45ecb2c0b7cd7aeef262cd5b1f8 |
refs/heads/main | <repo_name>manish202/fashion-hub<file_sep>/myscript.js
$(function(){
$(window).scroll(function(){
var top = $(window).scrollTop();
if(top >= 500){
$('.go-up').slideDown(500);
}else{
$('.go-up').slideUp(500);
}
});
$('.go-up').click(function(... | 67af880fc0c2baa3768582eca08a8816da07a321 | [
"JavaScript"
] | 1 | JavaScript | manish202/fashion-hub | 8a72d1447c2f4927ceae84fcd597163010ea7ca9 | fab2cff9f78179ac5088841393faf22b42fe3af5 |
refs/heads/main | <file_sep>interface Deployable {
type: string
name: string
options: object
}
interface Deployment {
deployables: Record<string, Deployable>
}
type SerializedDeploymentSpec = string
interface LiveDeployment {
name: string
type: string
current: SerializedDeploymentSpec
}
type MaybePromise<T> = T | Promi... | 9c323ef1450d5e0b3246aba1b5a2399daba0841c | [
"JavaScript",
"TypeScript"
] | 3 | TypeScript | fabiosantoscode/scatterbrain-deployments | 9c890ac3bf8bb958f1a6848ae27c3bd3cda3eb72 | a219a0d124629196bb59d1410c8324cee050f609 |
refs/heads/master | <repo_name>SergeyGolenko/UINavigationViewController<file_sep>/SecondViewController.swift
//
// SecondViewController.swift
// UINavigationViewController
//
// Created by <NAME> on 03/08/2019.
// Copyright © 2019 <NAME>. All rights reserved.
//
import UIKit
class SecondViewController: UIViewController {
overri... | 65eff418382d2770adad95906c8610555736b67f | [
"Swift"
] | 2 | Swift | SergeyGolenko/UINavigationViewController | 79fdea9884afcd64837c137b9750be46ef327ca5 | 320a2768c5ae23ba0c7e0517cb3f6bbeb0bd8650 |
refs/heads/master | <file_sep>= Summary
* link:chapters/design-principles.adoc[Design Principles]
* link:chapters/chapters/general-guidelines.adoc[General Guidelines]
* link:chapters/security.adoc[Security]
* link:chapters/compatibility.adoc[Compatibility]
* link:chapters/json-guidelines.adoc[JSON Guidelines]
* link:chapters/naming.adoc[... | 51c575ca3dbe0747ffad756690cf66f952867e8c | [
"AsciiDoc",
"Shell"
] | 4 | AsciiDoc | maxim-tschumak/restful-api-guidelines | 9df116e011f151410a32ad3b3f419b7592a2a31e | 7d9617cdd446fdcaedd0328467a583cfaa577e23 |
refs/heads/main | <file_sep>var gulp = require('gulp');
var sass = require('gulp-sass');
var uglify = require('gulp-uglify');
var gulpIf = require('gulp-if');
var concat = require('gulp-concat');
var config = {
fontawesomeDir: './bower_components/font-awesome',
publicDir: './assets',
};
// Task for compile css
gulp.task('css',... | abf15658e4df4eced644e0c51f38e40e7ec123a1 | [
"JavaScript"
] | 2 | JavaScript | luthfimunadzar/sass-web | 7d0cce17f6965fc2ab43e965210e711da7225265 | f4f5349812f8d373c767c59f5f5c136840212d00 |
refs/heads/master | <file_sep>SELECT GRUPO,SUM(CANTIDADPENDIENTE)CANTIDADPENDIENTE,
SUM(PENDIENTE)PENDIENTE,
SUM(CANCELADO)CANCELADO,
SUM(TOTAL)TOTAL,
SUM(TOTALCARTERAPROP)TOTALCARTERAPROP,
SUM(PENDIENTE)/SUM(TOTALCARTERAPROP)*100 Eficiencia,
SUM(TOTAL)/SUM(TOTALCARTERAPROP)*100 EficienciaInicial
FROM INICIO
GROUP BY GRUPO
<file_sep>SELEC... | 0985c1f954adc695b344853ae3f7b5b85f6fe3bd | [
"SQL",
"PHP",
"Shell"
] | 61 | SQL | yarito/callM | 3432da026286a12ed12f3747c843760a9fc7e4cf | 75104c3b64923680fef5c6227c1ff7cec674f45c |
refs/heads/master | <file_sep>// TODO
// Here we will contain a list of all possible actions for eventay
export const FETCH_EVENT = 'FETCH_EVENT';
export const RECEIVE_EVENT = 'RECEIVE_EVENT';
export const FETCH_FRIENDS = 'FETCH_FRIENDS';
export const RECEIVE_FRIENDS = 'RECEIVE_FRIENDS';
// Action to fetch current user info
export const... | 022a7ac74eb0cc2c7af23644559d296bf4e2b7a8 | [
"JavaScript",
"SQL",
"Markdown"
] | 57 | JavaScript | hirosato223/eventay | 1e9b696249b0fe67092840e5725feeb60e986aa6 | 68eb7e6635e73c278a1ef024344f9aeedf6d28f9 |
refs/heads/master | <repo_name>Av1nashKumar/Movie_API<file_sep>/script.js
let title;
let year;
let plot;
let myUrl;
let verifyCheckStatus;
// $('#loader').hide();
$(document).ready(()=>{
$('#submit').click(function(){
verify();
if(verifyCheckStatus == true){
getAllDetails();
}
});
});
let verify = () => {
title = $('#t... | b71a0328406b68d865d878c9bfae47958aa94862 | [
"JavaScript"
] | 1 | JavaScript | Av1nashKumar/Movie_API | 6b28ed19c7e2a7d6016601ebf9e1babe4d5de473 | d5ed087de104427bc2b25a1046046ccaeeed260d |
refs/heads/master | <file_sep>
const path = require('path');
const MiniCSSExtractPlugin = require('mini-css-extract-plugin');
const port = 8080;
module.exports = {
entry: {
main: './src/index.js',
},
mode: 'development',
output: {
filename: '[name].bundle.js',
path: path.resolve(__dirname, '../dist'),
// publicPa... | 7476c9174db1d434e55dab6ddbc7bcc0a19adbfc | [
"JavaScript",
"Markdown"
] | 11 | JavaScript | tchesa/angular-boilerplate | 58fb8ffdfac85dab539b4581ea866c4dbc86e297 | 2b9c7e2e236e07688a2cf3246a6543a14e0eafe1 |
refs/heads/master | <repo_name>HamzaAyub/songs-backend<file_sep>/public/featured_category.php
<?php
include_once('includes/connect_database.php');
include_once('functions.php');
?>
<div id="content" class="container col-md-12">
<?php
$sql_query = "SELECT cid, category_name
FROM tbl_category
ORDER BY cid ASC";
$stm... | 83a142a140e14719b4b8024f5802964c10a71bd2 | [
"PHP"
] | 9 | PHP | HamzaAyub/songs-backend | b6230e253615961f543f2d210b60770ad0260779 | 7c550e93c29fdf2e3abfe1dea07720861fab97e7 |
refs/heads/main | <repo_name>trypolis464/quickpedia<file_sep>/quickpedia.py
"""Quickpedia
Simple CLI tool to look up something on Wikipedia.
Copyright (C) 2020-2021, <NAME>. All rights reserved.
MIT License.
"""
import wikipedia
import sys
import argparse
from typing import Any
if __name__ == "__main__":
parser: argparse.Argume... | bb43b99bd4cbd3026542e3b9d1b3f438ba50f1d9 | [
"Markdown",
"Python"
] | 2 | Python | trypolis464/quickpedia | 0e16ccaa51159e81b6108ffe9694d9cc28fbd440 | fb1eee26546e28244f8aed6b9ec45696c3fb9d78 |
refs/heads/master | <repo_name>kijames7/SeniorProjectSampleApp<file_sep>/MvcMovie/Factories/ViewModelFactory.cs
using MvcMovie.Models;
using MvcMovie.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MvcMovie.Factories
{
public class ViewModelFactory
{
public Movie... | 03e7ac7c7d4706be31a1ebbf31b1f4fb18550f54 | [
"Markdown",
"C#"
] | 2 | C# | kijames7/SeniorProjectSampleApp | 38ed52055fad6973ef4fcceef3e081813f823f9a | 1ab857eeb02cdb8115ac3a123ff23cd5ed443e4c |
refs/heads/master | <repo_name>ariassarah/SarahArias_Ejercicio26<file_sep>/cuenta.cpp
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define PI 3.14159265358979323846264338327
int main(int argc, char **argv){
long n_points;
double *list;
float mu, sigma;
long long i;
FILE *out1;
FILE *out2;
double co... | 9044c0761250af3087add21122534e58d8babf86 | [
"C",
"Python",
"C++"
] | 3 | C++ | ariassarah/SarahArias_Ejercicio26 | fcfafebb040197ef2653bf91bec638c30e02442c | e967d8b2ff592e312f5d7dec52c7018c41f0b5ac |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
from django.conf import settings
__author__ = '<NAME>'
def website_url(request):
return {
"WEBSITE_URL": settings.WEBSITE_URL,
}
def google_maps(request):
return {
"GOOGLE_MAPS_API_KEY": settings.GOOGLE_MAPS_API_KEY,
}<file_sep>from django.apps impor... | 4f6475e2d4ddb7fdee6b9676d9cfb396719235e6 | [
"Markdown",
"Python"
] | 22 | Python | johsonluo/django3-cookbook | e0e9cf1db1e48da426cb80d2028e02c90b86fe07 | 1174f5272d3fe10d8c871bd1476f49e5e19f4e32 |
refs/heads/main | <repo_name>khaipham2000/khaipham2000.github.io<file_sep>/buoi-2/ps5.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PS5</title>
</head>
<bod... | 4d2037b55c5c36659e3a089e00c569e72b3fad6a | [
"Java",
"HTML"
] | 3 | HTML | khaipham2000/khaipham2000.github.io | 53891d4afc01b32e9531eef07cd309d6b384b489 | 2b8ba710d68486bfd77a88461bc84d3ffe7ec99c |
refs/heads/master | <file_sep># mi-core-base
This repository is based on [Joyent mibe](https://github.com/joyent/mibe).
## description
Minimal 0x61 mibe image
## mdata variables
### root authorized_keys
Configure ssh public key for root user via `mdata` variable.
- `root_authorized_keys`: ssh public key for the root user
### root ... | beeb521d90b5fe9186d07da973bfc8f93f92a0f4 | [
"Markdown",
"Shell"
] | 4 | Markdown | archfan/mi-core-base | 5e99630b15f430f89fcb53b96cc1e63b9beec8a0 | 116c0c35cb99e95b7327e48bdfff718ce63ddee8 |
refs/heads/master | <repo_name>canella/shim<file_sep>/shim.c
/*
* shim - trivial UEFI first-stage bootloader
*
* Copyright 2012 Red Hat, Inc <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source... | 71072d1abba8b0600af2871a12d27fa463ad8816 | [
"C",
"Makefile"
] | 3 | C | canella/shim | bcd0a4e8df98f26b726fa9a18ad37b4bca16a285 | 53a7c44a85f14ca3d30dcac28644ea45adcd9e51 |
refs/heads/master | <repo_name>jdubx2/ingredient_network<file_sep>/supplements.r
node_lookup <- ingredient_nodes %>%
group_by(ing_type, ing_final) %>% summarise()
# write.csv(node_lookup, 'data/node_lookup.csv', row.names = F)
library(rvest)
library(stringr)
library(readxl)
xpath <- '/html/body/div[3]/div[2]/div/div/div[5]/div[1]/d... | 6e2d3cd31537b49d9e530ddd87346bfa5c400dd8 | [
"JavaScript",
"R"
] | 3 | R | jdubx2/ingredient_network | 207bd6d6998a67ff5c31edb8202009aee490ddd3 | e3b29ee2264f268be3ac47375c226c95a5d1df06 |
refs/heads/master | <file_sep># PKU Hole
* [PKU Hole](#pku-hole)
* [General Usage](#general-usage)
* [Demo](#demo)
This is a package to read PKU Hole.
You can play with it in python's interactive mode.
PKU Hole is a place for PKU students to share their ideas anonymously.
## General Usage
+ All the functions you will need are... | b303ccceb9b7db4d555de0ac03fb8b1156b39e23 | [
"Markdown",
"Python"
] | 4 | Markdown | moulai/pkuhole | c311cd52111da7f46de27650793ea2078f7ab9bf | 5b8b4d60ff9b3644a54512d03029502ab45926c6 |
refs/heads/master | <file_sep><?php
$station = file_get_contents("http://cloud.tfl.gov.uk/TrackerNet/PredictionDetailed/{$_GET['id']}/{$_GET['station']}");
$simpleXml = simplexml_load_string($station);
$json = json_encode($simpleXml);
echo $json;
?><file_sep><h3 class="center">Upcoming Events</h3>
<?php
$args = array (
'post_t... | 5d154f5ebd5f01fbf942075e5f3db7a01ca47503 | [
"JavaScript",
"PHP"
] | 61 | PHP | PrydonianDigital/Conway-Hall-2 | 46fed93b05bf42cfda897d4e81aec23e4f4e6a85 | 18723ee64455b995e56f6a8055fcf61ab977a2d2 |
refs/heads/master | <repo_name>herbherbherb/Wiki_Crawler<file_sep>/test_app.py
import os
import tempfile
import pytest
from app import app
import unittest
import unittest
from flask import Flask
from flask_testing import TestCase
import json
"""
Sources:
https://pythonhosted.org/Flask-Testing/
"""
class FlaskrTestCase(unit... | fe26eea00738885383da2b42ebcbc92cad176b3f | [
"Markdown",
"Python",
"Text"
] | 12 | Python | herbherbherb/Wiki_Crawler | 8705bac66b2cd19ffb713db29c021890c89ed57c | 607dc64e085a8ebb042ba62f42f9a99e568dd09b |
refs/heads/master | <repo_name>yishaiy/EasyOpen<file_sep>/README.md
# EasyOpen
Chrome plugin to easly open google search result.
# Description
When searching in google search with chrome browser, the EasyOpen plugin will put numbers alongside the search result links.
* Clicking <n> will open the result link in a new tab and leave ... | 7d53c45ade7486fd31bc1504c638eb3cd258bacf | [
"Markdown",
"JavaScript"
] | 3 | Markdown | yishaiy/EasyOpen | d4cd759c932c4519ab83856c12b2dc8c759b2f2d | 0f694b1b45b6c7b52fa4509dc75d8111d86d5977 |
refs/heads/master | <file_sep>/*
* <NAME>
* CSIS 2420
* Assignment 2
*/
import java.util.Iterator;
import java.util.NoSuchElementException;
public class RandomizedQueue<Item> implements Iterable<Item>
{
Item[] randeque;
private int N;
public RandomizedQueue()// construct an empty randomized queue
{
ra... | f51eb3185a870faa426bce39debed80c7e57fbea | [
"Markdown",
"Java"
] | 7 | Java | sbenjam1n/CSIS-2420---Algorithms-Data-Structures- | c182c3351998f2409582384678b59676be750268 | cebf3bbd982edaeb7afe0d865f456e0e218f9fc6 |
refs/heads/master | <file_sep>/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package goldenbug;
import java.awt.event.ActionEvent;
import java.util.Map;
import javax.swing.JTextArea;
import javax.swing... | 754397e163aaa82373f3fa806fdca72881e84e54 | [
"Markdown",
"Java"
] | 2 | Java | amoyag00/Golden-Bug | 87b87539cbf5df9500634eb136c3aa006a9face3 | e964ce39b43f5907d876378c1f24ddad5af2f876 |
refs/heads/master | <repo_name>FoxAlex98/ToDoCT_Bot<file_sep>/settings.py
import yaml
with open('conf/settings.yaml') as yaml_conf:
config_map = yaml.safe_load(yaml_conf)
TOKEN = config_map["token"]
<file_sep>/main.py
import telepot
from settings import *
TelegramBot = telepot.Bot(TOKEN)
print (TelegramBot.getMe())
print ("\n")
pr... | cd87cee7a217da0f4f7a441a97c1325d73f9985a | [
"Python"
] | 2 | Python | FoxAlex98/ToDoCT_Bot | fff74abb72c16e0663464c1814e6512ebbe6a165 | 99c43670bcda30390b60f0701d88d02f84966127 |
refs/heads/master | <repo_name>EnnBi/Letter_Template<file_sep>/src/main/java/com/aaratech/letter/controller/LetterTemplateController.java
package com.aaratech.letter.controller;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import ja... | 1a6529fa70b58eb5017f8538de7fb1bbca423c5b | [
"Java"
] | 1 | Java | EnnBi/Letter_Template | 05f7b7ef474dfdb59561998ba6dfbd2fdfa6fc23 | 532c5f11cb6c57474efb35f38781b8e0a5c9e448 |
refs/heads/master | <repo_name>carlosfe2014/pruebagit<file_sep>/MovieDBAPI/app/src/main/java/pe/edu/cibertec/moviedbapi/PeliculaAdapter.java
package pe.edu.cibertec.moviedbapi;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import and... | 943d6bb76cc583d6aef8fe909ad88ea387e68fa0 | [
"Java"
] | 2 | Java | carlosfe2014/pruebagit | 6d1851e0d63658bde0e22b3c1516cb595254c758 | 9ad7d400c3f3bc4ebfb8e1611c9ae29b4b3ebd6b |
refs/heads/master | <repo_name>sabhishek78/merge_linked_list<file_sep>/index.js
let listA = {
value : 2,
next: {
value : 3,
next : {
value : 7
}
}
};
let listB = {
value: 1,
next: {
value : 5,
next: {
value : 8,
next: {
value :... | 3030fa8b162da1b391265da3aa16802a3a27c7a3 | [
"JavaScript"
] | 1 | JavaScript | sabhishek78/merge_linked_list | 5b6dabd07acde43b675a95629660c46173183a6d | 639c7e3361251f09f4f0fb5f92b8cb07bda12bb5 |
refs/heads/master | <file_sep>// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE
'use strict';
var Caml_obj = require("bs-platform/lib/js/caml_obj.js");
var Belt_List = require("bs-platform/lib/js/belt_List.js");
var Pervasives = require("bs-platform/lib/js/pervasives.js");
var Input$MyNewProject = require("./Input.bs.js");
function di... | aa2e2af9fb2acd817b7f9a39acd42c0fbc48bdd8 | [
"JavaScript"
] | 4 | JavaScript | frekw/advent-of-code | 66449cdd23bbde187ce20023982dd2acafc1b989 | b5052b7bf18056f2d9d5c0609c42b959a1e939b4 |
refs/heads/master | <repo_name>lukecyca/cycamatic<file_sep>/example.ini
[instagram]
username=cycamatic
password=lol
throttle=300
caption=Testing #meow
source_dir=/opt/photos/
dest_dir=/opt/photos-processed/
<file_sep>/uploader.py
import time
import os
import os.path
import configparser
import pynstagram
def upload_photo(filepath, c):
... | e2e97780405ffcf3a5c29ed023681231ccdc369e | [
"Markdown",
"Python",
"INI",
"Lua"
] | 6 | INI | lukecyca/cycamatic | a52ede7e5d6e754e71daa6a6f6cad5478f461bf5 | 6b727bc77a7474627275c2f643445494ad68283a |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class Node : MonoBehaviour, IPointerClickHandler {
public Transform unit; // Current occupant.
public bool traversable = true;
public Vector3 worldPosition;
public int[] gr... | af2365e9b91b471a68c6079f56114ad35a7fc7a0 | [
"C#"
] | 2 | C# | ChrisDubeau/Game-Off-2018 | 95b77c310456f5e140c5226ed285f9f716fdacde | e1ad7b379845072c6b1efe6975678330d8aac165 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.