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
import gssapi | |
from ldap3 import Connection, SASL_AVAILABLE_MECHANISMS | |
from ldap3.protocol.sasl.digestMd5 import sasl_digest_md5 | |
from ldap3.protocol.sasl.external import sasl_external | |
from ldap3.protocol.sasl.sasl import send_sasl_negotiation, abort_sasl_negotiation | |
SASL_AVAILABLE_MECHANISMS.append('GSSAPI') | |
def sasl_gssapi(connection, controls): |
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
// ******************* | |
// This setup will allow you to synchronize personal events from one calendar (the "secondary calendar") e.g. your Opsgenie | |
// schedule, to another calendar, e.g. work (the "primary calendar"). | |
// | |
// Follow these steps: | |
// 1. Go to https://script.google.com/home and click [+ New project] | |
// 2. Make sure the two calendars you want to sync are in your Google calendar list, and the primary calendar can be edited | |
// by the Google account you're currently under (or switch accounts to the owner of the primary calendar) | |
// To get your Opsgenie schedule into Google Calendar, export your Opsgenie webcal URL: https://support.atlassian.com/opsgenie/docs/view-your-on-call-schedule/#Export-with-manual-URL |
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
root@rockpro64:~# systemctl suspend | |
root@rockpro64:~# [ 318.410767] PM: suspend entry (deep) | |
[ 318.418836] Filesystems sync: 0.007 seconds | |
[ 318.420855] Freezing user space processes ... (elapsed 0.001 seconds) done. | |
[ 318.422615] OOM killer disabled. | |
[ 318.422618] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. | |
[ 318.425750] rk_gmac-dwmac fe300000.ethernet eth0: Link is Down | |
[ 318.452553] sd 0:0:0:0: [sda] Synchronizing SCSI cache | |
[ 318.456607] sd 0:0:0:0: [sda] Stopping disk | |
[ 318.904800] Disabling non-boot CPUs ... |
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
[ 0.000000][ T0] Booting Linux on physical CPU 0x0000000000 [0x410fd034] | |
[ 0.000000][ T0] Linux version 5.4.0-rc1-gc5bd8fa4431f-sigmaris (root@a29a4080688d) (gcc version 8.3.0 (Debian 8.3.0-2)) #sigmaris SMP PREEMPT Sun Oct 6 15:58:04 UTC 2019 | |
[ 0.000000][ T0] Machine model: Pine64 RockPro64 | |
[ 0.000000][ T0] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '') | |
[ 0.000000][ T0] printk: bootconsole [uart8250] enabled | |
[ 0.000000][ T0] cma: Reserved 16 MiB at 0x00000000f7000000 | |
[ 0.000000][ T0] NUMA: No NUMA configuration found | |
[ 0.000000][ T0] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff] | |
[ 0.000000][ T0] NUMA: NODE_DATA [mem 0xf67ec800-0xf67edfff] | |
[ 0.000000][ T0] Zone ranges: |
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
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] | |
[ 0.000000] Linux version 5.3.0-rc6-next-20190830-g4fe25a02c4f1-sigmaris (root@rp64builder) (gcc version 8.3.0 (Debian 8.3.0-2)) #sigmaris SMP PREEMPT Sun Sep 1 16:50:21 BST 2019 | |
[ 0.000000] Machine model: Pine64 RockPro64 | |
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '') | |
[ 0.000000] printk: bootconsole [uart8250] enabled | |
[ 0.000000] cma: Reserved 16 MiB at 0x00000000f7000000 | |
[ 0.000000] NUMA: No NUMA configuration found | |
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff] | |
[ 0.000000] NUMA: NODE_DATA [mem 0xf67ed800-0xf67eefff] | |
[ 0.000000] Zone ranges: |
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
./drm_info /dev/dri/card0 | |
Node: /dev/dri/card0 | |
├───Driver: rockchip (RockChip Soc DRM) version 1.0.0 (20140818) | |
│ ├───DRM_CLIENT_CAP_STEREO_3D supported | |
│ ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported | |
│ ├───DRM_CLIENT_CAP_ATOMIC supported | |
│ ├───DRM_CLIENT_CAP_ASPECT_RATIO supported | |
│ ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported | |
│ ├───DRM_CAP_DUMB_BUFFER = 1 | |
│ ├───DRM_CAP_VBLANK_HIGH_CRTC = 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
debian/rules override_dh_install | |
make[1]: Entering directory '/opt/build/mesa' | |
# purge .la files | |
find debian/tmp/ -name '*.la' -exec rm '{}' ';' | |
# Get rid of some files which aren't installed. Do not | |
# use -f to ensure we notice disappearing files: | |
rm debian/tmp/usr/lib/*/libglapi.so | |
rm debian/tmp/usr/lib/*/libEGL_mesa.so | |
rm debian/tmp/usr/lib/*/libGLX_mesa.so | |
# Copy the hardlinked *_dri.so correctly. |
I hereby claim:
- I am sigmaris on github.
- I am sigmaris (https://keybase.io/sigmaris) on keybase.
- I have a public key ASDcS515Q1oxK2QCBjqXL0-p_hD724sLpOERp4bikw5Ylwo
To claim this, I am signing this object:
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
/* | |
* Copyright © 2011 Kristian Høgsberg | |
* Copyright © 2011 Benjamin Franzke | |
* Copyright © 2018 Hugh Cole-Baker | |
* | |
* Permission to use, copy, modify, distribute, and sell this software and its | |
* documentation for any purpose is hereby granted without fee, provided that | |
* the above copyright notice appear in all copies and that both that copyright | |
* notice and this permission notice appear in supporting documentation, and | |
* that the name of the copyright holders not be used in advertising or |