Skip to content

Instantly share code, notes, and snippets.

View omarkurt's full-sized avatar
:octocat:
Working from home

Omar Kurt omarkurt

:octocat:
Working from home
View GitHub Profile
version: '2'
services:
lb:
image: envoyproxy/envoy-dev:24689b5e9f9dbe10f5d88a03c5c0f2368f07a475
ports:
- '8230:10000'
webbugs|true
gamepad|false
syncnotify|true
fpWebGL|[]
useragentspoof|off
syncfromnotify|true
fpBattery|[]
frame|true
fpBluetooth|[]
uaspoofallow|false

Keybase proof

I hereby claim:

  • I am omarkurt on github.
  • I am omarkurt (https://keybase.io/omarkurt) on keybase.
  • I have a public key ASARtjuuLnXvMwJtJKuJGutzBvjUUiWoflr7PhaR5xnlwQo

To claim this, I am signing this object:

@omarkurt
omarkurt / tshark
Last active February 2, 2019 21:45
tshark simple fresh logged - GET - out json
sudo tshark -Y 'http.request.method == "GET"' -T fields -e http.request.method -e http.request.uri -e ip.dst -T json

Keybase proof

I hereby claim:

  • I am omarkurt on github.
  • I am omarkurt (https://keybase.io/omarkurt) on keybase.
  • I have a public key ASB0n2ljqxglNXxJEnMk7O8uLZbcuK5SwdwzJVtnVfhvXgo

To claim this, I am signing this object:

package main
import (
"net/http"
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"
)
func main() {
package main
import "github.com/gin-gonic/gin"
func main() {
r := gin.Default()
r.GET("/ping", func(c *gin.Context) {
c.JSON(200, gin.H{
"message": "pong",
})
package main
import (
"net/http"
"log"
"github.com/gorilla/mux"
)
func YourHandler(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Gorilla!\n"))
@omarkurt
omarkurt / beego.go
Last active June 17, 2018 09:17
beego.go
package main
import "github.com/astaxie/beego"
func main(){
beego.Run()
}
#!/bin/bash
# go get -u github.com/GoASTScanner/gas
gas -fmt=json -out=html.json -include=G101,G102,G103,G104,G105,G106,G201,G202,G203,G204,G301,G302,G303,G304,G401,G402,G403,G404,G501,G502,G503,G504 ./...