Blog Archives

ubuntu date time calendar applet gone, invisible!

just run this: pkill -f indicator-datetime-service should fix it Advertisements

Tagged with: , , , ,
Posted in important links, Linux, Tips And Tricks, Ubuntu

how to export sublime text 3 installed packages from one pc to another in ubuntu

first install sublime text 3 in your new machine in ubuntu https://packagecontrol.io/installation install package control first make zip of /home/youruser/.config/sublime-text-3/Packages and /home/youruser/.config/sublime-text-3/Installed Packages paste it into your new ubuntu computer installed sublime text 3 /home/yournewmachineuser/.config/sublime-text-3/ folder after unziping restart sublime text

Tagged with: , , , , , , ,
Posted in Tips And Tricks

how to exclude files from svn exactly like we do with .gitignore

cd to your directiry where svn is checked out create a file .svnignore add there the things you want to ignore for example: *.class *.jar *.war *.ear Save the file now run this command: svn propset svn:ignore -RF .svnignore .

Tagged with: , ,
Posted in subversion, Tips And Tricks

SASS install and use

1. install compass and sass https://gist.github.com/stephou0104/233b5c99884f1d8c8b8b 2. SASS cheatsheet: http://sass-cheatsheet.brunoscopelliti.com to configure a folder with compass mkdir mycompass cd mycompass mkdir assets cd assets mkdir stylesheets mkdir sass mkdir images mkdir javascripts add a config.rb file with content like this: preferred_syntax

Tagged with: , , , ,
Posted in Javascript, Linux, Tips And Tricks

usb tethering ubuntu server 14.04

I was trying to install ubuntu 14.04 server then at the step where I needed to install ubuntu-desktop via command line I could not connect to internet wired connection did not work, wifi does not work. I was going crazy!

Tagged with: , , , , , , , , , , , , , ,
Posted in important links, Tips And Tricks

Plone: run code as admin

need this first: from zope.component.hooks import getSite from AccessControl import ClassSecurityInfo, getSecurityManager from AccessControl.SecurityManagement import newSecurityManager, setSecurityManager from AccessControl.User import UnrestrictedUser as BaseUnrestrictedUser class UnrestrictedUser(BaseUnrestrictedUser): “””Unrestricted user that still has an id. “”” def getId(self): “””Return the ID of the

Tagged with: , , , , ,
Posted in archtype, Plone theme, ploneCMS, python, Tips And Tricks

Plone add a default timezone

Inspired by: http://docs.webfaction.com/software/zope-and-plone/configuring.html Sometime you download a datafs from a server located in USA. but you are working in European timezone. to avoid confusion add the timezoneinfo in the buildout so server and your local has the same timezone. to do

Tagged with: , , , , , , ,
Posted in ploneCMS, python, Tips And Tricks, Zope
Disclaimer
All content provided on this "tareqalam.com" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [tareqalam.wordpress.com] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
December 2017
M T W T F S S
« Apr    
 123
45678910
11121314151617
18192021222324
25262728293031

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers