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
#include <stdio.h> | |
main() | |
{ | |
printf("hello kumawat"); | |
} |
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
source 'https://rubygems.org' | |
gem 'rails', '3.2.3' | |
gem 'annotate', ">=2.5.0.pre1" | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'pg' |
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
/* | |
* This is a manifest file that'll be compiled into application.css, which will include all the files | |
* listed below. | |
* | |
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | |
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. | |
* | |
* You're free to add application-wide styles to this file and they'll appear at the top of the | |
* compiled file, but it's generally better to create a new file per style scope. | |
* |
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
curl -L get.rvm.io | bash -s stable | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 185 100 185 0 0 232 0 --:--:-- --:--:-- --:--:-- 1069 | |
100 185 100 185 0 0 11 0 0:00:16 0:00:15 0:00:01 0curl: (7) couldn't connect to host |
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
--- get.rvm.io ping statistics --- | |
61 packets transmitted, 0 received, 100% packet loss, time 60023ms |
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
traceroute to get.rvm.io (208.85.148.213), 30 hops max, 60 byte packets | |
1 94.249.216.254 (94.249.216.254) 0.156 ms 0.095 ms 0.088 ms | |
2 94.249.128.29 (94.249.128.29) 0.496 ms 0.537 ms 0.585 ms | |
3 ge-4-3-1-105.fra21.ip4.tinet.net (77.67.75.205) 0.722 ms 0.788 ms 0.854 ms | |
4 xe-3-3-0.sea21.ip4.tinet.net (89.149.180.53) 165.906 ms 164.973 ms xe-0-2-0.sea21.ip4.tinet.net (89.149.182.185) 166.466 ms | |
5 spectrum-networks-gw.ip4.tinet.net (216.221.156.42) 172.746 ms 172.910 ms 169.555 ms | |
6 cr1-tuk-t9-1.bb.spectrumnet.us (208.76.153.94) 171.403 ms 171.360 ms 174.619 ms | |
7 BlueBoxGroup-10000M-TUK.demarc.spectrumnet.us (216.243.26.134) 169.511 ms 169.562 ms 167.089 ms | |
8 vsh23.blueboxgrid.com (208.85.148.178) 172.311 ms 168.074 ms 166.787 ms | |
9 rvm01.c44627.blueboxgrid.com (208.85.148.213) 171.350 ms 174.709 ms 169.100 ms |
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
sudo apt-get install putty | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
putty-tools | |
Suggested packages: | |
putty-doc | |
The following NEW packages will be installed: | |
putty putty-tools |
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
pg sql important commands: | |
$ sudo su postgres | |
$ psql | |
# grant all privileges on database money to cashier; |
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
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are sending their messages in a number format. This format represents the way that numbers and characters are padded on mobile’s keypad. One smuggler sends a text message to the second smuggler, using the numbers corresponding to the letters on the keypad. When the receiving smuggler gets the message, he simply opens the “create text message” function in his mobile and types the number string. This way the receiver finally reads the original message. For Example: - 6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space". | |
Explanation: By pressing ‘6’ (i.e. key’6’ one time) on the keypad, the mobile shows ‘m’ on display screen in write text message area. By pressing ‘999’ (i.e. key ‘9’ three times) on the keypad, the mobile |
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
# copy a single file to your server | |
scp mylocalfile.html root@myserverip:/var/www/html/ | |
# copy a whole directory to your server | |
scp -r mylocaldirectory root@myserverip:/var/www/html/ |
OlderNewer