StackOverflow.com

VN:F [1.9.22_1171]
Rating: 9.4/10 (10 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Facing error while making iOS build in xcode 15.2

22 June 2024 @ 6:39 am

`Failed to build iOS app in Xcode 15.2. I am facing this errors ("ld: Undefined symbols" and "clang: error: linker command failed with exit code 1 (use -v to see invocation)"). Before updating pods my project is running fine but after updating pods i am facing these errors. Can anyone tell me how to solve this problem? I have tried to remove pods and installed it again. Deleted archive and drived data folder. Clean project. Restart Xcode and system.`

I'm trying to learn javascript, I need to handle the code for something

22 June 2024 @ 6:39 am

return text.replace(/\n/g, '\n'); return text.replace(/\n/g, '\n'); I got these two codes from somewhere. this code throws it to the second line if there is \n in the sentence. (like yes4 and yes5) I want it to just leave a space instead of jumping to the line. I want javascript code written for me. sample photo

Father process stuck on wait

22 June 2024 @ 6:38 am

I am trying to implement a linux shell like program. Like Bash, my shell have built in commands and can also run external binaries. I have trouble on the pipe command, more specifically, in the case when I get |& between a built in command and a external command, so I need to direct the built in command stderr to the external command input. The father process gets stuck on the wait in the end. I guess the problem is the child process not exiting properly. And again, it is only happening when getting |&, that means j==2 in my program (it makes more sense in the external to external pipe). This is a part of my code: int j = 1; if(string(arguments[pipeIndex]) == "|&"){ j = 2; } int fd[2]; if(pipe(fd) == -1){ perror("smash error: pipe failed"); exit(0); } if(firstCommand){ // if first command in built in if(j == 2){ dup2(fd[1],STDERR_FILENO); }

How would i snipe an telegram group invite link with python?

22 June 2024 @ 6:37 am

When someone sends an invite link in a telegram channel i would want to snipe it and join the group as fast as possible what way could i do this I tried to code an autoclicker but it didnt work and i have no ida how to do this now

Redirecting PDF Files to a WordPress Page

22 June 2024 @ 6:37 am

I can't redirect a PDF URL to a content page on my WordPress site. PDFs are in /wp-content/uploads/. Tried plugins and .htaccess codes with no success. E.g., redirect: /wp-content/uploads/2023/12/some-files.pdf to /my-content-page/. or suggest some plugins that you think can redirect it. I have also tried cpanel redirection

Cordova SDK problem with com.google.android.play:core:1.10.0

22 June 2024 @ 6:36 am

Recently, I have this error message from Google : `com.google.android.play:core:1.10.0 Google Play Core (com.google.android.play:core) has added this note for SDK version 1.10.0: Update your Play Core Maven dependency to an Android 14 compatible version! Your current Play Core library is incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers to improve user security. As a reminder, from August 31, Google Play requires all new app releases to target Android 14. Update to the latest Play Core library version dependency to avoid app crashes: https://developer.android.com/guide/playcore#playcore-migration From September 21, 2024 00:00 (UTC) you won't be able to release new versions of your app containing this SDK version to production or open testing.` I tried many updates of cordov

Instagram Basic Display API return "Sorry, this content isn't available right now"

22 June 2024 @ 6:33 am

I have been trying to fetch posts from instagram user profiles that are not professional/business profiles. I am using below url: https://graph.instagram.com/USER_ID/media?fields=id,caption,media_type,media_url,thumbnail_url,permalink,timestamp&access_token=ACCESS_TOKEN Instead of giving me posts it gives me this error: Sorry, this content isn't available right now Question: How can I use Instagram Basic Display API to fetch page or user posts without having the user to login through instagram or facebook?

Unable to alter the font color within a PYQT6 table. Reading Stack overflow similar questions did not solve my problem

22 June 2024 @ 6:31 am

I wrote a complex program that utilizes a PyQt6 table. I encountered an issue where I was unable to alter the font color within the table. To troubleshoot, I created a smaller program (see below) that generates a single-cell PyQt6 table containing the letter "A" in red font. However, upon executing the code, the character "A" remained black. Below is the code with comments. Your help is highly appreciated. import sys from PyQt6.QtWidgets import QApplication, QTableWidget, QTableWidgetItem, QMainWindow from PyQt6.QtGui import QColor class MainWindow(QMainWindow): def __init__(self): super().__init__() # Set up the table widget self.table = QTableWidget(1, 1) self.table.setHorizontalHeaderLabels(["Character"]) # Create the table item with the "A" character item = QTableWidgetItem("A") # Set the font color of the item to red item.setForeground(QColor(

Some syntax confusion in Python related to string literals

22 June 2024 @ 6:31 am

I am learning to manipulate data using numpy.While I was learning with some course online .I found this piece of code having string literals . w = 200 b = 100 x_i = 1.2 cost_1200sqft = w * x_i + b print(f"${cost_1200sqft:.0f} thousand dollars") I dont know what this " :.0f " means ?

Deploy Front-Back end on the same server

22 June 2024 @ 6:30 am

I need to deploy 2 projects that I just finished, the 'front' is made in ANGULAR v16 and the 'back' (which is just an API) is made in LARAVEL 10, the 'production' Server is a UBUNTU 22.04 to which I have deployed a NGINX + MYSQL + PHP. I have deployed the projects directly in /VAR/WWW/, I have deployed the ANGULAR project in a folder named 'integrator' and I have deployed the LARAVEL project in a folder named BCK_INTEGRATOR. I have the site configuration into a file called 'integrator' as follows: server { listen 80; listen [::]:80; server_name vmi1944075.contaboserver.net; root /var/www/integrador; # Add index.php to the list if you are using PHP index index.php index.html index.htm index.nginx-debian.html; add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Content-Type-Options "nosniff"; location / {

jsfiddle.net

VN:F [1.9.22_1171]
Rating: 9.0/10 (2 votes cast)

A playground for web developers, use it as an online editor for snippets built from HTML, CSS and JavaScript. The code can then be shared with others, embedded on a blog, etc.

SmashingMagazine.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (6 votes cast)

Digital media magazine for designers and developers
Web design plus tips and tricks.

MDX Or: How I Learned To Stop Worrying And Love Multimedia Writing

21 June 2024 @ 6:00 pm

Balancing the age-old simplicity of words on paper with the myriad creative possibilities of the web is a tension as old as the web itself. Leaning into that overlap can bring new dimensions not just to the things we write but also to how we write them.

Uniting Web And Native Apps With 4 Unknown JavaScript APIs

20 June 2024 @ 11:00 am

Have you heard of the Screen Orientation API? What about the Device Orientation API, Vibration API, or the Contact Picker API? Juan Diego Rodriguez is interested in these under-the-radar web features and discusses how they can be used to create more usable and robust progressive web apps if and when they gain broader support.

T-Shaped vs. V-Shaped Designers

19 June 2024 @ 12:00 pm

Job openings typically cast a very restrictive frame for candidates, with long lists of expectations and requirements. But what if this narrow focus can overlook the value of “V”-shaped designers who excel by crossing boundaries, connecting dots, and innovating beyond rigid boxes?

Useful Email Newsletters For Designers

17 June 2024 @ 6:00 pm

Whether you want to take your user research skills to the next level, get better at UX writing, or stay up-to-date on the latest design trends, a newsletter is the perfect opportunity to get the best of the best resources delivered straight to your inbox on a regular basis. In this post, we highlight some design newsletters that you might want to consider subscribing to.

What Are CSS Container Style Queries Good For?

14 June 2024 @ 11:00 am

What are these CSS Container Style Queries, and why should you use them? Juan Diego Rodríguez delves deeply into style queries, and not at the syntax level, but at what exactly they are solving and what sort of use cases you would find yourselves reaching for them in your work if and when they gain browser support.

2-Page Login Pattern, And How To Fix It

13 June 2024 @ 6:00 pm

The 2-page login pattern is becoming pervasive. Here are the reasons behind this design choice and alternative solutions to create a more efficient and user-friendly authentication experience.

The Scent Of UX: The Unrealized Potential Of Olfactory Design

12 June 2024 @ 1:00 pm

Kristian Mikhel covers various practical applications of scents in product experience, from immersive entertainment to healing spaces and medical appliances, and how designers can drive innovation across spheres and disciplines.

How To Hack Your Google Lighthouse Scores In 2024

11 June 2024 @ 6:00 pm

Do perfect Lighthouse scores mean the performance of your website is perfect? As it turns out, Lighthouse is influenced by a number of things that can be manipulated and bent to make sites seem more performant than they really are, as Salma Alam-Naylor demonstrates in several experiments.

Useful CSS Tips And Techniques

7 June 2024 @ 11:00 am

The times for CSS have probably never been more exciting than today. In this quick read, we’ve got some useful CSS tips and techniques for you that you can apply to your work right away. Let’s dive deeper into self-modifying CSS variables, hanging punctuation, and more.

Presenting UX Research And Design To Stakeholders: The Power Of Persuasion

5 June 2024 @ 3:00 pm

There’s more to achieving good UX than research and design. We need to effectively communicate our ideas to gain buy-in from key stakeholders. Victor covers how UX practitioners can harness the power of persuasion and other tactics from the field of communication when presenting research findings and design concepts to key stakeholders.

stackblitz.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (2 votes cast)

Create, edit & deploy fullstack apps — in just one click. From Angular to React or even just HTML, JS and CSS.

firebase.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (2 votes cast)

An on-line real-time database for your apps.

#FirebaserFriday: Frank van Puffelen

18 March 2022 @ 3:58 pm

Paulette McCroskey Social Media Manager, Advanced Systems Group, LLC

How Firebase Performance Monitoring optimized app startup time

9 March 2022 @ 4:58 pm

Viswanathan Munisamy Software Engineer

Using Machine Learning to optimize mobile game experiences

15 February 2022 @ 4:58 pm

Sachin Kotwani Senior Product Manager Elvis Sun Software Engineer Mobile app and game developers can use on-device machine learning in their apps to increase user engagement and grow revenue. We worked with game developer HalfBrick to train and implement a custom model that personalized the user's in-game experience based on the player's skill level and session details, resulting in increased interactions with

Accept Payments with Cloud Firestore and Google Pay

11 February 2022 @ 8:00 pm

Stephen McDonald Developer Relations Engineer, Google Pay Back in 2019 we launched Firebase Extensions - pre-packaged solutions that save you time by providing extended functionality to your Firebase apps, without the need to research, write, or debug code on your own. Since then, a ton of extensions have been added to the platform covering a wide range of features, from email triggers and text messaging, to image resizing, translation, and much more. Google Pay Firebase Extension We're now

Everything you need to know about Remote Config’s latest personalization feature

26 January 2022 @ 6:22 pm

Jon Mensing Product Manager An important part of turning your app into a business is to optimize your user experience to drive the bottom line results you want. A popular way to do this is through manual experimentation, which involves setting up A/B tests for different components of your app and finding the top performing variant. Now, you can save time and effort - and still maximize the objectives you want - with Remote Config’s latest personalization feature. Personalization harnesses the power of machine learning to automatically find the optimal e

What’s new at Firebase Summit 2021

10 November 2021 @ 5:31 pm

Kristen Richards Group Product Manager

Automate your pre-release testing with the App Distribution REST API

8 November 2021 @ 5:59 pm

Liat Berry Product Manager

Improving the Google Analytics dashboard in Firebase

5 November 2021 @ 6:03 pm

Sumit Chandel Developer Advocate If you’ve visited the Firebase console’s Analytics section recently, you might have noticed something new… an updated Analytics dashboard, a new Realtime view and a few other UI enhancements.

How to get better insight into push notification delivery

27 October 2021 @ 3:45 pm

Charlotte Liang Charlotte Liang Software Engineer

Pinpointing API performance issues with Custom URL Patterns

20 October 2021 @ 3:45 pm

Ibrahim Ulukaya Ibrahim Ulukaya Developer Advocate

bitbucket.org

VN:F [1.9.22_1171]
Rating: 8.4/10 (5 votes cast)

The alternative to Github, private and open git repositories.

Notifications in Bitbucket make it even easier to prioritize your work!

6 June 2024 @ 4:00 pm

Exciting news for Bitbucket users! You now have direct access to notifications right within Bitbucket. To view your notifications, simply click… The post Notifications in Bitbucket make it even easier to prioritize your work! appeared first on Bitbucket.

Provide full context to reviewers by including pipeline artifacts within the pull request

29 May 2024 @ 11:45 pm

The code insights functionality in Bitbucket Cloud provides a variety of reports, annotations, and metrics to help your team have full… The post Provide full context to reviewers by including pipeline artifacts within the pull request appeared first on Bitbucket.

Introducing 🥁 A new Bitbucket pull request experience

13 May 2024 @ 8:08 pm

Here at Bitbucket Cloud, we are focused on helping you and your teams have the best possible experience for code review.… The post Introducing 🥁 A new Bitbucket pull request experience appeared first on Bitbucket.

Bring more context to your code with Compass

9 May 2024 @ 11:17 pm

The context challenge Understanding and interacting with code repositories can be frustrating: you often don't get all of the information you… The post Bring more context to your code with Compass appeared first on Bitbucket.

Custom merge checks are now generally available

23 April 2024 @ 5:28 am

We're excited to announce the general availability (GA) of custom merge checks in Bitbucket Cloud. This new capability has seen amazing… The post Custom merge checks are now generally available appeared first on Bitbucket.

Introducing Dynamic Pipelines: A new standard in CI/CD flexibility

23 April 2024 @ 5:05 am

CI/CD workflows can be great – they provide a clear and structured framework, but that same benefit also leads to the… The post Introducing Dynamic Pipelines: A new standard in CI/CD flexibility appeared first on Bitbucket.

Cloud Migration Trials are available for Bitbucket Cloud!

22 April 2024 @ 5:56 pm

We are excited to announce that cloud migration trials (CMTs) are now generally available for new Bitbucket Cloud workspaces. Cloud migration… The post Cloud Migration Trials are available for Bitbucket Cloud! appeared first on Bitbucket.

Evolving Bitbucket Pipelines to unlock faster performance and larger builds

16 April 2024 @ 7:16 am

Bitbucket Pipelines has seen amazing adoption over recent years, with millions of developers and teams using it to build better software… The post Evolving Bitbucket Pipelines to unlock faster performance and larger builds appeared first on Bitbucket.

Generate Bitbucket Cloud pull request descriptions with Atlassian Intelligence 🎉

11 April 2024 @ 8:20 pm

We are thrilled to announce that AI-assisted pull request descriptions is now available for all Bitbucket Premium users. Crafting clear, concise… The post Generate Bitbucket Cloud pull request descriptions with Atlassian Intelligence 🎉 appeared first on Bitbucket.

Uplevel your DevOps automation with new Bitbucket Cloud extensibility

3 April 2024 @ 5:11 am

Today, modern software organizations’ requirements for DevOps tooling has become more sophisticated and bespoke. We hear from many customers that they… The post Uplevel your DevOps automation with new Bitbucket Cloud extensibility appeared first on Bitbucket.

tympanus.net/codrops

VN:F [1.9.22_1171]
Rating: 8.3/10 (6 votes cast)

Useful resources and inspiration for creative minds (html, css, javascript)

Collective #849

21 June 2024 @ 11:00 am

5 hard truths for young designers * Anchor position tool * “Dots” Custom Element

Hover Animations for Terminal-like Typography

19 June 2024 @ 1:53 pm

Some fun Terminal-like character hover animations for lines of text.

Collective #848

18 June 2024 @ 11:00 am

The popover drama * Steadfast Self-Hosting * Creating Daylight: The Devex

Inspirational Websites Roundup #61

18 June 2024 @ 9:32 am

Check out our fresh picks of websites with awesome designs to keep you in the loop with the latest trends.

How to Visual Test Websites with Chromatic and Playwright

17 June 2024 @ 9:22 am

Learn how to visually test websites using Chromatic and Playwright to ensure that web interfaces remain visually consistent and free of bugs.

Collective #847

14 June 2024 @ 11:00 am

Wiggle Bones for Three.js * A modern approach to browser support * How Deep is Your DOM?

Shape Lens Blur Effect with SDFs and WebGL

12 June 2024 @ 9:47 am

An introduction on harnessing the power of Signed Distance Fields (SDFs) to draw shapes in WebGL and create interactive effects, such as lens blur.

Collective #846

11 June 2024 @ 11:00 am

The Gap * Design outside the computer * Why, after 6 years, I’m over GraphQL * Fusion

Case Study: ToyFight — 2024

11 June 2024 @ 10:16 am

A snapshot of how the new ToyFight site was designed and developed.

Collective #845

7 June 2024 @ 11:00 am

Three.js Shading Language * New magic for animations in CSS * Progressively Enhanced Popover Toggletips

vercel.com

VN:F [1.9.22_1171]
Rating: 8.3/10 (3 votes cast)

Deploy your app with now.sh. Free CLI-based deployments.

heartinternet.co.uk

VN:F [1.9.22_1171]
Rating: 8.3/10 (3 votes cast)

Hosting packages for an initial web presence

Black Friday and Cyber Monday sale now on at Heart Internet

22 November 2022 @ 3:31 pm

You can now get up to 33% off the price of a cPanel-managed Web Hosting plan at Heart Internet.

Are your website fonts sending the right message?

3 November 2022 @ 10:18 am

Did you know that the fonts you use on your website can impact the way your customers perceive and interact with your brand?

10 of the best WooCommerce plugins

27 October 2022 @ 10:53 am

Including options for optimising your cart, boosting customer loyalty, and selling tickets.

9 creative alternatives to .com and .co.uk domains

5 October 2022 @ 2:37 pm

Discover the appeal of .ninja, .coffee, .guru and more - all available in our domain name sale.

Save up to 43% on WordPress Hosting in our latest sale

20 September 2022 @ 3:23 pm

We’ve just slashed the price of WordPress Hosting at Heart Internet.

What to do once you’ve bought a domain

7 September 2022 @ 12:48 pm

A guide to what to do next once you've chosen your perfect domain name.

Empowering quotes and motivational tips for entrepreneurs

25 August 2022 @ 8:33 am

Including quotes from Amelia Earhart and Barack Obama, to give you a little pick me up.

5 reasons we love cPanel

10 August 2022 @ 7:09 am

When browsing through hosting packages, you’ll often come across the word cPanel. But what exactly does this word mean and what are the benefits of buying a hosting package with cPanel included?

Four ways domains can help you protect your brand identity online

2 August 2022 @ 9:55 am

Did you know that domains can be so much more than a mere address or waymark? In this blog, we look at how they can be a powerful tool for online brand protection.

It’s World Wide Web Day so here are 5 reasons to get your business online

1 August 2022 @ 9:19 am

Celebrating World Wide Web Day by looking at why it's never been more important to have an online presence.

github.com

VN:F [1.9.22_1171]
Rating: 8.2/10 (5 votes cast)

GitHub is the best way to collaborate with others. Fork, send pull requests and manage all your public and private git repositories.

Execute commands by sending JSON? Learn how unsafe deserialization vulnerabilities work in Ruby projects

20 June 2024 @ 3:00 pm

Can an attacker execute arbitrary commands on a remote server just by sending JSON? Yes, if the running code contains unsafe deserialization vulnerabilities. But how is that possible? In this blog post, we’ll describe how unsafe deserialization vulnerabilities work and how you can detect them in Ruby projects. The post Execute commands by sending JSON? Learn how unsafe deserialization vulnerabilities work in Ruby projects appeared first on The GitHub Blog.

GitHub Enterprise Server 3.13 is now generally available

18 June 2024 @ 5:02 pm

With this version, customers can choose how to best scale their security strategy, gain more control over deployments, and so much more. The post GitHub Enterprise Server 3.13 is now generally available appeared first on The GitHub Blog.

Unlocking the power of unstructured data with RAG

13 June 2024 @ 4:00 pm

Unstructured data holds valuable information about codebases, organizational best practices, and customer feedback. Here are some ways you can leverage it with RAG, or retrieval-augmented generation. The post Unlocking the power of unstructured data with RAG appeared first on The GitHub Blog.

GitHub Availability Report: May 2024

12 June 2024 @ 7:00 pm

In May, we experienced one incident that resulted in degraded performance across GitHub services. The post GitHub Availability Report: May 2024 appeared first on The GitHub Blog.

Leveraging technology on the frontlines of emergency: How communities of developers are taking action

12 June 2024 @ 4:37 pm

From sending emergency alerts about nearby fires to mapping services in refugee camps, developers are taking action to solve global problems. The post Leveraging technology on the frontlines of emergency: How communities of developers are taking action appeared first on The GitHub Blog.

How we improved push processing on GitHub

11 June 2024 @ 5:00 pm

Pushing code to GitHub is one of the most fundamental interactions that developers have with GitHub every day. Read how we have significantly improved the ability of our monolith to correctly and fully process pushes from our users. The post How we improved push processing on GitHub appeared first on The GitHub Blog.

10 years of the GitHub Security Bug Bounty Program

11 June 2024 @ 4:00 pm

Let’s take a look at 10 key moments from the first decade of the GitHub Security Bug Bounty program. The post 10 years of the GitHub Security Bug Bounty Program appeared first on The GitHub Blog.

Top 12 Git commands every developer must know

10 June 2024 @ 1:00 pm

The latest installment of GitHub for Beginners, where we cover the essential Git commands to get you Git-literate. The post Top 12 Git commands every developer must know appeared first on The GitHub Blog.

How GitHub reduced testing time for iOS apps with new runner features

3 June 2024 @ 4:45 pm

Learn how GitHub used macOS and Apple Silicon runners for GitHub Actions to build, test, and deploy our iOS app faster. The post How GitHub reduced testing time for iOS apps with new runner features appeared first on The GitHub Blog.

Arm64 on GitHub Actions: Powering faster, more efficient build systems

3 June 2024 @ 4:31 pm

GitHub Actions now offers Arm-hosted runners with images built by Arm for developers to begin building on the latest and most sustainable processors on the market. The post Arm64 on GitHub Actions: Powering faster, more efficient build systems appeared first on The GitHub Blog.