I am new to SVN. I have a lot of old, unused files that I want to archive or copy to a different repository or directory. How can I archive these files and keep the history of their revisions?
We have had an interesting competition once, where everyone would write their implementation of hello world program. One requirement was that is should be less than 20 bytes in compiled form. the winner would be the one whose version is the smallest...
What would be your solution? :)
Platform: 32bit, x86
OS: DOS, Win, GNU/Linux, *BSD
Language: Asm, C, or anything else that compiles into binary executable (i.e. no bash scripts and stuff ;)
Dear Friends !
I have very definitively come across the 'simulating a 6-faced die' (which produces a random integer between 1 and 6, all outcomes are equally probable) in Java, Python, Ruby and Bash. However, I am yet to see a similar program in Ada. Has anyone come across one ?
Kind regards
Arkapravo
I love the GNU readline library, but since it is under a GPL license, I can not use it for commercial software. Do you know alternatives ? I only need the commandline history and auto completion (of customer keywords and files) features. I found this link :
http://github.com/antirez/linenoise
which seem to be a good starting point, but does not have auto completion.
Any suggestions, surely this must be a common task for people building interactive shell commands.
Hi,
Anyone knows about some free open source php library or framework to implement following service independently.
Email Marketing ,
Which include following service in that ,
send email ,
choose email template ,
Choose email template from local drive ,
text template ,
Account management like History email list , and more ,
Payment Integration ,
Thanks
bharanikumar
Hi,
I am deploying a desktop application using AIR, and I would like to store some user-specific data on the machine such as a history of his entries. Is this possible? Where can I learn more about this?
Thanks,
Mike
Assume my git repository has the following structure:
/.git
/Project
/Project/SubProject-0
/Project/SubProject-1
/Project/SubProject-2
and the repository has quite some commits. Now one of the subprojects (SubProject-0) grows pretty big, and I want to take SubProject-0 out and set it up as a standalone project. Is it possible to extract all the commit history involving SubProject-0 from the parent git repository and move it to a new one?
I've got vim setup as my external diff tool:
[diff]
external = git_diff_wrapper
!/bin/sh
vimdiff "$2" "$5"
Say I have 300 files that have been modified; via bash, I type "git diff". It launches 300 vimdiffs sequentially, how do I abort it?
Hi...I am working on Asp.Net application.I wrote the below JavaScript code to prevent the user to not going to login page on click of browser back button when he logs into the application.It is working fine for me,but from the homepage when i click on browser back button,the flickering appears due to post back.How to prevent the flickering.
Please provide the solution.
function preventBack()
{
window.history.forward();
}
setTimeout("preventBack()", 0);
window.onunload=function()
{
null;
}
I'm considering writing a console application in C# and I want to incorporate history, completion and command line editing features something like GNU readline (but not necessarily as extensive as that!)
Is there an existing library for .net which provides this type of functionality? I guess one option would be to use interop services to call GNU readline. But is there a native option?
Paul.
I've tried using the following commands to download the ctrl alt del comics.
$ for filename in $(seq 20021023 20100503); do wget http://www.ctrlaltdel-online.com/comics/"$filename".jpg; done
I get the following error code, "bash: syntax error near unexpected token 'do'"
I've also tried using cURL, using this command,
curl http://ctrlaltdel-online.com/comics[20021023..20100503].jpg
I get the following error code, "curl: (3) [globbing] error: bad range specification after pos 37"
Any help would be great.
I was hoping that I could pass a DateVersionSpec into VersionControlServer.DownloadFile() but it doesn't work. It tells me that the item doesn't exist at that version, even though the file existed in source on the date passed.
Do I need to query the Item history just so I can figure out what version the file was at on the date in question? Use QueryHistory(...) method?
I would like to define some aliases in fish. Apparently it should be possible to define them in
~/.config/fish/functions
but they don't get auto loaded when I restart the shell. Any ideas?
p.s. if anyone is using or has used fish in the past I'd be interested to hear your comments as to whether it offers anything that bash does not.
While implementing the BluetoothChat application .apk inside G1 device, it always pops up a message:
$adb install -r /home/parveen/workspace/BluetoothChat/bin/BluetoothChat.apk
-bash: adb: command not found
I am not getting clearly why this error is popping up every time.
Please help me.
Thanks in advance.
Praween
I am an absolute beginner with Linux Operating system and just for fun in terminal I typed system() what happened next is as below:
satish@satish-Inspiron-N5010 ~ $ system()
>#include<iostream>
>int main()
bash: syntax error near unexpected token 'int'
satish@satish-Ispiron-N5010~ $
Here I want to know that what is system() ? what is it's role here? why I got error in int main() line? What can we do with C/C++ programming in terminal?
I am trying to use groovy to do shell scripting on unix, but I am not having any luck having one process retain the environment variables changed by another process. For example,
def p1 = ["bash", "-c", "source /some/setEnv.sh"].execute()
Now, I would like a second process, p2, to inherit the environment variables that was set in p1. How can I do this? I don't see anything in java.lang.Process or its groovy extension that would spit out the environment variables after the process has executed.
I want to list software architectures from which were used in history to which are using now. As far as I know, they're client-server, cloud-computing,...But I cannot get a full list of them. Can you please give me this:
Software architecture, years active, architecture that replaced it and the reason of replacement.
A little detailed explanation will be much appreciated.
Thank you so much.
A feature of a forms based application I am developing allows the user to search through a history of records.
The user can search by name, by number, and between dates, and populate the results in a datagridview control.
However, as the form will be used to search for previous records. The ability for the user to select future dates is not required.
Is there a way to prevent the user from selecting future dates, or even grey the future dates out?
hi
I have the following script that replace a param to b param and match only the c parameter in line
how to change the perl syntax: "if /$c/" in order to export c param to the follwoing perl syntax
!/bin/bash
export a='@d&'
export b='new text'
export c='bla bla'
echo $c | perl -pe 'next if /^#/; s/(^|\s)\Q$ENV{a}\E(\s|$)/$1$ENV{b}$2/ if /$c/'
I have two existing subversion repositories on different hosts (host-a and host-b) and I'd like to copy one directory from repo A to repo B.
Basically https://host-a/repo/some/path/moduleA should be copied to https://host-b/repo/some/other/path/moduleA. All the history should be preserved and existing data in host-b should be preserved.
The two repositories do not have any conflicting directory hierarchies. The repositories do not share common ancestry.
On a project I'm working on, I'm trying to make it accept user commands and provide history with the up arrow. I'm aiming to keep this project free of dependencies, and I don't want to have to require people to also install the readline development files just to compile my project. Does anyone know of a simple drop-in replacement for GNU Readline that provides only simple functionality?
git-rebase man page mentions -X<option> can be passed to git-merge. When/how exactly?
I'd like to rebase by applying patches with recursive strategy and theirs option (apply whatever sticks, rather than skipping entire conflicting commits). I don't want merge, I want to make history linear.
I've tried:
git rebase -Xtheirs
and
git rebase -s 'recursive -Xtheirs'
but git rejects -X in both cases.
I'm trying to configure the cygwin to work with TWiki, I have to input this in the Cygwin bash shell:
mount -b -s c:/...
but it doesn't recognize the "-s", I already fixed the problem with -b, it changed the syntax and now is "mount -o binary" for the "mount -b"part. But now it says unknown option with the "-s" anyone?? help?? or what does the -s mean, so I can look it up :S
I'm hunting a Javascript error related to form submission (more importantly preventing it). I see the error appear in the Web Inspector but it disappears immediately since the form submits and refreshes the page. Is there a console history or scrollback? How can I see what the error is?