Skip to content

Instantly share code, notes, and snippets.

Alexandru Gherasim ShinobiWPS

View GitHub Profile
@ShinobiWPS
ShinobiWPS / react16.0-16.5.md
Created Oct 5, 2018
React from 16.0 to 16.5
View react16.0-16.5.md

from 16.0 to 16.5:

- Return ONE element as string:

render() {
 return 'Look ma, no spans!';
}

- Return mutiple elements with Fragments:

@ShinobiWPS
ShinobiWPS / ShinobiWPS-Unity_WebGL_tips.txt
Last active Jun 29, 2018
ShinobiWPS - Tips to optimize a WebGL build of a Unity game
View ShinobiWPS-Unity_WebGL_tips.txt
http://docs.unity3d.com/Manual/webgl-building.html
http://docs.unity3d.com/Manual/ReducingFilesize.html
https://www.youtube.com/watch?v=gVUgF2ZHveo - AssetBundles
Webgl game size Info:
When we compile a Webgl project,it generates 3 folders along with html file.
Compressed
Release
TemplateData
View dark-webogram.css
html {
background: #232323
}
body {
color: #898989
}
.im_page_wrap {
background-color: #292929;
border: 1px solid #232323;
box-shadow: none
View ansible-lineinfile-examples.yml
## credit: http://fabian-affolter.ch/blog/the-lineinfile-module-of-ansible/
---
- hosts: alpine_install
user: root
tasks:
# - name: create a complete empty file
# command: /usr/bin/touch /test/test.conf
- name: create a new file with lineinfile
You can’t perform that action at this time.