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
set btchoice to BT_Choice() | |
on BT_Choice() | |
-- Change the object listing of devices to the names of your personal Bluetooth devices | |
display dialog "Choose the device of your choice" with title "Selecting Device" buttons {"Keyboard", "Powerbeats 3", "Magic Trackpad"} default button "Powerbeats 3" | |
set Ndialogresult to the result | |
set DNameSel to button returned of Ndialogresult | |
display dialog "Whether to Connect or Disconnect the Device" with title "Handling Bluetooth" buttons {"Connect", "Disconnect", "Cancel"} default button "Connect" |
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
$bernardParameters = [ | |
'PartnerID' => 'Bernard ID', | |
'TotalTransactionAmount' => (float) "10.00", | |
'TransactionDate' => $this->carbon->now()->toIso8601String(), | |
'Channel' => '3-Internet', | |
'BatchType' => 'Web Import', | |
// This changes based on the type of card used | |
'BatchCategory' => 'Internet - Visa/MC', | |
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
# Export the private key file from the pfx file | |
openssl pkcs12 -in filename.pfx -nocerts -out key.pem | |
# Export the certificate file from the pfx file | |
openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem | |
# This removes the passphrase from the private key so Apache won't | |
# prompt you for your passphase when it starts | |
openssl rsa -in key.pem -out server.key |
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\Http\Middleware; | |
use Closure; | |
use Illuminate\Container\Container; | |
use Illuminate\Http\Request; | |
use Illuminate\Routing\Controller; | |
use Illuminate\Routing\Route; | |
class ApiDispatcher | |
{ |
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
--- | |
ip: "192.168.10.10" | |
memory: 2048 | |
cpus: 1 | |
provider: virtualbox | |
mariadb: true | |
authorize: ~/.ssh/id_rsa.pub | |
keys: |
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
{ | |
"name": "laravel/laravel", | |
"description": "The Laravel Framework.", | |
"keywords": ["framework", "laravel"], | |
"license": "MIT", | |
"require": { | |
"laravel/framework": "4.3.*", | |
"illuminate/html": "4.3.*@dev", | |
"lucadegasperi/oauth2-server-laravel": "3.0.*", | |
"cartalyst/sentinel": "1.0.*", |
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
sudo mv ~/Sites ~/Sites.old | |
ln -s <Volume Path> Sites |
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
mdutil -i on <Volume Path> |
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
# sudo nano /etc/mysql/my.cnf change: | |
bind-address = 0.0.0.0 |
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
# No delay on Dock display. | |
defaults write com.apple.Dock autohide-delay -float 0 | |
# Expand save panel by default | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true | |
# Expand print panel by default | |
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true | |
# Disable the “Are you sure you want to open this application?” dialog |
NewerOlder