Apply This flex layout style
table {
width: 100%;
}
tr{
display: flex;
flex-direction: row;
justify-content: space-evenly;
text-align: center;
}
This is to do with the way Csharp handles reference types when passed through a function interface - this article will hopefully explain it : https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters
The relevant part is :
For reference (class
) types, a copy of the reference is passed to the method. Parameter modifiers enable you to pass arguments by reference.
So a copy of the reference is given to the list. If you don't reassign point, both copies of the reference are aligned and pointing to the same object. When you reassign point, the reference of the resassigned one changes, but the copy (within the list) doesn't, hence it not reflecting the change.
Did you get a solution? I am facing the same issue right now?
I am upgrading the spring cloud version to 2024.0.1 and spring boot version to 3.4.5.
i was able to configure **earlier **the SSL certificate and all by below code works
@FeignClient(name = "feign1", url = "//", configuration = A.class)
public interface AddressClient {
@GetMapping("/address/{id}")
public ResponseEntity<AddressResponse> getAddressByEmployeeId(@PathVariable("id") int id);
}
}
@Configuration
public Class A
{
@Bean
public Client feignClient() throws Exception {
log.info("Configuring SSL Context for Feign Client");
return new Client.Default(createSSLContext(), SSLConnectionSocketFactory.getDefaultHostnameVerifier());
}
but now its started giving error as Failed to instantiate [feign.Client]
i am not getting it what changes has been made. so i remove @Configuration from Class A so no issue aise
So if i want the @Configuration annotation what additional dependency/code need to write. please assist.
Web for more details: https://instrid.sk/
Article: https://instrid.sk/vino/
At the end I found the error, the component was inherited from page not from ContentView.
RFC 2045 says a message body can have one Content-Type per entity, i.e. except multipart or types like `image/svg+xml`.
ich habe seit gestern den selben Fehler gehabt. Ich habe mit ChatGPT herausgefunden, dass das Skript welches ich lade ein anderes venv verwendet als ich dachte. ChatGPT konnte mit dem Inhalt des Skripts welches den Fehler schmeißt herausfinden in welches venv die Pakete installiert werden mussten und jetzt habe ich den Fehler nicht mehr. In meinem individuellen Problem war es der:
'./installer_files/env/bin/pip install python-docx' Befehl, der es am Ende richtig installiert hat.
Purpose: Designed for simple, throttled console output, especially to avoid log loss on Android when printing many lines quickly.
Best Use: Quick debugging messages, especially when output volume is high.
Limitations: No log levels, categories, or structured data. Not ideal for advanced logging needs.
Purpose: Advanced logging with support for log levels, categories, and structured data.
Best Use: When you need to:
Limitations: No output throttling, so very frequent logs could be dropped by the system on some platforms.
Learn from:Generate Function with Vector Input Arguments
X = sym('X', [3, 3])
F=det(X)+X(1,1)
func = matlabFunction(F,"Vars",{X})
func(rand(3))
To debug the application we need argument values and we can set the values to arguments directly in debug screen.
Then by debugging you can check if the correct values, formats etc handled.
I experienced the same issue running Arch Linux, turned out that this is caused by nvidia-container-toolkit 1.17.7-1. Downgrading to libnvidia-container-1.17.6-1 and nvidia-container-toolkit-1.17.6-1 solved the issue. See also this issue on Github: link
The way i downgraded these packages was by using the downgrade package (yay -S downgrade): sudo downgrade nvidia-container-toolkit libnvidia-container.
You can also use String(describing: )
For instance:
This:
Self.logger.debug("*** Chat Message Sent ***\n\n\(chatMessage)\n")`
Becomes this:
Self.logger.debug("*** Chat Message Sent ***\n\n\(String(describing: chatMessage))\n")
This is how to make the text_editor grow to fill the empty space:
text_editor(&self.log).height(iced::Length::Fill)
Run your terminal with user administrator, and try it again. it's work
The answer from @RokoC.Buljan about WAAPI Works great for animation where we don't care about reversing from in between and then the comment specifies taking the progress of the animation and then interpolating the new value. Thanks for the motivation.
After testing different stuff I came up with this solution that makes the animation similar to the CSS Transitions' animation. Below is the Code with explanation in comments:
<div class="container">
<div class="box"></div>
<button class="button">Click Me</button>
</div>
* {
box-sizing: border-box;
margin: 0;
}
body {
overflow: hidden;
}
.container {
background-color: black;
display: flex;
gap: 1.5rem;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.button {
background-color: #33b864;
border: none;
padding-inline: 2rem;
padding-block: 1rem;
scale: 1;
box-shadow: 0 0 0 0 #00000060;
transition: scale 100ms ease-in, box-shadow 100ms ease-in;
}
.button:hover {
scale: 1.05;
box-shadow: 0 0 3px 1px #00000060;
}
.button:touch {
scale: 2;
}
.button:active {
scale: 0.9;
}
/* Code that matters */
.box {
background-color: blue;
border: 2px solid red;
aspect-ratio: 1;
width: 200px;
}
/* .box-hover {
border: 6px solid green;
width: 250px;
background-color: purple;
} */
// Getting everything
const button = document.querySelector('.button');
const box = document.querySelector('.box');
// Keyframes
const keyframes = [
{ border: '2px solid red', width: '200px', backgroundColor: 'blue', offset: 0 },
{ border: '6px solid green', width: '250px', backgroundColor: 'purple', offset: 1 },
];
// Options
const options = {
duration: 800,
easing: 'ease-in',
fill: 'both',
};
// Creating animation and instantly pausing it.
const anim = box.animate(keyframes, options);
anim.pause();
// The play state automaticaly changes from finished to
// running even if only the sign of playbackRate is changed.
setInterval(() => {
console.log(anim.playState);
}, 100)
document.querySelector('.button').addEventListener('click', () => {
// Playing the animation for the first click and then
// After first iteration only setting the Animation.playbackRate *= -1
// or saying Animation.reverse() would make the animation change direction
// mid animation and also after the animation would be finished.
if(anim.playState === 'paused') {
anim.play();
} else {
anim.playbackRate *= -1;
// same as:
// anim.reverse();
}
});
PS @RokoC.Buljan Please let me know if my question was vague and/or if I can further improve the code above. Thanks :)
My ISP doesn't support IPv6. I enabled dns port in tor and docker used it for its dns queries, which leaded to OP wget error in alpine containers, but not in debian ones. Host's nslookup returned NXDOMAIN error for IPv6 addresses and IPv4 were fine. On host I installed dnsmasq
and configured it to query tor's dns, and "tuned" docker to dnsmasq for all new containers. nslookup still errors IPv6 but alpine error has gone.
How do u delete my delta I been doing this many times to delete my delta if I didn't remove my delta my account will get banned for many many days and im not gonna get my account back again.
If the original problem was that the project wasn't producing installable output or wasn't placing it in the right location, explicitly setting CMAKE_INSTALL_PREFIX ensured that cmake --install . knew exactly where to place files.
This pattern avoids cluttering the source directory and ensures a clean separation between source, build artifacts, and install files.
In this version(mine is 1.6.1) of yup, you should use arrow functions for then
and otherwise
.
For Example:
then: () => yup.number().min(0).max(100).required(),
otherwise: () => yup.number().nullable().transform(emptyToNullTransform),
I just added ()=>
to the code
the source that explained it: This page
This answer is a bit late, but I guess it might still help someone.
The implementation of CalendarContract has many flaws which never seem to be fixed in new Android versions and which are not documented.
In my experience, there's not much difference between limited and infinite recurrences, but the instances table might have more problem with infinite ones.
For all day events, the EXDATE should be just yyyymmdd, otherwise UTC time in yymmddThhmmssZ format. Comma-separated if more than one.
If it doesn't work, there might be something else that needs to be done differently, especially if EXDATE is set on an already existing event.
Recurring events must have DURATION set, non-recurring shoud set DTEND instead.
When updating an event, the update must include DTSTART, RRULE, DURATION (not sure if duration is really necessary), where DTSTART must be the same but RRULE MUST BE DIFFERENT!
If you update an event to add an EXDATE without changing RRULE, then RRULE is removed from the event so it becomes non-recurring (not immediately afterwards, wait a whole minute before checking). This seems to happen to calendars from a Google account, but not all types of account.
Just appending a ';' to RRULE in the update seems to work.
(Exceptions can also be created by adding a separate event referring to the recurring one instead of adding an EXDATE. I've never tried that)
The instances table has many flaws:
It may refuse to expand some recurring events or it may take hours to update.
It only seems to expand recurrences one year ahead.
It doesn't include the last instance of an all day event with end date (this might be different in eastern/western hemisphere)
Go to Window > Preferences > Text Editors
Unflag "Use find/replace Overlay
Version: 2024-09 (4.33.0)
Build id: 20240905-0614
401 “unauthorized_client” means that Google does not accept your attempt because the client_id and secret you are trying to post either do not correspond to the application which generated this refresh token or this token is no longer valid. Check that you are applying the right client (all .apps.googleusercontent.com id and its secret), the application is not in Test mode, or obtain a new token by executing the consent flow again, and provide the credentials one time. either through the body of the form or “Authorization” header, not both.
Hi Drew, can you share details about the weight assigned to the Tag property of the column containing the value. Thank you.
Further investigation showed that it is noy possible to throttle CPU. There are applications that do, but they call Windows undocumented API `NtSuspendProcess`. Very good article Anatomy of the thread suspension mechanism in Windows. Solution is to use external application to suspend/resume proces (If suspending process from itself, you are cutting branch on which you sit)
Solved.
Silly error: typo of one character that sneaked in while copy/pasting.
Ktor is doing exactly what it should do:
Sending the Token plain if you pass an empty password.
I've tried this and it doesn't work, v-container is to contain stuff so the image for the backdrop would be shrink. The right way for me is to just wrap the container with v-img component and set src from the css. We can apply gradient from both css and v-img component. Working with position relative and absolute to achieve does not work properly with vuetify.
For windows open php.ini file then find extension=curl and remove the semicolon (;)
;extension=curl -> extension=curl
Your code is not complete, this is just my guess.
setup() is vue3 syntax, also called combinatorial api, data(){} is an early vue2 function, you seem to be mixing it up here. I'm not sure what the outermost return{} means?
You can visit the link below to know a little bit about the usage in setup. By the way of course this is one of the ways to write vue
https://stackblitz.com/edit/vitejs-vite-gbsseybj?file=src%2FApp.vue
because Subject and BehaviorSubject dont have set method
use below
export class SvelteSubject<T> extends BehaviorSubject<T> {
public set(value: T): void {
super.next(value);
}
}
When switching your IIS application pool to 32-bit mode, the handler mappings for .html to be processed as classic ASP may stop working because IIS uses a separate 32-bit pipeline and module set (%SystemRoot%\SysWOW64\inetsrv) instead of the 64-bit one.
To fix this:
Reconfigure the handler mapping after enabling 32-bit mode. Go to Handler Mappings for your site or application in IIS Manager.
Ensure you're referencing the 32-bit asp.dll, which is typically located at:
C:\Windows\SysWOW64\inetsrv\asp.dll
Make sure the application pool is set to Classic Managed Pipeline Mode if you're using classic ASP with custom extensions.
Also verify that ASP is enabled under “Turn Windows features on or off” > IIS > World Wide Web Services > Application Development Features.
This should restore .html to be processed as classic ASP under 32-bit mode.
The problem was Nvidia drivers "corrupting" the .wsx files from v3.11.2.
So the take away is that this particular light.exe error can be caused by bad .wsx files in v3.11.2 even if they are well formed xml.
Did you try to run the Lighthouse report from the developer console in Google Chrome? If not, you could try this. Just open your page in Chrome, press F12, go to the Lighthouse tab and click 'Analyze page load'. It will check your page regarding SEO, accessibility, performance etc. and will give you a score and tell you quite detailed what you need to add/update to make it score higher. I did that for my own website https://teamquiz.dk and it gave me a lot of hints to missing tags in the head section of pages etc.
I would respectfully like to contribute to this very interesting and rich thread which has already been running very long. However, I would like to ask all other contributors I they could possibly give
The subject of permutations seems to be of immensely general interest and the internet is full of articles explaining the concept and giving nice examples in virtually all known programming languages.
Special thanks go to @le_m whose answer not only explicitly mentions the name of Heap's method, but also provides a fine benchmark over all other algorithms proposed in the thread.
You must put this launch.json file in your project (at least, you must put the 'debug server-side' part into your launch.json file): https://code.visualstudio.com/docs/debugtest/debugging-configuration
When starting your app in VSCode, you must do it from the "Run and Debug" button, and click the 'debug server-side' option.
Then breakpoints in server-side scripts should work.
To resolve the CMake build error, I disabled the new architecture by setting newArchEnabled=false
in the gradle.properties
file.
newArchEnabled=false
finally after a long struggle i found a way for this.
while adding remote git repository in terminal using VS code (as i have done) include token like below
https://[email protected]/xxxyyy/repository-name
when you give the command git remote -v
then you should be able to see token included in the repository name.
then give git push origin main
Instead of import, use #include
like this:
#include<iostream>
Or you could turn off Intellisense
if you still want to use import, because Intellisense doesn't affect the code compilation, it just makes the coding process easier and faster.
Passing the token that is generated at the time of creating the video conference worked for me
Currently the easiest way is to exclude the ActiveMQAutoConfiguration
, see https://docs.spring.io/spring-boot/reference/using/auto-configuration.html#using.auto-configuration.disabling-specific for more details.
@SpringBootApplication(exclude = { ActiveMQAutoConfiguration.class })
public class MyApplication {
}
Another option is to use properties, e.g. in your application.properties:
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration
check your error.log, in from the hosting administrator, I could give you more information, some conflict with a plugin for example.
This one is working as well but when I have more than one key with the same value, It just shows only one. The text that I have tried is has two character with the same value like this: (E:6:S:6) I want to show a result for each of them. Like: The character E has repeated 6 times in the string The character S has repeated 6 times in the string I just have The character E has repeated 6 times in the string. I have tried to make it work, but not yet, it seems like i need to do some special trick, so if you have some int, on how i can do that feel free to provide it to me please.
const frequentChar = str =>{
const {max, ...counts} = str.toLowerCase().replace(/\s/g, "").split("").reduce((start, val) =>{
start[val] = start[val] ? start[val]+1 : 1;
start.max = start.max < start[val]? start[val] : start.max;
return start;
}, {max: 0});
const result = [...Object.entries(counts).filter(([key, val]) => val === max)]
const finalResult = result.join(",").replace(/,/g, ":").toUpperCase()
console.log(finalResult);
return `The character ${finalResult[0]} has repeated ${finalResult[2]} times in the string`
}
console.log(frequentChar(text))
I just deleted node_modules and package-lock.json and again done npm install
ubuntu24.04
pip install keyboard
sudo apt install python3-keyboard
i couldnt install keyboard module
i tried
download module (https://files.pythonhosted.org/packages/79/75/c969f2258e908c39aadfc57d1cb78247dc49e6d36371bb3a48c194640c01/keyboard-0.13.5.zip)
cd /home/user/Download/keyboard-0.13.5
sudo python3 setup.py install
Thanks, I got some tts mp3 from GitHub but I wasnt sure of where to store them so they can be accessible by google TTS voice data.
You guys are the BESSST
Can you please check which version of WebdriverIO you are using? This was a known issue and was fixed in one of the latest versions.
原文链接:https://linkcli.com/index.php?rp=/knowledgebase/16
请ssh进入机器
!!!请谨慎操作确保 vdb1 里面没有数据!一键脚本会格式化硬盘。
不清楚的建议ssh进去输入命令:lsblk 截图给客服 @LINKCLi_bot
命令行直接粘贴一下命令并回车:
cat << 'EOF' > mount_home.sh
#!/bin/bash
set -e # 出错即退出
DEVICE="/dev/vdb"
PARTITION="${DEVICE}1"
MOUNT_POINT="/home"
# 检查是否已经有分区
if ! lsblk | grep -q "${PARTITION##*/}"; then
echo "[*] 分区不存在,开始创建分区..."
echo -e "n\np\n\n\n\nw" | sudo fdisk $DEVICE
sleep 2
fi
# 创建文件系统
echo "[*] 格式化分区 $PARTITION..."
sudo mkfs.ext4 -F $PARTITION
# 创建挂载点
echo "[*] 创建挂载点 $MOUNT_POINT..."
sudo mkdir -p $MOUNT_POINT
# 挂载
echo "[*] 挂载 $PARTITION 到 $MOUNT_POINT..."
sudo mount $PARTITION $MOUNT_POINT
# 清空挂载后的/home(危险操作)
echo "[*] 清空 $MOUNT_POINT 下内容..."
sudo rm -rf ${MOUNT_POINT:?}/*
# 获取 UUID
UUID=$(sudo blkid -s UUID -o value $PARTITION)
FSTAB_LINE="UUID=$UUID $MOUNT_POINT ext4 defaults 0 2"
# 写入 /etc/fstab(防止重复)
if ! grep -q "$UUID" /etc/fstab; then
echo "[*] 写入 /etc/fstab 自动挂载配置..."
echo "$FSTAB_LINE" | sudo tee -a /etc/fstab
fi
# 验证挂载
echo "[*] 执行 mount -a 检查挂载..."
sudo mount -a
df -h | grep $MOUNT_POINT
echo "[✔] 已挂载并设置为开机自动挂载。"
EOF
# 添加权限并执行
chmod +x mount_home.sh
echo "[✔] 脚本 mount_home.sh 已生成并赋予执行权限。正在运行..."
sudo ./mount_home.sh
in functions.php, i commented out these two lines. This worked but i'm not sure what the downline effects might be.
//include_once _DIR_ .'/vendor/owasp/csrf-protector-php/libs/csrf/csrfprotector.php';
//csrfProtector::init();
i think convert to hexa decimal and then comparison the command code is good solution.
In my case the suggestions given here helped me. The final section regarding firewall changes for virtual network integrated function app fixed it.
The solution has a problem: The WindowsFormsHostEx solution works until you try using the Measure / Arrange overrides. Then, there is a conflict somewhere in their (MSFT) code and what you're attempting to do. But, I'm finding it works as long as you're careful about what those overrides are doing.
请ssh进入机器
!!!请谨慎操作确保 vdb1 里面没有数据!一键脚本会格式化硬盘。
不清楚的建议ssh进去输入命令:lsblk 截图给客服 @LINKCLi_bot
命令行直接粘贴一下命令并回车:
cat << 'EOF' > mount_home.sh
#!/bin/bash
set -e # 出错即退出
DEVICE="/dev/vdb"
PARTITION="${DEVICE}1"
MOUNT_POINT="/home"
# 检查是否已经有分区
if ! lsblk | grep -q "${PARTITION##*/}"; then
echo "[*] 分区不存在,开始创建分区..."
echo -e "n\np\n\n\n\nw" | sudo fdisk $DEVICE
sleep 2
fi
# 创建文件系统
echo "[*] 格式化分区 $PARTITION..."
sudo mkfs.ext4 -F $PARTITION
# 创建挂载点
echo "[*] 创建挂载点 $MOUNT_POINT..."
sudo mkdir -p $MOUNT_POINT
# 挂载
echo "[*] 挂载 $PARTITION 到 $MOUNT_POINT..."
sudo mount $PARTITION $MOUNT_POINT
# 清空挂载后的/home(危险操作)
echo "[*] 清空 $MOUNT_POINT 下内容..."
sudo rm -rf ${MOUNT_POINT:?}/*
# 获取 UUID
UUID=$(sudo blkid -s UUID -o value $PARTITION)
FSTAB_LINE="UUID=$UUID $MOUNT_POINT ext4 defaults 0 2"
# 写入 /etc/fstab(防止重复)
if ! grep -q "$UUID" /etc/fstab; then
echo "[*] 写入 /etc/fstab 自动挂载配置..."
echo "$FSTAB_LINE" | sudo tee -a /etc/fstab
fi
# 验证挂载
echo "[*] 执行 mount -a 检查挂载..."
sudo mount -a
df -h | grep $MOUNT_POINT
echo "[✔] 已挂载并设置为开机自动挂载。"
EOF
# 添加权限并执行
chmod +x mount_home.sh
echo "[✔] 脚本 mount_home.sh 已生成并赋予执行权限。正在运行..."
sudo ./mount_home.sh
Finally found the fix. The way the current node transform is computed was wrong.
Happens inside the BaseModel::processNode method.
This is wrong:
const aiMatrix4x4 accTransform = node->mTransformation * transform
Need to be changed to
const aiMatrix4x4 accTransform = transform * node->mTransformation;
And things work properly :)
CLSID clsid;
HRESULT hr = CLSIDFromProgID(L"CATIA.Application", &clsid);
CComPtr<IUnknown> pCatiaSession;
hr = GetActiveObject(clsid, NULL, &pCatiaSession);
CATIAApplication * pApp = NULL;
hr = pSession->QueryInterface(IID_CATIAApplication, (void**) &pApp);
CATIADocument * pDocument = NULL;
hr = pApp->get_ActiveDocument(pDocument);
// Get the CATDocument pointer from the CATIADocument pointer.
CATBaseUnknown * pJunk = pDocument->GetImpl();
pCATDocument = (CATDocument*)pJunk;
// Do something with the CATDocument pointer
CATDocumentServices::SaveAs(*pCATDocument, strFilePath);
@Twinkle were you successful?
I am trying to figure out how to create a custom payment processor - would you be willing to provide some guidance please?
You can do this by adding a qualifier with the following format to your search query:
[-]created:<comparison operator>@today[+|-<duration quantity><duration unit>]
where the components are:
-
(optional): exclusion operatorcreated:
: creation date qualifier<comparison operator>
: one of the operators listed here@today
: expands to today's date+|-<duration quantity><duration unit>
(optional): deviation from current date
+
/ -
: direction of deviation<duration quantity>
: a number<duration unit>
: identifier for the unit of duration:
d
: daysw
: weeksm
: monthsy
: yearsSo if you want to get issues created less than 7 days ago, you would add this qualifier to your search query:
created:>@today-7d
Unfortunately this feature is not mentioned in the relevant documentation, so this related documentation for GitHub Projects is the closest thing to an authoritative reference:
You can do this by adding a qualifier with the following format to your search query:
[-]created:<comparison operator>@today[+|-<duration quantity><duration unit>]
where the components are:
-
(optional): exclusion operatorcreated:
: creation date qualifier<comparison operator>
: one of the operators listed here@today
: expands to today's date+|-<duration quantity><duration unit>
(optional): deviation from current date
+
/ -
: direction of deviation<duration quantity>
: a number<duration unit>
: identifier for the unit of duration:
d
: daysw
: weeksm
: monthsy
: yearsSo if you want to get issues created less than 7 days ago, you would add this qualifier to your search query:
created:>@today-7d
Unfortunately this feature is not mentioned in the relevant documentation, so this related documentation for GitHub Projects is the closest thing to an authoritative reference:
I mean, if you're going to burn a register, then why not just sD
to remove the top value from the stack?
after ive gotten the column copied, is there a way to be able to sort the column in sheet 2 seperately from that of sheet 1?
You can do this by adding the following qualifier to your search query:
created:@today
Unfortunately this feature is not mentioned in the relevant documentation, so this related documentation for GitHub Projects is the closest thing to an authoritative reference:
After version 106, you have to specify a full path to a chrome profile through the --user-data-dir
argument and it cannot be the default profile at all.
A good way of building dashboards in Jupyter is with Voila combined with ipywidgets.
https://github.com/voila-dashboards/voila
Ipywidgets can also load images and voila can be used for the whole dashboard component.
can i updte text on tkinter without interacting with the ui? (using as a display only)
Here is script:
import tkinter as tk
import RPi.GPIO as GPIO
# Setup GPIO
GPIO.setmode(GPIO.BCM)
button_pin = 18
GPIO.setup(button_pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
def check_button():
if GPIO.input(button_pin) == GPIO.LOW: # Button pressed
update_display()
root.after(100, check_button) # Check every 100 ms
def update_display():
# Update your Tkinter display here
label.config(text="Button Pressed!")
root = tk.Tk()
label = tk.Label(root, text="Waiting for button press...")
label.pack()
# Start checking for button presses
check_button()
root.mainloop()
from fpdf import FPDF
# Create a PDF class
class PDF(FPDF):
def header(self):
self.set_font("Arial", "B", 12)
self.cell(0, 10, "", ln=True)
def footer(self):
self.set_y(-15)
self.set_font("Arial", "I", 8)
self.cell(0, 10, f"Page {self.page_no()}", 0, 0, "C")
# Create the cover letter PDF
pdf = PDF()
pdf.add_page()
pdf.set_auto_page_break(auto=True, margin=15)
pdf.set_font("Arial", size=12)
text = """Mohamed Ebrahim El-Said
Zagazig, Egypt
+20 112 686 3737
[email protected]
May 24, 2025
Recruitment Team
Deloitte
Dear Hiring Team at Deloitte,
I am writing to express my interest in joining Deloitte. I recently graduated from Zagazig University with a degree in Accounting, where I achieved an Excellent academic standing and a GPA of 3.6.
During my time at university, I developed strong analytical and problem-solving skills through both coursework and practical projects. My academic performance reflects my commitment to excellence, and I am eager to bring that same level of dedication to your esteemed firm. Deloitte’s global reputation for innovation, professional growth, and integrity makes it an ideal environment for me to begin my professional journey.
I am particularly drawn to Deloitte’s collaborative culture and its focus on continuous development. I am confident that my educational background, combined with my enthusiasm for learning and growth, makes me a strong candidate for your team.
Thank you for considering my application. I would welcome the opportunity to discuss how my skills and ambitions align with Deloitte’s goals. Please find my CV attached for your review.
Sincerely,
Mohamed Ebrahim El-Said
"""
# Add the text to the PDF
for line in text.split("\n"):
pdf.multi_cell(0, 10, line)
# Output the PDF to a file
pdf_path = "/mnt/data/Mohamed_Ebrahim_El-Said_Cover_Letter_Deloitte.pdf"
pdf.output(pdf_path)
pdf_path
its work fine. change style for mobile as well.
I believe this could be done using tkinter / customtkinter and utilizing the Canvas widget / CTkImage for handling the the image and intractability alongside the Tabview widget for the steps.
Please refer to How can I load an image into a tkinter window/canvas? and this tutorial for more info.
Here's a super quick rust script (if speed is an issue) that supports hoisted node_modules for workspaces defined using the "workspaces"
package.json attribute: https://github.com/jsimonrichard/node-module-version-checker-rs
This just drove me nuts also and I wish someone else had responded here... It appears that via the Clone Repo > Github it only shows personal repos. Instead, copy your Organization repo URL from Github and paste it into the Repository URL tab on Android Studio. It will then prompt you to login or use your access token and voila!
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
public class CustomConfig : ManualConfig
{
public CustomConfig()
{
// Starts with an empty config adding only the jobs you want
AddJob(Job.Default.WithCustomBuildConfiguration("Benchmarks"));
}
}
This stack overflow answer helped me:
I didn't realize that when I use EAS to build my app, EAS uses a specific Mac OS and Xcode version as specified in my app's eas.json file. Because I had the production iOS image set to "latest", EAS was using Xcode 16.3 to compile my app.
I was thinking that when I used EAS to build my app, it sent the version of Xcode that I had on my local computer to EAS to build with that.
This documentation was helpful to learn about the image options available when using EAS to build an app:
I put this in a javascript file that is called in every page on my site.
I tested it with Chrome & Firefox.
var ADS_URL = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js';
function checkAdsBlocked(callback) {
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function () {
if (xhr.readyState == XMLHttpRequest.DONE) {
callback(xhr.status === 0 || xhr.responseURL !== ADS_URL);
}
};
xhr.open('HEAD', ADS_URL, true);
xhr.send(null);
}
checkAdsBlocked(function(adsBlocked) {
if (adsBlocked) {alert ('\n\nPlease Disable Your Ad Blocker\nThere are no annoying ads or popups on this site.\nSome features here are not available with your ad blocker on.\nThanks!\n\n');}
});
For anyone coming across this in future, this error occurs when you haven't accepted the Xcode license on your terminal.
To do that, run:
sudo xcodebuild -license
The license agreement will be displayed, and you need to type "agree" then enter.
Do a bazel clean --expunge
, and then rebuild.
You should use 'dotall' modifier. Often it is 's' in other languages and here 'n', it's easy to miss it in documentation.
By the way, why you're using NOT is it some trick for optimizer?
SELECT CASE WHEN REGEXP_LIKE(MYSTRING, '^[a-zA-Z0-9]*$', 'n') THEN 'valid'
ELSE 'invalid'
END
FROM DUAL
You can use this link to evaluate a Xml Path :
https://jsonxmlkit.com/xpath-tester
You can use it also to search for a path.
Not sure why Bluetooth support has still not been added to Termux or their official Termux API apps!
Be advised that the main Search Results for this do NOT work as I tried, waste of time: https://www.samgalope.dev/2024/09/09/how-to-automate-bluetooth-tasks-with-termux/
It seems like he has not tested the solutions he posted / AI auto generated content:
https://www.samgalope.dev/2024/12/02/fixing-the-unable-to-locate-package-bluez-termux-error-a-step-by-step-guide/
Don't bother with these steps as they do not work due to lack of bluetooth support in Termux itself.
The solution provided above now has issues due to updates:
Thus, since the apk in Termux-app-bluetooth is based on the version 0.64 of the Termux project you must install a more recent version of it.
However, ~~after September~~ when I get some free time, I will try to work on a new version of Termux-app-bluetooth that supports update or installation of packages.
Not updated for 5 years as @steven-salazar-molina is busy.
I realized the issue was happening due to the incorrect jdk version being installed. I completely uninstalled java from my computer <https://www.java.com/en/download/help/mac_uninstall_java.html> along with the jdk <https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html#uninstall>. Then installed jdk 21 (jdk 24 is not compatible with kotlin) and the build succeeded
I managed to get it work by install by click Other when selecting the Operating System. Then select the iso image of windows iso.
During the boot, there is a time range you should press any key to boot from CD/DVD. After the installation, you don't need to press again.
Select at least 4 cores and 8g memory works for me as well.
This means that if you imagine memory as the flat Earth and your array lays close to the edge, then beyond it there is a place for at least one additional element. ;•)
Problem is solved !
I needed to add the property ref={field.ref}
to the <Input />
To change the language of std::filesystem::filesystem_error
messages, adjust the system locale to your native language. But I think this method depends on your operating system.
Though I would update with my current best solution based on the responses. Thanks to @Jérôme Richard for the detailed analysis, I've re-implemented in a way that I think incorporates the most impactful suggestions:
cimport numpy as cnp
ctypedef cnp.npy_uint32 UINT32_t
from libc.math cimport exp
from libc.stdlib cimport malloc, free
cdef inline UINT32_t DEFAULT_SEED = 1
cdef enum:
# Max value for our rand_r replacement (near the bottom).
# We don't use RAND_MAX because it's different across platforms and
# particularly tiny on Windows/MSVC.
# It corresponds to the maximum representable value for
# 32-bit signed integers (i.e. 2^31 - 1).
RAND_R_MAX = 2147483647
##################################################################
cdef class FiniteSet:
"""
Custom unordered set with O(1) add/remove methods
which takes advantage of the fixed maximum set size
"""
cdef:
int* index # Index of element in value array
int* value # Array of contained element
int size # Current number of elements
def __cinit__(self, cnp.ndarray[int] indices, int maximum):
self.size = len(indices)
# Allocate arrays
self.index = <int*>malloc(maximum * sizeof(int))
self.value = <int*>malloc(maximum * sizeof(int))
if not self.index or not self.value:
raise MemoryError("Could not allocate memory")
# Initialize index array to -1 (invalid)
cdef int i
for i in range(maximum):
self.index[i] = -1
# Set up initial values
for i in range(self.size):
self.value[i] = indices[i]
self.index[indices[i]] = i
def __dealloc__(self):
"""Cleanup C memory"""
if self.index:
free(self.index)
if self.value:
free(self.value)
cdef inline bint contains(self, int i) nogil:
return self.index[i] >= 0
cdef inline void add(self, int i) nogil:
"""
Add element to set
"""
# if not self.contains(i):
if self.index[i] < 0:
self.value[self.size] = i
self.index[i] = self.size
## Increase
self.size += 1
cdef inline void remove(self, int i) nogil:
"""
Remove element from set
"""
# if self.contains(i):
if self.index[i] >= 0:
self.value[self.index[i]] = self.value[self.size - 1]
self.index[self.value[self.size - 1]] = self.index[i]
self.index[i] = -1
self.size -= 1
cdef class XORRNG:
"""
Custom XORRNG sampler that I copied from the scikit-learn source code
"""
cdef UINT32_t state
def __cinit__(self, UINT32_t seed=DEFAULT_SEED):
if (seed == 0):
seed = DEFAULT_SEED
self.state = seed
cdef inline double sample(self) nogil:
"""Generate a pseudo-random np.uint32 from a np.uint32 seed"""
self.state ^= <UINT32_t>(self.state << 13)
self.state ^= <UINT32_t>(self.state >> 17)
self.state ^= <UINT32_t>(self.state << 5)
# Use the modulo to make sure that we don't return a values greater than the
# maximum representable value for signed 32bit integers (i.e. 2^31 - 1).
# Note that the parenthesis are needed to avoid overflow: here
# RAND_R_MAX is cast to UINT32_t before 1 is added.
return <double>(self.state % ((<UINT32_t>RAND_R_MAX) + 1))/RAND_R_MAX
def xorrng_py(int seed=1):
cdef XORRNG prng = XORRNG(seed)
return prng.sample()
###############################################################
cdef XORRNG prng = XORRNG()
def spgreedy(cnp.ndarray[double, ndim=2] J,
cnp.ndarray[double, ndim=1] h,
FiniteSet s,
double temp,
):
cdef int d
d = J.shape[0]
cdef int j, k
cdef double dot, curr, prob
for j in range(d):
s.remove(j)
dot = h[j]
for k in range(s.size):
dot += J[j, s.value[k]]
curr = dot / temp
if curr < -100:
prob = 0.0
elif curr > 100:
prob = 1.0
else:
prob = 1.0 / (1.0 + exp(-curr))
if (prng.sample() < prob):
s.add(j)
return s
which is now better than the dense algorithm (in the problems I've tested on). It also takes a similar amount of time as numpy's matrix multiplication (just doing J@s+h
) which is both reassuring, since that code is very optimized I assume, but a bit disappointing because I don't get much benefit from the sparsity after all. I also don't know much about Cython so it's very possible I did something silly in this implementation as well!
Not saying this will work but, here's some instructions that is online...
https://www.smackcoders.com/blog/how-to-install-wamp-and-xampp.html
This is due to how sql and spark execute these functions differently.
In SQL, the rand(42) function is deterministic for each row within that session/query. Hence it produces the same result every time you run that query.
In a Python Notebook, the execution is distributed across Spark executors. Spark's rand(seed) is only deterministic per executor, not globally. Also see rand function's source code, they also mention there that this is non-deterministic in the general sense, and hence the behavior that you are seeing.
Let understand with examples, you are trying to send and receive messages between parts of your app — like one part says, "Hey, a new order came in!" and another part listens for that and does something (like sending an email).
What is a Message Bus?
A message bus is like a middleman that helps parts of your app talk to each other without knowing about each other directly. It's like a delivery service: you drop off a message, and it makes sure the right person gets it.
What is MassTransit?
MassTransit is a tool (or framework) that helps you use a message bus more easily in your .NET apps. It gives you a friendly, consistent way to send and receive messages.
But MassTransit doesn’t deliver messages itself — it uses real delivery services behind the scenes.
What’s the Messaging Library?
This is the actual delivery service — like:
-RabbitMQ
-Azure Service Bus
-Amazon SQS
MassTransit connects to one of these behind the scenes and handles the setup, sending, and receiving for you.
So yes — you're right:
MassTransit is a message bus framework that works on top of real messaging systems (like RabbitMQ or Azure Service Bus). It lets you switch between those systems easily without changing much of your code.
try using the so file
or go through the repo if you feel that there is a need for more files, especially for AWS.
https://github.com/avinashmunkur/pyodbc-py310/tree/master/python-py310
Must use custom ISqlGeneratorHelper:
builder.Services.AddEntityFrameworkMySql();
builder.Services.AddSingleton<ISqlGenerationHelper, CustomMySqlSqlGenerationHelper>();
then
public sealed class CustomMySqlSqlGenerationHelper : MySqlSqlGenerationHelper
{
public CustomMySqlSqlGenerationHelper(
RelationalSqlGenerationHelperDependencies dependencies,
IMySqlOptions options)
: base(dependencies, options)
{
}
public override string GetSchemaName(string name, string schema)
=> schema; // <-- this is the first part that is needed to map schemas to databases
}
is it resolved ? i am facing the same issue
Hi, since you already have the driver file/inf, then have gander with this
#find device
$Device = Get-PnpDevice -FriendlyName "Name of your device"
#update driver
Update-PnpDevice -InstanceId $Device.InstanceId -Driver $DriverPath
Hy after hover do :active for the user click
.dropdown:active .dropdown-content {
display: block; }
Pull Handles & Finger Plates Clearance Bargains https://www.frelanhardware.co.uk/Products/turns-releases
Getting help for ai you will get it brother. Wverthink can make you right
which search algorithm is more likely to find a solution in an infinite space state
Thanks to everyone who tried to help.
Somehow, YouTube video playback suddenly stopped working. While searching for a solution, I stumbled upon this thread: https://bbs.archlinux.org/viewtopic.php?id=276918 , and found that running
pacman -Syu pipewire-media-session
did the trick.
Not only did YouTube start working again, but I also started hearing sound from my device — the volume meter began responding too.
Please feel free to check out the Closed Caption Converter API. https://www.closedcaptionconverter.com
Event library that you must use:
package0 and replication.
Inside the replication library, you can find events related to the agents, including the distribution agent.
Key event for your case:
replication.agent_message.
This event captures messages that the replication agents (snapshot, log reader, distribution) generate. It is useful because many times the distribution agent writes to its output when the execution mode or the number of threads changes.
You can filter messages containing things like:
“Switching to single thread”
“Switched from multi-threaded to single-threaded”.
SQL Server doesn't have a direct event that says “switched from multi-threaded to single-threaded”, but the agent messages (which are captured with replication.agent_message) do reflect that behavior internally, and that's what you can track.
Have you tried setting the domain of the cookies to your API URL, e.g.:
ctx.SetCookie(..., "/", "api.azurecontainerapps.io", true, true)
Did anyone notice the typo of attachements instead of attachments?
Not certain, but I think that was the actual problem here... or at least part of the problem.