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
{ | |
"schemeName": "Dali Style", | |
"version": "1.0", | |
"codeStyle": { | |
"all": { | |
"formatter_off_tag": "@formatter:off", | |
"formatter_on_tag": "@formatter:on", | |
"formatter_tags_accept_regexp": false, | |
"formatter_tags_enabled": false, | |
"max_line_length": 120, |
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 [ ! -d addons ]; then | |
exit 0; | |
fi | |
WORKBENCH=$(grep SV_WORKBENCH .env | cut -d '=' -f 2-) | |
if [[ ! "$WORKBENCH" ]]; then | |
echo "Workbench not enabled" |
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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo apt-get update | |
sudo apt-get install default-jre | |
sudo apt-get install jenkins | |
su - jenkins | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
cat ~/.ssh/id_rsa.pub # copy |
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
mkdir addons/vendor/drops/acp | |
cd addons/vendor/drops/acp | |
vue create . | |
yarn add superv-js | |
yarn serve |
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
php artisan vendor:publish --tag=superv.spa | |
cd resources/superv/spa | |
yarn install | |
~ modify files ~ | |
yarn build | |
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
<?php | |
namespace Laravel\Platforms\SuperV; | |
use RuntimeException; | |
class SuperV | |
{ | |
/** | |
* Open source and will stay so |
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
find the app's executable name | |
sudo opensnoop -n appName |
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
devServer: { | |
host: 'acp.superv.dev.io', | |
port: 8080, | |
proxy: { | |
'/api': { | |
target: 'http://api.superv.dev.io', | |
pathRewrite: { '^/api': 'acp' }, | |
changeOrigin: 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
# Search: | |
import (\w+) from '@shared.*' | |
# Replace | |
import \{ $1 \} from 'library-js' |
NewerOlder