Skip to content

Instantly share code, notes, and snippets.

eukaryote eukaryote31

Block or report user

Report or block eukaryote31

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@eukaryote31
eukaryote31 / github-downloader
Created Jul 23, 2019
script to autodownload list of github repositories
View github-downloader
tail -n +$(wc -l done-log.txt | cut -f1 -d' ') ../github-repos.txt | xargs -I % bash -c 'git clone https://fake_user_to_skip_over_private_repos:fakep@github.com/% % && echo % >> done-log.txt; sleep 1;'
View cursed.js
$ = '$'
for (let i = 0; i < 1000; i++) {
window.eval('const $' + i + ' = ' + i)
}
console.log($ + $5 + $10)
View reddit_gpt2_credit.txt
u/----__----
u/---REDDIT---
u/--Noelle--
u/--Strawberry--
u/--The_Minotaur--
u/--harley--quinn--
u/-3648-
u/-564448
u/-6_9-
u/-AestheticsOfHate-
View gist:5cc7ea62d8cb380831398acf9aef6992
' \"That\'s the reason why you have come here.\" His voice sounded off and confused, not like Bob, but like all of them; a real human voice. \"This is the time machine where we can tell him how to paint his own damn landscapes.\" \n \n \n \nIt took me a moment to register the voice. It was Bob, his voice was in a high pitch, so low that I didn\'t even hear it. I thought I was deaf, the voices I heard could really be more than human, but now I knew what I had been trained to do. It was a real man. \n \n \n \n\n The door opened behind me, a huge old man wearing all of the American flags. It was Bob. He had a thick German accent that said \"Mr. B?\", it was no doubt a real Bob. \n \n \nHis accent was right, that\'s all he was. \"I have travelled to meet you, and I will be honest with you that if you don\'t believe me, I won\'t hire you, and I\'ve been in this position for so long that now that you have shown yourself I\'m ready for any interviews I can get going on you.\" \n \n \n\"Very well.\"
@eukaryote31
eukaryote31 / r.sh
Created Apr 16, 2019
Get distro name
View r.sh
distro=$((lsb_release -ds 2>/dev/null || cat /etc/*release 2>/dev/null | head -n1 || uname -om) | awk '{ print $1 }')
View gist:a48bcca24a1553508853c011120e8089
sudo apt install libvigraimpex-dev libexiv2-dev libglew-dev libpano13-dev liblcms2-dev libsqlite3-dev
@eukaryote31
eukaryote31 / dump.txt
Created Mar 15, 2019
Reddit 2018-10, GPT2-117M, loss=2.45 after 176k iters, temp=1, top_k=40, sample_length=255, sample_length=16, lr=1e-5
View dump.txt
======================================== PROMPT ========================================
Happy Pi day everybody<delim><subm>
======================================== SAMPLE 1 ========================================
I actually don’t think that’s what the meme is about, I think the image is about a little girl or a little kid trying to explain the message to people. <delim>No, a bit of a joke if anyone actually read the meme.<delim>The meme is all about two people trying to make a joke on each other.
<|endoftext|>Me and other women have a little boy for a little girl.<delim><subm>It would suck to be my husband instead of my daughter. I think she’s been through a lot. <delim>Yes and no. I don’t know her. I just feel like she needs to find the courage to be herself and not take this life to the other side of the world so she can find herself...<delim>Not her son.
<|endoftext|>Me and other women have a little boy for a little girl.<delim><subm>How old are you?<delim>I was around 29-30 but we've had the worst of
View ao3_scraper.py
import os
import re
import requests
import tqdm
from markdownify import markdownify as md
import multiprocessing as mp
try:
from BeautifulSoup import BeautifulSoup
except ImportError:
View gist:e7406e49f62f23e4004afa9788cafaa0
eukaryote@ubuntu-1:~/workspace/stylegan$ p train.py
Creating the run dir: results/00001-sgan-anime-1gpu
Copying files to the run dir
dnnlib: Running training.training_loop.training_loop() on localhost...
Streaming data using training.dataset.TFRecordDataset...
Dataset shape = [3, 256, 256]
Dynamic range = [0, 255]
Label size = 0
Constructing networks...
View gist:5b4030b8f4066208a3f5dfe52f7670eb
eukaryote@ubuntu-1:~/workspace/pytorch$ python3 tools/amd_build/build_amd.py
c10/cuda/CUDAGuard.h -> c10/hip/HIPGuard.h
c10/cuda/CUDAStream.h -> c10/hip/HIPStream.h
c10/cuda/CUDAStream.cpp -> c10/hip/HIPStream.cpp
c10/cuda/CUDAMathCompat.h -> c10/hip/HIPMathCompat.h
c10/cuda/CUDAMacros.h -> c10/hip/HIPMacros.h
c10/cuda/CUDAFunctions.h -> c10/hip/HIPFunctions.h
c10/cuda/CUDAException.h -> c10/hip/HIPException.h
c10/cuda/CUDACachingAllocator.h -> c10/hip/HIPCachingAllocator.h
c10/cuda/CUDACachingAllocator.cpp -> c10/hip/HIPCachingAllocator.cpp
You can’t perform that action at this time.