I WORK FOR MONEY IF YOU WANT LOYALTY – HIRE A DOG!
I was told about those picture few months ago by a friend (Ivan Pushkaroff – Pushi) while we were drinking beer together in (Delfincheto – a pub more known among people under the name "Ribkata (The Fish)" – A Metal Music pub in Studentski Grad (Sofia's Student City). By the way if you're in Sofia and near "Studentski Grad" be sure to drop by there – they serve great and always fresh fish also for ex-metal heads for me it is always nice to get some memories about "the good old metal years"
when I tried to complain how difficult it is for me on my job place. I'm a quite sensitive person and a perfectionist and always try to do a great job. Often however there are many obstacles to do your job in right way (as you depend on so many bureaucracy and external people that even if you do your best someone else can mix it up and screw all your effort by not doing his part of the job. The failure of project or Task due to inadeaquacy of someone else involved to do his job right can leave you with a feeling that you have failed even though it is completely not your fault. As these days I'm quite stressed on my job and I have to work on a lot of badly designed projects (and improperly) assigned tasks – yes in big companies it is like these "the right hand doesn't know what the left one is doing". I remembered my dear friend advice to not take it seriously or personally and decided to put these funny picture in hope that these will help me and others to deal with situation of hardships in job in a humorous way After all I'm just a mercenary and I'm doing my best right now in my job at HP … I work for money if they expect higher degree of loyalty let them hire a dog 🙂
A colleague of mine working on MySQL database asked me How it is possible to disable a MySQL database. He is in situation where the client has 2 databases and application and is not sure which of the two databases the application uses. Therefore the client asked one of the database is disabled and wait for few hours and see if something will break / stop working and in that way determine which of the two database is used by application.
My first guess was to backup both databases and drop one of them, then if it is the wrong one to restore from the SQL dump backup, however this wasn't acceptable solution. So second I though of RENAME of database to another one and then reverting the name, however as it is written in MySQL documentation RENAME database function was removed from MySQL (found to be dangerous) since version 5.1.23 onwards. Anyhow there is a quick hack to rename mysql database using a for loop shell script one below:
mysql -e "CREATE DATABASE \`new_database\`;" for table in `mysql -B -N -e "SHOW TABLES;" old_database` do mysql -e "RENAME TABLE \`old_database\`.\`$table\` to \`new_database\`.\`$table\`" done mysql -e "DROP DATABASE \`old_database\`;"
Other possible solution was to change permissions of Application used username, however this was also complicated from mysql cli, hence I thought of installing and using PHPMyAdmin to make modify of db user permissions easier but on this server there wasn't Apache installed and MySQL is behind a firewall and only accessible via java tomcat host.
Finally after some pondering what can be done I came with solution to request to disable mysql database using chmod in /var/lib/mysql/data/, i.e.:
sql-server:~# chmod 0 /var/lib/mysql/databasename
Where databasename is the same as the database is named listable via mysql cli.
After doing it that way with no need to restart MySQL server database stopped to appear in show databases; and client confirmed that disabled database is no longer needed so we proceeded dropping it.
Hope this little article will help someone out there. Cheers :
I'm seeking to improve my spiritual life, because I realize I'm so spiritually. I know Coptic Oriental Orthodox church stores multitude of spiritual rubby treasures thus I looked online to see if I can find sermons of recently passed away to Christ Coptic Church patriarch pope Shenouda II. I was blessed to find a Sermon of his on Forgiveness. In it this Holy man, gives instructions for layman on how to forgive and gives a list of 17 Spiritual advices on what to do and not do whenever in situation. I re-share it here with hope this will serve as blessing to other Christians like me who strive to improve their spiritual health
A Sermon on Forgiveness – his holiness pope Shenouda II
Let this holy man pray for us spiritually poor Christians on earth …
I've been deeply saddened to learn Pope Shenouda III – of Alexandria – A patriarch of the Coptic Oriental Orthodox Church passed the Spirit to our Heavenly Father on 17 of March 2012. Even though officially Copt Christians are not in communion to us the Eastern Orthodox Church which my Church – Bulgarian Orthodox Church belongs to.
I've had the blessing from God to know a Coptic Orthodox Christian Baky and from what I've seen in him Copts faith is still strong. And from what, I've seen and heard from Baky and researched on the internet as well as experienced in listening their Coptic Orthodox songs I conclude, the Coptic Oriental Orthodox Church is still very spirit filled and have a great love for God. And Generally it seemed to me, their faith seemed to be stronger than our faith of many not to say most of the people who belong to the Bulgarian Orthodox Church…. Maybe it is just me or my wrong perception or maybe their church is less hunted than ours I don't know. One monk in a Bulgarian Orthodox Monastery in Pomorie said that "the Copts Christianity community is still stronger because the spiritual attack they suffer is less severe than to us the Eastern Orthodox Church" as they're not communion with the biggest part of the Orthodox Church. All this are just assumptions, only God knows how situation is. What I know is coptic music is gracious. From Eastern Orthodox point of view Coptic Orthodox Church has broken the communion with us because, they decided to reject all Church Patriarchs assembly decisions after the 4th century. So the situation with Copts is that they have conservated a big part of Christianity that used to be until the 4th century but lost the assembly of the Orthodox Church fathers. Of course as a consequence of the many centuries, some things in the Coptic Orthodox Church did changed and they're not perfectly preserved in the 4th century as they original intention was. For example, I noticed many Coptic Orthodox Church building architecture has similar patterns like some of the old Roman Catholic Churches. I guess this is normal, since we all used to be one Holy Apostolic Church in the past as we still recite during every Holy Liturgy service served in our Orthodox Churches. Another thing that is different from us the Eastern Orthodox Church is the copts Churches have a sitting bench just like in the Roman Catholic Church, I've heard they don't use them much from Baky but still the fact they have it is something probably adopted by Roman Catholics influence. Another thing I've seen from checking various things about copts on the internet is some of their copt Church icons iconography seems to be a bit influenced by Roman Catholic iconography, though I'm not completely sure about this because I don't know if Roman Catholics didn't took the iconography styling from the copts and not vice versa. A lot of the Coptic Orthodox Oriental Church langauge contains chantings from Greek and Church Slavonic. I've seen copts icons on which the language used is Greek and Ancient Bulgarian / (Church Slavonic). Some of their prayers also contain many Greek words. One of the basis prayers Lord Have Mercy, I've heard in Coptic Orthodox Churches is Greek also. Kyrie Eleison, Kyrie Eleison, Kyrie Eleison – with meaning (Lord Have Mercy, Lord Have Mercy, Lord Have Mercy). Before his passing, I've heard Pope Shenouda was hospitalized in Egypt Hospital? (if my information source is not mistaken), then I heard he was sent in a special Hospital in America. I thought they have helped him in the American hospital, but it seems they couldn't as it was Jesus's will to call the Coptic Patriarch in his his heavenly kingdom. Pope Shenouda the IIIrd was the 117 "Pope" (coming from the latin Papa (Father)) of Alexandria. As I hope Shenouda the III-rd is hopefully now in the heavenly kingdom, let him pray for me and us the still living Christians on this sinful world … Here is the funeral Church service of the Pope Shenouda. I hope this will be a blessing for some dear Christian brothers or sisters.
We Christians, need the pope prayers as the times, when we live are very mixed and we need the great mercy of Jesus Christ our Saviour to be able to endure and by his mercy and promise to receive Salvation in the end of our lives.
☩ Walking in Light with Christ – Faith, Computing, Diary 2006-2020 Powered by: Pc Freak Solutions and Comments (RSS). Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.