This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "action_mailer" | |
| ActionMailer::Base.delivery_method = :smtp | |
| ActionMailer::Base.smtp_settings = { | |
| :address => "smtp.server.com", | |
| :port => 587, | |
| :domain => "domain.com", | |
| :authentication => :plain, | |
| :user_name => "username", | |
| :password => "password", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| FILENAME=server | |
| # Generate a public/private key pair: | |
| if [ ! -f "$FILENAME.key" ]; then | |
| openssl genrsa -out "$FILENAME.key" 1024 | |
| fi | |
| # Generate a self signed certificate: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // File: /usr/include/asm/unistd_64.h | |
| #ifndef _ASM_X86_UNISTD_64_H | |
| #define _ASM_X86_UNISTD_64_H 1 | |
| #define __NR_read 0 | |
| #define __NR_write 1 | |
| #define __NR_open 2 | |
| #define __NR_close 3 | |
| #define __NR_stat 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To build a A10+ (AOSP/LOS based) on Ubuntu 20.04+ (or distros based on it), there are four main steps: | |
| (This guide is applicable for recoveries as well (TWRP, OFRP...)) | |
| Working on Android 9, 10, 11 and 12 | |
| ################################################################# | |
| # Step 1: Setup your environment # | |
| ################################################################# | |
| ****Setup Linux to build Android**** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /etc/apache2/apache2.conf | |
| /etc/apache2/conf-available/charset.conf | |
| /etc/apache2/conf-available/localized-error-pages.conf | |
| /etc/apache2/conf-available/other-vhosts-access-log.conf | |
| /etc/apache2/conf-available/security.conf | |
| /etc/apache2/conf-available/serve-cgi-bin.conf | |
| /etc/apache2/envvars | |
| /etc/apache2/magic | |
| /etc/apache2/mods-available/access_compat.load | |
| /etc/apache2/mods-available/actions.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:latest | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| RUN apt update -y && \ | |
| apt install -y \ | |
| libgmp-dev libmpfr-dev libmpc-dev python3 python3-dev python3-pip gcc musl-dev \ | |
| libssl-dev libffi-dev git gcc g++ make cmake git sagemath | |
| # install neca |
OlderNewer