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
"LD_* scout runtime" information: | |
{ | |
"can-write-uinput" : true, | |
"steam-installation" : { | |
"path" : "/home/yahya/.local/share/Steam", | |
"data_path" : "/home/yahya/.local/share/Steam", | |
"bin32_path" : "/home/yahya/.local/share/Steam/ubuntu12_32", | |
"steamscript_path" : "/usr/lib/steam/steam", | |
"steamscript_version" : "1.0.0.78", | |
"issues" : [ |
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 aesutil | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
crypto_rand "crypto/rand" | |
"errors" | |
) | |
const ( |
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 password | |
import ( | |
crypto_rand "crypto/rand" | |
"encoding/base64" | |
"math/big" | |
) | |
func genRandomPassword() (string, error) { | |
// Random length: 8-25 chars. |
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 secretstore | |
import ( | |
"encoding/json" | |
"errors" | |
"os" | |
) | |
type Secret struct { | |
ID int64 `json:"id"` |
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 jscvalidator | |
import ( | |
"testing" | |
"github.com/xeipuuv/gojsonschema" | |
) | |
const ( | |
passwordSchema = `{ |
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
# | |
# General configuration | |
# | |
# start-default-seat = True to always start one seat if none are defined in the configuration | |
# greeter-user = User to run greeter as | |
# minimum-display-number = Minimum display number to use for X servers | |
# minimum-vt = First VT to run displays on | |
# lock-memory = True to prevent memory from being paged to disk | |
# user-authority-in-system-dir = True if session authority should be in the system location | |
# guest-account-script = Script to be run to setup guest account |
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/sh | |
xrandr --setprovideroutputsource radeon NVIDIA-0 | |
xrandr --auto |
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
# nvidia-xconfig: X configuration file generated by nvidia-xconfig | |
# nvidia-xconfig: version 430.26 | |
Section "ServerLayout" | |
Identifier "Layout0" | |
Screen 0 "Screen0" | |
Inactive "Device1" | |
InputDevice "Keyboard0" "CoreKeyboard" | |
InputDevice "Mouse0" "CorePointer" | |
EndSection |