Go to the API v2 explorer and generate a token with update:tenant_settings
. Then call the tenants endpoint with the new HTML:
PATCH https://{YOUR_DOMAIN}/api/v2/tenants/settings
{
"change_password": {
"enabled": true,
#!/usr/bin/ruby | |
require 'open-uri' | |
require 'uri' | |
require 'net/http' | |
require 'json' | |
@user = '' | |
@pass = '' | |
@team = '' |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
{ | |
"require": { | |
"mfacenet/hello-world": "v1.*" | |
} | |
} |
import * as models from "models"; | |
import Sequelize from "sequelize"; | |
import fs from "fs"; | |
delete models.default; | |
const sequelize = new Sequelize( | |
'', | |
'', | |
'', { |
brew install ImageMagick
ffmpeg -ss 14:55 -i video.mkv -t 5 -s 480x270 -f image2 %04d.png
// The following data should be run in the console while viewing the page https://read.amazon.com/ | |
// It will export a CSV file called "download" which can (and should) be renamed with a .csv extension | |
var db = openDatabase('K4W', '3', 'thedatabase', 1024 * 1024); | |
getAmazonCsv = function() { | |
// Set header for CSV export line - change this if you change the fields used | |
var csvData = "ASIN,Title,Authors,PurchaseDate\n"; | |
db.transaction(function(tx) { |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
import {call, put, take, fork} from 'redux-saga/effects' | |
import {END} from 'redux-saga' | |
import CategoryActions, {CategoryTypes} from '../Redux/CategoryRedux' | |
// attempts to fetch category | |
export function* fetchCategoryServer (api) { | |
let action = yield take(CategoryTypes.CATEGORY_SERVER) | |
// check when it stopped | |
while (action !== END) { | |
yield fork(fetchCategoryAPI, api) |