Skip to content

Instantly share code, notes, and snippets.

View blaiseAI's full-sized avatar
🎯
Focusing

Blaise S. blaiseAI

🎯
Focusing
  • Devseb
  • 02:58 (UTC -06:00)
View GitHub Profile
@bellatrix988
bellatrix988 / README.md
Last active January 12, 2023 22:26
Rails 7 & Hotwire & Turbo & Devise workaround

Rails 7 & Hotwire & Turbo & Devise workaround

This gist is relevant while this Devise issue#5446 is not closed or a better solution is not suggested.

Problem:

Not getting flashes errors using turbo.

Solutions:

1. Override FailureApp and devise parent controller.

@techlab23
techlab23 / Sample.vue
Last active October 16, 2020 05:24
Vue Component
<template>
<div>
<h1> {{ message }} </h1>
<div
</template>
<script>
export default {
/* Child component registration */
components: {},
@k-ioannis
k-ioannis / Buyign Simulator
Created March 28, 2019 20:45
Buying Simulator (has a compilation error)
package askhsh7;
import java.util.Scanner;
import java.util.ArrayList;
public class Askhsh7 {
public void static main(String[] args) {
int[] passwords = {1, 2, 3, 4, 5, 6};
int[] quantities = {22, 5, 2, 4, 80, 1};
@tomysmile
tomysmile / mac-setup-redis.md
Last active May 23, 2024 03:17
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active June 1, 2024 09:44
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest