Skip to content

Commit 4f600ad

Browse files
committed
Reset repository due to issues
- Signed-off commits were missing - Dumb pseudo was used in history - Change of email from Gmail to self-hosted mail has been fucked up Signed-off-by: Pierre-Yves Lapersonne <dev@pylapersonne.info>
1 parent 935d4ba commit 4f600ad

File tree

108 files changed

+714
-74693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+714
-74693
lines changed

CHANGELOG.md

Lines changed: 1 addition & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,10 @@
11
# CHANGELOG
22

3-
## v9.0.2
4-
- Feature: compute metrics / statistics about subjects
5-
- Feature: URL checking (if the content is still reachable)
6-
- Feature: move to bash
7-
8-
## v9.0.3
9-
- Feature: better metrics / statistics
10-
11-
## v9.1.0
12-
- Feature: controls of Shell
13-
14-
## v9.1.1
15-
- Documentation: improved README.md
16-
17-
## v10.0.0
18-
- Feature: web page providing search bar
19-
20-
## v11.0.0
21-
- Feature: better web view, more W3C compliant
22-
23-
## v12.0.0
24-
- Refactor: file tree
25-
- Refacor: web view with a more material design rendering
26-
- Chore: improved source code
27-
28-
## v12.1.0
29-
- Chore: optimized HTML code
30-
- Feature: Small screens are managed with web view
31-
- Feature: "Dapp" topic is now referenced
32-
33-
## v12.2.0
34-
- Feature: "Data" topic is now referenced
35-
36-
## v12.3.0
37-
- Feature: "Test" topic is now referenced
38-
- Feature: "Security" topic is now referenced
39-
40-
## v13.0.0
41-
- Feature: elapsed time is displyaed after each request
42-
- Feature: "help" feature when typing '?' in the web view's search bar
43-
- Feature: "show all" feature when typing '\*' in the web view's search bar
44-
- Feature: filter contents by sections
45-
- Documentation: whatsnew
46-
47-
## v14.0.0
48-
- Feature: generate JSON files besides HTML files based from CSV files
49-
- Feature: Progressive Web App (PWA) / Single Page Application (SPA) / Web App (WA) / shiny-buzzword-web-app-from-hell (SBWAFH) to make queries
50-
- Chore: controls to checks browsers in both web app and global web page
51-
- Note: cooler, smarter, more beautiful
52-
53-
## v14.1.0
54-
- Feature: now use local database's contents if feed Web API unreachable. More offline.
55-
- Refactor: icons
56-
- Style: cleaner sources
57-
58-
## v14.1.1
59-
- Fix: Cache and manifest so as to make the web app installable
60-
61-
## v14.2.0
62-
- Feat: Deal with Ruby-related items
63-
643
## v14.3.0
654

66-
_This version id dedicated to GNU/Linux users_
67-
685
Data generation time may be faster:
696

707
* HTML and JSON files are updated if and only if their original content has been changed
718
* to do so, checksums are registered in a metadata file to check if produced data (in CSV) have been updated or not
729

73-
The data generation time is computed and displayed.
74-
75-
## v14.3.1
76-
77-
_This version is dedicated to macOS users, and is based on v14.3.0_
78-
79-
Some bug fixes and improvements have been brought to make the project working on macOS:
80-
81-
* Refactor functions based on 'sed' command
82-
* Refactor functions based on MD5 and SHA1 checksums commands
83-
* Refactor functions based on 'truncate' commands
84-
* Check if metadata file exist before dealing with it
85-
86-
## v14.3.2
87-
88-
_This version is dedicated to macOS users, and is based on v14.3.1_
89-
90-
Some bug fixes and improvements have been brought to make the project working on macOS:
91-
92-
* Resume the macOS migration for the other scripts (uses of 'sed' command to produce HTML files)
93-
94-
_However following improvements can be brought for GNU/Linux users_
95-
96-
* In _tipsntools.sh_ script: refactor of "count" feature
97-
* In _tipsntools.sh_ script: improve help
98-
99-
## v14.3.3
100-
101-
_This version is dedicated to macOS users, and is based on v14.3.2_
102-
103-
New bug fixes:
104-
105-
* More details in help message and documentation
106-
* More logs in case of errors for web app logic
107-
* More logs during scripts executions
108-
* Add controls for script executions and failures
109-
110-
Related issues:
111-
112-
* #5
10+
The data generation time is computed and displayed.

CREDITS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Logo of the project used in this repo and in the web view:
44

55
**Picture made by <a href="https://www.flaticon.com/authors/freepik">Freepik</a>, under <a href="https://file000.flaticon.com/downloads/license/license.pdf">Flaticon Basic License</a> from <a href="www.flaticon.com">Flaticon</a>**
66

7-
Navigation pictures of the project used in the web view:
7+
Navigation pictures of the project used in t the web view:
88

99
**Pictures made by <a href="https://www.flaticon.com/authors/dave-gandy">Dave Gandy</a>, under <a href="https://creativecommons.org/licenses/by/3.0/">CC 3.0 BY</a> from <a href="www.flaticon.com">Flaticon</a>**

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016-2020 Pierre-Yves Lapersonne (Mail: dev@pylapersonne.info)
3+
Copyright (c) 2016-2018 Pierre-Yves Lapersonne (Mail: dev@pylapersonne.info)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 18 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
![Image of Tips and Tools](https://github.com/pylapp/Tips-n-tools/blob/master/picture.png)
22

3-
# Tips'n'tools (v14.3.3)
3+
# Tips'n'tools (v14.2.0)
44

55
<em>Keep time and be faster with your own cache of references, tools and specifications useful for developers.</em>
66

7-
_Tips'n'tools_ is a project which has the aim of making searches faster and improving technical watch.
7+
_Tips'n'tools_ is a project whch has the aim of making searches faster and improving technical watch.
88
Indeed, sometimes you need to share usefull web links and cool libraries to your colleagues, but which platform to use?
99
Your company's inner social network? Lost time if you move from your job.
1010
A public social media? Lost time if this medium is closed.
1111
Fill your web browser's bookmarks? Yeah, got stolen or reinitialized your computer and you are done.
1212

13-
_Tips'n'tools_ allows you to fill a spreadsheet (_.ods_ file) and then export its sheets to CSV files (ok it's old school).
13+
_Tips'n'tools_ allows you to fill a spreadsheet (_.ods_ file) and then export its sheets to CSV files.
1414
Then you can:
15-
- use the main Shell script (_tipsntools.sh_) to make queries so as to find a thing you have listed (hey, just CLI, no GUI)
16-
- build a little Progressive Web App (a Single Page Application) which allows you to make queries with a more user-friendly UI (but can be improved a lot)
17-
- update a global web page if you cannot use the web app (quit heavy if you have plenty of content to show)
18-
- run the server-side feed script, written in _Ruby_, so as to expose an HTTP API to make the queries from everywhere (Ruby servlet calling Shell scripts, quite dumb)
19-
- place all of this project in your web server, and make the Ruby script or the web app available for your friends or colleagues (but web-voodoo-glue might be required)
15+
- use the main Shell script (_tipsntools.sh_) to make queries so as to find a thing you have listed
16+
- build a little Progressive Web App (a Single Page Application) which allows you to make queries with a more user-friendly UI
17+
- update a global web page if you cannot use the web app
18+
- run the server-side feed script, written in _Ruby_, so as to expose an HTTP API to make the queries from everywhere
19+
- place all of this project in your web server, and make the Ruby script or the web app available for your friends or colleagues
2020

21-
_Tips'n'tools_ may be useful if you want to compile, in one place, plenty of references and data interesting for your projects.
21+
22+
_Tips'n'tools_ may be useful if you want to compile, in one place, plenty of references and data interesting for your projects.
2223
Never rely on social networks or corporate heavy tools, make your own cache and bring it everywhere!
2324

25+
**If you read this document through the GitHub repository, click <a href="https://rawgit.com/pylapp/Tips-n-tools/content/build/webapp.html">here</a> instead.**
2426

2527
## The main script
2628

@@ -44,51 +46,43 @@
4446

4547
## Add new elements in spreadsheets and other files
4648

47-
You can fill the _.ods_ spreadsheet file with new data you want to save. Then run
49+
You can fill the .ods spreadsheet file with new data you want to save. Then run
4850
```shell
4951
bash tipsntools.sh --update
5052
```
51-
to update the _.html_ and _.json_ files.
53+
to update the .html and .json files.
5254

5355
## Who's who
5456

5557
The main script (_tipsntools.sh_) calls core's Shell scripts (stored in _utils/core_ folder) to play with CSV files (in _contents_ folder).
5658
The server-side script (_datafeed.rb_) calls the main script to process the queries.
5759
The web app is defined in the _utils/webapp_ folder, and if the web browser is not suitable, the web page (defined in _utils/webpage_ folder) can be used instead.
5860
The web app and the web page to use are in the _builld_ folder (their assets are copied from _utils_).
59-
Finally, the CSV files you should create, and the generated _.json_ and _.html_ files are in the _contents_ folder.
61+
Finally, the CSV files you should create, and the generated .json and .html files are in the _contents_ folder.
6062

6163
## Customize the project
6264

6365
In most of case nothing is hard-coded. Feel free to customize the Shell scripts, the HTML assets, etc.
64-
The thing is, if you want to add a column in one of the spreadsheet's sheets, do not forget to update the dedicated Shell scripts and the HTML elements (CSS style sheets, HTML tables, etc.).
66+
The thing is, if you want to add a column in one of the spreadsheet's sheets, do not forget to update the dedicated Sheel scripts and the HTML elements (CSS styl sheets, HTML tables, etc.).
6567

6668
## Run the web app
6769

6870
The web app here is a kind of "Progressive Web App" as a "Single App Application" (one page, offline, installable, with a cache, responsive, etc), BUT it remains web before all.
69-
So because web browsers world is fu****g missy (and also coz' I enjou native apps <3), it remains web browsers which do not support Service Workers, Web Workers, IndexedDB, Promises, ES6 or common and nowadays tools.
71+
So because web browsers world is fu****g missy, it remains web browsers which do not support Service Workers, Web Workers, IndexedDB, Promises, ES6 or common and nowadays tools.
7072
Thus you should use an up-to-date web browser. And sometimes it still won't work. "Web is universal and cool" they said x-)
7173
Because Service Workers are used, you should reach the web app through HTTPS or a local web server (_localhost_).
7274

73-
_If you saw newbie things I did, feel free to submit a pull request!_
7475

7576
## Requirements
7677

7778
- Operating system which can use **Shell** (BASH) and **Ruby** scripts (macOS, Linux, ...)
7879
- **Up-to-date web browser** compatible with IndexedDB, Web Workers, Service Workers, ES6, JS' Promises... (Firefox 58.0.2+, Chromium 64.0.+, ...)
79-
- Something which can deal with _.ods_ file (_Libre Office_, _Open Office_, ...)
80-
81-
For macOS users, you should install the _truncate_ command:
82-
```shell
83-
brew install coreutils
84-
brew install truncate
85-
# Maybe you should after run `brew link truncate`
86-
```
80+
- Something which can deal with .ods file (Libre Office, Open Office, ...)
8781

8882
## Deploy it
8983

9084
To deploy this project for you, your colleagues, your team or whoever, here are the steps:
91-
- get this project (download, fork, clone, summon, teleport ...)
85+
- get this project (download, fork, clone, summon, ...)
9286
- customize elements if you want (columns, styles, ...)
9387
- fill the ODS file
9488
- run the update command to produce the CSV, HTML and JSON files
@@ -105,25 +99,3 @@ Here is the file tree for this version:
10599

106100
It seems some web browsers (Firefox 58 for Android and Ubuntu) have bugs with IndexedDB. So you won't use the web app with them.
107101
You ask why Shell and Ruby are used instead of full cross-platforms languages? Power, effectiveness, and free and open-source OS ;-)
108-
109-
## Must-read note
110-
111-
Because there are differences and gaps between commands on macOS and GNU/Linux, the project in its v14.3.0 release will not work on macOS! v14.3.1 may be broken on macOS for HTML content production.
112-
In fact numerous commands like _truncate_, _sed_, and MD5 or SHA1 checksums are not implemented, have different names or have a different behavior.
113-
114-
Thus for macOS users **you must use** the v14.3.3 release, and for GNU/Linux users **you have to use** the v14.3.0 release.
115-
116-
Have a look on the [release note](https://github.com/pylapp/Tips-n-tools/blob/master/CHANGELOG.md) to get more details.
117-
118-
## Know issues
119-
120-
If you get errors like _sed: RE error: illegal byte sequence_, please refer to the hyperklink bellow.
121-
It seems some files (like CSV files) you produce contain special characters '�' making `sed` fail.
122-
https://stackoverflow.com/questions/19242275/re-error-illegal-byte-sequence-on-mac-os-x
123-
124-
You may also have in the wepp app error like _"An error occured with the JSON data gotten from the feed Web API. The degraded mode is still available"_. By looking in the developer console, you may find there is unexpected error in the JSON data returned by the script.
125-
In this case you should have a look on the CSV files you exported ; maybe there are not well formatted and make the produced JSON bad.
126-
127-
In addition, if you isntall the web app on your computer, you may have different behaviors if you choose Brave, Chrome or Firefox :-/
128-
129-
More details on the [issues tracker](https://github.com/pylapp/Tips-n-tools/issues).

build/manifest.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)