index.html should be in public folder in the same directory with app.js.
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
| while :; do echo "test.dice $((RANDOM % 6 + 1)) `date +%s`" | nc -w 0 127.0.0.1 2003; sleep 60; done |
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
| INSTANCE_ID=i-.... | |
| INSTANCE_IP=.... | |
| .PHONY: status | |
| status: | |
| aws ec2 describe-instances --instance-ids ${INSTANCE_ID} --output table | |
| .PHONY: start | |
| start: | |
| aws ec2 start-instances --instance-ids ${INSTANCE_ID} --output table |
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
| - name: Install Conda | |
| block: | |
| - name: Download Miniconda | |
| get_url: | |
| url: https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh | |
| dest: /tmp/install-miniconda.sh | |
| checksum: md5:a946ea1d0c4a642ddf0c3a26a18bb16d | |
| mode: 0550 | |
| - name: Create conda folder |
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
| tilda_config_version = "1.3.1" | |
| command = "gtop" | |
| font = "Monospace 11" | |
| key = "F1" | |
| addtab_key = "<Shift><Control>t" | |
| fullscreen_key = "F11" | |
| toggle_transparency_key = "F12" | |
| toggle_searchbar_key = "<Shift><Control>f" | |
| closetab_key = "<Shift><Control>w" | |
| nexttab_key = "<Control>Page_Down" |
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 cards = document.getElementsByClassName('card'); | |
| var cardEls = []; | |
| for(var i=0; i<cards.length; i++) { | |
| var img = cards[i].children[1].src; | |
| console.log(img); | |
| if(!cardEls[img]) { | |
| cardEls[img] = []; | |
| } | |
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
| [global_config] | |
| title_receive_bg_color = "#3167ac" | |
| title_transmit_bg_color = "#d4312e" | |
| title_inactive_fg_color = "#343232" | |
| title_transmit_fg_color = "#e7eced" | |
| title_inactive_bg_color = "#b0b6ba" | |
| [keybindings] | |
| [profiles] | |
| [[default]] | |
| palette = "#222d3f:#a82320:#32a548:#e58d11:#3167ac:#781aa0:#2c9370:#b0b6ba:#212c3c:#d4312e:#2d9440:#e5be0c:#3c7dd2:#8230a7:#35b387:#e7eced" |
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
| // MIT License - Copyright (c) 2016 Can Güney Aksakalli | |
| // https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Net.Sockets; | |
| using System.Net; | |
| using System.IO; |