What's the equivalent of Subversion's "use-commit-times" for Git?

I need the timestamps of files on my local system and on my server to be in sync. This is accomplished with Subversion by setting use-commit-times=true in the configuration so that the last...

Is it better to have a BaseEntity type or Interface that all entities derive from?

Currently I have created a Base Entity type that all my entities will derive from. public abstract class BaseEntity { /// <summary> /// Key Field for all entities ///...

What's equivalent to Django's auto_now, auto_now_add in SQLAlchemy?

In Django, we can use these 2 parameters when making a date column: DateField.auto_now Automatically set the field to now every time the object is saved. Useful for “last-modified”...

How to use java to download a file preserving metadata?

What's the simplest java way to download a file over HTTPS, preserving timestamps and using the content-disposition for the filename? Is there any java library at a higher level than...

HttpClient buffer size limit exceeded

I am using my client to get some info about a certain file stored in my Swift Object Storage which can be accessed throught REST Api. In Swift the HEAD method and url leading to specified object...

user account creation date in LDAP

I would like to write a shell script to do the following , would advise how to make it ? very thanks Connect LDAP server ( Id : user , password : pass ) check the field user_account_create_date...

How to detect touch speed in Android

I added a drawable to my app that I can move with touch and based on the finger move speed, I'd like to do different actions. I checked the events and I can only use MotionEvent.ACTION_MOVE to...

How can I tell Camel to only copy a file if the Last Modified date is past a certain time?

I'm wondering if this is possible to achieve with Apache Camel. What I would like to do, is have Camel look at a directory of files, and only copy the ones whose "Last Modified" date is more...

MySQL timestamp fields - created/modified

I have recently decided to stop using MySQL triggers for my created and modified date fields in my tables due to complications when running scripts included in the setup file on client...

How to find out when a column was changed in Oracle DB?

I want to be able to see when a specific column was changed. To clarify, I don't want to see when a row was changed. I was able to do that with ROWDEPENDENCIES and triggers with a timestamp. With...

How can I set file timestamp in a remote Git repository?

I'm trying to figure out how to set the files' timestamps in my repository. On a Git push I want my files' last modified dates to be in the past rather than the time of upload. I can manually set...

C# - Download files from FTP which have higher last-modified date

I have an FTP server with some files. I have the same files in in a local directory (in C:\). When I'll run the program, I'd like it searches all files in the FTP server that have a last-modified...

How can I find last modified timestamp for a table in Hive?

I'm trying to fetch last modified timestamp of a table in Hive.

Processing time windows doesn't work on finite data sources in Apache Flink

I'm trying to apply a very simple window function to a finite data stream in Apache Flink (locally, no cluster). Here's the example: val env =...

How to get and display an image from a guzzle request

I am trying to display an image from a guzzle request, everything worked fine but I am failing to display the image. This is the result I get, when trying to get users'...

Random last modified timestamps on an NFS file

While creating an application I encountered a strange behaviour. When reading file last modified timestamp I sometimes received random values. I came up with a theory about it, so I decided to...

How to get last modified timestamp of a partition in a bigquery table

there is a way to get the last modified timestamp information of a partition in a bigquery table, using legacy sql __PARTITIONS_SUMMARY__ written here list-partition, SELECT project_id,...

Google Sheet API - How to get only updated rows

I could not able to find in the documentation on how to get only updated records/rows from Google Sheets API. Is there a way, that I can get a timestamp of each record when it was last...

How to read all "last_changed" records from Firebird DB?

My question is a bit tricky, because it's mostly a logical problem. I've tried to optimize my app speed by reading everything into memory but only those records, which changed since "last read" =...

Org mode: Problems with folding (no matching item found on current line)

I'm having a weird problem with Emacs (doom-emacs) on macOS (brew cask emacs-mac-spacemacs-icon): I sporadically cannot fold a heading. I can unfold it, then its children are shown, however, when...

How can I configure npm update to update mtime of files?

npm install and npm update install files in node_modules. The modified timestamps of these files are not what you expect: the time that these files were last installed or updated in the local...

how to just extract the last 2 days recent files from tftpfilelist based on modified time without storing in a tbufferoutput component-talend job

As of now i am iterating through all the 5k files available in the folder and store them in a tbufferoutput and read through them by using tbufferinput and sorting them based on mtime...

changing the remote tmp path in ansible.cfg (Windows client)

Good day everyone, I am having some issues any task on a Windows machine i ran the following: ansible -m ping Windows -u ansible -kK -vvv 192.168.140.147 | UNREACHABLE! => { "changed":...

MRJob: I'm having a client error while using EMR

I'm a newbie in mrjob and EMR and I'm still trying to figure out how things work. So I'm having this error when I'm running my script: python3 MovieSimilarities.py -r emr --items=ml-100k/u.item...

Is it possible to create new file with some specific old date?

In my Android application I have a feature of renaming files. I have implemented this feature by creating a new file with new name on same path and then copying the content of original file to new...

Get no last modified timestamp when I request google people api

I want to upgrade my little tool from google contact api to google people api. The authorization is working and I get contacts from peopeService. But the person.Metadata source item array has only...

How to create temporary url in OpenStack using python-swiftclient?

I'm using the python-swiftclient to connect to an OpenStack Object Store. Following some examples from the documentation I can now upload a file: container = 'new-container' local_file_path =...

Getting Data Lake Metadata in Azure Data Factory's Data Flow

I want to add the timestamp of copying parquet files to my dataframe in data flow as a derived column. In source module I can filter parquet files by last modified which makes me think that it...

How to mock boto3 paginator?

I have the following function that I need to test: def function_to_test(host: str, prefix: str, file_reg_ex=None, dir_reg_ex=None): s3_client = boto3.client('s3') s3_paginator...

Azure Storage Explorer - Filtering on Last Modified

Apparently we can not sort the blobs easily if there are more than 1000 : you will need to "load more" until the complete list of blob appears and then you can sort them as you wish. Which is...