Content ReWriting ($1 per 125 words), huge job more people needed.

(accidentally I posted this thread as "selling", so I am removing that old thread, and creating this one "buying" jucto copy/pasted to avoid confusion, mods, my mistake)

As the title said, I need few (maybe more than few) content writers for huge REWRITING job (about 10 different topics). The whole project is about 120.000 words and it will be done in the next few months.
Price is $ 1 per 125 words or $ 8 / 1.000 words, or 0.064 per word. We…

Content ReWriting ($ 1 per 125 words), huge job more people needed.

Content ReWriting ($1 per 125 words), huge job more people needed.

As the title said, I need few (maybe more than few) content writers for huge REWRITING job (about 10 different topics). The whole project is about 120.000 words and it will be done in the next few months.

Price is $ 1 per 125 words or $ 8 / 1.000 words. For those who are better, I will give some bonus up to 50% of the initial price to stimulate to produce more content.

Payments PayPal, on a daily level.

If you are interested, drop me a pm with:…

Content ReWriting ($ 1 per 125 words), huge job more people needed.

Understanding why do developer rewriting source code? [on hold]

During the development and maintenance of software engineering, developers perform several types of software development that include fixing bugs, adding new features, and enhancing existing code. One important observation during the performance of these tasks is that developers start re-write or reimplement the existing code for many reasons that are not clear to me. So my question is that do developers rewrite working code when they implement and maintain existing software. Also, if this TRUE, what are the reasons for doing so. Please note, in here I am not talking about doing a large reimplementation or refactoring but a small piece of code that is working (e.g., a function).

Edit: The case that I am looking for is the case when the developer could not understand the source code or it is easier for her/him to rewrite the code instead of modifying it.

Edit: Sometimes developers when they modify the code they fell that I should be rewriting the code to understand it and then I can modify it.

Azure Blob and Table storage rewriting the code in a more simple way

I wrote this code, but is not very practical. I’m still new in this area of coding. Basically I’m storing an image into a blob container, and i’m saving the url in a table. I’m doing the same thing for a text file. So i would like to use dependency injection for azure connection part to make my code more practical.

Here’s my Logo Controller.

[Route("api/manage/logo")] [ApiController]  public class ManageLogoController : ControllerBase {      [HttpPost("{version}")]     public async Task<IActionResult> Post(IFormFile image, float version)     {         if (image.Length >= 1048576)         {             return BadRequest("Uploaded image may not exceed 1Mb, please upload a smaller image.");         }          var allowedExtensions = new[] {             ".png", ".jpg", "jpeg" };         string fileExt = Path.GetExtension(image.FileName);         if (allowedExtensions.Contains(fileExt))         {             try             {                 await LogoStorage.UploadFileToBlobStorage(version, image.FileName);                 return Ok(new                 {                     lenght = image.Length,                     name = image.FileName                 });             }             catch (Exception ex)             {                 return BadRequest();             }         } 

TnC Controller

[Route("api/manage/tnc")] [ApiController]  public class ManageTermCondController : ControllerBase {  [HttpPost("{version}")] public async Task<IActionResult> Post(IFormFile doc, float version) {      var allowedExtension = ".txt";     string fileExt = Path.GetExtension(doc.FileName);     if (allowedExtension.Contains(fileExt))     {         try         {             await TncStorage.UploadDocToBlobStorage(version, doc.FileName);             return Ok(new             {                 lenght = doc.Length,                 name = doc.FileName             });         }         catch (Exception ex)         {             return BadRequest();         }     }      else     {         return BadRequest("Only .txt files are allowed!");     } }    [HttpGet] public string Geti(float version) {     var x = TncStorage.GetURL(version);     if (x == null)     {         return "There's no such record";     }     else return TncStorage.GetURL(version);  } } 

I made a new class library named .Service for the following part.

 public class VersionURL : TableEntity         {             public VersionURL(string type, string version)             {                 PartitionKey = type;                 RowKey = version;             }             public VersionURL() { }             public string URL { get; set; }             public string ETag { get; set; }       } 

First class.

public static async Task UploadFileToBlobStorage(float version, string filename) {     CloudStorageAccount storageAccount = null;     CloudBlobContainer cloudBlobContainer = null;     string storageConnectionString = "DefaultEndpointsProtocol=https;AccountName=logodata;AccountKey=p+lksYbHm7vCBIzsuNB9NnoNYP6AYhS56tLkMloZLjRCur8qh5gR/GrkYpV8Egzac3I8r+u9J2xWrEiOXeN+Zg==;EndpointSuffix=core.windows.net";      if (CloudStorageAccount.TryParse(storageConnectionString, out storageAccount))     {         try         {              CloudBlobClient cloudBlobClient = storageAccount.CreateCloudBlobClient();             cloudBlobContainer = cloudBlobClient.GetContainerReference("logodata");             await cloudBlobContainer.CreateIfNotExistsAsync();             BlobContainerPermissions permissions = new BlobContainerPermissions             {                 PublicAccess = BlobContainerPublicAccessType.Blob             };             await cloudBlobContainer.SetPermissionsAsync(permissions);              var blobUrl = "";             string file = Guid.NewGuid().ToString() + Path.GetExtension(filename);             CloudBlockBlob cloudBlockBlob = cloudBlobContainer.GetBlockBlobReference(file);             try             {                 await cloudBlockBlob.UploadFromFileAsync(filename);              }             catch (Exception ex)             {              }             blobUrl = cloudBlockBlob.Uri.AbsoluteUri;               CloudTableClient tableClient = storageAccount.CreateCloudTableClient();             CloudTable table = tableClient.GetTableReference("CommonURL");             await table.CreateIfNotExistsAsync();              var v = "v" + version;             VersionURL content = new VersionURL("Logo", v);             content.ETag = "*";             content.URL = blobUrl;             var query = new TableQuery<VersionURL>().Where(TableQuery.GenerateFilterCondition("RowKey", QueryComparisons.Equal, v));             TableContinuationToken continuationToken = null;             do             {                 var result = await table.ExecuteQuerySegmentedAsync(query, continuationToken);                 continuationToken = result.ContinuationToken;                  if (result.Count() != 0)                 {                     foreach (VersionURL entity in result)                     {                         if (entity.RowKey == v)                         {                             try                             {                                 TableOperation updateOperation = TableOperation.Merge(content);                                 await table.ExecuteAsync(updateOperation);                             }                             catch (Exception ex)                             {                              }                         }                      }                 }                 else                 {                     TableOperation insertOperation = TableOperation.Insert(content);                     await table.ExecuteAsync(insertOperation);                 }             } while (continuationToken != null);         }         catch (StorageException ex)         {             Console.WriteLine("Error returned from the service: {0}", ex.Message);         }         finally         {          }     }     else     {         Console.WriteLine(             "A connection string has not been defined in the system environment variables. " +             "Add a environment variable named 'storageconnectionstring' with your storage " +             "connection string as a value.");     } }     } 

The second class.

  public class TncStorage     {  public static async Task UploadDocToBlobStorage(float version, string filename) {     CloudStorageAccount storageAccount = null;     CloudBlobContainer cloudBlobContainer = null;     string storageConnectionString = "DefaultEndpointsProtocol=https;AccountName=logodata;AccountKey=p+lksYbHm7vCBIzsuNB9NnoNYP6AYhS56tLkMloZLjRCur8qh5gR/GrkYpV8Egzac3I8r+u9J2xWrEiOXeN+Zg==;EndpointSuffix=core.windows.net";      if (CloudStorageAccount.TryParse(storageConnectionString, out storageAccount))     {         try         {              CloudBlobClient cloudBlobClient = storageAccount.CreateCloudBlobClient();             cloudBlobContainer = cloudBlobClient.GetContainerReference("tncdata");             await cloudBlobContainer.CreateIfNotExistsAsync();             BlobContainerPermissions permissions = new BlobContainerPermissions             {                 PublicAccess = BlobContainerPublicAccessType.Blob             };             await cloudBlobContainer.SetPermissionsAsync(permissions);              var blobUrl = "";             string file = Guid.NewGuid().ToString() + Path.GetExtension(filename);             CloudBlockBlob cloudBlockBlob = cloudBlobContainer.GetBlockBlobReference(file);             try             {                 await cloudBlockBlob.UploadFromFileAsync(filename);              }             catch (Exception ex)             {              }             blobUrl = cloudBlockBlob.Uri.AbsoluteUri;               CloudTableClient tableClient = storageAccount.CreateCloudTableClient();             CloudTable table = tableClient.GetTableReference("CommonURL");             await table.CreateIfNotExistsAsync();             var v = "v" + version;             VersionURL content = new VersionURL("TnC", v);             content.ETag = "*";             content.URL = blobUrl;             var query = new TableQuery<VersionURL>().Where(TableQuery.GenerateFilterCondition("RowKey", QueryComparisons.Equal, v));             TableContinuationToken continuationToken = null;             do             {                 var result = await table.ExecuteQuerySegmentedAsync(query, continuationToken);                 continuationToken = result.ContinuationToken;                  if (result.Count() != 0)                 {                     foreach (VersionURL entity in result)                     {                         if (entity.RowKey == v)                         {                             try                             {                                  var dec = version + .1;                                 content.RowKey = "v" + dec;                                 TableOperation updateOperation = TableOperation.Insert(content);                                 await table.ExecuteAsync(updateOperation);                               }                             catch (Exception ex)                             {                              }                         }                      }                 }                 else                 {                     TableOperation insertOperation = TableOperation.Insert(content);                     await table.ExecuteAsync(insertOperation);                 }             } while (continuationToken != null);         }         catch (StorageException ex)         {             Console.WriteLine("Error returned from the service: {0}", ex.Message);         }         finally         {          }     }     else     {         Console.WriteLine(             "A connection string has not been defined in the system environment variables. " +             "Add a environment variable named 'storageconnectionstring' with your storage " +             "connection string as a value.");     } }   public static string GetURL(float version) {     CloudStorageAccount storageAccount = null;     string storageConnectionString = "DefaultEndpointsProtocol=https;AccountName=logodata;AccountKey=p+lksYbHm7vCBIzsuNB9NnoNYP6AYhS56tLkMloZLjRCur8qh5gR/GrkYpV8Egzac3I8r+u9J2xWrEiOXeN+Zg==;EndpointSuffix=core.windows.net";     storageAccount = CloudStorageAccount.Parse(storageConnectionString);     CloudTableClient tableClient = storageAccount.CreateCloudTableClient();     CloudTable table = tableClient.GetTableReference("CommonURL");     var v = "v" + version;     var tableQuery = new TableQuery<VersionURL>();     tableQuery = new TableQuery<VersionURL>().Where(TableQuery.GenerateFilterCondition("RowKey", QueryComparisons.Equal, v));     var entities = table.ExecuteQuerySegmentedAsync(tableQuery, null);     var results = entities.Result;     var s = "";     foreach (var file in results.Where(x => x.RowKey == v))     {         //if (file.RowKey == v)         //{         return s = file.URL;          //}         //else         //    return null;     }      return null; } 

Can i make the first and the second class more simple?

Canadian Writer | PREMIUM REWRITING SERVICES | FAST TAT | UNLIMITED REVISIONS

EXCLUSIVELY ON DP!

After just over a year on DP, I'm offering premium rewriting services to the kind folks here.

All rewrites will be done MANUALLY with a firm guarantee: If you suspect the use of an article spinner, you'll get a full refund.

Except for very large orders, TAT will be between 24 hours and 48 hours. Bulk will determine the length. Nonetheless, I strive to complete all orders ASAP. If I'm not available for new orders because of pending orders or general unavailability,…

Canadian Writer | PREMIUM REWRITING SERVICES | FAST TAT | UNLIMITED REVISIONS

Rewriting URL of WordPress in a Subdirectory

I am renting some webspace and a domain from BlueHost.com on which I run a WordPress site. Let’s call it domain.com. WordPress is installed in the root folder.

As I can run multiple sites on this webspace, I installed a second WordPress site in a subdirectory: domain.com/wp2.

I furthermore own a second domain – let’s call it second.com – which is rented from nearlyfreespeech.com. I therefore created a .htaccess file which forwards all traffic from second.com to domain.com/wp2.

My problem: I can’t figure out how to rewrite the url to show “second.com” once a user has reached that WordPress site. Right now, the url changes to “domain.com/wp2” after accessing the site via “second.com”.

Many tutorials point out that a .htaccess file should be placed in the root directory of domain.com to rewrite the url. But as I already have a separate WordPress site sitting in that root directly, that doesn’t seem to work for me.

How can I therefore rewrite that url so that people who access the second WordPress site via second.com keep seeing that url?