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
Market Capitalization > 1000 AND | |
Debt to equity < 1 AND | |
Profit growth 5Years > 10% AND | |
Promoter holding > 30% AND | |
ROCE3yr avg > 20% AND | |
Return on capital employed > 20% AND | |
Average return on equity 3Years > 10% AND | |
Sales growth 5Years > 8% AND | |
Sales growth 3Years > Sales growth 5Years AND | |
Return over 10years > 10% AND |
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
❯ cat ~/.config/fish/functions/update-docker.fish | |
function update-docker -d "pull latest images from docker" | |
docker ps -a | |
echo 'cleaning dead containers' | |
docker ps -a | sed '1d' | cut -d' ' -f1 | xargs docker rm -f | |
echo 'removing untagged images' | |
docker images -a | sed '1d' | grep none | awk '{print $3}' | xargs docker rmi | |
docker images -a |
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
# install & login bitwarden from app store | |
# pick a name you want | |
sudo scutil --set HostName macbook-m2 | |
sudo scutil --set ComputerName macbook-m2 | |
sudo scutil --set LocalHostName macbook-m2 | |
dscacheutil -flushcache | |
defaults write -g InitialKeyRepeat -int 9 | |
defaults write -g KeyRepeat -int 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
brew cask install xquartz | |
brew install winetricks --with-wine | |
WINEPREFIX="$HOME/.wine32" WINEARCH=win32 winetricks directplay | |
WINEPREFIX="$HOME/.wine32" WINEARCH=win32 winetricks d3dx9_36 | |
# from inside the AoE/AoC folder | |
WINEPREFIX="$HOME/.wine32" WINEARCH=win32 wine age2_x1/age2_X1 |
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
#cloud-config | |
apt_update: true | |
packages: | |
- vim | |
- curl | |
- htop | |
- screen | |
- aptitude | |
users: | |
- name: puneet |
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 -y lxc wget bsdtar curl htop screen | |
sudo apt-get install -y linux-image-extra-$(uname -r) | |
sudo modprobe aufs | |
screen - | |
curl -sSL https://get.docker.com/ | sh | |
sudo usermod -aG docker ubuntu | |
sudo reboot |
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
.gemrc | |
.gitconfig | |
.gitignore_global | |
.htoprc | |
.pip/ | |
.python_history | |
.ssh/ | |
.vagrant.d/ | |
.vim/ | |
.viminfo |
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
[2014-01-07 19:51:37] DEBUG Adhearsion::OutboundCall: [email protected]: Receiving message: #<Punchblock::Event::Answered target_call_id="015cb21e-77a7-11e3-9592-33f9d38e2b57", target_mixer_name=nil, component_id=nil, source_uri="xmpp:[email protected]", domain="172.17.0.3", transport="xmpp", headers={}> | |
[2014-01-07 19:51:37] INFO Adhearsion::OutboundCall: [email protected]: Executing controller #<ConferenceController call=015cb21e-77a7-11e3-9592-33f9d38e2b57, metadata={:mixer_name=>"user/userb-1389104491", :organizer=>"user/userb", :participants=>["user/userc"]}> | |
[2014-01-07 19:51:37] INFO Adhearsion::OutboundCall: [email protected]: Joining to {:mixer_name=>"user/userb-1389104491"} | |
[2014-01-07 19:51:37] DEBUG Adhearsion::OutboundCall: [email protected]: Executing command #<Punchblock::Command::Join target_call_id=nil, target_mixer_name=nil, component_id=nil, |
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
require 'nokogiri' | |
require 'open-uri' | |
require 'pry' | |
def get_party(full_name) | |
parties = { | |
'Aam Aadmi Party' => 'AAP', | |
'Bharatiya Janata Party' => 'BJP', | |
'Indian National Congress' => 'INC', | |
'Bahujan Samaj Party' => 'BSP' |
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
site :opscode | |
cookbook 'vim' | |
cookbook 'ntp' |
NewerOlder