seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
<filename>src/poetry/masonry/builders/__init__.py
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
$input = $request->only('email', 'password');
$validator = Validator::make($input, [
'email' => 'required|email',
'password' => '<PASSWORD>',
]);
if($validator->fails()) {
//throw new ValidationHttpException($validator->errors()->all());
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def plugin_package(self, name, os):
return self._request(method="post", url=_get_nodeman_api_v2("plugin/package"), data={"name": name, "os": os})
def get_rsa_public_key(self, executor):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// 配置label
private func configLabel() {
timerLabel.layer.borderWidth = 3
timerLabel.layer.borderColor = #colorLiteral(red: 0.2614974976, green: 0.7886132598, blue: 0.5666816235, alpha: 1)
timerLabel.layer.cornerRadius = timerLabel.bounds.height / 2
timerLabel.layer.masksToB... | ise-uiuc/Magicoder-OSS-Instruct-75K |
class destinasi extends Model
{
protected $table = 'destinasis';
protected $fillable = ['namadestinasi','lokasidestinasi','deskripsi','gambardestinasi'];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# See the License for the specific language governing permissions and
# limitations under the License.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
graphdoc --schema-file schema/graphql.schema.js --output schema/iso/iso639-3/eng/graphql-doc --force
graphdoc --schema-file schema/graphql.schema.mjs --output schema/iso/iso639-3/eng/graphql-doc --force
| ise-uiuc/Magicoder-OSS-Instruct-75K |
console.log("###############END DB TEST#################");
fs.unlinkSync('sample.json');
});
describe('Open file json', () => {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.out_log = out_log
self.err_log = err_log
self.global_log = global_log
self.env = env
def launch(self) -> int:
cmd = " ".join(self.cmd)
if self.out_log is None:
print('')
print("cmd_wrapper commnand print: " + cmd)
else:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from QAPUBSUB.consumer import subscriber
sub = subscriber(host='192.168.2.116',user='admin', password='<PASSWORD>' ,exchange= 'realtime_60min_rb1910')
sub.start() | ise-uiuc/Magicoder-OSS-Instruct-75K |
memcpy( dst1->size, src1->size, src1->dims*sizeof(src1->size[0]));
dst1->valoffset = src1->valoffset;
dst1->idxoffset = src1->idxoffset;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
_commitStorage = commitStorage ?? throw new ArgumentNullException(nameof(commitStorage));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
obtain_jwt_token,
refresh_jwt_token,
verify_jwt_token
)
urlpatterns = [
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
override func buttonPressed(_ button: JSButton) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
DESCRIPTOR._options = None
_DATAREQUEST._serialized_start=30
_DATAREQUEST._serialized_end=57
_DATA2PLC._serialized_start=59
_DATA2PLC._serialized_end=85
_SLAVEREQ2PLC._serialized_start=87
_SLAVEREQ2PLC._serialized_end=118
_DATA2HMI._serialized_start=120
_DATA2HMI._serialized_end=146
_DATA2PLCJS._ser... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from django import http
def my_decorator(func):
'''自定义的装饰器:判断是否登录,如果登录,执行func ,未登录,返回json'''
# request.user表示请求的用户对象,如果是未登录用户: user 为 匿名用户,如果是登录用户: user 为 登录用户
def wrapper(request, *args, **kwargs):
if request.user.is_authenticated:
# 如果用户登录, 则进入这里,正常执行
return func(request... | ise-uiuc/Magicoder-OSS-Instruct-75K |
// MapbenderCoreBundle:Element:layertree.html.twig
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use mitrid_core::io::Client as ClientBase;
use crypto::Digest;
use io::Address;
use io::ClientTransport;
#[derive(Clone)]
pub struct Client;
impl ClientBase<ClientTransport, Address, (), Digest, Vec<u8>> for Client {} | ise-uiuc/Magicoder-OSS-Instruct-75K |
/// <summary>
/// 当前选中的需要备份的数据库
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.result = collections.deque(maxlen=1)
self.searchstring = ''
self.currentString= 'default'
#Dictate into textbox to leave messages
self.dictate= Text(self, font = (font1, 11, 'bold'), fg = 'white', bg ='black', spacing1 = 5, wrap = WORD,width = 50,height =14, bd = 0, highlightthickness = 0)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# https://stackoverflow.com/questions/21073086/wait-on-arduino-auto-reset-using-pyserial
# https://forum.arduino.cc/index.php?topic=38981.0
raise WorkerInterrupt()
return device
def _send(self, cmd):
cmd = (cmd + '\n').encode()
self.device.write(cmd)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace nts
{
class LinkErrorException : public BaseException
{
public:
LinkErrorException(char const *message);
LinkErrorException(std::string const &message);
~LinkErrorException() = default;
};
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include "oblog.hpp"
#include "ode_engine.hpp"
using namespace OB;
void EngineLogger::engine_pre_step(Engine &engine)
{
Vector linMomentum = engine.get_linear_momentum();
Vector angMomentum = engine.get_angular_momentum();
Real kinEnergy = engine.get_kinetic_energy();
Vector position{0,0,0};
log_s... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
export function composeValidations(...validations: any[]) {
return (value: any) => {
return validations.reduce((fail, validation) => {
return fail || validation(value);
}, undefined);
};
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
Module for app authorization
"""
from flask import Blueprint, request
from github import Github, BadCredentialsException
from .config import ALLOWED_GITHUB_USERS
auth_protected = Blueprint("auth_protected", __name__)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# get input tensor
input_images = sess.graph.get_tensor_by_name('input:0') # input parameter: images
images_labels = sess.graph.get_tensor_by_name('labels:0') # input parameter: labels
accuracy_operation = sess.graph.get_tensor_by_name('accuracy:0') # output para... | ise-uiuc/Magicoder-OSS-Instruct-75K |
result->FastSetReachabilityToUnion(inputs, hlo);
}
return result;
}
void HloReachabilityMap::UpdateReachabilityThroughInstruction(
const HloInstruction* instruction) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
categorical_interaction : str
The column in the input data frame containing a binary descriptor
used to fit 2-way interaction effects.
scaling : scikit-learn Transformer object | None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
path('<int:employee_id>/', views.employee_view, name='employee'),
] | ise-uiuc/Magicoder-OSS-Instruct-75K |
header?: string;
}>;
/**
* The direction of the sort arrow. Option are:
* * SORT_OPTIONS.UP: `up`
* * SORT_OPTIONS.DOWN: `down`
*/
sortDirection?: SORT_OPTIONS.UP | SORT_OPTIONS.DOWN;
/**
* Allows multiple item to be selection
*/
multiple?: boolean;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if ano == 0:
ano = date.today().year #Ele irá analisar o ano atual e dizer se ele é bissexto ou não.
if ano % 4 == 0 and ano % 100 != 0 or ano % 400 == 0:
print(f'\033[1;30mO ano \033[1;34m{ano} \033[30mÉ BISSEXTO.')
else:
print(f'\033[31mO ano \033[1;34m{ano} \033[31mNÃO é BISSEXTO.')
print('\033[34m='*15,... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from time import sleep
for i in range(10, 0, -1):
print(i)
sleep(1)
print('Yeey!!')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if(a>b and a>c)
{
return max(b,c);
}
else if(b>a and b>c)
{
return max(a,c);
}
else return max(a,b);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
modules = ["checker.py"]
doc_url = "https://muellerzr.github.io/dependency_checker/"
git_url = "https://github.com/muellerzr/dependency_checker/tree/master/"
def custom_doc_links(name): return None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return(imported_data)
def connect_to_db(db_con, retry_count, delay):
print('Connecting to {}'.format(db_con))
engine = sqla.create_engine(db_con, isolation_level="AUTOCOMMIT")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_with_zipfile_many_files_zip_64():
now = datetime.fromisoformat('2021-01-01 21:01:12')
perms = 0o600
def files():
for i in range(0, 100000):
yield f'file-{i}', now, perms, ZIP_64, (b'ab',)
def extracted():
with ZipFile(BytesIO(b''.join(stream_zip(files())))) as my_... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# convert pages into images
pages = convert_from_path(pdf)
# save the pages in jpeg format
for page in pages:
page.save('./uploads/page.jpg', 'JPEG')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</a>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
bindkey "^[[A" up-line-or-search
bindkey "^[[B" down-line-or-search
. $HOME/.asdf/asdf.sh
. $HOME/.asdf/completions/asdf.bash
| ise-uiuc/Magicoder-OSS-Instruct-75K |
areForTrainAndTest=False, removeInputs=False)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</div>
<?php $i++;}?>
</div>
<a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev"> <span class="carousel-control-prev-icon"
aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-contr... | ise-uiuc/Magicoder-OSS-Instruct-75K |
string.append('')
power -= 1
else:
string_list_after.append(string[index])
index += 1
print() | ise-uiuc/Magicoder-OSS-Instruct-75K |
current_fill_index += 1
for column_cells in ws.columns:
length = max(len(str(cell.value) or "") for cell in column_cells)
ws.column_dimensions[column_cells[0].column].width = length + 3
last_column = ws['G']
first_cell = last_column[0]
dv.add(first_cell)
wb.save(filename='/tm... | ise-uiuc/Magicoder-OSS-Instruct-75K |
@Injectable()
/*
now control comes here form useGuard in controller
this class will ask to use AuthGuard
which uses local strategy
this will trigger our local strategy which is auth.strategy.ts in our case
*/
export class Guard extends AuthGuard('local') {
/*
to create a session
we need to tell the login module to ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# - nss-pkcs11-devel.x86_64:3.21.3-2.el5_11
# - nss-tools.x86_64:3.21.3-2.el5_11
# - xulrunner.x86_64:17.0.10-1.el5_10
# - xulrunner-devel.x86_64:17.0.10-1.el5_10
# - xulrunner-devel-unstable.x86_64:1.9.0.18-1.el5_4
#
# CVE List:
# - CVE-2009-0352
# - CVE-2009-0353
# - CVE-2009-0354
# - CVE-2009-0355
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from .base import Base
from bonita.api.bonita_client import BonitaClient
class User(Base):
"""Manage user"""
def run(self):
# bonita process [deploy <filename_on_server>|get <process_id>|enable <process_id>|disable <process_id>]
#print('You supplied the following options:', dumps(self.option... | ise-uiuc/Magicoder-OSS-Instruct-75K |
exclude = ("sandbox",)
readonly_fields = ("playground_name", "template_name", "sandbox_name", "sandbox", "requested_by", "justification")
def template_name(self, inst):
"""
Retrieve the template name through a few redirects
"""
return inst.template.name
def ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
widget=forms.TextInput(),
help_text="Comma-separated list of tags to add to every newly created MISP event.")
event_prefix = forms.CharField(required=False,
label="Event Prefix",
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return session_name
else:
raise ValueError('Could not infer session name') | ise-uiuc/Magicoder-OSS-Instruct-75K |
impl YieldNow for LocalSpawner {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
setLayoutForType(type: LayoutType, dimension: Dimension, index: number): void;
}
export interface Dimension {
height: number;
width: number;
}
export declare enum LayoutType {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
String address = UNKNOWN;
if (StringUtils.isBlank(ip)) {
return address;
}
// 内网不查询
ip = "0:0:0:0:0:0:0:1".equals(ip) ? "127.0.0.1" : HtmlUtil.cleanHtmlTag(ip);
if (NetUtil.isInnerIP(ip)) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from PIL import Image
import random
import torchvision
import numpy as np
class SemiAlignedDataset(BaseDataset):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return -1;
}
UnitTests uts(NULL, &run_test_case, argv[1]);
if (argc == 3) tc_id = argv[2];
int errors_count = uts.run_test_cases(tc_id, tests_ran);
if (errors_count == 0)
cout << "All " << tests_ran << " test(s) succeeded!!!" << endl;
else
cout << errors_count << " tes... | ise-uiuc/Magicoder-OSS-Instruct-75K |
console.log(ms1, ms2);
expect(ms1.get(2, 57)).toBe(1);
expect(ms2.get(32, 7)).toBe(1);
expect(ms1.get(4096, 4096)).toBe(1);
expect(ms2.get(4096, 4096)).toBe(1);
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ind = ind + 1
batch = batch[np.random.permutation(len(batch))]
data_x = []
data_y = []
for b in batch:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let data = file.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)
return NSFileManager.defaultManager().createFileAtPath(exportPath, contents: data, attributes: nil)
}
// MARK: - Main
let (path, exportPath, enumName) = NSUserDefaults.standardUserDefaults().arguments
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return this.zzd.booleanValue();
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
vals = np.ones((k, 4))
vals[:, 0] = np.array([(i % v)/v for i in range(k)])
vals[:, 1] = np.array([((i + 5) % v)/v for i in range(k)])
vals[:, 2] = np.array([((i + 7) % v)/v for i in range(k)])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
AsrClientFactory.get_client_from_key(
asr_provider=AsrProvider.REV,
key="<YOUR_REV_ACCESS_TOKEN>"
),
AsrClientFactory.get_client_from_key(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@dataclass(frozen=True)
class UnclassifiedCharge(Charge):
type_name: str = "Unclassified"
expungement_rules: str = (
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* Based on http://www.cplusplus.com/forum/beginner/67479/
*/
#ifndef _ARDUINO_SERIAL_H_
#define _ARDUINO_SERIAL_H_
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
faces.push([base + 3, base, base + 4]);
ctl_pts.push(ControlPoint { uv: [0.0, 0.0], dir: [-1.0, -1.0, 1.0] });
ctl_pts.push(ControlPoint { uv: [0.0, 1.0], dir: [-1.0, -1.0, -1.0] });
ctl_pts.push(ControlPoint { uv: [0.0, 1.0], dir: [1.0, -1.0, -1.0] });
ctl_pts.push(ControlPoint ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
// Any needed for correctly type generation depend on request creator function
/* eslint-disable @typescript-eslint/no-explicit-any */
import { makeAutoObservable, runInAction } from 'mobx'
import { CancellablePromise } from 'real-cancellable-promise'
import { CancelationError } from './request/CancelationError'
impo... | ise-uiuc/Magicoder-OSS-Instruct-75K |
//
// FilterJournalTableViewCell.swift
// EachDay
//
// Created by Eleanor Peng on 2020/12/12.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
get { self.userDefaults.string(forKey: Key.currentInstanceUrl)?.lowercased() ?? "" }
set { self.userDefaults.setValue(newValue, forKey: Key.currentInstanceUrl) }
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# following the same logic than for holidays and adding proximity variables from religious events
freqJ = events_in_ago(freqJ, 'date', 'data/events.csv')
# adding the religous bolean features
freqJ = pd.merge(freqJ, religion_df, how='left', on='date')
freqJ.sort_index(inplace=True, ascending=True)... | ise-uiuc/Magicoder-OSS-Instruct-75K |
data = json.load(f)
else:
data = []
for scala_version in args.scala_versions:
scala_version_indices = [i for i, data_version in enumerate(data) if data_version['scala-version'] == scala_version]
if scala_version_indices:
scala_version_index = scala_version_indices... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
if(m_recommendationProviderUriHasBeenSet)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from setuptools import setup
try:
from pypandoc import convert_file
read_md = lambda f: convert_file(f, 'rst', 'md')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#--------------------------------------------------------------------------------
# SoCaTel - Backend data storage API endpoints docker container
# These tokens are needed for database access.
#--------------------------------------------------------------------------------
#===========================================... | ise-uiuc/Magicoder-OSS-Instruct-75K |
let caps = re
.captures(data)
.ok_or_else(|| format!("Invalid input: {:?}", data))?;
Ok(Self {
position: [
caps.get(1)
.unwrap()
.as_str()
.parse()
.map_err(|e| format!("{... | ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>drgarcia1986/cookiecutter-muffin
| ise-uiuc/Magicoder-OSS-Instruct-75K |
void Bullet::MoveUp()
{
if(pos.y < 150) pos.y += speed;
}
void Bullet::MoveDown()
{
if(pos.y > -725) pos.y -= speed;
}
const bool Bullet::Alive() const { return false; }
void Bullet::Revive() { }
void Bullet::Die() { }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export const mongoUri = process.env.MONGO_URI;
export const collections = {
userAuthCollection: "cowinCollection",
cronJobCollection:"cronCollection"
}
export const welcomMessage = "Hello there, Welcome to the cowin Bot app\nHere are the commands you can use\n1) /genOTP <mobile number> enter a 10 digit mobile numb... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
private List<Tag> tagsToDelete(ResourceModel model) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[serde(rename = "SN")]
Senegal,
/// SEYCHELLES
#[serde(rename = "SC")]
Seychelles,
/// SIERRA LEONE
#[serde(rename = "SL")]
SierraLeone,
/// SINGAPORE
| ise-uiuc/Magicoder-OSS-Instruct-75K |
vorhersage, fehl = train(df_train, feature) # Vorhersage berechnen
alle_vorhersagen[feature] = vorhersage # Vorhersage abspeichern
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Parameters
----------
category : str
image category (dog or book, default=dog)
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
TTxt {
items: vec![
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
MutexLockGuard lock(m_mutex);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
MagicMonster::~MagicMonster()
{
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//! is used. It may have [`check`]s to allow/deny a user's access to the command.
//!
//! [`check`]: crate::check
use std::collections::HashSet;
use std::fmt;
use serenity::futures::future::BoxFuture;
use serenity::model::channel::Message;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def _shell(*args, **kwargs):
kwargs.setdefault("check", True)
return subprocess.run(*args, **kwargs)
def main():
if not os.environ.get("VIRTUAL_ENV"):
sys.stderr.write(
"Not in a virtualenv. You probably don't want to do this.\n"
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
public function setImageFile(?File $imageFile): void
{
$this->imageFile = $imageFile;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import Foundation
import Realm
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# {8}: min merge_length
| ise-uiuc/Magicoder-OSS-Instruct-75K |
4. Get RESULTS!
"""
DB_HOST = os.getenv("DB_HOST", default="OOPS")
DB_NAME = os.getenv("DB_NAME", default="OOPS")
DB_USER = os.getenv("DB_USER", default="OOPS")
DB_PASSWORD = os.getenv("DB_PASSWORD", default="<PASSWORD>")
connection = psycopg2.connect(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
defaults = {
"config": {
"vaping": {"home_dir": None, "pidfile": "vaping.pid", "plugin_path": [],},
},
"config_dir": "~/.vaping",
"codec": "yaml",
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from_tfrecords=True,
disp=False
)
metrics = pxl_utils.tf_events_to_dict('{}/metrics'.format(experiment.name), 'eval')
logs = pxl_utils.tf_events_to_dict('{}/checkpoint'.format(experiment.name), 'train')
for variable in logs.keys():
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def advanced_filter(request):
"""Used to filter out products that have a certain manufacturer or of a certain category"""
products = Product.objects.all()
if request.GET["name_filter"]:
products = products.filter(name__icontains=request.GET["name_filter"]) # get search input in filter window
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
text_decrypt_output=Text(secondframe,height=10,width=45,font=('times new roman',12),yscrollcommand=scol.set,relief="sunken",bd=3,fg="black")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Generated by Django 2.0.7 on 2018-07-06 19:23
from django.db import migrations, models
import django_extensions.db.fields
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'epoch': float(mpc['epoch_jd']) - 2400000.5, # to MJD
'H': float(mpc['absolute_magnitude']),
'g': float(mpc['phase_slope']),
'diam': -999,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mysql_select_db("embedded", $hd) or die ("Unable to select database");
$query1 = "SELECT distinct(`bot_id`) from `embedded`.`detail_bot`;";
//echo $query1;
$string_to_be_passed;
$res1 = mysql_query("$query1") or die ("Unable to run query1");
while ($row= mysql_fetch_array($res1)) {
$title = $row["bot_id"];
/... | ise-uiuc/Magicoder-OSS-Instruct-75K |
export PATH
echo -e "You SHOULD input 2 numbers; program will cross these two numbers"
read -p "first number: " first
read -p "second number: " second
total = $( ( $first*$second ) )
| ise-uiuc/Magicoder-OSS-Instruct-75K |
labels_file.open("config/labels.txt");
while(getline(labels_file, line))
{
if (!line.empty())
classes_qtd++;
}
images_file.open("config/train.txt");
while(getline(images_file, line))
{
if (!line.empty())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
files: "sass-copy/**/*.scss",
from: [
/\$primary-color: .* !default;/g,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"incidunt ipsum labore magnam modi neque non numquam porro quaerat qui"
"quia quisquam sed sit tempora ut velit voluptatem").split()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
initWallet(walletManager: walletManager!)
}
func testDefaultValue() {
guard let walletManager = walletManager else { return XCTAssert(false, "Wallet manager should not be nil")}
UserDefaults.standard.removeObject(forKey: "SPEND_LIMIT_AMOUNT")
XCTAssertTrue(walletManager.spending... | ise-uiuc/Magicoder-OSS-Instruct-75K |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.