Skip to content

Instantly share code, notes, and snippets.

SELECT "posts".*,
Group_concat(tags.id, "↕") AS keyword_ids,
Group_concat(tags.NAME, "↕") AS keyword_names,
Group_concat(Ifnull(tags.description, "null"), "↕") AS keyword_descriptions,
FROM "posts"
LEFT JOIN "post_tags"
ON "post_tags"."post_id" = "posts"."id"
LEFT JOIN "tags"
ON "post_tags"."keyword_id" = "tags"."id"
WHERE "tags"."name" IN ( 'sometag' )

Overview: This regimen is currently tailored to attacking the oxidative stress and potential tendon / collagen / tooth / etc damage of fluoroquinolone toxicity. Only the nigella sativa is specifically for neuropathy, but it doesn't have good science behind it. Also, many people report magnesium helps with muscle twitches, and avoiding sugar (part of my diet) helps with their pain, pins and needles, numbness.

Supplements

  • Alpha-Lipolic Acid (energy metabolism, antioxidant)
  • B Vitamin complex (general health)
  • Bee Pollen (antioxidant)
  • BCAAs (branch chain amino acids, protein formation)
  • Cod liver oil (general health)
  • Collagen powder (tendon / ligament / muscle repair)
// Build the spiral geometry
for( let i = 0; i < lineSteps; i += 1 ) {
const position = new Vector3(
( -( i / lineSteps ) * lineLength ) + ( lineLength / 2 ),
radius * Math.sin( ( i / lineSteps ) * ( Math.PI * 2 * coils ) ),
radius * Math.cos( ( i / lineSteps ) * ( Math.PI * 2 * coils ) ),
);
vertexGeometry.vertices.push( position );
const newStats = days.map( day => ({ stats: day.statistics.breakdown.byTurnover }) ).reduce(function (pastDay, currentDay) {
const nextStats = currentDay.stats.map(function(stat) {
const oldSold = pastDay.stats.find(function (old) {
return old.name === stat.name;
});
const newSold = stat.sold + oldSold.sold;
stat.sold = newSold;
return stat;
});
precision highp float;
precision highp int;
#define SHADER_NAME MeshPhongMaterial
#define GAMMA_FACTOR 2
#define NUM_CLIPPING_PLANES 0
#define UNION_CLIPPING_PLANES 0
uniform mat4 viewMatrix;
uniform vec3 cameraPosition;
#define TONE_MAPPING
#define saturate(a) clamp( a, 0.0, 1.0 )
# PATCH/PUT /microposts/1
# PATCH/PUT /microposts/1.json
def update
respond_to do |format|
if @micropost.update(micropost_params)
format.html { redirect_to @micropost, notice: 'Micropost was successfully updated.' }
format.json { render :show, status: :ok, location: @micropost }
else
format.html { render :edit }
def if_statement
a
if condition?
c(
1,
2,
3
)
end
end
import React, { Component } from 'react';
import { Vector3, Euler, Quaternion, } from 'three';
import SimplexNoise from 'simplex-noise';
import SPE from 'shader-particle-engine';
import shaderFrog from 'helpers/shaderFrog';
import { easeInQuint, easeOutCirc, } from 'easing-utils';
import { upsidownHalfPipe, camelHump, startEaseAt, } from 'helpers/EasingHelpers';
import { Mesh, ParticleEmitter, } from '../';
import { twinkleMaterial } from 'ThreeMaterials';
// Apply a series of reducers, continuation passing style, to the state object,
// and return the transformed state
export function applyMiddleware(
keysDown:Object,
actions:Object,
gameData:Object,
oldState:Object,
initialState:Object,
...reducers
):Object {