Skip to content

Instantly share code, notes, and snippets.

View mstaack's full-sized avatar
🎯
Focusing

Max mstaack

🎯
Focusing
View GitHub Profile
@mstaack
mstaack / .screenrc
Created July 22, 2019 07:43 — forked from Coomer/.screenrc
Coomer's .screenrc for GNU Screen on Mac OS X. Save this as .screenrc in your home directory.
altscreen on
hardstatus on
hardstatus alwayslastline
startup_message off
termcapinfo xterm ti@:te@
hardstatus string " %{= kC}%-w%{.rW}%n %t%{-}%+w %=%{..C} %H %{..C} %m/%d "
defscrollback 1000
# Bind C-a v to copy buffer to Mac OS X clipboard.
bind v eval "writebuf" "exec sh -c 'pbcopy < /tmp/screen-exchange'"
@mstaack
mstaack / index.html
Created July 10, 2019 17:58
Quasar Framework v1
<div id="q-app">
<div class="q-ma-md">
Fork and make your own!
Do NOT use self-closing tags here on Codepen.
</div>
<div class="q-ma-md">
<q-btn label="Notify" color="primary" @click="notify"></q-btn>
</div>
@mstaack
mstaack / UFW_ban_country.md
Created April 28, 2019 23:29 — forked from jasonruyle/UFW_ban_country.md
UFW to block countries
@mstaack
mstaack / packages
Created February 27, 2019 08:57
composer packages
atlas/pdo 1.1.0 Provides a PDO instance decorator with convenience methods, and a connection manager.
atlas/query 1.2.0 Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer.
christianbarkowsky/rel-canonical 3.3.5 Avoiding Duplicate Content. Extension for Contao Open Source CMS
clue/stream-filter v1.4.0 A simple and modern approach to stream filtering in PHP
codefog/contao-haste 4.21.2 haste extension for Contao Open Source CMS
codefog/contao-news_categories 3.0.15 News Categories bundle for Contao Open Source CMS
codefog/contao-widget_tree_picker dev-master 7755787 widget_tree_picker extension for Contao Open Source CMS
composer/ca-bundle 1.1.3 Lets you find a path to the system CA bundle, and includes a fallback to the Mozi
quasar git:(dev) yarn build
yarn run v1.13.0
$ node build/script.build.js
💥 Cleaned build artifacts.
📦 Building Quasar v1.0.0-beta.2... [multi-threaded]
[js] dist/babel-transforms/imports.js 7.98kb
[json] dist/api/QBadge.json 1.21kb
@mstaack
mstaack / Adapter.php
Created January 24, 2019 17:19
flysystem encryption adapter
<?php
namespace MStaack\EncryptedAdapter;
use League\Flysystem\AdapterDecorator\DecoratorTrait;
use League\Flysystem\AdapterInterface;
use League\Flysystem\Config;
use phpseclib\Crypt\AES;
/**
* Class EncryptionDecorator
@mstaack
mstaack / proxvm.sh
Created December 14, 2018 12:53 — forked from huksley/proxvm.sh
Get list of all virtual machines on proxmox 4+, both LXC and QEMU and detect IP addresses
#!/bin/bash
# proxvm
# Output in specifed format (default csv) all virtual machines on proxmox 4+
SERVER=localhost
USERNAME=apiread@pve
PASSWORD=123456
FORMAT=csv
while [[ $# > 0 ]]; do
key="$1"
@mstaack
mstaack / .gitignore
Created November 27, 2018 22:50 — forked from jbergler/.gitignore
Acestream on Mac
.vagrant
@mstaack
mstaack / BinaryFileResponse.php
Created November 17, 2018 22:30 — forked from stealth35/BinaryFileResponse.php
BinaryFileResponse with X-SendFile and Date Range
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
  1. ownload mojave installer -> app store
  2. formatting usb: diskutil partitionDisk /dev/disk1 2 MBR FAT32 "CLOVER EFI" 200Mi HFS+J "install_osx" R

install https://bitbucket.org/RehabMan/clover/downloads/Clover_v2.4k_r4701.RM-4963.ca6cca7c.zip to CLOVER Partition

For Clover UEFI, run the Clover Installer package:

  • if using MBR, select the target of the install to "CLOVER EFI" using "Change Install Location"
  • select "Customize" (the default is a legacy install -- we need to change it)