Skip to content

Instantly share code, notes, and snippets.

View devded's full-sized avatar
🎯
Focusing

Dedar Alam devded

🎯
Focusing
  • Dhaka, Bagladesh
View GitHub Profile
Note: I don't know where does this thread belongs. If I'm on the incorrect section, move it to the correct one.
Many people are literally just selling this method and I feel like sharing this out so that you don't have to pay because the seller just don't do a minute of work to get you the drive.
So moving straight towards the method:
Step I:
Go to this link: https://td.fastio.me/ (mirrors to be left at the last)
Step II:
Type your desired drive's name at the first field and your Gmail on the bottom field.
@devded
devded / FileProcess.jsx
Created October 10, 2021 07:18
React json file download and upload. Export a json object and download as a json file. Import a json file and process in client side.
import React from "react";
const FileProcess = () => {
const jsonFileDownload = () => {
const json_data = {
name: "Dedar",
age: "14",
address: "House #28",
};
const fileName = "finename.json";

source venv/bin/activate

pip uninstall

pip list

pip install -e .

@devded
devded / GetTotalContributinonsInGitlab.md
Last active January 1, 2024 16:25 — forked from qerdcv/GetTotalContributinonsInGitlab.md
Get total count of contributions in gitlab for current year

Just paste it into the browser console, and it will count contributions for you.

const currentYear = String(new Date().getFullYear());
const targetElement = document.querySelector(".col-12.calendar-block.gl-my-3");

if (targetElement) {
  const userContribElements = Array.from(document.querySelectorAll(".user-contrib-cell"));

  const totalContribution = userContribElements.reduce((acc, el) => {
1: Open Sign Up Page: https://skl.sh/2OJsE8v
2: Use These Cards Numbers to generate right one:
1: 510458xxxxxxxxxx (Updated)
2: 549458xxxxxxxxxx (try one of them)
3: Gen Free Account Numbers: https://namso-gen.com
4: Select Active Account Number Number: https://www.mrchecker.net/card/ccn2/
if it does not work with real gmail id then create fakeone it will work : https://temp-mail.org/
def rgba_to_hex(rgba_color):
# Convert the RGBA color value to a 32-bit integer
hex_value = (int(rgba_color[3] * 255) << 24) | (rgba_color[0] << 16) | (rgba_color[1] << 8) | rgba_color[2]
# Convert the 32-bit integer to a hexadecimal string
hex_string = hex(hex_value)
# Return the result
return hex_string
data = [
{
id: 1,
name: null,
price: 1,
},
{
id: "2",
name: "Nike",
price: "",
minimumQuantity = [0, 11, 21, 31, 41, 51, 61, 71, 81, 91]
maximumQuantity = [4, 20, 30, 40, 50, 60, 70, 80, 90, 100];
// check number in minimumQuantity and maximumQuantity in range
const checkNumber = (number) => {
for (let i = 0; i < minimumQuantity.length; i++) {
if(number >= minimumQuantity[i] && number <= maximumQuantity[i]){
return false;
}
@devded
devded / date type
Created January 6, 2022 09:54 — forked from aaggour/date type
date type
<input type=date step=7 min=2014-09-08> - Monday only
<input type=time min=9:00 max=17:00 step=900> - 15m increments
<input type=week step=2 min=2014-W30>

Step 1:

Open up cmd.exe (note: you may need to run it as an administrator, but this isn't always necessary), then run the below command:

netstat -ano | findstr <Port Number>

(Replace with the port number you want, but keep the colon)