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
#Make the following updates to sane configration to enable Epson 210 scanner to function properly | |
# Add user to "lp" group then logout-login | |
#epkowa.conf | |
line: 10 | |
-scsi | |
+#scsi | |
line: 26 |
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 (c) 2016 Nicholas Folse -- All Rights Reserved | |
* | |
* debug-util.js -- Call site info for debugging javascript | |
* | |
* requires node 'source-map' (npm install source-map) | |
* | |
* usage: | |
* | |
* const debug_line = require("../debug-util"); |
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
# add to bashrc | |
#genpasswd <num_chars> | |
# generates a password of the specified length | |
genpasswd() { | |
local l=$1 | |
[ "$l" == "" ] && l=20 | |
tr -dc [:alnum:]\*\&\^\%\$\#\@\_ < /dev/urandom | head -c ${l} | xargs | |
} |
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 sh | |
# A shortcut function that simplifies usage of xclip. | |
# - Accepts input from either stdin (pipe), or params. | |
# from: https://madebynathan.com/2011/10/04/a-nicer-way-to-use-xclip/ | |
# author: Nathan Broadbent | |
# | |
# usage: | |
# -$ cd ~ | |
# -$ wget <raw file link> | |
# then add to .bashrc: |
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
CAL | |
DESCRIPTOR "Argyll Device Calibration State" | |
ORIGINATOR "vcgt" | |
CREATED "Tue Oct 10 19:21:51 2017" | |
KEYWORD "DEVICE_CLASS" | |
DEVICE_CLASS "DISPLAY" | |
KEYWORD "COLOR_REP" | |
COLOR_REP "RGB" |
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
# find / -name Xsetup 2>/dev/null | |
# -or- | |
# find / -name Default 2>/dev/null (e.g. /etc/gdm3/Init/Default) -- doesn't work in gdm3 ... | |
# vim <path to file>/Xsetup | |
# verify with $ xdpyinfo | grep -B 2 resolution | |
# add line: | |
# xrandr --dpi <dpi> |
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 2017 Nicholas Folse <https://github.com/NF1198>. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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 2017 tauTerra, LLC. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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 (c) 2018, tauTerra, LLC; Nicholas Folse | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* * Redistributions of source code must retain the above copyright notice, this | |
* list of conditions and the following disclaimer. | |
* * Redistributions in binary form must reproduce the above copyright notice, |
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
git-serve() { | |
echo git daemon: $PWD && git daemon --verbose --export-all --reuseaddr --port=9090 --base-path=$PWD $PWD | |
} |
OlderNewer