Skip to content

Instantly share code, notes, and snippets.

## Tolerance Calculator: Privacy policy
Welcome to Tolerance Calculator app!
This app does not require login and it does not collect personal data.
Yours sincerely,
Surflogic Team
.bullet-point-hollow {
height: 10px;
width: 10px;
border-radius: 10px;
border: 1px solid #02838d;
background-color: white;
position: absolute;
top: 8px;
left: -17px;
}
@Surf-logic
Surf-logic / link_folders.md
Last active October 13, 2024 06:13
link folders
@Surf-logic
Surf-logic / importDBtoAWSRDS.md
Last active May 4, 2024 23:18
Import data base into AWS RDS using MySQL Workbench

Remove the 3 lines below if they're there, or comment them out with -- :

At the start:

-- SET @@SESSION.SQL_LOG_BIN= 0;
-- SET @@GLOBAL.GTID_PURGED=/*!80000 '+'*/ '';

At the end:

@Surf-logic
Surf-logic / eas_commands.md
Last active September 20, 2025 08:51
eas commands
  • Install NodeJs
choco install -y nodejs
  • Install development kit
choco install -y microsoft-openjdk17
@Surf-logic
Surf-logic / keytool_sheet.md
Last active April 25, 2024 01:57
Keytool cheat sheet

Generate new keystore and certificate

  1. Use the following command line to generate a new key
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
  1. Export the certificate for that key to PEM format
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
@Surf-logic
Surf-logic / Unit Convertor privacy policy.md
Last active December 23, 2023 03:54
Unit Convertor App Privacy Policy

Unit Converions: Privacy policy

Welcome to Unit Conversions app!

This app does not require login and it does not collect personal data.

Yours sincerely,

Surflogic Team

@Surf-logic
Surf-logic / regex_cheet_sheet.text
Last active February 9, 2023 12:34
Regex cheat sheet
### Regex Cheet Sheet
. - any character except new line
\d - digit (0-9)
\D - Not a digit (0-9)
\w - word character (a-z, A-Z, 0-9, _)
\W - Not a word character
\s - whitespace (space, tab, newline)
\S - non whitespace (space, tab, newline)
@Surf-logic
Surf-logic / LaravelSailCheatSheet.md
Last active January 20, 2023 02:25
Laravel Sail cheat sheet

Laravel Sail cheet sheet

Install dependencies

Replace php81 with php74, php80, php81, etc.

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v $(pwd):/var/www/html \
    -w /var/www/html \
 laravelsail/php81-composer:latest \