Skip to content

Instantly share code, notes, and snippets.

View Ebazhanov's full-sized avatar
πŸ‘‹

Evgenii Bazhanov Ebazhanov

πŸ‘‹
View GitHub Profile
@monkrus
monkrus / extract_string_from_runes.go
Last active November 23, 2022 18:23
Extract string values
func getProduct(digits string) (product int64, e error) {
product = 1
for _, digit := range digits {
d, err := strconv.Atoi(string(digit))
if err != nil {
return -1, fmt.Errorf("cannot convert %v to int", digit)
}
product *= int64(d)
}
@monkrus
monkrus / Golang byte trimming.txt
Last active November 23, 2022 18:23
Golang byte trimming
package main
import (
"bytes"
"fmt"
"strings"
)
func main() {
var s string = "Hello World"
@monkrus
monkrus / Go simple webserver
Created April 17, 2020 03:27
Write web server in 5 lines of code
package main
import (
"log"
"net/http"
)
func main() {
//root path handles EVERY request received
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
@Gnzlt
Gnzlt / gourcevideo.sh
Created March 6, 2019 13:25
Gource video export command
#!/bin/bash
gource \
-s .03 \
-1280x720 \
--auto-skip-seconds .1 \
--multi-sampling \
--stop-at-end \
--key \
--highlight-users \
@cazala
cazala / guide.md
Created January 2, 2018 16:19 — forked from menduz/guide.md
Frontend React + TypeScript guidelines

Directory Structure

The sources of the project follows this structure:

/src
  /app
    /{domain}
      /actions.ts
 /actions.spec.ts
@rxaviers
rxaviers / gist:7360908
Last active June 30, 2025 20:11
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: