Sync Settings: Upload
Ctrl+Alt+U Download remote configuration
Sync Settings: Download
Ctrl+Alt+D
sudo ln -s /mnt/c/Neovim/bin/win32yank.exe /usr/bin/win32yank |
{ | |
"editor.fontSize": 15, | |
"vim.leader": "\\", | |
"vim.enableNeovim": true, | |
"vim.neovimPath": "C:\\Program Files\\Neovim\\bin\\nvim.exe", | |
"vim.easymotion": true, | |
"vim.surround": true, | |
"vim.scroll": 20, | |
"vim.visualstar": true, | |
"vim.statusBarColorControl": true, |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
#!/usr/bin/env python3 | |
""" | |
Detects and interactively deactivates duplicate Apt source entries. | |
Usage: python3 apt-remove-duplicate-source-entries.py | |
""" | |
from __future__ import print_function | |
import aptsources.sourceslist |
#!/bin/bash | |
# A shell script to delete / drop all tables from MySQL database. | |
# Usage: ./script user password dbnane | |
# Usage: ./script user password dbnane server-ip | |
# Usage: ./script user password dbnane mysql.nixcraft.in | |
# ------------------------------------------------------------------------- | |
# Copyright (c) 2008 nixCraft project <http://www.cyberciti.biz/fb/> | |
# This script is licensed under GNU GPL version 2.0 or above | |
# ------------------------------------------------------------------------- | |
# This script is part of nixCraft shell script collection (NSSC) |
function themename_menu_link(&$variables) { | |
$element = $variables['element']; | |
$sub_menu = ''; | |
$element['#attributes']['data-menu-parent'] = $element['#original_link']['menu_name'] . '-' . $element['#original_link']['depth']; | |
if ($element['#below']) { | |
$sub_menu = drupal_render($element['#below']); | |
} |