Skip to content

Instantly share code, notes, and snippets.

View a8bit's full-sized avatar

Steve Boswell a8bit

  • Targ
  • 10:52 (UTC -05:00)
View GitHub Profile
@a8bit
a8bit / log
Created March 17, 2022 11:55
ADConnect install error
[12:21:59.436] [ 20] [INFO ] UserSignInConfigPageViewModel: AD Domains: notAddedDomains 1, notVerifiedDomains 0, verifiedDomains 1
[12:21:59.436] [ 20] [INFO ] UserSignInConfigPageViewModel: Azure Domains: aadUnverifiedDomains 0, aadVerifiedDomains 1
[12:21:59.436] [ 20] [INFO ] UserSignInConfigPageViewModel: The currently selected sign-in method is PasswordHashSync
[12:21:59.441] [ 1] [WARN ] UserSignInConfigPageViewModel: Some users will not be able to sign-in to Azure AD with on-premises credentials as their UPN suffixes in AD do not have a corresponding Azure verified domain in tenant (butlersupply.com).
[12:22:24.562] [ 1] [INFO ] Page transition from "Azure AD sign-in" [UserSignInConfigPageViewModel] to "Configure" [PerformConfigurationPageViewModel]
[12:22:24.568] [ 1] [INFO ] ProgressWizardPageViewModel:StartProgressOperation Start background task Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.PerformConfigurationPageViewModel.BackgroundInitialize in Page:"Ready to configure"
[12:22:24.568]
@a8bit
a8bit / phpbb.php
Created August 23, 2020 22:40
Fixed phpBB importer for bbPress. Works with phpBB 3.1.3 and bbPress 2.6.5
<?php
/**
* bbPress phpBB 3.x Converter
*
* @package bbPress
* @subpackage Converters
*/
/**
@a8bit
a8bit / gist:265ec54b7ea4001e5fc01b6ebf96e18d
Created January 23, 2018 20:23
MAME -listfull for MAME 0.193
This file has been truncated, but you can view the full file.
Name: Description:
005 "005"
100lions "100 Lions (10219211, NSW/ACT)"
10yard "10-Yard Fight (World, set 1)"
10yard85 "10-Yard Fight '85 (US, Taito license)"
10yardj "10-Yard Fight (Japan)"
11beat "Eleven Beat"
1292apvs "1292 Advanced Programmable Video System"
1392apvs "1392 Advanced Programmable Video System"
18w "18 Wheeler (set 1)"
@a8bit
a8bit / shutdown.py
Created January 8, 2018 21:13
Shutdown script for Raspberry Pi. Momentary button short pin 5 to gnd to trigger shutdown
#!/usr/bin/python
# sudo apt-get -y install python-dev
# wget https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.5.11.tar.gz
# tar -zxvf RPi.GPIO-0.5.11.tar.gz
# cd RPi.GPIO-0.5.11
# sudo python setup.py install
# sudo nano /etc/rc.local
#
# Put "sudo python /path/to/shutdown.py &" before "exit 0"
@a8bit
a8bit / Stop Raspberry Pi Screen Blanking.md
Last active May 8, 2018 12:04
Disable screen blanking on Raspberry Pi

###If you boot to console

sudo nano /etc/kbd/config

Look for:

BLANK_TIME=30

and

@a8bit
a8bit / changeconfont.md
Created June 17, 2016 21:01
Change the console font on Raspbian

sudo dpkg-reconfigure console-setup

@a8bit
a8bit / txtdedup.txt
Created June 3, 2016 13:58
De-duplictate a text file with multiple identical lines (e.g. a csv or similar)
awk '!seen[$0]++' filename
@a8bit
a8bit / cleansd.txt
Last active August 8, 2016 22:29
Remove all '._*', '.Ds_Store', '.AppleDouble' and 'Thumbs.db' files from the current path down
find ./ -depth -name '._*' -exec rm "{}" \;
find ./ -depth -name '.DS_Store' -exec rm "{}" \;
find ./ -depth -name ".AppleDouble" -exec rm -Rf {} \;
find ./ -depth -name ‘Thumbs.db’ -exec rm "{}" \;
@a8bit
a8bit / rpi-overclock.txt
Created February 4, 2016 20:27
Better stable overclock settings for Raspberry Pi 2
arm_freq=1000
over_voltage=0
core_freq=500
sdram_freq=483
over_voltage_sdram_p=0
over_voltage_sdram_i=0
over_voltage_sdram_c=0
gpu_mem=256
@a8bit
a8bit / config.txt
Created February 4, 2016 20:18
default raspberry pi config.txt file
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1