Skip to content

Instantly share code, notes, and snippets.

View nirewen's full-sized avatar
:octocat:

Eduardo Londero nirewen

:octocat:
View GitHub Profile
@nirewen
nirewen / Discordify.theme.css
Last active June 20, 2023 19:40
Discordify - A theme that makes Discord looks like Spotify! v3.0.1 - New switches (because the old ones were ugly (puke)) and moar
//META{"name":"Discordify","description":"A Spotify inspired theme<br><br>No need to update this theme, it updates itself when you reload Discord","author":"Nirewen","version":"ersion: [Reload for latest version]"}*//{}
@import url("https://rawgit.com/nirewen/Discordify/master/css/main.css");
@nirewen
nirewen / msgDelete.plugin.js
Created April 26, 2016 19:46
Message Delete - A plugin that creates an easy button to delete the messages!
//META{"name":"Delete"}*//
//Inspired on Jiiks dblClickEdit plugin and Reply plugin by CosmicSalad (Hammock)
var Delete = function () {};
Delete.prototype.start = function() {
$(document).on("mouseover.rpr", function(e) {
var target = $(e.target);
if(target.parents(".message").length > 0) {
.user-settings-modal .settings-header {max-width: 60px;}
/* HEADER */
.user-settings-modal .tab-bar.SIDE .tab-bar-header {font-size: 0px;}
.user-settings-modal .tab-bar.SIDE .tab-bar-header:after {
content: '\e700';
font-family: 'Segoe MDL2 Assets';
font-size: 20px;
//META{"name":"bottom_guilds","description":"puts the guilds on bottom","author":"Nirewen","version":"1.0"}*//{}
.friends-online, .guild-separator {
display: none;
}
.guilds-wrapper{
bottom: -64px;
transition: 500ms;
}
.status-online + .status-text {font-size: 0px;}
.status-online + .status-text:after {
content: var(--online-localstring);
font-size: 16px;
position: relative;
top: 3px;
}
.status-idle + .status-text {font-size: 0px;}
.status-idle + .status-text:after {
content: var(--idle-localstring);
//META{"name":"Compact_Account","description":"edits for that account thingy under the channels","author":"maple - Nirewen's Edit","version":"1.22"}*//{}
/* Original version: https://github.com/mrmaple240/betterdiscord-mini-themes/blob/master/CompactAccount.theme.css */
.account {
border-top: 1px solid rgba(180,180,180,.4) !important;
}
.account .avatar-small {
left: -10px;
width: 70px;
@nirewen
nirewen / erisPrototypes.js
Last active June 7, 2022 02:10
A list of helpful functions for my Eris bot
let Endpoints = require("eris/lib/rest/Endpoints");
Object.defineProperties(Eris.Client.prototype, {
fetchChannel: {
value: function(channelID) {
return this.requestHandler.request("GET", Endpoints.CHANNEL(channelID), true).then((channel) => {
if (channel.type === 0) {
return new Eris.TextChannel(channel, null, this.options.messageLimit);
} else if (channel.type === 1) {
return new Eris.PrivateChannel(channel, this);
} else if (channel.type === 2) {
@nirewen
nirewen / Player.js
Created October 27, 2018 21:36
A music player based on Eris
//"ty&": {"category": "Música", "dir": "commands/music/", "color": "red"},
const reload = require('require-reload')(require),
config = reload('../config.json'),
utils = reload('./utils.js'),
playlists = reload('../db/playlists.json'),
YTDL = require('ytdl-core');
class Player {
constructor(bot, guild) {
@nirewen
nirewen / MOTD.java
Last active October 30, 2019 22:37
Simple MOTD center
package net.ehaqui.ehcore.utils;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.configuration.file.FileConfiguration;
import java.util.List;
import java.util.Random;
public class MOTD {
@nirewen
nirewen / README.md
Created April 20, 2022 14:46
Generate a Notion database with all days of the year

This is a simple Node.JS script to generate a .CSV file to merge with a previously created Notion database.

It's supposed to be used with a Habit Tracker of sorts. It generates all days of the specified year, naming each page "Day #".

It also includes the week day (sunday, monday, ...)

It's easier to generate this from a script, and then use Notion to add the rest, like all the habits and database relationships there.

Packages