Skip to content

Instantly share code, notes, and snippets.

View untillnesss's full-sized avatar
🐒
JANGAN MUDAH PUAS DAN JANGAN PATAH SEMANGAT

Muhammad Abdullah Sa'id untillnesss

🐒
JANGAN MUDAH PUAS DAN JANGAN PATAH SEMANGAT
View GitHub Profile
@untillnesss
untillnesss / readme.md
Created March 10, 2024 09:38 — forked from danmaby/readme.md
Install SSL with Node.js, Express and Socket.io

Getting started

A basic installation of Node.js, Express, and Socket.io served over https:// using a Letsencrypt SSL certificate.

Step 1 - Build DO Droplet (or server of your choice)

  • Spin up DO droplet
  • Set up DNS
  • Access the server via SSH
@untillnesss
untillnesss / Dockerfile
Created February 18, 2024 15:30 — forked from warlock/Dockerfile
Laravel PHP 7.4 Alpine Dockerfile
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.
@untillnesss
untillnesss / Appx-Uninstaller.ps1
Created August 9, 2023 00:22 — forked from ThioJoe/Appx-Uninstaller.ps1
A basic script for uninstalling a list of app packages in Windows 10/11, including those pre-installed with Windows
# 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],
),
@untillnesss
untillnesss / helm-cheatsheet.md
Created February 21, 2022 04:31 — forked from etheleon/helm-cheatsheet.md
#Helm #Kubernetes #cheatsheet, happy helming!
@untillnesss
untillnesss / .bash_aliases
Last active February 16, 2021 05:42
Bash aliases ku
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"
@untillnesss
untillnesss / AOMEI Backupper Professional Licence Key 2020.txt
Created August 31, 2020 04:36
AOMEI Backupper Professional Key:
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;