Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
<# | |
.SYNOPSIS | |
Script to force update Skype for Business Clients Global Address List Written by Michael Mardahl (iphase.dk) | |
(Provided AS-IS! I will not be held liable for any negative consequences) | |
.DESCRIPTION | |
This script will shutdown the SfB client, update the registry and delete the GAL DB, then start the client again. It should be run in the users context as it does user specific things. | |
.EXAMPLE | |
Just run the script without parameters |
SECTION code_clib | |
PUBLIC disz80 | |
PUBLIC _disz80 | |
EXTERN fputc_cons | |
; This code is been found in a ZX Spectrum tool called UTILITY3 v1.3 |
org 32768 | |
init_scroll: | |
ld hl,message-1 ; set to refresh char on first call | |
ld (scroll_pos),hl | |
ld hl,pix_count ; variable to check if new character needed | |
ld (hl),1 | |
ret | |
update_scroll: |
# Captive portal setup | |
######################################################## | |
sudo apt-get update -qq | |
sudo apt-get install -qq dnsmasq vim hostapd ufw dnsutils netstat-nat conntrack nginx php5 php5-common php5-fpm | |
sudo mkdir /usr/share/nginx/html/portal | |
sudo useradd nginx | |
sudo chown nginx:www-data /usr/share/nginx/html/portal | |
sudo chmod 755 /usr/share/nginx/html/portal | |
######################################################## |
global | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
stats socket /run/haproxy/admin.sock mode 660 level admin | |
stats timeout 30s | |
user haproxy | |
group haproxy | |
daemon | |
maxconn 2048 |
""" | |
Store this file as `vars_plugins/password_from_keyring.py` and specify the | |
following in `ansible.cfg`: | |
``` | |
[defaults] | |
vars_plugins=./vars_plugins | |
``` | |
In your inventory specify: |
#! /bin/bash | |
CONFIG_DISK_THRESHOLD=95 | |
FR_PIDFILE=/var/run/freeradius/freeradius.pid | |
FR_BINARY=/usr/sbin/freeradius | |
DATE_MIN=$(date +%_M) | |
TEST_USER=checkuser | |
TEST_DOMAIN=my.domain.example | |
TEST_PASSWORD=password |
from hashlib import md5 | |
from binascii import unhexlify, hexlify | |
seq_xor = lambda c, b: ''.join( | |
chr(x) for x in map(lambda X: ord(X[0]) ^ ord(X[1]), zip(c, b)) | |
) | |
# |