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
<!-- livebook:{"persist_outputs":true} --> | |
# Distribute | |
## Section | |
A small toy to show how you might, given a stream, do a "fan out", processing different elements in separate streams. Powered by simple primitives like `Stream.resource` and `spawn_link`. | |
```elixir | |
defmodule Distribute do |
#!/usr/bin/env python3 | |
# Adaption of https://github.com/tom-doerr/chatgpt_commit_message_hook/main/prepare-commit-msg | |
# | |
# Mark this file as executable and add it into the global hooks folder | |
# whose path is given by the core.hooksPath configuration variable | |
# skip during rebase | |
import sys | |
if len(sys.argv) > 2: |
@echo off | |
REM Call from Delphi/RAD Studio IDE with the following parameters | |
REM $PATH($EXENAME) $NAMEONLY($PROJECT) | |
echo ============================================================= | |
echo Be sure you Compile Android 64 and Deploy [Shift-Ctrl-Alt-F9] | |
echo. | |
echo Also set <application android:resizeableActivity="true"> in AndroidManifest.template.xml | |
echo ============================================================= | |
echo Path: %1 | |
set apk=%2\bin\%2.apk |
Make sure to export/import your settings through File -> Manage IDE settings
before/after
Remove-Item '.\AppData\Local\Jetbrains\PhpStorm*'
Remove-Item '.\AppData\Roaming\Jetbrains\PhpStorm*'
https://tajaribsoft-en.blogspot.com/2016/06/m3u8x.html | |
m3u8x is to help you download and save m3u8 videos. | |
You can select file formats, like .ts and MP4 . | |
All features |
Get-Command # Retrieves a list of all the commands available to PowerShell | |
# (native binaries in $env:PATH + cmdlets / functions from PowerShell modules) | |
Get-Command -Module Microsoft* # Retrieves a list of all the PowerShell commands exported from modules named Microsoft* | |
Get-Command -Name *item # Retrieves a list of all commands (native binaries + PowerShell commands) ending in "item" | |
Get-Help # Get all help topics | |
Get-Help -Name about_Variables # Get help for a specific about_* topic (aka. man page) | |
Get-Help -Name Get-Command # Get help for a specific PowerShell function | |
Get-Help -Name Get-Command -Parameter Module # Get help for a specific parameter on a specific command |
This downloads standalone 64-bit MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for 64-bit native desktop app development.
Run python.exe portable-msvc.py
and it will download output into msvc
folder. By default it will download latest available MSVC & Windows SDK - currently v14.32.17.2 and v10.0.22621.0.
You can list available versions with python.exe portable-msvc.py --show-versions
and then pass versions you want with --msvc-version
and --sdk-version
arguments.
To use cl.exe/link.exe from output folder, first run setup.bat
- after that PATH/INCLUDE/LIB env variables will be setup to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.
To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc
argument (msvc is folder name where output is stored).
#!/bin/bash | |
# Downloads ARM64 and AMD64 version of Java for MacOS running on M1 | |
# | |
# https://github.com/Jabba-Team/jabba/issues/14 | |
# URLs are found from this index.json https://github.com/Jabba-Team/jabba/blob/main/index.json | |
[ -s "$HOME/.jabba/jabba.sh" ] && source "$HOME/.jabba/jabba.sh" | |
jabba install 17-zulu-arm=tgz+https://api.foojay.io/disco/v3.0/ids/116a80beb8b3207aad5fa8d1e1af20c6/redirect | |
jabba install 8-zulu-arm=tgz+https://api.foojay.io/disco/v3.0/ids/c3f7c076bf335d1061c74f7fab42bb89/redirect |