seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
return
for it in items:
layout.operator("text.jumptoline", text="{}".format(it[0])).line = it[1]
class BaseCheckPoll():
@classmethod
def poll(cls, context):
if context.area.spaces[0].type != "TEXT_EDITOR":
| ise-uiuc/Magicoder-OSS-Instruct-75K |
upstream_source = image.get("upstream-source", "")
if not upstream_source:
raise ValueError("Upstream source not found")
return upstream_source
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
printf("%0.6lf\n",y);
}
return 0;
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.url_helper.get_action_url_pattern('clone'),
self.clone_view,
name=self.url_helper.get_action_url_name('clone')
),
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { ToFloat } from '..';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import sqlmlutils
connection=sqlmlutils.ConnectionInfo(server="localhost",database="Test")
sqlmlutils.SQLPackageManager(connection).install("textblob") | ise-uiuc/Magicoder-OSS-Instruct-75K |
return array('__isInitialized__', '' . "\0" . 'Scrumator\\Bundle\\BackendBundle\\Entity\\User_stories' . "\0" . 'id', '' . "\0" . 'Scrumator\\Bundle\\BackendBundle\\Entity\\User_stories' . "\0" . 'description', '' . "\0" . 'Scrumator\\Bundle\\BackendBundle\\Entity\\User_stories' . "\0" . 'enTantQue', '' . "\0" . 'Scrumator\\Bundle\\BackendBundle\\Entity\\User_stories' . "\0" . 'iWant', '' . "\0" . 'Scrumator\\Bundle\\BackendBundle\\Entity\\User_stories' . "\0" . 'pour', '' . "\0" . 'Scrumator\\Bundle\\BackendBundle\\Entity\\User_stories' . "\0" . 'points', '' . "\0" . 'Scrumator\\Bundle\\BackendBundle\\Entity\\User_stories' . "\0" . 'project');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (User_stories $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>R2T.py
"""
Computes an R2T pulse shape:
<NAME> Berlin
R2T match condition is [1 or 2]*wr - W_I_eff - W_S_eff = 0
"""
import sys
sys.path.append(root.UtilPath.getTopspinHome()+ '/exp/stan/nmr/py/BioPY/modules/')
import R2T
Shape=R2T.dialog()
Scale=R2T.find_match(Shape)
Names=R2T.name_confirm(Shape)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'list of numbers are integer values of the valid latitudes in '
'microdegrees (scaled by 10-6) or in unit equal to the ratio of the '
'basic angle and the subdivisions number for each row, in the same '
'order as specified in the scanning mode flag',
'units': 'bit no. 2'},
{'abbr': None, 'code': 255, 'title': 'Missing'})
| ise-uiuc/Magicoder-OSS-Instruct-75K |
meta, products = self.get_objects(self.products_url, **kwargs)
for product in products:
yield (self.models_map['product'])(product)
def get_webusers(self, **kwargs):
meta, users = self.get_objects(self.webusers_url, **kwargs)
return meta, [(self.models_map['webuser'])(user) for user in users]
def get_smsusers(self, **kwargs):
meta, users = self.get_objects(self.smsusers_url, **kwargs)
return meta, [(self.models_map['smsuser'])(user) for user in users]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# pkg install -y vim
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Threading;
using System.Threading.Tasks;
using Hateblo.Internal;
namespace Hateblo
{
/// <summary>
/// WSEE 認証で用いる認証情報を管理します。
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
/**
* @return array
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if len(date) == 4: # YYYY
date = entry['Publication year'].strip() + '-01-01'
if len(date) == 7: # YYYY-MM
date = date + '-01'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mkdir -p "$OPENSSL_PREFIX_DIR"
wget $WGET_OPTIONS "https://www.openssl.org/source/$OPENSSL_FILENAME"
check_sha256 "$OPENSSL_HASH" "$OPENSSL_FILENAME"
bsdtar --no-same-owner --no-same-permissions -xf "$OPENSSL_FILENAME"
rm $OPENSSL_FILENAME
cd openssl*
CONFIGURE_OPTIONS="--prefix=$OPENSSL_PREFIX_DIR --openssldir=${OPENSSL_PREFIX_DIR}/ssl shared"
if [[ "$ARCH" == "x86_64" ]]
then
CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS mingw64 --cross-compile-prefix=x86_64-w64-mingw32-"
elif [[ "$ARCH" == "i686" ]]
then
CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS mingw --cross-compile-prefix=i686-w64-mingw32-"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
verbose = 4,
)
nk = [2,2,2]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from sla_cli.src.download.isic import IsicMetadataDownloader, IsicImageDownloader
from sla_cli.src.download.ph2 import Ph2Downloader
from sla_cli.src.download.pad_ufes_20 import PadUfes20Downloader
from sla_cli.src.download.mednode import MednodeDownloader
logger = logging.getLogger(__name__)
@dataclass
class DownloadParameters:
datasets: List[str]
directory: str
| ise-uiuc/Magicoder-OSS-Instruct-75K |
message = "Tu es déjà venue par ici toi..."
suppr = lien_suppression
else: # non
# demandons au navigateur d'enregistrer un cookie
entete_http += "Set-Cookie: test=ok\n"
message = "Première visite sur cette page?"
suppr = ""
# nous sommes prêt pour produire la page finale
| ise-uiuc/Magicoder-OSS-Instruct-75K |
default=None,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//--------纵向----------
count = 1, row = x, col = y;
//判断(x,y)上面
while((--col) >= 0 && board[x][col] == currentchess)
{
count++;
if(count >= 5) { return true; }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for result in results:
test = Test(name='test')
test.result.value = result
result = printer.print_test(test)
self.assertIn('Result: ', result)
self.assertIn(result, result)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="row mt-3 ">
<div class="col-md-6">
<button class="btn my-btn2" type="submit">Submit</button>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
calZeroBiasClusters = siStripClusters.clone()
calZeroBiasClusters.Clusterizer.QualityLabel = 'unbiased'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
return j;
}
}
//leetcode submit region end(Prohibit modification and deletion)
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
print("Ant" if 0<N%(A+B)<=A else "Bug") | ise-uiuc/Magicoder-OSS-Instruct-75K |
internal static class DataAccessConstants
{
internal const string ConnectionStringName = "Payments";
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
c = CSS(string=story_css)
h.write_pdf(outpath, stylesheets=[c])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.log_filename = self.log_path.get_filename()
if self.log_filename and not os.path.isfile(self.log_filename):
warning_label.set_text("Invalid Log File")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
setting, value = kwargs['setting'], kwargs['value']
if setting == 'REST_KNOX':
knox_settings = knox_APISettings(value, DEFAULTS, IMPORT_STRINGS)
setting_changed.connect(reload_api_settings)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
username = "coding4"
port = 22
mypath='/Users/alan/Desktop/my_file'
remotepath='/Users/coding4/my_file'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ensureNotConsumed();
consumed = true;
limit = new InputLimit(maxResponseSizeBytes);
final HttpEntity entity = response.getEntity();
if (entity == null) {
return;
}
final String uri = request.getRequestLine().getUri();
instream = entity.getContent();
try {
resource = resourceFactory.generate(uri, instream, limit);
} finally {
if (!limit.isReached()) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Use recording to get started writing UI tests.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
func testLaunchPerformance() throws {
if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) {
// This measures how long it takes to launch your application.
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self._curr_size += 1
self.obs[self._curr_pos] = obs
self.action[self._curr_pos] = act
self.reward[self._curr_pos] = reward
self.next_obs[self._curr_pos] = next_obs
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return this.props.value;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
__all__ = [
"Loader",
"Extractor",
"Transformer",
"Orchestrator",
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for k, v in info.iteritems():
setattr(self, k, v)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
c = 'random'
if cat=='wall':
aug_min_length(det_lines_pos, obj_rep)
det_lines_pos = det_lines_pos.copy()
det_lines_neg = det_lines_neg.copy()
#obj_scores_ls = [det_lines_pos[:,obj_dim], det_lines_neg[:,obj_dim]]
obj_scores_ls = None
if with_cor:
corners = [det_corners_neg, det_corners_pos]
else:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
return new RoutingKeyMessageSendTopologyConvention<T>(null);
}
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* This interface provides a way to retrieve an Identity from its identifier.
*
* @package Thor/Security/Identity
* @copyright (2021) <NAME>
* @license MIT
*/
interface ProviderInterface
{
/**
* Gets an Identity.
*
* If no identity is found from the specified identifier, this method MUST return null.
*
* @param string $identifier
| ise-uiuc/Magicoder-OSS-Instruct-75K |
urlpatterns = [
url(r'^event/', include('sedastrela_is.event.urls', namespace='event')),
url(r'^$', RedirectView.as_view(url='/admin/')),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
Schema::dropIfExists('players_teams');
Schema::dropIfExists('players');
Schema::dropIfExists('teams');
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
iterator::Action::Push(node) => {
self.stack.push(iterator::State {
node: node,
leaf_index: 0,
node_index: 0,
});
}
};
}
None
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
elif stagmode == 3:
stag = np.multiply(np.arange(0, mh), stagconst).astype("int")
# maze
st = rd.randint(0, mw - 1)
ex = rd.randint(0, mw - 1)
marr = genmaze(int(mw), int(mh), stag, st, ex)
matrix = []
for y in range(0, mh):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"@type": z.enum(["Rating"]),
bestRating: z.string().transform(Number),
ratingValue: z.string().transform(Number),
worstRating: z.string().transform(Number),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file.
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
| ise-uiuc/Magicoder-OSS-Instruct-75K |
case PinTypes.Special.Color:
return "1.0 1.0 1.0 1.0";
case PinTypes.Vec4:
return "0.0 0.0 0.0 0.0";
case PinTypes.Int:
return "0";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Author : Lyubimov, A.Y.
Created : 03/31/2020
Last Changed: 04/20/2020
Description : ZMQ Connector launched with MPI. For example:
To run on 10 cores at host 'bl121proc00', receiving from port 8121, running
only spotfinding, text output to stdout, not forwarding to a GUI:
mpirun --map-by core --bind-to core -np 10 python connector --host
bl121proc00 --port 8121 --last_stage spotfinding --verbose
The same run as above, with forwarding to a GUI on port 9998:
mpirun --map-by core --bind-to core -np 10 python connector --host
bl121proc00 --port 8121 --last_stage spotfinding --verbose
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Returns
-------
shape : ndarray
ndarray of the shape (Nnodes*Ndof)
"""
if self.shape_xyz is not None and self.shape_xyz.size != 0:
return self.shape_xyz
else:
shape_pol = self.shape_pol
points = self.parent.mesh.get_points()
return pol2cart(shape_pol, points)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Copyright © 2020 CocoaPods. All rights reserved.
//
import QuickGenericForm
import UIKit
class CustomField: FormFieldView {
public var id: String
private let field = UITextField(forAutoLayout: ())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"last_name": "Lewandowski",
"birth_date": "23-11-1991",
"parents": [
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var pictureImageSource = imagesource as SKPictureImageSource;
if (pictureImageSource != null)
{
image = pictureImageSource.Picture?.ToWriteableBitmap(pictureImageSource.Dimensions);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.ComponentModel.Design;
using System.Runtime.InteropServices;
using System.Threading;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
namespace AsyncPackageMigration
{
[PackageRegistration(UseManagedResourcesOnly = true)]
[InstalledProductRegistration("My Synchronous Package", "Loads synchronously", "1.0")]
[ProvideService(typeof(MyService))]
[ProvideAutoLoad(VSConstants.UICONTEXT.SolutionExistsAndFullyLoaded_string)]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return
line = sys.stdin.readline()
hp = map(int, line.split())
if isHeap(hp):
print 'Yes'
else:
print 'No'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
max_states_per_metatile = max(max_states_per_metatile, num_states)
stats = "Num metatiles: %d\n" % total_metatile_count
stats += "Num states: %d\n" % total_state_count
stats += "Max states per metatile: %d\n" % max_states_per_metatile
stats += "Avg states per metatile: %d\n" % int(total_state_count / total_metatile_count)
return stats
def main(save_filename, unique_metatiles_file, player_img, print_stats):
print("Calculating states per metatile stats for the given unique_metatiles_file: %s" % unique_metatiles_file)
start_time = datetime.now()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import backend.czi_hosted.auth.auth_oauth # noqa: F401
import backend.czi_hosted.auth.auth_none # noqa: F401
| ise-uiuc/Magicoder-OSS-Instruct-75K |
threading.Thread(target=self.__populate_mailbox_screen, args=(emails_count, stop_index,
selected_mailbox)).start()
else:
basic_headers_parser = BasicEmailHeadersParser()
for email_headers in self.__indexed_mails[selected_mailbox]:
basic_headers_parser.parse(email_headers)
self.__mailbox_screen.mails_list.insert("", "end", str(emails_count),
text=basic_headers_parser.from_address,
values=(
basic_headers_parser.subject,
basic_headers_parser.date)
)
emails_count -= 1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# ~ --> $HOME
# ~ashok --> ashok's home dir
# ~+ --> $PWD
# ~- --> $OLDPWD
# ~1 --> `dirs +1`
# ~2 --> `dirs +2`
# ~-1 --> `dirs -1`
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public interface ModuleResultListener {
void onResult(Object o);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
declare namespace Evora {}
declare var Evora: (H: FusionChartStatic) => FusionChartStatic;
export = Evora;
export as namespace Evora;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
c.post(reverse("error-post"), test_data)
assert test_data["priority"] < 5, test_data["priority"]
assert Error.objects.all().count() == 1
def testEditProject(self):
project = Project(name="test")
project.save()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>brunolewin/virtual-shields-spark<filename>firmware/examples/RGBLED-Draw/RGBStrip.cpp
/*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return cls(name, target['coords'], region_type=target['region_type'],
region_params=target['region_params'])
def plot(self, **kwargs):
"""Plots the target.
Parameters:
kwargs (dict):
Keyword arguments to be pased to `.regions.Region.plot`.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pd.concat(all_variants).to_csv(snakemake.output[0], index=False, sep="\t")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$data=[];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private String depositingMoney;
private String withdrawingMoney;
private String currency;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// this decision.
ConfigDensityGroups density_groups;
ConfigClaimedMap config_claimed_map;
for (const std::unique_ptr<ResourceConfigValue>& config_value : entry->values) {
if (config_value) {
config_claimed_map[config_value.get()] = false;
if (config_value->config.density != 0) {
// Create a bucket for this density-dependent config.
density_groups[CopyWithoutDensity(config_value->config)]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mapValue.geoY = transPoint.latitude;
mapValue.geoX = transPoint.longitude;
mapValue.absX = transPoint.absX;
mapValue.absY = transPoint.absY;
this.onCompletedListener.onCompleted(mapValue);
this.onCompletedListener = null;
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="model-ensembler",
version="0.5.2",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
hostnames.push_back("localhost");
hostnames.push_back("ab:ab:ab:ab:ab:ab");
ips.push_back(""); // Also valid ip, but not hostname.
std::vector<int> ports;
ports.push_back(1);
ports.push_back(65535);
for (size_t i = 0; i < ips.size(); ++i) {
for (size_t j = 0; j < hostnames.size(); ++j) {
for (size_t k = 0; k < ports.size(); ++k) {
std::string input = "passport:" + ips[i] + ":" +
hostnames[j] + ":" + base::IntToString(ports[k]) + ":";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
m_coolDown -= Time.deltaTime;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/sh
cat /etc/passwd | grep -v '^#' | awk "N%2-1" | cut -f 1 -d : | rev | sort -r | awk "NR>=$FT_LINE1 && NR<=$FT_LINE2" | tr '\n' ' ' | sed '$ s/ $/./' | sed 's/ /, / g' | tr -d '\n'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Copyright 2017-2019 The FIAAS Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""List the nodes reachable in one step from this node."""
# Generator of children nodes
children = (self.child_node(game, action)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
assert [mp.label for mp in mp_list] == expected
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cs_define_values( 'anchor:link', array(
'anchor_has_link_control' => cs_value( true, 'all' ), // 01
'anchor_href' => cs_value( '#', 'markup', true ),
'anchor_info' => cs_value( false, 'markup', true ),
'anchor_blank' => cs_value( false, 'markup', true ),
'anchor_nofollow' => cs_value( false, 'markup', true ),
) );
| ise-uiuc/Magicoder-OSS-Instruct-75K |
operations = [
migrations.AlterField(
model_name='apartment',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
edit_dist = levenshtein(new_seq, init_seq)
if edit_dist > num_edits:
raise ValueError("edit distance invalid")
return new_seq, edit_dist
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private void OnGUI()
{
GUILayout.Space(20);
var style = GUIStyle.none;
style.alignment = TextAnchor.MiddleCenter;
style.fontSize = 16;
style.fontStyle = FontStyle.Bold;
Utils.Separator("PrimitivesPro Feedback", 20, style);
GUILayout.Space(40);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
author="<NAME>",
author_email="<EMAIL>",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
require "vendor/autoload.php";
use Inbenta\IntelepeerConnector\IntelepeerConnector;
//Instance new IntelepeerConnector
$appPath=__DIR__.'/';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pass
def longest(ss):
if len(ss[0]) > len(ss[1]):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Eigen::VectorXd z(S.cols());
for (int i = 0; i < S.cols(); i++)
z(i) = std_normal_rng();
output[n] = Eigen::VectorXd(mu_vec[n]) + llt_of_S.matrixU().solve(z);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
case VW::label_type_t::cs:
return COST_SENSITIVE::cs_label;
case VW::label_type_t::multilabel:
return MULTILABEL::multilabel;
case VW::label_type_t::multiclass:
return MULTICLASS::mc_label;
case VW::label_type_t::ccb:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/*
* Materialize Cloud
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export * from './mat-search-google-maps-autocomplete/mat-search-google-maps-autocomplete.component';
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include <U2Designer/DelegateEditors.h>
#include <U2Formats/BAMUtils.h>
#include <U2Formats/ConvertFileTask.h>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ExternTypeInfo &type = linker->exTypes[obj.typeID];
if(type.subCat != ExternTypeInfo::CAT_FUNCTION)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@property
def project_config(self):
return {
'seeds': {
'quote_columns': False,
},
}
# runs on Spark v2.0
@use_profile("apache_spark")
def test_seed_column_types_apache_spark(self):
self.run_dbt(["seed"])
# runs on Spark v3.0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# from flask_login import login_required
from . import user_blueprint as current_blueprint
# from app.core.utils.logger import Logger
from app.models import db, User
# logger = Logger(__name__).get_logger()
@current_blueprint.route('/', methods=['GET'])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
edit_perfil=FormEditarPerfil(initial=initial_dict_contacto)
return render(request, 'editar-perfil.html', {'form':edit_perfil})
@login_required
def actualizar_contra(request, profile):
set_username(request)
if request.method=='POST':
user=User.objects.get_by_natural_key(username)
contra=request.POST.get('input-contra')
contra2=request.POST.get('input-contra2')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
RSS Feeds</small></a>
</div>
<br>
</div>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>1-10
#!/bin/bash
if command -v opam >/dev/null 2>&1; then
eval "$(opam config env)"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#region PUBLIC_METHODS
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Apache/php5 on Alpine with Docker container <a href=https://hub.docker.com/r/keithy/alpine3.7-apache2.4-php5.6.33/>keithy/alpine3.7-apache2.4-php5.6.33</a>
<br>BUILD : <?php echo file_get_contents('/etc/BUILD'); ?>
<br>PHP version <?php echo phpversion(); ?>
</body>
</html>" > /shared/html/index.php
chown -R apache.apache /shared/html
fi
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// <summary>Retrieve worst <paramref name="top"/> elements by Hits</summary>
/// <param name="top"></param>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
m_ulPunkReleaseSameTime[iCtx][iIter] = sw.Read();
}
else
{
m_ulPunkReleaseSameTime[iCtx][iIter] = NOTAVAIL;
}
}
// different interface each time, releasing after each query
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print("three")
elif index % 5 == 0:
print("five")
else:
print(index)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import com.google.common.collect.*;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if __name__ == '__main__':
app.run(debug=True)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export CODECOV_TOKEN=$1
bash <(curl -s https://codecov.io/bash)
| 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.