Skip to content

Instantly share code, notes, and snippets.

@jpouellet
jpouellet / manuf.sh
Created July 5, 2016 03:41
Offline lookup of MAC address / vendor pairs using Wireshark OUI database.
#!/bin/sh
db_source='https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf'
z=$(basename -- "$0")
if [ -z "$MANUFDB" ]; then
MANUFDB=~/.cache/manuf.db
fi
db=$MANUFDB
@fffaraz
fffaraz / resources.md
Last active November 8, 2023 22:55
CS 306 - Linux/UNIX Programming
@gmccreight
gmccreight / master.vim
Last active June 19, 2024 15:30
A script that gives you a playground for mastering vim
" copy all this into a vim buffer, save it, then...
" source the file by typing :so %
" Now the vim buffer acts like a specialized application for mastering vim
" There are two queues, Study and Known. Depending how confident you feel
" about the item you are currently learning, you can move it down several
" positions, all the way to the end of the Study queue, or to the Known
" queue.
" type ,, (that's comma comma)
@anchetaWern
anchetaWern / php-webscraping.md
Created August 4, 2013 13:18
web scraping in php

Have you ever wanted to get a specific data from another website but there's no API available for it? That's where Web Scraping comes in, if the data is not made available by the website we can just scrape it from the website itself.

But before we dive in let us first define what web scraping is. According to Wikipedia:

{% blockquote %} Web scraping (web harvesting or web data extraction) is a computer software technique of extracting information from websites. Usually, such software programs simulate human exploration of the World Wide Web by either implementing low-level Hypertext Transfer Protocol (HTTP), or embedding a fully-fledged web browser, such as Internet Explorer or Mozilla Firefox. {% endblockquote %}

@jshaw
jshaw / byobuCommands
Last active July 4, 2024 10:58
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window