Install rvm
sudo apt-get install software-properties-common
- Add the PPA and install the package
Open a terminal (Ctrl+Alt+T) and run:
sudo apt-add-repository -y ppa:rael-gc/rvm
# train_grpo.py | |
# | |
# See https://github.com/willccbb/verifiers for ongoing developments | |
# | |
import re | |
import torch | |
from datasets import load_dataset, Dataset | |
from transformers import AutoTokenizer, AutoModelForCausalLM | |
from peft import LoraConfig | |
from trl import GRPOConfig, GRPOTrainer |
Credits | |
# https://c-nergy.be/blog/?p=13655 | |
# https://askubuntu.com/questions/844245/how-to-compile-latest-pulseaudio-with-webrtc-in-ubuntu-16-04 | |
# https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list | |
# https://unix.stackexchange.com/questions/65167/enable-udev-and-speex-support-for-pulseaudio | |
# https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users | |
# https://gist.github.com/rkttu/35ecab5604c9ddc356b0af4644d5a226 | |
# Installation and Enhanced session | |
# follow steps on the post below, I installed Ubuntu 22.04 on a Windows 11 machine |
FROM centos:centos8.2.2004 | |
RUN yum update -y && \ | |
yum group install -y "Development Tools" && \ | |
yum install -y git cyrus-sasl-devel cmake libcurl-devel | |
RUN git clone https://github.com/edenhill/kafkacat.git && \ | |
cd kafkacat/ && \ | |
./bootstrap.sh && \ | |
./kafkacat -h |
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
############ also be sure to RESTART OpenProject after replacing the file. ################ | |
############ it doesn't show that enterprise mode is enabled in the settings, but all ################ | |
############ enterprise mode features, such as KanBan boards, are enabled. ################ | |
#-- copyright | |
# OpenProject is an open source project management software. | |
# Copyright (C) 2012-2023 the OpenProject GmbH | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License version 3. |
// ==UserScript== | |
// @name BlockAdblock Blocker | |
// @version 1.0 | |
// @namespace http://tampermonkey.net/ | |
// @description Blocks block-adblock | |
// @match *://**/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
Install rvm
sudo apt-get install software-properties-common
Open a terminal (Ctrl+Alt+T) and run:
sudo apt-add-repository -y ppa:rael-gc/rvm
@EnableOAuth2Sso | |
@RestController | |
@SpringBootApplication | |
public class OAuth2DemoApplication_1_5 { | |
@Value("#{ @environment['security.oauth2.resource.server'] }") | |
private String resourceServerUrl; | |
private OAuth2ProtectedResourceDetails resource; |
# ************************************** | |
# ** Get MAC address of a remote host ** | |
def arpreq_ip(ip): | |
# type: (str) -> Optional[str] | |
import arpreq | |
return arpreq.arpreq('192.168.1.1') | |
def scapy_ip(ip): | |
# type: (str) -> str | |
"""Requires root permissions on POSIX platforms. |
ⓘ This list is not meant to be exhaustive and is not guaranteed to be maintained. See the comments for updates and alternative options.
(Items in bold indicate possible concerns)
Keycloak | WSO2 Identity Server | Gluu | CAS | OpenAM | Shibboleth IdP | |
---|---|---|---|---|---|---|
OpenID Connect/OAuth support | yes | yes | yes | yes | yes | yes |
Multi-factor authentication | yes | yes | yes | yes | yes | yes |
Admin UI | yes | yes | yes | yes | yes | no |
OpenJDK support | yes | yes | partial² | yes |
There are 28 static site generators that support AsciiDoc sourcing.