This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "basics": { | |
| "name": "Thomas Edison", | |
| "label": "Inventor and Businessman", | |
| "picture": "https://example.com/photo.jpg", | |
| "email": "thomas.edison@example.com", | |
| "phone": "(123) 456-7890", | |
| "url": "https://thomasedison.com", | |
| "summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.", | |
| "location": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "basics": { | |
| "name": "Thomas Edison", | |
| "label": "Inventor and Businessman", | |
| "picture": "https://example.com/photo.jpg", | |
| "email": "thomas.edison@example.com", | |
| "phone": "(123) 456-7890", | |
| "url": "https://thomasedison.com", | |
| "summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.", | |
| "location": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "encoding/binary" | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://gemini.google.com/app/d0b90714540b343e?canvas-id=c_d0b90714540b343e_alphabet-flashcards&full-screen=true&hl=en-GB&pli=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hf mf gdmsetcfg -d 7AFF00000000000000005A5A00000008 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module star_2d(num_points = 5, outer_radius = 10, inner_radius = 4) { | |
| angle = 360 / num_points; | |
| points = [ for (i = [0 : num_points - 1]) [ | |
| outer_radius * cos(i * angle), | |
| outer_radius * sin(i * angle) | |
| ] ]; | |
| inner_points = [ for (i = [0 : num_points - 1]) [ | |
| inner_radius * cos(i * angle + angle), | |
| inner_radius * sin(i * angle + angle) | |
| ] ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Configuration | |
| lease_file='/tmp/hosts/odhcpd' | |
| forward_zone='ber.section.me.' | |
| reverse_zone_ipv4='1.168.192.in-addr.arpa.' | |
| reverse_zone_ipv6='f.d.0.5.0.7.4.0.1.0.0.2.ip6.arpa.' | |
| # Function for code reusability and readability | |
| expand_ipv6() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Flake sops-nix | |
| https://github.com/Mic92/sops-nix#usage-example explains how to setup the keys in the `.sops.yaml` file. | |
| If using JSON add the following step below, if YAML, you can already nest things and goto adding the module. | |
| Add | |
| ``` | |
| sops-nix.url = "github:juspay/sops-nix/json-nested"; # https://github.com/Mic92/sops-nix/pull/328 | |
| ``` | |
| To your inputs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| description = "shift's esphome-devices."; | |
| inputs.flake-utils.url = "github:numtide/flake-utils"; | |
| outputs = { self, nixpkgs, flake-utils }: | |
| flake-utils.lib.eachDefaultSystem | |
| (system: | |
| let pkgs = nixpkgs.legacyPackages.${system}; in | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| inputs = { | |
| openwrt-imagebuilder.url = "github:astro/nix-openwrt-imagebuilder"; | |
| }; | |
| outputs = { self, nixpkgs, openwrt-imagebuilder }: { | |
| packages.x86_64-linux.ap1 = | |
| let | |
| pkgs = nixpkgs.legacyPackages.x86_64-linux; | |
| profiles = openwrt-imagebuilder.lib.profiles { inherit pkgs; }; |
NewerOlder