This file contains 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
571a07356803b3505e1adcffd0f47e75443218bf |
This file contains 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
immich-server> npm ERR! code ENOTCACHED | |
immich-server> npm ERR! request to https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz failed: cache mode is 'only-if-cached' but no cached response is available. |
This file contains 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 = "Build a cargo project without extra checks"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | |
crane = { | |
url = "github:ipetkov/crane"; | |
inputs.nixpkgs.follows = "nixpkgs"; | |
}; |
This file contains 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 = { | |
naersk.url = "github:nmattia/naersk/master"; | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { | |
self, | |
nixpkgs, |
This file contains 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
#cloud-config | |
# vim: syntax=yaml | |
# Derived from https://gist.github.com/kradalby/0957a5d4fbb9018d0b700b118f5c5341 | |
disable_root: false | |
ssh_authorized_keys: [] | |
write_files: | |
- path: "/etc/ssh/sshd_config.d/permit_root" | |
owner: "root:root" | |
permissions: "0644" |
This file contains 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
[ 3%] Building CXX object CMakeFiles/touchegg.dir/src/actions/action-factory.cpp.o | |
[ 7%] Building CXX object CMakeFiles/touchegg.dir/src/actions/animated-action.cpp.o | |
[ 11%] Building CXX object CMakeFiles/touchegg.dir/src/actions/change-desktop.cpp.o | |
[ 14%] Building CXX object CMakeFiles/touchegg.dir/src/actions/close-window.cpp.o | |
[ 18%] Building CXX object CMakeFiles/touchegg.dir/src/actions/maximize-restore-window.cpp.o | |
[ 22%] Building CXX object CMakeFiles/touchegg.dir/src/actions/minimize-window.cpp.o | |
[ 25%] Building CXX object CMakeFiles/touchegg.dir/src/actions/run-command.cpp.o | |
[ 29%] Building CXX object CMakeFiles/touchegg.dir/src/actions/send-keys.cpp.o | |
[ 33%] Building CXX object CMakeFiles/touchegg.dir/src/actions/show-desktop.cpp.o | |
[ 37%] Building CXX object CMakeFiles/touchegg.dir/src/actions/tile-window.cpp.o |
This file contains 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
-- Standard awesome library | |
local gears = require("gears") | |
local awful = require("awful") | |
require("awful.autofocus") | |
-- Widget and layout library | |
local wibox = require("wibox") | |
-- Theme handling library | |
local beautiful = require("beautiful") | |
-- Notification library | |
local naughty = require("naughty") |
This file contains 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
import numpy as np | |
def firstDuplicate(a): | |
num = -1 | |
seen = np.zeros(len(a)) | |
for x in a: |
This file contains 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
#!/usr/bin/env bash | |
phrase=$(echo $1 | xargs echo -n) | |
if [[ ${#phrase} == 0 ]] | |
then | |
echo 'Fine. Be that way!' | |