NAME:
version.sh - semver helper
VERSION:
0.0.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## To do this, we need the code below in a file somewhere on the Android device (in /data/checkdroid for example): | |
ANDROID_HOST=0 | |
ANDROID_BUSYBOX=/system/bin/busybox | |
ANDROID_BUSYBOX_APPLETS="acpid add-shell addgroup adduser adjtimex arp arping ash awk base64 basename beep blkid blockdev bootchartd brctl bunzip2 bzcat bzip2 cal cat catv chat chattr chgrp chmod chown chpasswd chpst chroot chrt chvt cksum clear cmp comm conspy cp cpio crond crontab cryptpw cttyhack cut date dc dd deallocvt delgroup deluser depmod devmem df dhcprelay diff dirname dmesg dnsd dnsdomainname dos2unix du dumpkmap dumpleases echo ed egrep eject env envdir envuidgid ether-wake expand expr fakeidentd false fbset fbsplash fdflush fdformat fdisk fgconsole fgrep find findfs flock fold free freeramdisk fsck fsck.minix fsync ftpd ftpget ftpput fuser getopt getty grep groups gunzip gzip halt hd hdparm head hexdump hostid hostname httpd hush hwclock id ifconfig ifdown ifenslave ifplugd ifup inetd init insmod install ionice iostat ip ipaddr ipc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# contributors: Generate MAINTAINERS content from git commits | |
# | |
# Author: Steven Enten <steven@enten.fr> | |
# License : MIT | |
# Requirements: dirname cat echo eval grep read readlink shift tail | |
# Site: https//github.com/enten/losh | |
set -u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AfterViewInit, ChangeDetectorRef, Directive, ElementRef, HostBinding, OnDestroy } from '@angular/core'; | |
import { NEVER, Observable, Subject } from 'rxjs'; | |
import { takeUntil } from 'rxjs/operators'; | |
@Directive({ | |
selector: '[ariaLabelReflectsContent]', | |
exportAs: 'ariaLabelReflectsContent', | |
standalone: true, | |
}) | |
export class AriaLabelReflectsContentDirective implements AfterViewInit, OnDestroy { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -u | |
## ======================================================================================== | |
## nygma : a tiNY Great MAnager | |
## ======================================================================================== | |
PROGNAME="nygma" | |
PROGVERS="0.0.3" | |
PROGHELP="Usage: $PROGNAME <Nygfile> [DIR] | |
Arguments: | |
<Nyfile> # Path to Nygfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Original PHP function from WordPress PrivateContent (users_manag.php:930): | |
// | |
// public function encrypt_psw($psw) { | |
// return base64_encode( serialize( array(base64_encode($psw), md5(sha1(10091988*strlen($psw))) ))); | |
// } | |
var Base64 = require('js-base64').Base64; | |
var PHPSer = require('php-serialize'); | |
var crypto = require('crypto'); | |
var md5 = require('md5'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"numero": 1, | |
"type": "invocation", | |
"nom": "Joueur Du Grenier", | |
"famille": "humain", | |
"illustration": null, | |
"description": "Une carte originale", | |
"descriptionDetaillee": "Saviez-vous que cette chemise a été achetée dans un magasin et que du coup cette carte n'a aucun effet spécial ?", | |
"attaque": 3, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2022 Steven Enten. All rights reserved. Licensed under the MIT license. | |
/** | |
* Install npm dependencies in a lazy-dumb-one-by-one way | |
* | |
* Usage: node npm-install-dumber.js [<package-name|package-type> ...] | |
* | |
* If `npm install` never succeeds: try to run this script as much as necessary. | |
* | |
* @example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = [] | |
.concat([ | |
'reset', | |
'bold', | |
'dim', | |
'italic', | |
'underline', | |
'blink', | |
, | |
'inverse', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Create observable that emits when image load event occurred on element. | |
* | |
* @param element | |
* @returns Observable on element's image load events | |
*/ | |
export function fromImageLoadEvents(element: HTMLElement): Observable<HTMLImageElement> { | |
return new Observable<HTMLImageElement>(observable => { | |
const images: HTMLImageElement[] = []; | |
let loadListener: (event: ProgressEvent) => void; |
NewerOlder