Skip to content

Instantly share code, notes, and snippets.

View rmanasyan's full-sized avatar

Roman Manasyan rmanasyan

  • Ukraine
View GitHub Profile
@rmanasyan
rmanasyan / contemplative-llms.txt
Created January 7, 2025 23:00 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
"use client";
import {
Dialog,
DialogContent,
DialogTitle,
DialogTrigger
} from "@/components/ui/dialog";
import { cn } from "@/lib/utils";
import { Expand, Loader2, RotateCcw, Trash2, UploadCloud } from "lucide-react";
@rmanasyan
rmanasyan / authentication.service.ts
Created October 20, 2022 07:03 — forked from evlymn/authentication.service.ts
Authentication Service Modular Firebase 9
import { Injectable, NgZone } from '@angular/core';
import {
Auth, signOut, user, signInWithEmailAndPassword, createUserWithEmailAndPassword,
updateProfile, sendEmailVerification, sendPasswordResetEmail, User, authState, onAuthStateChanged,
ActionCodeSettings
// getAdditionalUserInfo,
// OAuthProvider,
// linkWithPopup,
// unlink,
// updateEmail,
@rmanasyan
rmanasyan / storage.service.ts
Created October 20, 2022 07:03 — forked from evlymn/storage.service.ts
Storage Service Modular Firebase 9
import { Injectable } from '@angular/core';
import {
Storage,
ref,
deleteObject,
uploadBytes,
uploadString,
uploadBytesResumable,
percentage,
getDownloadURL,
@rmanasyan
rmanasyan / firestore.service.ts
Created October 20, 2022 07:02 — forked from evlymn/firestore.service.ts
Firestore Basics, Modular Firebase 9
import { Injectable } from '@angular/core';
import { Firestore, collectionData, collection, QueryConstraint } from '@angular/fire/firestore';
import { addDoc, CollectionReference, deleteDoc, doc, getDoc, query, setDoc, updateDoc } from '@firebase/firestore';
import { enableIndexedDbPersistence } from 'firebase/firestore';
@Injectable({
providedIn: 'root'
})
export class FirestoreService {
gem 'pg'
group :development do
gem 'ruby-debug'
end
gem 'rake', '~> 0.8.7'
gem 'devise'
gem 'oa-oauth', :require => 'omniauth/oauth'
gem 'omniauth'
gem 'haml'
gem 'dynamic_form'
@rmanasyan
rmanasyan / 0_reuse_code.js
Created October 21, 2013 10:52
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
svn up --accept=theirs-full

Magento Code Snippets

Download extension manually using mage

./mage config-set preferred_state stable
./mage clear-cache
./mage sync
./mage download community Module_Name