Skip to content

Instantly share code, notes, and snippets.

Avatar

Vitor Paladini vtrpldn

View GitHub Profile
View mdu-toggle-comment.js
const comments = document.querySelectorAll(".comment");
comments.forEach(function(element, index) {
const toggleButton = document.createElement("div");
const commentMeta = element.querySelector(".comment-meta");
const currentComment = element.querySelector(".comment-content");
const commentAuthor = element.querySelector(".comment-author");
const commentMetadata = element.querySelector(".comment-metadata");
const commentReply = element.querySelector(".reply");
const childComments = element.querySelector(".children");
@vtrpldn
vtrpldn / All Star Trek TNG episode descriptions.txt
Last active Jun 29, 2017
All Star Trek TNG episode descriptions
View All Star Trek TNG episode descriptions.txt
The new starship Enterprise begins her maiden voyage by uncovering the mysteries of an advanced space station. The crew's mission is threatened by an omnipotent being named Q, who puts them on trial for the crimes of all humanity.
The crew of the Enterprise find the crew of a scientific vessel dead. They soon fall prey to a mysterious, communicable contaminant causing the crew to experience symptoms similar to alcohol intoxication, threatening the lives of all aboard the ship.
Lt. Yar is abducted by the leader of a people who abide by a strict code of honor, which requires her participation in a fight to the death.
An unknown force immobilizes the Enterprise during the Federation's first encounter with a new alien threat—the Ferengi.
Warp efficiency tests send the Enterprise traveling far beyond known space, where the crew's imagination takes on real form. First appearance of Eric Menyuk as The Traveler.
An alien entity possesses Dr. Crusher, Worf, and Picard while the Enterprise is transporting delegates fro
@vtrpldn
vtrpldn / init.coffee
Last active Jan 21, 2017
My favorite mix of Atom spices. Automatic update by http://atom.io/packages/sync-settings.
View init.coffee
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
You can’t perform that action at this time.