Pi: Samba: Initial setup

Raspberry Pi change username

Sources:

Pi username change

log out
sudo passwd root
<root_passwd>

logout

usermod –l mdp pi
<mdp_passwd>

Check home dir

usermod –m –d/home/mdp mdp

Pi Password change

Logout
login mdp
passwd

Samba - list users

sudo pdbedit -L -v

Unix username:        jimmy
NT username:          
Account Flags:        [U          ]
User SID:             S-1-
Tags

Git: /.git/hooks/post-commit to push to origin repo on commit

Some applications - such as gitg - make available LOCAL commits & branch management, but have no provision for PUSHING to the remote origin.

Luckly, git leverages 'hooks' that provide a means to add shell scripts for such a need.

Once a commit is done on a branch, git will call "/.git/hooks/post-commit" and - if present - will run the contained shell script.


#!/bin/bash

#
# post-commit web hook
#
#git push -u origin develop
git push -u origin ffsync-setup

#
# set this file to executable
#
# chmod 755 post-commit
#

this code block will push the ffsync-setup branch to the remote origin

 

Tags

Linux: WINE: porting Wine form one host to another

source: http://wiki.playonlinux.com/index.php/How_to_move_PlayOnLinux_virtual_drives_to_another_disk

 

How to move PlayOnLinux virtual drives to another disk

 

There have been several requests for this feature over the years, but nothing has been implemented yet.

However, you can manage disk space the Unix way, which requires no special application support (taken from https://www.playonlinux.com/en/topic-10841-PoL_Directory_Location.html ):

Tags

Chrome Lighthouse Audit Tool

 

Download nodejs

to test deployment, run version command

nodejs$ ./node -v

$ v10.16.0

Install Chrome

Install lighthouse

npm install -g lighthouse

Lighthouse CLI

lighthouse <url>

lighthouse https://google.com

 

Testing NodeJS/Creating a NodeJS Server

/**
 * SanityTest for NodeJS v10
 */

var http = require('http');
http.createServer(
    function handler(req,res){
        res.writeHead(200,{'Content-Type': 'text/plain'});
        res.end('Hello World\n');
    }).listen(1337, '127.0.0.1');
    
console.log('Server running at http://127.0.0.1:1337/');

 

 

 

 

Linux: List audio devices /proc/asound/cards

 

 cat /proc/asound/cards
 0 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xf6ffc000 irq 40
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xf6ddc000 irq 41
 2 [CODEC          ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at usb-0000:00:1d.0-1.6.1, full speed
 3 [U25            ]: USB-Audio - USB Axiom 25
                      M-Audio USB Axiom 25 at usb-0000:00:1d.0-1.4, full speed
silosix@M6500:~/Videos$ cat /proc/asound/cards
 0 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xf6ffc000 irq 40
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xf6ddc000 irq 41
 2 [CODEC          ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at usb-0000:00:1d.0-1.6.1, full speed

 

Tags

Linux OpenJDK8 Installation (Since Oracle has Begun Its Final Chapter of Enslavement)

 

 

How to download and install prebuilt OpenJDK packages

JDK 9 & Later

Oracle's OpenJDK JDK binaries for Windows, macOS, and Linux are available on release-specific pages of jdk.java.net as .tar.gz or .zip archives.

As an example, the archives for JDK 11 may be found on jdk.java.net/11 and may be extracted on the command line using

$ tar xvf openjdk-11*_bin.tar.gz

or

$ unzip openjdk-11*_bin.zip

depending on the archive type.

Tags

JACK Audio Connection Kit

JACK Audio Connection Kit is a low latency audio device manager for Linux

Settings

 

 

<img src=""/>

https://unityconstruct.org/

https://unityconstruct.org//media/img/dev/os/linux/jack/20190704_Setup-JACKAudioConnectionKit_020.png

 

https://unityconstruct.org//media/img/dev/os/linux/jack/

https://unityconstruct.org//media/img/dev/os/linux/jack/

 

https://unityconstruct.org/media/img/dev/os/linux/jack/20190704_JACKAudioConnectionKit%5BBehringer-2%5DStarted._019.png

Tags
Subscribe to