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
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# The analysis_options.yaml file at the repository root is the source of truth, | |
# and the other analysis_options.yaml files in the experiences repo | |
# mere copies of it. | |
analyzer: | |
exclude: | |
- '**/generated/**' | |
linter: |
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://drive.google.com/open?id=1M4X5RYPOnzKeg0P3qK4hRhPCD3cv605N | |
https://drive.google.com/open?id=1Q6Hj0o04fUjT-aZSZbJtUpgHb1wtSvW3 |
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
# Copyright 2018 The Fuchsia Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |
local_repository( | |
name = "fuchsia_sdk", | |
path = "./", | |
) |
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
load("@io_bazel_rules_go//go:def.bzl", "gazelle") | |
gazelle( | |
name = "gazelle", | |
prefix = "github.com/google/go-github", | |
) |
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
const html = `<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body { | |
background-color:#000; | |
} | |
.video-foreground, | |
.video-background iframe { | |
position: absolute; |
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
redred | |
Especially in things like Ryzen where every core can talk to any other core arbitrarily | |
09:58 travisg | |
ryzen is not special at all | |
travisg | |
it's the definition of a symmetric multiprocessing system: each cpu is equal | |
redred | |
Really? AFAIK with intel core to core communication goes through a ringbus | |
developerhdf | |
travisg: So the real upside though is security and being able to update an os separately from its drivers? ie reduce fragmentation and increase the lifespan of devices? |
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
#!/bin/zsh | |
initializeANSI() | |
{ | |
esc="$(echo -en '\e')" | |
blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m" | |
yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m" | |
cyanf="${esc}[36m"; whitef="${esc}[37m" |
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 golang:alpine | |
WORKDIR /go/src/github.com/mishudark/hello | |
RUN mkdir -p cmd/hello | |
COPY main.go cmd/hello/ | |
RUN CGO_ENABLED=0 GOOS=linux go install -ldflags "-s" -a -installsuffix cgo ./cmd/... | |
FROM alpine:latest | |
RUN apk --no-cache add ca-certificates |
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
echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle | |
echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse | |
net.ipv4.tcp_tw_recycle = 1 | |
net.ipv4.tcp_tw_reuse = 1 |
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: '2.0' | |
services: | |
mongo: | |
image: jadsonlourenco/mongo-rocks | |
environment: | |
AUTH: "no" | |
DB_USER: "user" | |
DB_PASS: "pass" | |
DATABASE: "parse" | |
ports: |