More guides:
The easiest way to install Emacs is by using Chocolatey:
| #!/usr/bin/env bash | |
| # sudo ln -s "$(pwd)/csv2datasette" /usr/bin/csv2datasette | |
| # csv2datasette is meant to explore CSV data. It is not meant to create a sustainable DB. | |
| # csv2datasette is a bash script which open CSV files directly in Datasette. It offers | |
| # a number of options for reading and exploring CSV files, such as --stats, inspired by WTFCsv. | |
| # | |
| # `--stats` option includes, for each column: the column name, the number of unique values, | |
| # the number of filled rows, the number of missing values, the mininmum value, the maximum value, | |
| # the average, the sum, the shortest string, the longest string, the number of numeric values, |
| // I'm tired of extensions that automatically: | |
| // - show welcome pages / walkthroughs | |
| // - show release notes | |
| // - send telemetry | |
| // - recommend things | |
| // | |
| // This disables all of that stuff. | |
| // If you have more config, leave a comment so I can add it!! | |
| { |
More guides:
The easiest way to install Emacs is by using Chocolatey:
| [ | |
| { | |
| "title": "Legacy Mod loader", | |
| "description": "Loader to use mods. Read the README file included in the download.", | |
| "authors": | |
| [ | |
| "Hello World" | |
| ], | |
| "tags": | |
| [ |
| # I'll be doing another one for Linux, but this one will give you | |
| # a pop up notification and sound alert (using the built-in sounds for macOS) | |
| # Requires https://github.com/caarlos0/timer to be installed | |
| # Mac setup for pomo | |
| alias work="timer 60m && terminal-notifier -message 'Pomodoro'\ | |
| -title 'Work Timer is up! Take a Break 😊'\ | |
| -appIcon '~/Pictures/pumpkin.png'\ | |
| -sound Crystal" |
| // y(x) = x + 7 | |
| // f(x) = x + 7 | |
| let f x = x + 7 | |
| (f 4).Dump("f(4)") | |
| let a1 = Some 4 | |
| let a2 = None | |
| ((Option.map f) a1).Dump("option_f(a1") |
| import gooeypie as gp | |
| from random import choice | |
| nouns = open('words-nouns.txt').read().splitlines() | |
| adjectives = open('words-adjectives.txt').read().splitlines() | |
| def generate_password(event): | |
| """Generates and displays a new random password""" | |
| word1 = choice(adjectives) | |
| word2 = choice(nouns + adjectives) |
| using namespace System.Collections.Generic | |
| # Encapsulate an arbitrary command | |
| class PaneCommand { | |
| [string]$Command | |
| PaneCommand() { | |
| $this.Command = ""; | |
| } |
| #include <stdio.h> | |
| #define _USE_MATH_DEFINES | |
| #include <math.h> | |
| #include <windows.h> | |
| // width and height of screen | |
| #define ww 100 | |
| #define wh 50 | |
| void clr(CHAR_INFO* d) |