seed
stringlengths
1
14k
source
stringclasses
2 values
rm ${SUBARUDIR}/${run}_${filter}/SCIENCE/SCIENCE_${CHIP}_fringe.fits
ise-uiuc/Magicoder-OSS-Instruct-75K
export default <Model>{};
ise-uiuc/Magicoder-OSS-Instruct-75K
print('Bind failed. Error Code : ' + str(msg[0]) + ' Message ' + msg[1]) sys.exit() s.settimeout(60) s.listen(1) while True: if((datetime.now() - lastfed) > timedelta(hours = 36)): feed()
ise-uiuc/Magicoder-OSS-Instruct-75K
} } private JSONObject convertTransit() throws Exception { JSONObject transitMap = new JSONObject();
ise-uiuc/Magicoder-OSS-Instruct-75K
max = d.popleft() else: max = d.pop() elif d[0] <= max: max = d.popleft() elif d[-1] <= max: max = d.pop() else: flag = False break;
ise-uiuc/Magicoder-OSS-Instruct-75K
class Problem_165Tests: XCTestCase { func test_example() { XCTAssert([3, 4, 9, 6, 1].mapToTotalSmallerElementToTheRight() == [1, 1, 2, 1, 0]) } }
ise-uiuc/Magicoder-OSS-Instruct-75K
I.waitForText('404', 10, '#body'); I.executeScript('window.history.back();'); I.waitForText('Welcome to target app', 10, '#body'); I.see('propFromWrapper', '#body') I.see('fromLocation', '#body') });
ise-uiuc/Magicoder-OSS-Instruct-75K
# pylint: disable=W0122 exec(compile(open(PYCSYNC_VERSION).read(), PYCSYNC_VERSION, 'exec')) # pylint: enable=W0122 VER = __version__ # pylint: disable=E0602 REQUIREMENTS = [] with open(PYCSYNC_REQS) as rfh: for line in rfh.readlines(): if not line or line.startswith('#'): continue R...
ise-uiuc/Magicoder-OSS-Instruct-75K
*/ public interface SsWaterstationOrderDetailMapper extends BaseMapper<SsWaterstationOrderDetail> { }
ise-uiuc/Magicoder-OSS-Instruct-75K
import net.minecraft.util.Identifier; import java.util.Map; public class TextureAndModelInformation { public Map<String, Identifier> textures; public Identifier parent;
ise-uiuc/Magicoder-OSS-Instruct-75K
USE_CUSTOM_MUTATOR = True # If False, use the standard mutator of LibFuzzer USE_CROSSOVER = True and USE_CUSTOM_MUTATOR # Combines mutation with crossover (split at random location) USE_GAUSSIAN = True # Gaussian vs random uniform mutation USE_PROBABILITY_STEPS_SPECIAL = True # Proba descent based on small proba di...
ise-uiuc/Magicoder-OSS-Instruct-75K
#披萨配料P110 2017.4.17 active = True while active: seasoning = input("please input the seasoning that you want to add in your pizza"+ "(input 'quit' to exit)\n")
ise-uiuc/Magicoder-OSS-Instruct-75K
} #: Defines the base currency. BaseCurrency = "USD" #: Defines the quanization template. Quantizer = Decimal("0.00000001") #: Defines the currency type. CCY = str #: Defines the type of the currency pair. Pair = Tuple[CCY, CCY]
ise-uiuc/Magicoder-OSS-Instruct-75K
reboot
ise-uiuc/Magicoder-OSS-Instruct-75K
w=0.015*safezoneW; h=0.026*safezoneH; tooltip="Next Channel"; action="call NextCH;";}; class afar_close: AFAR_Button { idc=797979; moving=0; x=0.403*safezoneW+safezoneX; y=0.744*safezoneH+safezoneY; w=0.015*safezoneW; h=0.026*safezoneH; tooltip="Put radio away"; action="closeDialog 90909;";}; };
ise-uiuc/Magicoder-OSS-Instruct-75K
print "no it is not pallindrome" main()
ise-uiuc/Magicoder-OSS-Instruct-75K
<gh_stars>0 /* * Public API Surface of pdbloader */ export * from './lib/main'; export * from './lib/loaderPDB.module'; export * from './lib/PDBLoader';
ise-uiuc/Magicoder-OSS-Instruct-75K
<filename>file-scripts/file.bash #!/bin/bash if [ "$*" != "" ]; then file "$*" fi exit $?
ise-uiuc/Magicoder-OSS-Instruct-75K
num_cryptocurrencies = get_num_cryptocurrencies_from_api() print('\nCryptomonedas actuales en Coin Market Cap: {}'.format(num_cryptocurrencies))
ise-uiuc/Magicoder-OSS-Instruct-75K
#ifndef __sc_recursivemutex_hpp #define __sc_recursivemutex_hpp
ise-uiuc/Magicoder-OSS-Instruct-75K
<NAME> 2016 http://trederia.blogspot.com tmxlite - Zlib license. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held
ise-uiuc/Magicoder-OSS-Instruct-75K
version=versioneer.get_version(), classifiers=[ # "Development Status :: 4 - Beta", "Intended Audience :: Developers",
ise-uiuc/Magicoder-OSS-Instruct-75K
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ...
ise-uiuc/Magicoder-OSS-Instruct-75K
src="`pwd`/external_library/Arduino-SerialCommand/" dest="${arduino}/libraries/Arduino-SerialCommand" install $src $dest src="`pwd`/external_library/MsTimer2/" dest="${arduino}/libraries/MsTimer2" install $src $dest src="`pwd`/external_library/Adafruit-PWM-Servo-Driver-Library/" ...
ise-uiuc/Magicoder-OSS-Instruct-75K
# To save the precice figure used in the thesis, uncomment # the following lines to edit the figure accordingly: """ avg_and_std = axs[0].get_title().split("=")[1]
ise-uiuc/Magicoder-OSS-Instruct-75K
path( "profile/username", ChangeUsernameView.as_view(), name="forum.username.change", ), path("moderators/", ManageModeratorsView.as_view(), name="moderators"), re_path(r"api/{}/".format(API_PREFIX), include(api_urls)), path("forum/", include(machina_urls)),
ise-uiuc/Magicoder-OSS-Instruct-75K
pass dump = OcrDump.new_from_batch(batch) _logger.info("created ocr dump %s for %s", dump, batch)
ise-uiuc/Magicoder-OSS-Instruct-75K
plan_funcs=[], prep_traj_plan=None, diff_plans=[], RE=None, db=None, accelerator=None, mono=None, sdd = None, shutters_dict={}, det_dict={}, ...
ise-uiuc/Magicoder-OSS-Instruct-75K
print("Enter your first name") print("."*20) first_n = input() print("Enter your last name") print("."*20) last_n = input() print("Enter your email") print("."*20) email = input() print("Enter your...
ise-uiuc/Magicoder-OSS-Instruct-75K
glyphs[id].x = F26DOT6_TO_DOUBLE(face->glyph->metrics.horiBearingX); glyphs[id].y = F26DOT6_TO_DOUBLE(face->glyph->metrics.horiBearingY); glyphs[id].w = F26DOT6_TO_DOUBLE(face->glyph->metrics.width); glyphs[id].h = F26DOT6_TO_DOUBLE(face->glyph->metrics.height); glyphs[id].pxRange = 2; //if (success) // ...
ise-uiuc/Magicoder-OSS-Instruct-75K
mesh_builder.add_triangle(initial_index+1, initial_index+3, initial_index+2) mesh_builder.add_triangle(initial_index+0, initial_index+3, initial_index+1) mesh_builder.add_triangle(initial_index+1, initial_index+2, initial_index+3) return mesh_builder
ise-uiuc/Magicoder-OSS-Instruct-75K
from ETM_CSV.CSV import csv
ise-uiuc/Magicoder-OSS-Instruct-75K
export const evalute = <T>(func: () => T): T => func()
ise-uiuc/Magicoder-OSS-Instruct-75K
def render(self, context): tourney = self.resolve(context, self.tourney) txt = get_what_teams_called(tourney); link = make_tournament_link(tourney);
ise-uiuc/Magicoder-OSS-Instruct-75K
set -eo pipefail exec /usr/local/bin/rancher-redeploy-workload
ise-uiuc/Magicoder-OSS-Instruct-75K
* @return void */ public function __construct () { // } /** * Handle the event.
ise-uiuc/Magicoder-OSS-Instruct-75K
append_column_to_hdf5(infile, prediction_icrs.dec.rad, 'events', 'source_dec_prediction') append_column_to_hdf5(infile, pointing_icrs.ra.rad, 'events', 'pointing_ra') append_column_to_hdf5(infile, pointing_icrs.dec.rad, 'events', 'pointing_dec')
ise-uiuc/Magicoder-OSS-Instruct-75K
# combine the output for different analyses into a single file each # first add a header for each file grep 'pop1' scaffold0001:10000001-10050000__stats.txt > ../window_heterozygosity.txt
ise-uiuc/Magicoder-OSS-Instruct-75K
const crabPositions = new Map<number, number>() for (const crab of crabs) { crabPositions.set(crab, (crabPositions.get(crab) ?? 0) + 1) } const fuelCosts = new Map<number, number>() for (let i = minPos; i <= maxPos; i++) { let cost = 0 for (const [position, numCrabs] of crabPositions.entries()) { cost += M...
ise-uiuc/Magicoder-OSS-Instruct-75K
'%s Reviewers' % self.bid_type, reverse('%s_review' % self.bid_type.lower(), urlconf='gbe.urls')) @never_cache
ise-uiuc/Magicoder-OSS-Instruct-75K
} #[bench] fn bench_f_repr_sub_noborrow(b: &mut test::Bencher) {
ise-uiuc/Magicoder-OSS-Instruct-75K
// // PostViewController.swift // // Created by Anton Yereshchenko // Copyright © Anton Yereshchenko. All rights reserved. //
ise-uiuc/Magicoder-OSS-Instruct-75K
NAME = P[-1][0] kk = array(P[-1][1])*SCALE
ise-uiuc/Magicoder-OSS-Instruct-75K
class BBNamingContextServer { public:
ise-uiuc/Magicoder-OSS-Instruct-75K
print("There are no duplicates") else: print("Things are not ok")
ise-uiuc/Magicoder-OSS-Instruct-75K
# The stabilizers_basis variable only contains basis vectors. For # example, if we have n=3 qubits, then we should have 2**n=8 Pauli
ise-uiuc/Magicoder-OSS-Instruct-75K
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel(
ise-uiuc/Magicoder-OSS-Instruct-75K
use bytes::Bytes;
ise-uiuc/Magicoder-OSS-Instruct-75K
"interval", id="reload", seconds=2, max_instances=6, misfire_grace_time=10 ) def reload_px(): data = get_data() if data is None: return time.sleep(5) px = str(int(data[74:138], 16)) ts = int(data[138:202], 16) obj = {"px": px, "ts": ts, "data": data} socketio.emit("update", obj)
ise-uiuc/Magicoder-OSS-Instruct-75K
from unittest import TestCase from unittest.mock import Mock from tests.test_types_generator import athena_task class TestAwsAthenaTask(TestCase): def test_run_task(self) -> None: with self.assertRaises(NotImplementedError): athena_task()._run_task(Mock())
ise-uiuc/Magicoder-OSS-Instruct-75K
to_delete.push((m + i - 1).rem_euclid(m)); } _ => {} }
ise-uiuc/Magicoder-OSS-Instruct-75K
class Biblioteca():
ise-uiuc/Magicoder-OSS-Instruct-75K
self.parser.feed(dataread) return self.parser.stocks
ise-uiuc/Magicoder-OSS-Instruct-75K
[IPv6Address(ErrorMessageResourceName = nameof(ValidationErrorMessages.IPv6Address), ErrorMessageResourceType = typeof(ValidationErrorMessages))] [IsUniqueInCollection(nameof(OtherItems), ErrorMessageResourceName = nameof(ValidationErrorMessages.IsUniqueInCollection), ErrorMessageResourceType = typeof(V...
ise-uiuc/Magicoder-OSS-Instruct-75K
this.url = value; } public String getPages() { return pages; }
ise-uiuc/Magicoder-OSS-Instruct-75K
// MARK: - UITableViewDataSource extension ProtocolsTableViewController: UITableViewDataSource { func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat { return UITableView.automaticDimension } func tableView(_ tableView: UITableView, heightForR...
ise-uiuc/Magicoder-OSS-Instruct-75K
import Combine extension Publisher { /// A single value sink function that coalesces either one `Output` or one `Failure` as a `Result`-type. func sink(result: @escaping ((Result<Self.Output, Self.Failure>) -> Void)) -> AnyCancellable { return sink(receiveCompletion: { completion in sw...
ise-uiuc/Magicoder-OSS-Instruct-75K
static let key: pthread_key_t = { var key = pthread_key_t() pthread_key_create(&key) { obj in #if !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS)) let obj = obj! #endif Unmanaged<ContextManager>.fromOpaque(obj).release() } return key }()
ise-uiuc/Magicoder-OSS-Instruct-75K
ret = ser.read(1024)
ise-uiuc/Magicoder-OSS-Instruct-75K
await appRunner.ExecuteAsync(async () => { // Validate that the first rule is observed and its actions are run. await originalActionsCompletedTask; // Set up new observers for the first and second rule. originalActionsCompletedTas...
ise-uiuc/Magicoder-OSS-Instruct-75K
error: false, message: ""
ise-uiuc/Magicoder-OSS-Instruct-75K
return transforms.Resize((new_h, new_w), antialias=True)(img) def blur(img, pyr_factor): """Blur image by downscaling and then upscaling it back to original size""" if pyr_factor < 1: d_img = downscale(img, pyr_factor) img = transforms.Resize(img.shape[-2:], antialias=True)(d_img) retu...
ise-uiuc/Magicoder-OSS-Instruct-75K
$this->commands('bump.bump.undo'); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
- automobile - bird - cat - deer - dog - frog - horse
ise-uiuc/Magicoder-OSS-Instruct-75K
MYSHOWS = ["Bananya", "New Game", "Kono Bijutsubu ni wa Mondai ga Aru!", "Re Zero kara Hajimeru Isekai Seikatsu"] """ MYSHOWS = [ ] def makeLine(string,time,size=50): if string in MYSHOWS:
ise-uiuc/Magicoder-OSS-Instruct-75K
T save(T model); void updateById(Long id, T model); void deleteById(Long id); }
ise-uiuc/Magicoder-OSS-Instruct-75K
import utils
ise-uiuc/Magicoder-OSS-Instruct-75K
d.e = {"g": 7} d.e.g = {"h": 8} self.assertTrue(isinstance(d, UnionDict)) self.assertTrue(isinstance(d.d, UnionDict)) self.assertTrue(isinstance(d.e, UnionDict)) self.assertTrue(isinstance(d.e.g, UnionDict)) def test_get_subattr(self):
ise-uiuc/Magicoder-OSS-Instruct-75K
class RequestContextMiddleware(MiddlewareMixin): def process_request(self, request): request_context.init_by_request(request)
ise-uiuc/Magicoder-OSS-Instruct-75K
<reponame>AaronSteel/analytic //! # Modeling mathematical constructs and their associated operations. #![feature(drain_filter)] #![feature(bool_to_option)] #[macro_use] extern crate log; pub mod histogram; pub mod interval; pub mod iter; pub mod partition; pub mod sample;
ise-uiuc/Magicoder-OSS-Instruct-75K
export JAKHU_WEB_DIR=/vagrant/test-app
ise-uiuc/Magicoder-OSS-Instruct-75K
GENDER, PHOTO, LOCATION, BIO = range(4)
ise-uiuc/Magicoder-OSS-Instruct-75K
} ?> <form action="" method="post"> <div class="field"> <label for="nama" class="label">Nama Lengkap</label> <div class="control"> <input type="text" name="nama" id="nama" class="input" value="<?= old('nama') ?>" required> </div> </div> <div class="field"> <labe...
ise-uiuc/Magicoder-OSS-Instruct-75K
extern crate rusoto_core; extern crate rusoto_kms; use rusoto_core::Region; use rusoto_kms::{Kms, KmsClient, ListKeysRequest}; #[tokio::test] async fn should_list_keys() { let client = KmsClient::new(Region::UsEast1);
ise-uiuc/Magicoder-OSS-Instruct-75K
case newPlace = "app.menu.newPlace" case newChecklist = "app.menu.newChecklist" case showItems = "app.menu.showItems" case showPlaces = "app.menu.showPlaces"
ise-uiuc/Magicoder-OSS-Instruct-75K
fn read_domain() { let remains = vec![b' ']; let domain = domain!("example.com"); assert_eq!( Ok((remains.as_ref(), domain)), parse_domain::<VerboseError<&[u8]>>(b"example.com ")
ise-uiuc/Magicoder-OSS-Instruct-75K
pub use curves::*; pub use fields::*;
ise-uiuc/Magicoder-OSS-Instruct-75K
def __str__(self): string = "FileCacher[" string += str(self.dir_path.resolve()) string += "]" return string def object_to_file(self, object, filename): logging.info(f"Stored in cache. Id: {filename}") with open(self.get_file_path(filename), 'wb') as file: ...
ise-uiuc/Magicoder-OSS-Instruct-75K
class m200613_213102_insert_into_items extends Migration { /** * {@inheritdoc} */
ise-uiuc/Magicoder-OSS-Instruct-75K
cd "${BUILT_PRODUCTS_DIR}" sudo rm -rf /System/Library/Extensions.mkext
ise-uiuc/Magicoder-OSS-Instruct-75K
export type DateTimePickerLocalization = DatePickerLocalization; export type DateTimePickerLocalizationProps = DatePickerLocalizationProps;
ise-uiuc/Magicoder-OSS-Instruct-75K
cd -
ise-uiuc/Magicoder-OSS-Instruct-75K
name='Activity', ), migrations.AddField( model_name='procedure', name='process',
ise-uiuc/Magicoder-OSS-Instruct-75K
getNodesAtDepth(depth: number) : Array<Node> { if (this.depth == depth) { return [this]; } if (this.depth < depth) { const node = new Node("") node.depth = this.depth; node.width = this.width; return [node];
ise-uiuc/Magicoder-OSS-Instruct-75K
return isNaN(concurrency) ? 1 : concurrency } catch (e) { return 1 } }
ise-uiuc/Magicoder-OSS-Instruct-75K
(realizations) but with the same number of edges (*occupation number*). The :func:`microcanonical_averages` generator function evolves a microcanonical ensemble. At each step, it calculates the cluster statistics over all realizations in the ensemble. The :func:`microcanonical_averages_arrays` helper function collects ...
ise-uiuc/Magicoder-OSS-Instruct-75K
import scipy.io.wavfile as wav import sys import numpy as np # import pyaudio import time import wave import os from pydub import AudioSegment import pafy from youtube_transcript_api import YouTubeTranscriptApi from youtube_dl import YoutubeDL dirname = os.path.dirname(os.path.abspath(__file__))
ise-uiuc/Magicoder-OSS-Instruct-75K
WIDTH, HEIGHT = 800, 700 ROWS, COLS = 7, 8 SQUARE_SIZE = HEIGHT//ROWS
ise-uiuc/Magicoder-OSS-Instruct-75K
// 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 // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT W...
ise-uiuc/Magicoder-OSS-Instruct-75K
*/ private int sunriseDifference(int city1, int city2) { return Math.abs(city1 - city2)/60; } /**
ise-uiuc/Magicoder-OSS-Instruct-75K
{ $out .= $tag_type."\t".$tag_name."\t".$tag_value; $out .= "\r\n"; } } file_put_contents($out_file, $out);
ise-uiuc/Magicoder-OSS-Instruct-75K
public Expr (String t) { tag = t;
ise-uiuc/Magicoder-OSS-Instruct-75K
if hash mono &> /dev/null ; then
ise-uiuc/Magicoder-OSS-Instruct-75K
def test_can_return_quick_jump_data_on_noquickjump(self): #arrange self.insert_ticket("T1", component="c1", status="new", milestone="A") #act self.req.args[RequestParameters.QUERY] = "#1" self.req.args[RequestParameters.NO_QUICK_JUMP] = "1" data = self.process_request...
ise-uiuc/Magicoder-OSS-Instruct-75K
return $this->listItemIds; } /** * The IDs of the list items whose references need to be retrieved. * * @param string[] $listItemIds *
ise-uiuc/Magicoder-OSS-Instruct-75K
Document message = queue->for_stdout.dequeue(); sendMessage(message); } }); }
ise-uiuc/Magicoder-OSS-Instruct-75K
ycos = (y_data - 20) * np.cos(theta) # old_y * cos(theta)
ise-uiuc/Magicoder-OSS-Instruct-75K
#texenv.variable_start_string = '(((' #texenv.variable_end_string = ')))' #texenv.comment_start_string = '((=' #texenv.comment_end_string = '=))' #texenv.filters['escape_tex'] = escape_tex
ise-uiuc/Magicoder-OSS-Instruct-75K
array[thing.CellY - static_map.MapCellY, thing.CellX - static_map.MapCellX] = thing.Type return array def layers_list(layers, static_map): return [ { 'Owner': ord(o.Owner), 'Asset': o.AssetName.decode('ascii'), 'Type': o.Type, 'ID': o.ID, ...
ise-uiuc/Magicoder-OSS-Instruct-75K
d = JsonResponse.check(resp.json()) if d['meta']['msg'] == 'api.err.LoginRequired':
ise-uiuc/Magicoder-OSS-Instruct-75K