Skip to content

Instantly share code, notes, and snippets.

The sun is behind every cloud

Fedir RYKHTIK fedir

The sun is behind every cloud
View GitHub Profile
git clone
cd kubernetes-engine-samples/hello-app
cat main.go
cat Dockerfile
gcloud container clusters get-credentials <;cluster-name> \
gcloud container clusters get-credentials cluster-1 --zone europe-west1
docker build -t $PWD
gcloud docker -- push
kubectl run hello-node --port=8080
kubectl expose deployment hello-node --type="LoadBalancer"
mkrappitz / typo3camp-nantes-cms-6-top-9-update-notes.txt
Last active Jan 17, 2020
TYPO3camp Nantes TYPO3 CMS 6 to 9 Update Notes
View typo3camp-nantes-cms-6-top-9-update-notes.txt
Here is my list of notes for the TYPO3 CMS 6 to 9 update session of the installation on the Sunday of the TYPO3Camp Nantes 2018. Makes only sense for participants of the session:
- set development system DB settings inf AdditionalConfiguration.php on domain condition
- execute DB Compare
- set Preview Domain in PageTs on domain condition
- set TS Domain Conditions for Frontend to Dev Environment
- extension updates (EXT:powermail only up to 2.25.3 for now)
- EXT: fix realurl configuration, changing $TYPO3_CONF_VARS to $GLOBALS['TYPO3_CONF_VARS']
- migrate to EXT:metaseo, rewrite data, change static TS, change constants
- set php to 7.1
anujsinghwd / main.go
Created Mar 16, 2018
Upload File - golang
View main.go
package main
import (
fedir / golang.bashrc
Last active Jan 4, 2019
Go (Golang) installation and path configuration for Ubuntu / Debian / Linux Mint / ...
View golang.bashrc
export GOROOT=/usr/local/go
export PATH=${GOROOT}/bin:${PATH}
export GOPATH=$HOME/go
export PATH=${GOPATH}/bin:${PATH}
fubarhouse / loop_files_folders_recursively.go
Last active Jul 12, 2022 — forked from francoishill/loop_files_folders_recursively.go
Loop through files and folders recursively in golang
View loop_files_folders_recursively.go
package main
import (
func run() ([]string, error) {
searchDir := "c:/path/to/dir"
View google.go
package googlescraper
import (
type GoogleResult struct {
cuixin / json_to_map.go
Created Oct 25, 2017
json to map[string]interface{} example in golang
View json_to_map.go
package main
import (
func dumpMap(space string, m map[string]interface{}) {
for k, v := range m {
if mv, ok := v.(map[string]interface{}); ok {
posener /
Last active Jul 12, 2022
Story: Writing Scripts with Go

Story: Writing Scripts with Go

This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible implementations; During the discussion I’ll deep dive to scripts, shells, and shebangs. Finally, we’ll discuss solutions that will make Go scripts work.

Why Go is good for scripting?

While python and bash are popular scripting languages, C, C++ and Java are not used for scripts at all, and some languages are somewhere in between.

Simplesmente /
Created Aug 10, 2017
Install docker Linux Mint 18.2
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates -y
sudo apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo echo deb ubuntu-xenial main >> /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get purge lxc-docker
sudo apt-get install linux-image-extra-$(uname -r) -y
sudo apt-get install docker-engine cgroup-lite apparmor -y
sudo usermod -a -G docker $USER
sudo service docker start
manuelselbach /
Last active Jul 17, 2021
How to add a custom element for the formEditor of ext:form

EXT:form How to add a custom form element

If you like to add a custom form element, please follow these steps. For detailed information and documentation of ext:form please visit the official documentation:


First of all create a new extension, which will hold all the configuration, templates, etc.