Skip to content

Instantly share code, notes, and snippets.

- After making changes, ALWAYS make sure to start up a new server so I can test it.
- Always look for existing code to iterate on instead of creating new code.
- Do not drastically change the patterns before trying to iterate on existing patterns.
- Always kill all existing related servers that may have been created in previous testing before trying to start a new server.
- Always prefer simple solutions
- Avoid duplication of code whenever possible, which means checking for other areas of the codebase that might already have similar code and functionality
- Write code that takes into account the different environments: dev, test, and prod
- You are careful to only make changes that are requested or you are confident are well understood and related to the change being requested
- When fixing an issue or bug, do not introduce a new pattern or technology without first exhausting all options for the existing implementation. And if you finally do this, make sure to remove the old implementation afterwards so we d

About React

Note: This repository is specific to ReactJS.

Table of Contents

No. Questions
Core React
[
{
"id": 1767277531537744100,
"text": "🚨 Demo Alert: risks when deploying insecure LLM agents 🤖\n(Spoiler: total environment compromise!)🚨\n\nIn a recent demo, I showcased what happens when deploying an LLM Agent to the cloud without taking basic security measures.\nThe outcome was alarming☠️\nan exploitable… https://t.co/OKoxiOUFGQ https://t.co/DPi8aVcPls",
"time_posted": "1h ago"
},
{
"id": 1766014021033972000,
"text": "Contextual Answers from the @AI21Labs team is a fantastic model when you want the LLM to always stay within the provided context.\nThe main benefits for using this kind of model are:\n\n1. Significant reduction in hallucinations, enhancing accuracy and reliability.\n\n2. Improved… https://t.co/rqTuHdvOMU https://t.co/6OUIHorMrf",
"time_posted": "2h ago"
{
"url": "https://www.linkedin.com/in/zach-gunderson-4b753646",
"name_similarity_score": 1.0,
"company_similarity_score": 1.0,
"title_similarity_score": 0.0,
"location_similarity_score": 0.0,
"profile": {
"public_identifier": "zach-gunderson-4b753646",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/zach-gunderson-4b753646/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20240515%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20240515T094331Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=cb0283ac2c8c3b70777448bdfa44594c49d1d892fd9e6a80b721515550595a46",
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/zach-gunderson-4b753646/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20240515%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20240515T094331Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a915186f0e249b6fde936115ab3b11209b2cc
@dzineer
dzineer / gist:6c704cb6d396e492add306895b37c0eb
Last active May 14, 2024 16:45
linkedin_profile_mock.json
{
"public_identifier": "dzineer",
"profile_pic_url": null,
"background_cover_image_url": null,
"first_name": "Frank",
"last_name": "Decker",
"full_name": "Frank Decker",
"follower_count": null,
"occupation": "Chief Executive Officer and Chief Operations Officer And Chief Technology Officer at Dzineer",
"headline": null,
@dzineer
dzineer / wp-db.tutorial.php
Created December 9, 2022 15:46 — forked from benbalter/wp-db.tutorial.php
WordPress DB Tutorial
<?php
//absolute path to wp-load.php, or relative to this script
//e.g., ../wp-core/wp-load.php
include( 'trunk/wp-load.php' );
//grab the WPDB database object, using WP's database
//more info: http://codex.wordpress.org/Class_Reference/wpdb
global $wpdb;
@dzineer
dzineer / user.js
Created March 24, 2022 06:49 — forked from autumnwoodberry/user.js
vuex + vuelidate
import Vue from 'vue'
import { validationMixin } from 'vuelidate'
import { required, minLength } from 'vuelidate/lib/validators'
export default function (store) {
const validator = new Vue({
mixins: [
validationMixin
],
computed: {
@dzineer
dzineer / random_color_array.js
Created October 23, 2021 08:06 — forked from mucar/random_color_array.js
Javascript Random Color Array
var colorArray = ['#FF6633', '#FFB399', '#FF33FF', '#FFFF99', '#00B3E6',
'#E6B333', '#3366E6', '#999966', '#99FF99', '#B34D4D',
'#80B300', '#809900', '#E6B3B3', '#6680B3', '#66991A',
'#FF99E6', '#CCFF1A', '#FF1A66', '#E6331A', '#33FFCC',
'#66994D', '#B366CC', '#4D8000', '#B33300', '#CC80CC',
'#66664D', '#991AFF', '#E666FF', '#4DB3FF', '#1AB399',
'#E666B3', '#33991A', '#CC9999', '#B3B31A', '#00E680',
'#4D8066', '#809980', '#E6FF80', '#1AFF33', '#999933',
'#FF3380', '#CCCC00', '#66E64D', '#4D80CC', '#9900B3',
'#E64D66', '#4DB380', '#FF4D4D', '#99E6E6', '#6666FF'];
@dzineer
dzineer / LICENSE.txt
Created October 7, 2021 18:17 — forked from aemkei/LICENSE.txt
Binary Tetris - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@dzineer
dzineer / months.js
Created September 22, 2021 06:11 — forked from seripap/months.js
JavaScript JS month names arrays
var month= ["January","February","March","April","May","June","July",
"August","September","October","November","December"];
var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec"];
//used with date.getMonth()