Skip to content

Instantly share code, notes, and snippets.

View evwltrs's full-sized avatar

ev evwltrs

  • London
  • 20:21 (UTC +01:00)
View GitHub Profile
@evwltrs
evwltrs / curl
Created March 29, 2018 20:14
Deploy with variable
#! /bin/bash/
git clone -b $1 https://github.com/evanwaltersdev/yccpreload.git

Keybase proof

I hereby claim:

  • I am evanwaltersdev on github.
  • I am evanwaltersdev (https://keybase.io/evanwaltersdev) on keybase.
  • I have a public key ASA4Tqd5oI9u1UP7eKvVcooL3ebgMyypSFpCpw_AHbjI2wo

To claim this, I am signing this object:

@evwltrs
evwltrs / index.html
Created August 2, 2018 07:24
Redirect Countdown timer with SVG circle
<head>
<script type="text/javascript">
// Total seconds to wait
var seconds = 10;
function countdown() {
seconds = seconds - 1;
if (seconds < 0) {
// Chnage your redirection link here
@evwltrs
evwltrs / avatar.js
Created September 5, 2018 18:22
Commands
const Discord = require("discord.js"); //YOU WILL NEED TO DEFINE DISCORD SINCE WE ARE USING THE EMBED!
exports.run = async (bot, message, args) => { //OH BTW BOT IS YOUR CLIENT SO IF YOU USED CLIENT THEN CHNAGE ALL THE "BOT" TO "CLIENT" cool!
var footertext = [`${bot.user.username}: oof sexy`, `${bot.user.username}: nice`, `${bot.user.username}: 🔥`, `${bot.user.username}: Someone's looking sharp today!`, `${bot.user.username}: oof if i wasn't a bot...`, `${bot.user.username}: looking sexier than a mug`];
var rand = Math.floor(Math.random() * footertext.length);
var randomfooter = footertext[rand]; //THIS AND THE TWO LINES ABOVE IS TOTALLY UNNECESSARY. But you want to make your bot more interactive so keep it.Just an array of some random shit, you can add more if you would like just read the code and change it at your will!
message.channel.startTyping(); // TELLS YOUR HANDICAPPED BOT TO START TYPING! ;)
@evwltrs
evwltrs / index.html
Last active August 21, 2023 10:16
typed.js - example
<div id="page_wrap">
<ul class="btns">
<a href="https://www.mattboldt.com/demos/typed-js/" target="_blank"><li class="btn">visit the creator of Typed.js</li></a>
<a href="https://codepen.io/merb/" target="_blank"><li class="btn">see my other pens</li></a>
</ul>
<div class="banner">
<div class="typed_wrap">
<h1>We Are <span class="typed"></span></h1>
</div>
</div>
@evwltrs
evwltrs / index.html
Last active October 14, 2018 19:05
Typed.js (My Version)
<body>
<div class="wrap">
<div class="type-wrap">
<span id="typed" style="white-space:pre;"</span>
</div>
</div>
</body>
</html>
@evwltrs
evwltrs / guidelines.md
Last active October 15, 2018 20:08
1mb Guidelines

Guidelines

  1. At 1mb we are advocates for free speech but your page may not contain:

    • Malicious Code of any kind
    • Gore
    • Anything violating US laws
  2. Respect the privacy of other users

  3. Do not abuse the account creation system

# import only system from os
from os import system, name
# import sleep to show output for some time period
from time import sleep
# define our clear function
def clear():
# for windows
@evwltrs
evwltrs / readme.md
Created September 23, 2021 12:44
readme.md

helo

@evwltrs
evwltrs / index.js
Last active October 25, 2021 17:08
canvas emoji gen
let img = document.createElement("img")
img.src = "https://emojiapi.dev/api/v1/crown/400.png"
var canvas = document.getElementById("canvas")
var ctx = canvas.getContext("2d")
ctx.fillStyle = "blue"
ctx.fillRect(0, 0, canvas.width, canvas.height)
img.addEventListener("load", () => {
ctx.drawImage(