Skip to content

Instantly share code, notes, and snippets.

@wicksome
wicksome / custom.less
Last active January 16, 2025 11:04
TaskPaper Stylesheet
// Base Size
@base-font-size: 15;
@user-font-size: (1.1 * $USER_FONT_SIZE);
@ui-scale: @user-font-size / @base-font-size;
// UI Colors
@tint-color: rgb(70%,84%,99%);
@background-color: rgb(100%,100%,100%);
@LanternD
LanternD / Nautilus-shortcuts-cheatsheet.md
Last active January 16, 2025 11:01
Some useful shortcuts in Ubuntu Nautilus (file browser)

List Version

  • Ctrl + W: Close Nautilus window
  • Ctrl+T: Open a new tab (same as chrome)
  • Ctrl + H: Toggle the hidden file display
  • Ctrl + Q: Quit Nautilus
  • Ctrl + L: Show path to current directory
  • Ctrl + 1/2: Toggle between list view (1) and icon view (2)
  • Ctrl + Shift + W: Close all Nautilus windows, = Ctrl + Q
  • Ctrl + Shift + N: Create new folder
@Khalidz7
Khalidz7 / website.css
Created January 16, 2025 11:00 — forked from akaifi/website.css
GitBook RTL Theme
@import url(//fonts.googleapis.com/earlyaccess/notonaskharabic.css);
@import url(//fonts.googleapis.com/earlyaccess/notokufiarabic.css);
body, html {
overflow-x: hidden;
font-family: "Noto Naskh Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif;
direction: rtl;
}
.book.font-family-0 {
@AlexJHayward
AlexJHayward / raspberrypi_audio_server.md
Created January 17, 2021 18:34
Setting up a RaspberryPi as an Audio Server for Spotify and Airplay.

Setting Up a Raspberry Pi as an Audio Server

0. Setup

This is optional, but I like to setup from fresh when the pi is just being used for one purpose:

  1. Install the Raspberyy Pi Images: https://www.raspberrypi.org/software/
  2. Install a fresh copy of Raspberry Pi OS Lite on to an SD card
  3. Configure WiFi to run the pi headless (pay attention to the capitalisation of the network name, one wrong character had me scratching my head for a while):
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active January 16, 2025 10:57
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@vincentchalamon
vincentchalamon / CustomCalendarPeriod.php
Last active January 16, 2025 10:55
Polymorphism with API Platform
<?php
#[ApiResource(
operations: [
// no GetCollection operation
new Get(...),
new Post(...),
new Patch(...),
],
)]
@rxaviers
rxaviers / gist:7360908
Last active January 16, 2025 10:54
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@cfaria
cfaria / migrateorders.php
Last active January 16, 2025 10:51 — forked from maddisondesigns/migrateorders.php
Migrate WooCommerce Orders
<?php
//increase max execution time of this script to 150 min:
ini_set('max_execution_time', 9000);
//increase Allowed Memory Size of this script:
ini_set('memory_limit','960M');
// Copies woocommerce orders and users over from source to target.
// I use this on my local machine - loading both db's up there side by side
// could easily adjust the connect strings to connect elsewhere if needed.
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
namespace Unity.Entities