-
Archives
- May 2026
- February 2026
- January 2026
- December 2025
- August 2025
- May 2025
- April 2025
- March 2025
- March 2024
- October 2023
- August 2023
- July 2023
- April 2023
- January 2023
- December 2022
- May 2022
- April 2022
- March 2022
- October 2021
- August 2021
- July 2021
- June 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- February 2020
- December 2019
- October 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- October 2018
- September 2018
- August 2018
- May 2018
- April 2018
- February 2018
- January 2018
- November 2017
- October 2017
- September 2017
- August 2017
- June 2017
- May 2017
- April 2017
- March 2017
- January 2017
- November 2016
- September 2016
- August 2016
- July 2016
- June 2016
- April 2016
- March 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- December 2014
- September 2014
- August 2014
- July 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- October 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
-
Meta
Category Archives: Uncategorized
How to copy files to AWS servers?
Here is how: scp -i ~/Desktop/key_file.pem ~/Desktop/yourfile.txt ubuntu@yourawsinstance:/home/ubuntu/
Posted in Uncategorized
Leave a comment
React Native android build failed. SDK location not found.
Go to your React native Project > Android Create a file local.properties Open the file paste your Android SDK path like below in Windows sdk.dir = C:\\Users\\USERNAME\\AppData\\Local\\Android\\sdk in macOS sdk.dir = /Users/USERNAME/Library/Android/sdk in linux sdk.dir = /home/USERNAME/Android/Sdk Replace USERNAME with … Continue reading
Posted in Uncategorized
Leave a comment
Remove spaces between tag in xml files
I need to compare two xml files but the spaces differences between tags preventing me from focusing on the real differences. I googled found this solution. You can use regular express to remove these white spaces: replace “>\s*<" will fix … Continue reading
Posted in Uncategorized
Leave a comment
Atom editor issue
I installed atom editor on my mac but when I ran it from the terminal it always disappear. So I have to run these commands again: rm /usr/local/bin/atom ln -s /Applications/Atom.app/Contents/Resources/app/atom.sh /usr/local/bin/atom
Posted in Uncategorized
Leave a comment
PHP page 500 error
If you got 500 error and you’re wondering what the error really is, you can use the following statement in your php file: ini_set(‘display_errors’, 1);
Posted in Uncategorized
Leave a comment
C# – understand delegate
A delegate can be seen as a placeholder for a/some method(s). By defining a delegate, you are saying to the user of your class, “Please feel free to assign, any method that matches this signature, to the delegate and it … Continue reading
Posted in Uncategorized
Leave a comment
Restore iPhone backup issue
Today I bought an iPhone X and tried to restore my iPhone 6s backup to it but failed. I got error message saying backup corrupt or incompatible. I was wondering if it was related to my carrier transfer from at&t … Continue reading
Posted in Uncategorized
Leave a comment
How to install gulp?
You need to run this command: npm install -g gulp-cli
Posted in Uncategorized
Leave a comment
Handy js to loop through properties in an object
var output = ”; for (var property in myObject) { output += property + ‘: ‘ + myObject[property]+’; ‘; } alert(output);
Posted in Uncategorized
Leave a comment
SVN – how to revert a single file to an old version?
If it’s only a single file, and if you’re using Tortoise SVN, you can use the following approach: 1.Right click on your source file, and select “TortoiseSVN” -> “Show log”. 2.In the bottom window that show changed files, right click … Continue reading
Posted in Uncategorized
Leave a comment