This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export LIBVA_DRIVER_NAME=radeonsi | |
RESOLUTION_W=1920 | |
RESOLUTION_H=1080 | |
FPS=60 | |
FILENAME=~/Videos/recording-$(date +"%d-%m-%Y-%H-%M") | |
DEVICE=/dev/dri/card0 | |
VAAPI_DEVICE=/dev/dri/renderD128 | |
THREAD_QUEUE_SIZE=140048 | |
AUDIO_DEVICE=alsa_card.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00 # You can list your audio devices by using the 'pactl list' command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const timer = ms => new Promise(res => setTimeout(res, ms)); | |
// Unretweet normally | |
const unretweetTweet = async (tweet) => { | |
await tweet.querySelector('div[data-testid="unretweet"]').click(); | |
await timer(250); | |
await document.querySelector('div[data-testid="unretweetConfirm"]').click(); | |
console.log('****// Unretweeted Successfully //****') | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"github.com/bwmarrin/discordgo" | |
"github.com/joho/godotenv" | |
"github.com/manifoldco/promptui" | |
"os" | |
"os/signal" |
- Setup virtualization in the BIOS and KVM
- Download the scripts at https://anonfiles.com/tda0y2y0u2/Android_zip
- Install QEMU
- Download the Android-x86 ISO at https://www.android-x86.org/download.html or any distribution based on Android
- Move to the scripts folder and rename to "android.iso"
- Run
./install <version> new
- Go to advanced options then select auto-install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(){const e=document.createElement("style");(document.head||document.getElementsByTagName("head")[0]).appendChild(e),e.appendChild(document.createTextNode(` .theme-dark{--background-tertiary:#040405;--background-secondary:#040405;--background-primary:#040405;--deprecated-panel-background:#040405;--deprecated-card-bg:#040405;--deprecated-card-editable-bg:#040405;--channeltextarea-background:#18191c;--background-modifier-selected:#040405;--background-modifier-hover:#040405;--deprecated-store-bg:#040405;--background-floating:#040405;--background-accent:#040405;--background-secondary-alt:#040405;--header-primary:#dcddde;--text-normal:#dcddde;--text-muted:#dcddde;--interactive-active:#4fdc7b;--info-help-foreground:#4fdc7b;--main-color:#4fdc7b;--text-link:#4fdc7b;--header-secondary:#dcddde}.theme-dark .body-3iLsc4,.theme-dark .footer-1fjuF6,.css-15ejc46-control,.theme-dark .searchBox-3Y2Vi7,.theme-dark .searchResultsContainer-1ma_dc,.theme-dark .root-1gCeng,.theme-dark .perksModal-fSYqOq,.theme-dark .perk-2 |
This article is under construction.
Since I started using an AMD GPU months ago, I have been looking for ways to increase its performance under Linux. I got good results and will share the same way I did until then. Most of the steps can serve even if you don't have an AMD GPU, as I will leave the AMD-only steps last.
Frankly, the gaming performance on Linux is already good on its own without additional configurations. But if you want to go further, this guide can help you.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kodya.gateway.utils | |
import java.lang.ref.* | |
import kotlin.reflect.KProperty | |
enum class ReferenceType { | |
Weak, Soft; | |
} | |
fun <T> reference( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Variables and utility. | |
REPOSITORY="https://github.com/nekkan/nodejs-es11-template.git" | |
ITALICCYAN="\e[3;36m" | |
GREEN="\e[0;32m" | |
PURPLE="\e[0;35m" | |
GRAY="\e[0;37m" | |
YELLOW="\e[0;33m" | |
CYAN="\e[0;36m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.nekkan.kotlin4bukkit.dsl.scoreboard.impl | |
import br.com.nekkan.kotlin4bukkit.architecture.KotlinPlugin | |
import br.com.nekkan.kotlin4bukkit.dsl.scoreboard.BaseScoreboard | |
import br.com.nekkan.kotlin4bukkit.extension.DSL | |
import br.com.nekkan.kotlin4bukkit.extension.board.getTeamOrCreate | |
import org.bukkit.Bukkit | |
import org.bukkit.ChatColor | |
import org.bukkit.entity.Player | |
import org.bukkit.scoreboard.DisplaySlot |