docker run -d -p 9000:9000 --name minio minio/minio server /export
docker logs minio
import { ApolloServer, gql } from 'apollo-server-micro'; | |
const typeDefs = gql` | |
type Query { | |
sayHello: String | |
} | |
`; | |
const resolvers = { | |
Query: { |
docker run -d -p 9000:9000 --name minio minio/minio server /export
docker logs minio
Insprired by Gandhi
He told his grandson that violence is more than fighting, beating, killing & wars.
Made him split what he did into "Physcial" and "Passive". With a tree structure. Kept it up to date each day. Passive violence leads to psychical violence.
Words are Windows (or they're Walls)
Spys.one/Twitter@spys_one/Telegram@spys_one | |
51.83.45.138:80 FR-H - | |
18.234.138.124:80 US-H | |
149.28.72.14:3128 US-H + | |
203.150.160.80:8080 TH-N-S + | |
3.122.189.222:80 US-H - | |
170.0.92.83:46629 AR-H-S! - | |
23.20.214.120:3128 US-N-S! + | |
151.80.36.115:8080 FR-A-S! - | |
139.192.88.74:8080 ID-N-S + |
var detectNonEnglishWord = function (text) { | |
var regex = /^([A-Za-z\-'\. _.,!"\?'])*/g; | |
return text.replace(regex, "").split(" "); | |
}; | |
console.log(detectNonEnglishWord("Hello?!! 足下コンクリート")) |
It seems that it does not matter what timezone is on the server as long as you have the time set right for the current timezone, know the timezone of the datetime columns that you store, and are aware of the issues with daylight savings time.
On the other hand if you have control of the timezones of the servers you work with then you can have everything set to UTC internally and never worry about timezones and DST.
Here are some notes I collected of how to work with timezones as a form of cheatsheet for myself and others which might influence what timezone the person will choose for his/her server and how he/she will store date and time.
/** | |
* | |
* Detect Ad Blockers | |
* | |
* Copyright (c) 2017 James Robert Perih | |
* Permission is hereby granted, free of charge, to any person | |
* obtaining a copy of this software and associated documentation | |
* files (the "Software"), to deal in the Software without | |
* restriction, including without limitation the rights to use, | |
* copy, modify, merge, publish, distribute, sublicense, and/or sell |
{"tags":[],"lastModified":1518102547785} |
# to cut first 3 seconds and length 8 seconds (custom step done for each file) | |
ffmpeg -ss 3 -t 8 -i VID00080.MP4 -vcodec copy -acodec copy white.MP4 | |
# to burn in the timecode (r=framerate) (use in loop like below) | |
# ffmpeg -i $MOVIE -vf "drawtext=fontfile=/Users/artsyinc/Library/Fonts/PxPlus_VGA_SquarePx.ttf: fontsize=128: timecode='00\:00\:00\:00': r=30: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000000@1" timecode/$MOVIE | |
# to speed up | |
for MOVIE in $(ls | grep MP4); | |
do LENGTH=$(ffprobe -i $MOVIE -show_format -loglevel quiet | egrep -oE 'duration=(\d+)' | awk -F= '{print $2}'); | |
RATIO=$(echo 7.0/$LENGTH | bc -l); |
#! /usr/bin/perl | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. |