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
export SENDPOST_API_KEY='YOUR_API_KEY' |
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
Show hidden characters
{ | |
"target": "terminus_exec", // "terminus_open" - if using this you dont need cancel, simply close tab and watch this: https://youtu.be/etIJMVIvVgg | |
"cancel": "terminus_cancel_build", | |
"focus": false, | |
"timeit": true, | |
"shell_cmd": "g++ -std=c++17 -Wshadow -Wall -o \"${file_path}/${file_base_name}.o\" \"${file}\" -O2 -Wno-unused-result", | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.c++", |
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
#include<stdlib.h> | |
#include<stdio.h> | |
#include<sys/time.h> | |
#define n 4096 | |
#define THRESHOLD 32 | |
double A[n][n]; | |
double B[n][n]; | |
double C[n][n]; |
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
#include<stdlib.h> | |
#include<stdio.h> | |
#include<sys/time.h> | |
#define n 4096 | |
double A[n][n]; | |
double B[n][n]; | |
double C[n][n]; |
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
import java.util.Random; | |
public class MatrixMultiply { | |
static int n = 4096; | |
static double[][] A = new double[n][n]; | |
static double[][] B = new double[n][n]; | |
static double[][] C = new double[n][n]; | |
public static void main(String[] args) { | |
Random random = new Random(); |
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
import sys, random | |
from time import time | |
n = 4096 | |
A = [[random.random() | |
for row in range(n)] | |
for col in range(n)] | |
B = [[random.random() |
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
//g++ 7.4.0 | |
/* | |
* Min Sparse Table Example | |
* | |
* @author Karn, [email protected] | |
*/ | |
#include <bits/stdc++.h> |
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
/* | |
Author: @karngyan | |
Team: BlundersPride | |
*/ | |
#include<bits/stdc++.h> |
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
{ | |
message: 'Starting Java server with: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dfile.encoding=UTF-8 -noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication -jar /home/crio-user/.vscode-builtin-extensions/redhat.java-0.55.1/server/plugins/org.eclipse.equinox.launcher_1.5.600.v20191014-2022.jar -configuration /home/crio-user/.vscode-builtin-extensions/redhat.java-0.55.1/server/config_linux -data /tmp/vscodesws_6e6be/jdt_ws', | |
level: 'info', | |
timestamp: '2020-03-12 08:19:20.051' | |
} | |
{ | |
message: 'An exception occurred while writing to the platform log:\n', | |
level: 'info', | |
timestamp: '2020-03-12 08:19:20.258' | |
} |
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
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: pod-user1 | |
spec: | |
containers: | |
- name: pod-user1 | |
image: ubuntu:18.04 | |
command: | |
- "/bin/sh" |