Happy Hour is a social, skill-based match-3 game platform that connects directly with Twitter (X) for interactive, competitive gameplay. It blends the addictive mechanics of puzzle games with the public virality of social media—and it’s powered by a unique token-based economy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FuseTypeahead.jsx | |
import React, { useState, useMemo, useCallback } from 'react'; | |
import Fuse from 'fuse.js'; | |
import debounce from 'lodash.debounce'; | |
// Import or define your user data (shortened here) | |
const users = [ | |
{ | |
name: "Elnora Zimmerman", | |
email: "elnora_zimmerman@intrawear.cbn", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useEffect } from 'react'; | |
import { useSelector, useDispatch } from 'react-redux'; | |
import { RootState } from '../state/store'; // adjust import path | |
import { useGetDelegationsQuery } from '../state/delegations-api'; // RTK Query API hook | |
export function useDelegations() { | |
const dispatch = useDispatch(); | |
// Select delegations from state | |
const delegations = useSelector((state: RootState) => state.delegations?.data); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// services/vehicleService.js | |
import { useSelector, useDispatch } from 'react-redux'; | |
import { setField, setVehicle } from 'state/slices/vehicleSlice'; | |
import { vehicleApi } from 'state/api/vehicleApi'; | |
export const useVehicleService = () => { | |
const dispatch = useDispatch(); | |
const vehicle = useSelector((state) => state.vehicle); | |
const updateVehicle = vehicleApi.endpoints.updateVehicle.useMutation()[0]; | |
const fetchVehicle = vehicleApi.endpoints.getVehicleById.useLazyQuery()[0]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createSlice } from "@reduxjs/toolkit"; | |
import * as R from "ramda"; | |
import { produce } from "immer"; | |
const initialState = {}; | |
const vehicleSlice = createSlice({ | |
name: "vehicle", | |
initialState, | |
reducers: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createApi } from "@reduxjs/toolkit/query/react"; | |
import axios from "axios"; | |
import { concatMap, filter, from, map, take, timer } from "rxjs"; | |
import { questionsLoaded } from "state/questions-slice"; | |
import { vehicleLoaded } from "state/vehicle-slice"; | |
import { transformerService } from "app/services"; | |
const observableQuery = | |
({ baseUrl } = { baseUrl: "" }) => | |
async ({ url, method, data, params, headers, defilter = () => true }) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { configureStore } from "@reduxjs/toolkit"; | |
import { setupListeners } from "@reduxjs/toolkit/query"; | |
import { persistStore, persistReducer } from "redux-persist"; | |
import storage from "redux-persist/lib/storage"; | |
// Import the API object | |
import { queryApi } from "state/query-api"; | |
import { recordApi } from "state/record-api"; | |
// Import state objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def poll_and_invoke(): | |
if not QUEUE_URL: | |
print("Error: SQS_QUEUE_URL environment variable is not set.") | |
return | |
sqs = boto3.client('sqs', region_name=REGION) | |
print(f"Polling SQS queue: {QUEUE_URL} every {POLL_INTERVAL_SECONDS} seconds...") | |
while True: | |
try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Title: Create a new DNS record in Route 53 for a custom domain | |
Story Points: 3 | |
Assignee: Unassigned | |
Priority: Medium | |
Sprint: Backlog / Current Sprint | |
Description: | |
As a DevOps engineer, I want to create a new DNS record in Route 53 so that users can access my application using a custom domain name. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User Story: Creating a new Route 53 DNS record | |
Title: As a DevOps engineer, I want to create a new DNS record in Route 53 so that users can access my application using a custom domain name. | |
Acceptance Criteria: | |
✅ A new record can be created in the specified hosted zone. | |
✅ The record type (e.g., A, CNAME, TXT, etc.) can be selected during creation. | |
✅ The record name (subdomain or root domain) can be customized. |
NewerOlder