Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <string.h>
char* check_uniqueness(const char *chars);
int main() {
char chars[100] = "";
char buffer[100] = "";
scanf("%s", chars);
# bebyx.zsh-theme (classic bash improved)
local user_host="%{$fg_bold[green]%}%n@%m:%{$reset_color%}"
local path_p="%{$fg_bold[blue]%}%~%{$reset_color%}"
local cmd_sign="%{$reset_color%}%{$fg[magenta]%}$%{$reset_color%}"
PROMPT='${user_host}${path_p}${cmd_sign} '
RPROMPT='%{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[cyan]%}%{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="±(%{$fg[yellow]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
#!/bin/bash
curl -L https://ollama.com/download/ollama-linux-amd64 -o $HOME/.local/bin/ollama
chmod +x $HOME/.local/bin/ollama
cat <<EOF > ~/.config/systemd/user/ollama.service
[Unit]
Description=Ollama Service
After=network-online.target