- Open
qjackctl - Click Setup...
- Choose "alsa" as the Driver
- Choose the analog interface as the Interface (in my case it is
hw:PCH,0) - Go to the Advanced tab
- Enter the number of inputs in the first textbox next to Channels I/O (
2in my case) - Enter the number of outputs in the second textbox next to Channels I/O (
2in my case) - Click OK
- Click Start
- Start Bitwig and select "JACK" as the Driver model
| #!/usr/bin/python3 | |
| # Example usage: ./does_email_address_exist.py twitter.com jack | |
| import argparse | |
| from smtplib import SMTP | |
| import dns.resolver | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('hostname') | |
| parser.add_argument('user') | |
| args = parser.parse_args() |
An open redirect was almost everything I needed in two different bug bounty programs to get access to user accounts. In one of the cases a JWT was leaked, and in the other the CSRF token was leaked. The issue was mostly the same in both cases: not validating, or URI encoding, user input in the client-side, and sending sensitive information to my server using an open redirect.
- There is an open redirect on https://example.com/redirect?url=https://myserver.com/attack.php
- User loads https://example.com/?code=VALUE
- Javascript code in https://example.com/ makes a GET request to https://example.com/verify/VALUE with a header
x-csrf-tokenset to the CSRF token for the session of the userGET /verify/VALUE HTTP/1.1 Host: example.com
I needed to use a TextInput in a CreateView for a ManyToManyField and I couldn't find a simple good solution. After looking through the Django source code I noticed that value_from_datadict() is used for ManyToManyField inputs.
In the forms.py file you need something like:
from django.forms import ModelForm, TextInput
from .models import Product
class ManyToManyInput(TextInput):
def value_from_datadict(self, data, files, name):
value = data.get(name)If you need/want to generate an AppImage for Bitwig on a non-Debian Linux:
- Download or clone
https://github.com/AppImage/pkg2appimage - If you don't have Docker installed, install it
- Start Docker
- Run
./pkg2appimage-with-docker recipes/Bitwig-Studio.yml(for some reason AppImage already has a recipe for Bitwig) - If it fails, and asks you to set the environment variable
ARCH: add the lineENV ARCH=x86_64(or your architecture) to./Dockerfile, belowDOCKER_BUILD=1
Just in case it's not clear: you have to follow the steps on a terminal, at least step 4.
Solution to copy & paste on the Terminal
flatpak override --user --env=PROTON_NO_ESYNC=1 com.valvesoftware.Steam
Explanation
I tried to play World of Warships on Clear Linux using the flatpak of Steam, but the game never started. So, I ran flatpak run com.valvesoftware.Steam on the Terminal to see if there was any useful information. The error that called my attention was eventfd: Too many open files. I did a google search and found some mention about setting PROTON_NO_ESYNC=1 as an environment variable. So, I ran flatpak override --user --env=PROTON_NO_ESYNC=1 com.valvesoftware.Steam on the Terminal, to set the environment variable PROTON_NO_ESYNC=1 for com.valvesoftware.Steam. I tried again and it worked.