Subscribe: Comments for Tech Debug
Added By: Feedage Forager Feedage Grade B rated
Language: English
comment  curl  host  internet sharing  internet  openbsd  script  searchtype  sharing  skype  system  voip  write host  write 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Comments for Tech Debug

Comments for Tech Debug

Technical analysis of various topics

Last Build Date: Sat, 04 Feb 2017 19:52:38 +0000


Comment on Switching to multi-line mode using Textmate Regex by Brian

Sat, 04 Feb 2017 19:52:38 +0000

This was very helpful! I had searched all over before I found this, clearly explaining why /m was not working for me.

Comment on Somewhere Back in Time by Tamhas

Wed, 07 Dec 2016 03:49:23 +0000

Remember this... awesome!

Comment on Mantra: backup backup backup backup by Tam

Mon, 05 Dec 2016 01:50:08 +0000

I would say "cry". Unless it was my mother. With all my files she was taking care of for me. Then i would cry.

Comment on How to try Linux by Tam

Sun, 04 Dec 2016 16:32:54 +0000

Ugh... that's so 2010!

Comment on MSIEXEC Complete Install by Pedro Rocha

Thu, 17 Mar 2016 12:32:54 +0000

Thanks a lot!

Comment on Solaris tar and changing absolute paths by Udit

Tue, 21 Jul 2015 07:42:29 +0000

Unbelievable!!!! You rock!

Comment on Powershell: AWS and IAM policy retrieval by Jamin

Mon, 09 Mar 2015 22:56:06 +0000

Nice script. Very helpful. I extended it to do roles as well. Thank you for your help. #=============================================================================================== # Script to output all the IAM polcies #=============================================================================================== Import-Module AWSPowerShell # For URL Decode of Policy document [System.Reflection.Assembly]::LoadWithPartialName("System.web") | out-null #Form Output for script [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | out-null #Current Path $path = (Get-Item -Path ".\" -Verbose).FullName #Notify User $caption = "Warning!" $message = "This Script will override all current policies in:`n$path\Groups`nand`n$path\Roles`n with current AWS Policies! Do you want to proceed" $yesNoButtons = 4 if ([System.Windows.Forms.MessageBox]::Show($message, $caption, $yesNoButtons) -eq "NO") { Write "Script Terminated" Break } else { #delete existing policies stored locally if (Test-Path -LiteralPath $path\Groups -PathType Container) { Remove-Item -Recurse -Force $path\Groups } if (Test-Path -LiteralPath $path\Roles -PathType Container) { Remove-Item -Recurse -Force $path\Roles } $searchGroup = @() $searchRole = @() $groups = Get-IAMGroups $roles = Get-IAMRoles for ($i=0; $i -lt $groups.Count; $i++) { Write-Host -NoNewline "Creating Dir: " Write-Host $groups[$i].GroupName #create new dir New-Item -ItemType directory -Path $path\Groups\$($groups[$i].GroupName) | out-null #Add this group to search array $searchGroup += $groups[$i].GroupName } for ($i=0; $i -lt $roles.Count; $i++) { Write-Host -NoNewline "Creating Dir: " Write-Host $roles[$i].RoleName #create new dir New-Item -ItemType directory -Path $path\Roles\$($roles[$i].RoleName) | out-null #Add this role to search array $searchRole += $roles[$i].RoleName } #Get policies for each group and role and write out to directories foreach ($searchtype in $searchGroup) { Write-Host -NoNewline "Saving Policies for: " Write-Host $searchtype $a = Get-IAMGroupPolicies -GroupName $searchtype foreach ($this in $a) { $b = Get-IAMGroupPolicy -GroupName $searchtype -PolicyName $this $c = $b.PolicyDocument [system.web.httputility]::urldecode($c) > $path\Groups\$searchtype\$($b.PolicyName).json } } foreach ($searchtype in $searchRole) { Write-Host -NoNewline "Saving Policies for: " Write-Host $searchtype $a = Get-IAMRolePolicies -RoleName $searchtype foreach ($this in $a) { $b = Get-IAMRolePolicy -RoleName $searchtype -PolicyName $this $c = $b.PolicyDocument [system.web.httputility]::urldecode($c) > $path\Roles\$searchtype\$($b.PolicyName).json } } Write-Host "Script Finished" }

Comment on Powershell: AWS and IAM policy retrieval by lantrix

Sat, 08 Nov 2014 02:27:07 +0000

It's embedded in the post as a github gist; which you can find here:

Comment on Powershell: AWS and IAM policy retrieval by Glenn Russo

Thu, 06 Nov 2014 00:22:01 +0000

Any chance you could share the powershell script. :-)

Comment on End of Microsoft Development? by Tamalias

Sun, 23 Feb 2014 13:10:55 +0000

1 year? Your last post before this was Jan 2012!

Comment on Compiling readline on an OSX 10.5 intel x86_64 by Gil

Wed, 04 Dec 2013 12:09:31 +0000

Great! Thanks for sharing this!

Comment on OpenBSD – Akismet key could not be verified by Eric Brown

Wed, 09 Oct 2013 13:53:50 +0000

(followed by) /etc/rc.d/httpd restart

Comment on OpenBSD – Akismet key could not be verified by Eric Brown

Wed, 09 Oct 2013 13:52:41 +0000

@krastyo -- on my OpenBSD 5.3, I did pkg_add -i -v php-curl-5.3.21 ln -sf /etc/php-5.3.sample/curl.ini /etc/php-5.3/curl.ini and that solved the problem. Thanks for posting this fix!

Comment on PHP5 Zip Support on OpenBSD 4.5 by synapse

Fri, 19 Oct 2012 15:05:30 +0000

thanks man! it still work on 5.1, but you need execute configure --with-php-config=/usr/local/bin/php-config-5.3

Comment on Philips VOIP321 no longer works with Skype or later by Bill Kirkpatrick

Wed, 26 Sep 2012 04:41:23 +0000

For Chris Jackson - You've probably discovered the solution to your audio output issues by now, but in case someone else has the problem: the Philips download site provided earlier in this thread by Alfredmarks60 is still available as of Sept 2012 at and most of the answers to questions poised in this thread are provided in the FAQ on that site. It is a very comprehensive FAQ list. It covers issues like: how to let Skype use the Voip321 handset and non-Skype audio use the PC speakers; how to run it all on Windows7; troubleshooting topics; as well as many others. I have been using my Voip321 phones for several years, more than two years on Windows7 Home Edition. I used it 24x7 when my daughter was studying overseas but now only when I expect to receive or initiate Skype calls. I have loaded each Skype update without problems, presently VOIP321 driver version 3.8.3 and Skype version The more recent Skype releases have a peer-to-peer style process that allows Skype to use your computer in some fashion when not actually engaged in a call. It may have something to do with the instant messaging but it remains persistently running something in the background even after you have done an 'exit' from Skype. You must do a 'quit' sequence to shut it down completely. I noticed the computer running at nearly 100% in the middle of the night when nothing else was active on the computer. Task Manager indicated it was Skype using a high level of CPU when it wasn't apparently active. Skype instructions for System Administrators details how to turn this off, but it involves editing the Windows7 registry. I was letting VOIP321 and Skype start with Windows after a reboot, but sometimes Skype started before VOIP321 had started completely causing problems. Now I manually start VOIP321 and have VOIP321 set to initiate Skype and it all works without problems. Still happy that I bought it... Bill in Sydney, Australia.

Comment on Using your MacBookPro to PXEBoot OpenBSD by Aaron

Mon, 27 Aug 2012 16:37:40 +0000

Here are the steps I used to successfully PXE-boot OpenBSD from OSX. My MacBook Pro is connected to the Internet via the AirPort, and my soon-to-be OpenBSD box is connected to my Mac via the Ethernet port. As a slight added complication, my WLAN uses the 192.168.2.x subnet, so Internet Sharing needed to be adjusted to use a non-default address range. So first, I fixed my Internet Sharing address conflict: - Disable Internet Sharing - Close any System Preferences windows - Edit /Library/Preferences/SystemConfiguration/ to add: SharingNetworkNumberStart Then I configured and launched tftpd: - Edit /System/Library/LaunchDaemons/tftp.plist - Remove the "Disabled" key+value - Add -i to ProgramArguments - Invoke launchd: launchctl load -w /System/Library/LaunchDaemons/tftp.plist I downloaded the appropriate OpenBSD pxeboot files to /private/tftpboot: lwp-download lwp-download mv bsd.rd bsd Edited the bootpd.plist file: - Launch Internet Sharing and make a copy of /etc/bootpd.conf as lantrix describes above. - Stop Internet Sharing and copy your bootpd.conf back to /etc - Edit /etc/bootpd.conf: - Add dhcp_option_66 = Do an ifconfig to find the ip address of the interface that the OpenBSD box will be connecting to. In my case because of the modification I made to the InternetSharing settings, this is, but for a default OSX install it would be = Compute the Base64 string to use with this command: perl -MMIME::Base64 -e'print encode_base64(pack("C*",192,168,3,1))."\n"' - Add dbcp_option_67 = The proper string to use is "cHhlYm9vdAA=" for "pxeboot". = If you want to use a different file, you can compute the string like this: perl -MMIME::Base64 -e'print encode_base64("pxeboot")."\n"' Start up Internet Sharing. Make sure PXE-boot is enabled on the OpenBSD box and that the OpenBSD box. Boot it up! NB: If your OpenBSD box is on the same LAN as your OSX box rather than behind Internet Sharing as in my setup, you will need to adjust the IPs appropriately, and manually configure and launch the bootpd service. (and be careful to avoid DHCP server conflicts!)

Comment on OpenBSD – Akismet key could not be verified by Krastyo Komsalov

Fri, 17 Aug 2012 19:20:49 +0000

Seems there is one more piece in the puzzle. php5_curl turn out to be necessary to fix it; at least this is what worked on Solaris 10. Presence of php5_curl does not affect the way your script work. Seems either there is two problems leading to same error or some functionality had been moved to php5_curl. Here is the bug track record which gave me the idea to install php5_curl. My guess is that this is not strictly Solaris problem and it will be observed on any Unix PHP installation where php5_curl is not installed by default. Anyway there is no harm in installing one more PHP library :-)

Comment on Wikipedia Article creates Circular references by janvones

Thu, 28 Jun 2012 20:03:26 +0000

"Someone at the company either new it to be true..." Who nose what they gnu?

Comment on Solaris tar and changing absolute paths by Sunguy

Wed, 04 Apr 2012 15:52:55 +0000