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
postgres=# SELECT TO_DATE('2020-W53','YYYY-XWW'); | |
-[ RECORD 1 ]------- | |
to_date | 2020-12-30 |
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
May 5 05:05:21 kernel: klogd started: BusyBox v1.25.1 (2020-08-24 13:10:55 CST) | |
May 5 05:05:21 kernel: Linux version 2.6.36.4brcmarm (root@asus) (gcc version 4.5.3 (Buildroot 2012.02) ) #1 SMP PREEMPT Mon Aug 24 13:18:01 CST 2020 | |
May 5 05:05:21 kernel: CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c53c7f | |
May 5 05:05:21 kernel: CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache | |
May 5 05:05:21 kernel: Machine: Northstar Prototype | |
May 5 05:05:21 kernel: Ignoring unrecognised tag 0x00000000 | |
May 5 05:05:21 kernel: Memory policy: ECC disabled, Data cache writealloc | |
May 5 05:05:21 kernel: Built 1 zonelists in Zone order, mobility grouping on. Total pages: 60416 | |
May 5 05:05:21 kernel: Kernel command line: root=/dev/mtdblock2 console=ttyS0,115200 init=/sbin/preinit earlyprintk debug | |
May 5 05:05:21 kernel: Memory: 255504k/255504k available, 6640k reserved, 0K highmem |
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
mips-linux-uclibc-gcc -mips32r2 -msoft-float -pipe -Wall -I. -I./asp -I../../shared/ -I/build/apps/private/utils -I/build/apps/public/json-c -I../../libdisk/ -I/build/apps/private/access_log -I/build/apps/public/networkmap -G0 -fshort-wchar -DTRENDCHIP -O2 -DLINUX26 -DTCSUPPORT_CPU_MT7510 -DTCSUPPORT_CPU_RT63365 -DTC3262 -DTCSUPPORT_MT7510_FE -DTCSUPPORT_ADDR_MAPPING -DTCSUPPORT_WAN_ITF_LIMIT -DTCSUPPORT_HWNAT_LED -DTCSUPPORT_WLAN_MT7592_PCIE -DTCSUPPORT_2_6_36_KERNEL -DTCSUPPORT_WAN_ATM -DTCSUPPORT_WAN_PTM -DTCSUPPORT_WAN_ETHER -DTCSUPPORT_QDMA_BUFMGR -DTCSUPPORT_BB_NAND -DTCSUPPORT_NAND_BMT -DTCSUPPORT_SQUASHFS_ADD_YAFFS -DTCSUPPORT_YAFFS_FS -DTCSUPPORT_YAFFS_BLOCK=400 -DTCSUPPORT_DDR_CALI -DTCSUPPORT_BOOTROM_LARGE_SIZE -DSTART_ADDR=0x80002000 -DTCSUPPORT_FREE_BOOTBASE -DTR068_LED -DTCSUPPORT_WLAN -DWSC_AP_SUPPORT -DLED_WPSSPEC_COMPLY -DIGMP_SNOOP_SUPPORT -DMT7592 -DBBUTOWBU -DMT7612E -DBBUTOWBU -DTCSUPPORT_DUAL_WLAN -DTCSUPPORT_WLAN_AC -DVHT_SUPPORT -DTCSUPPORT_USBHOST -DRTCONFIG_USB -DTCSUPPORT_USB_NTFS |
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
def leggi_file(nome_file): | |
file = open(nome_file, 'r') | |
lineee = file.read() | |
file.close() | |
return linee | |
def calcola_percentuali(linee): | |
diz={} | |
for line in linee: | |
x = line.strip().split(" ") |
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
// This PoC code can hook into a JS app, and sniff for all REST connections happening | |
// storing them into local storage | |
// | |
// How to use it | |
// Open crome, press F12 in the page you wanna sniff the connections | |
// launch | |
initFetchSniffer() | |
let response = await fetch(`https://api.github.com/users/gnuton`); | |
await response.json() | |
fetchLog() |
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
function sendCSVviaEmail { | |
echo "Sending file via email..." | |
AWS_CLI="/usr/bin/aws" | |
SENDER=${EMAIL_SENDER} | |
RECIPIENT=${EMAIL_RECIPIENT} | |
SUBJECT=${EMAIL_SUBJECT} | |
BODY=${EMAIL_BODY} | |
ATTACHMENT_TYPE="text/plain" | |
ATTACHMENT_FILE_NAME="report.csv" |
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
#!/usr/bin/python | |
filename="hla.dat" | |
alleles= [] | |
OP_BEGIN="ID" | |
OP_WIDTH=2 | |
LAST=-1 |
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
Wacom CTH-490 | |
==== List of devices === | |
gnuton@Jeremia:~$ xsetwacom --list devices | |
Wacom Intuos PT S 2 Pen stylus id: 10 type: STYLUS | |
Wacom Intuos PT S 2 Finger touch id: 11 type: TOUCH | |
Wacom Intuos PT S 2 Pad pad id: 12 type: PAD | |
==== Bind buttons to Express keys ==== | |
Express Keys are the 4 keys on the tablet. |
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
// Mixamo Animation downloadeer | |
// | |
// Author: Antonio Aloisio <gnuton@gnuton.org> | |
// Contributions: kriNon | |
// | |
// The following script make use of mixamo2 API to download all anims for a single character that you choose. | |
// The animations are saved with descriptive long names instead of the short ones used by default by mixamo UI. | |
// | |
// This script has been written by gnuton@gnuton.org and the author is not responsible of its usage | |
// |
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
Aardwolf | |
Abdol, Ahmet | |
Abner Little | |
Abominable Snowman | |
Abomination | |
Abominatrix | |
Abraxas | |
Absalom | |
Absorbing Man | |
Abyss |
NewerOlder