Skip to content

Instantly share code, notes, and snippets.

@nicolaigj
nicolaigj / sway.debug
Created November 10, 2021 18:27
sway.debug
00:00:00.000 [INFO] [sway/main.c:347] Sway version 1.6.1
00:00:00.000 [INFO] [sway/main.c:348] wlroots version 0.14.0
00:00:00.004 [INFO] [sway/main.c:155] Linux nicolai-x1Carbon 5.10.70-1-MANJARO #1 SMP PREEMPT Thu Sep 30 15:29:01 UTC 2021 x86_64 GNU/Linux
00:00:00.004 [INFO] [sway/main.c:171] Contents of /etc/lsb-release:
00:00:00.004 [INFO] [sway/main.c:155] DISTRIB_ID=ManjaroLinux
00:00:00.004 [INFO] [sway/main.c:155] DISTRIB_RELEASE=21.1.6
00:00:00.004 [INFO] [sway/main.c:155] DISTRIB_CODENAME=Pahvo
00:00:00.004 [INFO] [sway/main.c:155] DISTRIB_DESCRIPTION="Manjaro Linux"
00:00:00.004 [INFO] [sway/main.c:171] Contents of /etc/os-release:
00:00:00.004 [INFO] [sway/main.c:155] NAME="Manjaro Linux"
@nicolaigj
nicolaigj / settings.json
Last active June 24, 2018 16:32
User settings for Visual Studio Code
// Place your settings in this file to overwrite the default settings
{
// Theme
"workbench.colorTheme": "Solarized Dark",
"workbench.iconTheme": "vscode-icons",
// Workbench
// Controls if opened editors from Quick Open show as preview. Preview editors are reused until they are kept (e.g. via double click or editing).
"workbench.editor.enablePreviewFromQuickOpen": false,
--- Restore a database from MDF and LDF to a new name.
--- Before you execute this script rename the files to the new name and move them to the
--- destination folder.
USE master
GO
DECLARE @OldDatabaseName nvarchar(50) = N'' --- insert old database name
DECLARE @NewDatabaseName nvarchar(50) = N'' --- insert new database name
DECLARE @OldLogFileName nvarchar(50) = N'' --- insert old log file name