branch_name
stringclasses
149 values
text
stringlengths
23
89.3M
directory_id
stringlengths
40
40
languages
listlengths
1
19
num_files
int64
1
11.8k
repo_language
stringclasses
38 values
repo_name
stringlengths
6
114
revision_id
stringlengths
40
40
snapshot_id
stringlengths
40
40
refs/heads/master
<file_sep>import React from 'react' import {FaFacebook, FaTwitterSquare, FaYoutubeSquare} from 'react-icons/fa' export default [ { icon:<FaFacebook/>, url:'https://google.com' }, { icon: <FaTwitterSquare />, url: 'https://twitter.com' }, { icon: <FaYoutubeSqu...
5a9e09b18691400c398ebe4586767cf4b162f0d3
[ "JavaScript" ]
1
JavaScript
PeterEfland/gatsby-backroads
feb2b5bb49d84a812f0bccbb0f523a2dd73b14a1
0562bc6295174dbdd08ac703e064551784e88874
refs/heads/master
<file_sep>import { useHistory } from "react-router-dom"; import React from "react"; import { Input } from "antd"; import { Upload, Button, Icon, Alert } from "antd"; import { Formik } from "formik"; import "./CreateEvent.css"; import { connect } from "react-redux"; import { createEvent, uploadImage } from "./../...
5f52cf5380aa6df0fe5c11a3022943164a87634a
[ "JavaScript", "Markdown" ]
10
JavaScript
alizaLakhani14/Event-Mangement-App
d9aa6ae839d64287ec0f3fd00a963662a30c143b
ca41dbfcf1f24fa1181a872c330deb7df45f7f52
refs/heads/main
<file_sep>//a helper to redirect unauthenticated users attempting to access the login page const withAuth = (req,res, next) => { if (!req.session.user_id) { res.redirect('/login'); }else{ next(); } }; module.exports = withAuth;<file_sep>// const { User } = require('../models'); const userD...
139a27861c98125d4eb9a50a81844c2f41ff53e8
[ "JavaScript", "Markdown" ]
3
JavaScript
Flying-dink/mvc-tech-blog
707de11c0191f21e8d16da1d070baf9a405730bc
1ff339f1c9357902832eb3bcbdc3546872b8d91f
refs/heads/master
<file_sep><?php ######################################################################## # Extension Manager/Repository config file for ext "ajax_google_search". # # ######################################################################## $EM_CONF[$_EXTKEY] = array( 'title' => 'Ajax Tabbed Google Search', 'descript...
349e5a7d5d14a75458bbb500990a1b4e05ad0901
[ "Text", "PHP" ]
3
PHP
TYPO3-svn-archive/ajax_google_search
42b2f05c2a09cbd0c4290b19673170e898c6ca60
54fbb8154753f332d6d237453aeb2faee6e9e73f
refs/heads/main
<file_sep>#include <windows.h> #include <fstream> #include <string> using namespace std; // counter for the keystrokes static unsigned long long counter = 0; // length of the expression "SESSION=" constexpr short session_word_length = 8; // length of the expression "TOTAL=" constexpr short total_word_length = 6; /...
8f010012a653c287f8167d8c64a2dfd2d35b30aa
[ "Markdown", "C++" ]
2
C++
ZPetricusic/KeyloggerCPP
5ab3f9387c77675b3c43589cb59e2975b2f1e50b
82877a2906fa547e6686af34c20667881061de4b
refs/heads/main
<repo_name>iamdustan/dotfiles<file_sep>/README.md Dustan’s computer setup and dotfiles. Originally forked from [paulirish/dotfiles](https://www.github.com/paulirish/dotfiles). Currently it’s pretty hard-coded for OSX, and there is no intention to change that. <file_sep>/config/nvim/lua/config/keymaps.lua local keyma...
f13a17af2e631a938ae2aab276bb7c499d38d1ab
[ "Markdown", "Shell", "Lua" ]
18
Markdown
iamdustan/dotfiles
0da86b2ed21df09caa73058c91e4efe820d4fa90
6bcbcc8e9a044cbb395f7acc71326bbaadb7fe3e
refs/heads/master
<repo_name>shimberger/cwput<file_sep>/examples/collect-metrics.sh #!/bin/bash # Configure region and namespace REGION="eu-central-1" NAMESPACE="TestNamespace" # Shorthand to make putting metrics easier CMD="./cwput --region $REGION --namespace "${NAMESPACE}" --dimensions Server=$(hostname -s)" # Save load average LO...
b8901f4eded285b4aab67a10667dd284d877f6da
[ "Markdown", "Go", "Shell" ]
3
Shell
shimberger/cwput
21dae570c4a77566ab05c7a670fa519c8c2a0d57
56ddc8e2408402b977f3b8eeacb91a9a586b670b
refs/heads/master
<repo_name>MrSescon/projetoFinalAngular<file_sep>/src/app/conversor/Models/index.ts export * from './moeda.model'; export * from './convesao.model'; export * from './conversao-response.model';
82bfe560aae3d709a392c9438c27ea5cb99f2797
[ "TypeScript" ]
1
TypeScript
MrSescon/projetoFinalAngular
6224b0f4881d5c584d74e533fce513854efbaf06
c9f9b30b5127b7be2abeb0f4c15e88816ab87662
refs/heads/main
<repo_name>luisbraganca/morning<file_sep>/src/components/Button/index.jsx import React, { useState } from "react"; import useStyle from "./useStyle"; export default function Button({ onClick, style: parentStyle, children, disabled, }) { const [hover, setHover] = useState(false); const style = useStyle({ ho...
6596389ae0517dffd788c660ce5f069012787501
[ "JavaScript", "Markdown", "Shell" ]
27
JavaScript
luisbraganca/morning
5a973f981a6a87c3d46579f607c5c31e08a6208c
d48677793f6ca17b5b7fc903b26f3d326e6367f4
refs/heads/master
<repo_name>bwelco/Industry4.0APP<file_sep>/app/src/main/java/com/bwelco/app/RoutePlanActivity.java package com.bwelco.app; import android.app.Activity; import com.baidu.mapapi.SDKInitializer; import com.baidu.mapapi.map.BaiduMap; import com.baidu.mapapi.map.MapView; import com.baidu.mapapi.model.LatLng; import com.b...
3d9b03c8d4c331a33661ee255b7ed0bd622904fa
[ "Java", "Gradle" ]
14
Java
bwelco/Industry4.0APP
47095f755b6ad2da77e58a0faf5e4866cfad47f5
8424b465bf3562c40628f7348c67bdf3c744271c
refs/heads/master
<file_sep>package main import ( "example.com/m/v2/reexec" ) func main() { // Running in init mode reexec.Init() } <file_sep>module example.com/m/v2 go 1.13 require ( github.com/docker/docker v1.13.1 // indirect github.com/docker/libcontainer v2.2.1+incompatible github.com/gorilla/mux v1.7.3 github.com/tchap/...
d0e59601e59428e7615f6ec52fc8d51ff1f33225
[ "Go Module", "Go" ]
2
Go
jindp1/docker-an
814dddeb36ac4084913b620e7ad72c737d3b7280
d4808f24dafe8a75dc9119b3881192a4c693bee9
refs/heads/main
<file_sep>import React from "react"; const Year = ({ year, currentDate, onYearChangeHandler }) => { const tempCurrentYear = new Date(currentDate).getFullYear(); let className = "year-picker-month-cell"; if (year === tempCurrentYear) { className += " selectedMonth"; } const handleOnClickOverYear = () => ...
d7d606ee654d9d8c58d9b96d7a5334c1f782cfa2
[ "JavaScript", "Markdown" ]
11
JavaScript
Santhosh1392/react-datepicker-ui
496ed3ab78ef2b88c8cedf6b3c89204f3fffa8a0
2c9989e01699ee6c724d9c55c5536f20b6e10970
refs/heads/master
<repo_name>cran/FisherEM<file_sep>/R/fem.loglik.R fem.loglik <- function(prms,K,Y,U){ # Initialization Y = as.matrix(Y) n = nrow(Y) p = ncol(Y) prop = c(prms[1:(K-1)],1-sum(prms[1:(K-1)])) alpha = prms[K:(2*K-1)] beta = prms[(2*K):(3*K-1)] my = matrix(prms[(3*K):length(prms)],ncol=p,byrow=T) d = min(p-1,(K-1))...
6b28896f46eabbddaf8f14cd08554cfeab591263
[ "R" ]
33
R
cran/FisherEM
4ff2e8e609a42942801b74290158e79e3c18c751
3b565591d45e456884b8296af38047421f8ade93
refs/heads/master
<file_sep>package tmechworks.common; import net.minecraft.block.Block; import net.minecraft.item.ItemStack; import net.minecraftforge.oredict.OreDictionary; import net.minecraftforge.oredict.ShapedOreRecipe; import tmechworks.common.SpoolRepairRecipe; import cpw.mods.fml.common.registry.GameRegistry; public class Mec...
963bf966bf01ebb31eaca24717852b26cf88ac0f
[ "Java" ]
2
Java
TheVikingWarrior/TinkersMechworks
0781be63c73486a0ad219fd976a05e1adc1ad77e
73be898162c9c596efcd1ffb1c3c089be24ce52c
refs/heads/master
<file_sep><?php class Remora_RemoraIntegration_Helper_Data extends Mage_Core_Helper_Abstract { }<file_sep><?php class Remora_RemoraIntegration_Block_Remora extends Mage_Core_Block_Template { }
c494cd5fb5e44c0e4b52850556da887244b4fa15
[ "PHP" ]
2
PHP
remoraUK/MagentoV1
88ad146f4a228a76c4feb36f4893140019253678
1584220356e8a4a4f467851387d0e8596100594f
refs/heads/master
<file_sep>import React, { useState, useEffect } from 'react'; import { useDispatch } from 'react-redux'; import { format, parseISO } from 'date-fns'; import pt from 'date-fns/locale/pt'; import { withNavigationFocus } from 'react-navigation'; import { Alert } from 'react-native'; import Icon from 'react-native-vector-...
de530df985889eb526dd90a92d355d1e8e6d2b9b
[ "JavaScript", "Markdown" ]
11
JavaScript
robertomendoncaa/meetapp
53513e0673002b98187114cf3b3954ae6cc6a57b
3e42311f40e10894a4e1f49b126b948648286962
refs/heads/master
<file_sep>using System; using System.Collections.Generic; using System.Linq; using System.Text; using Terraria; using TShockAPI; using WhiteXHazSkillz; using WhiteXHazSkillz.Events; namespace TestPlugin { public class TestSkill : WhiteXHazSkillz.Plugin { public EventRegister register; public override string Na...
b9af2090f5c3ce3fa1c564308a44b5720a4aa622
[ "Markdown", "C#" ]
15
C#
qipa/TShockSkillPlugin
bd28a2b4db759449a8777c9c11501943a018f57b
6e0ff2456d2a78926067f63dbce5f61a956f8d78
refs/heads/master
<repo_name>rockycabaero/hellohaus<file_sep>/app1/www/js/services.js starter.service('FbUser', function(UserAuth, $q) { return { name: function() { var deffered = $q.defer(); FB.api( "/"+UserAuth.get().userID, function (response) { ...
db17e74d81a4097ecb5de1ade475236780f0f21c
[ "JavaScript" ]
2
JavaScript
rockycabaero/hellohaus
46ef1fea220f181381b4b9185330799f230ed135
76b3b2e9d07084d61c3c72a9b44bc8940b0eae6e
refs/heads/master
<repo_name>pratikgangan/pratik_solution<file_sep>/venv/Scripts/app.py from flask import Flask, request from Movies import movieMetadata app = Flask(__name__) @app.route('/') def index(): return 'Server Works!' @app.route('/api/movie/<string:name>') def api(name): merged=movieMetadata(name) return merged...
ec894678e15bd633106b798923f75cb08618919d
[ "Python" ]
2
Python
pratikgangan/pratik_solution
c4b08393a4efeb698e3017d5441b5953c056cebe
89c584d5b9e6b024f139998085bedce9748f2dc3
refs/heads/master
<repo_name>eklitzke/drakebot<file_sep>/bot.cc // -*- C++ -*- // Copyright 2012, <NAME> <<EMAIL>> #include "./bot.h" #include <glog/logging.h> #include <boost/asio.hpp> #include <boost/asio/ssl.hpp> #include <boost/bind.hpp> #include <boost/random.hpp> #include <cassert> #include <ctime> #include <fstream> #include ...
8df00a0d5b862c3b8856bf4fb93d51b95cc6165d
[ "Markdown", "Python", "C++" ]
5
C++
eklitzke/drakebot
bbcadff0a61b7b62e96e7a906ed6f7e5d4a37232
a2cdfa8a63cde251671c1d8745fbba13d4ff2084
refs/heads/master
<repo_name>Thogi45/Support_Generator<file_sep>/Support_Shape.py from stl import mesh from matplotlib import pyplot as plt from mpl_toolkits import mplot3d from mpl_toolkits.mplot3d import Axes3D from mpl_toolkits.mplot3d.art3d import Poly3DCollection from matplotlib.pyplot import autoscale import numpy as np import Sup...
6a44854b7d64ab89e9e795e1c2fb3c0993937153
[ "Python" ]
6
Python
Thogi45/Support_Generator
65d0deae52ccd5ea0f5a9f3cd61ac0ad01ac9bf3
5bae088f52a3d523239a5dfa60445f2c6b5cb87e
refs/heads/main
<file_sep>def kill_all(): for proc in psutil.process_iter(['pid', 'name', 'username']): try: if((proc.info['username'] == None)): #If username is None then process will not be Killed print('skipped :',proc.info['pid']) elif((proc.info['name'] == None)):# Ignore this one ...
90d91e752a1ca7a453ca070b661602cb84bc69a2
[ "Markdown", "Python" ]
2
Python
starkk242/Kill_all_Process
1a1b05227c4e137aa375368eed9688213973803c
4dbae4dc0e46f2eb6bdb404c29f1700dbd920626
refs/heads/master
<file_sep><?php namespace App\Http\Controllers; use Illuminate\Http\Request; class WelcomeController extends Controller { public function about() { $heroes = ["悟空", "達爾", "鳴人", "佐助", "魯夫"]; return view("pages.about", ['heroes' => $heroes]); } }
e27e0a187d6d376fdbff20b8bff679d80236ab95
[ "PHP" ]
1
PHP
c108156144/my-blog
6a162b9ac7784af7e8312f4d984a5c2ca65cc8d7
6f01af70654036ce6b2c8ee8a3e428cce646f34a
refs/heads/master
<repo_name>mariogao/microclient<file_sep>/go.mod module github.com/mariogao/microclient go 1.15 require ( github.com/mariogao/microservice v0.0.0-20201211090610-1bb065b5a350 // indirect github.com/micro/go-micro/v2 v2.9.1 ) <file_sep>/readme.md golang 微服务项目客户端代码 客户端要调用服务端代码,就需要按服务端定义的接口,及参数来调用, 所以客户端内要引入服务端项目 把 g...
9f7ede4ef0f75554489e911154d3afa1219e3bb4
[ "Markdown", "Go Module", "Go" ]
3
Go Module
mariogao/microclient
de85db55fac8171d1de38cab7fc9bbb65f5b2e2d
aa3277cfb01e81e0b625c96daef03f55ea0539e0
refs/heads/master
<file_sep>using System; public class OmniaClubPromoter : Promoter { public OmniaClubPromoter() { } public OmniaClubPromoter(string firstName, string lastName, int cellPhone) : base(firstName, lastName, cellPhone) { } protected override void ShareWithInnerCircle() { Console.Wri...
7e6e9dc4406ca701c40d6493825b268dcb5b7273
[ "C#" ]
3
C#
wlricardo/Pilares_do_POO
bc739595fccad818e18d0005bd85be09917e2591
326d038074411b67776699b6750a241b7d093a24
refs/heads/master
<file_sep>import React, { useState } from 'react'; import jacket from '../../img/jacket.jpg'; import tankTop from '../../img/tank-top.jpg'; import classicJacket from '../../img/classic-jacket.jpg'; import classicTankTop from '../../img/classic-tank-top.jpg'; import noir from '../../img/noir.jpg'; import military from '...
7db29d32d617395f7e8ecbe05bc31c3b768a73ca
[ "JavaScript" ]
1
JavaScript
Alpesh-Jadav/Costume-changer
da9530fad896066211aaaf47f0163d250ac7fa63
536c5683e3463839b944c50c85c22414f2bdd500
refs/heads/master
<file_sep>OUTPUT_FILE = "encrypted.txt" INPUT_FILE = "plain_text.txt" BASE_SIZE = 128 CHUNK_DIV = 15410 def break_apart(num,c=None): # break a number into a list of it's digits if c is None: c = CHUNK_DIV gooshes = [] while num >0: gooshes.append(num%c) num = num // c return ...
f750e87d5442e92ffd8c57b010c8338aa5c864fa
[ "Python" ]
1
Python
Itaay/encryption
b675891643e1c77a0bd3e14b5db7f2ada66b9d91
51dfb92f9d6389ce4fc5b3fa84c9ffb255f01aa6
refs/heads/master
<file_sep>package com.kaneri.admin.mywhatsapp.settings; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.TextView; import com.google.firebase.auth.FirebaseAuth; import c...
e5f9feb6be4160af01a0cb8ab6fb7abdd8ac3fcd
[ "Java" ]
2
Java
karanfc/MyWhatsapp
2cf785fc3703edc5b28f21287bc2022f5bd4e1b0
44d5f634d43d311de4216fc3ed19185e46cf2c40
refs/heads/master
<repo_name>vbrutt/JavaChatApplication<file_sep>/src/Program.java public class Program { public static void main(String[] args) { try { TestProject testProject = new TestProject(); testProject.doStuff(); testProject.dispose(); } catch (Exception exception) ...
0a78ddaa4870415308700c9800004165d22c9667
[ "Java" ]
1
Java
vbrutt/JavaChatApplication
4b3296a70c1bec279a62017d2d7d4b501a4fe2b4
df42b4b1696f71ce75e3320b310e10fe83325b69
refs/heads/master
<file_sep>package test; import com.dream.utils.JDBCUtils; import com.dream.utils.UUIDUtils; import com.mchange.v2.c3p0.ComboPooledDataSource; import org.junit.Test; import java.sql.*; public class JdbcTest { @Test public void testJdbc() throws Exception { Class clazz = Class.forName("com.mysql.jdbc.D...
8a5c7b2a0701010791e28393a67fbc3176c2eb79
[ "Java" ]
4
Java
shitianyang/SunDream
6a5e90ece159d3013e52e307baeb4ea958a8bfb3
dd630cec4508e2f0217bf92a470c4cf3264a9883
refs/heads/master
<repo_name>Keerthanawizara/surepay_server<file_sep>/src/property/propertyController.js const propertyCollection = require('./propertyModel'); const mongoose = require('mongoose'); const Joi = require('joi'); //server side Data validation initialize const schema = Joi.object().keys({ county: Joi.string(), pin...
ddb43fc9d8dd5f84e0f055acd1df8a71909517cb
[ "JavaScript" ]
7
JavaScript
Keerthanawizara/surepay_server
2e51759b7a476e1d1315f34ecd043913cdae2c9b
a0a6ff830f92c0425781f430183ebea344a09702
refs/heads/master
<file_sep>var cwise = require('cwise') var genfun = require('generate-function') var colorStyles = require('pixel-to-css-color') var Ndpixels = require('ndpixels') var Tc = require('tcomb') //module.exports = Tc.func([Ndpixels], Tc.Nil) // .of(createPixelsToCanvasRenderer) module.exports = createPixelsToCanvasRendere...
b2c7cadf47be1dd2b1071e7bb903e8044b27a4f8
[ "JavaScript", "Markdown" ]
3
JavaScript
livejs/pixels-canvas
44e2f7e7b5c08c3b07149dad315661f9fc8bd1db
6dcf6d7a516f754b0ee23bfb479be82a75501d71
refs/heads/master
<repo_name>thekidfromyesterday/ap_java<file_sep>/Missing Assignments/src/RationalTester.java public class RationalTester { public static void main(String[] args) { Rational testRational = new Rational(1,3); Rational testRational2 = new Rational(2,6); testRational.printRational(); testRational.negate(); t...
011cab0c7734a00ee5b3154e54660969c45d89f4
[ "Java" ]
17
Java
thekidfromyesterday/ap_java
c83f5024c4fd38c8bac540d85b4acf0ea464074d
08174d6fcda4e8ab8a56e4113eaddbc97c80f1b0
refs/heads/master
<file_sep>#!/bin/sh KUBE_API_URL=https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERVICE_PORT_HTTPS/api KUBE_TOKEN=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token) CA_CERT_FILE=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt AUTH_HEADER="Authorization: Bearer $KUBE_TOKEN" # kubernetesのAPIを叩く function call...
e628e070f300bd51255701dc4e9d0624b06308fe
[ "Dockerfile", "Shell" ]
2
Shell
miyachi000/random-scheduler
1f56ecb4775053c7d30a9599b312c9903d4dcdcf
2a72ebafc13e2be65f352efeb31e0abbd4d76370
refs/heads/master
<file_sep>/** * Created by zemoso on 4/7/17. */ public class DividedByNegative extends Exception{ public String getMessage() { return "Don't divide with negative numbers"; } } <file_sep> /** * Created by zemoso on 4/7/17. */ public class Exception_Handling { /** * @param a a is used to ...
c59e84066793ac12d9f3f86c37f32ad625185814
[ "Java" ]
10
Java
Bhupathi-Raju/JAVA
31a61954c82665f6c4163308c14c25da1fef24d9
90be911cd4e9e3ef2e96a01c2498bdb56597626c
refs/heads/master
<file_sep>//! A safe binary tree. //! //! The `binary tree` allows inserting, removing and is naturally sorted. //! //! NOTE: This was written for a learning purpose. use super::stack::Stack; use std::cmp::Ordering; /// A binary tree build from Nodes. This struct represents a binary tree /// holding a root node. pub s...
c65b440ec2e8a1f0fd5e9b6ef6b9b728a78cb77a
[ "Markdown", "Rust", "Makefile" ]
10
Rust
1c3t3a/rust-data-structures
d42ea11c38289dea1fc798a8b8d82ba17d3d2284
fb5a0ec489e1fb02efff9058794eb43267cf3ce6
refs/heads/master
<file_sep># -*- coding: utf-8 -*- """ Created on Sat Oct 14 15:49:47 2017 @author: mumar """ import twitter_sentiment as ts x, y = ts.pre() # Let us consider CountVectorizer from sklearn # CountVectorizer, TfidfVectorizer, Word Embeddings, Word2Vec X_vec = ts.countVectorizer(x) y_encoded = ts.labelEncoding(y) # Now, ...
4132642a181964259c5d52f1001509a20b9aa59c
[ "Markdown", "Python" ]
2
Python
leoking90/TwitterSentimentAnalysis
965a45983e6ff05e6cea99d8bed215e915c316a4
75252b1dcc24804ad6d9e8552c71259259daef83
refs/heads/master
<file_sep>import httplib, urllib, base64, urllib2, json def face_api_call(link): print "\nFACE FEATURES API\n" headers = { 'Content-Type': 'application/json', 'Ocp-Apim-Subscription-Key': '<KEY>', } params = urllib.urlencode({ 'returnFaceId': 'true', 'returnFaceLandmarks': 'false', 'returnFaceAttributes': ...
bb567c94d7cf906a66466dce1d4d7eccc47887cb
[ "Python" ]
1
Python
aniketvp/hacktech
ec2a3e1f966038aa6d0b79b5bd576255bc30fd49
e1eae8790e5554c140d3cd3c06f2c0e57ca45e25
refs/heads/master
<file_sep>import Vuex from 'vuex' export default new Vuex.Store({ state: { articles: undefined, article: undefined, comments: undefined, active_tab: undefined, }, getters: { get_articles(state) { return state.articles }, get_article(state)...
7d8e95e381e7835fdaf641164fef5ca6b2229a93
[ "JavaScript" ]
5
JavaScript
zhantan2015/frontend
d70c091b2982204234062e3dbd5a0b77f576e93c
074296820343be9fb269d21f24a73ad90a196fd7
refs/heads/master
<file_sep>- 前端新手,使用WeUI开发的一个demo,旨在熟悉前端,为以后webapp的开发打点基础。代码质量肯定不高, 能为像我一样的新手提供一点参考就好 - 忽略导航栏的文题不符 - 效果截图: ![主页](http://img.blog.csdn.net/20160913113008659) ![图片上传](http://img.blog.csdn.net/20160913113034066) ![图表](http://img.blog.csdn.net/20160913113052097) ![用户信息](http://img.blog.csdn.net/20160913113112974) ![用户头像编辑]...
fad0c8839120e20e3e8ae79f6a81983ab278f6d5
[ "Markdown", "JavaScript" ]
3
Markdown
cyq7on/WeUIDemo
54df786e62fe351ea8af50185edce3b1a5c9abe1
b934529d1e2f7a0545eb677e2cf7d56c9e9d67c0
refs/heads/master
<file_sep>using LojaEF.Entidades; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LojaEF { class Program { static void Main(string[] args) { var contexto = ...
93e802db61d8b5014a2df546d4f92906c732e8c6
[ "C#" ]
1
C#
gabsferreira/LojaEF
278d25d27edf69618d27235c1607012b2fb7a957
006ed6678828ac3ce9bb9040a702aa7a68d12690
refs/heads/master
<file_sep>package org.fraarson.models; import java.time.LocalDate; public class Task { private long id; private String taskName; private String content; private LocalDate creationDate; private LocalDate deadlineDate; private LocalDate executedDate; private String executor_name; ...
8bd50a2d6923e011f3702f8d52a7fd525d00ced5
[ "Markdown", "Java" ]
4
Java
poorvajappja/javafx-task-manager
0a7a39986ce06a1941270cae3d3b6736fac2a48d
4ebe9a34374a3f9c5340f43ac2e7709a94c13ab5
refs/heads/master
<repo_name>SoumyajeetNayak/Tutorials<file_sep>/Vega-Used Car Sale System/Migrations/20181118134900_added-feature-model.cs using Microsoft.EntityFrameworkCore.Migrations; namespace VegaUsedCarSaleSystem.Migrations { public partial class addedfeaturemodel : Migration { protected override void Up(Migrati...
c5bfb0f9f9748c3c28c4bdc40465ab6b20027f49
[ "Markdown", "C#" ]
4
C#
SoumyajeetNayak/Tutorials
ca2168549b6198ea332b1de7dcbdaa90c4f858e3
fad1c19e3ef1248c36685668a40e6ecc2e4849dd
refs/heads/master
<file_sep>using Styx; using Styx.Common; using Styx.CommonBot; using Styx.Helpers; using Styx.Plugins; using Styx.WoWInternals; using System; using System.Windows.Media; namespace ChatLogger { public class ChatLogger : HBPlugin { public override string Author { get { return "zstyblik"; } } publ...
716f6542c564f76cc07719291dcc3ff0dad20393
[ "C#" ]
1
C#
zstyblik/wow-chat-logger
776afd5a70756cbc3d3cb31107053fd920a5c132
ce755af5657b9a539200644166d7bdd518fd09bc
refs/heads/master
<file_sep># Scratch basic programs of python <file_sep>import sys import tkinter as tk import time def times(): current_time=time.strftime("%H:%M:%S") clock.config(text=current_time) clock.after(200,times) root=tk.Tk() root.geometry('500x250') root.title("Clock") clock=tk.lable(root,font=("times",50,"bol...
dda1064805bb719e0a350c972e6591e7474595a7
[ "Markdown", "Python" ]
4
Markdown
hr4official/Scratch
92e2dfe45a1d5bdc3475eb19c9b0eb3455676b6e
f7d5864ab4c3bf430dac0fce2a866df53d7cfda6
refs/heads/master
<repo_name>EduardoPedrosa/Trabalho1_SD<file_sep>/server_Vazao.py #!/usr/bin/env python import socket import threading def createTCPSocket(ip, port): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #UDP s.bind((ip, port)) s.listen(1) return s def receiveMessages(conn): while(True): data = conn.recv(1024)...
9f367b8b359251c42fc0441634563ef0bfee8161
[ "Markdown", "Python" ]
3
Python
EduardoPedrosa/Trabalho1_SD
bb5d9fe9218f2c828403060d5c5b897636a41e20
57a095c0b9042643e95c362e0c87acd1a923ddae
refs/heads/master
<repo_name>Nelvake/Lucene<file_sep>/Lucene/Program.cs using Lucene.Net.Analysis; using Lucene.Net.Analysis.Standard; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.Search; using Lucene.Net.Store; using System; using System.IO; using System.Linq; namespace Lucene { class Program { ...
6c3b8a6d1000e482bae1cf5de1a180b0e11eb85a
[ "C#" ]
2
C#
Nelvake/Lucene
5841551f2dbfaf4b08c9a68f87076904953fc960
8f185d139f0563987556f8f74cc63867a4beb341
refs/heads/main
<file_sep>// // SelectView.swift // App // // Created by ggamangmuri on 2021/05/26. // import SwiftUI struct selectButton: View{ private var str: String init(str: String){ self.str = str } var body: some View{ Text("\(str)") .frame(width: 250, height: 100) .ba...
80b9fb7383e3cc7407e09b00f85f0e611dfba321
[ "Swift" ]
4
Swift
dhraudwn/moapp2
d1087359ecb6ff2adb4426a3b824a2b224bb32d2
cfa03a8bde68d58ccef7db5faced5ed4b48f8a62
refs/heads/master
<file_sep>#!/usr/bin/python infile = open ('harddrive.in','r') _ = int(infile.readline()) parts = [int(x) for x in infile.readline().split()] def function (parts): turns = -1 backturn = set() for part in parts: if (part - 1) not in backturn: turns += 1 backturn.add(part) return turns result = function...
ed2fa0498fed9d964d82ee485b2cd1fde6e16907
[ "Python" ]
22
Python
sofiiako/bii-14s
b2cbcbb3c3aba261e3249dd084aa612c8e812a06
4a57419c711b92f80f4f30aba12cee26ce1ad330
refs/heads/master
<file_sep>#!/usr/bin/env python # # read_snes_ksp_data # def read_snes_ksp_data(file): import re # max readin nmax = 10000 # read file, parse and store kspiter = 0 ksplist = [] snesidx = [] sneslist = [] f = open(file, "r") for line in f: # SNES snesmatch = re....
64d1f64849b9522ec452c4e3977eb3af6c2cee37
[ "Markdown", "Python", "Shell" ]
24
Python
metos3d/2016-GMD-Metos3D
5fa1ed51d83d691d4a08d025880d06b8964e9634
82c7f87b5f37aff11b8cc1a8c398a5a24db6e054
refs/heads/master
<repo_name>DAPountain/machine-learning<file_sep>/Assignment.Rmd --- title: "Assignment Writeup: Human Activity Recognition" author: "<NAME>" date: "August 14, 2016" output: html_document --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE,message=FALSE,warning=FALSE) ``` ## Introduction The purpose of t...
d73fbf692f1deda590b61ce7ac04e5763c31f313
[ "R", "RMarkdown" ]
2
RMarkdown
DAPountain/machine-learning
46a273b915e03edc6e8198968840d148f037ab5b
0f3b3fdcd6e3e005b8bb06b4a9002d8ccd19e6ca
refs/heads/master
<repo_name>gilles1986/tdd-kurs<file_sep>/Gruntfile.js module.exports = function(grunt) { 'use strict'; var npmTasksArray = [ 'grunt-contrib-clean', 'grunt-contrib-watch', 'grunt-contrib-concat', 'grunt-contrib-copy', 'grunt-karma', 'grunt-contrib-connect' ]; // DON'T TOUCH THE CONFIG...
6029042a669557d6ed1da24695482398c9959612
[ "JavaScript", "Markdown" ]
2
JavaScript
gilles1986/tdd-kurs
a72e84d0d31136f74f6031fbe94bc55d5ae1067b
d6cec0603c3362840eab965e5a1728b47c9886f5
refs/heads/master
<repo_name>ahraz2016/tinyurl<file_sep>/HelloWorld.py print "helloworld" print "yogi hahdh ji" print "123 456 789" print "yogi ji hello ji"
b19878f2ddb5733180928487bbd417831d028529
[ "Python" ]
1
Python
ahraz2016/tinyurl
7fa30aeec611008b8cfda5b9f08af1c587918e3d
345fd8d5897788062fc5d99d759992a2f7d954cc
refs/heads/master
<repo_name>raoshruti16/RestAssured-API<file_sep>/src/test/java/Reqres/ListUser.java package Reqres; import org.json.JSONArray; import org.json.JSONObject; import org.testng.Assert; import org.testng.annotations.Test; import com.sun.xml.xsom.impl.scd.Iterators.Map; import static io.restassured.RestAssured.*; ...
51978931d8a333c5946a949d6d67ceabda8d69fe
[ "Java" ]
1
Java
raoshruti16/RestAssured-API
877e51b9aca8f30c639154fe61c046b49116b8ea
25025579dc1ea86135c6c1838c62723fe63980ee
refs/heads/master
<repo_name>tmnguyen8/open-weather-api<file_sep>/weather.js var inputCity = ""; var weatherAPI = ""; function displayWeather () { $.getJSON(`https://api.openweathermap.org/data/2.5/weather?q=${inputCity},us&units=imperial&appid=a14b5cd39920b60f089d913e4253e5f5`, function(data){ console.lo...
1880ff82331e2a1c92df3517c3bf2dd8ccfc8f24
[ "JavaScript" ]
1
JavaScript
tmnguyen8/open-weather-api
325029cde8a8cafde12ab44b3ceaaf143c5de05a
140bdf6729724fcc1c6e926c3cbdec014fc359e7
refs/heads/main
<file_sep>1. Create an object called books and array myLibrary. books object contains the following items: title, author, pages, read_status. 2. Create a button 'Add Books'. When the user presses this button, a pop-up form appears. This form has input fields for following parameters: title, author, pages, read_status. ...
8cbf7016ffb1b727d75fadc03c2c2b232dbe9427
[ "JavaScript", "Text", "Markdown" ]
3
Text
Faisal-523/library_app
86f648bd713ca8b9503621d5388473006f7cac8b
c8f8ea087b8c3681c289c648ba3618e19c99f80c
refs/heads/master
<file_sep>const css = require('../style/style.sass'); <file_sep># fulfil-ui CSS library for Fulfil's design language. ## Setup * Clone the Repo. * Run ```npm install```. ## Usage * Run ```npm run start``` to compile and run the server. * View Documentation on localhost http://localhost:8080/ or mentioned otherwise. ...
24e6fcd57aea8b3de56f946d10b89ccbc195c475
[ "JavaScript", "Markdown" ]
2
JavaScript
arwwwind/Personal
3a43a20e4c68b4c4025f9eace50b47b230a497a9
7661cc1561d8699d699eb429236ea3646ea8f44d
refs/heads/master
<file_sep>package com.jun.dialogqueue.activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.util.Log; import com.jun.dialogqueue.R; import com.jun.dialogqueue.util.DialogQue...
67ac7d3dff85403c12a5408cf439fc5d33be3759
[ "Java" ]
1
Java
tino1101/DialogQueue
801077516040c08f1cc8e9a8792413f48e057ba4
4be3c182cff414dc9466cfcdb2a6973d4351fd26
refs/heads/master
<repo_name>go-audio/riff<file_sep>/chunk_test.go package riff import ( "bytes" "fmt" "os" "path/filepath" "testing" ) func TestWavNextChunk(t *testing.T) { path, _ := filepath.Abs("fixtures/sample.wav") f, err := os.Open(path) if err != nil { t.Fatal(err) } defer f.Close() c := New(f) if err := c.ParseH...
c0bc5054aefdc30acaeee19dbc23ffcdf9597d82
[ "Markdown", "Go Module", "Go" ]
9
Go
go-audio/riff
6dc8fb4eb0bbea9d5966890969cccbdf89d6c268
4f22ddc3e91ba6c62da0995ea9260305196be47d
refs/heads/master
<file_sep>package pgpwords import ( "encoding/hex" "testing" ) func TestEncodeWords(t *testing.T) { var tst16 = []struct { in uint16 out string }{ {0xE582, "topmost Istanbul"}, {0x82E5, "miser travesty"}, {0xFFFF, "Zulu Yucatán"}, } for _, tt := range tst16 { if enc := Encode16(tt.in); enc != tt....
7b55524fa8ef110eb8ec911439cc12d54a4b6290
[ "Go" ]
1
Go
pombredanne/go-pgpwords
7279cce56e03393fa3692e0b380c3a8ad9bd2ba9
be27ed0faaa89d9689a3e92dc9b5677482a59f21
refs/heads/master
<repo_name>filsmagalhaes/projetoIbratec<file_sep>/distribuidora(PHP)/indexVendedor.php <?php // allow requests from other applications header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Credentials: true'); header('Access-Control-Allow-Methods: GET, PUT, POST, DELETE'); header('Access-Control...
68733cd4140d5698b975f5111f807ffc36568f4d
[ "JavaScript", "SQL", "PHP" ]
13
PHP
filsmagalhaes/projetoIbratec
e9c8892f094d05a2089134e69fc186c2ba2132b7
2a4a48a76408cd3194f3b05e82547156158015db
refs/heads/master
<file_sep>var express = require('express'); var router = express.Router(); var conn = require('../util/dbConn.js'); var conf = require('../util/config'); /* if (!module.parent) { const port = process.env.PORT || 3000; app.listen(port, () => { console.log("Express server listening on port " + port + "."); ...
40b62669fb93c825d46a6990613677cdf0dd170a
[ "JavaScript", "Markdown" ]
25
JavaScript
maruhong/huetechMES_SERVER
d31e78afe2709d26a3f77cc9838b790246d20e09
7cd33e7f05feff24da58d6b5f0cc2587af1fbc11
refs/heads/master
<repo_name>houfio/psychopomp<file_sep>/src/createPsychopomp.ts import { createDakpan } from 'dakpan'; import { createElement, ReactNode } from 'react'; import { Psychopomp as Component } from './Psychopomp'; export const createPsychopomp = () => { const { Provider, withDakpan } = createDakpan({ index: 0, st...
901b6836d50d49dd59477c9ec8f0f743741e3d71
[ "Markdown", "TypeScript" ]
3
TypeScript
houfio/psychopomp
4c7ca218da0a456366f3080df5102abe503102b8
99975b4fe6e7533136c18a6d033c7e1a39221b97
refs/heads/master
<file_sep>class AddRentToProperty < ActiveRecord::Migration def change add_column :properties, :rent, :decimal, :precision => 6, :scale => 2 end end <file_sep>class PostsController < ApplicationController before_action :authenticate_user! respond_to :html def show @forum = Forum.find(params[:forum_i...
9b001f1bb2cabca6d9c44e8dffa1546c790ce839
[ "Markdown", "Ruby" ]
25
Ruby
jsvana/rentelligently
6a1586bf2dcfe2a5a2a5c8e08bf1cec4bf215d8b
8d3eed098d34697b98e1e97d1805221479f1696c
refs/heads/master
<file_sep>import argparse import cv2 import sys import os import fnmatch import re ap = argparse.ArgumentParser() ap.add_argument('-id', '--idir', required = True, help = 'Path to image') args = vars(ap.parse_args()) ## a function you may want to use in debugging def display_image_pix(image, h, w): image_pix = li...
96ff07e316a2fd964c26344d921178ce29b208fd
[ "Python", "Shell" ]
12
Python
benjaminGibbons/Portfolio
098eaab2a4b03ef7e04988ecfa43e07ba3e93dcf
3d228d13aaa3de6ab65d6b4667b9151bfc13064f
refs/heads/main
<repo_name>orandorisk/API<file_sep>/1.JSON/index.php <?php // // mendapatkan nilai dari data // $mahasiswa = [ // [ // "nama" => "orlando", // "kelas" => "D3 Teknik Informatika", // "umur" => 23 // ], // [ // "nama" => "orlando"...
d83b456189b40fd49d5b949012bab7ad844c527c
[ "PHP" ]
2
PHP
orandorisk/API
fbe80998c111f948f646e58b70ba685b07a6b77d
bc093ce0055f1d44f6d6531289fe4bf489907a3d
refs/heads/master
<file_sep><?php /* @var $options array */ if (false === defined('ABSPATH')) { header('Location: http://www.enebruskemlem.com.ve'); exit; } ?> <!-- separator --> <tr> <td colspan="2"><hr/></td> </tr> <!--/ separator --><file_sep><?php /* @var $data array */ if (false === defined('ABSPATH')) { ...
739e875b3d14c2bfa690742abe2a8ddca8cc8eff
[ "Markdown", "Text", "PHP" ]
16
PHP
PagoFlash/pagoflash-wordpress
04825e6587a960a6cc5d4422028fc71747b85d7c
f3e47c46d2555432d06d70c00d1d47cc632ddf2a
refs/heads/master
<file_sep>using System; using System.Threading; using System.Threading.Tasks; namespace SampleAsyncAwait { class Program { static void Factorial(int n = 6, CancellationToken token) { if (n < 1) throw new Exception($"{n}: число не должно быть меньше 1"); int result = 1; ...
e26780b699b0cdeae26b7d49cf4d8b15775babd7
[ "C#" ]
1
C#
SergeyArtemov/SampleAsyncAwait
9192ec8c8f9b30f0fabb31d2d3170ec86f1e6b59
e47aaea6a5829f13f8872eeea59aad966d89660c
refs/heads/master
<file_sep>/** * @license AngularJS v1.0.1 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, document, undefined) { 'use strict'; //////////////////////////////////// /** * @ngdoc function * @name angular.lowercase * @function * * @description Converts the sp...
00a92cb246a9034a84618fddaf55767dc66da407
[ "JavaScript", "Python", "Markdown" ]
4
JavaScript
lekkerus/lekkerus
49d41ba237b9b6a065654e25002ef1c32e6084f0
9424f53fdfe8f662eb766f654c6cd1a126432ad2
refs/heads/master
<file_sep>console.log('this is loaded'); exports.twitterKeys = { consumer_key: 'vwjx7AsMIKlNZXFiwudVbqc87', consumer_secret: '<KEY>', access_token_key: '<KEY>', access_token_secret: '<KEY>', }
3feda25c4012a4e884fb20c67eda36457caed6e0
[ "JavaScript" ]
1
JavaScript
bhart2017/liri-node-app
7901e209dd7111f66f8bf71b66844f28eac5e807
0e3498f0562d8d74fe4da7bca227e82e96f8e76d
refs/heads/master
<file_sep>import numpy as np class legendre_decomposition: """ A 2D implementation of lengendre decomposition. <NAME>., <NAME>., <NAME>.: Legendre Decomposition for Tensors, NeurIPS 2018 """ def __init__(self, P): """ Parameters: ----------- P: numpy.nda...
535d36cba7d487decefe975ad17c908ea944c617
[ "Python" ]
1
Python
sjmluo/legendre_decomposition
f1ce0625a3a45ebaac8d578d1078f5688d4d597c
1e94358b349603be202db3dfb0c4a45f975ae75e
refs/heads/master
<file_sep><?php namespace App\Helpers; class Helper { public static function first_and_last_name( $first_or_last = '', $name = '' ) // Added: 08/15/2021. { $parts = explode( ' ', $name ); if( count( $parts ) > 1 ) { $last_name = array_pop( $parts ); $first_name = implode( ' ', $parts ); } else { $...
4f72800d2d786e5164ae6ca9e43aa5939e0d0cb6
[ "JavaScript", "PHP" ]
10
PHP
JoeGutierrez/JoeGutierrez.dev
1e500c2abf471281bd9a0a71e6e5412ca383a933
b7aeb4eaba85b8d0bc27d02d2726ddac40c639b0
refs/heads/master
<file_sep>module Players class Computer < Player end end
29552e14894f7e8784b7b642df5782185b94e4ce
[ "Ruby" ]
1
Ruby
abrolon87/ttt-with-ai-project-onl01-seng-pt-120819
5baa38ae0bd7009f45c0f5500a4ca8dec7171f27
362fa6ab207fc9fa7637b23e29978a85a1dd5ff3
refs/heads/main
<repo_name>joeray100/snowy-pine-8251<file_sep>/spec/models/flight_spec.rb require 'rails_helper' RSpec.describe Flight, type: :model do describe "relationships" do it {should belong_to :airline} end end <file_sep>/db/seeds.rb Airline.destroy_all Flight.destroy_all Passenger.destroy_all @airline_1 = Airline.c...
57c287f48a0eba3f280f7ccdac487b5c955ec9aa
[ "Ruby" ]
2
Ruby
joeray100/snowy-pine-8251
3bd023a4746a304f0a43c765dc602351ba5c3596
702072ec34a02c62dd7f8e1f7b7d269c455ffb34
refs/heads/master
<file_sep>package com.cts; import com.cts.data.Class; import com.cts.data.Teacher; import com.cts.client.TeacherService; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.List; public class T...
28b8ce3fee29c7c9c7b8b8cd8f76ca2d48a983bd
[ "Markdown", "Java" ]
8
Java
wedgwoodtom/aws-lambda-draw-straws
91e767aa6df777b925d5fe3dfc640c3f5fb8aec6
c12fc1ca917c56322fa48c1b8bbdac10fa3bb89c
refs/heads/main
<repo_name>mohan-sathiyamoorthi-appasamy/OCT-Segmentation-Tomograph<file_sep>/TomoGraph_Radial_Image.py import cv2 import matplotlib.pyplot as plt import math import numpy as np import scipy.io from scipy import sparse from scipy.sparse import csr_matrix from scipy.sparse.csgraph import dijkstra from scipy.sparse impor...
1a9c0146449efafcbe5c2784daa28f1e91c6866d
[ "Markdown", "Python" ]
2
Python
mohan-sathiyamoorthi-appasamy/OCT-Segmentation-Tomograph
9ef6b8f4ab0628a0929053694c88571de31ab234
53a50531575ca101979402f952d7d431dc0f446e
refs/heads/main
<repo_name>Consejo-de-Curso/consejodecurso<file_sep>/pasar_a_produccion.sh #!/bin/bash aws s3 sync --cache-control max-age=30 --delete . s3://consejodecurso.cl aws cloudfront create-invalidation --distribution-id EJYCXVE34GDDN --paths '/*'<file_sep>/blog-retroalimentacion1.html <!DOCTYPE html> <html lang="en"> <head>...
99f14d18bf539905afe6a2d2701335ec70be27bf
[ "HTML", "Shell" ]
3
Shell
Consejo-de-Curso/consejodecurso
258ce3471a289ed47eafa455b0ba8392c79b1a21
400017e301afacaa257c8875d7a5da8dd5221ae3
refs/heads/master
<repo_name>Flipez/advent-of-code-2019<file_sep>/day6/day6.rb require 'set' input = File.read('input') connections = input.split("\n") orbits = {} connections.each do |connection| planet, orbiter = connection.split(')') orbits[orbiter] = Set.new([planet, orbits[planet].to_a].flatten.compact) orbits.each do |orbi...
5a5bffc6bbc2db0b10a3a4bc6c7f03774627264f
[ "Ruby" ]
2
Ruby
Flipez/advent-of-code-2019
5c42167d4b13e69593f8b819cfe3473dad08d13d
3787bb705b7431b86af685426a5f560f9d3a9b7d
refs/heads/main
<file_sep>package com.example.timer; import androidx.appcompat.app.AppCompatActivity; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.provider.BaseColumns; import android.util.L...
e3f42a82da6315a432b24cbc960d3777d0b7e292
[ "Markdown", "Java" ]
5
Java
Waynezee/timerApp
93ea473819c4fb9d365fd455408a61319b9eae5a
32c28fbf167424fa80075c28d841503740987e08
refs/heads/main
<repo_name>ppdubey/practiseTableView<file_sep>/practiseTableView/ViewController.swift // // ViewController.swift // practiseTableView // // Created by user196667 on 6/1/21. // import UIKit class ViewController: UIViewController { @IBOutlet var tableView: UIView! var names = [ 10, 20, 55, 10, 20...
b64d0ac97831e4d812aa45507f5629f232aed675
[ "Swift" ]
2
Swift
ppdubey/practiseTableView
ec151b58897eb1f104af73bb49df501dd7062f96
5800488279b5fbe6359af1a7577939eaedb6ef5e
refs/heads/master
<repo_name>weichennewcastle/mesh_interpolator<file_sep>/mmig_open3d.py import stl import numpy as np from scipy.spatial import cKDTree as KDTree import open3d as o3d import sys from multiprocessing import Pool, cpu_count import functools from time import time def process_kdtree_chunk(chunk, kdtree): return kdtree....
f5bef4be5b1e20d6706b78030b90f9105a15a952
[ "Markdown", "Python" ]
2
Python
weichennewcastle/mesh_interpolator
d9a068ce6032ac9028f575072272aa0f8e932f32
022c10c5234908d7e87fbd2e9343b5eb85835701
refs/heads/master
<repo_name>mingyk/chapter-10-exercises<file_sep>/exercise-2/exercise.R # Exercise 2: working with data frames # Create a vector of 100 employees ("Employee 1", "Employee 2", ... "Employee 100") # Hint: use the `paste()` function and vector recycling to add a number to the word # "Employee" vector_1 <- c("Employee") ve...
0c648ab4679982f714f588cba067ce3a46e9ad03
[ "R" ]
1
R
mingyk/chapter-10-exercises
bd73b930528ba09a33b6ee0d7f725f740b47a837
d6a053dbc19fc74803c7b13db1e6ea26a8fcf8f9
refs/heads/master
<repo_name>docovarr2020/dorm_supplies-frontend<file_sep>/README.md # dorm_supplies-frontend Frontend file for the dorm delivery app <file_sep>/app/js/script.js const register_form = document.forms[0] const login_form = document.forms[1] function register_user() { console.log(document.forms[0].name.value) const data ...
10f9a370f5f28a5e3fa83eb174c153982632484d
[ "Markdown", "JavaScript" ]
2
Markdown
docovarr2020/dorm_supplies-frontend
a6f508792beb4d19bcee63c7a804917e3e77f2a6
eab9e0a7d5670ddfaa7b3a997834e6417ac9a61c
refs/heads/master
<file_sep># -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-16 14:49 from __future__ import unicode_literals import black.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('black', '0001_initial'), ] operations = [ migr...
90baf49f301f77981c270b5ba50190248d2e3ca0
[ "Python" ]
13
Python
jhmk612/banpo
0dfccd93b837d740c45ad297b5a7b215db70209e
7f61e6ab4badfdd304f447057bdce6d29bd7bca2
refs/heads/master
<repo_name>powelllens/ffw-alertsystem<file_sep>/ffw-alertmonitor/script/test.sh #!/bin/bash case "$1" in watchdog) echo "Testing watchdog message ..." MESSAGE="POCSAG1200: Address: 174896 Function: 0 Alpha: <BS><CAN>" ;; alert1) echo "Testing alert message ..." MESS...
7f74ed863a0f34c520a00a4382b64bc524d5aeb5
[ "JavaScript", "Markdown", "Java", "C", "Shell" ]
12
Shell
powelllens/ffw-alertsystem
36ac5906137ccee2453bc2ea9a2436a4d2f48131
80054dcbf5eb314071e27909b1cd28fac5ea1c9b
refs/heads/master
<repo_name>bigstupidx/TowerBalance<file_sep>/Assets/_hpmobile/Editor/PreloadSettings.cs using UnityEngine; using UnityEditor; using System.IO; [InitializeOnLoad] public class PreloadSettings : MonoBehaviour { static PreloadSettings() { EditorSettings.externalVersionControl = ExternalVersionControl.Generic; // if...
02671823815e7a7b734f365ac00cbebf67652ed9
[ "Markdown", "C#" ]
2
C#
bigstupidx/TowerBalance
2fadd7ffa3e8e2d3faace65561b7387061bdcd8b
671ed0576a1335801186fffebcd3587cf405ffec
refs/heads/master
<file_sep>import firebase from 'firebase'; var firebaseConfig = { // your firebase config }; const fire = firebase.initializeApp(firebaseConfig); export default fire;<file_sep>import React from 'react'; import {Link} from "react-router-dom"; import Navbar from "../components/NavBar/Navbar"; import './about.css'...
bbe48bbdd6a287f918bdac303bf7bad334ca69ad
[ "JavaScript" ]
5
JavaScript
rachoi/Social-Hub
3ea1912b9a69378310f0ad6788949725ca2514a8
d06bde568d1325bf3166d669850b9dc2db79e108
refs/heads/master
<file_sep>import React from 'react' export default function UseEffectLab() { const [windowWidth, setWindowWidth] = React.useState(0); React.useEffect(() => { function handleResize() { setWindowWidth( window.innerWidth) } window.addEventListener('resize', handleResize) }) ...
5ece564d91901b736d19f14fd03eeb8be3b4fcc0
[ "JavaScript", "Markdown" ]
6
JavaScript
Ghadah-Ahmed/W04D03HW
14fe00c5cf5b4db71c8cf800e529300a7a8f12af
58572f1e3cab8185c9edab5d805affddab892c0d
refs/heads/master
<repo_name>Arun-S-Singh/ga-learner-dsmp-repo<file_sep>/Probability-of-the-Loan-Defaulters/code.py # -------------- import numpy as np import pandas as pd import matplotlib.pyplot as plt # Load the dataframe df = pd.read_csv(path) #Code starts here ### TASK 1 p_a = len(df[df['fico'] > 700])/len(df) p_b =...
449eb205f2bc444e115a22afca58e6fbae30a12a
[ "Markdown", "Python" ]
16
Python
Arun-S-Singh/ga-learner-dsmp-repo
082f1ba5e70e9539aedf80ae4c12618077afd5d3
d1461f424beb2c406596f3b4390b46d8fda275bf
refs/heads/master
<repo_name>Monofraps/dotfiles<file_sep>/install.sh #!/bin/sh ESC_SEQ="\x1b[" COL_RESET=$ESC_SEQ"39;49;00m" COL_RED=$ESC_SEQ"31;01m" COL_GREEN=$ESC_SEQ"32;01m" COL_YELLOW=$ESC_SEQ"33;01m" COL_BLUE=$ESC_SEQ"34;01m" COL_MAGENTA=$ESC_SEQ"35;01m" COL_CYAN=$ESC_SEQ"36;01m" CURRENT_USER=$USER YUM_COMMAND="dnf" function in...
a2b6d41c10faa2d9e602bb0d1a6db4fb7260d469
[ "Shell" ]
6
Shell
Monofraps/dotfiles
b4fd42b4b64d309b4eb669b0d78c8577221b7283
a9bd7a3653c7ebf619af325add1da1b843437241
refs/heads/main
<repo_name>ISIS-Motion-Control/TwinCAT_StartupCreator<file_sep>/TwinCAT - Startup Creator/Terminals/terminalEl5101.cs using Windows.UI.Xaml.Controls; namespace TwinCAT___Startup_Creator { public partial class MainPage : Page { private GenericTerminal terminalEL5101; private terminalParameter[]...
1c7180f5851d4ca6b4c4b205e9029f44b7a849b6
[ "C#" ]
4
C#
ISIS-Motion-Control/TwinCAT_StartupCreator
d154d5e66d3b4b6a473a6969d8b1f537c7448e94
131430de497703c36a00abf38377efca7f3cc481
refs/heads/master
<file_sep># Procedural Texture Test This is me messing around with [perlin][perlin] and [simplex noise][simplex]. The aim was to use it as a dynamic-size background for something on a website I was making, but it is way too slow for that. `perlin.js` is taken from [josephg/noisejs][noisejs]. `shaders.js` contains all...
7580f71558b3042b08415c2fe4e4e8e908c35c9e
[ "Markdown", "JavaScript" ]
2
Markdown
cameron-martin/procedural_textures
3d2be3a2464d1c85c2106ef4620e3c58aa43f6df
f6e01a383c258a3db266858272dc166075cb8d47
refs/heads/master
<file_sep>def oxford_comma(array) if array.size > 2 postion = array.pop array.push("and #{postion}") array.join(", ") elsif array.size == 2 postion = array.pop array.push(" and #{postion}") array.join elsif array.size == 1 array.join end end # array = ["kiwi", "durian", "starfruit"] # puts oxford_comma(array)
fceadd038619c07b1c994c4a0a76740dda1cf0a3
[ "Ruby" ]
1
Ruby
1987suhaib/oxford-comma-re-coded-000
d8b85665dc81b98a6a89c3c72eb979dda8ec26b4
e199fc3171e0c886e1b8871916349561c758152d
refs/heads/master
<repo_name>howardano/QT-Calculator<file_sep>/Calculator.cpp #include "Calculator.h" Calculator::Calculator(QWidget* pwgt/*= 0 */) : QWidget(pwgt) { pvbxLayout = new QVBoxLayout; m_plcd = new QLCDNumber(12); m_plcd->setMinimumSize(150, 50); m_plcd->setMaximumSize(1100, 50); pvbxLayout->addWidget(m_p...
36642af75f97fa4f01442a714a99b93128897bae
[ "C++" ]
2
C++
howardano/QT-Calculator
733767fed9e78ab553080e9539665ec2ecae16e5
d85a22edad1543d5d8e776818f1509ee387f3ca1
refs/heads/master
<file_sep>'use strict'; /* Services */ var eventAppServices = angular.module('eventAppServices', []); //eventAppServices.service('JSONService', function($http){ // return { // getJSON: function() { // return $http.get('/db/events.json'); // } // }; //}); eventAppServices.service('DBE...
87382e9d5b730b8a3c13baf8466656a9528bffac
[ "JavaScript", "Markdown" ]
4
JavaScript
Zbintiosul/Events
ef1d516feac1d2eba6100ae38b3ba177b2ea5d99
3b552e963f38ea9212fcb8943c3b08db4bcf75f4
refs/heads/master
<file_sep><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="./main.css"> <title>Tab Buttons</title> </head> <body> <div class="container"> <h1 class="heading">Tab Buttons</h...
67e15c475f50a6f91d4d22cbfcfe57c5f736ea69
[ "Markdown", "JavaScript", "HTML" ]
3
HTML
hungntgrb/tab-buttons
6ea8324cbebb06ac6c10987f9a618b827aa43e67
faf964d487ece8d5c4453ab3e70bf762e228ddaf
refs/heads/master
<repo_name>MadKimchi/sample-nativescript-ngx-lib<file_sep>/lib/src/components/carousel/interfaces/carousel.interface.ts import { Type, ReflectiveInjector } from '@angular/core'; export interface ICarouselContent { component: Type<any>; dataProvider?: ReflectiveInjector; } export interface ICarouselData<T> { ...
786fb51cac5dbe5e785f75ccf432a464efd54bee
[ "Markdown", "TypeScript" ]
11
TypeScript
MadKimchi/sample-nativescript-ngx-lib
4aaf2f380e714d9fa373f12ddf9ad277d0349ab1
4b2cad4447eb24ccdf5e956fc7ae3d4cd98bf3a6
refs/heads/master
<repo_name>lilongbin/vim_plugins<file_sep>/.vim/tools/python/01commands.py #! /usr/bin/python # class subprocess test of python language # created by longbin <<EMAIL>> # 2015-01-07 import commands import os # get output of shell commands out = commands.getoutput("ls /home/") print "\rcommands.getoutput out : ", out, ...
cb51b684639cd8b67a1e8fef983b47b78a97d73c
[ "Markdown", "Python", "Text", "Shell" ]
20
Python
lilongbin/vim_plugins
6b12adc3a058ad6c9845cdb4922a0013162caa39
afd6929c1e48b9f4ba738640facfcb5399218e40
refs/heads/master
<file_sep>import React from "react"; import "./style.css"; // Using the datalist element we can create autofill suggestions based on the props.breeds array function SearchForm(props) { return ( <form className="search row justify-content-center"> <div className="form-group col-6 "> <input ...
e89caff78b33d58273770eec661abc4e98ea1ad4
[ "JavaScript", "Markdown" ]
3
JavaScript
CrystaJeffcoat/Recipe_directory-React
fbbb8b857aa30b44810be645f95b95718257b96a
8ef7139122770c0951613ae40b03429fc42c81b9
refs/heads/master
<repo_name>haozi23333/inkpaint<file_sep>/src/polyfill/Doc.js import { isBrowser } from "browser-or-node"; import PSCanvas from "./Canvas"; const Doc = { createElement(tag) { let element; switch (tag) { case "canvas": element = new PSCanvas(1, 1); break; default: element =...
c0d77a364dfe769d5f3974eec3d30a88135bb9da
[ "JavaScript", "Markdown" ]
77
JavaScript
haozi23333/inkpaint
3bcccecba9da847893802ff8783c7116a72f5f14
0614af2c7c229146601fa9290fe081c6329cf87f