This file contains 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
HP: Homepage | |
FH: Flathub | |
- vscode (HP) | |
- slack (HP) | |
- zoom (HP) | |
- libre office (FH) | |
- evolition (FH) | |
- gitg (FH) | |
- Flameshot (GitHub) |
This file contains 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
import {MatPaginatorIntl} from '@angular/material'; | |
export class MatPaginatorIntlDe extends MatPaginatorIntl { | |
firstPageLabel = 'Erste Seite'; | |
lastPageLabel = 'Letzte Seite'; | |
itemsPerPageLabel = 'Einträge pro Seite'; | |
nextPageLabel = 'Nächste Seite'; | |
previousPageLabel = 'Vorherige Seite'; | |
getRangeLabel = function (page, pageSize, length) { | |
if (length === 0 || pageSize === 0) { |
This file contains 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
(function() { | |
$().ready(function() { | |
var adminUrl = $('body').data('route-admin'); | |
window.initWYSIWYG = function(mediaContent) { | |
tinymce.init({ | |
selector: '.wysiwyg', | |
height: 500, |
This file contains 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
# Formatting constants | |
export BOLD=`tput bold` | |
export UNDERLINE_ON=`tput smul` | |
export UNDERLINE_OFF=`tput rmul` | |
export TEXT_BLACK=`tput setaf 0` | |
export TEXT_RED=`tput setaf 1` | |
export TEXT_GREEN=`tput setaf 2` | |
export TEXT_YELLOW=`tput setaf 3` | |
export TEXT_BLUE=`tput setaf 4` | |
export TEXT_MAGENTA=`tput setaf 5` |
This file contains 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
wget http://allswalls.com/images/nicolas-cage-wallpaper-1.jpg && gsettings set org.gnome.desktop.background picture-uri $(echo file:///$(pwd)/nicolas-cage-wallpaper-1.jpg) |
This file contains 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
// <video controls preload="auto" class="video-js myPlayer"> | |
// <source src="bla.flv" type='video/x-flv'> | |
// </video> | |
var Tech = videojs.getTech('Html5'); | |
FlashTech.prototype = Object.create(Tech.prototype); | |
function FlashTech(options) { | |
Tech.call(this, options); |
This file contains 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
// export | |
x = []; $('.inputHost:checked').each(function(a,b) {x.push(b.value)}); console.log(x) | |
// import | |
x="Ausgabe von Export";x.forEach(function(a) { document.querySelector('.inputHost[value="'+a+'"]').checked = true }) |
This file contains 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
# apache | |
sudo apt-get install apache2 apache2-doc | |
# header module | |
sudo a2enmod headers | |
# rewrite module | |
sudo a2enmod rewrite | |
# php | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php7.0 php5.6 php5.6-mysql php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0 |
This file contains 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
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' |
This file contains 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
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> | |
<style> | |
.my-social a { | |
color: #363636 !important; | |
margin-right: 5px; | |
} | |
</style> | |
<div class="my-social"> |
NewerOlder