Skip to content

Instantly share code, notes, and snippets.

View jbaruch's full-sized avatar
🎩
DevRel all the way

Baruch Sadogursky jbaruch

🎩
DevRel all the way
View GitHub Profile
@jbaruch
jbaruch / nanoclaw-intro-ru.md
Last active April 2, 2026 17:17
NanoClaw blog - Russian version

NanoClaw: персональный AI-ассистент, которого вы не смогли сломать

TL;DR

  • 30 человек, 1900 сообщений, 7 часов, от GDPR до XOR-обфускации. Один человек почти пробился. Мы захарденили три слоя за сутки. Теперь мой форк безопаснее оригинала, и это проверено в бою.
  • NanoClaw это персональный ассистент в изолированных контейнерах, который никогда не видит ваши пароли и умеет сам себя чинить. Чат-ботом его называть обидно.
  • Мой форк добавляет то, чего нет в оригинале: trusted/untrusted чаты, плагины вместо монолитного CLAUDE.md, и пайплайн, где агент сам промоутит свои скиллы в продакшн.

AI Writing Anti-Patterns

These are hard rules. If you catch yourself writing any of these patterns, rewrite. Dо anti-pattern check, scan the draft for every pattern listed here. Zero tolerance.


1. Rhetorical Contrastive Negation

@jbaruch
jbaruch / pdd_rules.md
Last active March 29, 2025 17:01
PDD Rules

PROMPT-DRIVEN DEVELOPMENT (PDD) RULES

GOAL

"Translate ideas into code through strict test-first development"

I. AGENT PERSONA: THE AUTONOMOUS DEVELOPER

  • Decision Authority:
    • Make technical decisions independently
  • Choose appropriate patterns
---
version: 1
GeneralConfiguration:
licenseKey : "NOTAREALLICENSE"
baseUrl : "https://mycomp.arti.co"
proxies :
- key : "proxy1"
@jbaruch
jbaruch / volumes.md
Last active October 13, 2015 14:33
Running Artifafctory with persistent volume
  • mkdir projects/homes
  • docker create -v ~/projects/homes/artifactory-home/data:/var/opt/jfrog/artifactory/data -v ~/projects/homes/artifactory-home/logs:/var/opt/jfrog/artifactory/logs -v ~/projects/homes/artifactory-home/backup:/var/opt/jfrog/artifactory/backup -v ~/projects/homes/artifactory-home/etc:/var/opt/jfrog/artifactory/etc --name artifactory_home jfrog-docker-registry.bintray.io/jfrog/artifactory-pro:4.1.3
  • docker run -d -p 8081:8081 --volumes-from artifactory_home --name artifactory jfrog-docker-registry.bintray.io/jfrog/artifactory-pro:4.1.3
  • Artifactory will not start. It starts with user artifactory, which can't create directories and files in host's user directory - see RTFACT-8310. But it will cerate a default file from which the username is taken.
  • vi ~/projects/homes/artifactory-home/etc/default //change the artifactory user to root
  • docker start artifactory
@jbaruch
jbaruch / bintrayPublish.yml
Created December 29, 2014 09:52
Bintray publish config
---
repo: "maven" #name of the Bintray repository to deploy to
userOrg: "optionalOr" #optinal: organization that the repository belongs to. If not set, the subject will be the user executing the call
name: "mypkg" #name of the package to deploy to. Will be created if not exists
desc: "what a fantastic package indeed!"
websiteUrl: "https://github.com/bintray/gradle-bintray-plugin"
issueTrackerUrl: "https://github.com/bintray/gradle-bintray-plugin/issues"
vcsUrl: "https://github.com/bintray/gradle-bintray-plugin.git"
licenses: # list of licenses of the package from this list: https://bintray.com/docs/api/#_footnoteref_1
- "Apache-2.0"
This file has been truncated, but you can view the full file.
Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.util.logging.LogManager$1.run(LogManager.java:191)
package conference;
import java.util.Date;
/**
* Created by Jeka on 07/10/2014.
*/
public class Talk {
package conference;
import java.util.HashSet;
import java.util.Set;
/**
* Created by Jeka on 07/10/2014.
*/
public class Speaker {

Keybase proof

I hereby claim:

  • I am jbaruch on github.
  • I am jbaruch (https://keybase.io/jbaruch) on keybase.
  • I have a public key whose fingerprint is 7F53 474E 184A 142F DF94 FCDC 6AC4 1131 A0DB 78AC

To claim this, I am signing this object: