Author : Dua Guillaume
Date : 04-26-2020
Requirement : A first experience with CMake
As a modern C++ specialist, my job is to focus on software development, from a performance and quality perspective.
impl<V: Value> core::str::FromStr for NonNormalizingDec<V> { | |
type Err = &'static str; | |
#[inline(never)] | |
#[rustfmt::skip] | |
fn from_str(s: &str) -> Result<Self, Self::Err> { | |
/// Converts an ASCII decimal digit to an int. | |
/// | |
/// In release builds, no range checks are performed and passing a | |
/// non-digit character will result is undefined (yet safe) behavior. |
#!/bin/bash | |
# Execute Windows programs with Proton from Steams installation folder, without | |
# starting Steam client. | |
# | |
# 1. Create a directory for Proton environment to run in. As an example make a | |
# folder "proton" in your home directory. This folder must exist in order | |
# to make Proton work. | |
# | |
# 2. Point the variable "env_dir" in this script to that folder or... |
[alias] | |
# rebase current branch with remote branch | |
# git up [remote=upstream] [branch=master] | |
up = !"f() {\ | |
if [ $# -lt 1 ];\ | |
then remote=upstream;\ | |
else remote=$1;\ | |
fi;\ | |
if [ $# -lt 2 ];\ | |
then repo=master;\ |
# Docker section ################################################ | |
# - Stop all running docker containers | |
function stopAll { | |
containers=$(docker ps -qa) | |
if [ ! -z "$containers" ] | |
then | |
echo $containers | xargs docker container rm -f $1 | |
else | |
echo "No Containers for remove!" | grep -e "." |
using Base.Threads | |
using LoopVectorization | |
using BenchmarkTools | |
const None = [CartesianIndex()] | |
function distances(data1, data2) | |
data1 = deg2rad.(data1) | |
data2 = deg2rad.(data2) | |
lat1 = @view data1[:, 1] |
Windows Registry Editor Version 5.00 | |
; Windows terminal | |
[-HKEY_CLASSES_ROOT\Directory\shell\MenuWindowsTerminal] | |
[-HKEY_CLASSES_ROOT\Directory\background\shell\MenuWindowsTerminal] | |
[-HKEY_CLASSES_ROOT\Directory\LibraryFolder\shell\MenuWindowsTerminal] |
using PyCall | |
using LinearAlgebra | |
using Statistics | |
using StatsBase | |
using BenchmarkTools | |
using Distances | |
# import the same data | |
data = pyimport("sklearn.datasets") |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
using REPL | |
using REPL.LineEdit | |
macro keyboard() | |
quote | |
debugprompt(@__MODULE__, Base.@locals) | |
println() | |
end | |
end |