Skip to content

Instantly share code, notes, and snippets.

View MohamedMohsenX2's full-sized avatar

Mohamed Mohsen MohamedMohsenX2

View GitHub Profile
wget -O- https://dl.iranzit.com/iso/10.ENT.x64.EVAL.US-English.gz | gunzip | dd of=/dev/vda
Username: WhatUpTime.com
Password: P@ssword64
How to install windows on digital ocean,
use this tutorial :
https://milankragujevic.com/how-to-install-windows-10-on-digitalocean
or if you want to create own image :
https://glitchwitch.io/blog/2018-09/windows-10-on-digitalocean/
this image .gz mirror got from whatuptime :
try first if it working>>
[Microsoft Windows Server 2012]
@giovanni-d
giovanni-d / allinonemigration.md
Last active September 7, 2024 12:30
All-in-One WP Migration - Restore From Server (without PRO version) - Restore

All-in-One WP Migration Restore From Server (without pro version)

If you don't want to pay for the PRO version of this plugin, and you want to use the "Restore from Server" functionally that was present in the version 6.77, follow the instructions below:

  1. Open the js file: wp-content/plugins/all-in-one-wp-migration/lib/view/assets/javascript/backups.min.js
  2. On line 1208, replace the code below:
$('.ai1wm-backup-restore').click(function (e) {
@ajxchapman
ajxchapman / README.md
Last active August 20, 2024 19:02
Install Windows on Digital Ocean droplet
@ethanpil
ethanpil / wp-secure.conf
Created May 12, 2017 16:16
Wordpress Security for NginX
# wp-secure.conf
#
#
# This file includes common security considerations for wordpress using nginx.
#
# The goal is to block actions which are usually dangerous to wordpress.
# Additionally, we block direct access to PHP files and folders which should not
# be accessed directly from a browser.
#
# Also have included exceptions for plugins that are known to require this access.
@peterforgacs
peterforgacs / Windows10AWSEC2.md
Last active August 29, 2024 09:56
Running Windows 10 on AWS EC2

Running Windows 10 on AWS EC2

Downloading the image

Download the windows image you want.

AWS vmimport supported versions: Microsoft Windows 10 (Professional, Enterprise, Education) (US English) (64-bit only)

So Home wont work.

@MattBlissett
MattBlissett / flush_cache
Created October 11, 2016 15:20
Remove cached files from Thumbor
#!/usr/bin/python
# Delete images from Thumbor cache.
#
import sys
import os
import os.path
from thumbor.storages.file_storage import Storage
from thumbor.context import Context
from thumbor.console import get_server_parameters
@lachesis
lachesis / letsencrypt_notes.sh
Last active December 13, 2023 11:02
Set up LetsEncrypt using acme.sh without root
# How to use "acme.sh" to set up Lets Encrypt without root permissions
# See https://github.com/Neilpang/acme.sh for more
# This assumes that your website has a webroot at "/var/www/<domain>"
# I'll use the domain "EXAMPLE.com" as an example
# When this is done, there will be an "acme" user that handles issuing,
# updating, and installing certificates. This account will have the following
# (fairly minimal) permissions:
# - Host files at http://EXAMPLE.com/.well-known/acme-challenge