- Login to Namecheap Account
- Get JSON from https://ap.www.namecheap.com/Domains/dns/GetAdvancedDnsInfo?fillTransferInfo=false&domainName=YOURDOMAINNAME.com
- Save it to file
python main.py data.json
// 2. | |
Purchases.shared.setAttributes(["favorite_workout" : "cycling"]) |
# Emily Gorcensky's "obnoxious" fizz-buzz (less-compact version) annotated for non-python geeks. | |
# Explanation via Twitter: https://twitter.com/EmilyGorcenski/status/1228407309656903680?s=20 | |
# If you want to dive into the meanings of how it works: it models fizzbuzz by | |
# computing the isomorphism of the finite cyclic groups of the values of the | |
# fizzes and buzzes and whatnot. | |
# | |
# These abelian groups are mapped to the unit circle in the complex plane and | |
# Represented as roots of unity. Such a interpetation has a polynomial | |
# representation. Therefore, the cartesian product in the isomorphism is | |
# represented as polynomial multiplication. The coefficients of a Polynomial |
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
This help only covers the parts of GLSL ES that are relevant for Shadertoy. For the complete specification please have a look at GLSL ES specification
Version: WebGL 2.0
Arithmetic: ( ) + - ! * / %
Logical/Relatonal: ~ < > <= >= == != && ||
Bit Operators: & ^ | << >>
Comments: // /* */
Types: void
bool
int
uint
float
vec2
vec3
vec4
bvec2
bvec3
bvec4
ivec2
ivec3
ivec4
uvec2
uvec3
uvec4
mat2
mat3
mat4
mat?x?
sampler2D,
sampler3D
samplerCube
Format: float a = 1.0; int b = 1; uint i = 1U; int i = 0x1;
In this guide I will go through all the steps to create a VPS, secure it and deploy a Django application. This is a summarized document from this digital ocean doc
Any commands with "$" at the beginning run on your local machine and any "#" run when logged into the server
Use this link and get $10 free. Just select the $5 plan unless this a production app.
# Use this file to parse the structure of your minilogue programs and libraries (sound banks) | |
# this makes it easy to understand and document a finished sound | |
# run "python mnlgxd.py test.mnlgxdprog" to print the sound in a program name test.mnlgxdprog | |
# or "python mnlgxd.py test.mnlgxdlib 1" to print the second sound in the bank named test.mnlgxdlib | |
import struct, sys, zipfile, fpdf | |
fileStructure = [ | |
("MAGIC", "<4s"), | |
("PROGRAM NAME", "12s"), |
import collections | |
import math | |
import os | |
import cv2 | |
import numpy as np | |
import time | |
MAX_LINES = 4000 | |
N_PINS = 36*8 | |
MIN_LOOP = 20 # To avoid getting stuck in a loop |
Hey everyone - this is not just a one off thing, there are likely to be many other modules in your dependency trees that are now a burden to their authors. I didn't create this code for altruistic motivations, I created it for fun. I was learning, and learning is fun. I gave it away because it was easy to do so, and because sharing helps learning too. I think most of the small modules on npm were created for reasons like this. However, that was a long time ago. I've since moved on from this module and moved on from that thing too and in the process of moving on from that as well. I've written way better modules than this, the internet just hasn't fully caught up.
@broros
otherwise why would he hand over a popular package to a stranger?
If it's not fun anymore, you get literally nothing from maintaining a popular package.
One time, I was working as a dishwasher in a restu
import numpy as np | |
from functools import reduce | |
class Buzzer: | |
def __init__(self, **kwargs): | |
values = [v for k, v in kwargs.items()] | |
self.kwargs = kwargs | |
self.lcm = np.lcm.reduce(values) | |
self.eps = 1e-7 |