Skip to content

Instantly share code, notes, and snippets.

View moming2k's full-sized avatar

Chris Chan moming2k

  • United Kingdom
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
"Word","Definition","Part of Speech","Sentence","Antonyms","Synonyms"
"Lonely","Feeling sad because you are not with other people.","Adjective","I felt lonely without my teddy bear.","Happy, together","Alone, isolated"
"Unusual","Not normal or common; different.","Adjective","The blue banana looked very unusual.","Normal, common","Strange, rare"
"Prey","An animal that is hunted and eaten by another animal.","Noun","The cat chased its prey, the mouse.","Predator, hunter","Target, victim"
"Dawn","The time in the morning when the sun first appears.","Noun","We woke up at dawn to watch the sunrise.","Dusk, sunset","Sunrise, daybreak"
"Zeal","Great energy or passion for something.","Noun","She had great zeal for painting, always using bright colors.","Apathy, indifference","Passion, enthusiasm"
"Whole","Complete or not divided.","Adjective","I ate the whole chocolate bar by myself!","Part, half","Entire, full"
"Increase","To become larger or more.","Verb","As I watered the plant, it began to increase in size.","De
boto3==1.16.2
botocore==1.19.2
chardet==3.0.4
idna==2.10
jmespath==0.10.0
numba==0.51.2
numpy==1.19.2
packaging==20.4
pandas==1.1.4
pyarrow==2.0.0
- hosts: masters
become: yes
gather_facts: false
tasks:
- name: get join command
shell: kubeadm token create --print-join-command
register: join_command_raw
- name: set join command
set_fact:
- hosts: master
become: yes
tasks:
- name: initialize the cluster
shell: kubeadm init --pod-network-cidr=10.244.0.0/16 >> cluster_initialized.txt
args:
chdir: $HOME
creates: cluster_initialized.txt
- name: create .kube directory
- hosts: all
become: yes
tasks:
- name: install Docker
yum:
name: docker
state: present
update_cache: true
- name: start Docker
https://jenkins.io/doc/tutorials/build-a-multibranch-pipeline-project/
from numpy import exp, array, random, dot
class NeuralNetwork():
def __init__(self):
random.seed(1)
self.synaptic_weights = 2 * random.random((3,1)) -1
def __sigmoid(self, x):
return 1/(1 + exp(-x))
sudo gem install update_xcode_plugins
# sudo gem install -n /usr/local/bin update_xcode_plugins
update_xcode_plugins --unsign
sudo xcode-select -s /Applications/Xcode-unsigned.app
# Install all plugin
update_xcode_plugins
java -Xmx500m -Xss1024k -jar ~/Downloads/jruby-complete-9.1.5.0.jar -e 'load "META-INF/jruby.home/bin/jirb"'
@moming2k
moming2k / Podfile
Last active October 12, 2016 03:20 — forked from anonymous/Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
swift_3_lib = ["Alamofire", "AlamofireObjectMapper", "ObjectMapper", "CryptoSwift", "KeychainSwift"]
post_install do |installer|
installer.pods_project.targets.each do |target|
if (swift_3_lib.include?(target.name))
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'