Skip to content

Instantly share code, notes, and snippets.

View espeon's full-sized avatar
:octocat:
octo cat

natalie espeon

:octocat:
octo cat
View GitHub Profile
@espeon
espeon / audius.co.css
Last active June 18, 2020 22:15
audius stylish thingy v1.2
@-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);
@espeon
espeon / lyre.js
Created November 9, 2019 22:16
cool and nice idk
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);
@espeon
espeon / anime.js
Last active November 13, 2019 18:03
//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",
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");
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::*;
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"
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");
[
{
"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"
{
"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",
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)
})