This file contains 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
#!/bin/bash | |
# Created by: Abdullah Al Imran | |
# Email: [email protected] | |
#Adding PPA | |
add-apt-repository -y ppa:atareao/atareao | |
add-apt-repository -y ppa:caffeine-developers/ppa | |
add-apt-repository -y ppa:diesch/testing | |
add-apt-repository -y ppa:eugenesan/ppa |
This file contains 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
alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
class Rotor(): | |
perms = [] | |
turnover_position = '' | |
position = 'A' | |
def __init__(self, perms, turnover_position, ring_setting): | |
i = alphabet.index(ring_setting) | |
perms = perms[i:] + perms[:i] | |
self.perms = [c for c in perms] |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace MoneyManagement | |
{ | |
class Program | |
{ |
This file contains 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
// VJ : 20120321 : Fixed to not draw phantom / dummy bars in case there is a sudden move; i.e., all prices seen are real | |
// Problem : The built-in NT7 range bars do phantom / dummy bars to produce picture-perfect Range Bars. | |
// Amibroker does the same. But that is NOT what Iwant. I want real prices. | |
// Thus, only if price action is smooth (tick by tick, say) do we see perfect 250R range bars. | |
// Otherwise, the Close price might be > 250R. | |
// | |
// The difference between Range Bars, and my RangeAltBars: | |
// Default Range Bars : pretty 250R phantom bars with fake (computed) Close | |
// Range Alt Bars : no phantom bars; no fake Close | |
// |