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
Making install in data | |
make[1]: Entering directory '/home/vinicius/budgie-desktop/data' | |
GEN com.evolve-os.budgie.panel.gschema.valid | |
make[2]: Entering directory '/home/vinicius/budgie-desktop/data' | |
make[2]: Nothing to be done for 'install-exec-am'. | |
/bin/mkdir -p '/usr/share/applications' | |
/usr/bin/install -c -m 644 budgie-settings.desktop '/usr/share/applications' | |
/bin/mkdir -p '/usr/share/budgie-desktop' | |
/usr/bin/install -c -m 644 layout.ini '/usr/share/budgie-desktop' | |
/bin/mkdir -p '/usr/share/xsessions' |
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
#!/bin/bash | |
# For binaries installation instructions go for https://kubernetes.io/docs/tasks/tools/install-kubeadm/ | |
# Clean previous installations: | |
sudo -E kubeadm reset | |
rm -rf ~/.kube/* | |
# Comment search domains configured in your resolv.conf if you have any, as stated in:https://github.com/kubernetes/kubernetes/issues/57709 | |
sudo sed -e 's/^search/#search/' -i /etc/resolv.conf |
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
# tasks/main.yml | |
--- | |
- shell: systemctl set-property haproxy.service CPUAccounting=true CPUQuota=20% MemoryLimit=10M | |
# ln -s /usr/lib/systemd/system/haproxy.service /etc/systemd/system/haproxy.service | |
- file: | |
src: /usr/lib/systemd/system/haproxy.service | |
dest: /etc/systemd/system/haproxy.service | |
state: link |
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
# Example of a CircleCI's config file (.circleci/config.yml) | |
--- | |
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/node:10 | |
# choosing a neutral folder (/tmp) as it is commonly accessible by all users in most types of linuxes | |
working_directory: /tmp/repo |
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
scalar Date | |
schema { | |
query: Query | |
mutation: Mutation | |
} | |
type Query { | |
user(id: ID!): User! | |
users: [User!] |
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
# .gqlgen.yml example | |
# | |
# Refer to https://gqlgen.com/config/ | |
# for detailed .gqlgen.yml documentation. | |
schema: | |
- schema.graphql | |
exec: | |
filename: generated.go | |
model: |
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
// THIS CODE IS A STARTING POINT ONLY. IT WILL NOT BE UPDATED WITH SCHEMA CHANGES. | |
package graph | |
import ( | |
"context" | |
) | |
type Resolver struct{} | |
func (r *mutationResolver) Signup(ctx context.Context, input NewUser) (string, error) { |
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 ( | |
"log" | |
"net/http" | |
"os" | |
"github.com/99designs/gqlgen/handler" | |
"github.com/artemis-tech/sample-graph/graph" | |
) |
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
// THIS CODE IS A STARTING POINT ONLY. IT WILL NOT BE UPDATED WITH SCHEMA CHANGES. | |
package graph | |
import ( | |
"context" | |
"fmt" | |
) | |
type Resolver struct{} |
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
... | |
"github.com/artemis-tech/sample-graph/graph" | |
) | |
func main() { | |
port := "3030" | |
if os.Getenv("PORT") != "" { | |
port = os.Getenv("PORT") | |
} |
OlderNewer