Skip to content

Instantly share code, notes, and snippets.

View TheEpicFace007's full-sized avatar

Charlie Levasseur TheEpicFace007

View GitHub Profile
@TheEpicFace007
TheEpicFace007 / notable-option.md
Last active May 2, 2021 17:49
information of the v8 js engine options
  • --optimize-for-size Optimize the v8 engine to use less ram
  • --always-opt always try to optimize function
  • --jitless run the functionn without jittng
  • --stress-inline inline as much as possible functions
  • --print-code (print generated code) print the generated asm and generated code
/* hide ads */
.adg-rects {
display: none !important;
}
.button {
transition: all 250ms ease-in;
}
.opContainer .name {
@TheEpicFace007
TheEpicFace007 / npm-quality-of-life.js
Last active May 30, 2021 01:44
Add some quality of life improvement feature on npm
// ==UserScript==
// @name NPM Quality of life changes
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Add some quality of life improvenet to npm
// @author You
// @match http**://www.npmjs.com/**
// @grant none
// ==/UserScript==
function showNotif(notifText) {
@TheEpicFace007
TheEpicFace007 / script.ps1
Last active April 1, 2021 20:58
convert all flac in directory to a mp3 with ffmpeg
mkdir output
foreach ($file in ls) {
$fixedName = (".\output\" + $file.Name.Replace($file.Extension, "") + ".mp3")
ffmpeg -i "$file" $fixedName
}
@TheEpicFace007
TheEpicFace007 / how-to.md
Last active January 8, 2022 17:26
North korean sites I found

How to find north korean sites:

To find north korean website you simply need to google this: site:.kp it's gonna search for all website that have the top level domain of north korea

@TheEpicFace007
TheEpicFace007 / reveal-all-answer.js
Created March 21, 2021 20:09
Classkicks cheats
function revealAnswer() {
for (const elem of document.querySelectorAll(".interactive")) {
if (elem.length < 1)
continue;
if (elem?.children[1]?.style?.visibility) {
if (elem.children[1]?.style?.visibility == "hidden") {
elem.children[1].style.visibility = ""
}
}
@TheEpicFace007
TheEpicFace007 / rev.lua
Created March 7, 2021 02:44
Script v3rmies requested
--[[
Script name: Rev autofarm
Description: Autofarm for rev. it's really buggy.
Game link: https://www.roblox.com/games/2337586413/REV-PUBLIC-BETA?refPageId=03605843-0d33-492a-a127-29a4581d703d
--]]
local localPlayer = game.Players.localPlayer
local function findPlayerCar()
for _, v in next, game:GetService("Workspace").Cars:GetChildren() do
@TheEpicFace007
TheEpicFace007 / set-interval.lua
Created March 5, 2021 03:49
lua set interval
local thread = {}
thread.__index = {}
function thread.new(callback, timeout)
local self = setmetatable({}, thread)
self.running = false
self.callback = callback
self.timeout = timeout
@TheEpicFace007
TheEpicFace007 / flat-design.hpp
Created March 4, 2021 17:23
Have flat designed icon on message box and more on windows c++
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_IA64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
@TheEpicFace007
TheEpicFace007 / example.cpp
Last active March 2, 2021 18:56
ignore all exception
#include <Windows.h>
#include <iostream>
LONG WINAPI RedirectedSetUnhandledExceptionFilter(EXCEPTION_POINTERS *ExceptionInfo);;
int main()
{
SetUnhandledExceptionFilter(RedirectedSetUnhandledExceptionFilter);
}