Skip to content

Instantly share code, notes, and snippets.

View mustafaskyer's full-sized avatar
:octocat:

Mustafa mustafaskyer

:octocat:
View GitHub Profile
{"items":[{"id":43209080,"summary":"SMS to PRO - before PRO services suspended will breach by 10 days","authorKey":"mramadan","created":1686562937013,"startExecution":1686562937013,"endExecution":1686562938200,"category":"SUCCESS","eventSource":"jira.sla.threshold.trigger","objectItem":{"id":748,"name":"SMS to PRO - before PRO services suspended will breach by 10 days","typeName":"jira.sla.threshold.trigger"},"globalAssociatedItems":[],"globalMessages":[],"componentChanges":[{"id":113736546,"componentId":24943,"component":"ACTION","componentNameKey":"Edit issue","startTime":1686562937254,"duration":1886,"associatedItems":{"limit":9223372036854775807,"offset":0,"total":0,"results":[]},"changeItems":{"limit":9223372036854775807,"offset":0,"total":1,"results":[{"fieldName":"Issues edited successfully","changeTo":"MUSREF-25222"}]}},{"id":113736545,"componentId":24941,"component":"TRIGGER","componentNameKey":"SLA threshold breached","startTime":1686562937024,"duration":340,"associatedItems":{"limit":92233720368547
{
"header": {
"sair": "Sair",
"privacy": "Privacy",
"terms": "Terms & Conditions",
"help": "Help",
"login": "Login",
"home": "Home"
},
"footer": {
{
"header": {
"sair": "سير",
"privacy": "الخصوصية",
"terms": "الشروط والاحكام",
"help": "المساعدة",
"login": "دخول",
"home": "الصفحة الرئيسية"
},
"footer": {

Configuration to use TailwindCSS colors in a Styled Components theme with CRA + TypeScript.

Tailwind colors list: https://tailwindcss.com/docs/customizing-colors#generating-colors

Create files src/@types/styled.d.ts and src/resources/theme.ts with content below. Then add the theme on your project:

import { ThemeProvider } from 'styled-components'
import { theme } from 'resources/theme'
package com.hyperpayapp;
import androidx.annotation.NonNull;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
package com.hyperpayapp;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.net.Uri;
import android.os.IBinder;
import android.util.Log;
import android.widget.Toast;
@mustafaskyer
mustafaskyer / css-media-queries-cheat-sheet.css
Created February 8, 2021 21:06 — forked from bartholomej/css-media-queries-cheat-sheet.css
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@mustafaskyer
mustafaskyer / new-orders-format.json
Created April 12, 2020 12:32
new orders format json
[{
"id": 1,
"title": "أحتاج كتب من جرير ",
"desc": "من : مكتبة جرير , فرع العليا …",
"deliver_location": {
"address": "",
"lng": "",
"lat": ""
},
"service_location": {
{
"_comment": "this file has been validated through https://jsonschemalint.com/",
"orders": [
{
"id": "1",
"title": "طلبات نشطة",
"items": [
{
"id": "1",
"type": "WAITING",
const log = lg => console.log(lg)
this._timeoutIDs = new Set()
this._intervalIDs = new Set()
const setTimeoutt = (fn, time) => {
const id = setTimeout(() => {
this._timeoutIDs.delete(id);
fn();
}, time);