This file contains 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
# @author - Brion Silva | |
# Copyright © 2018 Aparecium Labs. All Rights Reserved | |
# Outputs | |
src/**/*.js | |
src/**/*.js.map | |
src/**/*.d.ts | |
out-tsc | |
# Logs |
This file contains 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
# @author - Brion Silva | |
# Copyright © 2018 Aparecium Labs. All Rights Reserved | |
scss_files: 'src/**/*.scss' | |
exclude: | |
- 'node_modules/**/*.scss' | |
linters: | |
# Reports when you use improper spacing around ! (the "bang") in !default, |
This file contains 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
Show hidden characters
{ | |
"rulesDirectory": [ | |
"node_modules/codelyzer" | |
], | |
"rules": { | |
"arrow-return-shorthand": true, | |
"callable-types": true, | |
"class-name": true, | |
"comment-format": [ | |
true, |
This file contains 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
# @author - Brion Silva | |
# Copyright © 2018 Aparecium Labs. All Rights Reserved | |
files: | |
include: src/**/*.scss | |
options: | |
formatter: stylish | |
merge-default-rules: false | |
rules: | |
border-zero: 1 |
This file contains 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
{"version":1,"resource":"file:///Users/brion/Desktop/wso2/identity-app-projects/identity-apps/apps/console/src/features/users/components/user-profile.tsx","entries":[{"id":"Aykc.tsx","timestamp":1669115669058},{"id":"Z3Ei.tsx","timestamp":1669115689791},{"id":"uBmz.tsx","timestamp":1669115707973},{"id":"scnZ.tsx","timestamp":1669121201706},{"id":"RBVC.tsx","timestamp":1669121221245},{"id":"ASd4.tsx","source":"undoRedo.source","timestamp":1669121227297},{"id":"tr7J.tsx","timestamp":1669121261375},{"id":"HsRL.tsx","timestamp":1669121309719},{"id":"FdpH.tsx","source":"undoRedo.source","timestamp":1669121316783},{"id":"5o2Z.tsx","timestamp":1669121352884},{"id":"LSFP.tsx","timestamp":1669121370460},{"id":"apjs.tsx","source":"undoRedo.source","timestamp":1669121384032},{"id":"mmWS.tsx","timestamp":1669121462841},{"id":"u5Lk.tsx","timestamp":1669121493929}]} |
This file contains 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
STEPS | |
1. Download wget | |
brew install wget | |
2. Download a cookie exporter extension for the browser | |
For Chrome - https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg?hl=en | |
For Firefox - https://addons.mozilla.org/en-US/firefox/addon/cookie-exporter/ | |
3. Download Xcode from Apple developer website |
This file contains 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
# -*- coding: utf-8 -*- | |
""" | |
This simple util can be used to check the OpenCV version | |
available in the environment. | |
Usage: | |
Can be used to handle backward compatibility issues across OpenCV versions. | |
""" |
This file contains 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
import axios, { AxiosRequestConfig } from "axios"; | |
import React, { useEffect, useState } from "react"; | |
import { HttpError, HttpRequestConfig, HttpResponse } from "../models/api"; | |
/** | |
* Custom API hook to handle network requests. | |
* | |
* @param {HttpRequestConfig} config | |
* @param {(response: HttpResponse) => void} onSuccessCallback | |
* @param {(error: HttpError) => void} onErrorCallback |
This file contains 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
export const loadResourcesAtRuntime = async (meta: SupportedLanguages, bundleLocation: string) => { | |
let resources: Resource = {}; | |
for (const locale of Object.values(meta)) { | |
for (const [ nsKey, nsPath ] of Object.entries(locale.paths)) { | |
try { | |
const response = await fetch(`${ bundleLocation }/${ nsPath }`); | |
const payload = await response.json(); |
This file contains 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
import React, { Fragment } from 'react'; | |
import PropTypes from 'prop-types'; | |
import uniqid from 'uniqid'; | |
import { | |
FormGroup, ControlLabel, FormControl, InputGroup, | |
} from 'react-bootstrap'; | |
import Select from 'react-select'; | |
import 'react-select/dist/react-select.css'; | |
import Dropzone from 'react-dropzone'; | |
import { CustomCheckbox as Checkbox, CustomSwitch as Switch } from '../elements'; |
OlderNewer