Skip to content

Instantly share code, notes, and snippets.

@Arc0re
Arc0re / settings.json
Created June 22, 2022 15:33
VSCode settings file to emulate the look and feel of NOTEPAD.EXE
{
"workbench.tree.indent": 32,
"extensions.ignoreRecommendations": true,
"security.workspace.trust.untrustedFiles": "open",
/* --------------------------------------------------------------------------- */
/* NOTEPAD.EXE MODE ENGAGED */
"update.mode": "manual",
"workbench.colorTheme": "Notepad",
"workbench.iconTheme": "vscode-icons",
@Arc0re
Arc0re / main.cpp
Created August 14, 2019 11:57 — forked from ForNeVeR/main.cpp
"ЩИ!!!Симулятор жестокости" - http://www.gamedev.ru/projects/forum/?id=160897
#define WIN32_LEAN_AND_MEAN // just say no to MFC
#define INIT_GUID
#include "hge.h"
#include <hgesprite.h>
#include <hgefont.h>
#include <hgecolor.h>
@Arc0re
Arc0re / Mac Classic.tmTheme
Last active November 13, 2022 12:53
Mac Classic theme for Sublime Text 3. To install under v3.2.1 ( build 3207 ): Preferences > Browse Packages... > new folder called "Mac Classic.tmTheme", copy .tmTheme file in there. The colorscheme will be instantly added to Sublime's list.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Chris Thomas</string>
<key>name</key>
<string>Mac Classic</string>
<key>settings</key>
<array>
@Arc0re
Arc0re / .editorconfig
Created August 8, 2018 14:22
1TBS C# EditorConfig (VS2017)
root = true
# https://docs.microsoft.com/fr-fr/visualstudio/ide/editorconfig-code-style-settings-reference#formatting-conventions
[*.cs]
csharp_new_line_before_open_brace = none:error
csharp_new_line_before_else = false
csharp_new_line_before_catch = false
csharp_new_line_before_finally = false
" Vim color file
" Maintainer: Maria
" Last Change: 2013 Dec
" This is a Vim dark color scheme with black background and green foreground colors
hi clear
if version > 580
" no guarantees for version 5.8 and below, but this makes it stop
@Arc0re
Arc0re / my_GotoDefinition.vim
Last active July 20, 2017 22:04
Quick and dirty "goto definition" that looks up for the last selected (in visual mode) string.
function! GotoDefinition()
let selectedStuff = s:get_visual_selection()
if strlen(selectedStuff)>0
exe 'vimgrep /' . selectedStuff . '/ **/*'
exe 'copen'
elseif
echo 'Nothing selected. Aborting.'
endif
endfunction GotoDefinition
set nocompatible
filetype off
"Bundles
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'embear/vim-localvimrc'
package com.example;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
import org.springframework.web.bind.annotation.*;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
package com.example;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import se.walkercrou.places.*;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import se.walkercrou.places.exception.NoResultsFoundException;
import java.util.List;
import java.util.Map;