How to use:
./wordle.sh
Or try the unlimit mode:
#!/bin/bash | |
# Get BTP OAuth access token | |
# Usage: | |
# btp_accesstoken <appname> | |
# | |
# Call this bash script with btp_accesstoken <appname> where appname is a name | |
# of your apps on btp. | |
# You can retrieve the list of apps with 'cf a' | |
# Login credentials are retrieved from bitwarden. You have to be logged into it already | |
# client_id, client_secret, oauth endpoint are retrieved from 'cf de <appname>'. You have to be looged into it as well. |
This is an include to use utterances comments on any Jekyll static site. It is fully compatible with GitHub Pages.
Add utterances.html
to your /_includes
folder. Put the following include statement in the part of your layout/page/post/include that you want the comments to be in:
{% include utterances.html %}
_schema-version: 2.0.0 | |
ID: bookshop | |
version: 1.0.0 | |
parameters: | |
enable-parallel-deployments: true | |
modules: | |
- name: bookshop-db | |
type: hdb | |
path: db |
WeeChat terminal IRC client
var express = require('express'), | |
httpProxy = require('http-proxy'), | |
proxy = new httpProxy.createProxyServer(); | |
var routing = { | |
'sapui5': { | |
target: 'http://localhost:8001' //sdk | |
}, | |
'apps': { | |
target: 'http://localhost:8002' //applications |
import math | |
def total_cost(amount): | |
return int(math.ceil(amount + 0.5 + 0.01 * amount)) | |
def reduce_balance(balance, amount): | |
if amount < balance: | |
balance -= total_cost(amount) | |
return balance |
var alphabet = 'abcdefghijklmnopqrstuvwxyz'; | |
function rotText(text, n) { | |
var newText = ""; | |
for (var i = 0, j = text.length; i < j; i++) { | |
newText += rot(text[i], n); | |
} | |
return newText; | |
} |