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>castillojorge/SemdropsMobile<file_sep>/Semdrops/SymfonySemdropsMobile/src/Semdrops/SemdropsMobileBundle/Resources/views/Semdrops/tag.html.php
<?php $view->extend('SemdropsSemdropsMobileBundle::baseForIPhone.html.php') ?>
<?php $view['slots']->set('_header', 'Hello World Application') ?>
<div align="right" >
... | b7eeb3e80a8dd8134736aa28ebb30c8748f0547d | [
"JavaScript",
"PHP"
] | 44 | PHP | castillojorge/SemdropsMobile | 1e839c175e1e9f156e9c8e32d7a9aef42556902c | b4ebc6249c7ead69ac1c3014ba06caa68e32b298 |
refs/heads/master | <file_sep># -*- coding: utf-8 -*-
import time
from db_peewee import *
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html
from items import BitcoinItem
import MySQLdb
class BitcoinPipeline(object):
d... | 74df7ec422e86dca4404e0512b96e6c51ffa999a | [
"Python"
] | 30 | Python | jiebiandahuamao/work_spider | e235165ecedb63c93f18b1e5e0e4838f9355ccad | e4ff90ed6db854a996cb3339586b04726941519c |
refs/heads/master | <repo_name>C4JOHN/GP-Calculator-Repos<file_sep>/gpcalculator/GpCalculator.java
package gpcalculator;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
... | 505260531c03022e5ac31414d7d2aae439ea9e7c | [
"Markdown",
"Java"
] | 7 | Java | C4JOHN/GP-Calculator-Repos | 4358640efe4563f1dde90d884c19dcdcf7ca490b | 84ded1c12f6b9f0d559ba7d5c1ee61be8d8017ed |
refs/heads/master | <file_sep>#!/bin/bash
set -euf -o pipefail
target=/tmp/barlang-webapp
git clone <EMAIL>:vigoo/barlang.git $target
pushd $target
git checkout gh-pages
git pull
popd
stack build
cp -rv ace $target/ace
cp -v node_modules/ansi_up/ansi_up.js $target/
cp -v node_modules/jquery/dist/jquery.min.js $target/
cp -v barlang.cs... | 8bb0623981455879347c222ec1848a25b3556eec | [
"JavaScript",
"Shell"
] | 3 | Shell | vigoo/barlang-hs | 502fb0e235ba63bb5cf745915a5e834a27f88993 | 0ab5cd553b8feb661d05d184fa61778ced4085e0 |
refs/heads/master | <repo_name>mark-koren/AdaptiveStressTestingToolbox<file_sep>/Toolbox/mylab/algos/mcts.py
import mylab.mcts.AdaptiveStressTesting as AST
import mylab.mcts.ASTSim as ASTSim
import mylab.mcts.MCTSdpw as MCTSdpw
import mylab.mcts.AST_MCTS as AST_MCTS
from mylab.mcts import tree_plot
import numpy as np
class MCTS:
"""... | 026eb6d99d74a4979cb2bbd1c2a33d70e50bbdf7 | [
"Markdown",
"Python",
"Shell"
] | 56 | Python | mark-koren/AdaptiveStressTestingToolbox | 60ad5d590c949a53ab0fb004fbf42717e970f6a1 | 23c7c500f949e367e8cfc6d5684a9aadfe14eb9d |
refs/heads/master | <repo_name>kamiryu-sama/Tarea5_Graficas<file_sep>/README.md
# Lab Materials
- Gráficas por Computadora -
Run:
python main.py
<file_sep>/main.py
from KryuGL import *
# Posicion de la Camara
eye = V3(1, 1, 5)
center = V3(0, 0, 0)
displace = V3(0, 1, 0)
# Llama las funciones para la escritura de la imagen .bmp
r = ... | cdf87e6ff7d04272be79f7ffe1549cc9fd00f505 | [
"Markdown",
"Python"
] | 2 | Markdown | kamiryu-sama/Tarea5_Graficas | 045678dad853967bfdc64e9ebe192cbe6db846ab | 5b58aaa86df3a35bd3e2f3084b59e539d11a3204 |
refs/heads/master | <repo_name>esusslin/Bucket1<file_sep>/Bucket1/Bucket1/Channel.swift
//
// Channel.swift
// Bucket1
//
// Created by <NAME> on 6/5/17.
// Copyright © 2017 <NAME>. All rights reserved.
//
internal class Channel {
internal let id: String
internal let name: String
init(id: String, name: String) {
... | c7717d41e3d98e3b071b8441b7e16d0970f084d5 | [
"Swift"
] | 9 | Swift | esusslin/Bucket1 | e4b1adea2e2a2f8c3c0f239ce6701197aef8c472 | e398a0f67dbe19575e93e545a4ff772bc6cf0291 |
refs/heads/main | <repo_name>RomanMager/onliner-auto-tests<file_sep>/cypress/support/page_objects/cartPage.js
/// <reference types="cypress"/>
const URL = 'https://cart.onliner.by/';
const CART_TITLE = '.cart-form__title';
const PROCEED_ORDER_BUTTON = '.cart-form__offers';
const TRASH_BUTTON = 'a.cart-form__button_remove';
export cla... | 560644b39fef2c0267f5d472e7029d92bf2c787e | [
"JavaScript"
] | 9 | JavaScript | RomanMager/onliner-auto-tests | 696aa0190c597186cdbd9e17271863c09a73870c | 02926c49588b31020b6bd090f06a9f84ed604314 |
refs/heads/master | <repo_name>Brant-95/roamresearch<file_sep>/Papers/Mittens/utils.py
"""utils.py
Shared utilities for the code for reproducing results from Dingwall
and Potts, 'Mittens: an extension of glove for learning domain-
specialized representations' (NAACL 2018).
"""
import bootstrap
from collections import Counter, defaultdict... | 1cc5f4819d1f1299b83480fb36e5db03e83cc93e | [
"Python"
] | 2 | Python | Brant-95/roamresearch | 7eb01f98f86e59a982ce6bf9dd4a225c28dad449 | c6a3b1c71eed1881564eea35ff786c7862aee97d |
refs/heads/master | <repo_name>GaetanSeg/IdeaProjects<file_sep>/Exercice/src/Labo2/Bibliotheque.java
package Labo2;
import java.util.Scanner;
public class Bibliotheque {
private Livre[] livres;
private Auteur[] auteurs;
private Editeur[] editeurs;
private int nbLivres = 0;
private int test=0;
private Scanner sc ... | b99bedeff21e37747ebdc7225064a35c970567f0 | [
"Java"
] | 27 | Java | GaetanSeg/IdeaProjects | f5ed5cd81939ffa0988e10a8dc45b5cd33e33b54 | 0a3c9431d2ebd4dee306314e8e5ca1070fa014f2 |
refs/heads/master | <file_sep>class ClickbaitValidator < ActiveModel::Validator
CLICKBAIT_PATTERNS = [ /Won't Believe/i, /Secret/i, /Top [0-9]*/i, /Guess/i]
def validate(record)
if CLICKBAIT_PATTERNS.none? {|pat| pat.match record.title}
record.errors[:name] << "not a clickbait"
end
end
end
class Post < ActiveRecord::B... | 6f0b7c95ec3fec55ab890bd67475cfc38a9ea29a | [
"Ruby"
] | 1 | Ruby | abdelrauof97/activerecord-validations-lab-cb-gh-000 | f3eae5f458b39f8b6401b0366c577b09791173d2 | d63ecb4578bc1b0fabed219c26dc55735b3305b1 |
refs/heads/master | <file_sep># ShadowsocksR多用户安装部署脚本
# 强插GFW https://qxgfw.wodemo.com
# Debian 8.0 64位系统OpenVz框架下通过
<file_sep>#! /bin/bash
export -p LANG=en_US.UTF-8
SSR="shadowsocksr"
RootP="`pwd`"
ostool="net-tools git python sed nohup"
for tool in $ostool
do
if [[ `which $tool` ]]
then
echo -e "$tool 已经安装 !"
else
apt-get -y i... | c13f7c4842627087a79ceb0d38fa8446d901b8fc | [
"Markdown",
"Shell"
] | 2 | Markdown | yiguihai/SSR | 55e484ecbdac0ca2ecf483417938e5c78b52a67c | 1e21c57bb3da4017b01e27c2a74922112433d7b2 |
refs/heads/master | <repo_name>Shakiel777/TheGauntlet<file_sep>/Source/TheGauntlet/NPC/PatrolRoute.cpp
// Copyright 2016 - Sea of Blood Entertainment - <NAME> - Udemy Unreal C++ Tutorial
#include "TheGauntlet.h"
#include "PatrolRoute.h"
TArray<AActor*> UPatrolRoute::GetPatrolPoints() const
{
return PatrolPoints;
}<file_sep>/Source/TheG... | 9b9f928f62c298b73b1f6692d3f60e6c264782c5 | [
"Markdown",
"C++",
"INI"
] | 5 | C++ | Shakiel777/TheGauntlet | e9345fb3ba0c866437f949fe50349387a4b12cfc | a9888e02667e504b8457ace88faea33c0b09235e |
refs/heads/master | <file_sep># IDCardocr
解析图片获取大陆身份证:姓名,性别,民族,出生日期,住址,身份证号码
<file_sep>import time
import re
import numpy as np
import cv2
import threading
import pytesseract
FLANN_INDEX_KDTREE = 0
MIN_MATCH_COUNT = 10
MASK_IMG_NAME = 'img/idcard_mask.jpg'
x = 1280.00 / 3840.00
pixel_x = int(x * 3840)
class Ocr(object):
def find_id... | 83ee82641de9e5cf07ad4b2b669c69ed21b2bcb3 | [
"Markdown",
"Python"
] | 3 | Markdown | bluehole333/IDCardocr | b4e2684459fc376af2ff3451385111ead6161c5a | 9fbcd38fc63df62905552fcb905ae32fbc4bb82f |
refs/heads/master | <file_sep>package io.github.the_dagger.mlkit.activity
import android.graphics.Bitmap
import android.os.Bundle
import android.support.design.widget.BottomSheetBehavior
import android.support.v7.widget.LinearLayoutManager
import android.view.View
import android.widget.Toast
import com.google.firebase.ml.vision.FirebaseV... | 7c87df7e9aff86058e2b018ad575e95e8009afa3 | [
"Markdown",
"Kotlin"
] | 15 | Kotlin | Neon-K9/MLKit | ad77b47ac9ecbaf2085b8b9b53af90e039ae14ce | ab403f2b6a11c232ad78220785e0b7ec3cb607d0 |
refs/heads/master | <repo_name>yangzy931678573/vert-layui-start<file_sep>/build.gradle
plugins {
id 'application'
id 'com.github.johnrengelman.shadow' version '2.0.2'
}
repositories {
jcenter()
}
version = '1.0-SNAPSHOT'
sourceCompatibility = '1.8'
mainClassName = 'io.vertx.core.Launcher'
def startVersion = '3.5.1'
def main... | 2860ff0690128b1bcd50176c69aef5eed673517f | [
"Java",
"Gradle"
] | 3 | Gradle | yangzy931678573/vert-layui-start | 46950efc44bc435f95c23c81145cd6d7287cd14c | 785d840ce8c0c3f69385318575dedfe4535d5459 |
refs/heads/main | <repo_name>bingamer/project_softmotors<file_sep>/cadastro_moto.php
<?php
session_start();
include('conexao.php');
if (isset($_POST['pesquisar'])){
$mot = mysqli_real_escape_string($conexao, $_POST['busca']);
$sql_motos = "SELECT * FROM estoque_motos WHERE placa LIKE '%$mot%' OR ano_fab LIKE '%$mot%' OR model... | 7113f4b0f6c834eb6a325df009a515bee06b06b0 | [
"SQL",
"PHP"
] | 9 | PHP | bingamer/project_softmotors | 2bed9e2c29e093ada7ee4d3049a8508a772d9666 | 8f72fb31657a24d1233a197f8d5b4860d174ced8 |
refs/heads/master | <repo_name>ericmash/node_playground<file_sep>/lib/hapi.js
/*
* hapi
* https://github.com/ericmash/node_playground
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
*/
'use strict';
exports.awesome = function() {
return 'awesome';
};
<file_sep>/lib/crawler_playground/crawler.js
var Crawler = requ... | c773e132bb2c54d3fbfd92cb9a97b5428b5486dd | [
"JavaScript"
] | 4 | JavaScript | ericmash/node_playground | 485955001b3b7d4023149b35b23a37e3829cab73 | 9e9d680e40168766b2e9b1afce59691f60ac009f |
refs/heads/master | <repo_name>legolas007/python3<file_sep>/验证码识别/生成字母验证码.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2017/8/6/0006 10:53
# @Author : Usher
# @Site :
# @File : 生成字母验证码.py
from PIL import Image,ImageDraw,ImageEnhance,ImageFont,ImageFilter
import random
#随机字母
def rndChar():
return chr(random.ra... | 2348690028cd3d36310e21a071646455c6148a1b | [
"Markdown",
"Python"
] | 12 | Python | legolas007/python3 | 4879e4e76b007a4fffb773ac26e2fcdb05c16840 | d21c378b2a35f72734f562d6bde20d4c65e61f78 |
refs/heads/master | <file_sep>package com.iluwatar.model.view.viewmodel;
import org.zkoss.bind.annotation.Command;
import org.zkoss.bind.annotation.NotifyChange;
import org.zkoss.zk.ui.select.annotation.WireVariable;
import java.util.List;
public class BookViewModel {
@WireVariable
private List<Book> bookList;
private Book... | a8ae8342c17451b5117b0bc5e5256b3e883ef984 | [
"Markdown",
"Java"
] | 14 | Java | WhalenChan/java-design-patterns | 9313ab39b09428f1c27690898dd62dc1ddb76d40 | b5b9b7b450a81a123f145a17a6fedf8c5c91bc0a |
refs/heads/master | <repo_name>jivoi/flask-wishlist-app<file_sep>/flask-wishlist-app-uwsgi.ini
[uwsgi]
master = true
processes = 2
socket = 127.0.0.1:3031
chdir = /opt/flask-wishlist-app
module = app
callable = app
logdate = true
<file_sep>/init.sh
#!/bin/sh
pip install flask-mysql flask uwsgi
sudo apt-get install -y nginx supervisor
su... | f603f2e5447a9e82d4bf93bf92037274ca1d694d | [
"Shell",
"INI"
] | 2 | INI | jivoi/flask-wishlist-app | e72d9f5f2f7ca639c23960ba53a6dacb3da97f12 | 3772329d57cb228254e466dd91cfeb8d1549704f |
refs/heads/master | <repo_name>jacob-hudson/kapp<file_sep>/internal/artifacts/golang/templates/templates.go
package template
// VersionTxtFile holds the contents of the VERSION.txt
const VersionTxtFile = `0.1.0`
// Makefile holds the contents of the Makefile
const Makefile = `include docker.mk
NAME:={{ .ApplicationName }}
PKG:={{ .Pack... | 74d945293d4c0ae9591edb5a334c6d93621b1a9b | [
"Go"
] | 2 | Go | jacob-hudson/kapp | 4fdab24190d041acec5c12ee22a07fe254bb1cfa | ecb1461e5410de9a023f5bc44582e5927d3a8525 |
refs/heads/master | <repo_name>ryancurtis998/News-highlight<file_sep>/Readme.md
# NEWS HIGHLIGHTS
This is a Python app that allows users to view news from various news sources.
## Author name
<NAME>
## Project Description
This is an app that allows users to view various news sources and there various articles ranging from general ne... | 67d879e94214ea858ddc249df39427cac0574ba8 | [
"Markdown",
"Shell"
] | 2 | Markdown | ryancurtis998/News-highlight | 0ed56090604f4c114405af4c4896b23150c6cbe2 | a5ee9eaab33fe9f77e62d0a844619bd768880899 |
refs/heads/master | <file_sep>import React from 'react';
import classes from './MyButton.module.css'
// добавление класса через импорт, из модуля сиэсэс, вставляем в className название созданного нами класса(.myBtn),
// через {classes.myBtn} получаем стиль, как св-во объекта
const MyButton = ({children, ...props}) => {
// т.к. мы бу... | 3ea0e39b67c1c3e749f85663ec589feb940b0ef4 | [
"JavaScript"
] | 4 | JavaScript | Vadimshidlov/from-A-to-Z | 0584c0c6129821075fa6f159eae4eb5ca283635f | 68749bd9daf30d0ec98e0ef8e37efac38d437436 |
refs/heads/master | <repo_name>OrangeBlurz/MopusMVP<file_sep>/settings.gradle
include ':app'
rootProject.name='Mopus'
<file_sep>/app/src/main/java/com/example/mopus/MopusRepository.java
package com.example.mopus;
import android.util.Log;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import java.util.Lis... | 208eb54b8b6b1a9767b3fe5529de2f10d08857a6 | [
"Markdown",
"Java",
"Gradle"
] | 5 | Gradle | OrangeBlurz/MopusMVP | dffec0604f00f634bae1e1cc1e317602f8e4167d | ced9054233214bf02f294e342ab94986c2054ab7 |
refs/heads/master | <repo_name>chidungkr/ds_banking_mini_project_giao_su2017<file_sep>/ds_banking_wrangling_vis_giao_su2017.R
# Đọc dữ liệu:
library(readxl)
gs <- read_excel("D:/Teaching/data_science_banking/data_vis_wrangling/giao_su/KETQUA_GS_PGS_dat_nam_2017_WEB.xls", sheet = 1)
pgs <- read_excel("D:/Teaching/data_science_banki... | c1e0ab1338ae6b0ec36cbf5875b7c6c202560701 | [
"R"
] | 1 | R | chidungkr/ds_banking_mini_project_giao_su2017 | dd860f2953d27302b3399dbb30d88abd6083eabf | afc083949cb0223bf60e5c3c26c05ee4c9bfac37 |
refs/heads/main | <repo_name>sjakthol/cfn-execute-change-set<file_sep>/index.js
#!/usr/bin/env node
'use strict'
const readline = require('readline')
const chalk = require('chalk')
let ttys = null
try {
ttys = require('ttys')
} catch (e) {
console.log('Note: Cannot prompt for input. Assuming YES after timeout!')
}
const analysis ... | fbd665dbea92043ad92a9feaae832ed936e56c9a | [
"JavaScript",
"Markdown"
] | 7 | JavaScript | sjakthol/cfn-execute-change-set | 6302888f874726025907b8628b71fbb2d9f67b67 | c2718b1458efb1c790485d75093d4d3351d5cd0a |
refs/heads/master | <repo_name>tiagofonsecasilva/lab-express-spotify<file_sep>/app.js
require("dotenv").config();
const express = require("express");
const hbs = require("hbs");
// require spotify-web-api-node package here:
const SpotifyWebApi = require("spotify-web-api-node");
const app = express();
app.set("view engine", "hbs");
app.... | aa3313c911db6aca2b13e0e1760a032e4625be8b | [
"JavaScript"
] | 1 | JavaScript | tiagofonsecasilva/lab-express-spotify | 1e9cb09d31b41416719d4e0b656d23c668018a86 | 00a6938d875acda65bea44fef849208a622041d0 |
refs/heads/main | <repo_name>pcdangio/ros-kalman_filter_examples<file_sep>/src/ukf/profile.cpp
#include <kalman_filter/ukf.hpp>
#include <chrono> // Needed for timing.
#include <iostream> // Needed for console ouput.
#include <iomanip> // Needed for formatting console output.
// Create UKF model.
class model_t
: pub... | 8158453e4acde797309f058a1a8fa4e85d434f2d | [
"Markdown",
"CMake",
"C++"
] | 7 | C++ | pcdangio/ros-kalman_filter_examples | c317db08bd26e5101069921178781e06f3d37c30 | 005e01573c7669701febab686ea97d7e0563dbbb |
refs/heads/master | <repo_name>ryestud/SuperSmashBaseV1<file_sep>/eTTAviation/matchhandler.php
<?php
session_start();
require_once 'Dao.php';
$style = "";
$stock = "";
$con = "";
$dao = new Dao();
if((isset($_POST['style']) || isset($_POST['stock']))){
$style = htmlspecialchars($_POST['style']... | 1bb0fa2c1950bf19772bc1cf9aef80767c3c0c3a | [
"JavaScript",
"PHP"
] | 10 | PHP | ryestud/SuperSmashBaseV1 | 4578d89e7edf43db921280195f50c818893b7c46 | 50e7db6e4d2a626eac08a1b64b799ca5c622cb39 |
refs/heads/master | <repo_name>Quecky/JAVA_Practica03<file_sep>/Practica32.java
import java.util.Random;
class Practica32
{
public static void main(String [] args)
{
System.out.println(RegresarAleatorio());
System.out.println(RegresarAleatorio());
System.out.println(RegresarA... | 465971e90a26b419ba062972be3daa9088d12527 | [
"Java"
] | 1 | Java | Quecky/JAVA_Practica03 | 24622c339ec89356c951e03134529b720071330c | 7cdfddd251045183e76de37473698c8222ebf831 |
refs/heads/master | <file_sep>'use strict';
const gulp = require('gulp');
const sass = require('gulp-sass');
const autoprefixer = require('gulp-autoprefixer');
const cleanCSS = require('gulp-clean-css');
const watch = require('gulp-watch');
///////
// TEST
///////
gulp.task('message', function(){
return console.log(123);
});
//... | 150d6886266e779e0fda0821f898daa0336e78b7 | [
"JavaScript"
] | 1 | JavaScript | ruslancik/omnifood | 3ebf1d6b9f051b98d1a0e25ce6cadee9505c9707 | 1a10d5cf0b0878915945314c27f3a686672888c4 |
refs/heads/master | <file_sep>package com.dimaoprog.appb;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;
import androidx.work.Data;
import androidx.work.OneTimeWorkRequest;
import androidx.work.WorkManager;
import android.content.ContentUris;
import andr... | f4ed3978fc37bf733fd6156f12b2c0adce9e4934 | [
"Java"
] | 3 | Java | DimaOvsyanyk/ApplicationB | 153a372d90905f9e4e514b42fc9fb3ad01390a26 | ff7331c5ce24642b90d54e6797e9bc2f65643a93 |
refs/heads/master | <file_sep># OIP Consumer Dashboard
Introduction
------------
This is an example web page to show how user can access the data created using OIP. This example conform with MMU Design Challenge tutorial [page](http://mmudc.oip.tm.com.my/tutorial/ "MMU DC Tutorial")
Please make sure you are familiar with the steps in th... | 21351b0e09c7a2b251e6420f1ab6ee93625a3284 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | imnjeeb/oip_consumer_dashboard | acc23882afc0940521daec3ef23acf7ded8f995e | a5a223498d1e26d418b3ff15f07992af1de8aa2e |
refs/heads/master | <file_sep># (000 000 000 000 000 000 000 000 00) = (abc def ghi jkl mno pqr stu vwx yz)
# max 15 characters in words
# 26 x 15 = 390 -> input vector
import numpy as np
class WordEncoding():
def __init__(self, word):
self.word = word
self.encoded_values = []
self.encoded_values_flatten = ... | 1d1c6b3d35e821784def186b91765ac5f3c05eb2 | [
"Markdown",
"Python"
] | 10 | Python | jaihon1/COMP-472-P2 | 64b611e705f26c2a738974cd77abc58a4db35748 | 317579d9c216af1ba377d9e6a2c15b9802c164ee |
refs/heads/master | <file_sep>#include <iostream>
#include "Stack.h"
using namespace std;
int len(char[]);
int main(){
char a[20]; //Guarda el input.
char operand; //Guarda el valor en el peek.
char *letter_Check; //Guarda las variables para comparar.
int *valores; //Variable para los valores de las variables. Es dinamico y usa va... | 9acdafe1afe1a1daa538de509fc2c00e7ee8813d | [
"C++"
] | 17 | C++ | SebastianRdgz/CECS3212-DataStructures | 4ce2a6bd57d108091d0f8dddcbc7be20d40f27a2 | a176286b83468e0a4b2a6a65fb31cba089fc03a0 |
refs/heads/master | <repo_name>jesstelford/longdistance<file_sep>/app/modules/boilerplate/router.js
define([
'backbone',
'modules/boilerplate/module',
'modules/boilerplate/views/home',
], function (Backbone, BoilerplateModule, HomeView) {
var Router = Backbone.SubRoute.extend({
routes: {
"": "home",
... | b3c68a41d44e7a38571e4c834555c0f7e399116e | [
"JavaScript",
"Markdown"
] | 10 | JavaScript | jesstelford/longdistance | b26f7e4470e29a450992928deb85fa0e072acfa9 | 18834cfe8802657b941ba05e4af12ef23ac5e95d |
refs/heads/master | <repo_name>Jeremielc/lma_library<file_sep>/sources/lma_string/lma_string.h
//lma_string.h
/* <NAME> */
#include <stdlib.h>
#include <stdio.h>
int endWith(char* string, char* pattern);
int beginWith(char* string, char* pattern);
int contains(char* string, char* pattern);
int length(char* string);
char* newString(char*... | fe9f5a64abc948f88eb9b4831e44d6f4bfddbecf | [
"C",
"Makefile"
] | 6 | C | Jeremielc/lma_library | bbc0d9b81d53bae33be3eda71e7e3535c9de7f6d | faf043314a7f5d37f16f1facf65868202078fc33 |
refs/heads/main | <file_sep>const combine = (input1: string | number, input2: string | number) => {
return input1 === 'number' && typeof input2 === 'number'
? input1 + input2
: input1.toString() + input2.toString()
}
const combinedNames = combine('first', ' last')
const combinedAges = combine('40', 40)
console.log(combined... | 4641c3a9cd88716cc3b09e79616ce69525cdbb03 | [
"Markdown",
"TypeScript",
"JavaScript"
] | 4 | TypeScript | 8ctopotamus/typescript-playground | e9ac78f8ebe07bb25be75fa35f63b1876fa65791 | be399d23ec51b5e9417d1d78953fa1a7f6a45465 |
refs/heads/master | <file_sep>import React, { useEffect, useState } from "react";
import axios from "axios";
import CharacterCard from "./characterCard";
import { Container, Row } from "reactstrap";
const CharacterList = () => {
const initialState = [];
const [characters, setCharacters] = useState(initialState);
const effectCa... | 20ae2e116e055942fb2c9b966e988224f2933b49 | [
"JavaScript"
] | 1 | JavaScript | kkdev211/Sprint-Challenge-React-Wars | 559fcb641d1e5c7b8cf668d9341ecbc060e21159 | 1cd5352d85df5cd48772ca23c10ce170bafd30c3 |
refs/heads/master | <repo_name>ejay4u/ADLTax<file_sep>/app/src/main/java/com/adlafrica/inteladata/utils/MyReceiver.java
package com.adlafrica.inteladata.utils;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.adlafrica.inteladata.service.Location... | 28d0adcd70e440468960e3b2092006100e958d0f | [
"Java"
] | 2 | Java | ejay4u/ADLTax | 8700dfc5f187f7bd4701020021413df638c2dd39 | a9e816d20381bcddabc0d4605c22650cb49d499e |
refs/heads/master | <repo_name>modulexcite/CodeSharing<file_sep>/CodeSharing.App05.Wpf/WpfExtensions.cs
using System;
using System.Linq;
using System.Reflection;
namespace CodeSharing.App05
{
static class WpfExtensions
{
public static Boolean IsInterfaceType(this Type type)
{
return type.IsInterface;
... | c32f0c84b78b1c6e9093128945ed3782f1091a1b | [
"Markdown",
"C#"
] | 29 | C# | modulexcite/CodeSharing | 971ba9f416526055aa2e5c694543b179cda07455 | 6f3483cfd7374e5ca2c24cfddd9d0e5df528096f |
refs/heads/master | <file_sep>library(survival)
kmquantiles<-function(time, status, x, p=0.75, points=101){
b<-bw.SJ(x)
xs<-seq(min(x),max(x),length=points)
rval <- list(x=xs, y=sapply(xs,function(xi) kmq(time,status,x,p,xi,b)))
if(length(p)>1)
rownames(rval$y)<-p
rval
}
kmq<-function(time,status,x,p, x0,b){
w<-dnorm(x,x0,s=... | 9f15eed09497111179e89fc2957c23dd6b1780cd | [
"R",
"RMarkdown"
] | 3 | R | OtavioHatschbach/RGSYMP | 30e301211d45665338f88cd8ee4c7378f5558cbf | f7e962ee3f362e7da894f8195af63429216183dc |
refs/heads/main | <file_sep>Delila-PY
-----------
Delila-PY is a pipeline to make it quick and easy to run various Delila software packages
in order to construct a binding site logo.
Delila-PY uses programs developed in the lab of <NAME> and more information can be
found at his website: http://users.fred.net/tds/lab/
... | 6a7b013e55aa527b74136d4834eaa93f046e632b | [
"Markdown"
] | 1 | Markdown | GLBRC/delila | 69c50fbde8a98f82b98fa8ba188779ffd116014d | ba2404bd4c10b11752860e6f1d23d77d4e85e1ec |
refs/heads/master | <repo_name>wangzongwenjava/merge_test<file_sep>/src/com/wzw/test/MockTest.java
package com.wzw.test;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.Mockito;
public class MockTest {
@Test
public void moc... | 4d1d7925dca0ecd08d9571829b3b2b7d14099d4d | [
"Java"
] | 2 | Java | wangzongwenjava/merge_test | d7d39b82ad764fe57e670e212c2bc6d5633bc17d | 283fe704edc44af765626a39681137c16cbbaeb1 |
refs/heads/master | <repo_name>WSPSNIPER/Engine_of_Decay<file_sep>/GameManager.cpp
#include "GameManager.h"
GameManager::GameManager():
m_window("Lukes Game", 1000, 800)
{
}
GameManager::~GameManager()
{
//dtor
}
void GameManager::render()
{
for(int i = 0; i < m_stateList.size(); i++)
{
m_stateList.back()->rend... | 3c4bdb7b84db60dfecde2ff38ea46d79a55178c9 | [
"C++"
] | 10 | C++ | WSPSNIPER/Engine_of_Decay | 972525e34b40e1e7a22f74f85fad7b13e8b554a0 | 2a2e926adeb5de0b49abef8aa2e5db3dc1b574d0 |
refs/heads/master | <file_sep>package com.jangapp.myappmla.repository.network.api;
import com.jangapp.myappmla.repository.storge.model.ProdOverView;
import java.util.ArrayList;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import static com.jangapp.myappmla.Constants.LIMIT_REQUEST_PARAM;
import static... | 5fb38ff3142c96afdc2d8f0f7e2c87d817a6b466 | [
"Java"
] | 8 | Java | jjhidalgo1991/testML | c8ec5730c524c580b9e7fffe6993c09a54e043be | d1557d7d85eff5f71e0ec876eebf2d346f5ccc24 |
refs/heads/master | <repo_name>5ar5kovic/Count-Words<file_sep>/README.md
# Count-Words
Words Counter in PHP
<file_sep>/index.php
<!DOCTYPE html>
<html>
<head>
<title>Count Words</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" ... | 35707f6e1f25d3b5540e7db546be35d73c8e965f | [
"Markdown",
"PHP"
] | 2 | Markdown | 5ar5kovic/Count-Words | 602c86b50a753dae79eb2f6cac7dfb2580388e35 | 04b10716bd551fb147dde426d5b248da6a350a17 |
refs/heads/master | <repo_name>lulus1511/vue_wyklad<file_sep>/example2/main.js
new Vue({
el: '#app',
data: {
word: ''
},
computed: {
reverseText: function () {
return this.word.split('').reverse().join('');
}
}
})
<file_sep>/README.md
# vue_wyklad
Materiały z wykładu
| 190b8769f1c4f7a287741185007dfc3d7a53d77f | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | lulus1511/vue_wyklad | 67ff72716892285b758a6c5e2f35d4ce3fa21d75 | 9513f5df2858124a716243871328948047ed450f |
refs/heads/master | <file_sep># NOMZ!
##What is Nomz!?
Nomz! is the next best thing in eating. It will revolutionize the way you experience food.
##No, but really, what is Nomz!?
Nomz! is a social media food app. It is written in React Native. Nomz! allows you to vote on images of food (from places near you) and recommends a restaurant ... | 590263b1174f69bb56f993dc6c226bcfce05dee8 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | ajstocchetti/nomz | 274cc213783d922878bc4d189131e6224e9f4892 | 1019b626cb2844e8b2fb2510a6222c26a2cf3152 |
refs/heads/master | <repo_name>templeblock/remez_approx<file_sep>/remez_approx.h
/*
* Copyright (c) 2016, fukuroda(https://github.com/fukuroder)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistribu... | 1619180da28e14dc487a7cb7e0a5b1bf5c0c2915 | [
"C"
] | 1 | C | templeblock/remez_approx | 0c359bcfb8e40728a3953fa117176f0e9eeee3eb | 462e90296652fb929c5ae7e1bac26a6474965ddb |
refs/heads/master | <file_sep>Twisted==17.1.0
Jinja2==2.9.5
<file_sep>from twisted.web import resource, server
from twisted.internet import threads
import os
import re
from . import settings
from .data_store import store
class MainCallbacks(object):
def render_template(self):
with open(os.path.join(settings.TEMPLATES_DIR,... | 800904fbf3bf5d1a9ecdd884d4b0453d4da9ef37 | [
"Python",
"Text"
] | 6 | Text | candyboober/twisted-task | 0979f1b5312e5abc5718a094aa74a9392d6cc522 | 737de80d79382cb6d9bf68bf91b1b58f36ec70d6 |
refs/heads/master | <repo_name>JaksonJose/Python-Training<file_sep>/README.md
# Python-Training Excercises
This system is an exercise scheme that intends to register inside an external text file the names and ages. This exercise aim is to write a program using modules and functions.
### What I've learned with this exercise?
- I've lear... | 85e69aef7cc5630ac1805282ec27c3a378f6b348 | [
"Markdown",
"Python"
] | 4 | Markdown | JaksonJose/Python-Training | 1d8d91146904f9be984982e123564ddd7c242f79 | 84e51e718f6baae29d1ba70b8b8abf225183c26a |
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 demo.spring.common;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
... | 1a4e3fdcca7b769bd27f00e1e7d55bc08f0ade6f | [
"Java"
] | 4 | Java | akhalik/springdemo | ea2a58967e22c6063314a0d3e617ea702132ceca | 6c21e126e7dd204a5c4ebad81dbf5c1772569c79 |
refs/heads/master | <repo_name>vishalpolley/django-multidb<file_sep>/multidb/requirements.txt
Django==2.0.8
mysql-connector-python==8.0.6
psycopg2==2.7.4
PyMySQL==0.8.0
pytz==2018.3
<file_sep>/multidb/app1/admin.py
from django.contrib import admin
from .models import form1
class form1Admin(admin.ModelAdmin):
list_display = ["first_name... | a55918d8c626d5eb0dfffe8d1f114761819c4c06 | [
"Markdown",
"Python",
"Text"
] | 12 | Text | vishalpolley/django-multidb | fdf564677afb444677f8797f7e21e3899dd29887 | 37407b0ad267399bbe7b0e4df01d429dec4b2d5d |
refs/heads/master | <repo_name>andyZheng/link<file_sep>/session.go
package link
import (
"net"
"sync"
"sync/atomic"
"time"
)
// Session.
type Session struct {
id uint64
server *Server
// About network
conn net.Conn
protocol PacketProtocol
writer PacketWriter
reader PacketReader
// About send and receive
sendCh... | 1126560c0f8cba97fe94e897a19cd80f3fa36593 | [
"Go"
] | 1 | Go | andyZheng/link | 53e1609323cb6cf352f83e94546dd13f199b1a09 | 81d7d95671f4e616603e637b23c16c8321547c67 |
refs/heads/main | <file_sep><?php
namespace App\Controller;
use App\Entity\Quicoiffe;
use App\Form\QuicoiffeType;
use App\Repository\QuicoiffeRepository;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\R... | bb2fdb6049dd280cef0f4402a5a959d3f5e66bb1 | [
"PHP"
] | 19 | PHP | JoJo1891/mcf | 4a6daaff0fd681fc486cdf141fb010ee41e51452 | 7452deddc357966c7a68983bb115c8559b7d0b62 |
refs/heads/main | <file_sep>const bcrypt = require("../utils/bcrypt");
const { generateToken } = require("../utils/jwt");
const router = require("express").Router();
// Util function
const removePasswordProp = (obj) => {
// filter to return all user props but password
return Object.entries(obj).reduce(
(result, [key, value]) =>... | 4fecb7526484574e405d1b15f35c46da60b5b7da | [
"JavaScript"
] | 7 | JavaScript | fbzr/JointCheckList-API | eb8c04ce108b8e28e68adcd6d59ba9caa4535027 | 0a9d8d26b989a095ad957c76cec17a2e001e0d91 |
refs/heads/master | <file_sep>from destinations import Destinations
CONTINENT = [' 1) Asia',
' 2) Africa',
' 3) North America',
' 4) South America',
' 5) Europe',
' 6) Oceania',
' 7) Antarctica']
MONEY = [' $$$) No object',
' $$) S... | 5f703b59a10382dedd85007fae4c57e46d57e239 | [
"Python"
] | 1 | Python | mollypython/python-assignment | 5b69ab8240887f4a567a26e5a7a274bb4e95f68f | 4814e2cbf23f4cfb9678236cbfea61363f9062bf |
refs/heads/master | <repo_name>d2l-ai/d2l-tvm<file_sep>/chapter_gpu_schedules/pooling.md
# Pooling
:label:`ch_pooling_gpu`
In this section, we will optimize pooling on GPUs. It is relatively easy compared to the schedulings we discussed for `matmul` and `conv`.
```{.python .input n=1}
import d2ltvm
import numpy as np
import timeit
impo... | e1de88dd62d144690fe2dcf33a9a683eb9ffb978 | [
"Markdown",
"Python",
"Shell"
] | 46 | Markdown | d2l-ai/d2l-tvm | ad823dc4d150b12e54ff0a2ca2d5c961d50b4ae1 | 93633623a748b84b8495a53d39e46ecb91d2a299 |
refs/heads/master | <file_sep>import yfinance as yf
import pandas as pd
if __name__ == '__main__':
yf.download(tickers="AAPL", period="7d", interval="1m").to_csv('data.csv')
data = pd.read_csv('data.csv', sep=r'\s*,\s*',header=0, encoding='ascii', engine='python')
data['Datetime'] = data['Datetime'].apply(lambda x: str(x)[0... | 622764804e2bd4cbd1f195921cbdcaaaf9137b66 | [
"Python"
] | 3 | Python | webclinic017/Trading-37 | 274f86cd4d36fd2ed9711a7a23f6a60cb2a2ef79 | 13942f86646bcc624626c28d68355d4b79ba74e1 |
refs/heads/master | <repo_name>zahid94/EncryptionAndDecryption<file_sep>/EncryptionAndDecryption/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EncryptionAndDecryption
{
class Program
{
static void Main(string[] args)
{
... | db5caa7911e604a57091110e17fa51c41aebbc24 | [
"C#"
] | 1 | C# | zahid94/EncryptionAndDecryption | e729915e6bf0a6ecc91d820900d56eab815ac822 | a8e15d56b3d96481d0b08f5d8df2361aeb12a4b4 |
refs/heads/master | <file_sep># student-mgmt
This project basically saves the user data using sqlite3 database and you can perform certain operations on that data ,
like delete it , update it and search it ...
___
## Author
The following project is made by <NAME> Admin of Instagram page @dynamic_coding if you have any queries about... | 6c2f6a23f02875445bb4dc3d97291de755e2feb8 | [
"Markdown",
"Python"
] | 2 | Markdown | yogesh-singh028/student-mgmt | 26310ebe10e617ea8f6c49ebc25d8420972133cd | 5ff3236dfe2716d6d7a114c8ec462e1f9f565cd6 |
refs/heads/master | <file_sep><?php
use Illuminate\Support\Facades\Route;
use App\http\Controllers\DataSiswaController;
use App\http\Controllers\UserController;
Route::get('/', function () {
return view('index');
})->name('index');
Route::get('ADadsDASDASF', function(){
return view('about');
})-> name('about');
Route::get('aSaw... | d30f32d33dcf238e68caa1b845b300103aee49af | [
"PHP"
] | 1 | PHP | Resta5/laravel2 | c50ed0b0722f44d964ffeceae85f20da8268c0cd | 01f9012e4fd91c3dbd894b20fbaef56b877b8fe7 |
refs/heads/master | <file_sep><?php
require 'db.php';
session_start();
if ($_SESSION['loggedIn']!=1) {
header('Location: index.php');
}
if ($_SESSION['type']!='admin') {
header('Location: home.php');
}
//Add deo
if (isset($_POST['addDEO'])) {
$username = $mysqli->escape_string($_POST['username']);
$passw... | bc8c4d13958e8bd6dedfec11c0644ed58f7d921c | [
"PHP"
] | 16 | PHP | peace-shillong/hajong | 2e3299b8ff710d400743c9fe83ed1695d4cdc7f2 | f5ac52d1c78fe4db7de4797290727f227faf76ac |
refs/heads/master | <file_sep><?php
namespace App\Http\Controllers;
use App\Categoria;
use App\Permissao;
use App\Subcategoria;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Session;
class SubcategoriaController extends Cont... | 55a490f1804f36af661346ec479cd9df85589827 | [
"Markdown",
"JavaScript",
"PHP"
] | 28 | PHP | roballomax/agenda-contatos-laravel | 163a743f9a80c0366f319502c4ed3d0bc3597620 | 305edddbeaaf73446d2e572e43d9770f2008b99d |
refs/heads/master | <file_sep>//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.saint.util;
import com.github.wxpay.sdk.WXPayUtil;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
... | b9a57d946880d968888269bd4f9aec8ed0abde84 | [
"Java"
] | 1 | Java | duducc/wxpay | e4a83396f23adb588a7d7971b430ba1d02b91393 | b449a89e99769a8fe40a19a7fa3495caec2d220f |
refs/heads/main | <repo_name>jeriet123/Nuclear-Explosion-Data-Practice<file_sep>/Nuclear Explosion Data Practice script.R
## Loads the Nuclear Explosion dataset from github
nuclear_explosions <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-08-20/nuclear_explosions.csv")
## Loads t... | ae56439a5b43e4ead9e8dd904d38ae8ec883d89c | [
"Markdown",
"R"
] | 2 | R | jeriet123/Nuclear-Explosion-Data-Practice | a4e0e3f50c679f0781a5334b0ad8eb223fe49345 | f2f94ea4752deec2917ea4c8309b4a7aa81b153a |
refs/heads/master | <file_sep># stock trading app project
* login
* buy/sell shares<file_sep>import requests
import json
import hashlib
from app import models
import matplotlib.pyplot as plt
import base64
API_KEY = '<KEY>'
def get_data_for_symbol(ticker):
"""
:param ticker: string of ticker symbol
:return: tuple with sta... | cf07faa62567f60fe9584820b38895888a1b8f05 | [
"Markdown",
"Python",
"Text"
] | 9 | Markdown | sujaypat/fake-stocks | 042d57fe276755949a547050d08ac4c044c3d73c | 0ca24d36182edb5b8d5d6a8488623304ee4d95b5 |
refs/heads/master | <repo_name>den/gitignore<file_sep>/Rakefile
task :default => 'global'
desc "Generate .global_ignore"
task :global do
global_ignore = FileList['Global/*.gitignore']
ignore_file = ""
global_ignore.each do |file|
ignore_file << IO.read(file) << "\n"
end
file_path = ENV['HOME'] + '/.global_ignore'
File.ope... | 761b5e2f3e8978811a73cfd4c9c639627588ca3c | [
"Ruby"
] | 1 | Ruby | den/gitignore | 6c1486ee10085cb44f10a33dad3bd671fd2123d6 | ec196891dde371ee8b8a75a7e77947faa76fd56a |
refs/heads/master | <repo_name>jaymwong/ros-externals<file_sep>/externals/install.sh
cd fcl; git fetch; git checkout fcl-0.5
mkdir -p build; cd build; cmake ..
make -j; make install; cd ../..
cd ompl; mkdir -p build; cd build; cmake ..;
make -j; make install; cd ../..
| 204efad6da332cf3bc3481cf638cb2acf0be86ac | [
"Shell"
] | 1 | Shell | jaymwong/ros-externals | 1d09ac73cebf77c2da0046cc9b7d6c3f4e572fc9 | 4b10313e66abd556d19f82300cbf88142e9ecc16 |
refs/heads/master | <file_sep>using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace Server1
{
class Program
{
private IPAddress myip;
private int port;
private bool serverStatus;
private TcpListener tcpListener;
private Socket socketforserver;
private... | 7fcf88dc24fcea3552d3d4d6b132cdc87ea8a153 | [
"C#",
"Text"
] | 61 | C# | HoaLD20/ASP.NET | 68c6f2aed145fc87aca023d2f7dd1b7c37fd8494 | ac969dc3953264f709e473cde90d8eef242664be |
refs/heads/master | <file_sep>var mongoose = require('mongoose');
var states = 'ok damaged incomplete'.split(' ');
var availabilities = 'available unavailable'.split(' ');
var editions = 'First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth'.split(' ');
var languages = 'English Spanish Mandarin Hindi German Russian Japanese'.... | 0515db17739f734eb4becbe0485855127235acf8 | [
"JavaScript"
] | 1 | JavaScript | EdgarOr/SOA_ProyectoFinal | 8a0ff07bf0db2165762a701fc3916bda3c8ee1fa | 89b9745c6bde913ba941cc08594a9a5bb5d88392 |
refs/heads/main | <file_sep>package dropit.shop.tests;
import net.lightbody.bmp.BrowserMobProxy;
import net.lightbody.bmp.BrowserMobProxyServer;
import net.lightbody.bmp.client.ClientUtil;
import org.apache.commons.compress.compressors.CompressorException;
import org.apache.commons.compress.compressors.CompressorOutputStream;
import or... | 18a53369b2215ab21904394dcb5f260e0bcb7c62 | [
"Java",
"Gradle"
] | 3 | Java | Dmitriy84/dropitshopping | c458ef4b9d7999d66d407c5be43d4b18d8fa7469 | 9a119990bd503535c6f7792d4ed38541538f24f4 |
refs/heads/master | <file_sep>(function(root, mod) {
if (typeof exports == "object" && typeof module == "object") return mod(exports); // CommonJS
if (typeof define == "function" && define.amd) return define([ "exports" ], mod); // AMD
mod(root.yuidoc2tern || (root.yuidoc2tern = {})); // Plain browser env
})(this,function(... | 93760126dcf2916bfcd9dced250d08b21d387982 | [
"JavaScript"
] | 2 | JavaScript | gamerson/tern-aui1.5.x | 2433ba772a2b66f84d444ca49edd816574c1a92d | 2855d610fec8b96c254e0fed6adfd71b46a6c14a |
refs/heads/master | <repo_name>endlessbux/checco-s-blog<file_sep>/util/utils.php
<?php
require(dirname(__FILE__).'/call-ext.php');
require(dirname(__FILE__).'/call-src.php');
require(dirname(__FILE__).'/head-tags.php');
function start($title, $spec){
define('SRC_SPEC',$spec);
if(isset($spec)){
require(dirname(__FILE__).'/spec... | de57f1edd4c7d231710ebde055d48c42acfeda41 | [
"Markdown",
"PHP"
] | 13 | PHP | endlessbux/checco-s-blog | 412577eeb77a7ce1da78e6dd0f6ff3f0157bb8fb | 6787d871611ed6aa48260c5f38f457f1b1ab64c4 |
refs/heads/master | <file_sep>import boto3
import datetime
ec2 = boto3.client('ec2')
def get_tag(tags, name):
for t in tags:
if t['Key'] == name:
return t.get('Value')
def lambda_handler(event, context):
# Find all instances that have the 'backup' tag
instances = ec2.describe_instances(
... | 829aafa7639d07f0edd965048ae40bdd78eb80d9 | [
"Markdown",
"Python"
] | 3 | Python | rhysnhall/ec2-backups | 7c311a708dc3aa884b7de9dc9f53acc55eac1ca1 | fac84173caf118157c7dc2f398965404f61647fe |
refs/heads/master | <file_sep>package awt;
import java.awt.*;
import java.awt.event.*;
import java.io.FileWriter;
public class Resume extends Frame implements ActionListener,WindowListener,ItemListener {
Frame f;
TextField t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14;
TextArea t15,t16;
Label title,l0,l1,l2,l3,l4,l5... | 8b2ebeca8390d19cd2f1c344752857c2ea97c1bc | [
"Markdown",
"Java"
] | 2 | Java | nitcse2018/daa-shagun3 | bab5cc7a82d6140be1110dc010ff93e75e60f9be | b150bda24bea7f5324816b9b3bef2f5f7e758d09 |
refs/heads/master | <file_sep>#!/bin/zsh
# Set up vnm
. ~/.nvm/nvm.sh
# Check parameters
CONFIGURATION_FILE=$1
if [ -z ${CONFIGURATION_FILE} ]; then
echo "CONFIGURATION_FILE parameter is missing";
echo "Try: ./analyze-self-supporting.sh my_repo.sh";
exit 1;
fi;
echo $CONFIGURATION_FILE
# Exit early when undefined variable or comm... | 0f34f81cd0410a79ff6f6381a5fd0987f5fb8650 | [
"Markdown",
"Shell"
] | 4 | Shell | GradedJestRisk/test-training | c9746ed6b284a12a5fc4583cc08fc79eff9fcb6e | 2205f62758262e70c9c207275a6700abf65b07f4 |
refs/heads/master | <repo_name>nox213/CS492<file_sep>/HW1/Makefile
all : dense.out gaussian.out sparse.out
dense.out : dense.o
gcc -O3 -o dense.out -pthread -lm $<
dense.o : dense.c
gcc -c -O3 -lm $<
gaussian.out : gaussian.o
gcc -O3 -o gaussian.out -pthread $< -lm
gaussian.o : gaussian.c
gcc -c -O3 $< -lm
sparse.out : sparse.o m... | 8437f80cf9da769465cee485ff885816a3170ed8 | [
"C",
"Makefile",
"C++",
"Shell"
] | 16 | Makefile | nox213/CS492 | 13dd082928088afb5f3b82f288e521ebad3af413 | 6e9c1a51b916d291ca522b3c675b0886cb162dca |
refs/heads/master | <repo_name>BTCallahan/super-ds9<file_sep>/ai.py
from __future__ import annotations
from collections import Counter
from random import choices
from typing import TYPE_CHECKING, Dict, Iterable, Optional, Tuple, Union
from itertools import chain
from get_config import CONFIG_OBJECT
from global_functions import ajust_syst... | fbe231f5192dc167c4b161867bbf8e82fc0db192 | [
"Markdown",
"Python",
"INI"
] | 40 | Python | BTCallahan/super-ds9 | 0649cea1b0b2c6fdc64095b228c537c54e42f84e | 974f799bf12235d20281dea2155ecb4a3f73d697 |
refs/heads/main | <repo_name>wonhyukshin/vinally<file_sep>/js/custom.js
// JavaScript Document
window.onload = function () {
setTimeout (function () {
scrollTo(0, 0);
}, 20);
}
$(window).load(function () {
"use strict";
// makes sure the whole site is loaded
$('#status').fadeOut(); // will first fade out the ... | 02336c288653ea4de207d6ce44534f398e427a87 | [
"JavaScript"
] | 2 | JavaScript | wonhyukshin/vinally | e561d03db83375dbbfa2a6938b961f4c7758d0c1 | 67ff9aac13f7f4d94e8f8da36fe13af5cb65e7d8 |
refs/heads/master | <file_sep>console.log("----------Test--------------");
var a = [];
for (var i = 0; i < 10; i++) {
a[i] = function() {
console.log("value=" + i);
};
}
a[5]();
// 使用var 定义的变量i是全局有效的,因此啊a[i]也是一个全局的,循环结束i最后等于10 最后赋值的都是一样 打印的都是10
// 使用 let 作用范围是块级有效的
for (let i = 0; i < 10; i++) {
a[i] = function() {
consol... | 3ba584b2cd1486276df8d298d044e0508c15f5d5 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | HvaiY/Es6 | aa24c6e6c692394c076ef0caecebf8680f43ab4b | 47a293f3e1fc9e0da97e6b0b7bd94d0b4bd6f38e |
refs/heads/master | <repo_name>nikigan/BeeJee-test-react<file_sep>/src/components/TaskItem/TaskItem.js
import React from 'react';
import './TaskItem.scss';
import checkedIcon from '../../assets/icons/checked.svg';
import editedIcon from '../../assets/icons/edit.svg';
import ClampedText from '../ClampedText/ClampedText';
import { Button } ... | 8e3a63328c2a6d56dca1567312a3ff53085c7372 | [
"JavaScript"
] | 6 | JavaScript | nikigan/BeeJee-test-react | 1ee55cc89e3b0a208366de13f67ea188fdaa3847 | ae01aaa0039822eaed754f292c94e79d2da144c9 |
refs/heads/master | <repo_name>frankschmidt902/google_keep_takeout<file_sep>/README.md
# Google Keep takeout
Run the script inside your takeout folder
```sh
python export.py > exported.md
```
and get a markdown file similar to this:
```
Total #notes = 294 -- sorted by (Last update, archived/not archived)
### Groceries
Last edited: ... | b060933d82896e3108781be93fa1d655b094754b | [
"Markdown",
"Python"
] | 2 | Markdown | frankschmidt902/google_keep_takeout | 4ea8030bef3e023bd70bef69a4dca34f85e3898c | f415cdcf252a51906261845158d99e3dcd6840f4 |
refs/heads/master | <repo_name>lowenware/rpm<file_sep>/deploy.sh
#/usr/bin/env bash
mkdir -p {build,buildroot,rpms,sources,git}
function deploy {
DEPLOY_GIT="git/$1"
echo "> git clone --recursive https://github.com/lowenware/$1.git ${DEPLOY_GIT}"
git clone --recursive https://github.com/lowenware/$1.git ${DEPLOY_GIT}
echo "> ${D... | fd2a92f2faf8294a8d3a1e1e7b05b9b7c5fabd51 | [
"Markdown",
"Shell"
] | 2 | Shell | lowenware/rpm | c557724fb00ed25db852373faeb0978955a5544e | 042ae4e914d8cf628374ba17429f690c051ab859 |
refs/heads/master | <repo_name>kw531/UMKC-Robot-Team-01<file_sep>/Motor Control/Basic Code Sketches/DCMotorFunctions.c/DCMotorFunctions.c (1).ino
#include <Wire.h>
#include <Adafruit_MotorShield.h>
#include "utility/Adafruit_MS_PWMServoDriver.h"
// Create the motor shield object with the default I2C address
Adafruit_MotorShield AFMS = Ad... | 9baba146d8ace8a675069f5266377380f37734a0 | [
"Markdown",
"C",
"Python",
"C++"
] | 22 | C++ | kw531/UMKC-Robot-Team-01 | 49acc005f46c0eddf7bf12b38ddd3c842c5ac587 | 9c32e5e2f5e236be66bee0e80a691d0ef4d6ca1d |
refs/heads/master | <repo_name>nigelangren/cqManager30<file_sep>/index.js
const express = require('express');
const dbHelper = require('./lib/dbHelper');
const bodyParser = require('body-parser')
const multer = require('multer')
const upload = multer({
dest: 'views/imgs/'
})
const path = require('path');
const cookieSession = require(... | 2dcc36bac56eafd6e901c0ace57475331c7aeb15 | [
"JavaScript"
] | 1 | JavaScript | nigelangren/cqManager30 | befc8786905f1160cbe013935719b61f19abc9ac | 85614648fd58765fd9e5186a442660352da8990d |
refs/heads/main | <repo_name>Sibarpit113/Test-Repository<file_sep>/NewBranch.Py
#This is a new branch file
print("New Branch File")
<file_sep>/README.md
# Test-Repository
My First repository
This is my first file in GitHub repository
| f7d7151d0e1b0b3f595b9e43485049c36e960e57 | [
"Markdown",
"Python"
] | 2 | Python | Sibarpit113/Test-Repository | c32895fb5ac132ace30a8bd503a6289390e6d617 | 1d0433e67dab3690e660d63b6485dc8602937da5 |
refs/heads/main | <file_sep>import pandas as pd
from connection.client import client
from queries.sorts import get_aggregate_sorts
from utilities.plot import plot
movie_collection = client.themoviedb.movies_tests
def get_genres():
<file_sep># themoviedb-projet-scrap
## Steps to get started
- If you want to work in isolated environ... | 70f16b0e9298d624b83a396e5e7939bb998066ac | [
"Markdown",
"Python"
] | 5 | Python | wiwiwisso/themoviedb-projet-scrap | 519462c11a085021afaa92b7bc4742e9b70a75c0 | ca2f56b10e655a4f1219e09b4776bb1f8fc4f814 |
refs/heads/master | <repo_name>happens-before/training<file_sep>/MyBatis/src/main/java/com/qunar/fresh2017/mybatis/dao/LeaveHolidayDao.java
package com.qunar.fresh2017.mybatis.dao;
import com.qunar.fresh2017.mybatis.model.LeaveHolidayModel;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by shuai... | fb44bba07cae2a21c3193f809810149471429899 | [
"Java",
"Maven POM",
"SQL",
"INI"
] | 46 | Java | happens-before/training | 07372d53251e4dd7bb81da2c3231cfd763b2bfb4 | af1b0efe53c57b227904b9429133d160957ed483 |
refs/heads/master | <file_sep>#!/usr/bin/env python3
import psycopg2
DB_NAME = "news"
# Connect to database
def execute_query(question):
"""
takes an SQL query as paramter,
executes the query and returns the result as a lost of tuples
args:
question - an SQL query statement to be executed
returns:
a... | 63ab3368fea380904ef9476ffd5c645fa0e17912 | [
"Markdown",
"Python"
] | 2 | Python | tomallen831/newsdata1 | 1c297cba69cdc19d55c58ec24c2cd2e2496fa31d | 4ef79271e1467a2c2e4c68eb264aa92d193c12f9 |
refs/heads/master | <repo_name>mandy26/Pockets<file_sep>/protected/migrations/m131115_020427_parent_void.php
<?php
class m131115_020427_parent_void extends CDbMigration
{
public function up()
{
$this->addColumn('parent','void','boolean default 0');
}
public function down()
{
$this->dropColumn('parent','void');
}
}<file_sep>/p... | fa5c507ecf9ad08d078afd1672295cfc903d2040 | [
"Markdown",
"SQL",
"PHP"
] | 30 | PHP | mandy26/Pockets | 3137aa81116a771e6ed5b9af787c4b527a22779f | 172fdacc5ef00e4b3b8c8f1adaa13e6ea874a2e4 |
refs/heads/master | <file_sep><?php
require_once('config.php');
$page_title = 'Page Title';
$page_description = 'A brief description of this page';
$page_id = ''; // To select the "active" link in the top navigation menu
$page_subid = ''; // not currently used, but may be handy if you decide to add dropdown menus or something
require_o... | 1627d66f3e852295fb175d9cad4eab0a9d0b1917 | [
"Markdown",
"PHP"
] | 5 | PHP | plasticbrain/docs-bootstrap | 46e2b797f5a7bf45c570d80d8042c0dcd6230fca | b97d11ab162f71cf9e2f0b8e113fd831c12bfe1b |
refs/heads/master | <repo_name>MichaelAwad1/Union-Find<file_sep>/src/quick/find/Main.java
package quick.find;
import java.io.File;
import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
File file = new File("UF.txt");
Scanner sc = new Sca... | 54c340e87e28db1e00b5afe7b7e0e94e61585a49 | [
"Java"
] | 1 | Java | MichaelAwad1/Union-Find | e73b0332db6e5728e8875b816d3852ec111289e2 | fb4889cca28fa940d47853ed116b7997493964f5 |
refs/heads/master | <repo_name>VeskoTech/ExamPrepare<file_sep>/Empare/Program.cs
using Empare.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Empare
{
class Program
{
static void Main(string[] args)
{
Barracks b = ne... | e977302fd99ddf5e32684bb463ba8acf4620f247 | [
"C#"
] | 7 | C# | VeskoTech/ExamPrepare | 514903ebb38efbe07b3dc54a95754bd686140e72 | 856ff8a4ef9cd5a55230d01e5643a8df65ae6379 |
refs/heads/master | <file_sep>import { Component, OnInit } from '@angular/core';
import { Persona } from './product.model';
import { personasService } from './services/personas.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements... | 7e0ceb1486f4f8b870d7f02b949746ca1155b8d2 | [
"TypeScript"
] | 3 | TypeScript | josecalvano1546/angular-practica | e01d0db43ec71a74035e92265d00a48adbf2b733 | 885eb14019ce3a102f489c84fca2e4576e5eb2aa |
refs/heads/main | <repo_name>wesleybeckner/ds_for_engineers<file_sep>/README.md
# Data Science for Engineers
Learning content for GIX Data Science for Engineers
## Series Overview
### Course 1: Build Your Base
* Data Science Topics (CHEME 545; DSMCER)
* introduction to python; lists, dictionaries, and flow control; functions and ... | 2717d8276a97e881bd4ca58a115b0e755f0bd3db | [
"Markdown",
"Python",
"Text"
] | 3 | Markdown | wesleybeckner/ds_for_engineers | b66e97d6b021d222fdda98798fefd5469b2cc6b9 | b87e9430116606bd9dd4daad28005c1b2911b849 |
refs/heads/master | <repo_name>vaishnavigujjari/Y<file_sep>/Pages/admin.py
from django.contrib import admin
from Pages.models import country_team,match_user,user_team,choosen_players,user,match_performance
admin.site.register(country_team)
admin.site.register(match_user)
admin.site.register(user_team)
admin.site.register(choosen_players)... | 46d8e24ed3cdbea408b03681b4dd51dfe6f03462 | [
"Python"
] | 3 | Python | vaishnavigujjari/Y | f24d75729b51aaaa70c7912899cb79571dadbaf2 | d82dbaa8689731d1c1d140166604abb9258afe45 |
refs/heads/master | <repo_name>mkieft/Computing<file_sep>/C++/Week 3/Lab 3/Problem 8.cpp
///File: lab3/p8.cpp <NAME>
///Generate random letters till first Y X or Z
#include <iostream>
using namespace std;
#include <ctime>
#include <cstdlib> //for rand()
int main() {
srand(time(0));
char x = 'a';
while (x != 'X' && x != 'Y' &&... | 3d7f40a09ca2a6f58c81877b2f9985e8fabe0d66 | [
"Python",
"C++"
] | 217 | C++ | mkieft/Computing | ecabc32ca501a60d62b5e9cb68d5c6a2b7033af1 | 36dbd36ba7ef4c1e3c606d5f05ad81559b756562 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.