View main.py
import seaborn as sns | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
Year = [2012, 2014, 2016, 2020, 2021, 2022, 2018] | |
Profit = [80, 75.8, 74, 65, 99.5, 19, 33.6] | |
data_plot = pd.DataFrame({"Year": Year, "Profit": Profit}) |
View gist:c7f14474b301f8db7e213ccf829bba89
version: '3.6' | |
services: | |
docker: | |
image: docker:dind | |
privileged: yes | |
networks: | |
- bagdb | |
volumes: | |
- bags:/bags:ro | |
- scripts:/scripts |
View main.go
package main | |
import ( | |
"encoding/csv" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" | |
"strconv" | |
"strings" |
View main.go
package main | |
import ( | |
"bufio" | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" |
View combinations.go
package main | |
import ( | |
"fmt" | |
"generate-queries/utils" | |
"github.com/mxschmitt/golang-combinations" | |
) | |
func main() { |
View example.html
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>Vingen · Vingen documentation site</title><meta name="viewport" content="width=device-width"/><meta name="generator" content="Docusaurus"/><meta name="description" content="Vingen documentation site"/><meta property="og:title" content="Vingen · Vingen documentation site"/><meta property="og:type" content="website"/><meta property="og:url" content="undefined/documentation/index.html"/><meta property="og:description" content="Vingen documentation site"/><meta name="twitter:card" content="summary"/><meta http-equiv="refresh" content="0; URL=/documentation/en/powerpoint/how_to_do_workflow.html"/><link rel="shortcut icon" href="/documentation/img/favicon.ico"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css"/><script src="/documentation/js/scrollSpy.js"></script><link rel="stylesheet" href="/documentation/css/main.css"/><script src=" |
View k6.js
import http from 'k6/http'; | |
import { sleep } from 'k6'; | |
export let options = { | |
vus: 1000, | |
duration: '300s', |
View query.json
query($filter: JSON) { | |
family_history(filter: $filter){ | |
submitter_id | |
auth_resource_path | |
family_history_id | |
} | |
} |
View unmarshal_dynamic_key.go
func (s ResultObject) UnmarshalJSON(data []byte) map[string]interface{} { | |
var z map[string]interface{} | |
if err := json.Unmarshal(data, &z); err != nil { | |
fmt.Println(string(data[:])) | |
panic(err) | |
} | |
return z | |
} |
View crowdin.yaml
project_id: $PROJECT_ID #open project settings and go to API section | |
api_token: $API_TOKEN #open profile settings and go to API & SSO > New Token > create Token | |
base_path: "./" | |
base_url: "https://api.crowdin.com" | |
preserve_hierarchy: true | |
files: | |
- | |
source: '/website/docs/**/*.md' #source files filter | |
translation: '/website/translated_docs/%locale%/**/%original_file_name%' #where translations are stored |
NewerOlder