Skip to content

Instantly share code, notes, and snippets.


Adrianna Tan skinnylatte

View GitHub Profile
skinnylatte /
Created September 26, 2022 17:53 — forked from JoeyBurzynski/
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
skinnylatte /
Created March 1, 2022 23:14
Create playlist from folder of mp3s in cli

for f in *.mp3; do echo "$f" >> playlist.m3u; done

skinnylatte /
Created July 12, 2020 22:05
Manage Jellyfin
sudo systemctl {action} jellyfin.service

sudo service jellyfin {action}

skinnylatte / US State List
Created April 10, 2020 02:57 — forked from tvpmb/US State List
JSON Array with List of US States with 2-char ISO codes.
View US State List
{"name":"District of Columbia","alpha-2":"DC"},
View Things to setup on new X1 carbon
Install Ubuntu
Install Chrome
Install docker
sudo apt-get install npm
sudo npm install -g @angular/cli
sudo npm install -g @angular-devkit/build-angular
skinnylatte /
Created March 24, 2017 04:43 — forked from indiesquidge/
How to and Best of Homebrew


How To

Homebrew is a package management system for OS X. You can read more about it here, or simply run

ruby -e "$(curl -fsSL"

to install it.

skinnylatte /
Created March 16, 2017 08:27 — forked from DanHerbert/
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.


This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

skinnylatte / jekyll-template-paginate-nicedates.html
Last active October 17, 2016 12:14
Jekyll index file template with pagination and nice dates
View jekyll-template-paginate-nicedates.html
layout: default
<!-- This loops through the paginated posts -->
{% for post in paginator.posts %}
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<p class="author">
<span class="date">Written on {{ | date: "%B %e, %Y" }}</span>
skinnylatte /
Created October 17, 2016 11:44
VIM - delete all lines in file

gg goes to top of file.

dG deletes all lines in file.

skinnylatte /
Last active October 17, 2016 10:05
Copy files from webfation using scp

This assumes you use Mac OS X and shared hosting.

To avoid using an ftp or sftp client to download a folder to your computer locally, this is what I did.

Here, I am copying a wordpress folder into my local folder.

In Terminal,

scp -r /Users/yourmacusername/folder