This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config --global alias.co checkout | |
| git config --global alias.br branch | |
| git config --global alias.ci commit | |
| git config --global alias.st status | |
| git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.7" | |
| services: | |
| powerdns-admin: | |
| image: hsrnetwork/powerdns-admin:latest | |
| hostname: powerdns-admin | |
| restart: unless-stopped | |
| ports: | |
| - "80:80" | |
| # To override the default config.py: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ' Source: https://excel.tips.net/T003005_Condensing_Multiple_Worksheets_Into_One.html | |
| Sub Combine() | |
| Dim J As Integer | |
| On Error Resume Next | |
| Sheets(1).Select | |
| Worksheets.Add ' add a sheet in first place | |
| Sheets(1).Name = "Combined" | |
| ' copy headings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let ipv4 = { | |
| random: function (subnet, mask) { | |
| // generate random address (integer) | |
| // if the mask is 20, then it's an integer between | |
| // 1 and 2^(32-20) | |
| let randomIp = Math.floor(Math.random() * Math.pow(2, 32 - mask)) + 1; | |
| return this.lon2ip(this.ip2lon(subnet) | randomIp); | |
| }, | |
| ip2lon: function (address) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/xml" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Curl</title> | |
| <style> | |
| html { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "fmt" | |
| import "time" | |
| func main() { | |
| arr1 := ".oO0* " | |
| arr2 := "_.-^\" " | |
| arr3 := ".!|\"' " | |
| arr4 := "<(|)> " |