This file contains hidden or 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
| https://www.dropbox.com/s/kbrtnj9bkc84jqu/%25ED%2594%25BC%25EB%25B6%2580%25EC%2596%2591%25EC%259E%2590%252B%25EC%259E%2590%25EA%25B2%25A9%2528%25EC%25B7%25A8%25EB%2593%259D%25E3%2586%258D%25EC%2583%2581%25EC%258B%25A4%2529%25EC%258B%25A0%25EA%25B3%25A0%25EC%2584%259C%252B%25281%2529.pdf?dl=0 |
This file contains hidden or 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
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQENBFzub1EBCADiseW+SnpoWRSCAN0T8f12zfHjwQOU0AAkpOg/Jd+v6TM8eUOf | |
| jr3VBz2KU55OXDhY3Jjrl7KgbmuOHIqhLY7Gug3Ohf/WKBxFDDZAxUBytghs3a+6 | |
| zngMF8dkQI/6dRX942P7M8gpIr3MHPihjxRbpnD7lx7UIMmWC3SwBtXmOO7E6Rvk | |
| LNrUh8M5MjKSV8fn3UU0uhQYNDeuNTCwMhrKqLoHOVX+JMmFs+XLBPotGESxKuzB | |
| two/cRH08oASdFYNAFE6nRrnh7sp9H9RNZIraJbijNtc49XCke6wesev9l4sYVs3 | |
| HWRROgT6kUUDN28NYa9OFlx1I9NwNIRdtaXPABEBAAG0M0pvbmctSHlvdWsgWXVu | |
| IChIb21lLCBEZXNrdG9wKSA8YWdlbGRhbWFAZ21haWwuY29tPokBVAQTAQgAPhYh | |
| BGRD0KOZJHeSpgt15OzfVgrQQHtvBQJc7m9RAhsDBQkDwmcABQsJCAcCBhUKCQgL |
This file contains hidden or 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 perl | |
| use strict; | |
| use warnings; | |
| use feature qw|say|; | |
| use utf8; | |
| use open ':std', ':encoding(UTF-8)'; | |
| use Data::Dumper; | |
| use XML::Tidy; | |
| use XML::LibXML; |
This file contains hidden or 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
| (eval-when (:compile-toplevel :load-toplevel :execute) | |
| (ql:quickload :cl-mock) | |
| (ql:quickload :prove)) | |
| (defpackage cl-mock-hello | |
| (:use :cl :cl-mock :prove) | |
| (:export :run)) | |
| (in-package :cl-mock-hello) |
This file contains hidden or 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 's) | |
| (require 'dash) | |
| (use-package shell-split-string :ensure t) | |
| (defun extract-inc-dirs (s) | |
| (->> (shell-split-string s) | |
| (--filter (s-starts-with? "-I" it)) | |
| (--map (s-chop-prefix "-I" it)))) |
This file contains hidden or 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
| #!/bin/bash | |
| if [[ "$1" = "fourbox" ]]; then | |
| (i3-save-tree |sed -e's/^\s*\/\/\s[^\"].*//g' -e's/^\s*\/\///g' | \ | |
| jq '..|objects|select(.type=="con")|select(has("nodes")|not)'| \ | |
| jq -s '{layout:"splith","type":"con",nodes:[{"layout":"splitv",nodes:[.[0],.[1]]},{"layout":"splitv",nodes:[.[2],.[3]]}]}') > /tmp/layout | |
| else | |
| (i3-save-tree |sed -e's/^\s*\/\/\s[^\"].*//g' -e's/^\s*\/\///g' | \ | |
| jq '..|objects|select(.type=="con")|select(has("nodes")|not)'| \ | |
| jq -s '{layout:"'$1'","type":"con",nodes:.}') > /tmp/layout |
This file contains hidden or 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 main | |
| import ( | |
| "fmt" | |
| "runtime" | |
| "sync" | |
| "time" | |
| ) | |
| func timer(wg *sync.WaitGroup) { |
This file contains hidden or 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
| cat ~/.Xauthority | sudo -u user2 -i tee .Xauthority > /dev/null | |
| # https://unix.stackexchange.com/a/324433 |
This file contains hidden or 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
| diff --git a/vim/_vimrc b/vim/_vimrc | |
| index c400d42..f6a2dfb 100644 | |
| --- a/vim/_vimrc | |
| +++ b/vim/_vimrc | |
| @@ -107,7 +107,7 @@ endif | |
| set paste | |
| -if executable('rg') | |
| +if executable('rg') && 0 |
This file contains hidden or 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
| mapper.writerWithDefaultPrettyPrinter().writeValue(new File("output.json"), myResultObject); |