Skip to content

Instantly share code, notes, and snippets.

@publik-void
publik-void / sin-cos-approximations-gist.adoc
Last active April 27, 2024 22:42
Fast MiniMax Polynomial Approximations of Sine and Cosine

Fast MiniMax Polynomial Approximations of Sine and Cosine

@MarcoEidinger
MarcoEidinger / TableWithCodeTipsAndExamples.md
Last active April 27, 2024 22:41
Master GitHub markdown tables with code blocks

Master GitHub markdown tables with code blocks

  1. Use HTML tags to define the table to get the best layout result
  2. Use either backticks (```) or the HTML pre element with attribute lang
  3. Keep a blank line before and after a code block for correct formatting and syntax highlighting

Good

Example: nice looking table to show HTTP Responses

@404NetworkError
404NetworkError / Windows_Functions_in_Malware.md
Last active April 27, 2024 22:40
Concise Windows Functions in Malware Analysis List
@av-gantimurov
av-gantimurov / resources.md
Last active April 27, 2024 22:40
List of resources for malware analysts
@darianmorat
darianmorat / settings.json
Last active April 27, 2024 22:39
Visual Studio Code
{
// =================
// VIM CONFIGURATION
// =================
"editor.lineNumbers": "relative",
"editor.cursorSurroundingLines": 8,
"terminal.integrated.cursorBlinking": false,
"editor.cursorBlinking": "solid",
@muff-in
muff-in / resources.md
Last active April 27, 2024 22:37
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
[{
"id": 99,
"account": {
"first": "First",
"middle": "",
"last": "Last",
"email": "email@addr.tld",
"email_verified_at": {
"$date": "2022-01-04T23:49:25"
@m33x
m33x / hass.js
Last active April 27, 2024 22:35
Simple Home Assistant (HASS) iOS Widget via Scriptable App
let widget = await createWidget();
if (!config.runsInWidget) {
await widget.presentSmall();
}
Script.setWidget(widget);
Script.complete();
async function createWidget(items) {
@ryanatkn
ryanatkn / tsconfig.json
Last active April 27, 2024 22:35
A TypeScript 3.5 tsconfig.json with all options organized and with documentation comments
{
// Commented-out options have their default values.
"include": ["src/**/*"],
"exclude": ["node_modules/*"],
// "files": [], // A list of relative or absolute file paths to include.
// "extends": "", // A string containing a path to another configuration file to inherit from.
// "references": [], // An array of objects `{"path": "./to/dirOrConfig"}` that specifies projects to reference.
// "compileOnSave": false, // Signals to the IDE to generate all files for a given tsconfig.json upon saving.
"compilerOptions": {
@idiazroncero
idiazroncero / container.html.twig
Last active April 27, 2024 22:32
Drupal 8 // removes the [opinionated: unnecesary] class 'views-element-container' from rendered views.
{#
/**
* @file
* Theme override of a container used to wrap child elements.
*
* Used for grouped form items. Can also be used as a theme wrapper for any
* renderable element, to surround it with a <div> and HTML attributes.
* See \Drupal\Core\Render\Element\RenderElement for more
* information on the #theme_wrappers render array property, and
* \Drupal\Core\Render\Element\container for usage of the container render