Skip to content

Instantly share code, notes, and snippets.

View ramonsenadev's full-sized avatar
🏠
Working from home

Ramon Sena ramonsenadev

🏠
Working from home
View GitHub Profile
@ramonsenadev
ramonsenadev / Status Bar Dark Content Not Working On iOS 13 Dark Mode
Last active April 7, 2020 18:08
Status Bar Dark Content Not Working On iOS 13 Dark Mode
> I solved the problem.
>
> Apple has added a new constant to the status bar with the latest update, so dark-content doesn't work. (in dark-mode)
>
> https://developer.apple.com/documentation/uikit/uistatusbarstyle?language=objc
>
> New Constant: UIStatusBarStyleDarkContent - A dark status bar, intended for use on light backgrounds.
>
> * Open XCode
> * Search: RCTStatusBarManager.m
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
email: contato@potelo.com.br
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: letsencrypt-prod
@ramonsenadev
ramonsenadev / Using apache as a reverse proxy with Nuxt.md
Last active August 9, 2022 17:44
Using apache as a reverse proxy with Nuxt

Apache Config

  1. Enable the following modules (Remove the # on beginning of the line) in xampp/apache/conf/httpd.conf
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
  1. Copy and paste the bellow code, and edit the lines with "[EDIT]" xampp/apache/conf/extra/httpd-vhosts.conf