This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module 'lucide-react' { | |
export * from 'lucide-react/dist/lucide-react.suffixed' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"timezone": "Africa/Abidjan", | |
"offset": "+00:00" | |
}, | |
{ | |
"timezone": "Africa/Accra", | |
"offset": "+00:00" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="row"> | |
<div style="margin: 0 auto; min-height: 100vh; min-width: 100%;" class="d-flex align-items-center justify-content-center"> | |
<p> this is a fucking centered item</p> | |
</div> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetch = require('node-fetch'); | |
function get(url, headers = {}) { | |
return fetch(url, { | |
method: 'GET', | |
headers, | |
}).then((r) => r.json()); | |
} | |
async function post(url, payload, headers = {}) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//if you're using node.js uncomment below line and run "npm install node-fetch" | |
// const fetch = require('node-fetch') | |
async function paperfly (id, number) { | |
const res = await fetch('http://paperfly.com.bd/trackerapi.php', { | |
headers: { | |
'content-type': 'application/x-www-form-urlencoded' | |
}, | |
body: `orderid=${id}&phone=${number}`, | |
method: 'POST' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Storage { | |
set(object) { | |
return new Promise((resolve, reject) => { | |
try { | |
chrome.storage.local.set(object, resolve); | |
} catch (e) { | |
reject(e); | |
} | |
}); | |
} |