As of the time of this writing, IFTTT has no integration for Mastodon. Yet, it's possible to connect the two.
-
Login to your Mastodon account
-
Go to Preferences > Developer and register a new application with
write:statuses
permission.
As of the time of this writing, IFTTT has no integration for Mastodon. Yet, it's possible to connect the two.
Login to your Mastodon account
Go to Preferences > Developer and register a new application with write:statuses
permission.
This script scans your Dropbox (or any given folder) for folders stored in the ignore
array and excludes them from syncing. Makes use of the official Dropbox CLI
I'm a beginner at bash, so all improvements are welcome!
#!/bin/bash
set -e
# SETTINGS
These steps should have been mentioned in the prerequisites of the Laravel Installation Guide, since I'm surely not the only person trying to get Laravel running on macOS.
Install Mcrypt using Homebrew and PECL (comes with PHP)
# PHP 7.3
-- Helper function to repeat string | |
function rep(char, multiplier) | |
local out = "" | |
for i=1, multiplier do | |
out = out..char | |
end | |
return out | |
end |
File type | Sublime Text | Atom |
---|---|---|
ActionScript | source.actionscript.2 | ? |
AppleScript | source.applescript | [.source.applescript] |
ASP | source.asp | ? |
Batch File | source.dosbatch | ? |
BibTex | source.bibtex | ? |
BridleNSIS | [source.nsis.bridle] | [.source.nsis.bridle] |
C | source.c | [.source.c] |
C# | source.cs | [.source.cs] |
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
You want a script that does a local compile to e.g. an out/
directory. Let's call this compile.sh
for our purposes, but for your project it might be npm build
or gulp make-docs
or anything similar.
The out/
directory should contain everything you want deployed to gh-pages
. That almost always includes an index.html
.
#!/bin/bash | |
# droppid v0.2.3 | |
# Public Domain Mark 1.0 | |
# https://gist.github.com/idleberg/81ed196f2401be045893 | |
# | |
# Usage: sudo [sh] droppid.sh [priority] | |
# Check for sudo | |
if [ "$EUID" -ne 0 ]; then |
<?php | |
/** | |
* Case-insensitive in_array() wrapper. | |
* | |
* @param mixed $needle Value to seek. | |
* @param array $haystack Array to seek in. | |
* | |
* @return bool | |
*/ |