Skip to content

Instantly share code, notes, and snippets.

@0xc0re
0xc0re / compile-ffmpeg-nvenc.sh
Created February 10, 2019 15:18
This bash script will compile a static Ffmpeg build with NVENC and VAAPI hardware-accelerated support on Ubuntu in your home directory. You can modify the script to customize the build options as you see fit.
#!/bin/bash
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu.
#See the prefix path and compile options if edits are needed to suit your needs.
#install required things from apt
installLibs(){
echo "Installing prerequisites"
sudo apt-get update
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \
@0xc0re
0xc0re / dashboard.html
Created December 3, 2018 19:42 — forked from robinwarren/dashboard.html
Trello dashboard using Bootstrap and JQuery
<html>
<head>
<title>A Trello Dashboard</title>
<link rel="stylesheet" media="screen" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1>Trello Dashboard</h1>
<form class="form-horizontal" id="boards_form">
@0xc0re
0xc0re / Windows Defender Exclusions VS 2017.ps1
Created October 1, 2018 14:48 — forked from dknoodle/Windows Defender Exclusions VS 2017.ps1
Adds Windows Defender exclusions for Visual Studio 2017
$userPath = $env:USERPROFILE
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null
$pathExclusions.Add('C:\Windows\assembly') > $null
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null
@0xc0re
0xc0re / reclaimWindows10.ps1
Created September 19, 2018 21:38 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
@0xc0re
0xc0re / check_link.py
Created April 28, 2018 21:32 — forked from DanielKoohmarey/check_link.py
A simple python script to check broken links of a wesite
@0xc0re
0xc0re / extract_urls_from_page.py
Created March 27, 2018 20:32 — forked from olooney/extract_urls_from_page.py
A simple wrapper around BeautifulSoup to quickly find the URLs of all resources referenced by an HTML page.
'''A simple wrapper around BeautifulSoup to quickly find the URLs of all resources referenced by an HTML page.'''
import urllib2
import urlparse
import BeautifulSoup
def make_soup(url):
page = urllib2.urlopen(url)
contents = page.read()
soup = BeautifulSoup.BeautifulSoup(contents)