Skip to content

Instantly share code, notes, and snippets.

View maxi3390's full-sized avatar

David Maximiliano Sosa maxi3390

  • Santa Fe, Argentina
  • 03:54 (UTC -03:00)
View GitHub Profile
@cemysce
cemysce / .bashrc
Last active May 5, 2026 16:49
Termux .bashrc snippet to override resolv.conf with Wi-Fi DHCP DNS config
# This is to help address this Termux/Android issue:
# https://github.com/termux/termux-packages/issues/1174
function _getAndroidAllDNS()
{
local -n dnsMapRef=$1
local -n domainMapRef=$2
# The logic here is from experimentation based on:
# https://www.reddit.com/r/termux/comments/1249mqx/use_dhcp_provided_dns_in_resolveconf/
@cecilemuller
cecilemuller / 2019-https-localhost.md
Last active January 26, 2026 09:00
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@agrcrobles
agrcrobles / android_instructions_29.md
Last active February 9, 2026 12:22 — forked from patrickhammond/android_instructions.md
Setup Android SDK on OSX with and without the android studio

Hi, I am a fork from https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03.

A high level overview for what I need to do to get most of an Android environment setup and maintained on OSX higher Catalina and Big Sur with and without Android Studio been installed.

Considering the SDK is installed under /Users/<your_user>/Library/Android/sdk folder which is the Android Studio preferred SDK location, but it works fine under /usr/local/share/android-sdk as well, which is a location pretty much used on CI mostly.

Prerequisites:

https://github.com/shyiko/jabba instead ?

@nurbek-ab
nurbek-ab / web.config
Last active June 24, 2024 19:55 — forked from lennart/gist:3787187
IIS rewrite rule for Symfony 2 (use at root directory)
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="TempRewriteToWeb" stopProcessing="false">
<match url="^(web/)?(.*)$" />
<action type="Rewrite" url="web/{R:2}" logRewrittenUrl="true" />
</rule>