repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/index.js | index.js | // This file is here just to satisfy the conditions for a gatsby plugin - https://www.gatsbyjs.com/docs/files-gatsby-looks-for-in-a-plugin/
| javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/gatsby-config.js | gatsby-config.js | module.exports = {
// Gatsby Config
// pathPrefix: `/notes`, // If your Digital Garden is not published at the root of your website, use this. Use `npm run build -- --prefix-paths` when building.
trailingSlash: 'never', // Remove all trailing slashes on each URL, e.g. /x/ to /x
siteMetadata: {
title: `Gats... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/gatsby-browser.js | gatsby-browser.js | // export const onClientEntry = () => {
// window.onload = () => { // Very undependable. Fires before anything is rendered.
// console.log('onClientEntry');
// }
// }
import './src/styles/common/bulma.css'
import './src/styles/common/style.css'
import './src/styles/common/custom.css'
import './src/styles/comm... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/pages/index.jsx | src/pages/index.jsx | import React from 'react'
import { graphql, useStaticQuery, Link } from 'gatsby'
import { MDXRenderer } from 'gatsby-plugin-mdx'
import Layout from '../layout/layout'
import siteConfig from '../../gatsby-config'
import NoteList from '../components/note-list'
import Search from '../components/search'
import '../styles/i... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/pages/404.jsx | src/pages/404.jsx | import React from 'react'
import Layout from '../layout/layout'
import Menu from '../components/menu'
export default function NotFound() {
return (
<Layout title="404 - Note Not Found 😉">
<h3>Can't find the note you are looking for.</h3>
<p class="lead">Try finding it using the menu, or use the sea... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/components/menu.jsx | src/components/menu.jsx | import React from 'react'
import { DefaultMenuStructure, MenuRoot } from '../utils/menu-structure'
export default function Menu() {
const menuData = DefaultMenuStructure('main')
return (
<div className="garden-menu">
<MenuRoot menu={menuData} />
</div>
)
}
| javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/components/note-list.jsx | src/components/note-list.jsx | import React from 'react'
import { Link, navigate } from 'gatsby'
import '../styles/note.css'
const moment = require('moment')
export default function NoteList({ notes }) {
return (
<div className="block note-cards note-list">
{notes.map((data, index) => (
<div
className="note-area box-fe... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/components/pager.jsx | src/components/pager.jsx | import React from 'react'
import { Link } from 'gatsby'
import '../styles/pager.css'
export default function Pager({ context }) {
return (
<div className="pager">
{context.previousPagePath ? (
<Link to={context.previousPagePath}>< Previous </Link>
) : null}
{context.nextPagePath ? (
... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/components/tooltip.jsx | src/components/tooltip.jsx | import React from 'react'
import { Link } from 'gatsby'
import { MDXRenderer } from 'gatsby-plugin-mdx'
import { MDXProvider } from "@mdx-js/react"
import Tippy from '@tippyjs/react'
import 'tippy.js/dist/tippy.css'
import '../styles/tooltip.css'
import siteConfig from '../../gatsby-config'
export default function Too... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/components/search.jsx | src/components/search.jsx | import React from 'react'
import { Link, useStaticQuery, graphql } from 'gatsby'
import { useFlexSearch } from 'react-use-flexsearch'
import '../styles/search.css'
export default function Search({ showExcerpt, size }) {
// Needed for search functionality
const searchStore = useStaticQuery(graphql`
{
loca... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/components/dark-mode.jsx | src/components/dark-mode.jsx | import React from 'react'
import { ThemeToggler } from 'gatsby-plugin-dark-mode'
// :TODO: If there are two instances of the DarkMode in a page(as the case in header.jsx), one instance will not work properly - first click will work, then it wont work.
class DarkMode extends React.Component {
render() {
return (... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/utils/make-slug.js | src/utils/make-slug.js | // Taken from https://gist.github.com/codeguy/6684588
module.exports = str => {
str = str.toLowerCase()
// remove accents, swap ñ for n, etc
let from = 'àáäâèéëêìíïîòóöôùúüûñç·/_,:;'
let to = 'aaaaeeeeiiiioooouuuunc------'
for (let i = 0, l = from.length; i < l; i++) {
str = str.replace(new RegExp(from.c... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/utils/menu-structure.jsx | src/utils/menu-structure.jsx | import React from 'react'
import siteConfig from '../../gatsby-config'
import { useStaticQuery, graphql, Link } from 'gatsby'
import { camelCase, startCase } from 'lodash'
export const DefaultMenuStructure = (menuType = 'main') => {
const defaultStructure = [
// Default Menu.
{ type: 'page', item: '', title:... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/layout/layout.jsx | src/layout/layout.jsx | import React from 'react'
import Header from './header'
export default function Layout({ children, title, type }) {
return (
<>
<Header title={title} type={type} />
<section className="section">
<div className="columns is-centered">{children}</div>
</section>
</>
)
}
| javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/layout/header.jsx | src/layout/header.jsx | import React from 'react'
import { Link } from 'gatsby'
import { Helmet } from 'react-helmet'
import { startCase, camelCase } from 'lodash'
import siteConfig from '../../gatsby-config'
import Search from '../components/search'
import {
DefaultMenuStructure,
MenuItemPage,
MenuItemText,
MenuItemNote,
MenuItemTa... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/templates/note-map.jsx | src/templates/note-map.jsx | import React from 'react'
import { Link, navigate } from 'gatsby'
// import { Graph } from 'react-d3-graph'
import Graph from "react-graph-vis"
import Layout from '../layout/layout'
import '../styles/graph.css'
export default function NoteMap({ pageContext }) {
// Create the data for the graph visualisation for t... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/templates/sitemap.jsx | src/templates/sitemap.jsx | import React from 'react'
import { Link, graphql } from 'gatsby'
import Layout from '../layout/layout'
import NoteList from '../components/note-list'
import Pager from '../components/pager'
export default function Sitemap({ pageContext, data }) {
return (
<Layout>
<div className="column is-half">
<... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/templates/tag.jsx | src/templates/tag.jsx | import React from 'react'
import { graphql, Link } from 'gatsby'
import Layout from '../layout/layout'
import NoteList from '../components/note-list'
import Pager from '../components/pager'
export default function Tag({ pageContext, data }) {
const { tag } = pageContext
const { edges, totalCount } = data.allMdx
... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/templates/tag-list.jsx | src/templates/tag-list.jsx | import React from 'react'
import { graphql, Link } from 'gatsby'
import Layout from '../layout/layout'
import kebabCase from 'lodash/kebabCase'
import '../styles/tag-list.css'
export default function TagList({ data }) {
let tagList = data.allMdx.group
tagList.sort((a, b) => {
return b.totalCount - a.totalCount... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/src/templates/note.jsx | src/templates/note.jsx | import React from 'react'
import { graphql, Link, navigate } from 'gatsby'
import { MDXRenderer } from 'gatsby-plugin-mdx'
import { MDXProvider } from "@mdx-js/react"
// import { Graph } from 'react-d3-graph'
import Graph from "react-graph-vis";
import Tooltip from '../components/tooltip'
import Layout from '../layout/... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
binnyva/gatsby-garden | https://github.com/binnyva/gatsby-garden/blob/170a91ae364243971016bbe9d6adb74a7065b2ab/plugins/gatsby-remark-wiki-links/src/index.js | plugins/gatsby-remark-wiki-links/src/index.js | /*
If you need to reenable this plugin, add...
```
gatsbyRemarkPlugins: [
{
resolve: require.resolve('./plugins/gatsby-remark-wiki-links'),
options: {
slugify: `${__dirname}/src/utils/make-slug.js`,
stripBrackets: true
}
},
OR this...
{
resolve: `gatsby-remark... | javascript | MIT | 170a91ae364243971016bbe9d6adb74a7065b2ab | 2026-01-05T03:42:02.670594Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/next.config.js | frontend/next.config.js | /** @type {import('next').NextConfig} */
const nextConfig = {
eslint: {
// Enable ESLint during builds
ignoreDuringBuilds: true,
},
typescript: {
// Enable TypeScript type checking during builds
ignoreBuildErrors: false,
},
images: {
remotePatterns: [
{
protocol: 'https',
... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/tailwind.config.js | frontend/tailwind.config.js | /** @type {import('tailwindcss').Config} */
const { fontFamily } = require("tailwindcss/defaultTheme")
module.exports = {
darkMode: ["class"],
content: [
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
contain... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/postcss.config.js | frontend/postcss.config.js | module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
| javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/scripts/register-discord-commands.js | frontend/scripts/register-discord-commands.js | const fs = require('fs');
// Load environment variables from .env.local
if (fs.existsSync('.env.local')) {
const envFile = fs.readFileSync('.env.local', 'utf8');
envFile.split('\n').forEach(line => {
line = line.trim();
if (line && !line.startsWith('#')) {
const equalIndex = line.indexOf('=');
... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/scripts/seed-notion-builtin-skills.js | frontend/scripts/seed-notion-builtin-skills.js | "use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/google_auth_service.js | frontend/src/services/skills/google_auth_service.js | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/skill-executor-v2.js | frontend/src/services/skills/skill-executor-v2.js | "use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/notion_auth_service.js | frontend/src/services/skills/notion_auth_service.js | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/builtin/discord.js | frontend/src/services/skills/builtin/discord.js | "use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/builtin/slack.js | frontend/src/services/skills/builtin/slack.js | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/builtin/google_drive.js | frontend/src/services/skills/builtin/google_drive.js | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/builtin/notion.js | frontend/src/services/skills/builtin/notion.js | "use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/builtin/gmail.js | frontend/src/services/skills/builtin/gmail.js | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/services/skills/builtin/google_calendar.js | frontend/src/services/skills/builtin/google_calendar.js | "use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/src/utils/analytics.js | frontend/src/utils/analytics.js | // Google Analytics configuration
export const GA_TRACKING_ID = 'UA-69710121-1' // Your tracking ID
// https://developers.google.com/analytics/devguides/collection/gtagjs/pages
export const pageview = (url) => {
if (typeof window !== 'undefined' && window.gtag) {
window.gtag('config', GA_TRACKING_ID, {
pag... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/pdf.worker.min.js | frontend/public/pdf.worker.min.js | /**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/webr/webr-worker.js | frontend/public/webr/webr-worker.js | "use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __commonJS = (cb, mod) => funct... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/webr/webr-serviceworker.js | frontend/public/webr/webr-serviceworker.js | "use strict";
(() => {
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __requir... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/webr/R.bin.js | frontend/public/webr/R.bin.js | var Module = globalThis.Module;
Module.createLazyFilesystem = function () {
let fsPathCache = [];
// Load a single file into the VFS. Lazy load in browser, preload in Node
let loadFile = function(dir, file, src) {
if (fsPathCache.includes(`${dir}/${file}`)) {
return;
}
fsPathCache.push(`${dir}/${file}`);
... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/pyodide/pyodide.asm.js | frontend/public/pyodide/pyodide.asm.js | "use strict";
var _createPyodideModule = (() => {
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;
return (
function(_createPyodideModule = {}) {
| javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/pyodide/pyodide.js | frontend/public/pyodide/pyodide.js | !function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports):"function"==typeof define&&define.amd?define(["exports"],factory):factory((global="undefined"!=typeof globalThis?globalThis:global||self).loadPyodide={})}(this,(function(exports){"use strict";"undefined"!=typeof globalThis?g... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/pyodide/node_modules/node-fetch/browser.js | frontend/public/pyodide/node_modules/node-fetch/browser.js | "use strict";
// ref: https://github.com/tc39/proposal-global
var getGlobal = function () {
// the only reliable means to get the global object is
// `Function('return this')()`
// However, this causes CSP violations in Chrome apps.
if (typeof self !== 'undefined') { return self; }
if (typeof window !== 'undefine... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | false |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/pyodide/node_modules/node-fetch/lib/index.js | frontend/public/pyodide/node_modules/node-fetch/lib/index.js | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var Stream = _interopDefault(require('stream'));
var http = _interopDefault(require('http'));
var Url = _interopDefault(requi... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
Achu-shankar/Syllabi | https://github.com/Achu-shankar/Syllabi/blob/bfb565b532bdf92f3e5de94038efa09832c52fb0/frontend/public/pyodide/node_modules/node-fetch/lib/index.es.js | frontend/public/pyodide/node_modules/node-fetch/lib/index.es.js | process.emitWarning("The .es.js file is deprecated. Use .mjs instead.");
import Stream from 'stream';
import http from 'http';
import Url from 'url';
import whatwgUrl from 'whatwg-url';
import https from 'https';
import zlib from 'zlib';
// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb37... | javascript | MIT | bfb565b532bdf92f3e5de94038efa09832c52fb0 | 2026-01-05T03:41:43.671569Z | true |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/index.js | clean_server/index.js | const express = require('./resources/app/servertest3.js'); //
const electron = require('electron')
var win;
const {app,BrowserWindow} = electron
app.on('ready', () => {
win = new BrowserWindow({width:1035, height:825})
// let win = new BrowserWindow({width:1035, height:825})
//win.loadURL(`file://${__dirname}/ind... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/aws-sign2/index.js | clean_server/node_modules/aws-sign2/index.js |
/*!
* Copyright 2010 LearnBoost <dev@learnboost.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/ini/ini.js | clean_server/node_modules/ini/ini.js |
exports.parse = exports.decode = decode
exports.stringify = exports.encode = encode
exports.safe = safe
exports.unsafe = unsafe
var eol = process.platform === "win32" ? "\r\n" : "\n"
function encode (obj, opt) {
var children = []
, out = ""
if (typeof opt === "string") {
opt = {
section: opt,
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/core-util-is/test.js | clean_server/node_modules/core-util-is/test.js | var assert = require('tap');
var t = require('./lib/util');
assert.equal(t.isArray([]), true);
assert.equal(t.isArray({}), false);
assert.equal(t.isBoolean(null), false);
assert.equal(t.isBoolean(true), true);
assert.equal(t.isBoolean(false), true);
assert.equal(t.isNull(null), true);
assert.equal(t.isNull(undefine... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/core-util-is/lib/util.js | clean_server/node_modules/core-util-is/lib/util.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/decamelize/index.js | clean_server/node_modules/decamelize/index.js | 'use strict';
module.exports = function (str, sep) {
if (typeof str !== 'string') {
throw new TypeError('Expected a string');
}
sep = typeof sep === 'undefined' ? '_' : sep;
return str
.replace(/([a-z\d])([A-Z])/g, '$1' + sep + '$2')
.replace(/([A-Z]+)([A-Z][a-z\d]+)/g, '$1' + sep + '$2')
.toLowerCase();
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/locate-path/index.js | clean_server/node_modules/locate-path/index.js | 'use strict';
const path = require('path');
const pathExists = require('path-exists');
const pLocate = require('p-locate');
module.exports = (iterable, opts) => {
opts = Object.assign({
cwd: process.cwd()
}, opts);
return pLocate(iterable, el => pathExists(path.resolve(opts.cwd, el)), opts);
};
module.exports.s... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/locate-path/node_modules/path-exists/index.js | clean_server/node_modules/locate-path/node_modules/path-exists/index.js | 'use strict';
const fs = require('fs');
module.exports = fp => new Promise(resolve => {
fs.access(fp, err => {
resolve(!err);
});
});
module.exports.sync = fp => {
try {
fs.accessSync(fp);
return true;
} catch (err) {
return false;
}
};
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/graceful-fs/legacy-streams.js | clean_server/node_modules/graceful-fs/legacy-streams.js | var Stream = require('stream').Stream
module.exports = legacy
function legacy (fs) {
return {
ReadStream: ReadStream,
WriteStream: WriteStream
}
function ReadStream (path, options) {
if (!(this instanceof ReadStream)) return new ReadStream(path, options);
Stream.call(this);
var self = thi... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/graceful-fs/graceful-fs.js | clean_server/node_modules/graceful-fs/graceful-fs.js | var fs = require('fs')
var polyfills = require('./polyfills.js')
var legacy = require('./legacy-streams.js')
var queue = []
var util = require('util')
function noop () {}
var debug = noop
if (util.debuglog)
debug = util.debuglog('gfs4')
else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ''))
debug = function() ... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/graceful-fs/polyfills.js | clean_server/node_modules/graceful-fs/polyfills.js | var fs = require('./fs.js')
var constants = require('constants')
var origCwd = process.cwd
var cwd = null
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform
process.cwd = function() {
if (!cwd)
cwd = origCwd.call(process)
return cwd
}
try {
process.cwd()
} catch (er) {}
var chdir = proces... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/graceful-fs/fs.js | clean_server/node_modules/graceful-fs/fs.js | 'use strict'
var fs = require('fs')
module.exports = clone(fs)
function clone (obj) {
if (obj === null || typeof obj !== 'object')
return obj
if (obj instanceof Object)
var copy = { __proto__: obj.__proto__ }
else
var copy = Object.create(null)
Object.getOwnPropertyNames(obj).forEach(function (... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/ansi-regex/index.js | clean_server/node_modules/ansi-regex/index.js | 'use strict';
module.exports = function () {
return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g;
};
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/is-utf8/is-utf8.js | clean_server/node_modules/is-utf8/is-utf8.js |
exports = module.exports = function(bytes)
{
var i = 0;
while(i < bytes.length)
{
if( (// ASCII
bytes[i] == 0x09 ||
bytes[i] == 0x0A ||
bytes[i] == 0x0D ||
(0x20 <= bytes[i] && bytes[i] <= 0x7E)
)
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/pgpass/lib/index.js | clean_server/node_modules/pgpass/lib/index.js | 'use strict';
var path = require('path')
, fs = require('fs')
, helper = require('./helper.js')
;
module.exports = function(connInfo, cb) {
var file = helper.getFileName();
fs.stat(file, function(err, stat){
if (err || !helper.usePgPass(stat, file)) {
return cb(undefined);
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/pgpass/lib/helper.js | clean_server/node_modules/pgpass/lib/helper.js | 'use strict';
var path = require('path')
, Stream = require('stream').Stream
, Split = require('split')
, util = require('util')
, defaultPort = 5432
, isWin = (process.platform === 'win32')
, warnStream = process.stderr
;
var S_IRWXG = 56 // 00070(8)
, S_IRWXO = 7 // 00007(8)
, S_IFMT... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/pinkie/index.js | clean_server/node_modules/pinkie/index.js | 'use strict';
var PENDING = 'pending';
var SETTLED = 'settled';
var FULFILLED = 'fulfilled';
var REJECTED = 'rejected';
var NOOP = function () {};
var isNode = typeof global !== 'undefined' && typeof global.process !== 'undefined' && typeof global.process.emit === 'function';
var asyncSetTimer = typeof setImmediate =... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/through2/test.js | clean_server/node_modules/through2/test.js | const test = require('tape')
, through2 = require('./')
, crypto = require('crypto')
, bl = require('bl')
, spigot = require('stream-spigot')
test('plain through', function (t) {
var th2 = through2(function (chunk, enc, callback) {
if (!this._i)
this._i = 97 // 'a'
else
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/through2/through2.js | clean_server/node_modules/through2/through2.js | const Transform = require('stream').Transform || require('readable-stream/transform')
, inherits = require('util').inherits
, xtend = require('xtend')
function noop (chunk, enc, callback) {
callback(null, chunk)
}
function ctor (options, transform, flush) {
if (typeof options == 'function') {
flu... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/path-exists/index.js | clean_server/node_modules/path-exists/index.js | 'use strict';
var fs = require('fs');
var Promise = require('pinkie-promise');
module.exports = function (fp) {
var fn = typeof fs.access === 'function' ? fs.access : fs.stat;
return new Promise(function (resolve) {
fn(fp, function (err) {
resolve(!err);
});
});
};
module.exports.sync = function (fp) {
va... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/dashdash/node_modules/assert-plus/assert.js | clean_server/node_modules/dashdash/node_modules/assert-plus/assert.js | // Copyright (c) 2012, Mark Cavage. All rights reserved.
// Copyright 2015 Joyent, Inc.
var assert = require('assert');
var Stream = require('stream').Stream;
var util = require('util');
///--- Globals
/* JSSTYLED */
var UUID_REGEXP = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/dashdash/lib/dashdash.js | clean_server/node_modules/dashdash/lib/dashdash.js | /**
* dashdash - A light, featureful and explicit option parsing library for
* node.js.
*/
// vim: set ts=4 sts=4 sw=4 et:
var assert = require('assert-plus');
var format = require('util').format;
var fs = require('fs');
var path = require('path');
var DEBUG = true;
if (DEBUG) {
var debug = console.warn;
} el... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | true |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/pify/index.js | clean_server/node_modules/pify/index.js | 'use strict';
var processFn = function (fn, P, opts) {
return function () {
var that = this;
var args = new Array(arguments.length);
for (var i = 0; i < arguments.length; i++) {
args[i] = arguments[i];
}
return new P(function (resolve, reject) {
args.push(function (err, result) {
if (err) {
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/home-path/test/test.js | clean_server/node_modules/home-path/test/test.js | var test = require('tape')
var getHomePath = require('../')
test('returns string', function (t) {
t.equal(typeof getHomePath(), 'string')
t.end()
})
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/home-path/lib/home-path.js | clean_server/node_modules/home-path/lib/home-path.js | 'use strict'
var os = require('os')
/**
* Cross-platform home directory retriever, tested on Windows XP and above, Mac OSX and Linux.
*
* With node versions 2.3.0 (iojs) or higher, the built-in [`os.homedir`](https://nodejs.org/api/os.html#os_os_homedir) method is used.
*
* @module home-path
* @example
* var getHomePa... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/map-obj/index.js | clean_server/node_modules/map-obj/index.js | 'use strict';
module.exports = function (obj, cb) {
var ret = {};
var keys = Object.keys(obj);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
var res = cb(key, obj[key], obj);
ret[res[0]] = res[1];
}
return ret;
};
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/sanitize-filename/index.js | clean_server/node_modules/sanitize-filename/index.js | /*jshint node:true*/
'use strict';
/**
* Replaces characters in strings that are illegal/unsafe for filenames.
* Unsafe characters are either removed or replaced by a substitute set
* in the optional `options` object.
*
* Illegal Characters on Various Operating Systems
* / ? < > \ : * | "
* https://kb.acronis.c... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/sanitize-filename/test.js | clean_server/node_modules/sanitize-filename/test.js | "use strict";
var test = require("tape"),
sanitize = require("./");
function repeat(string, times) {
return new Array(times + 1).join(string);
}
var REPLACEMENT_OPTS = {
replacement: "_",
};
test("valid names", function(t) {
["the quick brown fox jumped over the lazy dog.mp3",
"résumé"].forEach(function... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/once/once.js | clean_server/node_modules/once/once.js | var wrappy = require('wrappy')
module.exports = wrappy(once)
module.exports.strict = wrappy(onceStrict)
once.proto = once(function () {
Object.defineProperty(Function.prototype, 'once', {
value: function () {
return once(this)
},
configurable: true
})
Object.defineProperty(Function.prototype, ... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/builtin-modules/index.js | clean_server/node_modules/builtin-modules/index.js | 'use strict';
var blacklist = [
'freelist',
'sys'
];
module.exports = Object.keys(process.binding('natives')).filter(function (el) {
return !/^_|^internal|\//.test(el) && blacklist.indexOf(el) === -1;
}).sort();
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/builtin-modules/static.js | clean_server/node_modules/builtin-modules/static.js | 'use strict';
module.exports = require('./builtin-modules.json');
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/code-point-at/index.js | clean_server/node_modules/code-point-at/index.js | /* eslint-disable babel/new-cap, xo/throw-new-error */
'use strict';
module.exports = function (str, pos) {
if (str === null || str === undefined) {
throw TypeError();
}
str = String(str);
var size = str.length;
var i = pos ? Number(pos) : 0;
if (Number.isNaN(i)) {
i = 0;
}
if (i < 0 || i >= size) {
r... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/minimatch/minimatch.js | clean_server/node_modules/minimatch/minimatch.js | module.exports = minimatch
minimatch.Minimatch = Minimatch
var path = { sep: '/' }
try {
path = require('path')
} catch (er) {}
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
var expand = require('brace-expansion')
var plTypes = {
'!': { open: '(?:(?!(?:', close: '))[^/]*?)'},
'?': { open: '(?:', ... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/inherits/inherits_browser.js | clean_server/node_modules/inherits/inherits_browser.js | if (typeof Object.create === 'function') {
// implementation from standard node.js 'util' module
module.exports = function inherits(ctor, superCtor) {
ctor.super_ = superCtor
ctor.prototype = Object.create(superCtor.prototype, {
constructor: {
value: ctor,
enumerable: false,
wr... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/inherits/inherits.js | clean_server/node_modules/inherits/inherits.js | try {
var util = require('util');
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
module.exports = require('./inherits_browser.js');
}
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/object-assign/index.js | clean_server/node_modules/object-assign/index.js | /*
object-assign
(c) Sindre Sorhus
@license MIT
*/
'use strict';
/* eslint-disable no-unused-vars */
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
var hasOwnProperty = Object.prototype.hasOwnProperty;
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
function toObject(val) {
if (val === null ... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/spdx-correct/index.js | clean_server/node_modules/spdx-correct/index.js | var licenseIDs = require('spdx-license-ids');
function valid(string) {
return licenseIDs.indexOf(string) > -1;
}
// Common transpositions of license identifier acronyms
var transpositions = [
['APGL', 'AGPL'],
['Gpl', 'GPL'],
['GLP', 'GPL'],
['APL', 'Apache'],
['ISD', 'ISC'],
['GLP', 'GPL'],
['IST', '... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/path-is-absolute/index.js | clean_server/node_modules/path-is-absolute/index.js | 'use strict';
function posix(path) {
return path.charAt(0) === '/';
}
function win32(path) {
// https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56
var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
var result = splitDeviceRe.exec(pat... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/har-validator/lib/runner.js | clean_server/node_modules/har-validator/lib/runner.js | 'use strict'
var schemas = require('./schemas')
var ValidationError = require('./error')
var validator = require('is-my-json-valid')
module.exports = function (schema, data, cb) {
// default value
var valid = false
// validator config
var validate = validator(schema, {
greedy: true,
verbose: true,
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/har-validator/lib/index.js | clean_server/node_modules/har-validator/lib/index.js | 'use strict'
var Promise = require('pinkie-promise')
var runner = require('./runner')
var schemas = require('./schemas')
var promisify = function (schema) {
return function (data) {
return new Promise(function (resolve, reject) {
runner(schema, data, function (err, valid) {
return err === null ? r... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/har-validator/lib/error.js | clean_server/node_modules/har-validator/lib/error.js | 'use strict'
function ValidationError (errors) {
this.name = 'ValidationError'
this.errors = errors
}
ValidationError.prototype = Error.prototype
module.exports = ValidationError
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/har-validator/lib/async.js | clean_server/node_modules/har-validator/lib/async.js | 'use strict'
var runner = require('./runner')
var schemas = require('./schemas')
module.exports = function (data, cb) {
return runner(schemas.har, data, cb)
}
Object.keys(schemas).map(function (name) {
module.exports[name] = function (data, cb) {
return runner(schemas[name], data, cb)
}
})
| javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/har-validator/lib/schemas/index.js | clean_server/node_modules/har-validator/lib/schemas/index.js | 'use strict'
var schemas = {
cache: require('./cache.json'),
cacheEntry: require('./cacheEntry.json'),
content: require('./content.json'),
cookie: require('./cookie.json'),
creator: require('./creator.json'),
entry: require('./entry.json'),
har: require('./har.json'),
log: require('./log.json'),
page... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/ms/index.js | clean_server/node_modules/ms/index.js | /**
* Helpers.
*/
var s = 1000
var m = s * 60
var h = m * 60
var d = h * 24
var y = d * 365.25
/**
* Parse or format the given `val`.
*
* Options:
*
* - `long` verbose formatting [false]
*
* @param {String|Number} val
* @param {Object} options
* @throws {Error} throw an error if val is not a non-empty str... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/jsprim/lib/jsprim.js | clean_server/node_modules/jsprim/lib/jsprim.js | /*
* lib/jsprim.js: utilities for primitive JavaScript types
*/
var mod_assert = require('assert');
var mod_util = require('util');
var mod_extsprintf = require('extsprintf');
var mod_verror = require('verror');
var mod_jsonschema = require('json-schema');
/*
* Public interface
*/
exports.deepCopy = deepCopy;
ex... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/supports-color/index.js | clean_server/node_modules/supports-color/index.js | 'use strict';
var argv = process.argv;
var terminator = argv.indexOf('--');
var hasFlag = function (flag) {
flag = '--' + flag;
var pos = argv.indexOf(flag);
return pos !== -1 && (terminator !== -1 ? pos < terminator : true);
};
module.exports = (function () {
if ('FORCE_COLOR' in process.env) {
return true;
}... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/sntp/index.js | clean_server/node_modules/sntp/index.js | module.exports = require('./lib'); | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/sntp/test/index.js | clean_server/node_modules/sntp/test/index.js | // Load modules
var Dns = require('dns');
var Dgram = require('dgram');
var Lab = require('lab');
var Sntp = require('../lib');
// Declare internals
var internals = {};
// Test shortcuts
var lab = exports.lab = Lab.script();
var before = lab.before;
var after = lab.after;
var describe = lab.experiment;
var it = ... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/sntp/examples/offset.js | clean_server/node_modules/sntp/examples/offset.js | var Sntp = require('../lib');
// Request offset once
Sntp.offset(function (err, offset) {
console.log(offset); // New (served fresh)
// Request offset again
Sntp.offset(function (err, offset) {
console.log(offset); // Identical (served from cache)
});
});
... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/sntp/examples/time.js | clean_server/node_modules/sntp/examples/time.js | var Sntp = require('../lib');
// All options are optional
var options = {
host: 'nist1-sj.ustiming.org', // Defaults to pool.ntp.org
port: 123, // Defaults to 123 (NTP)
resolveReference: true, // Default to false (not resolving)
timeout: 1000 // Defaults... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/sntp/lib/index.js | clean_server/node_modules/sntp/lib/index.js | // Load modules
var Dgram = require('dgram');
var Dns = require('dns');
var Hoek = require('hoek');
// Declare internals
var internals = {};
exports.time = function (options, callback) {
if (arguments.length !== 2) {
callback = arguments[0];
options = {};
}
var settings = Hoek.clone(... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/yauzl/index.js | clean_server/node_modules/yauzl/index.js | var fs = require("fs");
var zlib = require("zlib");
var fd_slicer = require("fd-slicer");
var util = require("util");
var EventEmitter = require("events").EventEmitter;
var Transform = require("stream").Transform;
var PassThrough = require("stream").PassThrough;
var Writable = require("stream").Writable;
exports.open ... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/rimraf/rimraf.js | clean_server/node_modules/rimraf/rimraf.js | module.exports = rimraf
rimraf.sync = rimrafSync
var assert = require("assert")
var path = require("path")
var fs = require("fs")
var glob = require("glob")
var defaultGlobOpts = {
nosort: true,
silent: true
}
// for EMFILE handling
var timeout = 0
var isWindows = (process.platform === "win32")
function defaul... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/rimraf/bin.js | clean_server/node_modules/rimraf/bin.js | #!/usr/bin/env node
var rimraf = require('./')
var help = false
var dashdash = false
var args = process.argv.slice(2).filter(function(arg) {
if (dashdash)
return !!arg
else if (arg === '--')
dashdash = true
else if (arg.match(/^(-+|\/)(h(elp)?|\?)$/))
help = true
else
return !!arg
});
if (hel... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | false |
danieltoorani/adminScheduler | https://github.com/danieltoorani/adminScheduler/blob/0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409/clean_server/node_modules/q/q.js | clean_server/node_modules/q/q.js | // vim:ts=4:sts=4:sw=4:
/*!
*
* Copyright 2009-2012 Kris Kowal under the terms of the MIT
* license found at http://github.com/kriskowal/q/raw/master/LICENSE
*
* With parts by Tyler Close
* Copyright 2007-2009 Tyler Close under the terms of the MIT X license found
* at http://www.opensource.org/licenses/mit-lice... | javascript | MIT | 0ebe9ed652c6bbe95615bf9c7f3db69f54b4a409 | 2026-01-05T03:41:26.784159Z | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.