Skip to content

Instantly share code, notes, and snippets.

View GreatWizard's full-sized avatar
☃️
Working from home

Guillaume Gérard GreatWizard

☃️
Working from home
View GitHub Profile
@lifeart
lifeart / index.js
Created December 2, 2021 10:46
Ember-auto-import chunk recorder (in-repo-addon)
'use strict';
// eslint-disable-next-line node/no-extraneous-require
const { MergeTrees } = require('broccoli-merge-trees');
// eslint-disable-next-line node/no-extraneous-require
const Plugin = require('broccoli-plugin');
const fs = require('fs');
const path = require('path');
class ChunksWriter extends Plugin {
import React, { useState } from "react"
import PropTypes from 'prop-types'
import "./input.css"
import TypingIndicator from "./TypingIndicator"
const input = (props) => {
const styles = ["plank", "staggered", "split"]
const [stateIsFocused, setStateIsFocused] = useState(false)
<?php
if (!defined('FLUX_ROOT')) exit;
require_once 'Flux/FileLoad.php';
$itemDescTable = Flux::config('FluxTables.ItemDescTable');
$title = 'Item Info';
$fileLoad = new FileLoad();
// upload and parse map.
if($files->get('iteminfo')) {
$itemInfo = FLUX_ROOT . '/itemInfo.lua';
@yifanlu
yifanlu / E80558325.md
Last active October 13, 2023 14:04
Vita 3.65 activation investigation (E-80558325)

On 7/29/2017, all hacked Vitas on 3.60 spoofing the latest firmware (3.65) were blocked from console activation. This is particularly odd because the PSN passphrase did not change in 3.65. Additionally with the release of ensō added to the confusion of what happened. Here is the result of a preliminary investigation of the situation.

Upon game activation, the Vita displays an dialog that shows the error number E-80558325. This error number is used in SceNpKdc, which is found in vs0:external/np_kdc.suprx. The error code itself is created when the activation response is received:

v5 = v45 | 0x80558300;

Here, v5 is the return code and v45 is the string error code from the server converted to a number. The request made to Sony's server looks like the following

@glaszig
glaszig / mkp2pblocklist
Last active January 30, 2022 00:30
creates a blocklist for your p2p endeavors
#!/usr/bin/env sh
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Copyright (C) 2020 glaszig <glaszig@gmail.com>
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
@bersace
bersace / etc dnsmasq.d custom
Last active March 13, 2017 11:32
Utiliser dnsmasq comme aiguilleur
# note que ça peut être /etc/NetworkManager/dnsmasq.d/custom pour utiliser NetworkManager comme aiguilleur.
bind-interfaces
except-interface=docker0
except-interface=virbr*
except-interface=lxcbr*
log-queries
dns-forward-max=5
# 1h de TTL de base
@brunobord
brunobord / 1-darkweb.md
Last active March 11, 2021 08:56
Dark web

Un hack de Chthulhu Dark.

Dans ce jeu vous incarnez des "travailleurs du web" ou des "aventuriers du code". Votre Maître de jeu n'est autre que le "Chef de projet", qui définit vos tâches, décrit les différents événements (heureux ou fâcheux) qui émailleront votre vie professionnelle.

La section "Questions sans réponses" donnera au "Chef de Projet" des indications sur le contexte du jeu et sur son déroulement.