Skip to content

Instantly share code, notes, and snippets.

":set termguicolors
set notermguicolors
set noshowmode
" Appearence
set guicursor=n:blinkwait0-blinkon0-blinkoff0
set guicursor=n-v-c:block,i-ci-ve:block-Cursor/lCursor
set shell=/usr/bin/zsh
filetype plugin indent on " required
"color default
"set t_Co=256
" Vim syntax file
" Language: JavaScript
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
" Updaters: Scott Shattuck (ss) <ss@technicalpursuit.com>
" URL: http://www.fleiner.com/vim/syntax/javascript.vim
" Changes: (ss) added keywords, reserved words, and other identifiers
" (ss) repaired several quoting and grouping glitches
" (ss) fixed regex parsing issue with multiple qualifiers [gi]
" (ss) additional factoring of keywords, globals, and members
" Last Change: 2022 Jun 09
" ============================================================================
" MEH - a dark Vim colorscheme
" Best on truecolor, but with rudimentary 256-color support.
" ============================================================================
hi clear
if exists('syntax_on') | syntax reset | endif
let g:colors_name = 'meh'
set background=dark

#Fixing “WARNING: UNPROTECTED PRIVATE KEY FILE!” on Linux

If you are getting this error then you probably reset the permissions on your hidden .ssh directory in your user folder, and your keys aren’t going to work anymore. It’s very important that these files not be writable by just anybody with a login to the box, so openssh will give you an error if you try to use them.

The full error message:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@zach-is-my-name
zach-is-my-name / .bashrc
Created April 7, 2022 01:12 — forked from anonymous/.bashrc
How to change cursor shape, color, and blinkrate of Linux Console
##############
# pretty prompt and font colors
##############
# alter the default colors to make them a bit prettier
echo -en "\e]P0000000" #black
echo -en "\e]P1D75F5F" #darkred
echo -en "\e]P287AF5F" #darkgreen
echo -en "\e]P3D7AF87" #brown
echo -en "\e]P48787AF" #darkblue
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@zach-is-my-name
zach-is-my-name / gist:fedaeca927134a3bd99914d404d76d3f
Created November 30, 2017 23:00
Atom New Release: Vim-Mode-Plus.less, style.less
style.less
atom-text-editor .cursor {
opacity: 1 !important;
// color: white;
// background-color: hsl(180, 24%, 12%);
}
_____________________________
vim-mode-plus.less
[
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "proposals",
ACCOUNTS
Account Addresses:
Zach (Main Account): 0x6fc919051900e8431281b4bad53761a5f993afa1
Zach 2: 0xbe4ee5624b6eaba6016fa5375f91c81f6f6462fa
Zach 3: 0x89ed7b3b263c2e0569607ece223c06d95ffdd5d4
GENERAL COMMANDS
Login/Unlock Account
web3.personal.unlockAccount("yourAddress", "password")
Send Ether
// define version
pragma solidity ^0.4.2;
// defines the "owned" contract
contract owned {
// defines the "variable" as an "address" and makes it public *** Need more info on public vs non public
address public owner;
// defines the owner of the contract as the sender *** The original sender? Any sender? It's not obvious here but I think I know the answer.