This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Variables - edit to suit your environment | |
# Path to the ESET Endpoint Antivirus installer package file | |
pkgpath="/path/to/installer.pkg" | |
# Path to exported settings file you wish to import | |
settingsfile="/path/to/eset_settings" | |
# Set the variable below to "replace" if you are going to apply your own user settings to the ESET GUI (e.g. notifications/alerts) | |
replaceguicfg="yes" | |
# Path to the directory containing your custom ESET user GUI configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Settings] | |
Priority=FallbackDeployRoot, DefaultGateway, Default | |
[FallbackDeployRoot] | |
; Default deployment root in case of failure in the next step with the gateway selection | |
DeployRoot=\\CZ-PRG-MDT\ClientDeploymentShare$ | |
[DefaultGateway] | |
; Based on the default gateway we will select corresponding location section | |
172.24.39.254=CZ-PRAHA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def delete(api, date, r): | |
with open("likes.csv") as file: | |
count = 0 | |
for row in csv.DictReader(file): | |
tweet_id = int(row["tweet_id"]) | |
try: | |
print "Deleting like" | |
api.CreateFavorite(status_id=tweet_id) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'twitter' | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = "" | |
config.consumer_secret = "" | |
config.access_token = "" | |
config.access_token_secret = "" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'twitter' | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = "YOUR_CONSUMER_KEY" | |
config.consumer_secret = "YOUR_CONSUMER_SECRET" | |
config.access_token = "YOUR_ACCESS_TOKEN" | |
config.access_token_secret = "YOUR_ACCESS_SECRET" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
VOLUME_PATH=/Volumes/installer | |
while getopts ":d:h" opts; do | |
case $opts in | |
d) | |
VOLUME_PATH=$OPTARG | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################## | |
# ELIMINATE SPOTIFY ADS (VERSION 1.2 - 8.5) - ABANDONED FOR NOW # | |
################################################################################## | |
# | |
# NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD WHILE USING APP VERSION 7.5-7.9?-8.x. | |
# USING AN OFFICIAL OLDER VERSION SOLVES THIS. TEST IT (APKMIRROR). THIS WILL NOT | |
# OCCUR USING CHROMECAST / GOOGLE HOME. | |
# | |
# COULD NOT SOLVE THE AUDIO AD INRO/OUTRO IN THE APP. | |
# SUGGESTIONS? WRITE A COMMENT BELOW. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$domainSearchList = Read-Host "Please enter a list of domain suffixes separated by semicolons (e.g. domain.local;domain.tld;int.domain.tld)" | |
$scopeToConfigure = Read-Host "Please enter the scope id of the scope to be configured (e.g. 192.168.1.0)" | |
$splittedDomainSearchList = $domainSearchList -split "\;" | |
$domainSearchListHexArray = @(); | |
Foreach ($domain in $splittedDomainSearchList) | |
{ | |
$splittedDomainParts = $domain -split "\." | |
Foreach ($domainPart in $splittedDomainParts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tweepy | |
from time import sleep | |
# creds.py is a custom file that holds all of your consumer keys and API keys. you will need to make it. | |
from creds import * | |
import os | |
from datetime import datetime as dt | |
import random | |
auth = tweepy.OAuthHandler(consumer_key=consumer_key, consumer_secret=consumer_secret) | |
auth.set_access_token(access_key, access_secret) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import sys | |
from datetime import datetime | |
from b2.api import B2Api | |
def parse(inp, mformat=None, thing=None): | |
if thing is None: | |
thing = 'th' | |
if mformat is None: |