deprecated
for_window [class="^.*"] border pixel 1
new_window 1pixel
thanks to deviatorslegacy's comment
Document here:
https://i3wm.org/docs/userguide.html#_default_border_style_for_new_windows
deprecated
for_window [class="^.*"] border pixel 1
new_window 1pixel
thanks to deviatorslegacy's comment
Document here:
https://i3wm.org/docs/userguide.html#_default_border_style_for_new_windows
import Thing.* | |
fun main() { | |
val foo0: Thing = Thing.setB(2).setA(1).setC(3).setD(4).build() | |
println("foo0: $foo0") | |
val foo1: Thing = Thing.setA(1).setB(2).setC(3).setD(4).build() | |
println("foo1: $foo1") | |
val foo2: Thing = Thing.setC(3).setB(2).setA(1).setD(4).build() | |
println("foo2: $foo2") | |
// val foo3: Thing = Thing.setA(1).setB(2).setC(3).build() // Compile error |
// Assuming Kotlin plugin is applied... | |
// Run as: ./gradlew kotlinRepl --console plain --no-daemon | |
val kotlinRepl by tasks.creating { | |
description = "Starts Kotlin REPL with compiled main classes and runtime classpath" | |
val mainSourceSet = java.sourceSets["main"] | |
dependsOn(mainSourceSet.output) | |
doFirst { | |
val buildscriptClasspath = rootProject.buildscript.configurations["classpath"] |
Nix generally assumes run-time dependencies is a subset of the build-time dependencies.
This means many Nix builder functions try to automatically scan the output for runtime dependencies and "rewrite" them for runtime usage.
However shell scripts which are often exported by packages do not get this automatic scanning treatment.
This means you have to use the makeWrapper
package and use either the makeWrapper
or wrapProgram
utility functions.
2020/5/31追記:
自分用のメモに書いていたつもりだったのですが、たくさんのスターを頂けてとても嬉しいです。
と同時に、書きかけで中途半端な状態のドキュメントをご覧いただくことになっており、大変心苦しく思っています。
このドキュメントを完成させるために、今後以下のような更新を予定しています。
2021/1/22追記:
# requirements | |
# fd: https://github.com/sharkdp/fd | |
# fzf: https://github.com/junegunn/fzf | |
function cd() { | |
flag='-f' | |
if [ $# -eq 0 ]; then | |
builtin cd | |
elif [ $# -eq 1 ]; then | |
if [ $1 = "$flag" ]; then | |
dirs=$(fd --type d . $HOME | fzf) |
この文章はTLに唐突に流れてきたwindows in ArchLinuxで無線フルトラするを見て深夜にテンション爆上がりでやったことを翌日の深夜にまとめたものです。 文章はほとんど書かないので読みにくいかもしれませんがご了承を。
わたしは普段はArchLinuxで生活していて、WindowsとはVRをするまでほとんど無縁でした。 VRChatも初めのうちはArchLinux上のProtonでデスクトップモードで遊んでいたほどです。
しかし、LinuxでVRをするためにはValve IndexやHTC Viveなど、ネイティブでSteam VRに対応したヘッドマウントディスプレイが必要であり、Oculus QuestはLinuxには公式で非対応。 一応、非公式の無線化をするためのソフトウェアの1つがLinux対応を進めてはいるもののそちらも実用段階とは言えません。
A list of performance-enhancing mods for 1.18.x forge/fabric versions.
Any suggestions/complaints?
Join our discord or use the gist comments.
オレは高校生シェル芸人 sudo
新一。幼馴染で同級生の more
利蘭と遊園地に遊びに行って、黒ずくめの男の怪しげな rm -rf /
現場を目撃した。端末をみるのに夢中になっていた俺は、背後から近づいてきたもう1人の --no-preserve-root
オプションに気づかなかった。
俺はその男に毒薬を飲まされ、目が覚めたら・・・ OS のプリインストールから除かれてしまっていた!
『 sudo
がまだ $PATH
に残っていると奴らにバレたら、また命を狙われ、他のコマンドにも危害が及ぶ』
上田博士の助言で正体を隠すことにした俺は、 which
に名前を聞かれて、とっさに『gnuplot
』と名乗り、奴らの情報をつかむために、父親がシェル芸人をやっている蘭の $HOME
に転がり込んだ。ところが、このおっちゃん・・・とんだヘボシェル芸人で、見かねた俺はおっちゃんになりかわり、持ち前の権限昇格能力で、次々と難タスクを解決してきた。おかげで、おっちゃんは今や世間に名を知られた名エンジニア、俺はといえばシェル芸 bot のおもちゃに逆戻り。クラスメートの convert
や ojichat
や textimg
にお絵かきコマンドと誤解され少年ワンライナーお絵かき団を結成させられる始末。
ではここで、博士が作ってくれたメカを紹介しよう。最初は時計型麻酔 kill
。ふたについた照準器にあわせてエンターを押せば、麻酔シグナルが飛び出し、プロセスを瞬時に sleep
させることができる。
次に、蝶ネクタイ型 banner
。裏についているダイヤルを調整すれば、ありとあらゆる大きさのメッセージを標準出力できる。必殺のアイテムなら fork
力増強シューズ。電気と磁力で足を刺激し、 :(){ :|:& };:
でプロセステーブ