javascript twitter export follow(ers/ing)

var ttResultsList = []; var currentPosition = -1; function exportTT() { let cList = []; if (currentPosition < window.scrollY) { window.scrollTo(0, document.body.scrollHeight); for (const d of document.querySelectorAll(‘div[data-testid=”UserCell”]’)) { let img = d.getElementsByTagName(‘img’)[0].src; let usr =…

find git repos link on dir

#!/usr/bin/env bash if [ -z “$1” ]; then echo “No arguments supplied” else RESULTS_FILE=$(echo $1 | sed -e ‘s/\//_/g’) RESULTS_FILE=”$HOME/repos__links__”$RESULTS_FILE”.txt” echo $RESULTS_FILE touch $RESULTS_FILE find $1 -type f -name “config” -print0 | xargs -I {}…

PHP: trunkate text by word

protected function truncateText(string $string, $maxLength = 140): string{ return substr($string, 0, strpos(wordwrap($string, $maxLength), PHP_EOL));}

makeScript.sh

#!/bin/bash if [ -z “$1” ]; then echo “No arguments supplied” else PATH=$HOME”/sh/” FILE_SCRIPT=$1 echo $PATH$FILE_SCRIPT if [ ! -f $PATH$FILE_SCRIPT ]; then #echo “File not found!” /bin/touch $PATH$FILE_SCRIPT /bin/echo “#!/bin/bash” > $PATH$FILE_SCRIPT /bin/chmod 755…

typo3conf/AdditionalConfiguration.php

<?php defined(‘TYPO3_MODE’) || die(); /* * .htaccess: SetEnv TYPO3_CONTEXT Development * bash: export TYPO3_CONTEXT=Development * * @see https://usetypo3.com/application-context.html */ $currentContext = \TYPO3\CMS\Core\Utility\GeneralUtility::getApplicationContext(); $redisConfiguration = __DIR__ . DIRECTORY_SEPARATOR . ‘RedisConfiguration.php’; if ($currentContext->isDevelopment() || empty(getenv(‘TYPO3_CONTEXT’)) || stristr($_SERVER[‘HTTP_HOST’],…

soa

SOA #1 – nr 1: U mnie działa. SOA #2 – nr 2: U mnie też nie działa. SOA #4 – nr 4: Się naprawi – pracujemy nad poprawką. SOA #8 – nr 8: Google…