This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background:#363534; | |
} | |
div.title { | |
color: white; | |
} | |
.qs_input { | |
background: #363534; | |
color: white; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<scheme name="CityLights" version="142" parent_scheme="Darcula"> | |
<metaInfo> | |
<property name="created">2019-01-04T13:46:48</property> | |
<property name="ide">Idea</property> | |
<property name="ideVersion">2018.3.2.0.0</property> | |
<property name="modified">2019-01-04T13:46:55</property> | |
<property name="originalScheme">CityLights</property> | |
</metaInfo> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="a3be8c" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<scheme name="Nord-Darker" version="142" parent_scheme="Darcula"> | |
<metaInfo> | |
<property name="created">2018-11-18T19:08:55</property> | |
<property name="ide">Idea</property> | |
<property name="ideVersion">2018.2.6.0.0</property> | |
<property name="modified">2018-11-18T19:09:08</property> | |
<property name="originalScheme">_@user_Nord</property> | |
</metaInfo> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="a3be8c" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<scheme name="Nord" version="142" parent_scheme="Darcula"> | |
<metaInfo> | |
<property name="created">2018-11-18T18:07:48</property> | |
<property name="ide">Idea</property> | |
<property name="ideVersion">2018.2.6.0.0</property> | |
<property name="modified">2018-11-18T18:08:04</property> | |
<property name="originalScheme">_@user_Nord</property> | |
</metaInfo> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="a3be8c" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd | |
sudo xcodebuild -license | |
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / | |
## Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install git tig vim zsh wget pyenv zplug sqlite xz coreutils | |
brew cleanup -s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-webkit-keyframes fadein { | |
from { | |
opacity: 0; | |
} | |
to { | |
opacity: 1; | |
} | |
} | |
#sVim-command { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Userland mode (~$USER/), (~/). | |
# ~/.fonts is now deprecated and that | |
#FONT_HOME=~/.fonts | |
# ~/.local/share/fonts should be used instead | |
FONT_HOME=~/.local/share/fonts | |
echo "installing fonts at $PWD to $FONT_HOME" | |
mkdir -p "$FONT_HOME/adobe-fonts/source-code-pro" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from janome.tokenizer import Tokenizer | |
from janome.analyzer import Analyzer | |
from janome.charfilter import * | |
from janome.tokenfilter import * | |
from typing import * | |
import pickle | |
class TokenizerFactory: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BackgroundColour=13,25,38 | |
ForegroundColour=217,230,242 | |
CursorColour=217,230,242 | |
Black=23,23,23 | |
BoldBlack=52,52,52 | |
Red=185,121,121 | |
BoldRed=220,188,188 | |
Green=121,185,121 | |
BoldGreen=188,220,188 | |
Yellow=185,185,121 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# QRNN for TensorFlow 1.4 | |
# This is a fork of QRNN implementation in https://github.com/DingKe/nn_playground (MIT Licenced) | |
import numpy as np | |
import tensorflow as tf | |
from tensorflow.python.keras import backend as K | |
from tensorflow.python.keras import activations, initializers, regularizers, constraints | |
from tensorflow.python.keras.layers import Layer, InputSpec | |
# Paste directly from latest keras source since this is not available in TF 1.4.1. |