Skip to content

Instantly share code, notes, and snippets.

@lylejantzi3rd
lylejantzi3rd / gist:7a13b2526a4d99c44ab80105d1be4dcc
Created February 11, 2025 17:31
Show video controls for Instagram videos
function mutateInstagramVideo(node) {
node.querySelectorAll('video').forEach(video => {
video.setAttribute('controls', '')
video.nextElementSibling.remove()
})
}
mutateInstagramVideo(document)
var observer = new MutationObserver(function(mutations) {
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 11, 2025 17:31
steelseries-engine v80.0.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-3145728412-1752322905-909997274-1000</user>
<keys>
<key installerType="Nsis" displayName="SteelSeries GG 80.0.0" displayVersion="80.0.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SteelSeries GG</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[C:\Program Files\SteelSeries\GG\uninst.exe]]></UninstallString>
#include <Application.h>
#include <Window.h>
#include <GLView.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <MessageRunner.h>
class MyGLView : public BGLView {
public:
MyGLView(BRect frame)
: BGLView(frame, "MyGLView", B_FOLLOW_ALL, 0, BGL_RGB | BGL_DOUBLE | BGL_DEPTH) {
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 11, 2025 17:30
hv-ms735-config v1.1.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2270195762-3335344054-2709297393-1000</user>
<keys>
<key installerType="Msi" displayName="hv-ms735-config" displayVersion="1.1.0.0">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ADF1D230-C5B5-4679-B2CF-E212CA2E8E79}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{ADF1D230-C5B5-4679-B2CF-E212CA2E8E79}]]></UninstallString>
2025-02-11T08:48:43.516392534-06:00 [ERROR] {
"thread": "main",
"payload": "called `Option::unwrap()` on a `None` value",
"location_data": {
"file": "crates/gpui/src/window.rs",
"line": 2815
},
"backtrace": [
"zed::reliability::init_panic_hook::{{closure}}::hcc698c3e0d5c3169+118730403",
"std::panicking::rust_panic_with_hook::hfe205f6954b2c97b+93624072",
@Remsboys
Remsboys / GroupsPermissionsProtocolMapper.java
Created February 11, 2025 17:29
Keycloak - map permissions to id from group membership
package de.myema.keycloak;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import org.jboss.logging.Logger;
import org.keycloak.models.ClientSessionContext;
@cmwylie19
cmwylie19 / Hash.md
Created February 11, 2025 17:29
get the hashes of images
docker pull docker.io/library/node:22-bookworm
docker inspect --format='{{index .RepoDigests 0}}' docker.io/library/node:22-bookworm

# or 
skopeo inspect docker://docker.io/library/node:22-bookworm | jq -r '.Digest'
@dcwrk
dcwrk / gist:f8389e7f24aae6acbb8862be6710b7f8
Created February 11, 2025 17:29
Add computer to LogonWorkstations list in AD via powershell
Simple manual steps as admin for adding a workstation to the list of computers a user account can log into.
$currentWorkstations = (Get-ADUser -Identity "<USER>" -Properties LogonWorkstations).LogonWorkstations
$newWorkstations = "$currentWorkstations,<NEWCOMPUTER>"
Set-ADUser -Identity "<USER>" -LogonWorkstations $newWorkstations
@Eemiaa
Eemiaa / Banco.java
Created February 11, 2025 17:29
atividade9
package aula9;
public class Banco implements OperacoesBanco{
@Override
public Correntista encontraCorrentista(Correntista[] todosCorrentistas, String cpfProcurado) {
// TODO Auto-generated method stub
for (Correntista correntista: todosCorrentistas) {
if(correntista.getCpfCliente() == cpfProcurado) return correntista;
}
@ethaniwha
ethaniwha / gist:dd13c639a192bc7249e47d8997fab98b
Created February 11, 2025 17:29
MSTech Folder Icon Pro Download Free with [Latest] 2025
MSTech Folder Icon Pro Free Download is the most complete and the best Folder Icon tool that gives you everything you need to create unlimited amazing folder icons and assign them to any folder in the easiest way. Straightforward featuring an intuitive interface make the application quite simple to handle, meaning that it gives a chance even to the less experienced individuals.
Download Link
https://sulkurl.com/lxm