Skip to content

Commit

Permalink
πŸ¦ˆπŸ πŸœβ— Initial Commit β—πŸœπŸ¦ˆπŸ 
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Hempstead committed Aug 15, 2020
0 parents commit 6fb9d7b
Show file tree
Hide file tree
Showing 29 changed files with 1,124 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# For more information about the configurations used
# in this file, please see the Travis CI documentation.
# .travis.yml
# https://docs.travis-ci.com

sudo: enabled

install:
- sudo bash -c "$(curl -LSs https://github.com/casjay-dotfiles/scripts/raw/master/install.sh)"
- pkmgr init
- sudo bash -c "$(curl -LSs https://github.com/casjay-dotfiles/scripts/raw/master/install.sh)"
- bash -c "$(curl -LSs https://github.com/casjay-dotfiles/personal/raw/master/install.sh)"
- ./install.sh

matrix:
include:
- os: linux
dist: bionic
language: bash
sudo: enabled

notifications:
email:
on_failure: never
on_success: never
10 changes: 10 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to https://unlicense.org

46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Personal
personal files
Howto install

clone this repo to your system and copy all personal files from your HOME to the skel dir

If you have GPG key then copy them to the tmp dir and
the installer will automatically install them ensure a .gpg
ending for public and for your private keys add a .sec ending

Change all instances of casjay-dotfiles/personal with your repo name
Create a private repo and then create a private token replace all instances
of AUTH_TOKEN_HERE with the private token you have Quick way is find to run the followng commands
the MY_GIT_REPO_URL does not include the https:// ( IE: github.com/casjay-dotfiles/personal )
```bash
git clone https://github.com/casjay-dotfiles/personal "$HOME/.local/dotfiles/personal"
for i in $(find "$HOME/.local/dotfiles/personal/etc" -name "*.sample"); do mv -fv "$i" "${i%.sample}" ; done
"$HOME/.local/dotfiles/personal/etc" -type f -exec sed -i "s#GITHUBAUTH_TOKEN_HERE#TokenYouCreated#g" {} \; >/dev/null 2>&1
"$HOME/.local/dotfiles/personal/etc" -type f -exec sed -i "s#MY_GIT_REPO_URL#YouritRepoG#g" {} \; >/dev/null 2>&1
```

Modify install.sh and this README to your liking
then push this to your git repo

#### All Unix and Linux

### Automated Install
```bash
bash -c "$(curl -LsS -H 'Authorization: token GITHUBAUTH_TOKEN_HERE' https://raw.githubusercontent.com/casjay-dotfiles/personal/master/install.sh)"
```
### To exclude minimal dotfiles
```bash
MIN=no bash -c "$(curl -LsS -H 'Authorization: token GITHUBAUTH_TOKEN_HERE' https://raw.githubusercontent.com/casjay-dotfiles/personal/master/install.sh)"
```
### Update
```bash
UPDATE=yes bash -c "$(curl -LsS -H 'Authorization: token GITHUBAUTH_TOKEN_HERE' https://raw.githubusercontent.com/casjay-dotfiles/personal/master/install.sh)"
```
### Windows install
```shell
GITHUB_ACCESS_TOKEN=GITHUBAUTH_TOKEN_HERE
git clone -q https://$GITHUB_ACCESS_TOKEN:x-oauth-basic@github.com/casjay-dotfiles/personal.git /tmp/dotfiles
cp -Rfva /tmp/dotfiles/etc/skel/. ~/
gpg --import /tmp/dotfiles/tmp/*.gpg
rm -Rf /tmp/dotfiles
```
164 changes: 164 additions & 0 deletions etc/aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
# You should modify this to meet your enviroment

mailer-daemon: postmaster
postmaster: postmaster
bin: admin
daemon: admin
adm: admin
lp: admin
sync: admin
shutdown: alerts
halt: admin
mail: admin
news: admin
uucp: admin
operator: admin
games: admin
gopher: admin
ftp: admin
contact: admin
radiusd: admin
nut: admin
dbus: admin
vcsa: admin
canna: admin
wnn: admin
rpm: admin
nscd: admin
pcap: admin
webalizer: admin
dovecot: admin
fax: admin
quagga: admin
radvd: admin
pvm: admin
amanda: admin
privoxy: admin
ident: admin
named: admin
xfs: admin
gdm: admin
mailnull: admin
postgres: admin
sshd: admin
smmsp: admin
postfix: admin
netdump: admin
ldap: admin
squid: admin
ntp: admin
mysql: admin
desktop: admin
rpcuser: admin
rpc: admin
snort: admin
nfsnobody: admin
ingres: admin
system: admin
toor: admin
manager: admin
dumper: admin
abuse: admin
newsadm: news
newsadmin: news
usenet: news
virusadmin: virusalert
apache: webmaster
www: webmaster
webmaster: admin
proxy-admin: admin
feedback: admin
noc: admin
security: pager
hostmaster: admin
info: postmaster
sales: postmaster
support: postmaster
monit: monitoring
monitoring: pager
alert: pager
alerts: pager
virusalert: pager
virus-tester: admin
backups: admin
update: admin
updates: admin
munin: admin
webmin: admin
usermin: admin
virtualmin: admin
icecast: admin
status: admin
nagios: admin
logwatch: admin
logcheck: admin
fail2ban: pager
aide: admin
dkim-milter: admin
decode: admin
asterisk: admin
pbx: admin
sms: pager
uptimed: admin
cron: admin
maintenance: alerts
smartmon: alerts
logs: admin
hosting: admin
request: hosting
hosting-request: hosting
push: admin
privacy: admin
policy: admin
nas-server: admin
build-system: admin
faxes: faxmaster
faxing: faxmaster
faxmaster: admin
reminders: no-reply
bugzilla-daemon: no-reply
vm: no-reply
kaltura: admin
dnssec-tools: admin
system-scripts: admin
ca-request: forwardto
nas: admin
root: admin
pager: admin
nobody: null
accounting: null
noreply: null
no-reply: null
marketing: null
contactus: null
null: /dev/null
devices: admin
faxadmin: admin
feedadmin: alert
dnsadmin: admin
ftpadm: ftp
ftpadmin: ftp
ssladmin: pager
ssl-admin: pager
www-admin: admin
dns-admin: admin
ca-admin: admin
radio-admin: admin
ftp-adm: ftp
ftp-admin: ftp
docker-admin: admin
cvsadmin: scm-admin
git-admin: scm-admin
svn-admin: scm-admin
cvs-admin: scm-admin
bzr-admin: scm-admin
travis-ci: ci-admin
jenkins-ci: ci-admin
gitlab-ci: ci-admin
jenkins: ci-admin
ci-admin: admin
scm-admin: admin
admin: forwardto
forwardto: administrator

# vim:ts=4:sw=4
9 changes: 9 additions & 0 deletions etc/default/useradd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# useradd defaults file
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no

18 changes: 18 additions & 0 deletions etc/login.defs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# *REQUIRED*
#QMAIL_DIR Maildir/
#MAIL_FILE Maildir/
MAIL_DIR Maildir/
PASS_MAX_DAYS 99999
PASS_MIN_DAYS 0
PASS_MIN_LEN 8
PASS_WARN_AGE 7
UID_MIN 10000
UID_MAX 50000
GID_MIN 10000
GID_MAX 50000
CREATE_HOME yes
UMASK 077
USERGROUPS_ENAB yes
ENCRYPT_METHOD SHA512

# vim:ts=4:sw=4
5 changes: 5 additions & 0 deletions etc/skel/.config/bash/local/dotfilespersonal.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dotfilespersonal() {
local MIN=no
local UPDATE=yes
bash -c "$(curl -LSs -H 'Authorization: token $GITHUB_ACCESS_TOKEN' $MYPERSONALGITREPO/raw/master/install.sh)"
}
12 changes: 12 additions & 0 deletions etc/skel/.config/castero/podcasts.opml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='us-ascii'?>
<opml version="1.0">
<head>
<title>castero feeds</title>
</head>
<body>
<outline text="feeds">
<outline type="rss" text="Windows Weekly (Video HI)" xmlUrl="http://feeds.twit.tv/ww_video_large.xml" />
<outline type="rss" text="Security Now (Video HI)" xmlUrl="http://feeds.twit.tv/sn_video_large.xml" />
</outline>
</body>
</opml>
7 changes: 7 additions & 0 deletions etc/skel/.config/git/message
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Changes: {{CURSOR}}

#Details: More details on why for need of changes

#Issue no: if it issue no. , an issue raised if any

#Feature no: Feature no. if working as Agile
11 changes: 11 additions & 0 deletions etc/skel/.config/mutt/muttrc.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# vim: filetype=neomuttrc
set mbox_type=Maildir
set mbox="~/.local/share/Maildir/local"
set spoolfile="~/.local/share/Maildir/local"
set folder="~/.local/share//Maildir/local"
set mask="!^\\.[^.]"
set record="+.Sent"
set postponed="+.Drafts"

source ~/.config/mutt/defaults.muttrc
source ~/.config/mutt/colors.muttrc
Loading

0 comments on commit 6fb9d7b

Please sign in to comment.