Skip to content

Instantly share code, notes, and snippets.

View Jawn78's full-sized avatar

Jonathon Palmieri Jawn78

View GitHub Profile
@Jawn78
Jawn78 / GoogleDorking.md
Created March 13, 2024 16:45 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@Jawn78
Jawn78 / Tweepy Python API code
Created February 13, 2018 18:46
Tweepy - Python API Code
import tweepy
auth = tweepy.OAuthHandler("Auth- Handler", "Auth Acces Handler")
# Redirect user to Twitter to authorize
redirect_user(auth.get_authorization_url())
# Get access token
auth.get_access_token("verifier_value")// Access Token
@Jawn78
Jawn78 / gist:aaba680a92167deb04b38d3ee7e15bb0
Created February 13, 2018 18:42
Raspberry Pi - Python code to preview camera. Working on a Photobooth & FPV Wifi remote car.
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.start_preview()
sleep(65)
camera.stop_preview()
@Jawn78
Jawn78 / OER - OpenNLP - Tika
Created February 13, 2018 18:02
Tika and OpenNLP - Practice example
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package rex1nlp;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
@Jawn78
Jawn78 / gist:bab736aeeb9c5b0f64d99e7aceeb1d98
Created February 13, 2018 17:57
Open NLP, Apche Tika, and XML used to perform entity recognition, though the models need to be trained, which has led me to work with REGEX and other libraries to process the data while adding information to the model to improve recognition
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package rex1nlp;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import opennlp.tools.namefind.NameFinderME;
@Jawn78
Jawn78 / gist:632f87e28ae92bf5574011ab1fd4b340
Created February 13, 2018 17:50
This is a project using Apache Lucene, and Apache Tika to extract document information and prep for entity recognition
package rex1nlp;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import opennlp.tools.tokenize.TokenizerME;
import opennlp.tools.tokenize.TokenizerModel;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
@Jawn78
Jawn78 / Automated Posting
Created February 13, 2018 17:39
Selenium - Jsoup - Tika - Automated Web Posting
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package rexautomation;
import java.util.concurrent.TimeUnit;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;