A collection of commands that change the Arc Browser icon on macOS.
Theme | Command |
---|---|
Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
studySpec: | |
metrics: | |
# Correspond to the metrics we use the hypertune library to report. | |
- metricId: val_accuracy | |
goal: MAXIMIZE | |
parameters: | |
# Correspond to the command line argument our Python code expects. | |
- parameterId: dropout_rate | |
doubleValueSpec: | |
minValue: 0.01 |
# remove latest | |
brew uninstall terraform | |
# create a local tap for old version - The brew tap-new <org>/<repo> does not have to be an actual repo. | |
brew tap-new lantrix/an-older-terraform | |
#extract old version forumla | |
brew extract --version 0.13.5 terraform lantrix/an-older-terraform | |
# Install old formula |
from mitmproxy import http | |
SCRIPT = ''' | |
<script> | |
const constraints = { | |
audio: false, | |
video: { | |
width: 150, | |
height: 300, | |
facingMode: "environment" |
MIT License
Copyright (c) 2016-2019 Matthew McEachen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2020/5/31追記:
自分用のメモに書いていたつもりだったのですが、たくさんのスターを頂けてとても嬉しいです。
と同時に、書きかけで中途半端な状態のドキュメントをご覧いただくことになっており、大変心苦しく思っています。
このドキュメントを完成させるために、今後以下のような更新を予定しています。
2021/1/22追記:
import numpy as np | |
import pandas as pd | |
from multiprocessing import cpu_count, Pool, current_process | |
from functools import partial | |
from tqdm import tqdm | |
def split_df_by_group(_df, entity, chunks): | |
df_split=[] | |
entities = _df[entity].unique() | |
for i in range(chunks): df_split.append(_df[_df[entity].isin(entities[i::chunks])].copy()) |