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
# Key Bindings – User | |
{ | |
"keys" : ["f5"], | |
"command" : "refresh_folder_list" | |
} | |
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
# Cycle through tabs in the correct or intuitive order. | |
'body': | |
'ctrl-tab ^ctrl': 'unset!' | |
'ctrl-tab': 'pane:show-next-item' | |
'ctrl-shift-tab ^ctrl': 'unset!' | |
'ctrl-shift-tab': 'pane:show-previous-item' | |
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
# Inside httpd-vhost.conf | |
<VirtualHost *:80> | |
ServerName docserver.proj | |
DocumentRoot "C:\Users\....\projectfolder\site" | |
ErrorLog "C:\Users\....\projectfolder\logs\errors.log" | |
CustomLog "C:\Users\....\projectfolder\logs\access.log" common |
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
http://stackoverflow.com/questions/1641182/how-can-i-catch-a-ctrl-c-event-c | |
#include <signal.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
void my_handler(int s){ | |
printf("Caught signal %d\n",s); | |
exit(1); |
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
http://stackoverflow.com/questions/1056411/how-to-pass-variable-number-of-arguments-to-printf-sprintf | |
void Error(const char* format, ...) | |
{ | |
va_list argptr; | |
va_start(argptr, format); | |
vfprintf(stderr, format, argptr); | |
va_end(argptr); | |
} | |
If you want to manipulate the string before you display it and really do need it stored in a buffer first, please please please use vsnprintf instead of vsprintf. vsnprintf will prevent an accidental buffer overflow error. |
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
#n:: | |
Run, Notepad.exe | |
return | |
!Media_Prev:: | |
Send !{F4} | |
return | |
!j:: | |
Send {Left} |
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
; Win+N for new notepad window | |
; Win+S for new Sublime Text Window | |
#n:: | |
Run, Notepad.exe | |
return | |
#s:: | |
; The "hide" portion is to prevent a console window from opening when running |
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
Last Updated for Quartus II 18.1.0 | |
Megafunctions | |
Set Generate Netlist to CHECKED. | |
Disable Advanced Fitter | |
Assignments => Settings => Compiler Settings => Advanced Settings (Fitter) | |
Set "Advanced Physical Optimization" to OFF. | |
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
Installation Tips for SML/NJ on Ubuntu 18.04 | |
Ted Zhu | |
First, follow the steps outlined in the SML/NJ installation instructions for Unix: | |
http://smlnj.org/install/ | |
The final step, | |
$ config/install.sh |
OlderNewer