Blog

Previous Next

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
Question: I was downloading a large file using SCP, but the download transfer failed in the middle because my laptop got disconnected from the network. Is there a way to resume the interrupted SCP transfer where I left off, instead of downloading the file all over again? Answer: Originally based on BSD RCP protocol, SCP (Secure copy) is a mechanism that allows you to transfer a file between two end points over a secure SSH connection. However, as a simple secure copy protocol, SCP does not understand range-request or partial transfer like HTTP does. As such, popular SCP implementations like the scp command line tool cannot resume aborted downloads from lost network connections. If you want to resume an interrupted SCP transfer, you need to rely on other programs which support range requests. One popular such program is rsync. Similar to scp, rsync can also transfer files over SSH. Suppose you were trying to download a file (bigdata.tgz) from a remote host remotehost.com using scp, but the SCP transfer was stopped in the middle due to a stalled SSH connection. You can use the following rsync command to easily resume the stopped transfer. Note that the remote server must have rsync installed as well. $ cd /path/to/directory/of/partially_downloaded_file $ rsync -P -rsh=ssh userid@remotehost.com:bigdata.tgz ./bigdata.tgz The "-P" option is the same as "--partial --progress", allowing rsync to work with partially downloaded files. The "-rsh=ssh" option tells rsync to use ssh as a remote shell. Once the command is invoked, rsync processes on local and remote hosts compare a local file (./bigdata.tgz) and a remote file (userid@remotehost.com:bigdata.tgz), determine among themselves what portion of the file is not the same, and transfer the discrepancy to either end. In this case, missing bytes in the partially downloaded local file is downloaded from a remote host. Add a comment
Tags:

Binti Kenya

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

www.binti.co.ke is the largest online wholesale platform for ladies’ fashion items and accessories, in Kenya and growing fast across Africa.

If you are in campus, consider yourself fierce, a go-getter and want to earn some extra cash, Binti Kenya is inviting you to join its field marketing team.  

So, what will I actually be doing?

Your daily tasks will include:

  • Spreading the word about the items available on the Binti platform.  
  • Securing sales
  • Attending to queries and getting feedback from customers
  • Advising customers on their purchases
  • Helping with field promotions
  • Following up on order confirmations and deliveries
  • Keeping track of any changes in customers’ taste, preference, and demand for new hot selling products and pitching ideas to Binti.
  • Making sure sales targets are met.

Qualifications

www.binti.co.ke is the wholesale online platform of choice for anyone within Kenya that is looking for ladies’ fashion items and accessories at wholesale prices.  We fully support the need for young people in Kenya to become financially independent and are offering you, the campus student, the opportunity to achieve exactly that.  As such, please indicate the university/college/institution you are currently enrolled in and the campus where you are located in your application to this job advert. E.g. University of Nairobi (Kikuyu campus).  Other characteristics of the ideal sales and marketing affiliates include:

  1. Ongoing studies at any University/College/learning Institution in Kenya (both private or public).  
  2. The drive to become financially independent
  3. You are conversant with women’s fashion trends
  4. Preferably between the age of 18 to 35 years.
  5. Can provide impeccable customer service
  6. Great communication skills

If you have the qualifications listed above, kindly send a cover letter (max 250 words) and resume (max 3 pages) highlighting why we should have you on our team.  All applications should be sent to hr@binti.co.ke by Wednesday, 12th July 2017.  Applications that do not include a cover letter and campus location of the applicant will not be reviewed.   

Add a comment

Binti Kenya

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

www.binti.co.keis a wholesale online platform for ladies’ fashion items and accessories. If you consider yourself fierce and a go-getter, Binti Kenya is inviting you to join its field marketing team.  

So, what will I actually be doing?

Your daily tasks will include:

  • Spreading the word about products and services available on 
  • Securing sales 
  • Attending to queries and getting feedback from customers
  • Advising customers on their purchases and other hot selling products on 
  • Helping with field promotions
  • Following up on order confirmations and deliveries
  • Keeping track of any changes in customers’ taste, preference, and demand for new hot selling products and pitching ideas to Binti.
  • Making sure sales targets are met.

Qualifications

www.binti.co.ke is the wholesale online platform of choice for anyone within Kenya and East Africa that is looking for ladies’ fashion items and accessories at wholesale prices.  We therefore require sales and marketing affiliates from every major town in Kenya.  As such, please indicate where you are located in your application to this job advert.  Other characteristics of the ideal sales and marketing affiliates include:

  1. Diploma in sales and marketing.
  2. At least one years’ experience in sales and marketing.
  3. Well conversant with women’s fashion trends.
  4. Preferably between the age of 20 to 35 years.
  5. Can provide impeccable customer service.
  6. Great communication skills.

If you have the qualifications listed above, kindly send a cover letter (max 250 words) and resume (max 3 pages) highlighting why we should have you on our team.  All applications should be sent to hr@binti.co.ke by Wednesday, 12th July 2017.  Applications that do not include a cover letter and location of the applicant will not be reviewed.   

 

Add a comment
Previous Next

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

What is it? .htaccess is a configuration file for use on web servers running the Apache Web Server software.

.htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer.

Ie. Can be used for password protection, hotlinking prevention, error handling etc .htaccess works in the directory you place it. Some uses: Can be used to set:

1.Expire headers Expire Headers are added to tell the browser how often it has to fetch files afresh from the server based on a specific expiry data.

2.Cache Control Headers Tells the browser how long files should be cached before they should be loaded anew.

This is important to make sure it does not reload files too often.

3.gZip Compress files and make them easier to download by the browsers. Browsers decompress on the fly.

4.Deflate It’s a compression technique same as gzip. Some servers work with only gzip or deflate. Ifmodule checks if it’s enabled.

5.Re-Writing URLs. This is good for SEF URLs.

 

#Gzip
<ifmodule mod_deflate.c>
    AddOutputFilter DEFLATE js css
    AddOutputFilterByType DEFLATE text/plain text/xml application/xhtml+xml text/css application/xml application/rss+xml application/atom_xml application/x-javascript application/x-httpd-php application/x-httpd-fastphp text/html

    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
#End Gzip

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##

# BEGIN Cache-Control Headers
<FilesMatch "\.(css|js|ico|pdf|jpg|jpeg|png|gif|html|htm|xml|txt|xsl)$">
Header set Cache-Control "max-age=31536050"
</FilesMatch>
#
# <IfModule mod_headers.c>
# <FilesMatch "\\.(ico|jpg|jpeg|jpe?g|png|gif|swf|gz)$">
# Header set Cache-Control "max-age=2592000, public"
# </FilesMatch>
# <FilesMatch "\\.(css)$">
# Header set Cache-Control "max-age=2592000, public"
# </FilesMatch>
# <FilesMatch "\\.(js)$">
# Header set Cache-Control "max-age=2592000, private"
# </FilesMatch>
# <filesMatch "\\.(html|htm)$">
# Header set Cache-Control "max-age=7200, public"
# </filesMatch>
# # Disable caching for scripts and other dynamic files
# <FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$">
# Header unset Cache-Control
# </FilesMatch>
# </IfModule>
# END Cache-Control Headers

# Gzip
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# Prevent Directory listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
 Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it.
# php_flag register_globals Off

# 2. If your cart has magic quotes enabled, this may work to disable it.
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try.
# php_value upload_max_filesize 999M

# 4. Set max post size. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields.
# php_value post_max_size 999M

# 5. Set max time script can take. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields.
# php_value max_execution_time 200

# 6. Set max time for input to be received. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields.
# php_value max_input_time 200

# 7. Disable open_basedir limitations
# php_admin_value open_basedir none

Add a comment
Tags: ,

About Me

Oops...Almost forgot to say something about me. But anyway, I'm that guy, yule Msee, who'll sort out your techie issue and hails from the land of milk and honey. Not forgetting the bitter herbs too.

This is what am best at. Feel free to ask something. 

Latest News

10 October 2018
08 May 2018

Latest Tweets

Search

Loading