You are an AI coding agent responsible for bootstrapping a repository's context system.
Your goal is to perform a deep-scan of the repository and create the initial architectural constitution.
| #!/bin/bash | |
| # Script to add a user to Linux system | |
| # ------------------------------------------------------------------------- | |
| # Copyright (c) 2007 nixCraft project <http://bash.cyberciti.biz/> | |
| # This script is licensed under GNU GPL version 2.0 or above | |
| # Comment/suggestion: <vivek at nixCraft DOT com> | |
| # ------------------------------------------------------------------------- | |
| # See url for more info: | |
| # http://www.cyberciti.biz/tips/howto-write-shell-script-to-add-user.html | |
| # ------------------------------------------------------------------------- |
| /// <reference path="./index.d.ts" /> | |
| import * as ng from 'angular'; | |
| let style = require('./dialog.scss'); | |
| const DialogComponentModule = ng.module('Components.dialog', []); | |
| let dialogService: ng.Injectable<Function> = function ( | |
| $document: ng.IDocumentService, | |
| $compile: ng.ICompileService, |
| (() => { | |
| 'use strict'; | |
| if(!window.hasOwnProperty('jkriss')){ | |
| window.jkriss = {}; | |
| } | |
| window.jkriss.saveToFile = function(obj){ | |
| var text = typeof obj === 'string' ? obj : JSON.stringify(obj); | |
| var blob = new Blob([text], {type:'application/json'}); |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>| ========================================== ========================================== | |
| TMUX COMMAND WINDOW (TAB) | |
| ========================================== ========================================== | |
| List tmux ls List ^b w | |
| New -s <session> Create ^b c | |
| Attach att -t <session> Rename ^b , <name> | |
| Rename rename-session -t <old> <new> Last ^b l (lower-L) | |
| Kill kill-session -t <session> Close ^b & |
| $('a[href*=#]:not([href=#])').click(function() { | |
| if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | |
| || location.hostname == this.hostname) { | |
| var target = $(this.hash); | |
| target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | |
| if (target.length) { | |
| $('html,body').animate({ | |
| scrollTop: target.offset().top | |
| }, 1000); |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <errno.h> | |
| #include <sys/types.h> | |
| #include <linux/inotify.h> | |
| #define EVENT_SIZE ( sizeof (struct inotify_event) ) | |
| #define EVENT_BUF_LEN ( 1024 * ( EVENT_SIZE + 16 ) ) | |
| int main( ) |
| alias dockercleanv='/root/DockerHelpers/docker-cleanup-volumes/docker-cleanup-volumes.sh' | |
| alias dockernsenter='/root/DockerHelpers/nsenter-quick/nsenter-quick.sh' |