How to pull a specific branch from Github

If you did a clone, then all branches should be available to you. You need to checkout the branch. git checkout todo-mvvm-databinding If the branch isn’t available for whatever reason, then you can create it and then pull it: git checkout -b todo-mvvm-databinding (-b specifies “create branch”) git pull origin todo-mvvm-databinding will fetch and merge this branch into … Read more

ORA-01843 not a valid month- Comparing Dates

I have a problem when try to select data from a table filtering by date. For example: The Oracle Error is: Probably the source data of table is corrupted, in this case: How can i solve this problem? Can I change this dates for null? The results of this select, select * from nls_session_parameters; , is:

E: unable to locate package pip

In Ubuntu, pip is provided by the python-pip package. You can install it in the Software Center, or, if you prefer to use the command line: If you have not already installed python-dev and build-essential, you should install them too. (But it seems your apt-get command might have successfully installed them. If you’re not sure, you can check by trying to install them again. Or with apt-cache … Read more

How to fix HTTP 404 on Github Pages?

Four months ago I have contacted the support and they told me it was a problem on their side, they have temporarily fix it (for the current commit). Today I tried again I deleted the gh-pages branch on githubgit push origin –delete gh-pages I deleted the gh-pages branch on localgit branch -D gh-pages I reinitialized … Read more

Passing parameters to a Bash function

There are two typical ways of declaring a function. I prefer the second approach. or To call a function with arguments: The function refers to passed arguments by their position (not by name), that is $1, $2, and so forth. $0 is the name of the script itself. Example: Also, you need to call your function after it is declared. Output: … Read more