-
Inject profiling code
At the beginning of your .zshrc add following:
zmodload zsh/zprofand at the end add:
zprofThis will load zprof mod and display what your shell was doing durung your initialization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -i inputfile.wav -ab 320k outputfile.mp3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ## THIS IS THE OLD WAY | |
| ## Nowadays, simply follow the Compose installation instructions in the official documentation: | |
| ## https://docs.docker.com/compose/install/ | |
| # get latest docker compose released tag | |
| COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "require": { | |
| "typo3-console/composer-auto-setup": "^0.1", | |
| "georgringer/news": "^6.1", | |
| "helhum/typo3-secure-web": "^0.2.5", | |
| "typo3/cms-introduction": "^3.0" | |
| }, | |
| "extra": { | |
| "typo3/cms": { | |
| "cms-package-dir": "{$vendor-dir}/typo3/cms", |
The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| set_time_limit(0); | |
| $db = new PDO( | |
| 'pgsql:dbname=dbname host=host port=5432;options=--application_name=APPLICATION_NAME', | |
| 'user', | |
| 'password', | |
| [ | |
| PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, | |
| PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #-------------------------------------------------------------------------- | |
| # Configuration | |
| #-------------------------------------------------------------------------- | |
| # Use Vi mode | |
| setw -g mode-keys vi | |
| # Increase scrollback buffer size | |
| set -g history-limit 10000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| font-family = BerkeleyMono Nerd Font | |
| #font-family = Iosevka Nerd Font | |
| # font-family = SFMono Nerd Font | |
| font-size = 20 | |
| theme = GruvboxDarkHard | |
| shell-integration-features = no-cursor,sudo,no-title | |
| cursor-style = block | |
| adjust-cell-height = 35% | |
| # background-opacity = 0.96 |
OlderNewer