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/main | <repo_name>macmowl/CLI-nager<file_sep>/index.js
#!/usr/bin/env node
const { getCode } = require('country-list')
const chalk = require('chalk')
const axios = require('axios').default;
const figlet = require('figlet');
const myArgs = process.argv.slice(2);
let year;
if (myArgs[1]) {
year = myArgs[1]
} else {
yea... | de79a71780ad6d230ee6e495614269e164161eeb | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | macmowl/CLI-nager | b5816d8ed22cf84182d0982765181e783e821b5d | 29522604132a286e2d7d9339d49d42dd0adff1d6 |
refs/heads/master | <repo_name>Kamilo020/NuevasTec<file_sep>/formulario contactenos/hoja de vida html/pages/elScript.js
document.querySelector('html').onclick = function(){
alert('el mensaje que debe salir')
} | a4ffe60b5177071992fb89da0237fc95d6a74145 | [
"JavaScript"
] | 1 | JavaScript | Kamilo020/NuevasTec | 69bc2471602a1ec51412818e2959108ef6cdc11c | d330ed11b2cf0b5be46ab90e2666d1fc7dca59b9 |
refs/heads/main | <file_sep>//action constants
export const SET_PROJECT = "SET_PROJECT";
//action creator
export const setProject = (project) => ({
type: SET_PROJECT,
project,
});
//initial State
const initialState = {
project: {},
};
//reducer
export default function projectReducer(state = initialState, action) {
switch (act... | 1147317040380ace202b6d5f975d50034cbcda12 | [
"JavaScript",
"Markdown"
] | 23 | JavaScript | 2103-team-Earth/eARth2 | 5f300c8281c1571fb00a7c52e51490f93de9c190 | 579ea2d5f5f9280911719b28b82ad79a2461979e |
refs/heads/master | <repo_name>msw1998/Car-Game<file_sep>/game.py
import pygame
import time, random
pygame.init()
pygame.mixer.init() #initializing mixer for music
display_width = 1200 #setting up window width and height
display_height = 700
black = (0, 0, 0)
white = (255, 255, 255)
red = (255, 0, 0)
light_red = (200,0,0)
... | 34734fa11acd65674105861e9928b7ac67027ff0 | [
"Python"
] | 1 | Python | msw1998/Car-Game | bbcdfd1c4fbd0db5b55f4ecd8b29be7c69affea7 | a02d4b845d5ad102e7eb5b6cde75f53d33040a73 |
refs/heads/main | <repo_name>shubhamkumarsinha25/Array<file_sep>/count_no_of_uniqu_element.cpp
class Solution{
public:
//Complete this function
//Function to return the count of non-repeated elements in the array.
int countNonRepeated(int arr[], int n)
{
//Your code here
unordered_map <int,int>m;
... | 1a4cf3d16ce7f295a96bb751802695198c9103c5 | [
"C++"
] | 18 | C++ | shubhamkumarsinha25/Array | d0d1215613b0606cd778bf8e046270aae8e3fb05 | 0e24f1d70d12c9e38b571f74dc5ad093cc605493 |
refs/heads/master | <file_sep>const generateQuotationHtml = ({ title }: { title: string }) => `
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>${title} PDF</title>
<style>
html,
body {
background-color: ... | 5cede4f3c14ffa2d2c2ad3e3443587016f52a7f5 | [
"Markdown",
"TypeScript"
] | 5 | TypeScript | andy770921/next-html-to-pdf | 30146c3a167082bc63a4102054c72f0140a649bd | 986cbbf108fde8346c96ede160d8ed226f820952 |
refs/heads/main | <file_sep>import card_data from '../data/card-data.json'
import bg_desktop from '../assets/bg_desktop.jpg'
import bg_mobile from '../assets/bg_mobile.jpg'
import React from "react";
import Card from "../components/Card";
import Grid from "@material-ui/core/Grid";
import {useStyles} from "./landing_styles";
import {
... | 1f9b8f15debe5a1038027de86561330738273859 | [
"JavaScript"
] | 3 | JavaScript | danpoletaev/test_task | e522c6138963f014e5923bffd953f778ef0ae934 | f2f2fb887e368ee59d8b95df8f8bb2a290eb9342 |
refs/heads/master | <file_sep>package com.yitu.sturnus;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SturnusApplication {
public static void main(String[] args) {
SpringApplication.run(SturnusApplication.class, args);
... | 3197b19eb0dc1472494be2d25c297731bb22f579 | [
"YAML",
"Markdown",
"Java",
"Dockerfile",
"Shell"
] | 9 | Java | Draymonders/RedisTimeOutResearch | 8b97abf3e9501af6991f277b97630d93d642dc82 | d0e1cea0696e56f9985da2ff983b52317b448988 |
refs/heads/master | <file_sep>using UAHub;
namespace UAHub.Views
{
public sealed partial class Section1ListPage : PageBase
{
}
}
<file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AppStudio.Common;
using AppStudio.Common.Actions;
using AppStudio.Common.Commands;
us... | 7390496a3db9dae1ad28cfa656e6c643ce7e541b | [
"Markdown",
"C#"
] | 8 | C# | glebanych/ua-hub-windows | e1ee0b1aab3be37902c6c1489dfcf31f5aa61ca8 | 30e5b56e248290ef4d33994cc2bd6e24280e5dbc |
refs/heads/master | <repo_name>WildcatGames/FirstGame<file_sep>/Block.cs
using System;
using System.Drawing;
namespace FirstGame{
class Block{
//Static Variables
readonly private static int EdgeSize = 100;
//Properties
public Color Col{ get; private set; }
public int Value{ get; private set; }... | 9021925bd431bc185858d6e1282ebbd9beb53676 | [
"C#"
] | 1 | C# | WildcatGames/FirstGame | 1757fd598e0191124f77ac06add873ea438be8de | 5bd474cac7b2397cf63aa9d8e7026d00c184cd65 |
refs/heads/master | <repo_name>PunchGrey/4kube<file_sep>/fortune/Dockerfile
FROM alpine:latest
RUN apk add fortune
ADD start.sh /bin/start.sh
ENTRYPOINT /bin/start.sh<file_sep>/test/note.sh
# переключение namespace
sudo kubectl config set-context $(sudo kubectl config current-context) --namespace NAME_SPACE
# удаление pod используя label
... | bb50b790337e3747a6e4031abca8792b795be36f | [
"Dockerfile",
"Shell"
] | 3 | Dockerfile | PunchGrey/4kube | 614e67091236a079661d93529e9b3258f35a5bea | 4a291e38af24cc3ff357b9be481ca2a5267fbae1 |
refs/heads/master | <file_sep>//
// recentMessageViewController.swift
// Text Back App (Free)
//
// Created by <NAME> on 2/25/18.
// Copyright © 2018 Hackintosh. All rights reserved.
//
import UIKit
var userMessages: [String] = ["this is message 1", "this is message 2","this is message 3","this is message 4","this is message 5","thi... | 1f4e99459907bc768c88dc570825ef3268a8a0c0 | [
"Swift"
] | 3 | Swift | kendallryanlewis/Text-Back-App-Free- | 786faa0d3ecd264366df47064b58badee343df71 | 3531e67e67f23082f0153b20bf2762034a6034af |
refs/heads/main | <file_sep># This code is made by using the on-line library for Ultrasonic sensor and servo motor.
# For the Ultrasonic senor, it is modified by using the pigpio library.
import time
import pigpio
import subprocess
import math
import numpy as np
class Ultraservo:
"""
This class encapsulates a type of ac... | f06d29238ae2b95cfedf0d999caf1c482fed0c5a | [
"Python"
] | 3 | Python | hjw0903/Obstacle_Detection | 423d38baddd4441d2afd6b7100d088b542a0e785 | e8ce36eb7dae772bf0a54b3431ad0fd3d95fe3a2 |
refs/heads/master | <file_sep>const express = require('express');
const bodyParser = require('body-parser');
const cookieParser = require('cookie-parser');
const mongoose = require('mongoose');
const config = require('./config/key');
const { User } = require('./models/user');
const user = require('./models/user');
const auth = require('.... | 3cf0234a0639ba8db9d841a66c5ca33338af6458 | [
"JavaScript"
] | 1 | JavaScript | AhsanRaza007/react-blog | bddec7d1bcecea296b64d91e50133ca3f879f5ff | a257a0935af15f604cb52e8371182f5441283494 |
refs/heads/master | <file_sep>module.exports = {
publicPath: './',
pages: {
index: {
entry: 'src/main.js',
title: '设计', //放要改的title名
},
},
css: {
loaderOptions: {
postcss: {
plugins: [
require('postcss-pxtorem')({
// 换算的基数 默认为37.5,一般不建议修改它,使用vant ui框架中也是默认37.5
... | 948501a3556be06cf2319c339ae2a09604480786 | [
"JavaScript"
] | 1 | JavaScript | x-y-c-king/st | 5f38c2047fea1fa4480403d9b0110ec6b0d6012e | 86c7b3e996c0b64fd417550446f7f7af4868ea07 |
refs/heads/master | <repo_name>JohanBeekers/video-library<file_sep>/src/app/providers/settings.service.ts
import { Injectable } from "@angular/core";
import { ElectronService } from "./electron.service";
import * as path from "path";
interface Settings {
movieDirectory: string;
seriesDirectory: string;
theme: string;
movi... | f51f5a28749b88ddd106e12df45736786f186f51 | [
"Markdown",
"TypeScript"
] | 15 | TypeScript | JohanBeekers/video-library | 875f60481e18a012165372a31618137abb198c6a | 1b837130b477a417d07fb4e6944b510167af250b |
refs/heads/master | <repo_name>Kailneg/juego2d<file_sep>/Juego2D/src/graficos/HojaSprites.java
package graficos;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
public class HojaSprites {
//Atributos
private final int ANCHO;
private final int ALTO;
private final String RUT... | 2547c72dca31e9af8f424467d5e8e8bdad54e906 | [
"Java"
] | 3 | Java | Kailneg/juego2d | eecbd26dbdbf1a09d90649f20b20aff61f0118ba | 97a58410c311f88ef84efe61d0ee231b4dafcc9b |
refs/heads/master | <repo_name>gucchi43/kaosouou<file_sep>/KaoSouou/TOP/SplashViewController.swift
//
// SplashViewController.swift
// KaoSouou
//
// Created by <NAME> on 2018/05/20.
// Copyright © 2018年 <NAME>. All rights reserved.
//
import UIKit
import Firebase
class SplashViewController: UIViewController {
override func vie... | efa08a054809f34988cc0d0415244a65d53a1e24 | [
"Swift",
"Ruby"
] | 33 | Swift | gucchi43/kaosouou | e9d9af12aca80ad5e8dfc5d0148998dbfcf9f694 | a74d572dea447b6c939d3d6feb29d90b4c0168bf |
refs/heads/master | <repo_name>lutzkuen/cfdCarryInterest<file_sep>/app/src/main/java/com/example/interestcalculator/MainActivity.kt
package com.example.interestcalculator
import android.os.Bundle
import com.google.android.material.tabs.TabLayout
import androidx.viewpager.widget.ViewPager
import androidx.appcompat.app.AppCompatActivity
im... | 7a9d78fb43a97f0bcef212abf59b0e5391142154 | [
"Markdown",
"Kotlin"
] | 7 | Kotlin | lutzkuen/cfdCarryInterest | c4310b583cc9ab9a914045769e5a1588b45bba57 | 3a12e393bc49b36c3034e3fdfcf2ca0cafdccffc |
refs/heads/main | <repo_name>SnowyCocoon/AI_ML_Math_Projects<file_sep>/2. Monte Carlo Sock Prediction/Stock.py
#Based on https://www.youtube.com/watch?v=_T0l015ecK4
import pandas_datareader.data as web
import pandas as pd
import datetime as dt
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import style
style.use('g... | 7d5eb321fba2eb5c399da032f1a26750ee989c0b | [
"Markdown",
"Python"
] | 6 | Python | SnowyCocoon/AI_ML_Math_Projects | 632c0272fd3a4ecda4e70dee4993587c3d0ce139 | 6c6c948f332aff58f1c5351dd300982b4e8fad98 |
refs/heads/master | <file_sep>#!/bin/bash
INSTALLDIR="$HOME/.bin"
BINARYPATH="$INSTALLDIR/caddy"
VERSION=$1
if [ -z $VERSION ]; then
>&2 echo "usage: $0 VERSION"
exit 1
fi
URL="https://github.com/caddyserver/caddy/releases/download"
URL+="/v${VERSION}/caddy_${VERSION}_linux_amd64.tar.gz"
curl --location --silent $URL -o caddy.... | 1e969dc46c6ca0f2c8c044b561d19a67b9bc6fae | [
"Markdown",
"Shell"
] | 10 | Shell | aitva/dotfiles | 59f4671650578e75d2f14fd1600646e78a29f2c5 | c8a33a7af6203a33b19f0f753897395132f28eae |
refs/heads/master | <file_sep># Gramener-Case-Study
To understand how consumer attributes and loan attributes influence the tendency of default.
<file_sep>#Loading the Required packages
library(dplyr)
library(tidyr)
library(ggplot2)
library(scales)
#Loading the data file to be analysed
loan<-read.csv("loan.csv",stringsAsFactors = ... | 13f338d84a42779318b81900ce7127f3b2931efe | [
"Markdown",
"R"
] | 2 | Markdown | kumshivam1/Gramener-Case-Study | 33d2d15d9e6ee31cc3206b43398f6df2644737e1 | cb1206f472b615f6070668f95daede50a6f8dc89 |
refs/heads/master | <file_sep>var LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
var webpack = require('webpack');
module.exports = {
'module': {
'loaders': [{
'loader': 'babel',
'test': /\.js$/,
'exclude': /node_modules/,
'query': {
'plugins': ['lodash'],
'presets': ['es201... | 8c489b1ad96ed5b9e3a4698d400a0d8bce68210f | [
"JavaScript",
"Markdown"
] | 5 | JavaScript | towersxu/self-practce | 071dd9eae142c94f7ea06f8edd6b4e46c08ba43c | 10af6b7c9cfc8d624515db956451704448a506ef |
refs/heads/master | <file_sep># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' ... | 1ac3dec4ba1e24a40cd8549fa56802676e8c485e | [
"Ruby"
] | 1 | Ruby | michaellim92/rails-mister-cocktail | f6ce26edc77f5cf5d980d147089370b4bf123432 | 8d74f9e281620ee3e360320af3cacf65287c2dc5 |
refs/heads/master | <file_sep>"""
Weather API configuration details
"""
PORT = 8088
# Weather Underground API key
# https://www.wunderground.com/weather/api/
WU_API_URL_BASE = 'http://api.wunderground.com/api/'
WU_API_KEY = # TODO: add your API key here
# Open Weather Map API key
# https://openweathermap.org/api
OWM_API_URL_BASE = 'ht... | f18d3a9d04a7a6fe2a41006653c356170e50490f | [
"Python"
] | 2 | Python | AniFichadia/lucida | 9c19cbdfbd103bd224755258fef09b18c5f4ea4a | 88b11635b2863ed4f0229c2e3a58319b87762966 |
refs/heads/master | <file_sep>require 'rho/rhocontroller'
require 'helpers/browser_helper'
class ThemepageController < Rho::RhoController
include BrowserHelper
# GET /Themepage
def index
@themepages = Themepage.find(:all)
render :back => '/app'
end
# GET /Themepage/{1}
def show
@themepage = Themepa... | ad5ddaa885bad9442665885613a3da92533d5d0b | [
"Ruby"
] | 4 | Ruby | spritle/rhodes_samples | 1d9a1d758f37b7d93a3074f221a782c847323144 | 2a504c50fa40e765379b5e0828bfe1dba51dfdb7 |
refs/heads/master | <file_sep>console.log("akash");
function check(){
var isEmpty = false;
var fname = document.getElementById("validationCustom01").value,
lname = document.getElementById("validationCustom02").value,
email = document.getElementById("validationCustomUsername").value,
city = document.getE... | f210b68ddf066d2e1493712b8454e3b59fd534d6 | [
"JavaScript"
] | 1 | JavaScript | akashgarg1999/open | 60310eece070c72b928e328d658f872ef6f5bb93 | d48e18128b4b887792a483a579d27b9d6fd3959d |
refs/heads/master | <repo_name>LucaMantani/UFO_models<file_sep>/DMsimp_t/DMsimp_t_f3_LO/parameters.py
# This file was automatically created by FeynRules 2.3.29
# Mathematica version: 11.2.0 for Mac OS X x86 (64-bit) (September 11, 2017)
# Date: Tue 12 Mar 2019 11:12:13
from object_library import all_parameters, Parameter
from functio... | c8ff93320787dadcde159556464133c8829c0137 | [
"Python"
] | 7 | Python | LucaMantani/UFO_models | cd43c88afc32a85ebd1eaa82942079d2a5a9564b | 13c1216b663ad437847407699a32f9af6e0463ae |
refs/heads/main | <repo_name>Darkvod/JAVA-Multithread-Echo-Client-Server<file_sep>/Procesory.java
/**
* Klasa Procesory - Klasa przechowująca dane dotyczące Procesorów CPU i GPU.
* @author <NAME>, <NAME>
*/
public class Procesory extends Podzespoly_Komputerowe {
/** Zmienna która będzie przechowywać czestotliwość zegara ... | 156bd44bcdabd18dcfaa72dc4ae305bafd517456 | [
"Markdown",
"Java"
] | 6 | Java | Darkvod/JAVA-Multithread-Echo-Client-Server | a93a9731582d83c506d3fb2d6898bb51bff35168 | 8e549d5683160f26da36fc4add1f7125bf71ac57 |
refs/heads/master | <file_sep># cppSimpleWindow
A basic window application in C++
<file_sep>#include <windows.h>
//Store the name of the window class
const char className[] = "windowClass";
//The Window Procedure
//This is where the messages are received from the message loop
LRESULT CALLBACK WndProc(HWND windowHandler, UINT msg... | 0e8170bdb1ea6cc05ec9740f720f66c61867bc03 | [
"Markdown",
"C++"
] | 2 | Markdown | Code-Diamond/cppSimpleWindow | db697090773a7c715eddc2575e428f8ad67dfb94 | 41d03f39a72a217bc4294ed88a9c20c1e946d0e7 |
refs/heads/main | <file_sep>kubectl get nodes
curl -O https://raw.githubusercontent.com/Azure-Samples/azure-voting-app-redis/master/azure-vote-all-in-one-redis.yaml
kubectl create -f azure-vote-all-in-one-redis.yaml
kubectl get pods
kubectl get svc<file_sep># Parcial 2
Iniciar el cluster
```
az aks start --name parcial2 --resource-group... | 1d8e36867e54f803dca71ed41fb907da9da55ce7 | [
"Markdown",
"Shell"
] | 5 | Shell | groloboy/parcial2 | 3fe5bc2e1e58aea6ab2420ba112a8a873306517c | 840750af51a8cc63eb0b443bebf3339a4217922c |
refs/heads/master | <repo_name>Emilana/group_project<file_sep>/index.html
<!doctype html>
<html>
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136071988-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config... | 3f1ceaf748f73640c2d458987b401bd2b8053d53 | [
"JavaScript",
"HTML"
] | 2 | HTML | Emilana/group_project | 01268cc782c78413ad5ffe11ae366aafb9fbeec0 | 22d2742ca1320123eb6de1b8854c37bc484f77b2 |
refs/heads/master | <file_sep>
//Global
let comedy = ['<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>', '<NAME>'];
let stillImg = "";
let animateImg = "";
let stillGif = "";
let animateGif = "";
//Create buttons from comedy array using for loop
let createButtons = function () {
for (let i = 0; i < comedy.length; i... | 2efd1d4553cbace4556cc818fa143a4b48cdc72e | [
"JavaScript"
] | 1 | JavaScript | cliftonbnoble/GifTastic | 71e13877ba2467b7a7569744663267e8e0c5f461 | 32a9566cae31daad1ab7ae8bffb8e1cfd1cb1088 |
refs/heads/master | <file_sep>package com.konzil.intelligence.deploy.config.web;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servle... | 48151bb0a38a893b2ac500e1d72f5feb982020a8 | [
"Java"
] | 1 | Java | konzilmxp/intelligence-deploy | 0f51bf1318cf36fd4d8b4a929bbd2976d0197849 | 8454d9f5e03959955ff3a72cb8d33f36b6a95907 |
refs/heads/master | <repo_name>jhpfraser/fu_raid_tool<file_sep>/RaidUpload/FuEQ.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
using System.Windows;
namespace RaidUtil
{
// this class contains stuff to do with eq, like ... | 3c7f757cc65d7113e3a047bea5ea91de3e0f2b9b | [
"C#",
"Text"
] | 9 | C# | jhpfraser/fu_raid_tool | 65ffe30ddb760e780e8e40d27a9308a376474fb5 | 6a3c088c5698764de825341f589b358e799ee790 |
refs/heads/master | <file_sep>import { SecureStore } from "expo";
const auth0ClientId = "<KEY>";
const auth0Domain = "https://zombie-qr.auth0.com";
const audience = "https://www.zombie-qr-api.com";
const auth0ClientSecret =
"<KEY>";
const login = async (username, password) => {
const data = {
method: "POST",
body: JSON.stri... | 2207e1be3a08e30b505a3595977334a8994126a3 | [
"JavaScript"
] | 11 | JavaScript | Team-z-url/zqr | 2f139b21087fa5d4b5e2e06ffb170a4e5d7487ee | 4c12f18d5151740bf451f007eacaca0553e0ef73 |
refs/heads/master | <file_sep>//We're going to create the JS for a basic quiz application.
//Let's think about the nature of this quiz app first. We're going to be creating lots of user objects, and we're
//also going to be creating lots of Question objects. Those would make two perfectly good constructors.
//Create a User constructor... | 305002ebb1f4b0acd660e7cc9206f22d9b1132f5 | [
"JavaScript"
] | 2 | JavaScript | briknelson/ConstructorConductor | 7fad93f18165713c0df30c42c3a5a2af49b2644f | d9becf40fca7870ed78f9ff54c1df26d37bb2bc9 |
refs/heads/master | <file_sep>using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class VSModeManager : MonoBehaviour
{
byte win_or_lose = 0; //1이면 win, 2면 lose
public static VSModeManager instance;
byte loser_ID;
public RawImage winner_image;
public RawImage lo... | dbd26fe9facebf25c2b173dbfc9bf1682bd9bae8 | [
"C#",
"Text",
"C++"
] | 113 | C# | RRE1012/Turtle_Bomb | d7996b761e5fc4a20706cc5aee1b9f0226fa6157 | 0cb2c8c7c00793ad17599544fbdd9878b79c133b |
refs/heads/master | <file_sep># RFID based Attendance Managment System
Attendance needs to be taken at various places including colleges, school for students and in the industries for the login/logout time. Radio Frequency Identification (RFID) based attendance management system can be used in any college or university or company.Main obj... | 1afb57b5f57aa426a7680d20400f2fbd80902aad | [
"Markdown",
"C++"
] | 2 | Markdown | abhignas/rfid | 7591488f8526fb15497904c32ef3d39af75f3b59 | ba0d10bb021333a3dddb8279059142087f330213 |
refs/heads/master | <repo_name>Carnival-Corpse/ProgramacionAvanzada2019-2<file_sep>/src/programacionavanzada2019/pkg2/ProgramacionAvanzada20192.java
/*
* 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.
*/
p... | 4495e2af60e0835fe108037273e6cca3bb9fbe2a | [
"Java"
] | 2 | Java | Carnival-Corpse/ProgramacionAvanzada2019-2 | 1ae2a57cbb3abe8c9e5e57aa6b272e42c31f8f1d | 9ed9b2b3681a6eb990a4ad53f174246b448c5773 |
refs/heads/master | <repo_name>sa616473/ML_Bootcamp<file_sep>/excersices/excersice_Panda.py
import numpy as np
import pandas as pd
df = pd.read_csv('Refactored_Py_DS_ML_Bootcamp-master/04-Pandas-Exercises/Salaries.csv')
# print df.head()
df.to_csv('test.csv', index = False)
print df.info()
# in order to get the average of one ... | 96f61aab1b992a1643abe8e5440bcd04aa0d920f | [
"Markdown",
"Python"
] | 14 | Python | sa616473/ML_Bootcamp | c52e3c18dc971e448e3634ec54f95593ad197ea8 | c4d689784843a6308863861e9dca882374bd303b |
refs/heads/master | <file_sep>import React from 'react';
import './Title.css';
const Title = props => (
<h1 className="title">
<img id="title-image"
className="title__image"
src="../../images/curious-george-logo.png"
alt="curious-george"
/>
{" "}{props.children}
</h1>
);
export default Title;
| 343b4ade3f6dc847dddc28fee0958a7875e44e2f | [
"JavaScript"
] | 1 | JavaScript | Anri1214/clicky-game | 6b7505c8b020adf0f3a259236629f98da9527073 | 9b20f8a9b2d86ff19f56704e5c81d494350913d8 |
refs/heads/master | <file_sep><?php
namespace LunarPHP;
/**
*
* 自动载入函数
* User: ljy
* Date: 17-08-18
*/
class Autoloader
{
const NAMESPACE_PREFIX = 'LunarPHP\\';
public static function register()
{
spl_autoload_register(array(new self, 'autoload'));
}
/**
* 根据类名载入所在文件
*/
public static func... | 2893c572edb7c020e6617ab883d73a3fba03161f | [
"Markdown",
"PHP"
] | 11 | PHP | zunyinet/lunarPHP | 32f1ba295cdd2eb1d5d7f7ba0a68e5c0b2805d29 | d0da707d1dcd988246eb9c4e0f2961a2739c72d1 |
refs/heads/master | <repo_name>IcQsang/test<file_sep>/report_me.php
<?php
include("conend/mysqlconend.php");
$sql = "SELECT * FROM poly";
$result = mysqli_query($conn, $sql);
if (mysqli_num_rows($result) > 0) {
// output data of each row
while($row = mysqli_fetch_assoc($result)) {
echo "userid: " . $row["userid"]. " - Na... | 7b893f288772fdf55a4ea00cf90d89de8be545f7 | [
"PHP"
] | 1 | PHP | IcQsang/test | 728cd01e6de98a4eff66298faa908a4c27eec357 | ff5f6d0dc25a7ef799eee7402dc493e462e75ff7 |
refs/heads/master | <file_sep>//
// ModuleB.swift
// ModuleB
//
// Created by <NAME> on 11.06.15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
import Foundation
import Alamofire
import SwiftyJSON
private let message = "Hello, here's module B!"
public func computeMessageB(completion: (String) -> Void) {
Alamofire.r... | 7737013ac23e69467b38360731aae0a980f0070d | [
"Swift"
] | 3 | Swift | ulid000/frmwrks | 59ba293049845470c3e6a73adb7221b1ec96c318 | b9bdedb347ab6fc61c83257d32d410ba1b5d44b1 |
refs/heads/master | <repo_name>saltefishcong/springTest<file_sep>/src/com/springTest/junit/Test.java
package com.springTest.junit;
import org.aopalliance.intercept.MethodInterceptor;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.springframework.aop.AfterAdvice;
import org.springframewo... | 8b61d1d0448165d4b00b2d71a635be833b6530e2 | [
"Java"
] | 3 | Java | saltefishcong/springTest | 07c92b560269205f438a7eb99179d7b4717c9832 | 7f15292d7028e919f9e0f6d32b54fa714bf68bef |
refs/heads/master | <repo_name>mendaxfz/masters-thesis<file_sep>/mastersRun_chunking10e4_white_i.py
# Master's Thesis iPython Notebook scripts to run
import numpy as np
from pylab import *
from scipy import *
from matplotlib import *
import datetime
import pickle
from mastersFunctions import *
from emailing import *
try:
stim_type... | 817f834e1ca21d3aea90ed4927a6e2bf6c5f167a | [
"Markdown",
"Python",
"Shell"
] | 6 | Python | mendaxfz/masters-thesis | 91e131dc103d26d3caef82909f407b87e578735c | 8a88702e7fe3037421944839c760f7a67a8e5a61 |
refs/heads/master | <repo_name>shsun/AndroidServiceDemo<file_sep>/ServiceDemo/src/com/example/bind/PlayBindMusicActivity.java
package com.example.bind;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.... | 1ebfc53d032644caf848e42013faa4607c7bc196 | [
"Markdown",
"Java"
] | 4 | Java | shsun/AndroidServiceDemo | ab4c8f66deddadcab3d21d56a36c75eaefbcff5f | fdd447b51517a269e77e6d75b394a1d88df2aa6b |
refs/heads/master | <file_sep>
# Vue Dynamic Forms
<p align="center">
<a href="https://www.npmjs.com/package/@asigloo/vue-dynamic-forms">
<img src="https://badgen.net/npm/v/@asigloo/vue... | 7c926b8e218821b2ae00c2e9f84bd037003d20fb | [
"Markdown",
"JavaScript"
] | 3 | Markdown | alvarosaburido/vue-dynamic-forms | 4ffd8c01e8e6da0e1459b59e9493d564720768c3 | 112b0de288f0174b37dba64b1bb61b357b8aa8f1 |
refs/heads/master | <repo_name>xiaoyaolong/Book-Manage-System<file_sep>/src/com0619/Book_Add_Dialog.java
package com0619;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class Book_Add_Dialog extends JDialog implements ActionListener
{
// Define the window cont... | 2a54df9a3bd89c730f41d28a0544a87ebb918949 | [
"Java",
"SQL"
] | 4 | Java | xiaoyaolong/Book-Manage-System | e8514a15dc46b6c7c5b6b80d8a93910618b0f3c3 | 44ae90dcfeb870be6fca2d49e497dd0fff30ca2c |
refs/heads/master | <file_sep>class User < ActiveRecord::Base
has_and_belongs_to_many :stores
has_many :comments
has_many :posts
has_many :upvotes
has_secure_password
def self.search(search)
@split_search = search.split(' ')
@search_fname = @split_search.first
@search_lname = @split_search.last
where("first_n... | 9eb12ce6302203d564b19137521ad87988b96edb | [
"Ruby"
] | 9 | Ruby | smithopher/vape_app | 90f815f25b0036e6bd995477fe12c5a02b8c492d | 195c0e374e9b5ac5b8222a3f6bb8cf5dd6355053 |
refs/heads/master | <repo_name>vbashur/accounting<file_sep>/settings.gradle
rootProject.name = 'accounting'
include 'acceptanceTest'
<file_sep>/acceptanceTest/gradle.properties
logbackVersion=1.2.3
jUnitVersion=5.4.2
cucumberVersion=4.8.0
<file_sep>/docker-compose.yml
version: '3.7'
services:
accounting:
build:
context: .
... | 6be1ae789d7762e469675356cd267d441c7d14ee | [
"YAML",
"INI",
"Gradle",
"Java",
"Dockerfile",
"Shell"
] | 12 | Gradle | vbashur/accounting | 0de559ee63adc01728997e6e1c571a06704faec1 | 9c84c66d8c435a2f46e3679afdc523f5433e5b22 |
refs/heads/master | <file_sep>#encoding=latin-1
#empiezo el approach por LSH
#DATASETS=== http://jmcauley.ucsd.edu/data/amazon/links.html
#https://nickgrattan.wordpress.com/2014/03/03/lsh-for-finding-similar-documents-from-a-large-number-of-documents-in-c/
#https://github.com/chrisjmccormick/MinHash/blob/master/runMinHashExample.py
import... | cd36d542a09d89c4f2ef37eba61e6d19e887adea | [
"Python"
] | 8 | Python | estanislaoledesma/orga-datos | 4dae9dbc35c7120310098776181fff83165a2d7d | 00ed0ce81ac04becf152047b94859ee46cdb674b |
refs/heads/master | <repo_name>kotouch/WPFMouseGameboi<file_sep>/WPFMouseGame/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Syst... | 4be59f6473712b01d2fa94dc2133f095a9c4a2a1 | [
"C#"
] | 1 | C# | kotouch/WPFMouseGameboi | 7c5e2036ba75855c3b4b0d73c2ad1ac62cc96a74 | 708b732144dcd73b70028d89ea8545e613ebed6a |
refs/heads/master | <file_sep>.. _examples-page:
Examples
********
Reading and plotting ASCAT H25 data from netCDF format
======================================================
This Example script reads and plots ASCAT H25 SSM data with different masking options
and also converts the data to absolute values using the included porosity ... | 6e119883dddccbdc143638aed6aec36cddd5627a | [
"Python",
"reStructuredText"
] | 6 | reStructuredText | fFasccetti/pytesmo | 393a432d09d5c89a0a6bce5abd6c623f2a3456c3 | 20ce615ee5ee2abb2a0b25dcfff8015e06e4b7ea |
refs/heads/master | <repo_name>evantzhao/nlp-ner-analysis<file_sep>/src/emission.py
from collections import Counter
from typing import Dict
from typing import List
from constants import Constants
class EmissionMatrix:
def __init__(
self,
token_stream: List[str],
tag_stream: List[str]
) -> None:
... | 8603011bd7ab65b8f55aabdb17eff636fc1bdff7 | [
"Markdown",
"Python"
] | 10 | Python | evantzhao/nlp-ner-analysis | ddc032c88990ea0f28cb500c5fc487c5e8765569 | 0a4f3d4747ac2c1cc50d22ea03c88c1bf1c96ece |
refs/heads/master | <repo_name>ErnaOudman/ProgrammingAssignment2<file_sep>/cachematrix.R
## Matrix inversions might be computational differnt, especially with
## large matrices. These functions will cache the inverse when it has been
## computed. Every time it will check beforehand if the matrix
## has been inverted before. If so, the in... | 93d603ac027386aa2a8c1d2b9a53e3d792e542a9 | [
"R"
] | 1 | R | ErnaOudman/ProgrammingAssignment2 | 8527c7ab3491183f8398ee3c8014eb1b9f3d7c57 | 1f6795de12be9abc40782adea1f507f4cf4c18f1 |
refs/heads/master | <file_sep># daily-code
Daily code exercises
<file_sep># frozen_string_literal: true
# Given an array of integers, return a new array such that each element at
# index i of the new array is the product of all the numbers in the original
# array except the one at i.
# For example, if our input was [1, 2, 3, 4, 5], the ... | 4af459cecf0a3773d70c44147340b05e706f9866 | [
"Markdown",
"Ruby"
] | 4 | Markdown | acsalcedo/daily-code | 8a4b276b8d0f4ef3ed5600c880ddf719802420ae | 4ff4a5bf02c70e38f0c436a26f413c52e7384e19 |
refs/heads/master | <repo_name>agilesdesign/exceptum<file_sep>/src/Exceptum/Foundation/Exceptions/Handler.php
<?php
namespace Exceptum\Foundation\Exceptions;
use Exception;
use Exceptum\Facades\Exceptum;
use App\Exceptions\Handler as LaravelHandler;
class Handler extends LaravelHandler
{
/**
* Render an exception into an HTTP respon... | e9dfadfd4238f67871d0039540820edaf74ceb2e | [
"Markdown",
"PHP"
] | 7 | PHP | agilesdesign/exceptum | b986e9be971145cc4cc2b69c1e40e5ed9a5848d5 | 163c681fc21cb4036765dc1a26a51232d4ebf49a |
refs/heads/master | <file_sep>require 'rails_helper'
RSpec.describe User, type: :model do
it { should validate_presence_of(:username) }
it { should validate_presence_of(:password_digest) }
it { should validate_length_of(:password).is_at_least(6) }
it { should have_many(:goals) }
it "creates a password digest" do
User.cre... | 9a726374fab67d64834b1cbeaa7628bb7942f27e | [
"JavaScript",
"SQL",
"Ruby"
] | 101 | Ruby | dischorde/app-academy-coursework | dc78fd2cc8a2e262d16758072b3d1a5f9f9c71bb | b42f5dbe2031880471152c816b5af3a198d61fac |
refs/heads/master | <file_sep>package com.example.groupprojectt_06;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowMan... | bfbeaac0657ccc0eb51100e1d2a7594a67b8f063 | [
"Java",
"Gradle"
] | 3 | Java | akadarshan/GroupProjectT-06 | 392f75cca7c112d455b945328c93834094763a49 | f5778b2f573d96222139f076cd15540109c38bd1 |
refs/heads/master | <repo_name>samm007aqp/grafica<file_sep>/main.py
import os
import urllib.request
from flask import Flask, render_template, request , redirect, url_for
from werkzeug.utils import secure_filename
import two as ope
#import cv2
#import math
app=Flask(__name__)
posts = [
{
'author':'<NAME>',
'title': 'Blog Post 1',
... | 783f4d667a3cfe42e2d46b68040f7ea855717249 | [
"Python"
] | 2 | Python | samm007aqp/grafica | a2194cf072a24664be76ed73a189e12792fc7ec5 | 5165ea439ffea3eb84ea5022e10ad151a4e1055e |
refs/heads/master | <repo_name>Takashiidobe/learnPythonTheHardWayZedShaw<file_sep>/ex15.py
#imports from the system arguments
from sys import argv
#the script is always the first arg, and then the filename is the second
script, filename = argv
#simplifies the open(filename) command
txt = open(filename)
#a little line that says what we... | 7db2ff6c164bda9b4179f6314592a85020fb372d | [
"Python"
] | 16 | Python | Takashiidobe/learnPythonTheHardWayZedShaw | cb73e9079c2b93221ed1857801ad6be6d0ee2615 | 5e124bf9004a0d7d00f6b2cfd2d5df1f231da662 |
refs/heads/main | <repo_name>pawinhon1/chapter7<file_sep>/01_mysql_con_obj.php
<?php
$servername = "localhost";
$username = "username";
$password = "<PASSWORD>";
// สร้างการเชื่อมต่อ
$conn = new mysqli($servername, $username, $password);
// เช็คสถานะการเชื่อมต่อ
if ($conn->connect_error) {
die("Connection failed: " . $con... | e7d178ae954f39ab0058ac8a79a81072d3ede376 | [
"PHP"
] | 2 | PHP | pawinhon1/chapter7 | d66bfced7d2a7b52b6d00a61d7efd4cd4bef5f86 | e4fc2490574743ea681c52124ed631fdadb3b2e1 |
refs/heads/master | <file_sep>import React, { Component } from 'react';
import _ from 'lodash'
import { Grid, Jumbotron, Button, Row, Col, Panel, ButtonToolbar, ToggleButtonGroup, ToggleButton } from 'react-bootstrap';
import './App.css';
import Api from '../utils/Api';
import Summon from '../utils/Summon';
import Dropdown from './Dropdow... | 8578bbaad3c0f1ecb44191b40a81677e3f2c7b72 | [
"JavaScript"
] | 2 | JavaScript | atjohns2/DokkanSummonSimulator | 14ae7576448e016a129b21eda6655638d95f539d | d9f386e8b0bf6c31ea877ccaab5b062d75374ae1 |
refs/heads/master | <file_sep>package com.iot.login.controller;
import com.iot.login.common.ResultVo;
import com.iot.login.request.UserLoginRequest;
import com.iot.login.service.UserLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.BindingResult;
import org.springframework.... | 475a5f59332eaed90b15c0dd55c3cc8f9768a690 | [
"Java"
] | 2 | Java | iot2020lxq/login | 4a654773d274f123ab847c0e299e1bb668834f8c | eb212713a7940c4ab8b604efb723b1b6311e2465 |
refs/heads/master | <file_sep># Условие
* Сформировать готовый для установки deb-пакет со скомпилированной программой и выложить его в репозиторий.
* Прислать ссылку на репозиторий в github и ссылку на репозиторий с пакетом.
# Будет здорово, но не обязательно:
* Добавить версионность в пакет и сообщение.
* Запустить на этапе сборки тесты... | 3309ae4937e5c1269a3a0c2ac25960e4b14bb639 | [
"Markdown",
"CMake",
"C++"
] | 5 | Markdown | malegkin/helloworld | bda91103a535930679da669c22f0d048ca5d0e6d | b2945bdaec94f860c9fa4011a84b1f5586679d01 |
refs/heads/master | <repo_name>anandanand84/server-timing<file_sep>/index.js
const http = require('http');
function requestHandler(request, response) {
const headers = {
'Server-Timing' : `
sql-1=0.1; "MySQL lookup server",
sql-2=0.9; "MySql Shard Server",
fs=0.6; "File System",
... | 034b08d896e15a3e8bc55438cfd9f1d63b289cc5 | [
"JavaScript"
] | 1 | JavaScript | anandanand84/server-timing | 7e6fb133b7a3e251c50b0eae2338798dd7743702 | 1f8570e58b21b412822f05987aa7c3162de44390 |
refs/heads/master | <repo_name>Zacknero/LoadChildrenOutletSecondary<file_sep>/src/app/features/cars/services/car.resolver.ts
import { Injectable } from '@angular/core';
import { Resolve, ActivatedRouteSnapshot, RouterStateSnapshot, } from '@angular/router';
import { Observable } from 'rxjs';
import { CarsService } from './cars.service';
i... | cfc72b92a55b8a3dc31daf27604ec7f512106cd2 | [
"Markdown",
"TypeScript",
"HTML"
] | 17 | TypeScript | Zacknero/LoadChildrenOutletSecondary | ccef47fddb1be6177f25909ed93bb3e5e50e501d | cdb822ddb1e4f177fed3599556db75c408f492ee |
refs/heads/master | <repo_name>kridah/MLAI<file_sep>/øving uke 2/uke2_4.py
# Skriv en rekursiv funksjon som beregner lengden på
# en streng. Du kan ikke bruke len () -funksjonen
# mens du beregner lengden på strengen.
# Du må stole på funksjonen du skriver.
# Sett denne funksjonen i et program som ber
# brukeren om å legge inn en streng o... | 552df0df317f4482b1a1f74114cf867144780b87 | [
"Python"
] | 18 | Python | kridah/MLAI | dc71cbb3bd389768c9e9953ef455b9fb32179033 | be1b72ca4cb7e0da8931ff012b1ca29347022e0c |
refs/heads/master | <file_sep>package com.ulluna.frogforcescouting;
import android.animation.Animator;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.net.Uri;
import android.support.v7.app.ActionBarActi... | 2aef83d8bdf82d9407f6ebe3079bce092049248d | [
"Java"
] | 1 | Java | seriousbee/FrogForceScouting | 02b414c6bdcffcad699e514faf49cd8c836f4098 | 10cf4bf6bfcbebdef266777643e6f8f5394eb55e |
refs/heads/master | <file_sep>using Controle.Connection;
using Controle.Entity;
using System.Collections.Generic;
namespace Controle.Repository.DAO
{
public class FornecedorRepository : Base<Fornecedor>
{
public IList<Fornecedor> PesquisarPaginacao()
{
IList<Fornecedor> lista = new List<Fornecedor>()... | d133017d8a888b16a4e877f531c56197425831d4 | [
"C#"
] | 34 | C# | raulperesgoes/ExampleMVC | 6ca3d2b275879e7dc7ebd8fbee09f79b9267cc80 | b3fcb3506ad3d600d9a1c2f5f77b595eeeb1e25f |
refs/heads/master | <repo_name>minyul/careerdirection2<file_sep>/src/dto/outputDTO/index.ts
import { SignUpUserOutput } from "./SignUpUserOutput";
import { UpdateUserOutput } from "./UpdateUserOutput";
import { SignInUserOutput } from "./SignInUserOutput";
import { VerifyTokenOutput } from "./VerifyTokenOutput";
export {
SignUpUserOutp... | 7d713c40db31b24d98a1c413afd5c8ea6084ce05 | [
"Markdown",
"TypeScript"
] | 37 | TypeScript | minyul/careerdirection2 | 35b47d8854f956c044807155e0c37d67d3a1de10 | f07bb2f9c8b804e7cddcf2ee7174b5168c800050 |
refs/heads/master | <repo_name>farmafield-labs/django-forms-builder<file_sep>/forms_builder/forms/urls.py
from __future__ import unicode_literals
from django.urls import re_path
from forms_builder.forms import views
app_name="forms"
urlpatterns = [
re_path(r"(?P<slug>.*)/sent/$", views.form_sent, name="form_sent"),
re_path(r"(... | 2076bc2128e03409470e2ff2dea3093f7a1ea10c | [
"Python"
] | 1 | Python | farmafield-labs/django-forms-builder | 484886f3bbaafb28d4fe1709a6cd1604ca6ce69c | 07cd89d962f3a24f90e476835a52c1f321a2eb0e |
refs/heads/main | <file_sep>/*
This program was written by the FTC KTM #12529 team at the Polytechnic University in 2020.
@author <NAME>
*/
package org.firstinspires.ftc.teamcode.AutoOPs;
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.hardwa... | 395be485fbd2ce47c1a23dfac78919b24eabf878 | [
"Java"
] | 1 | Java | SaladQueeny/FTC_KTM_2020_2021_ExpansionHub_6_1 | c28ea24b9a8101d6aff0125eed3ae0ea5e3ffad3 | 38c8bce08f5779993ae201cc89c6070d696387e4 |
refs/heads/main | <file_sep># UTF-8
UTF-8 C++
Created and written in c++
Used as an university task for Computer architecture
<file_sep>#include <iostream>
#include <vector>
#include <algorithm>
#include <fstream>
#include <map>
#include <string>
#include <cmath>
using namespace std;
struct Duomenys
{
int desimtainis =... | c9d5c74b99389cc0a2318e973f1143377ab9b94f | [
"Markdown",
"C++"
] | 2 | Markdown | Jukis252/UTF-8 | 660d2b62655bf2d0b23c29e6d5dc9efb9ee7e679 | 2bafdf15066abf0f62740666df42d85ee698b74a |
refs/heads/master | <file_sep>import numpy as np
import pythran
import scipy
from scipy.interpolate import RBFInterpolator
np.random.seed(0)
num = 150
x = np.linspace(0, 1, num)
y = x[:, None]
image = x + y
# Destroy some values
mask = np.random.random(image.shape) > 0.7
image[mask] = np.nan
valid_mask = ~np.isnan(image)
coords = np.ar... | 84b06f8106e300e79884ef3114f32b1f10848765 | [
"Markdown",
"Python"
] | 4 | Python | Quansight-Labs/rbfi-benchmark | ac8d7714948eb261dc7ebd13aa3bdd7dbc5dbf8a | 2a0237dba7a07692133143530fda4cce9e14db47 |
refs/heads/master | <repo_name>jn-aman/minurl<file_sep>/README.md
# URL shortener
Check out the deployed version [here](http://komodo.us)!
## Description
This app offers reliable URL shortening as well as some random facts and photos of Komodo dragons. This feature is a simple way to make it stand out in the crowded world of URL shorte... | c7a0b4d001d2048701e0079b1e8c0d59879c5150 | [
"Markdown",
"JavaScript",
"Ruby"
] | 3 | Markdown | jn-aman/minurl | 43ac0202df8f8b1f251a9af1a6e5aafaa3263110 | 6bff14a41c856e6327e00a4d6a258f4cae60d6f6 |
refs/heads/master | <file_sep># PhDThesis
PhD Thesis in LaTeX
This is the readme file for the PhD Thesis.
It follows a template from Overleaf.
<file_sep>#!/bin/bash
mainpdf="main.pdf"
outpdf=$2
exec `pdftk $mainpdf cat $1 output $2`
echo "pdf file $2 extracted"
| b38168fa2c4236098ec62f8ab2d955dc13d7d113 | [
"Markdown",
"Shell"
] | 2 | Markdown | santiagocasas/PhDThesis | f6ecef3c1816772e181a8a51c265476f2f1f6d0d | 1cf2614cfa8bb647cf4cc91a33b4e588f65924cf |
refs/heads/master | <file_sep>这是java单例的设计模式的Demo
包含:饿汉式,懒汉式,线程同步式,静态内部类式,枚举式
<file_sep>package com.tronsis.singleton;
/**
* @author <EMAIL>
* @date 2016/6/23 17:47
* 懒汉式同步 双重校验锁
*/
public class SingletonSynchrony {
private static SingletonSynchrony instance = null;
private SingletonSynchrony(){}
public static SingletonSync... | b5f5b3d8efba871a994cb6cf9fb12f67a8bc1925 | [
"Java",
"Text"
] | 3 | Text | scofieldwenwen/DesignPatternSingleton | cbcbf0b0ebe85218b8d9c894a41ac6e23792275e | abe7f2937018d853fa4aa2e7bfcfb9f7714606ad |
refs/heads/master | <file_sep><?php
$conn = mysqli_connect('localhost','root','','desarrollatec');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<html lang="es">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Lista de Materias Cursadas</title>
<link rel="st... | fb87df0ad80ac150400bddfe3f2a732f8debb9ab | [
"SQL",
"PHP"
] | 4 | PHP | ArkhamBoy14/ProgressTecPruebas | 231aa6f482e47c4a68bed399fc9828bfd67fa2f6 | 87721e991a8bf4eea605147bb85980374feae4b1 |
refs/heads/master | <file_sep>package com.example.corvus.addressbook;
import android.app.ListActivity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuIt... | ff5fff9612841d51cd7511bbb04337e684989182 | [
"Java"
] | 2 | Java | decorvus/Addressbook | 3bc1fad60ff5ce10c9b877005d615551fd0b3a4e | 421e6543a2f789ad20a84c7338583cca84a9b1f1 |
refs/heads/master | <repo_name>minifyre/Colorblindly<file_sep>/script/colorblindListener.js
//Listeners for colorblind filter buttons
//Injects a javascript file on click event, the js file applies a filter to simulate colorblindness
/**
* get the selected filter on popup open
*/
window.onload = function () {
chrome.storage.local.g... | 3158e609c3a49e9681d0251d8b395f1638eed8a6 | [
"JavaScript"
] | 1 | JavaScript | minifyre/Colorblindly | 7c8c4c813022298c7a2e77675d590a714ada408d | 2e2caad01c859d03999cae04566bdfb0cd2f8a09 |
refs/heads/master | <file_sep>import json
from django.utils import timezone
from django.http import JsonResponse
from django.http import HttpResponse
from django.shortcuts import render
from django.views.decorators.csrf import csrf_exempt
from oauth2_provider.models import AccessToken
from django.conf import settings
from deploytodotask... | 32f0a41f6ef07e4d251fb860936737348b5d11a4 | [
"Python"
] | 1 | Python | ashishkharcheiuforks/btre_project | 7a9b77345a618f5aa526110c82fb50911d841080 | 3324a57c9d3044d548973af8de40324288791012 |
refs/heads/master | <file_sep>//============================================================================
// Name : managementsystem.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//=====================================================================... | aca8485d6db68318c5d1a6cad965ed19c2c57213 | [
"C++"
] | 1 | C++ | preetisha/src | 06d208be1100497d97b2286cf3b413bb739c2143 | b60650c3736b94ef5823ac0ad1651c1255a4e15c |
refs/heads/master | <repo_name>Rex-0x7CB/Memories_From_Childhood<file_sep>/Banking_App/README.md
# Banking_App
Just found this code from my childhood. A simple, CLI based, banking simulation application I developed as a kid. I was challenged by my computer teacher to develop an app 'that would work on our school LAN'. I didn't know anythi... | 4cc038b2937d43024be98f5f318d09b69f20ce0e | [
"Markdown",
"C++"
] | 7 | Markdown | Rex-0x7CB/Memories_From_Childhood | 33c6d5cd0683cd8899759c86b7603e89aff017d5 | a421b8eb94c1ee5627e89df6a8a12080034feafc |
refs/heads/master | <file_sep>/*!
\file calculator.h
\brief Заголовочный файл калькулятора
\author <NAME>
\version 1.0
\date Июль 2017
*/
#include <dirent.h>
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "operations.h"
/*!
* захардкоженый путь до динамических библиотек.make создастпапку.... | b86bdce7c3e5d078e70fe7945887caa4d94522d6 | [
"C",
"Makefile"
] | 8 | C | TsarVladislav/Shared-libraries-calculator | e135213b7ac77337b1a13c05fa046987701297bd | ea67b9db86fd433ddabd957b0b535138d39d9f7e |
refs/heads/master | <file_sep># Unity Preview Generator
This project/Unity Package is to generator thumbnails/previews/icons/sprites from 3D models in Unity. It has a Custom Editor for generating the texture and an in-game component that allows you to
create the sprites from a RenderTexture.
This is useful for many things including gen... | 6e91017ab113b7e1887faa2c785d65f3726b2e41 | [
"Markdown",
"C#",
"Shell"
] | 6 | Markdown | Super-Genius/UnityPreviewGenerator | 4c1b28c514bd76e72c0f02017bad8c4d7718aca3 | a2ab8bb55e6a43272b4b590fc7e0bb5587b6c676 |
refs/heads/master | <file_sep><?php if ( !defined('ABSPATH') ) {exit;}
/**
* Data structure exposer
*
* Displays the data structure for any supplied value
*
* @param mixed $var
* @access public
* @return string
*/
if ( ! function_exists('print_pre')) {
function print_pre($var, $return=false) {
$re... | 3e6d32a79eac9e957dabdff384ed2bd5288e14de | [
"Markdown",
"JavaScript",
"PHP"
] | 5 | PHP | graytech/gw-accordion-cat | e8f5a0b435285d5f0d4e924fec033edfb9e2af36 | bc356b7706ec94ff72f5d680c071590a2ac5276d |
refs/heads/master | <file_sep>package DbleLoop;
public class pattern4
{
public static void main(String[] args)
{
int i, a=1, j;
for(i=a; i<5; i++)
{
for(j=1;j<i; j++)
{
System.out.print(a +" ");
a++;
}
System.out.println(a);
a++;
}
}
}
<file_sep>package DbleLoop;
pub... | de53187421c9990e04da995e7fed9aeaf3b329fe | [
"Java"
] | 2 | Java | nrjsharma097/sharman | 95656452779729ad016139543b07f7ada4eb1ad7 | 2330a98251cd41351134cf89b64fbb6a0825f61a |
refs/heads/master | <file_sep># DevBoot API
> backend API for the DevBoot application which is a coding/development bootcamp directory website
## Usage
Rename "config/config.env.env to config/config.env and update the values/settings to your own
## Install Dependencies
```
npm install
```
## Run App
```
# Run in dev mode
npm run d... | 19b8def52bb9b58a515c639ac119453333da9be9 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | juleskulcsar/devboot-api | e0463c7ac4f4092b23f2dd3fe33066e13f6d0a35 | a6e1131a52c9f75a17cc09539ffaeb211e0a7238 |
refs/heads/master | <repo_name>ashishmohanty/tinyUrl<file_sep>/src/test/java/org/zycus/tinyurl/service/TinyUrlServiceImplTest.java
package org.zycus.tinyurl.service;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.M... | 206920b8c68d68641cb29b8c3405bf0b02ca1e64 | [
"Markdown",
"Java"
] | 7 | Java | ashishmohanty/tinyUrl | 461fed99ed0e515f0094b30532f50dc927bdf148 | 523883e5ed0d494810a5de83bdc88a529fb4c1d8 |
refs/heads/master | <repo_name>Anargts09/riot-weather-widget<file_sep>/README.md
# Riot Weather Widget
<file_sep>/js/main.js
var weatherIcons;
var cityNames;
var selected_c = 26;
function getLocalJson(){
fetch('src/icons.json').then(function(res) {
return res.json();
})
.then(function(data) {
weatherIcons = data;
riot.... | 98dca547a8aa764fbb0513c249f3dbb086739066 | [
"Markdown",
"JavaScript"
] | 2 | Markdown | Anargts09/riot-weather-widget | 8d11f38db4d4df8f6d7c12b5605fa82e52c41959 | 6e9f72a4ffe8a64c9abb14b633a3c8e1f70ac92f |
refs/heads/master | <file_sep>Este trabalho é sobre Dropdown<file_sep>ESTE É UM MODAL.<file_sep>function mudaImagem(){
document.getElementById('muda').src='imagens/img6.png';
}
function voltarImg(){
document.getElementById('muda').src='imagens/imagem2.jpg';
} | 578bcc27c1a4152d2efb1e143f4d92747ec9c3d6 | [
"Markdown",
"JavaScript"
] | 3 | Markdown | camilafoo/components-ui | 9ea2a49b6f8024efd384b7d389d4f66fb1ddb37b | 5ae574f223b8d3c1cba52ff87bb2efa67a5f2d35 |
refs/heads/master | <file_sep>#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
int num=0;
printf("Digite um numero:");
scanf("%i",&num);
printf("%i",num+1);
return 0;
}
<file_sep>#include <stdio.h>
#include ... | 7f9175bccb276d28c6b1bebd362aa9ebeeeae60f | [
"C"
] | 10 | C | LeonardoRamin/Trabalho-de-programacao | ae1149219512fbc95b7a775a47c6f6749c1301a7 | ca21cb1016e39737aa8969f2b8a9edf777bc5973 |
refs/heads/master | <file_sep>//---------------------------------------------------------------------------
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "epanet2.h"
//---------------------------------------------------------------------------
void ReadFloatFile(char fi... | 2e823799cb6444988757d88b3e5fc686683c140d | [
"C++"
] | 1 | C++ | HadoukenMS/guardioesdasaguas | 87218f079641d257f303b51af09be4fd47d5bdcf | 4b687f61fb1c3559c2d1633a0a29c04a87e0ee72 |
refs/heads/master | <file_sep>//
// FactoryExercise.swift
// Pattern_FactoryMethod
//
// Created by MAC on 2/12/20.
// Copyright © 2020 MAC. All rights reserved.
//
import Foundation
// список упражнений
enum Exersices {
case jumping
case squarts
case run // Running Exersices
}
// класс генерирующий обьекты н... | 85ebf2e977b783ddb079fcbc71a195379963edfe | [
"Swift"
] | 5 | Swift | fedir72/30_FactoryMethod_Patterns | 1becc6cc74a78abd388ff34d104e66007778f511 | e97f40c0cf37b1e45ff28936af2153f881d8c641 |
refs/heads/master | <repo_name>Vatsalya-singhi/Cost-Calculation<file_sep>/README.md
# React-Native-Cost-Calculation"
A simple standalone react native app to convert item weight to cost.
App feature - Calculate price for the given weights.
## Setup-
1. Clone/Download project.
2. Install required software - Node,Android Studio,React-native ... | 62f23101a190c250ac549cbeb0f3582fcd3bd13b | [
"Markdown",
"JavaScript",
"Gradle"
] | 3 | Markdown | Vatsalya-singhi/Cost-Calculation | 4bc8ca7f1ed9a359bd9f50456f3197025b3bf18b | be9473348b9ba61d4d71ec36c584b3accf1881cb |
refs/heads/master | <file_sep># Space_Invaders
## Project 1: NAVIGATE THE MARS ROVER
Help the Mars Curiosity Rover find the shortest path between two points while avoiding obstacles on the way. <br>
**Winner all over India in the Microsoft Mars Colonization Program** <br>
[Leaderboard and Further info about program](https://microsoft.ace... | 06f9d46fbae2bbc6a309a15336c272b4f6bced45 | [
"Markdown",
"JavaScript"
] | 7 | Markdown | avani17101/Space_Invaders-1 | 7a4243db70a1b353347cfd2a3c8c8e933e85d49e | 7830298dd80d4158f26fdb9e5bba01e77270b948 |
refs/heads/master | <file_sep>import "./App.css";
import Weather from "./Weather";
function App() {
return (
<div className="App">
<div className="container">
<Weather defaultCity="Lisbon" />
<footer>
This project was coded by <NAME> and {""}
<a
href="https://github.com/mariame... | c22c7263317fa258eb67ee7ea0d97da9970ca10e | [
"JavaScript"
] | 1 | JavaScript | mariamelomaga/react-weather-app | b58fa23745206acf90bba106bcc2d9053d0d7260 | 7817c7b8a133a54a7708461436daf0162df9b6ab |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.