How to make the source code look fancy in Tumblr ;)
Easy steps by scheemsĀ
"I'm Dorothy Gale from Kansas"

Origami Around

No title available

shark vs the universe
Keni
No title available
todays bird
he wasn't even looking at me and he found me
NASA

Kiana Khansmith
Monterey Bay Aquarium
2025 on Tumblr: Trends That Defined the Year
𩵠avery cochrane š©µ
cherry valley forever

⣠Chile in a Photography ā£
untitled
Show & Tell

Love Begins
No title available

Andulka

seen from China
seen from Colombia

seen from United States
seen from United States
seen from United States

seen from Italy

seen from United States
seen from Kenya
seen from France
seen from United Kingdom
seen from Ecuador
seen from Oman
seen from Russia
seen from Argentina

seen from United States

seen from United States

seen from Germany

seen from Türkiye

seen from T1
seen from Poland
@admix-dev
How to make the source code look fancy in Tumblr ;)
Easy steps by scheemsĀ
const char* nstrcat( char* to, ...); //strcat with >= 1 arguments
This program concatenates nĀ amounts of strings, so in the output the user will see one long string.
https://github.com/admix/admixSoft/blob/master/OOP344/nstrcat.cpp
#include <iostream> #include <stdarg.h> using namespace std; const char* nstrcat(char* to, ...); int main(){ //Sample main() to test the program char str[100] = ""; char first[] = "Space"; char second[] = "Explorer"; cout<<nstrcat(str, first, " ", second, " HeeHaw", '\0')<<endl; return 0; } const char* nstrcat( char* to, ...){ char* inTo; int i = 0; va_list varg; va_start(varg, to); inTo = va_arg(varg, char*); while(*to)to++; while(inTo && *inTo){ //returns '1' if true while(*inTo){ to[i] = *inTo; i++; //keep going through the arguments inTo++; } inTo = va_arg(varg, char*); } va_end(varg); return to; }
Conversion char into int
This is a link to my program on github that converts char into int.
https://github.com/admix/admixSoft/blob/master/OOP344/ascToInt.cpp
Would love to get a feedback or suggestions :)
Customized my blog, so Source Code looks fine now:)
// This block of code performs conversion char to int // Returning '0' if not a number // ascToInt.cpp // Created by Alexander on 2013-05-21. // Copyright (c) 2013 Alexander. All rights reserved. // #include <iostream> using namespace std; int ascToInt(const char *ch); int main(){ //sample main() where you can test the function int num; char* str; cout<<"Enter a number: "; cin>>str; num = ascToInt(str); cout<<"number = "<<num<<endl; return 0; } int ascToInt(const char *ch){ int out; int calc; out = 0; calc = 1; while (((*ch) == '+') || ((*ch) == '-')){ //checking the sign if (*ch == '-') calc = calc * -1; //if negative ch++; } do{ //converting char by char out = (out * 10) + ((*ch) - '0'); //substracting 48 to get the real number ch++; }while((*ch <= '9') && (*ch >= '0')); //checking if itās a number return (out * calc); }
This post outlines installing Apache, PHP, and MySQL on Mac OS X. In addition, It covers configuration of the Virtual Hosts and installation the PHPMyAdmin.
It probably doesn't come as much of a surprise to runners out there that listening to music when running can increase your performance, but how much and why? In his book Inside Sport Psychology, Dr. Coastas Karageoghis claims that music can increase your running performance by a hefty 15 percent, but only if you're a certain type of runner.
Oliver Steele created a great image explaining how the transporting in Git works.
The full article explaining everything in detail can be found here.
And one more article by Oliver Steele concerning the Git Workflow here.
Discover hundreds of things to see and do in England with our new searchable map - including great days out in the countryside and cities, taking in historic highlights, cultural masterpieces, beautiful beaches - and even the odd pub or two
My Top 10 "Sublime Text 2" Plugins
This guy lists really useful and must have plugins for Sublime Text 2 IDE.
I will add some more:
1) SFTP - that allows you ftp/sftp to the files;
2) Python Auto-Completion - the name says the function;
3) GitHub Tools - helpful tools to work with github.
Adding Auto-Completion to the "git" commands (Mac OS)
Auto-Completion is a really useful tool that accelerates your work.
Several steps to do:
1) Download git source code;
2) Go inside the contrib/completion directory, and find a file git-completion.bash,Ā and copy it to your home directory (cpĀ git-completion.bash ~/.git-completion.bash);Ā
3) Add source ~/.git-completion.bash to the .bash_profile file which is in your home directory as well;
4) To let it work for every user on this machine do: cp .bash_profile /opt/local/etc/bash_completion.d ;
Now you can auto-complete git commands using Tabs. Really useful and easy:)
Many of you have seen the tree command being used on a few Ruby on Rails and Git screencasts such as the ones on Gitcasts. The tree package is available on most package managers such as MacPorts and Fink for Mac OS X, however itās nice to roll your own. This tutorial shows you how.
...
How to add 'll' ; 'la' ; 'lla' commands to your Mac OS
Using ls and ls -al is not really convenient and a fast way to accomplish things. There are no such commands as āllā or ālaā on Mac OS, but its easy to install them.
//comments are with ā#ā sign
Type in terminal:Ā
open /Users/User_name/.bash_profile Ā #where User_name is yourās computer name
#This will open .bash_profile in Text_Editor
#Type there:
alias la=āls -Gaā #adding la command
alias ll=āls -Glā #adding ll command
alias lla=āls -Glaā #adding lla command
#Save this file, restart the terminal and here we go :)
Easy life starts here⦠:)
Lets get it started!!! Geeks part...
This part of my blog will be related to the programming questions and mostly solutions that I will implement! Also I will try to answer your questions here, so you can ask me anything what is related to programming in the "ask me" section.:)
24 hours in pictures Mee-Lai Stone, guardian.co.uk
24hours in pictures...
Raccoon video streaming
Jack,
I have no problem with your success. Youāve earned your success; for the most part. The problem is, you wholesale ripped off my identity. Grand theft. I donāt mean that in a small way, I mean that in a big way. You are not just trying to be the next me, you are trying to be me....
Just make everything possible!!!