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
@echo off | |
setlocal | |
:: ============================================================== | |
:: Fix VS Code Folder Issue after Windows Update | |
:: ============================================================== | |
:: Some Windows updates seem to be isolating VS Code files under a "_" | |
:: subfolder inside the main installation directory. This script checks | |
:: if such a folder exists and prompts the user before moving its | |
:: contents back to the correct location. |
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
<!DOCTYPE html> | |
<html> | |
<head><meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Data Engineering Process Fundamentals Discovery Notebook</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
<style type="text/css"> | |
pre { line-height: 125%; } |
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
/* | |
Lazy loading component with Suspense support | |
*/ | |
import React, { Suspense } from 'react'; | |
import Loading from './Loading'; | |
const App = (): JSX.Element => { | |
// lazy load the containers. This should create different chunk file |
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
/* | |
* Copyright 2022 ozkary.com | |
* http://ozkary.com/ by Oscar Garcia | |
* Licensed under the MIT license. Please see LICENSE for more information. | |
* | |
* helloworld.cpp | |
* Simple Console standard output and input string | |
* ver. 1.0.0 | |
* | |
* Created By oscar garcia - ozkary |
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
/* | |
@file fluid-for-loop.xml | |
@description Use this script to convert an input array into json properties. Notice how a command is not added to the last item. | |
Use hyphen to strip extra blank chrs. | |
@author ogarcia (ozkary) | |
@ref https://shopify.dev/api/liquid/objects/for-loops | |
Input JSON request: | |
{ | |
"names": [ |
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
{ | |
"routes": [ | |
{ | |
"route": "/", | |
"allowedRoles": ["anonymous"] | |
}, | |
{ | |
"route": "/about", | |
"allowedRoles": ["anonymous"] | |
}, |
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
name: Ozkary Brand A CI/CD | |
on: | |
push: | |
branches: | |
- brand-a | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
branches: | |
- brand-a |
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
/** | |
* @file routes/routeLoader.ts | |
* @description lazy loading of routes. | |
* | |
* @author ogarcia (ozkary) | |
* | |
*/ | |
/** | |
* Use this route loader when using lazy loading and dynamic imports |
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
<policies> | |
<inbound> | |
<base /> | |
<rewrite-uri template="/websamples.countryinfo/CountryInfoService.wso" copy-unmatched-params="false" /> | |
<set-body template="liquid"> | |
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns="http://www.oorsprong.org/websamples.countryinfo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<soap:Body> | |
<ListOfContinentsByName> | |
</ListOfContinentsByName> | |
</soap:Body> |
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
// import the operations from logger | |
import { error, audit } from '../logger'; | |
/** | |
* Sample code to log an error from a handled exception | |
* send the message asychronously | |
*/ | |
try { | |
// call an operation that can raise errors |
NewerOlder