This is an markdown for uploading temporary images.
These images are used in here : Angular Animations - Demo using keyframes
# role/user/tasks/main.yml | |
- name: Add sudoers settings | |
become: yes | |
template: | |
dest: '/etc/sudoers.d/bar' | |
src: 'sudoers-myapp' | |
mode: 0440 | |
tags: user-group | |
# role/systemd/tasks/main.yml | |
- name: Add myappd.service | |
become: yes | |
template: | |
src: 'myappd.service.j2' | |
dest: '/etc/systemd/system/myappd.service' | |
mode: 0644 | |
tags: systemd |
// import android.content.Context.WINDOW_SERVICE | |
// import android.view.WindowManager | |
// import android.graphics.Point | |
// privat val size by lazy { | |
private val size = { | |
Point().also { | |
(context.getSystemService(WINDOW_SERVICE) as WindowManager) | |
.defaultDisplay |
import fileinput | |
w = open('write.txt','a') | |
with fileinput.input(files=('read.txt')) as f: | |
for line in f: | |
w.write(line.replace('\n', '')) |
This is an markdown for uploading temporary images.
These images are used in here : Angular Animations - Demo using keyframes
module.exports = function(ctx) { | |
// make sure android platform is part of build | |
if (ctx.opts.platforms.indexOf('android') < 0) { | |
return; | |
} | |
var fs = ctx.requireCordovaModule('fs'), | |
path = ctx.requireCordovaModule('path'), | |
deferral = ctx.requireCordovaModule('q').defer(); | |
var gradlePath = path.join(ctx.opts.projectRoot, 'platforms/android/build.gradle'); |