Skip to content

Instantly share code, notes, and snippets.

View crse's full-sized avatar
🎨
open art commission!

Chris crse

🎨
open art commission!
  • Antarctica
View GitHub Profile
@B-Con
B-Con / MAL-black-and-white
Last active June 3, 2023 14:43
The CSS styling for one of my custom themes on MyAnimeList.net. It is style #ID101241.
/* Copyright (c) 2013 Brad Conte (brad@bradconte.com, http://myanimelist.net/profile/B-Con)
* License: http://opensource.org/licenses/MIT
* Summary: You may use, edit, and redistribute this all you want. Just keep the top two lines of this file that credit me and mention the license.
*
* This is the CSS theme for my MAL list at http://myanimelist.net/animelist/B-Con .
* They generate the HTML, I just style it. Their HTML is sometimes bizarre,
* sometimes horrible, so there are definitely some hacks.
*/
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic');
@mul14
mul14 / 00_etc-hosts.md
Last active July 22, 2024 03:49
/etc/hosts for Vimeo, Reddit, Imgur, GitHub, DigitalOcean, dll

Unblock Steam, Vimeo, Reddit, Imgur, GitHub, DigitalOcean, NPM, PayPal, dll

Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows

@missingno15
missingno15 / showroom_bot.rb
Created February 5, 2017 22:18
showroom bot
require "active_support/core_ext/numeric/time"
require "capybara"
require "capybara/poltergeist"
require "dotenv"
require "logger"
require "json"
require "pry"
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, {js_errors: false})
@dragontamer8740
dragontamer8740 / always-show-expunged.user.js
Created March 4, 2018 20:08
Include expunged galleries in e-hentai and exhentai searches by default
// ==UserScript==
// @name Always show expunged
// @namespace dragontamer8740.expunged
// @description Automatically checks the "show expunged galleries" checkbox. Now works in GreaseMonkey 4.
// @version 1.1
// @include http://g.e-hentai.org/*
// @include http://e-hentai.org/*
// @include http://exhentai.org/*
// @include https://g.e-hentai.org/*
// @include https://e-hentai.org/*
@infval
infval / emuparadise.download.user.js
Last active June 5, 2024 04:51
emuparadise.me download workaround (Most games + Sega Dreamcast, Books/Comics/Guides/Magazines)
// ==UserScript==
// @name EmuParadise Download Workaround
// @version 1.2.3
// @description Replaces the download button link with a working one
// @author infval (Eptun)
// @match https://www.emuparadise.me/*/*/*
// @grant none
// ==/UserScript==
// https://www.reddit.com/r/Piracy/comments/968sm6/a_script_for_easy_downloading_of_emuparadise_roms/
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active June 20, 2024 12:30
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
@whinette
whinette / root_folder.py
Created January 2, 2019 11:23
tailored script to cleanup mess from pixiv
# -*- coding: utf-8 -*-
import os, sys
from stat import ST_MTIME
import distutils
from distutils import dir_util
import shutil
import logging
from datetime import datetime
@abdilahrf
abdilahrf / hosts
Last active May 16, 2024 00:04
Blokir hostname INDIHOM* ke localhost kita biar kapok, untuk linux tambahin di file /etc/hosts & windows /System32/drivers/etc/hosts
# INDIHOM*
127.0.0.1 x-tags.net
127.0.0.1 a01.uadexchange.com
127.0.0.1 cdn.uzone.id
127.0.0.1 cdn3.uzone.id
127.0.0.1 cfs.uzone.id
127.0.0.1 csf.uzone.id
127.0.0.1 d01.notifa.info
127.0.0.1 d31qbv1cthcecs.cloudfront.net
127.0.0.1 d5nxst8fruw4z.cloudfront.net
@AndrewKvalheim
AndrewKvalheim / mastodon-notes.md
Last active February 9, 2024 18:30
Notes on running a personal Mastodon instance

Personal Mastodon instance

Effective total cost: $3–5/mo

Setup

Decide on an EC2 instance type:

  1. At AWS Console → EC2 → Instance Types, filter for ≥1 GB RAM and sort by price.
  • t4g.micro is lowest.
@giorgi-o
giorgi-o / discord tic tac toe.js
Last active March 23, 2023 10:49
Discord Tic Tac Toe using Buttons (Components)
/**
* Tic Tac Toe using Discord's new components!
* https://reddit.com/r/discordapp/comments/nn733r
*
* Discord released their "components" feature yesterday,
* and I thought I might as well create something to
* try and learn how to use them, so here we go.
* This version doesn't even check for a winner lol.
*
* NOTE: As of 28/05, THIS WILL NOT WORK on the