O roteador Askey RTF3507VW-N1 fornecido pela Vivo tem vários problemas:
- Existe um cache interno de DNS (usando o
dnsmasq?) bugado: ao fazer a mesma requisição DNS duas vezes seguidas, a primeira resposta vem correta, porém na seguinte temos:
O roteador Askey RTF3507VW-N1 fornecido pela Vivo tem vários problemas:
dnsmasq?) bugado:
ao fazer a mesma requisição DNS duas vezes seguidas, a primeira resposta
vem correta, porém na seguinte temos:
Ubuntu 20.04 no longer supports gcc-5 and libssl1.0-dev, if you try to install ruby versions prior to 2.4 you will find compilation problems as it depends on gcc5 and openssl-1.0.
Add to your /etc/apt/sources.list file
deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
deb http://security.ubuntu.com/ubuntu bionic-security main
sudo pacman -Syu zsh
You do not need to install manjaro-zsh-config and all the other related packages like zsh-syntax-highlighting, zsh-history-substring-search, zsh-autosuggestions, etc., as we will use Oh My Zsh.
| [[source]] | |
| url = "https://pypi.python.org/simple" | |
| verify_ssl = true | |
| name = "pypi" | |
| [packages] | |
| flask = "*" | |
| sqlalchemy = "*" | |
| [dev-packages] |
| ### | |
| # A series of customizations to make tmux a bit more managable | |
| # | |
| # Remap prefix from Ctrl+B to Ctrl+A | |
| unbind C-b | |
| set-option -g prefix C-a | |
| bind-key C-a send-prefix |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
Sometimes you need to iterate over a ton of items and you don't want the overhead of creating AR objects out of all of them. Hell, you only need a few things! Well, #pluck has your back.
But what if you want to iterate over many tonnes of items?
Pluck in batches to the rescue!
This isn't the exact code that I use in my code base, but it is damn close.
| from flask import Flask | |
| from flask.ext.sqlalchemy import SQLAlchemy | |
| from flask.ext import admin, wtf | |
| from flask.ext.admin.contrib import sqlamodel | |
| app = Flask(__name__) | |
| app.config['SECRET_KEY'] = '123456790' | |
| app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.sqlite' | |
| db = SQLAlchemy(app) |
After working through exercises for learning Ruby as part of preparation for the upcoming Dev Bootcamp (note: no longer exists), we had a friendly discussion about the exercise to implement a Reverse Polish notation calculator. At the end of discussion, one of the staff members, Jesse, posted his solution to students.
The solution is well-designed, clean, and easy to read. However, one line of code caught my eye:
tokenize(array).inject([]) do |stack, token|
<...>
end.pop