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
| const INTERVAL = 10000; | |
| var getQueryVariable = function (key) { | |
| let query = window.location.search.substring(1); | |
| let vars = query.split('&'); | |
| for (let i = 0; i < vars.length; i++) { | |
| let pair = vars[i].split('='); | |
| if (decodeURIComponent(pair[0]) == key) { | |
| return decodeURIComponent(pair[1]); | |
| } |
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
| <p> | |
| AtCoder : <a id="atcoder" target="_blank" style="text-decoration:none;font-weight:bold;">loading</a><br> | |
| Codeforces : <a id="codeforces" target="_blank" style="text-decoration:none;font-weight:bold;">loading</a><br> | |
| TopCoder SRM : <a id="topcoder" target="_blank" style="text-decoration:none;font-weight:bold;">loading</a><br> | |
| </p> | |
| <script type="text/javascript" src="http://code.jquery.com/jquery-3.1.1.min.js"></script> | |
| <script type="text/javascript"> | |
| var ratings = { 'atcoder':0, 'codeforces':0, 'topcoder':0 }; | |
| var handles = { 'atcoder':'algon', 'codeforces':'algon_320', 'topcoder':'algon_320' }; |
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
| # zsh | |
| EMOJI=(💩 🐦 🚀 🐞 🎨 🍕 🐭 👽 ☕️ 🔬 💀 🐷 🐼 🐶 🐸 🐧 🐳 🍔 🍣 🍻 🔮 💰 💎 💾 💜 🍪 🌞 🌍 🐌 🐓 🍄 ) | |
| function random_emoji { | |
| echo -n "$EMOJI[$RANDOM%$#EMOJI+1]" | |
| } | |
| PROMPT="$(random_emoji) " | |
| RPROMPT='%c' |