Instantly share code, notes, and snippets.

View CountriesTableSeeder.php
<?php
use Illuminate\Database\Seeder;
class CountriesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
View Install Spotify stable (v 0.9.17) on Fedora 23 64-bit
# START GUIDE
# Make sure you copy the whole lines into Terminal. Each command is on one line.
# Open Terminal and become root
sudo -s
# Update system
dnf upgrade
View vscode.bat
@start "vscode" "C:\Program Files (x86)\Microsoft VS Code Insiders\Code - Insiders.exe" %*
View add-path.ps1
function global:Add-Path() {
[Cmdletbinding()] param([parameter(Mandatory=$True,ValueFromPipeline=$True,Position=0)] [String[]] $addedFolder)
# Get the current search path from the environment keys in the registry.
$oldPath=(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
# See if a new folder has been supplied.
if (!$addedFolder) {
return 'No Folder Supplied. $ENV:PATH Unchanged'
}