Skip to content

Instantly share code, notes, and snippets.

View eramax's full-sized avatar
🎯
Focusing

Ahmed Morsi eramax

🎯
Focusing
View GitHub Profile
@eramax
eramax / README.MD
Created August 7, 2021 21:28 — forked from nzec/README.MD
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb
@eramax
eramax / Program.cs
Last active July 6, 2021 20:26 — forked from davidfowl/Program.cs
A minimal fully asynchronous C# ASP.NET Core 3.0 application with routing (learn more about ASP.NET Core here https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-3.0)
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Hosting;
public class Program
{
public static void Main(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
@eramax
eramax / compiled_delegate.cs
Created June 15, 2021 18:45
Reflection in C#
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Attributes;
using System.Reflection;
using System;
using Sigil;
BenchmarkRunner.Run<MyTests>();
[MemoryDiagnoser]
public class MyTests
@eramax
eramax / values.yml
Created December 20, 2020 16:17
Traefik on Kubernetes
additionalArguments:
- --serverstransport.insecureskipverify
- --providers.file.filename=/data/traefik-config.yaml
- --entrypoints.web.http.redirections.entrypoint.to=:443
- --entrypoints.web.http.redirections.entrypoint.permanent=true
- --entrypoints.websecure.http.tls.certresolver=cloudflare
- --entrypoints.websecure.http.middlewares=headers-default@file
- --certificatesresolvers.cloudflare.acme.dnschallenge.provider=cloudflare
- --certificatesresolvers.cloudflare.acme.email=YOUREMAIL
- --certificatesresolvers.cloudflare.acme.dnschallenge.resolvers=1.1.1.1
@eramax
eramax / http-benchmark.md
Created September 17, 2020 14:31 — forked from denji/http-benchmark.md
HTTP(S) Benchmark Tools / Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)
@eramax
eramax / installscript.sh
Created July 10, 2020 14:16 — forked from henriqueutsch/installscript.sh
manjaro install GTX 1050Ti
https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-manjaro-18-linux
https://github.com/dglt1/optimus-switch-gdm
https://forum.manjaro.org/t/hdmi-monitor-not-working/94301/2
https://www.unixmen.com/install-oh-zsh-ubuntu-arch-linux-fedora/
https://starship.rs/guide/#%F0%9F%9A%80-installation
https://gist.github.com/tomgco/d08fcf551b5e3157173d2f0701b50b46
https://wiki.archlinux.org/index.php/VirtualBox
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do (
for /d %%a in ("%USERPROFILE%\.%%I*") do (
rd /s /q "%%a/config/eval"
del /q "%%a\config\options\other.xml"
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
rmdir /s /q "%APPDATA%\JetBrains"
http://cronus.allowed.org works for me, 2018.1.6
@eramax
eramax / git-hard-delete
Created June 4, 2020 11:00 — forked from srebalaji/git-hard-delete
Examples of git custom command
#!/bin/sh
branch=$1
if [ ! -z "$1" ]
then
git branch -D $branch
git push -d origin $branch
else
echo "Branch name is not specified"
@eramax
eramax / responsive-voice.js
Created May 11, 2020 21:40 — forked from anchetaWern/responsive-voice.js
responsive-voice.js
//Look for other responsivevoice instances
/*if (window.parent != null) {
var iframes = window.parent.document.getElementsByTagName('iframe');
for (var i = 0; i < iframes.length; i++) {
//iframes[i].style.width = "300px"
}
}*/
if (typeof responsiveVoice != 'undefined') {
console.log('ResponsiveVoice already loaded');