after reading this article, how can I use rem with susy?
Currently using ems, but it seems rem is the future :)
Also I notice that in version v1.0.5 there is support for rem, but I simply to understand how to integrate it to my website.
Thanks
There's nothing to it. All you have to do is change your settings. For example:
$column-width : 4rem;
$gutter-width : 1rem;
$grid-padding : 1rem;
If you have created custom math anywhere, you may find other places that you have to switch from ems to rems. Just start with the grid settings, compile your code, and track down any errors.
Related
I'm working on a NodeJS project using nodejs 8.1.2 and the IDE is intellij Ultimate.
in general I don't mind using any other editor or kind of debugger if it allows it.
I want to see variables values in real time without stopping at break points at all.
is that at all possible ?
I noticed that google chrome inspect debugger and intellij doesn't do that.. I can't remember ever seeing this feature. so any information regarding the issue would be greatly appreciated.
You can try using spy-js - it allows inspecting variables, etc. without adding breakpoints. See https://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/#workflow for more info.
I've not seen this feature either.
What I'd do to watch a variable is this:
function watch(variable) {
setInterval(() => { console.log(variable) }, 1000)
}
watch(varaiableToWatch)
Above is a very simple solution with the tradeoff of creating noise in the console logs.
If you want a fully-featured library, this will do the trick: https://github.com/melanke/Watch.JS/
I am required to make a custom FireFox profile on a RHEL based system.
most of the configuration are changed inside the FireFox inside the about:config menu.
When I try and lock parameter values using the "mozilla.cfg" file and the "lockPref("", )" function the browser doesn't seem to read those files, I place the file both in: "~/.mozilla/firefox/" and "/usr/lib64/firefox/". I used the http://kb.mozillazine.org/Lock_Prefs guide and some more and still I have no one answer about where those function should be written and how do I check that those functions were loaded.
I would like some clear instructions or a definitive guide that I just couldn't manage to find.
Thanks!
This came up fairly high in a Google search when I was asking the same question, but did not have an answer at the time.
I found the following reference:
https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment
On RHEL7, the files needed to be added to the following locations:
/usr/lib64/firefox/defaults/preferences/autoconfig.js (root:root, 644)
/usr/lib64/firefox/mozilla.cfg (root:root, 644)
I'm trying to write a Chrome extension that can switch the spellcheck language. I've searched through the Chrome API's and found the ChromeSetting object in the Types interface. However, I can't find any information on how to use it - e.g. what are the options for the "details" object?
Am I heading down the right path here? If so, does nayone have some examples or extra info that will help me?
Thanks!
Unfortunately, while chrome.types exists, you can't do anything with it.
We can run this code to see:
var c = chrome.types;
alert( Object.keys( c ).join(", ") );
Results:
[null]
This is despite the docs you linked to stating there are some methods available. My guess is it will be completed "someday" when Goog gets around to it.
I came across echofunc.vim today (from a link in SO). Since I'm rubbish at remembering the order of function parameters, it looked like a very useful tool for me.
But the documentation is a bit lean on installation! And I've not been able to find any supplementary resources on the internet.
I'm trying to get it running on a RHEL box. I've copied the script into ~/.vim/plugin/echofunc.vim however no prompt when I type in a function name followed by '('. I've tried adding
let g:EchoFuncLangsUsed = ["php","java","cpp"]
to my .vimrc - still no prompting.
I'm guessing it needs to read from a dictionary somewhere - although there is a file in /usr/share/vim/vim70/ftplugin/php.vim, this is the RH default and does not include an explicit function list.
I'm not too bothered about getting hints on the functions/methods I've defined - just trying to get hints for the built-in functions. I can see there is a dictionary file available here which appears to provide the resources required for echofunc.vim, I can't see how I set this up.
TIA,
It expects a tags file, the last line of the description describes exactly how to generate it:
ctags -R --fields=+lS .
It works here with PHP but not with JS. Your mileage may vary.
I didn't know about this plugin, thanks for the info.
You should try phpcomplete.vim, it shows a prototype of the current function in a scratchpad. It is PHP only, though.
I had compiled some examples from svgalib, the console show :
Using EGA driver
svglib 1.4.3
Nothing more, its like its drawing somewhere but I cannot see it.
This could be a ver very noob question about svgalib, but also a configuration problem.
Also I check the virtual console that it says is drawing (if I run from X), running from console just stays there. I also put sleep in the code
example code :
include stdlib.h
include vga.h
int main(void)
{
vga_init();
vga_setmode(G320x200x256);
vga_setcolor(4);
vga_drawpixel(10, 10);
sleep(5);
vga_setmode(TEXT);
return EXIT_SUCCESS;
}
compile with
gcc -o tut tut.c -lvga
So do you have other SVGAlib applications working on your system? Such svgatest, which may be in a separate distribution package (svgalib-bin or similar).
Have you configured svgalib for your system? Common locate of the config file is /etc/vga/libvga.config and read man svgalib should give you more details.
I suspect that once you have SVGAlib working in general, the tutorial example program will work.
Install by software manager all svgalibrary.
Set the resolution at yours graphics screen
es : G1024x768x256
set color pixel white = 15
my linux mint (mate) 17.1 on hard disk work fine.
good luck !