Skip to content

Instantly share code, notes, and snippets.

View mahmoudimus's full-sized avatar
💭
@_@

Mahmoud Rusty Abdelkader mahmoudimus

💭
@_@
View GitHub Profile
@mahmoudimus
mahmoudimus / Node.java
Created May 28, 2022 20:06 — forked from norswap/Node.java
Fast Java Reflection
package demo;
public interface Node {}
@sciabarracom
sciabarracom / roadmap.md
Last active July 19, 2024 09:25
RoadMap for a new ditstro based on Apache OpenWHisk

ServerlessAnywhere RoadMap

About

ServerlessAnywhere will be a distro of Apache OpenWhisk.

It should let you to install itself on any supported Kubernetes with a single command:

curl get.serverlessanywere.com | kubectl apply -f -
@mahmoudimus
mahmoudimus / fonttester.md
Last active September 25, 2021 16:51
A few things that happen to test how fonts render
<!-- -- != := === >= >- >=> |-> -> <$>
</> #[ |||> |= ~@

// The five boxing wizards jump
#include  // <= quickly.
int main(int argc, char **argv) {
  float il1[]={1-2/3.4,5+6==7/8};
  int 0xFaced=0xBAD||”[{(CQUINE";
@Sanix-Darker
Sanix-Darker / gf.sh
Last active May 29, 2022 01:11
[SHELL] git finder
#!/bin/bash
# by d4rk3r
# A smart way to search for a code
# inside your git history whatever the branch you're
# -- Setup :
# -- After getting the bash script
# chmod +x /path/to/gf.sh
@jtmoon79
jtmoon79 / python-embedded-for-Win10.md
Last active June 6, 2025 23:12
fully configuring embedded Python on Windows 10

Update: use PowerShell script PythonEmbed4Win.ps1.

The instructions in this gist have some subtle problems and this gist will not be updated.

About


@0xabad1dea
0xabad1dea / copilot-risk-assessment.md
Last active June 26, 2025 22:23
Risk Assessment of GitHub Copilot

Risk Assessment of GitHub Copilot

0xabad1dea, July 2021

this is a rough draft and may be updated with more examples

GitHub was kind enough to grant me swift access to the Copilot test phase despite me @'ing them several hundred times about ICE. I would like to examine it not in terms of productivity, but security. How risky is it to allow an AI to write some or all of your code?

Ultimately, a human being must take responsibility for every line of code that is committed. AI should not be used for "responsibility washing." However, Copilot is a tool, and workers need their tools to be reliable. A carpenter doesn't have to

@wlib
wlib / LICENSE
Last active April 30, 2024 17:07
Run a shell script with bash, line-by-line, prompted on each command. Useful for running unknown scripts or debugging. Not a secure substitute for understanding a script beforehand.
MIT License
Copyright (c) 2021 Daniel Ethridge
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mahmoudimus
mahmoudimus / idea-gcg1.vmoptions
Last active April 11, 2025 10:43
A running timeline of my IntelliJ on Steroids with GC tuning
-ea
-server
-Xss256k
-Xms4G
-Xmx4G
-XX:+IgnoreUnrecognizedVMOptions
-XX:+UnlockExperimentalVMOptions
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:-UseSerialGC
@mahmoudimus
mahmoudimus / StarlarkModuleTest.java
Created April 3, 2021 16:02
test harness for starlark modules
package main;
import com.google.common.truth.Truth;
import net.starlark.java.eval.EvalException;
import net.starlark.java.eval.Module;
import net.starlark.java.eval.Mutability;
import net.starlark.java.eval.Starlark;
import net.starlark.java.eval.StarlarkInt;
import net.starlark.java.eval.StarlarkList;