Skip to content

Instantly share code, notes, and snippets.

Reset

You can reset the commit for a local branches using git reset

To change the commit of a local branch:

git fetch
git reset origin/master --hard
@ruvnet
ruvnet / readme.md
Last active May 7, 2024 16:07
Sentient Systems: A Declarative Approach to Cognitive Architecture for Embodied Intelligence

Sentient Systems Architecture (SSA): Unlocking Embodied Intelligence

Introduction

Artificial Intelligence (AI) has evolved rapidly, with language models like GPT-4 capturing attention. However, the real future of AI lies in embodied intelligence—systems that can interact with the physical world through robotics and sensory perception. Unlike disembodied language models that operate in digital spaces, embodied AI must navigate complex environments, interpret sensory data, and perform physical tasks. This shift towards embodied intelligence opens the door to groundbreaking applications and significant economic impact.

Unique Challenges of Embodied Intelligence

Developing embodied AI systems is far more complex than working with traditional language models. Embodied agents need to:

Adapt to ever-changing real-world conditions.

@4abhinavjain
4abhinavjain / reinstall_VPS_from_inside.txt
Last active May 7, 2024 16:05 — forked from ClashTheBunny/reinstall_VPS_from_inside.sh
DIY install debian on Oracle Cloud Infrastructure ( Free Tier ) - ARM64
# should works on any cloud-init enabled hypervisor (openstack.. )
# start from a normal ubuntu 20.04 install as minimal was not available for ARM64
# Since ARM64 machines has higher RAM, Shrinking is desired but not necessary. Instead we will increase tmpfs to 1700MB
# Getting root (if sudo -i doesn't work then set a root password beforehand using 'sudo passwd root'
sudo -i
# make sure we are on the highest kernel, so we can delete all the others ...
@m-jovanovic
m-jovanovic / .editorconfig
Created June 7, 2023 12:17
Sample editor config with a bunch of rules turned off 😅
root = true
# C# files
[*.cs]
#### Core EditorConfig Options ####
# Indentation and spacing
indent_size = 4
indent_style = space
# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby
@amir9480
amir9480 / helpers.php
Last active May 7, 2024 16:03
Laravel copy all files from one storage disk to another
<?php
if (! function_exists("copy_storage")) {
/**
* Copy files from one disk to another.
*
* @param string $from from disk name
* @param string $to to disk name
* @param string $directory if you want just copy specific directory
* @return void
— Да?
— Алё!
— Да да?
— Ну как там с деньгами?
— А?
— Как с деньгами-то там?
— Чё с деньгами?
— Чё?
— Куда ты звонишь?
@OdatNurd
OdatNurd / Adaptive.sublime-theme
Last active May 7, 2024 16:01
Patched Adaptive.sublime-theme for modifying the color of files in the sidebar based on their git status
[
// VCS badges
{
"class": "vcs_status_badge",
"parents": [{"class": "file_system_entry", "attributes": ["untracked"]}],
"layer0.texture": "Theme - Default/common/status_untracked.png",
"layer0.tint": "color(var(--yellowish) blend(rgb(255, 255, 255) 60%))",
"layer0.opacity": 1.0,
"content_margin": 6
},
@rxaviers
rxaviers / gist:7360908
Last active May 7, 2024 16:00
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active May 7, 2024 15:57
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail