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;
}
for f in *.mp3; do echo "$f" >> playlist.m3u; done
sudo systemctl {action} jellyfin.service
sudo service jellyfin {action}
[ | |
{"name":"Alabama","alpha-2":"AL"}, | |
{"name":"Alaska","alpha-2":"AK"}, | |
{"name":"Arizona","alpha-2":"AZ"}, | |
{"name":"Arkansas","alpha-2":"AR"}, | |
{"name":"California","alpha-2":"CA"}, | |
{"name":"Colorado","alpha-2":"CO"}, | |
{"name":"Connecticut","alpha-2":"CT"}, | |
{"name":"Delaware","alpha-2":"DE"}, | |
{"name":"District of Columbia","alpha-2":"DC"}, |
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 |
Homebrew is a package management system for OS X. You can read more about it here, or simply run
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
to install it.
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.
--- | |
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 {{ post.date | date: "%B %e, %Y" }}</span> | |
</p> |
gg
goes to top of file.
dG
deletes all lines in file.
This assumes you use Mac OS X and Webfaction.com 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 yourwebfactionusername@yourwebfactionusername.webfactional.com:/home/yourwebfactionusername/webapps/yourwebappname /Users/yourmacusername/folder