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 nix-shell | |
#! nix-shell -i bash -p bash gh | |
set -eu | |
# See <https://gist.github.com/lorenzleutgeb/239214f1d60b1cf8c79e7b0dc0483deb>. | |
# Will exit non-zero if not logged in. | |
gh auth status | |
if [ $# == 1 ] |
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
Compiling overskride v0.5.6 (/build/overskride/src/overskride) | |
error: linking with `cc` failed: exit status: 1 | |
| | |
= note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcwU7zKM/symbols.o" "/build/overskride/src/build/src/debug/deps/overskride-18395ed166f1b9e8.10i8nregvf4k8bx7.rcgu.o" "/build/overskride/src/build/src/debug/deps/overskride-18395ed166f1b9e8.1107dgm7a02ihtpe.rcgu.o" "/build/overskride/src/build/src/debug/deps/overskride-18395ed166f1b9e8.11h3n487pewxr1io.rcgu.o" "/build/overskride/src/build/src/debug/deps/overskride-18395ed166f1b9e8.11umma2k9sc7ol1n.rcgu.o" "/build/overskride/src/build/src/debug/deps/overskride-18395ed166f1b9e8.121nqvbdzrhad3br.rcgu.o" "/build/overskride/src/build/src/debug/deps/overskride-18395ed166f1b9e8.12m6046cnwqwwuqa.rcgu.o" "/build/overskride/src/build/src/debug/deps/overskride-18395ed166f1b9e8.13lk9p0dk9xcyj85.rcgu. |
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/python3 | |
# this used to live at https://gitlab.gnome.org/snippets/814 | |
# but has since been deleted, the original author is unknown | |
# reuploading here for safe keeping | |
import dbus | |
import secrets | |
import re |
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
a | |
ai | |
am | |
an | |
ang | |
anh | |
ao | |
au | |
ay | |
ba |
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
post_install() { | |
cat <<EOF | |
==> Change your .emacs to make use of lyqi: | |
;; load lyqi | |
(require 'lyqi) | |
;; automatically use lyqi mode when editing .ly and .ily files | |
(add-to-list 'auto-mode-alist '("\\\\.ly$" . lyqi-mode)) | |
(add-to-list 'auto-mode-alist '("\\\\.ily$" . lyqi-mode)) | |
EOF | |
} |
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
vals = [0, 1, 3, 0] | |
def xor(n): | |
return((n - (n & 3)) * (1 ^ (n & 1)) + vals[n & 3]) | |
def getXor(l, r): | |
return(xor(l - 1) ^ xor(r)) | |
if __name__ == "__main__": | |
print(getXor(3, 10)) # 8 |
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
xfce4-panel(main): version 4.10.0 on gtk+ 2.24.17 (2.24.15), glib 2.36.1 (2.34.3) | |
xfce4-panel(module-factory): reading /usr/share/xfce4/panel/plugins | |
xfce4-panel(module-factory): reading /usr/share/xfce4/panel-plugins | |
xfce4-panel(application): found window manager after 1 tries | |
xfce4-panel(base-window): 0x186e180: rgba colormap=0x1878230, compositing=true | |
xfce4-panel(base-window): 0x186e180: rgba colormap=0x1878230, compositing=true | |
xfce4-panel(display-layout): 0x186e180: display=:0.0{comp=true}, screen-0[0x1808400]=[1366,768] (LVDS1=[0,0;1366,768]) | |
xfce4-panel(positioning): 0x186e180: screen=0x1808400, monitors=1, output-name=(null), span-monitors=false, base=0,0 | |
xfce4-panel(positioning): 0x186e180: working-area: screen=0x1808400, x=0, y=0, w=1366, h=768 | |
xfce4-panel(struts): 0x186e180: top=31, start_x=0, end_x=1365 |
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
Checked out revision 1358. | |
A canorus-svn/TODO | |
A canorus-svn/doc | |
A canorus-svn/doc/developersguide | |
A canorus-svn/doc/developersguide/canorus.Doxyfile | |
A canorus-svn/doc/developersguide/libraries | |
A canorus-svn/doc/developersguide/libraries/librarydiagram.png | |
A canorus-svn/doc/developersguide/libraries/librarydiagram.odg | |
A canorus-svn/doc/developersguide/libraries/ca_libs.txt | |
A canorus-svn/doc/developersguide/Makefile |
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
In file included from /home/limao/makepkg/build/src/canorus/trunk/src/canorus.h:12:0, | |
from /home/limao/makepkg/build/src/canorus/trunk/src/core/settings.cpp:10: | |
/home/limao/makepkg/build/src/canorus/trunk/src/ui/settingsdialog.h:15:31: fatal error: ui_settingsdialog.h: No such file or directory | |
compilation terminated. | |
In file included from /home/limao/makepkg/build/src/canorus/trunk/src/canorus.h:12:0, | |
from /home/limao/makepkg/build/src/canorus/trunk/src/main.cpp:14: | |
/home/limao/makepkg/build/src/canorus/trunk/src/ui/settingsdialog.h:15:31: fatal error: ui_settingsdialog.h: No such file or directory | |
compilation terminated. | |
In file included from /home/limao/makepkg/build/src/canorus/trunk/src/canorus.h:12:0, | |
from /home/limao/makepkg/build/src/canorus/trunk/src/core/undocommand.cpp:10: |
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
-- The C compiler identification is GNU 4.7.2 | |
-- The CXX compiler identification is GNU 4.7.2 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done |
NewerOlder