Skip to content

Instantly share code, notes, and snippets.

View tomhermans's full-sized avatar
👻
tinkering

Tom Hermans tomhermans

👻
tinkering
View GitHub Profile
@IanColdwater
IanColdwater / twittermute.txt
Last active April 22, 2024 17:26
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@font-face {
font-family: 'Inter'; /* v3.11 */
font-style: normal;
font-weight: 400;
src: url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAADK8AA4AAAAAcuwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAAjJAAAACsAAAAuAkUCbUdQT1MAACNQAAAG2QAAHSa0FrhtR1NVQgAAKiwAAAiOAAAjFrGWVndPUy8yAAAhyAAAAFEAAABggKJ82GNtYXAAACIcAAAAOwAAAGAAGwJFZ2FzcAAAIxwAAAAIAAAACP//AANnbHlmAAABRAAAHOsAACo2iAHLmGhlYWQAAB/EAAAANgAAADYnUzaRaGhlYQAAIagAAAAfAAAAJB71EI9obXR4AAAf/AAAAasAAAMIOf6DtWxvY2EAAB5MAAABdwAAAYbyJ+fUbWF4cAAAHjAAAAAcAAAAIADZAOduYW1lAAAiWAAAAK0AAAFkGpw0V3Bvc3QAACMIAAAAEwAAACD+MwDAeNp9egFAVFX29z33vXkzGOowDIBFxjgIrGtGDgj9c42v1f1Ty7bYx6p/Q5sVIjQyZFFJTSciJcUiJZYIlRSVDAUVkxRtUlQssknRWJs1bKmPdWdr1tAGmHfnO/e9QSG/vsb3Zt6Pc88953fvOffc+yKUdPjcdKqOEIGMJgQEsxA8LjohfoplcmiIUaJ6Y4+x5PFFix7HS0f6kzX2n9z8gV/E5yNtmmShVkf00QRV6LVERwkhqDWOEMmO0D3kPkJMwSbBHGxKNCmXRVAurUm5gP+xY57smdc2j30eCZPT2flIeACfqA5v8GAkO5cOkyLZF/PkfVSXLntoktxGk9oowbusXG2MtMltAqHcixofkbICCIklD5KHCIGEKBJjGgthQTHRBP2KSkywhISKoWHmSRATFDZWCDFSURsSNA0S4ifBAyAEjYIQ41
{
"React Stateless Functional Component": {
"prefix": "rfac",
"body": [
"import React from 'react'",
"",
"const $TM_FILENAME_BASE = () => { ",
"\treturn (",
"\t\t<div>",
"",
<?php
namespace YourPlugin\Blocks;
abstract class Block{
/**
* Block title
*
* @var string
@manuelbl
manuelbl / README.md
Created August 3, 2019 09:12
ESP32 as Bluetooth Keyboard

ESP32 as Bluetooth Keyboard

With its built-in Bluetooth capabilities, the ESP32 can act as a Bluetooth keyboard. The below code is a minimal example of how to achieve it. It will generate the key strokes for a message whenever a button attached to the ESP32 is pressed.

For the example setup, a momentary button should be connected to pin 2 and to ground. Pin 2 will be configured as an input with pull-up.

In order to receive the message, add the ESP32 as a Bluetooth keyboard of your computer or mobile phone:

  1. Go to your computers/phones settings
  2. Ensure Bluetooth is turned on
chmod 600 wp-config.php
@5t3ph
5t3ph / sass-static-package.json
Last active August 15, 2023 02:56
SASS compile|autoprefix|minimize and browser-sync server for static HTML
/*
Project Structure:
src/
- sass/
- - style.scss
- index.html
npm start - copies src files to dist/ and starts Browsersync server at localhost:3000
npm run build - copies files to dist/ and autoprefixes/minifies css
@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active May 13, 2024 14:12
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@enriquemorenotent
enriquemorenotent / VS Code extensions and settings
Last active August 17, 2023 10:55
My favorite extensions and settings for Visual Studio Code
Extensions
==========
ext install wakatime.vscode-wakatime (time tracking)
ext install esbenp.prettier-vscode (prettifier)
ext install ms-vscode.csharp (C#)
ext install mikestead.dotenv (.env files)
ext install msjsdiag.debugger-for-chrome (chrome's debugger)
ext install deerawan.vscode-faker (faker)
ext install ms-vsliveshare.vsliveshare (shared coding sessions)
@StefanNieuwenhuis
StefanNieuwenhuis / reactiveconf-framework-independent-components-library-with-StencilJS.md
Last active September 23, 2020 12:55
How to build a framework independent component library with StencilJS

How to build a framework independent component library with StencilJS

This is a proposal for a lightning talk at Reactive Conf. Please 🌟 this gist to push the proposal! If you're on your phone, please request the 🖥 desktop site to star this gist 😇 #ReactiveConf