Install iTerm 2
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
$message = \Swift_Message::newInstance() | |
->setSubject('Hello Email') | |
->setFrom('send@example.com') | |
->setTo('recipient@example.com') | |
->setBody('You should see me from the profiler!') | |
; | |
$this->get('mailer')->send($message); |
DEVICE = atmega328p | |
CLOCK = 16000000 | |
PROGRAMMER = -c arduino -P /dev/ttyUSB0 -b57600 | |
AVRDUDE = avrdude $(PROGRAMMER) -p $(DEVICE) | |
SOURCES = $(shell find . -name '*.c') | |
OBJECTS = $(SOURCES:.c=.o) | |
# Automatic dependency resolution |
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
Making multiple MySQL versions work with Homebrew was tricky to say the least. Fortunately there are 2 new easy ways that I learned of to achieve this.
As @4unkur and @henrytirla commented below, there is this extremely easy to use app called DBngin, which lets you setup multiple databases (not only MySQL) simultaneously using different ports:
hass:account | |
hass:alert | |
hass:alert-circle | |
hass:altimeter | |
hass:apple-safari | |
hass:apps | |
hass:arrow-bottom-left | |
hass:arrow-down | |
hass:arrow-left | |
hass:arrow-right |
Magento 2 Debugging Tricks - MySQL Query, fetchAll, fetchRow, Data Hydrate & PHP xDebug by Matheus Gontijo | |
Video: https://www.youtube.com/watch?v=xLf3OwpAFhQ | |
----------------------------------------------- | |
1) Track MySQL queries | |
vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php::query | |
vendor/magento/zendframework1/library/Zend/Db/Select.php |
// setup i2c master | |
static esp_err_t i2c_master_init() | |
{ | |
i2c_config_t conf; | |
conf.mode = I2C_MODE_MASTER; | |
conf.sda_io_num = I2C_SDA_PIN; | |
conf.scl_io_num = I2C_SCL_PIN; | |
conf.sda_pullup_en = GPIO_PULLUP_ENABLE; | |
conf.scl_pullup_en = GPIO_PULLUP_ENABLE; | |
conf.master.clk_speed = I2C_MASTER_FREQ_HZ; |
According to Apple, the only way to remove an unknown firmware password from a MacBook (2011 and later) is to take it to the Apple Store with the original proof-of-purchase. However, I've found that there is another way, which I've been successful with for the unibody MacBook Pro--it's essentially just modifying a couple bytes in the EFI ROM, which should be simple. What's not simple, however, is figuring out how to read and write to the EFI chip. In this post, I'll talk about the process that I figured out and what worked for me.
Apple's method of resetting the firmware password is not reproducible, as Apple generates an SCBO file that unlocks the EFI using their private key. You can read more about this process here. The problem with this system is that, if you are in the unfortunate situation of neither having the firmware unlock pass
version: "3.6" | |
services: | |
gitlab: | |
image: gitlab/gitlab-ce | |
volumes: | |
- gitlab-data:/var/opt/gitlab | |
- gitlab-logs:/var/log/gitlab | |
- gitlab-config:/etc/gitlab | |
networks: | |
- traefik-public |