Skip to content

Instantly share code, notes, and snippets.

@xmeng1
xmeng1 / input.html
Created February 20, 2017 13:42
angular material 2
<md-input-container dividerColor="accent" class="input-container" floatPlaceholder="Test">
<span md-prefix>$&nbsp;</span>
<span md-suffix>.00</span>
<input mdInput name="value" ngModel placeholder="amount" align="end" >
</md-input-container>
@xmeng1
xmeng1 / voice.xml
Last active February 3, 2017 17:59
xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="alice" >Hello, {{Name}}.Your one time password is {{Code}}</Say>
</Response>
@xmeng1
xmeng1 / startup.sh
Last active January 24, 2017 14:40
Linux commands
#!/bin/bash
# kill 443 VMWARE
sudo fuser -k -n tcp 443
# start the nginx service
sudo systemctl start nginx.service
# alias startup="sudo sh ~/Dropbox/Deepnet/2_Linux/startup_script.sh"
echo "alias startup='sudo sh ~/Dropbox/Deepnet/2_Linux/startup_script.sh'" >> ~/.bashrc
source ~/.bashrc