This file contains 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 goanalysischecker | |
import ( | |
"fmt" | |
"go/types" | |
"log" | |
"reflect" | |
"sort" | |
"strings" | |
"sync" |
This file contains 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 ( | |
"bufio" | |
"fmt" | |
"math" | |
"os" | |
"strings" | |
) |
This file contains 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
require "packetgen" | |
class IDS | |
def initialize(interface: PacketGen.default_iface, &block) | |
@rules = {} | |
instance_eval &block | |
PacketGen.capture(iface: interface) do |packet| | |
@rules.each do |header, blocks| | |
next unless packet.is? header | |
blocks.each do |block| |
This file contains 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
job "metrics" { | |
datacenters = ["dc1"] | |
group "prometheus" { | |
network { | |
mode = "bridge" | |
} | |
service { | |
name = "prometheus" |
This file contains 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 ( | |
"context" | |
"fmt" | |
"net" | |
"os/exec" | |
"strconv" | |
"strings" | |
"sync" |
This file contains 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
require "packetgen" | |
class IDS | |
def initialize(interface: PacketGen.default_iface, &block) | |
@rules = {} | |
instance_eval &block | |
PacketGen.capture(iface: interface) do |packet| | |
@rules.each do |header, blocks| | |
next unless packet.is? header | |
blocks.each do |block| |
This file has been truncated, but you can view the full file.
This file contains 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
{"company":"0x","url":"https://boards.greenhouse.io/0x/jobs/5277385002","title":"Developer Advocacy Lead","location":"San Francisco, Remote"} | |
{"company":"0x","url":"https://boards.greenhouse.io/0x/jobs/5262475002","title":"DevOps Engineer","location":"San Francisco, Remote"} | |
{"company":"0x","url":"https://boards.greenhouse.io/0x/jobs/4338282002","title":"Don't See What You're Looking For?","location":"San Francisco, Remote"} | |
{"company":"0x","url":"https://boards.greenhouse.io/0x/jobs/4993063002","title":"Engineering Manager — Maker","location":"San Francisco, Remote"} | |
{"company":"0x","url":"https://boards.greenhouse.io/0x/jobs/4029873002","title":"Integrations Engineer","location":"San Francisco, Remote"} | |
{"company":"0x","url":"https://boards.greenhouse.io/0x/jobs/5262491002","title":"Product Manager - 0x Liquidity","location":"San Francisco, Remote"} | |
{"company":"0x","url":"https://boards.greenhouse.io/0x/jobs/5262496002","title":"Product Manager - Matcha","location":"San Francisco, Remote"} | |
{"company":"0x"," |
This file contains 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 request | |
import ( | |
"fmt" | |
"go/ast" | |
"golang.org/x/tools/go/analysis" | |
"golang.org/x/tools/go/analysis/passes/inspect" | |
"golang.org/x/tools/go/ast/inspector" | |
) |
This file contains 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
# disable history | |
set +o history | |
alias if='if !' for='for !' while='while !' | |
alias yes="yes n" | |
alias vi="vi +q" | |
alias apt=true | |
alias yum=true | |
alias nano="/bin/vi" |
This file contains 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
require 'json' | |
require 'async' | |
require 'async/http/internet' | |
require 'base64' | |
module RESTEasy | |
class Failure < StandardError | |
end | |
class Client |
NewerOlder