start new:
tmux
start new with session name:
tmux new -s myname
<?php | |
foreach($_POST['outcome'] as $okey=>$oval){ | |
$rs = mysql_query("INSERT INTO form_quest_outcome_fqo (qid_fqo, idotc_fqo) VALUES ('{$q_id}','{$oval}')", $mx_shop); | |
$idfqo = mysql_insert_id(); | |
foreach($_POST['outcome_inctype'][$oval] as $ikey=>$ival){ | |
mysql_query("INSERT INTO form_quest_outcomeit_fqi (idfqo_fqi, qid_fqi, idit_fqi) VALUES ('{$idfqo}','{$q_id}','{$ival}')", $mx_shop); | |
} | |
} | |
?> |
function catu(one, two) { | |
var returnu = []; | |
two.forEach(element => { | |
returnu.push(one + element); | |
returnu.push(element); | |
}); | |
return returnu; | |
} | |
function main_fun(stringu) { | |
if (stringu.length == 1) { |
#!/bin/bash | |
# call this using bash radio.sh Mirchi | |
# Start list of radio. If the link ends with m3u, then add it as pWhateverYoucallIt. else put it in as cName | |
pMajesticJukebox="http://uk3.internet-radio.com:8405/live.m3u" | |
cMirchi='http://peridot.streamguys.com:7150/Mirchi' | |
cBollywoodHits='http://50.7.77.115:8174/' | |
cAfsanaIndia='http://174.36.206.197:7019/stream/1/' | |
#end list of Radio Stations |
var mother_node = new node(null, null); | |
var string_to_store = "rupsa"; | |
var previous_node = mother_node; | |
var stored_nodes = []; | |
string_to_store.split('').forEach(function (element, index) { | |
var newNode = new node(element, previous_node); | |
stored_nodes.push(newNode); | |
previous_node = newNode; | |
}) | |
console.log(stored_nodes); |
var mother_node = new node(null, null); | |
var string_to_store = "rupsa"; | |
var previous_node = mother_node; | |
var stored_nodes = []; | |
string_to_store.split('').forEach(function (element, index) { | |
var newNode = new node(element, previous_node); | |
stored_nodes.push(newNode); | |
previous_node = newNode; | |
}) | |
console.log(stored_nodes); |
FROM php:7.3-apache | |
LABEL maintainer="[email protected]" | |
# Install PHP extensions and PECL modules. | |
RUN buildDeps=" \ | |
default-libmysqlclient-dev \ | |
libbz2-dev \ | |
libmemcached-dev \ | |
libsasl2-dev \ | |
" \ |
<html> | |
<head> | |
<script> | |
let squarer; | |
function loadWebAssembly(fileName) { | |
return fetch(fileName) | |
.then(response => response.arrayBuffer()) | |
.then(bits => WebAssembly.compile(bits)) |
FROM node:12.10.0-alpine | |
RUN npm install -g create-react-app \ | |
create-react-native-app \ | |
react-native-cli | |
RUN mkdir /code | |
WORKDIR /code | |
ADD . /code |