Skip to content

Instantly share code, notes, and snippets.


Nasy nasyxx

View GitHub Profile
nasyxx /
Created Jul 26, 2020
macOS Screen Shot with you name on it.
/usr/sbin/screencapture -i /tmp/ss.png
SSF=$(date +"Screen Shot %Y-%m-%d at %r.png")
W="$(/Users/Nasy/.macports/bin/identify -format "%w" /tmp/ss.png)"
H="$(/Users/Nasy/.macports/bin/identify -format "%h" /tmp/ss.png)"
/Users/Nasy/.macports/bin/convert \
View p10k.zsh
# Generated by Powerlevel10k configuration wizard on 2020-05-09 at 00:56 EDT.
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 28636.
# Wizard options: nerdfont-complete + powerline, large icons, unicode, lean, 24h time,
# 2 lines, dotted, right frame, lightest-ornaments, sparse, many icons, fluent,
# instant_prompt=quiet.
# Type `p10k configure` to generate another config.
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate
# your own config based on it.
View llvm-9.0 log
:debug:sysinfo macOS 10.16 (darwin/20.0.0) arch i386
:debug:sysinfo MacPorts 2.6.99
:debug:sysinfo Xcode 12.0
:debug:sysinfo SDK 10.16
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.16
:debug:main epoch: in tree: 0 installed: 0
:debug:main xz 5.2.5_0 exists in the ports tree
:debug:main xz 5.2.5_0 is the latest installed
:debug:main xz 5.2.5_0 is active
View gdal 3.1.0 log
This file has been truncated, but you can view the full file.
:debug:sysinfo macOS 10.15 (darwin/19.5.0) arch i386
:debug:sysinfo MacPorts 2.6.99
:debug:sysinfo Xcode 11.5
:debug:sysinfo SDK 10.15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
:debug:main epoch: in tree: 1 installed: 1
:debug:main bash-completion 2.10_0 exists in the ports tree
:debug:main bash-completion 2.10_0 is the latest installed
View zstyle
π zstyle  25.75G  100% ─╯
:vcs_info:svn*:* '%c%u %F{1}| %a%f'
:vcs_info:* '%b %F{1}| %a%f'
:vcs_info:hg*:* ' %b'
:completion:* /Users/Nasy/.cache/zinit
:vcs_info:* true

Keybase proof

I hereby claim:

  • I am nasyxx on github.
  • I am nasy ( on keybase.
  • I have a public key ASANFQI1PQ3UI3xtDmrQfCMGsVFTHrmUMGWWlLKIFIfCPwo

To claim this, I am signing this object:

nasyxx /
Last active Apr 8, 2019
screenshot with custom effect from IM

Open with and change the custom to yours.

Then, add the shortcut in the Setting -> Keyboard -> Shortcuts -> Services -> General (At the bottom).

nasyxx / # python - 2018-09-23_00-09-48.txt
Created Sep 22, 2018
python on macOS 10.14 - Homebrew build logs
View # python - 2018-09-23_00-09-48.txt
Homebrew build logs for python on macOS 10.14
Build date: 2018-09-23 00:09:48
nasyxx / ghci.conf
Last active Nov 13, 2019
ghci configuration
View ghci.conf
-- ghci configuration
-- pretty-simple
-- To use this configuration, `cat` lines inside `{--}`, to a file named ghci-color in your $PATH,
-- Run with `ghci-color`, and for which if you use stack, `stack exec -- ghci-color` is suitable.
-- Also, you could set an alias like `alias ghcrepl=stack exec -- ghci-color`, then run with `ghcrepl`.
#!/usr/bin/env bash
nasyxx /
Created Aug 3, 2018 — forked from ykomatsu/
Installing Nix on macOS in single-user mode