Skip to content

Instantly share code, notes, and snippets.

View aa6my's full-sized avatar
😈
curiosity

aa6mys aa6my

😈
curiosity
View GitHub Profile
@aa6my
aa6my / office-web-viewer.html
Created December 4, 2023 03:34 — forked from theel0ja/office-web-viewer.html
Google Docs Viewer and Office Web Apps Viewer
<iframe src="https://view.officeapps.live.com/op/embed.aspx?src=https://calibre-ebook.com/downloads/demos/demo.docx" width="600" height="780" style="border: none;"></iframe>
@aa6my
aa6my / embedded-file-viewer.md
Created December 4, 2023 03:01 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links

@aa6my
aa6my / Activate_Windows_11_Pro_free.md
Created November 20, 2023 07:50 — forked from kimgiftww/Activate_Windows_11_Pro_free.md
Activate Windows 11 Pro free

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@aa6my
aa6my / docker-compose.yml
Created November 16, 2023 08:07 — forked from mrzapp/docker-compose.yml
NextCloud setup for Docker (docker-compose) with Collabora, NGINX, Redis and Postgres
version: "3.4"
networks:
example-com--postgres: ~
example-com--redis: ~
services:
# PostgreSQL
postgres:
container_name: example-com--postgres
@aa6my
aa6my / enterprise_token.rb
Created February 8, 2023 09:08 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2020 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
@aa6my
aa6my / openssl_cross_compile.md
Created December 2, 2022 03:03 — forked from udnaan/openssl_cross_compile.md
How to cross compile Openssl 1.1.0 for Windows Host on Ubuntu 14.04 LTS

Install mingw tools on linux:

sudo apt-get install mingw-w64

clone openssl repo:

git clone https://github.com/openssl/openssl.git

Configure openssl for cross compile:

@aa6my
aa6my / settings.json
Created November 30, 2022 06:05 — forked from hrko/settings.json
Msys2 terminal profiles for Visual Studio Code
"terminal.integrated.profiles.windows": {
"MINGW64 / MSYS2": {
"path": "C:/msys64/msys2_shell.cmd",
"args": [
"-defterm",
"-here",
"-no-start",
"-mingw64"
],
},
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home/Core N 3KHY7-WNT83-DGQKR-F7HPR-844BM
Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
Professional Enterprise
Professional Workstation
Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
@aa6my
aa6my / newrelic.config
Created September 1, 2022 08:10 — forked from avramovic/newrelic.config
New Relic PHP agent (v9.21) on AWS Elastic Beanstalk AMI Linux 2 (arm based cpu)
files:
"/etc/httpd/conf.modules.d/11-mpm.conf":
mode: "000755"
owner: root
group: root
content: |
LoadModule mpm_event_module modules/mod_mpm_event.so
"/etc/php.d/20-newrelic.ini":
mode: "000755"
@aa6my
aa6my / hyper-v-vagrant.md
Created June 29, 2022 06:58 — forked from 1eedaegon/hyper-v-vagrant.md
Enable hyper-v on windows 11 home and Use vagrant

How to use vagrant with hyper-v on Windows 11 home

  • Windows 11
  • Hyper-v
  • Vagrant

1. Install & enable hyper-v

Make and execute batch file install-and-enable-hyper-v.bat (Administrator)