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
class AddNewFun < RubyLLM::Tool | |
description "Adds a new fun event or place to the system. Requires a link and a location description. Name is optional. Returns a JSON object confirming the addition and echoing the event details." | |
param :link, desc: "Link to the fun event or place (e.g., URL to an event page).", required: true | |
param :name, desc: "Name of the fun event or place. Optional, but recommended.", required: false | |
param :location_description, desc: "Textual description of the location (e.g., '123 Main St, Anytown' or 'Central Park Bandshell').", required: true | |
param :date, desc: "Date of the fun event (DD/MM format, e.g., '25/12'). Optional.", required: false | |
param :type, desc: "Type of the fun event (e.g., 'music', 'theater', 'sports'). Optional.", required: false | |
param :price, desc: "Price of the fun event (e.g., 'R$50', 'Free'). Optional.", required: false | |
def execute(link: nil, name: nil, location_description: nil, date: nil, type: nil, price: nil) |
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
package com.fireho.queroir | |
import android.content.Intent | |
import android.os.Bundle | |
import android.os.Handler | |
import android.os.Looper | |
import android.util.Log | |
import android.view.View | |
import android.webkit.JavascriptInterface | |
import android.webkit.WebView |
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
pkgbase=('aeon-git') | |
pkgname=('aeon-git') | |
_aeon='aeon' | |
pkgver=0.9.14.0.r204.2c54434 | |
pkgrel=1 | |
arch=('x86_64' 'i686' 'armv7h') | |
url="http://aeon.cash/" | |
license=('custom:Cryptonote') | |
depends=('boost-libs>=1.45' 'miniupnpc>=1.6' 'libunwind' |
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
def self.crc16(buf) | |
crc = 0xffff | |
buf.each_byte do |b| | |
crc = (crc >> 8) ^ CRC_LOOKUP[(crc ^ b) & 0xff] | |
end | |
~crc | |
end | |
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
# Maintainer: Benjamin Chrétien <chretien dot b plus aur at gmail dot com> | |
pkgname=ignition-transport | |
pkgver=3.0.1 | |
pkgrel=1 | |
pkgdesc="The transport library combines ZeroMQ with Protobufs to create a fast and efficient message passing system" | |
arch=('i686' 'x86_64') | |
url="http://ignitionrobotics.org" | |
license=('Apache') | |
groups=('development') | |
depends=('protobuf' 'protobuf-c' 'zeromq' 'uuid' 'ignition-msgs') |
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
xset s off # don't activate screensaver | |
xset -dpms # disable DPMS (Energy Star) features. | |
xset s noblank # don't blank the video device | |
feh --bg-scale ~/torrefare.png & unclutter & | |
exec /usr/bin/chromium --kiosk --incognito --disable-translate http://localhost:9292 |
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
# Pkgs on servers: | |
# ---------------- | |
# 1 - Setup disks | |
# 2 - Change vars: | |
app="niceapp" | |
name="aakira" | |
sshkey="ssh-rsa..." |
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
[Unit] | |
Description=High-performance, schema-free document-oriented database | |
After=network.target | |
[Service] | |
LimitFSIZE=infinity | |
LimitCPU=infinity | |
LimitAS=infinity | |
LimitNOFILE=64000 | |
LimitNPROC=64000 |
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
# Tesseract with training tools | |
# | |
# You must install one of tesseract-data-* packages or whole tesseract-data | |
# | |
# Based on ABS tree: | |
# Maintainer: Sergej Pupykin <[email protected]> | |
# Contributor: Andreas Hauser <[email protected]> | |
_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell | |
eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun |
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
[Unit] | |
Description=Errbit Unicorn Server | |
Requires=mongodb.service | |
After=mongodb.service network.target | |
[Service] | |
# Change here: user, group and directory to errbit root | |
User=errbit | |
Group=errbit | |
WorkingDirectory=/var/www/apps/errbit |
NewerOlder