Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
doc /
progs /
[ HOME SHELL ]
Name
Size
Permission
Action
cgo1.go
337
B
-rw-r--r--
cgo2.go
342
B
-rw-r--r--
cgo3.go
368
B
-rw-r--r--
cgo4.go
374
B
-rw-r--r--
defer.go
860
B
-rw-r--r--
defer2.go
1.01
KB
-rw-r--r--
eff_bytesize.go
906
B
-rw-r--r--
eff_qr.go
1
KB
-rw-r--r--
eff_sequence.go
995
B
-rw-r--r--
eff_unused1.go
154
B
-rw-r--r--
eff_unused2.go
273
B
-rw-r--r--
error.go
2.27
KB
-rw-r--r--
error2.go
1.17
KB
-rw-r--r--
error3.go
1.31
KB
-rw-r--r--
error4.go
1.56
KB
-rw-r--r--
go1.go
4.73
KB
-rw-r--r--
gobs1.go
445
B
-rw-r--r--
gobs2.go
987
B
-rw-r--r--
image_draw.go
3.06
KB
-rw-r--r--
image_package1.go
281
B
-rw-r--r--
image_package2.go
371
B
-rw-r--r--
image_package3.go
339
B
-rw-r--r--
image_package4.go
405
B
-rw-r--r--
image_package5.go
347
B
-rw-r--r--
image_package6.go
448
B
-rw-r--r--
interface.go
1.04
KB
-rw-r--r--
interface2.go
2.61
KB
-rw-r--r--
json1.go
1.45
KB
-rw-r--r--
json2.go
696
B
-rw-r--r--
json3.go
1.21
KB
-rw-r--r--
json4.go
751
B
-rw-r--r--
json5.go
549
B
-rw-r--r--
run.go
4.74
KB
-rw-r--r--
slices.go
1.16
KB
-rw-r--r--
timeout1.go
481
B
-rw-r--r--
timeout2.go
515
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : image_draw.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file contains the code snippets included in "The Go image/draw package." package main import ( "image" "image/color" "image/draw" ) func main() { Color() Rect() RectAndScroll() ConvAndCircle() Glyph() } func Color() { c := color.RGBA{255, 0, 255, 255} r := image.Rect(0, 0, 640, 480) dst := image.NewRGBA(r) // ZERO OMIT // image.ZP is the zero point -- the origin. draw.Draw(dst, r, &image.Uniform{c}, image.ZP, draw.Src) // STOP OMIT // BLUE OMIT m := image.NewRGBA(image.Rect(0, 0, 640, 480)) blue := color.RGBA{0, 0, 255, 255} draw.Draw(m, m.Bounds(), &image.Uniform{blue}, image.ZP, draw.Src) // STOP OMIT // RESET OMIT draw.Draw(m, m.Bounds(), image.Transparent, image.ZP, draw.Src) // STOP OMIT } func Rect() { dst := image.NewRGBA(image.Rect(0, 0, 640, 480)) sr := image.Rect(0, 0, 200, 200) src := image.Black dp := image.Point{100, 100} // RECT OMIT r := image.Rectangle{dp, dp.Add(sr.Size())} draw.Draw(dst, r, src, sr.Min, draw.Src) // STOP OMIT } func RectAndScroll() { dst := image.NewRGBA(image.Rect(0, 0, 640, 480)) sr := image.Rect(0, 0, 200, 200) src := image.Black dp := image.Point{100, 100} // RECT2 OMIT r := sr.Sub(sr.Min).Add(dp) draw.Draw(dst, r, src, sr.Min, draw.Src) // STOP OMIT m := dst // SCROLL OMIT b := m.Bounds() p := image.Pt(0, 20) // Note that even though the second argument is b, // the effective rectangle is smaller due to clipping. draw.Draw(m, b, m, b.Min.Add(p), draw.Src) dirtyRect := b.Intersect(image.Rect(b.Min.X, b.Max.Y-20, b.Max.X, b.Max.Y)) // STOP OMIT _ = dirtyRect // noop } func ConvAndCircle() { src := image.NewRGBA(image.Rect(0, 0, 640, 480)) dst := image.NewRGBA(image.Rect(0, 0, 640, 480)) // CONV OMIT b := src.Bounds() m := image.NewRGBA(b) draw.Draw(m, b, src, b.Min, draw.Src) // STOP OMIT p := image.Point{100, 100} r := 50 // CIRCLE2 OMIT draw.DrawMask(dst, dst.Bounds(), src, image.ZP, &circle{p, r}, image.ZP, draw.Over) // STOP OMIT } func theGlyphImageForAFont() image.Image { return image.NewRGBA(image.Rect(0, 0, 640, 480)) } func theBoundsFor(index int) image.Rectangle { return image.Rect(0, 0, 32, 32) } func Glyph() { p := image.Point{100, 100} dst := image.NewRGBA(image.Rect(0, 0, 640, 480)) glyphIndex := 42 // GLYPH OMIT src := &image.Uniform{color.RGBA{0, 0, 255, 255}} mask := theGlyphImageForAFont() mr := theBoundsFor(glyphIndex) draw.DrawMask(dst, mr.Sub(mr.Min).Add(p), src, image.ZP, mask, mr.Min, draw.Over) // STOP OMIT } //CIRCLESTRUCT OMIT type circle struct { p image.Point r int } func (c *circle) ColorModel() color.Model { return color.AlphaModel } func (c *circle) Bounds() image.Rectangle { return image.Rect(c.p.X-c.r, c.p.Y-c.r, c.p.X+c.r, c.p.Y+c.r) } func (c *circle) At(x, y int) color.Color { xx, yy, rr := float64(x-c.p.X)+0.5, float64(y-c.p.Y)+0.5, float64(c.r) if xx*xx+yy*yy < rr*rr { return color.Alpha{255} } return color.Alpha{0} } //STOP OMIT
Close