Thanks to the original blog post: https://equimper.com/blog/how-to-setup-tailwindcss-in-phoenix-1.4
cd assets
npm i --save-dev tailwindcss postcss-loader postcss-import
code --install-extension QassimFarid.ejs-language-support | |
code --install-extension SirTori.indenticator | |
code --install-extension TimonVS.ReactSnippetsStandard | |
code --install-extension TwentyChung.jsx | |
code --install-extension abusaidm.html-snippets | |
code --install-extension asvetliakov.move-imports | |
code --install-extension aws-scripting-guy.cform | |
code --install-extension bierner.markdown-preview-github-styles | |
code --install-extension ccitiriga.TSMethodCreator | |
code --install-extension christian-kohler.npm-intellisense |
Thanks to the original blog post: https://equimper.com/blog/how-to-setup-tailwindcss-in-phoenix-1.4
cd assets
npm i --save-dev tailwindcss postcss-loader postcss-import
Here I wanted to share my own configuration of Visual Studio Code that I currently use when programming in Elixir. The section about Tasks and Shortcut is taken from this post: Running Elixir Tests in Visual Studio Code/ElixirLS.
#!/bin/bash | |
# export DBUS_SESSION_BUS_ADDRESS environment variable because cron hates me | |
PID=$(pgrep -u USER gnome-session-b) | |
export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ|cut -d= -f2-) | |
/usr/bin/gsettings set org.gnome.shell.extensions.user-theme name 'Flat-Plat' | |
/usr/bin/gsettings set org.gnome.desktop.interface gtk-theme 'Flat-Plat' | |
/usr/bin/gsettings set org.gnome.desktop.background picture-uri 'file://WALLPAPER-PATH' | |
/usr/bin/gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected] set org.zzrough.gs-extensions.drop-down-terminal background-color 'rgb(69,90,100)' |
Setup your user environment just the way you want with Nix.
Add packageOverrides
to the attrset returned by your ${HOME}/.nixpkgs/config.nix
(see my example above).
Then with one command you can setup your whole environment: nix-env -i desktop-mbbx6spp
.
Then all you need is a simple ~/.bash_profile
script like so:
A curated list by Eric Elliott and friends. Suggest links in the comments below.
This is a very exclusive collection of only must-have JavaScript links. I'm only listing my favorite links. Nothing else makes the cut. Feel free to suggest links if you think they're good enough to make this list. The really curious should feel free to browse the comments to find other links. I can't guarantee the quality of links in the comments.
Some of these links are affiliate links, meaning that if you make a purchase, I might earn a little money. This has absolutely no bearing on whether or not links make the list. None, whatsoever. However, it does allow me more resources to fight poverty with code. Every little bit counts.
Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.
The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows
the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir
and you are good to go.
Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to
a specific version, you will need to compile it yourself. Then asdf
is your best friend.
<?php | |
/* | |
* RandomChunk | |
* Salvatore Sodano | |
* http://salscode.com | |
* Revolution Version 2013, Jay Gilmore aka smashingred | |
* [[!RandomChunk? &chunks=`chunk1, chunk2`]] | |
* Randomly generates a chunk from a comma separated list of chunks. | |
* | |
*/ |