Skip to content

Instantly share code, notes, and snippets.

View foufrix's full-sized avatar
🏋️‍♀️
Heavy-lifting

foufrix foufrix

🏋️‍♀️
Heavy-lifting
View GitHub Profile
# Set the base image to Node 18
FROM node:18
# File Author / Maintainer
LABEL maintainer=your_email@gmail.com"
# Update the repository sources list
RUN apt-get update && apt-get upgrade -y
# Install Chromium
@rcknr
rcknr / Code.gs
Last active March 13, 2024 21:49
MD5 Hash in Google Apps Script
function md5(inputString) {
return Utilities.computeDigest(Utilities.DigestAlgorithm.MD5, inputString)
.reduce((output, byte) => output + (byte & 255).toString(16).padStart(2, '0'), '');
}
@codediodeio
codediodeio / search-ui.component.html
Last active May 12, 2018 23:41
Algolia instantsearch.js Angular 4
<div id="search-box">
<!-- SearchBox widget will appear here -->
</div>
<div id="stats">
<!-- stats widget will appear here -->
</div>
<div id="hits">
<!-- Hits widget will appear here -->
</div>
<div id="pagination">
@HarmJ0y
HarmJ0y / PowerView-3.0-tricks.ps1
Last active May 14, 2024 11:20
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : ‘find’ specific data entries in a data set