Skip to content

Instantly share code, notes, and snippets.

View hatemhosny's full-sized avatar

Hatem Hosny hatemhosny

View GitHub Profile
@hatemhosny
hatemhosny / env.yaml
Created July 25, 2024 11:20
save GitHub secrets and vars to artifact
name: ENV
on: [push]
jobs:
create-envfile:
runs-on: ubuntu-latest
steps:
- name: Make secrets envfile
uses: SpicyPizza/create-envfile@v2.0
with:
@hatemhosny
hatemhosny / clojurescript-reagent-scittle.markdown
Created June 2, 2023 15:31
ClojureScript Reagent (Scittle)
@hatemhosny
hatemhosny / Exception_Handling.js
Last active December 16, 2021 07:18
Exception Handling
function notify(message) {
return new Promise((resolve, reject) => {
try {
let response = NotificationService.send(message);
resolve(response);
} catch (err) {
reject(err);
}
});
}
@hatemhosny
hatemhosny / TypeScript_Demo_for_testing_import_.md
Created November 1, 2021 23:50
TypeScript Demo (for testing import)
@hatemhosny
hatemhosny / Untitled_Project.md
Created November 1, 2021 23:49
Untitled Project
@hatemhosny
hatemhosny / index.html
Created October 24, 2021 10:52
(v2) Paper plane button
<button class="button">
<span class="default">Absenden</span>
<span class="success">
<svg viewBox="0 0 16 16">
<polyline points="3.75 9 7 12 13 5"></polyline>
</svg>Sent
</span>
<svg class="trails" viewBox="0 0 33 64">
<path d="M26,4 C28,13.3333333 29,22.6666667 29,32 C29,41.3333333 28,50.6666667 26,60"></path>
<path d="M6,4 C8,13.3333333 9,22.6666667 9,32 C9,41.3333333 8,50.6666667 6,60"></path>
@hatemhosny
hatemhosny / Pyodide_counter_and_plots.md
Created July 27, 2021 18:31
Pyodide counter and plots