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
2020-03-23 20:35:03 - [sway/main.c:152] Linux outbush 5.5.10-arch1-1 #1 SMP PREEMPT Wed, 18 Mar 2020 08:40:35 +0000 x86_64 GNU/Linux | |
2020-03-23 20:35:03 - [sway/main.c:168] Contents of /etc/os-release: | |
2020-03-23 20:35:03 - [sway/main.c:152] NAME="Arch Linux" | |
2020-03-23 20:35:03 - [sway/main.c:152] PRETTY_NAME="Arch Linux" | |
2020-03-23 20:35:03 - [sway/main.c:152] ID=arch | |
2020-03-23 20:35:03 - [sway/main.c:152] BUILD_ID=rolling | |
2020-03-23 20:35:03 - [sway/main.c:152] ANSI_COLOR="0;36" | |
2020-03-23 20:35:03 - [sway/main.c:152] HOME_URL="https://www.archlinux.org/" | |
2020-03-23 20:35:03 - [sway/main.c:152] DOCUMENTATION_URL="https://wiki.archlinux.org/" | |
2020-03-23 20:35:03 - [sway/main.c:152] SUPPORT_URL="https://bbs.archlinux.org/" |
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 | |
do_log() { | |
local scope=$1 | |
local msg=$2 | |
echo "[${scope}]: ${msg}" | |
} | |
do_error() { | |
do_log "$1" "$2" >&2 |
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
while read file; do \ | |
unzip "$file" -d "${file%.*}" && \ | |
pushd "${file%.*}" && \ | |
zip -X "${file%.*}_fixed.epub" mimetype && \ | |
zip -rg "${file%.*}_fixed.epub" META-INF && \ | |
zip -vur "${file%.*}_fixed.epub" * && \ | |
popd && mv "${file%.*}/${file%.*}_fixed.epub" ./ && \ | |
rm -rf "${file%.*}"; \ | |
done < <(find . -name '*.epub' | xargs -i basename "{}") |
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
swaymsg -t get_tree \ | |
| jq -r '..| objects | select(.type == "con") | select(.name != null) | select(.nodes | length < 1) | {id: .id | tostring, name: .name, app_id: .app_id} | .id + ": " + .name + " - " + .app_id' \ | |
| dmenu -l 30 \ | |
| cut -d ':' -f 1 \ | |
| xargs -I {} swaymsg '[con_id="{}"] focus' | |
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 python3 | |
import os | |
import shutil | |
import subprocess | |
import random | |
from argparse import ArgumentParser | |
from argparse import REMAINDER | |
from pathlib import Path |
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
button.vivaldi { | |
display: none !important; | |
} | |
#tabs-container.top { | |
margin-left: -1.8%; | |
margin-top: -0.5%; | |
background-color: #0063B1; | |
} |
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
SUBDIRS=src tests | |
TESTS=tests/hello |
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
package com.ermys; | |
/** | |
* Hello world! | |
* | |
*/ | |
public class App | |
{ | |
@FunctionalInterface | |
public interface FunctionalInterfaceFoo<X, Y> { |
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
package com.jlectra; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.annotation.AnnotationConfigApplicationContext; | |
import org.springframework.context.annotation.ComponentScan; | |
import org.springframework.stereotype.Component; | |
import java.util.concurrent.Callable; |
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
require 'formula' | |
class Nginx < Formula | |
homepage 'http://nginx.org/' | |
url 'http://nginx.org/download/nginx-1.4.4.tar.gz' | |
sha1 '304d5991ccde398af2002c0da980ae240cea9356' | |
devel do | |
url 'http://nginx.org/download/nginx-1.4.4.tar.gz' | |
sha1 '304d5991ccde398af2002c0da980ae240cea9356' |