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
@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";

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)

Git important command


First setup

git config --global user.email "you@example.com"

git config --global user.name "Your Name"

@devded
devded / Firebase.md
Created April 12, 2021 21:37 — forked from victorbruce/Firebase.md
My journey with Firebase so far. Cheatsheet to serve as a quick reference when developing firebase applications

Firebase

Set up firebase and Deploy

  • Head over to firebase. Sign in and create a project.

  • Copy your project settings under Firebase SDK snippet into your local project (ie your project's api key, auth domain, databaseURL, etc)

  • Create a file (firebase.js or config.js Any name that suits you is fine)

create a new repository on the command line

echo "# ter" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/devded/ter.git
git push -u origin main
1. Mail Template
https://github.com/leemunroe/responsive-html-email-template/blob/master/email.html
2. Convert CSS to Inline CSS
https://templates.mailchimp.com/resources/inline-css/
3. Remove <html> <head> & </body> tag
4. Convert to one line
https://www.textfixer.com/html/compress-html-compression.php
@devded
devded / TestGist
Last active November 23, 2020 21:26
git init Initialize a local Git repository
git clone ssh://git@github.com/[username]/[repository-name].git Create a local copy of a remote repository
git status Check status
git add [file-name.txt] Add a file to the staging area
git add -A Add all new and changed files to the staging area
git commit -m "[commit message]" Commit changes
git rm -r [file-name.txt] Remove a file (or folder)
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/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
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.