Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
from math import * | |
# Cumulative standard normal distribution | |
def cdf(x): | |
return (1.0 + erf(x / sqrt(2.0))) / 2.0 | |
# Intermediate calculation used by both the Bjerksund Stensland 1993 and 2002 approximations | |
def phi(s, t, gamma, h, i, r, a, v): | |
lambda1 = (-r + gamma * a + 0.5 * gamma * (gamma - 1) * v**2) * t | |
dd = -(log(s / h) + (a + (gamma - 0.5) * v**2) * t) / (v * sqrt(t)) |
// Inspired by Tailwind Daisy UI progress bar: https://daisyui.com/components/radial-progress/ | |
// This is a custom-made progress circular/radial progress bar with centered percentage text. | |
// Tested with Tailwind 3.x. Should work with lower versions of Tailwind CSS as well. | |
STEP 1: Add the following custom CSS: | |
.progress-ring__circle { | |
transition: stroke-dashoffset 0.35s; | |
transform: rotate(-90deg); | |
transform-origin: 50% 50%; |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
#!/usr/bin/env php | |
<?php | |
/** | |
* Using | |
* ~$ php speechkit.php book.txt | |
* | |
* @see https://tech.yandex.ru/speechkit/cloud/doc/guide/concepts/tts-http-request-docpage/ | |
*/ | |
$apiUrl = 'https://tts.voicetech.yandex.net/generate'; |
THIS IS AN UNROOTED GUIDE, However this works on rooted devices - Added special root section now. **Please report your device in the comments if mrpo works on your device and the android version hasn't been added to the chart below
import torch, grp, pwd, os, subprocess | |
devices = [] | |
try: | |
print("\n\nChecking ROCM support...") | |
result = subprocess.run(['rocminfo'], stdout=subprocess.PIPE) | |
cmd_str = result.stdout.decode('utf-8') | |
cmd_split = cmd_str.split('Agent ') | |
for part in cmd_split: | |
item_single = part[0:1] | |
item_double = part[0:2] |
CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file