Atue como um professor e aperfeiçoador de inglês falado. Falarei com você em inglês e você me responderá em inglês para praticar o meu inglês falado. Traduza suas respostas para o português apenas se eu pedir.
Eu quero que você:
Mantenha sua resposta organizada, limitando a resposta a 100 palavras.
Aponte e corrija todos os erros de conjugação, ortografia, gramática e outros que eu cometer, isso é o mais importante.
Faça-me uma pergunta na sua resposta.
Suas perguntas devem sempre ser em inglês e você deve usar o português apenas para explicar meus erros.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find UDID from Apple Device | |
# Date: 27/05/2024 | |
# Source: https://joe-bologna.medium.com/obtain-ios-udid-using-usb-and-windows-powershell-a9648fc9b425 | |
if ($args.Count -ge 1) { | |
$appledevice = $args[0] | |
} else { | |
$appledevice = "Apple Mobile" | |
} | |
$devicedata = (Get-WmiObject -Class Win32_PnpEntity -Namespace "root\CIMV2" -Filter "Name like '$appledevice%'") | |
if ($devicedata.PNPDeviceID.Length -gt 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FOR %%i IN (*.*) DO "C:\Program Files\7-Zip\7z.exe" a "%%~ni.7z" "%%i" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro | |
# | |
WP_OWNER=changeme # <-- wordpress owner | |
WP_GROUP=changeme # <-- wordpress group | |
WP_ROOT=/home/changeme # <-- wordpress root directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://code.visualstudio.com/docs/cpp/config-wsl | |
# https://code.visualstudio.com/docs/cpp/config-linux | |
sudo apt-get install build-essential gdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------------------------------------------------------- | |
PROCEDIMENTOS PARA INSTALAÇÃO Giesecke & Devrient GmbH StarSign CUT S | |
Autor: Alex Ishida <[email protected]> | |
Data: 27/10/2023 | |
Versão: 1.0.0.0 | |
----------------------------------------------------------------------------------------------------------------------------- | |
PASSO 1, instale alguns pacotes disponíveis no repositório oficial do Ubuntu. | |
----------------------------------------------------------------------------------------------------------------------------- | |
sudo apt update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My headset microphone was not detected by PulseAudio and the problem is that my headphones don't have HSP profile, | |
only HFP profile. After trying for 2 days, I came to the solution of replacing PulseAudio with Pipewire sound server, which supports HSP, HFP and A2DP by itself. | |
So there will be no need to install any other utility like ofono, phonesim. Also, to be noted that my problem wasn't | |
resolved even after following all the steps to configure ofono in PulseAudio. | |
So I came up with the steps to replace PulseAudio with PipeWire. | |
Here is the detailed article I have written to resolve this problem, the steps of which I'm also adding here. You can follow it and most probably be able to solve your problem. | |
Bluetooth headset microphone not detected | |
Open your terminal and follow these steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get autoremove -y | |
reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env :PATH, "/opt/oracle/instantclient_12_2:#{ENV['PATH']}" | |
env :LD_LIBRARY_PATH, '/opt/oracle/instantclient_12_2' | |
env :GEM_PATH, ENV['GEM_PATH'] | |
ENV.each { |k, v| env(k, v) } | |
env :RAILS_ENV, ENV['RAILS_ENV'] | |
# env :PATH, ENV['PATH'] | |
set :output, error: 'log/whenever_error.log', standard: 'log/whenever.log' | |
every '20 10 2 * *' do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## rjb - Ruby Java Bridge - Loading multiple .jar files, for example, Boilerpipe and Stanford parts of speech tagger | |
## Works in Ruby 1.9.3 and Nginx with Unicorn. Doesn't work in Phusion Passenger. In unicorn, preload_app has to be false (default) | |
## 'java' folder is in the root rails folder. | |
## http://rjb.rubyforge.org/ | |
## For Stanford PoS tagger: ../java/ folder contains: stanford-postagger.jar, left3words-wsj-0-18.tagger | |
## http://nlp.stanford.edu/software/tagger.shtml | |
## For Boilerpipe, ../java/ folder contains: boilerpipe-1.2.0.jar, nekohtml-1.9.13.jar, xerces-2.9.1.jar |