(If you have setup another prefix)
rm -rf .npm-global
sudo rm -rf /usr/local/lib/node_modules
sudo rm -rf ~/.npm
brew uninstall node --ignore-dependencies node
rm -rf /usr/local/lib/node_modules
#!/bin/bash | |
# --------------------------------------------------------------------------- | |
# start configuration | |
# --------------------------------------------------------------------------- | |
project=typo3-aimeos-dev | |
projectFolder=${project} | |
githubOrg=yourorg | |
typo3Version=9.5 | |
packages='aimeos-core ai-controller-frontend ai-client-jsonapi ai-controller-jobs ai-client-html ai-admin-jsonadm ai-admin-jqadm ai-typo3 ai-gettext aimeos-typo3' |
import 'dart:async'; | |
import 'dart:math'; | |
import 'dart:typed_data'; | |
import 'dart:ui' as ui; | |
import 'package:flutter/services.dart' show rootBundle; | |
import 'package:flutter/material.dart' hide Image; | |
void main() => runApp(new MyApp()); | |
body { | |
font-family: tahoma; | |
color:#282828; | |
margin: 0px; | |
} | |
.nav-bar { | |
background: linear-gradient(-90deg, #84CF6A, #16C0B0); | |
height: 60px; | |
margin-bottom: 15px; |
function slugify(text) { | |
return text.toString().toLowerCase().trim() | |
.normalize('NFD') // separate accent from letter | |
.replace(/[\u0300-\u036f]/g, '') // remove all separated accents | |
.replace(/\s+/g, '-') // replace spaces with - | |
.replace(/&/g, '-and-') // replace & with 'and' | |
.replace(/[^\w\-]+/g, '') // remove all non-word chars | |
.replace(/--+/g, '-') // replace multiple '-' with single '-' | |
} |
# vim:ft=zsh ts=2 sw=2 sts=2 et fenc=utf-8 | |
################################################################ | |
# powerlevel9k Theme | |
# https://github.com/bhilburn/powerlevel9k | |
# | |
# This theme was inspired by agnoster's Theme: | |
# https://gist.github.com/3712874 | |
################################################################ | |
################################################################ |
<?php | |
/* | |
* Demonstrates how to configure `namelesscoder/typo3-cms-multilevel-cache` for | |
* added L1 (runtime) and L2 (memcached) caches on existing database-backed caches. | |
* | |
* Tip: if your site changes frequently, consider assigning a low expiration time | |
* on the "default_memcached" cache configuration. | |
*/ |
This mini-article describes the methods of dependency injection, what each method implies in terms of both performance and simplicity.
This method is half manual and quite well known. Declare your classes' dependencies as constructor and pass the dependencies when you construct your instances. This approach completely skips the automation around detection of injections - but performs the best of all methods.
open http://www.google.com/?q=$(sysctl -n machdep.cpu.brand_string | awk '{FS=" " ; print $2 "+" $3 "+" $4}')+site:ark.intel.com | |
or, on a Linux machine | |
xdg-open http://www.google.com/?q=$(fgrep 'model name' /proc/cpuinfo | head -n 1 | awk '{FS=" " ; print $5 "+" $6}')+site:ark.intel.com |