Skip to content

Instantly share code, notes, and snippets.

View reza-ebrahimi's full-sized avatar

Reza Ebrahimi reza-ebrahimi

View GitHub Profile
@reza-ebrahimi
reza-ebrahimi / .env
Created September 27, 2023 21:23 — forked from degitgitagitya/.env
Next JS + Next Auth + Keycloak + AutoRefreshToken
# KEYCLOAK BASE URL
KEYCLOAK_BASE_URL=
# KEYCLOAK CLIENT SECRET
KEYCLOAK_CLIENT_SECRET=
# KEYCLOAK CLIENT ID
KEYCLOAK_CLIENT_ID=
# BASE URL FOR NEXT AUTH
@reza-ebrahimi
reza-ebrahimi / placeholder.css
Created April 9, 2023 09:39 — forked from amk221/placeholder.css
Prosemirror placeholder plugin approach
.ProseMirror[data-placeholder]::before {
color: global.$placeholder-colour;
position: absolute;
content: attr(data-placeholder);
pointer-events: none;
}
@reza-ebrahimi
reza-ebrahimi / csv.lua
Created October 5, 2022 14:03 — forked from calebreister/csv.lua
Lua script that converts a CSV file to the LaTeX tabular format
--To include this file, use
--dofile('csv.lua') or require('csv')
--Function to convert a *SV file to a Lua array
--file: the name of the file to read
--delim: the delimeter (default ',')
function dataToTable(file, delim)
--Set initial values
if delim == nil then --allow delim to be optional
delim = ','
@reza-ebrahimi
reza-ebrahimi / Fastfile
Created October 22, 2018 12:25 — forked from candostdagdeviren/Fastfile
Android Fastfile Example for Flutter application Fastlane integration
default_platform(:android)
platform :android do
desc "Submit a new QA Build to Crashlytics Beta"
lane :qa do
crashlytics(
api_token: 'CRASHLYTICS_API_TOKEN',
build_secret: 'CRASHLYTICS_BUILD_SECRET',
notes_path: 'qa-change.log',
@reza-ebrahimi
reza-ebrahimi / Fastfile
Created October 22, 2018 12:25 — forked from candostdagdeviren/Fastfile
iOS Fastfile Example for Flutter application Fastlane integration
fastlane_version "2.84.0"
xcversion(version: "9.2")
default_platform :ios
lane :certificates do
match(
app_identifier: ["com.jimdo.boost"],
type: "appstore",
readonly: true)
@reza-ebrahimi
reza-ebrahimi / README.md
Created January 6, 2018 14:17 — forked from hkwi/README.md
Linux vxlan nat traversal example

This example shows vxlan nat traversal, using UDP hole punching.

         +---------------+
         | (node5) vxlan |
         +---------------+
                  | uplink
       +--------------------+
       | (node4) masquerade |
 +--------------------+
@reza-ebrahimi
reza-ebrahimi / Vagrantfile
Created June 9, 2017 14:10 — forked from gabrielelana/Vagrantfile
How to create a VirtualBox machine with encrypted storage with Vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
PASSWORD_PATH = ".password"
PASSWORD_ID_PATH = ".password_id"
# Make sure to have installed vagrant-triggers plugin
# > vagrant plugin install vagrant-triggers
# After the first `vagrant up` stop the VM and execute the following steps