branch_name stringclasses 149
values | text stringlengths 23 89.3M | directory_id stringlengths 40 40 | languages listlengths 1 19 | num_files int64 1 11.8k | repo_language stringclasses 38
values | repo_name stringlengths 6 114 | revision_id stringlengths 40 40 | snapshot_id stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|
refs/heads/master | <file_sep>from django.conf.urls import patterns, include, url
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^statics/(?P<path>.*)','django.views.static.serve',{'document_root':'member/statics/', 'show_indexes': True}),
# (r... | abe2ae9afc7a5042aad2ac2cb1c3930e963fa4d5 | [
"Python"
] | 2 | Python | TombRaiderjf/member | 3bbe2927e76da053af81646d1f61ab6798d1b133 | e6409a53eecb921a69460734a6fc4746423b5f1b |
refs/heads/master | <file_sep>using Models.CLEM.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using DocumentFormat.OpenXml.Spreadsheet;
using DocumentFormat.OpenXml.Packaging;
namespace Reader
{
public partial class IAT
{
/// <summary>
/// Fodder pools used in the simulation.
... | 87ef2b65d0512a68000869c650e50036b900f610 | [
"Markdown",
"C#"
] | 56 | C# | sto276/CLEM_Converters | ad5b080cae13fefca3578811b635cd4cca636c62 | 23b96172a2ed90a49f1c4059577986647bc269c2 |
refs/heads/master | <file_sep>// let mainH3 = document.getElementsByClassName("h3-animated")[0];
let textHover1 = document.getElementsByClassName("work__link")[0];
let textHover2 = document.getElementsByClassName("work__link")[1];
let textHover3 = document.getElementsByClassName("work__link")[2];
let hider;
let imgAnimated;
let h3Animated... | 9d6fb82abba797dc1ddd9b4637f7e87b6ed71ec6 | [
"JavaScript"
] | 1 | JavaScript | deadlyrazer/deadlyrazer.github.io | 3dd08ce67fa8fff30dcf59a32fdfe52078ebdd5f | 12c4027752315a3c9c846c12b79a213d287d1729 |
refs/heads/master | <file_sep>#ifndef COURSE_WORK_BOOK_NODE_H
#define COURSE_WORK_BOOK_NODE_H
#include "book.h"
struct t_book_node
{
t_book value;
t_book_node *next;
};
namespace book_node
{
void init_node(t_book_node *init, t_book_node *next);
void set_next(t_book_node *node, t_book_node *next);
t_book_node* get_... | b6d3e938c1d6a8fde490dfef0bce88420e0bd2a6 | [
"CMake",
"Markdown",
"Makefile",
"C",
"C++"
] | 24 | C++ | msvetkov/Coursework-2-sem | 4a60f1d2c1a83f82e3d3c3a215d7abf876c0c428 | 65dc1ce79a656ca4f6dce0d429cd3988f7902660 |
refs/heads/master | <repo_name>ameek/SocketProgramming<file_sep>/SOCKETProgramming/main_client.py
import socket
port = 8000
# we'll send this message before closing connection
# so that other side can close connection as well
CLOSE = b'--close--'
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
def host():
sock.bind(('', ... | 8d05eae5e9c78016542e6e2406dd1e5390fad662 | [
"Markdown",
"Python"
] | 4 | Python | ameek/SocketProgramming | 8030eee281a52e500bde41e5368c0690ef138ce7 | 7cd9a7bc288521ce2ffc1572a938cc7cdb242f34 |
refs/heads/master | <repo_name>s-u/snippets<file_sep>/man/osmap.Rd
\name{osmap}
\alias{osmap}
\title{
Draw tiles from OpenStreetMap or any other compatible tile source.
}
\description{
\code{osmap} fetches and draws OpenStreetMap tiles (or any compatible
tiles) in the current graphics device assuming latitude and longitude
coordinates.
}
... | e68965e098cf1674fe63335d839d337dd90a3eeb | [
"R",
"Shell"
] | 22 | R | s-u/snippets | 6e638c9e4408aa11572afe1404939df414e2803b | 91183ba6ecf77c92b81d09c130b54dc66c52026f |
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 view;
import Modelo.forenKeys;
import Modelo.Conecion;
import coneciones.GetConecion;
import coneciones.poolConeccio... | 1adf5c70d0fc75c5c1e691eae94f46f91e98c881 | [
"Java"
] | 4 | Java | jdcastrillon/JCM | 2de18ef4c26782665dbe764534bc610b01b67f56 | 5ada3bff806b5bb97f4529bc2f7f1e1e88dca43d |
refs/heads/master | <repo_name>SimarKareer/iron2Radiant<file_sep>/util.py
import cv2
import numpy as np
import os
from matplotlib import pyplot as plt
import imutils
import math
import numpy
from skimage import data
from skimage.feature import match_template
from scipy import stats
ENEMY_COLOR = [91, 85, 249]#[249, 85, 91]
ME_COLOR = [1... | eba204755b3b08413195749b503a09b57779c0ce | [
"Markdown",
"Python"
] | 14 | Python | SimarKareer/iron2Radiant | 839fdf17af3bfbeb7fd3e4621370cb62ab2d76ea | 3b90bc7f1f8dabd4df4102c8abad2e0310f8b8cc |
refs/heads/master | <repo_name>karsubhranshu/SQL_SystemTables_Shared<file_sep>/INFORMATION_SCHEMA_All Views.sql
SELECT OBJECT_DEFINITION(OBJECT_ID('<View Name>'))
/*************************************Logic For INFORMATION_SCHEMA.CHECK_CONSTRAINTS********************************/
CREATE VIEW INFORMATION_SCHEMA.CHECK_CONSTRAINTS AS
... | bccce806543b0f03aaaaadab142d0b5ea0f381df | [
"Markdown",
"SQL"
] | 2 | SQL | karsubhranshu/SQL_SystemTables_Shared | 64b741e3daef01a93463967f6b23af585141ca98 | 1d77c8428299b669dbf84963f86557fe8e2b2dad |
refs/heads/master | <repo_name>johannott/portfolio-angular<file_sep>/README.md
# portfolio-angular
This is a project to create a portfolio website using HTML5, CSS3 and AngularJS
<file_sep>/pages/home.htm
<div class="row vertical-center">
<div class="col-md-2">
</div>
<div class="home-column col-md-12 col-sm-12 col-xs-12">
<im... | af8d40f30c5f462d5ee7fd163755a89d4480f0d8 | [
"Markdown",
"JavaScript",
"HTML"
] | 3 | Markdown | johannott/portfolio-angular | 5ca22ec2e11d16cf7fd19225af1955ee959c3381 | bee06807f280b246e8931059779f3af0cb15ecb8 |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Web;
using Microsoft.Graph;
namespace AzureAddUserToGroup.Helpers
{
public class GraphHelper
{
// Get an authenticated Microsoft Graph Service client.
public static GraphSe... | 9e4314fa8fb732f72ec5fe3475b707251edc38c3 | [
"Markdown",
"C#"
] | 8 | C# | SKLM-O365-Projects/MonoRepo | 23c858c8cccd83dbd33b6514803295660213922b | b554a67068dc02efd6d78885d3348405e1175b4e |
refs/heads/master | <repo_name>alexyslozada/WebSocketsDemo<file_sep>/src/java/org/alexys/demo/WSDTodos.java
package org.alexys.demo;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.ejb.Schedule;
import javax.ejb.Singleton;... | 17cab5cbb60456d841eed66b2217cb1cc600f55b | [
"Java"
] | 1 | Java | alexyslozada/WebSocketsDemo | 1141ebbc0763f626b4c6825fdf6c9e9d0fe501a1 | 5748670ea664b349b7f72d0cbdc3204c8831c359 |
refs/heads/master | <repo_name>jastro2/LAW<file_sep>/.idea/LAW.js
$(function () {
var w = $(window);
w.scroll(function () {
if (w.scrollTop() !== 0) {
$(".d").removeClass("visible");
return;
}
$(".d").addClass("visible");
});
$(".d").addClass("visible");
});<file_sep>/LAW/... | 70aaab6dffa2de99560a4ca31a0e398e54f9ff97 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | jastro2/LAW | 197c02e4f634a470f0e609c586f82c369f8fbbc6 | 8bb759e7ecddefeb322ea36c2a669363740aeb84 |
refs/heads/master | <repo_name>42gq/fillit<file_sep>/src/ft_grid.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_grid.c ... | ab2a99226f8296ecb2df795aeeda60dbe6568fe9 | [
"C"
] | 7 | C | 42gq/fillit | 1063da0858e6db4473fcd12707ee55caa272a9f4 | d8363c3d6a213696530f87b2d28239425671f13b |
refs/heads/master | <file_sep>
function myFunction() {
document.getElementById("demo").innerHTML = "Liked.";
}
function looper() {
for (var i = 0; i < 10; i++) {
document.getElementById("demo1").innerHTML = "I think so anyways!"
if (i % 2 === 0) {
console.log("this number " + i + " is even")
} ... | 6e2f729d4b11b699e8e8ea1fe5ae4a350c2b1bf6 | [
"JavaScript",
"HTML"
] | 4 | JavaScript | Russell-Dev/assignments | f17af60f4d3600f332e2f029caa13d755849059d | 2d58df65ad016b490d7e2e85a1e25a1321d089e3 |
refs/heads/master | <file_sep>from mxnet import init
from mxnet.gluon.model_zoo import vision
from mxnet.gluon import nn
from mxnet import image
import numpy as np
from mxnet import nd
import mxnet as mx
class ConcatNet(nn.HybridBlock):
def __init__(self,net1,net2,**kwargs):
super(ConcatNet,self).__init__(**kwargs)
s... | 5efc4f98992f6094207d0906d6f2817c46397e52 | [
"Python"
] | 4 | Python | LeeYongchao/Dog-Breed-Identification-Gluon | 55b2fdf3ae5bcfcfcf047428a0082335121240fd | f850ee8125aeebcf225f84fc6afcdb6220474227 |
refs/heads/master | <file_sep>#include <stdio.h>
int main() {
int a = 1;
int b = 2;
int c = 3;
int d = 5;
return 0;
}
| 62622cfb395fe866641c483c7544db66d1d7a169 | [
"C"
] | 1 | C | gabeo8/hoc-git | eee5ddd0af4fb7c5bf51ebde7eb72241edcda8cb | c41ca80538cce5aa1c690d12f4ba7a5d02d47da0 |
refs/heads/master | <repo_name>weitinglin/WakeyInRasPi<file_sep>/killmusic.sh
#!/bin/sh
job=$( ps -C omxplayer |tail -n 1 | cut -d " " -f 2 )
job2=$( ps -C omxplayer.bin |tail -n 1 | cut -d " " -f 2 )
echo ${job}
kill -15 ${job}
kill -16 ${job2}
<file_sep>/SetAction.sh
#!/bin/sh
#file save date
#DateDownload=$(ls -l wav/ | cut -d ' ' -f ... | 8e04bd4190df85b1e5b4133e6f5ed9c1122a9022 | [
"Markdown",
"Shell"
] | 23 | Shell | weitinglin/WakeyInRasPi | f44b04c6b10d90758379497ce7a3e729df90e809 | 85da6ddc5f4cfd6cbccb7ff48b1000a65b0eeb39 |
refs/heads/master | <file_sep>package com.asusoftware.wechat.model;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* we-chat Created by Antonio on 3/16/2021
*/
@Getter
@Setter
@ToString
public class Message {
private String message;
private String fromLogin;
}
| 652680bee92c1c616636bfac171504b3b5d3b220 | [
"Java"
] | 1 | Java | AsuSoftware/We-Chat | 707f8eb853c45d119019e4f6f78214d41743dfb5 | 4def0625dd805dd5727b293e149e001382362802 |
refs/heads/master | <repo_name>nonlining/DS.Capstone<file_sep>/SplitDataToFiles.R
WD <- getwd()
if (!is.null(WD)) setwd(WD)
smallData = FALSE
set.seed(1000)
sampleRatio <- 0.6
if(smallData){
sampleRatio=.020
}
conTwitter <- file("k://final//en_US//en_US.twitter.txt", "r")
length <- length(dataTwitter <- readLines(conTwitter, encod... | e533ed64c5e7d609b96b46d0a41d07ddb380e42d | [
"Markdown",
"Python",
"R"
] | 6 | R | nonlining/DS.Capstone | 9fca30f2a9b48a690e90ac885a4f9c481aa0d4db | 568753afca2c6ca36c8cb1ab84d6e0d1fd718720 |
refs/heads/master | <repo_name>smacpher/arduino_tuts<file_sep>/README.md
# Ardunio Tutorials
<file_sep>/SpaceshipInterface/SpaceshipInterface.ino
// Instantiate global variables here
// Have to declare a type, then value. End declarations with a semi-colon (;)
int switch_state = 0;
int input_pin = 2;
int ON = 1;
// at compile time, ardu... | 2428f9eafd2b1bb7b659629b5d74ad877d13c778 | [
"Markdown",
"C++"
] | 4 | Markdown | smacpher/arduino_tuts | ce411903deb67dea1cef53ebb75a7aea1dbadae6 | 22614c404e379b61864804b597987bf9c4d91db1 |
refs/heads/master | <file_sep># macOS setup
--
#### brew
```sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
#### Ansible
```sh
brew install python3 ansible syncthing
brew services syncthing start
open https://127.0.0.1:8384/
```
```sh
cd ~/SyncT/macos_setup/
./1-ansible.sh
#... | 790c1e6aef17a1807d93d48a70ab9e873f5218ca | [
"Markdown",
"Shell"
] | 5 | Markdown | colangelo/macos_setup | aec0718a67901e493c66d33305c22e34949aac8f | 17a039da7e2b87632f3c443af07991cc3adfd920 |
refs/heads/master | <file_sep>installall
==========
A commandline tool that installs a set of applications using chocolatey.
Dependencies
----------
### Windows
[chocolatey](https://chocolatey.org/)
<file_sep>package installers
import (
"fmt"
"io/ioutil"
"os/exec"
"strings"
)
const (
chocoDefaultPath = "C:\\ProgramData\\choc... | 59063fe9ffeaf54092b9cfb087ce1620e564ab3a | [
"Markdown",
"Go"
] | 4 | Markdown | hyperremix/installall | 711722750be48dd0e9f4744a2a205092d9d50c29 | 4bc88ed36d2befd1903379a53974e6a89c22ffd1 |
refs/heads/master | <file_sep>asgiref==3.2.7
Django==3.0.7
gunicorn==20.0.4
numpy==1.18.4
opencv-python==4.2.0.34
Pillow==7.1.2
pytz==2020.1
sqlparse==0.3.1
whitenoise==5.1.0
<file_sep>"""
Expose a method `tag` that accepts a PIL Image
based image as input
"""
from tensorflow.keras.applications import resnet50
import numpy as np
from te... | 06710d53e39dd1c396ebee11ec87accc1f98385a | [
"Markdown",
"Python",
"Text"
] | 7 | Text | Abhi5hekk/Apparel-Indetification | 35ccb007322db907e0e0d0a326c9401b87d8ea88 | e4a82ab5782857787053ec3a5239cf7e2b0b3c9d |
refs/heads/master | <file_sep>#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
int getMin(int arr[], int n)
{
int res = arr[0];
for (int i = 1; i < n; i++)... | cf7510970b368afd6a60b68bbe1e279c5db7df13 | [
"Markdown",
"C++"
] | 16 | C++ | rafaelmelodev/C-Cpp | 32e4287d91d62920c379cb7f79a8959146be4b20 | 237ce68738ce5054795de43d9102f783d3ea9674 |
refs/heads/master | <file_sep>import React, { Fragment } from "react";
const xx = () => {
return (
<Fragment>
<div class="contenedor seccion contenido-centrado">
<h2 class="fw-300 centrar-texto">Llena el formulario de Contacto</h2>
<form class="contacto" action="">
<fieldset>
<legend>Com... | 5dfb3729277628b3d5c0a3350dc7193e5c5e98fe | [
"JavaScript",
"Markdown"
] | 9 | JavaScript | pablorella/app-mov-tp1 | 9da184bb2d4fca5f2ef853052f5000f4b0c655cf | f27e2e9f955dbc5ef7796ba9c94fde6f4d2abef8 |
refs/heads/master | <repo_name>carlos-gutier/Intro-Python-II<file_sep>/src/adv.py
from room import Room
from player import Player
from item import Item
# Declare all the rooms
room = {
'outside': Room("Outside Cave Entrance",
"North of you, the cave mount beckons."),
'foyer': Room("Foyer", """Dim light ... | 8f391a74f2e1fcb42ffcf87592a4cccacd301efa | [
"Python"
] | 2 | Python | carlos-gutier/Intro-Python-II | b693b3cf5f315b4c93fce35d25c648347c5a4ec1 | b7593fb3ed3dcd242ef4c3d6329d01cb91035760 |
refs/heads/master | <repo_name>rssh-jp/atcoder<file_sep>/abc139_b/main.go
package main
import (
"bufio"
"fmt"
"os"
)
func main() {
var A, B int
scanner := bufio.NewScanner(os.Stdin)
if scanner.Scan() {
s := scanner.Text()
fmt.Sscanf(s, "%d %d", &A, &B)
}
curr := 1
var count int
for {
if curr >= B {
break
}
cur... | f8a6d4c76eba85fa4572d1ae571462fb0abd8874 | [
"Go"
] | 2 | Go | rssh-jp/atcoder | a91da93a594b563bd975efb5167ff53cac9bbe0b | d78bab9ab145ad4755aa983b5211843f064e7fa3 |
refs/heads/main | <file_sep>require(["esri/Map", "esri/views/MapView", "esri/layers/FeatureLayer", "esri/layers/Layer", "esri/widgets/Search","esri/widgets/BasemapGallery", "esri/widgets/Expand", "esri/widgets/Print", "esri/widgets/LayerList", "esri/layers/MapImageLayer", "esri/widgets/Home", "esri/widgets/DistanceMeasurement2D", "esri... | d7caf8594fc9ebc04b2afc665b4cad13656afcc3 | [
"JavaScript"
] | 2 | JavaScript | jqadams3/parcelvieweraws | 6b0fafe72641177ae4844cc07457782ad8966f03 | 4436df114bc1820eff5d67908be5ea2451743516 |
refs/heads/master | <file_sep>
# input
PV = float(input("Enter the starting principle: "))
R = float(input("Enter the annual interest rate: "))
T = float(input("For how many years will the account earn interest?: "))
M = float(input("How many times per year is the intertest compounded?: "))
# compute
FV = PV * (1 + (R/100) / M)**(M*T... | 2d033126564b78874737be04c66f5ab302874b9f | [
"Python"
] | 2 | Python | Charpie2/python_class | 1c457c6ca6e58861f55e95784c1291e4795c48a7 | bd62895430edbcd9efb11e8a322ed7bd82733100 |
refs/heads/master | <file_sep>var express = require('express');
var app = express();
app.listen(3002, function(res) {
console.log('hi, 监听端口3002');
});
<file_sep># react_end
React 对应的 NodeJs 后台
## 搭建环境
npm init 初始化一个项目
安装依赖 npm install express(mongoose)等
新建 index.js, 写个 demo
```
var express = require('express');
var app = expres... | 043095f972d2fd64f17cc22c496f8621da434be8 | [
"JavaScript",
"Markdown"
] | 2 | JavaScript | luckystar12/react_end | 352274918450e42e47b900fa96382ccf264b913e | e6ced9214279002912e4802421b02ffcab1de459 |
refs/heads/master | <file_sep>// run scripts when document loaded
$(document).ready(function(){
$('#widget').draggable();
//declare variables
var answer1;
var answer2;
var answer3;
var answer4;
var answer5;
var answer6;
//empty array
var answerArray = [];
//initialize score
var score = 0;
// jQuery selector variables
var $... | e626181d6a15487b4b7b2eb82d3189d7657b85bb | [
"JavaScript"
] | 1 | JavaScript | Jimsaurus/week-4-project | 225fd12fe5d29d3df787ca50c5ac9bb2a1e3b67e | 6f0689aee5d08a80c024872803a46eb5f9066d82 |
refs/heads/master | <file_sep>#!/bin/bash
# start monitor mode
sudo ifconfig wlan0 down
sudo airmon-ng check kill
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
sudo iwconfig wlan0 | grep Mode
exit 0 | e4d4936fbfe9a8a3685874422e2c49c55765427f | [
"Shell"
] | 1 | Shell | L4ll1p0p/kali_hacking | 693879fc4cb6f3076019c2b3a8d10daee6013b0a | a953ba654647ec3142cf9f4a9d399e80ad85cb71 |
refs/heads/master | <repo_name>artisxn/health<file_sep>/src/Support/Constants.php
<?php
namespace codicastudio\Health\Support;
class Constants
{
const RESOURCES_ENABLED_ALL = ['.*']; // regex
}
<file_sep>/src/Checkers/Framework.php
<?php
namespace codicastudio\Health\Checkers;
use codicastudio\Health\Support\Result;
class Framewo... | 819a951e6018e0b1ba2baaab439d56e7aa268e84 | [
"PHP"
] | 2 | PHP | artisxn/health | f26f9e203aead8f0d44901a91d4d5d67e8d515c6 | ceff7ef595651d6f861262b0438c0e17444d4c3a |
refs/heads/master | <repo_name>phpid/intercom<file_sep>/spec/distance_spec.rb
require 'distance'
describe Foo do
before(:each) do
@distance = Foo::Distance.new
end
describe '.parse_customers' do
context 'correct URL' do
it 'loads external content' do
expect(Net::HTTP).to receive(:get).and_return('first')
... | c88ecfa7f6f30ca4213eb32fe6ea7be80fde90ea | [
"Ruby"
] | 5 | Ruby | phpid/intercom | 55d7ac7096ccbed4b3fcc691f247aafef1820448 | 587edd48a3aba6f3b9d205d68718f25b958ea19a |
refs/heads/master | <file_sep>#include"stdafx.h"
#include<iostream>
using namespace std;
int main()
{
unsigned int year;
cout << "Input a year"<<endl;
cin >> year;
if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0 )){ /*判断是否是闰年*/
cout << year << "Year" << "is a leap year.\n" << endl;
}else{
cout << year << "is... | c59662655f819fbc58cf39c9075424a5f3d2cc4a | [
"C++"
] | 3 | C++ | shiyongsway/shiyong | e5d73d339dfea0937f90d3ff68aadec0c51d19de | 5ad2abea3135e61c9e017809e80bd3fe7fd9be65 |
refs/heads/main | <repo_name>murphymen/ComputeChunkMesh<file_sep>/Chunk.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
[RequireComponent(typeof(MeshFilter))]
[RequireComponent(typeof(MeshRenderer))]
public class Chunk : MonoBehaviour
{
public ComputeShader chu... | 210a91c2b5db18446df5a3fbf5ba5a2776d6be58 | [
"C#"
] | 1 | C# | murphymen/ComputeChunkMesh | e2eb603342bd25b1fdc7287ad8c397689621e597 | 32a1d9e27ed9492afb51088bc58de99f2277e3d2 |
refs/heads/main | <repo_name>SansanM/coffee_note<file_sep>/src/component/NotesComponent.js
import React from 'react';
import { withCookies } from 'react-cookie';
import MainContentsHead from "./mainContentsHead";
import PrintNoteData from "./PrintNoteData";
//Notesを取り出し繰り返し処理で描画
const NotesComponent = (props) => {
return (
... | e233894fd0fd83e7f583629d42135b5b802f77d4 | [
"JavaScript"
] | 9 | JavaScript | SansanM/coffee_note | b7d7d73f8ed1d7f029bba706e8ba2af014e3428f | 7b801afbc228db6a1fc60aaebca8afd2ffc13a99 |
refs/heads/master | <repo_name>balazsgrill/junk<file_sep>/query.test.model/src/package_/subpackage/impl/SubpackageFactoryImpl.java
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package package_.subpackage.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
... | ce78b3d54e7a382e6db8d179c6e786061096b579 | [
"Java"
] | 2 | Java | balazsgrill/junk | 6bf8ab05a069c8d8ea3bf98a1a2e2a53578d199c | d177a2fcd37b2f449d7e428de5c5d566a7d81848 |
refs/heads/main | <repo_name>JudsenHembree/Clash<file_sep>/Clash.c
/*Project 1 Clash
<NAME>
July 4th 2021
Module 6
*/
#define _GNU_SOURCE
#define MAX_ARGS 32
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <sys/wait.h>
int main(int argc, char* argv[]){
char *in=NULL;
... | baba98339230f2165c9d942eb84418901b9cbace | [
"C",
"Makefile"
] | 2 | C | JudsenHembree/Clash | 7efa440dcf7aa2c6a95e8c9dc8931ffa1a0f0c9e | 1fbd9ed48030628a248bdbb97acc8def4db06a12 |
refs/heads/master | <repo_name>moisutsu/chip8-emulator<file_sep>/src/lib.rs
pub mod cpu;
pub mod display;
pub use cpu::*;
pub use display::*;
<file_sep>/src/cpu.rs
use rand;
use std::fs::File;
use std::io::Read;
pub struct Cpu {
v: [u8; 16],
i: u16,
delay: u8,
sound: u8,
pc: u16,
sp: u8,
stack: [u16; 16],
... | b3aecdfadf5471723b401e21d0035c15fa2477db | [
"Markdown",
"Rust"
] | 5 | Rust | moisutsu/chip8-emulator | bf031661f27f4bb51158ad36e761699a0f9f3dc3 | be603873328fd17c7f87ec2e201411747958100f |
refs/heads/master | <file_sep>class LinkedListNode
attr_accessor :value, :next_node
def initialize(value, next_node=nil)
@value = value
@next_node = next_node
end
end
def print_values(list_node)
if list_node
print "#{list_node.value} --> "
print_values(list_node.next_node)
else
print "nil\n"
r... | fbc0d45fdfa5abc54e3f810b92dcaa8b39a1f1f6 | [
"Ruby"
] | 2 | Ruby | bhavanisarma/linkedlistruby | 3d37c617fe10e85da9f53478c98baeb78be34741 | f806dbc10b0b8f42dea0181602c90f5344382252 |
refs/heads/master | <file_sep>var tdTotalCursos = document.querySelector('.js-total-de-cursos');
var tdTotalHoras = document.querySelector('.js-total-de-horas');
var btnConfirmar = document.querySelector('button.btn');
var checkboxes = document.querySelectorAll('input[type=checkbox]');
var totalHoras = 0;
var totalCursos = 0;
btnConfirma... | 21cb787d5973a64fe79df6819b38563b0231a5b8 | [
"JavaScript"
] | 1 | JavaScript | jhonatanjacinto/web8883 | 6714b24241b46aef7d7bb39e2b16500cf19e8b71 | 40d37a27b9c8a4ddcf4510b0188031847d373b13 |
refs/heads/master | <repo_name>brettz9/safer-route<file_sep>/lib/main.js
/*globals exports, require, XPCOMUtils */
/*jslint todo: true, vars: true*/
/*
Todos for later
1. When available, replace with https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/places_history
*/
(function () {'use strict';
function l (msg) {
con... | 904819e796fa4b759e232d56c30e1fa9abbe2127 | [
"JavaScript",
"Markdown"
] | 3 | JavaScript | brettz9/safer-route | ea719e9de81be7098cd3de004c8f8b04badb3ffb | 2e2b36718eca9d0038e7d8e3e8ee07fa0385f3e4 |
refs/heads/main | <file_sep>document.addEventListener("DOMContentLoaded", function () {
// Поиск родителя
function findAncestor(el, cls) {
while ((el = el.parentElement) && !el.classList.contains(cls));
return el;
}
function closeSelects() {
const selects = document.querySelectorAll(".exchange__select");
selects... | c72776e4e3b4351476ab35b027165012a0c872bf | [
"JavaScript"
] | 1 | JavaScript | MaximProger/crypt-mining-2 | 59f653302b67c2b56a9a2401788ab642beb20405 | ebd8fda5422c348630970d5ea6f9e8fdd3702b7b |
refs/heads/master | <file_sep>/*****************
Coded by @bachors
******************/
$(document).ready(function () {
tweet('bachors');
instagram('261199158');
google('100217793741516090316');
facebook('203532783129859');
vk('324573775');
soundcloud('118174461');
github('bachors');
youtube('bachorsan');
... | 906bb43426159d5f36f1d9fd98b4e682302af9bc | [
"JavaScript",
"HTML"
] | 3 | JavaScript | Jordan721/MMP240 | 8219d717c2f342b5e151dba3e034d1ee11b84414 | b23305ef91de4215db8b8b37a6ef02c5bc50c7bd |
refs/heads/master | <repo_name>mehtabbal/shuffleCards<file_sep>/settings.gradle
include ':app'
rootProject.name='shuffleCards'
<file_sep>/app/src/main/java/com/example/shufflecards/MainActivity.java
package com.example.shufflecards;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
impor... | bf43563ae18a321d74add819975d8dcd75cd7628 | [
"Java",
"Gradle"
] | 2 | Gradle | mehtabbal/shuffleCards | 93873fdb5adc6907542fa5b16826d4cc83e9a63a | cd9504e01e453b3083bd9470760a719a09060743 |
refs/heads/master | <repo_name>HasanSuhaimi/TwitterAPI<file_sep>/DataAccess/ReadData.py
##ur Oath1 keys, remember to update for every push, better yet do some credential handling
client_key = '<KEY>'
client_secret = '<KEY>'
import base64
key_secret = '{}:{}'.format(client_key, client_secret).encode('ascii')
b64_encoded_key = ba... | b93c06fa07eed47037efb3dbb304f737694638cb | [
"Markdown",
"Python"
] | 3 | Python | HasanSuhaimi/TwitterAPI | 0efff7ec7ad03e1b4b5dfa74043b58076b6fb63c | 31ff3c56da509b00ce3b65c4460ed31c481caee5 |
refs/heads/master | <file_sep>int VU;
void setup()
{
Serial.begin(9600); //set baud rate
//set pins attached to LEDs as outputs
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
}
void loop()
{
VU=analogRead(5); //set VU as value of pin A5 reading
//glow ... | 1c07024f522d024e1a78506200741c0d6c9ab7e6 | [
"C++"
] | 12 | C++ | Xnkr/ic-enigma | d0c054ab48db4bc9e18d0e7574d8743814ecdfb2 | 59272dc688f040083e51708407aaf8d54c4da2bf |
refs/heads/master | <file_sep>docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home $1
| cff959f69e476a2c4bc4fb25a9f9dad04b59d6a2 | [
"Shell"
] | 1 | Shell | twa16/jenkins-docker | 770fdf7a1d5185a4e3921b2cd5a4b92610cafac3 | e4142b4460db7e42f875a33f29a4184738557fb9 |
refs/heads/master | <file_sep>package com.example.weatherapp;
import com.google.gson.annotations.SerializedName;
public class Temp {
@SerializedName("temp")
float temp;
@SerializedName("temp_min")
float temp_min;
@SerializedName("temp_max")
float temp_max;
public float getTemp() {
return temp;
... | a2e057248912149f802bbb7cda9635d28e7c2cb4 | [
"Markdown",
"Java"
] | 3 | Java | prince-09/WeatherApp | d1dc99d4bcb9047447937da146423352de8f21e2 | 7edd5f971f30c63418542c155259d2621688b94e |
refs/heads/master | <file_sep><?php
/**
* Формируем форму настроек модуля
* @param $form
* @param $form_state
* @return array
*/
function install_modules_config_form($form, &$form_state)
{
$form = array();
$form['description'] = array(
'#type' => 'markup',
'#markup' => '<h3 class="description">'.t('Пожалуйста ... | b69793effc65687150eadabc6130cf91a3bdc237 | [
"PHP"
] | 1 | PHP | batkor/install_modules | 3c2327500c61f78f31366d0d12b17db9145f6dd3 | 9ec9536e28bd298f1d7e1812ca2da8da339e437a |
refs/heads/master | <file_sep>using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Lab21.Views.Home
{
public class UserInfo
{
[Required]
public string First { get; set; }
[Required]
public string Last { ... | 3d74247559d16d09468cd39885c1f84474fde230 | [
"C#"
] | 1 | C# | ThisDudeAbides/Lab21 | 5d7e5b073dc88f29e899091969636b4d9f939933 | 6bc041bb209fbcc1c32baeeb19ce8b64f09ed518 |
refs/heads/main | <repo_name>itata222/Todo_Front<file_sep>/src/components/Home.js
import React, { useContext, useEffect, useState } from 'react';
import { addTaskAction, setTasksAction } from '../actions/tasksActions';
import { TasksContext } from '../contexts/tasksContext';
import { addTaskToDB, getAllTasksTFromDB } from '../service... | 31e35e062450dd8d430eff92298616be9663707c | [
"JavaScript"
] | 7 | JavaScript | itata222/Todo_Front | abde73aea18c3a8f1bc41e6ce821ecac93b505ad | 189d5582ae4100ffb5f40514a87c77c2d83b7799 |
refs/heads/master | <repo_name>jiyfhust/monitoring<file_sep>/platform-monitoring/operator/init.sh
#!/bin/sh
if [ ! -d $GF_PROVISIONING_PATH/dashboards ];then
mkdir -p $GF_PROVISIONING_PATH/dashboards
else
rm -rf $GF_PROVISIONING_PATH/dashboards/*
fi
# TiDB dashboard
cp /tmp/tidb.json $GF_PROVISIONING_PATH/dashboards
sed -i 's/T... | da44a5fcac1891eab9284274237a9ced9d1097b1 | [
"Shell"
] | 1 | Shell | jiyfhust/monitoring | ea039934e1cf5a07b37bc3ae6b5cd45553a1599f | 21fc5856f0d198cd26e124fda07b131621581161 |
refs/heads/master | <repo_name>Annubis1709/ExData_Plotting1<file_sep>/plot4.R
#---Assignment: Course Project 1---#
## 4). plot4.R
# To change your working directory, use setwd and specify the path to the desired folder.
# setwd(dir), dir – Specify a working directory.
setwd("/home/draconis/Documentos/COURSERA/DATA SCIENCE/4. Explorato... | 010150c38ce00ba524d52930547a1875c1d2668d | [
"R"
] | 2 | R | Annubis1709/ExData_Plotting1 | 72603eee4027fbbad59125ccbdd20afa4f6c60ad | 6f450171a860bee2c92294e44498c412d8722bda |
refs/heads/master | <file_sep>using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace QOLTweaksPack.rimworld
{
[DefOf]
public static class NewOrderJobDefOf
{
public static JobDef QOL_DropObject;
public static JobDef QOL_PickupObject;
}
}... | 0fe24e3958aeedf23335143b394d02d2d9fd0370 | [
"C#"
] | 20 | C# | PeteTimesSix/QOLTweaksPack | 77fee9afddab9e2371c7f25e341e5a9370da1b05 | cd36edad1ea4a8d92e52533ef7b54631dff2d2fa |
refs/heads/master | <file_sep>package uk.co.gotenxiao.androidmpdserver;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;
public class AndroidMPDServerS... | d9108f5f1c44792b86eb0fac791a86e9d72c42ef | [
"Java"
] | 5 | Java | GotenXiao/androidmpdserver | 97f23c1af2f76c6b08e37f5683b676c7b57852f4 | ae9b7c3e05f28e5f71b5b95b7665fe4c0c500bd1 |
refs/heads/master | <repo_name>EtienneAdrien/videoo-backend<file_sep>/src/dependencies.php
<?php
// DIC configuration
$container = $app->getContainer();
// view renderer
$container['renderer'] = function ($c) {
$settings = $c->get('settings')['renderer'];
return new Slim\Views\PhpRenderer($settings['template_path']);
};
// mono... | 67d23336c1b6d1484dbad1e328cd93094c7ee86a | [
"PHP"
] | 6 | PHP | EtienneAdrien/videoo-backend | aefadc4eb0cfac1c24142d31c46586090b72d18d | f581a983c6909be1af7b0188b1a690d4c1b53913 |
refs/heads/main | <file_sep>// COIN
export interface ICoin {
Symbol: string
Price: string
}
export type CoinState = {
coins: ICoin[]
lastCoin: ICoin
}
export type CoinAction = {
type: string
coin: ICoin
}
// THEME
export enum Mode {
dark = 'dark',
light = 'light',
system = 'system'
}
export in... | b1d0a1eb7c3e151a2d23c41791cce9f6376b4887 | [
"SQL",
"Markdown",
"Go Module",
"TypeScript",
"Go",
"Dockerfile"
] | 27 | TypeScript | Sarmirim/ebisu | 15d202b289b9f50bffe5966091ba8282221107a9 | 2cd432760c534030e9c008dc99b6880ce0c4e983 |
refs/heads/master | <repo_name>trayio/pollen<file_sep>/main.go
// pollen, the stupid file watcher
package main
import (
"bytes"
"errors"
"flag"
"fmt"
"os"
"os/exec"
"path"
"strings"
"syscall"
"time"
)
const (
Unknown fileType = iota
File
Dir
)
// last seen mtimes of all the files we know about
var mtimes = make(map[string]... | 323eb878498adf65206584710fcf996bc9dcd4bd | [
"Go"
] | 1 | Go | trayio/pollen | 2017284c61f2bb8d3cc3223d6e916519917a30bb | 1b0f6a8aa5a5b3d3f9b4b3a69a844ae892479b04 |
refs/heads/master | <repo_name>Fedejp/TaTeTi<file_sep>/app/src/main/java/com/example/tateti/MainActivity.java
package com.example.tateti;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import... | e8dd96be7343cd3b988156ecce018fbe45a292f1 | [
"Java"
] | 1 | Java | Fedejp/TaTeTi | be54e5325cd07b5d8e5a08c15615e056bd65be87 | abd8d6733fe0d7fddc201354c2d437edba73292e |
refs/heads/master | <repo_name>13bscsmahmad/APLab8<file_sep>/src/java/coinchange/CoinChange.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.
*/
package coinchange;
import java.util.Random;
/**
*
* @... | 437979453311ef515b8ec7664b73d96cc9b0cd6b | [
"Markdown",
"Java"
] | 2 | Java | 13bscsmahmad/APLab8 | f0b621d9f532832476255a92698c442edcd238fa | 09ee1b6aee56be0d61e906ffa7441aad809509b2 |
refs/heads/master | <file_sep>package com.github.danielfelgar.drawreceiptlib;
import android.graphics.Canvas;
import android.graphics.Paint;
/**
* Created by daniel on 15/08/2016.
*/
public class DrawLine implements IDrawItem {
private Paint paint = new Paint();
private int size;
public DrawLine(int size) {
this.s... | 0520421dc96058e0dda3a328b521100f0f0375de | [
"Java",
"Gradle"
] | 2 | Java | tisistema/DrawReceipt | d377d7c275053db0f8b963e43d5d8e3d84604e86 | 9ef4f4b681142298df66e408559303e900fc3a42 |
refs/heads/master | <repo_name>MohamedAbdultawab/events<file_sep>/events/events/doctype/custom_event/custom_event.py
# -*- coding: utf-8 -*-
# Copyright (c) 2020, <NAME> and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe import _
from frappe.utils import n... | e79aa2ad9fbf27694fa37af4b596c648e55254f5 | [
"Markdown",
"Python",
"JavaScript"
] | 7 | Python | MohamedAbdultawab/events | 3d4acaf73628135addb7f1e98b4351cbba50c27e | f8926beaf3491f733251f895470bda33de137449 |
refs/heads/master | <repo_name>twlk-jzy/NiceDialogDemo<file_sep>/app/src/main/java/com/twlk/nicedialogdemo/MainActivity.java
package com.twlk.nicedialogdemo;
import android.annotation.SuppressLint;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Gra... | d4a74c8e6136335fbbec9b8d6796d48ef80d034c | [
"Java"
] | 3 | Java | twlk-jzy/NiceDialogDemo | a6b2031dad176ceb64acd53bd720ccd994f46fa6 | 6e3648371331835027514b0be8e8dd5deb2ac39b |
refs/heads/master | <file_sep>## REPS Platform Instructions
To incorporate the REPS platform into your subsite project you need to
copy the file `resources/composer/scripts/post-install-cmd/reps-platform.sh`
to the same location into your subsite project. Make sure that this
file is executable.
This script will install the reps platform... | 856f9e1cc37f759ed9a2b3bbdd45fab9610485e2 | [
"Markdown",
"Shell"
] | 2 | Markdown | verbruggenalex/ec-reps-platform | 6ea903854161206177033074615373e405de1e87 | 973aad1b0ed67cb2b4543e83af646ede03700716 |
refs/heads/master | <file_sep>#!/bin/sh
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[1;31m'
NC='\033[0m' # No Color
PID=$(ps aux | grep -m 1 $1 | grep -v grep | grep -v "terminatePrcs.sh" | awk '{print $2}')
if [ "$PID" != "" ]; then
echo -e "${YELLOW}[WARN]${NC} Executing => kill -SIGTERM $PID"
kill -TERM "$PID"
... | 63dd95f0397497c79d6481ba86864301af2548e0 | [
"Markdown",
"Shell"
] | 4 | Shell | gallorob/bash-collection | b4303461ab396f447bbe2a095150c8aa29638899 | 044a68a1a054e98c67449027d8ffdc0cb9390f0a |
refs/heads/master | <repo_name>bcanvural/spring-security-basic-registration-login-logout<file_sep>/README.md
# Spring Security Basic Registration / Login / Logout
Simple user registration, login, logout using Spring Boot, Spring Security 5.x, Spring MVC, JPA, H2<file_sep>/src/main/resources/messages.properties
label.form.title = Register... | 5617d0e025a42215f85d737830a4e1ee5b307f47 | [
"Markdown",
"Java",
"INI"
] | 3 | Markdown | bcanvural/spring-security-basic-registration-login-logout | c30a7c531706cba8a2dff1280f07ee80402cfede | 03e335ff61fb4839ad1e49635e7d3d2e0f51ed5a |
refs/heads/master | <file_sep>#include "TimerOne.h"
#include "SevSeg.h"
int count = 0;
SevSeg sevseg;
void setup() {
byte numDigits = 4;
// What pins are your "digit" lines hooked up to?
byte digitPins[] = {2, 3, 4, 5};
// What pins are your "segment" lines hooked up to?
byte segmentPins[] = {6, 7, 8, 9, 10, 11, 12, 13};
... | b535468247f9e801bc385d703d77b2265d068457 | [
"C++"
] | 1 | C++ | joonyeechuah/tinkering-timer | ccbf212de55953eabd438df21cc279aa4be41429 | dab5b44d1887ca1037c9875e4863953355c1a41e |
refs/heads/master | <repo_name>LionRoar/Head-First-Design-Patterns-PHP<file_sep>/ch11/MightyGumball/Service/SoldOutState.php
<?php
namespace MG\Service;
class SoldOutState implements StateInterface {
private $machine;
public function __construct(GumballMachine $machine) {
$this->machine = $machine;
}
public func... | 0a62e8450ccd59137203e88df3b0ca1bf74e605d | [
"Markdown",
"PHP"
] | 126 | PHP | LionRoar/Head-First-Design-Patterns-PHP | e5e43662e419a227feac4d8897912ab0998019b5 | 261a378fff0cfda87f7daeef17c61f2ccb42d432 |
refs/heads/main | <file_sep># Professional Readme Generator
This readme generator was created using node.js and inquirer. Inquirer was used to create every single question and prompt that shows up in the command terminal and saves the responses. Node.js allows the user to run this through the terminal and prompts each user at every st... | 062bcc5e2d40c3c7ae46e667a52f797ac2cb605e | [
"Markdown",
"JavaScript"
] | 2 | Markdown | kevinphan97/professional-readme | 8f7ed9e4c8a17399b71aeaec45fe6b2628a37dd5 | 4ee106ad20578da6c8448b9d5121e2e39e6294a7 |
refs/heads/master | <file_sep>version=1.0
server.servlet.context-path=/api<file_sep>package com.company.model.country;
import java.util.List;
/**
* Created on 7/23/18.
*
* @author <NAME>
* @since JDK1.8
*/
public interface CountryService {
List<Country> get();
Country get(Long id);
}
<file_sep>lang.en=English
lang.ch=Swi... | b80431a2bc566bc6550836e29383c0efa65cce98 | [
"Java",
"INI"
] | 6 | INI | dkuhta/spring-boot-rest | eb5a303f0a1fe6ec9f823ed8084d0988aecb6408 | 388936cf6825168a7ca81ba80744efcad64a4327 |
refs/heads/master | <file_sep>from PIL import Image
#ouverture de l'image
img = Image.open("img/1-intro.jpg")
img2 = Image.new("RGB", (img.size[0]-5, img.size[1]-4), "black")
imgWidth = img.size[0]
imgHeigth = img.size[1]
level = 8
i = 0
x = 0
y = 0
while i <= imgWidth-level:
j = 0
while j <= imgHeigth-level:
moy = [0,0... | 24918e26801536073025834b6b9fc259cedb7f7d | [
"Python"
] | 1 | Python | thewrath/simple-python-fuzzy-image-transfo | d5950332331937090ee913d3d3468e3646595c32 | 927e1b62a3f21d0df8a28cbe15033613b2a00c14 |
refs/heads/master | <repo_name>BrunoGodefroy/theodo-form-printer<file_sep>/src/services/reduxSagaFirebase.js
import firebase from 'firebase'
import ReduxSagaFirebase from 'redux-saga-firebase'
const myFirebaseApp = firebase.initializeApp({
apiKey: '<KEY>',
authDomain: 'm33-performance-32c4d.firebaseapp.com',
databaseURL: 'https://m... | fe1ef5cd71dca2ae19e6e7ec35b952e212ca9fd9 | [
"JavaScript",
"Markdown",
"Shell"
] | 20 | JavaScript | BrunoGodefroy/theodo-form-printer | b2e2f10b0bc31e88ad8b4a4addea9bbeba47de40 | 461d6cff36faa6122a94012d84bf801d70cdec3c |
refs/heads/master | <repo_name>fox2402/vampireGuns<file_sep>/Assets/Scripts/TR100script.cs
using UnityEngine;
using System.Collections;
public class TR100script : basicControl {
[SerializeField]
protected float recoil;
[SerializeField]
GameObject rtPoint;
public Vector3 lerping;
protected override void Updat... | e26452c282895127ef46d10082f2e7a2dcef3cad | [
"C#"
] | 3 | C# | fox2402/vampireGuns | 9fbc469dbb378156003fff410dcd7c1c7eef749d | b6d0b468735afc44785f3946556db0ab88419aa7 |
refs/heads/main | <repo_name>prasasti8015/PGDDS_IIITBangalore<file_sep>/Retail Click Stream Data/README.md
**Retail Click Stream Data**
**Introduction**
So far, in this course, you have learned about the Hadoop Framework, RDBMS design, and Hive Querying. You have understood how to work with an EMR cluster and write optimized queries o... | 6969f1e1a72c30676f31f03380f950c0ffc8d1dc | [
"Markdown",
"SQL"
] | 4 | Markdown | prasasti8015/PGDDS_IIITBangalore | 307b19efd43ccaf76a9dee94b35165da2862f542 | fd57f63e1eaa46beae8d5c99926379de60d0c51c |
refs/heads/master | <file_sep>//
// ViewController.swift
// PullsEye
//
// Created by <NAME> on 4/8/17.
// Copyright © 2017 <NAME>. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
var currentValue = 0
var randomVal = 0
var score = 0
var roundNumber = 0
@IBOutlet var slider : UISlide... | a2c8d5924858e61cd29eae7a4f125e84a87b7ee1 | [
"Swift"
] | 1 | Swift | yassminTaha/PullsEye | b027328e3d772a2a5f282ccbf490411a45bc0d49 | ae0f7be12c6c8184034c5dfda568562c0200663d |
refs/heads/master | <repo_name>karlkumbier/stat133-summer2014<file_sep>/pelicanconf.py
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'<NAME>'
SITENAME = u"UC Berkeley's Statistics 133 (summer 2014)"
SITEURL = ''
TIMEZONE = 'US/Pacific'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when dev... | d4781ecd2e72a61e19bc48c5380eab5aaeab3b30 | [
"Markdown",
"Python"
] | 2 | Python | karlkumbier/stat133-summer2014 | 8d4663ac0a2a5a38f33baf7943f739f64259282d | 452f65cf38e7d2849107193befcd3430691bd658 |
refs/heads/master | <repo_name>mariaulfa33/_blitix<file_sep>/helpers/randomSecreten.js
const crypto = require('crypto');
function randomSecreten () {
const buf = crypto.randomBytes(5);
const secret = buf.toString('hex')
return secret
}
module.exports = randomSecreten<file_sep>/models/user.js
'use strict';
const encrypt = requir... | 9bc8590104455394918865ef92a19f12ce2fb18f | [
"JavaScript"
] | 9 | JavaScript | mariaulfa33/_blitix | 97f4242fb14a146881bff3edf84abc41ef17c26a | 828516dc7e996a8ecf070fe1348a3f8dc54bcf77 |
refs/heads/master | <file_sep>using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
/// <summary>
/// TabControl UI Tool
/// Developed by Dibbie.
/// Website: http://www.simpleminded.x10host.com
/// Email: mailto:<EMAIL>
/// Discord Server: https://discord.gg/33PFeMv
/// </summary>
[AddCom... | d34e8cd533f61e03577fb263dd32dd01d7159936 | [
"Markdown",
"C#"
] | 30 | C# | Asumreen/bombermanUnity | 04317dc6bfd5d2f211d9d1419a5290013b038700 | 5c46566c488b055b5460d749328704ff6aa8e7d3 |
refs/heads/master | <file_sep>package socketio
import (
"github.com/googollee/go-engine.io"
"net/http"
"time"
)
type Config struct {
PingTimeout time.Duration
PingInterval time.Duration
MaxHttpBufferSize int
AllowRequest func(*http.Request) (bool, error)
Transports []string
AllowUpgrades bool
Cookie ... | 6d86bd52edea44b156ff06ae8de03a63505308d3 | [
"Markdown",
"Go"
] | 3 | Go | izqui/go-socket.io | 32d3029ac13f559833cda22ea4f939d4fe14ab48 | 3b89926ae0be348906e6a64930fbd1ab53e43df2 |
refs/heads/master | <repo_name>vinayakkgarg/myflaskapp<file_sep>/app.py
from flask import Flask, render_template
from data import Articles
# create object of class Flask
app = Flask(__name__)
Articles = Articles()
# defining routes ie url
# we generally return a template
@app.route('/')
def index():
return render_template('home.htm... | 116f268d5d7454484a505cdbf05ab525eb939f7c | [
"Markdown",
"Python",
"HTML"
] | 4 | Python | vinayakkgarg/myflaskapp | c95264d20f7db74e0c25899f3354840e7ccbdeaa | d11fd0985d371e925ff15b56e7605e5935a830ab |
refs/heads/master | <repo_name>nbenoit3/ajax-exercise<file_sep>/main.js
var container = document.getElementById("container");
var button = document.getElementById("dogButton");
var selectBox = document.getElementById("dropDown");
var dogHTML = ``;
axios.get("https://dog.ceo/api/breeds/list").then(function(response) {
response.dat... | 7af631cabf18e5f8f334b9ee26b703eb056ed1c6 | [
"JavaScript"
] | 1 | JavaScript | nbenoit3/ajax-exercise | 19d17e909866dad534f5d54476513e0c882b291d | 9e19f6d8ef17601507ed62d34b4f514a027a3645 |
refs/heads/master | <repo_name>schornakj/rviz2_camera_ray_tool<file_sep>/rviz2_camera_ray_tool/src/rviz2_camera_ray_tool/camera_ray_tool.cpp
#include <rviz2_camera_ray_tool/camera_ray_tool.h>
#include <OgreCamera.h>
#include <OgreRay.h>
#include <OgreVector3.h>
#include <OgreViewport.h>
//#pragma GCC diagnostic push // Supress warning... | 6a087c67a01cabe291e589c91a80673285939b04 | [
"Markdown",
"CMake",
"C++"
] | 5 | C++ | schornakj/rviz2_camera_ray_tool | bead06de2a3e59e10b850a0561485bf353a20891 | 263b9d1f0b0dc4b77aa13e711bfa45a9ab3211ae |
refs/heads/master | <file_sep>def my_module():
print("Test du module")<file_sep>import dbconfig as db
try:
mydb = db.open()
#print(mydb)
mycursor = mydb.cursor()
mycursor.execute("SHOW DATABASES")
for x in mycursor:
print(x)
mycursor.execute("SELECT * FROM todoitems")
print(mycursor.fetchall()... | 2594f4d5f5bc68c778960749c77846fd177c215f | [
"Python"
] | 3 | Python | nicogid/my_python_project | 381336d95fc6d98190c2a3702869e8c3526de2df | 655af38817e8a793877250f5befa3c3b657292bc |
refs/heads/master | <file_sep>#include "CAF.h"
#include "TRandom3.h"
#include "TVector2.h"
#include "TVector3.h"
#include "TLorentzVector.h"
#include "TH1F.h"
#include "TRandom.h"
#include "TF1.h"
#include "TDatabasePDG.h"
#include "TParticlePDG.h"
#include <stdio.h>
#include <vector>
#include <iostream>
#include <string>
#include <stdl... | 1d0d9b7502b6c6f4475fee9d088517866690c33d | [
"Markdown",
"CMake",
"C++",
"Shell"
] | 18 | C++ | tmohayai/ParamSim | 69563d0fb4b88bfd18bf0a5756b21e68d77bc94d | c5f526c93ea5cb78780df654477af76ba1739818 |
refs/heads/master | <file_sep>!function () {
var jiShiQi=0;
function lunbo () {
var $ul = $('.lunBo-ul'),
$ulli = $ul.find('li'),
len = $ulli.length,
$ol = $('.lunBo-ol'),
$olli = $ol.find('li'),
width= $ulli.width();
$ul.width(len*width);
setInterval(function() {
jiShiQi ++;
if (ji... | c8004fc2cb89c08808f74de87c25de092a5943fd | [
"JavaScript"
] | 1 | JavaScript | zhouYue946821/zhouYue946821.github.io | 1f8df01fbdebd45b41aaea4b4ceda674da1528f4 | 7fc23f52f38f651732d3df078c379e9671538e05 |
refs/heads/master | <repo_name>gnudrew/udemy-big-10<file_sep>/basic_fib.py
def fib(n):
'''Calculate the fibonnaci sequence up to or less than n'''
a, b = 1, 1
print(a)
while b < n:
print(b)
a, b = b, a + b
max = int(input("Enter the max number for fib:"))
fib(max)
<file_sep>/section8_problem/textpr... | 56b3a5d316bd02e176ec5a1a407ec304e27dc6e5 | [
"Markdown",
"Python",
"Text"
] | 18 | Python | gnudrew/udemy-big-10 | 6df8854f49e35ff5e83c469cb12dbcc30df89376 | 6a151f6b930333ee42bf93080ebee6de790944c6 |
refs/heads/master | <file_sep>package com.mycompany.app;
import lombok.Data;
import lombok.Builder;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
Test te = Test.builder().x(44).build();
System.out.println( te.ge... | 8b8b42ba53d51725a0d0ded29a736fe0ab4c49bc | [
"Java"
] | 1 | Java | mroczek-203951/Java | 8fe2475fffb933b83e53b1ab31f8d117f2a0b4c0 | c768fccd51b4d8055e42f47f3b14db197b9cba7f |
refs/heads/master | <repo_name>tmarschall/spherocyls<file_sep>/src/cuda/dat_file_input.cpp
/*
* dat_file_input.cpp
*
*
* Created by <NAME> on 7/9/10.
* Copyright 2010 __MyCompanyName__. All rights reserved.
*
*/
#include "file_input.h"
#include <fstream>
#include <string>
#include <iostream>
#include <cstdlib> //for exit, ato... | cc6081206a45639e927d0483fc637e2125e08407 | [
"C",
"Makefile",
"C++",
"Shell"
] | 32 | C++ | tmarschall/spherocyls | 35b4c6736bb4576d5bd4be880821f192d0e3b506 | 2c5243a64e6fb08079dce21ab3b49f5e6b7c8936 |
refs/heads/master | <repo_name>jonmarkprice/McIlroy-parser<file_sep>/tests/parse-string.test.js
const test = require('tape');
const parseString = require('../src/parse-string');
const { Right, Left, fromEither } = require('sanctuary');
test('literal values', assert => {
assert.deepEqual(
parseString('42'),
Right({token: 'Value'... | f95d1bf3bf62f0d9846def79e3da2c3251ed4707 | [
"JavaScript"
] | 4 | JavaScript | jonmarkprice/McIlroy-parser | 19d6d2c2bc4c232018e68a73adb4d97e90c9f454 | 6ed006d490a3fee2e3181a6e8a30a089969c281e |
refs/heads/master | <file_sep>package utils;
import base.RestSpecs;
import io.vavr.Lazy;
import org.junit.jupiter.params.aggregator.ArgumentsAccessor;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.function.BiFunction;
import java.util.function.BiPredicate;
import java.util.function.Function;
pu... | 00201e78c2d448ca1b320700b6e72af38e12eef0 | [
"Markdown",
"Java",
"INI",
"Gradle"
] | 27 | Java | tcanascimento/functional-rest | 861ac91d80915aec5e7e7bfbd89d996d5b6117ee | 75182964793b0dd46bb0ca755f931487d426f04b |
refs/heads/master | <repo_name>ayoolaao/CSC374_COMPUTER_SYSTEMS_2<file_sep>/20134_5SumII_csc407_assign4.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head></head><body>
<center>
<h2>CSC 407: Computer Systems II: 2014 Summer II, Assign... | 4ea00b0e7b51a8a1b53c2de200ce19b806a3fb9c | [
"C",
"HTML"
] | 2 | HTML | ayoolaao/CSC374_COMPUTER_SYSTEMS_2 | e7932c153b887608c6be5d66539bcb373c3c5557 | 246367a257e5a418955db751a334b9b5ebae496d |
refs/heads/main | <file_sep>module github.com/hackformissions/discipulador
go 1.13
require (
github.com/BurntSushi/toml v0.3.1
github.com/PuerkitoBio/goquery v1.6.0
github.com/aymerick/douceur v0.2.0 // indirect
github.com/chris-ramon/douceur v0.2.0
github.com/foolin/goview v0.3.0
github.com/gorilla/css v1.0.0
github.com/jcelli... | a4cf75a0cbd79ea4534aa353ec86f6215dc62862 | [
"Go",
"Go Module",
"Markdown"
] | 6 | Go Module | hackformissions/discipulador | 5030530349b982345e7ea297fe6dd29a01423127 | c68340ec4d02bc13a98ba215ea68f401f61e0605 |
refs/heads/master | <file_sep>var description = [
"/images/shizuka/img_1.png",
"/images/shizuka/img_2.png",
"/images/shizuka/img_3.png",
"/images/shizuka/img_4.png",
"/images/shizuka/img_5.png",
"/images/shizuka/img_6.png",
"/images/shizuka/img_7.png",
"/images/shizuka/img_8.png",
"/images/shizuka/img_9... | 8c061b7784c2f22918a27aa0ae0731f84e801a26 | [
"JavaScript"
] | 1 | JavaScript | chi28050/chi28050.github.io | e66633729e9da2ebe8fb52900a098d9eb205eb83 | 1cb510dce183dddf5ce9ff0f6570e369575d954f |
refs/heads/main | <file_sep>from constants import (
SCREEN_WIDTH,
SCREEN_HEIGHT,
GRID_SIZE,
UP,
DOWN,
LEFT,
RIGHT,
WHITE,
GREEN,
)
import random
import pygame
import sys
class Critter:
def __init__(self, id):
self.id = id
self.length = 1
self.positions = [(SCREEN_WIDTH / ... | d1c838310d5020e8604a77220960e85570257de2 | [
"Markdown",
"Python"
] | 5 | Python | MaciejKrzysiak/pygame-snake | 3d1f7f7d4fc38c184f5ba6d8af882d6cece40b74 | 284b953d31c6ff6bc2d1598c031f13863d619299 |
refs/heads/master | <file_sep>package com.textventure.main;
import java.util.Scanner;
public class Main {
private static boolean running = true;
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(running){
String inToLowerCase = scan.nextLine().toLowerCase();
}
sca... | 6d72644d5e68049ab19f438c16bdc49d9ff2ba25 | [
"Markdown",
"Java"
] | 6 | Java | PhilippRo/Textventure | ac6687cd0da9f72525130c45253a85b61ce69500 | 0587e92ea474a91e0b4fd639a60d21a6fd9c7198 |
refs/heads/master | <file_sep>package yomecolle;
import mainpack.messageFrame;
public class Yomecolle {
public static void main(String[] args) throws Exception {
String _yomeId = "154";
String file = "card/154/1/1.png";
String voiceFile = "voice/154/1/1.wav";
String text = "test1";
String _cardId = "1";
S... | 82e4f116b1c07856229fff5f52f365655f6e7a3f | [
"Java"
] | 3 | Java | galaxy18/yomeColleAnalysis | 332d772e20ae8a3e78e5bda52e205b7a57097880 | bc22078f89ab7e760e94e5ed99e913f5f5978fb9 |
refs/heads/master | <file_sep>__author__ = 'sabin'
## reads the number and tell the number of lines in the file.
import gzip, sys
filename = sys.argv[1]
def reading_txtFile(filename):
txtFile = open(filename, 'r')
line_number = sum(1 for line in txtFile)
print " Determining numbers of lines in the file ..."
print " numb... | 234b46d95870f516f8b64dfb22f04d545019a5b7 | [
"Markdown",
"Python"
] | 8 | Python | thinksabin/python_training_scripts | 36be9fbcba8849d786faa00883ca5baac8a4d0ea | ec2c2bb129daadc4fff6958cbef4803ba1dd9a7e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.