How to checkout and BUILD specific chromium tag/branch without download the FULL source code of all history?

This is probably the fastest way to fetch Chromium’s source code. Suppose 59.0.3071.115 is the version of Chromium, you wish to build. You run this command: git fetch https://chromium.googlesource.com/chromium/src.git +refs/tags/59.0.3071.115:chromium_59.0.3071.115 If you don’t want the history to be fetched (faster fetching of Chromium source code): git fetch https://chromium.googlesource.com/chromium/src.git +refs/tags/59.0.3071.115:chromium_59.0.3071.115 –depth 1 Now from your Chromium … Read more

TFS Build server and COM references – does this work?

Using tlbimp.exe directly is not necessary. Try replacing any <COMReference> items in the project file with <COMFileReference>. An example would look like this: <ItemGroup> <COMFileReference Include=”MyComLibrary.dll”> <EmbedInteropTypes>True</EmbedInteropTypes> </COMFileReference> </ItemGroup> The COM dll doesn’t need to be registered on the machine for this to work. Each COMFileReference item can also have a WrapperTool attribute but the … Read more

Bundling Data files with PyInstaller 2.1 and MEIPASS error –onefile

I think I see the problem. You’re not feeding data_files into your Analysis object. Here’s how I add my data files in my .spec file: a = Analysis(….) a.datas += [(‘7z.dll’, ‘7z.dll’, ‘DATA’)] a.datas += [(‘7z.exe’, ‘7z.exe’, ‘DATA’)] a.datas += [(‘collection.xml’, ‘collection.xml’, ‘DATA’)] a.datas += [(‘License.html’, ‘License.html’, ‘DATA’)] pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts … Read more

How to search for a string in files with Ant (make sure certain string isn’t found in source files)

You might consider using fileset selectors to do this. Selectors allow you to choose files based on content, size, editability and so on. You can combine selectors with name-based includes and excludes, or patternsets. Below is an example. The second fileset is derived from the first, with a selector that simply matches on file content. … Read more

How do I reference external jar files in a common directory (not libs) to build android project using ant?

In the sdk, there are ant files under tools/ant. In main_rules.xml, you can find the following code section: <!– Directory for the third party java libraries –> <property name=”jar.libs.dir” value=”libs” /> <property name=”jar.libs.absolute.dir” location=”${jar.libs.dir}” /> <!– create a path with all the jar files, from the main project and the libraries –> <path id=”jar.libs.ref”> <fileset … Read more

Why is my webpack bundle.js and vendor.bundle.js so incredibly big?

I’d highly recommend using Webpack Bundle Analyzer to make your bundle smaller (https://github.com/th0r/webpack-bundle-analyzer). You can see what is making your bundle so big. You might also be using all of firebase, lodash, and jquery. In addition to using webpack production plugins, try using ignore whatever you’re not using and import only what you need like … Read more

How do I compile and run a C program in Sublime Text 2?

I recommend you to read build document of Sublime Text 2. Here is the answer. In Sublime, click Tools -> Build System -> New Build System… For Windows user, type the following code and save: { “cmd” : [“gcc”, “$file_name”, “-o”, “${file_base_name}.exe”, “&&”, “${file_base_name}.exe”], “selector” : “source.c”, “shell” : true, “working_dir” : “$file_path” } For … Read more