Skip to content

Instantly share code, notes, and snippets.

View rogatec's full-sized avatar
πŸ”‹

TeaMohn rogatec

πŸ”‹
View GitHub Profile
@rogatec
rogatec / security.txt
Created March 5, 2026 07:32 — forked from sebiomoa/security.txt
Security.md file for AI Agents
# Security Template
This repository handles production user data and privileged database access. Treat security requirements as **non-optional**.
## Agent Rules (MUST FOLLOW)
- **No secrets in code**
- Never commit: Service role keys, JWT secrets, database passwords, API keys.
- Client-side env vars must be limited to `NEXT_PUBLIC_*` and must be non-sensitive.
(function() {
var jQuery = document.querySelector('iframe').contentWindow.jQuery;
jQuery('.activityName').each(function(){
var $this = jQuery(this);
$this.css({
overflow:'auto',
width:'200px'
});
@rogatec
rogatec / post-receive
Created October 7, 2016 10:09
git post-merge hook : update / install composer packages & composer itself
#!/bin/bash
# thanks http://www.jenssegers.be/blog/46/deploying-websites-with-git-and-composer-
# replace folder
cd "`dirname $0`/../../application/config"
# Check if a composer.json file is present
if [ -f composer.json ]; then