Skip to content

Instantly share code, notes, and snippets.

Bogdan noncototient

Block or report user

Report or block noncototient

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@noncototient
noncototient / VS Code Dark+.itermcolors
Created Aug 1, 2018 — forked from soldni/VS Code Dark+.itermcolors
Default Visual Studio Code Theme for iTerm
View VS Code Dark+.itermcolors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.10980392247438431</real>
@noncototient
noncototient / demo-styles.css
Last active Jul 18, 2018
Styles for demo page
View demo-styles.css
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #fafafa;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
@noncototient
noncototient / php_upgrade_to_71.sh
Created Jun 29, 2018 — forked from pixeline/php_upgrade_to_71.sh
Update Mac Os X's php version to php 7.1 using homebrew. Includes curl and mcrypt
View php_upgrade_to_71.sh
# 1. Install brew --> http://brew.sh/
# 2. run the following commands in your Terminal
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install --with-openssl curl
brew install --with-homebrew-curl --with-apache php71
brew install php71-mcrypt php71-imagick
# 3. Follow these instructions to make Apache and php-cli use the newer php executable and make the change persist after reboot.
brew info php71
@noncototient
noncototient / hosts
Created Jun 2, 2018 — forked from consti/hosts
/etc/hosts to block shock sites etc.
View hosts
# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.
#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost
@noncototient
noncototient / PasswordInput.vue
Created Feb 22, 2018
Vue password input component that consumes Have I Been Pwned Password API
View PasswordInput.vue
<template>
<div>
<input class="form-control" :class="'is-'+status" type="password" v-model="password" @change="verify">
<div :class="status+'-feedback'" v-show="message">
<i class="fa fa-spinner fa-spin" v-show="loading"></i>
<span v-text="message"></span>
</div>
</div>
</template>
You can’t perform that action at this time.