sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
import React, { Component } from 'react'; | |
import { WebView, BackHandler } from 'react-native'; | |
export default class WebViewMoviezSpace extends Component { | |
constructor(props) { | |
super(props); | |
this.WEBVIEW_REF = React.createRef(); | |
} | |
componentDidMount() { |
<?php | |
/* CHECK IF A $STRING IS INT. */ | |
function isNumeric($string){ | |
if (!filter_var($string, FILTER_VALIDATE_INT)) | |
return false; | |
else | |
return true; | |
} |
O cabeçalho de resposta HTTP Content-Security-Policy
permite aos administradores de sites controlar os recursos que o navegador ou agente de usuário (user agent
) pode carregar em uma determinada página. Com algumas exceções, as políticas envolvem principalmente especificar as origens do servidor e os endpoints
de script. Isso ajuda a proteger contra ataques de XSS.
O cabeçalho de respsota HTTP X-Content-Security-Policy
é requerido para implementar o CSP no Internet Explorer 10 e 11.
O cabeçalho de resposta HTTTP X-Webkit-CSP
é requerido para implementar o CSP em versões mais antigas do Google Chrome, Safari e outros navegadores baseados na engine WebKit.
Para navegadores modernos, o cabeçalho Content-Security-Policy
deve ser usado.
Service | SSL | status | Response Type | Allowed methods | Allowed headers |
---|
#/etc/init.d/vboxdrv setup Not Found - VirtualBox Fix!
When setting up Virtual Box I was faced with the immortal error telling me to run sudo /etc/init.d/vboxdrv setup
. Simple enough, until you're told it doesn't exist.
Thus began my fight to get it working. The fix is here in the hope that it helps someone else.
To follow this guide you need to have a basic understanding of shell commands. If you don't, then just be careful.
First off I like aptitute so let's install it.