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
Here is a list of scopes to use in Sublime Text 2 snippets - | |
ActionScript: source.actionscript.2 | |
AppleScript: source.applescript | |
ASP: source.asp | |
Batch FIle: source.dosbatch | |
C#: source.cs | |
C++: source.c++ | |
Clojure: source.clojure | |
CoffeeScript: source.coffee |
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
<snippet> | |
<content><![CDATA[ | |
%========== ${1/(.+)/\U\1/g}: ${2:Description} ==========% | |
\begin{${1:Environment}} | |
$3 | |
\end{${1:Environment}} | |
%=============${1/./=/g}=${2/./=/g}============% | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>cenv</tabTrigger> |
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
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
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
*.aux | |
*.glo | |
*.idx | |
*.log | |
*.toc | |
*.ist | |
*.acn | |
*.acr | |
*.alg | |
*.bbl |
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
"file_exclude_patterns": | |
[ | |
"*.aux", | |
"*.glo", | |
"*.idx", | |
"*.log", | |
"*.toc", | |
"*.ist", | |
"*.acn", | |
"*.acr", |
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
{ | |
"folders": | |
[ | |
{ "follow_symlinks": true, | |
"name": "Root", | |
"path": "Main", | |
"file_exclude_patterns": | |
[ | |
"*.acn", | |
"*.acr", |
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
/* | |
COMMENT: [Makroen beregner fødselsdag ud fra CPR-nummer] | |
PARAMETERS: [InputDS: Inputdataset | |
,OutputDS: Outputdataset | |
,CPRKolonne: Kolonne i InputDS, som indeholder det CPR-nummer der skal beregnes på | |
,FoedselsdatoKolonne: navnet på den kolonne der skal indeholde fødselsdatoen (Kolonnen er en SASdato med formatet date9.). | |
] | |
EXAMPLE: [%BeregnFodselsdatoFraCPR(InputDS=test,OutputDS=test2,CPRKolonne=CPR,FoedselsdatoKolonne=dag);] | |
VARIABLE: [Makroen returnerer datasettet &OutputDS., som er lig &InputDS. tilføjet kolonnen &FoedselsdatoKolonne.] | |
HISTORY: [ |
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
%let target_folder=/sasfolders/data/IBprojekt/HRSTAT/produktion/programmer/krl/; | |
*makes it indifferent wheter or not you add / to the end of the string; | |
%let target_folder=%tslit(%sysfunc(tranwrd(%sysfunc(cats(&target_folder,/)),//,/))); | |
filename pipedir PIPE | |
"ls -la --time-style=full-iso &target_folder.*.* | grep '^-'" encoding='utf-8'; | |
DATA _sm_filenames; | |
length filsti $1000 filnavn $100 navn $100 bytes 6. filDato 8.; |
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
%let _output=DimDato; | |
proc datasets lib=work nolist; | |
delete &_output; | |
run; | |
data workspde.&_output; | |
length | |
DatoKey 8 | |
dato 8 |
OlderNewer