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" | |
| "os" | |
| "strconv" | |
| "strings" | |
| "github.com/PuerkitoBio/goquery" | |
| ) |
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
| FROM haproxy:latest | |
| RUN apt-get update | |
| RUN apt-get install -y netcat-openbsd | |
| COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg | |
| EXPOSE 80 |
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
| /* | |
| https://webapps.stackexchange.com/questions/100820/how-do-i-invite-all-team-members-to-a-new-slack-channel#answer-104062 | |
| Instructions: Just browse to the appropriate channel and paste | |
| this script (below) into your Chrome/Firefox dev console and hit enter. | |
| Then wait for the script to run until it completes. | |
| It might take time as there is a limit to how many users may be invited at once. | |
| The script will loop until all team members are invited. | |
| */ | |
| var foundAny=false; | |
| function selectAllByLetter(remainingLetters) { |
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
| def foo(bar, a: 1, b: 2) | |
| puts a.inspect | |
| end | |
| args = { a: 2 } | |
| foo(true, args) |
OlderNewer