seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
return _call_az("az search service update", locals())
def create(name, resource_group, sku, identity_type=None, ip_rules=None, location=None, no_wait=None, partition_count=None, public_network_access=None, replica_count=None):
'''
Creates a Search service in the given resource group.
Required Paramet... | ise-uiuc/Magicoder-OSS-Instruct-75K |
func applicationDidBecomeActive(_ application: UIApplication) {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
func applicationWillTerminate(_ application: ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
WKB wkb1{};
if (!toWkb(wkb1,
arg1_type,
arg1_coords,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
lblBack.AutoSize = true;
lblBack.Text = "Back to Login Screen";
lblBack.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblBack_Click);
optMale = new RadioButton("optMale");
optMale.BackColor = Color.Transparent;
optMale.Font = G... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
return result;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { EditorContextValue } from '../types'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def connectionLost(self, reason):
reactor.stop()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
urlpatterns = patterns('',
url(ur'^', include('chooper_api.views.default')),
url(ur'^my/', include('chooper_api.views.profile')),
url(ur'^friend/', include('chooper_api.views.friend')),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.viz.line(X=validate_input_(x_value), Y=validate_input_(y_value),
env=self.env, win=self.win, name=self.legend,
opts=self.opts, update=update_type)
self.inserted = True
def clear(self):
"""
docstring
"""
self.viz.line(X... | ise-uiuc/Magicoder-OSS-Instruct-75K |
/// The resource group name.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async Task<MonitoringMetricConfiguration> GetAsync(this IMonitoringConfigOperations operations, string deviceName,... | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.body = body
super.init()
body.parent = self
}
public required init(from decoder: Decoder) throws {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print('now', file=sys.stderr)
o.compare("hello\nout\nthere\nnow\n")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.pushButton_cancel = QtGui.QPushButton(Dialog_add_subject)
self.pushButton_cancel.setGeometry(QtCore.QRect(340, 290, 111, 31))
font = QtGui.QFont()
font.setFamily(_fromUtf8("Times New Roman"))
self.pushButton_cancel.setFont(font)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
case ',':
instr.op = instruction::opcode::input;
break;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
assert x.dtype == v.dtype
assert np.array_equal(x, getattr(sample_from_actor, k))
def test_batch(config=CNNConfigBase()):
sample_from_buffer = SampleFromBuffer.as_random(size=10, np_defs=config.sample_from_buffer_def)
batch = Batch.from_buffer_sample(sample_from_buffer)
def t... | ise-uiuc/Magicoder-OSS-Instruct-75K |
rs = con.execute("SELECT * FROM `mrbs_entry` E JOIN `mrbs_room` R WHERE E.id_corso LIKE '%%" + str(
codice) + "%%' AND E.start_time >= '" + str(start) + "' AND R.id = E.room_id")
for row in rs:
reserved = False
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
/// Calculate the average time that packets are taking to return over a period of time.
pub fn mean_recv_time(&self, time_avg: Duration) -> Option<Duration> {
if self.recv_packets.is_empty() {
return None;
}
let avg: Vec<_> = self
.recv_packets
.iter()... | ise-uiuc/Magicoder-OSS-Instruct-75K |
source: Option<&Source<'b, <Storage::Info as DatabaseInfo>::ColumnValue>>,
) -> Result<<Storage::Info as DatabaseInfo>::ColumnValue, ExecuteError> {
match expr {
&SExpression::Value(ref v) => Ok(v.clone()),
&SExpression::ColumnField {
source_id,
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
// Given
var commitCount: Int = 0
connection.commitHook {
commitCount += 1
return commitCount > 2
}
// When
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@JsonIgnore
public List<FileResource> getFileResources() {
return fileResources;
}
public <T extends ZipFileFilter> T setFileResources(List<FileResource> fileResources) {
this.fileResources = fileResources;
return (T) this;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public static IsJsonString(data: string) {
try {
JSON.parse(data);
return true;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class PostSerializer(serializers.ModelSerializer):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dict[key] = arr
}
}
let keys = Array(dict.keys)
var temp:[[String]] = []
for key in keys {
temp.append(dict[key]!)
}
return temp
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
padded_positions = x == PAD_TOKEN_INDEX # (batch_size, seq_len)
pad_mask = padded_positions.unsqueeze(1).expand(batch_size, target_len, seq_len)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let f = || get_message_logs(black_box(&context));
b.to_async(tokio()).iter(f);
});
}
criterion_group!(benches, empty_context_get_message_logs);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
install_requires = ['networkx>=2.0,<3.0',
'decorator>=4.1.0,<5.0.0',
'dimod>=0.6.8,<0.8.0']
setup(name='qca_tools',
version='0.0.1',
description='QCA Tools',
long_description="Collection of tools for parsing and simulation of QCA circuits.",
author='<NAM... | ise-uiuc/Magicoder-OSS-Instruct-75K |
df_test = prepared_data.df.head(len(prepared_data.df) * split_params['parameters']['test_size'])
df_train = prepared_data.df.drop(df_test.index)
data_train = prepared_data.copy_with_new_data_dataframe(df_train)
data_test = prepared_data.copy_with_new_data_dataframe(d... | ise-uiuc/Magicoder-OSS-Instruct-75K |
name="$(cat package.json | grep -o "name....[^\"]\{0,\}" | head -1 | cut -b 9-)"
version="$(cat package.json | grep -o 'version....[^\"]\{0,\}' | cut -b 12-)"
docker build -t "$name" -t "$name:$version" .
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<stencil-route url='/' component='app-login' exact={true}>
</stencil-route>
<stencil-route url='/home' component='app-home'>
</stencil-route>
<stencil-route url='/profile/:name' component='app-profile'>
</stencil-route>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
extension TestData: UserDefaultsCompatible {}
final class UserDefaultsBackedTests: XCTestCase {
@UserDefaultsBacked(key: "string", default: "default")
var stringProperty: String
@UserDefaultsBacked(key: "data")
var testData: TestData?
func testExample() {
self._strin... | ise-uiuc/Magicoder-OSS-Instruct-75K |
name: "GildedRose",
targets: ["GildedRose"]),
],
targets: [
.target(
name: "GildedRose",
dependencies: []),
.target(
name: "GildedRoseApp",
dependencies: ["GildedRose"]),
.testTarget(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
setup(
name=package_name,
version='1.0.0',
packages=find_packages(),
data_files=[
| ise-uiuc/Magicoder-OSS-Instruct-75K |
exec killall AppRun &
| ise-uiuc/Magicoder-OSS-Instruct-75K |
heapMinLine = checkLine("CONFIG_APP_MIN_HEAP_SIZE")
if heapMinLine:
heap_split = heapMinLine.split('=')
heap_length = int(heap_split[1], 16)
print ("Minimum Heap size : ",heap_length)
questions = [
inquirer.Text('heapSize', message="HEAP Size?"),
]
answers = inquirer.prompt(questions)
heapSize = int(answers['h... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def sim_poisson_pop(n_seconds, fs, n_neurons=1000, firing_rate=2):
"""Simulate a Poisson population.
Parameters
----------
n_seconds : float
Simulation time, in seconds.
fs : float
Sampling rate of simulated signal, in Hz.
n_neurons : int, optional, default: 1000
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if data_split == 'training':
occlusion_folders = sorted(tf.io.gfile.glob(occlusion_folder + '/*'))
invalid_folders = sorted(tf.io.gfile.glob(invalid_folder + '/*'))
flow_folders = sorted(tf.io.gfile.glob(flow_folder + '/*'))
assert len(image_folders) == len(flow_folders)
a... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# Selenium <= 3.3.1 then: while ! curl -s "${SEL_STATUS_URL}" | jq '.status' | grep "13"; do
# SUCESS_CMD="jq .status | grep 13"
# Selenium >= 3.5.0 then: while ! curl -s "${SEL_STATUS_URL}" | jq '.status' | grep "0"; do
SUCESS_CMD="jq .status | grep 0"
while ! curl -s "${SEL_STATUS_URL}" | sh -c "${SUCESS_CMD}"; do... | ise-uiuc/Magicoder-OSS-Instruct-75K |
"url": original_url
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return open(input_file, 'r')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/*
* Decompiled with CFR 0.0.9 (FabricMC cc05e23f).
*/
package com.dayofpi.super_block_world.world.feature.utility.feature_config;
import com.mojang.serialization.Codec;
import com.mojang.serialization.codecs.RecordCodecBuilder;
import net.minecraft.util.dynamic.Codecs;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use App\Http\Controllers\Controller;
class UlanganController extends Controller
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<p class="title"><b>The Three Stooges</b></p>
<p class="story">Have you ever met the three stooges? Their names are
<a href="http://example.com/larry" class="stooge" id="link1">Larry</a>,
<a href="http://example.com/mo" class="stooge" id="link2">Mo</a> and
<a href="http://example.com/curly" class="stooge" id="link3... | ise-uiuc/Magicoder-OSS-Instruct-75K |
import UIKit
final class LoadingView: UIView {
let logo = UIImageView()
let hideLogoDuration: TimeInterval = 0.5
override init(frame: CGRect) {
super.init(frame: frame)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Book;
class BookController extends Controller
{
public function index($id=null){
if($id){
$book_details=Book::findOrFail($id);
}else{
$book_details=[];
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// </summary>
/// <param name="basket">The basket created</param>
/// <returns></returns>
private async Task ProduceBasketCreated(Domain.Model.Baskets.Basket basket)
{
await this.basketCreatedProducer.ProduceBasketCreatedEventAsync(basket.Id);
}
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
global $user;
if ($_user) {
$this->user = $_user;
}
else {
$this->user = $user;
}
$title = $this->user->username;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
type Target = crate::FieldReader<u8, u8>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl R {
#[doc = "Bits 0:7 - Port 7 Input"]
#[inline(always)]
pub fn p7in(&self) -> P7IN_R {
P7IN_R::new((self.bits & 0xff) as u8)
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* File: Rotatable.cc
* Author: mikolas
* Created on: Tue, Feb 21, 2012 11:34:02 AM
* Copyright (C) 2012, <NAME>
*/
#include "minisat_aux.hh"
#include "Rotatable.hh"
using Minisat::lit_Undef;
Rotatable::Rotatable(const CNF& _input_cnf)
: input_cnf(_input_cnf)
{}
void Rotatable::get_rotatables(const vec<lbool>&... | ise-uiuc/Magicoder-OSS-Instruct-75K |
#undef LOCTEXT_NAMESPACE
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* Copyright (c) 2016, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
| ise-uiuc/Magicoder-OSS-Instruct-75K |
CHAIN1=$(echo $1| cut -d"_" -f2)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
player.GetComponent<SpriteRenderer>().flipX = true;
//player.GetComponent<Animator>().SetBool("DirectionLeft", left);
// Debug.Log(player.GetComponent<Animator>().GetBool("DirectionLeft"));
//Debug.Log(player.GetComponent<Animator>().GetFloat("Walking"));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const ArticleContentTweet: FC<Props> = ({ content }) => {
const [ isFetching, setFetching ] = useState(true)
return (
<>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if text[text_count] in alphabet:
if not german:
ciphertext += alphabet[(alphabet.index(key[key_count%len(key)]) - alphabet.index(text[text_count])) % len(alphabet)]
elif german:
ciphertext += alphabet[(alphabet.index(text[text_count]) - alphabet.index(key[... | ise-uiuc/Magicoder-OSS-Instruct-75K |
export class EstimateListComponent {
@Input() listTitle: any;
@Input() filter: (item) => boolean;
@Input() filterContext: any;
@Input('columns') displayedColumns;
@Output() onSelect: EventEmitter<Estimate>;
constructor() {
this.listTitle = 'Tous les devis';
this.displayedColumns = ['id', 'client', 'amount', ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
.await;
info!("finished SKU load");
Ok(())
}
pub async fn update_skus(
file_path: String,
client: &Client,
account_name: String,
environment: String,
concurrent_requests: usize,
rate_limit: NonZeroU32,
) -> Result<(), Box<dyn Error>> {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import sys, os
from glob import glob
files = glob(os.path.join(sys.argv[1], '*.tmp'))
assert len(files) == 1
with open(files[0]) as ifile, open(sys.argv[2], 'w') as ofile:
ofile.write(ifile.read())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Dictionary with model name as the key and path to seed data as the value.
# Order matters!
relation_seeds = [{
'model_name': 'teams.league',
'path': f'{BASE_DIR}/db_seed_data/relational_seeds/Leagues.csv',
}, {
'model_name': 'teams.team',
'path': f'{BASE_DIR}/db_seed_data/relat... | ise-uiuc/Magicoder-OSS-Instruct-75K |
instance.run()
def test_error_during_cloning_gitlab_repo_raises_exception_and_sets_flags(instance, monkeypatch):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class WorkflowChangedEvent(ObjectEvent):
"""An object has been moved"""
def __init__(self, object, workflow, action, comments):
ObjectEvent.__init__(self, object)
self.object = object
self.workflow = workflow
self.action = action
self.comments = comments
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.verify_ssl = verify_ssl
self.headers = ""
self.BASE_AUTH_URL = "{}/securitymanager/api/authentication/login"
def run_once(func):
""" Restricts input func to be called only once """
def wrapper(*args, **kwargs):
if not wrapper.has_run:
wrappe... | ise-uiuc/Magicoder-OSS-Instruct-75K |
Parameters
----------
url : {'prize', 'points', 'knowledge' , 'all'}, default='all'
The reward of the challenges for top challengers.
headers : dictionary ,
The headers of the request.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
predictor = PolynomialPredictor(time_series, num_predicted_periods)
actual_prediction = predictor.predict_counts()
np_test.assert_almost_equal(actual_prediction, expected_prediction, decimal=0)
def test_quadratically_increasing_sequence(self):
values = list(map(lambda x: (x ** 2) ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
if isinstance(rule['target'], FileShader):
rule['target'] = rule['target'].filename
if 'target_extension' in rule:
if rule['target_extension'] is not None:
rule['target'] = rule['target'] + rule['target_extension']
rule.pop('target_extension')
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
"current_period_start": 1496861935,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
headers.append(arg)
#print(includepaths)
def find_header(header):
if os.path.exists(header):
return header
for includepath in includepaths:
if os.path.exists(os.path.join(includepath, header)):
return os.path.join(includepath, header)
return None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<>
<div className={ctrl_styles.search_cont}>
<SearchInput passResults={props.passResults} passError={props.passError} />
</div>
</>
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Generated by Django 3.2.11 on 2022-02-02 07:10
from django.db import migrations, models
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const uint64_t VERSION_NUMBER = 31;
} // namespace duckdb
| ise-uiuc/Magicoder-OSS-Instruct-75K |
case .present:
navigationController?.present(viewController, animated: true)
}
}
internal func show(_ details: AdditionalPaymentDetails, using plugin: AdditionalPaymentDetailsPlugin, completion: @escaping Completion<[PaymentDetail]>) {
guard let navigationController = na... | ise-uiuc/Magicoder-OSS-Instruct-75K |
<li><a href="{{ route('corpuser.booking')}}"><img src="{{URL::asset('dist/img/laundry.png')}}" alt=""> <span>Book a Laundry</span></a></li>
<li><a href="{{ route('corpuser.price_calculator') }}"><i class="fa fa-calculator"></i> <span>Price Calculator</span></a></li>
<li><a href="{{ route('cor... | ise-uiuc/Magicoder-OSS-Instruct-75K |
#levelsTemp[[0,1]]=levelsTemp[[0,1]].replace({'(^|\s)[-+]?[0-9]{1,5}(\.[0-9]{1,5})?(\s|$)':'nan'}, regex=True) # regex matching: xxxxx.xxxxx where x are numbers
levelsTemp[[0,1]]=levelsTemp[[0,1]].replace({'Level':'nan'}, regex=True)
levelsTemp[[0,1]]=levelsTemp[[0,1]].replace({'None':'nan'}, re... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def createFields(self):
yield MasterBootRecord(self, "mbr")
bios = self["mbr/bios"]
cluster_size = bios["sectors_per_cluster"].value * bios["bytes_per_sector"].value
offset = self["mbr/mft_cluster"].value * cluster_size
padding = self.seekByte(offset, relative=False)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
username = StringField("Username")
password = PasswordField("Password")
submit = SubmitField("Sign In")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"STATSD_HOST": "localhost",
"STATSD_PORT": 8125
}
configure_from_dict(config)
metrics = get_metrics()
counter = metrics.counter("myapp.count")
counter.incr()
if __name__ == "__main__":
main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo 0 > /sys/devices/system/cpu/cpu3/online
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
if (key == null)
{
throw new ArgumentNullException(nameof(key));
}
if (value == null)
{
throw new ArgumentNullException(nameof(value));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
positionX = margin
positionY += folderHeight
item.setSizeHint(
QtCore.QSize(
folderWidth,
folderHeight ))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
private double freqLowBound = 110;
/**
* Ustawia górną (przybliżoną) granicę częstotliwości w hercach.
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
visibleView.addSubview(customView)
customViewLayout(containerView: visibleView, customView: customView)
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Console.WriteLine("Введите размер");
int size = int.Parse(Console.ReadLine());
Console.WriteLine("Введите min");
int min = int.Parse(Console.ReadLine());
Console.WriteLine("Введите max");
int max = int.Parse(Console.ReadLine());
i... | ise-uiuc/Magicoder-OSS-Instruct-75K |
std::string n = ss.str();
return strdup(n.c_str());
}
CGDMLKludgeFix::CGDMLKludgeFix(const char* srcpath_)
:
srcpath(strdup(srcpath_)),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="col-md-9">
<input type="text" class="form-control" name="firstname" placeholder="First Name" value="<?php echo set_value('firstname'); ?>">
</div>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
module load samtools/1.10-foss-2018b
# samtools view -b -F 0x400 Ramos_JG_d16_marked_BQSR.bam > Ramos_JG_d16_noDup_BQSR.bam
samtools index Ramos_JG_d16_noDup_BQSR.bam | ise-uiuc/Magicoder-OSS-Instruct-75K |
def copy(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
type=click.File("w"),
help="Save debug info into a tab-separated values file.",
default=os.devnull,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub use post_keyword::post_keyword;
pub use put_keyword::put_keyword;
pub use redirect_keyword::redirect_keyword;
pub use get_swagger_index::get_swagger_index;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @return mixed
*/
public function actions(User $user, Product $product)
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if version:
self.assertEqual(
metalk8s_solutions.activate_solution(
solution, version
),
True
| ise-uiuc/Magicoder-OSS-Instruct-75K |
with pytest.raises(ConversionError):
hpai.to_knx()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[stable(feature = "rust1", since = "1.0.0")]
impl<'a, T> DoubleEndedIterator for Iter<'a, T> {
#[inline]
fn next_back(&mut self) -> Option<&'a T> {
if self.tail == self.head {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*
* @param array $rows array of arrays
* @param mixed $columns if string then it makes any array from values in that column, if array then it groups by array values
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*
* Do **not** forget to register your command via SpectrumCommands.registerCommands()
*/
export function SpectrumCommand(opts: SpectrumCommandOpts): SpectrumCommandHandlerClass;
export function SpectrumCommand(
shortCode: SpectrumCommandOpts["shortCode"]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'version': 1,
'type': f_type,
'length': os.path.getsize(file),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dependencies = [
]
operations = [
migrations.CreateModel(
name='Trip',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (state.facetHover) {
const annotations = [...originalAnnotations]
if (annotationSettings === true) {
annotationBase = [{ ...state.facetHover }]
} else {
const annotationMap = annotationSettings as object[]
annotationBase = annotationMap.map((annotation) => {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# import libraries
import pandas as pd
import plotly.express as px
df_2015=pd.read_csv('icnf_2015.csv')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.render_mode = render_mode
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.db import models
from regularTour.models import RegularTourModel
from django.core.validators import MinValueValidator, MaxValueValidator
# Create your models here.
class RegTourScheduleModel(models.Model):
date = models.DateField()
startTime = models.TimeField()
slot = models.IntegerField(valid... | 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.