This file contains 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
As discussed with PulkoMandy previously on IRC, BTimeUnitFormat does not | |
incorporate style formatting. It does take style as an argument | |
https://github.com/haiku/haiku/blob/master/src/kits/ | |
locale/TimeUnitFormat.cpp#L90 | |
but the style element is not used anywhere. So B_TIME_UNIT_ABBREVIATED | |
won't work currently. | |
I was trying to fix the same. My changes here: | |
https://diffy.org/diff/c4de3i96k5y5aa5m1z5dlmzpvi |
This file contains 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
<•Me> | |
I'm trying to add HVIF icons to BToolBar buttons. | |
I'm taking one of the icons from here. : http://zumi.xoom.it/myhaiku/btoolbar/index.html | |
Opened it in Icon-O-Matic and exported it as HVIF Rdef, Copied the hex representation into the .rdef file. Loaded the vector icon to a BBitmap object and passed it as a parameter to the BToolBar->AddAction(). | |
But when I'm taking one of the icons directly from here http://zumi.xoom.it/myhaiku/btoolbar/index.html it's not getting aligned properly. Getting aligned to the left:http://pasteboard.co/5mSHCE5kW.png | |
But taking the same icon(hex representation) from the BePDF source makes it aligned properly. http://pasteboard.co/5mTqr4E2o.png | |
Seems like there's some extra data appended at the end (in the one from the BePDF source). | |
Commit containing the code for the same. |
This file contains 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
from selenium import webdriver | |
import json | |
from difflib import get_close_matches | |
def urlMatch(titles_urls, name): | |
links = [] | |
titles= [] | |
for item in titles_urls: | |
if "linkedin.com/in/" in item[1]: | |
titles.append(item[0].split('|')[0].strip()) |
This file contains 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
#!/usr/bin/env python | |
""" | |
Created on Wed Aug 17 03:39:14 2016 | |
Calculating term densities in a piece of text | |
@author: Akshay Agarwal <agarwal.akshay.akshay8@gmail.com> | |
""" | |
import re |