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
https://support.apple.com/en-ie/HT201860 | |
https://apple.stackexchange.com/questions/103720/how-to-downgrade-efi-firmware-back-to-version-1-6 | |
I finally managed to successfully downgrade the EFI firmware to version 1.6. Unfortunately that didn't make my hard drive work. However I'm going to reproduce my steps here so that the whole world can know what it takes: | |
Download the EFI firmware update package from Apple. Here is the link I used for firmware version 1.6 for my late-2008 MacbookPro5,1: http://support.apple.com/kb/DL746 | |
WARNING! If you use the wrong firmware for you computer, bad things will almost certainly happen. This isn't my experience but it would probably brick your computer, meaning it will change from being a computer that can compute things to being a brick that just sits there. You have been warned! | |
The EFI firmware update 1.6 comes as a .pkg file. Since it won't extract for you unless your computer needs the update, you will have to extract it yourself. The best way I found |
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
Use Imagick to manipulate PSD file instances in PHP | |
Time: Jan 15, 2017 From Machine Translation. | |
php | |
References: | |
Http://www.php.net/manual/en/book.imagick.php | |
premise | |
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
Follow this steps | |
https://www.digitalocean.com/community/tutorials/how-to-build-android-apps-with-jenkins | |
The missing part: accept all licenses | |
yes | sudo /opt/android-sdk-linux/bin/sdkmanager --licenses |
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
find . -name "*.php" | while read line; do expand -t 4 $line > $line.new; mv $line.new $line; done |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ACPI</key> | |
<dict> | |
<key>DSDT</key> | |
<dict> | |
<key>Debug</key> | |
<false/> |
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
<?php | |
namespace App\Console; | |
use Illuminate\Console\Command; | |
/** | |
* Class PidLockingCommand | |
* | |
* Implements a command with pidlocking control to avoid conflicting processing |
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
https://blogs.msdn.microsoft.com/microsoft_azure_guide/2014/12/13/how-to-allow-ping-functionality-to-windows-azure-machines/ | |
The Ping functionality on Windows Azure VM is blocked by default for security reasons, to be to enable them you can do that from the Windows firewall advanced features on each VM or you can login on the virtual machine and open the command prompt as an administrator and execute this command. | |
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" dir=in action=allow enable=yes protocol=icmpv4:8,any |
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
<?php | |
$listening = true; | |
$ip = '0.0.0.0'; | |
$port = 9679; | |
$server = stream_socket_server("tcp://{$ip}:{$port}", $errno, $errstr); | |
$w = $e | |
= []; | |
if (!$server) { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ACPI</key> | |
<dict> | |
<key>DSDT</key> | |
<dict> | |
<key>Debug</key> | |
<false/> |
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
<?php | |
namespace App\Models; | |
use Illuminate\Database\Eloquent\Model; | |
class City extends Model | |
{ | |
/** | |
* @var array |