sudo su
# enter sudo password
apt-get update
apt-get upgrade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Users = (function() { | |
| Array.call(this) | |
| this.push('first') | |
| this.push('last') | |
| this.forEach(function(item){ | |
| console.log(item) | |
| }) | |
| })() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| emmet | |
| JsFormat | |
| JavaScriptNext | |
| JSHint | |
| allautocomplete | |
| DocBlockr | |
| terminal | |
| Markdown Preview | |
| SideBarEnhancements | |
| Hayaku |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { "keys": ["f5"], "command": "refresh_folder_list" }, | |
| { "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar" }, | |
| { "keys": ["ctrl+tab"], "command": "next_view" }, | |
| { "keys": ["ctrl+shift+tab"], "command": "prev_view" } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "update_check": false, | |
| "tab_size": 2, | |
| "translate_tabs_to_spaces": true, | |
| "detect_indentation": false, | |
| "trim_automatic_white_space": false, | |
| // "indent_subsequent_lines": true, | |
| "highlight_line": true, | |
| // "match_brackets_angle": false, | |
| "move_to_limit_on_up_down": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install php-pear | |
| sudo pear channel-update pear.php.net | |
| sudo pear upgrade-all | |
| sudo pear config-set auto_discover 1 | |
| sudo pear install pear.phpunit.de/PHPUnit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## downloads | |
| * xz - https://www.archlinux.org/packages/core/x86_64/xz/ | |
| * node xz - https://www.archlinux.org/packages/community/x86_64/nodejs/ | |
| ## allow to write | |
| ``` | |
| sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification --partitions 4 | |
| # restart | |
| shutdown -r 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var target = document.getElementById('#myDraggableElement'); | |
| target.onmousedow = function(){ | |
| // start dragging | |
| window.onmousemove = function(){ | |
| // move window | |
| }; | |
| window.onmouseup = function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public function fn(array $options) | |
| { | |
| $this->parametrize($options, [['w', 'width'], ['h', 'height'], 'x', 'y']); | |
| } | |
| public function parametrize($options, $validOptions) | |
| { | |
| foreach ($options as $key => $value) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config --global alias.tree 'log --graph --full-history --all --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s"' |
NewerOlder