Moving away from publishing to folder on OneDrive to a local folder on the C: drive seems to work.
I also tried to change the rights to write to a folder on OneDrive, but it seems that applying new settings by unchecking "read only" folder attribute is not accepted.
Giving ALL users full rights does also not work.
Running VS in administrator mode also does not solve the problem.
So my conclusion is that ONEDRIVE is the BAD GUY!
Thank you. The webshot then magick method worked for me. I encountered a message to install phantomjs so I followed that. So now the first part is:
webshot::install_phantomjs()
webshot::webshot("presentation.html", "presentation.png")
Upgrading to
<PackageReference Include="MSTest.TestAdapter" Version="4.1.0-preview.25514.12" /> <PackageReference Include="MSTest.TestFramework" Version="4.1.0-preview.25514.12" />
fixed the issue as @Youssef13 suggested above.
I also had to change from Sdk="MSTest.Sdk/x.y.z" to Sdk="Microsoft.NET.Sdk" since the first one seems to overwrite packages even if and update element is added to the project file:
<ItemGroup> <PackageReference Update="MSTest.TestAdapter" Version="4.1.0-preview.25514.12" /> </ItemGroup>
That behavior is a bit unpredictable but not related to this issue.
In my case, I deleted the pubspec.lock file and then ran:
flutter pub get
This regenerated the lock file and resolved the dependency issues.
Installing from my main terminal (instead of vs code's terminal) worked for me.
as far as i know if you are (at the moment you are capturing the image) using v4l2 you can adjust the brightness and contrast of the camera itself(unless you are using pipewire which then im not even sure what to do)
I think your frontend did not save the token.
Try to restore the UID for that property in the model JSON file (and make otherwise sure it's sound, like undoing adding it to the retired UID list). Then run the generator again.
Background: If you remove a poperty from the model it's data is not actually deleted from objects when "upgrading" the database to the new model. Only once you put an existing object the existing data would get overwritten.
Maybe it will help you make voip app with ionic https://ionicvoip.com/
I just successfully installed the project with the following settings:
[tool.uv.build-backend]
module-name = "a_library.a_module"
namespace = true
I’ve been aware of this namespace option the whole time, but I’d been avoiding it because the documentation scared me with this warning:
Using
namespace = truedisables safety checks. Using an explicit list of module names is strongly recommended outside of legacy projects.
But now, I’m fine with using this option. Sorry for bothering you.
Actually you do not need to change VM type. You can increase the memory with editing the VM, but it has to be stopped.
Since Sept, 2025
https://github.com/actions/setup-node/releases/tag/v5.0.0
You can now write the following, wish will take node 24 by default
- name: Set up Node js
uses: actions/setup-node@v6
Use projects.setItems(data_provider); instead.
Yes, this can likely be done with a Docusign CLM Document Smart Rule, but it requires a more advanced configuration using XPath within the Rename action to dynamically capture the parent folder name and retain the original document name.
Your previous attempt failed because the "Rename" action, when used with a literal value, completely replaces the document name instead of appending or prepending to it.
You can refer to this link for an example: https://community.docusign.com/clm-112/rename-documents-using-attributes-2845
Thanks and regards,
Mahmoud
Fantastic post! Really helpful for anyone exploring Windows 11 upgrades and software options. 👉 I highly recommend checking out the website link in my profile for more tips and tools.
I noticed when I started debugging, at 53 seconds the error was like this
I had the same issue in my case i have installed SignalR NuGet Package in my Blazor Server Project as you know SignalR already exists in the Blazor Server due to that conflict i got that error.
iTerm2 has a variable $TERM_SESSION_ID which looks like this:
% echo $TERM_SESSION_ID
w1t0p0:C2EA7462-6ED9-479B-A323-5796ABCCABE8
From what I can figure out:
"w1" is the window number (but 0-indexed - so 0==1, 1==2, etc)
"t0" is the tab within the window
I didn't investigate "p0" but I presume something like process?
The issue is related to privileges between two different schemas.
When you use a LEFT JOIN,
Oracle needs to verify access to all referenced tables at compile time,
and the schema that owns the view (A) must have direct privileges
on the tables it joins from schema B
not just through a grant chain or a WITH GRANT OPTION.
Here’s how to fix it:
Option 1 – Grant access directly from B to A
Log in as schema B (the table owner) and run:
GRANT SELECT ON table1 TO A;
GRANT SELECT ON table2 TO A;
-- repeat for each table used
Then recompile the view:
ALTER VIEW A.view_name COMPILE;
You don’t need to use WITH GRANT OPTION unless schema A also needs to re‑grant those privileges to others.
Option 2 – Create Synonyms in A
In schema A, create synonyms to make references cleaner:
CREATE SYNONYM table1 FOR B.table1;
Then recompile the view or recreate it.
This helps Oracle resolve object names easily and prevents the ORA‑01720 privilege error during compile time.
If anyone wants to get a Google Reviews,
Before buying from any site of the online platform, the buyers first look at the reviews on Google. If Google Reviews are present when buyers visit your site, the sales of theat site will increase at a faster rate. So increase the amount of sales through Google Reviews on your site.
Express Delivery
Very Cheap Price
24/7 Customer Support
100% Satisfaction Guaranteed
100% Recovery Guaranty (Within 30 Days)
High Quality Service
You can write a simple SQL statement that will bring only the 20, 30, etc. first records, and than write Visual Basic code for the export:
Me.RecordSource= "SELECT TOP 30 * FROM Customers ORDER BY CustomerID"
DoCmd.OutputTo acOutputReport, "FormName", acFormatPDF, "pdfPath"
I hope you’re doing well. I just wanted to check if you were able to find any solution yet?
I have found the issue . The cause is <View> and <BottomSheet> are react native components , not MapView overlays . on IOS , MapView accepts react subviews (and ignores unsupported once ) , but on android MapView is a native SurfaceView , which cannot have nested React views unless they're valid map overlays like <Marker> , <Circle> etc .
so to avoid this UI error on android simply do not put nested views inside the MapView . and by doing so my component mounts on android without an issue .
The highest voted solution doesn't work for me. I am using version 6.5.4.
the Inno Setup keep generating the manifest with "asInvoker".
My solution is:
1, Use "Resource Hacker" to manually edit the file "SetupLdr.e32" from Inno Setup installation folder, usually it would be "C:\Program Files (x86)\Inno Setup 6" (make sure you have a backup), choose the "Manifest", change it from "asInvoker" to "requireAdministrator", compile and save, then override the file back.
2, Add the "DisablePrecompiledFileVerifications=setupldre32" under [Setup] Section, to avoid Inno compile issue(ask Inno to ignore it being changed outside).
3, rebuild.
I removed screen.blit(screen, ...) and it worked accordingly
Answering my own question.
Everything works by replacing transfrom_aggregate() by transform_joinaggregate()!
user207421 has answered my question. No other method needs to be overridden besides run().
@musicamante Ok thanks for steering me away from QComboBox. Got a working solution "starting from scratch" and it's probably quite a bit easier to code up than the QComboBox contortions - and the two issues in the original question are resolved. Will do some more styling and sizing and such, but:
The code:
# heavily adapted from Google AI Overview: 'pyqt popup under button'
from PyQt5.QtWidgets import (
QApplication, QWidget, QVBoxLayout, QTreeView,QMainWindow,QPushButton,QDialog
)
from PyQt5.QtGui import QStandardItemModel, QStandardItem
from PyQt5.QtCore import QModelIndex,Qt,QPoint
class MyPopup(QDialog):
def __init__(self, parent=None):
super().__init__(parent)
self.parent=parent
# Create the TreeView for the dropdown popup
self.tree_view = QTreeView(self)
self.tree_view.setHeaderHidden(True) # Hide the header to look like a simple tree
self.tree_view.setSelectionMode(QTreeView.SingleSelection)
self.tree_view.setEditTriggers(QTreeView.NoEditTriggers)
self.tree_view.setExpandsOnDoubleClick(False)
self.tree_view.setAnimated(True)
self.tree_view.setFixedHeight(300)
# Create a model for the tree view
self.model = QStandardItemModel()
self.tree_view.setModel(self.model)
self.tree_view.entered.connect(self.enteredCB)
self.tree_view.clicked.connect(self.clickedCB)
self.tree_view.expanded.connect(self.expandedCB)
self.tree_view.collapsed.connect(self.collapsedCB)
self.setWindowTitle("Popup Dialog")
self.setWindowFlags(Qt.Popup)
layout = QVBoxLayout(self)
layout.setContentsMargins(0,0,0,0)
layout.addWidget(self.tree_view)
self.setLayout(layout)
self.tree_view.setMouseTracking(True)
def enteredCB(self,i):
print('entered')
self.setFullLabel(i)
def expandedCB(self,i):
print('expanded')
self.collapseOthers(i)
def collapsedCB(self,i):
print('collapsed')
def clickedCB(self,i):
print('clicked')
self.setFullLabel(i)
self.close() # close the popup
def setFullLabel(self,i):
# Get the full hierarchy path for display
current_index = i
path_list = [self.model.data(i)]
while current_index.parent().isValid():
parent_index = current_index.parent()
parent_text = self.model.data(parent_index)
path_list.insert(0, parent_text)
current_index = parent_index
# Join path with a separator and set the text
self.parent.button.setText(' > '.join(path_list))
def populate(self, data):
"""Populates the tree model from a dictionary."""
self.model.clear()
for key, children in data.items():
parent_item = QStandardItem(key)
for child_text in children:
child_item = QStandardItem(child_text)
parent_item.appendRow(child_item)
self.model.appendRow(parent_item)
for r in range(self.model.rowCount()):
for c in range(self.model.columnCount()):
txt=self.model.item(r,c).text()
print(f'row {r} col {c} : {txt}')
def collapseOthers(self,expandedIndex):
QApplication.processEvents()
print('collapse_others called: expandedIndex='+str(expandedIndex))
def _collapse_recursive(parent_index: QModelIndex,sp=' '):
for row in range(self.model.rowCount(parent_index)):
index = self.model.index(row, 0, parent_index)
item=self.model.itemFromIndex(index)
txt=item.text()
print(sp+f'checking r={row} col=0 : {txt}')
if index.isValid() and index!=expandedIndex:
print(sp+' collapsing')
self.tree_view.collapse(index)
# self.tree_view.setExpanded(index,False)
# Recursively process children
if self.model.hasChildren(index):
_collapse_recursive(index,sp+' ')
# Start the recursion from the invisible root item
_collapse_recursive(QModelIndex())
QApplication.processEvents()
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("Main Window")
self.setGeometry(100, 100, 400, 300)
central_widget = QWidget()
self.setCentralWidget(central_widget)
layout = QVBoxLayout(central_widget)
self.button = QPushButton("Show Popup", self)
self.button.clicked.connect(self.show_popup_under_button)
layout.addWidget(self.button)
self.popup = MyPopup(self)
def show_popup_under_button(self):
# Get the global position of the button's top-left corner
button_pos = self.button.mapToGlobal(QPoint(0, 0))
# Calculate the desired position for the popup
popup_x = button_pos.x()
popup_y = button_pos.y() + self.button.height()
# Sample hierarchical data
data = {
"Fruits": ["Apple", "Banana", "Orange"],
"Vegetables": ["Carrot", "Broccoli", "Spinach"],
"Dairy": ["Milk", "Cheese", "Yogurt"]
}
self.popup.populate(data)
self.popup.move(popup_x, popup_y)
self.popup.exec_() # Show as a modal dialog
if __name__ == "__main__":
app = QApplication([])
window = MainWindow()
window.show()
app.exec_()
I think what's happening is you might be moving the mouse and clicking at the same time (unbeknownst to you). According to MOUSE_EVENT_RECORD, a MOUSE_MOVED (0x0001) + DOUBLE_CLICK (0x0002) = 0x0003, so it adds up the event codes into pme->dwEventFlags and never goes into your switch case. My suggestion would be to remove your switch and keep just the if ( pme->dwButtonState & FROM_LEFT_1ST_BUTTON_PRESSED ) check.
I know that this an older question, but in case someone lands here looking for a solution to the same problem, see here:
https://github.com/immich-app/immich/discussions/3118#discussioncomment-11025563
Hello Instagram Support Team,
I permanently deleted my Instagram account last year, which contained important personal photos and videos.
I understand it might be difficult, but I would like to know if there is any possibility to recover my deleted account or at least access some of the uploaded content.
Previous account details:
- Username: [bavar.t]
- Email linked to account: [[email protected] &
- Approximate deletion date: [3&4/24]
Thank you for your help.
You need to add double quote around %1 to get the whole argument if it's a string.
@echo off
:loop
echo %1
shift
if "%~1" neq "" goto :loop
When you run it you will see the result like this:
D:\2\test2>arg1 abc "abc def"
abc
"abc def"
Two command same :
1st:
git checkout -b new-branch-name
2nd:
git switch -c NEW_BRANCH_NAME
this is a common issue in deployment. it works for me when I'll update the pip and wheel:
python -m pip install --upgrade pip setuptools wheel
I hope this fix the issue.
You dont need to think about direction, instead of current floor of the elevator you should chose the destination floor.
The order shoud be unocupied > ocupied
if both unocupied choose current.closer
if both at the same floor choose elevator 1 (just a arbitrary because it wont matter)
if both occupied choose destination.closer
if elv1.destination = elv2.destination choose 1.
you could use a counter, once goes elv1, then elv2, then 1, then 2. so both elevators get used more evenly
this logic also lacks if 2 or more people press the button at the same time... anyway good luck
Also have a bunch of these. Annoyingly the default slide timer interval is five seconds which is much too long. I did note that in addition to a 24 MHz crystal it has a regular 32.768 kHz one which may be a potential modification eg swap it out for a 450kHz remote crystal.
You can not "copy" a media by a bot, but you can forward it removing the sender's name and editing it's description afterwards.
There is also another way to download the media in a data base and upload it manually.
if your still interested, it is possible to intercept the:
<script src="http://ajax.aspnetcdn.com/ajax/4.6/1/WebUIValidation.js" type="text/javascript"></script>
With a globalresponsefilter, replacing it with your own.
In my case the reason was different: it did not show anything until I selected the checkbox "Show standard Jenkins list at the top of the page" in the "Dashboard Portlets" section.
You can, but need extract private keys generated from the memory ram of the client: Reading Public/Private Key from Memory with OpenSSL
I just used PG Admin to create snapshot and restore it in new database in new AWS Lightsail account.enter image description here
Selenium can only access a HTML or XML document as a tree structure wherein each node is an object representing a part of the document. PDF does not offer this nor does it work in this way.
The browser has a PDF reader engine that paints the contests to the pdf-viewer element. This renderer draws the PDF onto a canvas (or a shadow DOM internal element) — a painted surface, not HTML. You will need to use a different tool such as a PDF parsing library that is able to piece through this and read its content and unfortunately Selenium was not designed for this.
Because React is in bed with cloud providers and Zuckerberg needs more profit$, you cannot have easily built client applications that leverage modern fetching techniques.
May God keep you in good health my friend! Thank you!
When using Service Accounts for authentication then the sharing settings for the service account within Google Calendar must be set to at least "Make changes to events" so "See all event details" is not enough to get colorId.
For a Block Blast-style solver, you'll want to balance computation with good heuristic evaluation. A full backtracking search is often too slow for real-time decisions.
A more efficient approach is a beam search that explores only the top N promising placements for your sequence of blocks. You need a strong heuristic function to evaluate board states. Focus on:
Line Clear Potential: Prioritize placements that clear rows/columns immediately.
Smoothness: Minimize the height differences across the board to avoid unreachable gaps.
Hole Prevention: Penalize placements that create enclosed empty spaces.
Density: Keep the board as filled as possible from the bottom up.
By combining these into a weighted score and only deeply exploring the best candidates, you can get near-optimal performance without the computational cost. You can test these kinds of strategies in action using a block blast solver to see how different heuristics play out in real-time.
Looks like the problem is still the script is not included in the blade correctly just push the js to blade directly and debug .
`@push('scripts')
<script>
// your JS here
</script>
@endpush`
It’s not possible, d3 scaling is a black box
A bit late to the party, but wrapping then when in a do {} while (false) "loop" gives you a regular break without any label or lambda shenanigans:
do when (transaction.state) {
Transaction.Type.EXPIRED,
Transaction.Type.BLOCKED -> {
break
}
} while (false)
Editing x32, x64, etc. in the end of the URLs gives better quality icons if needed
https://ssl.gstatic.com/docs/doclist/images/mediatype/icon_1_spreadsheet_x32.png
https://ssl.gstatic.com/docs/doclist/images/mediatype/icon_1_spreadsheet_x64.png
Here’s a simple, one-step solution for PowerRename that will work for all your files, keeping the 4-digit file number, sheet number, and revision, and removing everything else in between:
Enable Use Regular Expressions, then use this search:
^(.*?)(\d{4}).*?SHEET-(\d+).*?Rev\.?\.?([A-Za-z0-9]+)
and this replace:
MOD-CR1A-DDT-$2-$3_$4
This will transform filenames like:
MOD-CR1A-DDT-0001-CONCRETE-----SHEET-2-OF-3-CONCRETE-FOUNDATION-PLANS-Rev.4
into:
MOD-CR1A-DDT-0001-2_4
Had same issue, stems from using React-Native 0.81 with gradle plugin of 0.82 (in my case was auto-installed due to latent versioning)
Need to either update your react-native to 0.82 (requires react 19.1.1 or up) or downgrade the plugin
The answer of @BioData41 is working for me, however assert_frame_equal is throwing an exception if the comparison is failing.
For a simple boolean result, I am using this:
test_df1 = df1.reset_index(drop=True)[list(df2.columns)]
test_df2 = df2.reset_index(drop=True)
test_df1.compare(test_df2).empty # Should return True or False
Easy solution is Bulk PDF Downloader Chrome Extension. It is free and easy to use extension for downloading multiple PDFs on any website.
I'm developing a crash game similar to Aviator and want to implement a provably fair system. I understand the basic concept of using a server seed, client seed, and nonce to generate random outcomes, but I'm struggling with the specific algorithm for crash point calculation.
Most documentation explains provably fair for classic casino games, but crash games have different requirements. The game should:
- Generate a random crash point for each round
- Allow players to verify the result was predetermined
- Prevent manipulation from either side
What's the recommended approach for crash point generation? I've reviewed several implementations but can't find consensus on:
1. What cryptographic hash function to use (SHA-256, HMAC, etc.)
2. How to convert the hash output to a crash multiplier
3. The optimal frequency distribution for crash points
Here's an example of a working implementation I'm trying to understand: Aviator Games
Any code examples or detailed explanations of the mathematics behind crash point calculation would be greatly appreciated.
It’s an invitation asking users to share the question link with others (via email or social media) to help get more answers.
Until a solution is found, I changed all the link components to the videos page from <Link/> to <a/> to force a fresh page load.
You can use triple * in your codes for a bold text instead of * or double **
Use .toolbarTitleDisplayMode(.inlineLarge)
I think it's the file name. try removing the space before the dot.
A better solution is to switch to MMKV from Tencent, the same key-value storage used in WeChat and many production apps.
MMKV is:
Based on mmap, so it reads/writes data directly to memory-mapped files
Multi-process safe, meaning changes are immediately visible across processes
You can sync with existing sharedpref.
I can't reproduce your issue cause it looks good on my side
I think the first thing you should do before filtering your dataframe is to make sure your whole row in Time column is cleaned enough (no null, no different format, same dtype)
Next step is then you filter it
It turns out that you can actually nest hooks like this:
before('deploy:cold') do
before('deploy:migrate', createdb)
end
which answers my question exactly. But keep in mind that you actually want to hook createdb in a different spot rather than at deploy:migrate.
print df.columns if dataframe have date column it will printed
print(df.columns)
I wrapped the text in the <td> in a <p> element and it centered instantly!! Sorry for wasting your time haha
okay, Cognito isn’t built to act as a SAML IdP — it only consumes SAML, it doesn’t issue it. You can connect it to something like Okta or Azure AD as your SAML provider, but you can’t make other apps use Cognito as their SAML source.
If your goal is just to let users log in directly with Cognito, it’s best to stick with OAuth2 or OpenID Connect since that’s what it actually supports.
theorem is the syntax defined by Lean 4 itself (sometimes referred to as "Lean core").
lemma is an alternative syntax provided by mathlib, which is a library maintained by the community.
If your project has mathlib as a dependency, you can import Mathlib.Tactic.Lemma to gain access to the lemma syntax in your file. If your project does not depend on mathlib, you should use theorem.
APPLICATION STATUS KY NAHI DIKHA RAHA HAI
Yes you can do this
apiVersion: v1
kind: Service
metadata:
name: hello-world
spec:
type: NodePort
selector:
app: hello-world
ports:
- port: 8085
targetPort: http
nodePort: 30085
Turn off the VPN, proxy, antivirus firewall.
good, but Cognito isn’t designed to work as a SAML Identity Provider (IdP) for any random service provider. It mainly supports OpenID Connect (OIDC) and OAuth2 standards. While Cognito can connect to a SAML IdP, it can’t directly serve as one itself.
If you need Cognito users to sign in through a SAML-based service, you’ll have to place an identity broker or gateway in between. That gateway can handle the translation between Cognito’s OIDC flow and the SAML flow expected by the service provider. I’ve implemented this setup before using a SAML↔OIDC bridge, and it works well once you configure the metadata correctly. you can take a look at here
Use join() on the index:
# Create sample data
import pandas as pd
import numpy as np
data = {'date': pd.to_datetime(['2025-01-01', '2025-01-01', '2025-01-02', '2025-01-02']),
'Sector': ['Tech', 'Finance', 'Tech', 'Finance'],
'col5': [10, 20, 15, 25],
'col6': [100, 200, 150, 250]}
df = pd.DataFrame(data)
# Create the pivot table
pivotdf = pd.pivot_table(df, values=["col5", 'col6'], index=['date'], columns='Sector')
# Merge by setting the index on the original dataframe and using .join()
# This avoids the MultiIndex column issue
df_with_index = df.set_index('date')
merged_df = df_with_index.join(pivotdf, how='left', rsuffix='_bySector_pivot')
merged_df = merged_df.reset_index() # If you want 'date' back as a column
# Print the merged dataframe
print(merged_df)
output:
Is there a way (possibly standard) to know inside
foo(const int s)if the function is executed at compile time or at runtime?
The standard ways to detect const if a constexpr function is evaluated at compile time at C++20/C++23:
if consteval (C++23)std::is_constant_evaluated (C++20, requires <type_traits>)There are non-standard ways under C++14/C++17:
__builtin_is_constant_evaluated of GCC/Clang (and surprisingly MSVC)std::_Is_constant_evaluated of MSVC (any C++ standard here)There isn't any standard way in pre-C++20 through.
Test script:
#if __cplusplus >= 202002L || _MSVC_LANG>= 202002L
#include <type_traits>
#endif
bool is_constant_evaluated() {
#if __cpp_if_consteval >= 202106L
if consteval { return true; }
// both MSVC (non-comformant __cplusplus) and by-default _MSVC_LANG and other compiles with conformant __cplusplus
#elif __cplusplus >= 202002L || _MSVC_LANG>= 202002L
if (std::is_constant_evaluated()) return true;
#elif defined(__GNUC__) // defined for both GCC and clang
if (__builtin_is_constant_evaluated()) return true;
#elif defined(_MSC_VER)
if (__builtin_is_constant_evaluated()) return true;
#else
#error "NAWH we don't think we can detect compile time in this compiler";
#endif
return false;
}
int main() {
return is_constant_evaluated();
}
And it compiles and works properly even if it's MSVC and C++17/C++14. (assembly here)
Kindly take a look at my recent blog to learn how this can be achieved.
https://pothiarunmca.blogspot.com/2025/10/reusable-javascript-function-to.html
the best system design for that problem is while uploading video also you save the metadata in a Redis
for example duration, file type, quality and more
Realtor.com API Open is New Real Estate API - Fast - Uptime 99%– Comprehensive search for properties, agents, and locations across the United States with fast, structured JSON results ready for apps and web.
try on rapidapi
https://rapidapi.com/moham3iof/api/realtor-com-open
A materialized view (MV) stores the result of a query on disk, so reads are fast, but the data may be stale between refreshes. (whether it’s eventually consistent or transactionally consistent depends on the database engine)
What you get:
What you trade off:
So I suggest you to use an MV when you prefer read speed and cost predictability over up-to-the-second data.
Flutter requires an initialization time while the OS sets up the app's process. Android provides the concept of a launch screen to display a Drawable while the app is initializing https://docs.flutter.dev/platform-integration/android/splash-screen#initializing-the-app
hmm, nice. Its working or not? I am curious about it.
might be very late but as of today ( sun, 19th oct 2025 ) these steps worked for me. I am using electron-builder.
all we have to do is just make a "build/icons" folder and place icons for mac, win and linux.
so
icon.icns - for mac
icon.png - for linux
icon.ico - for window
and run the build command and this will generate the installer icons that you will have on .exe, etc.
thanks
You can add { _shard_doc: 'asc' } as a tie breaker, since _id is blocked from using it to sort by.
i am sharing app delegate and info.plist
#import "AppDelegate.h"
#import "AmplifyPushNotification.h"
#import <React/RCTBundleURLProvider.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.moduleName = @"main";
self.initialProps = @{};
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
[AmplifyPushNotification didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler {
[AmplifyPushNotification didReceiveRemoteNotification:userInfo withCompletionHandler:completionHandler];
}
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
return [self bundleURL];
}
- (NSURL *)bundleURL
{
#if DEBUG
// 💡 FIX: Use the standard React Native entry file for development builds
// unless you are explicitly running with 'expo start' and a custom setup.
// Assuming 'index' or 'index.js' is your main entry file.
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#else
// This is correct for Release/Production builds which use a pre-built 'main.jsbundle'
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}
@end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>PowderWatts</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<!-- Deep link URL scheme -->
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>pwprodapp</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<!-- CodePush key -->
<key>CodePushDeploymentKey</key>
<string>N0cIZFyqifY1KvyaArBPUtwZ39akKSTB0sEz_</string>
<key>ITSAppUsesNonExemptEncryption</key>
<string>NO</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<!-- ✅ Updated App Transport Security configuration -->
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<false/>
<key>NSAllowsLocalNetworking</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
<key>127.0.0.1</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<!-- iOS permissions -->
<key>NSCameraUsageDescription</key>
<string>Take photos for a new user avatar picture</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Access wifi AP to connect devices</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Access wifi AP to connect devices</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Use photos to set an avatar picture for the user</string>
<!-- Custom fonts -->
<key>UIAppFonts</key>
<array>
<string>HelveticaNeueCyr-Black.ttf</string>
<string>HelveticaNeueCyr-BlackItalic.ttf</string>
<string>HelveticaNeueCyr-Bold.ttf</string>
<string>HelveticaNeueCyr-BoldItalic.ttf</string>
<string>HelveticaNeueCyr-Heavy.ttf</string>
<string>HelveticaNeueCyr-HeavyItalic.ttf</string>
<string>HelveticaNeueCyr-Italic.ttf</string>
<string>HelveticaNeueCyr-Light.ttf</string>
<string>HelveticaNeueCyr-LightItalic.ttf</string>
<string>HelveticaNeueCyr-Medium.ttf</string>
<string>HelveticaNeueCyr-MediumItalic.ttf</string>
<string>HelveticaNeueCyr-Roman.ttf</string>
<string>HelveticaNeueCyr-Thin.ttf</string>
<string>HelveticaNeueCyr-ThinItalic.ttf</string>
<string>HelveticaNeueCyr-UltraLight.ttf</string>
<string>HelveticaNeueCyr-UltraLightItalic.ttf</string>
</array>
<!-- Notifications -->
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
</array>
<!-- Launch screen -->
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<!-- Device requirements -->
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<!-- Orientation -->
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<!-- Status bar behavior -->
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>
Since discordjs/[email protected], for discord.js version 14.23.0 and later, you can now add select menus inside modals.
export const example_modal = new Command()
.setName('example_modal')
.setDescription('Launches an example modal with a drop down.')
.setAction(async (interaction) => {
const modal = new ModalBuilder()
.setCustomId("exampleModal")
.setTitle("Example Modal");
modal.addLabelComponents(
new LabelBuilder()
.setLabel("Favourite Snack")
.setDescription("Select your favourite snack from the list of options below.")
.setStringSelectMenuComponent(new StringSelectMenuBuilder()
.setCustomId("favSnack")
.setPlaceholder("Choose your favourite snack")
.setRequired(true)
.setOptions(
new StringSelectMenuOptionBuilder()
.setLabel("Apple")
.setDescription("A very healty option.")
.setEmoji("🍎")
.setValue("Red Apple"),
new StringSelectMenuOptionBuilder()
.setLabel("Chocolate Pie")
.setDescription("A sweet hot chocolate pie.")
.setEmoji("🥧")
.setValue("Choco Pie"),
new StringSelectMenuOptionBuilder()
.setLabel("Lemon Melon Cookie")
.setDescription("Miku's Favourite")
.setEmoji("🍪")
.setValue("LEMON MELON COOKIE")
)
),
new LabelBuilder()
.setLabel("Reason")
.setDescription("Why is this your favourite snack?")
.setTextInputComponent(
new TextInputBuilder()
.setCustomId("reason")
.setPlaceholder("Why do you like this snack so much?")
.setMaxLength(1_000)
.setRequired(true)
.setStyle(TextInputStyle.Paragraph)
)
)
await interaction.showModal(modal);
})
| Column A | Column B |
|---|---|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
| Column A | Column B |
| -------- | -------- |
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
Update. Instead of using filters (excerpt_more, the_content_more_link, or the_excerpt), I use preg_replace to render_block_core/post-excerpt. This replaces the text as expected. Hope this helps those who may have the same problem.
function custom_search_read_more_text( $block_content ) {
if ( is_search() ) {
global $post;
if ( 'product' === get_post_type( $post ) ) {
$block_content = preg_replace( '/(><a[^>]*>)Read more(<\/a>)/i', '$1' . 'View Product' . '$2', $block_content );
}
}
return $block_content;
}
add_filter( 'render_block_core/post-excerpt', 'custom_search_read_more_text' );
Many mobile operators in Russia block subnets belonging to Amazon, OVH, and other major foreign hosting providers, making certain websites inaccessible. Similarly, some regular internet providers have also implemented such restrictions, while others have not yet done so.
Swift 5. user187676's excellent solution can be extended to make a more general trimming method.
// Drop any character contained in the set characters from the end of self.
// Defaults to trimming spaces, CR, LF
extension String {
func trimTrailing(_ characters: String = " \r\n") -> String {
String(reversed().drop {characters.contains($0)}.reversed())
}
}
and can be used like this:
let valueTrimmed = value.trimTrailing() // Default character set
let valueTrimmed = value.trimTrailing("@\0\u{FF}") // Custom character set
From the introduction and illustration you seem to be describing representing data in triplets. This is common in graph databases (specifically property graphs). Have you considered a property graph, and the openCypher query language which is tailored to it?
Python 3.14 now has a public and complete max-heap API in the heapq module, see the documentation for more information.
Great solution! The MAKEARRAY() approach is both elegant and scalable — perfect for automating repetitive scheduling tasks. I appreciate how you’ve integrated LAMBDA and LET for cleaner logic. For anyone adapting this, pairing it with ARRAYFORMULA or dynamic ranges could make it even more flexible as post lists grow. This is an excellent example of creative formula-based automation in Sheets!
Try adding this code in the redirect callback:
final atLoginScreen = loc = Routes.loginScreen;
if (!atLoginScreen && (authCubit.state is UnAuthenticated)) {
return Routes.loginScreen;
}
you need to run npm run prepare. When you run this command, husky creates a few bash scripts inside: .husky/_/ which are required for husky to work.
Given you're using windows, make sure you have a shell environment capable of running .sh scripts (for example, Git Bash or WSL).
false is a good default value for an (optional) configuration setting because it (false) is often the default value for a Boolean flag in many languages. Using false makes the settings set more intuitive as all individual settings, and therefore the entire set, are "default".
Use this command from apache solr 9.x and read more here https://solr.apache.org/guide/solr/latest/indexing-guide/post-tool.html#examples-using-binsolr-post
.\bin\solr post -c tech_products .\example\exampledocs\*.xml
Go to Azure Portal → Key Vaults → [your vault name] → Access policies.
Grant your service principal:
Then, refresh the variable group setup in DevOps.
| header 1 | header 2 |
|---|---|
| cell 1 | cell 2 |
| cell 3 | cell 4 |
Try to use @RawQuery.
fun update() {
val db = ... // your room database
val dao = db.updateDao()
dao.executeUpdateSql(SimpleSQLiteQuery(query.toString(), arrayOf(valueFor1, valueFor2)))
}
// UpdateDao class
@RawQuery
abstract fun executeUpdateSql(query: SimpleSQLiteQuery): List<Model>
Ok, thank you President Jam for your help
I think I found the problem. you are importing razor_zwei/tpl/layout in tpl/home.gohtml and then changing layout variable. because layout has been defined previously this error happens. use = instead of := and the problem might go away.
https://tanstack.com/query/v4/docs/framework/react/guides/ssr
Haven't tested yet, but The docs says that you can achieve SSR using queryClient.prefetchQuery.
// pages/posts.jsx
import { dehydrate, QueryClient, useQuery } from '@tanstack/react-query'
export async function getStaticProps() {
const queryClient = new QueryClient()
await queryClient.prefetchQuery({ queryKey: ['posts'], queryFn: getPosts })
return {
props: {
dehydratedState: dehydrate(queryClient),
},
}
}
function Posts() {
// This useQuery could just as well happen in some deeper child to
// the "Posts"-page, data will be available immediately either way
const { data } = useQuery({ queryKey: ['posts'], queryFn: getPosts })
// This query was not prefetched on the server and will not start
// fetching until on the client, both patterns are fine to mix
const { data: otherData } = useQuery({
queryKey: ['posts-2'],
queryFn: getPosts,
})
// ...
}