Skip to content

Instantly share code, notes, and snippets.

View alamenai's full-sized avatar
:octocat:
Open source it

Ala Eddine Menai (Ala) alamenai

:octocat:
Open source it
View GitHub Profile
@alamenai
alamenai / medications.json
Created May 12, 2023 23:14
A list of medications
{
"medications": [
"Abilify",
"Abilify Maintena",
"Abiraterone",
"Acetaminophen",
"Acetylcysteine",
"Actemra",
"Actos",
"Acyclovir",
@nivethan-me
nivethan-me / README.md
Last active December 4, 2024 03:49
Setup a Next.js 13 project with Eslint + Prettier with automatic tailwind class sorting
<!DOCTYPE html>
<html>
<head>
<title>Mapbox GL JS debug page</title>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v2.12.0/mapbox-gl.css' rel='stylesheet' />
<style>
body {
@vicasas
vicasas / .eslintignore
Created October 28, 2021 12:10
Next.js Lint with Eslint + Airbnb Style + Husky + Lint-Staged
.next
public
node_modules
yarn.lock
package-lock.json
**/*.test.js
coverage
@vinitsaboo
vinitsaboo / index.html
Created May 26, 2020 05:12
creating house shape with Three.js
<!DOCTYPE html>
<html>
<head>
<title>First Three JS Object</title>
</head>
<style>
* {
margin:0;
padding:0;
}
@juampynr
juampynr / CHANGELOG.md
Created March 27, 2018 09:35
Sample CHANGELOG

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased] - yyyy-mm-dd

Here we write upgrading notes for brands. It's a team effort to make them as

@alamenai
alamenai / JFXDialog.java
Created January 4, 2018 11:06
simple code to show a dialog using JFXDialog of @jfoenix
private void showJDialog() {
JFXDialogLayout dialogContent = new JFXDialogLayout();
dialogContent.setHeading(new Text("Hello" == null ? "good" : "good" + "\n" + "Hello"));
dialogContent.setBody(new Text("Body"));
JFXButton close = new JFXButton("Close");
dialogContent.setActions(close);
JFXDialog dialog = new JFXDialog((StackPane) loginstage.getScene().getRoot(), dialogContent, JFXDialog.DialogTransition.CENTER);
close.setOnAction(new EventHandler<ActionEvent>() {
@fokusferit
fokusferit / enzyme_render_diffs.md
Last active April 11, 2025 18:25
Difference between Shallow, Mount and render of Enzyme

Shallow

Real unit test (isolation, no children render)

Simple shallow

Calls:

  • constructor
  • render
@briandk
briandk / CONTRIBUTING.md
Created March 18, 2016 20:29
A basic template for contributing guidelines that I adapted from Facebook's open source guidelines

Contributing to Transcriptase

We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

  • Reporting a bug
  • Discussing the current state of the code
  • Submitting a fix
  • Proposing new features
  • Becoming a maintainer

We Develop with Github

@parmentf
parmentf / GitCommitEmoji.md
Last active April 19, 2025 05:11
Git Commit message Emoji