Skip to content

Instantly share code, notes, and snippets.

View akamalov's full-sized avatar

Alex Kamalov akamalov

View GitHub Profile
@jlia0
jlia0 / agent loop
Last active October 28, 2025 01:55
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@akamalov
akamalov / Gemfile
Created October 27, 2018 15:44 — forked from danhigham/Gemfile
Simple ruby script to download the contents of an application running on Cloud Foundry to a zip file
source :rubygems
gem 'cfoundry'
gem 'uuidtools'
@polvi
polvi / README.md
Created May 3, 2017 23:53
HDFS of Kubernetes

Easiest HDFS cluster in the world with kubernetes.

Inspiration from kimoonkim/kubernetes-HDFS

kubectl create -f namenode.yaml
kubectl create -f datanode.yaml

Setup a port-forward to so you can see it is alive:

@owainlewis
owainlewis / Operations.md
Last active December 8, 2020 06:53
Install Spinnaker on Ubuntu 16.04

Operations

Upgrade Spinnaker to latest

sudo apt-get upgrade -y spinnaker

Check version of Spinnaker installed

@alexellis
alexellis / arm.md
Last active July 12, 2025 08:12
Test swarm connectivity

Regular PC / cloud architecture (64-bit)

See the snippets "guide.md" and "redis.md" below.

Swarm on a Raspberry Pi

If you're wanting to run Docker Swarm on your Raspberry Pi checkout these instructions:

@vchrisb
vchrisb / cf-networking-bosh-lite.yml
Last active November 26, 2018 18:06
A bosh ops file to allow cloud foundry networking for bosh-lite
# add cf-networking release
- type: replace
path: /releases/-
value:
name: cf-networking
sha1: 689ff1050b49513d5fe889b9655803bcdd265824
url: https://bosh.io/d/github.com/cloudfoundry-incubator/cf-networking-release?v=0.18.0
version: "0.18.0"
- type: replace
@thomasdarimont
thomasdarimont / readme.md
Last active July 22, 2025 15:54
Example for decoding a JWT Payload with your Shell (bash, zsh...)

Setup

Add this to your .profile, .bashrc, .zshrc...

decode_base64_url() {
  local len=$((${#1} % 4))
  local result="$1"
  if [ $len -eq 2 ]; then result="$1"'=='
  elif [ $len -eq 3 ]; then result="$1"'=' 
  fi
 echo "$result" | tr '_-' '/+' | openssl enc -d -base64
@aweiteka
aweiteka / publish-atomic-registry-documentation.sh
Last active September 25, 2016 16:31
Publishing Atomic Registry documentation
#!/bin/bash
git clone https://github.com/openshift/openshift-docs.git
cd openshift-docs/
sudo docker run -it --rm -v `pwd`:/docs:z projectatomic/ascii_binder asciibinder package --site=atomic-registry
# per http://www.asciibinder.org/latest/guides/maintainer_guide.html#site-file-organization
# full HTML site lands in /path/to/openshift-docs/_package/atomic-registry
# Note: files are owned by root due to container running as root.
# Non-root user doesn't have perms to write to local dir
@Bouke
Bouke / gist:11261620
Last active March 4, 2025 11:36
Multiple Python installations on OS X

Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv instead. If you are looking for the previous version of this document, see the revision history.

$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10

$ pyenv install 2.6.9