Skip to content

Instantly share code, notes, and snippets.

View azs06's full-sized avatar
:octocat:
Focusing

Md. Atiquzzaman Soikat azs06

:octocat:
Focusing
View GitHub Profile
@azs06
azs06 / fields.todo.txt
Last active September 5, 2023 13:07
fields.todo.txt
1. Mandatory field indicator ta missing
2. Hover effect cursor move korlew theke jay
3. Input field e entry korar por diselect korle error or success dekhabe
4. Error hole boarder color change hobe r icon dekhabe
5. Success hole border color default hobe, r icon dekhabe
6. Input field select korle border color primary color hobe
7. Promo code input field e remove CTA ashbe
8. Keyboard focus navigation border color global hobe
9. Font same hobe 3 tai. input text, title, r helper text.
10. Form gulor upore ekta note thakbe mandatory field er jonno (edited)
@azs06
azs06 / machine.js
Created March 30, 2023 11:03
Generated by XState Viz: https://xstate.js.org/viz
const roomsMachine = Machine({
id: 'rooms',
initial: 'step1',
states: {
step1: {
on: { STEP: 'step2' },
},
step2: {
on: { STEP: 'step3' },
},
@azs06
azs06 / machine.js
Created March 30, 2023 10:22
Generated by XState Viz: https://xstate.js.org/viz
// Define the state machine configuration for the first machine
const firstMachine = Machine({
id: 'firstMachine',
initial: 'start',
states: {
start: {
on: {
NEXT: 'transitionToSecondMachine',
},
@azs06
azs06 / index.html
Last active August 10, 2022 12:06
saved_codes
<main id="primary-container">
{% include "_page-header.njk" %}
{{content | safe}}
{% include "_page-footer.njk" %}
</main>
<script>
window.addEventListener('DOMContentLoaded', (event) => {
if(window.initSkipper){
initSkipper({
@azs06
azs06 / github-proxy-client.js
Created March 13, 2022 09:50 — forked from DavidWells/github-proxy-client.js
Full Github REST api in 34 lines of code
/* Ultra lightweight Github REST Client */
// original inspiration via https://gist.github.com/v1vendi/75d5e5dad7a2d1ef3fcb48234e4528cb
const token = 'github-token-here'
const githubClient = generateAPI('https://api.github.com', {
headers: {
'User-Agent': 'xyz',
'Authorization': `bearer ${token}`
}
})
@azs06
azs06 / backup.jxs
Created February 14, 2022 11:42
backup.jsx
<table className="min-w-full divide-y divide-gray-200">
<thead className="bg-gray-50">
<tr>
<th
scope="col"
className="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
>
Name
</th>
<th
@azs06
azs06 / readme.md
Created November 25, 2021 12:20
problem

You are given a string: candies, which is composed of chars from the English alphabet. If you see two consecutive candies that are the same, you pop them from left to right, until you cannot pop any more candies. Return the resulting string.

// candies = "abba"
// "abba" - pop the two b's -> "aa"
// "aa" - pop the two a's -> ""
// return ""
// candies = "abcd"
// return "abcd"
@azs06
azs06 / GitDeleteCommands.ps1
Created July 26, 2021 13:59 — forked from cmatskas/GitDeleteCommands.ps1
Git Delete Branch commands
## Delete a remote branch
$ git push origin --delete <branch> # Git version 1.7.0 or newer
$ git push origin :<branch> # Git versions older than 1.7.0
## Delete a local branch
$ git branch --delete <branch>
$ git branch -d <branch> # Shorter version
$ git branch -D <branch> # Force delete un-merged branches
## Delete a local remote-tracking branch
@azs06
azs06 / react-native.md
Last active August 9, 2019 13:45
React Native Issues

Glog issue

Running into the same issue here after upgrading from 0.44. None of the above solutions or clearing caches did the trick for me. Here's what I did to get things working again:
In the Terminal, navigate to the react-native/third-party/glog folder inside node_modules (for me, this was cd node_modules/react-native/third-party/glog-0.3.4)
Once actively in this folder, run ../../scripts/ios-configure-glog.sh
Glog is configured and the required config.h header file is created for Xcode to find