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
{{ $var }} - Echo content | |
{{ $var or 'default' }} - Echo content with a default value | |
{{{ $var }}} - Echo escaped content | |
{{-- Comment --}} - A Blade comment | |
@extends('layout') - Extends a template with a layout | |
@if(condition) - Starts an if block | |
@else - Starts an else block | |
@elseif(condition) - Start a elseif block | |
@endif - Ends a if block |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# System: macOS 12+ | |
# Version: TeamViewer v15.x.x | |
# Python: 3.x.x | |
# Command: sudo python TeamViewer-15-id-changer.py | |
# | |
import os |
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
"5e04e9f95e04e9f9" |
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
#!/usr/bin/env bash | |
# apt-get update | |
sudo apt-get install -y unzip | |
sudo apt-get install -y nodejs | |
sudo apt-get install -y npm | |
#if ! [ -e /home/vagrant/.composer ]; then | |
# mkdir /home/vagrant/.composer | |
# |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAr70C4GLq/TP8LskGKu23G5CM4UW+14TZLwfXMzyzzSTuWivEKMIbas1RbvNtgehhIBPoxDcJ5BK8Ac7VC2KsnvTHA5CvmMSIi2dYSFWLSc/7Yh7znbhb58mTVu1An38PJIlkW90gsfhQRKJCz4mWMohygg/0obIdvEqSvcTnDWYYv1u8sG3BazExIuX6pxpt7Q7BwWD9939hbzKlttVmuwEH+9PJzmOIvFRIVSE2GntMMEVyD5nYwXWH4Edo0hh+n+nOTnobPH0QYpaxPxDYHK9FQ2Mxn90XF99hLeiWTIdzqY22q62smfinjWeupSWuXCoNbEiTpciB1/mi0Ocw5w== [email protected] |
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 | |
$DBUSER="user"; | |
$DBPASSWD="password"; | |
$DATABASE="user_db"; | |
$filename = "backup-" . date("d-m-Y") . ".sql.gz"; | |
$mime = "application/x-gzip"; | |
header( "Content-Type: " . $mime ); |
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
#!/bin/bash | |
# | |
# Restart Wifi if network connection doesn't respond. | |
# Usage: Open Terminal, and execute this script. | |
# Optimally you want to use a terminal multiplexer like screen to keep it running | |
# | |
while : | |
do | |
ping -c 3 google.nl |
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 | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.1.1 (LTS) on 2015-06-11. | |
* | |
* @author Barry vd. Heuvel <[email protected]> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { |