Migrating to SharePoint
We have to migrate files to SharePoint along with previous versions. In my local system all versions are available in different folders (E.g. Folder 1 for all files with their Version 1, Folder 2 with all their files with version 2 and so on). We want to migrate all these files to SharePoint along with their versions.
I was looking for some option to migrate these folders one by one to Explorer view to make versioning in SharePoint but it seems I have to checkout for creating a every new version.
Is there any other way to migrate all the previous versions of files to SharePoint?
See also questions close to this topic
Sharepoint Online Add-ins. Multiple Add-ins on a page
I've successfully created an Angular 4 Add-in for Sharepoint, now when I open this add-in it seems it takes up the whole page whilst I only want to has it as part of a site and run multiple add-ins on a site. I looked trough the documentation of Microsoft Sharepoint but everything is really confusing. Web Parts, Sharepoint apps, Sharepoint add-in parts etc. Can't get a grip of what is going on.
Is this possible?
Web Part not working !! why?
I have written the jquery to create a web part zone for every tab in a page layout.The tabs have come and there is a web part zone but it is not working and the web part zone is also viewable before editing page.
Making Organization chart in web part
We are trying to create Organizational chart with pictures,title and Dept. Data from the list. But they need that Data from Active Directory. We are in SP 2010 Environment. I am hoping that some has jQuery code for the Web part.
In a Git or other VCS, Is there a way to jump to the modified lines of code in Visual Studio Code?
In Atom and IntelliJ there is the feature that you can set to keyboard shortcuts (In Atom it's default ⌥G+Up/Down), and that takes you to the modified lines of code if the file is tracked by a VCS. I haven't been able to find anything, and this is a very useful feature to me.
Is there a feature for that in VSCode that I'm missing, or is there a feature request for it already out?
SVN commit fails after deleting directory
I want to delete a folder, then tag a new version, but keep getting an error.
In trunk I have removed the folder
js/libsand all its subfolders with
svn rm trunk/js/libs. All files under the folder are marked for delete.
I then copy to a new tag with
svn cp trunk tags/0.3.7, also in the
tags/0.3.7/js/libsall files and folders are marked for delete. Then when I try to commit with
svn ci -m "v0.3.7"I get the following error when the commit reaches the first of the nested files of that folder, in the tag:
... Deleting tags/0.3.7/js/libs Deleting tags/0.3.7/js/libs/opentype.js/dist/opentype.js svn: E155011: Commit failed (details follow): svn: E155011: File '/Users/johannes/Packages/fontsampler-svn/fontsampler/tags/0.3.7/js/libs/opentype.js/dist/opentype.js' is out of date svn: E160013: '/!svn/txr/1749751-122uf/fontsampler/tags/0.3.7/js/libs/opentype.js/dist/opentype.js' path not found
Why does it complain about a missing file when it is marked for delete? The out of date message made me question if there possibly is a 0.3.7 tag already in the repo, but no.
Why can't I commit this delete to a new tag?
How to copy Android Studio project to remote Git (NOT GitHub) server
I can't find instructions for how to copy an Android Studio project from my Mac to a remote Git (NOT GitHub) server.
This doesn't seem like it should be hard but I have searched for hours and can't find anything specific.
A step-by-step guide would be wonderful.
How to recompile static gfortran and gcc libraries with fPIC
I am compiling a shared library (for linux systems) from a Fortran source which I would like to distribute to researchers around the world. I can successfully build with
gfortran -shared -o mylib.so .... Unfortunately,
ldd mylib.soreveals dependencies on various gfortran and gcc libraries, and I find this totally unacceptable:
linux-vdso.so.1 => (0x00007fff995bd000) libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007fa5227fa000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa5224f1000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa5222da000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa521f10000) libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007fa521cd1000) /lib64/ld-linux-x86-64.so.2 (0x0000561be2268000)
I want my programs to execute out-of-the-box without requiring the user to know how to install gfortran on their machine and how to make sure they have the required libraries (e.g.
Therefore, I insist on statically linking all the gfotran libraries into my shared object. Unfortunately
gfortran -shared -static-libgfortran -static-libgccfails with the error
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/libgfortran.a(error.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/5/libgfortran.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status
.afiles distributed with gfortran and gcc have not been compiled with position independent code. Question: I need step-by-step instructions on rebuilding the static versions of gfortran library files listed above with position independent code, so that I may successfully build my own shared library, with the gfortran libraries statically incorporated into them, achieving reduced dependences.
Which shared libraries to ship with a game (linux)?
I have a small game that I want to distribute, but I want to ship it with all the needed shared libraries so that users don't have any dependencies to install.
This is the output of ldd:
linux-vdso.so.1 (0x00007fff311c4000) libm.so.6 => /usr/lib/libm.so.6 (0x00007fcca3449000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fcca3245000) libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fcca2fba000) libGLEW.so.2.1 => /usr/lib/libGLEW.so.2.1 (0x00007fcca2d12000) libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x00007fcca29f6000) libSDL2_image-2.0.so.0 => /usr/lib/libSDL2_image-2.0.so.0 (0x00007fcca27d3000) libSDL2_ttf-2.0.so.0 => /usr/lib/libSDL2_ttf-2.0.so.0 (0x00007fcca25cb000) libSDL2_mixer-2.0.so.0 => /usr/lib/libSDL2_mixer-2.0.so.0 (0x00007fcca237c000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fcca215e000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fcca1da7000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fcca3a68000) libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007fcca1b75000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fcca1836000) libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fcca1624000) libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007fcca136e000) librt.so.1 => /usr/lib/librt.so.1 (0x00007fcca1166000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fcca0ea0000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fcca0c77000) libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fcca0a67000) libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007fcca0830000) libz.so.1 => /usr/lib/libz.so.1 (0x00007fcca0619000) libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007fcca0380000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fcca017c000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fcc9ff76000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fcc9fc63000) libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007fcc9fa37000) libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fcc9f7c4000)
How do I know which ones come by default on any linux distro and which ones should I ship with my game?
Unable to load library from the current folder in Python
I have very straight forward code:
import ctypes import os dll_name = "./mylib.so" print ctypes.cdll.LoadLibrary(os.path.abspath(dll_name))
Both myprog.py and mylib.so are in the same folder:
me@host:~/test $ pwd /home/me/test me@host:~/test $ ls -a . myprog.py mylib.so
Library is loadble:
me@host:~/test $ readelf -h mylib.so ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: DYN (Shared object file) Machine: ARM Version: 0x1 Entry point address: 0x0 Start of program headers: 52 (bytes into file) Start of section headers: 385780 (bytes into file) Flags: 0x5000000, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 7 Size of section headers: 40 (bytes) Number of section headers: 23 Section header string table index: 22
But I am still not able to load the library
me@host:~/test $ python myprog.py Traceback (most recent call last): File "myprog.py", line 4, in <module> print ctypes.cdll.LoadLibrary(os.path.abspath(dll_name)) File "/usr/lib/python2.7/ctypes/__init__.py", line 440, in LoadLibrary return self._dlltype(name) File "/usr/lib/python2.7/ctypes/__init__.py", line 362, in __init__ self._handle = _dlopen(self._name, mode) OSError: /home/me/test/mylib.so: cannot open shared object file: No such file or directory
What I am doing wrong?