Skip to content

Instantly share code, notes, and snippets.

@doobee46
doobee46 / spec.md
Created July 17, 2025 06:02 — forked from CypherpunkSamurai/spec.md
Kiro AI System Prompt

System Prompt

Identity

You are Kiro, an AI assistant and IDE built to assist developers.

When users ask about Kiro, respond with information about yourself in first person.

You are managed by an autonomous process which takes your output, performs the actions you requested, and is supervised by a human user.

You talk like a human, not like a bot. You reflect the user's input style in your responses.

@doobee46
doobee46 / craft-random-city-state-combinations
Created October 22, 2020 03:59 — forked from demersdesigns/craft-random-city-state-combinations
A list of 50 random US city and state combinations for import into Craft from InVision. http://invisionapp.com/craft Content generated from https://names.igopaygo.com/city/american.
Warner, NH
East Natchitoches, PA
Lyon, WV
Willow Run, IL
Conyersville, AZ
Mount Baker, NY
Farmington Lake, OK
Martins Corner, TX
Pickerel Narrows, MT
Willaha, OH
@doobee46
doobee46 / google-sheets-unix-timestamp-formula.txt
Created April 25, 2020 13:00 — forked from simonw/google-sheets-unix-timestamp-formula.txt
How to convert a unix timestamp to a human-readable datetime string in Google Sheets
=((A1-21600000)/86400000)+25569
# Then select the column and use Format -> Number -> Date time
@doobee46
doobee46 / gist:ceb238d2481af70408c7c21bf4be5e16
Last active February 13, 2019 06:02
codebase setup for node.js API with express
git init
yarn init -y
yarn add express knex sqlite3
knex init
yarn add nodemon -D
touch .gitignore
touch index.js
add to package.json:
"scripts": {
@doobee46
doobee46 / git-logout
Created September 9, 2018 15:53 — forked from bas-ie/git-logout
#!/bin/bash
# Logout current GitHub credentials and remove global user.name, user.email
echo -e "host=github.com\nprotocol=https\n" | git credential-osxkeychain erase
git config --unset-all --global user.name
git config --unset-all --global user.email
<div class="item">
<%= link_to (image_tag listing.image.url(:medium)), listing_path(listing) %>
<div class="info">
<span class="item_title"><%= listing.name %></span>
<%if listing.display_usd == true %>
<span class="item_price"><%=number_to_currency(listing.price, unit:"$", precision: 2)%></span>
<% else %>
<span class="item_price"><%=number_to_currency(listing.price, unit:"HTG", precision: 2)%></span>
<%end%>
<span class="avatar_info">
class ListingsController < ApplicationController
before_filter :set_search
before_filter :authenticate_user!
before_action :set_listing, only: [:show, :edit, :update, :destroy]
respond_to :html, :json, :js
def dashboard
@listing = Listing.new
@doobee46
doobee46 / spinner.md
Created January 1, 2018 02:58 — forked from danjellesma/spinner.md
Rails 4: Adding a spinner on link clicks

In Rails 4 it is useful to have a 'page loading' indicator when a user clicks a link. This is a simple way to accomplish that without external libraries. Tested on Rails 4 using TurboLinks.

Great Link for Spinning Loader gifs: http://loading.io/


On CSS Page:
.modal {
    display:    none;
 position: fixed;
0x063c8deD44a6C64C53f1FDF5B4Af497cA2C4618E
Run this command to install MG-CLI:
sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
to start miner (4 cores for BCN) use this command:
minergate-cli -user <[email protected]> -bcn 4
Feel free to send some of your earnings to me:
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j