79168841

Date: 2024-11-08 04:49:38
Score: 4.5
Natty:
Report link

######ABOVE######

Nailed it!

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: BoomerangBigBobbyBonerfield

79165240

Date: 2024-11-07 06:33:12
Score: 4
Natty:
Report link

বাংলাদেশের কৃষি বাংলাদেশ কৃষিপ্রধান দেশ। এদেশে শতকরা ৭৫ ভাগ লোক গ্রামে বাস করে। বাংলাদেশের গ্রাম এলাকায় ৫৯.৮৪% লোকের এবং শহর এলাকায় ১০.৮১% লোকের কৃষিখামার রয়েছে। মোট দেশজ উৎপাদন তথা জিডিপিতে কৃষিখাতের অবদান ১৯.১% এবং কৃষিখাতের মাধ্যমে ৪৮.১% মানুষের কর্মসংস্থান তৈরি হচ্ছে। ধান,পাট,তুলা,আখ,ফুল ও রেশমগুটির চাষসহ বাগান সম্প্রসারণ,মাছ চাষ,সবজি, পশুসম্পদ উন্নয়ন, মাটির উর্বরতা বৃদ্ধি,বীজ উন্নয়ন ও বিতরণ ইত্যাদি বিষয়সমূহ এ দেশের কৃষি মন্ত্রণালয় ও সংশ্লিষ্ট বিভাগসমূহের কর্মকাণ্ডের অন্তর্ভুক্ত। read more

Reasons:
  • No code block (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Ai IDEAS

79164055

Date: 2024-11-06 19:51:12
Score: 3
Natty:
Report link

'''

Future<void> getLocation() async {
setState(() {
  _isLoading = true;
});

// Optimized location settings with reduced accuracy for faster fetching
LocationSettings locationSettings;
if (defaultTargetPlatform == TargetPlatform.android) {
  locationSettings = AndroidSettings(
    accuracy: LocationAccuracy.reduced,  // Using reduced accuracy for faster results
    forceLocationManager: true,
  );
} else if (defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.macOS) {
  locationSettings = AppleSettings(
    accuracy: LocationAccuracy.reduced,  // Using reduced accuracy for faster results
    activityType: ActivityType.other,
     // Reduced timeout since we expect faster response
  );
} else {
  locationSettings = LocationSettings(
    accuracy: LocationAccuracy.reduced,  // Using reduced accuracy for faster results
  );
}

try {
  // Check if location services are enabled
  bool serviceEnabled = await Geolocator.isLocationServiceEnabled();
  if (!serviceEnabled) {
    serviceEnabled = await Geolocator.openLocationSettings();
    if (!serviceEnabled) {
      setState(() {
        _isLoading = false;
      });
      AwesomeDialog(
        context: context,
        dialogType: DialogType.error,
        animType: AnimType.scale,
        title: 'Location Services Disabled',
        titleTextStyle: TextStyle(
          color: Color(0XFF0068B3),
          fontWeight: FontWeight.bold,
          fontSize: 16.sp,
        ),
        desc: 'Please enable location services to continue.',
        descTextStyle: TextStyle(
          color: Color(0XFF585F65),
          fontWeight: FontWeight.w500,
          fontSize: 12.sp,
        ),
        btnOkText: 'Open Settings',
        buttonsTextStyle: TextStyle(
          fontSize: 14.sp,
          color: Colors.white,
        ),
        btnOkColor: Colors.blue,
        btnOkOnPress: () async {
          await Geolocator.openLocationSettings();
        },
      ).show();
      return;
    }
  }

  // Check and request permissions
  LocationPermission permission = await Geolocator.checkPermission();
  if (permission == LocationPermission.denied) {
    permission = await Geolocator.requestPermission();
    if (permission == LocationPermission.denied) {
      setState(() {
        _isLoading = false;
      });
      AwesomeDialog(
        context: context,
        dialogType: DialogType.warning,
        animType: AnimType.scale,
        title: 'Location Permission Required',
        titleTextStyle: TextStyle(
          color: Color(0XFF0068B3),
          fontWeight: FontWeight.bold,
          fontSize: 16.sp,
        ),
        desc: 'Please grant location permission to use this feature.',
        descTextStyle: TextStyle(
          color: Color(0XFF585F65),
          fontWeight: FontWeight.w500,
          fontSize: 12.sp,
        ),
        btnOkText: 'Request Permission',
        buttonsTextStyle: TextStyle(
          fontSize: 14.sp,
          color: Colors.white,
        ),
        btnOkColor: Colors.blue,
        btnOkOnPress: () async {
          await getLocation();
        },
      ).show();
      return;
    }
  }

  if (permission == LocationPermission.deniedForever) {
    setState(() {
      _isLoading = false;
    });
    AwesomeDialog(
      context: context,
      dialogType: DialogType.error,
      animType: AnimType.scale,
      title: 'Location Permission Denied',
      titleTextStyle: TextStyle(
        color: Color(0XFF0068B3),
        fontWeight: FontWeight.bold,
        fontSize: 16.sp,
      ),
      desc: 'Location permission is permanently denied. Please enable it from app settings.',
      descTextStyle: TextStyle(
        color: Color(0XFF585F65),
        fontWeight: FontWeight.w500,
        fontSize: 12.sp,
      ),
      btnOkText: 'Open Settings',
      buttonsTextStyle: TextStyle(
        fontSize: 14.sp,
        color: Colors.white,
      ),
      btnOkColor: Colors.blue,
      btnOkOnPress: () async {
        await Geolocator.openAppSettings();
      },
    ).show();
    return;
  }

  // Try to get the last known location first
  Position? lastKnownPosition = await Geolocator.getLastKnownPosition(
    forceAndroidLocationManager: true,
  );

  if (lastKnownPosition != null ) {
    // Use last known position if it's recent
    latitude = lastKnownPosition.latitude;
    longitude = lastKnownPosition.longitude;
    print("lat and lon from lastknwnlocation ${latitude}${longitude}");
  } else {
    // Get current position with reduced accuracy settings
    Position position = await Geolocator.getCurrentPosition(
      locationSettings: locationSettings,
    );

    latitude = position.latitude;
    longitude = position.longitude;
    print("lat and lon from currentlocation ${latitude}${longitude}");
  }

  if (latitude != null && longitude != null) {
    await getCurrentPlace();
  } else {
    setState(() {
      _isLoading = false;
    });
    AwesomeDialog(
      context: context,
      dialogType: DialogType.error,
      animType: AnimType.scale,
      title: 'Location Not Found',
      desc: 'Unable to fetch your current location. Please try again.',
      btnOkText: 'Retry',
      btnOkColor: Colors.blue,
      btnOkOnPress: () async {
        await getLocation();
      },
    ).show();
  }
} catch (e) {
  print('Error fetching location: $e');
  setState(() {
    _isLoading = false;
  });
  // More specific error handling
  String errorMessage = 'Failed to fetch location. Please try again.';
  if (e is TimeoutException) {
    errorMessage = 'Location fetch is taking too long. Please check your GPS signal and try again.';
  }

  AwesomeDialog(
    context: context,
    dialogType: DialogType.error,
    animType: AnimType.scale,
    title: 'Error',
    titleTextStyle: TextStyle(
      color: Color(0XFF0068B3),
      fontWeight: FontWeight.bold,
      fontSize: 16.sp,
    ),
    desc: errorMessage,
    descTextStyle: TextStyle(
      color: Color(0XFF585F65),
      fontWeight: FontWeight.w500,
      fontSize: 12.sp,
    ),
    btnOkText: 'Retry',
    buttonsTextStyle: TextStyle(
      fontSize: 14.sp,
      color: Colors.white,
    ),
    btnOkColor: Colors.blue,
    btnOkOnPress: () async {
      await getLocation();
    },
  ).show();
} finally {
  setState(() {
    _isLoading = false;
  });
}

}

'''

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Ahamed habeeb

79163394

Date: 2024-11-06 16:18:59
Score: 8 🚩
Natty: 3.5
Report link

... အကူအညီစင်တာတွင် သတ်မှတ်ထားသည့်

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: user23373022

79159422

Date: 2024-11-05 14:09:32
Score: 6 🚩
Natty:
Report link

'''

No module named 'lib2to3'

'''

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: not_a_stay

79158056

Date: 2024-11-05 07:41:18
Score: 8.5 🚩
Natty:
Report link

bitte antwort.........................................................

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (2.5):
  • Filler text (0.5): .........................................................
  • Low entropy (1):
  • Low reputation (1):
Posted by: jeff

79155777

Date: 2024-11-04 14:19:57
Score: 0.5
Natty:
Report link

I don't know if it's my fault but it's doesn't work. my new code is this:

function myFunction() {

let objects = SpreadsheetApp.getActive().getSheetByName("Feuille 7").getRange('D:E').getValues()
let order = SpreadsheetApp.getActive().getSheetByName("Feuille 7").getRange('A:A').getValues().flat()

/* Create a mapping object `orderIndex`:
*/

let orderIndex = {}
order.forEach((value, index) => orderIndex[value] = index);

// Sort
objects.sort((a, b) => orderIndex[a] - orderIndex[b]) 

// Log
Logger.log("/////////////////////////order////////////////////////////////")
Logger.log(order)
Logger.log("/////////////////////////objects////////////////////////////////")
Logger.log(objects)


SpreadsheetApp.getActive().getSheetByName("Feuille 7").getRange('H:I').setValues(objects)
}

a array 1D b 156 array 2D b 156 result
b f 68 f 68
c a 507 a 507
d c 22 c 22
e d 430 d 430
f e 555 e 555
g g 689 g 689
h k 62 k 62
i l 395 l 395
j i 209 i 209
k j 745 j 745
l h 37 h 37
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Romain Gapteau

79154705

Date: 2024-11-04 08:33:55
Score: 0.5
Natty:
Report link

جرب الكود التالي لإظهار رسالة داخل asp.net C#

Try this code:

ClientScript.RegisterStartupScript(this.GetType(), "randomtext","FillData()", true);
Reasons:
  • Whitelisted phrase (-2): Try this code
  • Low length (1):
  • Has code block (-0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: Meshal

79154093

Date: 2024-11-04 03:09:21
Score: 1.5
Natty:
Report link

I hope this is helpful, I got stuck on the same problem but with the help of ChatGTP and Claude AI, I was able to come across one possible solution.

I am using localhost in this example and tailwind CSS in a MERN Stack project.

-------------------------------Passport Setup--------------------------------

import passport from "passport";
import { Strategy as GoogleStrategy } from "passport-google-oauth20";

import User from "../models/user.model.js";
import dotenv from "dotenv";

dotenv.config();

// Configure Passport with a Google strategy for authentication
passport.use(
  "google",
  new GoogleStrategy(
    {
      clientID: process.env.GOOGLE_CLIENT_ID,
      clientSecret: process.env.GOOGLE_CLIENT_SECRET,
      callbackURL: "/api/auth/google/callback",
    },
    /**
     * Verify the user's credentials using Google.
     *
     * This function is called by Passport when a user attempts to log in with their Google account.
     * It:
     * 1. Searches for a user with the provided Google ID.
     * 2. If no user is found, it creates a new user with information from the Google profile.
     * 3. Returns the user object.
     * 4. Passes any errors to the `done` callback.
     *
     * @param {string} accessToken - The access token provided by Google.
     * @param {string} refreshToken - The refresh token provided by Google.
     * @param {Object} profile - The user's profile information from Google.
     * @param {Function} done - The callback to call with the authentication result.
     */
    async (accessToken, refreshToken, profile, done) => {
      try {
        let user = await User.findOne({ googleId: profile.id });
        // Additional check to prevent duplicate accounts if Google email changes
        if (!user) {
          user = await User.findOne({ email: profile._json.email });
        }

        if (!user) {
          // Generate a random password
          const randomPassword = User.prototype.generateRandomPassword();
          // Create a new user
          user = await User.create({
            googleId: profile.id,
            name: profile._json.name,
            email: profile._json.email,
            password: randomPassword, // Set the generated password
            profilePicture: profile._json.picture,
          });
        }
        return done(null, user);
      } catch (error) {
        return done(error, false);
      }
    }
  )
);

/**
 * Serialize the user for the session.
 *
 * This function is called when a user is authenticated. It:
 * 1. Takes the user object and stores the user ID in the session.
 * 2. This ID is used to identify the user in subsequent requests.
 *
 * @param {Object} user - The authenticated user object.
 * @param {Function} done - The callback to call with the serialized user ID.
 */
passport.serializeUser((user, done) => {
  done(null, user.id);
});

/**
 * Deserialize the user from the session.
 *
 * This function is called on each request to retrieve the user object based on the user ID stored in the session. It:
 * 1. Finds the user by their ID.
 * 2. Passes the user object to the `done` callback.
 * 3. Passes any errors to the `done` callback if the user cannot be found.
 *
 * @param {string} id - The user ID stored in the session.
 * @param {Function} done - The callback to call with the user object or an error.
 */
passport.deserializeUser(async (id, done) => {
  try {
    const user = await User.findById(id);
    done(null, user);
  } catch (err) {
    done(err);
  }
});

export default passport;

------------------------------- Auth Controller --------------------------------

import passport from "../lib/PassportSetup.js";
import User from "../models/user.model.js";

/**
 * Initiates Google authentication.
 *
 * This function handles initiating the Google OAuth2 authentication process by:
 * 1. Redirecting the user to Google's OAuth2 login page.
 *
 * @param {Object} req - The request object for initiating Google authentication.
 * @param {Object} res - The response object to redirect the user to Google.
 * @param {Function} next - The next middleware function in the stack.
 */
export const googleAuth = passport.authenticate("google", {
  scope: ["profile", "email"],
});

/**
 * Handles the callback from Google OAuth2.
 *
 * This function handles the callback after the user has authenticated with Google. It:
 * 1. Uses Passport's 'google' strategy to authenticate the user.
 * 2. Redirects the user to the home page on successful authentication.
 * 3. Handles authentication errors by redirecting to the login page with an error message.
 *
 * @param {Object} req - The request object containing Google OAuth2 callback data.
 * @param {Object} res - The response object to redirect the user.
 * @param {Function} next - The next middleware function in the stack.
 */
export const googleAuthCallback = (req, res, next) => {
  passport.authenticate("google", {
    successRedirect: `${process.env.CLIENT_URL}/oauth/callback`,
    failureRedirect: `${process.env.CLIENT_URL}/login`,
    failureFlash: true,
  })(req, res, next);
};

/**
 * Handles successful authentication callbacks from OAuth providers.
 *
 * This function is triggered when a user is successfully authenticated via an OAuth provider (e.g., Google, GitHub).
 * It:
 * 1. Checks if a user object is present on the request, which is set by Passport after successful authentication.
 * 2. Responds with a 200 status and user information if authentication is successful.
 * 3. Includes the user's ID, name, email, profile picture, and role in the response.
 *
 * @param {Object} req - The request object, containing authenticated user data.
 * @param {Object} res - The response object used to send back the authentication result.
 * @param {Function} next - The next middleware function in the stack (not used in this function).
 * @returns {Object} JSON object with user data on success, or an error status if authentication fails.
 */
export const authCallbackSuccess = (req, res, next) => {
  return res.status(200).json({
    success: true,
    status: 200,
    user: {
      id: req.user.id,
      name: req.user.name,
      email: req.user.email,
      profilePicture: req.user.profilePicture,
      role: req.user.role,
    },
  });
};

------------------------------- Auth Routes --------------------------------

import express from "express";

import {
  googleAuth,
  googleAuthCallback,
  authCallbackSuccess,
} from "../controllers/auth.controller.js";

const router = express.Router();

// Passport Google OAuth2 login
router.get("/google", googleAuth);

// Handles Passport Google OAuth2 callback
router.get("/google/callback", googleAuthCallback);

// Returns the user object after Passport Google OAuth2, Github, or any other callback
router.get("/callback/success", isAuthenticated, authCallbackSuccess);

export default router;

------------------------ React OAuthButtons.jsx -------------------------

import React from 'react';
import { useSelector } from 'react-redux';

function OAuthButtons() {
    const { loading } = useSelector((state) => state.user);

    const handleOAuth = (provider) => {
        window.location.href = `http://localhost:4000/api/auth/${provider}`;
    }

    return (
        <div className='flex flex-col gap-3'>
            <button
                className="bg-red-700 text-white rounded-lg p-3 uppercase hover:bg-red-600 disabled:bg-red-400"
                type="button"
                onClick={() => handleOAuth("google")}
                disabled={loading}
            >
                Continue with Google
            </button>
            <button
                className="bg-blue-700 text-white rounded-lg p-3 uppercase hover:bg-blue-600 disabled:bg-blue-400"
                type="button"
                onClick={() => handleOAuth("github")}
                disabled={loading}
            >
                Continue with Github
            </button>
        </div>
    );
}

export default OAuthButtons;

------------------------ React OAuthCallback.jsx -------------------------

import React, { useEffect } from 'react';
import axios from 'axios';
import { useDispatch } from 'react-redux';
import { useNavigate } from 'react-router-dom';
import { loginStart, loginSuccess, loginFailure } from '../../redux/user/userSlice.js';

function OAuthCallback() {
    const dispatch = useDispatch();
    const navigate = useNavigate();

    useEffect(() => {
        const handleCallback = async () => {
            try {
                dispatch(loginStart());
                const response = await axios.get(
                    `http://localhost:4000/api/auth/callback/success`,
                    { withCredentials: true }
                );
                dispatch(loginSuccess({ user: response.data.user }));
                navigate('/');
            } catch (error) {
                dispatch(loginFailure({
                    error: error.response?.data?.message || "Login using Google failed! Please try using email and password!"
                }));
                navigate('/login');
            }
        };

        handleCallback();
    }, [dispatch, navigate]);

    return (
        <div className="flex items-center justify-center min-h-screen">
            <div className="animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-red-700"></div>
        </div>
    );
}

export default OAuthCallback;

------------------------ React App.jsx -------------------------

import React from 'react';
import { BrowserRouter, Routes, Route } from "react-router-dom";

import NavigationBar from './components/Navigation/NavigationBar.jsx';
import Home from './pages/Static/Home.jsx';
import About from './pages/Static/About.jsx';
import Register from './pages/Auth/Register.jsx';
import Login from './pages/Auth/Login.jsx';
import OAuthCallback from './components/Auth/OAuthCallback.jsx';

function App() {
  return (
    <BrowserRouter>
      <NavigationBar />
      <Routes>
        <Route path='/' element={<Home />} />
        <Route path='/about' element={<About />} />
        <Route path='/register' element={<Register />} />
        <Route path='/login' element={<Login />} />
        <Route path="/oauth/callback" element={<OAuthCallback />} />
      </Routes>
    </BrowserRouter>
  )
}

export default App;

------------------------ React (Sample Implementation) Login.jsx -------------------------

import React, { useState } from 'react';
import { Link, useNavigate } from 'react-router-dom';
import axios from "axios";
import { useDispatch, useSelector } from 'react-redux';
import { loginStart, loginSuccess, loginFailure } from '../../redux/user/userSlice.js';
import OAuthButtons from '../../components/Auth/OAuthButtons.jsx';

function Login() {
  const [formDate, setFormData] = useState({
    email: "",
    password: "",
  });
  const navigate = useNavigate();
  const dispatch = useDispatch();
  const { loading, error } = useSelector((state) => state.user);

  const handleChange = (e) => {
    setFormData({ ...formDate, [e.target.id]: e.target.value });
  }

  const handleSubmit = async (e) => {
    e.preventDefault();
    try {
      dispatch(loginStart());
      const response = await axios.post("http://localhost:4000/api/auth/login", formDate, { withCredentials: true });
      const data = await response.data;
      dispatch(loginSuccess({ user: data.user }));
      navigate("/profile");
    } catch (error) {
      dispatch(loginFailure({ error: error.response?.data?.message || "An unexpected error occurred. Please try again." }));
    }
  }

  return (
    <div className='p-3 max-w-lg mx-auto'>
      <h1 className='text-3xl text-center font-semibold my-7'>Login</h1>
      <form onSubmit={handleSubmit} className='flex flex-col gap-4'>
        <input type="email" placeholder='Email' id='email' className='bg-slate-100 p-3 rounded-lg' onChange={handleChange} />
        <input type="password" placeholder='Password' id='password' className='bg-slate-100 p-3 rounded-lg' onChange={handleChange} />
        <button type='submit' disabled={loading} className='bg-slate-700 text-white p-3 rounded-lg uppercase hover:opacity-95 disabled:opacity-75 cursor-pointer'>
          {loading ? "Loading..." : "Login"}
        </button>
        <div className='border-b'></div>
        <OAuthButtons />
      </form>
      <div className='flex gap-2 mt-5'>
        <p>Don't an account?</p>
        <span className='text-blue-500'><Link to={"/register"}>Register</Link></span>
      </div>
      <div>
        <p className='text-red-700'>{error}</p>
      </div>
    </div>
  )
}

export default Login;
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (1):
  • Filler text (0.5): -------------------------------
  • Filler text (0): --------------------------------
  • Filler text (0): -------------------------------
  • Filler text (0): --------------------------------
  • Filler text (0): -------------------------------
  • Filler text (0): --------------------------------
  • Filler text (0): ------------------------
  • Filler text (0): -------------------------
  • Filler text (0): ------------------------
  • Filler text (0): -------------------------
  • Filler text (0): ------------------------
  • Filler text (0): -------------------------
  • Filler text (0): ------------------------
  • Filler text (0): -------------------------
  • Low reputation (1):
Posted by: Jeel Patel

79154065

Date: 2024-11-04 02:51:15
Score: 6.5 🚩
Natty: 4.5
Report link

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Filler text (0.5): ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
  • Low entropy (1):
  • Low reputation (1):
Posted by: Cuong Nguyen Cao

79147980

Date: 2024-11-01 12:29:01
Score: 4.5
Natty: 4
Report link

تم تجربة التالي وقد عمل بنجاح انطلاقا من الاعدادات الخاصة بالكمبوبوكس واستدعاء السورس كود كالتالي . 'Source '!$A$1:$A$4 مما اكد الحصول على الالخانات A1 : A4 بالتوفيق للجميع

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: AHMED FARiD

79146782

Date: 2024-11-01 02:34:13
Score: 2.5
Natty:
Report link

Educational

summarize दौस्ति की मिसाल: धर्म से परे इंसानियत की कहानी

Umesh Behera

mode_edit_outline

star_border

Rahim Badshah

mode_edit_outline

star_border Chapter 1: मित्रता की शुरुआत

edit

download

pause

broken_image Add Media Insufficient credits अध्याय 1 - मित्रता की शुरुआत

गर्मी के एक सुंदर दिन में, छोटे से गांव 'घनश्यामपुर' में एक नया परिवार आया था। यह परिवार मुस्लिम समुदाय से था और बादशाह परिवार के नाम से जाना जाता था। पिता रहीम बादशाह, माता सलमा बेगम और बेटा रहीम बादशाह। रहीम एक 17 वर्षीय युवक था, जो अपने माता-पिता और छोटे भाई-बहनों के साथ रहता था।

गांव के लोग इस नए परिवार का स्वागत करने में थोड़ा संकोच कर रहे थे, क्योंकि यह एक हिंदू बहुल गांव था। लेकिन रहीम का मिठास और सरल व्यवहार जल्द ही उन्हें सभी के दिलों में बैठ गया। वह गांव के बच्चों के साथ खेलने और उनकी मदद करने लगा। धीरे-धीरे रहीम और गांव के एक अन्य युवक, उमेश बेहरा, के बीच एक गहरी दोस्ती बन गई।

उमेश एक हिंदू परिवार से आता था। उसके पिता रामू बेहरा एक किसान थे और उसकी माता सुधा बेहरा गृहिणी थीं। उमेश अपने माता-पिता और छोटे भाई-बहनों के साथ रहता था। वह एक मेधावी छात्र था और गांव में सबसे अच्छे छात्रों में से एक माना जाता था।

एक दिन, जब उमेश स्कूल से लौट रहा था, तो उसने रहीम को अकेले खड़े देखा। उमेश ने रहीम की मदद की पेशकश की और धीरे-धीरे दोनों युवकों के बीच एक मजबूत दोस्ती बन गई। वे एक-दूसरे के घर जाया करते और एक-दूसरे की मदद करते। उमेश रहीम को हिंदी में पढ़ने-लिखने की मदद करता और रहीम उमेश को उर्दू में सुधार करता।

गांव में दोनों परिवारों के बीच भी धीरे-धीरे एक अच्छा संबंध बन गया। रहीम के पिता रहीम बादशाह और उमेश के पिता रामू बेहरा अक्सर एक-दूसरे से मिलते और अपने परिवारों के बारे में बात करते। सलमा बेगम और सुधा बेहरा भी एक-दूसरे के घर जाया करती और आपस में मिठाइयां बांटती।

एक दिन, उमेश और रहीम स्कूल से लौट रहे थे। तभी अचानक आसमान में काले बादल छा गए और तेज़ हवाएं चलने लगीं। शीघ्र ही भारी बारिश शुरू हो गई और तेज़ तूफान आने लगा। गांव के कई घर क्षतिग्रस्त हो गए और लोगों को बहुत परेशानी हो रही थी।

उमेश के घर में भी काफी नुकसान हुआ था। उसके पिता रामू बेहरा के खेत भी बर्बाद हो गए थे। उमेश बहुत चिंतित था और वह रहीम के घर गया। रहीम ने उमेश को देखकर उसकी मदद करने की पेशकश की। उमेश ने रहीम से कहा, "मेरा परिवार बहुत परेशान है। हमारा घर और खेत नष्ट हो गए हैं।" रहीम ने कहा, "मेरे घर में आ जाओ, हम आपकी मदद करेंगे।"

रहीम के पिता रहीम बादशाह ने भी उमेश के परिवार की मदद करने का फैसला किया। वह उमेश के पिता रामू बेहरा से मिले और उन्हें अपने घर में रहने का न्यौता दिया। रामू बेहरा ने इस दोस्ताना जेस्चर को स्वीकार कर लिया और अपना परिवार रहीम के घर में ले गए।

इस तरह, एक हिंदू और एक मुस्लिम परिवार एक साथ रहने लगे। रहीम और उमेश की दोस्ती और परिवारों के बीच बढ़ते संबंध ने गांव में एक नए उदाहरण की शुरुआत की। लोग देखकर हैरान थे कि धर्म और जाति के बावजूद, ये दो परिवार कैसे एक-दूसरे की मदद कर रहे हैं। यह सच्ची मानवता और सहयोग की भावना थी, जो सभी बाधाओं को पार कर गई।

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Rohim Badsha

79144755

Date: 2024-10-31 12:38:02
Score: 4
Natty: 4
Report link

Браузер использует кэш для загрузки старой версии swagger. Ctrl + Shift + R(Windows) - обновление страницы с очисткой кэша

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: user26954969

79144182

Date: 2024-10-31 09:46:02
Score: 0.5
Natty:
Report link

flag = True

start = input('Для начала работы введите команду start \n') if start.lower() == 'start': while True:

 print("Я Ваш помощник. Выберите математический оператор: [+] [-] [*] [/] [sin] [cos] [tan] [cotan]")

operator = input("Введите оператор: ")

if operator in ["sin", "cos", "tan", "cotan"]:
    number = float(input("Введите число: "))
    if operator == "sin":
        print("Результат sin:", math.sin(math.radians(number)))
    elif operator == "cos":
        print("Результат cos:", math.cos(math.radians(number)))
    elif operator == "tan":
        print("Результат tan:", math.tan(math.radians(number)))
    elif operator == "cotan":
        if math.tan(math.radians(number)) != 0:
            print("Результат cotan:", math.tan(math.radians(number)))
        else:
            print("Ошибка: cotan не определен для этого значения.")
else:
    number1 = float(input("Введите первое число: "))
    number2 = float(input("Введите второе число: "))

    if operator == "+":
        print("Результат суммы:", number1 + number2)
    elif operator == "-":
        print("Результат вычитания:", number1 - number2)
    elif operator == "*":
        print("Результат умножения:", number1 * number2)
    elif operator == "/":
        if number2 != 0:
            print("Результат деления:", number1 / number2)
        else:
            print("Ошибка: деление на ноль невозможно.")
    else:
        print("Неверный оператор. Попробуйте снова.")
   

print("Выход из программы.")
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: user28073512

79143102

Date: 2024-10-30 23:31:20
Score: 4
Natty: 4.5
Report link

ببینید دوستان گفتم که من چندین سال تایید کردم ۸۰درصد کد هارو نمیدونم چی هستند ولی به هر حال افشا گری باید بکنم همشون مال خودم هست و به صورت مدارک میتونم اثبات کنم این دیتا مال یک روز دوروز ک نیست مال چند مدت تلاشم هست بازم بگم من قصد دارم توافق کنم ولی هم سیاستش را ندارم چگونه اعلام کنم هم آنقدر حرفه ای نیستم اگر بودم اجازه نمی‌دادم هک شوم چنان هکم کردند اجازه دسترسی به پلاگین مترجم کیبردمم هم نتوانم بشوم

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Goli Gharaei

79140401

Date: 2024-10-30 09:18:39
Score: 7 🚩
Natty: 5.5
Report link

Мужик ты лучший, я очень долго голову ломал, это помогло

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Илья Шохов

79136584

Date: 2024-10-29 09:44:23
Score: 7 🚩
Natty: 6.5
Report link

Посмотрите реализацию здесь, я воспользовался данным классом и все работает https://github.com/OxMohsen/validating-data/blob/main/src/Validate.php

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: paungire

79136320

Date: 2024-10-29 08:22:53
Score: 1.5
Natty:
Report link

Лично у меня ошибка была в написании 'product_files'. Users.ts Было 'products_files'

{
            name: 'product_files',
            label: 'Products files',
            admin: {
                condition: () => false,
            },
            type: 'relationship',
            relationTo: 'product_files',
            hasMany: true,
        },
Reasons:
  • Has code block (-0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: Егор Косинцев

79135490

Date: 2024-10-29 00:47:43
Score: 5
Natty: 5
Report link

я тоже помучился и нашёл выход , py.exe -m venv venv и все заработала,

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Толиб Ибадуллаев

79131722

Date: 2024-10-27 23:47:11
Score: 7 🚩
Natty: 5.5
Report link

Всё это ложь, ПРОГРАМИ ДАЖЕ ПЛАТНИЕ ВРУТ

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Vlad motobloger

79130970

Date: 2024-10-27 16:17:15
Score: 4
Natty:
Report link

Model::query()->latest()->get(); model::query()->latest()->take(10)->get();

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Viva Hadi

79126635

Date: 2024-10-25 16:56:41
Score: 6.5 🚩
Natty:
Report link

خرید سالت انار در بهترین قیمت ارسال به سراسر کشور

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: best vape

79125072

Date: 2024-10-25 09:34:14
Score: 5.5
Natty: 5
Report link

https://github.com/apache/brpc/tree/master/src/bvar this is what you need...............

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • No latin characters (0.5):
  • Filler text (0.5): ...............
  • Low reputation (1):
Posted by: xkkppp

79124355

Date: 2024-10-25 05:31:49
Score: 1
Natty:
Report link

my_list = [34, 128, 5, 7 ,32 ,12, 7, 3]

'''Функция преобразования СПИСКА в ЧИСЛО.'''

def f_list_to_int(arg_list): a = arg_list.pop(0) s = str(a)

for i in range(len(arg_list)):
    s += str(arg_list[i])

# Восстановление изначального СПИСКА.
arg_list.insert(0, a)

b = int(s)
return b

'''Вызываем функцию преобразования...''' d = f_list_to_int(my_list) print(f'd = {d}')

result >>> d = 3412857321273

Reasons:
  • Has code block (-0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: user6049536

79124083

Date: 2024-10-25 02:32:11
Score: 5
Natty: 5
Report link

किसी गलत लेनदेन के लिए मीशो से पैसे वापस पाने के लिए, आपको तुरंत पेटीएम के ग्राहक सहायता से संपर्क करना चाहिए: .7407628017 और (24/7 उपलब्ध) समस्या की रिपोर्ट करें । आपके साथ जुड़ने के लिए धन की वसूली में मदद करने के लिए उनके पास प्रक्रियाएँ हैं।...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Pooja

79122707

Date: 2024-10-24 15:47:08
Score: 5
Natty: 5
Report link

Спрайт» (2D и Apply c левой стороны

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: александр гусев

79120754

Date: 2024-10-24 07:18:50
Score: 4.5
Natty:
Report link

Win10 PostgreSQL16, столкнулся с проблемой database cluster initialisation failed при переустановке PostgreSQL16. Искал решение больше 10 часов, создавал пользователей и прочее, запускал через runas и т.д, ничего не помогало.

Что сработало у меня. После неудачной установки - Удаляем postgres (проверить также AppData\Roaming - удалить pgadmin и записи реестра \HKEY_LOCAL_MACHINE\SOFTWARE\Postgress.. Перезагружаемся. 1a. Делаем https://stackoverflow.com/a/68737176/23587300 1b. Проверяем кодировку, как сказано в https://stackoverflow.com/a/57897738/23587300 2. Создаем папку и даем в ней пользователям максимальные права, например C:\Program Files\MyFolder enter image description here

  1. Ставим postgres в эту папку (папку дата ставим тоже в вашу созданную папку!), и все работает!
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • No code block (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: A1TR

79119230

Date: 2024-10-23 18:31:08
Score: 3
Natty:
Report link

НУЖНО установить OPENJDK, сложить все файлы которые получили из гугл плей консоли в отдельную папку, потом перейти в эту папку из консоли и использовать вот такую команду: java -jar pepk.jar --keystore=foo.keystore --alias=fookey --output=output.zip --include-cert --rsa-aes-encryption --encryption-key-path=encryption_public_key.pem

foo.keystore это старый ваш файл с ключем. fookey - этоа лиас этого файла (посмотреть его можно вот такой командой keytool -list -v -keystore foo.keystore )

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: Mikhail

79118628

Date: 2024-10-23 15:33:58
Score: 6.5 🚩
Natty: 5
Report link

سلام. چرا موضوع عوض می‌کنین . چرا پستو پاک کردین. خودکشی چیه. مرضیه با برادرش داشتن از دست دزد فرار میکردن که اینطوری شد. اگر اطلاع نداریین لطفا چیز اشتباه منتشر نکنین

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: sattar

79116933

Date: 2024-10-23 07:54:35
Score: 7 🚩
Natty: 5.5
Report link

Мне ничего не помогло, уже несколько дней мучаюсь с этой проблемой!

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Яро Князь

79116797

Date: 2024-10-23 07:28:24
Score: 4
Natty:
Report link

Если сильно захотеть перегрузить оператор, можно сделать препроцессор для аннотации и заменять выражения a + b, a += b a.add(b), a = a.add(b) А также написать плагин для idea чтобы убрать error предупреждения в этих случаях. Вот пример: https://github.com/AxeFu/OperatorOverloadingJava

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: AxePlay

79110847

Date: 2024-10-21 16:05:19
Score: 3.5
Natty:
Report link

Как вариант ещё можно использовать функцию CAST для преобразовани типа, если используете SQLAlchemy 2.0

Название_модели.название_поля.cast(Text)

Естественно нужно все импортировать:

from sqlalchemy import cast, Text

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Виктор Веретнов

79109715

Date: 2024-10-21 11:02:15
Score: 5.5
Natty: 5
Report link

Процесс открытия COM-порта - асинхронный. вы не дожидаетесь открытия и сразу пытаетесь считать данные. В прямом варианте, думаю, на on('read') подключено только вызов usb_rx();. В случае таймера порт также успевает открыться.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Vovusp

79101276

Date: 2024-10-18 08:44:37
Score: 5
Natty: 3
Report link

或许你可以试试重构一下el-table 将虚拟组件放入表格的bodywrap当中

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: 王伟东

79098986

Date: 2024-10-17 16:15:05
Score: 7.5 🚩
Natty: 6.5
Report link

друг, удалось решить эту проблему? у меня тоже самое

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: NineTails

79098543

Date: 2024-10-17 14:31:29
Score: 5
Natty: 4.5
Report link

Нужно пририсовать квадрат слева 3 границы черные 1 белая справа фон белый и эта граница белая перекроет черную в элементе TextBox

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: user27854404

79097157

Date: 2024-10-17 08:22:30
Score: 6.5 🚩
Natty: 5.5
Report link

ни один из этих способов не поможет, единственное. что поможет это чтобы файл отображался вместе с консолью тогда все работает. но и консоль будет вылазить

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Владислав Аврелий

79095498

Date: 2024-10-16 19:12:59
Score: 5.5
Natty:
Report link

Не могу открыть ссылку на изображение в чём может быть причина что-то нужно поменять либо что-то нужно удалить в этой ссылке помогите https://tinki.vip/p/982ndfsh4n2l12fdsjsdf

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Денис Павлов

79092700

Date: 2024-10-16 06:28:04
Score: 1.5
Natty:
Report link

InitiallyExpandedFunc 이 함수를 이용하면 될 것 같아요

하이라키 칼럼에 InitiallyExpandedFunc="@(x => allExpend)" 이렇게 사용한다고 가정하면

bool allExpend = false;

void ExpandAllGroups(bool newvalue)
{
    allExpend = newvalue;
    // use Elements get method
}

이렇게 하면 하이라키칼럼이 allExpend 변수의 상태에 따라 모두 접히거나 펴집니다.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Leeds9

79092383

Date: 2024-10-16 03:40:23
Score: 3.5
Natty:
Report link

In ajax : data ==> data.trim(); ان شاء الله

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: omed berwary

79092142

Date: 2024-10-16 00:57:44
Score: 1.5
Natty:
Report link

𝙇𝙄𝙑𝙀 𝘾𝘼𝙈𝙀𝙍𝘼 𝙇𝙊𝘾𝘼𝙏𝙄𝙊𝙉 𝙃𝘼𝘾𝙆 "লাইভ ক্যামেরা লোকেশন হ্যাক" টেলিগ্রাম বট এটি শুধুমাত্র শিক্ষামূলকভাবে তৈরি করা হয়েছে। এটাকে খারাপ কাজে ব্যবহার না করার জন্য অনুরোধ করা যাচ্ছে। দয়া করে এটাকে কেউ খারাপ কাজে ব্যবহার করবেন না। এটা যদি কেউ খারাপ কাজে ব্যবহার করেন তাহলে এই বটের ডেভলপার কোন ভাবে দায়ী থাকবে না। 𝙇𝙄𝙑𝙀 𝘾𝘼𝙈𝙀𝙍𝘼 𝙇𝙊𝘾𝘼𝙏𝙄𝙊𝙉 𝙃𝘼𝘾𝙆 "Live Camera Location Hack" Telegram Bot This is made for educational purposes only. It is requested not to misuse it. Please don't misuse it. The developer of this bot will not be responsible in any way if it is misused by someone.

Dev: DADA Technology https://t.me/DADAechnology

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Noyon Ahmed

79091819

Date: 2024-10-15 21:39:56
Score: 1.5
Natty:
Report link

English: I encountered this issue, and with God's help, I did the following to solve the problem:

لقد واجهتني هذه المشكله وبفضل ربنا قمت بالاتي لحل المشكله

  1. Uninstall all extensions related to C++.

  2. (c++) الغاء تثبيت جميع الاضافات المتعلقه بلغه

  3. Delete the .vscode folder.

  4. حذف مجلد .vscode

After that reinstall the extensions and run the code; it will work. This method worked for me. Thanks

وبعدها قم بتثبيت الاضافات مره اخرى وقم بتشغيل الكود سيعمل لقد نجح معي هذا الأمر وشكرا

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: user25235695

79090588

Date: 2024-10-15 15:12:58
Score: 3
Natty:
Report link

Code black

Trap to 

sahil

il

khan

30cr `

========== my

-


Account number

-

Send me


Sir .............?


`

`

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • No latin characters (0.5):
  • Filler text (0.5): ==========
  • Filler text (0): .............
  • Low reputation (1):
Posted by: Arman T Khan

79085085

Date: 2024-10-14 07:25:21
Score: 7.5 🚩
Natty: 4.5
Report link

enter image description here В имени администратора или пользователя к базе данных есть символы, одна из причин.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Алескандр

79082611

Date: 2024-10-13 07:21:37
Score: 5.5
Natty: 5.5
Report link

אני יודע איך לעשות את זה תשלח לי את הקובץ המלא PAC ואני ידגים לך

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: פיני

79081046

Date: 2024-10-12 13:03:35
Score: 6.5 🚩
Natty:
Report link

عدل على التنسيق الشرطى


عدل على التنسيق الشرطى

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: ahmed al sheikh

79080901

Date: 2024-10-12 11:33:15
Score: 9.5 🚩
Natty:
Report link

HAHAHAHAHAHHAAHHAHAHAHAHHAHAHAHAHAH

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low entropy (1):
  • Low reputation (1):
Posted by: wee

79080268

Date: 2024-10-12 05:57:57
Score: 1.5
Natty:
Report link

已经过了三年了,希望你已经解决了这个问题。

我刚刚研究出一个解决方案:

    $('#gallery-1').on('click', 'a', function(event) {
        
        let index = $(this).closest('.gallery-item').index('#gallery-1 .gallery-item');

        setTimeout(()=>{
            let galleryLightbox = $(`#elementor-lightbox-slideshow-${$(this).data('elementor-lightbox-slideshow')}`);
            let swiper_target = galleryLightbox.find('.swiper');
            if(swiper_target.length) {
                let swiperInstance = swiper_target.data('swiper');
                swiperInstance.loopDestroy();
                swiperInstance.params.loop = false;
                swiperInstance.update();
                swiperInstance.slideTo(index, 0)
            }
            

        }, 500);
        
    });

通过监听弹出图片,并使用 JS 动态修改 Swiper,请将 #gallery-1 替换为你的 Gallery ID。

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: 徐先生

79078057

Date: 2024-10-11 11:43:06
Score: 2
Natty:
Report link

Очень долго искал решение этой проблемы.

Для того чтобы переориентировать ось Y. Необходимо в extent изменить точку отсчёта высоты, и сделать её отрицательной. Далее в addCoordinateTransforms нужно описать преобразование координаты по Y на отрицательную(минус на минус дают плюс) В итоге мы получим смещение нулевой координаты в левый-верхний угол.

Вырезка ключевых элементов кода:

import { Projection, addCoordinateTransforms } from 'ol/proj'
import ImageLayer from 'ol/layer/Image'
import Static from 'ol/source/ImageStatic'

...

const extent = [0, -img.height, img.width, 0]
const projection = new Projection({
        units: 'pixels',
        extent: extent,
        worldExtent: extent
      })

addCoordinateTransforms(
  projection,
  projection,
  function (coordinate) {
    return coordinate
  },
  function (coordinate) {
    return [coordinate[0], -coordinate[1]]
  })


const targetImageLayer = new ImageLayer({
  source: new Static({
     attributions: '© TODO',
     url: imageUrl,
     projection: projection,
     imageExtent: extent
  })
})
...

UPD. Openlayers v.8.2.0

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Ivan Likhomanov

79074059

Date: 2024-10-10 11:01:16
Score: 2
Natty:
Report link

Вот написал regex

\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) # IP-адрес
:(?!0+)(?!6553[6-9])(?!655[4-9]\d)(?!65[6-9]\d\d)(?!6[6-9]\d\d\d)(?![7-9]\d\d\d\d)(\d{1,5})  # Порт
\b
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: Daloshka

79073659

Date: 2024-10-10 09:28:44
Score: 2.5
Natty:
Report link

确保assets/css/main.scss文件的开头包含YAML前置元数据:

请保留下面两条白线,这个是转化处理的识别前提!

---
---

@import "style";
@import "course-document";

这些空的YAML前置元数据行是必要的,它们告诉Jekyll处理这个文件。

如果进行了这些修改后问题仍然存在,请运行bundle exec jekyll build --trace并查看详细的错误输出,这可能会提供更多关于问题原因的信息。

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: Onefly.eth