Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active April 23, 2024 10:07
Files for PlayStation BIOS Files NA-EU-JP
\documentclass{article}
\usepackage[dvipsnames]{xcolor} % https://en.wikibooks.org/wiki/LaTeX/Colors
\definecolor{LightGray}{rgb}{0.97,0.97,0.97}
\usepackage{listings} % syntax highlighting
\lstdefinelanguage{SPARQL}{
basicstyle=\small\ttfamily,
backgroundcolor=\color{LightGray},
columns=fullflexible,
breaklines=false,
@danielchc
danielchc / docker-emby-bypass.md
Last active April 23, 2024 10:04
Emby Premiere: ByPass Docker container

Emby Premiere ByPass Docker container

❗ All the information provided on this tutorial are for educational purposes only. I'm not responsible for any misuse of this information. If you like the app buy it

Table of Contents

@damico
damico / test-rocm.py
Created April 10, 2023 18:54
Script for testing PyTorch support with AMD GPUs using ROCM
import torch, grp, pwd, os, subprocess
devices = []
try:
print("\n\nChecking ROCM support...")
result = subprocess.run(['rocminfo'], stdout=subprocess.PIPE)
cmd_str = result.stdout.decode('utf-8')
cmd_split = cmd_str.split('Agent ')
for part in cmd_split:
item_single = part[0:1]
item_double = part[0:2]
— Да?
— Алё!
— Да да?
— Ну как там с деньгами?
— А?
— Как с деньгами-то там?
— Чё с деньгами?
— Чё?
— Куда ты звонишь?
@chenshuo
chenshuo / waiter.h
Last active April 23, 2024 10:02
A handful of implementations of Waiter class for discussion.
#include <boost/noncopyable.hpp>
#include <pthread.h>
#include <stdlib.h>
// a superfluous check for pedantic people
inline void CHECK_SUCCESS(int ret)
{
if (ret != 0)
{
abort();
@sergiopvilar
sergiopvilar / CamelCase.js
Created March 14, 2014 16:33
Check if a string is Camel Case using Javascript
String.prototype.toCamelCase = function(cap1st) {
'use strict';
return ((cap1st ? '-' : '') + this).replace(/-+([^-])/g, function(a, b) {
return b.toUpperCase();
});
};
function isCamelCase(str){
'use strict';
@ixe013
ixe013 / polyglot-listener.bat
Last active April 23, 2024 10:00
A polyglot batch file/JScript.net application that listens on a port. Try it with `polyglot-listener.bat 1234` to listen on port 1234
@if (@X)==(@Y) @end /* JScript comment
@echo off
REM Polyglot code adapted from https://stackoverflow.com/a/24396149/591064
setlocal enableDelayedExpansion
REM Too few arguments?
if "x%1" == "x" goto usage_help
REM Find the latest JScript.Net compiler
for /f "tokens=* delims=" %%v in ('dir /b /s /a:-d /o:-n "%SystemRoot%\Microsoft.NET\Framework\*jsc.exe"') do (

🛠️ Comment se connecter à la base de données pour un bot utilisant MySQL

Sur un ordinateur local

Tout d'abord, veuillez installer Xampp via ce lien qui est totalement sécurisé et gratuit: XAMPP.

Une fois que vous avez téléchargé et lancé l'application, vous arriverez sur ce tableau de bord. Veuillez cliquer sur les boutons encadrés en rouge :