more content

tengel 2024-03-20 11:55:03 -05:00
parent 18985af3ba
commit 38987eb89c
7 changed files with 1239 additions and 0 deletions

15
RPM-Info.md Normal file

@ -0,0 +1,15 @@
## Remove 32bit Packages
```
rpm -qa --queryformat='%{n}-%{v}-%{r}.%{arch}\n' | grep '\.i[3456]86$' | xargs rpm -ev
```
## Compile Python bytecode
Python files should be precompiled and included in the RPM to avoid SElinux problems, as well as providing pre-compiled bytecode for the non-root users.
```
# Precompile python modules to avoid selinux issues later
python -mcompileall %{buildroot}/some/package/directory
python -O -mcompileall %{buildroot}/some/package/directory```
```

1112
Recover-Deleted-ext3.md Normal file

File diff suppressed because it is too large Load diff

36
Roku-Info.md Normal file

@ -0,0 +1,36 @@
## Debug Options
```
Home Home Home Home Home FastForward FastForward FastForward Rewind Rewind
(Home:5x, FF:3x, Rewind:2x)
```
## Installed Versions
```
Home Home Home Up Up Left Right Left Right Left
(Home:3x, Up:2x, Left, Right, Left, Right, Left)
```
## Developer Mode
```
Home Home Home Up Up Right Left Right Left Right
(Home:3x, Up:2x, Right, Left, Right, Left, Right)
http://rokuip/plugin_inspect
http://rokuip/plugin_install
http://rokuip/plugin_package
http://rokuip/pkgs
```
## Quality Settings
```
Home Home Home Home Home Rewind Rewind Rewind FF FF
(Home:5x, Rewind:3x, FF:2x)
```
## References
- <http://andrewmemory.wordpress.com/2010/07/29/roku-netflix-player-secret-screens/>

40
Samba-OSX.md Normal file

@ -0,0 +1,40 @@
## OSX Permissions
Starting with OS X 10.5.4 there have been problems with the Mac client connecting and properly working with group-style permissions set on a Samba server (10.5.3 and below seem fine). Additionally, 10.6.x introduced a new issue with vetoed `.DS_Store` files that worked fine on 10.5.x and below. Adjust this to meet the specific needs.
```
/etc/samba/smb.conf
# [...] other stuff
# OS X 10.4 can't see if set to 0 (infinity) -- solves problem
# of >4TB disk space available to these clients
max disk size = 4000000
# OS X 10.5 is really broken, these are to stop it from being bad
create mask = 0664
force create mode = 0664
security mask = 0000
force security mode = 0664
directory mask = 0775
force directory mode = 0775
directory security mask = 0000
force directory security mode = 0775
# OS X 10.6 can't handle .DS_Store in your 'veto files' line - crashes
delete veto files = yes
## veto files = /Icon?/:2eDS_Store/.DS_Store/
veto files = /Icon?/:2eDS_Store/
# [...] other stuff
[homes]
comment = Home Directories
browseable = no
writable = yes
create mask = 0644
directory mask = 0755
force create mode = 0644
force directory mode = 0755
```

22
Thunderbird-LDAP-AD.md Normal file

@ -0,0 +1,22 @@
## LDAP with Active Directory
AD does not use the exact same attributes that Thunderbird is expecting for autocomplete; once the AD LDAP server is set up in Thunderbird it will have preferences based on the name given it; replace MYSERVER with the correct name below.
1. Open the Thunderbird Preferences, select the **Advanced -\> General** tab\</li\>
2. Click **Config Editor** (dismiss the warning if it appears)\</li\>
3. Rightmouse click and chose **New -\> String Value** to add these items (so repeat the process for each pair below):
```
Preference name: ldap_2.servers.MYSERVER.attrmap.DisplayName
Preference value: displayName
Preference name: ldap_2.servers.MYSERVER.autoComplete.commentFormat
Preference value: [displayName]
Preference name: ldap_2.servers.MYSERVER.autoComplete.nameFormat
Preference value: [displayName]
Preference name: ldap_2.servers.MYSERVER.autoComplete.filterTemplate
Preference value: (|(mail=*%v*)(displayName=*%v*)(givenName=*%v*)(sn=*%v*)(cn=*%v*))
```

@ -8,6 +8,12 @@
- [[Kernel Boot Debug]]
- [[LUKS Encrypted Partitions]]
- [[Proxmox Doodads]]
- [[RPM Info]]
- [[Radeon Temperature]]
- [[Recover Deleted ext3]]
- [[Roku Info]]
- [[Samba OSX]]
- [[Thunderbird LDAP AD]]
- [[uBlock Filters]]
- [[udev Hide Partitions]]

8
udev-Hide-Partitions.md Normal file

@ -0,0 +1,8 @@
Handy for hiding partitions from showing up on your desktop:
**/etc/udev/rules.d/99-hide-partitions.rules**
```
KERNEL=="sda1",ENV{UDISKS_IGNORE}="1"
KERNEL=="sda2",ENV{UDISKS_IGNORE}="1"
```