This repo consist a small CLI mac os program for take screenshort each 10 minute.
convert must be install on computer. (brew install imagemagick)
- Close this repository (branch master, default)
- Add alias
alias startWork='/startwork.sh'
0 | |
SECTION | |
2 | |
BLOCKS | |
0 | |
ENDSEC | |
0 | |
SECTION | |
2 | |
ENTITIES |
import java.util.Locale | |
fun slug(str: String): String { | |
return translit(str) | |
.lowercase(Locale.ENGLISH) | |
.replace(Regex("[^a-zA-Z0-9]"), "-") | |
.replace(Regex("-+"), "-") | |
.trim('-') | |
} |
[ | |
{ | |
"background": { | |
"name": "Carbon fibre 2", | |
"style": "background-image: url('/bg/carbonfibre/carbon_texture1874.png');" | |
} | |
}, | |
[ | |
"esc\n`", | |
"Q", |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/v.stelmashchuk/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
{"test": "test2", "etst2":43} |
val point = -somePoint | |
pointA - pointB | |
pointA + pointB | |
point * Double | |
point * Float | |
point * Int | |
point / Double | |
point / Float | |
point / Int |
val pointA = Point() | |
val pointB = Point() | |
val plusResult = Point(pointA.x + pointB.x, | |
pointA.y + pointB.y) | |
val minusResult = Point(pointA.x - pointB.x, | |
pointA.y - pointB.y) | |
val divResult = PointF(pointA.x / 4.2, | |
pointA.y / 4.2) | |
val timesResult = PointF(pointA.x * 2, |
val pointA = Point() | |
val pointB = Point() | |
val plusResult = pointA + pointB | |
val minusResult = pointA - pointB | |
val divResult = pointA / 4.2 | |
val timesResult = pointA * 2 |
val path = Path(); | |
val topLeft = PointF(); | |
val bottomRight = PointF(); | |
path.addRect(topLeft.x, topLeft.y, | |
bottomRight.x, bottomRight.y) |