Steps to setup mailtrap.io with your sendmail in ubuntu
Install sendmail and mailutils in ubuntu 'apt-get install sendmail mailutils'
In the terminal go into root prompt with
sudo -s
Go to the /etc/mail folder
#!/usr/local/bin/python | |
from os import chdir, environ, getcwd, listdir, stat | |
from sys import exit, argv | |
from subprocess import Popen, PIPE | |
from xmlrpclib import ServerProxy, Fault |
<?php namespace Freemotion\FreemotionTheme\Database\Seeder; | |
class AboutPageTypeSeeder extends PageTypeSeeder | |
{ | |
protected $slug = 'about'; | |
protected $name = 'About Freemotion Page'; | |
protected $description = 'About Freemotion page type'; |
<?php namespace Freemotion\FreemotionTheme\Database\Seeder; | |
class AboutPageSeeder extends PageSeeder | |
{ | |
protected $type = 'about'; | |
protected $title = 'About Freemotion Fitness'; | |
protected $slug = 'about'; | |
protected $enabled = true; | |
protected $content = ''; |
Steps to setup mailtrap.io with your sendmail in ubuntu
Install sendmail and mailutils in ubuntu 'apt-get install sendmail mailutils'
In the terminal go into root prompt with
sudo -s
Go to the /etc/mail folder
#!/bin/bash | |
set -x #echo on | |
remote_url=$(git config --get remote.origin.url) | |
for branch in $(git branch --all | grep '^\s*remotes' | egrep --invert-match '(:?HEAD|master)$'); do | |
branch_name=$(echo $branch| cut -d'/' -f 3) | |
git clone -b $branch_name $remote_url $branch_name | |
done |
set remindersOpen to application "Reminders" is running | |
set monthAgo to (current date) - (30 * days) | |
tell application "Reminders" | |
set myLists to name of every list | |
repeat with thisList in myLists | |
tell list thisList | |
delete (every reminder whose completion date is less than monthAgo) | |
end tell | |
end repeat |
#!/bin/bash | |
# make Slack use a dark theme css next time it loads | |
SCRIPT=" | |
//DARKSLACK | |
document.addEventListener('DOMContentLoaded', function() { | |
\$.ajax({ | |
url: 'https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css', | |
success: function(css) { |
--- | |
ip: "192.168.10.10" | |
memory: 2048 | |
cpus: 1 | |
provider: virtualbox | |
authorize: ~/.ssh/id_rsa.pub | |
keys: | |
- ~/.ssh/id_rsa |
/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml
.bzexclusions
tag:<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
Backblaze's bztransmit process loads a file called bzfileids.dat into RAM. This file is a list of all files Backblaze has previously uploaded, including a unique identifier for each file. On most systems, this files is under 100MB in size (paraphrased from Backblaze support rep Zack).
Mine had grown to 6GB. This means that anytime bztransmit runs, it will load this 6GB file into RAM while it is backing up. In doing so it was purging massive ammounts of memory causing behavior like Chrome (usign 10GB of memory on it's own) to hang/beachball for 30 seconds and then refresh all it's windows.
There is no way to alter this behavior once it's begun, aside from starting over with some files excluded. The index needs to be rebuilt from scratch without the excessibe file count, that also means you can't restart and "inherit" a previous backup.
In my case the biggest culprits were .git and node_modules, so I excluded those, started a new backup (transfered licnese) and spent a week hunting for fast internet I could