Skip to content

Instantly share code, notes, and snippets.

View NikitaDef's full-sized avatar

Nikita Gavrilov NikitaDef

View GitHub Profile
@NikitaDef
NikitaDef / proxy.go
Created November 8, 2021 18:54 — forked from ericflo/proxy.go
Golang TCP Proxy
package proxy
import (
"io"
"net"
"sync"
log "github.com/Sirupsen/logrus"
)
// Process a client connect request
func (s *StanServer) connectCB(m *nats.Msg) {
//TODO
s.nc.Opts.User
@NikitaDef
NikitaDef / media-query.css
Created November 19, 2018 20:36 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
Razer
MvcHtmlString -Represents an HTML-encoded string that should not be encoded again.
This class help
Web Forms
new HtmlString()- Represent an HTML-encoded string thet should not be encoded again