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
const request = require('request'); | |
const fs = require('fs'); | |
const fileData = fs.createReadStream('evidence.txt'); | |
request.post({ | |
url: 'http://sscs-tribunals-api-demo.service.core-compute-demo.internal/evidence/upload', | |
headers: { | |
'Content-Type': 'multipart/form-data' | |
}, | |
formData: { | |
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
const request = require('request'); | |
const fs = require('fs'); | |
const fileData = fs.createReadStream('evidence.txt'); | |
request.post({ | |
url: 'http://sscs-tribunals-api-demo.service.core-compute-demo.internal/evidence/upload', | |
headers: { | |
'Content-Type': 'multipart/form-data' | |
}, | |
formData: { | |
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
 | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: httpbin | |
spec: | |
hosts: | |
- "httpbin.example.com" | |
- "nginx.example.com" | |
- "nets.example.com" |
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
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: httpbin | |
spec: | |
hosts: | |
- "httpbin.example.com" | |
- "nginx.example.com" | |
- "nets.example.com" | |
gateways: |
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
apiVersion: "config.istio.io/v1alpha2" | |
kind: denier | |
metadata: | |
name: denyproductpagehandler | |
namespace: default | |
spec: | |
status: | |
code: 7 | |
message: Not allowed | |
--- |
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
set nocompatible | |
syntax on | |
filetype plugin indent on | |
call plug#begin('~/.vim/plugged') | |
" (Optinal) for Tag Sidebar | |
" Plug 'majutsushi/tagbar' | |
Plug 'scrooloose/nerdcommenter' |
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
~/.mozilla/firefox/ijh87dyn.default/chrome cat userChrome.css | |
#urlbar, | |
#searchbar | |
{ | |
font-size: 16px !important; | |
border-radius: 99px !important; | |
background-color: var(--toolbar-field-background-color) !important; | |
color: inherit !important; | |
border: 0 !important; | |
box-shadow: none !important; |
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 file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |
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
resource "google_compute_instance" "publicinstances" { | |
count = length(local.mappublicinstances) | |
project = var.serviceprojectid | |
dynamic "service_account"{ | |
for_each = local.mappublicinstances[count.index]["sa"] == true ? [true] : [] | |
content { | |
scopes = ["https://www.googleapis.com/auth/bigquery","https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/source.full_control","https://www.googleapis.com/auth/source.read_only","https://www.googleapis.com/auth/compute.readonly","https://www.googleapis.com/auth/compute","https://www.googleapis.com/auth/datastore","https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/monitoring.write","https://www.googleapis.com/auth/pubsub","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly"," |
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
#! perl | |
# This extension implements vim like scrollback buffer navigation, search, and | |
# paste. Initially based on the searchable-scrollback extension and some gf | |
# related code borrowed from the matcher extension. | |
# | |
# Copyright (C) 2007 - 2013 Eric Van Dewoestine | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 |