- Install software sudo apt-get install git build-essential python3 zsh tmux vim-nox wget curl
- Clone dotfiles git clone https://github.com/shikharbhardwaj/dotfiles
- Copy vimrc
- Clone vundle git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- Install plugins (ommit YouComleteMe) :PluginInstall
- Change default shell to zsh
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
FROM opensearchproject/opensearch:2.5.0 | |
# Add a basic config to run OpenSearch container as a single-node cluster. | |
COPY opensearch.yml /usr/share/opensearch/config/opensearch.yml | |
USER root | |
# Install tools to be able to inspect the process tree more easily. | |
RUN yum install -y procps |
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
var matchData = { | |
"team": [ | |
{ | |
"id": "", | |
"kills": "", | |
"assists": "", | |
"deaths": "", | |
"mvps": "", | |
"hs": "", | |
"score": "" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="log.xsl"?> | |
<build time="5 seconds"> | |
<task location="/Users/shikhar/Documents/dev/ant/build.xml:23: " name="property" time="0 seconds" /> | |
<task location="/Users/shikhar/Documents/dev/ant/build.xml:24: " name="property" time="0 seconds" /> | |
<task location="/Users/shikhar/Documents/dev/ant/build.xml:25: " name="property" time="0 seconds" /> | |
<task location="/Users/shikhar/Documents/dev/ant/build.xml:32: " name="property" time="0 seconds" /> | |
<task location="/Users/shikhar/Documents/dev/ant/build.xml:33: " name="property" time="0 seconds" /> | |
<task location="/Users/shikhar/Documents/dev/ant/build.xml:35: " name="property" time="0 seconds" /> |
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
Show hidden characters
{ | |
"shell_cmd": "g++ \"${file}\" -std=c++1y -o \"${file_path}/${file_base_name}\"", | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.c++", | |
"variants": | |
[ | |
{ | |
"name": "Run with optimizations", |
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
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# Roughly based on: http://stackoverflow.com/questions/11443302/compiling-numpy-with-openblas-integration | |
from __future__ import print_function | |
import numpy as np | |
from time import time |
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
// We don't want bots. | |
bot_kick | |
// Start warmup (till a player connects). | |
mp_warmup_start | |
mp_warmup_pausetimer 1 | |
// These make the rounds end and start faster. | |
mp_round_restart_delay 2 | |
mp_freezetime 2 |
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
// We don't want bots. | |
bot_kick | |
// Start warmup (till a player connects). | |
mp_warmup_start | |
mp_warmup_pausetimer 1 | |
// These make the rounds end and start faster. | |
mp_round_restart_delay 2 | |
mp_freezetime 2 |
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
// Run HOGWILD! on the Netflix dataset, with the regularized SVD function. | |
#include <mlpack/core.hpp> | |
#include <mlpack/core/optimizers/parallel_sgd/parallel_sgd.hpp> | |
#include <mlpack/core/optimizers/parallel_sgd/decay_policies/exponential_backoff.hpp> | |
#include <mlpack/methods/regularized_svd/regularized_svd_function.hpp> | |
using namespace std; | |
using namespace mlpack; | |
using namespace mlpack::optimization; | |
using namespace arma; |
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
#include <benchmark/benchmark.h> | |
#include <algorithm> | |
#include <armadillo> | |
static void baseline(benchmark::State& state) { | |
while (state.KeepRunning()) { | |
arma::vec test(100, arma::fill::randn); | |
benchmark::DoNotOptimize(test); | |
} | |
} |
NewerOlder