Skip to content

Instantly share code, notes, and snippets.

@huijunchen9260
huijunchen9260 / tikz_module.f90
Created June 8, 2024 04:37
Using tikz to plot 2D figure in Fortran
module tikz_module
! -------------------------------------------------- !
! ! If using intel fortran, must include this module !
! ! If using gnu fortran, must comment this line out !
! use ifport !
! -------------------------------------------------- !
use, intrinsic :: iso_Fortran_env, only : wp => real64, int32, int64, real32, real64, OUTPUT_UNIT, INPUT_UNIT, ERROR_UNIT
use omp_lib
@DanAtkinson
DanAtkinson / Visual Studio solution file headers
Last active February 7, 2025 00:12 — forked from JamesSkemp/Visual Studio solution file headers
Visual Studio solution file headers - 2003, 2005, 2008, 2010, 2012, 2013, 2015, 2017, 2019, and 2022
== Visual Studio .NET 2003 (DO NOT COPY THIS LINE) ==
Microsoft Visual Studio Solution File, Format Version 8.00
# Visual Studio .NET 2003
VisualStudioVersion = 7.1
== Visual Studio 2005 (DO NOT COPY THIS LINE) ==
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
VisualStudioVersion = 8.0
@CADbloke
CADbloke / VisualStudioSolutionSLNstyler.xml
Last active October 18, 2024 22:31
Notepad++ Syntax Highlighting for visual Studio .sln Solution files. Exported from NP++ 6.3.2To use, save this gist as an XML file, NP++ Language menu ==> Define your Language ==> click Import in the window that just popped up...then change the colo(u)rs in the pop-up window dialogues to something that offends you less.
<NotepadPlus>
<UserLang name="SLN" ext="sln" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">03 04 00# 01 02</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>