A basic installation of Node.js, Express, and Socket.io served over https://
using a Letsencrypt SSL certificate.
- Spin up DO droplet
- Set up DNS
- Access the server via SSH
A basic installation of Node.js, Express, and Socket.io served over https://
using a Letsencrypt SSL certificate.
FROM php:7.4-alpine | |
# Install dev dependencies | |
RUN apk add --no-cache --virtual .build-deps \ | |
$PHPIZE_DEPS \ | |
curl-dev \ | |
imagemagick-dev \ | |
libtool \ | |
libxml2-dev \ | |
postgresql-dev \ |
// Use the Parola library to scroll text on the display | |
// | |
// Demonstrates the use of the scrolling function to display text received | |
// from the serial interface | |
// | |
// User can enter text on the serial monitor and this will display as a | |
// scrolling message on the display. | |
// Speed for the display is controlled by a pot on SPEED_IN analog in. | |
// Scrolling direction is controlled by a switch on DIRECTION_SET digital in. | |
// Invert ON/OFF is set by a switch on INVERT_SET digital in. |
# A basic script for uninstalling app packages in Windows 10/11, including those pre-installed with Windows | |
# | |
# Note: If you get an error about the script not being allowed to run, the below command will change the execution polciy temporarily for one session only: | |
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process | |
# | |
# To execute the script, open a Powershell window to the directory with the script and run the following command using your scripts file name (and don't forget the .\ ) | |
# .\WhateverScriptName.ps1 | |
# ------------------------------------------------------------------------------------------- | |
# Script by ThioJoe - https://github.com/ThioJoe | |
// Set Telegram bot webhook url | |
https://api.telegram.org/bot<Your-Bot-token>/setWebhook?url=<Your-webhook-url> | |
// Get Telegram bot webhook url info | |
https://api.telegram.org/bot<Your-Bot-token>/getWebhookInfo | |
// Get Telegram bot file path | |
https://api.telegram.org/bot<Your-Bot-token>/getFile?file_id=<Your-file-id> | |
// Download Telegram bot file / Image |
void main(){ | |
ExampleReq exampleReq = ExampleReq( | |
items: [ | |
Item( | |
idProduct: 1, | |
isWholesaler: 1, | |
quantity: 12, | |
variants: [1,2,3], | |
), |
alias gr="git log --all --oneline --graph --decorate" | |
alias stopa2="sudo /etc/init.d/apache2 stop" | |
alias stopsql="sudo service mysql stop" | |
alias startxampp="sudo /opt/lampp/lampp start" | |
alias starter="stopa2 && stopsql && startxampp" | |
alias laras="php artisan serve" | |
alias codela="code . && laras" | |
alias sshlangkah="ssh langkah2@139.99.62.99" | |
alias sshyasa="ssh sangpeme@101.50.1.80" | |
alias startmongo="sudo systemctl start mongod" |
AMPR-90QU8-I7537-Q110J | |
AMPR-1G8VY-FYX88-749I6 | |
AMPR-T8T3G-R9539-VXTZ2 | |
AMPR-P5S2W-E4M79-8YS86 |
server { | |
listen 80; | |
server_name said-fullstack.oceancods.com; | |
root /var/www/mjp-said/mjp-challenge/public; | |
add_header X-Frame-Options "SAMEORIGIN"; | |
add_header X-XSS-Protection "1; mode=block"; | |
add_header X-Content-Type-Options "nosniff"; | |
index index.php; |