Skip to content

Instantly share code, notes, and snippets.

View citricacid-pl's full-sized avatar

Piotr Adamowicz citricacid-pl

View GitHub Profile

Installation from scratch

Install Vue CLI

npm install -g @vue/cli

Create project

@citricacid-pl
citricacid-pl / resize-images.sh
Created August 30, 2018 11:02
Resize images only in current dir
find . -maxdepth 1 -iname "*.png" -exec convert \{} -verbose -resize 154x100\> \{} \;
@citricacid-pl
citricacid-pl / Semantic-ui-less nuxtjs configuration.md
Last active May 7, 2020 15:28
How to make semantic-ui-less work with Nuxt.js

Installation

First of all we need to install Nuxt.js

vue init nuxt-community/starter-template <project-name>

Then we have to follow instructions. Finally we need to install some additional packages:

@citricacid-pl
citricacid-pl / ubuntu-post-install.sh
Last active August 16, 2018 11:30
Run some installations after clean Ubuntu setup
#!/bin/bash
# Just some settings
bold=`tput bold`
green=`tput setaf 2`
normal=`tput sgr0`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
function msg() {
echo -e "${bold}${green}$1${normal}" >&2
@citricacid-pl
citricacid-pl / ubuntu-deepin.sh
Last active April 4, 2018 07:40
How to install Deepin Desktop Environement in Ubuntu
#!/bin/bash
# Install Ubuntu from mini.iso then run following
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:leaeasy/dde
sudo apt-get update
sudo apt-get install dde dde-file-manager -y
# to verify:
# Following would safe-delete local branches that are already merged to remote repository except branches matching regex
# In this case branches with names containing PROT-2100 or master will stay intact.
git branch -d `git branch --merged |grep -v -E "(PROT-2100)|(master)"`
@citricacid-pl
citricacid-pl / gitignore
Last active January 17, 2017 20:08
Global gitignore file
/.idea
*~
.DS_Store
node_modules
*.egg-info
*.pyc
*.pyo
#!/bin/bash
# Install virtualenvwrapper and packages needed to run DjangoCMS
sudo apt-get install -y build-essential python-pip python-dev libjpeg8-dev zlib1g-dev libtiff4-dev libfreetype6-dev
sudo pip install --upgrade virtualenv
sudo pip install virtualenvwrapper
mkdir ~/.virtualenvs
export WORKON_HOME=~/.virtualenvs
@citricacid-pl
citricacid-pl / install-node.sh
Last active August 13, 2018 21:21
Installs node.js on Ubuntu
#!/bin/sh
# Just some settings
bold=`tput bold`
green=`tput setaf 2`
normal=`tput sgr0`
# Install prerequisites
echo "${bold}Install prerequisites${normal}"
sudo apt-get install -y build-essential curl