topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 26, 2024, 2:16 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ath [ switch to compact view ]

Pages: prev1 ... 5 6 7 8 9 [10] 11 12 13 14 15 ... 145next
226
N.A.N.Y. 2020 / NANY 2020: scss-loop-template-processor
« on: December 28, 2019, 08:16 AM »
NANY 2020 Entry Information

Application Name scss-loop-template-processor
Version v1.2.0.0
Short Description Process SCSS (css preprocessing) @for loops to @each loops including only used classes.
Supported OSes Any OS that runs .NET 4.7.2 (only tested on Windows)
Web Page scss-loop-template-processor on Ath's DCMembers site
Download Link from above DCMembers page
System Requirements
  • Command-line or script
  • .NET 4.7.2 or newer
Version History
  • 1.2.0.0 - December 2019 - Cleanup code, added this documentation, prepare for NANY 2020 release
  • 1.1.0.0 - November 2019 - Added enable/disable-lines-start/end processing
  • 1.0.0.0 - October 2019 - Working as intended
  • 0.1.0.0 - October 2019 - Initial development
Author Ath


Description
During development we use many generated classes for 'pixel-perfect' alignment of page elements.
(The proprietary platform used doesn't allow for direct html or css tags to be applied on elements, only classes can be applied, and to override previous, platform-standard, css often !important needs to be added to the css.)
Both the template and the generated output are @include'd in the files proveded to the scss compiler, but those from the templated are disabled by using an @if that is defined in the template-output to be false on second evaluation. During development the template-output is a (nearly) empty file.

Features
Process a template with a set of numeric-postfixed constants to replace @for loops by @each loops intended as scss preprocessing, to reduce the number of generated css classes.

Planned Features
None at the moment, requests accepted.

Screenshots
Command-line tool, so no usable screenshots... :-[

Usage
Installation
  • Unpack the zip file
  • Provide a list of classes with a numeric postfix
  • Provide a scss template with @for loops

Using the Application
Run from a command-line or use in a script.

Uninstallation
Remove the unpacked files (no configuration is saved anywhere).

Tips
Use in a script as a step before releasing a web application having scss files included.

Known Issues
None so far.

227
N.A.N.Y. 2020 / Re: NANY 2020 - KeepWatch system monitor
« on: December 27, 2019, 11:21 AM »
Replace $ by 3, that's how I could open it :-[

228
N.A.N.Y. 2020 / Re: 1 Key Browsing
« on: December 26, 2019, 03:06 AM »
Very nicely done :Thmbsup:

Question: can we have configurable Global Key configuration? (or the ahk source to customize it myself) I have a conflict with ctrl-shift-F for the TabSearch plugin, I've been using for 'ages' and I've become quite accustomed to :huh:

229
N.A.N.Y. 2020 / Re: NANY IDEA: Find start menu orphans
« on: December 21, 2019, 06:10 AM »
+1 what mouser says.

I'd love to see & compare both, so @anandcoral, please publish your creation when you think it's ready  :Thmbsup:

230
Living Room / Re: Arizona sunsets
« on: December 15, 2019, 03:08 AM »
Which do you prefer? The non-panorama or the panorama?
The panorama, as the contrast between the sky and the ground in the non-panorama is so high that the ground is only a blur to me

231
If you insist on using regexes for the conversions, then sed can do it. When downloading sed for Windows, be sure to get the latest updated version. A GNU version of sed is required as BSD doesn't support the lowercase conversion \L.
This script should be saved as an ASCII/ANSI file for the y command to work properly, when saved as UTF-8, sed will complaint about the original and replacement strings not being of the same length :huh:
# Save this file as ANSI or the y command will cause an error
# Convert to lowercase
s:(.*):\L\1:
# Convert all spaces to _
s:[[:space:]]:_:g
# Remove special characters (][ must be first in range, - must be last in range!)
s:[][?¿/.>,<;\:'"!¡@#$^&*\(\)+=\{\}|-]::g
# Replace diacritics by non-diacritics (to be completed)
y:äáàâëéèêüúùûïíìîöóòôÿýçñ:aaaaeeeeuuuuiiiiooooyycn:

I tried to find all diacritics I could enter on my US-international keyboard layout, I may have left out some you might need. Please add what you need and is missing.
Separator character used is : on all script lines

Command-line should be something like:
sed -r -f above_script.txt <input.txt

232
Living Room / Re: When you make your 100'th Post
« on: December 07, 2019, 01:57 AM »
 ;D :Thmbsup:

233
Living Room / Re: Buying a 2TB SSD to replace my 2TB HDD
« on: November 28, 2019, 01:17 AM »
If you really want a 2TB drive for less money, then get this Samsung 970 EVO Plus model (The 970 EVO Plus is the successor of the 970 EVO)

234
Living Room / Re: What are .rsf macros?
« on: November 26, 2019, 01:06 PM »
Because any additional info isn't supplied, I tried a Google search and found this rather informative page

235
Find And Run Robot / Re: Possible new facility: runas for aliases
« on: November 20, 2019, 01:19 AM »
Where is FARR more secure in asking for a password opposed to entering it in a Windows CMD prompt (without any character echo'ed)?  :huh:  If a keyboard hook would be installed on your system it could see the password in both cases. And I don't know if it's even possible for an application to induce the standard Windows popup-prompt for a password.

236
Find And Run Robot / Re: Possible new facility: runas for aliases
« on: November 18, 2019, 01:50 PM »
Can you use the cmd internal command runas? (Not a FARR user... :-[)

Open a cmd prompt and enter runas/? to get the default help on available command-line arguments, or visit https://ss64.com/nt/runas.html for that same helptext and some examples.

237
JGPaiva's GridMove and Ahk Tools / Re: GridMove: Grids Here
« on: November 17, 2019, 09:26 AM »
They probably where .grid files, but the board doesn't support those as attachments, so they should be packed in a zip file.

238
Living Room / Re: Migrating from Ymail to Gmail
« on: November 15, 2019, 12:06 PM »
You can have both 'brands' of email next to each other in the same browser, no problem at all. Just inform all of your contacts of your changed address, after copying your contacts to gmail, several procedures can be found here.

239
Assuming all drivers are up to date,
Might it be related to a 4k monitor on less than 60Hz refresh? That usually only gives display-lag, not Windows-lag, but it might be of influence :huh:

Do you have the Logitech mouse software installed? It might help to uninstall that (with reboot after), as it has repeatedly caused issues like you mention, in the past.

Also some antivirus software (I'm looking at you Avast >:() can cause 'lagginess' when dragging Windows around.

240
Living Room / Re: How is this old interface called?
« on: November 06, 2019, 12:56 AM »
How can we automate them and can we inject data into them by-passing their tedious interface?
You can try to feed the application using my WinSendKeys tool.
It will probably take some trial and error, but as it mimics keyboard entry pretty well, it should work. Be sure to have a look at the delay options (f.e. between characters sent) to fix issues when characters are missing on input, as some DOS type programs have their own keyboard input routines that can be a bit finicky.

241
General Software Discussion / Re: Best app to learn SQL on
« on: November 05, 2019, 01:13 AM »
I understood that the various implementations all had distinct dialects so I guess I was looking for something reasonably generic to get me started
Well, if you need a good standards-compliant SQL, then PostgreSQL is a good candidate. It's very well documented, supported, and as much Open Source as it gets. Find it here: PostgreSQL.org
I'm not too thrilled with the currently provided tools to manage it, though, they're pretty darn slow, last time I used that (been a while), but it gets the job done.

242
About Apache configuration:
AFAICS, you should start reading (and some experimenting) on this Apache wiki page about DirectoryListings and how to configure that. I have no LAMP/WAMP installation available, so am unable to provide more detailed pointers, sorry.

About the .style.css file needing to be copied into each directory:
This is caused by this line in .index.php:
<link rel="stylesheet" href="./.style.css">
It points to that file in the current directory ( ./ in front of the filename is a relative location).

By placing the .style.css file into a specific directory like directorystyle in the root of your website, and changing the above line into:
<link rel="stylesheet" href="/directorystyle/.style.css">
you are addressing the file at it's absolute location, and has to be stored only once at the server.
Renaming the file and moving it to the default styles directory is also an option, ofcourse.

The period as the first character of the filename makes the file invisible on *nix OS's, and it can be omitted if the file is moved out of the directories that are visible to the enduser. The name used in .index.php has to be adjusted accordingly, as is to be expected ;)
The same goes for the .index.php file, after you have moved it out of the visible directories using the first pointer in this post.

243
Any chance you can share those index.php and style.css files to see if a fix might actually be possible in the index.php file?

244
I'm not an expert on Apache, but if al else fails, you could create logical links to the 2 files in each subfolder, avoiding duplicate files, and keeping a single point of maintenance.

245
N.A.N.Y. 2020 / Re: Welcome to NANY 2020
« on: October 29, 2019, 01:44 PM »
I can provide ideas....lol!!!
O, please do, I'm still looking for a project/idea  :up:

246
Living Room / Re: When you make your 100'th Post
« on: October 27, 2019, 11:34 AM »
Another 1000 post mark, just today:

Screenshot - 27-10-2019 , 17_32_03.png

247
N.A.N.Y. 2020 / Re: NANY 2020 Release - Android App - DiscussionList
« on: October 11, 2019, 01:07 AM »
This looks really useful :Thmbsup:

248
Living Room / CafePress security incident 2019-02-19
« on: September 25, 2019, 01:43 PM »
Today, September 25th, 2019, I received an e-mail from CafePress, the supplier of, among other stuff, the NANY mugs, stating they have had a security incident on February 19th, 2019, where customer names, addresses, e-mail addresses and account-passwords have been stolen from a database. It appears they first published this story on September 5th, 2019.
I took a screenshot from their website where the whole story is explained for as far as they know.

CafePress security incident 05-09-2019.png


249
You know about MiniCap, intended as the command-line 'add-on' for ScreenshotCaptor?

Using the -capturescreen and -exit arguments, besides -save to specify the filenaming scheme, should do the trick.

250
It is so great to have alternative mug designs, love it :Thmbsup:

Pages: prev1 ... 5 6 7 8 9 [10] 11 12 13 14 15 ... 145next