Skip to content

Instantly share code, notes, and snippets.

View chrstphrchvz's full-sized avatar
🕳️
I tend to disappear

Christopher Chavez chrstphrchvz

🕳️
I tend to disappear
  • San Antonio, TX
View GitHub Profile
@chrstphrchvz
chrstphrchvz / Run AppleScript section
Created June 12, 2018 01:53
Get MacPorts checksums for macOS Finder Services menu (based on https://superuser.com/a/876122/414616)
on run {input, parameters}
with timeout of 360 seconds
tell application "System Events"
activate
display dialog input buttons {"OK"} default button 1 with title "MacPorts checksums" giving up after 300 --seconds
end tell
end timeout
end run
@chrstphrchvz
chrstphrchvz / lsblk.out
Last active January 21, 2017 09:58
smartdumps
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 931.5G 0 disk
sr0 11:0 1 1024M 0 rom
fd0 2:0 1 4K 0 disk
sdc 8:32 1 14.9G 0 disk
├─sdc2 8:34 1 1.5G 0 part [SWAP]
├─sdc3 8:35 1 13G 0 part /mnt2/rockstor_rockstor
└─sdc1 8:33 1 500M 0 part /boot
sda 8:0 0 931.5G 0 disk /mnt2/data
@chrstphrchvz
chrstphrchvz / syslog
Created August 18, 2016 01:58
/tmp/syslog for CentOS 7 installer issue
20:24:44,723 INFO rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="1771" x-info="http://www.rsyslog.com"] start
20:24:44,724 INFO kernel:[ 0.000000] Initializing cgroup subsys cpuset
20:24:44,724 INFO kernel:[ 0.000000] Initializing cgroup subsys cpu
20:24:44,724 INFO kernel:[ 0.000000] Initializing cgroup subsys cpuacct
20:24:44,724 NOTICE kernel:[ 0.000000] Linux version 3.10.0-229.el7.x86_64 ([email protected]) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 6 11:36:42 UTC 2015
20:24:44,724 INFO kernel:[ 0.000000] Command line: initrd=initrd.img inst.stage2=hd:LABEL=Rockstor\x203\x20x86_64 inst.text ip=dhcp ks=hd:LABEL=Rockstor\x203\x20x86_64:/ks.cfg BOOT_IMAGE=vmlinuz
20:24:44,724 INFO kernel:[ 0.000000] e820: BIOS-provided physical RAM map:
20:24:44,724 INFO kernel:[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009dbff] usable
20:24:44,724 INFO kernel:[ 0.000000] BIOS-e820: [mem 0x000000000009dc00-0x000000000009ffff] re
An autonomous robot was constructed for participation in the 2016 IEEE Region 5 Conference Student Robotics Competition, which will take place in April. The theme for the competition is a search and rescue operation, where the robot must retrieve "victims" (wooden rods) and return them to the appropriate drop off zones on the playing field. The competition specified general requirements and restrictions of the robot, such as size, permitted components, and time allowed per round. The chassis of the robot was constructed from an educational kit for a compact design and to allow modifications. DC gearmotors and a serial motor controller were used for locomotion, and a two degree-of-freedom grabber was used to lift and drop victims. The robot used a variety of low-cost sensors to perform navigation and detect victims, including range finders, gyroscope, color sensor, proximity sensors, and photogate. An Arduino microcontroller was used to control the robot’s electronic and electromechanical components. Third pa
@chrstphrchvz
chrstphrchvz / atiusb.txt
Created December 19, 2015 05:38
output of lsusb -D for ATI TV Wonder USB (NTSC)
Device: ID 0528:7561 ATI Technologies, Inc. TV Wonder
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0528 ATI Technologies, Inc.