This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @-moz-document domain("audius.co") { | |
| @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;300;500;700;900&display=swap'); | |
| .EditableName_name__2EfQa, | |
| .EditableName_name__2EfQa > input { | |
| font-weight: var(--font-bold); | |
| } | |
| .ProfilePage_nameWrapper__3Ffp0 > .ProfilePage_handle__gq8P7 { | |
| font-size: var(--font-m); | |
| font-weight: var(--font-light); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { Client, Util } = require("discord.js"); | |
| const { BOT_TOKEN, prefix, ytkey, sckey } = process.env; | |
| const YouTube = require("simple-youtube-api"); | |
| const ytdl = require("ytdl-core"); | |
| const request = require("request"); | |
| const client = new Client({ disableEveryone: true }); | |
| const youtube = new YouTube(ytkey); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //this is a klasa function | |
| //yeah. | |
| const { Command } = require("klasa"); | |
| var req = require("request"); | |
| module.exports = class extends Command { | |
| constructor(...args) { | |
| super(...args, { | |
| name: "anime-m", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::io; | |
| fn main() { | |
| println!("Input a number:"); | |
| let mut input = String::new(); | |
| io::stdin() | |
| .read_line(&mut input) | |
| .expect("Failed to read line"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use log::error; | |
| use serde_json::Value; | |
| use serenity::framework::standard::macros::command; | |
| use serenity::framework::standard::CommandError; | |
| use serenity::framework::standard::{Args, CommandResult}; | |
| use serenity::model::prelude::*; | |
| use serenity::prelude::*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const express = require("express"), | |
| app = express(), | |
| port = process.env.PORT || 5000; | |
| const axios = require("axios"); | |
| const needle = require("needle"); | |
| app.get("/", (req, res) => { | |
| res.json( | |
| "hi" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use sqlx::SqlitePool; | |
| #[tokio::main] | |
| async fn main() { | |
| let pool = SqlitePool::builder() | |
| .max_size(1) | |
| .build("sqlite3://todos.sqlite3") | |
| .await | |
| .expect("Failed to create DB pool"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": "Jm5iTsZIBp9cWQX8", | |
| "provider": "SintelEngine", | |
| "file": "http://www.peach.themazzone.com/durian/movies/sintel-2048-stereo.mp4", | |
| "lang": "sub", | |
| "type": "mp4", | |
| "hardsub": true, | |
| "thumbnail": "https://cdn.animeflix.io/vod-thumbnails/VIn7682wFZjvsKVR.jpg", | |
| "resolution": "1080p" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data": [ | |
| { | |
| "id": 5430, | |
| "title": "Sintel", | |
| "english_title": "Sintel", | |
| "episode_num": "1", | |
| "type": "sub", | |
| "created_at": "2020-04-11T19:02:08.000000Z", | |
| "thumbnail": "https:\/\/durian.blender.org\/wp-content\/content\/download_youtube.jpg", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import videojs from 'video.js' | |
| class Player extends Component { | |
| componentDidMount() { | |
| console.log('v.js mounted') | |
| // instantiate Video.js | |
| this.player = videojs(this.videoNode, this.props, function onPlayerReady() { | |
| console.log('onPlayerReady', this) | |
| }) |
OlderNewer