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
#!/bin/bash | |
echo -n "Enter design-volto-theme version: " | |
read -r dvtVersion | |
npx purge-lockfile@latest volto && rm -rdf node_modules && yarn cache clean && yarn add "redturtle/design-volto-theme#v$dvtVersion" -W && yarn i18n && git commit -am "chore(upd8): update dvt v$dvtVersion" && rm -rdf node_modules && yarn install --frozen-lockfile |
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 from 'react'; | |
import { defineMessages, useIntl } from 'react-intl'; | |
import { | |
Accordion, | |
AccordionHeader, | |
AccordionBody, | |
Input, | |
Button, | |
Icon, | |
FormGroup, |
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
"@octokit/types@^6.0.0", "@octokit/types@^6.0.1", "@octokit/types@^6.0.3": | |
version "6.1.1" | |
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.1.1.tgz#bc88b3eb5f447b025a2a1a8177a72db216e8d4ca" | |
integrity sha512-btm3D6S7VkRrgyYF31etUtVY/eQ1KzrNRqhFt25KSe2mKlXuLXJilglRC6eDA2P6ou94BUnk/Kz5MPEolXgoiw== | |
dependencies: | |
"@octokit/openapi-types" "^2.0.0" | |
"@types/node" ">= 8" | |
"@pmmmwh/react-refresh-webpack-plugin@0.3.0": | |
version "0.3.0" |
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
"@octokit/types@^6.0.0", "@octokit/types@^6.0.1", "@octokit/types@^6.0.3": | |
version "6.1.1" | |
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.1.1.tgz#bc88b3eb5f447b025a2a1a8177a72db216e8d4ca" | |
integrity sha512-btm3D6S7VkRrgyYF31etUtVY/eQ1KzrNRqhFt25KSe2mKlXuLXJilglRC6eDA2P6ou94BUnk/Kz5MPEolXgoiw== | |
dependencies: | |
"@octokit/openapi-types" "^2.0.0" | |
"@types/node" ">= 8" | |
"@plone/volto@plone/volto#rt_development": | |
version "11.1.0" |
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, { useState, useEffect, useReducer } from 'react'; | |
import { defineMessages, useIntl } from 'react-intl'; | |
import { toast } from 'react-toastify'; | |
import { Toast } from '@plone/volto/components'; | |
import { emailNotification } from '@plone/volto/actions'; | |
import { useSelector, useDispatch } from 'react-redux'; | |
import { Form, Button, Message } from 'semantic-ui-react'; | |
import { | |
GoogleReCaptchaProvider, | |
GoogleReCaptcha, |
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
#!/bin/bash | |
RED='\033[1;31m' | |
RESET='\033[0m' | |
echo -e "\nThese repos have not released changes:\n" | |
for dir in $(ls -Ad */); | |
do | |
cd "$dir" || exit |
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
#!/bin/bash | |
if [[ $# != 1 ]]; | |
then | |
echo "Illegal number of parameters, needed 1" | |
exit 1 | |
fi | |
if [[ -d $1 ]]; | |
then |
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
#!/bin/bash | |
CYAN='\033[1;34m' | |
RESET='\033[0m' | |
for dir in $(ls -Ad */); | |
do | |
cd $dir | |
echo -e "> ${CYAN}${dir}${RESET}\n" |
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
/* | |
* Credits in console | |
*/ | |
var redColor = '#CB1D15'; | |
var blackColor= '#000'; | |
setTimeout(function() { | |
console.log('\n' + | |
'%c ____ _ %c_____ _ _ \n' + |