Skip to content

Instantly share code, notes, and snippets.

View 4aficiona2's full-sized avatar
🖤

Michael Zumstein 4aficiona2

🖤
View GitHub Profile
@4aficiona2
4aficiona2 / package.json
Last active July 2, 2021 13:30
Review NordHealth's design token architecture
{
"name": "lyne-experiments",
"version": "0.0.1",
"description": "Lyne Design System",
"devDependencies": {
"@knapsack/design-token-utils": "latest",
"@netlify/netlify-design-tokens": "latest",
"@nordhealth/components": "latest",
"@nordhealth/fonts": "latest",
"@nordhealth/themes": "latest",

Brainstorming

Tools to capture, visualize, develop, organize and document ideas / processes

Evaluated tools

Tool Webbased Free Confluence Jira Brainstorming Flow Chart Collaboration Markdown Export Cool and fun to use Comments
MindNode X X X
// list all sym linked npm modules
npm ls -g --depth=0 --link=true
@4aficiona2
4aficiona2 / .laptop.local--post
Last active June 3, 2019 11:30
needs to be manually applied, hasn't worked to be applied in .laptop.local script
#!/bin/sh
#add_or_update_asdf_plugin "elixir" "https://github.com/asdf-vm/asdf-elixir.git"
#add_or_update_asdf_plugin "elm" "https://github.com/vic/asdf-elm.git"
# PHP asdf version seems to be shaky or only partially support, double check first before installing it
#add_or_update_asdf_plugin "php" "https://github.com/odarriba/asdf-php.git"
# Install oh-my-zsh for zsh @see https://gist.github.com/kevin-smets/8568070#oh-my-zsh
fancy_echo "Install oh-my-zsh ..."
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
@4aficiona2
4aficiona2 / .laptop.local
Last active November 22, 2021 18:55
Custom brew configuration besides Thoughtbots brew setup
#!/bin/sh
fancy_echo "Install and prepare Mac App Store command line interface"
brew install mas
#mas signin --dialog [email protected] #signin does not anymore work since OSX 10.13, signin to App Store manually / through GUI before executing the script
fancy_echo "Installing apps ..."
brew update --force # https://github.com/Homebrew/brew/issues/1151
brew bundle --file=- <<EOF
$mq-mobile-portrait : 400px !default;
$mq-mobile-narrow : 580px !default;
$mq-mobile : 750px !default;
$mq-tablet-portrait : 1000px !default;
$mq-tablet : 1200px !default;
$mq-desktop : 1382px !default;
$mq-desktop-wide : 1920px !default;
$mq-desktop-wider : 2560px !default;
$base-font__size--min : 12px;
@4aficiona2
4aficiona2 / dos2unix.txt
Last active December 5, 2016 03:42
Get rid of "fatal: CRLF would be replaced by LF in [file]"
// single file
dos2unix -f FILENAME
// change line endings on files recursively
find /core/sites/all/modules -type f -exec dos2unix {} +
thx https://coderwall.com/p/lc8rkg/get-rid-of-fatal-crlf-would-be-replaced-by-lf-in-file
@4aficiona2
4aficiona2 / TeaserboxRandomImage.php
Last active April 12, 2017 12:48
Random Teaser Image Field for Drupal 8 (valid for content type teaserbox in viewmode teaser)
<?php
namespace Drupal\yokai_helper\Plugin\DsField;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Component\Utility\Html;
use Drupal\Core\Url;
use Drupal\ds\Plugin\DsField\DsFieldBase;
// more details here: