Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
elixir-toolkit-theme
Advanced tools
The ELIXIR toolkit theme is a Jekyll theme designed to support easy deployment of documentation websites but also more complex ones that require a central tool table and linking towards ELIXIR resources.
Its key features:
The quickest way to use the elixir-toolkit-theme is setting it as a remote theme in your config.yml
file:
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme
You can lock it onto a specific version using:
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@3.0.1
Alternatively you can use the Ruby Gem of the theme (needed when using GitLab) by adding this line to your Jekyll site's Gemfile:
gem "elixir-toolkit-theme"
You can lock it onto a specific version like this:
gem "elixir-toolkit-theme", "~> 3.0.1"
And add this line to your Jekyll site's _config.yml
:
theme: elixir-toolkit-theme
This is the quickest way to deploy the elixir-toolkit-theme, but gives less flexibility and does not allow you to make use of the new way of tagging tools. Visit the GitHub documentation to find out more about how to setup GitHub pages.
NOTE: This way of deploying does not support the tool-tag in the text of the markdown file to tag tools and resources.
Add an extra .gitlab-ci.yml
file in the root of the repo with:
image: ruby:2.7
variables:
JEKYLL_ENV: production
before_script:
- bundle install
pages:
stage: deploy
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master
If not already present on your machine, install ruby.
Install Jekyll
If you have never installed or run a Jekyll site locally on your computer, follow these instructions to install Jekyll: https://jekyllrb.com/docs/installation/
gem install jekyll
Install dependencies
bundle install
Deploy website locally in development mode:
bundle exec jekyll serve
If you want to deploy the website locally in production mode, do:
JEKYLL_ENV=production PAGES_REPO_NWO='USER_OR_ORGANISATION/REPO_NAME' bundle exec jekyll serve --baseurl ""
To preview your site, in your web browser, navigate to http://localhost:4000
.
Additional information can be found at the following link: https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll
If not already installed on your machine, install Docker. From the root of the elixir-toolkit-theme
directory, run:
docker run -it --rm -p [::1]:4000:4000 -v $PWD:/srv/jekyll jekyll/jekyll:latest /bin/bash -c "chmod a+w /srv/jekyll/Gemfile.lock && chmod 777 /srv/jekyll && bundle install && bundle exec jekyll serve --host 0.0.0.0"
This will start the docker container and serve the website locally. Make sure the .\_site
is not yet created to avoid permission errors.
This theme would not be possible without following open source projects:
If you like our work, you can add following badge to the readme of your project:
[![theme badge](https://img.shields.io/badge/ELIXIR%20toolkit%20theme-jekyll-blue?color=0d6efd)](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme)
The theme is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that elixir-toolkit-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.