flowchart LR
A["User Input: How many users in Neo4j?"] --> B["routerPrompt (ChatPromptTemplate)"]
B --> C["ChatOpenAI (gpt-4o-mini)"]Run this:
mkdir -p ~/iterm2
cat > ~/iterm2/emacs-navigation.itermkeymap <<'EOF'
{
"Key Mappings": {
"0xf702-0x300000-0x7b": { "Label": "Cursor Start ⌘←", "Action": 11, "Text": "0x01" },
"0xf703-0x300000-0x7c": { "Label": "Cursor End ⌘→", "Action": 11, "Text": "0x05" },
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
| Write-Host "Installing MinGW..." -ForegroundColor Cyan | |
| $mingwPath = "C:\MinGW" | |
| if(Test-Path $mingwPath) { | |
| Write-Host "Removing existing MinGW installation..." | |
| Remove-Item $mingwPath -Recurse -Force | |
| } | |
| # download installer |
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
| require 'hidapi' | |
| @coin_acceptor = HIDAPI::open(0x0079, 0x0006) | |
| @coin_dispenser = HIDAPI::open(0x14d4, 0x0000) | |
| # Ожидание монеты | |
| def wait_for_coin | |
| loop do | |
| packet = @coin_acceptor.read | |
| confidence = packet[2].unpack('H*')[0][0].to_i |
Единственная запара возникла при подключении иконок к рельс6, решается так (app/javascript/packs/fa.scss)
@import "bulma/bulma";
$fa-font-path: '~@fortawesome/fontawesome-free/webfonts';
@import '~@fortawesome/fontawesome-free/scss/fontawesome';
@import '~@fortawesome/fontawesome-free/scss/solid'; // fas prefix
@import '~@fortawesome/fontawesome-free/scss/brands'; // fab prefix
// see https://fontawesome.com/how-to-use/with-the-api/setup/importing-icons for more prefixes
Install RabbitMQ:
docker run -d --hostname my-rabbit --name blabla-rabbit -p 5672:5672 -p 8080:15672 rabbitmq:3-management
RabbitMQ works based on hostname:
One of the important things to note about RabbitMQ is that it stores data based on what it calls the "Node Name", which defaults to the hostname
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
| require 'net/http' | |
| ruby_install_dir = 'c:\Ruby200-x64' | |
| cacert_file = "#{ruby_install_dir}\\cacert.pem" | |
| Net::HTTP.start("curl.haxx.se") do |http| | |
| resp = http.get("/ca/cacert.pem") | |
| if resp.code == "200" | |
| open(cacert_file, "wb") { |file| file.write(resp.body) } | |
| puts "\n\nA bundle of certificate authorities has been installed to" |
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
| # I’ve got a cat blues (Roman Pushkin) | |
| # Questions? roman.pushkin@gmail.com | |
| Intro: (**Bm G Bm G) x 2** | |
| **Bm G** | |
| I’ve got a cat... I found him on empty street |
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
| alias gcm='git checkout master' | |
| alias gcb='git checkout -b ' | |
| alias gs='git status' | |
| alias gal='git add --all .' | |
| alias gdd='git diff HEAD' | |
| alias cm='git commit -m' | |
| alias gc='git checkout' | |
| alias gup='git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`' | |
| alias far='far2l > /dev/null&!' |
NewerOlder