Temas são instalados como extenções em:
- Linux:
$HOME/.vscode/extensions
- Windows:
%HOME%\.vscode\extensions
-- Functions based on this problem: http://rosalind.info/problems/revc/ | |
complements = | |
{ | |
A = "T", | |
T = "A", | |
C = "G", | |
G = "C", | |
} |
-- The Maybe Monad: | |
local NOTHING = { val = nil } | |
maybe = {} | |
maybe.__index = maybe | |
-- Constructors: | |
maybe.just = function(val) | |
local obj = setmetatable({ val = val }, maybe) |
.highlight .hll { background-color: #ffffcc } | |
.highlight { background: #f8f8f8; } | |
.highlight .c { color: #0000ff; font-style: italic } /* Comment */ | |
.highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */ | |
.highlight .g { color: #000000 } /* Generic */ | |
.highlight .k { color: #800000; font-weight: bold } /* Keyword */ | |
.highlight .l { color: #000000 } /* Literal */ | |
.highlight .n { color: #000000 } /* Name */ | |
.highlight .o { color: #000080 } /* Operator */ | |
.highlight .x { color: #000000 } /* Other */ |
class A: | |
def p(self): | |
print("função A.p") | |
if __name__ == '__main__': | |
a = A() | |
a.p() | |
try: | |
a.f() |
{ | |
"name": "ECS Light", | |
"type": "light", | |
"colors": { | |
"activityBarBadge.background": "#007acc", | |
"editor.background": "#ffffff", | |
"editor.foreground": "#000000", | |
"editor.inactiveSelectionBackground": "#e5ebf1", | |
"editor.selectionHighlightBackground": "#add6ff80", | |
"editorIndentGuide.activeBackground": "#939393", |
@echo off | |
set venvdir=%1 | |
for /f "delims==" %%d in ('cd') do set currentDir=%%d | |
call :reset-el | |
if not "%venvdir%" == "" ( | |
call %venvdir%\Scripts\activate |
import subprocess | |
if __name__ == '__main__': | |
commands = b''' | |
a=5 | |
b=7 | |
c=a+b | |
print(c) | |
print("abacate") | |
''' |
#include <iostream> | |
#include <cstdio> | |
#include <cstdlib> | |
using namespace std; | |
class Pair | |
{ | |
public: | |
int x; |
board = | |
{ | |
{1,2,3}, | |
{4,5,6}, | |
{7,8,9}, | |
} | |
function play(piece) | |
local pos = tonumber(io.read()) |