Configuration file for deploying ActualBudget Server to Fly.io.
- Create a new volume called
actualbudget_data
in the same region you want to deploy your application.
That's it! Deploy now :)
FROM alpine AS base | |
CMD ["echo", "'Base stage'"] | |
############################################# | |
FROM base AS development | |
CMD ["echo", "'Development stage'"] |
Configuration file for deploying ActualBudget Server to Fly.io.
actualbudget_data
in the same region you want to deploy your application.That's it! Deploy now :)
import { visit } from 'unist-util-visit' | |
export default () => (tree, file) => { | |
visit(tree, 'element', (node) => { | |
if (! ('tagName' in node) || node.tagName !== 'pre') { | |
return; | |
} | |
node.properties.className.push('not-prose') | |
}) |
<?php | |
trait Sortable | |
{ | |
/** | |
* This function receives a $newOrder array parameter, which contains the order in which | |
* we should sort our items after being dragged in the UI. The format of the $newOrder is: | |
* | |
* [ | |
* newIndex => [ |
<?php | |
namespace App\Traits; | |
use Illuminate\Database\Eloquent\Builder; | |
use Illuminate\Support\Arr; | |
trait Searchable | |
{ | |
/** |
<?php | |
namespace App\Http\Middleware; | |
use Cache; | |
use Closure; | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Exception\GuzzleException; | |
use GuzzleHttp\RequestOptions; | |
use Illuminate\Http\Request; |
#!/bin/bash | |
# Add Microsoft's APT Repository | |
curl -s https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
sudo bash -c "curl -s https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list" | |
# Get the packages | |
sudo apt update | |
sudo ACCEPT_EULA=Y apt -y install msodbcsql17 mssql-tools | |
sudo apt -y install unixodbc-dev |
ctrl_interface=DIR=/var/run/wpa_supplicant | |
update_config=1 | |
network={ | |
ssid="<SSID Goes Here>" | |
proto=RSN | |
key_mgmt=WPA-PSK | |
pairwise=CCMP TKIP | |
group=CCMP TKIP | |
psk="<Password Goes Here>" |
#include <iostream> | |
using namespace std; | |
int main() { | |
int numeros[999][999]; | |
int filas, columnas; | |
int i, j; | |
int x; | |