/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
See https://gist.github.com/kevin-smets/8568070
A good guide from github is here
| - Change the root password! | |
| - System Settings > Security | |
| - General: Set Password required to "instant" | |
| - FileVault: activate | |
| - System Setting > Keyboard | |
| - Set all key speeds to "fast" | |
| - Mark checkbox to use "fn" keys without option key | |
| - Generate SSH-Key: ssh-keygen -t rsa -C "email@provider.com" -b 2048 | |
| - Change desktop background :) | |
| - Install PHPstorm + Java |
| require 'fileutils' | |
| # specify files which should not be copied | |
| dont_copy = ['jquery.languageTags.js'] | |
| puts "Copying files from FE to BE folder" | |
| from_dir = "./../FE/templates/global" | |
| to_dir = "./../BE/trunk/htdocs/fileadmin/templates/global" |
| <div class="flipbook"> | |
| <div class="page left leftpage"> | |
| <div class="pagewrap"> | |
| <div class="page_content"> | |
| Dies ist die erste Seite des flipbooks | |
| </div> | |
| </div> | |
| </div> | |
| <div class="page center"> | |
| <div class="innerpage rightpage inner_right"> |
| [ | |
| { "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} }, | |
| { "keys": ["alt+up"], "command": "swap_line_up" }, | |
| { "keys": ["alt+down"], "command": "swap_line_down" }, | |
| { "keys": ["ctrl+shift+j"], "command": "join_lines" }, | |
| { "keys": ["super+alt+down"], "command": "duplicate_line" }, | |
| { "keys": ["shift+super+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
| { "keys": ["super+shift+s"], "command": "save_all" }, | |
| { "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| const loggedInState = { | |
| initial: 'idle', | |
| states: { | |
| idle: { | |
| on: { | |
| load: 'loading' | |
| } | |
| }, | |
| loading: { | |
| invoke: { |
| const wizardStates = { | |
| initial: "date", | |
| states: { | |
| date: { | |
| on: { | |
| NEXT: "flight" | |
| } | |
| }, | |
| flight: { | |
| on: { |
| #!/bin/bash | |
| # This script helps to restore important files after someone acidentially | |
| # ran `git reset --hard` before any commit have been made. `git reflog` | |
| # can´t help you in such cases, because it needs at least one commit | |
| # You can only restore files via this approach, if the files have been | |
| # added with `git add` before the reset was executed! If that was not the | |
| # case, then I have bad news for you: This won´t work :( |
| // Copy-Paste this Chart into the visualizer: https://statecharts.github.io/xstate-viz/ | |
| // Available variables: | |
| // Machine (machine factory function) | |
| // XState (all XState exports) | |
| const { assign } = XState.actions; | |
| const fightStates = { | |
| initial: "fightOrRun", |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
See https://gist.github.com/kevin-smets/8568070
A good guide from github is here