Skip to content

Instantly share code, notes, and snippets.

View muratthekus's full-sized avatar
🐈
Vega

Murat Kuş muratthekus

🐈
Vega
View GitHub Profile
@benigumocom
benigumocom / dot-zshrc
Last active November 25, 2023 02:22
Set JAVA_HOME with Android Studio embed JDK
~ find '/Applications/Android Studio.app/Contents/jre/Contents/Home'
find: /Applications/Android Studio.app/Contents/jre/Contents/Home: No such file or directory
~ find "$HOME/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio" -path '*/Android Studio.app/Contents/jre/Contents/Home'
/Users/maochanz/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8512546/Android Studio.app/Contents/jre/Contents/Home
# plain android studio
JAVA_HOME='/Applications/Android Studio.app/Contents/jre/Contents/Home'
# jb toolbox android studio
alias gi="git init"
alias gc="git checkout"
alias gcb="git checkout -b"
alias gb="git branch"
alias gs="git status"
alias ga="git add"
alias gaa="git add ."
alias gc="git commit"
alias gcm="git commit -m"
alias gpl="git pull"
@douglasmakey
douglasmakey / sender.go
Last active May 22, 2025 07:33
Golang - send an email with attachments.
package main
import (
"bytes"
"encoding/base64"
"fmt"
"io/ioutil"
"mime/multipart"
"net/smtp"
"os"
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active March 18, 2026 13:34
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@17twenty
17twenty / gist:2fb30a22141d84e52446
Created February 22, 2016 01:04
POST with NewRequest using Golang
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
)
@sghael
sghael / colors.xml
Created June 14, 2012 13:43
Android colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#FFFFFF</color>
<color name="ivory">#FFFFF0</color>
<color name="light_yellow">#FFFFE0</color>
<color name="yellow">#FFFF00</color>
<color name="snow">#FFFAFA</color>
<color name="floral_white">#FFFAF0</color>
<color name="lemon_chiffon">#FFFACD</color>
<color name="cornsilk">#FFF8DC</color>
@sgillies
sgillies / geojson-spec-1.0
Created September 21, 2011 21:11
The GeoJSON Specification
================================
The GeoJSON Format Specification
================================
:Abstract:
GeoJSON is a geospatial data interchange format based on JavaScript Object
Notation (JSON).
:Authors:
Howard Butler (Hobu Inc.),