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> (function (name, context, definition) { "use strict"; if (typeof module !== "undefined" && module.exports) { module.exports = definition(); } else if (typeof define === "function" && define.amd) { define(definition); } else { context[name] = definition(); } })("Fashionfoucs", this, function()...
343db15bd4b28a58d473ada4ff4416e6be1c9ae9
[ "JavaScript", "TypeScript" ]
52
JavaScript
codeorg/f5.web
8c6a42f1de519f835facc2c4adedb6b61e082841
ff2528f2458116477b908bbd3efa28e377fced91
refs/heads/master
<file_sep> <!DOCTYPE html> <html> <head> <title>Tiêu đề trang web</title> </head> <body> <form method="post"> nhập kích thước ma trận: <input type="text" name="leng1"> <input type="submit" name="load"> <?php if (isset($_POST['load'])) { $x1 = $_POST['leng1']; } gl...
6842f030c62fa0532ac68c01bc8cf7c73ce1c924
[ "PHP" ]
1
PHP
st0nguyen/2bt2.3
7686e0c30e46a8c8f0a6aeb582c648c0cda84c9a
517fdea8025d0e04b5088fcb66633390536a3f78
refs/heads/master
<repo_name>Ushio/Catenaly<file_sep>/bin/imgui.ini [Debug] Pos=60,60 Size=400,400 Collapsed=0 [Config Panel] Pos=97,156 Size=300,100 Collapsed=0 <file_sep>/README.md ## Catenaly Curve with openframeworks ![render](f.gif) ![render](xmas.gif) ## Qiita https://qiita.com/Ushio/items/3648bf64456fd7cea950 <file_sep>/src/of...
a125fd216610b70343ddfbc8e8c070cd942cf135
[ "Markdown", "C++", "INI" ]
3
INI
Ushio/Catenaly
9dd045e4ec15ddf35a6b6dbb41b731f4dc86069d
381c12e8001a318b6c3c101edcace54b423d5010
refs/heads/master
<file_sep>var http = require('http'); var https = require('https'); var URL = require('url'); var requests = function(url){ console.log(url); let opt = {}; let callback = null; if(arguments.length == 1){ opt = arguments[0]; if(typeof(opt) == "string"){ opt = {url: opt}; ...
e5f7d22fc78cc6924db5ae8f2a30ff1481614d91
[ "JavaScript", "Markdown" ]
2
JavaScript
taharactrl/nodejs-simple-http-request
49b1acdcefc5203b5418034750c8e58af038d895
1912f3e199c23cc89e3374fecb4cb4919552f147
refs/heads/master
<repo_name>jalanrice/cs253<file_sep>/databases.py # QUIZ - implement the function add_new_link() that both adds a link to the # "links" list and updates the link_index dictionary. def add_new_link(link): links.append(link) link_index[link.id] = link # python code to include SQL query for one item def query():...
15e5baf06a97aea35b624c2e4464b809d1434d17
[ "Python" ]
2
Python
jalanrice/cs253
9eb00cfd58e859bb4bae1997902731153a6e5119
2af633df25843f053cc4bbd3907f60f289ec43eb
refs/heads/master
<file_sep># E-Commerce In The Folder 1. Mobiz Shopping Cart - https://github.com/Mr-Ananymous/E-Commerce/tree/master/Mini%20Project/MobiZ 2. Demo Video <file_sep>package backend; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Prepare...
23d3deae38890e3c6a2426991a278897b60f527f
[ "Markdown", "Java" ]
4
Markdown
solutionsforeverything/E-Commerce
902bf8b91d584b4165ecf1cf65171e20c60672aa
0aeeb69682879cbe86e5f4ada360496b36632667
refs/heads/master
<file_sep> public class HomeWorkF5_Value_Of { public static void main(String[] args) { double value = 898989.3535; int Integer = (int) value; String fractional = String.valueOf(value); System.out.println(Integer); System.out.println(fractional.substring (fractional.indexOf(".")+1,fractional....
da624261a65229ecbd0c40815d000cb788ee6476
[ "Java" ]
8
Java
Lintoshy/Lesson1
a9e2742ded5a825db52f5a579f67dc2c85e41b8a
2c1e152bb3fbf17bf87ad4ccb0382292466cfdda
refs/heads/master
<file_sep>// Generated by CoffeeScript 1.12.3 (function() { var bgcanvas, bgctx, canvas, centerX, centerY, color, ctx, cx, cy, data, draw, drawAxes, drawBg, drawIteration, drawLoop, f, fromWorld, fromWorldX, fromWorldY, ref, ref1, ref2, render, scale, set, square, step, toWorld, toWorldX, toWorldY, updating, cxmeta, ...
198c5134c94bc822c418e8ee0cc55ea2c260316f
[ "JavaScript", "Markdown" ]
2
JavaScript
TristanTrim/brotbrotbrot
0fc9cccc6a5ef9a133778d6e510e114608669ef4
66649a033ae87281b042a6b218aa35bfed4dd05e
refs/heads/master
<file_sep>[frameserve-config] fps = 22 # FPS: only works for gige cameras [mask] mask = "/home/m/Dropbox/maze/video/images/mask.png" # Path to mask image [bg_config] #learning_coeff = 0.0 # Learning coefficient to update model of image background [hsv_config] ## set ...
78cbff7c83f80e574b2cb5369bdeb4cc5f4e1a59
[ "TOML", "Python", "Markdown" ]
13
TOML
mmyros/oatram
301a34061bb9f95b5b3f028fb4b669e0c9e3a36c
ce3b8e847161e2aa40a646d98058e5438edc6aab
refs/heads/master
<repo_name>mypopydev/gmmlib<file_sep>/Source/GmmLib/CachePolicy/GmmGen12dGPUCachePolicy.cpp /*============================================================================== Copyright(c) 2020 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
d514eff94a58e1731022dc6d52fccd66a7750fab
[ "C++" ]
1
C++
mypopydev/gmmlib
ed44b3a0c84f919e81b54defa9e53bee779c32be
ab42de61bd5c3eed8df4b68def64a8ad703e1014
refs/heads/master
<file_sep># -*- coding: utf-8 -*- """ Created on Mon May 13 19:47:19 2019 @author: Administrator """ ''' Functions These functions are used in other files. ''' import numpy as np #def sigmoid(x): # return 1/(1 + np.exp(-x)) def softmax(x): c = np.max(x,1).reshape([-1,1]) exp_x = np.exp(x - c) sum_ex...
ddda5fdea741e50b3702c4125dca920450d0081a
[ "Python", "Text" ]
6
Python
1050669722/Convolutional-Neural-Network
31e647d25e19801f20faa907e6f9dfebca602f48
a872623e7ed813f42fc8c927c38be336f71e8c99
refs/heads/main
<repo_name>VittorioBarella/vittoriobarella.github.io<file_sep>/src/components/Contato/Contato.jsx import React from 'react'; import '../Contato/style.css'; import { connect } from 'react-redux'; import CommentSection from '../Contato/Comment-Section'; import AddComment from '../Contato/Form'; import { addComment, rem...
81d989ad802815f166584f224c2cb20d0d5646c3
[ "JavaScript", "Markdown" ]
9
JavaScript
VittorioBarella/vittoriobarella.github.io
4d92e0b9dd8208fe9eedd159983999366e0755db
947b98eb4ed8c7ccee63a998d320bffa5fc18479
refs/heads/master
<repo_name>jdniels/be-wmb<file_sep>/src/main/java/com/enigma/controller/TransactionController.java package com.enigma.controller; import com.enigma.entity.Transaction; import com.enigma.service.TransactionService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Pag...
93fa0f8d786c3da7f2f7013c821951f6dde049b1
[ "Markdown", "Java", "INI" ]
17
Java
jdniels/be-wmb
f98125ea9d7ae13add95c4974c94d0b9ab94726d
d7dac7bdfaf93f71d0d2e2ff491d919165aff452
refs/heads/master
<repo_name>thiagosil/apt_finder<file_sep>/app/models/location.rb class Location < ActiveRecord::Base validates :street, :neighborhood, :state, :city, :zipcode, :presence => true end <file_sep>/spec/models/location_spec.rb require 'spec_helper' describe Location do it "should be save on db" do Factory.build(:lo...
59469132c6df421e69b18b8b7dfdf05d46d0d367
[ "Ruby" ]
6
Ruby
thiagosil/apt_finder
b2ff413b227105393f6a8f2d1e8f9d947e004a5b
c1c0bf1540bb635c3ec0c5476401fb06070dac8e
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Library { public partial class Pub : Form ...
77f31787bb9a68c38f2a41396f187829e93a2b85
[ "C#" ]
10
C#
thbsttyan/Library
1bf35ff4acd3deb4ed4e9f7818921456f58eb0e3
0b925ec541b22f3fae3d5431b2b9778826da9700
refs/heads/main
<repo_name>DubleFake/RES<file_sep>/src/main/Main.java package main; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class Main { private static final Scanner sc = new Scanner(System.in); priva...
139db256c05329166aa26ad68c3487dec5d10373
[ "Java" ]
1
Java
DubleFake/RES
90f2fe8ab5b1c98845c3ec91ca26d0402f31b6cc
52c9e0dd1d09e09be59a548b6bd7fdb63be3aa08
refs/heads/master
<file_sep>import { Component, OnInit } from '@angular/core'; import { ProductService } from 'src/app/services/product.service'; import { Product } from 'src/app/common/product'; import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'app-product-list', templateUrl: './product-list.component.html'...
cc939f277ca3118a82c58811c77d49b037363767
[ "TypeScript" ]
1
TypeScript
VladimirCakic/ecommece-full-stack
2aec7b5d16df61df776a1a4955786f5d35c15fe4
b401741158dd931ea15dd71dcca08d43fa6e7e59
refs/heads/master
<repo_name>DahKulEhmbeey/metrics-service<file_sep>/README.md # metrics-service A simple metrics logging and reporting service that sums metrics by time window for the most recent hour ## Supported APIs - POST `/metric/:key` ```js { "value": 30 } ``` - GET `/metric/:key/sum` ## How to run - Run `npm install` to i...
0f20df83ea26e43223409ce76ec1965f5d8a9863
[ "Markdown", "JavaScript" ]
3
Markdown
DahKulEhmbeey/metrics-service
5beaf7407928046c27945fe811799f9968617ac2
d1efb66481d6f49c2e0a165a979a88563708d8cb
refs/heads/master
<file_sep><?php /** * Kbs project - 2019 © ICTM1o1 - Abdullah, Boaz, Jesse, <NAME> * Core functions for project */ /** * Encrypts string * @param mixed $string String that needs updating * @return mixed Encrypted string */ function hashString($string) { $salt = "KB5Í5ƒÚÑ"; $encryptedString = ...
3a51ea05ffc74e6502e46cf95440c34abc808e92
[ "PHP" ]
20
PHP
BoazTjallinks/wwi_kbs1
a4c198c8c0bb50509546ec9d896ad91ac608ea6b
7ddff9945a9ea29f98816b94961e7cbbc7b9bb6d
refs/heads/master
<repo_name>Amyya/HwDynamic<file_sep>/dynamic.js $(document).ready(function(){ $('div.detail-block p:nth-child(4)').hide(); $('div.intro-block').delay(1000).animate({ 'margin-top': '-275px',},500 ); $('div.picture-block').delay(1000).animate({ 'margin-top': '-275px',},500 ); $('div.pic...
34f52ca810571481f8de9e01ccca6bab903d92e0
[ "JavaScript" ]
1
JavaScript
Amyya/HwDynamic
15c44469190be9433dddcb89f2563a851e0fcbe9
ee374c3e6d9927a1bb68e426c9aeb4076a6971ec
refs/heads/master
<repo_name>badrishb/Altreks<file_sep>/main.py # Package Imports from flask import Flask, render_template, redirect, url_for, flash, session, g, request from werkzeug.security import generate_password_hash, check_password_hash from forms import LoginForm, RegisterForm, ContactUs, ScheduleForm, Availability, Reque...
60c3bd85df1561d8acaef4de96228905b52a49b7
[ "Python" ]
4
Python
badrishb/Altreks
714759c4bfc1956ddaab52d6252d19c2308ca938
eba2d36ab20a12eacbe36f54b7ae8907306f7dc3
refs/heads/master
<repo_name>apeman-repo/apeman-app-contrib-urlrouter<file_sep>/docs/overview.md Add `.query()` method to the request, which parses url with [qs](https://www.npmjs.com/package/qs) module. ```javascript // Handling http://example.com/foo/bar?baz=quz function handler(req, res, next){ var query = req.query(); // Parse...
43215c08632205b9c331bebc1896033ffec739f8
[ "Markdown", "JavaScript" ]
3
Markdown
apeman-repo/apeman-app-contrib-urlrouter
98525da38b9ce1c21f59f918b9f8c5a8221acebf
ff5f1b0f78644819cd3cf5cfefc953936adeb721
refs/heads/master
<repo_name>furion-max/LR<file_sep>/README.md # LR 利用多个线性2分类器进行多分类,利用smote过采样处理数据不平衡问题 ML2018-PS2.pdf 最后一题就是本次实验的具体要求 LR.py 是实验程序 assign2_dataset 是存储数据的文件 <file_sep>/LR.py import numpy as np import random def load_file(text_path,label_path): text = [] label = [] with open(text_path,'r') as f: ...
9cf44f9c1b33ceb88fa860df0caa2ed25a57f07b
[ "Markdown", "Python" ]
2
Markdown
furion-max/LR
19795280c35382ecba004e624cc6753894dea38d
462a47720c81be68cc1a12800378db8ce221ca64
refs/heads/master
<file_sep>const Discord = require("discord.js"); const client = new Discord.Client(); const{ TOKEN, PREFIX, OWNER_ID } = process.env; client.on('warn', console.warn); client.on('error', console.error); client.on('ready', () => { console.log(`Logged in as ${client.user.tag}!`); client.user.setActivity(`Wit...
d79309811fa519e4a355e193cd01bfe959dcdd66
[ "JavaScript" ]
1
JavaScript
Dreamyplayer/GiftCrad
859cda8d79d6ec759a30023080b4ff861df3e471
2e663f7521d4c48b3a963090f794e867b46c97ea
refs/heads/master
<repo_name>jonas-schievink/rtfm-core<file_sep>/src/lib.rs //! Core abstractions of the Real Time For the Masses (RTFM) framework //! //! You can write generic *libraries* by using the `Resource` trait in this //! crate. If you want to write application code then you'll need an //! implementation of the RTFM framework f...
f0ed4ce02c3603da4cd729b21642beea91fa2cb8
[ "Rust" ]
1
Rust
jonas-schievink/rtfm-core
c5bf36b0e3e1aea41e95b43ec3434134d40d6d27
bbff6f91433fb36ec2f8448898b890654d802886
refs/heads/master
<repo_name>nieaowei/common-shell<file_sep>/docker-install.sh #!/bin/bash res="" echo "The script is running." echo "The docker installer is running." if res=`docker --version | grep "Docker"` then echo "The Docker is installed." echo "Your Docker vesion is $res" elif curl -fsSL https://get.docker.com | bash -s docker...
da36d16764c81ec95d89eed877f790e1a2e5a038
[ "Markdown", "Shell" ]
3
Shell
nieaowei/common-shell
bba7664c2362feacd9b4460f5b41edcd7f87e530
095afb19e608b3261202cb3aae910c2ab781f1bd
refs/heads/master
<repo_name>mouaiadsalaas/TMS570_RTI_GIO_OUTPUT<file_sep>/source/MCP23S17.c #include <MCP23S17.h> /**************************************************************** * Header File: MCP23S17.h * Description: MCP23S17 expander with HERCULES TMS570ls0432 library header source * Date : 18.02.2021 * Author : ...
ba613cc1fbc22c02b7158848a857491d189ef304
[ "Markdown", "C" ]
4
C
mouaiadsalaas/TMS570_RTI_GIO_OUTPUT
062bc2e031f545b9095a49b60a0ade4797b81af8
916b6842b6b679a71650d1ba61a7173a62538902
refs/heads/master
<repo_name>maravedi/re<file_sep>/Dockerfile #----------------------------------------------------------------# # Dockerfile to build a container for binary reverse engineering # #----------------------------------------------------------------# FROM phusion/baseimage:0.11 MAINTAINER <EMAIL> ENV DEBIAN_FRONTEND nonint...
518c8325a1585683cc713d3f18f058503d0caed9
[ "Markdown", "Dockerfile", "Shell" ]
3
Dockerfile
maravedi/re
f0592cc9f1f72cf95a9b87e63e7d0609e42fe5de
b314a060c68018182ad56ac2abca3f026f314eaf
refs/heads/master
<file_sep>// ==UserScript== // @name Macros for Agariotime // @namespace http://tampermonkey.net/ // @version 1.1 // @description a to 64-split, s to freeze, d to doublesplit, c to quadsplit, and e to autoFeed // @author <NAME> (Nathan^2) // @match http://agariotime.com/* // @match ...
b9aec25c8fd3861143579f6ed040b6231c4e16fe
[ "JavaScript", "Markdown" ]
2
JavaScript
hahdfhaf/MyFirstJavascriptProject
0debfd8f4a99b525f76563023d1d8d1cc4715212
e0e788e945174a2ebcb9190442f0f24fa444fae7
refs/heads/master
<repo_name>IanRossKegler/SIoT_Coursework<file_sep>/Data_Collection/counter.py def increment_counter(): f = open('counter.txt') count = int(f.readline()) f.close() f = open('counter.txt', 'w') count += 1 f.write(str(count)) f.close() def read_counter(): f = open('counter.txt'...
f965f7e408016c54bb9e877ef580b587c6f804b9
[ "Markdown", "Python" ]
8
Python
IanRossKegler/SIoT_Coursework
a8d189036ca9c0f9bfd8336863b816e53f59b7af
d6cb1296619d62835c2c6cd90faa7b97464c01fa
refs/heads/master
<file_sep><?php //http://php.net/manual/en/ref.filter.php //http://php.net/filter.filters $data['name'] = filter_input(INPUT_GET, 'name', FILTER_SANITIZE_STRING); $data['email'] = filter_input(INPUT_GET, 'email', FILTER_SANITIZE_EMAIL); $data['ip'] = filter_input(INPUT_GET, 'ip', FILTER_SANITIZE_STRING); $dat...
6698cd9f94560a14fb2e390311d3f13ffa93ebe0
[ "PHP" ]
2
PHP
adilsoncalixto/validando-entrada-de-dados-no-php
eb26992ec7b08dff421b01d1c3b97e76f40ef476
0d25306b09e79b0d5f8095cd0a9a7ff91c327413
refs/heads/master
<file_sep># sim-quadcopter Quadcopter 6DOF simulation in python Execute run_sim.py to run the simulation and generate plots. <file_sep>#!/usr/bin/env python3 import numpy as np from math import radians, sin, cos, acos, asin from transform import * from IPython import embed as breakpoint RAD2DEG = 180.0/np.pi DEG2RA...
af3cf022e3d931c2265213fb001fbe830bc3f207
[ "Markdown", "Python" ]
13
Markdown
leet4th/sim-quadcopter
69d17d09a70d11f724abceea952f17339054158f
a0ae91ba3e022d7324f783ff2b5b5f3c49f82fdf
refs/heads/master
<repo_name>guza/Edc<file_sep>/codingeveryday/src/sort/insertion2.java package sort; public class insertion2 { public static void main(String[] args) { // TODO Auto-generated method stub int [] sort = new int[]{5,1,6,4,2,3}; int tmp=0; for(int i=1;i<sort.length;i++) { if(sort[i-1]<=sort[i]) ...
8d815d1ceaaea7e5bdf03e42e342036e5404dd93
[ "Java" ]
3
Java
guza/Edc
f8be697594f66a5730b65927b6fc2f2956a19755
0b6721b88d4c98ab1d9ae68583c4924fb55f9da9
refs/heads/master
<repo_name>gruvw/python-ota-update<file_sep>/README.md # Python Over-The-Air Update This is a little Python3 project which allows you to update a python program without needing to rerun it. You can take a look at the example folder of this repository in order to understand how this script works. ## Requirements The ...
583cbe36b8c63892443a66a2d432ac86d7447cad
[ "Markdown", "Python" ]
4
Markdown
gruvw/python-ota-update
1238f5e9afebf7601f01610b4721a76e8a8533d6
b9f94089010057770625454321af72f5da9b3fde
refs/heads/main
<repo_name>seyio91/ngcovid-api-node<file_sep>/README.md NG COVID SITE # app instructions goes here [![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/seyio91/ngcovid-api-node/tree/main)<file_sep>/utils/redis-sub-pub.js const asyncRedis = req...
b7aee33174ae13d43409976252f3d3577c984604
[ "Markdown", "JavaScript" ]
7
Markdown
seyio91/ngcovid-api-node
7bf50ed6446439ea08f9d1025c83bf3a31d72cd4
ac5bedf58a3af27e7a1575697f45f199a25aaf0b
refs/heads/master
<repo_name>mallmsy/js-deli-counter-js-apply-000<file_sep>/index.js function takeANumber(currentLine, name) { currentLine.push(name) return(`Welcome, ${name}. You are number ` + currentLine.length + ' in line.') } function nowServing(katzDeliLine) { var nextUp = katzDeliLine.shift() if(katzDeliLine.l...
d5da760ff423c9f0edb840c5320f1cae4de07daf
[ "JavaScript" ]
1
JavaScript
mallmsy/js-deli-counter-js-apply-000
6b44fd36c370226b5b3eb676415164418049fef3
12529480216fa8518e431d614120319544e3f626
refs/heads/master
<repo_name>cleberson-dev/CJVetorial<file_sep>/CJVetorial.py from math import sqrt, degrees, atan2 def criarVetor(A, B): compX = B[0] - A[0] compY = B[1] - A[1] return (compX, compY) modulo = lambda x, y: sqrt( (x * x) + (y * y) ) angulo = lambda x, y: degrees( atan2(y, x) ) escalar = lambda u, v...
e1030c90bc1fc6a17b9584a6593fdef07ad9faec
[ "Python" ]
2
Python
cleberson-dev/CJVetorial
453ecb81c6ec089219b7eb0e7a4783d77f399cf0
8c836c9aa0eb5078fed17feefb924f319c39f0e7
refs/heads/master
<repo_name>daniiltserin/angularbook<file_sep>/md/module.md # Angular modules To define module ```js angular.module("myApp.finance", []) ``` Register directive: ```js finance.directive("FirstDirective", function () { //register directive return { }; }) ``` <file_sep>/md/usecases....
cfbc3cef9859b42fecce21dcd5a785b2b03c6cc3
[ "Markdown", "TypeScript", "JavaScript" ]
7
Markdown
daniiltserin/angularbook
2c787f6606cfb8961e650644b1f80093309c6700
9796741fd4ef36df28ca5fc3ca70fd9f4da3f90d
refs/heads/main
<repo_name>holger420/Automatic-Curtain<file_sep>/AutoCurtain.ino int sensorReading = 0; int speed = 255; int delayVal = 20000; int direction1 = 8; int direction2 = 7; int kiirus = 9; int rotationTime = 0; int kardin = 1; void setup() { Serial.begin(9600); pinMode(A0, INPUT); pinMode(direction2, OUTPUT); pinMode(...
e2b974bae2d6ecd8f1f081afc355ba599cce15b1
[ "C++" ]
1
C++
holger420/Automatic-Curtain
50551ed7f0c88cdb57dc319d80fdc4e91103c0f0
9b896b9a9859dcba3c832f048973c702a56d898c
refs/heads/master
<file_sep>game = [[0,0,0],[0,0,0],[0,0,0]] def game_screen(player=0, row=0, column=0, just_display=False): if not just_display: game[row][column] = player print(' 0 1 2') for count, line in enumerate(game): print(count, line) game_screen(just_display=True) game_screen(1, 2, 1)
c6edd95532a7d98c11c78050d5f9ee5305d26cc2
[ "Python" ]
1
Python
Wayhem/python-basics
0f92c7d755620fe515290fca7382d30cc4e09cd0
696fe7cfceaaa88b191a245f0e29ab82542dafbf
refs/heads/master
<file_sep>from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger def pg_records(page, list, num): # creates paginator object splitting the list obtained in the view into groups of num parameter paginator = Paginator(list, num) try: # if the page parameter exists create Page obje...
345a3ae39ff6fed640804c314693d9caac1be874
[ "reStructuredText", "Markdown", "JavaScript", "Python", "Text" ]
22
Python
KJTempas/lmnop
848abe176c8a2fadd5d621fea6efef6e1ba04825
d76ad7bfac252e63fa401fa404e3abaf788d7386
refs/heads/master
<repo_name>octopus8/O8C00<file_sep>/Projects/PocketCheer/Trunk/Resources/Development/BasicGame/nbproject/private/private.properties user.properties.file=C:\\Users\\<NAME>\\AppData\\Roaming\\.jmonkeyplatform\\3.0\\build.properties <file_sep>/Projects/PocketCheer/Trunk/Projects/PocketCheer/src/org/o8c/pocket/cheer/fronte...
fcc9d000a8ae2af95618d1776a4fc8a6ad0cb93a
[ "Markdown", "Java", "Text", "INI" ]
5
INI
octopus8/O8C00
ed8a0cd84f955ad26c95525e19682427960eaebe
8c9d6be17d45c792cad08abca026be7a2e62bfa9
refs/heads/master
<repo_name>woruya/WoW-Class-Picker<file_sep>/ClassLoterry.java /* * Author: <NAME> * Github: woruya * Twitter: twitter.com/notworu * * c: This program was made because I wanted to see what "luck" would * assign myself a DPS specialisation to play in the Shadowlands expansion * of World of Warcraft. After a few wheel sp...
b48f0663735e5fc945469b65d797b3951e4a84a8
[ "Java" ]
2
Java
woruya/WoW-Class-Picker
ed17874b3a770ca6b1a52c2108de4550d465835f
bc70240577e9210a148964be57aec72b349c5dad
refs/heads/master
<file_sep>/* * * * * * BASIC USAGE * * * * * let events = getMockData(); drawCalendar(); mapEvents(events); */ /* * * * * * SETTINGS * * * * */ const days = 7; const shownWeeks = 5; const middleWeek = 2; const maxCellRecords = 4; let calendarContainer = document.getElementById('event-cale...
94cdd5d3882ce2724f6d5ffa3a7b0cefa4e6f254
[ "JavaScript", "Markdown" ]
2
JavaScript
AndrewSotnikovEng/EventCalendar
70ca04897241437e316a0da1e03934e4d10181af
159a520e6596542e2a03f543769ae27c180a1b25
refs/heads/master
<repo_name>daiyeyue/HTTP_Project<file_sep>/v01-验证技术/ws.py import socket #print(socket.AF_INET) print(ord('中')) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # 注意address的书写格式 # 以及tuple两个元素的含义 sock.bind(("127.0.0.1",7777)) print("已经绑定地址和端口") # 监听 sock.listen() print("开始建立监听") # 接受一个传进来的socket print("正在等待s...
1cc66a57fe98b8a151e35ab2b7ad997d49b32ae0
[ "Python" ]
3
Python
daiyeyue/HTTP_Project
aa1c9b1f45fc57898d6512b9ce668d56a26574d5
ea232c3545595eebd2d8d00e4ac82498114f3b58
refs/heads/main
<file_sep>const crypto = require('crypto'); const mongoose = require('mongoose'); const validator = require('validator'); const bcrypt = require('bcryptjs'); const userSchema = mongoose.Schema({ name: { type: String, maxlength: [30, 'Name should be of max 30 characters'], required: [true, 'A name is req...
85d31e2f9226d24330a346abf63f31bad3ac20ea
[ "JavaScript" ]
7
JavaScript
error-500-deejay/natours
9b8d4af2102221603039ee43e9c82ca5614c8a53
db67e7f0e36b97f7192a87ea02ab2287d8c3a02f
refs/heads/master
<file_sep>using UnityEngine; using UnityEngine.UI; public class CoinUI : MonoBehaviour { public int m_Value; public string m_Mask = "00"; private Text m_Text; private void Start() { m_Text = GetComponent<Text>(); UpdateUI(); } public void AddCoins(int value) { ...
3c11528fbc668e28993f95ac014e4f31899f03a5
[ "Markdown", "C#" ]
8
C#
kleberandrade/super-mario-bros-unity
253fcf92a916a708e530fa8e666a6c38cb7b3e5f
8e6a1f627b3362021d7481d3b43e13d82a952bcb
refs/heads/master
<file_sep>'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.d...
0ede1490a0cd666ce09822a459d3beecd34fc0da
[ "JavaScript" ]
2
JavaScript
NicholasEli/babel-notes
9fcb0627c3515f2f8d014f38275f912cf8705a96
bbc78d8eb76247944150fb4d998f755dd84b1af2
refs/heads/master
<file_sep># Direct Mapped Cache #### Author(s): <NAME> #### Credit: Idea and basic implementation by Dr. <NAME>, University of Oregon (CIS 314) This project simulates a direct mapped 64B cache that utilizes simple population and eviction principles. Using command actions like 'w', 'r', and 'p', a user can write and r...
f9e6884904bc66932810e12c98f788b45b3412ab
[ "Markdown", "Java", "Python", "C" ]
11
Markdown
jens-johnson/School-Projects
e923b0dc553a2f19f4b1388ee2a28d72771c26b4
3a05f85d569cbaeacef94986441cacb6aebc0e8d
refs/heads/master
<repo_name>VKG5/Lab<file_sep>/Sorted.java import java.util.*; public class Sorted { int ar[]; public void input() { Scanner sc = new Scanner(System.in); System.out.println("Enter the number of elements = "); int n = sc.nextInt(); ar=new int[n]; for(int i=0;i<n;i++) { System.out.println("Enter the ele...
fbbaa2392e118ea7aca40ced3342f2e6401ad13b
[ "Markdown", "Java" ]
2
Java
VKG5/Lab
c749d4a3d043d0ff94096783ddc06bcca70d145c
c3ea5552c92ea2360bd54e473cd44b41764fbed2
refs/heads/main
<file_sep>import requests from bs4 import BeautifulSoup import time import pandas as pd def extract(page): headers = { "User=Agent" : "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36" } url = f"https://uk.indeed.com/jobs?q=python+dev...
698d787527ea86e826dbdddb0fb7542bbabf885f
[ "Python" ]
1
Python
Osamazaki/indeed-jobs-scraper
d26e965582dd1c62c1438c7f304de06e241f9ab0
45c3fb5e5e0759eb111644642d399d588d8fb32f
refs/heads/master
<repo_name>cafesao/Pagina_Lista<file_sep>/README.MD # Pagina com Lista ## Uma pequena pagina com uma lista ### Quem é esse tal de Cafesão? Ola, meu nome é Gabriel, apelido **Cafesão**. Sou apenas um cara que **ama programar** e gosta de desafios, e o desafio desta vez foi botar em prática alguns dos meus conhecimento...
72d0ba75f81b5ec754317b64ac9e3f4b325fc571
[ "Markdown", "JavaScript" ]
2
Markdown
cafesao/Pagina_Lista
a4f43a08afc35424890122581c3122aa59326692
2aa488c3cc4a3ae12e6983c36fb97768d65ab1e0
refs/heads/main
<repo_name>ConradMare890317/Python-postgreSQL<file_sep>/database.py import sqlite3 connection = sqlite3.connect("data.db") def create_table(): with connection: connection.execute("CREATE TABLE entries_mare_masters (content TEXT, date TEXT);") def add_entry (entry_content,entry_date): with connection...
67433401a1ba32a3c4d394ce145257d4f73dd6e9
[ "SQL", "Python" ]
6
Python
ConradMare890317/Python-postgreSQL
b5ff840e6f3dec7dc39a74d0abacb0be239f0b18
df878e89421772d365d56c6e5ddf6d2032ee5397
refs/heads/main
<repo_name>gabrielloliveira/link-aggregator<file_sep>/link_aggregator/core/admin.py from django.contrib import admin from link_aggregator.core.models import Link @admin.register(Link) class LinkAdmin(admin.ModelAdmin): list_display = ["url", "description"] <file_sep>/link_aggregator/core/models.py import uuid as ...
1cfe12dc190565d842100a65fa7a41eee36aec5f
[ "Markdown", "Python", "Text" ]
10
Python
gabrielloliveira/link-aggregator
2c552a90678c923a7a2d891dc70f9cb6b5719411
2701302fe3c4c33b8fee989b43f41ee5da89cb91
refs/heads/master
<repo_name>adrianoalbuquerque/library-authenticate-entry<file_sep>/projects/msc-input-v/src/lib/msc-input-v.module.ts import { NgModule } from '@angular/core'; import { MscInputVComponent } from './msc-input-v.component'; import { BrowserModule } from '@angular/platform-browser'; @NgModule({ declarations: [MscInpu...
86897b3d68527e274b70c34dca25633465a25c78
[ "TypeScript" ]
3
TypeScript
adrianoalbuquerque/library-authenticate-entry
d28a6ac49b14c52647fa8a3d9965582888fe16ca
f6b624d48101f3aa1ac7ebc191b11f7c90191fab
refs/heads/master
<repo_name>SelvakumarMahalingam/orange<file_sep>/src/app/app.module.ts import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { RouterModule } from '@angular/router'; import { NgModule } from '@angular/core'; import { FormsModule...
7f984b7e73adb2551b6dd69b5562cf454cfaae00
[ "TypeScript", "HTML" ]
30
TypeScript
SelvakumarMahalingam/orange
0333bc3c6c62e37f7a90809e3354fbadfac5b3a1
c96554594fb800e9f6e8bb04477407b5ace8826b
refs/heads/master
<file_sep>class Solution { String reversed = ""; String original = ""; int l = 0; public String longestPalindrome(String s) { this.reversed = reverseString(s); this.l = this.reversed.length(); for(int windowSize=s.length(); windowSize > 0; windowSize--){ ...
147804b6dec913001c8495d2af20172c35f056a1
[ "Java", "Python", "Text" ]
5
Java
navicor90/challenges
29d7c3eeb466a8ce9a3b835b2d4ef2df476e650e
5a933b5fa47984c1608dcaf99de3fda307953c43
refs/heads/master
<file_sep>#include <iostream> #include <vector> #include <map> #include <string> #include <algorithm> #include <cstring> using namespace std; class Solution { public: //O(k*m), but much slower because of transform function. inline string transform(string str) { vector<int> cnt(26, 0); for (int i = 0; i < str.leng...
3706f30d8bdb900e4f6397002927acb34cc1da20
[ "Markdown", "C++" ]
81
C++
chemlzh/Solution-of-LeetCode
389db021151a2d51d2e67b50ecfc13fa5292e0eb
b6b6ebb9e9c8bc68362c28f69c03ce1f542b9d01
refs/heads/master
<file_sep>$(document).ready(function() { $(document).on('scroll', function(){ var body = $("body"), orangeBox = body.find('.main_orange'), purpleBox = body.find('.main_purple'), greyBox = body.find('.main_grey'), offsetTopOrange = orangeBox.offset().top, offsetTopPurple = purpleBox.offset().top, o...
1d3d3f212562487a4a9edc55b8995ae1b3ccdceb
[ "JavaScript" ]
1
JavaScript
AlexeiDyacheck/git
ff459d564af9240188f389a1a3175f5d5133ffdf
40e96a17a8919f45dde4a769d995cfc9d3a45678
refs/heads/master
<repo_name>chaseries/superloop<file_sep>/app/routes.php <?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a...
1848d4b925c354a92b006e2b9738611ae3962dbd
[ "PHP" ]
3
PHP
chaseries/superloop
0845ada4dce44c52d0d73591c96e0f300b7a2ca7
20545e0749a6e1089ff0dd43d63c2c85b7f1701d
refs/heads/master
<file_sep>checkFormisconfigRobots ======================= This code is used to check robots.txt's misconfiguration <file_sep>#!/usr/bin/python # coding:utf-8 # @author: pengfei filename: misconfigRobots.py import requests import urlparse from optparse import OptionParser ''' This code is used to detect whether the...
09b1abf48855eb1f9e295d0fbc7fc873163f3191
[ "Markdown", "Python" ]
2
Markdown
bupt007/checkFormisconfigRobots
6b8e71db4ec18c9b64f5dc2c3cd53f914572f6ad
0acf0451e32d1a9e1c2f15450e43a915478c84bd
refs/heads/master
<file_sep>from bs4 import BeautifulSoup import urllib.request import os url = "https://en.wikipedia.org/wiki/List_of_state_and_union_territory_capitals_in_India" #defining the url source_code = urllib.request.urlopen(url) #storing the content of url in source code plain_text = source_code #getting pl...
3627111acacb55defd6d3a26fc544ba9dcd417a8
[ "Python" ]
3
Python
kasaraneniamulya/Python_lesson3
9a9b3555aa16177164036f1dde1fff7954640448
80715fcf9c8a0a4d6cb23c08993d61cb23ed7dbd
refs/heads/master
<file_sep>/// <reference types="react" /> /// <reference types="bluebird" /> import * as xlib from "xlib"; import Promise = xlib.promise.bluebird; import * as React from "react"; export { React }; import * as ReactDom from "react-dom"; export { ReactDom }; import * as Redux from "redux"; export { Redux }; import * as R...
1abcd10a5664dea3bbf75a3d240278eb5a159765
[ "Markdown", "TypeScript" ]
11
TypeScript
Novaleaf/blib
a8797f75f75184537614a94643fc0854be971bd9
4de792f30a45d6ed655e123d6ff2f2f81a7e8bc8
refs/heads/master
<file_sep>[![Stories in Ready](https://badge.waffle.io/ashwini0529/volsbb-autologin.png?label=ready&title=Ready)](https://waffle.io/ashwini0529/volsbb-autologin) # volsbb-autologin Chrome extension to auto-login at phc.prontonetworks.com <file_sep>function handleButtonClick() { chrome.tabs.create({ index: 0, url:...
da99551d9591e262bc621d84f9a17fd5e517a7e8
[ "Markdown", "JavaScript" ]
2
Markdown
ashwini0529/volsbb-autologin
2d20608b4d4277ad7bf9253e2b67e389fe4d55fc
2b4b7e85b8b809df712162efd7c86cb57459d147
refs/heads/master
<file_sep>package com.mhuang.common.frame.factorybean; /** * MongoCRUD操作 * @author huangmiao * */ public abstract class MongoCRUDFacotry implements MongoCrudFactory{ } <file_sep><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocatio...
5387423390861a0dadd8a2db7fdc9669b218ec80
[ "Markdown", "Java", "Maven POM" ]
9
Java
huangmiao/Mongo3
8e7d8f71e73f690959616293faee35b0508c2004
23c18fe3aed3faef95510050315886e1c5d6390e
refs/heads/main
<file_sep>package prog2.ha1.testing; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; @DisplayName("Retro calculator") class CalculatorTest { @Test @DisplayName("should display correct number after pressing digit keys") void te...
973e5cc7a55357dc1b3b3196414b2a651901606d
[ "Java" ]
1
Java
Stellasalv/prog2-ha1-testing
4e973aabbb196d20574f79a20e124b56ffd57409
6d6d8924b6b36a31c285f26cfbdf53ff018193a4
refs/heads/master
<repo_name>YanaSazhaeva/palindrom<file_sep>/Palindrom.cs using System; namespace palindrom { class Palindrom { static void Main(string[] args) { if (args.Length != 1) Console.WriteLine("Wrong syntax. Please, use: 'palindrom <string>'"); else ...
fbbfd8ee4a405caa7b4bb3bb60c620646a60796f
[ "C#" ]
1
C#
YanaSazhaeva/palindrom
4f7a4513d70210369964b473da74df17d0624f0b
6c69d1b6bdcd126357fcc037ad34dec99a86806a
refs/heads/master
<file_sep>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 System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Medi...
7f79017727be567ab355a2108002462d6b2a042e
[ "Markdown", "C#" ]
2
C#
kris701/Backup-Manager-2.0
d95b5c4f2ca76c8b51f33f32652c05ac7bc78d12
9971236073d42fc48ca1a7215764d6825fa7e6b8
refs/heads/master
<repo_name>nikhilkpn/search-github-users<file_sep>/src/components/context/alert/AlertState.js import React,{ useReducer} from 'react' import AlertContext from './alertContext' import AlertReducer from './alertReducer' import {SET_ALERT,REMOVE_ALERT} from '../github/types' const AlertState = props =>{ const initial...
33c57a1dde18c089a25d8625996c522973ca2ae5
[ "JavaScript" ]
1
JavaScript
nikhilkpn/search-github-users
2240776537bf2154b4ce8b7768d8c7fc162d8db8
fdf1964237a6ed5a10a93356bf3f6cff5fc82459
refs/heads/master
<file_sep>/* C/C++ Includes */ #include <stdint.h> #include <iostream> /* Application Includes */ #include "stepper-table.h" static ACCEL_TABLE s_table; int main(int argc, char * argv[]) { (void)argc; uint32_t ftimer = (uint32_t)atoi(argv[1]); uint16_t stepper_spr = (uint16_t)atoi(argv[2]); uint16_t speed_dp...
08f69087df51933a8f270c1bf8260a3b5a9e80c8
[ "Markdown", "Makefile", "Python", "C", "C++" ]
42
C++
G2-Innovation/light-cage-node-common
45dc3f215a604c291e93c569ac148f2219238978
8e8e772533ac3cb40cf7ce083df92c763c0fc931
refs/heads/master
<repo_name>up-ecosystem/up-err<file_sep>/README.md up-err ====== Error lib for the up ecosystem. <file_sep>/src/UnspecifiedErr.js import Err from './Err'; class UnspecifiedErr extends Err{ constructor(message){ message = message || 'Uncaught, unspecified "error" event.'; super(message); } } export defaul...
5e123bbcb48b4f7c2edf51add9e1f1423985a1f0
[ "Markdown", "JavaScript" ]
2
Markdown
up-ecosystem/up-err
f06bc8ef682817c16dea07da6f320cfb26c078f9
3af6788799cc62a149ef4fe39ea186fa673be42c
refs/heads/master
<file_sep>#!/usr/bin/python3 # Plot the reminder of an integer division x / y # Copyright (C) 2019 <NAME> <<EMAIL>> # SPDX-License-Identifier: Apache-2.0 from utils import argparser, plot def parse_args(): """This function parses and return arguments passed in""" descr = ("Plot m mod n for 0 <= m,n <= SIZE.\...
1e2636f11d15bdca9be49163c81a75d80e61bc88
[ "Markdown", "Python" ]
4
Python
madrisan/algebra-in-pictures
6d969a337ecb66d7dce1139dc8e36245c4c62660
308c30dcd8114f4c10801a342fd6ef0ae6e383a4
refs/heads/master
<file_sep>using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlayerController : MonoBehaviour { public float speed; Rigidbody rb; private int count; public Text countText; public Text winText; void Start() { rb = GetC...
ae8be4759099ab09a862d80a969cf50ba01a3405
[ "C#" ]
1
C#
Faisalse/RollBallTutorial
d578e613fb5bdec155b4068b16bb907072835f64
6004f6a86afc37ccbeeffe811dbfcc503ef5dea0
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 map; import java.time.LocalDate; import java.util.Collection; import java.util.Set; import java.util.SortedMap; impo...
cab0c97240f6cdbe932a7db3de1be8780218dced
[ "Java" ]
2
Java
jfervic933/estructuras-set-map
cfac7a9ddb9a8a8a867698b72a34cbf7c0291b6b
f2c7745136b18bed53f01a2c82d0482fef61bfe5
refs/heads/master
<file_sep>package com.sales.services; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.sales.models.Customer; import com.sales.repositories.CustomersRepository; @Service public class CustomersS...
80c76e5a7cadb1a9e428d0808308576ce5bb7e40
[ "Markdown", "Java" ]
3
Java
alexpt2000/3Year_ServerSideRAD_Order_Tracking_System
e5df5e36bc18bfad9cb40437e29c5201c0316530
0e5ba4d3c61bdcafe5e29ae8c573bbe127eb5f6a
refs/heads/master
<file_sep>#!/usr/bin/env bash CONTAINER_TAG=condor_watch_q-tests set -e echo "Building condor_watch_q testing container..." docker build -t ${CONTAINER_TAG} . docker run -it --rm --mount type=bind,source="$PWD",target=/home/watcher/condor_watch_q,readonly ${CONTAINER_TAG} $@
1c6c9f9d2870cbe3526ac5d531adaa3cf498c28a
[ "Shell" ]
1
Shell
elin1231/condor_watch_q
15e2173fdc5866c5dd4ec7dd2e82ea99d12473b9
e0af959db7e05fcdaa1fa9a43717a1e2fff9af43
refs/heads/master
<repo_name>MadsHolten/pipecalc<file_sep>/app/services/triplestore.service.ts import { Injectable } from '@angular/core'; import { Http, Headers, Response, URLSearchParams, RequestOptions } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import { Query, UpdateTriple, SchemaData } from './triple...
428200f288510d51b2c710105ed6f840cd46012a
[ "TypeScript" ]
5
TypeScript
MadsHolten/pipecalc
e453398fe546c6b5b0262672b76486291d0e88cd
fd2044d7891974698bb27994ca56ebc01a1f515a
refs/heads/master
<repo_name>dmgame/miner-game<file_sep>/src/store/models/Item.js import { v4 } from "uuid"; export default class Item { constructor() { this.id = v4(); this.isMine = Math.random() * 10 > 8; this.isOpened = false; } } <file_sep>/src/store/modules/miner.js import Vue from "vue"; import Item from "../model...
073c50079be128b0de67447a0dcf4ccef3df4c86
[ "JavaScript" ]
3
JavaScript
dmgame/miner-game
556b8a04b2d445ce33f94b29bf4738ddf49fd701
0250d7e3c84dfc18a68b1f5a5cd34e15ce99c5b2
refs/heads/master
<file_sep>package com.zsf; import com.zsf.domain.DataDO; import com.zsf.domain.InfoDO; import com.zsf.service.data.IDataInitService; import com.zsf.service.data.impl.MySQLDataInitService; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springfram...
ce97cf71e8169cd0c697897208d9ef413c6eaf08
[ "Java" ]
3
Java
zsfblues/MybatisXmlGenerator
450159e03eb42e55dff30926bc9877ea27f3f59e
181032ded4b703ec0e0d979e19d9e3d96af72850
refs/heads/master
<file_sep>import React from 'react'; import './Button.css'; import NumberButton from './NumberButton'; const NumberKeys = () => { return ( <div className ='number-keypad'> <NumberButton name='clear' onClick={e => this.props.onClick(e.target.name)} buttonStyle='number' text={'clear'}/> <...
3b0442af74dec4ec4e745a42fce70390d6e97b98
[ "JavaScript" ]
4
JavaScript
mharley12345/React-UI-Components
6fca97eaf5ce7f802e0f0317211df7a1ded03bc5
363dac5e23d1f37de9956cbb6545216605c54c34
refs/heads/main
<file_sep># springboot-composite-key Querying using the Composite Primary Key Let’s now see some query examples using the composite primary key - 1. Retrieving an Employee using the composite primary key - (employeeId and deptId) // Retrieving an Employee Record with the composite primary key ```ruby employeeRep...
98473347074592c85f2493b9d45b3afc24d4ccf8
[ "Markdown", "Java" ]
3
Markdown
GuttakindaBhaskar/springboot-composite-key
1aea511916794b7ca7e5eb4c6f2e88ba4e992806
012d43a294214839de918e364fb5b2374d788d71
refs/heads/master
<repo_name>naval07/firstProgrammingProject<file_sep>/classbrsplayer.py import tkinter as tk #class brsPlayer(WinDatos): class brsPlayer: #global dataBases def __init__(self): self.win = tk.Tk() self.frame = tk.Frame(self.win) self.frame.pack() n = tk.StringVar() tk.L...
2217b3c69bb529e1ac93341f6395ce8040632c07
[ "SQL", "Python" ]
14
Python
naval07/firstProgrammingProject
704402688dab1dac40942063e226ddfc3df5af34
736aa4e6e61121013a045cb6251df2b1ea25cb73
refs/heads/master
<file_sep>#include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> /* * * Como eu entendi o processo: * * - João: @ByllMe start recording * - ByllMe: Recording started * - João: @ByllMe total 200,00 people 'all' * - ByllMe: Saved * - João: @ByllMe I paid 100,00 * - ByllMe: Saved * - Carlo...
81e52d73879e1442e28aa0c5bfacfdcc7acb9f79
[ "C" ]
1
C
JCacho/Algo
65478a5148c51942fd2ff99f6788ffe45ae9c9b5
033d86e5696ca4c818b1a97c7aabf21de1d26a97
refs/heads/master
<repo_name>MagicXyxxx/BlogAbout<file_sep>/cedcl/cdecl_modify.c /* cdecl.c---C语言声明解析器修改版 author:Magic激流 data:2018/12/31 */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> #include <ctype.h> #define MAXTOKENS 100 #define MAXTOKENLEN 64 enum type_tag { IDENTIFIER,QUALIFIER,TYPE }; s...
962c1af5509be774e4e2bb3c9dce6e2731ec1d8e
[ "C" ]
3
C
MagicXyxxx/BlogAbout
39c2e992b94c3e12deca9a99b667e802c9e647eb
f418059040cb7680a65462a6ecce1ce9c1c6bf76
refs/heads/main
<repo_name>warzes/Game<file_sep>/code/Game/DrawGrid.h #pragma once #include "Renderable.h" #include "AABB.h" // TODO: указывать не макс размер, а кол-во ячеек и их размер // TODO: последние линии не рисуются class DrawGrid : public Renderable { public: DrawGrid() {} DrawGrid(float x, float y, float width, float he...
4c5eec9830a56be20f145bdba89a2ab31460850f
[ "Markdown", "C", "C++" ]
67
C++
warzes/Game
bd539c086ef5c6f6d04f0290d7b15313dec264a4
cc0577422360628b704a9f3dcf65b4eead3e0861
refs/heads/main
<file_sep>// // Request.swift // Peasy // // Created by <NAME> on 28/11/2019. // Copyright © 2019 <EMAIL>. All rights reserved. // import Foundation /// Represents a request received from a client (i.e. browser or app). public struct Request: Hashable { /// The method of the request, i.e. `.get`, `.post` etc. ...
d4096391064bb8b1cf94432c12e30046f7996a6e
[ "Swift", "Ruby", "Markdown" ]
28
Swift
KaneCheshire/Peasy
8ee24bb442be2780f6673957aacd0ab1b3502dd9
5030d71fe7589721c4efeedb69d2abb1f4adea4a
refs/heads/master
<repo_name>Gabiru-cpu/JS-test<file_sep>/script.js let persona = document.querySelector('#persona') let square = document.querySelector('#square') function pular(){ if(persona.classList != 'animar'){ persona.classList.add('animar') } setTimeout(function(){ persona.classList.remove('animar')...
26db659b1e01d133f9463294f42a69c7b641baff
[ "JavaScript" ]
1
JavaScript
Gabiru-cpu/JS-test
5f618603c5656195657436fd94e2579b6dddb2ec
8965d3166d8086f6cd003115479a5629c7479ecd
refs/heads/main
<repo_name>C-Joydip/scripts<file_sep>/password_generator.sh #!$PREFIX/bin/bash echo "This is a simple password generator. You can generate password of any length with this tool" read -p "Enter the length of your password: " passl echo "To generate password with hexadecimal algorithm type hex. To generate password wit...
28d9958c0704b36033946e6a0a62a37e6c4df29e
[ "Python", "Shell" ]
23
Shell
C-Joydip/scripts
3274991e0a66b18f733c0cab12e860b4ba07236e
d2d5cbf1eb4cc5d743d2461c3213e003c83980ab
refs/heads/main
<repo_name>yaruchyo/MovieRecommendation<file_sep>/readme.md first run the 01_RecommendationSystem_Cosine.ipynb to generate to cosine similarity martix. Then run the 02_Cosine_sim_to_PCA to compress the cosine Sim matrix. This scripts will generate the npy arrays in /static/npy folder. To start the server, start run...
767b327ce3efe45f6963a67632c351623395ddd5
[ "Markdown", "Python", "Text" ]
7
Markdown
yaruchyo/MovieRecommendation
90c2dea60dd5ed050444b264cfd9372fdcddbd77
e28ccd1bb9deea50fa20c1af9a0bab2a454a56e7
refs/heads/master
<repo_name>renatoillescasr/JSON-XML<file_sep>/js/json-xml.js function cargarDatosServicios() { //Carga de datos empresa desde servicios_basicos.xml $.ajax({ url: 'data/servicios_basicos.xml', error: function() { alert('¡error al cargar el archivo con los ritmos!') }, dataType: 'xml', succ...
25a7cea6d80bc2933ac844ed288e23134d8c0742
[ "JavaScript" ]
2
JavaScript
renatoillescasr/JSON-XML
823823e4618a5ff6388e5991c631a2a967ab4f85
8c3f904b1981882d1b94c21f7b69cea66b89f82a
refs/heads/master
<repo_name>danielholmes/mike-photos<file_sep>/src/api/GooglePhotosService.js class GooglePhotosService { constructor (gapiClient) { this.gapiClient = gapiClient } loadAlbums () { return this.gapiClient .photoslibrary .albums .list({}) .then(function (fullResponse) { return...
73f5e462a25dbb71083c7f4b740442108f3eed5c
[ "JavaScript", "Markdown" ]
4
JavaScript
danielholmes/mike-photos
7784042d1647a3f178cc82c1ab5c2800a68bacb7
dbb5b7f2c949d763d41c61c3b4a1831e7fe97d67
refs/heads/master
<file_sep>// // AppDelegate.swift // Bookshop // // Created by Klemenz, Oliver on 25.06.19. // Copyright © 2020 Klemenz, Oliver. All rights reserved. // import Foundation import OKit @objc(Group) class Group: ModelEntity, Codable { var id: String! var name: String = "<New Group>" var status: Stri...
bde356dfd7901afc858d4d9b219a9af785dfb77b
[ "Swift", "Ruby", "Markdown" ]
90
Swift
oklemenz/OKit
3fb18da52d9d0e29435e6bc65b4a7c3e337fc3f0
6b7dcb6da71f0c2bd793ff4cab9f7c3287b7551f
refs/heads/main
<file_sep>from scripts.pigLatinTranslator import PigLatinTranslator def test_word_starts_w_vowel_ads_ay_at_end(): pig = PigLatinTranslator("eye") assert pig.translate() == "eyeay" def test_word_starts_w_xr_returns_worday(): pig = PigLatinTranslator("xray") assert pig.translate() == "xrayay" def te...
33c75c5a3f0892bb5767b3c1612214b52f9fd7ba
[ "Python" ]
2
Python
Angelica137/PigLatinPython
9fa6cedb8587807c1ead71247b80cf030c82735b
21c23a76891e1f656229ca0dcc5e72806696757f
refs/heads/master
<file_sep>#include <iostream> using namespace std; int lencade(char *cadena){ int tam=0; for(int i=0;*cadena++!='\0';i++) tam++; return tam; } int lencader(char *cad){ if(*cad=='\0') return 0; return 1+lencader(++cad); } void inv(char *cad){ char *fin =cad+lencade(cad)-1; ...
64196809f1566cc27bdf9feb0cf5301e5b059b08
[ "C++" ]
1
C++
pieropradomanrique/TRE
52b91bbaae6992da74b936d13902ef10d37e6282
7a19e863f6cb401b11bd8d42b926fd78554f7d40
refs/heads/master
<repo_name>smoooty/wheatpaste<file_sep>/src/App.js import React from 'react'; import './App.css'; import content from './data-config'; import { Div } from './styles'; import GlobalStyle from './Globals'; const App = () => ( <Div> {content.map(entry => React.createElement(entry.type, { ...entry.props }, `${...
c55878bb7887922eacb8f0337b42ad041b4473d8
[ "JavaScript", "Markdown" ]
11
JavaScript
smoooty/wheatpaste
88ec8c1a2927bd8a7afb1d15cd53f2ae2110ffed
00b0f563f1838a02edb08aa6b956db9df89445e7
refs/heads/master
<file_sep># video2ascii Transfer video to ascii animation using ffmpeg. ## Screenshot ![screenshot](img/screenshot.png) ![raw_video_frame](img/raw_video_frame.png) ![ascii_string](img/ascii_string.png) ![ascii_frame](img/ascii_frame.png) ## Prerequisite - Have [ffmpeg](https://www.ffmpeg.org/) installed. It's recomme...
61eef6a9d8c740c6b2612d242e2d6973f4a41068
[ "Markdown", "Shell" ]
5
Markdown
chinsyo/video2ascii
5c853b853b428c55468499733f7487466a034583
ea431be5984f437e9dc1ebc2f35e9c409e1718f2
refs/heads/master
<repo_name>mahmud83/Generate-Data-Twitter<file_sep>/src/mongodb/GetId_TweetMain.java package mongodb; import java.net.UnknownHostException; /** * * Conde For selecting id tweet // Code untuk mendapatkan id tweet yang akan digunakan dlam proses pengumpulan data reply tweet. * @author ahmadluky * */ publi...
afce27333a3c1afc28a84ff397ef6baa889053a2
[ "Markdown", "Java" ]
2
Java
mahmud83/Generate-Data-Twitter
0bc549ef82564c8a9b894451387b0a0bc56657dd
62072739723afeeb659e92ea9a1f6df8ee0e9ed1
refs/heads/master
<file_sep>import { TestBed } from '@angular/core/testing'; import { CourseserService } from './courseser.service'; describe('CourseserService', () => { let service: CourseserService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(CourseserService); }); it('should be ...
364bd9a6127c319377d1c5faea62b9793a9fc36f
[ "TypeScript", "HTML" ]
18
TypeScript
arushsingh2017/web-tutorial
f621fce79ace24fe4774b71c1e346f129dfcb14f
518c3cc5fa764a87c21b305d8aa10e81975056b4
refs/heads/master
<file_sep>bool videodevice::readFrame(string file_name){ struct v4l2_buffer buf; buf.type=V4L2_BUF_TYPE_VIDEO_CAPTURE; buf.memory=V4L2_MEMORY_MMAP; //освобождаем буфер if(xioctl(fd, VIDIOC_DQBUF, &buf)==EAGAIN) return false; buffer *temp=devbuffer; //сохраняем в файл RAW strin...
0680baa9a9171ec5218a35a92c993cd59c281c28
[ "C++" ]
1
C++
dimitrR/WebdemonLinux
2090d09c7f0f922530d068f4c377ff8d2b0b4b0d
85cbbd4222f99c66aad6b02fb72e484b9549c438
refs/heads/master
<file_sep>package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class header_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFactory.getD...
20ef6f261f201e5b38cb17336cf9fecad807c19b
[ "Java" ]
2
Java
iZuminnnn/Project-Web
5d8ba978c065b3599b09dffa496c8816a11388b1
4a9ce169b6a412d8c7bb00fa8be9ccc7ad4d15ce