seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
class Policy extends CreateStamped {
/**
* database attributes
*/
public $primaryKey = 'policy_code';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __init__(self, *args, **kwargs):
kwargs['file_permissions_mode'] = 0o644
kwargs['directory_permissions_mode'] = 0o755
super(TTStaticFilesStorage, self).__init__(*args, **kwargs)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//------------------------------------------------------------------------------
void ImageLayeri3d::RequestTile(
const std::string& sQuadcode,
boost::function<void(const std::string&, ImageTile*)> cbfReady,
boost::function<void(const std::string&)> cbfFailed)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""Returns state-value function
Args:
state: State index
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public class CacheAdministatorExamples
{
private CacheAdministator _administator;
[SetUp]
public void Setup()
{
_administator = new CacheAdministator();
}
[Test]
public void Register_ShouldExtendCacheWithStatisticsDecorator()
{
// given
ICache cache = NewCache();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const { container } = render(<TabNav items={items} />);
expect(container).toBeInstanceOf(HTMLElement);
expect(container).toMatchSnapshot();
});
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
DigiLabel = cms.InputTag("ecalPreshowerDigis"),
OutputFile = cms.untracked.string("")
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
}
bool JasminFileGenerator::Generate(){
cout << this->context << endl;
cout << this->context->root << endl;
this->context->root->codeGen(this->context);
}
void JasminFileGenerator::WriteTo(ostream& out){
| ise-uiuc/Magicoder-OSS-Instruct-75K |
std::vector<SuitableDevice> suitableDevices;
suitableDevices.reserve(count);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
categories = Category.objects.filter(status=Category.STATUS_NORMAL)
nav_categories = []
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@staticmethod
def to_unicode_not_empty(value):
"""
Returns the string representation of the given L{value} if it is not C{None} and not empty. Otherwise,
returns C{None}
@postcondition: returns is None or isinstance(returns, six.text_type)
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS
class Serbian(Language):
lang = "sr"
Defaults = SerbianDefaults
__all__ = ["Serbian"]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public int mCoverHeight, mCoverWidth;
public int mPreviewHeight, mPreviewWidth;
public ImageParameters(Parcel in) {
mIsPortrait = (in.readByte() == 1);
mDisplayOrientation = in.readInt();
mLayoutOrientation = in.readInt();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import logging
logging_format = ' %(name)s :: %(levelname)-8s :: %(message)s'
logging.basicConfig(level=logging.WARNING, format=logging_format)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'status': data.get('user')
}
class WithdrawFundsSerializer(serializers.Serializer):
""" Serializer for 'withdraw-wallet' endpoint """
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// ghtool
| ise-uiuc/Magicoder-OSS-Instruct-75K |
-it $IMAGE_NAME:$TAG \
sh -c \
'
eval `ssh-agent -s`;
sh -l
'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pyjion.set_optimization_level(1)
with_result = timeit.repeat(test, repeat=5, number=1000)
pyjion.disable()
print("{0} took {1} min, {2} max, {3} mean with Pyjion".format(str(test), min(with_result), max(with_result), fmean(with_result)))
delta = (abs(fmean(with_result) - fmean(without_result)) / fmean(without_result)) * 100.0
print(f"Pyjion is {delta:.2f}% faster")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
set -e
mkdir amrex2d amrex3d
git clone https://github.com/AMReX-Codes/amrex.git
cd amrex
#git checkout development
./configure --dim=2 --prefix=../amrex2d/ --debug=yes
make
make install
make clean
rm -rf tmp_build_dir
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>golani04/bug-tracker
from datetime import datetime
from uuid import UUID
from typing import Optional
from pydantic import BaseModel, Field
class CommentBase(BaseModel):
text: str
commenter: UUID
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Rule(Document):
def validate(self):
frappe.msgprint("after_insert")
# manufacture = frappe.get_value("Rule",{"item_code": self.item_code,"type": "Manufacture"}, "item_code")
# if manufacture:
# frappe.throw("Disconut Manufature Item "+manufacture+" sudah ada !")
# dealer = frappe.get_value("Rule",{"item_code": self.item_code,"type": "Dealer"}, "item_code")
# if dealer:
# frappe.throw("Disconut Dealer Item "+dealer+" sudah ada !")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
RTC::ReturnCode_t RTMtoROS::onError(RTC::UniqueId ec_id)
{
return RTC::RTC_OK;
}
*/
/*
RTC::ReturnCode_t RTMtoROS::onReset(RTC::UniqueId ec_id)
{
return RTC::RTC_OK;
}
*/
/*
RTC::ReturnCode_t RTMtoROS::onStateUpdate(RTC::UniqueId ec_id)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</div><!-- /headerwrap -->
<!-- *****************************************************************************************************************
SERVICE LOGOS
***************************************************************************************************************** -->
<div id="service">
| ise-uiuc/Magicoder-OSS-Instruct-75K |
, 'time', 'timestamps_camera', 'timestamps_lab'
"""
import sys
import os
from h5py import File
import numpy as np
from matplotlib import pyplot as plt
#one representative filename
dataset_filename = sys.argv[1]
head, tail = os.path.split(dataset_filename)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_samples(self, min_samples):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class ParameterizedApp(param.Parameterized):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package com.java2000.project.service;
import com.java2000.project.bean.Clothes;
import com.java2000.project.ui.BusinessException;
import java.util.List;
public interface ClothesService {
public List<Clothes> list() throws BusinessException;
public Clothes findById(String cid) throws BusinessException;
public void update() throws BusinessException;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
await this.reminderStore.loadToCache();
await this.initalizeReminders();
this.checkAndLoadDowntimeInvites();
console.log("I'm ready!");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Migration(migrations.Migration):
dependencies = [
('auctions', '0006_auto_20201203_1859'),
]
operations = [
migrations.AlterField(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
lambda a: <EMAIL>'.format(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
with raises(SystemExit):
cli.main([])
with raises(NotImplementedError):
cli.main(["--trace"])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
while a>0:
temp = a%10
a = a//10
| ise-uiuc/Magicoder-OSS-Instruct-75K |
output.AddRange(PartitionAndSort(left));
output.AddRange(equal);
output.AddRange(PartitionAndSort(right));
Console.WriteLine(string.Join(" ", output));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
attrs = {}
def load_attrs(self, config):
# TODO
raise NotImplementedError
def get_attrs(self, attr_key):
try:
return self.attrs.get(attr_key)
except KeyError as e:
_LOGGER.error(str(e))
return None
def set_attrs(self, _attrs):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Create a grid stack of uniform rainfall
nx = 29
ny = 44
grid = np.zeros((ny,nx), dtype='float32') + 30.0 # [mmph]
new_rts_file = 'June_20_67_rain_uniform_30_75min.rts'
rts_unit = open(new_rts_file, 'wb')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export KOPS_STORE=gs://$PROJECT_ID-kops-$C2_NAME
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use Exception;
class YunXinBusinessException extends Exception
{
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
class EmailAuthAppConfig(AppConfig):
name = 'coop_cms.apps.email_auth'
verbose_name = "coop CMS > Email authentication"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"bus_output": solph.Bus(label="bus_output"),
}, oemof_model)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo
exit 1
fi
echo '**** salt'
multipass launch -c 2 -n salt --cloud-init cloud-init/salt.yaml && \
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def flip_dict(d):
"""Returns a copy of the input dictionary `d` where the values of `d`
become the keys and the keys become the values.
Note:
This does not even attempt to address key collisions.
Args:
d: A dictionary
"""
return dict((v,k) for k, v in iteritems(d))
# Namespace flattening
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# an editor! If `vim` is installed then calling `vi` runs `vim` anyway.
export EDITOR=vi
export VISUAL=vi
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public abstract Task HandleEvent(TDomainEvent domainEvent, CancellationToken cancellationToken);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
The module implements exceptions for Zserio python runtime library.
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""pages you land on without really trying"""
def setUp(self):
"""we need basic test data and mocks"""
self.factory = RequestFactory()
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
"bookwyrm.activitystreams.populate_stream_task.delay"
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
self.local_user = models.User.objects.create_user(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Created by zhengxianda on 2018/5/28.
// Copyright © 2018年 CocoaPods. All rights reserved.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
let last = subtitle_list.pop().unwrap();
let second_last = subtitle_list.pop().unwrap();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
->get();
//$archives = Homily::archives();
return view('homilies.homily', compact('homilies'));
}
public function index()
{
$homilies = Homily::latest()->get();
return view('admin.homilies.index', compact('homilies'));
}
public function create()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
paginate_by = 100
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
title_page = "Maestro | Años Base"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
tgt = tgt[:-1]
# try to translate
try:
# prepare tokenisations
token_src = [nsst.tokenization_src[word] if word in nsst.tokenization_src else 0
for word in src.split(" ") if len(word)]
token_tgt = [nsst.tokenization_tgt[word] if word in nsst.tokenization_tgt else 0
for word in tgt.split(" ") if len(word)]
# run nsst
args.input = src
args.token_src = token_src
result = best_transition_sequence(args)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.TipsText.string = rTextTip;
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
Layout = "~/areas/admin/views/shared/_Layout.cshtml";
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
len_comp = cmp(len(self.__head), len(other.__head))
if len_comp != 0:
return len_comp
if len(self.__head) > 0:
value_comp = cmp(self.__head[-1], other.__head[-1])
if value_comp != 0:
return value_comp
elif len(other.__head) > len(self.__head):
return -other.__cmp__(self)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sliding_window_size=None,
verbose=False,
monitor_experiment=True,
multioutput_GP=False,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
return Glucose.objects.by_user(self.request.user)
def filter_queryset(self, qs):
params = self.request.GET
search = params.get('sSearch')
if search:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fi
steps/train_sgmm2.sh --cmd "$train_cmd" 5000 7000 data/train data/lang exp/tri3c_ali exp/ubm4c/final.ubm exp/sgmm2_4c || exit 1;
utils/mkgraph.sh data/lang exp/sgmm2_4c exp/sgmm2_4c/graph || exit 1;
utils/mkgraph.sh data/lang_ug exp/sgmm2_4c exp/sgmm2_4c/graph_ug || exit 1;
steps/decode_sgmm2.sh --config conf/decode.config --nj 20 --cmd "$decode_cmd" \
--transform-dir exp/tri3c/decode exp/sgmm2_4c/graph data/test exp/sgmm2_4c/decode || exit 1;
steps/decode_sgmm2.sh --config conf/decode.config --nj 20 --cmd "$decode_cmd" \
--transform-dir exp/tri3c/decode_ug exp/sgmm2_4c/graph_ug data/test exp/sgmm2_4c/decode_ug || exit 1;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
yield viztask.waitKeyDown(['b','B'])
##############################
#!! MAIN EXPERIMENTAL LOOP !!#
##############################
def EXPERIMENT(ITI,runs):
for r in range(runs):
runNum = r+1
context = ContextGen(runNum)
yield StartRun(runNum,1,0)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
Convert ``x`` to an element of this multivariate polynomial ring,
possibly non-canonically.
EXAMPLES:
We create a Macaulay2 multivariate polynomial via ideal
arithmetic, then convert it into R.
::
sage: R.<x,y> = PolynomialRing(QQ, 2)
sage: I = R.ideal([x^3 + y, y])
sage: S = I._macaulay2_() # optional - macaulay2
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
Ok(Config { refresh_token,
client_id,
secret_key,
grpc_host })
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import Foundation
import FiskalySDK
class FiskalyzerV1 : Fiskalyzer {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(Y.shape, CC_2.shape)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public void project(int camX, int camY, int camZ) {
scale = OutrunRenderer.CAMERA_DEPTH / (z - camZ);
xx = (1 + scale * (x - camX)) * Outrun.WINDOW_WIDTH / 2;
yy = (1 - scale * (y - camY)) * Outrun.WINDOW_HEIGHT / 2;
ww = scale * OutrunRenderer.ROAD_WIDTH * Outrun.WINDOW_WIDTH / 2;
}
public void drawSprite(DoaGraphicsContext g) {
Sprite s = sprite;
if (sprite != null) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
init_procgen::init_procgen() : initializer("init_procgen")
{
usesResource("em");
buildsResource("procgen");
buildsResource("engtypes");
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class CrossSellingBoxData: NSObject, MLBusinessCrossSellingBoxData {
func getIconUrl() -> String {
return "https://urbancomunicacion.com/wp-content/uploads/2017/04/Logotipos-famosos-Starbucks-Urban-comunicacion-1.png"
}
func getText() -> String {
return "Ganá $ 50 de regalo para tus pagos diarios"
}
func getButtonTitle() -> String {
return "Invita a más amigos a usar la app"
}
func getButtonDeepLink() -> String {
return "https://mercadopago-crossSelling"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def zar_at():
return r(1,7) | ise-uiuc/Magicoder-OSS-Instruct-75K |
step "Documentation generated for Annotation Extension ${VERSION}! \nPublish it by copying docs to a new pull request in ios-sdk."
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from . import get_hub
from .base_platform import BaseStructPlatform
from .const import CONF_SLAVE_COUNT
from .modbus import ModbusHub
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if __name__ == "__main__":
test_process_document()
test_get_summary()
test_get_entities()
test_get_categories()
test_get_key_topics() | ise-uiuc/Magicoder-OSS-Instruct-75K |
File processImage(MultipartFile file);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print("%s\t%s\t%s\t%s\t%s" % (sample,s["nRefHom"],s["nNonRefHom"],s["nHets"],s["missing"]))
json.dump(s,open(outfile,"w"))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return this.getWarnings().length;
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{ path: "/first-part-page/", name: "FirstPartFormViewModel", useAsDefault: true },
{ path: "/second-part-page/:parameter", name: "SecondPartFormViewModel" },
{ path: "/**", redirectTo: ["NestedRouteMainFormViewModel"] }
]
})
export class NestedRouteMainFormViewModel extends ViewModel.ViewModels.FormViewModel {
public constructor( @Core.Inject("$document") public $document: ng.IDocumentService) {
super();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
public override void Join(Supplier supplier)
{
if (supplier != null)
{
}
}
#endregion Methods
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
parentClasses="public Component, public Timer" constructorParams="Component* parent, Core& core"
variableInitialisers="mParent{parent}, mUndoManager{core.getUndoManager()}"
snapPixels="8" snapActive="1" snapShown="1" overlayOpacity="0.330"
fixedSize="0" initialWidth="600" initialHeight="400">
<BACKGROUND backgroundColour="0">
<ROUNDRECT pos="0 0 100% 100%" cornerSize="20.0" fill="solid: ffffff00"
hasStroke="1" stroke="5, mitered, butt" strokeColour="solid: ff000000"/>
</BACKGROUND>
<TEXTBUTTON name="ButtonUndo" id="2905daae1318e8f9" memberName="mButtonUndo"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/** The enemy that was spotted. */
private IGameCharacter enemy;
/**
* Constructor.
* @param soldier the dwarf that is looking for an enemy
*/
public LookoutComponent(final IGameCharacter soldier) {
super(soldier);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
len(GovList) #Check the length of the list
with open("test.txt", "wb") as fp: #Pickling the list in order to save to a file
... pickle.dump(GovList, fp)
with open("/content/drive/MyDrive/test.txt","rb") as fp:# Unpickling the list to use in the notebook
| ise-uiuc/Magicoder-OSS-Instruct-75K |
docker run -p 8080:80 -it konrness/konrness.com | ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number/description/
#
# algorithms
# Medium (47.70%)
# Total Accepted: 18K
# Total Submissions: 37.5K
# Testcase Example: '"23"'
#
# 给定一个仅包含数字 2-9 的字符串,返回所有它能表示的字母组合。
#
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (!$condition) {
Notification::error(sprintf(n2_('Missing parameter: %s'), $property));
$this->response->error();
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_request(self):
return self.base_update_subscription_request
| ise-uiuc/Magicoder-OSS-Instruct-75K |
imageio.imwrite('akhead-gray.jpg', im[:,:,0])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
server_name = 'X'
domain_name = ''
response = []
try:
conn = SMBConnection('', '', '', server_name, domain=domain_name, use_ntlm_v2=True, is_direct_tcp=True)
conn.connect(target, 445)
shares = conn.listShares(timeout=timeout_sec)
response.append("[*] IP: " + target)
response.append( "\tShared Resources: ")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class ReminderForm(forms.ModelForm):
class Meta:
model = Reminder
fields = ['category', 'title', 'details', 'episode_of_care']
def __init__(self, *args, **kwargs):
user = kwargs.pop('user')
super(ReminderForm, self).__init__(*args, **kwargs)
self.fields['episode_of_care'].queryset = EpisodeOfCare.objects.filter(clinician=user) | ise-uiuc/Magicoder-OSS-Instruct-75K |
def _insert_parameter_value_into_job_run_data(redis_connection, job_id, key, value):
import json
job_params_key = f'jobs:{job_id}:parameters'
serialized_job_params = redis_connection.get(job_params_key)
job_params = _deserialized_job_params(json.loads, serialized_job_params)
job_params[key] = value
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* | @author: 王富琳
* +-------------------------------------------------------
* | @email: < <EMAIL> >
* +-------------------------------------------------------
* | @date: 2020/6/24 16:42
* +-------------------------------------------------------
* | @updateUser: 修改人
* +-------------------------------------------------------
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return self._classname
| ise-uiuc/Magicoder-OSS-Instruct-75K |
msg["From"] = smtp_mail_from
msg["To"] = ", ".join(to)
msg.preamble = "This is a multi-part message in MIME format."
recipients = to
if cc:
cc = get_email_address_list(cc)
msg["CC"] = ", ".join(cc)
recipients = recipients + cc
if bcc:
# don't add bcc in header
bcc = get_email_address_list(bcc)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#![allow(warnings)]
use anyhow::Result;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'NSEC3PARAM',
'OPENPGPKEY',
'OPT',
'PTR',
'RP',
'RRSIG',
'RT',
'SMIMEA',
'SOA',
'SPF',
'SSHFP',
'TKEY',
'TLSA',
'TSIG',
'TXT',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include "CQCSrvDrvTI_TIServerBase.hpp"
#include "CQCSrvDrvTI_TIImpl.hpp"
#include "CQCSrvDrvTI_ThisFacility.hpp"
// ---------------------------------------------------------------------------
// Export the facility object lazy eval method
// ---------------------------------------------------------------------------
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# switch on
if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# make sure config values are uncommented
sudo sed -i "s/^#restlisten=.*/restlisten=/g" /mnt/hdd/lnd/lnd.conf
sudo sed -i "s/^#tlsextraip=.*/tlsextraip=/g" /mnt/hdd/lnd/lnd.conf
# make sure config values exits
exists=$(sudo cat /mnt/hdd/lnd/lnd.conf | grep -c 'restlisten=')
if [ ${exists} -eq 0 ]; then
sudo sed -n -i 'p;4a restlisten=' /mnt/hdd/lnd/lnd.conf
fi
exists=$(sudo cat /mnt/hdd/lnd/lnd.conf | grep -c 'tlsextraip')
if [ ${exists} -eq 0 ]; then
sudo sed -n -i 'p;5a tlsextraip=' /mnt/hdd/lnd/lnd.conf
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Reflection;
using Object = UnityEngine.Object;
#if CSHARP_7_3_OR_NEWER
using Sisus.Vexe.FastReflection;
#endif
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<select name="PERS_SEX_X" class="form-control custom-Select">
<option value="F">Femme</option>
<option value="H">Homme</option>
</select>
</div></br>
@endif
<div class="form-group">
<label >Qualification</label><br>
<select name="PERS_CODE_QUALIF" class="form-control custom-Select">
<option value="{{ $personnel->PERS_CODE_QUALIF }}"></option>
<option value="1">ingenieur</option>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* ES: HAS_TRACKS
* @author <NAME>
*/
public class DocumentRelationBuilderHasTypeArrayKey extends DocumentRelationBuilderTypeArrayKey {
@Override
protected String buildRelationName(Node parent, Node child, DocumentRelationContext context) {
String childType = (String) child.getProperty("type");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Copyright © 2018 Jhoney Lopes. All rights reserved.
//
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try:
readOut = stdin.readline()
if not ',' in readOut:
continue
click,x,y=readOut.strip().split(",")
print(click,x,y)
x = int(x)
y = int(y)
dy = y - y0
dx = x - x0
#print("left: ", lm, "right: ", rm)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
16: ("Jelly Bean", "4.1.x"),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
},
effect: {
en: "Your opponent’s Active Pokémon is now Asleep.",
fr: "Le Pokémon Actif de votre adversaire est maintenant Endormi.",
es: "El Pokémon Activo de tu rival pasa a estar Dormido.",
it: "Il Pokémon attivo del tuo avversario viene addormentato.",
pt: "O Pokémon Ativo do seu oponente agora está Adormecido.",
de: "Das Aktive Pokémon deines Gegners schläft jetzt."
},
damage: 20,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
scheduler = tornado.ioloop.PeriodicCallback(checkQueue, scheduler_interval)
scheduler.start()
| 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.