Questions tagged [mirror]

Use this tag for questions about mirrors or mirroring. Use [unity3d-mirror] for the Unity3d Mirror Networking library.

For questions about mirrors or mirroring.

589 questions
171
votes
3 answers

How to update a git clone --mirror?

I have created a git repository to mirror a live site (which is a non-bare git repository): git clone --mirror ssh://user@example.com/path/to/repo Now, to keep this mirror clone updated with all changes from its remote origin, which command or…
J. Bruni
  • 20,322
  • 12
  • 75
  • 92
112
votes
12 answers

How to run html file on localhost?

I have an HTML file and I run it on localhost. But, this file includes a mirror using a webcam. For example, how can I run this HTML file on localhost? Webcam starts in this example when checking to live checkbox.
Volkan Şahin
  • 1,181
  • 2
  • 10
  • 15
73
votes
6 answers

Mirroring from GitLab to GitHub

I have been using a private GitLab instance to hold all my code. But since most of the staff that work with me now have a GitHub account, i would really like to get moving and mirror my Gitlab repo to Github. My situation: a server running Gitlab…
Ingwie Phoenix
  • 2,703
  • 2
  • 24
  • 33
64
votes
4 answers

How do I mirror a directory with wget without creating parent directories?

I want to mirror a folder via FTP, like this: wget --mirror --user=x --password=x ftp://ftp.site.com/folder/subfolder/evendeeper But I do not want to create a directory structure like this: ftp.site.com -> folder -> subfolder -> evendeeper I just…
Tom Boutell
  • 7,281
  • 1
  • 26
  • 23
60
votes
7 answers

! [remote rejected] errors after mirroring a git repository

I'm following this documentation: https://help.github.com/articles/duplicating-a-repository/ git clone --mirror https://github.com/exampleuser/repository-to-mirror.git cd repository-to-mirror.git git push --mirror…
deez
  • 1,472
  • 3
  • 18
  • 28
52
votes
5 answers

How to mirror only a section of a website?

I cannot get wget to mirror a section of a website (a folder path below root) - it only seems to work from the website homepage. I've tried many options - here is one example wget -rkp -l3 -np http://somewebsite/subpath/down/here/ While I only…
sub
  • 521
  • 1
  • 5
  • 3
44
votes
4 answers

HTML Canvas: How to draw a flipped/mirrored image?

I'm trying to flip/mirror an image as I paint it on an HTML canvas; I found a game tutorial showing a sprite sheet per direction a character has to face, but this doesn't seem quite right to me. Especially since each frame has a different size. What…
Jem
  • 6,226
  • 14
  • 56
  • 74
44
votes
3 answers

Mirror a git repository by pulling?

I am wondering if there is an easy way, ie like a simple cron job, to regularly pull from a remote git repository to a local read only mirror for backup purposes? Ideally it would pull all branches and tags, but the master/trunk/head would be…
corydoras
  • 7,130
  • 12
  • 55
  • 58
28
votes
9 answers

Question mark characters display within text. Why is this?

I have a backup server that automatically backs up my live site, both files and database. On the live site, the text looks fine, but when you view the mirrored version of it, it displays '?' within some of the text. This text is stored within the…
Brad
  • 12,054
  • 44
  • 118
  • 187
23
votes
4 answers

Eclipse updates are extremely slow

Today I tried to download EGit plug-in from eclipse.org, and waited an hour and nothing happened. I tried three more times, waited for three hours and stopped. Then I tried to clone egit from the repository developers, but it began to clone at a…
Oleg Chirukhin
  • 970
  • 2
  • 7
  • 22
19
votes
1 answer

Mirror from github to gitlab

In Gitlab it is now possible to automatically mirror remote GIT repo: http://docs.gitlab.com/ee/workflow/repository_mirroring.html Synchronization is either done manually or via gitlab cron script (running every hour). I would like to sync in this…
Leszek Grzanka
  • 191
  • 1
  • 3
19
votes
4 answers

Make Maven Proxy/Server settings configurable based on location?

So I'm not sure what the best way to accomplish this is, but basically I have a laptop that I use at work for Maven projects. It works fine when I'm at work, but as soon as I walk out of the door of their corporate proxy and maven server, I often…
Nick Klauer
  • 5,893
  • 5
  • 42
  • 68
18
votes
2 answers

Wget Mirror HTML only

I have a small website that I try to mirror to my local machine with only the html file, no images, image attach files... pdf, ..etc. I have never mirrored a website before and think it would be a good idea to ask the question before doing anything…
B.Mr.W.
  • 18,910
  • 35
  • 114
  • 178
14
votes
2 answers

javax.lang.model: How do I get the type of a field?

In java.lang.reflect, one would do: Field someField = ...; Class fieldType = someField.getType(); But what do I do with javax.lang.model's VariableElement (which may or may not represent a field)? A corresponding return value would be (I guess)…
java.is.for.desktop
  • 10,748
  • 12
  • 69
  • 103
13
votes
4 answers

Mirror SVN Repository [Write-through proxying]

I have a codebase located in Europe and access this codebase from Asia. Codebase is substantially huge, downloading the whole codebase (which is required sometimes) becomes a pain. I wanted to know whether anything like this. I want a solution that…
Abdul Munim
  • 18,869
  • 8
  • 52
  • 61
1
2 3
39 40