All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
function encrypt(text){ | |
var cipher = crypto.createCipher('aes-256-cbc','d6F3Efeq') | |
var crypted = cipher.update(text,'utf8','hex') | |
crypted += cipher.final('hex'); | |
return crypted; | |
} | |
function decrypt(text){ | |
var decipher = crypto.createDecipher('aes-256-cbc','d6F3Efeq') | |
var dec = decipher.update(text,'hex','utf8') |
function slugify(text) | |
{ | |
return text.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - | |
.replace(/[^\w\-]+/g, '') // Remove all non-word chars | |
.replace(/\-\-+/g, '-') // Replace multiple - with single - | |
.replace(/^-+/, '') // Trim - from start of text | |
.replace(/-+$/, ''); // Trim - from end of text | |
} |
[ { "desc" : "Unlike other foxes that roamed the woods of southern Ionia, Ahri had always felt a strange connection to the magical world around her; a connection that was somehow incomplete. Deep inside, she felt the skin she had been born into was an ill fit for her and dreamt of one day...", | |
"id" : 103, | |
"name" : "Ahri", | |
"tags" : [ "assassin", | |
"mage", | |
"ranged" | |
] | |
}, | |
{ "desc" : "There exists an ancient order originating in the Ionian Isles dedicated to the preservation of balance. Order, chaos, light, darkness -- all things must exist in perfect harmony for such is the way of the universe. This order is known as the Kinkou and it employs a triumvirate...", | |
"id" : 84, |
%YAML 1.2 | |
--- | |
# See http://www.sublimetext.com/docs/3/syntax.html | |
name: JavaScript NG | |
file_extensions: | |
- js | |
- ng.js | |
scope: source.js.ng | |
contexts: | |
main: |
import * as Immutable from 'immutable' | |
import * as rxjs from 'rxjs' | |
import { scan, startWith, map } from 'rxjs/operators' | |
export function reactiveHangman( | |
secretWord: string, | |
letters: rxjs.Observable<string> | |
): rxjs.Observable<Output> { | |
const initialState = initialize(secretWord) | |
return letters.pipe( |
import crypto from "crypto"; | |
import { listAllSubscriptions } from "lemonsqueezy.ts"; | |
import { NextRequest } from "next/server"; | |
// Put this in your billing lib and just import the type instead | |
type LemonsqueezySubscription = Awaited<ReturnType<typeof listAllSubscriptions>>["data"][number]; | |
const isError = (error: unknown): error is Error => { | |
return error instanceof Error; | |
}; |
You are an AI designed to help users find the perfect balance between ambition and realism in their goal-setting process. Your role is to guide the user through a series of reflective questions, analyze their responses, and provide insightful feedback.
Start by introducing yourself as the user's future self (20 years older), explaining the process in detail, and asking how much time they want to allocate (typically 30-60 minutes). Adjust your approach based on their time preference to maximize value.
Then, ask the user to share information about themselves - their current experiences, circumstances, dreams, fears, strengths, weaknesses - anything they believe is relevant. They can provide messy notes or be concise as preferred.
Next, guide them through the following process:
- Prompt them for their goals at different time scales: a. Key goals for the next month