KOLLA IP INFO:
ifconfig # sladd
iwconfig # wifi
SÖK FIL:
// an example to create a new mapping `ctrl-y` | |
mapkey('<Ctrl-y>', 'Show me the money', function() { | |
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).'); | |
}); | |
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works. | |
//map('gt', 'T'); | |
// an example to remove mapkey `Ctrl-i` | |
unmap('<Ctrl-i>'); |
let configpath = '/home/knubbe/.cvimrc' | |
set localconfig " Update settings via a local file (and the `:source` command) rather | |
" than the default options page in chrome | |
" As long as localconfig is set in the .cvimrc file. cVim will continue to read | |
" settings from there |
javascript: var x, xLen, log=[],total=0;for (x in localStorage){if (typeof localStorage[x] === 'function' || x === 'length') {continue;} xLen = ((localStorage[x].length * 2 + x.length * 2)/1024); log.push(x.substr(0,30) + " = " + xLen.toFixed(2) + " KB"); total+= xLen}; if (total > 1024){log.unshift("Total = " + (total/1024).toFixed(2)+ " MB");}else{log.unshift("Total = " + total.toFixed(2)+ " KB");}; alert(log.join("\n")); |
.tooltip-wrapper { | |
position: absolute; | |
top: 0; | |
left: 0; | |
opacity: 0; | |
border-radius: 3px; | |
box-shadow: 0 2px 10px rgba(0, 0, 0, .15); | |
transition: transform 0s, opacity .2s ease-in-out; | |
z-index: 99; |
<FilesMatch \.php$> | |
# 2.4.10+ can proxy to unix socket | |
SetHandler "proxy:unix:/var/run/php/php7.1-fpm.sock|fcgi://localhost/" | |
# Else we can just use a tcp socket: | |
#SetHandler "proxy:fcgi://127.0.0.1:9000" | |
</FilesMatch> |
/** | |
* http://ratiobuddy.com/ | |
*/ | |
%aspect-ratio-box { | |
position: relative; | |
overflow: hidden; | |
&:before { | |
display: block; | |
content: ''; |
Vue.component('animated-number', { | |
name: 'animated-number', | |
template: '<span :class="[classes]">{{ displayNumber }}</span>', | |
props: { | |
number: { | |
type: Number, | |
default: 0 | |
}, | |
speed: { | |
type: Number, |
#!/bin/bash | |
sudo adduser $USER www-data | |
sudo chown -R www-data:www-data /home/$USER/www | |
sudo chmod -R 775 /home/$USER/www |