A very basic starter template with fundamental HTML5 markup -- only the basics.
Based on HTML5 Bones | http://html5bones.com
| /* The API controller | |
| Exports 3 methods: | |
| * post - Creates a new thread | |
| * list - Returns a list of threads | |
| * show - Displays a thread and its posts | |
| */ | |
| var Thread = require('../models/thread.js'); | |
| var Post = require('../models/post.js'); |
| /* fix_fft.c - Fixed-point in-place Fast Fourier Transform */ | |
| /* | |
| All data are fixed-point short integers, in which -32768 | |
| to +32768 represent -1.0 to +1.0 respectively. Integer | |
| arithmetic is used for speed, instead of the more natural | |
| floating-point. | |
| For the forward FFT (time -> freq), fixed scaling is | |
| performed to prevent arithmetic overflow, and to map a 0dB | |
| sine/cosine wave (i.e. amplitude = 32767) to two -6dB freq |
A very basic starter template with fundamental HTML5 markup -- only the basics.
Based on HTML5 Bones | http://html5bones.com
| // MIT License - Copyright (c) 2016 Can Güney Aksakalli | |
| // https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Net.Sockets; | |
| using System.Net; | |
| using System.IO; |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| def pdm(x): | |
| n = len(x) | |
| y = np.zeros(n) | |
| error = np.zeros(n+1) | |
| for i in range(n): | |
| y[i] = 1 if x[i] >= error[i] else 0 | |
| error[i+1] = y[i] - x[i] + error[i] |
| // gcc -o test init_window.c -I. -lwayland-client -lwayland-server -lwayland-client-protocol -lwayland-egl -lEGL -lGLESv2 | |
| #include <wayland-client.h> | |
| #include <wayland-server.h> | |
| #include <wayland-client-protocol.h> | |
| #include <wayland-egl.h> // Wayland EGL MUST be included before EGL headers | |
| #include "init_window.h" | |
| #include "log.h" | |
| #include <string.h> |
| """ | |
| AUTOMATIC drag and drop support for windows (NO PROMPT!) | |
| 1. Copy script to directory you want your files copied to. | |
| 2. Select the files you want to convert. | |
| 3. Drag & drop onto this script to convert .vox to .obj! | |
| Files will be exported to directory of this script. |
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}