let timeBox = document.getElementsByClassName('c-timestamp');
let i = 0;
while(i < timeBox.length) {
var date = new Date( timeBox[i].getAttribute('data-ts') * 1000);
var dateFormate = date.getFullYear() + '-' + (date.getMonth()+1) + '-' + date.getDate();
dateFormate = dateFormate + '-' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds();
var currentText = timeBox[i].getElementsByClassName('c-timestamp__label')[0].innerHTML;
if (! currentText.includes(dateFormate)){
timeBox[i].getElementsByClassName('c-timestamp__label')[0].innerHTML = currentText + ' (' + dateFormate + ')';
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<NotepadPlus> | |
<UserLang name="TODO List" ext="todo" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments">00// 01 02 03/* 04*/</Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> | |
<Keywords name="Numbers, prefix2"></Keywords> |
Here are some details about how I made this timelapse video with a GoPro and a Mac. It wasn't as straight-forward as I thought it would be, so I wanted to share what I learned.
As you can see from the video, the subject was me building a wooden mechanical 3D puzzle which took me nearly 18 hours to build. I took a photo once every 5 seconds which yeilded more than 12.7k photos.
Here's what I used to make a timelapse video.
AddOn:
- Go to about:support in your address bar
- Look for your profiles directory and open it:
- Create a file named
chrome/userChrome.css
in your profile directory:
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config file version | |
apiVersion: 1 | |
# list of datasources that should be deleted from the database | |
deleteDatasources: | |
- name: Prometheus | |
orgId: 1 | |
# list of datasources to insert/update depending | |
# whats available in the database |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you want to achieve greatness stop asking for permission. ~Anonymous | |
Things work out best for those who make the best of how things work out. ~John Wooden | |
To live a creative life, we must lose our fear of being wrong. ~Anonymous | |
If you are not willing to risk the usual you will have to settle for the ordinary. ~Jim Rohn | |
Trust because you are willing to accept the risk, not because it's safe or certain. ~Anonymous | |
Take up one idea. Make that one idea your life - think of it, dream of it, live on that idea. Let the brain, muscles, nerves, every part of your body, be full of that idea, and just leave every other idea alone. This is the way to success. ~Swami Vivekananda | |
All our dreams can come true if we have the courage to pursue them. ~Walt Disney | |
Good things come to people who wait, but better things come to those who go out and get them. ~Anonymous | |
If you do what you always did, you will get what you always got. ~Anonymous | |
Success is walking from failure to failure with no loss of enthusiasm. ~Winston Chu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
# | |
# Current known FCC address ranges: | |
# https://news.ycombinator.com/item?id=7716915 | |
# | |
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
# | |
# In your nginx.conf: | |
location / { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unicode table - List of most common Unicode characters * | |
* This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable. | |
Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol. | |
What is Unicode? | |
Unicode is a standard created to define letters of all languages and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode. | |
How to identify the Unicode number for a character? | |
Type or paste a character: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Rename tag | |
awful.key({ modkey, "Shift", }, "F2", function () | |
awful.prompt.run({ prompt = "Rename tab: ", text = awful.tag.selected().name, }, | |
mypromptbox[mouse.screen].widget, | |
function (s) | |
awful.tag.selected().name = s | |
end) | |
end), |
NewerOlder