- Edit the first 3 variables with your personal information
- Navigate to your wanted months attendance page
- Paste the contents of the js file to your console
- This script only works with english language settings in personio
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
use iced::theme::Theme; | |
use iced::widget::{column, container, text, text_input}; | |
use iced::window::{self}; | |
use iced::{Application, Element, Settings}; | |
use once_cell::sync::Lazy; | |
#[derive(Debug, Default)] | |
struct State { | |
query: String, | |
} |
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
(ns com.test-biff-tx | |
(:require | |
[com.biffweb :as biff] | |
[malli.core :as malc] | |
[malli.registry :as malr] | |
[xtdb.api :as xt])) | |
;; We use this to convert keys to ids, for easy access and without having to change the malli uuid schema | |
(defn string-to-uid [s] | |
(let [bytes (.getBytes (str s))] |
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
javascript:(function(){ | |
const MY_MASTO_LOCAL_DOMAIN = 'functional.cafe'; /* 👈 Change this value */ | |
const MY_MASTO_WEB_DOMAIN = MY_MASTO_LOCAL_DOMAIN; /* 👈 Only change this value if your Masto host is hosted an different domain than the LOCAL_DOMAIN */ | |
function tryAndGetUserName() { | |
if (document.location.host === MY_MASTO_LOCAL_DOMAIN) { | |
alert(`Already on your host ${MY_MASTO_LOCAL_DOMAIN}`) | |
} | |
/* Profile with a moved banner (e.g. https://mastodon.social/@bramus): follow that link */ |
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
# e595 nixOS device configuration | |
{ config, pkgs, lib, ... }: | |
{ | |
boot = { | |
kernelParams = [ ]; | |
kernelModules = [ "thinkpad_acpi" "acpi_call" "kvm_amd" ]; | |
initrd.kernelModules = [ "amdgpu" ]; | |
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; |
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
{ | |
utils.mkBinding "Super + @space" "rofi"; | |
} |
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
{ | |
systemd.user.services."setup-keyboard" = { | |
enable = true; | |
description = "Load my keyboard modifications"; | |
wantedBy = [ "multi-user.target" ]; | |
serviceConfig = { | |
Type = "forking"; | |
ExecStart = "${pkgs.bash}/bin/bash ${pkgs.writeScript "setup-keyboard.sh" '' | |
#!${pkgs.stdenv.shell} |
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
local utils = require 'mp.utils' | |
local msg = require 'mp.msg' | |
-- OPTIONS | |
local keep_file_after_streaming = true | |
local peerflix = { | |
path = "peerflix", | |
searched = false | |
} |
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
let | |
pkgs = import <nixpkgs> {} | |
{ | |
inherit overlays; | |
}; | |
# unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) { }; | |
stdenv = pkgs.stdenv; | |
ruby = pkgs.ruby_2_4; | |
rubygems = (pkgs.rubygems.override { ruby = ruby; }); |
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
let | |
pkgs = import <nixpkgs> {} | |
{ | |
inherit overlays; | |
}; | |
# unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) { }; | |
stdenv = pkgs.stdenv; | |
ruby = pkgs.ruby_2_4; | |
rubygems = (pkgs.rubygems.override { ruby = ruby; }); |
NewerOlder