|
1 2 |
docker stop $(docker ps -a -q) docker rm $(docker ps -a -q) |
Category: Allgemein
Angular CLI Bootstrap 3 sass jquery and js how to
/usr/local/sbin/bs3ng
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#!/bin/bash if [ -z "$1" ] then echo "usage: $0 <projectname>" exit 1 fi ng new $1 --style=scss cd $1 npm install jquery bootstrap-sass --save cat > src/_variables.scss <<EOF \$icon-font-path: '../node_modules/bootstrap-sass/assets/fonts/bootstrap/'; EOF cat > src/styles.scss <<EOF @import 'variables'; @import '../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap'; EOF sed -i 's~"scripts": \[\],~"scripts": \[\n\t"../node_modules/jquery/dist/jquery.slim.js",\n\t"../node_modules/bootstrap-sass/assets/javascripts/bootstrap.js"\n\t],~' .angular-cli.json ng serve -o exit 0 |
Vorsicht vor Telekom Kabel über z.B. Flüwo oder andere Mietgenossenschaften
Es begab sich das ich Unitymedia Kunde war. Zufrieden, denn die Hindernisse, welche die in den Weg stellten (DNS Umschreiben, DS-Lite) waren mit etwas Aufwand zu regeln. Vor einiger Zeit meine die Wohnungswirtschaft, die das Haus gekauft hatte, die Flüwo, den Kabelanschluss von Unitymedia auf Telekom umzustellen. Naja gut, mit der Telekom hatte ich in…
Read Articlecertbot renew and https redirect
Ok you have a site and you’d like to redirect http to https, but you’d also like to use `certbot renew` to update certificates.
Here is how it’s done.
CentOS7 Xen grub2 can’t find command multiboot – solution
Ok so you have a fresh installation of CentOS7 were following the CentOS Xen quick start and you have an EFI BIOS and you’re unable to boot the Xen kernel. This is how it’s fixed: You boot from any other kernel and login, etc..
|
1 |
cp -a /usr/lib/grub/x86_64-efi /boot/efi/EFI/centos/ |
Then edit /boot/efi/EFI/centos/grub.cfg (with nano, vi, vim or whatever) Right…
Read Article