For the cube of my landing page, I just modified the demo code of voxel.css.
<script>
var vox1 = new voxelcss.Voxel(0, 0, 0, 100, {
mesh: voxelcss.Meshes.grass
}));
vox1.addEventListener('TopClick', function(event) {
console.log("top click!");
});
</script>
Please follow the official documentation
In this step, you will clone all branches from GitLab, e.g., master, test...
git clone git@git.fabacademy.org:fabacademy2016/YOUR_LAB
Please replace your student ID to YOUR_STUDENT_ID, e.g., "123", "142"...
cd YOUR_LAB/students/YOUR_STUDENT_ID
You could use "git branch" to check which branch you are in. Please replace YOUR_BRANCH_NAME below.
git checkout -b YOUR_BRANCH_NAME
git branch
Please using "git status" to see modified files and add them.
git status
git add YOUR_MODIFIED_FILES
git commit -m "brabrabra"
You might set YOUR_BRANCH_NAME_ON_REMOTE equal to local branch name which using git checkout -b YOUR_BRANCH_NAME
to set. One branch name is on remote and, however, the other is at local.
git push origin YOUR_BRANCH_NAME_ON_REMOTE
In "Merge Requests", Click "NEW MERGE REQUEST" on right side.
Change source branch to your branch.
Give title something to let others know what is going on in merging.
Click "SUBMIT MERGE REQUEST"
Click "ACCEPT MERGE REQUEST"
You will see "Merged". Great, then all good!
See what changed!
If you want your local feature branch to only track remote branch, which means you will not pull/push to remote master directly but only remote branch, you could checkout to branch first and use this command.
git branch --set-upstream-to origin/YOUR_REMOTE_BRANCH_NAME
It is an open source Markdown editor for Mac OS X with awesome interface and it could also convert Markdown to HTML easily.
Download from official website, or use Homebrew Cask in command line
brew cask install macdown
After editing, then you can export HTML into your folder and push to GitLab directly. Cool right.
According to Liang2's experiment with some PNG optimizers, we could not have more than 50% compression ratio with lossless OptiPNG or zopfil, so I would rather use lossy compression tool pngquant to save storage.
You could compile the source code from the official site, or even install by Homebrew
brew install pngquant
pngquant *.png
or set quality range,
pngquant --quality=75-80 *.png
Please check more usage with pngquant -h
.
I am interesing in physical personal assistant from childhood. Especially I like a racing cartoon called Future GPX Cyber Formula, which has a bot with AI in car helping leading character race and even becoming a friend to human being.
One day, at Fablab Taipei, we were discussing about documentation issue and where we could have better documentation tools to let people leave and share their experiences and knowledge to the space.
So, looking at classic tertial lamp, I came up with an idea like Pixar Luxo Jr. and I have decided to make or even redesign this lamp to let it help us do the documentation such as taking photos of your projects automatically. I do love this idea because it will become an useful personal assistant which is my dream from childhood.
I am going to mount several servo motors on it, and redesign many parts to let the lamp move smoothly. It might track your projecet object and motion. You could click some button to take photos of projects or maybe it would move and shoot automatically. Most of all, it should upload to your personal repository without your commands.
There are few robotic lamp projects on Instructables, but by far none of them are going to make lamp help people like this way.