Gangster script font

Neography: constructed writing systems

2010.03.01 08:33 Neography: constructed writing systems

Reddit's home of scripts invented for secret notes, fictional languages, semantic experiments, and more. Post creative uses of existing constructed scripts or showcase your own!
[link]


2018.02.14 18:39 DemocraticDolphin Writing in the "Vianaic script"

Learning the written script made by u/vilhjalmurengi Pronounced: "vee-ah-NAY-ick” V1 is the original version and it’s the “prettier” of the two, with its long, swooping and low-hanging letters. V2 is the updated Vianaic which removed many of the low-hanging letters and replaced them with letters that stay at or above baseline. The purpose of this was to minimize overlapping if you intend to use Vianaic for journaling or anything which would require multiple horizontal lines of text.
[link]


2013.04.08 17:11 Tengwar

A subreddit for anything related to J. R. R. Tolkien's fictional writing systems Tengwar, Cirth and Sarati.
[link]


2024.05.21 12:55 stevestarr123 Hultrix C++ SDK Test7(QML Parser)

 Hultrix C++ SDK Test7(QML Parser)
By participating in this discussion, you acknowledge that all feedback is licensed under the Apache 2.0 license. https://opensource.org/license/apache-2-0
As we develop the Hultrix C++ SDK, we are creating proof of concepts for various features found in Qt6 to evaluate their feasibility and potential inclusion in our own toolkit.
This is test7.cpp, a study to determine what it would take to build a QML parser. As you can see, it didn't take much effort at all. Granted this is not full featured.

QML Parser:

#include  #include  #include  #include  #include  #include  #include  #include  #include  #include  namespace qml { struct property { std::string name; std::string value; }; struct element { std::string type; std::vector properties; std::vector children; }; } BOOST_FUSION_ADAPT_STRUCT(qml::property, name, value) BOOST_FUSION_ADAPT_STRUCT(qml::element, type, properties, children) namespace qi = boost::spirit::qi; namespace phoenix = boost::phoenix; template  struct QmlParser : qi::grammar { QmlParser() : QmlParser::base_type(start) { using namespace qi; quoted_string %= lexeme['"' >> +(char_ - '"') >> '"']; unquoted_string %= lexeme[+(char_ - (char_("{") char_("}") char_(":") char_(";") qi::space))]; property_rule %= unquoted_string >> ':' >> (quoted_string unquoted_string); properties_rule %= *property_rule; element_rule %= unquoted_string >> '{' >> properties_rule >> *element_rule >> '}'; start = element_rule; } qi::rule quoted_string; qi::rule unquoted_string; qi::rule property_rule; qi::rule(), qi::space_type> properties_rule; qi::rule element_rule; qi::rule start; }; void print_element(const qml::element& el, int indent = 0) { std::string indentation(indent, ' '); std::cout << indentation << "Element type: " << el.type << "\n"; for (const auto& prop : el.properties) { std::cout << indentation << " Property: " << prop.name << " = " << prop.value << "\n"; } for (const auto& child : el.children) { print_element(child, indent + 2); } } int main(int argc, char* argv[]) { if (argc != 2) { std::cerr << "Usage: " << argv[0] << " " << std::endl; return 1; } std::ifstream file(argv[1]); if (!file) { std::cerr << "Error: Could not open file " << argv[1] << std::endl; return 1; } std::stringstream buffer; buffer << file.rdbuf(); std::string input = buffer.str(); auto it = input.begin(); auto end = input.end(); qml::element root; QmlParser parser; bool r = qi::phrase_parse(it, end, parser, qi::space, root); if (r && it == end) { std::cout << "Parse success\n"; print_element(root); } else { std::cout << "Parse failed\n"; std::cout << "Remaining unparsed: '" << std::string(it, end) << "'\n"; } return 0; } 

QML File:

ApplicationWindow { visible: true width: 640 height: 480 title: "Nested QML Example" Rectangle { id: rect1 visible: true width: 800 height: 600 title: "Advanced QML with JavaScript Example" Rectangle { id: mainRect width: parent.width height: parent.height color: "#f0f0f0" ColumnLayout { anchors.centerIn: parent spacing: 20 Text { text: "Advanced QML with JavaScript" font.pixelSize: 24 Layout.alignment: Qt.AlignCenter } RowLayout { spacing: 10 Layout.alignment: Qt.AlignCenter Button { id: button1 text: "Button 1" } Button { id: button2 text: "Button 2" } Button { id: button3 text: "Button 3" } } Rectangle { width: 200 height: 100 color: "#ffcc00" radius: 10 Text { id: messageLabel text: "Press a button" anchors.centerIn: parent font.pixelSize: 18 } } Slider { id: slider width: 300 from: 0 to: 100 value: 50 } ProgressBar { id: progressBar width: 300 value: slider.value } } } } } 

Screenshot:

https://preview.redd.it/xi10qdapgr1d1.png?width=1288&format=png&auto=webp&s=e267bbf93b59017d81fccd2d506c03ea96fdcc9f
submitted by stevestarr123 to linuxnextgen [link] [comments]


2024.05.21 12:47 AlphaKilo823 Help me ID this retro script font please!

Help me ID this retro script font please! submitted by AlphaKilo823 to identifythisfont [link] [comments]


2024.05.21 12:12 TheHirou How do i make it so the x position doesn't have to actually equal 1 for the shape key to equal 1?

I tried to change the var thingy but seems like it's unrelated. In this case, if driver's x is 0,13, shape key should be 1
https://preview.redd.it/cy96fvxc8r1d1.png?width=1920&format=png&auto=webp&s=6627b5369ce974a20e8cc43534f5a0ea78182496
submitted by TheHirou to blenderhelp [link] [comments]


2024.05.21 12:00 IcyChoice123 Linking table alignment from word .docx to indesign

Hi,
I am trying to link around 90 small word documents, 1 page tables to Indesign for layout over graphics and embedded fonts export to PDF.
Indesign seems to work well if I map the styles from Word to styles in Indesign for font type, size, leading, indent.
But that doesn't transfer the centered table alignment of word table cells. Is there any way to do that? I can do it with script, but that resets when word document gets updated as it pulls it again.
submitted by IcyChoice123 to indesign [link] [comments]


2024.05.21 11:42 Astaudan Dynamic content loading blocks functionalities

I am developing a Google Docs add-on aimed at automating the drafting of contracts. I have various html files, and to prevent the laggy and ugly problem of having to switch between different html's via the sidebar, I added a main sidebar, which provides a navigation menu and a container to load the different html files into. That works. The only problem is that all of my functionalities (scripts) seem to be unresponsive when accessing them through the navigation menu. I have no clue what I'm doing wrong. Anyone got some insights? You find the MainSidebar.html hereunder.
Thanks!
        
submitted by Astaudan to GoogleAppsScript [link] [comments]


2024.05.21 11:21 RocketPages Guide to Building a Website: Steps for Designers

Creating a website involves several key steps, from initial planning to the final launch and ongoing maintenance. Once launched, our underdevelopment platform, RocketPages.IO, will make it all a breeze for users. For updates on our progress and upcoming MVP launch, follow us on X (erstwhile twitter) https://x.com/RocketPagesIO/
Meanwhile, here’s a comprehensive guide for website designers to follow, whether they are building a site for themselves or a client:

1. Planning and Research

2. Define Scope and Requirements

3. Design

4. Content Creation

5. Development

6. Testing

7. Launch

8. Maintenance and Updates

Additional Considerations

By following these steps, a website designer can systematically approach the creation of a website, ensuring that the final product meets the client's needs and provides a positive user experience.
https://preview.redd.it/d0wjlzqa0r1d1.png?width=1500&format=png&auto=webp&s=551c524063211e8fd6f3ffac23ee04689507baf4
submitted by RocketPages to WebsiteBuilder [link] [comments]


2024.05.21 11:15 JOWQH The Blending of Luo Shen Fu with Modern Design: Exploring the Art and Craftsmanship of the Varmilo Goddess Luo Keyboard

The Blending of Luo Shen Fu with Modern Design: Exploring the Art and Craftsmanship of the Varmilo Goddess Luo Keyboard
The Goddess Luo keyboard is a unique masterpiece that blends classical Chinese literature with cutting-edge keyboard technology. Drawing inspiration from "Luo Shen Fu(Ode to the Goddess of the Luo River)," a poem composed over 1,800 years ago during China’s turbulent Three Kingdoms era by the poet Cao Zhi(Cao Cao's third son), this keyboard pays homage to Goddess Luo—identified as Zhen Ji, celebrated for her beauty and enigmatic presence. To aid Western consumers in appreciating this deep historical and cultural context, we've integrated symbols and text from the poem, reinterpreted through contemporary technology.

Goddess Luo
Excerpt from Ode to the Goddess of the Luo River
Historical Context and Intrigue
Zhen Ji was historically the daughter-in-law of Yuan Shao, an adversary of Cao Cao(the King of Wei Kingdom), and married Cao Pi(Cao Cao's eldest son), Cao Zhi's brother, after Yuan Shao's defeat. Goddess Luo is one of the most beautiful goddesses in ancient Chinese mythology. Cao Zhi compared Zhen Ji to her to praise Zhen Ji’s beauty and purity. Though "Ode to the Goddess of the Luo River" is Cao Zhi's lyrical tribute to Zhen Ji's beauty, the poet and Zhen Ji were never united, weaving a tale of unrequited love into the poem’s narrative
Keycap Design and Scroll-Style
· Overall Color and Material: Inspired by Jin Dynasty aesthetics of "purity" and "simplicity," the Goddess Luo Keyboard employs a pale aqua reminiscent of light bamboo leaves, symbolizing tranquility and depth, in line with the serene and mystical aura of the Goddess Luo. The keycaps are made from durable PBT material to ensure the longevity of text and designs.
Jin Dynasty: Han Fu
· Scroll-Style: The keyboard is crafted to emulate the form of ancient Chinese scrolls, unfolding from right to left, linearly presenting the story and poetic imagery of "Ode to the Goddess of the Luo River." This layout aligns with traditional Chinese writing and reading directions and allows users to progressively engage with the poem's narrative and aesthetics.
Scroll-style communication, unfolding from right to left
Keycap Details:
· Right Enter Key: Features a mounted scholar symbolizing Cao Zhi's journey and return, linked to the line "Leaving the capital, to return to my fief in the east" expressing the poet's departure from the bustling city back to his roots.
· 2U '0' Key: Depicts distant mountains and rivers, representing the hardships of travel and longing for the distant, associated with "The sun sets in the west, the journey tires the horses," reflecting the weariness of travel and the solitude of dusk.
Keycap Detail 1
· Directional Keys: Embody various natural and poetic themes from the poem.
Keycap Detail 2
· Up Key (Morning Glow): Represents the dawn of a new day and hope, symbolizing Goddess Luo's beauty and vitality akin to the morning sun.
· Down Key (Lotus): The lotus emerging from the water, commonly symbolizing the purity and beauty of women in China, resonates with the noble image of Goddess Luo.
· Left Key (Spring Pine): The pine tree in spring, symbolizing resilience and vitality, reflects the youthful vigor of Goddess Luo.
· Right Key (Autumn Chrysanthemum): The chrysanthemum in autumn, representing noble and solitary beauty, aligns with Goddess Luo's independent and pure character.
· Enter and Shift with Enamel Piece: Correspond to the iconic lines "As elegant like a swan, as graceful as a swimming loong" Here, "loong" refers to the mythical Chinese dragon, distinct from the Western dragon archetype. In Chinese culture, the loong is revered as a symbol of power, strength, and good luck, embodying regality and grace—attributes perfectly mirroring Goddess Luo's portrayed beauty.
Enamel Piece 1
Enamel Piece 2
Integration of Chinese and English Characters
The letter area combines Chinese and English characters, where each Chinese character originates from "Ode to the Goddess of the Luo River," and their initials correspond to the respective English letters, such as "其" (qí) for "Q". Additionally, these characters are styled in semi-cursive and regular script, popular during the Wei and Jin dynasties. Regular script was the preferred choice for official documents and scholarly works due to its orderly appearance, while semi-cursive was favored in personal correspondence and informal documents for its speed and artistic flair.

Font details 1
Font details 2
Top Artistic Illustration and Rear Design
· Top Artistic Illustration: The keyboard's top features an illustration of Cao Zhi gazing toward Goddess Luo, conveyed through modern illustration techniques to express the love and unreachable sorrow within "Ode to the Goddess of the Luo River."
Goddess Luo
Poet Cao Zhi
· Rear Grille Glass and Calligraphy: The rear adjustable grille glass features interactive elements like the opening and closing of lotuses and the shining sun, capturing moments such as "Radiant as the rising morning glow" and "Blazing like the lotus emerging from the water," symbolizing Goddess Luo's sublime beauty at moments when her eyes open.

The moment Goddess Luo opened her eyes
Technological Innovations
· Multi-mode Connectivity and Low Latency: The keyboard supports wired, Bluetooth, and 2.4G wireless connections, equipped with advanced chip technology to ensure response times as low as 1ms, catering to high-end users and gaming enthusiasts.
ST+Nordic Chip
Physical Mode Switch
· Gasket Mount: Incorporates a gasket structure and various layers of sound insulation materials, enhancing key feedback and sound quality for an optimal typing experience. The structure uses silicone pieces to isolate the keycaps from the keyboard base, effectively reducing vibrations and improving the sound of keystrokes.

Internal Structure
Conclusion
The Goddess Luo keyboard is Varmilo's pinnacle product for 2024, blending our reflections on classical culture and art with modern expression and showcasing the best of our current hardware and software technology. After a year of development, we are proud to present this product and hope it will garner the interest and support of our community.
Desktop Matching Picture 1
Desktop Matching Picture 2
Desktop Matching Picture 3
submitted by JOWQH to MechanicalKeyboards [link] [comments]


2024.05.21 10:49 toolszu How to create a image converter tools website in 2024 (Toolszu.com)

How to create a image converter tools website in 2024 (Toolszu.com)
Creating an image converter website involves several steps, including designing the user interface, implementing backend logic for image processing, and deploying the website. Here’s a high-level overview of how you can achieve this:
  1. Define the RequirementsSupported Image Formats: Decide which formats your converter will support (e.g., JPEG, PNG, GIF, BMP, TIFF).Conversion Features: Determine the types of conversions (e.g., format conversion, resizing, compression).User Interface: Plan how the website will look and what functionalities it will have (e.g., file upload, download button).
  2. Design the User InterfaceWireframes and Mockups: Create wireframes and mockups for your website using tools like Figma, Sketch, or Adobe XD.HTML/CSS: Build the frontend using HTML for structure and CSS for styling.
  3. Develop the FrontendHTML: Structure your web pages.
Image Converter

Image Converter

CSS: Style your web pages./* styles.css */ body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #f0f0f0; }
.container { background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
h1 { margin-bottom: 20px; }
form { display: flex; flex-direction: column; }
input, select, button { margin-bottom: 10px; padding: 10px; }JavaScript: Handle user interactions and AJAX requests.// script.js document.getElementById('upload-form').addEventListener('submit', async function(e) { e.preventDefault(); const fileInput = document.getElementById('file-input'); const formatSelect = document.getElementById('format-select'); const formData = new FormData(); formData.append('file', fileInput.files[0]); formData.append('format', formatSelect.value);
const response = await fetch('/convert', { method: 'POST', body: formData }); const blob = await response.blob(); const url = URL.createObjectURL(blob); const output = document.getElementById('output'); output.innerHTML = `Download Converted Image`; 
});
  1. Develop the BackendChoose a Framework: Use a web framework like Flask (Python), Express (Node.js), or Django (Python).Install Dependencies:For Python (Flask): pip install flask pillowFor Node.js (Express): npm install express multer sharpBackend Code:Flask Example:# app.py from flask import Flask, request, send_file from PIL import Image import io
app = Flask(name)
@app.route('/convert', methods=['POST']) def convert_image(): file = request.files['file'] format = request.form['format'] img = Image.open(file.stream) img_io = io.BytesIO() img.save(img_io, format.upper()) img_io.seek(0) return send_file(img_io, mimetype=f'image/{format}', as_attachment=True, attachment_filename=f'converted.{format}')
if name == 'main': app.run(debug=True)Express Example:// server.js const express = require('express'); const multer = require('multer'); const sharp = require('sharp'); const path = require('path'); const app = express();
const storage = multer.memoryStorage(); const upload = multer({ storage: storage });
app.post('/convert', upload.single('file'), async (req, res) => { const format = req.body.format; const image = sharp(req.file.buffer); const convertedImage = await image.toFormat(format).toBuffer(); res.set('Content-Disposition', attachment; filename=converted.${format}); res.set('Content-Type', image/${format}); res.send(convertedImage); });
app.listen(3000, () => { console.log('Server started on http://localhost:3000'); });
  1. Deploy the WebsiteChoose a Hosting Service: Consider platforms like Heroku, Vercel, or AWS.Deployment Steps:Heroku:Initialize a Git repository: git initCreate a Heroku app: heroku createPush your code: git push heroku masterVercel:Install Vercel CLI: npm install -g vercelDeploy your project: vercel
  2. Ensure SecurityFile Size Limitations: Implement file size limits to prevent abuse.Input Validation: Validate and sanitize inputs to prevent security vulnerabilities.HTTPS: Ensure your website uses HTTPS for secure communication.By following these steps, you can create a fully functional image converter website. Adjust and expand on these steps based on your specific needs and preferences.
submitted by toolszu to Toolszu [link] [comments]


2024.05.21 08:49 ayonc46 How Do You Develop a Custom WordPress Website?

To develop a custom WordPress website, plan your site structure and design. Next, install WordPress on your hosting server and choose a suitable theme or create a custom one. Customize the design and functionality using HTML, CSS, and PHP coding as needed. Add content, including pages, posts, and media, to populate your site. Finally, test your site thoroughly across different browsers and devices to ensure it functions correctly before launching it to the public.
What are the initial steps to create a personalized WordPress site?
  1. Define your goals and objectives for the website.
  2. Choose a suitable domain name for your WordPress site.
  3. Select a reliable web hosting provider that meets your needs.
  4. Install WordPress on your hosting server.
  5. Choose a theme that aligns with your brand and design preferences.
  6. Customize the theme settings and appearance to match your desired look and feel.
  7. Create essential pages such as Home, About, Contact, and Services.
  8. Install and configure necessary plugins for added functionality.
  9. Set up user roles and permissions as per your requirements.
  10. Develop a content strategy and plan for creating and organizing your website content.

Step-by-Step Guideline Develop a Custom WordPress Website

Step 1: Choose a Domain Name and Hosting
Your domain name is your website's address on the internet, like www.yoursite.com. Choose a domain name that's easy to remember, relevant to your brand, and not too long. Next, you'll need hosting, which is like renting space on the internet to store your website files. Look for a hosting provider that offers reliable service, good customer support, and enough storage and bandwidth for your needs.
Step 2: Install WordPress
WordPress is a popular platform for building websites because it's easy to use and highly customizable. Many hosting providers offer a one-click WordPress installation, which makes getting started a breeze. Simply log in to your hosting account, find the WordPress installer, and follow the prompts to set up your site. Once WordPress is installed, you can log in to your site's dashboard and start customizing it to your liking.
Step 3: Select a Theme
A WordPress theme determines the overall look and layout of your website. There are thousands of free and premium themes available, so take your time to find one that fits your style and the goals of your site. Look for a theme that's responsive (meaning it looks good on all devices), easy to customize, and well-supported by its developers. Once you've chosen a theme, you can install it on your WordPress site with just a few clicks.
Step 4: Customize Your Theme
Once you've installed your theme, it's time to customize it to make it your own. Most WordPress themes come with built-in customization options that allow you to change things like colors, fonts, and layouts without needing to know any code. Use the theme customizer in your WordPress dashboard to tweak your site's appearance until it looks just the way you want it to. Don't be afraid to experiment until you find the perfect look for your website.
Step 5: Add Content
With your theme customized, it's time to start adding content to your website. Create pages for important information like your Home page, About page, Services page, and Contact page. Use the WordPress editor to add text, images, videos, and other media to your pages. Write clear, engaging copy that tells visitors what your website is about and encourages them to explore further. Remember to proofread your content carefully before publishing to ensure it's free of errors.
Step 6: Install Plugins
WordPress plugins are like apps that add extra features and functionality to your website. There are thousands of plugins available for everything from contact forms to social media integration to search engine optimization. Think about the goals of your website and choose plugins that will help you achieve them. Be selective about the plugins you install, as too many can slow down your site and cause conflicts. Install and activate your chosen plugins from the WordPress plugin directory, then configure them to suit your needs.
Step 7: Optimize for SEO
Search engine optimization (SEO) is the process of improving your website's visibility in search engine results. A well-optimized website is more likely to rank higher in search results, driving more traffic to your site. Install an SEO plugin like Yoast SEO or All in One SEO Pack to help you optimize your content for relevant keywords, add meta tags and descriptions, and improve your site's overall SEO performance. Take the time to research keywords relevant to your niche and incorporate them naturally into your content for the best results.
Step 8: Test and Launch
Before you launch your website, it's important to test it thoroughly to ensure everything is working correctly. Check your site on different devices and browsers to make sure it looks good and functions properly. Test all links, forms, and interactive elements to make sure they work as expected. Once you're confident that everything is working as it should, it's time to launch your website and share it with the world. Celebrate your hard work and take pride in your new custom WordPress website!
Step 9: Maintain and Update
Building a website is just the beginning – maintaining it is an ongoing process. Regularly update your content to keep it fresh and relevant, and update your plugins and themes to ensure your site stays secure and performs well. Monitor your site's performance using tools like Google Analytics, and make adjustments as needed to improve usability and user experience. Listen to feedback from your visitors and make changes accordingly to keep your website running smoothly and meeting the needs of your audience.
What do you consider to select hosting and a domain name for your WordPress site?
Firstly, you'll want to choose a hosting provider that offers good speed and reliability. Look for one that has a solid reputation and good customer support in case you run into any issues. Consider your budget too, as hosting costs can vary.
As for the domain name, it's important to choose something that's easy to remember and relevant to your site's content. Avoid using complicated or obscure words that might be hard for people to spell or remember. It's also a good idea to check if your desired domain name is available on social media platforms to maintain consistency across your online presence. Lastly, think about whether you want to use a .com, .net, or other domain extension, keeping in mind what best suits your site's purpose and audience.
How do you evaluate and choose a theme that suits your brand and design preferences?
Firstly, consider your brand identity and the message you want to convey to your audience. Look for a theme that aligns with the style, colors, and overall feel of your brand.
Next, think about the functionality you need. Do you want a theme that's highly customizable or one that's more straightforward? Consider features like layout options, customization options, and compatibility with plugins you might want to use.
It's also important to check the responsiveness of the theme. Make sure it looks good and functions well on various devices, including smartphones and tablets.
Lastly, take some time to browse through different themes and read reviews from other users. This can give you a better idea of what to expect and help you make an informed decision that suits your brand and design preferences.
What essential pages should you create first?
How do you decide which plugins to install?
  1. Identify Needs: Determine the specific functionality you require for your site.
  2. Research: Look for plugins that offer the features you need.
  3. Ratings and Reviews: Check plugin ratings and read user reviews to gauge reliability and performance.
  4. Compatibility: Ensure the plugin is compatible with your WordPress version and other installed plugins.
  5. Active Installations: Choose plugins with a high number of active installations for reliability and community support.
Example:
How do you integrate custom features and functionalities into your WordPress site?
Integrating custom features and functionalities into your WordPress site involves adding extra capabilities beyond what comes with the standard installation. One way to do this is by using plugins. These are like apps for your website, and they can add all sorts of new features, from contact forms to e-commerce shops.
For example, let's say you want to add a feature for visitors to book appointments on your site. You could search for a booking plugin like "Bookly" or "Appointment Booking Calendar." After installing and activating the plugin, you'd typically set it up by following the provided instructions, which might involve configuring settings, creating booking forms, and placing them on your site where you want them to appear.
Another way to integrate custom features is by adding code directly to your site. This could involve writing your own custom functions or modifying existing ones. For instance, if you wanted to add a custom sidebar widget displaying your latest Instagram photos, you might need to write some PHP code to fetch the photos from Instagram's API and display them on your site.
In summary, integrating custom features and functionalities into your WordPress site can be done through plugins or by adding custom code, allowing you to tailor your site to your specific needs and preferences.
How do you manage user roles and permissions?
RoleCapabilitiesHow to Manage AdministratorCan do everything, including managing other users, installing plugins, and changing themes.Go to Users > All Users in the dashboard, find the user, and change their role to Administrator. EditorCan publish and manage posts, including those of other users.Go to Users > Add New, fill in user details, and assign the role of Editor. AuthorCan publish and manage their own posts only.In Users > All Users, select a user and change their role to Author. ContributorCan write and manage their own posts but cannot publish them.Add or edit a user and assign the role of Contributor. SubscriberCan only manage their own profile and read content.Change the user role to Subscriber in the Users section.
What security measures should you implement to protect your custom WordPress website?
To protect your custom WordPress website, you need to implement several security measures. Here are some specific steps:
  1. Install a Security Plugin: Use plugins like Wordfence or Sucuri. They offer features like malware scanning and firewall protection.
  2. Use Strong Passwords: Make sure all users have strong, unique passwords. A good password includes letters, numbers, and symbols.
  3. Enable Two-Factor Authentication (2FA): This adds an extra layer of security. Users will need to enter a code from their phone in addition to their password.
  4. Keep WordPress Updated: Always update WordPress to the latest version. Updates fix security vulnerabilities.
  5. Limit Login Attempts: Use a plugin like Limit Login Attempts Reloaded to prevent brute-force attacks.
  6. Change the Default "admin" Username: Don’t use "admin" as your username. Choose something unique to make it harder for hackers to guess.
  7. Use HTTPS: Get an SSL certificate to encrypt data between your website and visitors. Most hosting providers offer this for free.
  8. Backup Your Site Regularly: Use plugins like UpdraftPlus to create regular backups. If your site gets hacked, you can restore it.
How do you ensure responsiveness and mobile-friendliness in a custom WordPress site?
To ensure your custom WordPress site is responsive and mobile-friendly, follow these steps:
  1. Pick a Responsive Theme: Start with a theme known for being responsive, such as Astra or GeneratePress.
  2. Use a Mobile-Friendly Plugin: Install plugins like WP Touch, which help make your site mobile-friendly.
  3. Apply Media Queries: Add CSS media queries to adjust your layout for different screen sizes. For example:
(Css code)@media (max-width: 768px) {
.sidebar { display: none; }
.content { width: 100%; }
}
  1. Flexible Images and Videos: Ensure images and videos resize properly with:
(Css code)img, video { max-width: 100%; height: auto; }
  1. Mobile Menu: Use a plugin like Responsive Menu to create a user-friendly mobile menu.
  2. Optimize for Speed: Compress images using a plugin like Smush and enable caching with a plugin like W3 Total Cache.
  3. Testing: Regularly test your site on different devices and browsers. Tools like Google’s Mobile-Friendly Test and BrowserStack can help.
How do you troubleshoot and debug issues that arise during the development of a custom WordPress site?
Troubleshooting and debugging issues during the development of a custom WordPress site involves several steps. Here are some real-world challenges and specific issues you might encounter:
  1. White Screen of Death (WSOD): This issue often occurs due to PHP errors, plugin conflicts, or exhausted memory limits. Solution: Enable WordPress debugging by adding define('WP_DEBUG', true); to your wp-config.php file to display error messages. Check the error log for specific issues.
  2. Plugin Conflicts: Plugins can conflict with each other or with the theme, causing functionality problems.Solution: Deactivate all plugins and reactivate them one by one to identify the conflicting plugin. Check for updates or consider alternative plugins.
  3. Theme Issues: Custom themes might have coding errors or compatibility issues with WordPress updates. Solution: Use a child theme for customizations to avoid losing changes during updates. Validate your theme code using tools like Theme Check.
  4. Database Errors: Corrupt or misconfigured databases can lead to errors or data loss. Solution: Use phpMyAdmin to check and repair database tables. Ensure regular backups are in place to restore data if needed.
  5. Broken Links and 404 Errors: Incorrect URLs or deleted pages can lead to 404 errors, affecting user experience and SEO. Solution: Use a plugin like Redirection to manage and fix broken links. Regularly check for 404 errors using tools like Google Search Console.
  6. Slow Performance: Poor performance can result from unoptimized images, bulky plugins, or inefficient code. Solution: Optimize images, use caching plugins like W3 Total Cache, and minimize CSS and JavaScript files. Profile your site using tools like Query Monitor to identify slow queries.
  7. JavaScript Errors: JavaScript errors can break site functionality, especially interactive features. Solution: Use the browser’s developer tools (F12) to inspect the console for JavaScript errors. Fix issues by debugging the scripts or checking for library conflicts.
  8. Security Vulnerabilities: Sites can be vulnerable to attacks if not properly secured. Solution: Regularly update WordPress, themes, and plugins. Use security plugins like Wordfence, and implement strong passwords and two-factor authentication.
  9. Responsive Design Issues: Ensuring the site looks good on all devices can be challenging. Solution: Use responsive design techniques and test the site on various devices and screen sizes. Tools like BrowserStack can help simulate different environments.
  10. User Role and Permission Problems: Incorrect configuration of user roles and permissions can lead to security and functionality issues. Solution: Use the User Role Editor plugin to manage and troubleshoot roles and capabilities. Ensure that users have appropriate access levels.
How do you create a seamless user experience (UX) in a custom WordPress site?
To create a seamless user experience (UX) in a custom WordPress site, start by choosing a clean, responsive theme that looks good on all devices. Ensure your site loads quickly by optimizing images and using caching plugins like W3 Total Cache. Simplify navigation with clear menus and breadcrumbs, making it easy for users to find what they need. Use readable fonts and sufficient white space to make content easy to read. Add a search bar so visitors can quickly locate information. Implement intuitive forms with clear labels and error messages. Regularly test your site on different devices and browsers to ensure everything works smoothly. By focusing on these details, you can make your WordPress site user-friendly and enjoyable to navigate.
How do you implement e-commerce functionality in a custom WordPress site?
To implement e-commerce functionality in a custom WordPress site, start by installing a reliable e-commerce plugin like WooCommerce. Set up your store by adding products with detailed descriptions, prices, and images. Configure payment gateways such as PayPal or Stripe to accept online payments securely. Customize the appearance of your store using built-in themes or by modifying CSS styles. Create user-friendly navigation with categories and filters to help customers easily browse products. Implement shopping cart functionality to allow users to add items and proceed to checkout seamlessly. Set up shipping options and rates based on location and weight. Test the entire purchasing process to ensure it works smoothly for users. Regularly update plugins and monitor sales to optimize your e-commerce site for success.
Conclusion
Creating a custom WordPress website involves several key steps. You start by deciding on your site's goals and picking a domain name and hosting provider. Then, you install WordPress, choose a theme, and customize it to match your brand. Next, you add content, like pages and posts, and install plugins for extra features, such as contact forms or SEO optimization. You'll want to make sure your site is responsive and works well on mobile devices. Lastly, you test everything thoroughly before launching your site to ensure it's ready for visitors. And don't forget to keep it updated and secure over time!
submitted by ayonc46 to redditreviewer [link] [comments]


2024.05.21 04:38 xiaohanyu Improve website static assets loading performance to 100x with PWA service worker

Improve website static assets loading performance to 100x with PWA service worker
Hello,
Recently I am upgrading my produce PPResume to PWA, with Service Worker API - Web APIs MDN (mozilla.org). This lead to a boosted performance and I'd like to share some learnings here.
Let's take a preview on perf benchmarks with chrome devtools:
  • without service worker, takes hundreds of ms to load js/css from remote server
Devtools loading assets without service worker cache
  • with service worker, takes less than 3-5ms to load js/css from remote server, which is 100x improvement
Devtools loading assets with service worker
I wrote a post with a live demo, you can see how fast the website works and how it can still partially work under offline network conditions.
Technical details:
browser has several different cache:
  • service worker cache, which is programmable by client side JS
  • http cache (disk cache + memory cache), controlled by browser + server (via many HTTP headers, like the famous `Cache-Control`)
And service worker cache has higher priority (according to docs here).
  • service worker cache are programmable, fully in browser side js, while HTTP cache is controlled by both server and browser side, so if you use some hosted solutions (netlify, vercel etc), you don't actually have full control for server side and must rely on the hosting platform to set correct `Cache-Control` headers in order to utilize HTTP cache to its maximum (for my case, it seems that my hosting solution do not actually set the correct HTTP header I want)
  • service worker cache has the ability to work fully offline, demo here, I don't know whether we could get the same offline experience with just HTTP cache
  • service worker cache can have advanced cache strategy such as stale while revalidate, which could further optimize the user experience, and this cache even works for dynamic request `fetch` request.
Overall I think this is a "invest small, earn big" initiative that can be applied to web based SaaS. Hope this helps!
submitted by xiaohanyu to SideProject [link] [comments]


2024.05.21 04:25 All-Greek-To-Me Should the names of non-speaking animated characters be capitalized?

I am writing an animated piece, so any non-speaking role is just animation and not indicative of someone that needs to be hired as a actor. Right? So my question is, do only the speaking roles get capitalized names in the script, or do all characters get capitalized names upon their introduction no matter if they require an voice-actor or not?
For example, say I have:
The TAXI DRIVER stands by his car.
This taxi driver shows up a small handful of times in separate scenes to drive main characters around, and then he gets shot a few scenes later. He never says anything. Is the above format correct, or can I just introduce him with The taxi driver stands by his car ?
Is it The crowd of gangsters looks on, then a BURLY GANGSTER runs forward. He is immediately shot. Or is it The crowd of gangsters looks on, then a burly gangster runs forward. He is immediately shot ?
submitted by All-Greek-To-Me to Screenwriting [link] [comments]


2024.05.21 03:23 Status-Meat-6519 Script for Font change on Outlook "NEW"

Hi Everyone,
I am pasting my script below; the script changes the font and colour in the "OLD" Outlook but not on "NEW" Outlook.
Please I require to run this similar on the new one as Microsoft will be forcing everyone to use "NEW" Outlook.
Windows Registry Editor Version 5.00
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\MailSettings]
"Template"=hex(2):00,00
"MarkCommentsWith"=hex:00,00
"ComposeFontComplex"=hex:3c,68,74,6d,6c,3e,0d,0a,0d,0a,3c,68,65,61,64,3e,0d,0a,\
3c,73,74,79,6c,65,3e,0d,0a,0d,0a,20,2f,2a,20,53,74,79,6c,65,20,44,65,66,69,\
6e,69,74,69,6f,6e,73,20,2a,2f,0d,0a,20,73,70,61,6e,2e,50,65,72,73,6f,6e,61,\
6c,43,6f,6d,70,6f,73,65,53,74,79,6c,65,0d,0a,09,7b,6d,73,6f,2d,73,74,79,6c,\
65,2d,6e,61,6d,65,3a,22,50,65,72,73,6f,6e,61,6c,20,43,6f,6d,70,6f,73,65,20,\
53,74,79,6c,65,22,3b,0d,0a,09,6d,73,6f,2d,73,74,79,6c,65,2d,74,79,70,65,3a,\
70,65,72,73,6f,6e,61,6c,2d,63,6f,6d,70,6f,73,65,3b,0d,0a,09,6d,73,6f,2d,73,\
74,79,6c,65,2d,6e,6f,73,68,6f,77,3a,79,65,73,3b,0d,0a,09,6d,73,6f,2d,73,74,\
79,6c,65,2d,75,6e,68,69,64,65,3a,6e,6f,3b,0d,0a,09,6d,73,6f,2d,61,6e,73,69,\
2d,66,6f,6e,74,2d,73,69,7a,65,3a,31,30,2e,30,70,74,3b,0d,0a,09,6d,73,6f,2d,\
62,69,64,69,2d,66,6f,6e,74,2d,73,69,7a,65,3a,31,31,2e,30,70,74,3b,0d,0a,09,\
66,6f,6e,74,2d,66,61,6d,69,6c,79,3a,22,41,72,69,61,6c,22,2c,73,61,6e,73,2d,\
73,65,72,69,66,3b,0d,0a,09,6d,73,6f,2d,61,73,63,69,69,2d,66,6f,6e,74,2d,66,\
61,6d,69,6c,79,3a,41,72,69,61,6c,3b,0d,0a,09,6d,73,6f,2d,68,61,6e,73,69,2d,\
66,6f,6e,74,2d,66,61,6d,69,6c,79,3a,41,72,69,61,6c,3b,0d,0a,09,6d,73,6f,2d,\
62,69,64,69,2d,66,6f,6e,74,2d,66,61,6d,69,6c,79,3a,22,54,69,6d,65,73,20,4e,\
65,77,20,52,6f,6d,61,6e,22,3b,0d,0a,09,6d,73,6f,2d,62,69,64,69,2d,74,68,65,\
6d,65,2d,66,6f,6e,74,3a,6d,69,6e,6f,72,2d,62,69,64,69,3b,0d,0a,09,63,6f,6c,\
6f,72,3a,23,30,30,31,43,35,34,3b,7d,0d,0a,2d,2d,3e,0d,0a,3c,2f,73,74,79,6c,\
65,3e,0d,0a,3c,2f,68,65,61,64,3e,0d,0a,0d,0a,3c,2f,68,74,6d,6c,3e,0d,0a
"ComposeFontSimple"=hex:3c,00,00,00,1f,00,00,f8,00,00,00,00,c8,00,00,00,00,00,\
00,00,00,1c,54,00,00,22,41,72,69,61,6c,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"ReplyFontComplex"=hex:3c,68,74,6d,6c,3e,0d,0a,0d,0a,3c,68,65,61,64,3e,0d,0a,\
3c,73,74,79,6c,65,3e,0d,0a,0d,0a,20,2f,2a,20,53,74,79,6c,65,20,44,65,66,69,\
6e,69,74,69,6f,6e,73,20,2a,2f,0d,0a,20,73,70,61,6e,2e,50,65,72,73,6f,6e,61,\
6c,52,65,70,6c,79,53,74,79,6c,65,0d,0a,09,7b,6d,73,6f,2d,73,74,79,6c,65,2d,\
6e,61,6d,65,3a,22,50,65,72,73,6f,6e,61,6c,20,52,65,70,6c,79,20,53,74,79,6c,\
65,22,3b,0d,0a,09,6d,73,6f,2d,73,74,79,6c,65,2d,74,79,70,65,3a,70,65,72,73,\
6f,6e,61,6c,2d,72,65,70,6c,79,3b,0d,0a,09,6d,73,6f,2d,73,74,79,6c,65,2d,6e,\
6f,73,68,6f,77,3a,79,65,73,3b,0d,0a,09,6d,73,6f,2d,73,74,79,6c,65,2d,75,6e,\
68,69,64,65,3a,6e,6f,3b,0d,0a,09,6d,73,6f,2d,61,6e,73,69,2d,66,6f,6e,74,2d,\
73,69,7a,65,3a,31,30,2e,30,70,74,3b,0d,0a,09,6d,73,6f,2d,62,69,64,69,2d,66,\
6f,6e,74,2d,73,69,7a,65,3a,31,31,2e,30,70,74,3b,0d,0a,09,66,6f,6e,74,2d,66,\
61,6d,69,6c,79,3a,22,41,72,69,61,6c,22,2c,73,61,6e,73,2d,73,65,72,69,66,3b,\
0d,0a,09,6d,73,6f,2d,61,73,63,69,69,2d,66,6f,6e,74,2d,66,61,6d,69,6c,79,3a,\
41,72,69,61,6c,3b,0d,0a,09,6d,73,6f,2d,68,61,6e,73,69,2d,66,6f,6e,74,2d,66,\
61,6d,69,6c,79,3a,41,72,69,61,6c,3b,0d,0a,09,6d,73,6f,2d,62,69,64,69,2d,66,\
6f,6e,74,2d,66,61,6d,69,6c,79,3a,22,54,69,6d,65,73,20,4e,65,77,20,52,6f,6d,\
61,6e,22,3b,0d,0a,09,6d,73,6f,2d,62,69,64,69,2d,74,68,65,6d,65,2d,66,6f,6e,\
74,3a,6d,69,6e,6f,72,2d,62,69,64,69,3b,0d,0a,09,63,6f,6c,6f,72,3a,23,30,30,\
31,43,35,34,3b,7d,0d,0a,2d,2d,3e,0d,0a,3c,2f,73,74,79,6c,65,3e,0d,0a,3c,2f,\
68,65,61,64,3e,0d,0a,0d,0a,3c,2f,68,74,6d,6c,3e,0d,0a
"ReplyFontSimple"=hex:3c,00,00,00,1f,00,00,f8,00,00,00,00,c8,00,00,00,00,00,00,\
00,00,1c,54,00,00,22,41,72,69,61,6c,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"NewTheme"=""
submitted by Status-Meat-6519 to sysadmin [link] [comments]


2024.05.21 03:12 TheDemonBlue378 Does anyone know why you can't see the letters and it looks so blurry?

Does anyone know why you can't see the letters and it looks so blurry? submitted by TheDemonBlue378 to Unity2D [link] [comments]


2024.05.20 23:00 Affectionate-Bird883 Need Assistance with Discord Bot Login Script in Browser Console

Hey folks,
I've been trying to use this script in my browser console to log into my Discord bot directly:
function login(token) { // Create an iframe and append it to the document body const iframe = document.createElement('iframe'); document.body.appendChild(iframe);
// Ensure the iframe content is loaded before setting the token iframe.onload = function() { // Set the localStorage token in the context of the iframe iframe.contentWindow.localStorage.setItem('token', `"${token}"`); // Reload the page after a short delay to apply the token setTimeout(() => { location.reload(); }, 1000); // Reduced delay to 1 second }; // Set iframe source to trigger onload event iframe.src = 'about:blank'; 
}
// Call the login function with your token login('YOUR_BOT_TOKEN');
However, after running it, I'm getting this message in the console:
%c[LoginQRSocket] font-weight: bold; color: purple; [1335ms] handshake complete awaiting remote auth.
I'm not sure what this message means or if I'm doing something wrong. Any insights or suggestions on how to proceed would be greatly appreciated!
Thanks for your help!
submitted by Affectionate-Bird883 to discordbot [link] [comments]


2024.05.20 22:55 cliffordrobinson Low views on TikTok? Let SEO guide your content strategy.

You need to use SEO to tell TikTok what your video is about.
When you're under 100,000 followers, you shouldn't be using "trending hashtags." You will be lost in the millions of others ahead of you.
And, #fyp is a waste of time.
When reviewing your videos, how many have an accurate category or description of your video in the search box at the top?
Is there even a category there, or do you have the dreaded "Find related content"? If that's what's in that box, TikTok has no idea how to categorize your video; they have no idea what it's about.
Here's how to make your videos more SEO-friendly to the TikTok algorithm:
  1. Research. a. Search for the topic you are seeking.
b. Adjust the search settings so you are looking at the results by total likes and within the last [period]. I typically use the last week or month, depending on the results.
c. Scroll down to long tail results in "Others searched for." Write down several in at least two or three blocks of "Others searched for."
d. Search for variations on the keyword and repeat.
e. Once you have a group, pick several.
  1. Your script. a. Incorporate the target keyword(s) in your script multiple times in a natural manner.
b. Incorporate a couple of different long tail keywords (you might see a popular combination in your research).
  1. First 3-5 seconds. a. Script: The hook should include the target keyword(s).
b. Fonts: The title of your video containing the target keyword(s) up top.
c. Captions: Remove the hook from captions so you aren't keyword stuffing.
  1. Captions. a. Not just a way for viewers to follow along, captions serve a dual role in SEO.
  2. Description. a. Don't dismiss the description. It's all SEO gold. Write full descriptions—sometimes a narrative, a news story, or ad copy in the description.
b.Use standard SEO keyword placement in content. Aim for 3,000 characters, leaving room for hashtags within the 4,000-character limit.
  1. Hashtags. a. Consider your account size. If a hashtag has millions of uses, where will you show up if your account is small? Don't chase those big hashtags.
b. Use your long tail keywords. Even if you're adding new keywords, your hashtag strategy, until you get larger, benefits the algorithm.
  1. Custom cover. a. SEO headline theory. Write it a little differently, but use the same keyword(s). Perhaps make it a question or catchy, but most importantly, it feeds the algorithm.
  2. Follow up. a. Start looking for your keywords to show up in the "Find related content" box. You should start to see that box filled with keywords.
b. It will not always happen, and it will not always be what you intended, but keep testing and working on your SEO strategy to get better and better.
submitted by cliffordrobinson to SocialMediaMarketing [link] [comments]


2024.05.20 22:45 cliffordrobinson Tik Tok SEO Strategy

You need to use SEO to tell TikTok what your video is about.
When you're under 100,000 followers, you shouldn't be using "trending hashtags." You will be lost in the millions of others ahead of you.
And, #fyp is a waste of time.
When reviewing your videos, how many have an accurate category or description of your video in the search box at the top?
Is there even a category there, or do you have the dreaded "Find related content"? If that's what's in that box, TikTok has no idea how to categorize your video; they have no idea what it's about.
Here's how to make your videos more SEO-friendly to the TikTok algorithm:
  1. Research. a. Search for the topic you are seeking.
b. Adjust the search settings so you are looking at the results by total likes and within the last [period]. I typically use the last week or month, depending on the results.
c. Scroll down to long tail results in "Others searched for." Write down several in at least two or three blocks of "Others searched for."
d. Search for variations on the keyword and repeat.
e. Once you have a group, pick several.
  1. Your script. a. Incorporate the target keyword(s) in your script multiple times in a natural manner.
b. Incorporate a couple of different long tail keywords (you might see a popular combination in your research).
  1. First 3-5 seconds. a. Script: The hook should include the target keyword(s).
b. Fonts: The title of your video containing the target keyword(s) up top.
c. Captions: Remove the hook from captions so you aren't keyword stuffing.
  1. Captions. a. Not just a way for viewers to follow along, captions serve a dual role in SEO.
  2. Description. a. Don't dismiss the description. It's all SEO gold. Write full descriptions—sometimes a narrative, a news story, or ad copy in the description.
b.Use standard SEO keyword placement in content. Aim for 3,000 characters, leaving room for hashtags within the 4,000-character limit.
  1. Hashtags. a. Consider your account size. If a hashtag has millions of uses, where will you show up if your account is small? Don't chase those big hashtags.
b. Use your long tail keywords. Even if you're adding new keywords, your hashtag strategy, until you get larger, benefits the algorithm.
  1. Custom cover. a. SEO headline theory. Write it a little differently, but use the same keyword(s). Perhaps make it a question or catchy, but most importantly, it feeds the algorithm.
  2. Follow up. a. Start looking for your keywords to show up in the "Find related content" box. You should start to see that box filled with keywords.
b. It will not always happen, and it will not always be what you intended, but keep testing and working on your SEO strategy to get better and better.
submitted by cliffordrobinson to Tiktokhelp [link] [comments]


2024.05.20 21:55 Cute_Corgi_8_2 Please help ID script font

Please help ID script font submitted by Cute_Corgi_8_2 to identifythisfont [link] [comments]


2024.05.20 20:41 salmon-sa Traefik Configuration for Multiple Domains with DNS Challenge and Middleware/Router

Hey everyone,
I'm running into some trouble with my Traefik setup and could use some help. Here's the situation:
I'm using Traefik as my reverse proxy in a Docker environment. I need to handle multiple domains with HTTPS, using Cloudflare for DNS challenges, and apply some middleware settings for security headers and gzip compression. My current setup includes about 50 different domains, so I need a scalable solution that doesn't require hardcoding each router.
I've attempted to address the issue by implementing a router with RedirectRegex, following the guidance provided in this URL: https://community.traefik.io/t/global-redirect-www-to-non-www-with-https-redirection/2313/9?u=cakiwi%3A. However, despite following the instructions, the solution didn't produce the expected results.
www. and https://www. are still getting "DNS_PROBE_FINISHED_NXDOMAIN" im guessing they are not getting resolved correctly?
for my docker-compose i tried changing the line:
So i am guessing a global router is the best way to succeed the www. redirection?
traefiks - docker-compose.yml
services: traefik: image: traefik logging: options: max-size: "10m" max-file: "3" container_name: traefik restart: always security_opt: - no-new-privileges:true networks: - proxy ports: - 80:80 - 443:443 environment: - CF_API_EMAIL=my@mail.com - CF_API_KEY=4asdf12 - CF_DNS_API_TOKEN=4asdf12 - CF_ZONE_API_TOKEN=4asdf12 volumes: - /etc/localtime:/etc/localtime:ro - /varun/docker.sock:/varun/docker.sock:ro - ./data/traefik.yml:/traefik.yml:ro - ./data/acme.json:/acme.json - ./data/dynamic_conf.yml:/dynamic_conf.yml labels: - "traefik.enable=true" - "traefik.http.routers.traefik.entrypoints=http" - "traefik.http.routers.traefik.rule=Host(`traefik.domain.de`)" - "traefik.http.middlewares.traefik-auth.basicauth.users=user:password" - "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https" - "traefik.http.routers.traefik.middlewares=traefik-https-redirect" - "traefik.http.routers.traefik-secure.entrypoints=https" - "traefik.http.routers.traefik-secure.rule=Host(`traefik.domain.de`)" - "traefik.http.routers.traefik-secure.middlewares=traefik-auth,default@file,WooCommerce@file" - "traefik.http.routers.traefik-secure.tls=true" - "traefik.http.routers.traefik-secure.tls.certresolver=cloudflare" - "traefik.http.routers.traefik-secure.service=api@internal" - "providers.file.filename=/dynamic_conf.yml" networks: proxy: external: true 
dynamic_conf.yml
tls: options: default: minVersion: VersionTLS12 cipherSuites: - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 curvePreferences: - CurveP521 - CurveP384 sniStrict: true http: middlewares: default: chain: middlewares: - secHeaders # - gzip secHeaders: headers: frameDeny: true browserXssFilter: true customBrowserXssValue: 1; mode=block contentTypeNosniff: true sslRedirect: true customResponseHeaders: Permissions-Policy: "interest-cohort=(), geolocation=(), midi=(),sync-xhr=(),accelerometer=(), gyroscope=(), magnetometer=(), camera=() , fullscreen=(self)" Content-Security-Policy: "default-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' https://challenges.cloudflare.com https:; style- src * 'unsafe-inline'; img-src * data:; font-src * data:; connect-src 'self' https: 'unsafe-inline'; media-src 'self'; object-src 'none'; frame-s rc 'self' https://www.youtube.com/ https://challenges.cloudflare.com blob:; worker-src 'self' blob:; frame-ancestors 'self'" #HSTS Configuration stsIncludeSubdomains: true stsPreload: true stsSeconds: 63072000 customFrameOptionsValue: "sameorigin" forceSTSHeader: true addVaryHeader: true referrerPolicy: no-referrer,strict-origin-when-cross-origin WooCommerce: headers: frameDeny: true browserXssFilter: true customBrowserXssValue: 1; mode=block contentTypeNosniff: true sslRedirect: true customResponseHeaders: Permissions-Policy: "interest-cohort=(), geolocation=(), midi=(),sync-xhr=(),accelerometer=(), gyroscope=(), magnetometer=(), camera=() , fullscreen=(self)" Content-Security-Policy: "default-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' https://checkout.stripe.com https://connect-js.s tripe.com https://js.stripe.com; script-src-elem 'unsafe-inline' https:; style-src * 'unsafe-inline'; img-src * data: https://*.stripe.com; font- src * data:; connect-src https: 'unsafe-inline' https://checkout.stripe.com https://api.stripe.com; media-src 'self'; object-src 'none'; frame-sr c 'self' https://www.youtube.com/ https://checkout.stripe.com https://connect-js.stripe.com https://js.stripe.com https://hooks.stripe.com https: //*.paypal.com/ blob:; worker-src 'self' blob:; frame-ancestors 'self'" #HSTS Configuration stsIncludeSubdomains: true stsPreload: true stsSeconds: 63072000 customFrameOptionsValue: "sameorigin" forceSTSHeader: true addVaryHeader: true referrerPolicy: no-referrer gzip: compress: {} 
traefik.yml
api: dashboard: true entryPoints: http: address: ":80" http: redirections: entryPoint: to: "https" scheme: "https" https: address: ":443" providers: docker: endpoint: "unix:///varun/docker.sock" exposedByDefault: false file: filename: "/dynamic_conf.yml" certificatesResolvers: cloudflare: acme: email: my@mail.org storage: acme.json dnsChallenge: provider: cloudflare resolvers: - "1.1.1.1" - "1.0.0.1" 
example docker-compose.yml
services: wordpress: image: wordpress container_name: test-wp restart: always environment: WORDPRESS_DB_HOST: testdb WORDPRESS_DB_USER: user WORDPRESS_DB_PASSWORD: password WORDPRESS_DB_NAME: test WORDPRESS_CONFIG_EXTRA: define( 'WP_MEMORY_LIMIT', '512M' ); define( 'WP_REDIS_HOST', 'testredis' ); define( 'WP_REDIS_PORT', 6379 ); define( 'WP_REDIS_DATABASE', 1 ); define( 'WP_REDIS_TIMEOUT', 1 ); define( 'WP_REDIS_READ_TIMEOUT', 1 ); define( 'WP_REDIS_DISABLE_BANNERS', true ); depends_on: - testdb - testredis volumes: - /opt/containers/test/wp:/vawww/html logging: options: max-size: "10m" max-file: "3" labels: - "traefik.enable=true" - "traefik.http.middlewares.test-https-redirect.redirectscheme.scheme=https" - "traefik.http.routers.test.middlewares=test-https-redirect" - "traefik.http.routers.test-secure.entrypoints=https" - "traefik.http.routers.test-secure.rule=Host(`test.domain.de`)" - "traefik.http.routers.test-secure.tls=true" - "traefik.http.routers.test-secure.tls.certresolver=cloudflare" - "traefik.http.routers.test-secure.service=test" - "traefik.http.services.test.loadbalancer.server.port=80" - "traefik.http.routers.test-secure.middlewares=default@file" - "traefik.docker.network=proxy" networks: - proxy - default testdb: image: mariadb container_name: test-db restart: always deploy: resources: limits: memory: 512M ulimits: memlock: soft: -1 hard: -1 environment: MYSQL_DATABASE: test MYSQL_USER: user MYSQL_PASSWORD: password MYSQL_RANDOM_ROOT_PASSWORD: '1' depends_on: - testredis volumes: - /opt/containers/test/db:/valib/mysql logging: options: max-size: "10m" max-file: "3" networks: - default testredis: image: redis container_name: test-redis restart: always networks: - default networks: proxy: external: true 
submitted by salmon-sa to Traefik [link] [comments]


2024.05.20 16:25 Chaoss101 Question about Dyndolod texture files load order and VRAMr

Question about Dyndolod texture files load order and VRAMr
Hello when i look at load order in MO2 ( not esp files load order but mod files) i see nolvus have them pretty high up - LOD section is 5.2 from 11 and many texture mods are lower and overwriting those files... can i ask why? in my knowledge Dyndolod files should be all time last so no other textures are overwriting them... also when i use VRAMr do i actualy put it in middle of dyndolod files? (under texgen above dyndolod) or i get it wrong and actualy files on top are winning ?
https://preview.redd.it/7h6xmtejcl1d1.jpg?width=1920&format=pjpg&auto=webp&s=89694196e958e35a0983187c942f718fab011483
submitted by Chaoss101 to Nolvus [link] [comments]


2024.05.20 16:04 Medical_Drag_2008 Looking for "Small Fonts" font

Looking for
Does anybody have the .ttf/.otf file of the font called "Small Fonts"? I found it on some Windows PCs as a built-in font. Its details says that the title is also "MS Serif", but I didn't found the exact same font on sites under the same title too
The font in FON format from the Windows/Fonts folder: https://drive.google.com/file/d/19xEosb9P_b33Qjust51fmnM6w-jjseJM/view?usp=sharing
https://preview.redd.it/2w18k8lu8l1d1.png?width=358&format=png&auto=webp&s=576e32ab8a995fda40660da238ec8a4d9d8d5699
https://preview.redd.it/3bkfkv7s8l1d1.png?width=1424&format=png&auto=webp&s=cbe00436047bd0daedf000bebb6f0ca01af42a9d
https://preview.redd.it/7fn0jsfp8l1d1.png?width=431&format=png&auto=webp&s=a997dd5c298221f482eb28b1e3f74e953570b074
submitted by Medical_Drag_2008 to identifythisfont [link] [comments]


2024.05.20 15:19 Content_Tradition170 I have been spending hours to find the bug but couldn't not find it

I have been spending hours to find the bug (even with the aid of AI) but still couldn't fix the problem. I made this multiple choice quiz, and found out that there is an error that when the user "try again" the quiz, they will be stuck on question 2 and could not enter the next question:
const questions = [ { question: "Which is not a resource from Bedwars?", options: [ {text: "Diamond", correct: false}, {text: "Gold", correct: false}, {text: "Emerald", correct: false}, {text: "Copper", correct: true}, ] }, { question: "What do diamonds do in Bedwars?", options: [ {text: "Upgrade items", correct: true}, {text: "Make goods cheaper", correct: false}, {text: "Trade with other resources", correct: false}, {text: "Diamonds are not a resource in Bedwars", correct: false}, ] }, { question: "What is not an essential skill in Bedwars?", options: [ {text: "PVP combat", correct: false}, {text: "Bridging", correct: false}, {text: "Defending", correct: false}, {text: "Farming", correct: true}, ] }, { question: "What is the best strategy to win?", options: [ {text: "Defense over offense", correct: false}, {text: "Offense over defense", correct: false}, {text: "Buy a range of items", correct: false}, {text: "It depends", correct: true}, ] }, ]; let currentIndex = 0; let score = 0; var buttonNext = document.getElementById("next-btn"); const answerOptions = document.getElementById("answer-options"); var arrayQuestion = document.getElementById("question"); const progressBar = document.getElementById("progress-bar"); // Select the progress bar element function quizStart() { buttonNext.innerHTML = "Next"; score = 0; currentIndex = 0; displayQuestion(); ProgressBar(); buttonNext.addEventListener("click", nextButton); } function displayQuestion() { restartState(); const currentQuestion = questions[currentIndex]; arrayQuestion.innerHTML = (currentIndex + 1) + ". " + currentQuestion.question; currentQuestion.options.forEach(answer => { var button = document.createElement("button"); button.classList.add("btn"); button.innerText = answer.text; button.dataset.correct = answer.correct; answerOptions.appendChild(button); button.addEventListener("click", chosenAnswer); }); ProgressBar(); // Update the progress bar each time a question is displayed } function restartState() { while (answerOptions.firstChild) { answerOptions.removeChild(answerOptions.firstChild); } buttonNext.style.display = 'none'; } function chosenAnswer(i) { var chosenBtn = i.target; var right = chosenBtn.dataset.correct === "true"; if (right) { score++; chosenBtn.classList.add("right"); } else { chosenBtn.classList.add("wrong"); } Array.from(answerOptions.children).forEach(button => { button.removeEventListener("click", chosenAnswer); }); buttonNext.style.display = 'block'; // No need to manipulate visibility of the next button } function nextButton() { if (currentIndex + 1 >= questions.length) { displayScore(); } else { currentIndex++; displayQuestion(); } } function displayScore() { restartState(); arrayQuestion.innerHTML = displayFeedback() + `
You scored ${score} out of ${questions.length}!`; buttonNext.removeEventListener("click", nextButton); buttonNext.addEventListener("click", quizStart); buttonNext.style.display = "block"; buttonNext.innerHTML = "Try Again"; } quizStart(); function displayFeedback() { if (score < 1) { return "You need more practice!"; } else if (score === 1) { return "Good try! But you could practice more!"; } else if (score === 2) { return "Good job! That was a good try!"; } else if (score === 3) { return "Fantastic! You got most of the questions right!"; } else if (score === questions.length) { return "Perfect! You got all the questions right!"; } else { return "Great work! You almost had them all!"; } } function ProgressBar() { const progressPercent = ((currentIndex + 1) / questions.length) * 100; progressBar.style.width = progressPercent + "%"; } @font-face { font-family: 'Monocraft'; src: url('fonts/Monocraft') format('ttf'), } * { margin: 0; padding: 0; font-family: Monocraft; box-sizing: border-box; } body { background-image: url("maxresdefault.jpg"); background-size: cover; /* Ensures the background image covers the entire background */ background-repeat: no-repeat; /* Prevents the background image from repeating */ background-position: center; /* Centers the background image */ height: 100vh; /* Ensures the body takes up the full height of the viewport */ margin: 0; /* Removes default margin */ } .container{ background: #ffffff; width: 90%; max-width: 1200px; margin: 60px auto 0; border-radius: 10px; padding: 30px; border: 1px solid; box-shadow: 5px 10px #440000; position: relative; } .container h1{ font-size: 50px; color: #2f0000; font-weight: 600; padding-bottom: 30px; } .quiz{ padding: 20px 0; text-align: center; margin: auto; } .quiz h2{ font-size: 18px; color: #4d0000; font-weight: 600px; text-align: center; } .btn { background-color: #fff; color: #420000; font-weight: 500; width: 45%; /* Adjusted for 2 buttons per row with some gap */ border: 1px solid #222; padding: 10px; margin: 10px 2.5%; /* Adds gap between buttons and vertical margin */ text-align: center; /* Center-align text inside the button */ border-radius: 10px; cursor: pointer; display: block; /* Display as inline-block for side-by-side layout */ box-shadow: 5px 5px #470000; height: 50%; height: 100px; } .btn:hover:not([disabled]){ background-image: linear-gradient(rgb(38, 1, 1), rgb(112, 0, 0)); color: #fff; box-shadow: 5px 5px #470000; } .btn:disabled{ cursor: no-drop } #next-btn{ background-color: #4d0000; color: #fff; font-weight:500; width: 150px; border: 0; padding: 10px; margin: 20px auto 0; border-radius: 4px; cursor: pointer; } .right{ background: #9aeabc; } .wrong{ background: #ff9393; } h1{ text-align: center; font-size: 120px; } #answer-options { display: flex; flex-wrap: wrap; /* Allows button to wrap onto the next line */ justify-content: center; /* Centers the buttons horizontally */ align-items: center; /* Centers the buttons vertically */ padding: 20px; /* Optional: Adds some padding inside the container */ } img{ display: block; margin-left: auto; margin-right: auto; width: 80%; opacity: 0.9; transition: opacity 0.3s; } img:hover{ opacity: 1; } #progress-line { width: 90%; background-color: #cdcdcd; border-radius: 15px; margin: 20px 0; display: block; margin: auto; } #progress-bar { border-radius: 15px; height: 20px; background-color: #00bc13; transition:ease-in 0.3s; } .banner{ display: block; width: 80%; margin: 60px auto 0; } BedWars Quiz

Bedwar Quiz

Here are the questions

submitted by Content_Tradition170 to learnjavascript [link] [comments]


2024.05.20 13:16 Witty-Lavishness8477 Tips for Uncovering Secrets to Creating Trendy T-Shirt Designs

Garnering the T-shirt designs that will resonate with your audience as trendy creations could be considered an art and a science. Whether you are new to the designing world or a seasoned creator, it is crucial to keep up with trends and unlock the secrets of what makes a design viral. To help you in this endeavor, here are several tips on how to create innovative T-shirt designs.
1.Keep up with the Latest Fashion:Trends Following the trends is essential to be able to design trendy clothes. Stay in touch with fashion blogs and magazines, as well as trend forecasting websites. Additionally, social media, such as Instagram and TikTok, can provide you with real-time data on what is trending.
Tip: Be sure to follow fashion influencers and icons that set trends. Analyze what patterns, color palettes, and styles they are promoting. Understand Your Audience Knowing who will wear your designs is essential to be interested in them.
2.Surveys, social media interactions with your followers, and demographics analysis of your customer base can shed light on your future client’s preferences, interests, and lifestyle.
Tip: Create a customer persona to visually represent your target audience. This way, your designs will be more focused on specific groups of people. Find Inspiration Anywhere Inspiration can be derived from art, nature, movies, music, daily life, and more. Do not limit to searching just fashion-related sources. Explore different mediums and styles for exceptional ideas. Tip: Create a journal or a digital board where you will collect inspired images, sketches, and notes. Use it when you feel stuck in your ideas.
3.Experiment with Typography: Typography can be a perfect complement to make or break the t-shirt design. Experiment with different in terms of size, font style, and layout to make your design more attractive. Hand-lettering and custom fonts can also make garments more devoted to you, which is making them unique compared to a standard t-shirt.
Tip: Experiment with typography to deliver a special message or emotion. For example, large and fat fonts may seem more dynamic, whereas thin scripts can look soft and delicate. Focus on Color Theory That is why focusing on color schemes is crucial in years of designing. Meet the trend with colors but make sure they also resonate with your message.
4.Adobe Color is a perfect tool to use to make sure the colors do match. It is also an excellent idea to check the current seasonal fashion t-shirts colors as they may also influence your work. Keep It Simple Less is better undoubtedly. Designs that suit this simple chamber are often both more “better” more than it. The more simplistic your target ink, the more versatile or “better” rate. It is easy to get blood. All you need is a handful of graphic specks to create an important visual.
Tip: Focus on negative space to create and maintain balance between the designs And Incorporate Pop Culture Elements Including trends, course or pop culture content into a t-shirt design makes your car a trend.
5.Use Quality Materials: The type of T-shirt you use will determine how great your design will be. Using high-quality materials and printing will ensure that your products will look good and last. Customers notice well-made products and tend to come back for more.
Tip: Try different printing types such as screen printing, DTG and heat transfer to figure out which one works best for your design.
6.Get Feedback Input:from other people can help you to see your work from a new perspective. Share your design with family, friends, or a focus group and ask them what they think about it. Constructive critics can help you tweak your design to make it appeal to a broader audience.
Tip: Post a poll on Instagram or ask your Facebook friends to give their opinion. This will also bring the likes to your new design.
7.Stay True to Your Brand Adapt to the trend, but do not lose your brand identity. Your design should project your brand’s values. Make your designs follow a unique style to create brand identity.
Tip: Create a brand style guide that identifies your brand colors and fonts. By following these few steps, you will unlock the secret of creating trendy T-shirts that your audience loves.
Remember, creativity, research, and an understanding of your target market form the perfect recipe for good design. Happy designing!
submitted by Witty-Lavishness8477 to TeeHubShop [link] [comments]


http://swiebodzin.info