Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Joshua Aguilar joshuaaguilar20

🎯
Focusing
View GitHub Profile
@joshuaaguilar20
joshuaaguilar20 / systemctl.md
Created Jan 12, 2021
System CTL systemd systemctl
View systemctl.md

Systemctl Linux Server Status

To list all loaded services on your system (whether active; running, exited or failed, use the list-units subcommand and --type switch with a value of service.

# systemctl list-units --type=service
OR
# systemctl --type=service

List All Services Under Systemd

And to list all loaded but active services, both running and those that have exited, you can add the --state option with a value of active, as follows.

View computerFixes.md

Google Chrome

  • Cleared Cache on exit which you may or may not like. If this gets annoying and you want it to keep your history. Reset with
1. Open Google Chrome 
2. Click the little 3 dots in the top right 
3. click Settings 
4. Scroll Down to Privacy and Security 
5. Privacy and security
View readme.md

The Problem:

  1. Simply Blocking Urls is not enough to train users to relate submissions to urls.
  2. 2021 25 % of all phishing breaches will occur from a mobile device broswer. -reference owasp-top 10
  3. Can we create eyes and ears for the client on minimal premissions and processing power ?

The objective was to use peoplecentric methods to help train users on what urls they are submitting to. The idea was inspired by the https lock so many users are familre with. I then started to wonder if there was a way to do

We couldn’t find that file to show.
View logitechforlinux.md

Logitech documents

I have learned a bit from the kernel source code hid-logitech-dj, but the "official" Logitech specification (HID++ 1.0) was much more useful. These documents can be found on https://lekensteyn.nl/files/logitech/.

Debuggers usbmon.awk - initial debugging tool used for tapping usbmon from debugfs hidraw.c - successor of usbmon.awk that can parse packets of usb payload.

@joshuaaguilar20
joshuaaguilar20 / IosLinux.md
Created Jul 23, 2020
using ios keyboard on linux (not sure if it works will comment outcome
View IosLinux.md

For anyone stumbling upon this thread using one of the newer MacBook Pros (2016 and later) which need the applespi driver to make the keyboard and touchpad work, here's how to make this work, as I couldn't find any other thread explaining this for newer Macs.

As far as I understand, the driver effectively replaces the role of the hid_apple module, so the files to edit are slightly different.

  1. First, to verify that you are using the applespi driver and not the hid_apple driver, check which of these commands (using the terminal) returns something. Whichever does will tell you which driver you are currently using:

If this returns "applespi", you are using applespi

sudo ls /sys/module | grep applespi
@joshuaaguilar20
joshuaaguilar20 / installfedora.sh
Last active Jul 20, 2020
Bash Script for updating Fedora from 30 to 32
View installfedora.sh
#/bin/bash
dnf clean all
sudo dnf clean all
sudo dnf upgrade --refresh
sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --releasever=31
if
sudo dnf system-upgrade download --releasever=31; then
View AstronmoeyMeetup.md

Peninsula Astronomical Society holds its meetings on the campus of Foothill College at 7:30 p.m.

on the second Friday of each month in room 5015 next to Parking Lot 5. There is a $3 charge for parking — visitor parking permits are available from the machines in the parking lots (see map). Meetings feature lectures by prominent members of the professional and amateur communities, and are open to the public

View delete-git-branch.md

Delete a remote branch

$ git push origin --delete <branch> # Git version 1.7.0 or newer 
$ git push origin :<branch> # Git versions older than 1.7.0

Delete a local branch

$ git branch --delete <branch>
$ git branch -d <branch> # Shorter version
$ git branch -D <branch> # Force delete un-merged branches
View CelebrationOfLife.md

Tonys Celebration of Life

  • 6:00PM: Time Start
  • 6:00PM: Dinner
  • 7:00PM: Guest Speaker Chris
  • 8:00PM: Drinks/Music/Video

Supplies for Eating and Drinks - Camille