Not for everyone. Each programmer has their own appreciation of what is good coding music.
(From most influential to least)
Not for everyone. Each programmer has their own appreciation of what is good coding music.
(From most influential to least)
buildscript { | |
ext.kotlin_version = '1.0.5' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.4.2.RELEASE' | |
classpath "com.google.cloud.tools:appengine-gradle-plugin:+" |
import time | |
import numpy as np | |
from numpy.fft import fft2, ifft2 | |
from matplotlib import pyplot, animation | |
def fft_convolve2d(board, kernal): | |
board_ft = fft2(board) | |
kernal_ft = fft2(kernal) | |
height, width = board_ft.shape |
// | |
// loads remote file using fetch() streams and "pipe" it to webaudio API | |
// remote file must have CORS enabled if on another domain | |
// | |
// mostly from http://stackoverflow.com/questions/20475982/choppy-inaudible-playback-with-chunked-audio-through-web-audio-api | |
// | |
function play(url) { | |
var context = new (window.AudioContext || window.webkitAudioContext)(); |
I have been testing various ways to read and write text files with GZIP in Python. There were a lot of uninteresting results, but there were two I thought were worth sharing.
If you have a big list of strings to write to a file, you might be tempted to do:
f = gzip.open(out_path, 'wb')
for line in lines:
Can't share the complete code because the app's closed source and still in stealth mode, but here's how I'm using React Router and Redux in a large app with server rendering and code splitting on routes.
addReducers()
callback available to the getComponents()
method of
each React Router route. Each route is responsible for adding any Redux
reducers it needs when it's loaded. (This isn't really necessary on thegroup: Elmasri & Navathe Possible Airline DB State Figure 5.8 | |
description[[ this is a potential set of data based on the Airline Schema from the Elmasri & Navathe (Fundamentals of Database Systems Textbook) While it is based on the Schema, this is not from the book. | |
The relation _Airport_ contains basic information about an airport | |
The relation _Flight_ contains basic information about a complete flight route | |
The relation _Flight_Leg_ contains information about a flight segment within that route | |
The relation _Leg_instance_ contains information on a flight leg from a particular day | |
The relation _Fare_ contains information on a fare for a flight | |
The relation _Airplane_type_ has information about different airplane models |
For faster connection speed and more flexibility.
/Applications/Xcode.app/Contents/MacOS/Xcode
emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/
C-?
M-c
2. Upper Case : M-u
M-l