I hereby claim:
- I am drazulay on github.
- I am drazulay (https://keybase.io/drazulay) on keybase.
- I have a public key ASB-BEDWcWetK2gSV7pWOd91P41dIqpZRZGgnRUV4C5-wAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #! /usr/bin/env bash | |
| ################################ | |
| # Onboarding script for OS X | |
| # Installs a bunch of software, | |
| # and optionally an extra bunch | |
| # of other software - yay, more | |
| # bytezz! Also does some config- | |
| # foo like a small zsh and os x | |
| # polish. |
| # Usage: wekker 21:04 /path/to/audiofile.mp3. | |
| # Add this to your ~/.profile or wherever you store your aliases. | |
| # You could run it from crontab. | |
| alias wekker='_wekker(){ printf "you will be woken up at %s with audio file %s\n" "$1" "$2"; while [ 1 ]; do; date "+%H:%M" | grep -q "$1"; [[ $? -eq 0 ]] && open -a VLC "$2" && break || sleep 1; done; }; _wekker' |
| killphp () { | |
| printf "This will kill all PHP-FPM instances running. Continue (y/N)? " | |
| read -q | |
| if [[ $? -eq 0 ]] | |
| then | |
| for pid in $(ps aux | grep php-fpm | grep -v color | tr -s " " | cut -d" " -f2) | |
| do | |
| sudo kill -9 $pid | |
| done | |
| echo "\nall instances killed" |
| import React, { useEffect, useState } from "react"; | |
| import { useMediaQuery } from "react-responsive"; | |
| export const DarkModeToggle = () => { | |
| const [isDark, setIsDark] = useState(true); | |
| useMediaQuery( | |
| { | |
| query: "(prefers-color-scheme: dark)", | |
| }, |
| #! /usr/bin/env bash | |
| if [ ! -f app/etc/env.php ]; then | |
| printf "Installing magento..\n" | |
| php bin/magento setup:install \ | |
| --db-host 127.0.0.1 \ | |
| --db-name magento2 \ | |
| --db-user admin \ | |
| --db-password admin123 \ | |
| --search-engine elasticsearch7 \ |
| #################### FROM GRML.ORG ZSH CONFIG #################### | |
| # zsh profiling | |
| # just execute 'ZSH_PROFILE_RC=1 zsh' and run 'zprof' to get the details | |
| if [[ $ZSH_PROFILE_RC -gt 0 ]] ; then | |
| zmodload zsh/zprof | |
| fi | |
| typeset -A GRML_STATUS_FEATURES |
| { | |
| "Ansi 7 Color" : { | |
| "Green Component" : 0.73333334922790527, | |
| "Red Component" : 0.73333334922790527, | |
| "Blue Component" : 0.73333334922790527 | |
| }, | |
| "Tags" : [ | |
| ], | |
| "Ansi 12 Color" : { |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| add_newline = false | |
| scan_timeout = 10 | |
| format = '$all$line_break$username$hostname$directory$character' | |
| [fill] | |
| symbol = '-' | |
| style = 'white' | |
| [character] |
| ### Keybase proof | |
| I hereby claim: | |
| * I am drazulay on github. | |
| * I am drazulay (https://keybase.io/drazulay) on keybase. | |
| * I have a public key ASBd375erlSqCspFwRb32NVCQxaS5C2eBJ4daNRPunNtAwo | |
| To claim this, I am signing this object: |