Original source: https://hackpad.com/Web-And-Mobile-Revenue-Models-(final)-EgXuEtSibE7
- Display Ads - ex. Yahoo!
- Search Ads - ex. Google
- Text Ads - ex. Google
- Video Ads - ex. Hulu
- Audio Ads - ex. Pandora
- Promoted Content - ex. Twitter, Tumblr
#!/bin/bash | |
############################################################################### | |
# Script Name: system_maintenance.sh | |
# | |
# Description: This script performs various system maintenance tasks on Linux | |
# systems, such as updating and upgrading packages, cleaning the | |
# package cache, and removing old kernel headers and images. | |
# | |
# Usage: sudo ./system_maintenance.sh [-u] [-c] [-p] |
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key Content\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize |
#!/usr/bin/env bash | |
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error | |
# Make sure that the .gnupg directory and its contents is accessibile by your user. | |
chown -R $(whoami) ~/.gnupg/ | |
# Also correct the permissions and access rights on the directory | |
chmod 600 ~/.gnupg/* | |
chmod 700 ~/.gnupg |
# Get-BitLockerRecovery.ps1 | |
# Written by Bill Stewart (bstewart@iname.com) | |
<# | |
.SYNOPSIS | |
Gets BitLocker recovery information for one or more Active Directory computer objects. | |
.DESCRIPTION | |
Gets BitLocker recovery information for one or more Active Directory computer objects. |
#!/usr/bin/env bash | |
# | |
# PHP | |
# | |
sudo apt install apt-transport-https lsb-release ca-certificates wget curl software-properties-common gnupg2 -y | |
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | |
sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' |
<select> | |
<option value="">Select a District ...</option> | |
<option value="Ablekuma North Municipal">Ablekuma North Municipal</option> | |
<option value="Ablekuma West Municipal">Ablekuma West Municipal</option> | |
<option value="Abuakwa North Municipal">Abuakwa North Municipal</option> | |
<option value="Abura Asebu Kwamankese District">Abura Asebu Kwamankese District</option> | |
<option value="Accra Metropolitan">Accra Metropolitan</option> | |
<option value="Ada East District">Ada East District</option> | |
<option value="Ada West District">Ada West District</option> | |
<option value="Adaklu District">Adaklu District</option> |
Original source: https://hackpad.com/Web-And-Mobile-Revenue-Models-(final)-EgXuEtSibE7
# One liner | |
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com | |
# Explained | |
wget \ | |
--recursive \ # Download the whole site. | |
--page-requisites \ # Get all assets/elements (CSS/JS/images). | |
--adjust-extension \ # Save files with .html on the end. | |
--span-hosts \ # Include necessary assets from offsite as well. | |
--convert-links \ # Update links to still work in the static version. |
#!/usr/bin/env python3 | |
#-*- coding: utf-8 -*- | |
import requests, re | |
try: | |
headers = {"User-Agent": "Mozilla/5.0 (Windows 98) AppleWebKit/5322 (KHTML, like Gecko) Chrome/36.0.836.0 Mobile Safari/5322"} | |
country = input("Country (e.g US) : ") |