Skip to content

Instantly share code, notes, and snippets.

View whimsyniche's full-sized avatar

Victor whimsyniche

View GitHub Profile
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|80"}}},"backgroundColor":"accent-5","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-accent-5-background-color has-background" style="padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:group {"align":"wide","style":{"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:0"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"50%"} -->
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}}} -->
<h2 class="wp-block-heading" style="font-style:normal;font-weight:700">Learn <strong>WordPress </strong><br>in three easy steps...</h2>
<!-- /wp:heading --></div>
<!-- /wp:column -->
@MidSpike
MidSpike / readme.md
Last active January 29, 2025 18:02
CVE-2022-23812 | RIAEvangelist/node-ipc is malware / protest-ware
@VasVV
VasVV / Weather App.html
Last active November 8, 2023 16:18
Weather App - JavaScript
<div class='container'>
<div class='row'>
<div class='col-md-6 mx-auto text-center bg-primary mt-5 p-5 rounded'>
<h1 id='w-location'></h1>
<div id='error'><div class="alert alert-danger" role="alert">
This is a danger alert—check it out!
</div></div>
<h3 class='text-dark' id='w-desc'><h3>
<h3 id='w-string'></h3>
<img id='w-icon'>
import React, { useState, useEffect } from "react";
import "./packages/combobox/styles.css";
import {
Combobox,
ComboboxInput,
ComboboxList,
ComboboxOption,
ComboboxPopup
} from "./packages/combobox/index";
@gaearon
gaearon / modern_js.md
Last active July 20, 2025 07:39
Modern JavaScript in React Documentation

If you haven’t worked with JavaScript in the last few years, these three points should give you enough knowledge to feel comfortable reading the React documentation:

  • We define variables with let and const statements. For the purposes of the React documentation, you can consider them equivalent to var.
  • We use the class keyword to define JavaScript classes. There are two things worth remembering about them. Firstly, unlike with objects, you don't need to put commas between class method definitions. Secondly, unlike many other languages with classes, in JavaScript the value of this in a method [depends on how it is called](https://developer.mozilla.org/en-US/docs/Web/Jav
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active July 25, 2025 10:42
crack activate Office on mac with license file
@Swizec
Swizec / History|-1096ae74|entries.json
Last active May 11, 2022 13:45
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/Swizec/Documents/websites/swizec.com/src/pages/blog/week-17-what-happens-when-you-only-eat-meat-for-a-year/index.mdx","entries":[{"id":"Q6eg.mdx","timestamp":1652114366832}]}
@getify
getify / 1.js
Last active December 6, 2017 14:07
comparing single recursion vs binary recursion
function reverseStr(str) {
if (str.length <= 1) return str;
var firstChar = str[0];
var restStr = str.substr(1);
return (restStr.length > 1 ? reverseStr(restStr) : restStr) +
firstChar;
}
@robinpokorny
robinpokorny / sleep.js
Created May 3, 2017 16:16
Sleep that passes data
const sleep = (dur) => (data) =>
new Promise((res) =>
setTimeout(() => res(data), dur)
)
const yay = () => Promise.resolve('sleepy')
.then(sleep(1000))
.then((status) => console.log(`I am so ${status}!`))
yay()
@danielpataki
danielpataki / footer.php
Created January 10, 2017 20:07
Simple theme for customizer project