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
/** | |
* Changes the background color of the canvas. | |
* | |
* @method updateBackground | |
* @param {image} String | |
* @param {clearBackgroundColor} String | |
* @ | |
*/ | |
LGraphCanvas.prototype.updateBackground = function (image, clearBackgroundColor) { | |
this._bg_img = new Image(); |
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
//packer version | |
(function(global) { | |
// ************************************************************* | |
// LiteGraph CLASS ******* | |
// ************************************************************* | |
/** | |
* The Global Scope. It contains all the registered node classes. |
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
1. Windows 10 & Ubuntu 16.04 Dual-Boot | |
(Ubuntu 16.04.1 LTS)[http://www.ubuntu.com/download/desktop] | |
Universal USB Installer | |
Boot from USB and install ubuntu | |
- Mount point / 200GB | |
- Mount point /home 2TB | |
Reboot after successfully installed | |
Reference: http://www.tecmint.com/install-ubuntu-16-04-alongside-with-windows-10-or-8-in-dual-boot/ |
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
from collections import deque | |
# graph - adjacency - list | |
def bfs(s, graph): | |
queue = deque() | |
visited = [] | |
queue.append((s, s)) |
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
# | |
# deb cdrom:[Ubuntu-Server 13.10 _Saucy Salamander_ - Release amd64 (20131016)]/ saucy main restricted | |
#deb cdrom:[Ubuntu-Server 13.10 _Saucy Salamander_ - Release amd64 (20131016)]/ saucy main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://us.archive.ubuntu.com/ubuntu/ saucy main restricted | |
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy main restricted |
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
# memcached default config file | |
# 2003 - Jay Bonci <[email protected]> | |
# This configuration file is read by the start-memcached script provided as | |
# part of the Debian GNU/Linux distribution. | |
# Run memcached as a daemon. This command is implied, and is not needed for the | |
# daemon to run. See the README.Debian that comes with this package for more | |
# information. | |
-d |